:root {
  --red: #d0021b;
  --red-d: #9e0016;
  --gold: #ffc83d;
  --gold-d: #e8a417;
  --cream: #fff8ec;
  --ink: #2a1a14;
  --green: #2fa36b;
  --glass: rgba(255, 255, 255, .78);
  --font: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 50% -10%, #ff5a5a33, transparent 60%),
    radial-gradient(900px 600px at 100% 100%, #ffc83d22, transparent 60%),
    linear-gradient(160deg, #5a0010, #24040a 70%);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
button { font-family: inherit; cursor: pointer; border: 0; }
.hidden { display: none !important; }

#stage {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 20px;
}

/* ---------- side panels (desktop) ---------- */
.side {
  width: 300px;
  color: #ffeedd;
  max-height: 92vh;
  overflow: auto;
  scrollbar-width: none;
}
.side h2 { font-family: var(--serif); font-size: 26px; margin: 8px 0 10px; color: #fff; }
.side-tag { display: inline-block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); border: 1px solid #ffc83d66; padding: 4px 10px; border-radius: 99px; }
.side-lead { font-size: 13.5px; line-height: 1.55; opacity: .85; margin: 0 0 14px; }
.side-foot { margin-top: 16px; font-size: 12.5px; line-height: 1.5; opacity: .75; border-top: 1px dashed #ffffff33; padding-top: 12px; }
.journey { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.journey li {
  display: grid; grid-template-columns: 34px 1fr; gap: 2px 10px; align-items: center;
  padding: 9px 12px; border-radius: 14px; background: #ffffff0d; border: 1px solid #ffffff14;
  transition: all .4s;
}
.journey li b { grid-row: span 2; font-size: 22px; text-align: center; }
.journey li span { font-weight: 700; font-size: 14px; }
.journey li small { font-size: 11.5px; opacity: .75; }
.journey li.done { opacity: .55; }
.journey li.now { background: linear-gradient(90deg, #ffc83d33, #ffffff10); border-color: #ffc83d99; transform: translateX(6px); box-shadow: 0 6px 24px #0004; }
.mech { display: grid; gap: 10px; margin-bottom: 18px; }
.mech div { background: #ffffff0d; border: 1px solid #ffffff14; border-radius: 14px; padding: 10px 12px; }
.mech b { display: block; font-size: 14px; margin-bottom: 3px; color: #fff; }
.mech span { font-size: 12.5px; line-height: 1.5; opacity: .82; }
.viral { padding: 0; margin: 0; list-style: none; display: grid; gap: 8px; font-size: 12.5px; line-height: 1.5; opacity: .9; }
.viral b { color: var(--gold); }

@media (max-width: 1120px) { .side { display: none; } }

/* ---------- phone ---------- */
#phone {
  position: relative;
  width: 400px;
  height: min(860px, calc(100vh - 40px));
  border-radius: 42px;
  overflow: hidden;
  background: #9fd3f0;
  box-shadow: 0 0 0 10px #140306, 0 0 0 11px #ffffff22, 0 40px 90px #000a;
  flex-shrink: 0;
}
@media (max-width: 760px) {
  #stage { padding: 0; }
  #phone { width: 100vw; height: 100dvh; border-radius: 0; box-shadow: none; }
}
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
#flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; transition: opacity .5s; z-index: 5; }

/* ---------- HUD ---------- */
#hud {
  position: absolute; left: 0; right: 0; top: 0; z-index: 10;
  padding: calc(env(safe-area-inset-top) + 14px) 14px 0;
  pointer-events: none;
}
#hud > * { pointer-events: auto; }
.hud-top { display: flex; align-items: center; justify-content: space-between; }
.brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 15px; color: #fff;
  background: linear-gradient(90deg, var(--red), #ff3b4e); padding: 7px 14px 7px 10px; border-radius: 99px;
  box-shadow: 0 6px 18px #c8102e55;
}
.brand-dot { width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(var(--gold), #fff, var(--gold)); box-shadow: 0 0 10px #ffc83d; }
.hud-actions { display: flex; gap: 6px; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; background: var(--glass); backdrop-filter: blur(10px); font-size: 16px; display: grid; place-items: center; box-shadow: 0 4px 12px #0002; }

.calendar {
  margin-top: 10px; display: flex; align-items: flex-start; justify-content: space-between;
  background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 8px 10px 7px; border-radius: 16px; position: relative; box-shadow: 0 6px 18px #0002;
}
.calendar::before { content: ''; position: absolute; left: 26px; right: 26px; top: 20px; height: 2px; background: #0001; }
.calendar .cal-fill { position: absolute; left: 26px; top: 20px; height: 2px; background: linear-gradient(90deg, var(--green), var(--gold)); transition: width .8s; }
.cal-step { position: relative; z-index: 1; width: 16.6%; text-align: center; font-size: 9.5px; line-height: 1.2; color: #6b5a50; font-weight: 600; }
.cal-step i { display: grid; place-items: center; margin: 0 auto 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid #e6dcd4; font-style: normal; font-size: 12px; transition: all .4s; }
.cal-step.done i { background: var(--green); border-color: var(--green); filter: grayscale(.2); }
.cal-step.now { color: var(--red); }
.cal-step.now i { border-color: var(--red); transform: scale(1.22); box-shadow: 0 0 0 4px #d0021b22; background: #fff4f4; }

.res-row { margin-top: 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pill {
  display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 4px;
  background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 14px; padding: 5px 8px; box-shadow: 0 4px 12px #0002;
  transition: transform .25s;
}
.pill i { font-style: normal; font-size: 16px; grid-row: span 2; }
.pill b { font-size: 15px; line-height: 1; }
.pill small { font-size: 8.5px; color: #6b5a50; white-space: nowrap; }
.pill.gold { background: linear-gradient(135deg, #fff4cc, #ffe08a); }
.pill.bump { transform: scale(1.15); }

/* ---------- stage card ---------- */
#stageCard {
  position: absolute; left: 14px; right: 14px; bottom: calc(env(safe-area-inset-bottom) + 96px); z-index: 10;
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 18px; padding: 10px 12px; box-shadow: 0 8px 26px #0003;
}
.sc-head { display: flex; gap: 10px; align-items: center; }
.sc-head > span { font-family: var(--serif); font-weight: 800; font-size: 24px; color: var(--red); }
.sc-head b { display: block; font-size: 15px; }
.sc-head small { font-size: 11.5px; color: #7a6458; }
.bar { margin: 8px 0 6px; height: 10px; border-radius: 99px; background: #0000000f; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #4fc3ff, #2fa36b, var(--gold)); transition: width .8s cubic-bezier(.2,.9,.3,1.2); box-shadow: 0 0 10px #4fc3ff88; }
.sc-req { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { cursor: pointer; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 99px; background: #fff; border: 1px solid #0001; }
.chip.ok { background: #e3f7ec; color: #1d7a4d; border-color: #2fa36b44; }
.chip.need { background: #fff3f3; color: var(--red); border-color: #d0021b33; }

/* ---------- dock ---------- */
#dock {
  position: absolute; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom) + 14px); z-index: 11;
  display: grid; grid-template-columns: 1fr 1fr 1.5fr 1fr 1fr; grid-template-areas: "a b m c d"; align-items: end; gap: 4px;
  background: #ffffffe8; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 24px; padding: 8px 6px; box-shadow: 0 10px 30px #0004;
}
#btnTasks { grid-area: a; } #btnFriends { grid-area: b; } #btnMain { grid-area: m; } #btnForest { grid-area: c; }
#btnGifts { grid-area: d; }
.dock-btn { background: none; display: grid; justify-items: center; gap: 2px; font-size: 10.5px; font-weight: 600; color: #5d4a40; position: relative; padding: 4px 0; }
.dock-btn i { font-style: normal; font-size: 21px; }
.dock-btn .dot { position: absolute; top: 2px; right: 18%; width: 9px; height: 9px; border-radius: 50%; background: var(--red); display: none; box-shadow: 0 0 0 2px #fff; }
.dock-btn .dot.on { display: block; }
.dock-main {
  margin-top: -34px; height: 76px; border-radius: 24px;
  background: radial-gradient(circle at 30% 20%, #ff5a6a, var(--red) 55%, var(--red-d));
  color: #fff; display: grid; place-items: center; align-content: center; gap: 1px;
  font-weight: 800; font-size: 13px; box-shadow: 0 10px 24px #c8102e66, inset 0 2px 0 #ffffff55;
  transition: transform .15s, filter .2s;
}
.dock-main i { font-style: normal; font-size: 26px; }
.dock-main:active { transform: scale(.94); }
.dock-main.pulse { animation: pulse 1.4s infinite; }
.dock-main.gold { background: radial-gradient(circle at 30% 20%, #fff0b3, var(--gold) 50%, var(--gold-d)); color: #5a2d00; box-shadow: 0 10px 24px #e8a41766, inset 0 2px 0 #ffffffaa; }
.dock-main.night { background: radial-gradient(circle at 30% 20%, #8a7dff, #3b2aa8 55%, #1a1060); box-shadow: 0 10px 24px #3b2aa866; }
.dock-main[disabled] { filter: grayscale(.7) brightness(1.1); opacity: .7; animation: none; }
@keyframes pulse { 0%,100% { box-shadow: 0 10px 24px #c8102e66, 0 0 0 0 #ff3b4e66; } 50% { box-shadow: 0 10px 24px #c8102e66, 0 0 0 12px #ff3b4e00; } }

#hint {
  position: absolute; left: 50%; top: 190px; transform: translate(-50%, -50%); z-index: 9; max-width: 92%; white-space: normal !important; text-align: center;
  background: #2a1a14cc; color: #fff; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 99px;
  pointer-events: none; animation: bob 1.6s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, calc(-50% - 6px)); } }

/* ---------- toasts & fly ---------- */
#toasts { position: absolute; left: 0; right: 0; top: 168px; z-index: 30; display: grid; justify-items: center; gap: 6px; pointer-events: none; }
.toast {
  background: #fffffff2; border-radius: 14px; padding: 9px 14px; font-size: 13px; font-weight: 600;
  box-shadow: 0 8px 24px #0003; display: flex; gap: 8px; align-items: center; max-width: 88%;
  animation: tin .35s cubic-bezier(.2,.9,.3,1.3), tout .4s 2.2s forwards;
}
.toast.ok { border-left: 4px solid var(--green); }
.toast.warn { border-left: 4px solid var(--red); }
.toast.gold { background: linear-gradient(135deg, #fff8dc, #ffe08a); }
@keyframes tin { from { transform: translateY(-14px) scale(.9); opacity: 0; } }
@keyframes tout { to { transform: translateY(-10px); opacity: 0; } }
#flyLayer { position: absolute; inset: 0; pointer-events: none; z-index: 40; }
.fly { position: absolute; left: 0; top: 0; font-size: 22px; will-change: transform, opacity; filter: drop-shadow(0 3px 4px #0004); }
.float-txt { position: absolute; font-weight: 800; font-size: 18px; color: #fff; text-shadow: 0 2px 6px #000a; animation: rise 1.2s ease-out forwards; pointer-events: none; }
@keyframes rise { to { transform: translateY(-60px); opacity: 0; } }

/* ---------- overlays ---------- */
.overlay {
  position: absolute; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .45s;
}
.overlay.show { opacity: 1; pointer-events: auto; }

#intro { background: linear-gradient(180deg, #c8102ed9 0%, #8a0012ee 55%, #3a0008f5 100%); color: #fff; text-align: center; }
.intro-inner { padding: 30px 28px; max-width: 360px; }
.intro-tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
#intro h1 { font-family: var(--serif); font-size: 54px; line-height: 1; margin: 14px 0 8px; text-shadow: 0 6px 30px #0006; }
#intro h1 em { color: var(--gold); font-style: italic; }
.intro-sub { font-size: 16px; opacity: .92; margin: 0 0 22px; font-style: italic; }
.intro-steps { list-style: none; padding: 0; margin: 0 0 26px; text-align: left; display: grid; gap: 10px; }
.intro-steps li { display: flex; gap: 12px; align-items: center; font-size: 13.5px; line-height: 1.4; background: #ffffff14; border: 1px solid #ffffff22; padding: 9px 12px; border-radius: 14px; }
.intro-steps b { font-size: 22px; }
.cta {
  width: 100%; padding: 16px; border-radius: 18px; font-size: 16px; font-weight: 800;
  background: linear-gradient(135deg, #fff2b8, var(--gold) 45%, var(--gold-d)); color: #5a1a00;
  box-shadow: 0 10px 26px #0005, inset 0 2px 0 #fff9; transition: transform .15s, opacity .2s;
}
.cta:active { transform: scale(.97); }
.cta[disabled] { opacity: .45; }
.cta.red { background: linear-gradient(135deg, #ff5a6a, var(--red) 55%, var(--red-d)); color: #fff; }
.cta.ghost { background: #fff; color: var(--ink); box-shadow: 0 4px 12px #0002; }
.fine { display: block; margin-top: 12px; font-size: 11px; opacity: .65; }

#seeds { background: #00000066; align-items: flex-end; }
.sheet-inner {
  width: 100%; background: var(--cream); border-radius: 28px 28px 0 0; padding: 20px 18px calc(env(safe-area-inset-bottom) + 20px);
  transform: translateY(40px); transition: transform .5s cubic-bezier(.2,.9,.3,1.1);
}
#seeds.show .sheet-inner { transform: none; }
.sheet-inner h3 { margin: 0 0 4px; font-size: 18px; }
.muted { color: #7a6458; font-size: 12.5px; line-height: 1.5; margin: 0 0 12px; }
.seed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seed {
  text-align: left; background: #fff; border-radius: 18px; padding: 12px; border: 2px solid transparent;
  box-shadow: 0 4px 14px #0001; transition: all .25s; position: relative; overflow: hidden;
}
.seed::after { content: ''; position: absolute; right: -20px; top: -20px; width: 70px; height: 70px; border-radius: 50%; background: var(--c); opacity: .18; }
.seed .s-emo { font-size: 30px; }
.seed b { display: block; font-size: 14px; margin-top: 4px; }
.seed .s-wish { font-size: 11.5px; color: #7a6458; display: block; margin-top: 2px; line-height: 1.35; }
.seed .s-prod { font-size: 10.5px; display: inline-block; margin-top: 6px; padding: 2px 7px; border-radius: 99px; background: #f6efe8; font-weight: 600; }
.seed.on { border-color: var(--red); transform: translateY(-3px); box-shadow: 0 10px 22px #c8102e33; }
.name-field { display: block; margin: 14px 0; font-size: 12px; font-weight: 600; color: #7a6458; }
.name-field input { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid #e6dcd4; font: inherit; font-size: 15px; color: var(--ink); background: #fff; outline: none; }
.name-field input:focus { border-color: var(--red); }

/* ---------- bottom sheet ---------- */
.bsheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 45; max-height: 78%;
  background: var(--cream); border-radius: 26px 26px 0 0; box-shadow: 0 -10px 40px #0004;
  transform: translateY(105%); transition: transform .45s cubic-bezier(.2,.9,.3,1.05);
  display: flex; flex-direction: column;
}
.bsheet.show { transform: none; }
.bs-grip { width: 44px; height: 5px; border-radius: 99px; background: #0002; margin: 8px auto 0; }
.bs-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 16px 8px; }
.bs-head h3 { margin: 0; font-size: 17px; }
.bs-head .icon-btn { width: 30px; height: 30px; font-size: 13px; background: #0000000d; }
.bs-body { overflow: auto; padding: 0 14px calc(env(safe-area-inset-bottom) + 18px); }
.grp { margin: 6px 0 12px; }
.grp-h { display: flex; justify-content: space-between; align-items: baseline; margin: 4px 2px 8px; }
.grp-h b { font-size: 14px; }
.grp-h small { font-size: 11px; color: #7a6458; }
.cap { height: 6px; border-radius: 99px; background: #0000000f; overflow: hidden; margin: -2px 2px 10px; }
.cap i { display: block; height: 100%; background: linear-gradient(90deg, #4fc3ff, #1e88e5); border-radius: inherit; transition: width .5s; }
.task {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center;
  background: #fff; border-radius: 16px; padding: 10px 10px; margin-bottom: 8px; box-shadow: 0 3px 10px #0000000d;
}
.task .t-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: #f6efe8; }
.task b { font-size: 13.5px; display: block; }
.task small { font-size: 11px; color: #7a6458; display: block; margin-top: 2px; }
.task .tet { display: inline-block; font-size: 9.5px; font-weight: 700; color: var(--red); background: #fff0f0; padding: 1px 6px; border-radius: 99px; margin-top: 3px; }
.task.hot { outline: 2px solid #ffc83d; }
.t-btn { padding: 8px 12px; border-radius: 12px; font-weight: 800; font-size: 12px; background: var(--red); color: #fff; white-space: nowrap; }
.t-btn.blue { background: #1e88e5; }
.t-btn.green { background: var(--green); }
.t-btn[disabled] { background: #e8e1db; color: #9a8a80; }
.lb { display: grid; gap: 10px; }
.lb-card { background: #fff; border-radius: 18px; padding: 12px; box-shadow: 0 3px 10px #0000000d; }
.lb-top { display: flex; align-items: center; gap: 10px; }
.lb-av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: var(--c, #eee); color: #fff; font-weight: 800; }
.lb-top b { display: block; font-size: 14px; }
.lb-top small { font-size: 11px; color: #7a6458; }
.lb-top .cnt { margin-left: auto; text-align: right; font-weight: 800; color: var(--green); font-size: 15px; }
.miles { display: flex; gap: 4px; margin-top: 8px; }
.miles span { flex: 1; font-size: 9.5px; text-align: center; padding: 4px 2px; border-radius: 8px; background: #f6efe8; color: #7a6458; font-weight: 600; }
.miles span.ok { background: #e3f7ec; color: #1d7a4d; }
.bigbar { height: 12px; border-radius: 99px; background: #0000000f; overflow: hidden; margin: 6px 0 4px; }
.bigbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), #8bd36a); border-radius: inherit; }
.friend { display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; align-items: center; background: #fff; border-radius: 16px; padding: 8px 10px; margin-bottom: 8px; }
.friend .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: var(--c); }
.friend b { font-size: 13.5px; } .friend small { display: block; font-size: 11px; color: #7a6458; }

/* ---------- modal ---------- */
.modal { background: #1a0508aa; backdrop-filter: blur(3px); padding: 20px; }
.modal-card {
  width: 100%; max-width: 340px; background: var(--cream); border-radius: 26px; padding: 22px 18px 18px; text-align: center;
  box-shadow: 0 30px 70px #000a; transform: scale(.85) translateY(20px); transition: transform .5s cubic-bezier(.2,.9,.3,1.3);
  max-height: 92%; overflow: auto;
}
.modal.show .modal-card { transform: none; }
.modal-card .m-emo { font-size: 56px; line-height: 1; filter: drop-shadow(0 8px 12px #0003); }
.modal-card .m-kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-top: 8px; }
.modal-card h3 { font-family: var(--serif); font-size: 26px; margin: 4px 0 6px; }
.modal-card p { font-size: 13.5px; line-height: 1.55; color: #5d4a40; margin: 0 0 14px; }
.modal-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.modal-card .cta { padding: 13px; font-size: 14.5px; }
.rewards { display: grid; gap: 6px; margin: 0 0 14px; text-align: left; }
.rewards div { background: #fff; border-radius: 12px; padding: 8px 12px; font-size: 13px; font-weight: 600; display: flex; justify-content: space-between; }
.cut-card {
  position: relative; border-radius: 20px; padding: 18px 14px; margin-bottom: 14px; color: #fff; overflow: hidden;
  background: radial-gradient(circle at 80% 0%, #ff8a9a, transparent 50%), linear-gradient(160deg, #e0102a, #8a0012);
}
.cut-card .big { font-size: 64px; line-height: 1; }
.cut-card b { display: block; font-family: var(--serif); font-size: 21px; margin-top: 6px; }
.cut-card small { display: block; font-size: 12px; opacity: .9; margin-top: 4px; }
.cut-card .code { display: inline-block; margin-top: 10px; background: #ffffff22; border: 1px dashed #ffffff88; padding: 5px 12px; border-radius: 10px; font-weight: 800; letter-spacing: .1em; }
.share-row { display: flex; justify-content: center; gap: 10px; margin-bottom: 12px; }
.share-row button { width: 46px; height: 46px; border-radius: 50%; font-size: 20px; background: #fff; box-shadow: 0 3px 10px #0002; }
.cert {
  border-radius: 18px; padding: 16px 14px; margin-bottom: 14px; text-align: center; position: relative;
  background: linear-gradient(#fffdf5, #fff6dc); border: 2px solid var(--gold-d); box-shadow: inset 0 0 0 5px #fffdf5, inset 0 0 0 6px #e8a41788;
}
.cert .c-k { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-d); font-weight: 800; }
.cert .c-n { font-family: var(--serif); font-size: 24px; font-weight: 800; margin: 6px 0 2px; color: var(--red); }
.cert .c-d { font-size: 12px; color: #5d4a40; line-height: 1.5; }
.cert .c-gps { font-family: ui-monospace, monospace; font-size: 11px; margin-top: 6px; color: #2f6b45; }
.cert .stamp { position: absolute; right: 8px; top: 8px; width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--red); color: var(--red); display: grid; place-items: center; font-size: 9px; font-weight: 800; transform: rotate(-14deg); opacity: .8; line-height: 1.1; }

/* ---------- countdown ---------- */
#countdown { position: absolute; inset: 0; z-index: 35; display: grid; place-content: center; text-align: center; pointer-events: none; color: #fff; }
#countdown small { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); text-shadow: 0 2px 10px #000; }
#countdown b { font-family: var(--serif); font-size: 140px; line-height: 1; text-shadow: 0 0 40px #ffc83d, 0 6px 20px #000; animation: cd 1s ease-out; }
#countdown b.big { font-size: 46px; line-height: 1.15; }
@keyframes cd { from { transform: scale(1.8); opacity: 0; } 40% { opacity: 1; } }

/* ---------- menu ---------- */
#menu { position: absolute; top: calc(env(safe-area-inset-top) + 56px); right: 14px; z-index: 60; background: #fff; border-radius: 16px; padding: 6px; box-shadow: 0 12px 30px #0004; display: grid; }
#menu button { background: none; text-align: left; padding: 10px 12px; font-size: 13px; font-weight: 600; border-radius: 10px; }
#menu button:hover { background: #f6efe8; }
