:root {
  --red: #e8322b;
  --red-dark: #b81f1a;
  --yellow: #ffd21f;
  --yellow-soft: #ffe57a;
  --orange: #ffa41b;
  --cream: #fff8e7;
  --paper: #fffdf8;
  --ink: #1b1b1b;
  --muted: #6b6256;
  --green: #22a45d;
  --blue: #2f80ed;
  /* warna penanda soal 1/2/3 */
  --q0: #ffa41b;
  --q1: #4ea3ff;
  --q2: #3ccf7e;
  --shadow: 0 4px 0 var(--ink);
  --radius: 22px;
  --f-logo: 'Bangers', 'Impact', sans-serif;
  --f-head: 'Lilita One', 'Arial Black', sans-serif;
  --f-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--f-body);
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}
#confetti {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-repeat: repeat;
  background-size: 900px 900px;
  opacity: 0.55;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 16px 16px 48px; }

/* ---------- Logo ---------- */
.logo {
  display: inline-block;
  width: auto;
  height: 80px;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(3px 4px 0 rgba(27, 27, 27, 0.85));
}
.logo.xl {
  height: clamp(130px, 36vw, 200px);
  filter: drop-shadow(5px 7px 0 rgba(27, 27, 27, 0.85));
  animation: logoIn 0.7s cubic-bezier(.3,1.5,.6,1) both;
}
.logo.sm { height: 52px; filter: drop-shadow(2px 3px 0 rgba(27, 27, 27, 0.85)); }
@keyframes logoIn { from { opacity: 0; transform: scale(0.7) rotate(-6deg); } }

/* ---------- Ikon ---------- */
.ic {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.2em;
}
.ic .dot { stroke-width: 4; }
/* ikon "berwarna": isi kuning, garis hitam */
.ic-star .fill, .ic-crown .fill, .ic-trophy .fill { fill: var(--yellow); stroke: var(--ink); }
.ic-star, .ic-crown, .ic-trophy { stroke: var(--ink); }
.ic.lg { width: 1.3em; height: 1.3em; vertical-align: -0.28em; }
.ic.inline { width: 1em; height: 1em; vertical-align: -0.15em; }
.btn .ic { width: 1.1em; height: 1.1em; }
.btn.icon .ic { width: 20px; height: 20px; }
.btn.sm.icon .ic { width: 17px; height: 17px; }
.chip .ic { width: 15px; height: 15px; }
.hint > .ic { width: 22px; height: 22px; color: #d39b00; margin-top: 1px; }
.verdict .ic { width: 15px; height: 15px; vertical-align: -0.18em; }
.verdict.cross .ic { stroke-width: 3; }
.meter .ic { width: 13px; height: 13px; stroke-width: 3.2; vertical-align: -0.15em; }
.q.done .tick .ic { width: 18px; height: 18px; stroke-width: 3.2; }
.fillbar .ok .ic { width: 14px; height: 14px; stroke-width: 3.2; }
.with-ic { display: flex; align-items: center; justify-content: center; gap: 10px; }
.with-ic .ic { width: 30px; height: 30px; stroke-width: 2; }
.notimer { display: flex; align-items: center; justify-content: center; gap: 6px; padding-top: 6px; }
.picking { display: flex; align-items: center; justify-content: center; gap: 8px; }
.empty-state { text-align: center; color: var(--muted); padding: 18px 0 8px; }
.empty-state .ic { width: 40px; height: 40px; stroke-width: 1.8; }
.empty-state p { margin: 6px 0 0; font-weight: 600; }
.pod { position: relative; }
.pod-crown { width: 34px; height: 34px; margin-bottom: -6px; stroke-width: 2; animation: crownBob 1.6s ease-in-out infinite; }
@keyframes crownBob { 50% { transform: translateY(-4px) rotate(-6deg); } }

/* ---------- Kartu ala rulebook ---------- */
.card {
  position: relative;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 0 0 7px var(--red), 0 0 0 10px var(--ink), 0 14px 0 10px rgba(0, 0, 0, 0.12);
  margin: 10px;
  padding: 20px 22px;
}
.card h2, .card h3 {
  font-family: var(--f-head);
  font-weight: 400;
  text-align: center;
  margin: 0 0 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.card h2 { font-size: 26px; }
.card h3 { font-size: 20px; }
.card p { margin: 0 0 10px; line-height: 1.5; }
.card.plain { box-shadow: 0 0 0 0 transparent, 0 6px 0 var(--ink); border-width: 3px; margin: 0; }

.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 12px; }
/* Tombol punya bayangan 4px di bawah, jadi teks di bawah tombol butuh jarak lebih.
   .btn-note = catatan kecil di bawah tombol; aturan kedua = jaring pengaman buat teks lain. */
.btn-note,
.card .btn-note,
.stack > .btn + *,
:is(.btn, .rv-controls, .row) + :is(p, .small) { margin: 16px 0 0; }
.grow { flex: 1; }

/* ---------- Tombol & input ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  font-family: var(--f-head);
  font-size: 18px;
  letter-spacing: 0.5px;
  background: var(--yellow);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: transform 0.06s, box-shadow 0.06s, filter 0.15s;
  text-decoration: none;
}
.btn:hover { filter: brightness(1.04); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: var(--shadow); }
.btn.red { background: var(--red); color: #fff; }
.btn.white { background: #fff; }
.btn.green { background: var(--green); color: #fff; }
.btn.ghost { background: transparent; box-shadow: none; border-color: transparent; text-decoration: underline; min-height: 36px; padding: 4px 8px; }
.btn.sm { min-height: 36px; padding: 6px 12px; font-size: 15px; border-radius: 11px; }
.btn.block { width: 100%; }
.btn.icon { width: 46px; padding: 0; }
.btn.sm.icon { width: 36px; }

.field { display: block; }
.field > span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
}
.input::placeholder { color: #a99f90; }
.input.code {
  font-family: var(--f-head);
  font-size: 26px;
  letter-spacing: 6px;
  text-transform: uppercase;
  text-align: center;
}
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }

.seg { display: inline-flex; flex-wrap: wrap; border: 3px solid var(--ink); border-radius: 12px; overflow: hidden; background: #fff; }
.seg button {
  /* reset gaya bawaan tombol (Safari iOS nambah margin & tampilan sendiri -> sorotan kuning gak penuh) */
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 8px 14px;
  font-family: var(--f-head);
  font-size: 16px;
  min-height: 40px;
  line-height: 1.1;
  white-space: nowrap;
}
.seg button + button { border-left: 2px solid var(--ink); }
.seg button.on { background: var(--yellow); }
.seg button:disabled { cursor: default; }

/* Toggle ON/OFF */
.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 700; position: relative; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .track {
  position: relative;
  flex: none;
  width: 74px; height: 34px;
  border: 3px solid var(--ink);
  border-radius: 99px;
  background: #e6ddcb;
  box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.12), 0 3px 0 var(--ink);
  transition: background 0.18s;
  font-family: var(--f-head);
  font-size: 13px;
  letter-spacing: 0.5px;
}
.switch .track .on, .switch .track .off { position: absolute; top: 50%; transform: translateY(-50%); transition: opacity 0.18s; }
.switch .track .on { left: 10px; color: #fff; opacity: 0; text-shadow: 1px 1px 0 rgba(0,0,0,.35); }
.switch .track .off { right: 9px; color: #8a7f6d; }
.switch .track::after {
  content: '';
  position: absolute; top: 2px; left: 3px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  box-sizing: border-box;
  transition: transform 0.18s cubic-bezier(.3,1.4,.6,1);
}
.switch input:checked + .track { background: var(--green); }
.switch input:checked + .track .on { opacity: 1; }
.switch input:checked + .track .off { opacity: 0; }
.switch input:checked + .track::after { transform: translateX(39px); }
.switch input:focus-visible + .track { outline: 3px solid var(--blue); outline-offset: 3px; }
.switch.disabled { cursor: default; }
.switch.disabled .track { box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.12); }

/* ---------- Header ---------- */
.topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.topbar .logo { margin: 6px 10px 6px 4px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 2.5px solid var(--ink);
  border-radius: 99px;
  background: #fff;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.chip.code { font-family: var(--f-head); font-weight: 400; letter-spacing: 3px; font-size: 16px; background: var(--yellow); }
.chip.red { background: var(--red); color: #fff; }

/* ---------- Home ---------- */
.hero { text-align: center; padding: 28px 0 10px; }
.hero .tag { font-weight: 600; font-size: 18px; margin: 14px 0 6px; }
.home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 820px; margin: 22px auto 0; }
.home-foot { text-align: center; margin-top: 30px; }

/* ---------- Lobby ---------- */
.lobby-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 26px; align-items: start; }
.bigcode {
  font-family: var(--f-head);
  font-size: clamp(44px, 10vw, 64px);
  letter-spacing: 10px;
  text-align: center;
  line-height: 1;
  margin: 4px 0 12px;
  color: var(--red);
  text-shadow: 3px 3px 0 var(--ink);
  -webkit-text-stroke: 1.5px var(--ink);
}
.players { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.player {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  padding: 7px 10px;
  min-height: 50px;
}
.player.off { opacity: 0.55; }
.player .name { font-weight: 700; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player .tagline { font-size: 12px; font-weight: 600; color: var(--muted); }
.avatar {
  width: 34px; height: 34px; flex: none;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  display: inline-grid; place-items: center;
  vertical-align: middle;
  font-family: var(--f-head);
  color: #fff;
  font-size: 16px;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.35);
}
.avatar.sm { width: 24px; height: 24px; font-size: 12px; border-width: 2px; }
.crown { font-size: 16px; }
.setting { padding: 12px 0; border-top: 2px dashed #e4d8bf; }
.setting:first-of-type { border-top: 0; padding-top: 0; }
.setting .label { font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.setting .help { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.45; }

/* ---------- Layout permainan ---------- */
.play-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr); gap: 26px; align-items: start; }
.questions { display: grid; gap: 10px; margin-bottom: 18px; }
.q {
  display: flex; align-items: center; gap: 12px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 3px 0 var(--ink);
}
.qnum {
  flex: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 2.5px solid var(--ink);
  background: var(--orange);
  font-family: var(--f-head);
  font-size: 18px;
}
.qnum.q0, .qtag.q0 { background: var(--q0); }
.qnum.q1, .qtag.q1 { background: var(--q1); }
.qnum.q2, .qtag.q2 { background: var(--q2); }
.q.done { padding: 6px 12px; font-size: 14px; box-shadow: none; border-width: 2.5px; opacity: 0.75; }
.q.done .qnum { width: 26px; height: 26px; font-size: 14px; border-radius: 8px; }
.q.done .tick { margin-left: auto; color: var(--green); font-weight: 800; }
.q.current { background: var(--yellow-soft); padding: 14px 16px; box-shadow: 0 5px 0 var(--ink); animation: qIn 0.5s cubic-bezier(.3,1.4,.6,1) both; }
.q.current .qnum { width: 44px; height: 44px; font-size: 24px; border-radius: 12px; }
.qlabel { font-family: var(--f-head); font-size: 13px; color: var(--muted); letter-spacing: 0.5px; text-transform: uppercase; }
.qtext { font-size: clamp(17px, 3.6vw, 21px); font-weight: 800; line-height: 1.3; }
@keyframes qIn { from { opacity: 0; transform: translateY(-10px) scale(0.96); } }
.blank {
  display: inline-block;
  width: 3.4em;
  height: 0.95em;
  margin: 0 0.25em;
  border-bottom: 3px dashed var(--ink);
  vertical-align: baseline;
}
.fillbar { text-align: center; font-size: 14px; margin: 0 0 14px; color: var(--muted); }
.fillbar b { color: var(--ink); font-family: var(--f-head); font-size: 18px; font-weight: 400; }
.fillbar .ok { color: var(--green); font-weight: 700; }
.timer {
  font-family: var(--f-head);
  font-size: 44px;
  text-align: center;
  line-height: 1;
  padding: 8px 0 2px;
}
.timer.low { color: var(--red); }
.timer.over { color: var(--red); animation: pulse 1s infinite; }
.timer-label { text-align: center; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
@keyframes pulse { 50% { transform: scale(1.06); } }

.status-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.status-list li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.status-list .meter { margin-left: auto; font-size: 12px; color: var(--muted); }
.status-list .done { color: var(--green); font-weight: 800; }

/* ---------- Papan ---------- */
.board-wrap { width: 100%; max-width: 560px; margin: 0 auto; }
.board {
  --gap: clamp(8px, 2.4vw, 16px);
  --badge: clamp(30px, 7.5vw, 46px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) var(--badge);
  grid-template-rows: repeat(3, auto) var(--badge);
  column-gap: var(--gap);
  row-gap: var(--gap);
  position: relative;
  /* ruang buat cincin badge yang keluar dari sel grid */
  padding: 10px 8px 8px 0;
}
/* Batang berhenti di tengah badge, jadi ujungnya ketutup penuh sama cincin badge */
.bar-h {
  grid-column: 1 / 5;
  align-self: center;
  height: 30%;
  margin-left: calc(var(--gap) * -0.6);
  margin-right: calc(var(--badge) / 2);
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 12px;
  z-index: 0;
}
.bar-v {
  grid-row: 1 / 5;
  justify-self: center;
  width: 32%;
  margin-top: calc(var(--gap) * -0.8);
  margin-bottom: calc(var(--badge) / 2);
  background: var(--orange);
  border: 3px solid var(--ink);
  border-radius: 14px;
  z-index: 0;
}
.badge {
  z-index: 2;
  align-self: center;
  justify-self: center;
  width: var(--badge);
  height: var(--badge);
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: radial-gradient(circle at 35% 30%, #ff6a4d, var(--red) 55%, var(--red-dark));
  display: grid;
  place-items: center;
  font-family: var(--f-head);
  font-size: calc(var(--badge) * 0.55);
  color: var(--yellow);
  text-shadow: 1.5px 1.5px 0 var(--ink);
  transition: transform 0.2s;
  /* cincin = ujung batang yang membungkus badge (kuning buat baris, oranye buat kolom) */
  --ring: var(--yellow);
  --rw: 5px;
  box-shadow: 0 0 0 var(--rw) var(--ring), 0 0 0 calc(var(--rw) + 3px) var(--ink);
}
.badge.bot { --ring: var(--orange); }
.badge.lit {
  animation: badgeLit 0.6s ease-out both;
  box-shadow: 0 0 0 var(--rw) var(--ring), 0 0 0 calc(var(--rw) + 3px) var(--ink), 0 0 20px 10px rgba(255, 210, 31, 0.85);
}
@keyframes badgeLit { 0% { transform: scale(1); } 50% { transform: scale(1.35) rotate(-10deg); } 100% { transform: scale(1.12); } }

.box {
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 0.92;
  background: var(--cream);
  border: 5px solid var(--red);
  border-radius: 20%;
  box-shadow: 0 0 0 2.5px var(--ink), inset 0 0 0 2px var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  min-width: 0;
}
.box .star {
  position: absolute;
  top: -12px; right: -12px;
  width: clamp(22px, 5.5vw, 32px);
  height: clamp(22px, 5.5vw, 32px);
  z-index: 3;
  pointer-events: none;
}
/* MATCHO: bintang dicoret pakai spidol merah */
.box .star .x { display: none; }
.box.matcho .star { width: clamp(30px, 7.5vw, 42px); height: clamp(30px, 7.5vw, 42px); top: -16px; right: -16px; overflow: visible; animation: starPop 0.6s 0.3s both; filter: drop-shadow(0 0 4px rgba(255, 210, 31, 0.9)); }
.box.matcho .star .x { display: inline; }
.box.matcho .star .x path {
  fill: none;
  stroke: var(--red);
  stroke-width: 5.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 0.3s 0.7s ease-out forwards;
  paint-order: stroke;
}
.box.matcho .star .x path.second { animation-delay: 0.9s; }
@keyframes starPop { 40% { transform: scale(1.5) rotate(20deg); } }

/* Tag nomor soal di pojok kiri atas kotak */
.qtag {
  position: absolute;
  top: 6px; left: 7px;
  z-index: 4;
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 2px solid var(--ink);
  display: grid; place-items: center;
  font-family: var(--f-head);
  font-size: 12px;
  line-height: 1;
}

/* State kotak waktu menjawab */
.board.editing .box.open { cursor: text; }
.board.editing .box.open.empty:hover { background: #fff; }
.board.editing .box.open.empty .answer::placeholder { color: #d6c7a8; font-family: var(--f-head); font-size: 26px; }
.board.editing .box.shut.empty { background: repeating-linear-gradient(-45deg, #f3ead6 0 8px, #ece1c9 8px 16px); cursor: not-allowed; }
.board.editing .box.closed { background: #efe6d2; }
.board.editing .box.closed .text { opacity: 0.75; }
.board.editing .box.filled { background: #fff; }

.answer {
  width: 100%;
  border: 0;
  background: transparent;
  resize: none;
  overflow: hidden;
  text-align: center;
  font-weight: 700;
  font-size: clamp(12px, 2.7vw, 16px);
  line-height: 1.2;
  padding: 0;
  outline: none;
  word-break: break-word;
}
.answer::placeholder { color: #d1c3a6; font-weight: 600; }
.box:focus-within { background: #fff; box-shadow: 0 0 0 2.5px var(--ink), inset 0 0 0 2px var(--ink), 0 0 0 6px rgba(47, 128, 237, 0.35); }
.box.locked { background: #f3ead6; }
.box .text {
  font-weight: 700;
  font-size: clamp(11px, 2.6vw, 16px);
  text-align: center;
  line-height: 1.2;
  word-break: break-word;
  position: relative;
  z-index: 1;
}
.box .text.empty { color: #cbbd9f; font-weight: 600; }
.box .warn {
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 800;
  background: var(--red);
  color: #fff;
  padding: 1px 6px;
  border-radius: 99px;
  white-space: nowrap;
  z-index: 2;
}
.box .text { z-index: 3; text-shadow: 0 0 3px var(--cream), 0 0 3px var(--cream), 0 0 2px var(--cream); }
.marks {
  position: absolute;
  inset: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}
.marks path {
  fill: none;
  stroke: var(--red);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 0.55s ease-out forwards;
}
.marks path.second { animation-delay: 0.2s; }
.box.cross .text, .box.dup .text { opacity: 0.55; }
.box.cross, .box.dup { background: #f1e9d8; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Garis bingo digambar per kotak, di bawah teks supaya jawaban tetap kebaca */
.box.bh::before, .box.bv::after {
  content: '';
  position: absolute;
  background: var(--red);
  border-radius: 3px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.85;
}
.box.bh::before {
  left: calc(-5px - var(--gap) / 2 - 1px);
  right: calc(-5px - var(--gap) / 2 - 1px);
  top: 50%;
  height: 3.5px;
  margin-top: -1.75px;
  transform-origin: left;
  animation: growX 0.35s calc(0.5s + var(--q) * 0.18s) ease-out both;
}
.box.bv::after {
  top: calc(-5px - var(--gap) / 2 - 1px);
  bottom: calc(-5px - var(--gap) / 2 - 1px);
  left: 50%;
  width: 3.5px;
  margin-left: -1.75px;
  transform-origin: top;
  animation: growY 0.35s calc(1.1s + var(--r) * 0.18s) ease-out both;
}
/* Ujung garis nyambung sampai badge angka merah & pangkal batang */
.box.bh.c0::before { left: calc(-5px - var(--gap) * 0.6 - 4px); }
.box.bh.c2::before { right: calc(-5px - var(--gap) - var(--badge) * 0.5); }
.box.bv.r0::after { top: calc(-5px - var(--gap) * 0.8 - 4px); }
.box.bv.r2::after { bottom: calc(-5px - var(--gap) - var(--badge) * 0.5); }
@keyframes growX { from { transform: scaleX(0); } }
@keyframes growY { from { transform: scaleY(0); } }

.board.compact { --gap: 7px; --badge: 26px; padding: 8px 5px 5px 0; }
.board.compact .badge { --rw: 3px; border-width: 2px; }
.board.compact .box { border-width: 3.5px; padding: 4px; border-radius: 18%; }
.board.compact .marks path { stroke-width: 4.5; }
.board.compact .box .text { font-size: 11px; }
.board.compact .box .star { width: 18px; height: 18px; top: -8px; right: -8px; }
.board.compact .box.matcho .star { width: 26px; height: 26px; top: -11px; right: -11px; }
.board.compact .qtag { width: 15px; height: 15px; font-size: 9px; top: 3px; left: 4px; border-width: 1.5px; border-radius: 4px; }

.hint {
  display: flex; gap: 10px; align-items: flex-start;
  background: #fff;
  border: 2.5px dashed var(--ink);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.45;
}

/* ---------- Panel skor ala lembar ---------- */
.scorepanel { display: grid; grid-template-columns: auto auto; gap: 18px; justify-content: center; align-items: start; }
.sp-col { display: grid; gap: 12px; justify-items: center; }
.sp-left { padding-right: 18px; border-right: 4px solid var(--ink); }
.sp-label { display: flex; align-items: center; gap: 6px; font-family: var(--f-head); font-size: 22px; }
.sp-box {
  min-width: 92px; min-height: 52px;
  padding: 4px 12px;
  background: #fff;
  border: 4px solid var(--ink);
  border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--f-head);
  font-size: 28px;
  position: relative;
}
.sp-box .ghost { position: absolute; inset: 0; display: grid; place-items: center; color: #c8c8c8; font-size: 17px; }
.sp-box .corner { position: absolute; top: 2px; left: 8px; font-size: 10px; color: #a8a8a8; letter-spacing: 0.3px; }
.sp-box .val { position: relative; }
.sp-box.final { border-color: var(--ink); background: var(--yellow-soft); min-width: 110px; }
.sp-final-title { font-family: var(--f-head); color: var(--red); font-size: 22px; line-height: 0.95; text-align: center; -webkit-text-stroke: 0.6px var(--ink); padding-top: 8px; border-top: 4px solid var(--ink); }
.sp-note { font-size: 11px; color: var(--muted); font-weight: 600; margin-top: -8px; }

/* ---------- Cek jawaban ---------- */
.steps { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.steps .s {
  padding: 6px 12px;
  border: 2.5px solid var(--ink);
  border-radius: 99px;
  font-family: var(--f-head);
  font-size: 14px;
  background: #fff;
  opacity: 0.5;
}
.steps .s.done { opacity: 0.85; background: var(--yellow-soft); }
.steps .s.on { opacity: 1; background: var(--yellow); box-shadow: 0 3px 0 var(--ink); }
.groups { display: grid; gap: 10px; }
.group {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  align-items: center;
  animation: popIn 0.35s ease-out both;
  text-align: left;
  width: 100%;
}
.group.selectable { cursor: pointer; }
.group.selectable:hover { background: #fffbe9; }
.group.sel { outline: 4px solid var(--blue); outline-offset: 2px; background: #eef5ff; }
.group .glabel { font-weight: 800; font-size: 17px; word-break: break-word; }
.group .members { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.mchip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px 3px 3px;
  border-radius: 99px;
  border: 2px solid var(--ink);
  background: var(--cream);
  font-size: 13px;
  font-weight: 600;
}
.mchip .raw { color: var(--muted); font-weight: 500; }
.mchip .detach { border: 0; background: var(--ink); color: #fff; width: 18px; height: 18px; border-radius: 50%; font-size: 11px; line-height: 1; display: grid; place-items: center; padding: 0; margin-left: 2px; cursor: pointer; }
.mchip .detach .ic { width: 11px; height: 11px; stroke-width: 3.5; }
.verdict {
  font-family: var(--f-head);
  font-size: 15px;
  padding: 4px 10px;
  border-radius: 10px;
  border: 2.5px solid var(--ink);
  white-space: nowrap;
}
.verdict.matcho { background: var(--yellow); animation: wiggle 0.9s 0.3s both; }
.verdict.circle { background: #d9f4e3; }
.verdict.cross { background: #eee; color: #777; }
@keyframes wiggle { 20% { transform: rotate(-8deg) scale(1.15); } 40% { transform: rotate(6deg) scale(1.1); } 60% { transform: rotate(-4deg); } 80% { transform: rotate(2deg); } }
@keyframes popIn { from { opacity: 0; transform: translateY(8px) scale(0.97); } }

/* ---------- Drag & pindah jawaban ---------- */
.drag-h {
  position: absolute;
  left: 4px;
  bottom: 4px;
  z-index: 5;
  width: 28px;
  height: 28px;
  padding: 0;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 9px;
  box-shadow: 0 2px 0 var(--ink);
  color: var(--ink);
  cursor: grab;
  /* nyeret dari pegangan gak boleh bikin halaman scroll / muncul menu tekan-lama */
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.drag-h::before { content: ''; position: absolute; inset: -8px; } /* area sentuh lebih gede dari tampilannya */
.drag-h .ic { width: 16px; height: 16px; }
.drag-h:hover { background: var(--yellow-soft); }
.drag-h:active { cursor: grabbing; transform: translateY(1px); box-shadow: 0 1px 0 var(--ink); }
.board.compact .drag-h { width: 22px; height: 22px; left: 2px; bottom: 2px; border-radius: 7px; }
.board.compact .drag-h .ic { width: 13px; height: 13px; }
.box.move-src .drag-h, .box.drag-src .drag-h { background: var(--blue); color: #fff; }

.box.drag-src { opacity: 0.35; }
.box.drop-over { outline: 4px dashed var(--blue); outline-offset: 3px; transform: scale(1.05); transition: transform 0.12s; }
.box.move-src { outline: 4px solid var(--blue); outline-offset: 3px; animation: pickWiggle 0.9s ease-in-out infinite; }
.box.move-target { outline: 3px dashed rgba(47, 128, 237, 0.55); outline-offset: 2px; cursor: pointer; }
@keyframes pickWiggle { 25% { transform: rotate(-2deg); } 75% { transform: rotate(2deg); } }

.drag-ghost {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 90;
  pointer-events: none;
  display: grid;
  place-items: center;
  padding: 8px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  word-break: break-word;
  background: #fff;
  border: 4px solid var(--red);
  border-radius: 20%;
  box-shadow: 0 0 0 2px var(--ink), 0 16px 28px rgba(0, 0, 0, 0.28);
}
.drag-ghost .qtag { top: 5px; left: 6px; }
body.dragging, body.dragging * { cursor: grabbing !important; user-select: none !important; }

.move-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 8px 10px 8px 14px;
  background: #eef5ff;
  border: 2.5px solid var(--blue);
  border-radius: 14px;
  font-size: 14px;
  animation: popIn 0.2s ease-out both;
}
.move-banner > .ic { color: var(--blue); width: 18px; height: 18px; }
.move-banner span { flex: 1; }

/* ---------- Panggung reveal jawaban ---------- */
.stage {
  position: relative;
  margin: 4px 0 14px;
  padding: 22px 16px 20px;
  min-height: 230px;
  text-align: center;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 0 5px 0 var(--ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.stage.idle { background: repeating-linear-gradient(-45deg, #fff 0 14px, #fffaf0 14px 28px); }
.stage-title { font-family: var(--f-head); font-size: 30px; color: var(--red); -webkit-text-stroke: 1px var(--ink); }
.stage p { margin: 0; }
.turns { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 4px; }
.turns .arrow .ic { width: 14px; height: 14px; color: var(--muted); }
.speaker { display: flex; align-items: center; gap: 8px; font-size: 15px; animation: popIn 0.3s ease-out both; }
.said {
  font-family: var(--f-head);
  font-size: clamp(30px, 7vw, 46px);
  line-height: 1.05;
  word-break: break-word;
  max-width: 100%;
  animation: saidIn 0.45s cubic-bezier(.3, 1.5, .6, 1) 0.1s both;
}
@keyframes saidIn { from { opacity: 0; transform: scale(0.4) rotate(-4deg); } }
.also-label { font-size: 13px; font-weight: 700; color: var(--muted); animation: popIn 0.3s both; }
.also { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.mchip.pop { animation: chipPop 0.4s cubic-bezier(.3, 1.6, .6, 1) both; }
@keyframes chipPop { from { opacity: 0; transform: scale(0.3) translateY(10px); } }
.stamp {
  margin-top: 6px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px;
  font-family: var(--f-head);
  font-size: 24px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 4px 0 var(--ink);
  animation: stampIn 0.45s cubic-bezier(.3, 1.6, .6, 1) both;
}
.stamp .ic { width: 24px; height: 24px; }
.stamp.matcho { background: var(--yellow); font-size: 30px; }
.stamp.circle { background: #d9f4e3; }
.stamp.cross { background: #eee; color: #666; }
@keyframes stampIn { from { opacity: 0; transform: scale(2.4) rotate(-12deg); } 70% { transform: scale(0.92) rotate(3deg); } }
.stage.st-matcho { background: radial-gradient(circle at 50% 85%, #fff1a6 0%, #fff 65%); }
.burst { position: absolute; left: 50%; bottom: 46px; width: 0; height: 0; pointer-events: none; }
.burst i {
  position: absolute;
  width: 11px; height: 11px;
  margin: -5px;
  border-radius: 3px;
  border: 1.5px solid var(--ink);
  opacity: 0;
  animation: burst 0.9s ease-out var(--d) both;
}
@keyframes burst {
  0% { opacity: 1; transform: rotate(var(--a)) translateY(0) scale(1); }
  100% { opacity: 0; transform: rotate(var(--a)) translateY(calc(var(--dist) * -1)) scale(0.5) rotate(200deg); }
}
.rv-progress { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.rv-progress .bar { flex: 1; height: 12px; border: 2.5px solid var(--ink); border-radius: 99px; background: #fff; overflow: hidden; }
.rv-progress .bar i { display: block; height: 100%; background: var(--yellow); border-right: 2px solid var(--ink); transition: width 0.4s ease; }
.rv-controls { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.rv-controls .grow { flex: 1 1 200px; }
.kbd-hint { line-height: 1.8; }
kbd { font-family: var(--f-head); font-size: 12px; padding: 1px 6px; border: 2px solid var(--ink); border-radius: 6px; background: #fff; box-shadow: 0 2px 0 var(--ink); }
@media (hover: none) { .kbd-hint { display: none; } }
.revealed-list { margin-top: 26px; }
.revealed-list .groups { gap: 8px; }
.group.st-matcho { background: #fffbe0; }
.group.st-cross { background: #f6f3ec; }

/* ---------- Leaderboard ---------- */
.lb { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.lb li {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  padding: 8px 12px;
}
.lb li.clickable { cursor: pointer; }
.lb li.viewing { background: var(--yellow-soft); }
.lb .rank { font-family: var(--f-head); font-size: 20px; width: 26px; text-align: center; }
.lb .pts { margin-left: auto; font-family: var(--f-head); font-size: 22px; }
.lb .plus { font-size: 13px; font-weight: 700; color: var(--green); }
.lb .name { font-weight: 700; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.podium { display: flex; justify-content: center; align-items: flex-end; gap: 12px; margin: 10px 0 24px; }
.pod { display: grid; justify-items: center; gap: 6px; width: 110px; animation: rise 0.7s ease-out both; }
.pod .stand {
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 14px 14px 4px 4px;
  display: grid; place-items: center;
  font-family: var(--f-head);
  font-size: 34px;
  color: #fff;
  text-shadow: 2px 2px 0 var(--ink);
}
.pod.p1 .stand { height: 130px; background: var(--yellow); }
.pod.p2 .stand { height: 95px; background: #c9d3dd; }
.pod.p3 .stand { height: 70px; background: var(--orange); }
.pod.p1 { animation-delay: 0.5s; }
.pod.p2 { animation-delay: 0.25s; }
.pod .pname { font-weight: 800; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod .ppts { font-family: var(--f-head); font-size: 20px; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } }

table.scores { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 3px solid var(--ink); border-radius: 14px; overflow: hidden; }
table.scores th, table.scores td { padding: 8px 10px; text-align: center; border-bottom: 2px solid #eadfc8; }
table.scores th { font-family: var(--f-head); font-weight: 400; background: var(--yellow); border-bottom: 3px solid var(--ink); }
table.scores td:first-child, table.scores th:first-child { text-align: left; }
table.scores tr:last-child td { border-bottom: 0; }
table.scores td.total { font-family: var(--f-head); font-size: 20px; }

/* ---------- Waiting ---------- */
.waiting { text-align: center; padding: 30px 20px; }
.bounce { display: inline-flex; gap: 8px; margin: 14px 0; }
.bounce i { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--ink); animation: hop 1s infinite; }
.bounce i:nth-child(1) { background: var(--red); }
.bounce i:nth-child(2) { background: var(--yellow); animation-delay: 0.15s; }
.bounce i:nth-child(3) { background: var(--orange); animation-delay: 0.3s; }
@keyframes hop { 30% { transform: translateY(-12px); } 60% { transform: translateY(0); } }

/* ---------- Prep ---------- */
.prep-q { align-items: flex-start !important; }
.prep-q .qnum { margin-top: 6px; }
.prep-input {
  display: block;
  resize: none;
  overflow: hidden;
  line-height: 1.4;
  min-height: 46px;
  font-weight: 600;
  word-break: break-word;
}
.prep-ro { animation: qFlash 0.7s ease-out both; }
@keyframes qFlash { 0% { background: var(--yellow); transform: scale(1.02); } 100% { background: #fff; transform: none; } }
.bounce.mini { margin: 0; gap: 4px; }
.bounce.mini i { width: 8px; height: 8px; border-width: 1.5px; }
.prep-q { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(27, 27, 27, 0.55);
  display: grid; place-items: center;
  padding: 16px;
  animation: fade 0.15s;
}
.modal {
  max-width: 1000px; width: 100%;
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 8px 0 var(--ink);
}
.modal .title { font-family: var(--f-head); font-size: 44px; color: var(--red); -webkit-text-stroke: 1.5px var(--ink); text-shadow: 3px 3px 0 var(--yellow); text-align: center; margin: 4px 0 14px; letter-spacing: 1px; }
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rules .card { margin: 10px; font-size: 14px; }
.rules ol { padding-left: 20px; margin: 0; }
.rules li { margin-bottom: 8px; line-height: 1.5; }
@keyframes fade { from { opacity: 0; } }

/* ---------- Bagikan hasil ---------- */
.share-modal { max-width: 560px; }
.share-title { font-family: var(--f-head); font-weight: 400; text-align: center; margin: 0 0 12px; font-size: 28px; }
.share-preview {
  display: grid;
  place-items: center;
  max-height: 62vh;
  overflow: auto;
  background: #f4efe4;
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 10px;
}
.share-preview img { width: 100%; height: auto; border-radius: 10px; display: block; }
.share-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.share-actions .btn { flex: 1 1 150px; }

/* ---------- Credit ---------- */
/* Footer credit: sengaja kecil & kalem, gak bersaing sama konten utama */
.credits {
  margin: 30px auto 0;
  max-width: 640px;
  padding: 0 8px;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}
.credits p { margin: 2px 0; }
.credits p > .ic:first-child { margin-right: 3px; vertical-align: -2px; }
.credits b { font-weight: 600; }
.credits .ic { width: 12px; height: 12px; color: var(--muted); stroke-width: 2.2; }
.credits a { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(232, 50, 43, 0.6); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
.credits a .ic.ext { margin-left: 2px; vertical-align: 0; }
.credits a:hover { color: var(--red); }
.credits .ic.ext { width: 10px; height: 10px; color: currentColor; }
/* kartu rulebook punya bayangan ±24px ke bawah, jadi footer butuh jarak lebih */
.modal .credits { margin-top: 40px; padding-bottom: 6px; }

/* ---------- Toast ---------- */
#toasts { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 60; display: grid; gap: 8px; width: min(420px, calc(100vw - 32px)); }
.toast {
  background: var(--ink); color: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 600;
  box-shadow: 0 4px 0 var(--red);
  animation: popIn 0.2s;
}
.toast.ok { box-shadow: 0 4px 0 var(--green); }

/* Bar bawah khusus HP saat menjawab */
.mobile-bar { display: none; }
.show-sm { display: none; }
@media (max-width: 860px) {
  .mobile-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--cream);
    border-top: 3px solid var(--ink);
    box-shadow: 0 -4px 0 var(--red);
  }
  .mobile-bar .timer { font-size: 26px; padding: 0; min-width: 70px; text-align: left; }
  .mobile-bar .timer.over { font-size: 16px !important; }
  .mobile-bar .btn { flex: 1; }
  .mobile-bar .who { font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
  body.has-bar .wrap { padding-bottom: 110px; }
  body.has-bar #toasts { bottom: 90px; }
}
@media (max-width: 520px) {
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .topbar .btn.sm { width: 38px; padding: 0; }
  /* pilihan (Easy/Hard, timer, ronde) dibagi rata selebar kartu, selalu satu baris */
  .seg { display: flex; width: 100%; flex-wrap: nowrap; }
  .seg button { flex: 1 1 0; min-width: 0; padding: 8px 2px; font-size: 15px; min-height: 44px; }
  .switch { font-size: 15px; line-height: 1.3; }
}

/* ---------- Dialog konfirmasi ---------- */
.dlg-backdrop {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(27, 27, 27, 0.55);
  display: grid; place-items: center;
  padding: 24px 20px;
  animation: fade 0.15s;
}
/* lagi memudar: jangan nangkep klik lagi, biar tombol di belakangnya langsung bisa diklik */
.dlg-backdrop.out { opacity: 0; transition: opacity 0.14s; pointer-events: none; }
.dlg {
  width: min(420px, 100%);
  margin: 0;
  padding: 22px 22px 20px;
  text-align: center;
  animation: dlgIn 0.28s cubic-bezier(.3, 1.4, .6, 1) both;
}
.dlg-icon {
  width: 64px; height: 64px;
  margin: -54px auto 10px;
  display: grid; place-items: center;
  font-size: 30px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 4px 0 var(--ink);
}
.dlg-icon .ic { width: 32px; height: 32px; stroke-width: 2.4; color: var(--ink); }
.dlg h3 { font-size: 22px; text-transform: none; margin-bottom: 8px; }
.dlg-msg { margin: 0 0 20px; line-height: 1.55; font-size: 15px; }
.dlg-msg p { margin: 0 0 10px; }
.dlg-msg .muted { font-size: 13px; }
.dlg-copy { font-size: 14px; text-align: center; }
.dlg-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dlg-actions .btn { flex: 1 1 140px; }
@keyframes dlgIn { from { opacity: 0; transform: scale(0.85) translateY(12px); } }

.conn-banner .conn-sub { font-weight: 500; opacity: 0.85; }
.conn-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 70; background: var(--red); color: #fff; text-align: center; font-weight: 700; padding: 6px; font-size: 14px; }

/* ---------- Responsif ---------- */
@media (max-width: 860px) {
  .lobby-grid, .play-grid, .home-grid { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .card { padding: 16px 14px; margin: 10px 8px; }
  .card h2 { font-size: 22px; }
  .logo.sm { height: 44px; margin-right: 0; }
  .topbar { gap: 6px; }
  .topbar .chip { font-size: 12px; padding: 4px 8px; }
  .topbar .chip.code { letter-spacing: 1.5px; font-size: 14px; }
  .topbar { gap: 8px; }
  .sp-box { min-width: 70px; min-height: 46px; font-size: 24px; }
  .sp-label { font-size: 19px; }
  .sp-left { padding-right: 12px; }
  .scorepanel { gap: 12px; }
  .q { font-size: 15px; padding: 8px 10px; }
  .modal .title { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition: none !important; }
  .marks path { stroke-dashoffset: 0; }
}
