/* A compact, dark editorial canvas with an ember-colored action system. */
:root {
  color-scheme: dark;
  --mobile913db-ground: #0d1117;
  --mobile913db-surface: #161d27;
  --mobile913db-raised: #1d2733;
  --mobile913db-line: #35404d;
  --mobile913db-ink: #f6f3ee;
  --mobile913db-muted: #bac4cf;
  --mobile913db-ember: #ff4500;
  --mobile913db-link: #ff9b72;
  --mobile913db-heading: Consolas, 'Lucida Console', monospace;
  --mobile913db-body: 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
body { margin: 0; background: #080b10; color: var(--mobile913db-ink); font-family: var(--mobile913db-body); font-size: 15px; line-height: 1.65; }
button, input, summary { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a { color: var(--mobile913db-link); text-underline-offset: 3px; overflow-wrap: anywhere; }
button { color: inherit; }
button, summary { cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }
:focus-visible { outline: 3px solid #ffba94; outline-offset: 3px; }
[hidden] { display: none !important; }
.mobile913db-canvas { position: relative; width: 100%; max-width: 430px; margin-inline: auto; min-height: 100vh; background: var(--mobile913db-ground); border-inline: 1px solid #202a36; }
.mobile913db-skip { position: fixed; left: 50%; top: -100px; z-index: 100; transform: translateX(-50%); padding: 12px 18px; color: #fff; background: #822c12; }
.mobile913db-skip:focus { top: 6px; }
.mobile913db-mast { position: fixed; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 430px; min-height: 72px; z-index: 40; background: #0d1117; border-bottom: 1px solid var(--mobile913db-line); }
.mobile913db-mastline { min-height: 72px; display: flex; align-items: center; gap: 10px; padding: 8px 12px; }
.mobile913db-brand { display: flex; align-items: center; gap: 6px; color: var(--mobile913db-ink); text-decoration: none; flex-shrink: 0; }
.mobile913db-brand img { width: 33px; height: 40px; object-fit: contain; }
.mobile913db-brand span { font-family: var(--mobile913db-heading); font-weight: 800; font-size: 21px; letter-spacing: -1px; }
.mobile913db-mastactions { margin-left: auto; display: flex; align-items: center; gap: 5px; }
.mobile913db-register, .mobile913db-login { min-height: 44px; padding: 6px 9px; border-radius: 4px; font-weight: 700; font-size: 12px; }
.mobile913db-register { color: #fff; background: #b83200; border: 1px solid var(--mobile913db-ember); }
.mobile913db-login { background: transparent; border: 1px solid var(--mobile913db-line); }
.mobile913db-menufold { position: static; }
.mobile913db-menufold > summary { min-width: 44px; min-height: 44px; display: grid; place-items: center; border: 1px solid var(--mobile913db-line); border-radius: 4px; list-style: none; }
.mobile913db-menufold > summary::-webkit-details-marker { display: none; }
.mobile913db-menufold > summary svg { width: 21px; height: 21px; }
.mobile913db-menufold[open] > summary { background: var(--mobile913db-raised); border-color: var(--mobile913db-ember); }
.mobile913db-menu { position: absolute; top: 71px; left: 0; right: 0; max-height: calc(100dvh - 165px); overflow-y: auto; overscroll-behavior: contain; padding: 9px 14px 16px; background: #131b25; border-bottom: 2px solid var(--mobile913db-ember); box-shadow: 0 14px 24px #0009; }
.mobile913db-menuhome { display: block; padding: 11px 4px; text-decoration: none; color: #fff; }
.mobile913db-menugroup { border-top: 1px solid var(--mobile913db-line); }
.mobile913db-menugroup summary { display: flex; align-items: center; justify-content: space-between; min-height: 46px; list-style: none; font-weight: 700; }
.mobile913db-menugroup summary::-webkit-details-marker { display: none; }
.mobile913db-menugroup summary::after { content: '+'; color: var(--mobile913db-link); font-family: monospace; font-size: 20px; }
.mobile913db-menugroup[open] summary::after { content: '−'; }
.mobile913db-menugroup a { display: block; min-height: 44px; padding: 9px 12px; border-left: 2px solid #754029; text-decoration: none; }
.mobile913db-main { padding: 90px 13px calc(92px + env(safe-area-inset-bottom)); min-width: 0; }
.mobile913db-kicker { margin: 0 0 8px; font-family: var(--mobile913db-heading); font-size: 11px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--mobile913db-link); }
h1, h2, h3 { line-height: 1.3; overflow-wrap: anywhere; }
h1, h2 { font-family: var(--mobile913db-heading); }
h1 { margin: 0 0 14px; font-size: clamp(23px, 6.5vw, 29px); letter-spacing: -1px; }
h2 { margin: 0 0 12px; font-size: 21px; letter-spacing: -.65px; }
h3 { margin: 0 0 8px; font-size: 16px; }
p { margin: 0 0 15px; }
.mobile913db-lead { font-size: 16px; color: #d7e0e9; }
.mobile913db-limitnote { padding: 10px 12px; border-left: 3px solid var(--mobile913db-ember); background: #171b22; color: var(--mobile913db-muted); font-size: 12px; }
.mobile913db-primary { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--mobile913db-ember); border-radius: 4px; background: #b83200; color: #fff; font-weight: 750; text-align: center; text-decoration: none; transition: background-color .16s ease, border-color .16s ease; }
.mobile913db-primary:hover { background: #d53a00; }
.mobile913db-primary:active { background: #8d2700; }
.mobile913db-visualreel { margin: 23px 0 15px; }
.mobile913db-reeltrack { display: flex; gap: 9px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #ad3c17 #1d2733; }
.mobile913db-reelitem { flex: 0 0 100%; margin: 0; scroll-snap-align: start; min-width: 0; }
.mobile913db-reelimage { display: block; width: 100%; padding: 0; border: 1px solid #5b3430; border-radius: 4px; background: #161d27; overflow: hidden; }
.mobile913db-reelimage img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.mobile913db-reelitem figcaption { padding: 7px 1px 0; font-size: 11px; color: var(--mobile913db-muted); line-height: 1.55; }
.mobile913db-reelcontrols { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 6px; }
.mobile913db-reelstep { width: 44px; height: 44px; border: 1px solid var(--mobile913db-line); border-radius: 4px; background: var(--mobile913db-surface); }
.mobile913db-reelstep svg { width: 18px; height: 18px; margin: auto; display: block; }
.mobile913db-reeldots { display: flex; gap: 2px; }
.mobile913db-reeldot { width: 44px; min-height: 44px; border: 0; background: transparent; display: grid; place-items: center; }
.mobile913db-reeldot::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: #52606d; }
.mobile913db-reeldot[aria-current='true']::before { background: var(--mobile913db-ember); width: 19px; }
.mobile913db-jumplist { display: flex; gap: 4px; flex-wrap: wrap; margin: 18px 0 24px; border-block: 1px solid var(--mobile913db-line); padding: 5px 0; }
.mobile913db-jumplist a { flex: 1 0 auto; min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 4px 7px; font-size: 12px; text-decoration: none; color: #eee; }
.mobile913db-shelf { margin: 0 0 29px; scroll-margin-top: 88px; }
.mobile913db-shelftop { border-left: 3px solid var(--mobile913db-ember); padding-left: 10px; margin-bottom: 12px; }
.mobile913db-shelftop h2 { font-size: 20px; margin-bottom: 6px; }
.mobile913db-shelftop p { color: var(--mobile913db-muted); font-size: 13px; margin-bottom: 0; }
.mobile913db-games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 7px; list-style: none; padding: 0; margin: 0; }
.mobile913db-games li { min-width: 0; }
.mobile913db-game { width: 100%; padding: 0; text-align: center; background: transparent; border: 0; display: flex; flex-direction: column; align-items: stretch; min-height: 44px; }
.mobile913db-game img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 5px; box-shadow: 0 3px 7px #0006; border: 1px solid #43505d; }
.mobile913db-game span { display: block; min-height: 35px; padding: 5px 1px 0; font-size: 10px; line-height: 1.35; overflow-wrap: anywhere; color: #e6edf4; }
.mobile913db-shelfroute { margin: 11px 0 0; border-top: 1px solid #29313d; padding-top: 9px; color: var(--mobile913db-muted); font-size: 12px; }
.mobile913db-shelfroute a { display: inline-block; padding-block: 7px; min-height: 34px; }
.mobile913db-editorial { padding-top: 24px; margin-top: 25px; border-top: 1px solid var(--mobile913db-line); }
.mobile913db-editorial > p, .mobile913db-branch p, .mobile913db-answer p { color: #ced7e0; }
.mobile913db-branch { margin: 22px 0; padding-left: 13px; border-left: 1px solid #7c3c27; }
.mobile913db-branch h3 { color: #fff; }
.mobile913db-readingroute { display: block; padding: 12px 0 8px; font-size: 13px; }
.mobile913db-checklist { list-style: none; padding: 0; margin: 16px 0 22px; }
.mobile913db-checklist li { position: relative; padding: 12px 0 12px 23px; border-bottom: 1px solid #2c3540; color: #cbd5df; }
.mobile913db-checklist li::before { content: '—'; position: absolute; left: 0; color: var(--mobile913db-link); }
.mobile913db-checklist strong { color: var(--mobile913db-ink); }
.mobile913db-compare { margin: 16px 0 22px; }
.mobile913db-compare > div { padding: 13px 0; border-bottom: 1px solid var(--mobile913db-line); }
.mobile913db-compare dt { font-family: var(--mobile913db-heading); font-size: 14px; font-weight: 700; color: var(--mobile913db-link); }
.mobile913db-compare dd { margin: 6px 0 0; color: #cbd5df; font-size: 14px; }
.mobile913db-steps { padding-left: 25px; margin: 17px 0 23px; }
.mobile913db-steps li { padding: 0 0 14px 5px; color: #cbd5df; }
.mobile913db-steps li::marker { color: var(--mobile913db-link); font-family: var(--mobile913db-heading); font-weight: bold; }
.mobile913db-steps strong { display: block; color: var(--mobile913db-ink); margin-bottom: 4px; }
.mobile913db-answer { padding: 17px 0 8px; border-top: 1px solid #303b47; }
.mobile913db-answer h3 { color: #f3f0eb; font-size: 17px; }
.mobile913db-quiet { font-size: 12px; color: var(--mobile913db-muted); }
.mobile913db-footer { padding: 27px 14px calc(112px + env(safe-area-inset-bottom)); border-top: 2px solid var(--mobile913db-ember); background: #121923; }
.mobile913db-footerbrand { font-family: var(--mobile913db-heading); font-size: 24px; color: #fff; margin: 0 0 7px; }
.mobile913db-footertitle { margin: 24px 0 10px; font-family: var(--mobile913db-heading); font-size: 16px; }
.mobile913db-directory { list-style: none; margin: 0; padding: 0; }
.mobile913db-directory li { border-bottom: 1px solid #303944; }
.mobile913db-directory a { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 9px; text-decoration: none; font-size: 13px; padding: 9px 0; }
.mobile913db-directory a::after { content: '↗'; flex-shrink: 0; }
.mobile913db-promolist { list-style: none; padding: 0; margin: 0; }
.mobile913db-promolist li { padding: 9px 0; border-bottom: 1px solid #303944; }
.mobile913db-promolist button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; padding: 8px 11px; background: #1b2531; color: #ffd1bd; border: 1px solid #564139; border-radius: 4px; text-align: left; font-weight: 600; }
.mobile913db-promolist button svg { width: 18px; height: 18px; }
.mobile913db-promolist p { margin: 6px 0 0; font-size: 12px; color: var(--mobile913db-muted); }
.mobile913db-condition { padding: 14px 0 0; font-size: 12px; color: #bac4cf; }
.mobile913db-copyright { margin: 22px 0 0; border-top: 1px solid #303944; padding-top: 14px; color: #bac4cf; font-size: 12px; }
.mobile913db-dock { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 430px; z-index: 50; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 5px 4px calc(6px + env(safe-area-inset-bottom)); background: #151e29; border-top: 1px solid #6d412d; box-shadow: 0 -4px 15px #0007; }
.mobile913db-dock a, .mobile913db-dock button { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; min-width: 0; min-height: 59px; gap: 4px; padding: 6px 1px; color: #d2dbe4; background: transparent; border: 0; text-decoration: none; font-size: 10px; line-height: 1.1; }
.mobile913db-dock > :nth-child(2) { border-left: 1px solid #3b4754; }
.mobile913db-dock > :nth-child(3) { border-right: 1px solid #3b4754; }
.mobile913db-dock svg { width: 23px; height: 23px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mobile913db-dock [aria-current='page'] { color: #ffd0ba; background: #30251f; border-radius: 4px; }
.mobile913db-dock [aria-current='page'] svg { fill: #b83200; stroke: #ffb48d; }
.mobile913db-dock > :nth-child(2), .mobile913db-dock > :nth-child(3) { color: #ffad88; }
/* Help routes retain the shared canvas but use different reading rhythms. */
.mobile913db-breadcrumb { margin: 0 0 15px; font-size: 12px; color: var(--mobile913db-muted); }
.mobile913db-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; padding-right: 8px; }
.mobile913db-routechoices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 19px 0 25px; }
.mobile913db-routechoices a { min-height: 48px; display: flex; align-items: center; padding: 9px; border: 1px solid var(--mobile913db-line); border-radius: 4px; text-decoration: none; font-size: 12px; }
.mobile913db-decision { border-top: 1px solid var(--mobile913db-line); padding: 18px 0 6px; }
.mobile913db-decision > h3 { padding-left: 10px; border-left: 3px solid var(--mobile913db-ember); }
.mobile913db-helpaction { margin: 18px 0 25px; }
.mobile913db-helpaction p { margin: 7px 0 0; font-size: 12px; color: var(--mobile913db-muted); }
.mobile913db-sequence { list-style: none; padding: 0; margin: 21px 0; counter-reset: mobile913db-stage; }
.mobile913db-sequence > li { counter-increment: mobile913db-stage; border-top: 1px solid #3b4653; padding: 19px 0 8px; }
.mobile913db-sequence > li > h3::before { content: counter(mobile913db-stage, decimal-leading-zero) ' / '; color: var(--mobile913db-link); font-family: var(--mobile913db-heading); }
.mobile913db-paymentnote { margin: 19px 0; padding: 13px; background: #1a2028; border: 1px solid #5c4034; border-radius: 4px; }
.mobile913db-paymentnote p:last-child { margin-bottom: 0; }
.mobile913db-miniqa { margin: 0; }
.mobile913db-miniqa > div { padding: 17px 0; border-top: 1px solid var(--mobile913db-line); }
.mobile913db-miniqa dt { font-weight: 700; color: var(--mobile913db-ink); line-height: 1.45; margin-bottom: 9px; }
.mobile913db-miniqa dd { margin: 0; color: #ced7e0; }
.mobile913db-commonfooter { padding: 0 14px calc(102px + env(safe-area-inset-bottom)); background: #121923; }
.mobile913db-commonfooter .mobile913db-copyright { margin-top: 0; }
.mobile913db-homeextension { padding-bottom: 25px; }
.mobile913db-menu a[aria-current='page'] { background: #30251f; color: #ffd0ba; border-left-color: var(--mobile913db-ember); }
.mobile913db-dock a, .mobile913db-dock button, .mobile913db-menufold > summary { transition: background-color .18s ease, color .18s ease; }
.mobile913db-dock button:active svg { fill: #b83200; }
.mobile913db-dock a:hover, .mobile913db-dock button:hover { background: #30251f; }
.mobile913db-readingroute, .mobile913db-shelfroute a { min-height: 44px; }
.mobile913db-main p a { display: inline-flex; align-items: center; min-height: 44px; }
.mobile913db-breadcrumb a { min-width: 44px; }
.mobile913db-main [id] { scroll-margin-top: 88px; }
.mobile913db-brand { min-height: 44px; }
.mobile913db-jumplist a { min-width: 44px; }
@media (min-width: 390px) {
  .mobile913db-games { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .mobile913db-game span { font-size: 10px; }
  .mobile913db-mastline { gap: 14px; }
}
@media (max-width: 350px) {
  .mobile913db-mastline { gap: 5px; padding-inline: 8px; }
  .mobile913db-brand span { font-size: 19px; }
  .mobile913db-brand img { width: 28px; }
  .mobile913db-register, .mobile913db-login { padding-inline: 7px; }
  .mobile913db-main { padding-inline: 10px; }
  .mobile913db-games { gap: 11px 6px; }
}
@media (min-width: 430px) {
  .mobile913db-canvas { box-shadow: 0 0 55px #0008; }
  .mobile913db-main { padding-inline: 16px; }
  .mobile913db-mast, .mobile913db-dock { border-inline: 1px solid #303944; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile913db-primary { transition: none; }
}
@media print {
  .mobile913db-mast, .mobile913db-dock, .mobile913db-reelcontrols, .mobile913db-promolist { display: none; }
  .mobile913db-main { padding-top: 15px; }
  .mobile913db-footer { padding-bottom: 20px; }
}
