/* A compact sky-blue editorial canvas with a midnight action rail. */
:root {
  --shell4c80d-slate: #273746;
  --shell4c80d-sky: #87ceeb;
  --shell4c80d-mist: #add8e6;
  --shell4c80d-midnight: #191970;
  --shell4c80d-ink: #13222f;
  --shell4c80d-line: rgba(173, 216, 230, .24);
  --shell4c80d-muted: #a4becc;
  --shell4c80d-header: 70px;
  --shell4c80d-rail: 76px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 88px; scroll-behavior: smooth; background: var(--shell4c80d-ink); }
body { margin: 0; color: var(--shell4c80d-mist); font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif; font-size: 15px; line-height: 1.55; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
a { color: var(--shell4c80d-sky); text-underline-offset: 3px; }
img, svg { max-width: 100%; }
img { display: block; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--shell4c80d-sky); outline-offset: 3px; }
[hidden] { display: none !important; }
.shell4c80d-canvas { width: 100%; max-width: 430px; min-height: 100vh; margin: 0 auto; background: var(--shell4c80d-slate); position: relative; box-shadow: 0 0 80px rgba(0, 0, 0, .3); }
.shell4c80d-skip { position: fixed; top: -200px; left: 50%; transform: translateX(-50%); z-index: 70; padding: 12px 18px; background: var(--shell4c80d-sky); color: var(--shell4c80d-ink); font-weight: bold; }
.shell4c80d-skip:focus { top: 8px; }
.shell4c80d-header { position: fixed; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 430px; height: var(--shell4c80d-header); padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 6px; background: var(--shell4c80d-slate); border-bottom: 1px solid var(--shell4c80d-line); z-index: 40; }
.shell4c80d-brand { display: flex; align-items: center; gap: 7px; flex: 0 1 auto; min-width: 0; min-height: 44px; text-decoration: none; }
.shell4c80d-brand img { width: 36px; height: 36px; object-fit: contain; border-radius: 4px; }
.shell4c80d-brand span { font-family: Impact, "Arial Narrow", sans-serif; font-size: 23px; font-weight: 400; white-space: nowrap; letter-spacing: .2px; color: var(--shell4c80d-mist); }
.shell4c80d-head-actions { display: flex; align-items: center; gap: 4px; }
.shell4c80d-account { min-height: 44px; padding: 7px 9px; border: 1px solid var(--shell4c80d-sky); border-radius: 3px; background: var(--shell4c80d-sky); color: var(--shell4c80d-ink); font-size: 12px; font-weight: 700; }
.shell4c80d-account-secondary { color: var(--shell4c80d-mist); background: transparent; border-color: var(--shell4c80d-line); }
.shell4c80d-menu { position: relative; }
.shell4c80d-menu summary { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; list-style: none; color: var(--shell4c80d-sky); border: 1px solid var(--shell4c80d-line); border-radius: 3px; }
.shell4c80d-menu summary::-webkit-details-marker { display: none; }
.shell4c80d-menu summary svg { width: 23px; height: 23px; fill: currentColor; }
.shell4c80d-menu[open] summary { background: var(--shell4c80d-midnight); }
.shell4c80d-drawer { position: fixed; top: calc(var(--shell4c80d-header) - 1px); right: 0; width: min(330px, calc(100vw - 2px)); max-height: calc(100dvh - var(--shell4c80d-header) - var(--shell4c80d-rail) - env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; padding: 18px 18px 24px; background: var(--shell4c80d-ink); border: 1px solid var(--shell4c80d-line); border-top: 0; box-shadow: -20px 18px 35px rgba(0, 0, 0, .4); animation: shell4c80d-enter .2s ease-out; }
.shell4c80d-drawer p { margin: 12px 0 6px; font-size: 11px; text-transform: uppercase; letter-spacing: 1.8px; color: var(--shell4c80d-muted); }
.shell4c80d-drawer a { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--shell4c80d-line); text-decoration: none; padding: 8px 0; }
.shell4c80d-drawer a[aria-current="page"] { color: var(--shell4c80d-mist); font-weight: 700; text-decoration: underline; }
.shell4c80d-main { padding: calc(var(--shell4c80d-header) + 18px) 12px calc(var(--shell4c80d-rail) + env(safe-area-inset-bottom) + 24px); }
.shell4c80d-kicker { margin: 0 0 6px; color: var(--shell4c80d-sky); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.8px; }
.shell4c80d-opening { padding: 4px 0 15px; }
h1, h2 { font-family: Impact, "Arial Narrow", sans-serif; font-weight: 400; line-height: 1.1; letter-spacing: .35px; color: var(--shell4c80d-mist); overflow-wrap: break-word; }
h1 { margin: 0 0 12px; font-size: clamp(30px, 9vw, 39px); max-width: 360px; }
h2 { margin: 0 0 12px; font-size: 27px; }
h3 { margin: 0 0 6px; font-size: 16px; color: var(--shell4c80d-sky); line-height: 1.3; }
p { margin: 0 0 12px; }
.shell4c80d-opening p:last-child { margin-bottom: 0; }
.shell4c80d-notice { border-left: 3px solid var(--shell4c80d-sky); padding: 9px 12px; font-size: 12px; background: var(--shell4c80d-ink); }
.shell4c80d-carousel { margin: 0 0 19px; }
.shell4c80d-reel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 5px; background: var(--shell4c80d-ink); }
.shell4c80d-reel::-webkit-scrollbar { display: none; }
.shell4c80d-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.shell4c80d-slide button { display: block; padding: 0; border: 0; width: 100%; background: none; }
.shell4c80d-slide img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.shell4c80d-slide button:focus-visible { outline-offset: -4px; }
.shell4c80d-carousel-tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.shell4c80d-carousel-tools button { width: 44px; height: 44px; border: 0; color: var(--shell4c80d-sky); background: transparent; }
.shell4c80d-carousel-tools svg { width: 19px; height: 19px; fill: currentColor; }
.shell4c80d-dots { display: flex; align-items: center; justify-content: center; }
.shell4c80d-dots button { position: relative; width: 44px; }
.shell4c80d-dots button::after { content: ""; position: absolute; height: 4px; width: 14px; left: 10px; top: 20px; background: var(--shell4c80d-muted); transition: width .18s ease, background .18s ease; }
.shell4c80d-dots button[aria-current="true"]::after { width: 24px; left: 5px; background: var(--shell4c80d-sky); }
.shell4c80d-caption { color: var(--shell4c80d-muted); font-size: 12px; line-height: 1.45; }
.shell4c80d-shelf-links { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 8px 0 16px; border-bottom: 1px solid var(--shell4c80d-line); }
.shell4c80d-shelf-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-size: 13px; font-weight: 700; }
.shell4c80d-menu:not([open]) .shell4c80d-drawer { display: none; }
.shell4c80d-category { padding: 23px 0 6px; scroll-margin-top: 82px; }
.shell4c80d-category h2 { margin-bottom: 7px; font-size: 25px; }
.shell4c80d-category > p { color: var(--shell4c80d-muted); font-size: 13px; line-height: 1.5; }
.shell4c80d-games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px 6px; margin: 12px 0 8px; padding: 0; list-style: none; }
.shell4c80d-games li { min-width: 0; }
.shell4c80d-game { display: flex; flex-direction: column; width: 100%; min-height: 44px; padding: 0; border: 0; background: none; color: var(--shell4c80d-mist); text-align: center; transition: transform .16s ease; }
.shell4c80d-game img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; border-radius: 5px; box-shadow: 0 3px 0 rgba(19, 34, 47, .85), 0 5px 10px rgba(0, 0, 0, .18); }
.shell4c80d-game span { display: block; margin-top: 7px; width: 100%; font-size: 11px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.shell4c80d-category-reading { display: flex; gap: 4px 12px; flex-wrap: wrap; margin: 8px 0 0; border-bottom: 1px solid var(--shell4c80d-line); padding-bottom: 10px; }
.shell4c80d-category-reading a { min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; }
.shell4c80d-editorial { padding: 25px 0 0; }
.shell4c80d-editorial > section { margin-top: 26px; }
.shell4c80d-editorial > section:first-child { margin-top: 0; }
.shell4c80d-intro-copy { padding: 19px 15px 7px; background: var(--shell4c80d-ink); border-top: 3px solid var(--shell4c80d-sky); }
.shell4c80d-reading-line { border-top: 1px solid var(--shell4c80d-line); padding-top: 12px; }
.shell4c80d-checklist { padding: 0; margin: 15px 0; list-style: none; counter-reset: shell4c80d-steps; }
.shell4c80d-checklist li { position: relative; padding: 11px 0 11px 36px; border-top: 1px solid var(--shell4c80d-line); counter-increment: shell4c80d-steps; }
.shell4c80d-checklist li::before { content: counter(shell4c80d-steps, decimal-leading-zero); position: absolute; left: 0; top: 11px; font-weight: 700; color: var(--shell4c80d-sky); font-size: 13px; }
.shell4c80d-checklist strong { color: var(--shell4c80d-mist); }
.shell4c80d-voices { border-top: 1px solid var(--shell4c80d-line); margin: 16px 0; }
.shell4c80d-voice { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--shell4c80d-line); }
.shell4c80d-voice > span { font-family: Impact, sans-serif; font-size: 29px; line-height: 1; color: var(--shell4c80d-sky); }
.shell4c80d-voice p { margin-bottom: 0; font-size: 14px; }
.shell4c80d-aside { padding: 13px 0 1px 12px; border-left: 2px solid var(--shell4c80d-sky); margin: 17px 0; font-size: 14px; }
.shell4c80d-definitions { margin: 14px 0; }
.shell4c80d-definitions dt { color: var(--shell4c80d-sky); font-weight: bold; padding-top: 10px; border-top: 1px solid var(--shell4c80d-line); }
.shell4c80d-definitions dd { margin: 3px 0 12px; font-size: 14px; }
.shell4c80d-split-action { display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid var(--shell4c80d-sky); border-radius: 3px; margin: 16px 0; overflow: hidden; }
.shell4c80d-split-action button, .shell4c80d-split-action a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 9px 7px; text-align: center; line-height: 1.3; font-size: 13px; font-weight: 700; text-decoration: none; }
.shell4c80d-split-action button { border: 0; background: var(--shell4c80d-sky); color: var(--shell4c80d-ink); }
.shell4c80d-split-action a { background: var(--shell4c80d-midnight); color: var(--shell4c80d-mist); }
.shell4c80d-question { border-top: 1px solid var(--shell4c80d-line); }
.shell4c80d-question summary { min-height: 48px; padding: 11px 18px 11px 0; cursor: pointer; font-weight: 700; color: var(--shell4c80d-sky); }
.shell4c80d-question p { font-size: 14px; padding-bottom: 8px; }
.shell4c80d-endnote { font-size: 13px; color: var(--shell4c80d-muted); border-top: 1px solid var(--shell4c80d-line); padding-top: 14px; }
.shell4c80d-directory { padding: 24px 15px 10px; background: var(--shell4c80d-ink); border-top: 3px solid var(--shell4c80d-sky); }
.shell4c80d-directory h2 { font-size: 25px; }
.shell4c80d-directory-group { padding-bottom: 14px; }
.shell4c80d-directory-group h3 { margin-bottom: 2px; font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--shell4c80d-muted); }
.shell4c80d-directory-group a { min-height: 44px; display: flex; align-items: center; justify-content: space-between; text-decoration: none; border-bottom: 1px solid var(--shell4c80d-line); font-size: 14px; padding: 8px 0; }
.shell4c80d-directory-group a::after { content: "›"; font-size: 22px; }
.shell4c80d-footer-brand { margin: 0; padding: 17px 0; border-top: 1px solid var(--shell4c80d-line); }
.shell4c80d-footer-brand p { font-size: 14px; }
.shell4c80d-footer-actions { margin: 6px 0 21px; padding: 0; list-style: none; }
.shell4c80d-footer-actions button { border: 0; border-top: 1px solid var(--shell4c80d-line); color: var(--shell4c80d-sky); background: transparent; width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: space-between; text-align: left; padding: 9px 0; font-weight: bold; }
.shell4c80d-footer-actions button svg { width: 19px; height: 19px; fill: currentColor; }
.shell4c80d-disclosure { font-size: 12px; color: var(--shell4c80d-muted); line-height: 1.5; }
.shell4c80d-footer { padding: 17px 12px calc(var(--shell4c80d-rail) + env(safe-area-inset-bottom) + 28px); background: var(--shell4c80d-ink); }
.shell4c80d-copyright { font-size: 12px; margin: 0; text-align: center; color: var(--shell4c80d-muted); }
.shell4c80d-rail { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 430px; padding-bottom: env(safe-area-inset-bottom); background: var(--shell4c80d-midnight); border-top: 1px solid var(--shell4c80d-sky); z-index: 50; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.shell4c80d-rail a, .shell4c80d-rail button { min-width: 0; min-height: var(--shell4c80d-rail); padding: 11px 2px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 0; border-right: 1px solid var(--shell4c80d-line); text-decoration: none; color: var(--shell4c80d-mist); background: transparent; font-size: 10px; line-height: 1.3; position: relative; }
.shell4c80d-rail > :last-child { border-right: 0; }
.shell4c80d-rail svg { width: 23px; height: 23px; fill: currentColor; opacity: .8; }
.shell4c80d-rail a[aria-current] { color: var(--shell4c80d-sky); background: rgba(135, 206, 235, .1); }
.shell4c80d-rail a[aria-current]::after { content: ""; position: absolute; bottom: 6px; height: 2px; width: 28px; background: var(--shell4c80d-sky); }
.shell4c80d-rail a[aria-current] svg { opacity: 1; }
.shell4c80d-rail button:hover, .shell4c80d-rail a:hover { color: var(--shell4c80d-sky); }
@keyframes shell4c80d-enter { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: translateX(0); } }
@media (hover: hover) { .shell4c80d-game:hover { transform: translateY(-3px); } .shell4c80d-directory-group a:hover { text-decoration: underline; } }
@media (min-width: 375px) { .shell4c80d-games { gap: 12px 8px; } .shell4c80d-brand { gap: 9px; } .shell4c80d-head-actions { gap: 6px; } .shell4c80d-account { padding: 7px 12px; } }
@media (min-width: 410px) { .shell4c80d-games { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 6px; } }
@media (min-width: 430px) { .shell4c80d-canvas { border-left: 1px solid var(--shell4c80d-line); border-right: 1px solid var(--shell4c80d-line); } .shell4c80d-main { padding-left: 14px; padding-right: 14px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .shell4c80d-drawer { animation: none; } .shell4c80d-game, .shell4c80d-dots button::after { transition: none; } }
@media (forced-colors: active) { .shell4c80d-game img { border: 1px solid CanvasText; } .shell4c80d-rail a[aria-current] { border-bottom: 3px solid Highlight; } }
/* Help pages extend the existing reading canvas with distinct document forms. */
.shell4c80d-breadcrumb { display: flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 12px; font-size: 12px; color: var(--shell4c80d-muted); }
.shell4c80d-breadcrumb a { display: inline-flex; min-height: 44px; align-items: center; }
.shell4c80d-task-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--shell4c80d-line); border-left: 1px solid var(--shell4c80d-line); margin: 17px 0; }
.shell4c80d-task-actions button { padding: 11px 9px; min-height: 52px; border: 0; border-right: 1px solid var(--shell4c80d-line); border-bottom: 1px solid var(--shell4c80d-line); color: var(--shell4c80d-sky); background: var(--shell4c80d-ink); text-align: left; font-size: 13px; line-height: 1.4; }
.shell4c80d-task-actions button:last-child:nth-child(odd) { grid-column: 1 / -1; }
.shell4c80d-inline-action { display: block; width: 100%; min-height: 48px; padding: 12px; margin: 17px 0; background: var(--shell4c80d-sky); color: var(--shell4c80d-ink); border: 0; border-radius: 3px; font-size: 13px; font-weight: 700; text-align: left; }
.shell4c80d-split-action .shell4c80d-action-muted { background: var(--shell4c80d-midnight); color: var(--shell4c80d-mist); border-left: 1px solid var(--shell4c80d-sky); }
.shell4c80d-review-pairs { border-top: 3px solid var(--shell4c80d-sky); margin: 18px 0; }
.shell4c80d-review-pairs article { padding: 15px 0 3px; border-bottom: 1px solid var(--shell4c80d-line); }
.shell4c80d-decision-list { margin: 18px 0; padding: 0 0 0 21px; }
.shell4c80d-decision-list li { margin-bottom: 12px; padding-left: 3px; }
.shell4c80d-review-case { padding: 17px 13px 1px; background: var(--shell4c80d-ink); border-left: 3px solid var(--shell4c80d-sky); }
.shell4c80d-access-route { margin: 16px 0; padding-left: 13px; border-left: 2px solid var(--shell4c80d-sky); }
.shell4c80d-error-ledger { list-style: none; padding: 0; margin: 18px 0; }
.shell4c80d-error-ledger li { border-top: 1px solid var(--shell4c80d-line); padding: 16px 0 1px; }
.shell4c80d-access-qa article { margin-top: 19px; border-top: 2px solid var(--shell4c80d-sky); padding-top: 13px; }
.shell4c80d-conditional-notes { margin: 19px 0; }
.shell4c80d-conditional-notes dt { margin-top: 18px; padding: 7px 10px; background: var(--shell4c80d-midnight); color: var(--shell4c80d-mist); font-weight: bold; }
.shell4c80d-conditional-notes dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--shell4c80d-line); }
.shell4c80d-access-finish { border-top: 3px solid var(--shell4c80d-sky); padding-top: 18px; }
.shell4c80d-main p a, .shell4c80d-main li a, .shell4c80d-main dd a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.shell4c80d-breadcrumb a { min-width: 44px; }
.shell4c80d-review-body h3, .shell4c80d-access-body h3 { margin-top: 14px; }
.shell4c80d-dots button::after { left: 15px; }
.shell4c80d-dots button[aria-current="true"]::after { left: 10px; }
@media (hover: hover) { .shell4c80d-task-actions button:hover, .shell4c80d-inline-action:hover { filter: brightness(1.12); } }
