/* A compact, poster-led reading canvas with an outlined action rail. */
:root {
  color-scheme: dark;
  --shellbab32-charcoal: #2c2c2c;
  --shellbab32-sky: #87ceeb;
  --shellbab32-coral: #ff7f50;
  --shellbab32-pink: #ffc0cb;
  --shellbab32-plum: #880e4f;
  --shellbab32-paper: #fff2f5;
  --shellbab32-line: #676066;
  --shellbab32-canvas: 430px;
  --shellbab32-rail-height: 72px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: #202020; color: var(--shellbab32-paper); font-family: 'Arial Narrow', 'Roboto Condensed', Arial, sans-serif; font-size: 15px; line-height: 1.55; }
button, input, summary { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: var(--shellbab32-sky); text-underline-offset: 3px; }
a:hover { color: var(--shellbab32-pink); }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--shellbab32-sky); outline-offset: 3px; }
img { display: block; max-width: 100%; }
svg { display: block; flex-shrink: 0; }
button { color: inherit; }
[hidden] { display: none !important; }
.shellbab32-canvas { width: 100%; max-width: var(--shellbab32-canvas); margin-inline: auto; background: var(--shellbab32-charcoal); min-height: 100vh; box-shadow: 0 0 0 1px #454045; overflow-wrap: anywhere; }
.shellbab32-skip { position: fixed; z-index: 50; top: 8px; left: max(8px, calc(50% - 207px)); padding: 12px; background: var(--shellbab32-sky); color: #242424; transform: translateY(-160%); }
.shellbab32-skip:focus { transform: translateY(0); }
.shellbab32-mast { position: fixed; z-index: 20; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: var(--shellbab32-canvas); min-height: 84px; padding: 12px 12px 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--shellbab32-charcoal); border-bottom: 3px solid var(--shellbab32-plum); box-shadow: 0 4px 12px #0005; }
.shellbab32-brand { display: flex; align-items: center; gap: 7px; color: var(--shellbab32-paper); text-decoration: none; min-width: 0; flex: 1; }
.shellbab32-brand img { width: 44px; height: 44px; object-fit: contain; border-radius: 4px; }
.shellbab32-brand span { font-family: Impact, 'Arial Black', sans-serif; font-size: 25px; line-height: .9; letter-spacing: .2px; max-width: 65px; }
.shellbab32-top-actions { display: grid; grid-template-columns: auto auto 44px; align-items: center; gap: 4px; }
.shellbab32-register, .shellbab32-login, .shellbab32-menu-open { min-height: 44px; border-radius: 3px; border: 1px solid var(--shellbab32-coral); padding: 0 8px; font-size: 12px; font-weight: 700; }
.shellbab32-register { background: var(--shellbab32-coral); color: #242424; }
.shellbab32-login { background: transparent; color: var(--shellbab32-pink); }
.shellbab32-menu-open { width: 44px; display: grid; place-items: center; padding: 8px; background: transparent; border-color: var(--shellbab32-line); color: var(--shellbab32-sky); }
.shellbab32-menu-open svg { width: 23px; height: 23px; }
.shellbab32-main { padding: 106px 12px calc(var(--shellbab32-rail-height) + env(safe-area-inset-bottom, 0px) + 24px); }
.shellbab32-intro { padding-bottom: 14px; }
.shellbab32-eyebrow { margin: 0 0 7px; font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--shellbab32-sky); }
h1, h2 { font-family: Impact, 'Arial Black', 'Arial Narrow', sans-serif; font-weight: 400; letter-spacing: .35px; line-height: 1.08; }
h1 { font-size: clamp(29px, 8.6vw, 38px); margin: 0 0 12px; max-width: 370px; }
h2 { font-size: 27px; margin: 0 0 12px; color: var(--shellbab32-pink); }
h3 { font-size: 17px; margin: 18px 0 6px; line-height: 1.3; color: var(--shellbab32-sky); }
p { margin: 0 0 12px; }
ul, ol { padding-left: 21px; margin: 10px 0 16px; }
li { margin-bottom: 7px; }
strong { color: var(--shellbab32-paper); }
.shellbab32-lead { font-size: 16px; color: var(--shellbab32-paper); }
.shellbab32-age-note { border-left: 3px solid var(--shellbab32-coral); margin: 12px 0 0; padding: 6px 10px; color: var(--shellbab32-pink); font-size: 12px; }
.shellbab32-reel { margin: 4px -12px 20px; border-top: 1px solid var(--shellbab32-line); border-bottom: 1px solid var(--shellbab32-line); padding-bottom: 8px; }
.shellbab32-reel-track { display: flex; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.shellbab32-reel-track::-webkit-scrollbar { display: none; }
.shellbab32-slide { margin: 0; flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.shellbab32-slide button { border: 0; padding: 0; display: block; width: 100%; background: transparent; }
.shellbab32-slide img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.shellbab32-slide figcaption { font-size: 12px; padding: 8px 12px 0; color: var(--shellbab32-pink); }
.shellbab32-reel-controls { display: flex; justify-content: space-between; align-items: center; padding: 4px 12px 0; }
.shellbab32-reel-step, .shellbab32-reel-dot { min-width: 44px; min-height: 44px; background: transparent; border: 1px solid var(--shellbab32-line); border-radius: 3px; }
.shellbab32-reel-step { font-size: 22px; color: var(--shellbab32-sky); }
.shellbab32-reel-dots { display: flex; gap: 2px; }
.shellbab32-reel-dot { border: 0; position: relative; font-size: 12px; color: var(--shellbab32-pink); }
.shellbab32-reel-dot[aria-current='true'] { color: var(--shellbab32-sky); }
.shellbab32-reel-dot::after { content: ''; width: 18px; height: 2px; background: var(--shellbab32-line); position: absolute; bottom: 7px; left: 13px; transition: width .18s ease, background .18s ease; }
.shellbab32-reel-dot[aria-current='true']::after { background: var(--shellbab32-sky); }
.shellbab32-jumpbar { display: flex; gap: 6px; overflow-x: auto; padding: 3px 0 12px; margin-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--shellbab32-plum) transparent; }
.shellbab32-jumpbar a { flex: 0 0 auto; min-height: 44px; padding: 10px 12px; border: 1px solid var(--shellbab32-line); border-radius: 3px; font-size: 12px; font-weight: 700; text-decoration: none; }
.shellbab32-catalog { padding: 18px 0 22px; border-top: 1px solid var(--shellbab32-line); }
.shellbab32-catalog h2 { margin-bottom: 8px; }
.shellbab32-catalog > p { font-size: 13px; color: #ead4dc; }
.shellbab32-game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 7px; padding: 0; margin: 14px 0 15px; list-style: none; }
.shellbab32-game-grid li { min-width: 0; margin: 0; }
.shellbab32-game { display: flex; flex-direction: column; align-items: stretch; gap: 6px; width: 100%; padding: 0; background: none; border: 0; text-align: center; min-height: 104px; }
.shellbab32-game img { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; border: 1px solid #81707b; border-radius: 4px; background: #393039; transition: transform .16s ease, border-color .16s ease; }
.shellbab32-game span { font-size: 11px; line-height: 1.25; color: var(--shellbab32-paper); overflow-wrap: anywhere; hyphens: auto; }
.shellbab32-game:hover img { transform: translateY(-2px); border-color: var(--shellbab32-sky); }
.shellbab32-category-paths { display: flex; flex-wrap: wrap; gap: 0 12px; border-top: 1px dotted var(--shellbab32-line); padding-top: 5px; }
.shellbab32-category-paths a { font-size: 12px; display: flex; align-items: center; min-height: 44px; }
.shellbab32-reading { border-top: 3px solid var(--shellbab32-plum); padding: 24px 0 20px; }
.shellbab32-reading p { color: #f0dee4; }
.shellbab32-install { list-style: none; counter-reset: shellbab32-install; padding: 0; }
.shellbab32-install li { counter-increment: shellbab32-install; padding: 10px 8px 12px 42px; border-bottom: 1px solid var(--shellbab32-line); position: relative; }
.shellbab32-install li::before { content: counter(shellbab32-install, decimal-leading-zero); position: absolute; top: 9px; left: 0; font-size: 21px; font-family: Impact, sans-serif; color: var(--shellbab32-coral); }
.shellbab32-install strong { display: block; margin-bottom: 4px; }
.shellbab32-wide-action { display: block; width: 100%; min-height: 48px; border: 0; border-radius: 3px; background: var(--shellbab32-coral); color: #222; font-weight: 700; padding: 12px 14px; margin: 16px 0 10px; }
.shellbab32-caution { padding: 12px; border: 1px solid var(--shellbab32-pink); border-left: 4px solid var(--shellbab32-pink); margin: 16px 0; font-size: 13px; }
.shellbab32-caution p:last-child { margin-bottom: 0; }
.shellbab32-mechanisms { margin: 14px 0; }
.shellbab32-mechanisms > div { padding: 12px 0; border-bottom: 1px solid var(--shellbab32-line); }
.shellbab32-mechanisms dt { font-weight: 700; color: var(--shellbab32-sky); margin-bottom: 4px; }
.shellbab32-mechanisms dd { margin: 0; font-size: 14px; }
.shellbab32-equation { background: #222; border-left: 3px solid var(--shellbab32-sky); padding: 14px 12px; font-size: 14px; margin: 16px 0; }
.shellbab32-equation strong { display: block; color: var(--shellbab32-sky); margin-bottom: 5px; }
.shellbab32-results-note { padding: 14px; background: var(--shellbab32-plum); border-radius: 3px; margin: 16px 0; }
.shellbab32-results-note strong { display: block; margin-bottom: 5px; }
.shellbab32-results-note p { margin-bottom: 0; }
.shellbab32-review-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin: 16px 0; }
.shellbab32-review-pair > div { border-top: 2px solid var(--shellbab32-sky); padding-top: 8px; }
.shellbab32-review-pair > div + div { border-color: var(--shellbab32-coral); }
.shellbab32-review-pair h3 { margin-top: 0; font-size: 16px; }
.shellbab32-review-pair p { font-size: 13px; }
.shellbab32-questions { margin-top: 14px; }
.shellbab32-questions details { border-bottom: 1px solid var(--shellbab32-line); }
.shellbab32-questions summary { min-height: 48px; padding: 12px 0; font-weight: 700; color: var(--shellbab32-pink); cursor: pointer; }
.shellbab32-questions details p { padding: 0 0 12px; margin-bottom: 0; font-size: 14px; }
.shellbab32-extended { padding-top: 18px; border-top: 1px solid var(--shellbab32-sky); }
.shellbab32-shortcuts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 10px 0 20px; }
.shellbab32-shortcuts button { min-height: 48px; font-size: 11px; padding: 6px 2px; background: transparent; color: var(--shellbab32-pink); border: 1px solid var(--shellbab32-coral); border-radius: 3px; }
.shellbab32-footer-brand { font-family: Impact, sans-serif; font-size: 28px; color: var(--shellbab32-sky); }
.shellbab32-directory { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding-bottom: 16px; }
.shellbab32-directory a { display: flex; align-items: center; min-height: 44px; border-bottom: 1px dotted var(--shellbab32-line); font-size: 13px; }
.shellbab32-disclaimer { font-size: 12px; color: #e6cbd5; }
.shellbab32-copyright { border-top: 1px solid var(--shellbab32-line); padding: 14px 0 0; margin-top: 20px; font-size: 12px; color: var(--shellbab32-pink); }
.shellbab32-bottom-rail { position: fixed; z-index: 25; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: var(--shellbab32-canvas); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 6px 5px calc(6px + env(safe-area-inset-bottom, 0px)); background: var(--shellbab32-charcoal); border: 1px solid var(--shellbab32-sky); border-bottom: 0; }
.shellbab32-rail-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 58px; min-width: 0; text-decoration: none; background: transparent; border: 0; padding: 4px 1px; color: var(--shellbab32-pink); font-size: 10px; line-height: 1.1; transition: color .18s ease; }
.shellbab32-rail-item svg { width: 25px; height: 25px; stroke-width: 1.8; }
.shellbab32-rail-item[aria-current='page'] { color: var(--shellbab32-sky); }
.shellbab32-rail-item[aria-current='page']::after { content: ''; position: absolute; width: 20px; height: 2px; background: var(--shellbab32-sky); top: 0; }
.shellbab32-route-panel { position: fixed; inset: auto 0 0; width: min(100%, 430px); max-width: 430px; max-height: min(88dvh, 760px); margin: 0 auto; padding: 16px 14px calc(18px + env(safe-area-inset-bottom, 0px)); border: 1px solid var(--shellbab32-sky); border-bottom: 0; border-radius: 6px 6px 0 0; background: var(--shellbab32-charcoal); color: var(--shellbab32-paper); overflow-y: auto; overscroll-behavior: contain; }
.shellbab32-route-panel[open] { animation: shellbab32-rise .2s ease-out; }
.shellbab32-route-panel::backdrop { background: #000b; }
.shellbab32-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.shellbab32-panel-heading p { font-family: Impact, sans-serif; font-size: 27px; color: var(--shellbab32-pink); margin: 0; }
.shellbab32-panel-close { width: 44px; height: 44px; border: 1px solid var(--shellbab32-line); border-radius: 3px; background: transparent; display: grid; place-items: center; }
.shellbab32-panel-close svg { width: 23px; height: 23px; }
.shellbab32-panel-home { display: block; min-height: 44px; padding: 10px; border-left: 3px solid var(--shellbab32-sky); text-decoration: none; background: #353135; }
.shellbab32-panel-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.shellbab32-panel-links a { display: flex; min-height: 48px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--shellbab32-line); text-decoration: none; font-size: 14px; }
.shellbab32-panel-home[aria-current='page'], .shellbab32-panel-links a[aria-current='page'] { color: var(--shellbab32-pink); border-bottom-color: var(--shellbab32-coral); }
.shellbab32-panel-links a[aria-current='page']::before { content: '\203A'; color: var(--shellbab32-coral); padding-right: 6px; font-size: 22px; }
.shellbab32-panel-label { margin: 15px 0 3px; color: var(--shellbab32-coral); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.shellbab32-panel-note { font-size: 12px; color: var(--shellbab32-pink); margin: 16px 0 0; }
/* Help pages retain the same reading canvas without reusing a single body template. */
.shellbab32-breadcrumb { font-size: 12px; color: var(--shellbab32-pink); margin-bottom: 16px; }
.shellbab32-breadcrumb a { display: inline-flex; min-height: 44px; align-items: center; }
.shellbab32-flow { list-style: none; padding: 0; margin: 16px 0; counter-reset: shellbab32-step; }
.shellbab32-flow > li { counter-increment: shellbab32-step; border-left: 2px solid var(--shellbab32-sky); padding: 0 0 18px 15px; margin: 0; }
.shellbab32-flow h3 { margin-top: 0; }
.shellbab32-flow h3::before { content: counter(shellbab32-step, decimal-leading-zero) ' / '; color: var(--shellbab32-coral); }
.shellbab32-decision { border-block: 1px solid var(--shellbab32-line); margin: 16px 0; }
.shellbab32-decision > div { padding: 12px 0; }
.shellbab32-decision > div + div { border-top: 1px dotted var(--shellbab32-line); }
.shellbab32-decision dt { font-weight: 700; color: var(--shellbab32-sky); margin-bottom: 5px; }
.shellbab32-decision dd { margin: 0; }
.shellbab32-ticklist { list-style: none; padding: 0; }
.shellbab32-ticklist li { padding: 10px 0 10px 26px; position: relative; border-bottom: 1px solid var(--shellbab32-line); }
.shellbab32-ticklist li::before { content: '\25A1'; position: absolute; left: 0; color: var(--shellbab32-coral); font-size: 20px; line-height: 1.2; }
.shellbab32-help-answers { margin: 14px 0; }
.shellbab32-help-answers dt { color: var(--shellbab32-pink); font-size: 17px; font-weight: 700; margin: 20px 0 7px; }
.shellbab32-help-answers dd { margin: 0 0 16px; padding-left: 12px; border-left: 2px solid var(--shellbab32-sky); }
.shellbab32-stop-note { border-left: 4px solid var(--shellbab32-coral); background: #222; padding: 14px 12px; margin: 16px 0; }
.shellbab32-reading > :last-child { margin-bottom: 0; }
@keyframes shellbab32-rise { from { opacity: .5; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 390px) { .shellbab32-game-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .shellbab32-top-actions { gap: 6px; } .shellbab32-register, .shellbab32-login { padding-inline: 11px; font-size: 13px; } }
@media (min-width: 430px) { .shellbab32-main { padding-inline: 16px; } .shellbab32-reel { margin-inline: -16px; } .shellbab32-mast { padding-inline: 16px; } .shellbab32-game-grid { gap: 13px 8px; } }
@media (max-width: 340px) { .shellbab32-mast { padding-inline: 8px; } .shellbab32-brand { gap: 5px; } .shellbab32-brand span { font-size: 23px; } .shellbab32-register, .shellbab32-login { padding-inline: 6px; } .shellbab32-review-pair { gap: 8px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
