/* ============================================================
   iron play — lobby stylesheet
   File   : css/iron-play-layers-2083a7.css
   Prefix : shell083a7-
   Canvas : mobile-first, 320px to 430px phone frame, centered
            on wide screens (literal 430px max canvas width)
   ============================================================ */

/* ------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------ */
:root {
  --shell083a7-rust: #A0522D;          /* deep rust - rules, fills */
  --shell083a7-bronze: #CD853F;        /* polished bronze - accents, CTA */
  --shell083a7-slate: #495057;         /* cool slate - panels */
  --shell083a7-mist: #AFEEEE;          /* pale mist - icons, links */
  --shell083a7-frost: #F0F8FF;         /* frost white - primary text */
  --shell083a7-ink: #3A3A3A;           /* cast iron - canvas base */
  --shell083a7-ink-deep: #2B2B2B;      /* darker iron - page ground */
  --shell083a7-panel: rgba(240, 248, 255, 0.045);
  --shell083a7-panel-strong: rgba(73, 80, 87, 0.42);
  --shell083a7-line: rgba(240, 248, 255, 0.14);
  --shell083a7-line-soft: rgba(240, 248, 255, 0.08);
  --shell083a7-rust-line: rgba(160, 82, 45, 0.62);
  --shell083a7-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
  --shell083a7-radius-xl: 18px;
  --shell083a7-radius-lg: 14px;
  --shell083a7-radius-md: 10px;
  --shell083a7-radius-sm: 7px;
  --shell083a7-font-display: "Segoe UI", Roboto, "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --shell083a7-font-body: "Segoe UI", Roboto, "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --shell083a7-topbar-h: 58px;
  --shell083a7-bottomnav-h: 64px;
  --shell083a7-canvas-w: 430px;        /* hard canvas ceiling */
}

/* ------------------------------------------------------------
   2. Base reset + page ground
   ------------------------------------------------------------ */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--shell083a7-font-body);
  font-size: 14px;
  line-height: 1.62;
  color: var(--shell083a7-frost);
  background-color: var(--shell083a7-ink-deep);
  background-image:
    radial-gradient(110% 60% at 88% -8%, rgba(160, 82, 45, 0.20), transparent 62%),
    radial-gradient(90% 50% at -12% 34%, rgba(73, 80, 87, 0.55), transparent 64%);
  background-repeat: no-repeat;
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--shell083a7-mist); text-decoration: none; }
a:hover { color: var(--shell083a7-bronze); }

ul, ol { list-style: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--shell083a7-bronze);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection { background: var(--shell083a7-rust); color: var(--shell083a7-frost); }

/* ------------------------------------------------------------
   3. Phone canvas (430px ceiling, centered when wider)
   ------------------------------------------------------------ */
.shell083a7-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin-inline: auto;
  min-height: 100vh;
  background-color: var(--shell083a7-ink);
  background-image:
    repeating-linear-gradient(115deg, rgba(240, 248, 255, 0.016) 0 2px, transparent 2px 11px),
    radial-gradient(130% 42% at 50% -6%, rgba(160, 82, 45, 0.20), transparent 60%);
  overflow-x: clip;
}

/* Skip link */
.shell083a7-skip {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 60;
  padding: 8px 14px;
  background: var(--shell083a7-bronze);
  color: #2b1a0e;
  font-weight: 700;
  border-radius: var(--shell083a7-radius-sm);
  transition: top 0.2s ease;
}
.shell083a7-skip:focus { top: 8px; }

/* ------------------------------------------------------------
   4. Fixed top bar (edge-aligned functional header)
   ------------------------------------------------------------ */
.shell083a7-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(430px, 100%);
  height: var(--shell083a7-topbar-h);
  z-index: 40;
  background: rgba(43, 43, 43, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--shell083a7-rust-line);
}

.shell083a7-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 100%;
  padding: 0 12px 0 14px;
}

/* Brand block: real logo image + site name only */
.shell083a7-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--shell083a7-frost);
}
.shell083a7-brand:hover { color: var(--shell083a7-frost); }

.shell083a7-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--shell083a7-radius-sm);
  border: 1px solid var(--shell083a7-line);
  box-shadow: 0 0 0 2px rgba(160, 82, 45, 0.35);
  flex: 0 0 auto;
}

.shell083a7-brand-name {
  font-family: var(--shell083a7-font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.shell083a7-brand-name em {
  font-style: normal;
  color: var(--shell083a7-bronze);
}

/* Action cluster lives outside the brand block */
.shell083a7-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.shell083a7-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 9px 14px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  border-radius: var(--shell083a7-radius-sm);
  transition: transform 0.15s ease, filter 0.15s ease, background-color 0.15s ease;
}
.shell083a7-btn:active { transform: translateY(1px) scale(0.985); }

/* Primary: chamfered bronze plate (mixed-radius system) */
.shell083a7-btn-cta {
  color: #2b1a0e;
  background: linear-gradient(150deg, var(--shell083a7-bronze) 8%, var(--shell083a7-rust) 110%);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}
.shell083a7-btn-cta:hover { filter: brightness(1.1); color: #2b1a0e; }

/* Secondary: thin outline, quiet */
.shell083a7-btn-ghost {
  color: var(--shell083a7-mist);
  border: 1px solid var(--shell083a7-line);
  background: rgba(240, 248, 255, 0.03);
  padding: 8px 12px;
}
.shell083a7-btn-ghost:hover { border-color: var(--shell083a7-bronze); color: var(--shell083a7-bronze); }

/* Layered menu trigger */
.shell083a7-menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
}
.shell083a7-menu-btn svg { width: 22px; height: 16px; color: var(--shell083a7-mist); transition: color 0.2s ease; }
.shell083a7-menu-btn:hover svg,
.shell083a7-menu-btn[aria-expanded="true"] svg { color: var(--shell083a7-bronze); }
.shell083a7-menu-btn[aria-expanded="true"] .shell083a7-menu-l1 { transform: translateY(6px) rotate(38deg); }
.shell083a7-menu-btn[aria-expanded="true"] .shell083a7-menu-l3 { transform: translateY(-6px) rotate(-38deg); }
.shell083a7-menu-l1, .shell083a7-menu-l3 { transition: transform 0.22s ease; }

/* ------------------------------------------------------------
   5. Layered dropdown menu panel
   ------------------------------------------------------------ */
.shell083a7-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(35, 35, 36, 0.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--shell083a7-rust);
  box-shadow: var(--shell083a7-shadow);
  padding: 10px 14px 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  max-height: calc(100vh - var(--shell083a7-topbar-h));
  overflow-y: auto;
}
.shell083a7-menu-open { opacity: 1; visibility: visible; transform: translateY(0); }

.shell083a7-menu-group {
  margin-top: 12px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.26s ease, transform 0.26s ease;
}
.shell083a7-menu-open .shell083a7-menu-group { opacity: 1; transform: translateX(0); }
.shell083a7-menu-open .shell083a7-menu-group:nth-child(1) { transition-delay: 0.03s; }
.shell083a7-menu-open .shell083a7-menu-group:nth-child(2) { transition-delay: 0.08s; }
.shell083a7-menu-open .shell083a7-menu-group:nth-child(3) { transition-delay: 0.13s; }
.shell083a7-menu-open .shell083a7-menu-group:nth-child(4) { transition-delay: 0.18s; }

.shell083a7-menu-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shell083a7-bronze);
  padding: 2px 0 6px 12px;
}

/* Second layer carries an indent + rail, per layered menu direction */
.shell083a7-menu-list { margin-left: 12px; border-left: 1px solid var(--shell083a7-line-soft); }

.shell083a7-menu-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--shell083a7-frost);
  border-radius: 0 var(--shell083a7-radius-sm) var(--shell083a7-radius-sm) 0;
}
.shell083a7-menu-link::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  translate: 0 -50%;
  width: 2px;
  height: 0;
  background: var(--shell083a7-bronze);
  transition: height 0.2s ease;
}
.shell083a7-menu-link:hover {
  color: var(--shell083a7-bronze);
  background: rgba(205, 133, 63, 0.08);
}
.shell083a7-menu-link:hover::before,
.shell083a7-menu-link[aria-current="page"]::before { height: 60%; }
.shell083a7-menu-link[aria-current="page"] { color: var(--shell083a7-mist); }

/* ------------------------------------------------------------
   6. Shared section chrome
   ------------------------------------------------------------ */
.shell083a7-main { display: block; padding-bottom: calc(var(--shell083a7-bottomnav-h) + 30px + env(safe-area-inset-bottom, 0px)); }

.shell083a7-section { padding: 26px 16px 6px; scroll-margin-top: calc(var(--shell083a7-topbar-h) + 10px); }

.shell083a7-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shell083a7-bronze);
}
.shell083a7-kicker::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--shell083a7-rust);
}

.shell083a7-h2 {
  font-family: var(--shell083a7-font-display);
  font-size: 17.5px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--shell083a7-frost);
  margin: 7px 0 10px;
}

.shell083a7-h3 {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--shell083a7-mist);
  margin: 16px 0 6px;
}

.shell083a7-p { color: rgba(240, 248, 255, 0.82); margin: 0 0 11px; }
.shell083a7-p strong,
.shell083a7-p b { color: var(--shell083a7-frost); font-weight: 700; }

.shell083a7-p a,
.shell083a7-note a {
  color: var(--shell083a7-mist);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(175, 238, 238, 0.4);
  text-underline-offset: 3px;
}
.shell083a7-p a:hover,
.shell083a7-note a:hover { color: var(--shell083a7-bronze); text-decoration-color: var(--shell083a7-bronze); }

/* Riveted rule: rust bar with bronze corner rivets */
.shell083a7-rule {
  position: relative;
  height: 2px;
  margin: 14px 0 16px;
  background: linear-gradient(90deg, var(--shell083a7-rust) 0%, rgba(160, 82, 45, 0.12) 100%);
}
.shell083a7-rule::before,
.shell083a7-rule::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  translate: 0 -50%;
  rotate: 45deg;
  background: var(--shell083a7-bronze);
}
.shell083a7-rule::before { left: 0; }
.shell083a7-rule::after { right: 0; }

/* ------------------------------------------------------------
   7. Hero
   ------------------------------------------------------------ */
.shell083a7-hero {
  padding: calc(var(--shell083a7-topbar-h) + 22px) 16px 24px;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(160, 82, 45, 0.32), transparent 58%),
    radial-gradient(80% 60% at 0% 100%, rgba(73, 80, 87, 0.5), transparent 60%);
  border-bottom: 1px solid var(--shell083a7-line-soft);
}

.shell083a7-hero-title {
  font-family: var(--shell083a7-font-display);
  font-size: clamp(26px, 7.4vw, 33px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--shell083a7-frost);
  margin: 9px 0 12px;
  text-wrap: balance;
}
.shell083a7-hero-title span {
  color: var(--shell083a7-bronze);
}

.shell083a7-hero-sub {
  max-width: 40ch;
  color: rgba(240, 248, 255, 0.85);
  margin-bottom: 16px;
}

.shell083a7-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}
.shell083a7-cta-row .shell083a7-btn-cta { padding: 11px 22px; font-size: 14px; }

.shell083a7-anchorlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 13px;
  color: var(--shell083a7-mist);
  border-bottom: 2px solid rgba(175, 238, 238, 0.35);
  transition: border-color 0.18s ease, color 0.18s ease;
}
.shell083a7-anchorlink:hover { border-color: var(--shell083a7-bronze); }
.shell083a7-anchorlink svg { width: 12px; height: 12px; }

/* ------------------------------------------------------------
   8. Promo carousel (3 local banners)
   ------------------------------------------------------------ */
.shell083a7-carousel {
  position: relative;
  margin: 20px 16px 0;
  border-radius: var(--shell083a7-radius-xl);
  border: 1px solid var(--shell083a7-line);
  overflow: hidden;
  box-shadow: var(--shell083a7-shadow);
  background: var(--shell083a7-slate);
}

.shell083a7-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.shell083a7-track::-webkit-scrollbar { display: none; }

.shell083a7-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--shell083a7-slate);
}
.shell083a7-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shell083a7-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(30, 20, 12, 0.92) 78%);
}
.shell083a7-slide-cap b {
  display: block;
  font-family: var(--shell083a7-font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--shell083a7-bronze);
}
.shell083a7-slide-cap span {
  display: block;
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(240, 248, 255, 0.88);
  margin-top: 2px;
}

.shell083a7-dots {
  position: absolute;
  right: 12px;
  bottom: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.shell083a7-dot {
  width: 22px;
  height: 10px;
  padding: 3px 2px;
}
.shell083a7-dot i {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(240, 248, 255, 0.38);
  transition: background-color 0.2s ease;
}
.shell083a7-dot:hover i { background: var(--shell083a7-mist); }
.shell083a7-dot-active i,
.shell083a7-dot[aria-current="true"] i { background: var(--shell083a7-bronze); }

/* ------------------------------------------------------------
   9. Quick-access strip
   ------------------------------------------------------------ */
.shell083a7-quick {
  margin: 18px 16px 0;
  padding: 14px 14px 15px;
  border-radius: var(--shell083a7-radius-lg);
  border: 1px dashed rgba(175, 238, 238, 0.32);
  background: rgba(73, 80, 87, 0.28);
}
.shell083a7-quick-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shell083a7-mist);
  margin-bottom: 8px;
}
.shell083a7-quick-title svg { width: 15px; height: 15px; color: var(--shell083a7-bronze); flex: 0 0 auto; }
.shell083a7-quick p { font-size: 12.5px; color: rgba(240, 248, 255, 0.78); margin-bottom: 10px; }
.shell083a7-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.shell083a7-quick-row .shell083a7-btn { padding: 8px 13px; font-size: 12.5px; }

/* ------------------------------------------------------------
   10. Game floor: category blocks, grids, tiles
   ------------------------------------------------------------ */
.shell083a7-cat-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 12px;
}
.shell083a7-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--shell083a7-mist);
  border: 1px solid var(--shell083a7-line);
  border-radius: 999px;
  background: rgba(240, 248, 255, 0.03);
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}
.shell083a7-chip svg { width: 13px; height: 13px; flex: 0 0 auto; }
.shell083a7-chip:hover {
  color: var(--shell083a7-bronze);
  border-color: var(--shell083a7-bronze);
  background: rgba(205, 133, 63, 0.08);
}

/* Grid: 4 columns on every phone width; stable tracks */
.shell083a7-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 9px;
}

.shell083a7-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--shell083a7-radius-md);
  border: 1px solid var(--shell083a7-line-soft);
  background: var(--shell083a7-panel-strong);
  overflow: hidden;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.shell083a7-tile:hover,
.shell083a7-tile:active {
  transform: translateY(-2px);
  border-color: var(--shell083a7-rust-line);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}
.shell083a7-tile-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #42484e;
}
.shell083a7-tile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 5px 7px 6px;
  font-size: 10.8px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(240, 248, 255, 0.9);
  overflow-wrap: anywhere;
}

/* Feature tile: spans 2x2, name overlays on a scrim */
.shell083a7-tile-xl {
  grid-column: span 2;
  grid-row: span 2;
  border-color: var(--shell083a7-rust-line);
}
.shell083a7-tile-xl .shell083a7-tile-img { aspect-ratio: auto; height: 100%; min-height: 100%; }
.shell083a7-tile-xl .shell083a7-tile-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-line-clamp: 3;
  padding: 26px 10px 9px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, transparent, rgba(26, 15, 8, 0.94) 62%);
  color: var(--shell083a7-frost);
}
.shell083a7-tile-xl::after {
  content: "HOT";
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #2b1a0e;
  background: var(--shell083a7-bronze);
  border-radius: 4px;
}

/* ------------------------------------------------------------
   11. Editorial modules after the game floor
   ------------------------------------------------------------ */
.shell083a7-module {
  margin: 26px 16px 0;
  padding: 16px 15px 12px;
  border-radius: var(--shell083a7-radius-lg);
  border: 1px solid var(--shell083a7-line-soft);
  background:
    linear-gradient(180deg, rgba(73, 80, 87, 0.34), rgba(58, 58, 58, 0.2)),
    var(--shell083a7-panel);
  scroll-margin-top: calc(var(--shell083a7-topbar-h) + 10px);
}
.shell083a7-module .shell083a7-rule { margin: 10px 0 12px; }

.shell083a7-list { margin: 4px 0 12px; }
.shell083a7-list li {
  position: relative;
  padding: 7px 0 7px 18px;
  font-size: 13px;
  color: rgba(240, 248, 255, 0.82);
  border-bottom: 1px solid var(--shell083a7-line-soft);
}
.shell083a7-list li:last-child { border-bottom: 0; }
.shell083a7-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 6px;
  height: 6px;
  rotate: 45deg;
  background: var(--shell083a7-bronze);
}
.shell083a7-list li strong { color: var(--shell083a7-frost); }

.shell083a7-note {
  margin: 12px 0 4px;
  padding: 11px 12px;
  border-left: 3px solid var(--shell083a7-rust);
  border-radius: 0 var(--shell083a7-radius-sm) var(--shell083a7-radius-sm) 0;
  background: rgba(160, 82, 45, 0.14);
  font-size: 12.5px;
  color: rgba(240, 248, 255, 0.88);
}
.shell083a7-note b { color: var(--shell083a7-bronze); }

/* Style comparison trio */
.shell083a7-trio {
  display: grid;
  gap: 9px;
  margin: 4px 0 12px;
}
.shell083a7-trio-item {
  padding: 11px 12px;
  border-radius: var(--shell083a7-radius-md);
  border: 1px solid var(--shell083a7-line-soft);
  background: rgba(43, 43, 43, 0.5);
}
.shell083a7-trio-item h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 5px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--shell083a7-mist);
}
.shell083a7-trio-item h3 svg { width: 15px; height: 15px; color: var(--shell083a7-bronze); flex: 0 0 auto; }
.shell083a7-trio-item p { font-size: 12.5px; color: rgba(240, 248, 255, 0.8); margin: 0; }

/* ------------------------------------------------------------
   12. Extended footer (homepage only)
   ------------------------------------------------------------ */
.shell083a7-ext {
  margin-top: 30px;
  padding: 20px 16px 18px;
  border-top: 2px solid var(--shell083a7-rust);
  background:
    linear-gradient(180deg, rgba(160, 82, 45, 0.10), rgba(43, 43, 43, 0.65)),
    var(--shell083a7-ink-deep);
}

.shell083a7-ext-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.shell083a7-ext-brand img {
  width: 44px;
  height: 44px;
  border-radius: var(--shell083a7-radius-sm);
  border: 1px solid var(--shell083a7-line);
  flex: 0 0 auto;
}
.shell083a7-ext-brand p { font-size: 12.5px; color: rgba(240, 248, 255, 0.78); }
.shell083a7-ext-brand b { color: var(--shell083a7-frost); }

.shell083a7-ext-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shell083a7-bronze);
  margin: 16px 0 9px;
}

.shell083a7-ext-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.shell083a7-ext-action {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 12px;
  border-radius: var(--shell083a7-radius-md);
  border: 1px solid var(--shell083a7-rust-line);
  background: rgba(160, 82, 45, 0.16);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shell083a7-frost);
  text-align: left;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}
.shell083a7-ext-action svg { width: 20px; height: 20px; color: var(--shell083a7-bronze); flex: 0 0 auto; }
.shell083a7-ext-action:hover {
  background: rgba(160, 82, 45, 0.34);
  border-color: var(--shell083a7-bronze);
  color: var(--shell083a7-frost);
}
.shell083a7-ext-action:active { transform: scale(0.98); }
.shell083a7-ext-action small {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(240, 248, 255, 0.62);
}

.shell083a7-ext-dir {
  margin-top: 4px;
  border: 1px solid var(--shell083a7-line-soft);
  border-radius: var(--shell083a7-radius-lg);
  padding: 4px 14px 12px;
  background: rgba(240, 248, 255, 0.02);
}
.shell083a7-ext-dir .shell083a7-ext-title { margin-top: 12px; }
.shell083a7-ext-dir-list li + li { border-top: 1px solid var(--shell083a7-line-soft); }
.shell083a7-ext-dir-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 10px 2px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(240, 248, 255, 0.85);
}
.shell083a7-ext-dir-list a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--shell083a7-bronze);
  border-right: 2px solid var(--shell083a7-bronze);
  rotate: 45deg;
  flex: 0 0 auto;
}
.shell083a7-ext-dir-list a:hover { color: var(--shell083a7-bronze); }

.shell083a7-ext-disclaimer {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: var(--shell083a7-radius-sm);
  background: rgba(73, 80, 87, 0.3);
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(240, 248, 255, 0.62);
}

/* ------------------------------------------------------------
   13. Common footer (all pages)
   ------------------------------------------------------------ */
.shell083a7-foot {
  padding: 18px 16px 8px;
  border-top: 1px solid var(--shell083a7-line-soft);
  text-align: center;
}
.shell083a7-foot p {
  font-size: 11.5px;
  color: rgba(240, 248, 255, 0.55);
}
.shell083a7-foot b {
  display: block;
  font-family: var(--shell083a7-font-display);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--shell083a7-bronze);
  margin-bottom: 3px;
}

/* ------------------------------------------------------------
   14. Mobile bottom navigation (outlined function bar)
   ------------------------------------------------------------ */
.shell083a7-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(430px, 100%);
  height: calc(var(--shell083a7-bottomnav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(38, 38, 39, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--shell083a7-line);
  border-left: 1px solid var(--shell083a7-line-soft);
  border-right: 1px solid var(--shell083a7-line-soft);
  border-radius: var(--shell083a7-radius-lg) var(--shell083a7-radius-lg) 0 0;
  box-shadow: 0 -8px 26px rgba(0, 0, 0, 0.45);
}

.shell083a7-navitem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  color: rgba(175, 238, 238, 0.78); /* monochrome icon set */
}
.shell083a7-navitem svg {
  width: 21px;
  height: 21px;
  transition: color 0.18s ease, transform 0.18s ease;
}
.shell083a7-navitem span {
  font-size: 9.8px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(240, 248, 255, 0.68);
  transition: color 0.18s ease;
}
.shell083a7-navitem:hover svg { transform: translateY(-1px); color: var(--shell083a7-mist); }
.shell083a7-navitem:hover span { color: var(--shell083a7-mist); }

/* Sliding accent indicator: underline that sweeps in */
.shell083a7-navitem::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 58%;
  height: 3px;
  border-radius: 999px;
  background: var(--shell083a7-bronze);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.26s cubic-bezier(0.3, 0.9, 0.3, 1);
}
.shell083a7-navitem:hover::after { transform: translateX(-50%) scaleX(0.6); }
.shell083a7-navitem-active { color: var(--shell083a7-bronze); }
.shell083a7-navitem-active svg { color: var(--shell083a7-bronze); }
.shell083a7-navitem-active span { color: var(--shell083a7-bronze); }
.shell083a7-navitem-active::after { transform: translateX(-50%) scaleX(1); }

/* ------------------------------------------------------------
   15. Reveal-on-scroll (short-distance section transitions)
   ------------------------------------------------------------ */
/* Hidden state only applies when JS marks the document */
.shell083a7-js .shell083a7-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.shell083a7-reveal-delay { transition-delay: 0.07s; }
.shell083a7-inview { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .shell083a7-js .shell083a7-reveal { opacity: 1; transform: none; transition: none; }
  .shell083a7-menu,
  .shell083a7-menu-group,
  .shell083a7-navitem::after,
  .shell083a7-tile,
  .shell083a7-slide { transition: none; }
  .shell083a7-track { scroll-behavior: auto; }
}

/* ------------------------------------------------------------
   16. Narrow-phone hardening (320px) and wide framing
   ------------------------------------------------------------ */
@media (max-width: 339px) {
  .shell083a7-actions .shell083a7-btn { padding: 8px 9px; font-size: 11.5px; }
  .shell083a7-brand-name { font-size: 15.5px; }
  .shell083a7-grid { gap: 7px; }
  .shell083a7-ext-actions { grid-template-columns: 1fr; }
}

/* Wide screens: keep the same 430px phone canvas, centered */
@media (min-width: 431px) {
  body {
    background-image:
      radial-gradient(60% 40% at 50% 0%, rgba(160, 82, 45, 0.14), transparent 70%),
      radial-gradient(50% 30% at 50% 100%, rgba(73, 80, 87, 0.35), transparent 70%);
  }
  .shell083a7-canvas {
    border-inline: 1px solid rgba(240, 248, 255, 0.08);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.55);
  }
}

/* Very narrow: prevent long game names from blowing the grid */
.shell083a7-tile-name,
.shell083a7-slide-cap span,
.shell083a7-ext-action { overflow-wrap: anywhere; }
