:root {
  color-scheme: dark;
  --ink: #251b33;
  --bg: #20172c;
  --panel: #31233e;
  --line: #674d73;
  --paper: #fff4e4;
  --faded: #cdbad4;
  --peach: #ffc77c;
  --mint: #a4ffe1;
  --violet: #d9adff;
  font-family: "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
  background: var(--bg);
  color: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; min-height: 100svh; background:radial-gradient(ellipse at 65% -35%,#50315c 0,transparent 60%),radial-gradient(ellipse at -15% 100%,#35224e 0,transparent 61%),#1c1429; }
button { font: inherit; cursor: pointer; }
button:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
button:disabled { cursor: not-allowed; opacity: .47; }
.app { max-width: 1700px; margin: 0 auto; min-height: 100svh; padding: 20px 32px 18px; }
.masthead { display: flex; align-items: center; justify-content: space-between; padding: 0 0 17px; gap: 14px; }
.brand { font-size: 16px; font-weight: 900; display: inline-flex; align-items: center; gap: 12px; letter-spacing: .10em; }
.brand-icon { position: relative; display: inline-block; width: 31px; height: 22px; border-radius: 6px; background:linear-gradient(150deg,#ffe9a8,#ffbd77 57%,#eb755b); transform: rotate(-8deg); box-shadow:inset 0 2px 1px #fff1bd,0 3px 0 #7e3a54,0 5px 11px #160b1b; }
.brand-icon::before { content: ''; position: absolute; border: 2px solid #71394c; width: 9px; height: 9px; border-radius: 50%; top: 4px; left: 9px; background:radial-gradient(circle at 32% 25%,#ebfff1,#87d5de 35%,#5f4e84 67%,#3b2851); }
.brand-icon::after { content: ''; position: absolute; width: 9px; height: 12px; background:linear-gradient(#ffdd9a,#e28662); top: 5px; left: 29px; clip-path: polygon(0 24%, 100% 0, 100% 100%, 0 76%); }
.tools { display: flex; gap: 8px; }
.icon-button,.secondary { border: 1px solid #785782; border-radius: 8px; color: var(--paper); background:linear-gradient(#5d3d69,#382544); padding: 7px 12px; font-size: 12px; font-weight: 800; box-shadow:inset 0 1px 1px #e9bbfa33,0 2px 0 #231634; }
.icon-button:hover,.secondary:hover { background: #533b60; }
.layout { display: grid; grid-template-columns: minmax(320px,.58fr) minmax(0,1fr); min-height: min(690px,calc(100svh - 129px)); border: 1px solid #856089; border-radius: 20px; overflow: hidden; box-shadow: 0 17px 44px #11091bbf,0 2px 0 #b183a62b inset; }
.lobby { padding: 13px clamp(19px,3.2vw,52px) 25px; background: radial-gradient(ellipse at 22% -3%,#6d3b70 0,transparent 48%),radial-gradient(ellipse at 108% 9%,#52305c 0,transparent 38%),linear-gradient(150deg,#37234a,#2b1d3b 70%); border-right: 1px solid #a17b9d; }
.kicker { margin: 0 0 9px; color: var(--mint); font-size: 11px; font-weight: 900; letter-spacing: .17em; }
.kicker span { margin-right: 8px; color: var(--peach); }
h1 { margin: 0 -13px 0; line-height:0; }
h1 img { display:block; width:100%; height:clamp(158px,26vh,245px); object-fit:contain; object-position:center; filter:drop-shadow(0 10px 17px #27132c96); }
.lobby-copy { margin: 7px 0 13px; color: #f2dded; font-size: 13px; font-weight:750; line-height: 1.45; text-align:center; }
.modes { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border: 1px solid #765782; border-radius: 10px; background: #261a35; box-shadow:inset 0 2px 4px #1a1029b0; }
.modes button,.player-picker button { color: #dcc5e6; background: transparent; border: 0; padding: 7px 8px; font-size: 12px; font-weight: 800; border-radius: 5px; }
.modes button[aria-pressed="true"],.player-picker button[aria-pressed="true"] { color: #2a2032; background:linear-gradient(#e8c8ff,#cba1f9); box-shadow:inset 0 1px 0 #fff0ff,0 1px 1px #1d1227; }
.select-heading { min-height: 37px; display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.select-heading h2 { font-size: 12px; margin: 0; color: #f1daef; }
.player-picker { display: flex; gap: 4px; }
.player-picker button { padding: 3px 8px; font-family: ui-monospace, monospace; }
.roster { display: grid; gap: 7px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.fighter-card { min-width: 0; color: var(--paper); padding: 0; text-align: left; overflow: hidden; border: 1px solid #865f94; background:linear-gradient(#523861,#3a284b); border-radius: 9px; position: relative; transition: border-color .12s, transform .12s; box-shadow:0 3px 0 #20152d,inset 0 0 0 1px #ffffff0a; }
.fighter-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.fighter-card[aria-pressed="true"] { border-color: var(--accent); box-shadow:0 2px 0 color-mix(in srgb,var(--accent) 55%,#271d39),inset 0 0 0 1px var(--accent),0 0 14px color-mix(in srgb,var(--accent) 26%,transparent); }
.fighter-art { display: grid; place-items: end center; height: clamp(41px,6.8vh,65px); overflow: hidden; background: radial-gradient(ellipse at 45% 30%,color-mix(in srgb,var(--accent) 59%,#2b2140),var(--shade) 87%); }
.fighter-art img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.fighter-label { display: block; padding: 5px 6px; line-height: 1.12; font-size: clamp(10px,1.06vw,13px); font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fighter-chip { position: absolute; top: 4px; left: 4px; padding: 2px 4px; background: var(--accent); color: #221429; border-radius: 3px; font: 800 9px/1 ui-monospace,monospace; }
.start-button { border: 1px solid #ffdea2; border-radius: 10px; width: 100%; padding: 11px 14px; text-align: left; font-weight: 1000; color: #382134; background: linear-gradient(160deg,#ffe6a6 2%,#ffc16e 64%,#ffad6c); box-shadow: inset 0 2px 0 #fff2c1,inset 0 -2px 0 #f09760,0 5px 0 #a35559,0 10px 13px #21132d80; text-shadow:0 1px #fff0c1; }
.start-button:hover { background:linear-gradient(160deg,#fff1bb,#ffd279 64%,#ffb879); }
.start-button:active { transform: translateY(2px); box-shadow:inset 0 2px 0 #fff2c1,0 2px 0 #a35559; }
.lobby > .start-button { margin-top: 13px; display: flex; justify-content: space-between; align-items: center; }
.ability-card { display:flex; align-items:center; gap:8px; margin-top:10px; color:#ead6eb; font-size:11px; min-height:26px; line-height:1.35; }
.ability-card strong { color:var(--mint); white-space:nowrap; }
.start-button span { font-size: 19px; }
.arena { position: relative; overflow: hidden; isolation: isolate; min-height: 405px; background: #3c2757 url('assets/studio.webp') center center/cover; }
.scene { display: block; position: absolute; width: 100%; height: 100%; inset: 0; }
.viewmarks { position: absolute; inset: 15px; pointer-events: none; opacity: .72; }
.viewmarks i { position: absolute; width: 23px; height: 23px; border: solid #d9b5ec; border-width: 2px 0 0 2px; border-radius: 3px 0 0 0; }
.viewmarks i:nth-child(2) { right: 0; transform: rotate(90deg); }
.viewmarks i:nth-child(3) { right: 0; bottom: 0; transform: rotate(180deg); }
.viewmarks i:nth-child(4) { bottom: 0; transform: rotate(270deg); }
.stage-badge { display: flex; align-items: center; gap: 7px; position: absolute; top: 26px; left: 28px; color: #f5dff5; background: #231938db; border: 1px solid #866295; padding: 6px 9px; border-radius: 6px; font-size: 11px; font-weight: 900; }
.stage-badge i,.feed-label i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: #ff6588; box-shadow: 0 0 8px #ff65889c; }
.selected-credit { position: absolute; bottom: 32px; left: 37px; display: flex; flex-direction: column; gap: 1px; pointer-events: none; text-shadow: 0 2px 17px #100b25; }
.selected-credit span { font-size: clamp(25px,3.8vw,55px); font-weight: 1000; line-height: 1.06; color:#fff8e3; -webkit-text-stroke:1px #c18aaa; text-shadow:0 1px #945576,0 2px #6f426a,0 4px #3b234e,0 8px 12px #170d28b8; }
.selected-credit small { color: var(--accent,var(--peach)); font-size: 13px; font-weight: 900; letter-spacing: .14em; }
.replay-motion { pointer-events:auto; align-self:flex-start; margin-top:7px; padding:5px 9px; background:#2c203ce8; }
.featured-voice { max-width:min(430px,55vw); margin:8px 0 0; padding:6px 10px; background:#281c37e8; border-left:2px solid var(--accent); border-radius:5px; color:#fff4f0; font-size:clamp(11px,1.13vw,15px); line-height:1.5; }
.controls { display: flex; gap: 7px 20px; justify-content: space-between; align-items: center; flex-wrap: wrap; font-size: 11px; color: #d9c4df; padding: 12px 3px 0; }
.controls p { margin: 0; }
.credits-link { color: inherit; text-underline-offset: 3px; }
.controls strong,.action-status strong { color: var(--mint); margin-right: 3px; font-family: ui-monospace,monospace; font-size: 11px; }
kbd { display: inline-block; font: 750 11px/1.1 ui-monospace,monospace; color: #ffeefd; margin-right: 3px; padding: 4px 5px; background: #392b47; border-radius: 4px; border: 1px solid #6f527d; }
.playing .layout { display: block; }
.playing .arena { height: min(755px,calc(100svh - 122px)); min-height: 445px; }
.playing .stage-badge { display: none; }
.hud { position: absolute; inset: 0; pointer-events: none; }
.scores { position: absolute; z-index: 2; top: 18px; left: 21px; display: grid; grid-template-columns: repeat(2,minmax(92px,1fr)); gap: 5px; width: min(235px,27%); }
.race-lead { position:absolute; z-index:2; top:114px; left:21px; margin:0; padding:5px 8px; background:#2a1c35ed; border:1px solid #a97873; border-radius:6px; color:#ffdb9f; font-size:11px; font-weight:800; }
.score-item { display: grid; min-width: 0; grid-template-columns: 6px minmax(0,1fr) auto; align-items: center; gap: 5px; border: 1px solid #625171; border-radius: 6px; color: #fff4e8; background: #211730eb; font-size: 11px; font-weight: 780; padding: 5px 6px; box-shadow: 0 2px 8px #24183143; }
.score-item[data-human] { border-color: var(--accent); }
.score-item > i { width: 6px; height: 14px; border-radius: 3px; background: var(--accent); }
.score-item > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.score-item > b { color: #fff1cd; font: 900 12px/1 ui-monospace,monospace; }
.clock { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); min-width: 122px; display: grid; justify-items: center; gap: 3px; padding: 7px 12px 9px; border: 1px solid #b57ea1; border-radius: 13px; background:linear-gradient(#593659f7,#2a1a3af5); color: #fcecc7; box-shadow:inset 0 2px #f3b5d445,0 4px 0 #271734,0 9px 20px #1b0f2da6; }
.clock span { color: var(--mint); font-size: 11px; font-weight: 850; letter-spacing: .09em; }
.clock strong { font: 1000 clamp(26px,4.3vw,47px)/1 "Arial Black",ui-monospace,monospace; font-variant-numeric: tabular-nums; text-shadow:0 1px #813957,0 2px #813957,0 3px #522442,0 5px 12px #26112d; }
.clock.scouting strong { font:900 clamp(18px,2.4vw,31px)/1.17 "Microsoft YaHei UI",sans-serif; }
.clock.urgent strong { color: #ffd294; }
.clock.last-beat { border-color:#ff756c; box-shadow:0 2px 0 #391730,0 0 26px #ff6156a1; }
.clock.last-beat strong { color:#ff977d; }
.clock-track { width: 100%; height: 3px; background: #604170; border-radius: 2px; overflow: hidden; }
.clock-track i { display: block; width: 100%; height: 100%; background: var(--mint); transform-origin: left; }
.broadcast { position: absolute; z-index: 2; right: 19px; bottom: 24px; width: clamp(152px,21vw,302px); margin: 0; border: 1px solid #a274a7; background: #2e203e; border-radius: 8px; overflow: hidden; box-shadow: 0 7px 22px #1b0e29af; }
.feed-label { display: flex; justify-content: space-between; align-items: center; color: #ffe5ee; padding: 6px 8px; gap: 4px; font-size: 10px; font-weight: 850; }
.feed-label i { background: #ff719a; width: 6px; height: 6px; margin-right: 2px; }
.feed-label > span:last-child { color: #ff9bb9; font-family: ui-monospace,monospace; }
.feed-screen { position: relative; background: #402b62; aspect-ratio: 3/2; }
.feed-screen canvas { display: block; width: 100%; height: 100%; }
.feed-marks { position: absolute; inset: 9%; border: 1px solid #d6fff28b; border-radius: 3px; }
.feed-marks::before,.feed-marks::after { position: absolute; content: ''; background: #d6fff2b7; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.feed-marks::before { width: 12px; height: 1px; }
.feed-marks::after { height: 12px; width: 1px; }
.broadcast figcaption { padding: 5px 8px; color: #e1cce9; font-size: 10px; }
.gamecall { text-align: center; position: absolute; z-index: 3; top: 30%; left: 50%; transform: translate(-50%,-8%) rotate(-2deg); max-width: 62%; color: #ffe7b1; font-weight: 1000; font-size: clamp(29px,5.5vw,82px); line-height: 1.09; white-space: nowrap; -webkit-text-stroke:1px #f49b8e; paint-order:stroke fill; text-shadow:0 2px #9c465c,0 4px #844060,0 6px #6a345b,0 9px #422450,0 12px 23px #1b0a2b; }
.gamecall:not(:empty) { animation: call-in .25s both; }
.entering .gamecall { top:76%; font-size:clamp(24px,3.1vw,44px); }
.entering .broadcast,.entering .camera-angle,.entering .action-status { visibility:hidden; }
.gamecall small { display: block; margin-top: 12px; color: var(--mint); font-size: 13px; -webkit-text-stroke:0; text-shadow:0 2px 7px #1c132a; }
@keyframes call-in { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
.player-tags { position: absolute; inset: 0; }
.player-tag { position: absolute; top: 0; left: 0; font-size: 11px; font-weight: 900; padding: 3px 6px; color: #291932; background: var(--accent); border: 1px solid #fff3eb; border-radius: 5px; transform: translate(-50%,-50%); box-shadow: 0 2px 7px #1a0e26a0; white-space: nowrap; }
.player-tag::after { content: ''; position: absolute; width: 5px; height: 5px; background: var(--accent); left: calc(50% - 3px); bottom: -3px; transform: rotate(45deg); }
.action-status { position: absolute; bottom: 24px; left: 19px; display: grid; gap: 4px; }
.action-status > div { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: #e6d5e9; padding: 5px 7px; background: #241832e4; border: 1px solid #654872; border-radius: 5px; font-size: 10px; }
.action-status b { color: #ffdeab; }
.action-status .ready { color:#1d2731; background:#9dffdc; padding:3px 5px; border-radius:4px; font-weight:850; }
.action-status .ready b { color:#302136; }
.camera-angle { position:absolute; z-index:1; transform:translate(-50%,-50%); color:#b6ffeb; background:#231731e9; border:1px solid #80dec7; padding:4px 7px; border-radius:5px; font:850 12px/1 ui-monospace,monospace; box-shadow:0 2px 10px #170d25bd; }
.camera-angle.official { border-color:#ffc38f;color:#ffd7a7; }
.skill-call { position:absolute; z-index:4; top:23%; left:50%; transform:translateX(-50%); min-width:145px; padding:6px 12px; text-align:center; border-radius:24px; border:1px solid var(--notice,var(--mint)); color:var(--notice,var(--mint)); background:#281b37ed; font-size:13px; font-weight:900; white-space:nowrap; box-shadow:0 4px 19px #180e2bba; animation:call-in .25s both; }
.combat-labels { position:absolute; inset:0; z-index:4; pointer-events:none; overflow:hidden; }
.combat-label { position:absolute; transform:translate(-50%,-50%) rotate(-6deg); color:var(--impact); font-size:clamp(15px,2.15vw,29px); font-weight:1000; font-style:italic; line-height:1; white-space:nowrap; paint-order:stroke fill; -webkit-text-stroke:4px #28162f; text-shadow:0 4px 6px #190b23af; }
.flash { position: absolute; inset: 0; z-index: 6; pointer-events: none; background: #fff8de; opacity: 0; }
.flash.fired { animation: shutter .53s ease-out both; }
.photo-pop { position:absolute;z-index:5;top:51%;left:50%;width:min(59%,665px);margin:0;transform:translate(-50%,-50%) rotate(-2deg);background:#fff0db;border-radius:12px;border:2px solid #ffe9bd;padding:9px 9px 7px;box-shadow:0 15px 36px #21102cc9;animation:photo-in .25s both;color:#33233c; }
.photo-pop img { width:100%;display:block;aspect-ratio:3/2;object-fit:cover;border-radius:5px; }
.photo-pop figcaption { font-size:clamp(9px,1.3vw,13px);text-align:center;margin-top:6px;font-weight:900; }
.photo-pop-label { position:absolute;left:-4%;top:-11%;font-weight:1000;font-size:clamp(24px,4.6vw,64px);color:#ffdb84;transform:rotate(-8deg);-webkit-text-stroke:1px #f78673;text-shadow:0 3px #be5f6a,0 6px #7f3a64,0 10px 14px #35183d; }
@keyframes photo-in { from { opacity:0;scale:.87; } to { opacity:1;scale:1; } }
@keyframes shutter { 0% { opacity: .97; } 100% { opacity: 0; } }
.overlay { position: absolute; z-index: 7; inset: 0; display: grid; place-items: center; overflow: auto; padding: 14px; background: #22152ccb; backdrop-filter: blur(5px); }
.dialog { border: 1px solid #915e91; border-radius: 12px; background: #392745; color: var(--paper); padding: clamp(12px,2.6vw,27px); box-shadow: 0 9px 36px #170d22ad; }
.dialog h2 { margin: 0; font-size: clamp(25px,4.4vw,53px); line-height: 1.05; }
.pause-dialog { width: min(340px,100%); display: grid; gap: 12px; }
.result-dialog { width: min(790px,100%); display: grid; grid-template-columns: 1fr .92fr; align-items: center; gap: clamp(10px,2vw,25px); }
.result-summary > p:not(.kicker) { font-size: 12px; color: #dfcbe5; margin: 6px 0 11px; }
.rank-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.rank-list li { display: grid; grid-template-columns: 22px minmax(0,1fr) auto; align-items: center; font-size: 12px; background: #2d203a; border: 1px solid #694e77; padding: 4px 7px; border-radius: 5px; }
.rank-list li:first-child { border-color: var(--peach); }
.rank-list li b { color: var(--accent); font: 850 12px/1.2 ui-monospace,monospace; }
.rank-list li strong { color: #ffdeab; }
.rank-list li span { min-width:0; overflow-wrap:anywhere; }
.player-names { display:flex; gap:8px; margin-top:10px; }
.player-names label { display:flex; align-items:center; gap:7px; flex:1; min-width:0; color:#f4def2; font-size:12px; font-weight:800; }
.player-names label[hidden] { display:none; }
.player-names span { flex:none; }
.player-names input { width:100%; min-width:0; padding:6px 9px; border:1px solid #a17b9d; border-radius:7px; background:#291c36; color:#fff1fa; font:inherit; }
.player-names input:focus { outline:2px solid var(--mint); outline-offset:1px; }
.leaderboard-dialog { color:#fff2fb; width:min(440px,calc(100% - 32px)); max-height:calc(100% - 40px); padding:20px; border:1px solid #c891bc; border-radius:15px; background:linear-gradient(155deg,#473050,#2c1e3a); box-shadow:0 18px 80px #14081cbd; }
.leaderboard-dialog::backdrop { background:#1b1124bf; backdrop-filter:blur(5px); }
.leaderboard-header { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.leaderboard-header h2 { margin:0; font-size:24px; }
.leaderboard-dialog p { margin:10px 0; font-size:13px; color:#ecd3e7; }
.leaderboard-dialog li { --accent:var(--mint); padding:6px 8px; }
.result-actions { display: grid; grid-template-columns: minmax(0,1.4fr) repeat(2,minmax(56px,1fr)); gap: 7px; margin-top: 11px; }
.result-actions .secondary { padding-inline:5px; }
.result-actions .start-button { padding: 7px 10px; font-size: 13px; }
.best-shot { margin: 0; padding: 6px; background: #ffe6c7; color: #36223b; border-radius: 7px; rotate: 3deg; box-shadow: 0 5px 18px #170b23aa; }
.best-shot img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 3px; }
.best-shot figcaption { padding: 6px 2px 2px; font-size: 11px; font-weight: 850; }
.error { position: absolute; z-index: 9; inset: 10px; display: grid; place-items: center; text-align: center; background: #30223f; }
.loading { position:absolute;z-index:4;inset:0;display:grid;place-items:center;color:#ffe4b8;font-size:16px;font-weight:850;letter-spacing:.13em;background:radial-gradient(ellipse at center,#3a2447aa,#22132b92);text-shadow:0 3px 10px #120915; }
.touch-controls { pointer-events: auto; position: absolute; z-index: 4; bottom: 11px; left: 11px; right: 11px; display: flex; align-items: end; justify-content: space-between; }
.touch-controls button { color: #fff9ef; user-select: none; touch-action: none; background: #36244fbc; border: 1px solid #ba99d3; border-radius: 6px; min-width: 42px; min-height: 39px; font-weight: 900; font-size: 13px; }
.touch-controls button:active { color: #251a33; background: var(--mint); }
.dpad { display: grid; grid-template-columns: repeat(3,42px); grid-template-rows: repeat(2,39px); gap: 2px; }
.dpad button:first-child { grid-column: 2; }
.dpad button:nth-child(2) { grid-column: 1; grid-row: 2; }
.dpad button:nth-child(3) { grid-column: 2; grid-row: 2; }
.dpad button:nth-child(4) { grid-column: 3; grid-row: 2; }
.touch-actions { display: flex; gap: 5px; }
.touching .broadcast { bottom: 71px; }
.touching .action-status { display: none; }
@media (max-width: 950px) {
  .app { padding: 16px 18px 14px; }
  .lobby { padding: 19px 18px; }
  .scores { width: 185px; }
}
@media (max-width: 680px) {
  .app { padding: 11px 9px; }
  .layout { display: flex; flex-direction: column-reverse; border-radius: 11px; }
  .lobby { border-right: 0; padding: 13px; }
  h1 img { height:150px; }
  .lobby-copy { margin: 9px 0 11px; }
  .arena { min-height: 290px; height: 36svh; }
  .selected-credit { bottom: 27px; left: 28px; }
  .selected-credit span { font-size: 27px; }
  .stage-badge { top: 23px; left: 23px; }
  .playing .arena { height: calc(100svh - 104px); min-height: 400px; }
  .scores { top: 15px; left: 12px; width: 102px; grid-template-columns: 1fr; gap: 2px; }
  .race-lead { top:151px; left:12px; padding:3px 5px; font-size:9px; }
  .score-item { padding: 3px 4px; font-size: 9px; }
  .score-item > i { height: 9px; }
  .clock { top: 14px; min-width: 83px; }
  .clock strong { font-size: 25px; }
  .broadcast { right: 12px; width: 126px; }
  .photo-pop { width:79%; }
  .action-status { bottom: 15px; left: 12px; }
  .controls { padding: 9px 2px; font-size: 10px; }
  .result-dialog { grid-template-columns: 1fr; max-width: 358px; }
  .best-shot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; }
  .gamecall,.flash.fired { animation-duration: .12s; }
}
