:root {
  --bg: #f4f1ec;
  --ink: #090a0a;
  --muted: #6c7072;
  --soft: #2d3240;
  --gold: #ad903c;
  --gold-deep: #8c7228;
  --line: rgba(9, 10, 10, 0.08);
  --card: #fff;
  --haram: #ffe5e5;
  --haram-line: #d3180c;
  --halal: #d6ebd3;
  --halal-line: #198155;
  --shadow: 0 10px 25px rgba(83, 74, 55, 0.12);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100svh;
  background: #e6e1d8;
  color: var(--ink);
  font-family: Outfit, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.app {
  width: min(100%, 430px);
  min-height: 100dvh;
  height: 100dvh;
  margin: 0 auto;
  --app-bg: var(--bg);
  background: var(--app-bg);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

.top {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  padding: calc(8px + var(--safe-t)) 10px 0;
  min-height: 64px;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 3;
}
.back, .ghost {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}
.prog { text-align: center; }
.prog-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--soft);
}
.dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
}
.dot.on { background: var(--gold); }
.dot.done { background: var(--gold); }
.bar {
  width: 40px;
  height: 2px;
  background: #fff;
  position: relative;
}
.bar > span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--gold);
}
.bar.fill > span { width: 100%; }

.screen {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  padding: 8px 22px calc(22px + var(--safe-b));
}
.screen.enter {
  animation: rise 0.28s ease;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
h1 {
  margin: 8px 0 0;
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
}
.lede {
  margin: 14px 0 0;
  text-align: center;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.45;
}
.live {
  margin: 0 0 4px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.live strong { color: var(--gold-deep); font-weight: 700; }

.primary, .secondary {
  width: 100%;
  border: 0;
  border-radius: 16px;
  min-height: 56px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}
.primary {
  background: #1d1f22;
  color: #e9c46a;
  margin-top: 22px;
  border-radius: 999px;
}
.primary:active { background: #090a0a; }
.primary:disabled { background: #dcd8d0; color: #fff; cursor: default; }
.secondary {
  background: transparent;
  color: var(--muted);
  margin-top: 8px;
}
.stack { margin-top: auto; }

.q {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  font-size: 26px;
  line-height: 1.2;
  text-align: center;
  margin: 6px 0 18px;
}
.visual {
  height: 270px;
  border-radius: 32px;
  border: 6px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 25px rgba(83, 74, 55, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 26px 18px;
  margin: 8px 0 12px;
}
.card-photo {
  width: 209px;
  height: 170px;
  object-fit: contain;
  margin-top: -6px;
  pointer-events: none;
  flex: none;
}
.emoji { font-size: 72px; line-height: 1; margin-bottom: 8px; filter: saturate(0.9); }
.statement {
  margin: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
}
.statement.long { font-size: 16px; line-height: 1.25; }

.screen > .pair,
.screen > .list,
.screen > .actions {
  margin-top: auto;
}
.actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  padding: 24px 0 calc(72px + var(--safe-b));
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.choice, .row {
  border: 1.5px solid transparent;
  background: #fff;
  border-radius: 16px;
  min-height: 64px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 650;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
  text-align: center;
}
.choice.sel-haram { background: var(--haram); border-color: var(--haram-line); }
.choice.sel-halal { background: var(--halal); border-color: var(--halal-line); }
.choice.sel { border-color: var(--gold); background: #fff8e8; }
.idk {
  margin: 18px auto 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.list { display: flex; flex-direction: column; gap: 10px; }
.screen > .list:last-child,
.screen > .stack:last-child {
  padding-bottom: calc(72px + var(--safe-b));
}
.row {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 58px;
  transition: background-color .2s ease-out, border-color .2s ease-out, transform .15s ease-out;
}
.row .copy { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.row.check {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.row .box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid #d5cfc4;
  background: #fff;
  flex: none;
  display: grid;
  place-items: center;
  transition: background-color .2s ease-out, border-color .2s ease-out;
}
.row .box::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0) translate(-1px, -1px);
  transition: transform .2s ease-out;
}
.row.sel { border-color: #ad903c; background: #fff6e4; }
.row.sel .box { background: #ad903c; border-color: #ad903c; }
.row.sel .box::after { transform: rotate(45deg) scale(1) translate(-1px, -1px); }
.row:active { transform: scale(0.985); }
.row .ar {
  font-family: "Noto Naskh Arabic", serif;
  font-size: 18px;
  color: var(--gold-deep);
}
.row .hint { color: var(--muted); font-weight: 500; font-size: 14px; }
.row.big { align-items: center; text-align: center; font-size: 18px; }
.num { font-family: Fraunces, Georgia, serif; font-size: 28px; line-height: 1; }

.ayah-card {
  margin-top: 18px;
  background: linear-gradient(180deg, #b6e4ff 0%, #e4f8f5 42%, #f4f1ec 100%);
  border-radius: 28px;
  padding: 28px 22px;
  text-align: center;
}
.ayah-ar {
  font-family: "Noto Naskh Arabic", serif;
  font-size: 34px;
  margin: 0 0 12px;
}
.ref { color: var(--muted); font-size: 14px; margin-top: 10px; }
.note { text-align: center; color: var(--soft); margin-top: 18px; }

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}
.tile {
  min-height: 132px;
  border: 2px solid transparent;
  border-radius: 18px;
  padding: 14px 12px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  color: #090a0a;
  font: inherit;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
}
.tile .face { font-family: Fraunces, Georgia, serif; font-size: 28px; font-weight: 700; line-height: 1; text-align: center; padding-top: 14px; }
.tile .face.ar { font-family: "Noto Naskh Arabic", serif; font-size: 26px; }
.tile .lab { background: #fff; border-radius: 12px; padding: 9px; text-align: center; font-size: 12px; line-height: 1.3; }
.tile.sel { position: relative; border-color: #a88b4a; }
.tile.sel::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #a88b4a center / 9px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='white' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
}
.screen > .grid2 { margin-top: auto; }
.screen > .idk {
  margin-top: 18px;
  margin-bottom: calc(48px + var(--safe-b));
}

.gauge {
  position: relative;
  height: 8px;
  border-radius: 9px;
  background: linear-gradient(90deg, #e0483d, #f0a73b, #ecd84a, #7cc26c, #79b6e6);
  margin: 28px 8px 8px;
}
.gauge .cur {
  position: absolute;
  top: 50%;
  left: 2%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #111;
  border: 3px solid #fff;
  translate: -50% -50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
  transition: left 1.2s cubic-bezier(.2, .8, .2, 1);
}
.gauge .tip {
  position: absolute;
  bottom: 16px;
  left: 2%;
  translate: -50% 0;
  background: #1d1f22;
  color: #fff;
  font-size: 10px;
  padding: 4px 7px;
  border-radius: 7px;
  white-space: nowrap;
  transition: left 1.2s cubic-bezier(.2, .8, .2, 1);
}
.bub, .tl { opacity: 0; transform: translateY(6px); }
.bub {
  background: #fbf1d9;
  border-radius: 12px;
  padding: 10px 12px;
  margin: 12px 0;
  font-size: 14px;
  line-height: 1.4;
  transition: opacity .5s, transform .5s;
}
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.tl { display: flex; gap: 8px; align-items: center; font-size: 13px; transition: opacity .45s, transform .45s; }
.tl i { width: 28px; height: 28px; border-radius: 50%; background: #e9c46a; flex: none; }
.tl b { display: block; font-size: 14px; }
.bub.show, .tl.show { opacity: 1; transform: none; }
.tlv { margin: 4px 0 0; }
.ts {
  display: grid;
  grid-template-columns: 30px 1fr;
  column-gap: 12px;
  align-items: start;
  margin: 0 0 18px;
  opacity: .35;
  transition: opacity .6s;
}
.ts.on { opacity: 1; }
.ts .c {
  width: 30px;
  height: 30px;
  margin-top: 1px;
  border-radius: 50%;
  background: #e9e3d6;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  transition: background .5s;
}
.ts.on .c { background: #a88b4a; }
.ts b { display: block; line-height: 1.25; }
.ts .sub { color: #555; font-size: 13px; margin-top: 2px; line-height: 1.35; }
.pill {
  display: inline-block;
  font-size: 12px;
  border-radius: 999px;
  padding: 3px 9px;
  background: #e5f4e4;
  color: #2f6b3b;
  margin-top: 6px;
}
.stack.sticky {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin-left: -22px;
  margin-right: -22px;
  padding-left: 22px;
  padding-right: 22px;
  background: linear-gradient(to bottom, transparent, var(--app-bg) 22px);
}
.stack.sticky .primary { margin-top: 18px; }
.stack.tight { margin-top: 12px; }
.screen > .stack.tight:last-child { padding-bottom: calc(28px + var(--safe-b)); }
.pill.sand { background: #f9eeda; color: #7a5b1d; }
.pill.wait { background: #eee; color: #666; }
.lv {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 12px;
}
.linebar {
  height: 6px;
  border-radius: 999px;
  background: rgba(9, 10, 10, .12);
  overflow: hidden;
}
.linebar span {
  display: block;
  height: 100%;
  background: #ad903c;
}
body[data-quiz="quran"] .app,
body[data-quiz="domain-b"] .app,
body[data-quiz="parenting"] .app { --app-bg: #d5dbe3; background: var(--app-bg); }

.score-ring {
  width: 132px;
  height: 132px;
  margin: 8px auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--gold) calc(var(--p) * 1%), #efeae2 0);
}
.score-ring span {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--bg);
  display: grid;
  place-items: center;
  font-family: Fraunces, Georgia, serif;
  font-size: 32px;
}
.level {
  text-align: center;
  font-weight: 700;
  color: var(--gold-deep);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
}
.panel {
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  margin-top: 14px;
  box-shadow: var(--shadow);
}
.panel p { margin: 8px 0 0; color: var(--soft); line-height: 1.45; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.kv b { font-weight: 650; }

.review {
  background: #fff;
  border-radius: 18px;
  padding: 14px 16px;
  margin-top: 14px;
}
.stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; }
.review p { margin: 6px 0; line-height: 1.4; }
.review small { color: var(--muted); }

.meter { height: 8px; background: #e7e1d6; border-radius: 99px; overflow: hidden; margin: 6px 0 14px; }
.meter span { display: block; height: 100%; background: var(--gold); width: 0; transition: width 0.08s linear; }
.meter-label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }

.modal-back {
  position: absolute;
  inset: 0;
  background: rgba(28, 24, 18, 0.45);
  display: grid;
  place-items: end center;
  padding: 18px;
  z-index: 5;
}
.modal {
  width: min(100%, 390px);
  background: #fff;
  border-radius: 24px;
  padding: 22px;
  margin-bottom: 12px;
}
.modal h2 { font-family: Fraunces, Georgia, serif; font-size: 24px; margin: 0 0 16px; text-align: center; }
.modal .pair { margin-top: 8px; }

.field { margin-top: 22px; }
.field label { display: block; font-size: 13px; font-weight: 650; margin-bottom: 8px; color: var(--soft); }
.field input {
  width: 100%;
  height: 56px;
  border-radius: 16px;
  border: 1.5px solid transparent;
  background: #fff;
  padding: 0 16px;
  font: inherit;
  font-size: 16px;
}
.field input:focus { outline: none; border-color: var(--gold); }
.fine { color: var(--muted); font-size: 13px; text-align: center; line-height: 1.4; margin-top: 12px; }
.err { color: var(--haram-line); font-size: 13px; margin: 8px 0 0; text-align: center; }

.scratch-wrap { margin: 18px auto 0; width: min(100%, 320px); position: relative; }
.ticket.gold {
  min-height: 280px;
  background: radial-gradient(120% 90% at 50% 30%, #fffdf6 0%, #fbf1d9 70%, #f3e2b8 100%);
  color: #1d1f22;
  border: 2px dashed #c49a3d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: transform .45s cubic-bezier(.2,.9,.3,1.2), box-shadow .45s;
}
.ticket.gold strong {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 76px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #8a6416;
  background: linear-gradient(180deg, #b8862b, #7a5410);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ticket.gold .t-big { font-size: 22px; font-weight: 800; color: #1d1f22; }
.ticket.gold .t-small { font-size: 14px; color: #5b5f62; }
.ticket.gold em {
  margin-top: 18px;
  background: #1d1f22;
  color: #e9c46a;
  border-radius: 12px;
  padding: 8px 16px;
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  text-shadow: none;
}
.ticket.gold em b { font-weight: 800; }
canvas.scratch { transition: opacity .5s ease-out; }
canvas.scratch.gone { opacity: 0; pointer-events: none; }
.won-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translate(-50%, 6px) scale(.9);
  background: #2f7d4f;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity .35s .25s, transform .35s .25s;
  box-shadow: 0 6px 16px rgba(47, 125, 79, .35);
}
.scratch-wrap.won .won-badge { opacity: 1; transform: translate(-50%, 0) scale(1); }
.scratch-wrap.won .ticket.gold { transform: scale(1.03); box-shadow: 0 16px 40px rgba(156, 113, 32, .45); }
.scratch-foot { display: flex; flex-direction: column; align-items: center; padding-bottom: calc(60px + var(--safe-b)); }
.scr-meter { width: min(100%, 220px); height: 6px; border-radius: 99px; background: rgba(9,10,10,.1); overflow: hidden; margin-top: 18px; }
.scr-meter span { display: block; height: 100%; width: 0; background: #ad903c; transition: width .15s linear; }
.scr-label { margin: 10px 0 0; font-weight: 700; letter-spacing: .04em; font-size: 14px; font-variant-numeric: tabular-nums; }
.count-ring { position: relative; width: 48px; height: 48px; margin-top: 14px; }
.count-ring svg { width: 100%; height: 100%; }
.count-ring circle { fill: none; stroke-width: 3; }
.count-ring .bg { stroke: #ddd; }
.count-ring .fg { stroke: #1d1f22; stroke-dasharray: 120; stroke-dashoffset: 0; }
.count-ring .fg.run { stroke-dashoffset: 120; transition: stroke-dashoffset 2s linear; }
.count-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; }
.ticket {
  border-radius: 20px;
  background: linear-gradient(160deg, #fff 0%, #f7f1e4 100%);
  border: 1px solid rgba(173, 144, 60, 0.35);
  min-height: 168px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  box-shadow: var(--shadow);
}
.ticket strong {
  font-family: Fraunces, Georgia, serif;
  font-size: 54px;
  color: var(--gold-deep);
  display: block;
  line-height: 1;
}
canvas.scratch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  touch-action: none;
  cursor: pointer;
}

.timer {
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--haram-line);
  font-size: 14px;
}
.benefit { display: flex; gap: 10px; text-align: left; padding: 8px 0; }
.benefit b { display: block; }
.benefit span { color: var(--muted); font-size: 14px; }
.plans { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.plan {
  text-align: left;
  border-radius: 18px;
  border: 1.5px solid transparent;
  background: #fff;
  padding: 14px 14px 12px;
  cursor: pointer;
  position: relative;
  font: inherit;
  color: inherit;
  width: 100%;
}
.plan.on { border-color: var(--gold); background: #fffaf0; }
.plan.popular { margin-top: 14px; }
.plan .pop {
  position: absolute;
  top: -10px;
  left: 14px;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 99px;
  padding: 3px 8px;
}
.plan-top, .plan-bot { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.plan-bot { margin-top: 6px; font-weight: 700; }
.plan-note { margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 500; }
.old { color: var(--muted); text-decoration: line-through; font-weight: 500; font-size: 13px; }
.per { font-weight: 700; }
.guarantee { text-align: center; color: var(--halal-line); font-weight: 700; font-size: 14px; margin-top: 12px; }

.before {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}
.chip {
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 13px;
}
.chip b { display: block; font-size: 15px; }
.chip.now b { color: var(--haram-line); }
.chip.after b { color: var(--halal-line); }

.done-mark {
  width: 72px;
  height: 72px;
  margin: 12px auto;
  border-radius: 50%;
  background: var(--halal);
  color: var(--halal-line);
  display: grid;
  place-items: center;
  font-size: 34px;
}

.tap-zone {
  margin-top: 12px;
  border: 0;
  background: #fff;
  border-radius: 28px;
  min-height: 220px;
  box-shadow: var(--shadow);
  font: inherit;
  cursor: pointer;
  padding: 24px;
}
.tap-zone .ayah-ar { font-size: 42px; }
.pips { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.pip { width: 10px; height: 10px; border-radius: 50%; background: #e3ddd3; }
.pip.on { background: var(--gold); }

.kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-deep);
  margin: 0 0 8px;
}
.catalog { text-align: left; }
.catalog h1 { text-align: left; font-size: 34px; }
.group {
  margin: 22px 0 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
}
.flow {
  width: 100%;
  text-align: left;
  background: #fff;
  border: 0;
  border-radius: 18px;
  padding: 14px 16px;
  margin-top: 8px;
  box-shadow: var(--shadow);
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.flow b { display: block; font-size: 16px; }
.flow span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.hours {
  text-align: center;
  font-family: Fraunces, Georgia, serif;
  font-size: 48px;
  margin: 12px 0 0;
}
.range { width: 100%; margin: 8px 0 0; accent-color: var(--gold); }
.linkish {
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 8px;
}

.sheet {
  margin-top: 16px;
  background: #fff;
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--shadow);
  animation: rise 0.25s ease;
}
.sheet p { margin: 8px 0 0; line-height: 1.45; }
.share {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  border-radius: 12px;
  padding: 10px 12px;
  background: linear-gradient(90deg, var(--fill) var(--share), #f3efe6 var(--share));
  font-weight: 700;
}
.share i {
  margin-left: 8px;
  font-style: normal;
  font-size: 12px;
  background: #090a0a;
  color: #fff;
  border-radius: 99px;
  padding: 2px 7px;
}
.badge-line {
  align-self: center;
  margin-top: 16px;
  background: linear-gradient(90deg, #d7b555, #c4a64e);
  color: #fff;
  border-radius: 99px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
}
.features { margin: 16px 0 0; padding: 0; list-style: none; }
.features li {
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 8px;
  box-shadow: var(--shadow);
}
.timeline { margin: 18px 0 0; padding: 0 0 0 18px; }
.timeline li { margin: 0 0 14px; }
.timeline b { display: block; }
.timeline span, .timeline p { color: var(--muted); font-size: 14px; }
.timeline .now b { color: var(--gold-deep); }
.calc { list-style: none; padding: 0; margin: 18px 0 0; }
.calc li { opacity: 0; transform: translateY(6px); padding: 8px 0; font-weight: 650; }
.calc li.on { opacity: 1; transform: none; transition: 0.35s ease; }
.prep {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background: radial-gradient(80% 80% at 90% 95%, #d9be72 0%, #ad903c 100%);
  color: #fff;
  text-align: center;
  z-index: 4;
}
.prep-line {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 32px;
  line-height: 1.2;
  white-space: pre-line;
  animation: rise 0.45s ease;
}
.hold-star {
  width: 180px;
  height: 180px;
  margin: 18px auto 0;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.hold-star svg { width: 100%; height: 100%; overflow: visible; }
.hold-star .ring {
  fill: none;
  stroke: #a88b4a;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 440;
  transform: rotate(-90deg);
  transform-origin: center;
}
.hold-msg { text-align: center; font-weight: 600; margin-top: 12px; }
.hold-ring {
  width: 196px;
  height: 196px;
  margin: 28px auto 0;
  border: 0;
  border-radius: 50%;
  background: conic-gradient(var(--gold) calc(var(--p) * 1%), #efeae2 0);
  display: grid;
  place-items: center;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.hold-label {
  width: 156px;
  height: 156px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  font-weight: 700;
}

.screen.intro-load {
  background: linear-gradient(180deg, #d7eef8 0%, #eef5f2 46%, #f7f4ef 100%);
  min-height: 100%;
}
.brand {
  margin: 10px 0 0;
  text-align: center;
  font-family: Fraunces, Georgia, serif;
  font-size: 22px;
  color: var(--gold);
}
.clouds {
  position: relative;
  height: 148px;
  margin: 12px auto 0;
}
.clouds i {
  position: absolute;
  background: #fff;
  border-radius: 40px;
}
.clouds i::before,
.clouds i::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 50%;
}
.clouds i:nth-child(1) { width: 92px; height: 38px; left: 10%; top: 58px; }
.clouds i:nth-child(1)::before { width: 42px; height: 42px; left: 12px; top: -22px; }
.clouds i:nth-child(1)::after { width: 54px; height: 54px; left: 36px; top: -28px; }
.clouds i:nth-child(2) { width: 118px; height: 46px; right: 8%; top: 28px; }
.clouds i:nth-child(2)::before { width: 52px; height: 52px; left: 16px; top: -26px; }
.clouds i:nth-child(2)::after { width: 64px; height: 64px; left: 48px; top: -34px; }
.clouds i:nth-child(3) { width: 72px; height: 30px; left: 38%; top: 78px; opacity: 0.95; }
.clouds i:nth-child(3)::before { width: 34px; height: 34px; left: 8px; top: -16px; }
.clouds i:nth-child(3)::after { width: 40px; height: 40px; left: 28px; top: -20px; }
.load-block {
  margin-top: auto;
  width: 100%;
  padding-bottom: calc(72px + var(--safe-b));
}
.load-label {
  margin: 0 0 10px;
  text-align: center;
  color: #3a4150;
  font-size: 15px;
}
.load-track {
  position: relative;
  height: 16px;
  border-radius: 99px;
  background: #fff;
  overflow: hidden;
}
.load-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #c9842a, #e2b45c);
}
.load-pct {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.live-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 18px auto 0;
  padding: 8px 12px;
  border-radius: 99px;
  background: #d6ebd3;
  border: 1px solid #bddac8;
  color: #198155;
  font-size: 13px;
  font-weight: 700;
}
.live-pill::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #198155;
  animation: pulse 1.5s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(25, 129, 85, 0.45); }
  100% { box-shadow: 0 0 0 8px rgba(25, 129, 85, 0); }
}
.deck { position: relative; margin: 8px 0 0; width: 100%; }
.deck-back {
  position: absolute;
  height: 220px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(83, 74, 55, 0.08);
}
.deck-back.a { top: 0; left: 18px; right: 18px; }
.deck-back.b { top: 10px; left: 8px; right: 8px; }
.deck .visual { position: relative; height: 270px; margin: 8px 0 12px; }
.pile {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  color: #3a4150;
}
.actions .pair { width: 100%; }
.choice.mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 64px;
  min-height: 64px;
  border-radius: 18px;
  border: 1.5px solid #fff;
  background: #fff;
  color: #090a0a;
  font-size: 18px;
  font-weight: 400;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.mark-x, .mark-ok { font-size: 22px; line-height: 1; font-weight: 500; }
.mark-x { color: #d3180c; }
.mark-ok { color: #198155; }
.actions .idk {
  margin: 28px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: #6c7072;
}
