/* Kalemo — Leuchtspur + Skizzenbuch */
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/v1/caveat-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/v1/caveat-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(../fonts/v1/nunito-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(../fonts/v1/nunito-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #F7F1E3; --paper-2: #EFE6D2; --ink: #1E2A3A; --pencil: #5F6672; /* Review P3-9: vorher #6B7280 = 4,29:1 auf Papier → jetzt 5,1:1 */ --night: #13203A; --night-2: #0E1830;
  --der: #3B82F6; --die: #EF4444; --das: #22C55E; --plural: #FACC15; --gold: #FFC857;
  --der-t: #1D4ED8; --die-t: #B91C1C; --das-t: #15803D; --plural-t: #A16207;
  --hand: 'Caveat', 'Comic Sans MS', cursive; --ui: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 18px; --shadow: 0 1px 0 rgba(30,42,58,.08), 0 10px 30px -12px rgba(30,42,58,.35);
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--ui); color: var(--ink); background: var(--night); -webkit-font-smoothing: antialiased; overflow: hidden; overscroll-behavior: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--der-t); outline-offset: 3px; border-radius: 10px; }

.screen { position: fixed; inset: 0; overflow: hidden; }
.paper { background: var(--paper); overflow-y: auto; }
.paper::before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .06; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); z-index: 0; }
.paper > * { position: relative; z-index: 1; }

/* Buttons */
.btn { min-height: 48px; padding: 10px 20px; border-radius: 14px; border: 2px solid var(--ink); background: #FFFDF7; font-weight: 800; font-size: 1.05rem; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); transition: transform .12s, box-shadow .12s; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn.primary { background: var(--gold); }
.btn.big { min-height: 64px; font-size: 1.3rem; width: 100%; }
.btn.ghost { box-shadow: none; border-color: transparent; background: transparent; text-decoration: underline; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,251,239,.1); display: grid; place-items: center; cursor: pointer; color: #FFFBEF; }
.icon-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.linkbtn { background: none; border: 0; text-decoration: underline; cursor: pointer; padding: 8px; min-height: 44px; }
.badge { font-size: .85rem; background: var(--ink); color: var(--gold); padding: 2px 10px; border-radius: 999px; }

/* Start */
.start-wrap { min-height: 100%; max-width: 560px; margin: 0 auto; padding: calc(16px + var(--safe-t)) 16px calc(16px + var(--safe-b)); display: flex; flex-direction: column; gap: 14px; }
.logo { font-family: var(--hand); font-weight: 700; font-size: clamp(3.2rem, 14vw, 5rem); line-height: .9; margin: 6px 0 0; text-align: center; position: relative; }
.logo-trail { display: block; width: 3.4em; height: .42em; margin: -.12em auto 0; overflow: visible; }
.logo-trail path { fill: none; stroke: var(--gold); stroke-width: 5; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(255,200,87,.8)); stroke-dasharray: 1; stroke-dashoffset: 1; animation: trail 1.4s .3s cubic-bezier(.6,0,.2,1) forwards, glowpulse 3.6s 1.8s ease-in-out infinite; }
@keyframes trail { to { stroke-dashoffset: 0; } }
@keyframes glowpulse { 50% { filter: drop-shadow(0 0 9px rgba(255,200,87,1)); } }
.btn.loading { opacity: .8; cursor: progress; animation: breathe 1.4s ease-in-out infinite; }
.btn .ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.paper { box-shadow: inset 18px 0 30px -18px rgba(30,42,58,.22), inset -6px 0 14px -10px rgba(30,42,58,.12); }
@media (min-width: 900px) { .start-wrap { max-width: 620px; } }
.tagline { font-family: var(--hand); font-size: 1.7rem; margin: 0; text-align: center; min-height: 2.2rem; }
/* Review P2-9: Demo-Karte skaliert mit der Höhe (max. 45vh), Hauptknopf + Sprachwahl im ersten Bild auch bei 1366×657 */
.attract { position: relative; aspect-ratio: 4 / 3; width: min(100%, calc(45vh * 4 / 3)); margin-inline: auto; border-radius: var(--r); background: var(--night); overflow: hidden; box-shadow: var(--shadow); }
@media (max-height: 800px) and (min-width: 520px) {
  .start-wrap { gap: 10px; padding-top: calc(10px + var(--safe-t)); }
  .logo { font-size: min(5rem, 10.5vh); }
  .tagline { font-size: 1.45rem; min-height: 1.9rem; }
}
.attract canvas { width: 100%; height: 100%; display: block; }
.attract-bubble { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); background: #FFFDF7; border-radius: 16px; padding: 4px 16px 6px; font-family: var(--hand); font-weight: 700; font-size: clamp(1.3rem, 5vw, 1.7rem); white-space: nowrap; opacity: 0; transition: opacity .25s; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.attract-bubble.pop { animation: pop .32s cubic-bezier(.3,1.6,.5,1); }
.attract-bubble.reward { padding: 4px 14px 6px; border: 2px solid var(--gold); box-shadow: 0 0 0 4px rgba(255,200,87,.25), 0 6px 20px rgba(0,0,0,.3); }
.attract-bubble .rw-first { font-size: 1.15em; }
.attract-bubble .rw { font-weight: 600; }
.attract-bubble i { font-style: normal; color: var(--pencil); }
.tagline.fade { animation: tagfade 9.2s ease-in-out infinite; }
@keyframes tagfade { 0% { opacity: 0; transform: translateY(6px); } 6% { opacity: 1; transform: none; } 92% { opacity: 1; } 100% { opacity: 0; } }
.pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: end; }
.swap-btn { width: 44px; height: 48px; border: 2px solid var(--ink); border-radius: 12px; background: #FFFDF7; display: grid; place-items: center; cursor: pointer; color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.swap-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.swap-btn:active { transform: translate(2px, 2px); box-shadow: none; }
.swap-btn.nudge { animation: nudge .5s ease; background: var(--gold); }
@keyframes nudge { 25% { transform: rotate(-12deg) scale(1.08); } 75% { transform: rotate(12deg) scale(1.08); } }
.seg button.locked { color: rgba(30,42,58,.38); cursor: not-allowed; background: repeating-linear-gradient(-45deg, #FFFDF7 0 6px, #F1EADB 6px 12px); }
.pair-col { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .95rem; }
.seg { display: flex; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; }
.seg button { flex: 1; min-height: 44px; border: 0; background: #FFFDF7; font-weight: 800; cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.seg button:disabled { opacity: .35; cursor: default; }
.start-actions { display: flex; flex-direction: column; gap: 10px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.today-tile { display: grid; grid-template-columns: auto 1fr; grid-template-areas: 'art main' 'art acts'; gap: 6px 12px; align-items: center; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 16px; background: #FFFDF7; box-shadow: 3px 3px 0 var(--ink); animation: rise .4s cubic-bezier(.2,1.3,.5,1) both; }
.today-art { grid-area: art; width: 84px; height: 84px; border-radius: 12px; background: var(--paper); }
.today-main { grid-area: main; display: flex; flex-direction: column; line-height: 1.15; }
.today-main strong { font-family: var(--hand); font-size: 2rem; font-weight: 700; }
.today-main span { font-size: .88rem; font-weight: 700; color: var(--pencil); }
.today-acts { grid-area: acts; display: flex; gap: 8px; flex-wrap: wrap; }
.btn.small { min-height: 44px; padding: 6px 14px; font-size: .95rem; box-shadow: 2px 2px 0 var(--ink); }
.tile { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 2px dashed var(--pencil); border-radius: 14px; background: transparent; cursor: pointer; min-height: 48px; }
.tile.yday span { flex: 1; font-weight: 800; text-align: left; }
.tile.yday canvas { width: 96px; height: 48px; flex: none; }
.foot { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; justify-content: center; font-size: .85rem; color: var(--pencil); margin-top: auto; }
.foot a { color: inherit; padding: 8px 2px; }
.by { display: inline-flex; align-items: center; gap: 6px; }

/* Runde */
.stage-screen { background: var(--night); color: #FFFBEF; }
.stage { position: absolute; inset: 0; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }
.stage canvas.cam { filter: brightness(.55); }
.stage canvas.fx { pointer-events: none; }
.help-btn { position: absolute; left: 12px; bottom: calc(26px + var(--safe-b)); min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(255,251,239,.35); background: rgba(14,24,48,.55); color: #FFFBEF; font-weight: 800; cursor: pointer; animation: rise .4s ease both; }
@media (max-width: 700px) { .help-btn { bottom: calc(26px + var(--safe-b)); font-size: .85rem; max-width: 46vw; } }
.alive-wrap { position: relative; }
.card.hit .alive-wrap canvas.alive { animation: land .6s cubic-bezier(.2,1.2,.4,1) both; }
@keyframes land { 0% { transform: scale(1.8) translateY(-30px); opacity: 0; filter: drop-shadow(0 0 18px #FFC857); } 60% { opacity: 1; } 100% { transform: none; filter: none; } }
.to-dict { position: absolute; right: 4px; bottom: 2px; display: inline-flex; align-items: center; gap: 4px; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 3px 10px 3px 7px; font-weight: 800; font-size: .78rem; animation: chip .5s 1.1s cubic-bezier(.3,1.7,.5,1) both; }
.to-dict svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; }
@keyframes chip { from { transform: scale(0) rotate(-12deg); } }
.paper::before { transform: translate(var(--px, 0px), var(--py, 0px)); transition: transform .6s ease-out; }
.stage canvas.ink.squash { animation: squash .42s cubic-bezier(.3,1.5,.5,1); transform-origin: 50% 55%; }
@keyframes squash { 0% { transform: scale(1); } 35% { transform: scale(1.25); } 70% { transform: scale(.95); } 100% { transform: scale(1); } }
body[data-mode="air"] .stage::after { content: ''; position: absolute; inset: 0; background: rgba(15,23,42,.35); pointer-events: none; }
body[data-mode="air"] .stage canvas.ink, body[data-mode="air"] .stage canvas.fx { z-index: 1; }
/* Review P2-6: Tinte liegt immer UNTER Kopf, Blase, Schaltern und Dialogen (auch im Luft-Modus) */
.round-top, .bubble, .mode-toggle, .help-btn { z-index: 3; }
.overlay { z-index: 5; }
.round-top { position: absolute; left: 0; right: 0; top: 0; padding: calc(10px + var(--safe-t)) 12px 10px; display: grid; grid-template-columns: 48px 1fr auto 48px; grid-template-areas: 'close word timer speaker' 'slots slots slots slots'; gap: 8px; align-items: center; pointer-events: none; }
.round-top > * { pointer-events: auto; }
#round-close { grid-area: close; } #round-speaker { grid-area: speaker; }
.slots { grid-area: slots; display: flex; gap: 6px; justify-content: center; }
.slots i { width: 22px; height: 6px; border-radius: 3px; background: rgba(255,251,239,.28); transition: background .3s, width .3s; }
.slots i.on { width: 34px; }
.slots i.on { background: var(--gold); } .slots i.hit { background: #86EFAC; } .slots i.miss { background: rgba(255,251,239,.45); }
.word-card { grid-area: word; justify-self: center; text-align: center; }
.word { font-family: var(--hand); font-weight: 700; font-size: clamp(2.4rem, 9vw, 3.6rem); line-height: 1; text-shadow: 0 0 18px rgba(255,200,87,.35); }
.word-sub { display: block; font-size: .9rem; opacity: .75; }
.timer { grid-area: timer; position: relative; width: 48px; height: 48px; display: grid; place-items: center; font-weight: 800; }
.timer svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.timer circle { fill: none; stroke-width: 4; } .timer .track { stroke: rgba(255,251,239,.15); }
.timer .bar { stroke: var(--gold); stroke-dasharray: 119.4; stroke-dashoffset: 0; stroke-linecap: round; }
.bubble { position: absolute; left: 50%; bottom: calc(26px + var(--safe-b)); transform: translateX(-50%); background: #FFFDF7; color: var(--ink); border-radius: 22px; padding: 8px 22px 10px; font-family: var(--hand); font-weight: 700; font-size: clamp(1.8rem, 6vw, 2.4rem); white-space: nowrap; box-shadow: var(--shadow); }
.bubble::after { content: ''; position: absolute; left: 50%; top: -12px; margin-left: -12px; border: 12px solid transparent; border-top: 0; border-bottom-color: #FFFDF7; }
.bubble.pop { animation: pop .32s cubic-bezier(.3,1.6,.5,1); }
/* Iteration 2 (R2-P2-1): „Ich weiß es! Mal ruhig fertig …" + „Fertig"-Knopf, solange nach dem Erkennen weitergemalt wird */
.bubble-hint { display: block; font-family: var(--ui); font-size: .95rem; font-weight: 800; line-height: 1.15; color: var(--pencil); text-align: center; margin-top: 2px; white-space: normal; }
.help-btn.done-btn { background: var(--gold); color: var(--ink); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); min-width: 110px; font-size: 1.05rem; }
.bubble-sub { display: block; font-family: var(--ui); font-size: .78rem; font-weight: 700; line-height: 1.1; color: var(--pencil); text-align: center; margin-top: -2px; }
@keyframes pop { 0% { transform: translateX(-50%) scale(.6); } 100% { transform: translateX(-50%) scale(1); } }
.overlay { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(19,32,58,.55); }
.card { background: var(--paper); color: var(--ink); border-radius: 22px; padding: 22px 20px; width: min(520px, 100%); box-shadow: var(--shadow); text-align: center; max-height: calc(100% - 20px); overflow-y: auto; }
.card h3 { font-family: var(--hand); font-size: 2.2rem; margin: 0 0 8px; line-height: 1.05; }
.card .langs { display: flex; flex-direction: column; gap: 2px; font-family: var(--hand); font-size: 2rem; margin: 8px 0 14px; }
.card .langs small { font-family: var(--ui); font-size: .8rem; color: var(--pencil); margin-right: 6px; }
.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 14px; }
.others canvas { width: 100%; aspect-ratio: 1; background: #FFFDF7; border-radius: 12px; border: 1.5px solid rgba(30,42,58,.15); }

/* Tagesende */
.page { max-width: 640px; margin: 0 auto; padding: calc(16px + var(--safe-t)) 16px calc(24px + var(--safe-b)); }
.h-hand { font-family: var(--hand); font-size: 2.6rem; margin: 8px 0; text-align: center; }
.dayend-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.dayend-grid figure { margin: 0; background: #FFFDF7; border-radius: 14px; padding: 6px; box-shadow: var(--shadow); text-align: center; }
.dayend-grid canvas { width: 100%; aspect-ratio: 1; display: block; }
.dayend-grid figcaption { font-family: var(--hand); font-size: 1.7rem; font-weight: 700; line-height: 1.1; }
.daily-hint { margin: -4px 0 2px; text-align: center; color: var(--pencil); font-weight: 700; font-size: .92rem; }
.score-line, .streak-line, .funny { text-align: center; font-size: 1.15rem; font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 12px; }
/* pointer-events: none — eine kurze Rückmeldung darf nie einen Tipp schlucken (gefunden beim Test zu R3-P3-2/-6:
   der Toast „Text kopiert." lag genau über der Kachel „Gestern gemalt") */
.toast { position: fixed; left: 50%; bottom: calc(20px + var(--safe-b)); transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 12px; z-index: 50; font-weight: 700; pointer-events: none; }
.inapp { display: flex; align-items: center; gap: 6px; background: var(--gold); color: var(--ink); border: 2px solid var(--ink); border-radius: 14px; padding: 6px 4px 6px 14px; text-align: left; font-size: .92rem; line-height: 1.3; box-shadow: 3px 3px 0 var(--ink); }
.inapp p { margin: 0; flex: 1; }
.inapp-x { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.inapp-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.chip.locked { opacity: .78; display: inline-flex; flex-direction: column; justify-content: center; line-height: 1.05; padding: 2px 14px; }
.chip.locked small { font-size: .68rem; font-weight: 700; opacity: .85; }

/* Karten, Sheets, Systeme */
.sheet { position: fixed; inset: 0; z-index: 40; background: rgba(19,32,58,.55); display: grid; place-items: center; padding: calc(16px + var(--safe-t)) 16px calc(16px + var(--safe-b)); }
.sheet-card { background: var(--paper); color: var(--ink); border-radius: 22px; padding: 20px; width: min(560px, 100%); max-height: 100%; overflow-y: auto; box-shadow: var(--shadow); text-align: center; animation: rise .28s cubic-bezier(.2,1.3,.5,1); }
@keyframes rise { from { transform: translateY(24px) scale(.97); opacity: 0; } }
.sheet-card h3, .sheet-card h4 { font-family: var(--hand); font-size: 2rem; margin: 4px 0 10px; }
.sheet-card h4 { font-size: 1.6rem; margin-top: 14px; }
.share-img { width: 100%; max-height: 56vh; object-fit: contain; border-radius: 14px; box-shadow: var(--shadow); }
/* Teilen-Vorschau: langsamer Lichtglanz über der Karte (Motion-Gate; bei reduced-motion aus) */
.share-wrap { position: relative; display: block; overflow: hidden; border-radius: 14px; animation: cardfloat 5.2s ease-in-out infinite; }
.share-wrap::after { content: ''; position: absolute; inset: -20% auto -20% -60%; width: 55%; background: linear-gradient(100deg, transparent, rgba(255,251,239,.7), transparent); transform: skewX(-12deg); animation: glint 2.3s ease-in-out infinite; pointer-events: none; }
@keyframes glint { 0% { left: -60%; } 60%, 100% { left: 130%; } }
@keyframes cardfloat { 50% { transform: translateY(-6px) rotate(-.6deg); } }
.toast { max-width: calc(100% - 32px); overflow-wrap: anywhere; text-align: center; }
.hint.ok { color: var(--das-t); }
.lang-line { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; border: 0; background: transparent; font-family: var(--hand); font-size: 1.9rem; padding: 2px 10px; border-radius: 12px; cursor: pointer; color: var(--ink); text-align: left; }
.lang-line.first { font-size: 2.4rem; font-weight: 700; }
.lang-line:hover { background: rgba(30,42,58,.06); }
.lang-line small { font-family: var(--ui); font-size: .78rem; font-weight: 800; color: var(--pencil); min-width: 26px; }
.lang-line span { flex: 1; }
.lang-line svg { width: 22px; height: 22px; fill: none; stroke: var(--pencil); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card .langs { gap: 0; }
.card canvas.alive, .dict-detail canvas.big { width: min(300px, 78%); aspect-ratio: 4 / 3; display: block; margin: 0 auto; }
/* Treffer-Karte = Money-Shot: Zeichnung ~1,5× (Breite bis 460 px bzw. volle Kartenbreite, höhenbegrenzt) */
.card.hit canvas.alive { width: min(460px, 100%, calc(40vh * 4 / 3)); }
.card.hit .alive-wrap { margin: -6px -8px 0; }
.card.hit h3 { margin-bottom: 0; }
@media (max-width: 520px) { .card.hit { padding-inline: 12px; } }
/* Iteration 3 (R3-P2-3): am großen Bildschirm war die Karte quer und halbleer — die Zeichnung klein links, rechts drei
   Zeilen und dazwischen viel Nichts. Jetzt hochkant wie am Handy (Karte bis 560 px, Zeichnung groß, Sprachen darunter). */
@media (min-width: 900px) and (min-height: 700px) {
  .card.hit { width: min(560px, 100%); }
  /* 46vh: darüber schrumpft die Karte auf 700–820 px hohen Fenstern und der „Weiter"-Knopf rutscht in einen
     eigenen Scrollbereich (acuity Runde 1). Ab ~1000 px Höhe begrenzt ohnehin die Kartenbreite. */
  .card.hit canvas.alive { width: min(100%, calc(46vh * 4 / 3)); }
}
/* Nur auf flachen Fenstern (< 700 px Höhe) zweispaltig — sonst passt die hochkante Karte nicht ins erste Bild
   (Iteration 2, R2-P2-1: Zeichnung links groß, Wörter rechts) */
@media (min-width: 900px) and (min-height: 440px) and (max-height: 699px) {
  .card.hit { width: min(1100px, 100%); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: 'title title' 'art langs' 'art extra' 'art next'; grid-template-rows: auto 1fr auto auto; column-gap: 28px; align-items: center; }
  .card.hit h3 { grid-area: title; margin-bottom: 4px; }
  .card.hit .alive-wrap { grid-area: art; margin: 0; align-self: center; }
  .card.hit canvas.alive { width: min(100%, calc(64vh * 4 / 3)); }
  .card.hit .langs { grid-area: langs; align-self: end; margin-bottom: 8px; }
  .card.hit .tipcard { grid-area: extra; text-align: left; }
  .card.hit [data-act=next] { grid-area: next; align-self: start; }
}
.lang-line[data-say="de"][style] span { color: var(--ac); }
.attract::before, .attract::after { content: ''; position: absolute; z-index: 2; width: 74px; height: 22px; background: rgba(255,200,87,.55); box-shadow: 0 1px 2px rgba(0,0,0,.15); }
/* Review P3-10: Klebeband oben RECHTS + unten LINKS — nie über dem Wort oben links */
.attract::before { top: 8px; right: -16px; transform: rotate(32deg); }
.attract::after { bottom: 10px; left: -16px; transform: rotate(32deg); }
.attract { overflow: visible; }
.attract canvas { border-radius: var(--r); }
body[data-mode="air"] .round-top { background: linear-gradient(rgba(10,16,32,.55), rgba(10,16,32,0)); padding-bottom: 28px; }
.tipcard { background: #FFF6D6; border: 2px dashed var(--plural-t); border-radius: 14px; padding: 10px 14px; font-weight: 800; color: var(--ink); margin: 0 0 14px; }
.streak-line { display: flex; align-items: center; justify-content: center; gap: 8px; }
.flame { width: 30px; height: 40px; animation: flicker 1.2s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes flicker { 30% { transform: scale(1.06, .95) rotate(-3deg); } 60% { transform: scale(.96, 1.05) rotate(2deg); } }
.air-offer { display: grid; grid-template-columns: auto 1fr; grid-template-areas: 'ico text' 'acts acts'; gap: 6px 14px; align-items: center; max-width: 620px; margin: 16px auto 0; padding: 12px 16px; background: var(--night); color: #FFFBEF; border-radius: 18px; box-shadow: var(--shadow); animation: rise .5s .8s both; }
.air-offer .air-ico { grid-area: ico; width: 52px; height: 52px; fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(255,200,87,.6)); }
.air-offer .air-text { grid-area: text; display: flex; flex-direction: column; text-align: left; }
.air-offer strong { font-family: var(--hand); font-size: 1.9rem; line-height: 1; }
.air-offer span { font-size: .95rem; opacity: .9; }
.air-offer .air-acts { grid-area: acts; display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.air-offer .btn.ghost { color: #FFFBEF; }
.funny { display: flex; flex-direction: column; font-family: var(--hand); font-size: 1.8rem; font-weight: 700; }
.funny small { font-family: var(--ui); font-size: .85rem; color: var(--pencil); }
.dayend-grid figure { animation: rise .4s both; animation-delay: var(--d); }
.dayend-grid figure.miss { opacity: .75; }
.dayend-grid figcaption small { font-family: var(--ui); font-size: .8rem; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; margin-bottom: 10px; }
.pick { border: 2px solid var(--ink); border-radius: 14px; background: #FFFDF7; padding: 6px; cursor: pointer; font-family: var(--hand); font-size: 1.3rem; display: flex; flex-direction: column; align-items: center; min-height: 44px; }
.pick canvas { width: 100%; aspect-ratio: 1; }
.lead { text-align: center; font-weight: 800; font-size: 1.15rem; }
.word-picks { display: grid; gap: 12px; margin: 14px 0; }
.word-pick { min-height: 72px; border: 3px solid var(--c); border-radius: 18px; background: #FFFDF7; font-family: var(--hand); font-weight: 700; font-size: 2.4rem; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); transition: transform .12s; }
.word-pick:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.answer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn.answer { font-family: var(--hand); font-size: 1.8rem; font-weight: 700; min-height: 64px; }
.btn.answer.right { background: #BBF7D0; border-color: var(--das-t); }
.btn.answer.picked { opacity: .55; }
.times { font-weight: 800; color: var(--pencil); }
.duel-clock { display: flex; align-items: baseline; justify-content: center; gap: 16px; margin: -4px 0 10px; font-weight: 800; color: var(--pencil); }
.duel-clock .you b { font-family: var(--hand); font-size: 1.8rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.duel-clock span { display: inline-flex; align-items: baseline; gap: 4px; }
.duel-result.win { color: var(--das-t); }
.duel-score { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 6px; font-weight: 800; color: var(--pencil); }
.duel-score b { font-family: var(--hand); font-size: 3rem; line-height: 1; color: var(--ink); }
.duel-score i { font-style: normal; font-family: var(--hand); font-size: 2.4rem; color: var(--ink); }
.duel-score.small b { font-size: 2.2rem; } .duel-score.small i { font-size: 1.8rem; }
.link-art { width: min(220px, 62%); aspect-ratio: 4 / 3; display: block; margin: 0 auto 2px; background: #FFFDF7; border-radius: 14px; box-shadow: var(--shadow); }
.link-say { font-family: var(--hand); font-weight: 700; font-size: 1.6rem; line-height: 1.1; margin: 6px 0 8px; }
.link-box { background: #FFFDF7; border: 2px dashed var(--pencil); border-radius: 12px; padding: 10px; word-break: break-all; font-size: .8rem; text-align: left; max-height: 7.5em; overflow: auto; }
.dict-head { display: flex; align-items: center; gap: 10px; }
.dict-head .h-hand { flex: 1; text-align: left; margin: 0; }
.dict-head .count { font-weight: 800; color: var(--pencil); }
.icon-btn.ink { color: var(--ink); background: rgba(30,42,58,.07); }
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; }
.chip-f { flex: none; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--ink); background: #FFFDF7; font-weight: 800; cursor: pointer; }
.chip-f[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.dict-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 6px 0 14px; }
.dict-cell { background: #FFFDF7; border: 0; border-radius: 14px; box-shadow: var(--shadow); padding: 6px 6px 8px; cursor: pointer; display: flex; flex-direction: column; align-items: center; }
.dict-cell canvas { width: 100%; aspect-ratio: 1; }
.dict-cell span { font-family: var(--hand); font-weight: 700; font-size: 1.45rem; line-height: 1.1; }
.dict-cell small { color: var(--pencil); font-size: .8rem; }
.empty { text-align: center; padding: 30px 10px; }
.empty-art { width: 200px; height: 160px; }
.plural-line { margin: 6px 0 0; font-size: 1.05rem; }
.amb { background: #EEF2FF; border-radius: 12px; padding: 8px 12px; font-weight: 700; }
.weak-list { list-style: none; padding: 0; margin: 6px 0; display: flex; flex-wrap: wrap; gap: 6px 10px; justify-content: center; font-family: var(--hand); font-size: 1.6rem; }
.weak-list li { padding: 0 10px; border-radius: 10px; border: 2px dashed rgba(95,102,114,.5); }
.weak-list li.ok { border: 2px solid var(--das-t); background: #DCFCE7; }
.calib-card .progress, .clear-card .progress { margin: 14px auto; max-width: 320px; background: rgba(255,251,239,.2); }
.calib-card .progress { background: rgba(30,42,58,.12); }
.calib-ring { position: relative; }
.calib-ring.pinch::after { content: ''; position: absolute; left: 46%; top: 22%; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--gold); box-shadow: 0 0 12px rgba(255,200,87,.8); animation: breathe 1.2s ease-in-out infinite; }
.toggle { display: flex; align-items: center; gap: 12px; min-height: 48px; text-align: left; font-weight: 700; cursor: pointer; }
.toggle input { width: 22px; height: 22px; accent-color: var(--ink); }

a.btn { color: var(--ink); text-decoration: none; }
.overlay.duel { background: transparent; align-items: end; padding-bottom: calc(16px + var(--safe-b)); }
.overlay.duel .card { box-shadow: 0 -8px 40px rgba(0,0,0,.35); animation: rise .3s cubic-bezier(.2,1.3,.5,1); }
body.replay #timer, body.replay #mode-toggle, body.replay #round-speaker { visibility: hidden; }
#duel-body { text-align: center; }
/* Review P2-4: nur einmal beim Öffnen einwackeln (dauerndes Schweben war unruhig und für Klicks „instabil") */
.word-pick { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; padding: 6px 12px; animation: pickin .55s cubic-bezier(.3,1.5,.5,1) backwards; }
.word-pick small { font-family: var(--ui); font-size: .95rem; font-weight: 700; color: var(--pencil); margin-top: 2px; }
.word-pick:nth-child(2) { animation-delay: .08s; } .word-pick:nth-child(3) { animation-delay: .16s; }
@keyframes pickin { 0% { transform: translateY(10px) rotate(-1.2deg); opacity: 0; } 60% { transform: translateY(-3px) rotate(.6deg); opacity: 1; } 100% { transform: none; } }
.score-line .count { margin: 0 6px; }
.duel-stage { width: 100%; max-width: 560px; aspect-ratio: 16 / 8; margin: 4px auto 6px; display: block; border-radius: 18px; background: var(--night); box-shadow: var(--shadow); }
.dayend-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 10px 0 6px; }
.dayend-grid figure { position: relative; }
.dayend-grid figure.ok::after { content: ''; position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: #DCFCE7 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 13l4 4 10-11' fill='none' stroke='%2315803D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/16px no-repeat; }
.dayend-grid figure.miss { opacity: 1; border: 2px dashed rgba(107,114,128,.55); box-shadow: none; background: transparent; }
.score-line { font-size: 1.25rem; }
.score-line .count { font-family: var(--hand); font-size: 3.4rem; font-weight: 700; line-height: 1; vertical-align: -6px; color: var(--ink); }
@media (min-width: 900px) { #screen-dayend .page { max-width: 1000px; padding-top: 5vh; } .dayend-grid { grid-template-columns: repeat(5, 1fr); } }
.chips { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 40px; }

/* Luft-Modus, Onboarding, Artikel */
@media (max-width: 700px) { .bubble { bottom: calc(92px + var(--safe-b)); } .word { font-size: clamp(2.8rem, 12vw, 3.6rem); } }
.mode-toggle { position: absolute; right: 12px; bottom: calc(26px + var(--safe-b)); display: flex; gap: 4px; background: rgba(14,24,48,.6); padding: 4px; border-radius: 999px; }
.chip { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; color: #FFFBEF; font-weight: 800; cursor: pointer; }
.chip[aria-pressed="true"] { background: #FFFBEF; color: var(--night); }
.progress { height: 10px; border-radius: 5px; background: rgba(30,42,58,.12); overflow: hidden; margin: 12px 0; }
.progress i { display: block; height: 100%; background: var(--gold); transition: width .2s; }
.overlay.clear { background: transparent; pointer-events: none; }
.overlay.clear .card { background: transparent; box-shadow: none; color: #FFFBEF; }
.handcheck .hc-ring { width: 180px; height: 180px; margin: 0 auto 10px; border-radius: 50%; border: 4px dashed rgba(255,251,239,.7); display: grid; place-items: center; animation: breathe 2.4s ease-in-out infinite; }
.clear-card.ok .hc-ring { border-color: #86EFAC; border-style: solid; box-shadow: 0 0 40px rgba(134,239,172,.6); }
@keyframes breathe { 50% { transform: scale(1.06); } }
.precam { display: grid; grid-template-columns: 1fr 1fr; justify-items: center; align-items: end; gap: 0 12px; margin-bottom: 6px; }
.precam .pose { grid-row: 2; margin: 0; font-weight: 800; font-size: .95rem; }
.precam svg:nth-of-type(1) { grid-column: 1; } .precam svg:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.precam .pose:nth-of-type(1) { grid-column: 1; } .precam .pose:nth-of-type(2) { grid-column: 2; }
.art-q { font-size: 1.7rem !important; color: var(--pencil); margin-bottom: 0 !important; }
.art-noun { font-family: var(--hand); font-weight: 700; font-size: clamp(3rem, 12vw, 4.2rem); line-height: 1; margin: 0 0 14px; }
.art-noun::before { content: '___ '; color: rgba(30,42,58,.28); letter-spacing: -2px; }
.art-card svg, .precam svg { animation: bob 2.2s ease-in-out infinite; transform-origin: 50% 90%; }
.art-card:nth-child(2) svg { animation-delay: -.7s; } .art-card:nth-child(3) svg { animation-delay: -1.4s; }
.precam svg:nth-of-type(2) { animation: wave 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-3deg); } }
@keyframes wave { 25% { transform: rotate(-9deg); } 75% { transform: rotate(9deg); } }
:focus:not(:focus-visible) { outline: none; }
/* Review P3-8: per Tastatur erreichbare Scroll-Container bekommen einen sichtbaren Fokusring */
.paper:focus-visible, .chips:focus-visible, .card:focus-visible, .sheet-card:focus-visible, .link-box:focus-visible, .page:focus-visible { outline: 3px solid var(--der-t); outline-offset: -4px; }
body:not(.kbd) .btn:focus-visible { outline: none; }
.art-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.art-card { position: relative; border: 3px solid var(--c); border-radius: 18px; background: #FFFDF7; padding: 10px 4px 8px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 44px; transition: transform .15s, box-shadow .15s; box-shadow: 3px 3px 0 var(--ct); }
.art-card:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ct); }
.art-card .art-label { font-family: var(--hand); font-weight: 700; font-size: 2.2rem; color: var(--ct); line-height: 1; }
.art-card .art-n { font-size: .8rem; color: var(--pencil); font-weight: 700; }
.art-card .ring { position: absolute; inset: -3px; border-radius: 18px; background: conic-gradient(var(--c) calc(var(--p) * 360deg), transparent 0); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 5px; pointer-events: none; }
.art-card.live { transform: translateY(-4px); }
.art-card.flash { animation: flash .6s ease; background: var(--c); } .art-card.flash .art-label, .art-card.flash .art-n { color: #fff; }
.art-card.flash svg { animation: hop .5s ease; }
.art-card.wobble { animation: wobble .5s ease; }
/* Review P3-3: die gewählte (andere) Karte schüttelt sich kurz rot */
.art-card.wrong { border-color: #DC2626; background: #FEE2E2; box-shadow: 3px 3px 0 #B91C1C; animation: wobble .55s ease, wrongfade 1.6s ease forwards; }
@keyframes wrongfade { 0%, 60% { background: #FEE2E2; } 100% { background: #FFFDF7; } }
@keyframes flash { 0% { box-shadow: 0 0 0 0 var(--c); } 40% { box-shadow: 0 0 0 14px transparent; transform: scale(1.06); } }
@keyframes hop { 40% { transform: translateY(-10px); } }
@keyframes wobble { 20% { transform: translateX(-8px) rotate(-3deg); } 40% { transform: translateX(7px) rotate(2deg); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
.hint { color: var(--pencil); font-weight: 700; margin: 10px 0 0; }
.real-card .x2, .x2 { font-family: var(--hand); font-weight: 700; font-size: 5rem; color: var(--die-t); transform: rotate(-12deg); display: inline-block; border: 5px solid var(--die-t); border-radius: 16px; padding: 0 16px; animation: stamp .35s cubic-bezier(.3,1.7,.5,1); }
@keyframes stamp { 0% { transform: rotate(-12deg) scale(2.2); opacity: 0; } 100% { transform: rotate(-12deg) scale(1); opacity: 1; } }

.demo-hand { position: absolute; left: 50%; top: 18%; transform: translateX(-50%); z-index: 30; pointer-events: none; animation: bob 1.4s ease-in-out infinite; filter: drop-shadow(0 0 16px rgba(255,200,87,.5)); }
body.demo #mode-toggle { visibility: hidden; }

/* Review P3-7: keine Endlos-Schleifen (vorher liefen glowpulse/tagfade im 0,01-ms-Takt weiter) */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* Iteration 2 (R2-P2-6): Empfänger-Landeseite = erster Kontakt über den Duell-Link */
body.landing-on #screen-duel .page { max-width: none; padding: 0; min-height: 100%; display: flex; }
.landing { display: flex; flex-direction: column; align-items: stretch; gap: 12px; width: 100%; min-height: 100%; padding: calc(14px + var(--safe-t)) 16px calc(16px + var(--safe-b)); text-align: center; }
.landing-head { display: flex; flex-direction: column; align-items: center; }
.landing-logo { margin: 0; font-size: clamp(3.4rem, 15vw, 5rem); }
.landing .tagline { font-size: 1.6rem; min-height: 0; }
.landing-art { position: relative; flex: 1 1 auto; min-height: 30vh; border-radius: var(--r); overflow: hidden; background: var(--night); box-shadow: var(--shadow); }
.landing-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.landing-lead { font-family: var(--hand); font-weight: 700; font-size: clamp(1.7rem, 6.4vw, 2.1rem); line-height: 1.12; margin: 2px 4px; }
.landing-score { margin: -4px 0 0; font-weight: 800; color: var(--pencil); }
.landing-acts { display: flex; flex-direction: column; gap: 10px; }
.landing-acts .btn.primary.big { font-size: 1.2rem; line-height: 1.2; padding-block: 10px; }
.landing .pair { margin-top: 2px; }
@media (min-width: 700px) {
  body.landing-on #screen-duel .page { align-items: center; justify-content: center; padding: 24px 16px; }
  .landing { width: min(600px, 100%); min-height: 0; padding: 26px 30px 24px; background: #FFFDF7; border-radius: 26px; box-shadow: 0 1px 0 rgba(30,42,58,.08), 0 26px 60px -24px rgba(30,42,58,.45); }
  .landing-art { flex: none; min-height: 0; aspect-ratio: 16 / 8; max-height: 34vh; }
}
@media (min-width: 700px) and (max-height: 760px) { .landing { gap: 8px; padding-block: 16px; } .landing-logo { font-size: 3.6rem; } .landing-art { max-height: 26vh; } }
/* Duell-Ergebnis + versteckter Link (Punkt 13) */
.duel-next { font-weight: 800; margin: 0 0 6px; }
.duel-lead { font-family: var(--hand); font-weight: 700; font-size: 1.9rem; margin: 0 0 6px; }
.link-details { margin-top: 10px; text-align: left; }
.link-details summary { cursor: pointer; font-weight: 700; color: var(--pencil); min-height: 44px; display: flex; align-items: center; justify-content: center; }

/* R2-P2-9 / Zusatz 23: „Überspringen“ während der Stift-Kalibrierung (Karte selbst lässt Zeiger durch) */
.overlay.clear .calib-skip { pointer-events: auto; margin-top: 6px; background: rgba(14,24,48,.6); color: #FFFBEF; border-color: rgba(255,251,239,.6); box-shadow: none; }

/* Iteration 2 (R2-P3-16): Teilen-/Poster-Vorschau — Glanz nur als schimmernder Rand, nie über Zeichnung oder Beschriftung */
.share-wrap { padding: 7px; border-radius: 20px; background: linear-gradient(110deg, rgba(255,200,87,.28) 0%, rgba(255,200,87,.28) 38%, rgba(255,251,239,.95) 50%, rgba(255,200,87,.28) 62%, rgba(255,200,87,.28) 100%); background-size: 320% 100%; animation: cardfloat 5.2s ease-in-out infinite, rimglint 2.3s linear infinite; }
.share-wrap::after { content: none; animation: none; }
.share-wrap .share-img { display: block; position: relative; background: #F7F1E3; }
@keyframes rimglint { from { background-position: 100% 0; } to { background-position: 0% 0; } }

/* Iteration 2 (R2-P3-9 / Wächter G2): auf niedrigen Laptop-Bildschirmen bleibt der Hauptknopf im ersten Bild —
   nach dem Spielen (Heute-Kachel) bzw. mit In-App-Hinweis wird die Demo-Karte kleiner und die Kachel kompakter */
@media (max-height: 800px) and (min-width: 520px) {
  .start-wrap.inapp-on .attract { width: min(100%, calc(40vh * 4 / 3)); }
  .start-wrap.played .attract { width: min(100%, calc(29vh * 4 / 3)); }
  .start-wrap.played.inapp-on .attract { width: min(100%, calc(24vh * 4 / 3)); }
  .start-wrap.played .today-tile { padding: 6px 10px; gap: 2px 12px; }
  .start-wrap.played .today-art { width: 64px; height: 64px; }
  .start-wrap.played .today-main strong { font-size: 1.7rem; }
}
/* R3-P3-1: auf flachen Laptop-Fenstern (1366×657) begannen „Luft-Duell" und „Bildwörterbuch" erst bei 631 px und
   waren angeschnitten, die Fußzeile ganz weg. Weniger Abstand zwischen Sprachwahl und Hauptknopf + kleinere Demo-Karte. */
@media (max-height: 700px) and (min-width: 520px) {
  .start-wrap { gap: 8px; }
  .attract { width: min(100%, calc(36vh * 4 / 3)); }
  .logo { font-size: min(4.2rem, 9vh); }
  .tagline { font-size: 1.3rem; min-height: 1.6rem; }
  .start-actions { gap: 8px; }
  .daily-hint { margin: 0; }
}

/* R2-P3-11: 2 oder 3 lesbare Beispiele — Kacheln füllen die Breite */
.others { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
.others[style*="--n: 2"] canvas, .others[style*="--n:2"] canvas { max-width: 200px; justify-self: center; }

/* R2-P3-13: In-App-Browser-Teilen — „Lange drücken" ist die Hauptaktion; Hinweis-Zeile mit Satzzeichen */
.share-press { font-family: var(--hand); font-weight: 700; font-size: 1.7rem; line-height: 1.15; margin: 10px 0 2px; }
.inapp strong::after { content: '.'; }

/* Iteration 2, Punkt 14 */
.art-noun.reveal { font-size: clamp(3.4rem, 14vw, 5rem); animation: pop2 .35s cubic-bezier(.3,1.6,.5,1); }
.art-noun.reveal::before { content: none; }
@keyframes pop2 { 0% { transform: scale(.7); } 100% { transform: scale(1); } }
.seg button.locked.wobble { animation: wobble .5s ease; }
.word { white-space: nowrap; }
.daily-hint.lost { color: var(--die-t); }
