/* Hard Mode additions only; keep the shared theme and other deployments intact. */
.aki-start, .aki-play { --aki-gold: #ebca86; --aki-ink: #12100f; --aki-muted: #c6b7a8; color: #f5ece1; }
.aki-start *, .aki-play * { box-sizing: border-box; }
.aki-kicker { margin: 0 0 14px; color: #ebca86; font-size: 11px; font-weight: 700; letter-spacing: .18em; line-height: 1.6; }
.aki-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.aki-button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 5px; font: inherit; font-size: 14px; font-weight: 700; line-height: 1.6; text-decoration: none; cursor: pointer; transition: background .18s, border-color .18s; }
.aki-button--gold { background: #ebca86; color: #241b10; border-color: #ebca86; }
.aki-button--gold:hover:not(:disabled) { background: #ffe0a0; color: #241b10; }
.aki-button--outline { border-color: #76644a; color: #f0ddbd; background: #17120eda; }
.aki-button--outline:hover { background: #372719; border-color: #ebca86; color: #fff0d4; }
.aki-button:disabled { opacity: .55; cursor: not-allowed; }
.aki-button:focus-visible, .aki-tool:focus-visible, .aki-start a:focus-visible, .aki-play a:focus-visible { outline: 3px solid #ffe1a1; outline-offset: 4px; }
.menu_bar ul li.item--web-play a { color: #f6d996; box-shadow: inset 0 -2px #ad713b; background: #4d301b66; }
.menu_bar { padding-left: 20px; padding-right: 240px; }
.menu_bar img.logo { width: 120px; margin-right: 16px; }
.menu_bar ul { flex-wrap: wrap; gap: 4px; }
.menu_bar ul li { font-size: 14px; }
.menu_bar ul li a { padding-left: 10px; padding-right: 10px; white-space: nowrap; }
.aki-start { grid-column: 1 / -1; position: relative; overflow: hidden; border: 1px solid #705237; border-radius: 8px; background: linear-gradient(90deg, #100e0df5 8%, #1b110bd4 50%, #26130866), url('../images/aki-remake-hero.webp') center 55% / cover; box-shadow: 0 16px 50px #0005; }
.aki-start__copy { padding: clamp(28px, 4vw, 54px); }
.aki-start h1 { margin: 0 0 20px; font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; line-height: 1.35; color: #fff8eb; }
.aki-start h1 span { color: #ebca86; }
.aki-start__intro { max-width: 580px; margin: 0 0 26px; color: #e0cdb9; font-size: 15px; line-height: 1.9; }
.aki-start__note { color: #c6b7a8; font-size: 12px; margin: 16px 0 0; }
.aki-start__shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #14100ee6; border-top: 1px solid #705237; }
.aki-start__shortcuts a { padding: 24px 30px; color: #f6e7d0; text-decoration: none; border-right: 1px solid #4a3625; }
.aki-start__shortcuts a:last-child { border-right: 0; }
.aki-start__shortcuts a:hover { background: #4d301b66; }
.aki-start__shortcuts a > span { display: block; color: #b7966a; font-size: 10px; letter-spacing: .12em; }
.aki-start__shortcuts strong { display: block; margin: 8px 0 14px; font-size: 16px; }
.aki-start__shortcuts small { color: #d5b985; font-size: 12px; }
.aki-start__shortcuts small span { float: right; }
.aki-play { width: min(1400px, calc(100% - 40px)); margin: 28px auto 50px; }
.aki-play [hidden] { display: none !important; }
.aki-play__breadcrumb { display: flex; gap: 12px; align-items: center; color: #c6b7a8; font-size: 12px; margin-bottom: 26px; }
.aki-play__breadcrumb a { color: #e0c28a; text-decoration: none; }
.aki-play__heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 26px; }
.aki-play__heading h1 { margin: 0 0 12px; font-size: clamp(25px, 3vw, 36px); line-height: 1.5; }
.aki-play__heading h1 span { color: #ebca86; }
.aki-play__heading p:not(.aki-kicker) { font-size: 14px; color: #c6b7a8; margin: 0; }
.aki-stage { overflow: hidden; border: 1px solid #755637; border-radius: 8px; background: #100e0d; box-shadow: 0 22px 60px #0006; }
.aki-stage__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; min-height: 62px; padding: 12px 22px; border-bottom: 1px solid #4c3525; background: #1c1510; }
.aki-stage__brand { font-family: Georgia, serif; font-size: 23px; letter-spacing: .1em; color: #f2d497; }
.aki-stage__brand span { font-family: inherit; font-size: 10px; color: #b89a72; margin-left: 10px; }
.aki-stage__status { flex: 1; font-size: 12px; color: #c6b7a8; text-align: right; }
.aki-tool { padding: 8px 12px; border: 1px solid #715538; border-radius: 4px; color: #e5cda5; background: transparent; cursor: pointer; font: inherit; font-size: 12px; }
.aki-tool:hover:not(:disabled) { background: #48301d; }
.aki-tool:disabled { opacity: .4; cursor: not-allowed; }
.aki-stage__viewport { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 540px; background: radial-gradient(ellipse at 50% 45%, #49281844, #100e0def 75%), url('../images/aki-remake-hero.webp') center / cover; }
.aki-stage__welcome { min-height: inherit; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 36px 24px; }
.aki-play-emblem { font-family: Georgia, serif; font-size: 68px; line-height: 1; color: #e5bf76; text-shadow: 0 4px 35px #df6c2d66; margin: 0 0 28px; }
.aki-play-emblem span { display: block; margin-top: 10px; font-size: 9px; letter-spacing: .3em; }
.aki-stage__welcome h2 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 32px); line-height: 1.5; color: #f3e3c9; }
.aki-stage__welcome > p:not(.aki-kicker) { max-width: 620px; color: #c6b7a8; font-size: 14px; line-height: 1.9; }
.aki-stage__welcome .aki-button { margin-top: 16px; }
.aki-stage__welcome .aki-stage__hint { font-size: 12px; margin-top: 14px; }
.aki-stage__viewport iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #100e0d; }
.aki-stage__footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 22px; border-top: 1px solid #4c3525; color: #b8a58e; font-size: 12px; }
.aki-stage__footer > div { display: flex; align-items: center; gap: 18px; }
.aki-play__text-link { color: #ebca86; text-decoration: underline; text-underline-offset: 4px; font-size: 13px; }
.aki-play__text-link:hover { color: #fff1cd; }
.aki-play .aki-play__notice { max-width: 650px; padding: 14px 18px; margin: 16px auto; background: #332314; border: 1px solid #896437; border-radius: 5px; font-size: 13px; color: #f0d1a2; line-height: 1.8; }
.aki-play__confirm { text-align: center; }
.aki-play__confirm .aki-button { margin: 8px; }
.aki-play__guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.aki-play__guides section { padding: 28px; background: #1b1411e8; border: 1px solid #513d2d; border-radius: 6px; }
.aki-play__guides h2 { margin: 0 0 16px; color: #ecd9b8; font-size: 20px; line-height: 1.6; }
.aki-play__guides p:not(.aki-kicker), .aki-play__guides ul { color: #c6b7a8; font-size: 14px; line-height: 1.9; }
.aki-play__guides ul { padding-left: 20px; margin: 0; }
.aki-play__guides li + li { margin-top: 6px; }
.aki-stage:fullscreen { display: flex; flex-direction: column; border: 0; border-radius: 0; width: 100%; height: 100%; background: #100e0d; }
.aki-stage:fullscreen .aki-stage__viewport { flex: 1; min-height: 0; aspect-ratio: auto; }
.aki-stage:fullscreen .aki-stage__footer { padding: 8px 22px; }
/* A growing menu must take up real height, rather than overlap the header art/countdown. */
@media (max-width: 1200px) {
    body > header { min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
    body > header::after { display: none; }
    .header_logo { position: relative; inset: auto; height: auto; min-height: 0; padding: 18px 16px; justify-items: center; }
    .header_logo img { max-width: min(360px, 85vw); }
    .header_logo .aki-countdown { position: relative; left: auto; bottom: auto; transform: none; width: min(560px, calc(100vw - 32px)); min-width: 0; margin-top: 20px; }
    .menu_bar { position: relative; inset: auto; flex-wrap: wrap; height: auto; min-height: 64px; padding: 12px 16px; gap: 12px; }
    .menu_bar ul { order: 0; flex: 1 1 520px; width: auto; justify-content: center; }
    .menu_bar img.logo, .menu_bar img.character_header, .menu_bar::after { display: none; }
    .menu_bar .aki-member-entry { order: 1; margin: 0 auto; }
}
@media (max-width: 760px) {
    .aki-start__copy { padding: 30px 22px; }
    .aki-start__shortcuts { grid-template-columns: 1fr; }
    .aki-start__shortcuts a { padding: 18px 22px; border-right: 0; border-bottom: 1px solid #4a3625; }
    .aki-start__shortcuts strong { margin: 6px 0; }
    .aki-start__shortcuts a:last-child { border-bottom: 0; }
    .aki-actions .aki-button { width: 100%; }
    .aki-play { width: calc(100% - 20px); margin-top: 18px; }
    .aki-play__guides { grid-template-columns: 1fr; }
    .aki-play__guides section { padding: 22px; }
    .aki-stage__bar { padding: 12px; gap: 12px; }
    .aki-stage__brand { flex: 1; }
    .aki-stage__status { order: 3; flex: 1 1 100%; text-align: left; }
    .aki-stage__viewport { min-height: 560px; }
    .aki-stage__welcome { padding: 28px 18px; }
    .aki-stage__footer { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) { .aki-button { transition: none; } }
