:root{color-scheme:dark;--bg:#090f17;--surface:#111a26;--raised:#1a2432;--line:#2d3745;--text:#e7e8df;--muted:#8e9aa9;--gold:#d7bd78;--purple:#b69beb;--green:#b3d977;--blue:#7acbe4;--red:#e69787;font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 48% 0,#17202b 0,var(--bg) 58%);color:var(--text);font-size:14px;line-height:1.5}button,a{ -webkit-tap-highlight-color:transparent}button{font:inherit;color:var(--text);background:var(--raised);border:1px solid var(--line);border-radius:7px;padding:10px 15px;cursor:pointer;transition:background .15s,border-color .15s,transform .1s}button:hover{background:#253142;border-color:#576274}button:active{transform:translateY(1px)}button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}button:disabled{opacity:.45;cursor:default;transform:none}.ghost{background:#141d28;border-color:transparent}.primary{background:#d8bf7d;color:#1b1b16;border-color:#e9d49d;font-weight:750;padding:13px 27px}.primary:hover{background:#e8d39d;border-color:#f9e8ba}[hidden]{display:none!important}#app{max-width:1190px;margin:auto;padding:0 34px 24px}.site-header{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.brand{color:var(--text);text-decoration:none;font-size:20px;letter-spacing:.03em;font-weight:800;display:flex;align-items:center;gap:12px}.brand-mark{color:var(--gold);font-size:32px;font-weight:400}.header-actions{display:flex;gap:5px;font-size:12px}.eyebrow{color:var(--gold);font-size:10px;letter-spacing:.14em;font-weight:750}h1{font-size:27px;line-height:1.25;margin:8px 0 11px;letter-spacing:.015em}h2{font-size:16px;margin:0}p{color:#aab4c0;margin:0;line-height:1.8}.section-heading{display:flex;justify-content:space-between;gap:28px;align-items:center;margin:32px 0 26px}.section-heading p{font-size:12px;max-width:640px}.mode-switch{display:flex;gap:7px;white-space:nowrap}.mode-switch button{font-size:12px}.mode-switch button.active{background:#3b3528;border-color:var(--gold);color:#f0dca3;box-shadow:inset 0 0 0 1px #d7bd7833}.team-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.team-card{position:relative;text-align:left;background:linear-gradient(145deg,#1c2838,#151e2a);border:1px solid #3b4657;padding:14px 15px 16px;min-height:207px;overflow:hidden}.team-card.selected{border-color:var(--member-color);box-shadow:inset 0 0 0 1px var(--member-color)}.team-card.controlled:after{content:'你控制';position:absolute;right:13px;top:14px;font-size:10px;color:var(--member-color)}.team-card:not(.controlled):after{content:'AI 队友';position:absolute;right:13px;top:14px;font-size:10px;color:var(--member-color)}.team-card.single-muted{opacity:.35}.team-card small{color:#a5afbb;font-size:9px;letter-spacing:.02em}.team-card img{display:block;height:94px;width:96px;object-fit:contain;margin:16px auto 12px;filter:drop-shadow(0 8px 12px #0006)}.team-card strong{display:block;color:var(--member-color);font-size:15px;margin-bottom:4px}.team-card .card-detail{font-size:10px;color:#aab5c1;display:block}.team-card .control-choice{display:block;position:relative;z-index:2;color:#d8c99d;font-size:10px;margin-top:6px}.selection-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:25px 0 12px}.selection-heading span{font-size:10px;color:var(--muted)}.hat-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.hat-card{display:flex;align-items:center;gap:12px;position:relative;text-align:left;min-height:106px;background:linear-gradient(140deg,#202735,#141d28);padding:15px 16px}.hat-card.selected{border-color:var(--gold);background:linear-gradient(130deg,#34332e,#252935)}.hat-card .selection-icon{position:absolute;right:12px;top:9px;color:var(--gold)}.hat-card img{width:48px;height:62px;object-fit:contain}.hat-card small{display:block;color:var(--gold);font-size:10px}.hat-card strong{display:block;font-size:14px;margin:2px 0 4px}.hat-card p{font-size:10px;line-height:1.65;color:#b5becb}.level-heading{margin-top:24px}.level-choices{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.level-choice{text-align:left;padding:10px 13px;background:#111b28}.level-choice.active{border-color:var(--gold);color:var(--gold)}.level-choice small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.lobby-footer{border-top:1px solid var(--line);padding-top:20px;margin-top:20px;display:flex;align-items:center;justify-content:space-between;gap:20px}.lobby-footer p{font-size:11px;max-width:650px}.play-heading{display:flex;justify-content:space-between;align-items:center;margin:18px 0 14px}.play-heading h1{font-size:24px;margin:4px 0}.play-heading p{font-size:10px}.run-stats{display:flex;gap:25px;align-items:center}.run-stats small{display:block;color:var(--muted);font-size:9px}.run-stats strong{font-size:24px;font-variant-numeric:tabular-nums;letter-spacing:-.02em}.run-stats button{font-size:11px}.team-status{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:10px}.status-chip{display:flex;align-items:center;gap:6px;justify-content:space-between;background:#1b2432;border:1px solid #2b3544;padding:7px 9px;font-size:10px;color:var(--member-color);border-radius:5px}.status-chip small{color:#9ba6b3;font-size:9px;white-space:nowrap}.status-chip.out{opacity:.4}.status-chip i{width:5px;height:5px;border-radius:50%;background:var(--member-color);flex:none}.status-chip b{margin-right:auto;font-size:10px}#viewport{position:relative;line-height:0;border:1px solid #2b3544;border-radius:5px;overflow:hidden;background:#080e18;max-width:1050px;margin:auto}canvas{display:block;width:100%;height:auto}#toast{position:absolute;top:15px;left:50%;transform:translateX(-50%);line-height:1.5;background:#101923eb;color:#ede2bd;border:1px solid #5b513b;border-radius:20px;font-size:11px;padding:7px 17px;max-width:90%;text-align:center;pointer-events:none;opacity:0;transition:opacity .15s}#pauseOverlay{position:absolute;inset:0;background:#080e17d9;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;line-height:1.5;backdrop-filter:blur(3px)}.play-console{display:grid;grid-template-columns:1fr 1.1fr 1fr;gap:15px;align-items:center;margin-top:12px}.world-status b{display:block;font-size:11px}.world-status span{display:block;color:var(--muted);font-size:10px;margin-top:3px}.interaction button{display:flex;gap:10px;align-items:center;width:100%;text-align:left;padding:9px 12px}.interaction button.ready{border-color:var(--gold);color:#efe2be}.interaction span{font-size:11px}kbd{font:inherit;display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:22px;border:1px solid #6b6c67;border-radius:4px;font-size:10px;color:#e0d5b1}.ability-actions{display:flex;gap:6px;justify-content:flex-end}.ability-actions button{font-size:10px;padding:8px 10px;display:flex;align-items:center;gap:7px;white-space:nowrap}#searchProgress{height:3px;background:#202d3b;margin-top:4px;border-radius:5px;overflow:hidden}#searchProgress i{display:block;width:0;height:100%;background:var(--gold)}.play-footer{display:flex;justify-content:space-between;align-items:center;color:#67778a;font-size:9px;margin-top:12px}.fragment-tray{display:flex;gap:5px}.fragment-tray img{width:24px;height:24px;object-fit:contain;filter:grayscale(1);opacity:.2}.fragment-tray img.found{filter:none;opacity:1}.result-panel{max-width:720px;margin:100px auto;background:#16202e;border:1px solid #3a4350;border-radius:10px;padding:40px}.result-panel h1{font-size:34px}.result-panel p{font-size:14px}.result-actions{display:flex;gap:10px;margin-top:28px}.touch-pad{display:none}dialog{max-width:570px;background:#17212f;color:var(--text);border:1px solid #6e634c;border-radius:10px;padding:30px;box-shadow:0 30px 90px #0009}dialog::backdrop{background:#050a12bb;backdrop-filter:blur(4px)}dialog h2{font-size:22px;margin:10px 0 20px}dialog p{font-size:13px;margin:12px 0}.dialog-close{position:absolute;right:10px;top:8px;background:none;border:0;font-size:25px;padding:2px 10px}
@media(min-height:950px){#viewport{max-width:1120px}}@media(max-width:900px){#app{padding:0 18px 22px}.section-heading{display:block}.mode-switch{margin-top:18px}.team-card{padding:12px;min-height:185px}.team-card img{height:80px}.team-card.controlled:after,.team-card:not(.controlled):after{top:29px;left:12px;right:auto}.team-card img{margin-top:25px}.hat-card{padding:10px;gap:5px}.hat-card img{width:37px}.play-console{grid-template-columns:1fr 1fr}.world-status{grid-column:1/-1;display:flex;gap:15px}.world-status span{margin:0}.play-footer>span{max-width:65%}.run-stats{gap:15px}}@media(max-width:600px){.site-header{height:62px;margin-bottom:15px}.brand{font-size:16px}.brand-mark{font-size:26px}.header-actions button{font-size:10px;padding:7px}h1{font-size:23px}.team-cards{grid-template-columns:repeat(2,1fr);gap:8px}.team-card{min-height:175px}.team-card.controlled:after,.team-card:not(.controlled):after{left:auto;right:12px;top:13px}.team-card img{margin-top:12px;height:77px}.hat-choices{grid-template-columns:1fr}.hat-card{min-height:77px;gap:12px;padding:10px 15px}.hat-card img{height:55px;width:43px}.selection-heading{align-items:start}.selection-heading span{max-width:45%;text-align:right}.level-choices{grid-template-columns:repeat(2,1fr)}.lobby-footer{align-items:stretch;flex-direction:column}.lobby-footer .primary{width:100%}.play-heading{gap:8px}.play-heading h1{font-size:17px}.run-stats{gap:10px}.run-stats strong{font-size:20px}.run-stats button{padding:8px}.team-status{grid-template-columns:repeat(2,1fr)}.play-console{gap:8px}.world-status{font-size:9px;display:block}.ability-actions button{padding:8px 6px}.ability-actions kbd{display:none}.interaction span{font-size:10px}.play-footer>span{font-size:8px}.result-panel{padding:25px;margin-top:50px}.result-actions{flex-wrap:wrap}}@media(pointer:coarse){.touch-pad{display:flex;flex-direction:column;align-items:center;gap:4px;margin-top:12px;touch-action:none}.touch-pad>div{display:flex;gap:4px}.touch-pad button{width:65px;height:45px;font-size:22px;touch-action:none}.play-console button{touch-action:none}.play-footer>span{display:none}}@media(prefers-reduced-motion:reduce){button,#toast{transition:none}}
@media(min-width:901px){#viewport{max-width:min(1050px,calc((100dvh - 330px)*1.5))}.site-header{margin-bottom:20px}.play-heading{margin-top:10px}}
.campaign-heading{margin:30px 0 24px}.campaign-heading h1{font-size:36px;letter-spacing:.02em}.campaign-heading p{font-size:12px}.campaign-heading>span:not(.eyebrow){display:inline-block;color:var(--gold);font-size:11px;margin:18px 12px 0 0}.campaign-heading button{font-size:11px;padding:6px 12px}.chapter-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.chapter-card{text-align:left;padding:0 0 17px;overflow:hidden;position:relative;background:#141e2a;border-color:#394453}.chapter-card.selected{border-color:var(--gold);box-shadow:inset 0 -2px var(--gold)}.chapter-card img{width:100%;height:150px;object-fit:cover;display:block;filter:brightness(.7)}.chapter-card.selected img{filter:brightness(.95)}.chapter-card:disabled img{filter:grayscale(.8) brightness(.4)}.chapter-card strong,.chapter-card small{display:block;margin:8px 16px 0}.chapter-card strong{font-size:18px}.chapter-card small{font-size:10px;color:var(--muted)}.chapter-number{position:absolute;top:12px;left:13px;color:#ead8ab;font-size:10px;letter-spacing:.12em;text-shadow:0 1px 4px #000}.chapter-pieces{display:flex;gap:5px;margin:12px 16px 0}.chapter-pieces i{width:22px;height:4px;border-radius:2px;background:#36404b}.chapter-pieces i.lit{background:var(--gold)}.quest-status{font-size:11px;color:#aeaa96;margin:9px 0}.route-pieces{width:min(100%,380px);aspect-ratio:1.5;display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:20px auto}.puzzle-piece{position:relative;background-size:200% 200%;background-position:var(--tile-x) var(--tile-y);filter:grayscale(1) brightness(.1);border:1px solid #53606d;border-radius:4px}.puzzle-piece.revealed{filter:none}.puzzle-piece span{position:absolute;right:8px;bottom:5px;color:#fff7d0;text-shadow:0 1px 3px #000}.new-piece{animation:assemble .8s ease-out}#routeTitle{margin-top:25px;color:var(--gold);font-size:15px}@keyframes assemble{from{opacity:0;transform:translate(40px,-35px) rotate(12deg)}to{opacity:1;transform:none}}#introDialog{width:min(95vw,620px);max-width:620px;padding:28px}.intro-top{display:flex;justify-content:space-between;align-items:center}#introCounter{font-size:12px;color:var(--muted)}#introStage{height:230px;background:radial-gradient(ellipse,#554a3b66,#16202e 65%);display:grid;place-items:center;position:relative;margin:16px 0;border:1px solid var(--line);border-radius:8px;overflow:hidden}#introStage.bull-speaking{background:radial-gradient(ellipse,#70433866,#16202e 65%)}#introActor{height:155px;max-width:140px;object-fit:contain;z-index:1;filter:drop-shadow(0 12px 8px #0007)}.intro-rings{width:130px;height:55px;border:2px solid #bba67e66;border-radius:50%;position:absolute;bottom:25px;box-shadow:0 0 0 18px #bba67e0a,0 0 0 35px #bba67e05}#introSpeaker{color:var(--gold);margin:10px 0}#introLine{min-height:82px;line-height:1.9;font-size:15px;color:var(--text)}.intro-buttons{display:flex;justify-content:space-between;gap:6px;margin:22px 0 16px}.intro-buttons button{font-size:12px;padding:10px 14px}#introDialog>small{color:var(--muted);font-size:10px}#introActor.wave{animation:wave 1s ease-in-out infinite}#introActor.hop{animation:hop .7s ease-in-out infinite}#introActor.walk{animation:walk .5s ease-in-out infinite}#introActor.listen{animation:listen 1.5s ease-in-out infinite}@keyframes wave{50%{transform:rotate(6deg) translateY(-4px)}}@keyframes hop{50%{transform:translateY(-16px)}}@keyframes walk{25%{transform:translateX(8px) rotate(3deg)}75%{transform:translateX(-8px) rotate(-3deg)}}@keyframes listen{50%{transform:rotate(-9deg)}}@media(max-width:600px){.campaign-heading h1{font-size:27px}.chapter-choices{gap:6px}.chapter-card img{height:85px}.chapter-card strong{font-size:13px;margin:8px 9px}.chapter-card small{font-size:9px;margin:6px 9px}.chapter-pieces{margin:9px;gap:3px}.chapter-pieces i{width:15px}.chapter-number{font-size:8px;left:7px}.intro-buttons{flex-wrap:wrap}#introStage{height:185px}#introActor{height:130px}.result-panel{margin:35px auto}}@media(prefers-reduced-motion:reduce){#introActor,.new-piece{animation:none!important}}

.local-fragment{width:24px;height:24px;display:block;border:1px solid #9e8c63;background-size:300% 200%;filter:grayscale(1);opacity:.2;border-radius:3px}.local-fragment.found{filter:none;opacity:1}.run-stats strong{white-space:nowrap}.run-stats button{white-space:nowrap}@media(max-width:600px){.team-status{grid-template-columns:repeat(2,minmax(0,1fr))!important}.status-chip{min-width:0}.status-chip b{white-space:nowrap;font-size:9px}.status-chip small{font-size:8px}.status-chip{gap:4px;padding:6px}.play-heading .eyebrow{font-size:8px;letter-spacing:.05em}.run-stats{gap:8px}.run-stats strong{font-size:18px}.run-stats small{font-size:8px}.play-heading h1{font-size:15px}}
/* Transparent mobile controls, laid out inside the game instead of below it. */
#joystick,#fullscreenBtn{display:none}#rotateOverlay{position:fixed;inset:0;z-index:100;background:#09111aef;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;text-align:center;padding:30px;color:var(--text)}#rotateOverlay h2{font-size:24px}#rotateOverlay p{font-size:13px;max-width:320px}#rotateOverlay small{font-size:11px;color:var(--muted)}.rotate-phone{font-size:85px;line-height:1;color:var(--gold);transform:rotate(-90deg)}.music-setting{display:flex;align-items:center;gap:20px;color:var(--muted);font-size:12px;margin-top:20px}.music-setting input{accent-color:var(--gold);max-width:200px}
.touch-device.touch-playing{overflow:hidden;overscroll-behavior:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.touch-device.touch-playing .site-header{display:none}.touch-device.touch-playing #app{padding:0;max-width:none}.touch-device.touch-playing #game{position:fixed;inset:0;background:#060b11;z-index:10;padding:0;overflow:hidden;touch-action:none}.touch-device.touch-playing #viewport{position:absolute;inset:0;max-width:none!important;border:0;border-radius:0;display:grid;place-items:center;overflow:hidden}.touch-device.touch-playing #field{width:min(100dvw,150dvh);height:auto;max-height:100dvh;max-width:100dvw;aspect-ratio:1.5;object-fit:contain}.touch-device.touch-playing #joystick{display:flex;position:absolute;z-index:3;left:max(24px,env(safe-area-inset-left));bottom:max(22px,env(safe-area-inset-bottom));width:112px;height:112px;border:1px solid #d6e0e24d;border-radius:50%;background:#cbdbe00d;align-items:center;justify-content:center;touch-action:none;box-shadow:inset 0 0 18px #06101e33;opacity:.72}.joystick-ring{width:72%;height:72%;border:1px dashed #d6e0e229;border-radius:50%;pointer-events:none}#joystickKnob{position:absolute;width:43px;height:43px;border-radius:50%;border:1px solid #e0e9e68c;background:#d4e5df33;box-shadow:0 3px 8px #0003;pointer-events:none}#joystick small{position:absolute;bottom:5px;font-size:9px;color:#d0d9d5;line-height:1;pointer-events:none}#joystick.dragging{opacity:1;background:#cedde014;border-color:#e1e9df99}.touch-device.touch-playing .play-heading{position:absolute;z-index:3;top:max(9px,env(safe-area-inset-top));left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));margin:0;pointer-events:none;align-items:flex-start}.touch-device.touch-playing .play-heading .eyebrow{display:none}.touch-device.touch-playing .play-heading h1{font-size:15px;margin:0 0 2px;text-shadow:0 2px 4px #000}.touch-device.touch-playing .play-heading p{font-size:9px;color:#d0d4d3;text-shadow:0 1px 3px #000}.touch-device.touch-playing .run-stats{gap:15px;background:#08121ba8;border:1px solid #c7d3d329;padding:5px 8px;border-radius:8px;backdrop-filter:blur(3px)}.touch-device.touch-playing .run-stats strong{font-size:19px;line-height:1}.touch-device.touch-playing .run-stats small{font-size:8px}.touch-device.touch-playing #pauseBtn{pointer-events:auto;font-size:11px;min-width:45px;min-height:36px;padding:6px}.touch-device.touch-playing #teamStatus{position:absolute;z-index:2;top:57px;left:50%;transform:translateX(-50%);width:min(480px,58vw);gap:4px;pointer-events:none}.touch-device.touch-playing .status-chip{padding:3px 5px;background:#0b142399;backdrop-filter:blur(2px);font-size:8px;border-color:#76818c33;white-space:nowrap}.touch-device.touch-playing .status-chip b{font-size:8px}.touch-device.touch-playing .status-chip small{display:none}.touch-device.touch-playing #questStatus{position:absolute;z-index:2;top:60px;left:max(16px,env(safe-area-inset-left));font-size:9px;margin:0;max-width:170px;color:#ded3ad;text-shadow:0 1px 3px #000;pointer-events:none}.touch-device.touch-playing .play-console{position:absolute;inset:0;display:block;margin:0;z-index:3;pointer-events:none}.touch-device.touch-playing .world-status{position:absolute;left:max(16px,env(safe-area-inset-left));top:81px;font-size:9px;max-width:180px;background:#07111c8c;border-radius:5px;padding:4px 7px}.touch-device.touch-playing .world-status b{font-size:9px}.touch-device.touch-playing .world-status span{font-size:8px;color:#c5c8c3;max-width:165px}.touch-device.touch-playing .interaction{position:absolute;right:max(20px,env(safe-area-inset-right));bottom:max(25px,env(safe-area-inset-bottom));width:80px;pointer-events:auto}.touch-device.touch-playing #searchBtn{width:80px;height:80px;border-radius:50%;display:flex;align-items:center;justify-content:center;text-align:center;background:#b6c6c225;border:1px solid #d2dcd967;backdrop-filter:blur(3px);padding:7px;box-shadow:0 4px 15px #0003}.touch-device.touch-playing #searchText{font-size:10px;line-height:1.5}.touch-device.touch-playing #searchBtn.ready{border-color:#f7d580;background:#b7a76b44;box-shadow:0 0 16px #efce6922}.touch-device.touch-playing #searchProgress{margin:6px auto 0;width:65px;height:4px;background:#c7d6cc1a}.touch-device.touch-playing .ability-actions{position:absolute;right:max(114px,calc(env(safe-area-inset-right) + 94px));bottom:max(27px,env(safe-area-inset-bottom));gap:10px;pointer-events:auto;align-items:flex-end}.touch-device.touch-playing #skillBtn,.touch-device.touch-playing #quietBtn{width:62px;height:62px;border-radius:50%;border:1px solid #d4ded369;background:#afc2c322;backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;white-space:normal;text-align:center;font-size:10px;padding:5px}.touch-device.touch-playing #skillBtn{border-color:#e1cd8b88;background:#b59e6629}.touch-device.touch-playing .play-console kbd{display:none}.touch-device.touch-playing .play-footer{position:absolute;z-index:2;right:max(16px,env(safe-area-inset-right));top:79px;margin:0;pointer-events:none}.touch-device.touch-playing .play-footer>span{display:none}.touch-device.touch-playing .local-fragment{width:18px;height:18px}.touch-device.touch-playing #toast{z-index:5;top:96px;font-size:10px;max-width:60vw;line-height:1.5;padding:6px 12px}.touch-device.touch-playing #pauseOverlay{z-index:8}.touch-device.touch-playing #fullscreenBtn{display:block;position:absolute;z-index:4;right:max(18px,env(safe-area-inset-right));top:110px;border:1px solid #cbd8d541;border-radius:50%;width:36px;height:36px;padding:0;color:#d0d8d3;background:#d1e5e012;font-size:23px;touch-action:manipulation}.touch-device #introDialog{max-height:94dvh;overflow:auto}.touch-device.portrait-play #introDialog>*{display:none}.touch-device.portrait-play #introDialog:after{content:'请将手机横过来，继续听奶蛙介绍。';display:block;padding:45px 15px;font-size:19px;color:var(--gold);text-align:center}
@media(pointer:coarse) and (orientation:landscape){#introDialog{padding:15px 24px;width:min(94vw,760px)}#introStage{height:135px;width:30%;float:left;margin:12px 20px 10px 0}#introActor{height:100px;max-width:85px}.intro-rings{width:90px;height:35px;bottom:10px}#introSpeaker{font-size:18px;margin:12px 0 5px}#introLine{font-size:12px;min-height:60px;line-height:1.8;margin:5px 0}.intro-buttons{margin:12px 0 8px}.intro-buttons button{padding:8px 13px;font-size:11px}#introDialog>small{display:block;clear:both;font-size:9px}}
.touch-device.touch-playing .world-status{display:block}.touch-device.touch-playing .world-status b{white-space:nowrap}.touch-device.touch-playing .world-status span{display:none}.touch-device.touch-playing .interaction #searchText{font-size:11px;line-height:1.6}.touch-device.touch-playing .team-status{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.pause-options{display:flex;gap:9px}.pause-options button{font-size:12px}#pauseOverlay .music-setting{margin-top:0}#pauseOverlay{line-height:1.5}

/* Fill the phone with the map; controls are independent overlays. */
.touch-device.touch-playing #field{position:absolute;inset:0;min-width:0;min-height:0;width:100%;height:100%;max-width:none;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:var(--camera-x,50%) var(--camera-y,50%)}
.touch-device.touch-playing #fullscreenBtn{width:72px;min-height:44px;height:44px;border-radius:9px;font-size:12px;background:#091521b8;line-height:1.2}
.touch-device.touch-playing #pauseBtn{min-height:44px}
