@charset "UTF-8";
:root {
  color-scheme: dark;
  --paper: #191a23;
  --ink: #f4ecd9;
  --muted: #a09eac;
  --line: #ffffff15;
  --gold: #f4cd7b;
  --coral: #f38b72;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 300px; min-height: 100%; background: var(--paper); }
body { margin: 0; color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; background: radial-gradient(ellipse at 20% 30%, #8d57491a, transparent 48%), radial-gradient(ellipse at 90% 70%, #5e52751a, transparent 42%), #191a23; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .12; background-image: radial-gradient(#d0b995 0.6px, transparent .6px); background-size: 11px 11px; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; color: inherit; cursor: pointer; }
button, canvas, a { -webkit-user-select: none; user-select: none; }
button:focus-visible, canvas:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
button:disabled { cursor: default; opacity: .4; }
::selection { color: #24212a; background: var(--gold); }
.app-shell { position: relative; width: min(940px, 100%); margin: auto; padding: 24px 38px 18px; }
.masthead { display: flex; justify-content: space-between; align-items: center; padding-bottom: 23px; margin-bottom: 25px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 36px; height: 36px; transform: rotate(-7deg); }
.brand > span { font-size: 18px; font-weight: 800; letter-spacing: 1px; }
.brand b { font: 900 27px/1 Arial, sans-serif; color: var(--gold); letter-spacing: -.8px; margin-left: 2px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.best-score { text-align: right; padding-right: 14px; }
.best-score span { font-size: 10px; color: var(--muted); margin-right: 8px; }
.best-score b { font: 700 20px Arial, sans-serif; color: var(--gold); }
.icon-button { display: inline-grid; place-items: center; border: 1px solid #ffffff18; border-radius: 10px; width: 32px; height: 32px; flex-shrink: 0; background: #262630; color: #bdb8c2; transition: background .15s, color .15s; font: 700 16px Arial, sans-serif; }
.icon-button:hover { color: var(--gold); background: #33303b; }
.icon-button svg { width: 16px; height: 16px; }
.game-layout { display: grid; grid-template-columns: minmax(0, 448px) minmax(210px, 250px); justify-content: center; gap: 38px; align-items: start; }
.board-column { min-width: 0; }
.level-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.level-name { display: flex; align-items: center; gap: 10px; }
.level-number { display: grid; place-items: center; width: 38px; height: 40px; border: 1px solid #6a5541; border-radius: 10px; color: var(--gold); background: #3b302b; font: 700 17px Arial, sans-serif; }
.eyebrow { display: block; color: var(--muted); font-size: 9px; letter-spacing: 1.4px; }
h1 { margin: 4px 0 0; font-size: 19px; letter-spacing: 1px; line-height: 1.3; }
.journey { display: flex; gap: 6px; align-items: center; }
.journey-stop { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #4c4650; border-radius: 50%; font: 600 10px Arial, sans-serif; color: #777582; }
.journey-stop.current { background: var(--gold); color: #30261e; border-color: var(--gold); box-shadow: 0 0 0 3px #f4cd7b12; }
.journey-stop.done { background: #3b5c4e; color: #a4dabd; border-color: #3b5c4e; }
.journey-stop.boss { border-radius: 6px; }
.journey-stop.current.boss { background: var(--coral); border-color: var(--coral); }
.score-panel { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 9px; margin-bottom: 9px; }
.score-box { min-width: 0; border: 1px solid #ffffff10; background: #24242f; border-radius: 10px; padding: 11px 13px 10px; }
.score-box > span { display: block; font-size: 10px; color: #aaa5b3; letter-spacing: .6px; }
.score-box > strong { display: block; margin-top: 5px; font: 750 29px/1 Arial, sans-serif; }
.score-main { background: #332c2b; border-color: #68513d; }
.score-reading { display: flex; gap: 6px; align-items: baseline; margin-top: 5px; position: relative; }
.score-reading > strong { font: 750 31px/1 Arial, sans-serif; color: var(--gold); letter-spacing: -.6px; }
.score-reading small { color: #b5a38d; font: 12px Arial, sans-serif; white-space: nowrap; }
.score-reading small b { font-weight: 500; }
.score-reading em { position: absolute; right: -4px; bottom: 2px; opacity: 0; color: #ffe7b5; font: 700 15px Arial, sans-serif; white-space: nowrap; pointer-events: none; }
.score-reading em.bump { animation: score-up .8s ease-out forwards; }
.steps-group > strong { color: #f1e4d1; }
.steps-group.low-steps { border-color: #b0624e; background: #3a292a; }
.steps-group.low-steps > strong { color: #ffa78a; }
.total-group > strong { color: #c0b3d4; }
.progress-track { height: 4px; background: #34303a; border-radius: 5px; overflow: hidden; margin-bottom: 13px; }
.progress-track > div { height: 100%; background: linear-gradient(90deg, #d89660, #f3d18a); border-radius: inherit; transition: width .24s ease; }
.board-frame { position: relative; padding: 11px; width: 100%; background: #35313a; border: 1px solid #56505a; border-bottom: 5px solid #15151e; border-radius: 15px; box-shadow: 0 12px 28px #0c0d1440, inset 0 1px 0 #ffffff0c; isolation: isolate; }
#board { width: 100%; height: auto; display: block; aspect-ratio: 1; border-radius: 7px; touch-action: none; outline-offset: 11px; }
.board-frame.invalid { animation: nudge .18s ease-in-out; }
.board-frame.is-hot { border-color: #c57657; }
.start-screen { position: absolute; inset: 11px; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 21px; text-align: center; background: #23222bec; backdrop-filter: blur(5px); }
.start-kicker { font-size: 10px; letter-spacing: 1.7px; color: #b0a4a0; position: relative; }
.start-screen h2 { font-size: 34px; line-height: 1.4; margin: 17px 0 10px; letter-spacing: .5px; font-weight: 850; position: relative; }
.start-screen h2 b { font: 900 43px Arial, sans-serif; color: var(--gold); letter-spacing: -2px; }
.start-screen h2 span { color: var(--coral); }
.start-screen p { font-size: 12px; line-height: 1.85; color: #b1a8af; margin: 0 0 23px; position: relative; }
.start-note { color: #837b86; font-size: 10px; margin-top: 18px; }
.menu-stickers { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.menu-stickers > svg { width: 63px; height: 63px; position: absolute; filter: drop-shadow(0 5px 3px #0004); }
.menu-stickers > svg:first-child { top: 13%; left: 4%; transform: rotate(-19deg); }
.menu-stickers > svg:last-child { bottom: 10%; right: 2%; transform: rotate(20deg); }
.primary-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 52px; min-height: 46px; border: 1px solid #f6cf7c; border-bottom: 4px solid #a86e39; border-radius: 9px; background: #f0c576; color: #38251e; padding: 11px 22px 9px; font-weight: 800; font-size: 14px; box-shadow: 0 4px 14px #0002; transition: transform .15s, background .15s; position: relative; }
.primary-button > span { font: 23px Arial, sans-serif; }
.primary-button:hover { background: #ffe0a0; transform: translateY(-2px); }
.primary-button:active { transform: translateY(2px); }
.feedback-line { height: 36px; display: flex; align-items: center; justify-content: center; text-align: center; color: #ada0a9; font-size: 11px; padding: 2px 1px 0; line-height: 1.5; }
.feedback-line.is-positive { color: #f1d08b; }
.feedback-line b { font-weight: 650; }
.board-controls { display: flex; align-items: center; justify-content: space-between; }
.control-hint { font-size: 10px; color: #7f7787; letter-spacing: .6px; }
.direction-buttons { display: flex; gap: 5px; }
.direction-buttons button { display: grid; place-items: center; width: 32px; height: 28px; padding: 0; border: 1px solid #4c424b; border-bottom: 3px solid #17151e; border-radius: 5px; background: #302b35; color: #b9a8ad; font: 17px Arial, sans-serif; }
.direction-buttons button:hover { background: #4b3c3d; color: var(--gold); }
.direction-buttons button:active { transform: translateY(2px); }
.mobile-hint { display: none; }
.run-sidebar { padding-top: 2px; min-width: 0; }
.relics-heading { display: flex; align-items: flex-end; justify-content: space-between; padding: 0 3px; margin: 0 0 18px; }
.relics-heading .eyebrow { font: 8px Consolas, monospace; letter-spacing: .8px; color: #7d7586; }
.relics-heading h2 { margin: 8px 0 0; font-size: 19px; letter-spacing: 1.2px; }
.relics-heading > span { color: #9b8d9b; font: 12px Arial, sans-serif; padding-bottom: 2px; }
.relic-list { display: flex; flex-direction: column; gap: 10px; }
.relic-empty { display: flex; align-items: center; gap: 13px; position: relative; min-height: 91px; border: 1px dashed #4e4450; border-radius: 11px; padding: 14px; color: #807484; background: #211f2980; }
.empty-icon { display: grid; place-items: center; width: 39px; height: 45px; border: 1px solid #4e414b; border-radius: 7px; font: 24px Georgia, serif; color: #635466; transform: rotate(-9deg); }
.relic-empty strong { font-size: 11px; font-weight: 500; display: block; }
.relic-empty small { font-size: 9px; color: #625867; display: block; margin-top: 5px; }
.slot-number { position: absolute; top: 12px; right: 13px; font: 10px Arial, sans-serif; color: #514653; }
.relic-card { --relic-color: #edbf60; position: relative; width: 100%; min-height: 97px; display: flex; align-items: center; gap: 12px; text-align: left; background: #eee5d1; color: #3c3032; border: 1px solid #f7eedb; border-left: 5px solid var(--relic-color); border-bottom: 4px solid #a99a82; border-radius: 10px; padding: 12px 11px; box-shadow: 0 4px 9px #0002; transition: transform .16s; }
.relic-card:nth-child(2) { transform: rotate(1deg); }
.relic-card:nth-child(3) { transform: rotate(-.6deg); }
.relic-card:hover { transform: translateY(-3px) rotate(0); }
.relic-card.is-ready { box-shadow: 0 0 0 2px var(--relic-color), 0 5px 12px #0003; }
.relic-card.is-triggered { animation: relic-flash .6s ease-out; }
.relic-art { display: block; width: 55px; height: 55px; flex-shrink: 0; filter: drop-shadow(0 3px 1px #47362725); }
.relic-copy { min-width: 0; flex: 1; }
.relic-copy strong { display: block; font-size: 13px; font-weight: 800; letter-spacing: .4px; }
.relic-copy p { font-size: 11px; line-height: 1.65; color: #75635b; margin: 5px 0 0; }
.relic-badge { display: inline-block; font-size: 9px; color: #706451; background: #e0d5bc; border-radius: 4px; padding: 2px 5px; margin-top: 5px; }
.relic-badge.ready { color: #345c4e; background: #c7dfc4; }
.collection-button { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; background: transparent; padding: 15px 4px 12px; font-size: 10px; color: #a4919e; }
.collection-button span:first-child { font-size: 13px; color: var(--gold); margin-right: 5px; }
.collection-button span:last-child { margin-left: auto; color: #8d7988; font-size: 15px; }
.collection-button:hover { color: var(--gold); }
.boss-preview { display: flex; gap: 10px; padding: 12px 13px; background: #26222b; border: 1px solid #493b44; border-radius: 9px; margin-top: 8px; }
.boss-icon { color: #b38778; font-size: 24px; line-height: 1; }
.boss-preview strong { display: block; color: #b39a95; font-size: 10px; }
.boss-preview p { margin: 5px 0 0; color: #7f737f; font-size: 10px; line-height: 1.6; }
.boss-preview.is-active { background: #38272b; border-color: #a36151; }
.boss-preview.is-active strong, .boss-preview.is-active .boss-icon { color: #f5a185; }
.boss-preview.is-active p { color: #c49c96; }
.side-note { margin: 20px 3px 0; font-size: 11px; line-height: 1.9; color: #665d6d; }
.app-footer { display: flex; justify-content: space-between; padding-top: 15px; border-top: 1px solid var(--line); margin-top: 25px; color: #665f70; font-size: 9px; letter-spacing: .3px; }
.game-dialog { width: min(800px, calc(100% - 34px)); max-height: calc(100dvh - 32px); overflow: auto; background: #25212c; border: 1px solid #65505a; color: var(--ink); border-radius: 17px; padding: 0; box-shadow: 0 20px 100px #0007; }
.game-dialog[open] { animation: dialog-in .22s ease-out; }
.game-dialog::backdrop { background: #0e0d16a6; backdrop-filter: blur(7px); }
.dialog-inner { position: relative; padding: 29px; }
.dialog-eyebrow { font: 600 10px Consolas, monospace; letter-spacing: 1.8px; color: #e2b56b; margin-bottom: 12px; }
.game-dialog h2 { font-size: 28px; line-height: 1.4; margin: 0; letter-spacing: .5px; }
.dialog-subtitle { font-size: 12px; color: #aa99a5; margin: 10px 0 25px; line-height: 1.8; }
.draft-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 5px 0; }
.choice-card { --relic-color: #edbf60; display: flex; position: relative; flex-direction: column; text-align: left; align-items: flex-start; background: #f0e6cf; color: #3b2c2e; border: 2px solid #fcf2df; border-bottom: 5px solid #a99478; border-radius: 12px; padding: 18px; min-height: 280px; transition: transform .18s, box-shadow .18s; }
.choice-card:nth-child(1) { transform: rotate(-1.7deg); }
.choice-card:nth-child(3) { transform: rotate(1.7deg); }
.choice-card:hover, .choice-card:focus-visible { transform: translateY(-7px) rotate(0); border-color: var(--relic-color); box-shadow: 0 0 0 3px var(--relic-color), 0 12px 20px #0004; outline: none; }
.choice-top { width: 100%; display: flex; align-items: center; justify-content: space-between; color: #968474; font: 10px Arial, sans-serif; }
.choice-tag { background: #ded3b9; color: #81725e; border-radius: 4px; padding: 3px 6px; font-size: 9px; }
.choice-card .relic-art { width: 82px; height: 82px; margin: 16px 0 12px; align-self: center; transform: rotate(-7deg); }
.choice-card h3 { margin: 5px 0 10px; font-size: 18px; font-weight: 850; letter-spacing: .5px; }
.choice-card p { font-size: 12px; line-height: 1.8; color: #7a665e; margin: 0; }
.choice-arrow { align-self: flex-end; margin-top: auto; padding-top: 12px; font: 23px Arial, sans-serif; color: #a58255; }
.dialog-footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; font-size: 10px; color: #897988; }
kbd { padding: 1px 4px; border: 1px solid #61505b; background: #372d39; border-radius: 3px; color: #b6a0ad; font: 10px Consolas, monospace; }
.result-dialog { width: min(450px, calc(100% - 30px)); text-align: center; }
.result-mark { display: grid; place-items: center; font-size: 38px; color: var(--gold); margin: 0 auto 15px; }
.result-dialog h2 { font-size: 26px; }
.result-score { border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; padding: 20px 0; }
.result-score > span { font-size: 10px; color: #ab96a4; }
.result-score > strong { font: 800 65px/1.2 Arial, sans-serif; color: var(--gold); margin: 7px 0 0; letter-spacing: -2px; }
.result-score > b { font-size: 10px; color: #e2be73; background: #4a362a; border-radius: 15px; padding: 5px 9px; margin-top: 9px; }
.result-stats { display: flex; justify-content: space-around; padding: 15px 0; border-block: 1px solid var(--line); }
.result-stats span { display: block; font-size: 10px; color: #9b889a; }
.result-stats b { display: block; font: 700 17px Arial, sans-serif; margin-top: 7px; }
.result-relics { display: flex; justify-content: center; gap: 12px; padding: 18px 0; }
.result-relics span { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 9px; color: #bba7b0; }
.result-relics .relic-art { width: 42px; height: 42px; }
.result-dialog .primary-button { width: 100%; }
.text-button { display: inline-block; border: 0; padding: 6px; margin-top: 14px; background: none; color: #9c8497; font-size: 11px; }
.text-button:hover { color: var(--gold); }
.info-dialog { width: min(570px, calc(100% - 30px)); }
.dialog-close { position: absolute; top: 19px; right: 19px; font-size: 22px; }
.info-dialog h2 { font-size: 24px; margin-right: 25px; }
.info-content { color: #b7a4af; font-size: 12px; line-height: 1.9; margin-top: 23px; }
.info-content p { margin: 10px 0; }
.info-step { display: flex; gap: 13px; margin: 17px 0; }
.info-step b { color: var(--gold); font: 700 15px Consolas, monospace; padding-top: 3px; }
.info-step strong { color: #e4d3c7; }
.info-step p { margin: 3px 0 0; }
.info-box { background: #342b36; border-radius: 9px; padding: 13px 15px; margin-top: 16px; font-size: 11px; }
.info-box strong { color: var(--gold); }
.info-hero { display: flex; gap: 18px; align-items: center; color: #e3d0bf; font-size: 14px; }
.info-hero .relic-art { width: 79px; height: 79px; }
.collection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.collection-item { background: #302935; border: 1px solid #4d3e4c; padding: 13px; border-radius: 10px; }
.collection-item .relic-art { width: 46px; height: 46px; margin-bottom: 8px; }
.collection-item strong { display: block; color: #eedbc9; font-size: 13px; }
.collection-item p { font-size: 12px; line-height: 1.75; color: #bca5b2; margin-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.noscript { text-align: center; padding: 30px; }
body[data-mode="menu"] .direction-buttons { opacity: .25; pointer-events: none; }
@keyframes score-up { from { opacity: 1; transform: translateY(4px); } to { opacity: 0; transform: translateY(-19px); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(9px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes relic-flash { 0% { box-shadow: 0 0 0 3px var(--relic-color), 0 0 20px #f4cd7b35; transform: translateY(-4px) rotate(0); } 100% { box-shadow: 0 4px 9px #0002; } }
@keyframes nudge { 0%,100% { transform: translateX(0); } 35% { transform: translateX(-3px); } 70% { transform: translateX(3px); } }
@media (min-width: 761px) and (max-height: 860px) {
  .app-shell { padding-top: 16px; padding-bottom: 10px; }
  .masthead { padding-bottom: 15px; margin-bottom: 18px; }
  .game-layout { grid-template-columns: minmax(0, clamp(300px, calc(100dvh - 360px), 448px)) minmax(210px, 250px); gap: 32px; }
  .level-heading { margin-bottom: 12px; }
  .score-box { padding-top: 9px; padding-bottom: 9px; }
  .side-note { display: none; }
  .app-footer { margin-top: 19px; padding-top: 12px; }
  .start-screen h2 { font-size: 30px; margin-top: 13px; }
  .start-screen h2 b { font-size: 37px; }
  .start-screen p { margin-bottom: 18px; }
}
@media (max-width: 760px) {
  .app-shell { width: min(490px, 100%); padding: max(17px, env(safe-area-inset-top)) 20px max(19px, env(safe-area-inset-bottom)); }
  .masthead { padding-bottom: 17px; margin-bottom: 20px; }
  .brand { gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .brand > span { font-size: 15px; }
  .brand b { font-size: 23px; }
  .header-actions { gap: 6px; }
  .best-score { padding-right: 2px; }
  .best-score span { display: block; font-size: 8px; margin: 0 0 3px; }
  .best-score b { font-size: 16px; }
  .icon-button { width: 29px; height: 29px; border-radius: 8px; }
  .game-layout { display: flex; flex-direction: column; gap: 25px; }
  .board-column, .run-sidebar { width: 100%; }
  .level-name { gap: 9px; }
  .level-number { width: 34px; height: 37px; font-size: 15px; }
  .level-name .eyebrow { font-size: 8px; }
  h1 { font-size: 17px; }
  .level-heading { margin-bottom: 14px; }
  .journey { gap: 5px; }
  .journey-stop { width: 20px; height: 20px; font-size: 9px; }
  .score-panel { gap: 7px; }
  .score-box { padding: 10px 11px; }
  .score-box > span { font-size: 9px; }
  .score-box > strong { font-size: 27px; }
  .score-reading > strong { font-size: 29px; }
  .score-reading small { font-size: 11px; }
  .board-frame { padding: 9px; }
  .start-screen { inset: 9px; padding: 16px; }
  .start-kicker { font-size: 9px; letter-spacing: 1px; }
  .start-screen h2 { font-size: 29px; margin-top: 13px; }
  .start-screen h2 b { font-size: 36px; }
  .start-screen p { font-size: 11px; margin-bottom: 18px; }
  .start-note { margin-top: 14px; font-size: 9px; }
  .primary-button { min-height: 43px; padding: 9px 19px 8px; }
  .menu-stickers > svg { width: 47px; height: 47px; }
  .menu-stickers > svg:first-child { top: 13%; left: 2%; }
  .menu-stickers > svg:last-child { bottom: 9%; right: 1%; }
  .feedback-line { height: 37px; font-size: 10px; }
  .desktop-hint { display: none; }
  .mobile-hint { display: inline; }
  .direction-buttons button { width: 33px; height: 30px; }
  .control-hint { font-size: 9px; letter-spacing: 0; }
  .run-sidebar { padding-top: 0; }
  .relics-heading { margin-bottom: 13px; }
  .relics-heading .eyebrow { display: none; }
  .relics-heading h2 { margin: 0; font-size: 17px; }
  .relic-list { flex-direction: row; gap: 8px; }
  .relic-empty { min-width: 0; flex: 1; min-height: 89px; padding: 12px 7px; flex-direction: column; justify-content: center; gap: 9px; text-align: center; }
  .empty-icon { width: 27px; height: 31px; font-size: 17px; }
  .relic-empty strong { font-size: 9px; }
  .relic-empty small, .slot-number { display: none; }
  .relic-card { min-width: 0; flex: 1; min-height: 127px; padding: 10px 6px; flex-direction: column; gap: 5px; text-align: center; border-left-width: 1px; border-top: 4px solid var(--relic-color); }
  .relic-card .relic-art { width: 44px; height: 44px; }
  .relic-copy strong { font-size: 10px; white-space: nowrap; letter-spacing: 0; }
  .relic-copy p { display: none; }
  .relic-badge { font-size: 8px; margin-top: 5px; padding: 2px 4px; }
  .collection-button { padding-block: 13px 8px; }
  .boss-preview { margin-top: 6px; }
  .side-note { display: none; }
  .app-footer { font-size: 8px; margin-top: 22px; }
  .game-dialog { width: calc(100% - 26px); border-radius: 14px; }
  .dialog-inner { padding: 23px 19px; }
  .game-dialog h2 { font-size: 22px; }
  .dialog-subtitle { font-size: 11px; margin-bottom: 19px; }
  .draft-choices { grid-template-columns: 1fr; gap: 12px; padding-block: 2px; }
  .choice-card { min-height: 116px; padding: 16px 15px 16px 90px; border-bottom-width: 4px; }
  .choice-card:nth-child(1), .choice-card:nth-child(3) { transform: rotate(0); }
  .choice-card:hover, .choice-card:focus-visible { transform: translateY(-2px); }
  .choice-card .relic-art { position: absolute; left: 13px; top: 23px; width: 64px; height: 64px; margin: 0; }
  .choice-top { font-size: 9px; }
  .choice-tag { padding: 2px 5px; font-size: 8px; }
  .choice-card h3 { font-size: 16px; margin: 8px 0 6px; }
  .choice-card p { font-size: 11px; line-height: 1.75; }
  .choice-arrow { display: none; }
  .dialog-footer { margin-top: 17px; font-size: 9px; }
  .keyboard-tip { display: none; }
  .result-dialog .dialog-inner { padding: 24px; }
  .collection-grid { gap: 8px; }
  .collection-item { padding: 10px; }
}
@media (max-width: 360px) {
  .app-shell { padding-inline: 13px; }
  .brand img { width: 25px; height: 25px; }
  .brand { gap: 6px; }
  .brand > span { font-size: 13px; }
  .brand b { font-size: 20px; }
  .header-actions { gap: 5px; }
  .icon-button { width: 27px; height: 27px; }
  .start-screen h2 { font-size: 25px; margin-top: 11px; margin-bottom: 7px; }
  .start-screen h2 b { font-size: 30px; }
  .start-screen p { font-size: 10px; margin-bottom: 13px; }
  .start-note { font-size: 8px; margin-top: 10px; }
  .menu-stickers > svg { width: 38px; height: 38px; }
  .score-box { padding-inline: 9px; }
  .score-reading { gap: 4px; }
  .score-reading > strong { font-size: 27px; }
  .score-reading small { font-size: 10px; }
  .choice-card { padding-left: 76px; padding-right: 12px; }
  .choice-card .relic-art { width: 52px; height: 52px; left: 12px; top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
