/* ==========================================================================
   Phoenix Open Pool - compact canvas stylesheet
   Mobile-first 320-430px phone canvas, low-radius zoned layout,
   outlined tile cards, color-only micro interactions.
   Every class name and custom property uses the shell05ba4- prefix.
   ========================================================================== */

:root {
  --shell05ba4-ink: #2C2C2C;          /* base canvas */
  --shell05ba4-ink-deep: #1d1d1f;     /* fixed bars, dock */
  --shell05ba4-panel: #26262a;        /* card / tile surface */
  --shell05ba4-panel-2: #2f2f33;      /* zone surface */
  --shell05ba4-line: #43434a;         /* hairline borders */
  --shell05ba4-rose: #AD1457;         /* primary action */
  --shell05ba4-rose-deep: #880f44;    /* pressed action */
  --shell05ba4-coral: #FF8A80;        /* highlight / focus */
  --shell05ba4-mist: #6C757D;         /* muted support */
  --shell05ba4-text: #f2f0ee;         /* main text */
  --shell05ba4-text-dim: #c9c9cd;     /* body text */
  --shell05ba4-radius: 3px;           /* low radius system */
  --shell05ba4-top-h: 60px;
  --shell05ba4-dock-h: 58px;
  --shell05ba4-font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--shell05ba4-font);
  background: #17171a;
  color: var(--shell05ba4-text);
  font-size: 14px;
  line-height: 1.6;
}

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

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

a { color: var(--shell05ba4-coral); text-decoration: none; }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--shell05ba4-coral);
  outline-offset: 2px;
}

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

/* --------------------------------------------------------------------------
   Phone canvas: stays a 430px column on any wide screen.
   -------------------------------------------------------------------------- */
.shell05ba4-canvas {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shell05ba4-ink);
  position: relative;
}

/* --------------------------------------------------------------------------
   Fixed top bar: edge-aligned functional header.
   Brand zone shows ONLY the real logo image + site name.
   -------------------------------------------------------------------------- */
.shell05ba4-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  background: var(--shell05ba4-ink-deep);
  border-bottom: 1px solid var(--shell05ba4-line);
}

.shell05ba4-topbar-in {
  max-width: 430px;
  margin: 0 auto;
  min-height: var(--shell05ba4-top-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
}

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

.shell05ba4-brand img {
  width: 32px;
  height: 32px;
  border-radius: var(--shell05ba4-radius);
  border: 1px solid var(--shell05ba4-line);
  flex: 0 0 auto;
}

.shell05ba4-brand-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shell05ba4-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* Compact dual CTA pair */
.shell05ba4-btn-solid,
.shell05ba4-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--shell05ba4-radius);
  font-size: 12.5px;
  font-weight: 700;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.shell05ba4-btn-solid {
  background: var(--shell05ba4-rose);
  color: #fff;
  border: 1px solid var(--shell05ba4-rose);
}

.shell05ba4-btn-solid:hover { background: var(--shell05ba4-rose-deep); }

.shell05ba4-btn-ghost {
  background: transparent;
  color: var(--shell05ba4-coral);
  border: 1px solid var(--shell05ba4-coral);
}

.shell05ba4-btn-ghost:hover { background: rgba(255, 138, 128, 0.12); }

.shell05ba4-menu-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shell05ba4-line);
  border-radius: var(--shell05ba4-radius);
  color: var(--shell05ba4-text);
}

.shell05ba4-menu-btn:hover { color: var(--shell05ba4-coral); border-color: var(--shell05ba4-coral); }

.shell05ba4-menu-btn svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Side drawer menu + scrim
   -------------------------------------------------------------------------- */
.shell05ba4-drawer {
  position: fixed;
  top: 0; bottom: 0; left: 0;
  width: min(82vw, 308px);
  z-index: 60;
  background: #232327;
  border-right: 1px solid var(--shell05ba4-line);
  transform: translateX(-102%);
  transition: transform 0.22s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.shell05ba4-drawer[data-open="true"] { transform: translateX(0); }

.shell05ba4-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--shell05ba4-line);
}

.shell05ba4-drawer-head img {
  width: 26px; height: 26px;
  border-radius: var(--shell05ba4-radius);
}

.shell05ba4-drawer-title {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.shell05ba4-drawer-close {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--shell05ba4-line);
  border-radius: var(--shell05ba4-radius);
  font-size: 16px;
  color: var(--shell05ba4-text-dim);
}

.shell05ba4-drawer-close:hover { color: var(--shell05ba4-coral); border-color: var(--shell05ba4-coral); }

.shell05ba4-drawer-group {
  margin: 0;
  padding: 10px 14px 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--shell05ba4-mist);
}

.shell05ba4-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 10px 14px;
  color: var(--shell05ba4-text);
  border-bottom: 1px solid rgba(67, 67, 74, 0.55);
  font-size: 13.5px;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.shell05ba4-drawer a .shell05ba4-drawer-hint {
  font-size: 10.5px;
  font-weight: 400;
  color: var(--shell05ba4-mist);
}

.shell05ba4-drawer a:hover { color: var(--shell05ba4-coral); }
.shell05ba4-drawer a:hover .shell05ba4-drawer-hint { color: var(--shell05ba4-coral); }

.shell05ba4-drawer a[aria-current="page"] {
  background: var(--shell05ba4-rose);
  color: #fff;
}

.shell05ba4-drawer a[aria-current="page"] .shell05ba4-drawer-hint { color: #ffd7d3; }

.shell05ba4-scrim {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(12, 12, 14, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.shell05ba4-scrim[data-open="true"] { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   Main column: clears the fixed top bar and the fixed dock.
   -------------------------------------------------------------------------- */
.shell05ba4-main {
  padding-top: calc(var(--shell05ba4-top-h) + 6px);
  padding-bottom: calc(var(--shell05ba4-dock-h) + 40px + env(safe-area-inset-bottom, 0px));
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.shell05ba4-hero { padding: 14px 12px 4px; }

.shell05ba4-hero h1 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.shell05ba4-hero h1 .shell05ba4-hero-tick {
  display: inline-block;
  width: 22px; height: 4px;
  margin-bottom: 6px;
  margin-right: 8px;
  background: var(--shell05ba4-rose);
  vertical-align: middle;
}

.shell05ba4-hero-sub {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.66;
  color: var(--shell05ba4-text-dim);
}

.shell05ba4-cta-pair {
  display: flex;
  gap: 8px;
}

.shell05ba4-cta-pair .shell05ba4-btn-solid,
.shell05ba4-cta-pair .shell05ba4-btn-ghost { flex: 1 1 0; min-height: 46px; font-size: 13.5px; }

/* --------------------------------------------------------------------------
   Quick category chips (horizontal rail)
   -------------------------------------------------------------------------- */
.shell05ba4-chiprow {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 12px 12px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.shell05ba4-chip {
  flex: 0 0 auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid var(--shell05ba4-line);
  border-radius: var(--shell05ba4-radius);
  background: var(--shell05ba4-panel);
  color: var(--shell05ba4-text);
  font-size: 12px;
  font-weight: 700;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.shell05ba4-chip:hover { border-color: var(--shell05ba4-coral); color: var(--shell05ba4-coral); }

/* --------------------------------------------------------------------------
   Promo carousel
   -------------------------------------------------------------------------- */
.shell05ba4-slide-wrap {
  position: relative;
  margin: 6px 12px 4px;
  border: 1px solid var(--shell05ba4-line);
  border-radius: var(--shell05ba4-radius);
  background: var(--shell05ba4-panel);
  overflow: hidden;
}

.shell05ba4-track {
  display: flex;
  transition: transform 0.3s ease;
}

.shell05ba4-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
}

.shell05ba4-slide img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.shell05ba4-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 7px 40px 7px 10px;
  background: rgba(173, 20, 87, 0.88);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.shell05ba4-slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 44px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: rgba(29, 29, 31, 0.72);
  color: #fff;
  font-size: 17px;
  border-radius: var(--shell05ba4-radius);
}

.shell05ba4-slide-arrow:hover { background: var(--shell05ba4-rose); }

#shell05ba4-prev { left: 4px; }
#shell05ba4-next { right: 4px; }

.shell05ba4-dots {
  position: absolute;
  bottom: 38px;
  right: 10px;
  display: flex;
  gap: 6px;
}

.shell05ba4-dots button {
  width: 22px; height: 12px;
  padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
}

.shell05ba4-dots button::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid var(--shell05ba4-coral);
  background: transparent;
}

.shell05ba4-dots button[data-on="true"]::before { background: var(--shell05ba4-coral); }

/* --------------------------------------------------------------------------
   Zoned content blocks (low radius, outlined sections)
   -------------------------------------------------------------------------- */
.shell05ba4-zone {
  margin: 16px 12px;
  border: 1px solid var(--shell05ba4-line);
  border-radius: var(--shell05ba4-radius);
  background: var(--shell05ba4-panel-2);
}

.shell05ba4-zone-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 12px 10px;
  border-bottom: 1px solid var(--shell05ba4-line);
}

.shell05ba4-zone-head h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 800;
}

.shell05ba4-kick {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shell05ba4-coral);
}

.shell05ba4-zone-body { padding: 12px; }

.shell05ba4-zone-body h3 {
  margin: 14px 0 6px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--shell05ba4-text);
}

.shell05ba4-zone-body h3:first-child { margin-top: 0; }

.shell05ba4-zone-body p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.68;
  color: var(--shell05ba4-text-dim);
}

.shell05ba4-zone-body p:last-child { margin-bottom: 0; }

.shell05ba4-zone-body a { border-bottom: 1px solid rgba(255, 138, 128, 0.5); }

.shell05ba4-zone-body ul { margin: 0 0 10px; padding: 0 0 0 18px; }
.shell05ba4-zone-body li { font-size: 13px; line-height: 1.66; color: var(--shell05ba4-text-dim); margin-bottom: 7px; }
.shell05ba4-zone-body li:last-child { margin-bottom: 0; }

/* Quick internal links rail at the end of a zone */
.shell05ba4-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px dashed var(--shell05ba4-line);
}

.shell05ba4-quicklinks a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 11px;
  border: 1px solid var(--shell05ba4-line);
  border-radius: var(--shell05ba4-radius);
  background: var(--shell05ba4-panel);
  color: var(--shell05ba4-text);
  font-size: 12px;
  font-weight: 600;
}

.shell05ba4-quicklinks a:hover { border-color: var(--shell05ba4-coral); color: var(--shell05ba4-coral); }

/* --------------------------------------------------------------------------
   Game grid: outlined tile cards. 4 cols at 320px, 5 cols from 375px.
   -------------------------------------------------------------------------- */
.shell05ba4-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.shell05ba4-tile {
  display: block;
  padding: 4px 4px 6px;
  border: 1px solid var(--shell05ba4-line);
  border-radius: var(--shell05ba4-radius);
  background: var(--shell05ba4-panel);
  text-align: center;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.shell05ba4-tile:hover,
.shell05ba4-tile:focus-visible {
  border-color: var(--shell05ba4-coral);
  background: #2b2b30;
}

.shell05ba4-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
}

.shell05ba4-tile-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin-top: 5px;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--shell05ba4-text-dim);
}

.shell05ba4-tile:hover .shell05ba4-tile-name { color: var(--shell05ba4-coral); }

/* --------------------------------------------------------------------------
   Offer cards, comparison rows, steps, voices, facts
   -------------------------------------------------------------------------- */
.shell05ba4-offer {
  border: 1px solid var(--shell05ba4-line);
  border-radius: var(--shell05ba4-radius);
  background: var(--shell05ba4-panel);
  padding: 11px 12px;
  margin-bottom: 10px;
}

.shell05ba4-offer:last-of-type { margin-bottom: 0; }

.shell05ba4-offer b {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  margin-bottom: 4px;
}

.shell05ba4-offer p { margin: 0 0 9px; font-size: 12.5px; }

.shell05ba4-offer .shell05ba4-offer-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 14px;
  border-radius: var(--shell05ba4-radius);
  background: var(--shell05ba4-rose);
  border: 1px solid var(--shell05ba4-rose);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.shell05ba4-offer .shell05ba4-offer-cta:hover { background: var(--shell05ba4-rose-deep); }

.shell05ba4-vs-row {
  border-left: 3px solid var(--shell05ba4-rose);
  border-radius: 0 var(--shell05ba4-radius) var(--shell05ba4-radius) 0;
  background: var(--shell05ba4-panel);
  padding: 10px 12px;
  margin-bottom: 9px;
}

.shell05ba4-vs-row:last-of-type { margin-bottom: 0; }

.shell05ba4-vs-row b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--shell05ba4-text);
  margin-bottom: 3px;
}

.shell05ba4-vs-row p { margin: 0; font-size: 12.5px; }

.shell05ba4-steps { list-style: none; margin: 0; padding: 0; counter-reset: shell05ba4-step; }

.shell05ba4-steps li {
  position: relative;
  counter-increment: shell05ba4-step;
  padding: 0 0 12px 40px;
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.66;
  color: var(--shell05ba4-text-dim);
}

.shell05ba4-steps li:last-child { padding-bottom: 0; margin-bottom: 0; }

.shell05ba4-steps li::before {
  content: counter(shell05ba4-step);
  position: absolute;
  left: 0; top: 1px;
  width: 26px; height: 26px;
  display: flex;
  align-items: center; justify-content: center;
  border: 1px solid var(--shell05ba4-coral);
  border-radius: var(--shell05ba4-radius);
  color: var(--shell05ba4-coral);
  font-size: 12px;
  font-weight: 800;
}

.shell05ba4-voice {
  border-left: 3px solid var(--shell05ba4-coral);
  background: var(--shell05ba4-panel);
  border-radius: 0 var(--shell05ba4-radius) var(--shell05ba4-radius) 0;
  padding: 10px 12px;
  margin-bottom: 9px;
}

.shell05ba4-voice p { margin: 0 0 5px; font-size: 12.5px; }

.shell05ba4-voice cite {
  font-style: normal;
  font-size: 11px;
  color: var(--shell05ba4-mist);
  font-weight: 700;
}

.shell05ba4-facts { list-style: none; margin: 0; padding: 0; }

.shell05ba4-facts li {
  display: flex;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(67, 67, 74, 0.5);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--shell05ba4-text-dim);
}

.shell05ba4-facts li:last-child { border-bottom: 0; }

.shell05ba4-facts .shell05ba4-fact-tag {
  flex: 0 0 74px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--shell05ba4-coral);
  padding-top: 2px;
}

.shell05ba4-note {
  margin-top: 10px;
  padding: 9px 11px;
  border: 1px dashed var(--shell05ba4-line);
  border-radius: var(--shell05ba4-radius);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--shell05ba4-mist);
}

/* --------------------------------------------------------------------------
   Extended site footer (homepage) + generic copyright bar
   -------------------------------------------------------------------------- */
.shell05ba4-sitefoot {
  margin-top: 22px;
  border-top: 1px solid var(--shell05ba4-line);
  padding: 16px 12px 10px;
  background: var(--shell05ba4-panel-2);
}

.shell05ba4-sitefoot h2 {
  margin: 0 0 8px;
  font-size: 14.5px;
  font-weight: 800;
}

.shell05ba4-sitefoot p { margin: 0 0 12px; font-size: 12.5px; line-height: 1.66; color: var(--shell05ba4-text-dim); }

.shell05ba4-footgroup { margin-bottom: 16px; }

.shell05ba4-footpromo {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shell05ba4-footpromo button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--shell05ba4-line);
  border-radius: var(--shell05ba4-radius);
  background: var(--shell05ba4-panel);
  color: var(--shell05ba4-text);
  font-size: 12.5px;
  font-weight: 700;
  text-align: left;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.shell05ba4-footpromo button::after {
  content: "\2192";
  color: var(--shell05ba4-coral);
  font-weight: 800;
}

.shell05ba4-footpromo button:hover { border-color: var(--shell05ba4-coral); color: var(--shell05ba4-coral); }

.shell05ba4-footdir { list-style: none; margin: 0; padding: 0; }

.shell05ba4-footdir li { margin-bottom: 7px; }

.shell05ba4-footdir a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 44px;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid var(--shell05ba4-line);
  border-radius: var(--shell05ba4-radius);
  background: var(--shell05ba4-panel);
}

.shell05ba4-footdir a b { font-size: 12.5px; font-weight: 700; color: var(--shell05ba4-text); }

.shell05ba4-footdir a:hover b { color: var(--shell05ba4-coral); }

.shell05ba4-footdir a span { font-size: 11px; color: var(--shell05ba4-mist); line-height: 1.45; }

.shell05ba4-copy {
  padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--shell05ba4-line);
  text-align: center;
  font-size: 11px;
  color: var(--shell05ba4-mist);
  background: var(--shell05ba4-ink-deep);
}

/* --------------------------------------------------------------------------
   Fixed bottom dock: compact icon rack with visible labels.
   -------------------------------------------------------------------------- */
.shell05ba4-dock {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--shell05ba4-ink-deep);
  border-top: 1px solid var(--shell05ba4-line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.shell05ba4-dock-in {
  max-width: 430px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.shell05ba4-dock-item {
  min-height: var(--shell05ba4-dock-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 5px 2px;
  font-size: 10px;
  font-weight: 700;
  color: #a9a9ae;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.shell05ba4-dock-item svg { width: 21px; height: 21px; }

.shell05ba4-dock-item:hover { color: var(--shell05ba4-coral); }

.shell05ba4-dock-item[aria-current="page"] {
  background: var(--shell05ba4-coral);
  color: #1d1d1f;
}

/* --------------------------------------------------------------------------
   Breakpoints
   -------------------------------------------------------------------------- */

/* Wider phone canvas: denser game grid */
@media (min-width: 375px) {
  .shell05ba4-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .shell05ba4-hero h1 { font-size: 26px; }
}

/* Desktop framing: keep the phone canvas centered */
@media (min-width: 431px) {
  body { background: #141417; }
  .shell05ba4-canvas {
    border-left: 1px solid #35353b;
    border-right: 1px solid #35353b;
    box-shadow: 0 0 42px rgba(0, 0, 0, 0.55);
  }
}

/* Small-phone tuning inside the 430px canvas */
@media (max-width: 430px) {
  .shell05ba4-hero h1 { font-size: 22px; }
  .shell05ba4-tile-name { font-size: 9.5px; }
  .shell05ba4-dock-item { font-size: 9px; gap: 2px; }
  .shell05ba4-dock-item svg { width: 19px; height: 19px; }
  .shell05ba4-zone { margin: 14px 10px; }
  .shell05ba4-slide-wrap { margin: 6px 10px 4px; }
  .shell05ba4-chiprow { padding-left: 10px; padding-right: 10px; }
  .shell05ba4-hero { padding: 12px 10px 4px; }
  .shell05ba4-slide-cap { font-size: 11px; }
}

/* --------------------------------------------------------------------------
   Help-page reading patterns: open answers and decision cues
   -------------------------------------------------------------------------- */
.shell05ba4-help-lead {
  margin: 0 0 12px;
  padding: 10px 11px;
  border-left: 3px solid var(--shell05ba4-coral);
  background: var(--shell05ba4-panel);
  color: var(--shell05ba4-text-dim);
  font-size: 13px;
  line-height: 1.7;
}

.shell05ba4-detail {
  margin: 0 0 8px;
  border: 1px solid var(--shell05ba4-line);
  border-radius: var(--shell05ba4-radius);
  background: var(--shell05ba4-panel);
}

.shell05ba4-detail:last-child { margin-bottom: 0; }

.shell05ba4-detail summary {
  min-height: 44px;
  padding: 10px 12px 9px 34px;
  position: relative;
  cursor: pointer;
  color: var(--shell05ba4-text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  list-style: none;
}

.shell05ba4-detail summary::-webkit-details-marker { display: none; }
.shell05ba4-detail summary::before {
  content: "+";
  position: absolute;
  left: 12px;
  top: 9px;
  color: var(--shell05ba4-coral);
  font-size: 17px;
  line-height: 1.35;
}
.shell05ba4-detail[open] summary::before { content: "-"; }
.shell05ba4-detail[open] summary { border-bottom: 1px solid var(--shell05ba4-line); }

.shell05ba4-answer {
  padding: 10px 12px 11px;
  color: var(--shell05ba4-text-dim);
  font-size: 12.5px;
  line-height: 1.68;
}
.shell05ba4-answer p { margin: 0 0 8px; }
.shell05ba4-answer p:last-child { margin-bottom: 0; }

.shell05ba4-alert {
  margin: 10px 0;
  padding: 10px 11px;
  border: 1px solid var(--shell05ba4-rose);
  border-radius: var(--shell05ba4-radius);
  background: rgba(173, 20, 87, 0.16);
  color: var(--shell05ba4-text);
  font-size: 12.5px;
  line-height: 1.65;
}

.shell05ba4-checklist { list-style: none; margin: 0; padding: 0; }
.shell05ba4-checklist li {
  position: relative;
  margin: 0 0 8px;
  padding: 9px 10px 9px 32px;
  border: 1px solid var(--shell05ba4-line);
  background: var(--shell05ba4-panel);
  color: var(--shell05ba4-text-dim);
  font-size: 12.5px;
  line-height: 1.62;
}
.shell05ba4-checklist li:last-child { margin-bottom: 0; }
.shell05ba4-checklist li::before {
  content: "✓";
  position: absolute;
  left: 10px;
  top: 8px;
  color: var(--shell05ba4-coral);
  font-weight: 800;
}

.shell05ba4-troubleshoot { list-style: none; margin: 0; padding: 0; }
.shell05ba4-troubleshoot li {
  margin: 0 0 10px;
  padding: 10px 11px;
  border-left: 3px solid var(--shell05ba4-rose);
  background: var(--shell05ba4-panel);
  color: var(--shell05ba4-text-dim);
  font-size: 12.5px;
  line-height: 1.65;
}
.shell05ba4-troubleshoot li:last-child { margin-bottom: 0; }
.shell05ba4-troubleshoot b { color: var(--shell05ba4-text); }

.shell05ba4-cta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 11px;
}
.shell05ba4-cta-line a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--shell05ba4-coral);
  border-radius: var(--shell05ba4-radius);
  background: var(--shell05ba4-rose);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.shell05ba4-cta-line a:hover { background: var(--shell05ba4-rose-deep); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
