:root{color-scheme:dark;font-family:system-ui,-apple-system,'Segoe UI',sans-serif;--gold:#ffd36b;--navy:#101c2e}*{box-sizing:border-box}html,body{margin:0;min-height:100%;overflow-x:hidden}body{color:#fff;background:radial-gradient(ellipse at 58% 13%,#34466a 0%,#182842 42%,#0a101c 100%)}button{font:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible{outline:3px solid #fff7b9;outline-offset:3px}.page{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:min(6vw,78px);padding:8px}.game-shell{position:relative;width:min(440px,100%);height:min(900px,calc(100dvh - 16px));min-height:480px;border:2px solid #d39d46;border-radius:15px;display:flex;flex-direction:column;overflow:hidden;background:#151f30;box-shadow:0 16px 65px #0008,inset 0 0 3px #f0bf71}.mast{position:relative;flex:none;background:radial-gradient(ellipse at 50% 10%,#334b65,#101b2b 78%);text-align:center;padding:7px 6px 9px;border-bottom:1px solid #f7c56e}.brand{font-size:10px;letter-spacing:2px;font-weight:950;color:#ffd570}.brand span{color:#edf2f6}.brand small{border-radius:10px;border:1px solid #b89750;font-size:7px;padding:2px 5px;color:#e5ce95}.title{font-weight:1000;font-size:clamp(20px,5.8vw,29px);line-height:1.05;letter-spacing:.1px;text-shadow:0 2px 2px #000}.title strong{color:#ffbf39;font-size:1.04em;text-shadow:0 2px #8c3c09,0 4px 6px #0008}.ribbon{display:inline-block;position:relative;transform:rotate(-2deg);background:linear-gradient(#f84942,#af1527);color:#fff;border-radius:4px;box-shadow:0 3px #61071a,0 5px 8px #0008;font-size:clamp(12px,3.2vw,15px);font-weight:1000;padding:3px 20px;letter-spacing:.3px;margin-top:4px}.stats{display:grid;grid-template-columns:1fr .82fr 1fr;gap:5px;flex:none;background:#090e1a;padding:6px 6px 7px;border-bottom:2px solid #cd8c47}.stat{background:linear-gradient(#192c42,#0c1b2b);min-width:0;border-radius:8px;border:1px solid #597591;padding:6px 5px;text-align:center;box-shadow:inset 0 2px #a7c3cb44}.stat .label{display:block;white-space:nowrap;color:#e9eff2;font-size:clamp(7px,2.1vw,10px);font-weight:1000;letter-spacing:-.2px}.stat strong{font-weight:1000;font-size:clamp(17px,5.1vw,24px);color:#ffd45c;text-shadow:0 2px #743e1f}.stat.center strong{color:#fff}.mini-track{height:8px;background:#111724;border:1px solid #65889e;border-radius:6px;overflow:hidden;margin:1px 5px 0}.fill{height:100%;width:85%;background:linear-gradient(90deg,#ff3d41,#ff9b52);transform-origin:left center;transition:width .06s}.arena{position:relative;min-height:0;flex:1;overflow:hidden;background:#293b47 url('assets/office.webp') center/cover}.arena canvas{width:100%;height:100%;display:block;touch-action:manipulation}.arena:after{position:absolute;content:"";inset:auto 0 0;height:14px;background:linear-gradient(transparent,#0e1521b0);pointer-events:none}.notice{position:absolute;left:50%;top:6px;transform:translateX(-50%);white-space:nowrap;font-weight:900;letter-spacing:.3px;color:#ffefc2;background:#071727c9;border:1px solid #f1c37eaa;border-radius:7px;padding:5px 10px;font-size:clamp(9px,2.4vw,11px);pointer-events:none;transition:opacity .35s}.notice.fade{opacity:0}.impact{pointer-events:none;position:absolute;inset:0;opacity:0;background:#ef223c}.impact.hit{animation:impact .35s ease-out}@keyframes impact{0%{opacity:.48}100%{opacity:0}}.pads{background:linear-gradient(#1f2c3e,#081521);border-top:2px solid #ffc15b;display:flex;flex:none;gap:9px;padding:8px 10px 11px;height:99px}.pad{flex:1;display:flex;justify-content:center;align-items:center;gap:10px;border-radius:15px;color:#fff;border:2px solid #ffca7b;box-shadow:inset 0 3px #ffffff77,0 5px #16202d,0 7px 10px #0006;text-shadow:0 2px 2px #0009;font-size:clamp(19px,5vw,24px);font-weight:1000}.pad .arr{font-size:clamp(28px,7vw,36px);filter:drop-shadow(0 1px 1px #0008)}.pad.left{background:linear-gradient(160deg,#ff7279,#df2630 55%,#a60b27)}.pad.right{background:linear-gradient(160deg,#61c8ff,#0874ec 53%,#0845a0)}.pad:active,.pad.pressed{transform:translateY(3px);box-shadow:inset 0 2px #ffffff65,0 2px #16202d;filter:brightness(1.2)}.foot{flex:none;display:flex;align-items:center;justify-content:space-between;padding:4px 9px;background:#07111e;color:#a3abb9;font-size:9px;letter-spacing:.4px}.foot b{color:#e1b266}.layer{position:absolute;inset:0;z-index:6;display:grid;place-items:center;overflow:hidden}.layer.hidden{display:none}.start-layer{background:linear-gradient(180deg,#07142239,#081528ba 36%,#071526ed 100%);backdrop-filter:blur(1px)}.welcome{margin-top:17%;width:94%;max-width:340px;text-align:center;background:linear-gradient(160deg,#102538d9,#0e1d30f5);padding:21px 14px;border-radius:18px;border:1px solid #f6b967ab;box-shadow:0 16px 36px #0007}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:1000;color:#f8c778}.welcome h1{font-weight:1000;font-size:clamp(32px,9.2vw,45px);line-height:1.03;margin:8px 0 11px;text-shadow:0 3px #0006}.welcome h1 em{font-style:normal;color:var(--gold)}.welcome p{line-height:1.5;font-size:13px;margin:0 0 15px;color:#e0e9ef}.welcome p b{color:#ffb891}.start-action{display:block;width:100%;border-radius:13px;border:2px solid #fff0ba;background:linear-gradient(#ffe9a7,#ffc264,#d98322);color:#182238;font-weight:1000;font-size:19px;padding:13px 6px;box-shadow:inset 0 2px #fff6ca,0 5px #824511,0 8px 19px #0007}.start-action:active{transform:translateY(3px);box-shadow:0 2px #824511}.hint{margin-top:12px;font-size:10px;color:#b5c7d6}.result-layer{background:#07101be7;backdrop-filter:blur(2px)}.result-content{width:93%;max-width:350px;text-align:center;border-radius:18px;border:1px solid #c99353;background:linear-gradient(160deg,#273544,#0c1828);padding:20px 14px;box-shadow:0 15px 40px #000a}.stamp{display:inline-block;border:4px solid #f54847;color:#ff5c50;font-size:35px;font-weight:1000;padding:3px 8px;transform:rotate(-6deg);text-shadow:0 2px #741623}.result-content h2{margin:15px 0 0;font-size:27px}.result-content p{font-size:12px;color:#ffe0ba}.result-label{letter-spacing:2px;font-size:11px;margin-top:15px;font-weight:900;color:#a4c5d3}.final-score{font-size:54px;font-weight:1000;color:#ffd465}.best-text{padding:10px 0 15px;font-size:13px;color:#d5e7ec}.result-content small{display:block;color:#8ea8b8;margin-top:18px;font-size:10px}.howto{max-width:270px}.howto .tiny{font-size:11px;font-weight:1000;letter-spacing:3px;color:#e2b75f}.howto h2{font-size:38px;line-height:1.05}.howto h2 em{font-style:normal;color:#ffcf7c}.howto p,.howto small{color:#a4b3c3;line-height:1.6}.steps{display:grid;gap:10px;margin:23px 0}.steps span{background:#203348;border:1px solid #46617a;border-radius:9px;padding:11px}.steps b{padding-left:8px}@media(max-width:830px){.howto{display:none}}@media(max-width:460px){.page{padding:0}.game-shell{width:100%;height:100dvh;max-height:none;min-height:480px;border:0;border-radius:0}.pads{height:100px}.mast{padding:4px 4px 6px}.stat{padding:5px 3px}.welcome{margin-top:6%}}@media(max-height:650px){.mast .brand{font-size:9px}.title{font-size:22px}.ribbon{font-size:12px;padding:2px 16px}.mast{padding:3px}.pads{height:75px;padding:5px 8px 7px}.pad{font-size:18px}.pad .arr{font-size:26px}.welcome{padding:12px}.welcome p{font-size:12px}.welcome h1{font-size:34px}.start-action{padding:9px;font-size:17px}}@media(prefers-reduced-motion:reduce){*{animation-duration:0s!important;transition:none!important}}

/* V5 readability and layout polish */
.game-shell{box-shadow:0 14px 38px #0008}
.stats{gap:6px}.stat{border-color:#8290a1}.stat strong{font-variant-numeric:tabular-nums}.arena{background-position:50% 47%}
.notice{box-shadow:0 4px 16px #0008}.pad{touch-action:manipulation}

/* V6: make the preview and button labels legible; hazards in matching physical side lanes. */
.notice{background:#2a1215ed;border-color:#ffd27a;color:#fff3ce;max-width:95%;overflow:hidden;text-overflow:ellipsis}.arena{isolation:isolate}.stat strong{font-variant-numeric:tabular-nums}
/* V7: bright and legible, keep warning frames while removing excessive decoration. */
.game-shell{border-color:#aa8755}.arena{background-position:center center}.pad{border-color:#eecb8f}.notice{background:#102034ed;color:#ffe2a4;border-color:#dcb478}.foot{font-size:9px}

/* V8: artwork from the approved concept. No red collision panels/exclamation boxes. */
.mast{padding:3px 6px 6px;background:radial-gradient(ellipse at 50% 12%,#3a2331,#101827 80%)}
.logo{display:block;width:min(185px,48%);height:42px;object-fit:contain;margin:-8px auto -7px;filter:drop-shadow(0 2px 3px #0009)}
.title{font-family:system-ui,sans-serif;font-weight:1000;letter-spacing:-.5px;font-size:clamp(19px,5.2vw,29px)}
.title strong{background:linear-gradient(180deg,#ffdc94 0,#ff9b23 85%);-webkit-background-clip:text;background-clip:text;color:transparent}
.ribbon{border-radius:0;clip-path:polygon(0 15%,8% 7%,15% 12%,25% 0,55% 8%,92% 0,100% 24%,96% 78%,83% 92%,48% 100%,15% 90%,2% 97%);font-weight:1000;padding:5px 20px;font-size:clamp(11px,3.2vw,15px)}
.game-shell{border-color:#d89b55}
.arena{background-position:center;background-color:#101724}
.stats{border-bottom-color:#b38759}
.stat strong{color:#ffd06b}
.welcome p b{color:#ffdf98}
.result-content .stamp{font-size:clamp(25px,7vw,34px);color:#ff6659}
@media(max-height:690px){.logo{height:29px;margin:-6px auto -5px}.pads{height:82px}.mast{padding:1px 4px 4px}.ribbon{padding:3px 20px}.title{font-size:20px}}

/* V9: extra roomy game area; Fritzi moves with each press and stamps sit in their rows. */
.foot{color:#d3b9a0}

/* V10: original FTZNFRTZ brand, title, tasteful arcade start menu */
.mast{padding:2px 6px 7px;background:radial-gradient(ellipse at 50% 0%,#48324d,#101827 79%)}
.mast .logo{object-fit:contain;width:min(210px,62%);height:44px;margin:-5px auto -9px;filter:drop-shadow(0 2px 4px #000a)}
.newtitle{font-weight:1000;font-size:clamp(19px,6.1vw,28px);white-space:nowrap;letter-spacing:-.8px;text-shadow:0 2px 4px #070c19}
.newtitle strong{color:#e62f28!important;background:none!important;-webkit-text-stroke:.55px #ff7c49;text-shadow:0 2px #340812,0 3px 4px #0008}
.ribbon{font-size:clamp(11px,3.35vw,15px);padding:4px 20px;margin-top:3px;transform:rotate(-2deg)}
.welcome{margin:0;max-width:350px;padding:15px 13px 13px;width:94%;background:linear-gradient(160deg,#13263be9,#071526ed);backdrop-filter:blur(3px);border:1px solid #e0af73}
.welcome h1{font-size:clamp(22px,6.6vw,30px);line-height:1.05;margin:7px 0 8px}
.welcome h1 em{color:#ffcc67}.welcome p{font-size:12px;line-height:1.35;margin:0 0 11px}
.menu-stage{position:relative;height:clamp(80px,19vh,153px);margin:4px auto 7px;max-width:320px;border-bottom:1px solid #a77844;background:radial-gradient(ellipse at 50% 75%,#66452266,transparent 68%)}
.menu-fritzi{position:absolute;bottom:0;left:8%;height:101%;width:39%;object-fit:contain;object-position:bottom;filter:drop-shadow(0 6px 4px #000b)}
.menu-money{position:absolute;left:39%;top:33%;border:2px solid #dca74e;border-radius:4px;background:linear-gradient(135deg,#85c993,#256d4b);padding:9px 7px;color:#fff4c0;text-shadow:0 2px 2px #174d33;font-size:32px;box-shadow:0 0 14px #f5c24f80;transform:rotate(-5deg)}
.menu-money small{display:block;font-size:9px;letter-spacing:1px;color:#fff}
.menu-stamp{position:absolute;right:-2%;top:9%;height:66%;width:35%;object-fit:contain;filter:drop-shadow(0 0 10px #f4272590)}
.start-action{background:linear-gradient(175deg,#fc6261,#e5282f 55%,#a70d21);color:#fff;text-shadow:0 2px 2px #2a0708;border-color:#e6b876;box-shadow:inset 0 2px #ffc5a4,0 4px #721c20,0 8px 12px #0008;padding:11px 6px}
.menu-actions{display:grid;grid-template-columns:1fr 1fr 1.22fr;gap:5px;margin:14px 0 0}
.mini-action{font-size:clamp(9px,2.5vw,11px);border:1px solid #d6b66b;border-radius:8px;background:linear-gradient(#1f3347,#101c2c);font-weight:900;color:#f4d38e;padding:9px 3px;min-height:41px}
.mini-action[aria-pressed="false"]{color:#8a9bad;border-color:#556479}.mini-action.trophy{color:#ffcb6b}
.hint{margin-top:9px;font-size:10px}
.name-row{padding:7px 0 9px;border-top:1px solid #405870}.name-row label{display:block;text-align:left;font-size:11px;font-weight:900;color:#e5c78e;margin-bottom:5px}.name-controls{display:flex;gap:6px}.name-controls input{flex:1;min-width:0;background:#101e30;color:#fff;border:1px solid #8da8bd;border-radius:8px;padding:10px;font-size:15px}.name-controls button{background:#eab258;color:#111a25;border:0;border-radius:8px;padding:7px 9px;font-weight:1000;font-size:10px}.save-status{min-height:14px;font-size:10px;color:#cbefb0;margin-top:4px}
.result-content{padding:14px 12px}.result-content h2{margin:9px 0 2px}.result-label{margin-top:7px}.final-score{font-size:clamp(34px,9vw,45px)}.best-text{padding:3px 0 10px}
.result-rank{margin-top:10px;background:transparent;border:1px solid #cca25b;border-radius:8px;color:#ffdb8e;font-weight:900;padding:7px 14px;min-height:38px;width:100%}.result-content small{margin-top:10px}
.board-layer{z-index:20;background:#060e19ed;padding:13px}.board-card{width:100%;max-width:365px;max-height:95%;overflow:auto;background:#122437;border:1px solid #f0bc71;border-radius:17px;padding:15px;box-shadow:0 8px 24px #0008}
.board-head{display:flex;align-items:start;justify-content:space-between;gap:8px}.board-head h2{font-size:24px;margin:2px 0 1px}.board-head p{font-size:11px;color:#b6c4d5;margin:0 0 9px}.board-head button{color:#fff;border:1px solid #a9b5c0;border-radius:7px;background:#233f57;min-width:36px;height:36px}
.board-list{margin:9px 0 12px;padding:0;list-style:none;max-height:350px;overflow:auto}.board-list li{display:grid;grid-template-columns:30px 1fr auto;gap:7px;align-items:center;padding:8px 4px;border-bottom:1px solid #35516a;font-weight:700;font-size:13px}.board-list li:first-child{color:#ffdc85}.board-list .empty{display:block;text-align:center;padding:25px 8px;color:#bdd0de}.board-list .place{background:#334860;border-radius:5px;text-align:center;padding:5px 2px;color:#fce2ae}.board-list .number{color:#ffcb71}.board-back{width:100%;border:1px solid #d1a25e;background:#233f56;color:#fff;border-radius:9px;padding:9px;font-weight:800}
.foot span:first-child{white-space:nowrap}
@media(max-height:740px){.menu-stage{height:85px}.welcome{padding:9px 12px}.welcome h1{margin:5px 0}.welcome p{font-size:11px}.menu-actions{margin-top:10px}.start-action{padding:8px 5px}.mast .logo{height:34px}.board-list{max-height:225px}}
@media(max-height:580px){.menu-stage{display:none}.welcome p{font-size:10px}.welcome{padding:8px}.name-row{padding:3px 0}.result-content{padding:9px 10px}}

.foot{min-height:28px}.foot-logo{display:flex;align-items:center;gap:3px}.foot-logo img{width:71px;max-height:26px;object-fit:contain;filter:drop-shadow(0 1px 2px #000)}.foot-logo small{color:#bb9a70;font-size:8px}
@media(max-height:740px){.menu-money{font-size:19px;padding:4px 5px;top:16%}.menu-money small{font-size:6.5px;letter-spacing:0}.menu-fritzi{height:96%}.menu-stamp{height:58%}}

/* V10.1: unobtrusive final-second danger cue. Timing and hitboxes remain untouched. */
.game-shell.time-warning .stat.center{border-color:#ffb54f;box-shadow:inset 0 2px #ffecb64a,0 0 10px #ffa5364d;background:linear-gradient(#432c29,#251b23)}
.game-shell.time-warning .stat.center strong{color:#ffe074}
.game-shell.time-critical .stat.center{border-color:#ff504a;box-shadow:0 0 0 1px #ff3f35,0 0 14px #fd292b8a;background:linear-gradient(#602426,#29121f)}
.game-shell.time-critical .stat.center strong{color:#fff0e9}
@keyframes lowTimePulse{0%,100%{filter:brightness(1)}50%{filter:brightness(1.32)}}
@keyframes lowTimeWiggle{0%,100%{transform:translateX(0)}18%{transform:translateX(-1.5px)}38%{transform:translateX(1.5px)}58%{transform:translateX(-1px)}78%{transform:translateX(1px)}}
.game-shell.time-warning .stat.center .mini-track{animation:lowTimePulse .62s ease-in-out infinite}
.game-shell.time-critical .stat.center{animation:lowTimeWiggle .29s ease-in-out infinite}
/* During a PHONE round, prioritize the actual playfield; the start screen and desktop retain branding. */
@media(max-width:600px){
  .game-shell.in-game .mast{display:none}
  .game-shell.in-game .foot{display:none}
  .game-shell.in-game .stats{padding-top:7px;padding-bottom:8px}
}
@media(prefers-reduced-motion:reduce){.game-shell.time-warning .stat.center .mini-track,.game-shell.time-critical .stat.center{animation:none}}

/* V10.2 – unendliche nachladbare Tagesrangliste. Mobile Spiel bleibt unverändert. */
.board-card{display:flex;flex-direction:column;max-height:96%;min-height:0;overflow:hidden}
.board-head{flex:none}
.board-head h2{font-size:clamp(17px,5vw,22px);white-space:nowrap}
.rank-me{flex:none;border-radius:9px;background:#263747;color:#fff3c9;font-size:clamp(11px,3vw,13px);font-weight:900;border:1px solid #caa56b;padding:9px 11px;margin:5px 0 7px;text-align:center}
.board-reset-note{flex:none;text-align:center;font-size:10px;line-height:1.3;color:#d5c19f;padding:0 2px 8px;border-bottom:1px solid #395169}
.board-list{flex:1;min-height:90px;max-height:none;overflow:auto;overscroll-behavior:contain;margin:3px 0 8px;padding:0 3px}
.board-list li{min-height:46px;padding:7px 6px;grid-template-columns:36px minmax(0,1fr) auto;gap:7px;border-bottom:1px solid #3f4f65}
.board-list .rank-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.board-list .place{display:inline-flex;align-items:center;justify-content:center;min-width:33px;min-height:32px;border:1px solid #53667b;border-radius:7px}
.board-list .cup{font-size:23px;text-shadow:0 2px 2px #0009}
.board-list li.top1{background:linear-gradient(90deg,#6b491e55,#151f2a)}
.board-list li.top2{background:linear-gradient(90deg,#79838b3d,#151f2a)}
.board-list li.top3{background:linear-gradient(90deg,#a4643838,#151f2a)}
.board-list li.top1 .cup{background:#4f390e;border-color:#ecca64}
.board-list li.top2 .cup{background:#435463;border-color:#ced8df}
.board-list li.top3 .cup{background:#4f392d;border-color:#b7805e}
.board-list li.my-entry{outline:1px solid #e3c16c;outline-offset:-2px;border-radius:5px}
.board-status{font-size:11px;min-height:0;color:#ffcf9f;text-align:center;padding:2px 0;overflow-wrap:anywhere}
.board-more{width:100%;border:1px solid #ba9b6f;background:#344358;border-radius:8px;padding:9px;color:#ffe5bd;font-weight:900;margin-bottom:5px;min-height:40px}
.board-back{flex:none;min-height:40px}
@media(max-width:460px){.board-layer{padding:8px}.board-card{padding:11px}.board-list li{font-size:12px}}

/* V10.3 – mobile viewport fix: never scroll the game behind Telegram controls. */
@media (max-width: 600px) {
  html,body {width:100%;height:100%;min-height:0;overflow:hidden;overscroll-behavior:none;}
  .page {
    position:fixed;
    left:0;
    top:var(--netto-viewport-top,0px);
    width:100%;
    height:var(--netto-viewport-height,100dvh);
    min-height:0;
    max-height:none;
    padding:0;
    margin:0;
    overflow:hidden;
    display:block;
  }
  .game-shell {
    width:100%;
    max-width:none;
    height:100%;
    min-height:0;
    max-height:none;
    border:0;
    border-radius:0;
    box-shadow:none;
    display:flex;
    flex-direction:column;
  }
  .mast,.stats,.pads,.foot {flex-shrink:0;}
  .arena {flex:1 1 0;min-height:0;overflow:hidden;}
  .pads {
    height:clamp(72px,11.2dvh,95px);
    padding:6px 10px max(7px,env(safe-area-inset-bottom));
    gap:8px;
  }
  .pad {font-size:clamp(15px,4.9vw,23px);gap:7px;min-height:0;}
  .pad .arr {font-size:clamp(23px,6.8vw,32px);}
  .foot{padding-bottom:max(5px,env(safe-area-inset-bottom));}
  .start-layer,.result-layer,.board-layer {overflow-y:auto;overscroll-behavior:contain;}
  .welcome,.result-content {margin:8px auto;flex-shrink:0;}
  .start-layer,.result-layer{display:flex;align-items:center;justify-content:center;}
  .board-layer{overflow:hidden;}
}
@media (max-width:600px) and (max-height:620px) {
  .pads{height:70px;padding:5px 8px max(5px,env(safe-area-inset-bottom));}
  .stat{padding:3px 2px;}
  .stats{padding:4px;}
  .mast .logo{height:27px;}
  .ribbon{padding:1px 12px;margin-top:0;}
  .mast{padding:0 3px 3px;}
  .welcome p{margin-bottom:7px;line-height:1.3;}
  .welcome h1{font-size:27px;margin:3px 0 5px;}
  .menu-stage{height:65px;}
  .welcome{padding:8px 10px;}
  .result-content{padding:8px 10px;}
  .result-content .stamp{font-size:22px;}
  .result-content h2{margin:5px 0 0;}
  .final-score{font-size:36px;}
}

/* V10.4: Mobile controls ALWAYS receive a real, non-shrinking touch area.
   The arena alone absorbs any reduction in Telegram's visible viewport. */
@media (max-width: 600px) {
  .game-shell > .pads {
    display:flex !important;
    flex:0 0 104px !important;
    height:104px !important;
    min-height:104px !important;
    max-height:104px !important;
    box-sizing:border-box;
    padding:9px 10px max(12px,env(safe-area-inset-bottom)) !important;
    align-items:stretch;
    overflow:visible;
    z-index:4;
  }
  .game-shell > .pads > .pad {
    flex:1 1 0 !important;
    height:auto !important;
    min-height:72px !important;
    max-height:none !important;
    font-size:clamp(19px,5.3vw,24px) !important;
    line-height:1.1;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    white-space:nowrap;
    touch-action:manipulation;
  }
  .game-shell > .pads > .pad .arr {font-size:clamp(25px,7vw,34px) !important;line-height:1;}
  .game-shell > .arena {flex:1 1 0 !important;min-height:0 !important;}
  .game-shell.in-game > .foot {display:none !important;}
}
@media (max-width:600px) and (max-height:680px) {
  .game-shell > .pads {flex-basis:92px !important;height:92px !important;min-height:92px !important;max-height:92px !important;padding:6px 8px max(8px,env(safe-area-inset-bottom)) !important;}
  .game-shell > .pads > .pad {min-height:68px !important;}
}

/* V10.5 – Spielername am Start, automatische Ranglistenübertragung. */
.telegram-start-name {margin:7px 0 11px;text-align:left;padding:8px 10px;background:#091a2cdd;border:1px solid #b69253;border-radius:10px}
.telegram-start-name label {display:block;font-size:11px;font-weight:950;letter-spacing:.5px;color:#f3cd86;margin-bottom:5px}
.telegram-start-name input {display:block;width:100%;box-sizing:border-box;height:39px;min-height:39px;background:#162b43;border:1px solid #7799b2;border-radius:7px;color:#fff;font:600 16px system-ui,sans-serif;padding:7px 10px}
.telegram-start-name input:focus {outline:2px solid #ffc46c;outline-offset:1px}
.start-name-hint {font-size:10px;line-height:1.3;color:#b9d8da;padding-top:4px;min-height:14px}
.start-name-hint.error {color:#ffb2a8;font-weight:800}
.name-row {padding:10px 2px 6px}
.name-row .save-status {font-size:12px;min-height:31px;line-height:1.35;font-weight:850;text-align:center;color:#d2f8c4}
.name-row .save-status.error {color:#ffc19b}
.name-correction {text-align:left;margin-top:5px;border-top:1px solid #30485c;padding-top:6px}
.name-correction summary {cursor:pointer;font-size:11px;color:#e8c587;text-align:center;font-weight:750;list-style:revert}
.name-correction label {margin:7px 0 3px;font-size:11px}
.name-correction input {width:100%;height:40px;border-radius:7px;font-size:16px;background:#12253b;color:#fff;border:1px solid #7890ad;padding:6px 9px}
.name-correction small {margin:3px 0 0;font-size:10px;color:#aec8d0}
@media(max-height:670px){.telegram-start-name{margin:4px 0 6px;padding:5px 7px}.telegram-start-name input{height:35px;min-height:35px}.start-name-hint{font-size:9px}.name-row{padding:4px 2px}}

/* V11: ewige Social-Rangliste inkl. Herkunftsspalte, auch mobil. */
.board-list li{grid-template-columns:36px minmax(0,1fr) auto 22px;gap:5px}
.board-list .rank-source{font-size:15px;text-align:center;white-space:nowrap}
.board-list .number{font-variant-numeric:tabular-nums;white-space:nowrap}
.platform-badge{font-size:11px;font-weight:850;color:#b8dfff;background:#173248c9;border:1px solid #486579;border-radius:7px;padding:5px 8px;margin:6px auto 8px;width:max-content;max-width:96%}
.share-action{background:#284769;color:#ffe0a5}
.share-status{font-size:11px;color:#bdf3cb;min-height:12px;overflow-wrap:anywhere}
.identity-note{display:block;line-height:1.35}
.start-name-hint.error{color:#ffb0a0}
#start:disabled{opacity:.65;cursor:wait}
@media(max-width:360px){.board-list li{font-size:11px;grid-template-columns:29px minmax(0,1fr) auto 19px;gap:3px}.board-list .cup{font-size:19px}}
