/* Startseite vor der Party - mobile first (auch in der Testseite und auf /tv/ verwendet) */
.pre { --a: #E6FF2E; position: relative; min-height: 100%; height: 100%; overflow-y: auto; overflow-x: hidden; background: #111111; color: #F7F7F2; }
.pre .inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; min-height: 100%; box-sizing: border-box; padding: max(18px, env(safe-area-inset-top)) 18px max(26px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 30px; }

/* Die 26 im Hintergrund: atmet langsam, folgt leicht dem Kippen */
.pre .live26 { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; overflow: hidden; }
.pre .live26 .mv { transform: translate(var(--px, 0px), var(--py, 0px)); transition: transform .8s cubic-bezier(.2,.8,.3,1); }
.pre .live26 span { display: block; font-weight: 900; font-size: min(150vw, 115vh); line-height: .8; letter-spacing: -0.07em; color: #1A1A18; user-select: none; animation: breathe 8s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }

.pre .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 900; font-size: 15px; }
.pre .top .when { background: var(--a); color: #111111; padding: 5px 9px; font-size: 13px; letter-spacing: 0.04em; white-space: nowrap; }
.pre .kicker { font-size: 13px; font-weight: 900; letter-spacing: 0.3em; text-transform: uppercase; color: var(--a); }

.pre .units { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.pre .units > div { border-top: 3px solid currentColor; padding-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.pre .num { display: flex; font-size: clamp(40px, 15vw, 76px); font-weight: 900; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; height: 1em; overflow: hidden; }
.pre .num i { font-style: normal; display: inline-block; animation: roll .35s cubic-bezier(.2,.8,.3,1.1) both; }
@keyframes roll { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
.pre .units small { font-size: 11px; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; color: #8E8E88; }
.pre .line { margin-top: 18px; min-height: 2.6em; font-size: 20px; font-weight: 400; line-height: 1.3; color: #CFCFC8; }
.pre .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.pre .infos { display: flex; flex-direction: column; border-top: 2px solid #2E2E2B; }
.pre .info { padding: 12px 0; border-bottom: 2px solid #2E2E2B; display: flex; flex-direction: column; gap: 2px; }
.pre .info b { font-size: 13px; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; color: #8E8E88; }
.pre .info p { font-size: 17px; font-weight: 600; }
.pre .info.new b { color: var(--a); }
.pre .info.next { flex-direction: row; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #8E8E88; }

.pre .oracle-open { justify-content: flex-start; gap: 12px; background: transparent; color: inherit; border: 2px solid currentColor; min-height: 60px; font-size: 17px; }
.pre .oracle-open span:last-child { margin-left: auto; }
.pre .oracle-open:hover { background: rgba(247,247,242,0.06); color: inherit; }
.pre .oracle { display: flex; flex-direction: column; gap: 12px; border: 2px solid currentColor; padding: 16px; }
.pre .oracle .dim { color: #A9A9A2; font-weight: 600; }
.pre .oracle input, .pre .oracle textarea { background: #1B1B19; color: #F7F7F2; border-color: #F7F7F2; }
.pre .oracle textarea { min-height: 80px; }
.pre .oracle button.primary { background: var(--a); border-color: var(--a); color: #111111; }
.pre .oracle .ans { font-family: 'Space Mono', monospace; font-weight: 700; font-size: 16px; color: var(--a); animation: ansIn .6s ease-out both; }
@keyframes ansIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pre .eye { flex-shrink: 0; }

/* Letzte Stunde: bleibt dunkel, hebt sich nur leicht ab (gelbe Ziffern, gelbe Linien) */
.pre.final .units > div { border-color: var(--a); }
.pre.final .num { color: var(--a); }
.pre.final .line { color: #F7F7F2; }
.pre .last10 { position: fixed; inset: 0; z-index: 30; background: #111111; color: #E6FF2E; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.pre .last10 .kicker { color: #F7F7F2; }
.pre .last10 b { font-size: 60vw; line-height: .85; font-weight: 900; letter-spacing: -0.06em; animation: pop .5s cubic-bezier(.2,.9,.3,1.3) both; }
@keyframes pop { from { transform: scale(1.5); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 760px) { .pre .inner { padding-top: 40px; } }
@media (prefers-reduced-motion: reduce) { .pre .live26 span, .pre .num i { animation: none; } }
