/* ==========================================================================
   SM64 Germany Quiz Show – Basis-Design
   Farben/Schriften kommen aus /theme.css (Admin-Panel → Design).
   Eigene Anpassungen am besten über "Eigenes CSS" im Admin-Panel.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--heading-font); margin: 0 0 .5em; }
a { color: var(--accent); }
img { max-width: 100%; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: .85em; }
.row { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; }
.right { margin-left: auto; }

/* ---------- Formulare & Buttons ---------- */
input, select, textarea, button { font: inherit; color: inherit; }
input[type=text], input[type=password], input[type=number], input[type=url], select, textarea {
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: calc(var(--radius) / 2);
  padding: .55rem .7rem;
  outline: none;
  min-width: 0;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent); }
select option { background: var(--surface); }
textarea { resize: vertical; width: 100%; }
input[type=color] { width: 2.6rem; height: 2.2rem; padding: 0; border: none; background: none; cursor: pointer; }
label { display: block; }
label > span.lbl { display: block; font-size: .8rem; color: var(--muted); margin-bottom: .25rem; }
.check { display: flex; align-items: center; gap: .45rem; cursor: pointer; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: none; border-radius: calc(var(--radius) / 2);
  padding: .55rem 1rem; cursor: pointer; font-weight: 600;
  background: var(--surface2); color: var(--text);
  transition: transform .08s, filter .15s, background .15s;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.15); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; filter: none; transform: none; }
.btn.primary { background: var(--primary); color: #fff; }
.btn.secondary { background: var(--secondary); color: #1a1a1a; }
.btn.accent { background: var(--accent); color: #fff; }
.btn.good { background: var(--correct); color: #fff; }
.btn.bad { background: var(--wrong); color: #fff; }
.btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,.2); }
.btn.sm { padding: .3rem .6rem; font-size: .85rem; }
.btn.xs { padding: .15rem .45rem; font-size: .75rem; }
.btn.big { padding: .9rem 1.6rem; font-size: 1.15rem; }

.card {
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
}
.badge {
  display: inline-block; padding: .1rem .5rem; border-radius: 999px; font-size: .75rem; font-weight: 700;
  background: var(--surface2); color: var(--text); vertical-align: middle;
}
.badge.red { background: var(--wrong); }
.badge.green { background: var(--correct); }
.badge.yellow { background: var(--secondary); color: #111; }
.badge.blue { background: var(--accent); }
.dot { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; background: #666; vertical-align: middle; }
.dot.on { background: var(--correct); box-shadow: 0 0 6px var(--correct); }
.avatar { width: 2.2rem; height: 2.2rem; border-radius: 50%; object-fit: cover; background: var(--surface2); flex: none; }
.avatar.lg { width: 4.5rem; height: 4.5rem; }

/* ---------- Toasts ---------- */
#toasts { position: fixed; right: 1rem; bottom: 1rem; display: flex; flex-direction: column; gap: .5rem; z-index: 9999; }
.toast { background: var(--surface2); padding: .7rem 1rem; border-radius: 10px; box-shadow: 0 6px 24px rgba(0,0,0,.5); animation: toastIn .25s ease; max-width: 380px; border-left: 4px solid var(--accent); }
.toast.err { border-left-color: var(--wrong); }
.toast.ok { border-left-color: var(--correct); }
@keyframes toastIn { from { transform: translateY(20px); opacity: 0; } }

/* ---------- Login-Seite ---------- */
.landing { min-height: 100%; display: grid; place-items: center; padding: 2rem 1rem; }
.landing .card { width: min(420px, 100%); text-align: center; }
.landing .logo { max-height: 120px; margin-bottom: 1rem; }
.landing h1 { font-size: 2rem; color: var(--secondary); text-shadow: 0 3px 0 var(--primary); }
.landing form { display: grid; gap: .8rem; margin-top: 1.5rem; text-align: left; }
.landing form input { width: 100%; }
.landing .msg { min-height: 1.4em; color: var(--wrong); font-weight: 600; }
.landing .info { margin-top: 1rem; color: var(--muted); font-size: .9rem; }

/* ---------- Spieler-Seite ---------- */
.play-wrap { display: flex; flex-direction: column; height: 100%; }
.topbar {
  display: flex; align-items: center; gap: .8rem; padding: .6rem 1rem;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-wrap: wrap;
}
.topbar .title { font-weight: 800; color: var(--secondary); font-size: 1.1rem; }
.topbar .logo-sm { height: 34px; }
.me-box { display: flex; align-items: center; gap: .55rem; }
.me-box .team-tag { padding: .15rem .6rem; border-radius: 999px; font-weight: 700; font-size: .85rem; }
.me-box .pts { font-weight: 800; color: var(--secondary); }
.play-main { flex: 1; min-height: 0; display: flex; }
.play-main .stage { flex: 1; overflow-y: auto; }
.sound-hint {
  position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 50;
  background: var(--accent); color: #fff; padding: .6rem 1.1rem; border-radius: 999px; cursor: pointer; font-weight: 700;
  box-shadow: 0 6px 24px rgba(0,0,0,.5);
}

/* ==========================================================================
   STAGE – die Quizfläche (Spieler, Admin-Vorschau und OBS-Overlay)
   ========================================================================== */
.stage {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: clamp(.8rem, 2.5vw, 2rem);
  min-height: 0;
}
.stage .screen { display: none; flex: 1; flex-direction: column; min-height: 0; }
.stage .screen.on { display: flex; animation: screenIn .5s ease; }
@keyframes screenIn { from { opacity: 0; transform: scale(.98); } }

/* Lobby */
.screen-lobby { align-items: center; justify-content: center; text-align: center; gap: 1rem; }
.lobby-logo { max-height: 28vh; filter: drop-shadow(0 10px 30px rgba(0,0,0,.5)); animation: float 4s ease-in-out infinite; }
.lobby-title { font-size: clamp(2rem, 6vw, 4.5rem); color: var(--secondary); text-shadow: 0 4px 0 var(--primary), 0 10px 30px rgba(0,0,0,.6); margin: 0; }
.lobby-sub { font-size: clamp(1rem, 2.2vw, 1.5rem); color: var(--muted); margin: 0; }
.lobby-text { font-size: clamp(1.4rem, 4vw, 3rem); font-weight: 800; margin-top: 1rem; animation: pulse 2s ease-in-out infinite; }
.lobby-dots { display: flex; gap: .6rem; justify-content: center; }
.lobby-dots span { width: 14px; height: 14px; border-radius: 50%; background: var(--secondary); animation: bounce 1.2s infinite ease-in-out; }
.lobby-dots span:nth-child(2) { animation-delay: .15s; background: var(--primary); }
.lobby-dots span:nth-child(3) { animation-delay: .3s; background: var(--accent); }
.lobby-teams { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1.5rem; max-width: 1100px; }
.lobby-team { background: color-mix(in srgb, var(--surface) 85%, transparent); border-radius: var(--radius); padding: .7rem 1rem; border-top: 4px solid var(--c, var(--accent)); min-width: 160px; }
.lobby-team h4 { margin: 0 0 .5rem; }
.lobby-team .members { display: flex; gap: .35rem; justify-content: center; flex-wrap: wrap; }
.lobby-team .members img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; opacity: .35; transition: opacity .3s; }
.lobby-team .members img.on { opacity: 1; box-shadow: 0 0 0 2px var(--correct); }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes pulse { 50% { opacity: .55; transform: scale(.98); } }
@keyframes bounce { 0%, 80%, 100% { transform: scale(.6); opacity: .5; } 40% { transform: scale(1); opacity: 1; } }

/* Zwischenstand */
.screen-idle { align-items: center; justify-content: center; gap: 1.5rem; }
.idle-title { font-size: clamp(1.4rem, 3.5vw, 2.6rem); text-align: center; animation: pulse 2.5s infinite; }
.board { width: min(900px, 100%); display: flex; flex-direction: column; gap: .55rem; }
.board-row {
  display: flex; align-items: center; gap: .8rem; padding: .6rem 1rem;
  background: color-mix(in srgb, var(--surface) 88%, transparent); border-radius: calc(var(--radius) * .75);
  border-left: 6px solid var(--c, var(--accent));
  animation: slideIn .45s ease both;
}
.board-row .place { font-weight: 900; font-size: 1.4rem; width: 2.2rem; text-align: center; color: var(--secondary); }
.board-row .name { font-weight: 700; font-size: 1.2rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-row .avs { display: flex; }
.board-row .avs img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; margin-left: -8px; border: 2px solid var(--surface); }
.board-row .pts { font-weight: 900; font-size: 1.5rem; min-width: 4ch; text-align: right; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-40px); } }

/* Frage */
.screen-question { gap: clamp(.6rem, 1.6vw, 1.2rem); }
.q-head { display: flex; align-items: center; gap: 1rem; }
.q-meta { display: flex; gap: .5rem; flex-wrap: wrap; flex: 1; align-items: center; animation: dropIn .5s ease both; }
.q-meta .chip { padding: .35rem .8rem; border-radius: 999px; font-weight: 700; background: var(--surface2); font-size: clamp(.8rem, 1.4vw, 1rem); }
.q-meta .chip.cat { background: var(--c, var(--accent)); color: #fff; }
.q-meta .chip.pts { background: var(--secondary); color: #111; }
.q-meta .chip.buzz { background: var(--primary); color: #fff; }
.q-meta .chip.num { background: transparent; border: 1px solid rgba(255,255,255,.25); }
.q-timer { position: relative; width: clamp(64px, 8vw, 96px); height: clamp(64px, 8vw, 96px); flex: none; }
.q-timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.q-timer circle { fill: none; stroke-width: 9; }
.q-timer .track { stroke: rgba(255,255,255,.12); }
.q-timer .ring { stroke: var(--secondary); stroke-linecap: round; transition: stroke .3s; }
.q-timer .num { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 900; font-size: clamp(1.2rem, 2.6vw, 2rem); }
.q-timer.low .ring { stroke: var(--wrong); }
.q-timer.low .num { color: var(--wrong); animation: pulse .5s infinite; }
.q-timer.paused .num { color: var(--muted); }
.q-text {
  font-size: clamp(1.3rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1.25; text-align: center;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  padding: clamp(.8rem, 2vw, 1.6rem); border-radius: var(--radius);
  border-bottom: 5px solid var(--primary);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  white-space: pre-wrap;
}
.q-text.fly { animation: flyIn .7s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes flyIn { from { opacity: 0; transform: translateY(-120px) scale(.7) rotate(-2deg); } }
@keyframes dropIn { from { opacity: 0; transform: translateY(-30px); } }
.q-image { display: flex; justify-content: center; }
.q-image img { max-height: 32vh; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.5); animation: screenIn .6s ease both; }
.q-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: clamp(.5rem, 1.2vw, 1rem); }
.opt {
  position: relative; display: flex; align-items: center; gap: .9rem; text-align: left;
  padding: clamp(.6rem, 1.5vw, 1.1rem) clamp(.8rem, 1.6vw, 1.3rem);
  background: color-mix(in srgb, var(--surface2) 92%, transparent);
  border: 3px solid transparent; border-radius: var(--radius);
  font-size: clamp(1rem, 2vw, 1.5rem); font-weight: 700; cursor: default;
  transition: transform .15s, background .25s, border-color .25s, opacity .3s, filter .3s;
  animation: optIn .5s cubic-bezier(.2,1.3,.4,1) both;
}
.opt:nth-child(1) { animation-delay: .25s; } .opt:nth-child(2) { animation-delay: .35s; }
.opt:nth-child(3) { animation-delay: .45s; } .opt:nth-child(4) { animation-delay: .55s; }
.opt:nth-child(5) { animation-delay: .65s; } .opt:nth-child(6) { animation-delay: .75s; }
.opt:nth-child(n+7) { animation-delay: .85s; }
@keyframes optIn { from { opacity: 0; transform: translateX(-60px) scale(.9); } }
.opt .k {
  flex: none; width: 2.2em; height: 2.2em; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 900;
}
.opt .t { flex: 1; min-width: 0; word-break: break-word; }
.opt .marks { display: flex; gap: .25rem; flex-wrap: wrap; justify-content: flex-end; max-width: 45%; }
.opt .marks .m { font-size: .65em; padding: .1rem .45rem; border-radius: 999px; background: var(--c, #555); color: #fff; font-weight: 700; white-space: nowrap; }
.opt .marks .m.draft { background: transparent; border: 1px dashed var(--muted); color: var(--muted); }
.stage.interactive .opt.can { cursor: pointer; }
.stage.interactive .opt.can:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.opt.selected { border-color: var(--secondary); background: color-mix(in srgb, var(--secondary) 18%, var(--surface2)); }
.opt.locked { border-color: var(--secondary); background: color-mix(in srgb, var(--secondary) 30%, var(--surface2)); }
.opt.locked .k { background: var(--secondary); color: #111; }
.opt.admin-correct::after { content: '✔ richtig'; position: absolute; top: -.7em; right: 1em; font-size: .6em; background: var(--correct); color: #fff; padding: .05rem .5rem; border-radius: 999px; }
.opt.correct { border-color: var(--correct); background: color-mix(in srgb, var(--correct) 35%, var(--surface2)); animation: correctPop .7s ease both; box-shadow: 0 0 30px color-mix(in srgb, var(--correct) 60%, transparent); }
.opt.correct .k { background: var(--correct); }
.opt.wrong { border-color: var(--wrong); background: color-mix(in srgb, var(--wrong) 35%, var(--surface2)); animation: shake .5s ease both; }
.opt.wrong .k { background: var(--wrong); }
.opt.dim { opacity: .4; filter: grayscale(.6); }
.opt.struck .t { text-decoration: line-through; }
@keyframes correctPop { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes shake { 20%, 60% { transform: translateX(-10px); } 40%, 80% { transform: translateX(10px); } }

.q-actions { display: flex; justify-content: center; gap: 1rem; min-height: 0; }
.lock-btn { font-size: 1.2rem; padding: .9rem 2rem; animation: dropIn .3s ease; }

/* Buzzer */
.q-buzz { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center; }
.buzzer-btn {
  width: clamp(150px, 26vw, 240px); height: clamp(150px, 26vw, 240px); border-radius: 50%;
  border: none; cursor: pointer; color: #fff; font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 900; letter-spacing: .05em;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--primary) 60%, #fff), var(--primary) 55%, color-mix(in srgb, var(--primary) 60%, #000));
  box-shadow: 0 12px 0 color-mix(in srgb, var(--primary) 50%, #000), 0 20px 50px rgba(0,0,0,.55);
  transition: transform .06s, box-shadow .06s;
  animation: buzzIdle 1.6s ease-in-out infinite;
}
.buzzer-btn:active { transform: translateY(10px); box-shadow: 0 2px 0 color-mix(in srgb, var(--primary) 50%, #000), 0 8px 20px rgba(0,0,0,.5); }
.buzzer-btn:disabled { filter: grayscale(1); opacity: .5; animation: none; cursor: not-allowed; }
@keyframes buzzIdle { 50% { box-shadow: 0 12px 0 color-mix(in srgb, var(--primary) 50%, #000), 0 0 60px color-mix(in srgb, var(--primary) 70%, transparent); } }
.buzz-status { font-size: clamp(1.1rem, 2.6vw, 2rem); font-weight: 800; }
.buzz-status .who { padding: .1rem .6rem; border-radius: .5rem; background: var(--c, var(--primary)); color: #fff; }
.buzz-order { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: center; font-size: .9rem; }
.buzz-order span { background: var(--surface2); padding: .15rem .55rem; border-radius: 999px; }

.q-status { text-align: center; font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 700; min-height: 1.4em; }
.q-status .good { color: var(--correct); }
.q-status .bad { color: var(--wrong); }
.q-status .big { font-size: 1.5em; display: inline-block; animation: correctPop .6s ease; }

/* Teilnehmer-Leiste unter der Frage */
.q-contestants { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: auto; }
.cchip {
  display: flex; align-items: center; gap: .45rem; padding: .35rem .75rem .35rem .4rem; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 90%, transparent); border: 2px solid var(--c, #555); font-weight: 700;
  transition: background .3s, transform .3s;
}
.cchip .avs { display: flex; }
.cchip .avs img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; margin-right: -6px; border: 2px solid var(--surface); }
.cchip .avs { margin-right: 6px; }
.cchip .st { font-size: .85em; }
.cchip .pts { color: var(--secondary); }
.cchip.answered { background: color-mix(in srgb, var(--c, #555) 35%, var(--surface)); }
.cchip.answered .st::before { content: '🔒 '; }
.cchip.ok { border-color: var(--correct); background: color-mix(in srgb, var(--correct) 30%, var(--surface)); animation: correctPop .6s; }
.cchip.no { border-color: var(--wrong); background: color-mix(in srgb, var(--wrong) 25%, var(--surface)); }
.cchip.out { opacity: .45; }
.cchip.buzzing { transform: scale(1.12); box-shadow: 0 0 25px var(--c); }
.cchip .delta { font-weight: 900; }
.cchip .delta.plus { color: var(--correct); }
.cchip .delta.minus { color: var(--wrong); }

/* Ende / Gewinner */
.screen-finished { align-items: center; justify-content: center; gap: 1.2rem; text-align: center; }
.fin-title { font-size: clamp(1.8rem, 5vw, 4rem); color: var(--secondary); text-shadow: 0 4px 0 var(--primary); animation: flyIn .9s cubic-bezier(.2,1.4,.4,1) both; }
.winner-name { font-size: clamp(1.4rem, 4vw, 3rem); font-weight: 900; animation: correctPop 1s .6s both; }
.podium { display: flex; align-items: flex-end; justify-content: center; gap: clamp(.5rem, 2vw, 1.5rem); }
.pod { display: flex; flex-direction: column; align-items: center; gap: .4rem; width: clamp(110px, 18vw, 220px); animation: riseUp .8s cubic-bezier(.2,1.2,.4,1) both; }
.pod .avs { display: flex; justify-content: center; flex-wrap: wrap; gap: .2rem; }
.pod .avs img { width: clamp(34px, 4.5vw, 56px); height: clamp(34px, 4.5vw, 56px); border-radius: 50%; object-fit: cover; border: 3px solid var(--c); }
.pod .nm { font-weight: 800; font-size: clamp(.9rem, 1.8vw, 1.3rem); }
.pod .block { width: 100%; border-radius: var(--radius) var(--radius) 0 0; display: grid; place-items: center; font-weight: 900; font-size: clamp(1.6rem, 4vw, 3rem); color: #111; }
.pod.p1 { animation-delay: 1.1s; } .pod.p2 { animation-delay: .7s; } .pod.p3 { animation-delay: .3s; }
.pod.p1 .block { height: clamp(120px, 22vh, 220px); background: linear-gradient(#ffe766, #f3b700); }
.pod.p2 .block { height: clamp(90px, 16vh, 160px); background: linear-gradient(#f0f0f0, #a9b0bd); }
.pod.p3 .block { height: clamp(65px, 11vh, 110px); background: linear-gradient(#f4b37a, #b8692b); }
.pod .pts { font-weight: 800; color: var(--secondary); }
@keyframes riseUp { from { opacity: 0; transform: translateY(120px); } }
.fin-rest { width: min(700px, 100%); }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 16px; opacity: .9; animation: fall linear infinite; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

/* Buzzer-Blitz über allem */
.buzz-flash { position: absolute; inset: 0; display: none; place-items: center; pointer-events: none; z-index: 20; }
.buzz-flash.on { display: grid; animation: flashBg 1.6s ease forwards; }
.buzz-flash .inner { text-align: center; animation: buzzZoom 1.6s cubic-bezier(.2,1.4,.4,1) forwards; }
.buzz-flash .lbl { font-size: clamp(3rem, 12vw, 9rem); font-weight: 900; color: #fff; text-shadow: 0 6px 0 rgba(0,0,0,.35), 0 0 60px var(--c); }
.buzz-flash .nm { font-size: clamp(1.5rem, 5vw, 3.5rem); font-weight: 900; background: var(--c); color: #fff; padding: .2rem 1.2rem; border-radius: var(--radius); display: inline-block; }
@keyframes flashBg { 0% { background: color-mix(in srgb, var(--c) 90%, transparent); } 15% { background: color-mix(in srgb, var(--c) 30%, transparent); } 30% { background: color-mix(in srgb, var(--c) 70%, transparent); } 100% { background: transparent; } }
@keyframes buzzZoom { 0% { transform: scale(.3); opacity: 0; } 20% { transform: scale(1.1); opacity: 1; } 80% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }

/* Richtig/Falsch-Blitz */
.result-flash { position: absolute; inset: 0; pointer-events: none; z-index: 19; display: none; }
.result-flash.good { display: block; animation: rflash 1s ease forwards; --c: var(--correct); }
.result-flash.bad { display: block; animation: rflash 1s ease forwards; --c: var(--wrong); }
@keyframes rflash { 0% { box-shadow: inset 0 0 0 0 var(--c); } 20% { box-shadow: inset 0 0 120px 30px var(--c); } 100% { box-shadow: inset 0 0 0 0 transparent; } }

@media (max-width: 640px) {
  .opt .marks { max-width: 40%; }
  .q-head { flex-wrap: wrap; }
}
