/* Guesswiz 9b — tokens and motion from design/guesswiz-design.html (Claude, 2026-10-05).
   Last stylesheet intentionally overrides the historical inline theme. */
@font-face{font-family:Archivo;src:url('/assets/fonts/Archivo-Variable.woff2') format('woff2'),url('/assets/fonts/Archivo-Variable.ttf') format('truetype');font-weight:100 900;font-stretch:88% 104%;font-style:normal;font-display:swap}
@font-face{font-family:'Archivo Black';src:url('/assets/fonts/ArchivoBlack-Regular.woff2') format('woff2'),url('/assets/fonts/ArchivoBlack-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
:root{--ink:#101216;--ink-2:#101216;--panel:#1A1E25;--surface:#1A1E25;--surface-2:#242A33;--raise:#242A33;--paper:#fff;--muted:#9AA3B2;--line:rgba(255,255,255,.09);--lemon:#DFF269;--amber:#DFF269;--amber-2:#DFF269;--lemon-dim:rgba(223,242,105,.14);--lilac:#B9AAFF;--coral:#FF9B7A;--focus-ring:#DFF269;--display:'Archivo Black',Archivo,system-ui,sans-serif;--ui:Archivo,system-ui,sans-serif;--text:var(--ui);--radius-control:999px;--radius-panel:14px;--out:cubic-bezier(.23,1,.32,1);--inout:cubic-bezier(.77,0,.175,1);--control-height:56px}
html,body{height:100%;overflow:hidden;background:var(--ink);color:var(--paper)}
body{font-family:var(--ui);font-variation-settings:'wdth' 104;-webkit-font-smoothing:antialiased;animation:none;padding:0;min-height:0;display:flex;align-items:center;justify-content:center}
.device{width:100%;max-width:430px;height:100vh;height:var(--visible-height,100dvh);max-height:none;display:flex;flex-direction:column;overflow:hidden;overflow:clip!important;background:var(--ink);border:0;border-radius:0;isolation:isolate;box-shadow:none;padding-top:env(safe-area-inset-top,0px)}
.device::before{content:'';position:absolute;inset:-40%;z-index:-1;pointer-events:none;background:radial-gradient(closest-side,rgba(223,242,105,.07),transparent 70%);transform:translate(var(--light-x,0),var(--light-y,-18%));transition:transform 1.2s var(--out)}
.device::after{content:'';position:absolute;inset:0;pointer-events:none;z-index:50;opacity:.035;mix-blend-mode:overlay;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.device .screen{position:relative;inset:auto;flex:1 1 0;min-height:0;width:100%;max-width:none;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:20px 24px max(24px,env(safe-area-inset-bottom,0px));animation:none;scroll-padding-block:12px 96px}
.device .screen:not(.active){display:none!important}
.device .screen.active{display:flex;flex-direction:column;animation:guesswiz-enter .24s var(--out) both}
.device .screen>*{flex-shrink:0}
@keyframes guesswiz-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.device .app-header{position:relative;flex:none;border:0;background:var(--ink);backdrop-filter:none;padding:12px 24px;min-height:64px;border-radius:0}
.app-header-title{font-family:var(--ui);font-weight:700}.app-header-back{min-width:44px;min-height:44px;background:var(--panel);border:0}
button,input,select,textarea{font-family:var(--ui);-webkit-tap-highlight-color:transparent}
button{touch-action:manipulation}.btn,.chip,.mode-btn,.home-action{user-select:none;-webkit-user-select:none}
.btn{border-radius:999px;min-height:56px;font-weight:700;font-size:1.125rem;padding:14px 24px;transition:transform .16s var(--out),background-color .2s,opacity .2s;box-shadow:none;letter-spacing:0}
.btn-primary{background:var(--lemon);color:var(--ink);border:0;position:relative;overflow:hidden}
.btn-primary::after{content:'';position:absolute;inset:0;background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.55) 50%,transparent 65%);transform:translateX(-120%);pointer-events:none}
.btn-primary.shine::after{animation:guesswiz-shine 1.1s var(--inout)}
@keyframes guesswiz-shine{to{transform:translateX(120%)}}
.btn:active:not(:disabled),.home-action:active:not(:disabled){transform:scale(.97)}
.btn-ghost{background:var(--panel);color:var(--paper);border:1px solid var(--line)}
.btn-primary:disabled{background:var(--raise);color:var(--muted);opacity:1}.btn:disabled:active{transform:none}
button:focus-visible,[role=slider]:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--lemon);outline-offset:3px}
@media(hover:none){.btn-ghost:hover:not(:disabled){background:var(--panel)}.btn-primary:hover:not(:disabled){background:var(--lemon);color:var(--ink)}}
.device :is(h1,h2,.page-title,.ruler-number,.signature-real,.board-score){font-family:var(--display);font-weight:400;letter-spacing:-.02em}
.device :is(.question-text,.live-question),.device .studio-reveal .answer-block .question-text{font-family:var(--display)!important;font-weight:400!important;font-size:clamp(1.5625rem,7.4vw,1.9375rem)!important;line-height:1.12!important;letter-spacing:-.01em!important;text-wrap:balance;word-break:normal;overflow-wrap:normal;hyphens:none}
/* Fragetext (Gesamtprüfung Paket 3, Nr. 3; 3.12.2026): Archivo fett und schmaler statt Archivo Black. Black ist sehr fett und
   breit; lange Fragen brauchen damit bei 390 px Breite oft fünf Zeilen. Gemessen an 366 Fragen (die 150 längsten und jede
   siebte): 233 kommen mit weniger Zeilen aus, keine braucht mehr; fünf und mehr Zeilen haben 12 statt 128. Überschriften
   bleiben in Archivo Black. Größe und Zeilenabstand bleiben; die Laufweite ist normal statt leicht verengt, weil die schmale
   Schrift sonst zu dicht steht. Die Breite steht in font-variation-settings, weil body dort 'wdth' 104 vorgibt und diese
   Angabe font-stretch überstimmt. Die Regel steht auf oberster Ebene, nicht in einem @media-Block. */
.device :is(.question-text,.live-question){font-family:var(--ui)!important;font-weight:800!important;font-variation-settings:'wdth' 88!important;letter-spacing:0!important}
.device .page-title{font-size:2.125rem;line-height:1.12}.device .eyebrow{font:600 .75rem var(--ui);letter-spacing:.1em;color:var(--muted)}
.device :is(input,select,textarea){font-size:1rem;color:var(--paper);background:var(--panel);border-color:var(--line)}
.device :is(.pill,.chip,.segmented,.input-mode-toggle,.mode-btn){border-radius:999px}
.device .chip.active{background:var(--lemon-dim);border-color:var(--lemon);color:var(--lemon)}
.device .input-mode-toggle{padding:4px;gap:4px;background:var(--panel);border:0;margin:12px auto;max-width:100%;width:fit-content;animation:none}
.device .mode-btn{min-height:44px;padding:8px 18px;background:transparent;color:var(--muted);font:600 .875rem var(--ui);border:0;animation:none;transition:none}
.device .mode-btn.active{background:var(--raise);color:var(--paper)}
.device .footer-actions{position:sticky;bottom:-24px;margin-top:auto;padding:16px 0 max(24px,env(safe-area-inset-bottom,0px));background:var(--ink);z-index:5;flex-shrink:0}
.device .footer-actions.result-actions{position:static}
.device .precision-input{background:var(--panel);border:1.5px solid var(--line);border-radius:14px;padding:16px!important}.device .precision-input::after{display:none}
.device .precision-input input{font-family:var(--display);font-size:2.125rem;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
/* Five real app modes; no prototype-only game flows. */
.device #screen-start{display:none;padding:20px 24px 24px;gap:0}.device #screen-start.active{display:flex}
.device #screen-start .brand-hero{display:flex;flex-direction:column;align-items:stretch;gap:20px;margin:28px 0 24px;grid-area:auto}
.device #screen-start .brand-wordmark{width:100%;margin:0;line-height:1}
.device #screen-start .guesswiz-home-mark{width:100%;height:auto;max-width:100%;border-radius:0}
.device #screen-start .brand-tagline{font:500 1.375rem/1.35 var(--ui)!important;max-width:21ch;color:var(--paper);white-space:pre-line}
.device #screen-start .start-primary-actions{display:grid;grid-template-columns:1fr;gap:10px;margin:0;grid-area:auto}
.device #screen-start .start-primary-actions .home-action{min-height:64px;padding:16px 18px;border:0;border-radius:14px;background:var(--panel);color:var(--paper);display:grid;grid-template-columns:24px minmax(0,1fr) 20px;gap:12px;transition:transform .16s var(--out),background-color .2s}
.device #screen-start .start-primary-actions .home-action b{font:700 1.125rem var(--ui);letter-spacing:0}
.device #screen-start .start-primary-actions .home-action small{font:.875rem/1.35 var(--ui);margin-top:3px}
.device #screen-start .home-action .home-action-num{color:var(--lemon)}
.device #screen-start .home-ruler{height:48px;width:100%;margin:0;border-color:var(--lemon);color:var(--lemon);background:repeating-linear-gradient(90deg,var(--lemon) 0 2px,transparent 2px 14px) left top/100% 12px no-repeat}
.device #screen-start .home-ruler i{border:6px solid var(--ink);outline:1px solid var(--lemon);background:white;width:28px;height:28px;border-radius:50%;box-shadow:none}
.device .brand-hat{transform-box:fill-box;transform-origin:30% 100%;animation:guesswiz-hat .9s var(--out) both}
@keyframes guesswiz-hat{0%{opacity:0;translate:0 -26px;rotate:-10deg}65%{opacity:1;translate:0 3px;rotate:3deg}100%{translate:0 0;rotate:0deg}}
/* Reusable ruler, direct drag at 28px per tick. */
.device .ruler-input{margin:16px 0;width:100%;background:none;border:0}
.device .ruler-number{display:block;text-align:center;font-size:56px;line-height:1.1;min-height:62px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:var(--paper)}
.device .ruler-number.idle{color:var(--muted)}.device .ruler-unit{text-align:center;color:var(--muted);font-size:1rem;margin:8px 0}
.device .input-ruler{position:relative;height:96px;margin:12px -24px;width:calc(100% + 48px);background:none;border:0;touch-action:pan-y;cursor:grab;user-select:none;-webkit-user-select:none;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}
.device .input-ruler.dragging{cursor:grabbing}.device .input-ruler::before{content:'';position:absolute;top:27px;left:0;right:0;height:2px;background:var(--lemon);box-shadow:0 0 12px #dff26955}.device .input-ruler::after{display:none}
.device .ruler-ticks{position:absolute;inset:0;transform:none;animation:none}.device .input-ruler-tick{position:absolute;left:50%;top:28px;width:2px;background:var(--lemon);border:0;transform-origin:top}
.device .input-ruler-tick small{position:absolute;top:40px;left:50%;transform:translateX(-50%);font:.75rem var(--ui);color:var(--muted);white-space:nowrap}
.device .ruler-pointer{position:absolute;left:50%;top:12px;transform:translateX(-50%);width:30px;height:30px;background:white;border:6px solid var(--ink);outline:1px solid var(--lemon);border-radius:50%;box-shadow:0 0 0 4px var(--ink)}
.device .ruler-pointer::before,.device .ruler-pointer::after{display:none}
.device .ruler-help,.device .ruler-lesson{font:.875rem/1.35 var(--ui);color:var(--muted);text-align:center;margin:4px 0 8px}.device .ruler-quick{display:flex;justify-content:center;gap:8px;margin:8px 0}
.device .ruler-quick button,.device .ruler-adjust button{min-height:44px;border-radius:999px;background:var(--panel);border:1px solid var(--line);color:var(--paper);transition:transform .16s var(--out)}
.device .ruler-quick button[aria-pressed=true]{color:var(--lemon);border-color:var(--lemon)}
.device .ruler-adjust{gap:12px}.device .ruler-adjust select{min-height:44px;border-radius:14px}
/* Shared local/online reveal: positions and points are provided by the app. */
.device .studio-reveal .signature-reveal{border:0}.device .comparison-hero{margin:16px 0;gap:16px}
.device .studio-reveal .signature-real{font-size:56px;line-height:1.1;letter-spacing:-.02em}.device .comparison-tip strong{font-family:var(--display);font-size:1.75rem}
.device .comparison-diagram{transform-origin:center;animation:guesswiz-zoom .65s var(--out) both}
@keyframes guesswiz-zoom{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}
.device .comparison-solution{background:var(--lemon);color:var(--lemon);box-shadow:0 0 18px #dff26940}
.device .comparison-solution::after{content:'';position:absolute;top:0;bottom:0;left:-12px;width:26px;background:linear-gradient(90deg,transparent,#dff26940,transparent);animation:guesswiz-beam .85s var(--out) both;pointer-events:none}
@keyframes guesswiz-beam{from{opacity:0;transform:scaleX(0)}55%{opacity:1;transform:scaleX(1.4)}to{opacity:.4;transform:scaleX(1)}}
.device .comparison-band{background:var(--lemon-dim)}.device .comparison-bridge{border-color:var(--muted);border-left:1px solid var(--muted);border-right:1px solid var(--muted);height:8px}
.device .comparison-marker{animation:guesswiz-tip .75s var(--out) both;animation-delay:var(--arrival,0ms)}
@keyframes guesswiz-tip{0%{translate:0 22px;opacity:0}55%{translate:0 -5px;opacity:1}78%{translate:0 2px}100%{translate:0 0;opacity:1}}
.device .studio-estimate{position:relative;background:var(--panel);border:0;border-radius:14px;padding:12px 14px;margin:8px 0;overflow:visible}
.device .studio-estimate .estimate-award strong{font-family:var(--display);font-size:1.75rem}.device .points-reason{margin-bottom:0;color:var(--muted);font-size:.75rem;line-height:1.5}
.device .question-quality{background:var(--panel);border:1px solid var(--line);border-radius:14px}
.device .score-pending .guesswiz-sparks{visibility:hidden;animation:none}.guesswiz-sparks{position:absolute;right:20px;top:20px;pointer-events:none}
.guesswiz-sparks i{position:absolute;display:block;width:4px;height:4px;border-radius:50%;background:var(--lemon);animation:guesswiz-spark .6s var(--out) both;transform:rotate(var(--angle))}
@keyframes guesswiz-spark{from{opacity:1;transform:rotate(var(--angle)) translateX(0) scale(1)}to{opacity:0;transform:rotate(var(--angle)) translateX(44px) scale(.3)}}
.device .board-row,.device .live-result-row{position:relative;isolation:isolate;background:var(--panel);border:0;border-radius:14px;padding:16px;margin:10px 0;min-height:76px;overflow:visible}
.result-meter{position:absolute;left:0;bottom:0;width:100%;height:4px;overflow:hidden;border-radius:0 0 14px 14px;pointer-events:none}.result-meter i{display:block;background:var(--lemon);height:100%;width:100%;transform:scaleX(var(--ratio));transform-origin:left;animation:guesswiz-bar .65s var(--out) both;animation-delay:var(--stagger)}
@keyframes guesswiz-bar{from{transform:scaleX(0)}to{transform:scaleX(var(--ratio))}}
.winner-hat{position:absolute;left:28px;top:-28px;width:50px;height:44px;pointer-events:none;z-index:2;animation:guesswiz-hat .9s .35s var(--out) both}
.device .board-row .crown{display:none}.device .round-recap{border-color:var(--line)}
.device :is(.picture-zoom,.picture-dialog,.peek-stage,.time-clip-stage){background:var(--panel);border-color:var(--line);border-radius:14px}.device .time-clip-orb.lit{background:var(--lemon);box-shadow:0 0 45px #dff26960}
@media(min-width:700px) and (min-height:760px){body{background:radial-gradient(ellipse at 50% 40%,#171a20,#0b0c0f)}.device{width:390px;height:min(844px,calc(var(--visible-height,100dvh) - 32px));border-radius:36px;box-shadow:0 0 0 1px #ffffff12,0 40px 120px #0008}}
@media(max-height:699px){.device .screen{padding:12px 20px 16px;scroll-padding-bottom:16px}.device .app-header{padding:6px 20px;min-height:56px}.device .footer-actions{position:static!important;margin-top:12px;padding-bottom:max(8px,env(safe-area-inset-bottom,0px))}.device .ruler-number{font-size:44px;min-height:49px}.device .ruler-input{margin:4px 0 8px}.device .input-ruler{height:86px;margin-block:4px}.device .ruler-unit{margin:2px 0 4px}.device .ruler-help{display:none}.device .ruler-quick{margin:4px 0}.device :is(.question-text,.live-question){font-size:1.75rem!important}.device #screen-start .brand-hero{margin:12px 0 20px;gap:12px}.device .studio-reveal .signature-real{font-size:44px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.guesswiz-sparks{display:none}.device::before{transform:none}}

/* Start the reveal effects when their values actually become visible. */
.device .reveal-pending .comparison-diagram,.device .reveal-pending .comparison-marker,.device .reveal-pending .comparison-solution::after,.device .score-pending .guesswiz-sparks i{animation:none}
.device .reveal-pending .comparison-diagram{opacity:0}
.device #screen-start .action-number{color:var(--lemon)}
/* Retire the former wide studio layout on every screen, including wide desktop viewports. */
.device,.device.wide-play,.device:has(#screen-start.active),.device:has(#screen-reveal.active){max-width:430px!important;transition:none}
.device::before,.device::after{display:block!important}
.device.wide-play .screen.active.table-scene{display:flex;flex-direction:column;padding:20px 24px 24px}
.device.wide-play .screen.active.table-scene>.table-roster{position:static;border-left:0;padding:16px 0 0;grid-column:auto;grid-row:auto;align-self:stretch}
.device:has(#screen-reveal.active) .screen{padding-inline:24px}
.device:has(#screen-reveal.active) .signature-real{font-size:56px}
.device.wide-play .app-header{padding:12px 24px}
@media(min-width:700px) and (min-height:760px){.device,.device.wide-play{max-width:390px!important;border-radius:36px}}
@media(max-height:699px){.device.wide-play .screen.active.table-scene{padding:12px 20px 16px}.device:has(#screen-reveal.active) .screen{padding-inline:20px}.device:has(#screen-reveal.active) .signature-real{font-size:44px}.device.wide-play .app-header{padding:6px 20px}}
/* Feinschliff Start: Wortmarke ohne Kasten, ein Logo, gesperrtes Duell (pendelndes Lineal: Willkommensseite unten). */
@supports (mask-mode:luminance){.device .guesswiz-header-wordmark{-webkit-mask:url(/assets/brand/guesswiz-wortmarke-dunkel.svg) center/100% 100% no-repeat;mask:url(/assets/brand/guesswiz-wortmarke-dunkel.svg) center/100% 100% no-repeat;mask-mode:luminance}}
.device #screen-start .brand-wordmark{display:none}
.device #screen-start .brand-hero{margin:20px 0}
/* Einstieg: kurzer Speicherhinweis mit Verweis. */
.device .auth-security-note{font:.875rem/1.5 var(--ui)}
.device .auth-data-link{display:inline-block;min-height:0;padding:13px 0;margin:-13px 0;font:inherit;color:var(--lemon);text-decoration:underline;text-underline-offset:3px}
/* Spielfluss: zuletzt gespielter Modus dezent markiert. */
.device #screen-start .start-primary-actions .home-action.last-played:not(.primary){box-shadow:inset 0 0 0 1.5px var(--lemon)}
.device #screen-start .start-primary-actions .home-action .last-played-tag{display:block;font:600 .75rem/1.3 var(--ui);letter-spacing:.04em;text-transform:uppercase;color:var(--lemon);margin-top:6px}
/* Die hervorgehobene Kachel ist nur gelb, solange keine wartende Runde angezeigt wird (Regel in index.html). */
.device #screen-start:not(:has(.resume-card:not([hidden]))) .start-primary-actions .home-action.primary .last-played-tag{color:var(--ink)}
.device #screen-start:has(.resume-card:not([hidden])) .start-primary-actions .home-action.primary.last-played{box-shadow:inset 0 0 0 1.5px var(--lemon)}
/* Profil/Anmeldung im Stil der übrigen App. */
.device .auth-login-hero{padding:4px 0 20px;margin-bottom:20px}
.device .auth-login-eyebrow{font:600 .75rem var(--ui);letter-spacing:.08em}
.device .auth-login-title{font-family:var(--display);font-weight:400;font-size:44px;line-height:1;letter-spacing:-.02em;margin:0 0 12px}
.device .auth-login-title span{font-weight:400;color:var(--lemon)}
.device .auth-login-sub{font:1rem/1.5 var(--ui);max-width:none}
.device .auth-field label{font:600 .75rem var(--ui);letter-spacing:.08em}
.device .auth-field input{font:500 1.125rem var(--ui);background:var(--panel);border:1.5px solid var(--line);border-radius:14px;padding:14px 16px;min-height:52px}
.device .auth-field input:focus{border-color:var(--lemon)}
.device .auth-field input::placeholder{color:var(--muted);opacity:.7}
.device .auth-error{font:.875rem/1.4 var(--ui);min-height:20px}
/* Guess Yourself und Level-Anzeige im App-Stil; Testerbereich eingeklappt. */
.device .knowledge-plus-title{font-family:var(--display);font-weight:400;font-size:44px;line-height:1;letter-spacing:-.02em}
.device .knowledge-plus-title span{font-weight:400;color:var(--lemon)}
.device .knowledge-plus-sub{font:1rem/1.5 var(--ui);max-width:none}
.device .plus-eyebrow,.device .knowledge-profile-control label{font:600 .75rem var(--ui);letter-spacing:.08em}
.device .knowledge-profile-control select{font:500 1rem var(--ui);background:var(--panel);border:1.5px solid var(--line);border-radius:14px;min-height:48px;padding:10px 14px}
.device .level-badge{font:600 .875rem var(--ui)}
.device details.review-panel>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font:600 1rem var(--ui);color:var(--muted)}
.device details.review-panel[open]>summary{color:var(--paper)}
.device .hero-difference:empty{display:none}
/* Party-Einrichtung: Zusatzregeln eingeklappt. */
.device details.setup-extras>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;min-height:48px}
.device details.setup-extras>summary::-webkit-details-marker{display:none}
.device details.setup-extras>summary h3{margin:0}
.device details.setup-extras>summary::after{content:'+';font:400 1.375rem var(--ui);color:var(--lemon);margin-left:12px}
.device details.setup-extras[open]>summary::after{content:'−'}
.device .setup-extras-hint{margin-left:auto;font:.875rem var(--ui);color:var(--muted)}
/* Lineal: Schrittweite hinter „Mehr“. */
.device .ruler-adjust.compact{grid-template-columns:1fr 1fr}
.device .ruler-quick .ruler-more{flex:0 0 auto;padding-inline:16px;color:var(--muted)}
/* Breite Bildschirme: die alte Zwei-Spalten-Regel darf die Moduskacheln nicht mehr in eine schmale Spalte drücken. */
.device #screen-start .start-primary-actions>.home-action{grid-column:auto}
.device #screen-start :is(.home-topline,.brand-hero,.resume-card,.new-game-label,.start-primary-actions,.home-nav,.home-foot){grid-column:auto;grid-row:auto}
/* Letzte Serifenreste auf die App-Schrift. */
.device [style*="Georgia"]{font-family:var(--ui)!important}
.device :is(#turn-name,.knowledge-overview-card strong,.knowledge-topic-score strong,.auth-account-monogram,.stat-value){font-family:var(--ui)}
/* Endstand: Sieger groß, Aktionen im Seitenfluss statt über der Rangliste. */
.device #final-headline{font-size:40px;line-height:1.05;margin:4px 0 24px;overflow-wrap:anywhere}
.device #screen-final .footer-actions{position:static;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px;padding-top:0;background:none}
.device #screen-final .footer-actions .btn-primary{grid-column:1/-1}
.device #screen-final .footer-actions .intro-copy{grid-column:1/-1;margin:4px 0 0;font:.875rem/1.45 var(--ui);color:var(--muted);text-align:center}
.device #screen-final .footer-actions .btn-ghost{padding-inline:8px}
/* Auflösung: offene Quellenprüfung als eine ruhige Zeile. */
.device .question-quality-open{background:none;border:0;border-radius:0;padding:0;margin:12px 0;display:flex;flex-wrap:wrap;gap:0 8px;font:.875rem/1.5 var(--ui);color:var(--muted)}
.device .question-quality-open b{font-weight:400}
.device .question-quality-open small{display:inline}
/* Bildfragen beim Schätzen: Bild kompakt, damit Eingabe und Knopf ohne Scrollen erreichbar bleiben. */
@media(max-width:560px){
 :is(#screen-guess,#screen-daily-question,#screen-career-play,#screen-live) .picture-question{margin:8px 0 10px!important}
 :is(#screen-guess,#screen-daily-question,#screen-career-play,#screen-live) .picture-question img{max-height:150px}
 :is(#screen-guess,#screen-daily-question,#screen-career-play,#screen-live) .picture-question .peek-stage{max-height:150px}
 :is(#screen-guess,#screen-daily-question,#screen-career-play,#screen-live) .picture-question figcaption{display:inline;font-size:.75rem;margin:4px 8px 0 0}
.picture-credit a{color:inherit;text-decoration:underline;text-underline-offset:2px}
}

/* Party-Einrichtung in Schritten: ein Thema je Bildschirm (Bedienlogik in index.html, „Einrichtung in Schritten“). */
.device #screen-setup .setup-step-off{display:none!important}
.device #screen-setup #setup-title{margin-bottom:6px!important}
.device .setup-steps{margin:0 0 2px}
.device .setup-steps ol{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:6px;list-style:none;margin:0;padding:0}
.device .setup-steps button{position:relative;display:block;width:100%;height:44px;padding:0;border:0;background:none;cursor:pointer}
.device .setup-steps button::before{content:'';position:absolute;left:0;right:0;top:20px;height:4px;border-radius:2px;background:var(--surface-2);transition:background .2s var(--out)}
.device .setup-steps button.done::before{background:rgba(223,242,105,.45)}
.device .setup-steps button.current::before{background:var(--lemon)}
.device .setup-step-label{margin:-8px 0 0;font:600 .75rem var(--ui);letter-spacing:.11em;text-transform:uppercase;color:var(--muted)}
.device #screen-setup .setup-group-title{margin:16px 0 18px}
.device #screen-setup .setup-group-title:focus{outline:none}
/* Titel, auf den der Fokus nach einem Bildschirmwechsel geht (Gesamtprüfung Paket 4, Nr. 9): kein Bedienelement, deshalb wie
   bei den Schritt-Titeln der Einrichtung ohne Rahmen. */
.device [data-screen-title]:focus{outline:none}
/* Fenster nehmen den Fokus sofort an (Gesamtprüfung Paket 4, Nr. 19). Die Sichtbarkeit wurde beim Öffnen übergeblendet; im
   ersten Augenblick galt das Fenster deshalb noch als unsichtbar, und jeder Fokus dorthin ging verloren. Beim Öffnen schaltet
   sie jetzt sofort um, beim Schließen bleibt die Überblendung. Der Titel ist Fokusziel, aber kein Bedienelement. */
.modal-overlay.open{transition:opacity .2s ease,visibility 0s}
.device .modal-title:focus{outline:none}
.device .setup-step-footer{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center}
.device .setup-step-footer>.setup-summary,.device .setup-step-footer>.setup-step-hint{grid-column:1/-1}
.device .setup-step-footer>.btn{width:auto;margin:0}
.device .setup-step-footer>.btn-ghost{grid-column:1;padding-inline:22px}
.device .setup-step-footer>.btn-primary{grid-column:2}
.device .setup-step-footer>.btn-ghost.setup-step-off+.btn-primary{grid-column:1/-1}
.device .setup-step-hint{margin:0;font:500 .875rem/1.4 var(--ui);color:var(--coral)}
.device .setup-step-hint:empty{display:none}
.device #setup-skip-btn{display:block;min-height:44px;padding:8px 0 0;color:var(--lemon);font:600 .875rem var(--ui)}

/* Kleine sichtbare Fehler aus dem Durchgang vom 12.10.2026 */
/* Nummer der hervorgehobenen Kachel: Gelb auf Gelb war unsichtbar. Nur solange die Kachel gelb ist. */
.device #screen-start:not(:has(.resume-card:not([hidden]))) .start-primary-actions .home-action.primary .action-number{color:var(--ink)}
.device #home-daily-status:empty{display:none}
/* Hohe Handys: freien Platz über und unter den Kacheln verteilen statt alles oben zu stapeln. */
.device #screen-start .start-primary-actions{margin-block:auto}
/* Solo: „Beenden“ in der Kopfzeile; das Profil-Kürzel macht dafür Platz (das Level steht im Spielbild). */
.device .app-header .quit-run-button{margin-left:auto;min-height:44px;padding:0 4px;font:500 .875rem var(--ui);color:var(--muted)}
.device .app-header.run-active .app-header-profile{display:none!important}
/* Mindestgröße für Beschriftungen: 8 und 9 Pixel waren am Handy kaum lesbar. */
.device :is(.plus-feature-index,.plus-feature-badge,.plus-feature-open,.knowledge-profile-control label,.knowledge-overview-card span,.knowledge-overview-card small,.knowledge-section-head,.knowledge-topic-index,.knowledge-topic-level,.knowledge-topic-score span,.knowledge-coverage-copy,.knowledge-trend,.auth-entry-copy small,.auth-login-eyebrow){font-size:.75rem;letter-spacing:.04em}
.device .plus-feature p{font-size:.875rem}

/* Ehrliche Beschriftung: Werkzeuge für Tester nur mit ?tester in der Adresse (Klasse „tester“ am html-Element). */
html:not(.tester) :is(.report-question-btn,.review-panel,.tester-only){display:none!important}

/* Auflösung: Der Kasten über „Details & Quelle“ erscheint nur für geprüfte Fragen (Quelle, Datum). Für offene
   Fragen stand dort „Redaktionelle Prüfung offen · Noch kein Quellenbeleg hinterlegt“; der Stand der Prüfung
   steht weiterhin unter „Details & Quelle“. Tester sehen den Kasten immer. */
html:not(.tester) .question-quality-open{display:none}

/* Spielfluss: Warteraum, Rückblick im Guess Rank */
.device .live-start-hint{margin:-2px 0 0;font:.875rem/1.4 var(--ui);color:var(--muted);text-align:center}
.device .daily-recap{margin-top:18px}
.device .daily-recap .stat-label{margin-bottom:6px}
.device .daily-recap .stats-row{gap:14px;align-items:flex-start;padding:10px 0}
.device .daily-recap .stats-row span{min-width:0;font:500 .875rem/1.35 var(--ui)}
.device .daily-recap .stats-row small{display:block;margin-top:3px;font:.875rem/1.35 var(--ui);color:var(--muted)}
.device .daily-recap .stats-row b{font:700 1rem var(--ui);color:var(--lemon);white-space:nowrap}

/* Startbild beim Öffnen der App (einmal je Sitzung): Das Lineal zieht auf, der Hut pendelt sich als Regler ein, der
   Schriftzug steigt auf, der Hut springt auf das G. Danach fliegt das Logo an seinen Platz (Skript in index.html).
   Fallback ohne Skript: Nach 6 Sekunden blendet sich das Startbild selbst aus. Die Klasse am html-Element heißt
   gw-intro-play, damit die Regel für .gw-intro nicht auf <html> selbst greift und die Seite ausblendet. */
.gw-intro{display:none}
html.gw-intro-play body{overflow:hidden}
html.gw-intro-play .gw-intro{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;cursor:pointer;-webkit-tap-highlight-color:transparent;animation:gw-intro-away .3s 6s forwards}
@keyframes gw-intro-away{to{opacity:0;visibility:hidden;pointer-events:none}}
.gw-intro-bg{position:absolute;inset:0;background:#101216}
.gw-intro-stage{position:relative;display:grid;justify-items:center;width:min(76vw,340px);margin-top:-6vh}
.gw-intro-mark{display:block;width:100%;height:auto;overflow:visible}
.gw-intro-ruler{display:block;width:132%;max-width:none;height:auto;margin-top:-4%;overflow:visible}
html.gw-intro-play .gw-intro-line{transform-box:fill-box;transform-origin:center;animation:gw-intro-line .5s var(--out) both}
@keyframes gw-intro-line{from{transform:scaleX(0)}}
html.gw-intro-play .gw-intro-tick{transform-box:fill-box;transform-origin:50% 0;animation:gw-intro-tick .3s var(--out) both;animation-delay:calc(.12s + var(--d) * 15ms)}
@keyframes gw-intro-tick{from{transform:scaleY(0);opacity:0}}
/* Der Hut ist der Regler: Er rutscht übers Lineal, pendelt sich ein und springt aufs G. Ziel des Sprungs
   (-333.92, -165.93) folgt aus den Maßen oben (Wortmarke 100 %, Lineal 132 % mittig, -4 %); Test rechnet nach. */
html.gw-intro-play .gw-intro-knob{transform-box:view-box;transform-origin:540px 34px;animation:gw-intro-knob 1.7s cubic-bezier(.3,.7,.3,1) .15s both}
@keyframes gw-intro-knob{0%{transform:translateX(-470px) rotate(-12deg);opacity:0}7%{opacity:1}30%{transform:translateX(96px) rotate(9deg)}42%{transform:translateX(-30px) rotate(-5deg)}50%{transform:translateX(8px) rotate(2deg)}56%{transform:none}64%{transform:translateY(3px) scale(1.06,.9);animation-timing-function:cubic-bezier(.2,.6,.4,1)}83%{transform:translate(-250px,-235px) rotate(-8deg);animation-timing-function:cubic-bezier(.5,0,.8,.6)}99%{transform:translate(-333.92px,-165.93px) rotate(14deg);opacity:1}100%{transform:translate(-333.92px,-165.93px) rotate(14deg);opacity:0}}
html.gw-intro-play .gw-intro-letter{transform-box:fill-box;transform-origin:50% 100%;animation:gw-intro-letter .5s var(--out) both;animation-delay:calc(.82s + var(--i) * 50ms)}
@keyframes gw-intro-letter{from{transform:translateY(90px) scale(.9);opacity:0}}
html.gw-intro-play .gw-intro-hat{transform-box:fill-box;transform-origin:50% 100%;animation:gw-intro-hat .42s ease-out 1.833s both}
@keyframes gw-intro-hat{0%{opacity:0}2%{opacity:1;transform:scale(1.05,.9)}45%{transform:scale(.98,1.04)}100%{transform:none}}
/* Kurze Fassung für Wiederkehrende (Alex, 3.12.2026): ohne die Fahrt des Hutes übers Lineal. Lineal, Buchstaben und Hut
   erscheinen zügig an ihrem Platz und stehen nach rund 0,4 s; das Skript lässt das Bild 520 ms stehen und fliegt dann 420 ms. */
html.gw-intro-play.gw-intro-quick .gw-intro-line{animation-duration:.25s}
html.gw-intro-play.gw-intro-quick .gw-intro-tick{animation-duration:.2s;animation-delay:calc(var(--d) * 4ms)}
html.gw-intro-play.gw-intro-quick .gw-intro-knob{animation:none;opacity:0}
html.gw-intro-play.gw-intro-quick .gw-intro-letter{animation-duration:.24s;animation-delay:calc(var(--i) * 18ms)}
html.gw-intro-play.gw-intro-quick .gw-intro-hat{animation-duration:.26s;animation-delay:.14s}

/* Willkommensseite (nur beim allerersten Öffnen): Logo und Lineal oben, darunter Gast und die angekündigten
   Konten. Apple, Google und E-Mail sind noch nicht verbunden und tragen deshalb „Bald“ wie Guess Duel. */
.device #screen-splash.active{justify-content:space-between;gap:24px}
.device #screen-splash .welcome-brand{display:grid;justify-items:center;margin:auto 0}
.device #screen-splash .splash-logo{margin:0;width:100%}
.device #screen-splash .splash-ruler{margin:-3% -48px 0;width:calc(100% + 96px);animation:guesswiz-welcome-sway 9s ease-in-out infinite}
@keyframes guesswiz-welcome-sway{0%,100%{transform:none}25%{transform:translateX(-14px)}75%{transform:translateX(14px)}}
.device #screen-splash .welcome-tagline{margin:18px 0 0;font:1rem/1.5 var(--ui);color:var(--muted);text-align:center}
.device #screen-splash .splash-actions{display:grid;gap:10px;margin:0}
.device #screen-splash :is(.welcome-tagline,.splash-actions){transition:opacity .45s var(--out) .05s,transform .45s var(--out) .05s}
html.gw-intro-play .device #screen-splash :is(.welcome-tagline,.splash-actions){opacity:0;transform:translateY(14px)}
html.gw-intro-play .device #screen-splash .splash-ruler{animation:none}
.device .welcome-divider{display:flex;align-items:center;gap:12px;margin:8px 0 0;font:600 .75rem/1 var(--ui);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.device .welcome-divider::before,.device .welcome-divider::after{content:'';flex:1;height:1px;background:var(--line)}
.device .signin-providers{display:grid;gap:8px}
.device .signin-provider{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:50px;margin:0;padding:0 14px 0 20px;border:0;border-radius:999px;background:var(--panel);box-shadow:none;color:var(--paper);font:600 1rem/1.2 var(--ui);text-align:left;cursor:default}
.device .signin-provider::after{content:'Bald';flex:none;padding:6px 10px;border:1px solid var(--lemon);border-radius:999px;font:600 .75rem/1 var(--ui);letter-spacing:.06em;text-transform:uppercase;color:var(--lemon)}
.device .signin-provider:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}
.device .signin-soon{margin:2px 0 0;font:.875rem/1.45 var(--ui);color:var(--muted);text-align:center}
.device .signin-soon.flash{animation:signin-soon-flash .7s var(--out)}
@keyframes signin-soon-flash{from{color:var(--lemon)}}
.device .welcome-local{justify-self:center;min-height:44px;padding:0 8px;font:600 .875rem var(--ui);color:var(--lemon);text-decoration:underline;text-underline-offset:3px}
.device .signin-block{display:grid;gap:10px;margin:0 0 26px}
.device .signin-block-title{margin:0 0 2px;font:600 .75rem/1.3 var(--ui);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.device .auth-local-title{margin-bottom:16px;padding-top:22px;border-top:1px solid var(--line)}
.device #auth-logged-out .signin-block{margin-bottom:22px}
@media(max-height:700px){.device #screen-splash.active{gap:14px}.device #screen-splash .welcome-tagline{margin-top:10px;font-size:.875rem}.device .signin-provider{min-height:44px}.device #screen-splash .splash-actions{gap:8px}}

/* Marke (Alex, 16. und 18.10.2026): Auf dem Lineal der Startseite wandert der Punkt, und der Zauberhut fährt
   auf ihm mit. Nach dem Öffnen (erst wenn das Startbild weg ist) springt der Hut von links auf den Punkt.
   Der Hut neigt sich mit der Bewegung: gleiche Dauer und Richtung wie home-ruler-sweep. Im Spiel bleibt der Ring
   ohne Hut, weil er den genauen Wert anzeigt. */
.device #screen-start .home-ruler i::after{content:'';position:absolute;left:50%;bottom:calc(100% - 4px);width:30px;height:28px;margin-left:-15px;transform-origin:50% 100%;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-166 -262 332 314'%3E%3Cg transform='rotate(14)'%3E%3Cg%3E%0A%3Cg fill='%23101216' stroke='%23101216' stroke-width='22' stroke-linejoin='round'%3E%3Cpath d='M-112,-16 C-92,-104 -52,-206 44,-266 C22,-196 52,-92 114,-16 Z'/%3E%3Cpath d='M-156,-4 C-156,-32 156,-32 156,-4 C156,20 -156,20 -156,-4 Z'/%3E%3C/g%3E%0A%3Cg fill='%23DFF269'%3E%3Cpath d='M-112,-16 C-92,-104 -52,-206 44,-266 C22,-196 52,-92 114,-16 Z'/%3E%3Cpath d='M-156,-4 C-156,-32 156,-32 156,-4 C156,20 -156,20 -156,-4 Z'/%3E%3C/g%3E%0A%3CclipPath id='h'%3E%3Cpath d='M-112,-16 C-92,-104 -52,-206 44,-266 C22,-196 52,-92 114,-16 Z'/%3E%3C/clipPath%3E%0A%3Cg clip-path='url(%23h)'%3E%3Crect x='-130' y='-74' width='260' height='46' fill='%23FFFFFF'/%3E%3Crect x='-106.5' y='-72' width='5' height='30' fill='%23101216'/%3E%3Crect x='-90.5' y='-72' width='5' height='18' fill='%23101216'/%3E%3Crect x='-74.5' y='-72' width='5' height='30' fill='%23101216'/%3E%3Crect x='-58.5' y='-72' width='5' height='18' fill='%23101216'/%3E%3Crect x='-42.5' y='-72' width='5' height='30' fill='%23101216'/%3E%3Crect x='-26.5' y='-72' width='5' height='18' fill='%23101216'/%3E%3Crect x='-10.5' y='-72' width='5' height='30' fill='%23101216'/%3E%3Crect x='5.5' y='-72' width='5' height='18' fill='%23101216'/%3E%3Crect x='21.5' y='-72' width='5' height='30' fill='%23101216'/%3E%3Crect x='37.5' y='-72' width='5' height='18' fill='%23101216'/%3E%3Crect x='53.5' y='-72' width='5' height='30' fill='%23101216'/%3E%3Crect x='69.5' y='-72' width='5' height='18' fill='%23101216'/%3E%3Crect x='85.5' y='-72' width='5' height='30' fill='%23101216'/%3E%3Crect x='101.5' y='-72' width='5' height='18' fill='%23101216'/%3E%3C/g%3E%0A%3C/g%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;pointer-events:none}
.device #screen-start.active .home-ruler i{animation:home-ruler-sweep 4.8s ease-in-out infinite alternate,gw-home-hat-lean 4.8s ease-in-out infinite alternate}
/* Günstige Bewegung (Gesamtprüfung Paket 2, Nr. 3; 3.12.2026). Der Punkt auf dem Lineal der Startseite wandert endlos; bisher
   über „left“, was bei jedem Bild Layout-Arbeit kostet. Wo der Browser Maße des umgebenden Kastens kennt (cqw), wandert er
   stattdessen über „translate“: gleiche Strecke (12 % bis 88 % der Linealbreite), gleiche Dauer. Ältere Browser behalten „left“. */
@supports (translate:1cqw){
.device #screen-start .home-ruler{container-type:inline-size}
.device #screen-start.active .home-ruler i{left:12%}
@keyframes home-ruler-sweep{from{translate:0 0}to{translate:76cqw 0}}
}
/* Zeitbalken in Solo: füllt die Spur ganz und wird von links gestaucht (index.html setzt scaleX), statt die Breite zu ändern. */
.device .career-timer-fill{width:100%;transform-origin:left center;transition:transform 1s linear}
@keyframes gw-home-hat-lean{0%,100%{rotate:0deg}25%{rotate:-7deg}75%{rotate:7deg}}
html:not(.gw-intro-play) .device #screen-start.active .home-ruler i::after{animation:gw-home-hat-hop .75s cubic-bezier(.3,.6,.3,1) .25s both}
@keyframes gw-home-hat-hop{0%{opacity:0;translate:-78px 6px;rotate:-25deg}15%{opacity:1}45%{translate:-36px -44px;rotate:-12deg}74%{translate:0 0;rotate:4deg;scale:1.12 .82}88%{translate:0 -3px;rotate:-2deg;scale:.96 1.05}100%{translate:0 0;rotate:0deg;scale:1}}
.device #screen-start .home-ruler i::before{display:none}

/* Tastatur offen (Klasse keyboard-open aus viewportHeight in index.html): Die App sitzt am oberen Rand des sichtbaren
   Bereichs statt mittig in der ganzen Seite, sonst liegt ihr unteres Stück unter der Tastatur. */
html.keyboard-open body{align-items:flex-start}
html.keyboard-open .device{margin-top:var(--visible-top,0px)}
/* Fenster bei offener Tastatur (iPhone, Anmeldung per E-Mail-Code, 22.10.2026): Das Fenster klebte am unteren Rand der
   ganzen Seite und lag damit hinter der Tastatur. Jetzt füllt die Abdunkelung nur den sichtbaren Bereich, die Karte sitzt
   direkt über der Tastatur und scrollt in sich, wenn sie höher ist. */
html.keyboard-open .modal-overlay{top:var(--visible-top,0px);bottom:auto;height:var(--visible-height,100dvh)}
html.keyboard-open .modal-card{max-height:calc(var(--visible-height,100dvh) - 16px)!important}

/* Konto (Teil 4): Ein eingerichteter Anbieter verliert „Bald“ und wird zum normalen Knopf. „Konto löschen“ nur mit Konto. */
.device .signin-provider.ready{cursor:pointer;background:var(--paper);color:var(--ink)}
.device .signin-provider.ready::after{content:'→';border:0;padding:0;font:600 1.125rem/1 var(--ui);letter-spacing:0;text-transform:none;color:var(--ink)}
.device .account-delete{display:block;margin:14px auto 0;min-height:44px;padding:0 8px;font:600 .875rem var(--ui);color:var(--coral);text-decoration:underline;text-underline-offset:3px}
.device .account-delete[hidden]{display:none}
.device .account-note{margin:6px 0 0;font:.875rem/1.45 var(--ui);color:var(--muted);text-align:center}
#account-toast{font:600 .875rem/1.4 var(--ui);background:var(--paper);color:var(--ink);width:max-content;max-width:min(340px,calc(100vw - 32px));text-align:center;border-radius:999px;padding:12px 18px;top:calc(max(16px,env(safe-area-inset-top,0px)) + 64px)}
/* E-Mail mit Code (Teil 3): Formular im Fenster. */
.device .email-login{display:grid;gap:12px;text-align:left}
.device .email-login-step{display:grid;gap:12px}
.device .email-login-step[hidden]{display:none}
.device .email-login-status{margin:0;min-height:1.4em;font:600 .875rem/1.4 var(--ui);color:var(--paper)}
.device .email-login-note{margin:0;font:.875rem/1.45 var(--ui);color:var(--muted)}
/* Impressum & Datenschutz: eigene Seite, verlinkt auf Willkommensseite, Startseite und in den Einstellungen. */
.device .home-foot #install-app-btn{margin-right:18px}
.device .home-foot a.legal-link{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;color:inherit}
.device .welcome-legal{justify-self:center;display:inline-flex;align-items:center;min-height:44px;padding:0 8px;font:.75rem var(--ui);color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.device .modal-card a{color:var(--lemon);text-underline-offset:3px}
/* Hinweis auf der alten chatgpt.site-Adresse: Guesswiz ist auf www.guesswiz.app umgezogen (nur dort per Skript eingefügt). */
.device .moved-banner{display:block;flex:none;margin:0 0 14px;padding:12px 14px;border:1px solid var(--lemon);border-radius:12px;background:var(--panel);color:var(--lemon);font:600 .875rem/1.35 var(--ui);text-align:center;text-decoration:none}
.device #screen-start .moved-banner{grid-column:1/-1}
/* Anmeldeknöpfe mit Zeichen des Anbieters (Alex, 22.10.2026): Google mit dem üblichen „G“ aus Googles Anmeldeknöpfen,
   E-Mail mit Briefumschlag. Das Zeichen steht links, der Pfeil (bzw. „Bald“) rechts. Text und Bedienung unverändert. */
.device .signin-provider{justify-content:flex-start}
.device .signin-provider::after{margin-left:auto}
.device .signin-provider:is([data-provider="Google"],[data-provider="E-Mail"])::before{content:'';flex:none;width:20px;height:20px;background:center/contain no-repeat}
.device .signin-provider[data-provider="Google"]::before{background-image:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22><path fill=%22%23EA4335%22 d=%22M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z%22/><path fill=%22%234285F4%22 d=%22M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z%22/><path fill=%22%23FBBC05%22 d=%22M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z%22/><path fill=%22%2334A853%22 d=%22M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z%22/></svg>")}
.device .signin-provider[data-provider="E-Mail"]::before{background-image:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23101216%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><rect x=%223%22 y=%225%22 width=%2218%22 height=%2214%22 rx=%222%22/><path d=%22m3 7 9 6 9-6%22/></svg>")}
.device .signin-provider[data-provider="E-Mail"]:not(.ready)::before{background-image:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23FFFFFF%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><rect x=%223%22 y=%225%22 width=%2218%22 height=%2214%22 rx=%222%22/><path d=%22m3 7 9 6 9-6%22/></svg>")}
/* Anmeldung ist Pflicht (22.10.2026): Ein Weg, der gerade nicht erreichbar ist (ohne Netz, vor der Antwort des Servers),
   steht ohne „Bald“ und gedämpft da; der Hinweis darunter nennt den Grund. */
.device .signin-provider:not(.ready)::after{content:none}
.device .signin-provider:not(.ready){opacity:.55}


/* Guess Duel: Liste der Duelle, Spielstand, Rundenübersicht und Kategorienwahl. */
.device .duel-list{display:grid;gap:10px;margin:18px 0}
.device .duel-group{font:600 .75rem var(--ui);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:12px 0 2px}
.device .duel-item{display:grid;grid-template-columns:1fr auto;gap:2px 12px;align-items:center;width:100%;min-height:var(--control-height);padding:12px 16px;border:0;border-radius:var(--radius-panel);background:var(--panel);color:var(--paper);text-align:left;font:600 1rem var(--ui);cursor:pointer}
.device .duel-item small{grid-column:1/-1;font:.875rem/1.4 var(--ui);color:var(--muted)}
.device .duel-item-score{font:1.375rem var(--display)}
.device .duel-score{display:flex;justify-content:center;align-items:baseline;gap:14px;margin:8px 0 16px;font:44px var(--display);color:var(--paper)}
.device .duel-score small{font-size:1.75rem;color:var(--muted)}
.device .duel-rounds{list-style:none;margin:18px 0;padding:0;display:grid;gap:6px}
.device .duel-rounds li{display:grid;grid-template-columns:5.5em 1fr auto;gap:10px;padding:10px 14px;border-radius:10px;background:var(--panel);font:.875rem var(--ui);color:var(--muted)}
.device .duel-rounds li span:last-child{color:var(--paper);font-weight:600}
.device .duel-categories{display:grid;gap:10px;margin:12px 0}
.device .duel-invite{display:grid;gap:10px;margin:0 0 18px;padding:14px;border:1px dashed var(--line);border-radius:var(--radius-panel)}
.device .duel-invite .intro-copy{margin:0}
.device .duel-result{font:600 1.125rem var(--ui);color:var(--paper)}
.device #screen-start .start-primary-actions .home-action .duel-badge{color:var(--lemon);font-weight:600}
/* Push für Guess Duel: einmalige Frage nach dem eigenen Zug. */
.device .duel-push{display:grid;gap:10px;margin:0 0 18px;padding:14px;border:1px solid var(--line);border-radius:var(--radius-panel);background:var(--panel)}
.device .duel-push .intro-copy{margin:0}
.device .duel-push-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.device .duel-push-actions .btn{width:auto;flex:1 1 auto;min-width:0}
.device .duel-push [role="status"]:empty{display:none}
/* Ohne Konto spielen (Alex, 23.10.2026): Solo und Guess Rank direkt von der Willkommensseite. Seit 3.12.2026 der Hauptknopf
   ganz oben; die Anmeldung folgt darunter mit etwas Abstand. */
.device .splash-guest{width:100%;margin-top:0}
.device .splash-guest-note + .welcome-divider{margin-top:14px}
.device .splash-guest-note{margin:0;font:.875rem/1.45 var(--ui);color:var(--muted);text-align:center}
.device .signin-required{margin:0 0 14px;padding:12px 14px;border-radius:var(--radius-panel);background:var(--lemon-dim);color:var(--paper);font:600 .875rem/1.45 var(--ui)}
/* Google-Knopf nach Googles Vorgaben für „Sign in with Google“ (Prüfung 24.10.2026): heller Knopf mit 1 px Innenrand
   #747775 und Text #1F1F1F, links das unveränderte farbige „G“, kein zusätzlicher Pfeil. Die Schrift bleibt Archivo,
   weil die App keine Schriften von fremden Servern lädt (Datenschutzseite). Der E-Mail-Knopf bekommt dieselbe Form,
   damit Google nicht weniger auffällig ist als die andere Anmeldung. */
.device .signin-provider.ready{box-shadow:inset 0 0 0 1px #747775;color:#1F1F1F}
.device .signin-provider.ready::after{content:none}
/* Online-Raum: Name und Raumcode wie die Anmeldefelder; die allgemeine Textfeld-Regel (flex:1) dehnte sie am Handy. */
.device #screen-live :is(#live-name,#live-code){flex:0 0 auto;min-height:52px;font:500 1.125rem var(--ui);background:var(--panel);border:1.5px solid var(--line);border-radius:14px;padding:14px 16px}
.device #screen-live :is(#live-name,#live-code):focus{border-color:var(--lemon);outline:none}
.device #screen-live #live-code{text-transform:uppercase;letter-spacing:.12em}

/* Neue Auflösung (Durchsicht 25.10.2026, Prototyp von Alex freigegeben): kompakte Frage, Anzeigetafel, Spieltisch
   mit Lineal, Spielsteine und Hut (reveal-stage.js); Punkte und Fun Fact ohne Scrollen sichtbar. */
.device .stage-reveal .answer-block{margin:0 0 2px}
/* Nur solange eine Auflösung auf dem Bildschirm steht: Online-Raum und Duell zeigen Frage und Auflösung auf demselben
   Bildschirm (Befund Codex, Vorprüfung Version 29). */
.device .stage-reveal:has(.reveal-stage) .answer-block .question-text,.device .stage-reveal:has(.reveal-stage) .live-question{font:700 1.125rem/1.3 var(--ui)!important;letter-spacing:0!important;color:#d9dde4!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 4px}
.device .stage-reveal .signature-reveal{padding-top:4px;border:0}
.device .stage-reveal .reveal-kicker{display:flex;align-items:center;gap:12px;font:600 .75rem var(--ui);letter-spacing:.12em;color:var(--muted);margin:0}
.device .stage-reveal .reveal-kicker>span:last-child{margin-left:auto}
.device .stage-reveal .reveal-skip{margin:0;min-height:32px;font:500 .75rem var(--ui);letter-spacing:0;color:var(--muted)}
.device .stage-reveal .reveal-headline{display:flex;align-items:flex-end;gap:10px;margin-top:6px;min-height:calc(var(--flip-h,62px) + 2px)}
.device .stage-reveal .signature-real.flipboard{display:flex;align-items:flex-end;gap:4px;font-size:0!important;letter-spacing:0;line-height:1}
.flip-cell{position:relative;display:block;width:var(--flip-w,44px);height:var(--flip-h,62px);border-radius:10px;overflow:hidden;background:linear-gradient(180deg,#232833 0 50%,#1d222b 50% 100%);box-shadow:inset 0 -1px 0 rgba(255,255,255,.05),0 6px 18px rgba(0,0,0,.35)}
.flip-cell::after{content:'';position:absolute;left:0;right:0;top:50%;height:1px;background:rgba(0,0,0,.45)}
.flip-strip{position:absolute;left:0;right:0;top:0;display:flex;flex-direction:column}
.flip-strip span{display:grid;place-items:center;height:var(--flip-h,62px);font:800 calc(var(--flip-h,62px) * .7)/1 var(--ui);font-variant-numeric:tabular-nums;color:var(--paper)}
.flip-sep{display:block;padding:0 1px 6px;font:800 calc(var(--flip-h,62px) * .55)/1 var(--ui);color:var(--paper)}
.device .stage-reveal .reveal-unit{margin:0 0 6px!important;font:600 1rem var(--ui);color:var(--muted)}
.device .stage-reveal .reveal-verdict{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin:8px 0 0}
.device .stage-reveal .reveal-verdict span{font:500 .875rem var(--ui);color:var(--muted)}
.device .stage-reveal .reveal-verdict b{font:700 1.125rem var(--ui);color:var(--lemon)}
.device .stage-reveal.reveal-pending .reveal-verdict{visibility:hidden}
.reveal-stage{position:relative;height:178px;margin:4px -20px 0;overflow:hidden;pointer-events:none}
.reveal-stage[data-lanes="2"]{height:206px}.reveal-stage[data-lanes="3"]{height:236px}
.stage-floor{position:absolute;left:-40px;right:-40px;bottom:38px;height:290px;transform-origin:50% 100%;transform:perspective(560px) rotateX(57deg);background:linear-gradient(180deg,rgba(16,18,22,0),rgba(223,242,105,.035) 55%,rgba(223,242,105,.1)),repeating-linear-gradient(0deg,rgba(255,255,255,.035) 0 1px,transparent 1px 34px);border-bottom:3px solid var(--lemon);box-shadow:0 10px 36px rgba(223,242,105,.22)}
.stage-scale{position:absolute;top:0;bottom:0;left:60px;right:60px}
.stage-tick{position:absolute;bottom:0;width:2px;height:22%;margin-left:-1px;background:linear-gradient(0deg,var(--lemon),rgba(223,242,105,0))}
.stage-tick.major{width:3px;height:46%;margin-left:-1.5px;background:linear-gradient(0deg,var(--lemon),rgba(223,242,105,.05))}
.stage-band{position:absolute;bottom:0;height:78%;background:linear-gradient(180deg,rgba(223,242,105,0),rgba(223,242,105,.22));border-left:1px solid rgba(223,242,105,.5);border-right:1px solid rgba(223,242,105,.5)}
.stage-solution{position:absolute;bottom:0;width:4px;height:100%;margin-left:-2px;transform-origin:50% 100%;background:var(--lemon);box-shadow:0 0 16px var(--lemon),0 0 40px rgba(223,242,105,.6)}
.stage-edge{position:absolute;left:20px;right:20px;bottom:38px;height:0}
.stage-axis{position:absolute;left:20px;right:20px;bottom:4px;height:16px}
.stage-axis span{position:absolute;transform:translateX(-50%);font:500 .75rem var(--ui);font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap}
.stage-spot{position:absolute;bottom:0;width:180px;height:180px;margin-left:-90px;border-radius:50%;background:radial-gradient(closest-side,rgba(223,242,105,.28),rgba(223,242,105,0));transform:scaleY(.45);transform-origin:50% 100%}
.stage-token{position:absolute;bottom:0;width:0;height:0}
.stage-token[data-lane="1"]{bottom:var(--lane-1,46px);z-index:-1}.stage-token[data-lane="2"]{bottom:var(--lane-2,88px);z-index:-2}
.token-body{position:absolute;left:-28px;bottom:8px;display:grid;place-items:center;width:56px;height:56px;overflow:hidden;border-radius:50%;background:var(--raise);border:2.5px solid var(--player,var(--lemon));box-shadow:0 8px 16px rgba(0,0,0,.45);transform-origin:50% 100%}
.stage-token[data-lane="1"] .token-body{scale:.88}.stage-token[data-lane="2"] .token-body{scale:.78}
.token-body img{width:54px;height:54px}
.token-shadow{position:absolute;left:-24px;bottom:-3px;width:48px;height:10px;border-radius:50%;background:rgba(0,0,0,.55);filter:blur(2px)}
.token-tag{position:absolute;z-index:1;left:0;bottom:70px;transform:translateX(-50%);white-space:nowrap;font:700 .75rem var(--ui);color:var(--paper);background:var(--ink);border:1px solid var(--player,var(--line));border-radius:999px;padding:3px 7px}
.stage-token[data-lane="1"] .token-tag{bottom:62px}.stage-token[data-lane="2"] .token-tag{bottom:56px}
/* „Quelle ansehen“ unter „Details & Quelle“ war nur 14 Pixel hoch. */
.answer-details-body a{display:inline-block;padding:12px 0}
.token-line{position:absolute;left:-.75px;width:1.5px;border-radius:1px;background:var(--player,var(--line));opacity:.7;transform-origin:50% 100%}
.token-more{position:absolute;bottom:52px;z-index:2;font:800 .75rem var(--ui);color:var(--ink);background:var(--lemon);border-radius:999px;padding:2px 6px;box-shadow:0 2px 6px rgba(0,0,0,.4)}
.stage-token.closest .token-body{box-shadow:0 0 0 4px rgba(223,242,105,.35),0 10px 22px rgba(0,0,0,.5)}
.stage-bracket{position:absolute;bottom:-20px;height:12px;border:2px solid var(--lemon);border-top:0;border-radius:0 0 6px 6px;transform-origin:left center}
.stage-bracket b{position:absolute;left:50%;top:-22px;transform:translateX(-50%);font:800 .875rem var(--ui);font-variant-numeric:tabular-nums;color:var(--lemon);background:var(--ink);border-radius:6px;padding:1px 6px}
.stage-hat{position:absolute;bottom:0;z-index:5;width:0;height:0}
.hat-img{position:absolute;left:-44px;bottom:2px;width:88px;height:84px;transform-origin:50% 100%;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-166 -262 332 314'%3E%3Cg transform='rotate(14)'%3E%3Cg%3E%0A%3Cg fill='%23101216' stroke='%23101216' stroke-width='22' stroke-linejoin='round'%3E%3Cpath d='M-112,-16 C-92,-104 -52,-206 44,-266 C22,-196 52,-92 114,-16 Z'/%3E%3Cpath d='M-156,-4 C-156,-32 156,-32 156,-4 C156,20 -156,20 -156,-4 Z'/%3E%3C/g%3E%0A%3Cg fill='%23DFF269'%3E%3Cpath d='M-112,-16 C-92,-104 -52,-206 44,-266 C22,-196 52,-92 114,-16 Z'/%3E%3Cpath d='M-156,-4 C-156,-32 156,-32 156,-4 C156,20 -156,20 -156,-4 Z'/%3E%3C/g%3E%0A%3CclipPath id='h'%3E%3Cpath d='M-112,-16 C-92,-104 -52,-206 44,-266 C22,-196 52,-92 114,-16 Z'/%3E%3C/clipPath%3E%0A%3Cg clip-path='url(%23h)'%3E%3Crect x='-130' y='-74' width='260' height='46' fill='%23FFFFFF'/%3E%3Crect x='-106.5' y='-72' width='5' height='30' fill='%23101216'/%3E%3Crect x='-90.5' y='-72' width='5' height='18' fill='%23101216'/%3E%3Crect x='-74.5' y='-72' width='5' height='30' fill='%23101216'/%3E%3Crect x='-58.5' y='-72' width='5' height='18' fill='%23101216'/%3E%3Crect x='-42.5' y='-72' width='5' height='30' fill='%23101216'/%3E%3Crect x='-26.5' y='-72' width='5' height='18' fill='%23101216'/%3E%3Crect x='-10.5' y='-72' width='5' height='30' fill='%23101216'/%3E%3Crect x='5.5' y='-72' width='5' height='18' fill='%23101216'/%3E%3Crect x='21.5' y='-72' width='5' height='30' fill='%23101216'/%3E%3Crect x='37.5' y='-72' width='5' height='18' fill='%23101216'/%3E%3Crect x='53.5' y='-72' width='5' height='30' fill='%23101216'/%3E%3Crect x='69.5' y='-72' width='5' height='18' fill='%23101216'/%3E%3Crect x='85.5' y='-72' width='5' height='30' fill='%23101216'/%3E%3Crect x='101.5' y='-72' width='5' height='18' fill='%23101216'/%3E%3C/g%3E%0A%3C/g%3E%3C/g%3E%3C/svg%3E") center bottom/contain no-repeat}
.hat-shadow{position:absolute;left:-32px;bottom:-5px;width:64px;height:10px;border-radius:50%;background:rgba(0,0,0,.6);filter:blur(2px)}
.hat-ripple{position:absolute;left:-30px;bottom:-12px;width:60px;height:24px;border-radius:50%;border:2px solid var(--lemon);opacity:0}
.stage-stamp{position:absolute;left:50%;top:12px;z-index:6;transform:translateX(-50%) rotate(-6deg);white-space:nowrap;font:400 1.75rem var(--display);color:var(--ink);background:var(--lemon);border-radius:12px;padding:6px 16px;box-shadow:0 10px 30px rgba(223,242,105,.45)}
.stage-spark{position:absolute;bottom:60px;width:7px;height:7px;border-radius:2px;background:var(--lemon);opacity:0}
.device .stage-reveal .estimate-comparison{display:flex;flex-direction:column;gap:8px;margin:6px 0 0}
.device .stage-reveal .studio-estimate{margin:0;padding:8px 14px 8px 10px;background:var(--panel);border:1px solid var(--line);border-radius:16px}
.device .stage-reveal .studio-estimate .estimate-row-label{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;padding:0;background:none}
.device .stage-reveal .studio-estimate .reveal-character{width:38px;height:38px}
.device .stage-reveal .studio-estimate .estimate-identity b{font:700 1rem var(--ui)}
.device .stage-reveal .studio-estimate .estimate-distance{font:500 .75rem var(--ui);color:var(--muted)}
.device .stage-reveal .studio-estimate .estimate-award strong{font:800 1.75rem/1 var(--ui);color:var(--lemon)}
.device .stage-reveal .studio-estimate.closest-estimate .estimate-distance{color:var(--lemon)}
.device .stage-reveal .studio-estimate .points-reason{margin:6px 0 0;font:500 .75rem/1.4 var(--ui);color:var(--muted)}
.estimate-meter{height:4px;margin-top:6px;overflow:hidden;border-radius:4px;background:rgba(255,255,255,.08)}
.estimate-meter::after{content:'';display:block;width:var(--accuracy,0%);height:100%;background:var(--lemon)}
.device .stage-reveal.score-pending .estimate-comparison,.device .stage-reveal.score-pending .question-quality{visibility:hidden}
.device .stage-reveal .studio-lead{margin:8px 0 0;font:500 .875rem var(--ui);color:var(--muted)}
.device .stage-reveal .question-quality{margin:12px 0 0;padding:14px 16px;border:0;border-radius:18px;background:#F4F6EC;color:#16191f;box-shadow:0 18px 40px rgba(0,0,0,.35)}
.device .stage-reveal .question-quality .fact-kicker{display:block;font:800 .75rem var(--ui);letter-spacing:.12em;text-transform:uppercase;color:#5a6370}
.device .stage-reveal .question-quality b{display:block;margin-top:2px;font:500 .75rem var(--ui);color:#6b7380}
.device .stage-reveal .question-quality p{margin:6px 0 8px;font:500 .875rem/1.4 var(--ui);color:#16191f}
.device .stage-reveal .question-quality small{color:#5a6370}
.device .stage-reveal .question-quality a{color:#2f3540}
@media (prefers-reduced-motion: reduce){.reveal-stage *{animation:none!important;transition:none!important}}
/* Paket 4 (Durchsicht 25.10.2026): letzte fünf Sekunden pulsieren; kein Glanz auf ausgegrauten Knöpfen. */
.device :is(.timer-caption,#live-time,#duel-time).urgent{display:inline-block;color:var(--coral);font-weight:700;transform-origin:100% 50%;animation:gw-urgent 1s ease-in-out infinite}
@keyframes gw-urgent{0%,100%{transform:scale(1)}50%{transform:scale(1.14)}}
.btn-primary:disabled.shine::after,.btn-primary[disabled].shine::after{animation:none;opacity:0}
@media (prefers-reduced-motion: reduce){.device :is(.timer-caption,#live-time,#duel-time).urgent{animation:none}}
/* Paket 3 (Durchsicht 25.10.2026): einheitliches Design. */
/* Ein Überschriften-Stil: Eyebrow und große Zeile in Archivo Black, linksbündig wie „Wer liegt näher dran?“. */
.device :is(#screen-career-entry,#screen-daily-entry,#screen-career-gameover,#screen-daily-leaderboard,#screen-career-profile,#screen-leaderboard,#screen-final)>.eyebrow{text-align:left!important;margin:0 0 6px!important}
.device :is(#screen-career-entry,#screen-daily-entry,#screen-career-gameover,#screen-daily-leaderboard,#screen-career-profile,#screen-leaderboard,#screen-setup,#screen-submit-question,#screen-final)>h2{text-align:left!important;font:400 min(2.125rem,10vw)/1.12 var(--display)!important;letter-spacing:-.01em!important;margin:0 0 12px!important}
.device :is(#screen-career-entry,#screen-daily-entry,#screen-career-gameover,#screen-daily-leaderboard,#screen-career-profile)>p.muted{text-align:left!important;font-size:1rem!important;line-height:1.55!important}
.device #screen-login .auth-login-title{font:400 min(2.125rem,10vw)/1.12 var(--display);letter-spacing:-.01em;text-transform:none;margin:0 0 12px}
/* Kategorie-Symbole als Striche, überall gleich */
.cat-icon{width:16px;height:16px;flex:none;vertical-align:-3px;margin-right:6px}
.chip .cat-icon,.pill .cat-icon{display:inline-block}
.category-tile .cat-icon{width:20px;height:20px;margin:0}
/* Startseite: gleiche Nummern, lesbare Größen, große Tippflächen */
.device #screen-start .start-primary-actions .action-number{font:600 .75rem var(--ui)!important;letter-spacing:.06em;opacity:1}
.device #screen-start .home-nav .text-button{font-size:.875rem!important;min-height:44px}
.device #screen-start .home-foot{font-size:.75rem!important}
.device #screen-start [aria-label="Profil öffnen"]{width:44px;height:44px}
.device .source-card-link{display:inline-block;padding:6px 0}
/* Duell: wer welche Punkte hat */
.duel-score span{display:inline-flex;flex-direction:column;align-items:center;gap:2px}
.duel-score em{font:600 .875rem var(--ui);font-style:normal;color:var(--muted);letter-spacing:0;max-width:9em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Bestenliste: Ergebnisse vor den Filtern, freundlicher leerer Zustand */
.device #screen-leaderboard #lb-list{order:1;margin-bottom:18px}
.device #screen-leaderboard>:is(.lb-filter-group,#lb-friends-manager,#lb-country-manager,#lb-note){order:2}
.lb-empty{padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--panel);text-align:left}
.lb-empty b{display:block;font:400 1.375rem var(--display);margin-bottom:6px}
.lb-empty p{margin:0 0 14px;color:var(--muted);font-size:.875rem;line-height:1.5}
.duel-categories .btn{display:flex;align-items:center;justify-content:center;gap:8px}.duel-categories .cat-icon{width:20px;height:20px;margin:0}
/* Kurze Bildschirme (Durchsicht 30.10.2026): Nach einer Auflösung bleibt der Knopf „Nächste Frage“ unten sichtbar, statt
   unter der Wissenskarte zu verschwinden. Dort gibt es keine Tastatur, für die Platz frei bleiben müsste. */
@media(max-height:699px){.device :is(.stage-reveal,#screen-career-reveal,#screen-daily-reveal,#screen-reveal) .footer-actions{position:sticky!important;bottom:0;padding-top:12px}}

/* Online-Rangliste in Guess Rank (30.10.2026): eigener Block über der Bestenliste dieses Geräts. */
.device .rank-online{margin:0 0 18px}.device .rank-online .chip-row{margin:8px 0 10px}.device .rank-online-note{font-size:.875rem;margin:8px 0 0}
/* Stufe neben dem Namen in Bestenlisten (stand ohne Abstand direkt am Namen: „Lea01“, Durchsicht 30.10.2026). */
.device .leaderboard-tier:not(:empty){display:inline-block;margin-left:8px;padding:1px 7px;border:1px solid var(--line);border-radius:999px;font:600 .75rem var(--ui);letter-spacing:.04em;color:var(--muted);vertical-align:2px}

/* Dunkles Design auch dem Browser mitteilen: Auswahllisten, Rollbalken und Formularfelder des Systems bleiben dunkel,
   auch wenn das Handy auf „hell“ steht. Ein helles Design gibt es nicht. */
:root{color-scheme:dark}
/* Guess Party: „Pause“ in der Kopfzeile; das Profil-Kürzel macht wie im Solo Platz („Schätzen“ war zu „Sc…“ gekürzt).
   Schmale Handys zeigen vom Kürzel nur den Punkt, damit Titel wie „Einstellungen“ ganz bleiben. */
.device .app-header.round-active .app-header-profile{display:none!important}
@media (max-width:399px){.device #app-header-profile-text{display:none}.device .app-header-profile{padding:4px}}
/* Schnellstart im ersten Schritt der Einrichtung: „Anpassen“ und „Sofort losspielen“ stehen bei 360 Pixel einzeilig
   nebeneinander; auf noch schmaleren Bildschirmen darf der Text umbrechen. */
.device .setup-step-footer>#setup-quick-btn{padding-inline:12px}
.device .setup-step-footer>#setup-next-btn.btn-ghost{padding-inline:16px}
/* Paket 3 (20.11.2026): Guess-Rank-Kästchen und Countdown, Abzeichen im Wissensprofil, Solo-Ergebnis teilen,
   Vorschau der Party-Ergebniskarte. */
.device .rank-boxes{display:flex;justify-content:center;gap:10px;margin:4px 0 10px}
.device .rank-box{width:44px;height:44px;border-radius:10px;background:var(--surface-2)}
.device .rank-box.good{background:#4CAF50}.device .rank-box.near{background:#F2C94C}
/* Belohnungsmoment der Tagesrunde (Gesamtprüfung Paket 2, Nr. 2; 3.12.2026): Direkt nach der Runde decken sich die fünf
   Kästchen nacheinander auf, während die Punkte hochzählen (zusammen rund 1,3 s). Wurde die Serie heute verlängert, meldet sich
   danach kurz die Flamme. Beim Wiederansehen und bei reduzierter Bewegung steht alles sofort da. */
.device .rank-boxes.reveal .rank-box{animation:rank-box-reveal .36s var(--out) both;animation-delay:calc(.25s + var(--i,0) * .16s)}
@keyframes rank-box-reveal{0%{background:var(--surface-2);transform:scale(.7);opacity:.35}60%{transform:scale(1.08)}100%{transform:none;opacity:1}}
.device .stat-card.streak-up .stat-icon{animation:streak-flame .7s var(--out) 1.35s both}
@keyframes streak-flame{0%{transform:none}35%{transform:scale(1.5) rotate(-8deg)}70%{transform:scale(.94) rotate(4deg)}100%{transform:none}}
.device .stat-card.streak-up .stat-value{animation:streak-value .9s var(--out) 1.35s both}
@keyframes streak-value{0%,40%{color:var(--lemon)}}
.device .rank-next{font:600 .875rem var(--ui);color:var(--lemon);margin:0 0 14px}
.device .badge-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.device .badge-tile{display:flex;gap:10px;align-items:flex-start;padding:12px;border-radius:14px;background:var(--panel);border:1px solid var(--line)}
.device .badge-tile:not(.earned) .badge-icon{filter:grayscale(1);opacity:.45}
.device .badge-tile.earned{border-color:var(--lemon)}
.device .badge-icon{font-size:1.375rem;line-height:1}
.device .badge-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.device .badge-text b{font:600 .875rem var(--ui);color:var(--paper)}
.device .badge-text small{font:.75rem/1.35 var(--ui);color:var(--muted)}
.device .badge-progress{font:600 .75rem var(--ui);color:var(--lemon)}
/* Solo-Ergebnis (Alex, 3.12.2026): das nächste Ziel – Rest bis zum nächsten Level und das nächste Abzeichen. */
.device .level-progress{margin:-6px 0 18px}
.device .level-progress:empty,.device #career-next-badge:empty{display:none}
.device .level-progress-bar{height:6px;overflow:hidden;border-radius:6px;background:rgba(255,255,255,.08)}
.device .level-progress-bar i{display:block;height:100%;border-radius:inherit;background:var(--lemon);transform:scaleX(var(--ratio));transform-origin:left;animation:guesswiz-bar .9s var(--out) .25s both}
.device .level-progress-text{display:flex;justify-content:space-between;gap:12px;margin:8px 0 0;font:500 .875rem/1.35 var(--ui);color:var(--muted)}
.device .level-progress-text b{font-weight:700;color:var(--lemon)}
.device .next-badge-title{font-size:.875rem;margin:4px 0 10px}
.device .next-badge .badge-progress{margin-left:auto;white-space:nowrap}
/* Einladung zur offenen Tagesrunde; eigene Klasse, damit die Konto-Einladung (.profile-invite) weiter für sich geprüft wird. */
.device .daily-invite{border:1px solid var(--line);border-radius:12px;padding:18px;margin-top:20px}
.device .daily-invite p{margin:6px 0 0;font-size:.875rem;line-height:1.5;color:var(--muted)}
.device .daily-invite button{width:100%;margin-top:12px}
.device .badge-tile.earned .badge-progress{display:none}
.device .career-result-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.device .career-result-actions>.btn-primary,.device .career-result-actions>#career-share-btn,.device .career-result-actions>p{grid-column:1/-1}
.device .career-result-actions>.btn{margin:0}
.round-card-preview{min-height:120px;display:flex;align-items:center;justify-content:center;color:var(--muted);font:.875rem var(--ui)}
/* Tagesstand auf der gelben Guess-Rank-Kachel lesbar (Grau auf Gelb hatte zu wenig Kontrast). */
/* Nur wenn die Kachel wirklich gelb ist: Neben „Runde fortsetzen“ bleibt sie dunkel, dann wäre dunkle Schrift unlesbar
   (Befund der Live-Prüfung vom 3.12.2026, „Heute offen“ auf dunkler Kachel). */
.device #screen-start:not(:has(.resume-card:not([hidden]))) .start-primary-actions .home-action.primary #home-daily-status{color:var(--ink);opacity:.78}
/* Hinweise oben (Abzeichen, Konto, Zurück) in der Schrift der App statt der früheren Serifenschrift. */
.achievement-toast{font-family:var(--ui)!important;font-weight:600!important;max-width:calc(100vw - 32px);text-align:center}
.modal-card a.card-download.btn-ghost{color:var(--paper);text-decoration:none}
/* Paket 4 (22.11.2026): Schriftstufen 12 · 14 · 16 · 18 · 22 · 28 · 34 px in rem, Überschriften einheitlich.
   Titel wachsen mit der Handy-Schrift, höchstens auf 10 % der Breite, damit lange Wörter nicht überstehen. */
.device .knowledge-plus-title{font:400 min(2.125rem,10vw)/1.12 var(--display);letter-spacing:-.01em;text-transform:none;margin:0 0 12px}
.device .page-title{font-size:min(2.125rem,10vw)}
.device #final-headline{font-size:min(2.125rem,10vw)}
.device .badge-icon .studio-icon,.device .ach-icon .studio-icon{width:24px;height:24px;color:var(--lemon)}
.device .badge-tile:not(.earned) .badge-icon .studio-icon{color:var(--muted)}
.device .lb-podium-crown .studio-icon{width:22px;height:22px}
/* Größere Schrift vom Handy (text-scale): nichts darf über den Rand laufen. */
.device .app-header .app-header-title,.device .app-header :is(.quit-run-button,.pause-round-button){font-size:min(.875rem,4vw)}
.device .badge-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,9rem),1fr))}
.device .option-row>:first-child{min-width:0;flex:1 1 auto}
.device .option-row>.chip{flex:none}
.device .career-result-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
.text-large .device :is(#screen-career-gameover,#screen-final)>.footer-actions{position:static!important;padding-top:12px}
.text-large .device :is(.career-result-actions,.setup-step-footer){grid-template-columns:1fr}
.text-large .device :is(.career-result-actions,.setup-step-footer)>*{grid-column:1/-1!important}
.device .career-result-actions>.btn,.device .setup-step-footer>.btn{white-space:normal;line-height:1.2}
/* Reste außerhalb der Stufen: Zwischenüberschriften der Einstellungen (Browser-Standard 1.17em) und kleine Zusätze
   ohne eigene Klasse (Browser-Standard „smaller“) nie unter 12 px. */
.device .option-row h3{font-size:1.125rem}
.device small:not([class]){font-size:max(.75rem,.83em)}
/* Lesetext mindestens 14 px (Gesamtprüfung Paket 3, Nr. 1; 3.12.2026). Was man lesen muss, um etwas zu verstehen, steht in
   14 px statt 12 px: die Beschreibungen der Spielmodi, „Heute offen“, Abstand, Begründung, Stand und Quelle in der Auflösung,
   der Rückblick je Frage im Endergebnis, Hinweise und die Links der Fußzeile. In 12 px bleiben kurze Etiketten: Überzeilen,
   Pillen, „Zuletzt gespielt“, Filter und andere Chips, Zähler und Achsenzahlen. Die Regel steht auf oberster Ebene, nicht in
   einem @media-Block. */
.device :is(.home-action small:not(.last-played-tag),#home-daily-status,.home-foot :is(.text-button,.legal-link),.welcome-legal,.estimate-distance,.points-reason,.source-date,.question-quality :is(b,small),.recap-detail,.recap-key,.ach-desc,.storage-note,#screen-submit-question p.muted,.character-meta,.edit-character,.plus-principle p,.plus-feature-open,.knowledge-explainer span,.knowledge-overview-card small){font-size:.875rem!important}
/* Auf dem Fragebildschirm wachsen nur Einheit, Restzeit und das Etikett der Bonusfrage, und nur ab 700 px Bildschirmhöhe:
   Darunter passt die Frage mit Tastatur genau auf den Bildschirm (360 × 640), jede Zeile mehr ließe ihn rollen. Stand-Datum,
   der Hinweis zur Weitergabe und die Chips „Joker“ und „Überspringen“ bleiben dort in 12 px: Mit 14 px rutschte der Hinweis
   bei vierzeiligen Fragen unter den Knopf, und die beiden Chips brächen bei 360 px Breite in zwei Zeilen um (im Browser
   gemessen am 3.12.2026). */
@media(min-height:700px){.device :is(.question-unit,.guess-unit-tag,.timer-caption,.bonus-flag){font-size:.875rem!important}}
/* „Mehr oder weniger?“ (Paket 5): zwei große Antwortknöpfe und eine eigene Auflösungstafel mit beiden Werten. */
.device .compare-input{display:grid;gap:10px;width:100%;box-sizing:border-box;margin:18px 0 6px}
.device .compare-choice{min-height:64px;padding:14px 16px;border:1px solid var(--line);border-radius:var(--radius-panel);background:var(--surface);color:var(--paper);font:600 1.125rem/1.25 var(--ui);text-align:left;overflow-wrap:anywhere;cursor:pointer}
.device .compare-choice.active{background:var(--lemon-dim);border-color:var(--lemon);color:var(--lemon)}
.device .compare-choice:focus-visible{outline:2px solid var(--lemon);outline-offset:2px}
.device .compare-or{justify-self:center;color:var(--muted);font:.875rem var(--ui)}
.device:has(#screen-reveal.active) .compare-headline .signature-real{font:400 min(1.75rem,9vw)/1.15 var(--display);letter-spacing:-.01em;overflow-wrap:break-word}
.device .compare-values{display:grid;gap:8px;margin:14px 0 22px}
.device .compare-value{display:flex;flex-wrap:wrap;justify-content:space-between;column-gap:12px;row-gap:2px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius-panel);font:1rem/1.35 var(--ui);color:var(--muted)}
.device .compare-value dt{min-width:0;overflow-wrap:break-word}
.device .compare-value dd{margin:0 0 0 auto;white-space:nowrap;font-variant-numeric:tabular-nums}
.device .compare-winner{border-color:var(--lemon);color:var(--paper)}
.device .compare-winner dd{color:var(--lemon);font-weight:600}
.device .compare-source{font:.875rem/1.6 var(--ui)}
.device .compare-source a{display:inline-block;margin-right:6px}
/* Tippflächen mindestens 44 Pixel (Gesamtprüfung Paket 3, Nr. 7; 3.12.2026). Gemessen waren der Umschalter Lineal/Tastatur
   40, „Spielregeln“ in der Fußzeile der Startseite 32 und zwei Links in den Einstellungen 42 Pixel hoch. Der Umschalter und
   die Links sind oben angepasst (.mode-btn, .auth-data-link); die Fußzeile hier, weil ihre Regel in index.html steht. */
.device .home-foot .text-button{min-height:44px}
