/* ============================================================
   OK Panalo APK - dynamic layers stylesheet
   Mobile-first phone canvas tuned for 320-430px viewports.
   Palette: #2E4057 deep slate base, #F5F5F5 light text,
   #C0C0C0 silver accents, #808080 muted steel.
   All classes and custom properties use the shell6de8a- prefix.
   ============================================================ */

/* ---------- design tokens ---------- */
:root {
  --shell6de8a-ink: #2E4057;
  --shell6de8a-ink-deep: #263a50;
  --shell6de8a-ink-night: #1d2c3e;
  --shell6de8a-mist: #F5F5F5;
  --shell6de8a-silver: #C0C0C0;
  --shell6de8a-steel: #808080;
  --shell6de8a-line: rgba(192, 192, 192, 0.22);
  --shell6de8a-line-soft: rgba(128, 128, 128, 0.30);
  --shell6de8a-glass: rgba(245, 245, 245, 0.07);
  --shell6de8a-glass-strong: rgba(245, 245, 245, 0.13);
  --shell6de8a-radius-s: 8px;
  --shell6de8a-radius-m: 12px;
  --shell6de8a-radius-l: 16px;
  --shell6de8a-radius-pill: 999px;
  --shell6de8a-font-round: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold",
    "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  --shell6de8a-font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell6de8a-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --shell6de8a-dock-h: 60px;
  --shell6de8a-topbar-h: 58px;
  --shell6de8a-shadow-card: 0 6px 16px rgba(15, 25, 38, 0.35);
  --shell6de8a-shadow-float: 0 10px 26px rgba(10, 18, 28, 0.45);
}

/* ---------- base reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--shell6de8a-font-body);
  font-size: 14.5px;
  line-height: 1.58;
  letter-spacing: -0.1px;
  color: var(--shell6de8a-mist);
  background-color: var(--shell6de8a-ink);
  background-image:
    radial-gradient(120% 60% at 50% -8%, rgba(192, 192, 192, 0.14), transparent 55%),
    linear-gradient(180deg, #2E4057 0%, #2a3d53 46%, #243548 100%);
  background-attachment: fixed;
}

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

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

a {
  color: var(--shell6de8a-silver);
  text-decoration: none;
  transition: color 0.16s var(--shell6de8a-ease);
}

a:hover {
  color: var(--shell6de8a-mist);
  text-decoration: underline;
  text-decoration-color: rgba(192, 192, 192, 0.55);
}

:focus-visible {
  outline: 2px solid var(--shell6de8a-silver);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: rgba(192, 192, 192, 0.35);
  color: #1d2c3e;
}

.shell6de8a-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- centered phone canvas ---------- */
.shell6de8a-canvas {
  position: relative;
  width: 100%;
  max-width: 470px;
  margin-inline: auto;
  min-height: 100vh;
  background: transparent;
}

.shell6de8a-main {
  display: block;
  padding: calc(var(--shell6de8a-topbar-h) + 10px) 12px 0;
  /* room for the raised dock so content never hides behind it */
  padding-bottom: calc(var(--shell6de8a-dock-h) + 46px + env(safe-area-inset-bottom, 0px));
}

/* ---------- fixed compact brand bar ---------- */
.shell6de8a-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 470px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: var(--shell6de8a-topbar-h);
  padding: 8px 10px;
  background: rgba(29, 44, 62, 0.94);
  border-bottom: 1px solid var(--shell6de8a-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.shell6de8a-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.shell6de8a-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--shell6de8a-line);
  background: var(--shell6de8a-ink-deep);
  flex: none;
}

.shell6de8a-brand-name {
  font-family: var(--shell6de8a-font-round);
  font-weight: 800;
  font-size: clamp(13px, 4.2vw, 16px);
  line-height: 1.1;
  letter-spacing: 0.2px;
  color: var(--shell6de8a-mist);
  white-space: nowrap;
}

.shell6de8a-topactions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

/* compact icon-text CTA buttons */
.shell6de8a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 38px;
  padding: 7px 11px;
  border-radius: var(--shell6de8a-radius-pill);
  font-family: var(--shell6de8a-font-round);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.2px;
  transition:
    transform 0.14s var(--shell6de8a-ease),
    background-color 0.18s var(--shell6de8a-ease),
    color 0.18s var(--shell6de8a-ease),
    border-color 0.18s var(--shell6de8a-ease);
}

.shell6de8a-btn:active {
  transform: scale(0.94);
}

.shell6de8a-btn-register {
  background: linear-gradient(180deg, #d9d9d9, var(--shell6de8a-silver));
  color: #24354b;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
}

.shell6de8a-btn-register:hover {
  background: linear-gradient(180deg, #F5F5F5, #d3d3d3);
}

.shell6de8a-btn-login {
  background: transparent;
  color: var(--shell6de8a-silver);
  border: 1px solid rgba(192, 192, 192, 0.55);
}

.shell6de8a-btn-login:hover {
  color: var(--shell6de8a-mist);
  border-color: var(--shell6de8a-mist);
}

/* hamburger toggle with morphing bars */
.shell6de8a-menutoggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--shell6de8a-radius-m);
  border: 1px solid var(--shell6de8a-line);
  background: var(--shell6de8a-glass);
  transition:
    background-color 0.18s var(--shell6de8a-ease),
    transform 0.14s var(--shell6de8a-ease);
}

.shell6de8a-menutoggle:active {
  transform: scale(0.92);
}

.shell6de8a-menutoggle-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 17px;
}

.shell6de8a-menutoggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--shell6de8a-silver);
  transition:
    transform 0.24s var(--shell6de8a-ease),
    opacity 0.18s var(--shell6de8a-ease),
    width 0.24s var(--shell6de8a-ease);
}

.shell6de8a-menutoggle.is-open .shell6de8a-menutoggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.shell6de8a-menutoggle.is-open .shell6de8a-menutoggle-bar:nth-child(2) {
  opacity: 0;
  width: 0;
}

.shell6de8a-menutoggle.is-open .shell6de8a-menutoggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- layered dropdown menu ---------- */
.shell6de8a-drop {
  position: fixed;
  top: calc(var(--shell6de8a-topbar-h) + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: calc(100% - 20px);
  max-width: 450px;
  z-index: 55;
  padding: 8px;
  border-radius: var(--shell6de8a-radius-l);
  background: rgba(38, 58, 80, 0.98);
  border: 1px solid var(--shell6de8a-line);
  box-shadow: var(--shell6de8a-shadow-float);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s var(--shell6de8a-ease),
    transform 0.2s var(--shell6de8a-ease),
    visibility 0.2s;
}

.shell6de8a-drop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.shell6de8a-drop-layer {
  padding: 8px 6px 10px;
  border-bottom: 1px dashed var(--shell6de8a-line-soft);
}

.shell6de8a-drop-layer:last-child {
  border-bottom: 0;
}

.shell6de8a-drop-caption {
  margin: 0 0 6px;
  font-family: var(--shell6de8a-font-round);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--shell6de8a-steel);
}

.shell6de8a-drop-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.shell6de8a-drop-link {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: var(--shell6de8a-radius-m);
  background: var(--shell6de8a-glass);
  border: 1px solid transparent;
  font-family: var(--shell6de8a-font-round);
  font-weight: 600;
  font-size: 13px;
  color: var(--shell6de8a-silver);
  transition:
    background-color 0.16s var(--shell6de8a-ease),
    color 0.16s var(--shell6de8a-ease),
    transform 0.14s var(--shell6de8a-ease);
}

.shell6de8a-drop-link:active {
  transform: scale(0.97);
}

.shell6de8a-drop-link:hover {
  background: var(--shell6de8a-glass-strong);
  color: var(--shell6de8a-mist);
  text-decoration: none;
}

.shell6de8a-drop-link.is-current {
  background: var(--shell6de8a-glass-strong);
  border-color: rgba(192, 192, 192, 0.45);
  color: var(--shell6de8a-mist);
}

.shell6de8a-drop-dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--shell6de8a-steel);
  transition: background-color 0.16s var(--shell6de8a-ease);
}

.shell6de8a-drop-link:hover .shell6de8a-drop-dot,
.shell6de8a-drop-link.is-current .shell6de8a-drop-dot {
  background: var(--shell6de8a-mist);
}

/* ---------- hero block ---------- */
.shell6de8a-hero {
  padding: 6px 2px 2px;
}

.shell6de8a-h1 {
  margin: 0 0 10px;
  font-family: var(--shell6de8a-font-round);
  font-weight: 800;
  font-size: clamp(21px, 6.4vw, 27px);
  line-height: 1.22;
  letter-spacing: 0.1px;
  color: var(--shell6de8a-mist);
  text-wrap: balance;
}

.shell6de8a-lead {
  margin: 0 0 10px;
  font-size: 13.8px;
  line-height: 1.62;
  color: rgba(245, 245, 245, 0.9);
}

.shell6de8a-herocta {
  display: flex;
  gap: 8px;
  margin: 14px 0 4px;
}

.shell6de8a-herocta .shell6de8a-btn {
  flex: 1;
  min-height: 44px;
  font-size: 13.5px;
}

.shell6de8a-btn-hero {
  background: linear-gradient(180deg, #dcdcdc, var(--shell6de8a-silver));
  color: #24354b;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.shell6de8a-btn-hero:hover {
  background: linear-gradient(180deg, #F5F5F5, #d6d6d6);
}

.shell6de8a-btn-ghost {
  background: var(--shell6de8a-glass);
  border: 1px solid rgba(192, 192, 192, 0.5);
  color: var(--shell6de8a-silver);
}

.shell6de8a-btn-ghost:hover {
  color: var(--shell6de8a-mist);
  border-color: var(--shell6de8a-mist);
}

/* quick fact chips */
.shell6de8a-chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 12px 0 4px;
}

.shell6de8a-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px;
  border-radius: var(--shell6de8a-radius-m);
  background: var(--shell6de8a-glass);
  border: 1px solid var(--shell6de8a-line);
  text-align: center;
}

.shell6de8a-chip b {
  font-family: var(--shell6de8a-font-round);
  font-size: 14px;
  color: var(--shell6de8a-mist);
  line-height: 1.2;
}

.shell6de8a-chip span {
  font-size: 10px;
  letter-spacing: 0.4px;
  color: var(--shell6de8a-steel);
  text-transform: uppercase;
}

/* ---------- promo banner slider ---------- */
.shell6de8a-slider {
  position: relative;
  margin: 16px 0 4px;
  border-radius: var(--shell6de8a-radius-l);
  overflow: hidden;
  border: 1px solid var(--shell6de8a-line);
  box-shadow: var(--shell6de8a-shadow-card);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.shell6de8a-slide {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--shell6de8a-ease);
  cursor: pointer;
}

.shell6de8a-slide.is-on {
  opacity: 1;
  pointer-events: auto;
}

.shell6de8a-slide + .shell6de8a-slide {
  position: absolute;
  inset: 0;
}

.shell6de8a-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shell6de8a-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 44, 62, 0) 42%, rgba(29, 44, 62, 0.82) 100%);
}

.shell6de8a-slide-cap {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 9px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--shell6de8a-font-round);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--shell6de8a-mist);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.shell6de8a-slide-cap svg {
  flex: none;
}

.shell6de8a-slide:active .shell6de8a-slide-img {
  transform: scale(0.985);
}

.shell6de8a-slide-img {
  transition: transform 0.3s var(--shell6de8a-ease);
}

.shell6de8a-dots {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 3;
  display: flex;
  gap: 5px;
}

.shell6de8a-dot {
  width: 22px;
  height: 10px;
  border-radius: var(--shell6de8a-radius-pill);
  background: rgba(245, 245, 245, 0.38);
  transition:
    background-color 0.2s var(--shell6de8a-ease),
    width 0.2s var(--shell6de8a-ease);
}

.shell6de8a-dot.is-on {
  background: var(--shell6de8a-mist);
  width: 30px;
}

.shell6de8a-dot:active {
  transform: scale(0.9);
}

/* ---------- content sections ---------- */
.shell6de8a-section {
  margin-top: 26px;
  padding: 16px 14px;
  border-radius: var(--shell6de8a-radius-l);
  background: var(--shell6de8a-glass);
  border: 1px solid var(--shell6de8a-line);
}

.shell6de8a-h2 {
  margin: 0 0 8px;
  font-family: var(--shell6de8a-font-round);
  font-weight: 800;
  font-size: clamp(17.5px, 5vw, 20px);
  line-height: 1.28;
  letter-spacing: 0.1px;
  color: var(--shell6de8a-mist);
  text-wrap: balance;
}

.shell6de8a-prose {
  margin: 0;
}

.shell6de8a-prose p {
  margin: 0 0 11px;
  font-size: 13.8px;
  line-height: 1.66;
  color: rgba(245, 245, 245, 0.88);
}

.shell6de8a-prose p:last-child {
  margin-bottom: 0;
}

.shell6de8a-prose a {
  color: var(--shell6de8a-mist);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(192, 192, 192, 0.6);
  text-underline-offset: 3px;
}

.shell6de8a-prose strong {
  color: var(--shell6de8a-mist);
  font-weight: 700;
}

/* ---------- game lobby ---------- */
.shell6de8a-lobby {
  margin-top: 24px;
}

.shell6de8a-cat {
  margin-top: 18px;
}

.shell6de8a-cat-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 4px;
}

.shell6de8a-cat-head h3 {
  margin: 0;
  font-family: var(--shell6de8a-font-round);
  font-weight: 800;
  font-size: 16.5px;
  color: var(--shell6de8a-mist);
}

.shell6de8a-cat-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #24354b;
  background: var(--shell6de8a-silver);
  padding: 2px 8px;
  border-radius: var(--shell6de8a-radius-pill);
}

.shell6de8a-cat-note {
  margin: 0 0 10px;
  font-size: 12.6px;
  line-height: 1.55;
  color: var(--shell6de8a-steel);
}

.shell6de8a-cat-note a {
  color: var(--shell6de8a-silver);
}

/* stable grid tracks: 4 columns on 320px, 5 from 430px up */
.shell6de8a-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px 7px;
}

.shell6de8a-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  min-width: 0;
  border-radius: var(--shell6de8a-radius-m);
  padding: 5px;
  background: var(--shell6de8a-glass);
  border: 1px solid var(--shell6de8a-line);
  text-align: center;
  transition:
    transform 0.14s var(--shell6de8a-ease),
    background-color 0.18s var(--shell6de8a-ease),
    border-color 0.18s var(--shell6de8a-ease);
}

.shell6de8a-tile:hover {
  background: var(--shell6de8a-glass-strong);
  border-color: rgba(192, 192, 192, 0.42);
}

.shell6de8a-tile:active {
  transform: scale(0.93);
}

.shell6de8a-tile-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--shell6de8a-radius-s);
  object-fit: cover;
  background: var(--shell6de8a-ink-deep);
}

.shell6de8a-tile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--shell6de8a-font-round);
  font-weight: 600;
  font-size: 10.6px;
  line-height: 1.3;
  letter-spacing: 0.1px;
  color: rgba(245, 245, 245, 0.92);
  overflow-wrap: anywhere;
}

/* large lead card mixed into each small-card grid */
.shell6de8a-tile-lead {
  grid-column: span 2;
  gap: 6px;
  padding: 7px;
  background: linear-gradient(180deg, rgba(192, 192, 192, 0.16), rgba(245, 245, 245, 0.05));
  border-color: rgba(192, 192, 192, 0.4);
}

.shell6de8a-tile-lead .shell6de8a-tile-name {
  font-size: 12.2px;
  -webkit-line-clamp: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: var(--shell6de8a-mist);
}

.shell6de8a-tile-flag {
  display: inline-block;
  margin-top: 1px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--shell6de8a-silver);
}

/* ---------- step-by-step blocks ---------- */
.shell6de8a-steps {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  counter-reset: shell6de8a-step;
}

.shell6de8a-step {
  position: relative;
  display: flex;
  gap: 11px;
  padding: 0 0 16px;
}

.shell6de8a-step::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 30px;
  bottom: 2px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(192, 192, 192, 0.45), rgba(128, 128, 128, 0.12));
}

.shell6de8a-step:last-child::before {
  display: none;
}

.shell6de8a-step-num {
  counter-increment: shell6de8a-step;
  flex: none;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #d9d9d9, var(--shell6de8a-silver));
  color: #24354b;
  font-family: var(--shell6de8a-font-round);
  font-weight: 800;
  font-size: 13.5px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.shell6de8a-step-num::before {
  content: counter(shell6de8a-step);
}

.shell6de8a-step-body {
  min-width: 0;
}

.shell6de8a-step-body h3 {
  margin: 2px 0 4px;
  font-family: var(--shell6de8a-font-round);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--shell6de8a-mist);
}

.shell6de8a-step-body p {
  margin: 0;
  font-size: 13.2px;
  line-height: 1.6;
  color: rgba(245, 245, 245, 0.85);
}

.shell6de8a-step-body a {
  color: var(--shell6de8a-mist);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(192, 192, 192, 0.6);
  text-underline-offset: 3px;
}

/* ---------- play style comparison cards ---------- */
.shell6de8a-styles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.shell6de8a-stylecard {
  padding: 12px 11px;
  border-radius: var(--shell6de8a-radius-m);
  background: var(--shell6de8a-glass);
  border: 1px solid var(--shell6de8a-line);
  transition: border-color 0.18s var(--shell6de8a-ease);
}

.shell6de8a-stylecard:hover {
  border-color: rgba(192, 192, 192, 0.45);
}

.shell6de8a-stylecard h3 {
  margin: 0 0 6px;
  font-family: var(--shell6de8a-font-round);
  font-weight: 800;
  font-size: 14px;
  color: var(--shell6de8a-mist);
  display: flex;
  align-items: center;
  gap: 6px;
}

.shell6de8a-stylecard h3 svg {
  flex: none;
  color: var(--shell6de8a-silver);
}

.shell6de8a-stylecard p {
  margin: 0;
  font-size: 12.4px;
  line-height: 1.58;
  color: rgba(245, 245, 245, 0.82);
}

.shell6de8a-stylecard a {
  color: var(--shell6de8a-mist);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(192, 192, 192, 0.55);
  text-underline-offset: 3px;
}

/* ---------- scenario rows ---------- */
.shell6de8a-scenes {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 12px;
}

.shell6de8a-scene {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-radius: var(--shell6de8a-radius-m);
  background: var(--shell6de8a-glass);
  border: 1px solid var(--shell6de8a-line);
}

.shell6de8a-scene-badge {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--shell6de8a-radius-m);
  background: var(--shell6de8a-glass-strong);
  color: var(--shell6de8a-silver);
  border: 1px solid var(--shell6de8a-line);
}

.shell6de8a-scene-body {
  min-width: 0;
}

.shell6de8a-scene-body h3 {
  margin: 1px 0 4px;
  font-family: var(--shell6de8a-font-round);
  font-weight: 700;
  font-size: 13.8px;
  color: var(--shell6de8a-mist);
}

.shell6de8a-scene-body p {
  margin: 0;
  font-size: 12.6px;
  line-height: 1.58;
  color: rgba(245, 245, 245, 0.82);
}

/* ---------- player voices ---------- */
.shell6de8a-voices {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 12px;
}

.shell6de8a-voice {
  margin: 0;
  padding: 12px 13px;
  border-radius: var(--shell6de8a-radius-m);
  background: var(--shell6de8a-glass);
  border: 1px solid var(--shell6de8a-line);
  border-left: 3px solid var(--shell6de8a-silver);
}

.shell6de8a-voice p {
  margin: 0 0 7px;
  font-size: 12.8px;
  line-height: 1.6;
  color: rgba(245, 245, 245, 0.88);
}

.shell6de8a-voice p::before {
  content: "\201C";
  color: var(--shell6de8a-silver);
  font-family: var(--shell6de8a-font-round);
  font-weight: 800;
  margin-right: 1px;
}

.shell6de8a-voice-who {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.4px;
  color: var(--shell6de8a-steel);
}

.shell6de8a-voice-who b {
  color: var(--shell6de8a-silver);
  font-weight: 700;
}

.shell6de8a-voice-who span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--shell6de8a-steel);
}

/* ---------- relationship map ---------- */
.shell6de8a-map {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 12px;
}

.shell6de8a-map-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 11px;
  border-radius: var(--shell6de8a-radius-m);
  background: var(--shell6de8a-glass);
  border: 1px solid var(--shell6de8a-line);
}

.shell6de8a-map-key {
  flex: none;
  width: 74px;
  padding: 3px 0;
  text-align: center;
  border-radius: var(--shell6de8a-radius-s);
  background: var(--shell6de8a-glass-strong);
  font-family: var(--shell6de8a-font-round);
  font-size: 10.4px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--shell6de8a-silver);
}

.shell6de8a-map-row p {
  margin: 0;
  font-size: 12.6px;
  line-height: 1.58;
  color: rgba(245, 245, 245, 0.85);
}

.shell6de8a-map-row a {
  color: var(--shell6de8a-mist);
  font-weight: 600;
}

/* ---------- extended footer (home only) ---------- */
.shell6de8a-extfooter {
  margin-top: 28px;
  padding: 16px 14px 6px;
  border-radius: var(--shell6de8a-radius-l) var(--shell6de8a-radius-l) 0 0;
  background: rgba(29, 44, 62, 0.7);
  border: 1px solid var(--shell6de8a-line);
  border-bottom: 0;
}

.shell6de8a-extbrand-title {
  margin: 0 0 7px;
  font-family: var(--shell6de8a-font-round);
  font-weight: 800;
  font-size: 16.5px;
  color: var(--shell6de8a-mist);
}

.shell6de8a-extbrand {
  margin: 0;
  font-size: 12.8px;
  line-height: 1.62;
  color: rgba(245, 245, 245, 0.82);
}

.shell6de8a-extcap {
  margin: 18px 0 8px;
  font-family: var(--shell6de8a-font-round);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--shell6de8a-steel);
}

.shell6de8a-promogrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shell6de8a-promoact {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 9px 10px;
  border-radius: var(--shell6de8a-radius-m);
  background: linear-gradient(180deg, rgba(192, 192, 192, 0.2), rgba(245, 245, 245, 0.06));
  border: 1px solid rgba(192, 192, 192, 0.45);
  font-family: var(--shell6de8a-font-round);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.3;
  color: var(--shell6de8a-mist);
  text-align: left;
  transition:
    transform 0.14s var(--shell6de8a-ease),
    border-color 0.18s var(--shell6de8a-ease),
    background-color 0.18s var(--shell6de8a-ease);
}

.shell6de8a-promoact:hover {
  border-color: var(--shell6de8a-mist);
}

.shell6de8a-promoact:active {
  transform: scale(0.96);
}

.shell6de8a-promoact svg {
  flex: none;
  color: var(--shell6de8a-silver);
}

/* two-column page directory */
.shell6de8a-extdir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.shell6de8a-extcol {
  min-width: 0;
}

.shell6de8a-extcol .shell6de8a-extcap {
  margin-top: 0;
}

.shell6de8a-extlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.shell6de8a-extlist a {
  display: flex;
  padding: 8px 10px;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  border-radius: var(--shell6de8a-radius-s);
  background: var(--shell6de8a-glass);
  border: 1px solid transparent;
  font-size: 12.4px;
  font-weight: 600;
  color: var(--shell6de8a-silver);
  transition:
    background-color 0.16s var(--shell6de8a-ease),
    color 0.16s var(--shell6de8a-ease);
}

.shell6de8a-extlist a:hover {
  background: var(--shell6de8a-glass-strong);
  color: var(--shell6de8a-mist);
  text-decoration: none;
}

.shell6de8a-extarrow {
  flex: none;
  color: var(--shell6de8a-steel);
  transition: color 0.16s var(--shell6de8a-ease), transform 0.16s var(--shell6de8a-ease);
}

.shell6de8a-extlist a:hover .shell6de8a-extarrow {
  color: var(--shell6de8a-mist);
  transform: translateX(2px);
}

.shell6de8a-extdisclaimer {
  margin: 18px 0 8px;
  padding: 11px 12px;
  border-radius: var(--shell6de8a-radius-m);
  background: rgba(128, 128, 128, 0.14);
  border: 1px dashed rgba(192, 192, 192, 0.35);
  font-size: 11.6px;
  line-height: 1.6;
  color: rgba(245, 245, 245, 0.72);
}

.shell6de8a-extdisclaimer strong {
  color: var(--shell6de8a-silver);
}

/* ---------- slim common footer ---------- */
.shell6de8a-footer {
  padding: 12px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  margin-bottom: calc(var(--shell6de8a-dock-h) + 26px);
  background: #1a2836;
  border-top: 1px solid var(--shell6de8a-line);
  text-align: center;
  font-size: 11.6px;
  line-height: 1.6;
  color: var(--shell6de8a-steel);
}

.shell6de8a-footer b {
  color: var(--shell6de8a-silver);
  font-family: var(--shell6de8a-font-round);
}

/* ---------- raised center dock nav ---------- */
.shell6de8a-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 470px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  min-height: var(--shell6de8a-dock-h);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  background: rgba(26, 40, 54, 0.96);
  border-top: 1px solid var(--shell6de8a-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.shell6de8a-dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  min-height: 48px;
  padding: 4px 2px;
  border-radius: var(--shell6de8a-radius-m);
  color: var(--shell6de8a-steel);
  transition: color 0.18s var(--shell6de8a-ease);
}

.shell6de8a-dock-item:hover {
  color: var(--shell6de8a-silver);
  text-decoration: none;
}

.shell6de8a-dock-item:active {
  transform: scale(0.92);
}

.shell6de8a-dock-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 30px;
  border-radius: var(--shell6de8a-radius-s);
  transition:
    background-color 0.2s var(--shell6de8a-ease),
    transform 0.18s var(--shell6de8a-ease);
}

.shell6de8a-dock-icon svg {
  transition: transform 0.2s var(--shell6de8a-ease);
}

.shell6de8a-dock-item:hover .shell6de8a-dock-icon svg {
  transform: translateY(-1px);
}

.shell6de8a-dock-label {
  font-family: var(--shell6de8a-font-round);
  font-size: 10.2px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* active state: soft background block cradles the icon */
.shell6de8a-dock-item.is-active {
  color: var(--shell6de8a-mist);
}

.shell6de8a-dock-item.is-active .shell6de8a-dock-icon {
  background: var(--shell6de8a-glass-strong);
  box-shadow: inset 0 0 0 1px rgba(192, 192, 192, 0.35);
}

.shell6de8a-dock-item.is-active .shell6de8a-dock-icon svg {
  transform: translateY(-1px) scale(1.06);
}

/* the raised center promo button */
.shell6de8a-dock-center {
  justify-content: flex-end;
}

.shell6de8a-dock-center .shell6de8a-dock-icon {
  width: 54px;
  height: 54px;
  margin-top: -22px;
  border-radius: 50%;
  background: linear-gradient(180deg, #e6e6e6, var(--shell6de8a-silver) 60%, #adadad);
  color: #24354b;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.4),
    0 0 0 4px rgba(192, 192, 192, 0.22);
  transition:
    transform 0.16s var(--shell6de8a-ease),
    box-shadow 0.2s var(--shell6de8a-ease);
}

.shell6de8a-dock-center:hover .shell6de8a-dock-icon {
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.45),
    0 0 0 5px rgba(245, 245, 245, 0.28);
}

.shell6de8a-dock-center:active .shell6de8a-dock-icon {
  transform: scale(0.9);
}

.shell6de8a-dock-center:active .shell6de8a-dock-icon svg {
  transform: translateX(2px);
}

.shell6de8a-dock-center .shell6de8a-dock-label {
  color: var(--shell6de8a-silver);
}

.shell6de8a-dock-center:hover .shell6de8a-dock-label,
.shell6de8a-dock-center:hover {
  color: var(--shell6de8a-mist);
}

/* ---------- shared inline icon sizing ---------- */
.shell6de8a-ic {
  width: 15px;
  height: 15px;
}

.shell6de8a-ic-s {
  width: 12px;
  height: 12px;
}

.shell6de8a-ic-l {
  width: 22px;
  height: 22px;
}

.shell6de8a-dock-icon .shell6de8a-ic-dock {
  width: 21px;
  height: 21px;
}

.shell6de8a-dock-center .shell6de8a-ic-dock {
  width: 24px;
  height: 24px;
}

/* ---------- wider phone and desktop canvas ---------- */
@media (min-width: 375px) {
  .shell6de8a-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .shell6de8a-drop-links {
    gap: 7px;
  }

  .shell6de8a-herocta {
    max-width: 420px;
  }
}

/* from 430px the lobby breathes with a fifth column */
@media (min-width: 430px) {
  .shell6de8a-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px 8px;
  }

  .shell6de8a-tile-name {
    font-size: 11px;
  }

  .shell6de8a-promogrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .shell6de8a-promoact {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 6px;
    min-height: 64px;
  }

  .shell6de8a-styles {
    gap: 10px;
  }
}

/* desktop: keep the centered phone canvas with side definition */
@media (min-width: 700px) {
  body {
    background-image:
      radial-gradient(90% 55% at 50% -10%, rgba(192, 192, 192, 0.16), transparent 60%),
      linear-gradient(180deg, #2E4057 0%, #27394e 50%, #223146 100%);
  }

  .shell6de8a-canvas {
    box-shadow:
      0 0 0 1px rgba(192, 192, 192, 0.14),
      0 24px 60px rgba(10, 18, 28, 0.5);
    background: rgba(29, 44, 62, 0.35);
  }

  .shell6de8a-slider {
    margin-top: 18px;
  }
}

/* gentle entrance only when JS is available */
.shell6de8a-js .shell6de8a-section,
.shell6de8a-js .shell6de8a-cat {
  animation: shell6de8a-rise 0.5s var(--shell6de8a-ease) both;
}

@keyframes shell6de8a-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* respect users who prefer fewer moving parts */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- help-page reading tools ---------- */
.shell6de8a-help-lead {
  margin: 0 0 14px;
  padding: 13px 14px;
  border-left: 3px solid var(--shell6de8a-silver);
  border-radius: 0 var(--shell6de8a-radius-m) var(--shell6de8a-radius-m) 0;
  background: rgba(245, 245, 245, 0.08);
  color: rgba(245, 245, 245, 0.9);
  font-size: 14px;
  line-height: 1.68;
}

.shell6de8a-signal-grid,
.shell6de8a-term-grid,
.shell6de8a-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.shell6de8a-signal,
.shell6de8a-term,
.shell6de8a-fact {
  min-width: 0;
  padding: 11px 10px;
  border: 1px solid var(--shell6de8a-line);
  border-radius: var(--shell6de8a-radius-m);
  background: rgba(245, 245, 245, 0.055);
}

.shell6de8a-signal strong,
.shell6de8a-term strong,
.shell6de8a-fact strong {
  display: block;
  margin-bottom: 4px;
  color: var(--shell6de8a-mist);
  font-family: var(--shell6de8a-font-round);
  font-size: 13px;
  line-height: 1.3;
}

.shell6de8a-signal span,
.shell6de8a-term span,
.shell6de8a-fact span {
  display: block;
  color: rgba(245, 245, 245, 0.78);
  font-size: 12px;
  line-height: 1.52;
}

.shell6de8a-issue-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.shell6de8a-issue {
  padding: 12px;
  border-radius: var(--shell6de8a-radius-m);
  background: linear-gradient(105deg, rgba(192, 192, 192, 0.14), rgba(245, 245, 245, 0.04));
  border: 1px solid var(--shell6de8a-line);
}

.shell6de8a-issue h3 {
  margin: 0 0 5px;
  color: var(--shell6de8a-mist);
  font-family: var(--shell6de8a-font-round);
  font-size: 14px;
}

.shell6de8a-issue p {
  margin: 0;
  color: rgba(245, 245, 245, 0.82);
  font-size: 12.8px;
  line-height: 1.6;
}

.shell6de8a-checklist {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.shell6de8a-checklist li {
  position: relative;
  padding: 10px 10px 10px 34px;
  border-radius: var(--shell6de8a-radius-s);
  background: rgba(245, 245, 245, 0.06);
  color: rgba(245, 245, 245, 0.86);
  font-size: 13px;
  line-height: 1.55;
}

.shell6de8a-checklist li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 14px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--shell6de8a-silver);
  border-bottom: 2px solid var(--shell6de8a-silver);
  transform: rotate(-45deg);
}

.shell6de8a-promo-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 12px;
  padding: 2px 1px 5px;
  scrollbar-width: thin;
}

.shell6de8a-promo-chip {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--shell6de8a-radius-pill);
  border: 1px solid rgba(192, 192, 192, 0.42);
  background: rgba(245, 245, 245, 0.08);
  color: var(--shell6de8a-mist);
  font-family: var(--shell6de8a-font-round);
  font-size: 12px;
  font-weight: 700;
  transition: background-color 0.18s var(--shell6de8a-ease), transform 0.14s var(--shell6de8a-ease);
}

.shell6de8a-promo-chip:hover { background: rgba(245, 245, 245, 0.16); }
.shell6de8a-promo-chip:active { transform: scale(0.95); }

.shell6de8a-answer {
  padding: 14px;
  border-radius: var(--shell6de8a-radius-l);
  background: linear-gradient(145deg, rgba(192, 192, 192, 0.2), rgba(245, 245, 245, 0.06));
  border: 1px solid rgba(192, 192, 192, 0.45);
}

.shell6de8a-answer p { margin: 0; color: var(--shell6de8a-mist); font-size: 14px; line-height: 1.68; }

.shell6de8a-rule-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  counter-reset: shell6de8a-rule;
}

.shell6de8a-rule {
  counter-increment: shell6de8a-rule;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px;
  border: 1px solid var(--shell6de8a-line);
  border-radius: var(--shell6de8a-radius-m);
  background: rgba(245, 245, 245, 0.055);
}

.shell6de8a-rule::before {
  content: counter(shell6de8a-rule);
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--shell6de8a-silver);
  color: var(--shell6de8a-ink);
  font-family: var(--shell6de8a-font-round);
  font-weight: 800;
}

.shell6de8a-rule h3 { margin: 1px 0 4px; color: var(--shell6de8a-mist); font-family: var(--shell6de8a-font-round); font-size: 14px; }
.shell6de8a-rule p { margin: 0; color: rgba(245, 245, 245, 0.82); font-size: 12.8px; line-height: 1.58; }
.shell6de8a-boundary {
  padding: 12px;
  border: 1px dashed rgba(192, 192, 192, 0.45);
  border-radius: var(--shell6de8a-radius-m);
  color: rgba(245, 245, 245, 0.8);
  font-size: 12.5px;
  line-height: 1.62;
}

@media (max-width: 349px) {
  .shell6de8a-signal-grid,
  .shell6de8a-term-grid,
  .shell6de8a-fact-grid { grid-template-columns: 1fr; }
}
