:root {
  --bg: #07090f;
  --surface: #11141c;
  --surface-2: #191e2a;
  --surface-3: #232938;
  --line: rgba(255, 255, 255, 0.08);
  --ink: #f2f3f7;
  --muted: #9aa3b5;
  --faint: #6b7385;
  --blue: #0646a5;
  --blue-hi: #4d86ff;
  --red: #ff2e17;
  --green: #1fae5b;
  --grey: #7c8392;
  --amber: #f2a93b;
  --display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --sans: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --peek: 300px;
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); font: 15px/1.45 var(--sans); overflow: hidden; overscroll-behavior: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 0.92em; letter-spacing: -0.01em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 14px; background: var(--surface-3); font-weight: 600; transition: transform .12s, background .2s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--ink); color: #0b0d14; }
.btn.ghost { background: transparent; border: 1px solid var(--line); }
.btn.red { background: var(--red); color: #fff; }
.btn svg { width: 18px; height: 18px; }
.round { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(10, 12, 18, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.1); }
.round svg { width: 20px; height: 20px; }
.round.lg { width: 56px; height: 56px; }
.round.lg svg { width: 24px; height: 24px; }
.link { color: var(--muted); font-weight: 600; font-size: 13px; padding: 8px; }
.badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--red); color: #fff; font: 700 11px/20px var(--sans); text-align: center; }

/* ---------- Anmeldung ---------- */
.gate { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; background: radial-gradient(120% 80% at 50% 0%, #10224a 0%, var(--bg) 60%); }
.gate-card { width: min(380px, 100%); text-align: center; }
.gate-logo { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 18px 50px rgba(6, 70, 165, .45); }
.gate h1 { font: 44px/1 var(--display); letter-spacing: .02em; margin: 18px 0 6px; }
.gate form { display: grid; gap: 14px; margin-top: 26px; text-align: left; }
.gate label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.gate input { height: 52px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); padding: 0 16px; font-size: 18px; color: var(--ink); }
.gate input:focus { outline: 2px solid var(--blue-hi); outline-offset: 1px; }
.err { color: #ff8a7a; min-height: 1.4em; margin: 0; font-size: 14px; }

/* ---------- Kamera ---------- */
.scan { position: fixed; inset: 0; overflow: hidden; background: #000; }
#cam, .freeze { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.freeze { z-index: 1; animation: freeze-in .25s ease-out; }
@keyframes freeze-in { from { filter: brightness(1.8); } to { filter: brightness(1); } }
.shade { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,7,12,.78) 0%, rgba(5,7,12,0) 26%, rgba(5,7,12,0) 62%, rgba(5,7,12,.85) 100%); }

.top { position: absolute; z-index: 5; top: 0; left: 0; right: 0; padding: calc(var(--safe-t) + 12px) 16px 0; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: baseline; gap: 8px; }
.brand-mark { font: 26px/1 var(--display); letter-spacing: .04em; }
.brand-mark::first-letter { color: var(--ink); }
.brand-sub { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }

.modes { position: absolute; z-index: 5; top: calc(var(--safe-t) + 66px); left: 50%; transform: translateX(-50%); display: flex; gap: 4px; padding: 4px; border-radius: 18px; background: rgba(10, 12, 18, .6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.08); }
.modes button { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 10px; border-radius: 14px; color: var(--muted); font-weight: 700; font-size: 15px; transition: background .2s, color .2s; }
.modes button svg { width: 22px; height: 22px; stroke-width: 1.6; }
.modes button svg .lbl { fill: currentColor; stroke: none; opacity: .5; }
.modes button svg .hole { stroke-width: 1.6; }
.modes button svg .cd { stroke-dasharray: 2 2.4; }
.modes button[aria-checked="true"] { background: var(--ink); color: #0b0d14; }
.modes button[aria-checked="true"] svg .lbl { fill: var(--red); opacity: 1; }

.frame { position: absolute; z-index: 3; left: 50%; top: 46%; width: min(78vw, 46vh, 420px); aspect-ratio: 1; transform: translate(-50%, -50%); transition: width .35s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.scan[data-mode='7"'] .frame { width: min(62vw, 38vh, 330px); }
.scan[data-mode="CD"] .frame { width: min(64vw, 38vh, 330px); }
.frame .c { position: absolute; width: 34px; height: 34px; border: 3px solid rgba(255,255,255,.92); transition: border-color .3s; }
.frame .tl { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 18px; }
.frame .tr { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 18px; }
.frame .bl { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 18px; }
.frame .br { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 18px; }
.scan.steadying .frame .c { border-color: var(--amber); }
.scan.busy .frame .c { border-color: var(--blue-hi); }
.scanline { position: absolute; left: 6%; right: 6%; height: 2px; top: 0; opacity: 0; background: linear-gradient(90deg, transparent, var(--blue-hi), transparent); box-shadow: 0 0 18px 4px rgba(77,134,255,.55); }
.scan.busy .scanline { opacity: 1; animation: sweep 1.3s ease-in-out infinite alternate; }
@keyframes sweep { from { top: 4%; } to { top: 96%; } }
.steady { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); width: 46%; height: 3px; border-radius: 2px; background: rgba(255,255,255,.15); overflow: hidden; opacity: 0; transition: opacity .2s; }
.steady span { display: block; height: 100%; width: 0; background: var(--amber); transition: width .25s linear; }
.scan.steadying .steady { opacity: 1; }

.status { position: absolute; z-index: 5; left: 50%; top: calc(46% + min(39vw, 23vh, 210px) + 30px); transform: translateX(-50%); width: max-content; max-width: 86vw; padding: 9px 16px; border-radius: 20px; line-height: 1.3; background: rgba(10,12,18,.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-weight: 600; font-size: 14px; text-align: center; border: 1px solid rgba(255,255,255,.08); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.status.warn { color: #ffcf8a; }
.status.bad { color: #ff9a8c; }

.controls { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; padding: 0 28px calc(var(--safe-b) + 26px); display: flex; align-items: center; justify-content: space-between; }
.shutter { width: 82px; height: 82px; border-radius: 50%; border: 4px solid rgba(255,255,255,.95); display: grid; place-items: center; transition: transform .12s; }
.shutter span { width: 64px; height: 64px; border-radius: 50%; background: #fff; transition: transform .2s, background .2s; }
.shutter:active { transform: scale(.94); }
.scan.busy .shutter span { background: var(--blue-hi); transform: scale(.55); border-radius: 30%; }
.auto b { font: 17px/1 var(--display); letter-spacing: .08em; color: var(--muted); }
.auto[aria-pressed="true"] { background: rgba(31, 174, 91, .22); border-color: rgba(31,174,91,.6); }
.auto[aria-pressed="true"] b { color: #7ff0ae; }

/* ---------- Ergebnis-Blatt ---------- */
.sheet { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; height: calc(100dvh - var(--safe-t) - 52px); max-width: 640px; margin: 0 auto;
  background: var(--surface); border-radius: 26px 26px 0 0; border: 1px solid var(--line); border-bottom: 0;
  box-shadow: 0 -18px 60px rgba(0,0,0,.55); transform: translateY(100%); transition: transform .42s cubic-bezier(.2,.9,.2,1); display: flex; flex-direction: column; }
.sheet[data-state="peek"] { transform: translateY(calc(100% - var(--peek))); }
.sheet[data-state="full"] { transform: translateY(0); }
.grip { flex: none; height: 26px; display: grid; place-items: center; }
.grip span { width: 42px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.22); }
.sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 16px calc(var(--safe-b) + 24px); }
.sheet[data-state="peek"] .sheet-body { overflow: hidden; }

.res-head { display: flex; gap: 14px; align-items: center; }
.cover { flex: none; width: 76px; height: 76px; border-radius: 10px; object-fit: cover; background: var(--surface-3); box-shadow: 0 6px 20px rgba(0,0,0,.5); }
.meta { min-width: 0; flex: 1; }
.artist { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.title { font-size: 19px; font-weight: 700; line-height: 1.2; margin: 2px 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.press { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chip { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; font-weight: 700; background: var(--surface-3); color: var(--muted); }
.chip.ok { background: rgba(31,174,91,.16); color: #7ff0ae; }
.chip.warn { background: rgba(242,169,59,.16); color: #ffcf8a; }
.chip.big { background: rgba(77,134,255,.16); color: #a9c4ff; }

.verdict { position: relative; margin-top: 14px; border-radius: 18px; padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 12px; overflow: hidden; }
.verdict::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 140% at 100% 0%, rgba(255,255,255,.16), transparent 55%); pointer-events: none; }
.v-kiste { background: linear-gradient(135deg, #3a3f4b, #2a2e38); }
.v-laden { background: linear-gradient(135deg, #0a55c7, var(--blue)); }
.v-online { background: linear-gradient(135deg, #22b864, #128a45); }
.v-pruefen { background: linear-gradient(135deg, #ff4a2e, #d61d0a); }
.v-word { font: 40px/0.9 var(--display); letter-spacing: .04em; }
.v-sub { grid-column: 1; font-size: 13px; font-weight: 600; opacity: .92; line-height: 1.3; }
.v-price { grid-row: 1 / span 2; grid-column: 2; text-align: right; }
.v-price b { display: block; font: 58px/0.85 var(--display); letter-spacing: .01em; }
.v-price small { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; opacity: .85; margin-bottom: 2px; }
.v-price .alt { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; opacity: .9; }
.verdict.loading .v-price b { width: 92px; height: 50px; border-radius: 10px; background: rgba(255,255,255,.18); animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }

.conds { display: flex; gap: 6px; margin-top: 12px; }
.conds button { flex: 1; height: 38px; border-radius: 11px; background: var(--surface-2); font-weight: 700; font-size: 14px; color: var(--muted); border: 1px solid transparent; }
.conds button[aria-pressed="true"] { background: var(--ink); color: #0b0d14; }
.conds-label { font-size: 11px; color: var(--faint); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; margin: 12px 0 -6px; }

.actions { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; margin-top: 12px; }
.actions .btn { min-height: 46px; padding: 0 10px; font-size: 14px; }

.sec { margin-top: 22px; }
.sec h3 { margin: 0 0 10px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat { background: var(--surface-2); border-radius: 14px; padding: 12px; min-width: 0; }
.stat .k { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.stat .v { font: 30px/1 var(--display); letter-spacing: .02em; margin-top: 4px; }
.stat .s { font-size: 12px; color: var(--muted); margin-top: 2px; }
.meter { display: flex; gap: 3px; margin-top: 8px; }
.meter i { flex: 1; height: 5px; border-radius: 3px; background: rgba(255,255,255,.1); }
.meter i.on { background: var(--green); }
.meter.lvl-0 i.on, .meter.lvl-1 i.on { background: var(--grey); }
.meter.lvl-4 i.on { background: var(--red); }

.reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.reasons li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: 14px; line-height: 1.35; }
.reasons li::before { content: "•"; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: var(--surface-3); color: var(--muted); }
.reasons .up::before { content: "↑"; background: rgba(31,174,91,.18); color: #7ff0ae; }
.reasons .down::before { content: "↓"; background: rgba(124,131,146,.22); color: #c4c9d4; }
.reasons .warn::before { content: "!"; background: rgba(255,46,23,.2); color: #ff9a8c; }
.reasons .good::before { content: "★"; background: rgba(242,169,59,.2); color: #ffcf8a; }
.reasons .guide::before { content: "§"; background: rgba(77,134,255,.18); color: #a9c4ff; }
.reasons .warn { background: rgba(255,46,23,.09); }
.reasons .good { background: rgba(242,169,59,.1); }

.vers { display: grid; gap: 6px; }
.ver { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: var(--surface-2); text-align: left; width: 100%; }
.ver img, .ver .noimg { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; background: var(--surface-3); }
.ver .t { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ver .d { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ver .r { text-align: right; font-size: 12px; color: var(--muted); }
.ver .r b { display: block; font: 22px/1 var(--display); color: var(--ink); }
.ver.matched { outline: 2px solid var(--blue-hi); }
.ver .tag { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 1px 5px; border-radius: 4px; background: var(--surface-3); color: var(--muted); margin-right: 4px; }
.ver .tag.orig { background: rgba(242,169,59,.18); color: #ffcf8a; }
.ver .tag.hot { background: rgba(255,46,23,.18); color: #ff9a8c; }
.ver .tag.here { background: rgba(77,134,255,.2); color: #a9c4ff; }
.ver-bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,.08); margin-top: 5px; overflow: hidden; }
.ver-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--grey), var(--red)); }
.spread { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.spread b { color: var(--ink); }

.check { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,46,23,.1); border: 1px solid rgba(255,46,23,.35); font-size: 14px; }
.check b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #ff9a8c; margin-bottom: 4px; }
.check .mono { font-size: 15px; color: var(--ink); }

.guide { background: var(--surface-2); border-radius: 14px; padding: 12px 14px; }
.guide .tier { font: 26px/1 var(--display); letter-spacing: .03em; }
.guide ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: 13.5px; }

.links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.links a { display: block; padding: 11px 12px; border-radius: 12px; background: var(--surface-2); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.links a small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.foot { margin-top: 18px; font-size: 12.5px; color: var(--faint); line-height: 1.55; }
.foot b { color: var(--muted); }
.buy { display: flex; gap: 8px; margin-top: 8px; }
.buy div { flex: 1; background: var(--surface-2); border-radius: 12px; padding: 10px 12px; }
.buy small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.buy b { font: 24px/1.1 var(--display); }
.hint { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(242,169,59,.1); color: #ffdca8; font-size: 13.5px; }

/* ---------- Liste ---------- */
.panel { position: fixed; inset: 0; z-index: 30; background: var(--bg); display: flex; flex-direction: column; animation: slide-in .28s cubic-bezier(.2,.9,.2,1); }
@keyframes slide-in { from { transform: translateX(30%); opacity: 0; } }
.panel-head { display: flex; align-items: center; gap: 12px; padding: calc(var(--safe-t) + 10px) 14px 10px; }
.panel-head h2 { flex: 1; margin: 0; font: 30px/1 var(--display); letter-spacing: .03em; }
.panel .round { background: var(--surface-2); }
.tabs { display: flex; gap: 6px; padding: 0 14px 10px; }
.tabs button { flex: 1; height: 38px; border-radius: 12px; background: var(--surface); color: var(--muted); font-weight: 700; font-size: 14px; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #0b0d14; }
.pile-list { flex: 1; overflow-y: auto; padding: 4px 14px calc(var(--safe-b) + 20px); display: grid; gap: 8px; align-content: start; }
.row { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: var(--surface); text-align: left; width: 100%; }
.row img, .row .noimg { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; background: var(--surface-3); }
.row .t { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .a { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .w { font-size: 11.5px; color: var(--faint); margin-top: 2px; }
.row .p { text-align: right; }
.row .p b { display: block; font: 24px/1 var(--display); }
.row.done { opacity: .45; }
.pill { display: inline-block; padding: 2px 7px; border-radius: 6px; font: 13px/1.2 var(--display); letter-spacing: .06em; }
.pill.kiste { background: #3a3f4b; } .pill.laden { background: var(--blue); } .pill.online { background: #158a46; } .pill.pruefen { background: var(--red); }
.empty { text-align: center; color: var(--muted); padding: 60px 20px; }
.done-btn { margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--muted); padding: 4px 8px; border-radius: 8px; background: var(--surface-3); }

/* ---------- Dialog ---------- */
.dlg { width: min(560px, 100vw); max-width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--ink); }
@media (min-width: 600px) { .dlg { height: auto; max-height: 86vh; margin: auto; border-radius: 22px; border: 1px solid var(--line); } }
.dlg::backdrop { background: rgba(0,0,0,.6); }
.dlg[open] { display: flex; flex-direction: column; }
.dlg-head { display: flex; align-items: center; justify-content: space-between; padding: calc(var(--safe-t) + 12px) 16px 8px; }
.dlg-head h2 { margin: 0; font: 30px/1 var(--display); letter-spacing: .03em; }
.dlg .round { background: var(--surface-2); }
.search-form { display: flex; gap: 8px; padding: 4px 16px 12px; }
.search-form input { flex: 1; min-width: 0; height: 48px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); padding: 0 14px; font-size: 16px; }
.pick-list { flex: 1; overflow-y: auto; padding: 0 16px calc(var(--safe-b) + 20px); display: grid; gap: 8px; align-content: start; }

.top-actions { display: flex; gap: 10px; }
.install { position: absolute; z-index: 6; left: 12px; right: 12px; bottom: calc(var(--safe-b) + 124px); display: flex; align-items: center; gap: 12px; padding: 12px 40px 12px 12px; border-radius: 18px; background: rgba(17, 20, 28, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.install img { width: 44px; height: 44px; border-radius: 11px; flex: none; }
.install-text { flex: 1; font-size: 13.5px; line-height: 1.35; }
.install-text b { display: block; font-size: 14.5px; }
.install .btn { min-height: 40px; padding: 0 14px; flex: none; }
.install-close { position: absolute; top: 6px; right: 8px; width: 30px; height: 30px; font-size: 22px; line-height: 1; color: var(--muted); }
.share-ic { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; margin: 0 2px; }
.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(var(--safe-b) + 120px); transform: translateX(-50%); padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #0b0d14; font-weight: 600; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.4); max-width: 88vw; text-align: center; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (min-width: 700px) { .sheet { border-radius: 26px 26px 0 0; } }
