/* build: keep in sync with bump-version.py */
:root{ --build:"1.6.1"; }
@font-face{
  font-family:"DastNevis";
  src:url("assets/dastnevis.woff") format("woff");
  font-display:swap;
}
@property --p{ syntax:"<percentage>"; inherits:false; initial-value:0%; }

:root{
  --wall:#121519;
  --gold:#d9b36c;
  --gold-2:#f3d79b;
  --pom:#9e1b2a;
  --pom-2:#c8323f;
  --ink:#fff8ee;
  --s:.25;           /* scale of the design stage (set by JS) */
  --hand:"DastNevis", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*{ box-sizing:border-box; }
[hidden]{ display:none !important; }
html,body{ margin:0; background:var(--wall); color:var(--ink); }
html{ -webkit-text-size-adjust:100%; scroll-behavior:auto; overscroll-behavior:none; background:#121519; }
body{ overscroll-behavior:none; }
html.locked, html.locked body{ overflow:hidden; height:100%; }
body{
  font-family:var(--hand);
  -webkit-tap-highlight-color:transparent;
  overflow-x:hidden;
  background:
    radial-gradient(120% 60% at 50% 0%, #1c2026 0%, transparent 70%),
    var(--wall);
}
img{ display:block; user-select:none; -webkit-user-drag:none; }
button{ font:inherit; color:inherit; }

/* ---------- scenes & scaled stage ---------- */
.scene{ position:relative; overflow:hidden; display:flex; flex-direction:column; justify-content:flex-end; }
.scene-room{ height:100vh; height:100svh; min-height:calc(2944px * var(--s));
  background:linear-gradient(rgba(10,12,15,.6), rgba(10,12,15,.6)), url("assets/bg-room.webp") center bottom / cover no-repeat, #121519; }
.scene-gift{ isolation:isolate; min-height:100vh; min-height:100svh; justify-content:center; padding-block:0 calc(14px + env(safe-area-inset-bottom)); }

.frame{
  position:relative; flex:none;
  width:calc(1772px * var(--s));
  height:calc(var(--h) * 1px * var(--s));
  align-self:center;
}
.stage{
  position:absolute; inset:0 auto auto 0;
  width:1772px; height:calc(var(--h) * 1px);
  transform:scale(var(--s)); transform-origin:0 0;
}
.stage > *{ position:absolute; }
.bg{
  inset:0; width:100%; height:100%;
  -webkit-mask-image:linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image:linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.scene-room .bg{
  -webkit-mask-image:linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(#0000 0, #000 6%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(#0000 0, #000 6%);
  mask-composite:intersect;
}

/* ---------- handwriting ---------- */
.hw{
  -webkit-mask-image:linear-gradient(to left, #000 calc(var(--p) - 7%), transparent var(--p));
          mask-image:linear-gradient(to left, #000 calc(var(--p) - 7%), transparent var(--p));
}
.hw.done{ -webkit-mask-image:none; mask-image:none; }
.no-js .hw, .hw.static{ --p:110%; }

.letter{ inset:0; pointer-events:none; z-index:20; }
.letter > *, .t-lines > p{ position:absolute; }
.t-to, .t-lines > p, .t-from, .prompt, .gift-text > p{
  margin:0; left:0; right:0; margin-inline:auto; width:max-content; max-width:1600px;
  white-space:nowrap; text-align:center; color:var(--ink);
  text-shadow:0 4px 18px rgba(0,0,0,.55);
  font-weight:400;
}
.t-to{ top:560px; font-size:104px; line-height:172px; }
.t-lines{ position:absolute; inset:0; }
.t-lines > p{ font-size:116px; line-height:172px; }
.t-from{ top:976px; font-size:104px; line-height:124px; }
.underline{ left:571px; top:923px; width:630px; height:37px; opacity:.95; }

.prompt-to{ position:absolute; z-index:20; top:548px; font-size:112px; line-height:150px; opacity:0;
  margin:0; left:0; right:0; margin-inline:auto; width:max-content; max-width:1600px; white-space:nowrap; text-align:center;
  color:var(--gold-2); text-shadow:0 0 30px rgba(255,214,140,.25), 0 6px 22px rgba(0,0,0,.6); }
.sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.prompt{
  position:absolute; z-index:20; top:690px; font-size:150px; line-height:215px; opacity:0;
  color:#fff; text-shadow:0 0 40px rgba(255,214,140,.25), 0 6px 22px rgba(0,0,0,.6);
}

.waves{ left:536px; top:350px; width:700px; height:190px; opacity:0; transition:opacity .8s ease; pointer-events:none; }
.waves.on{ opacity:1; }

/* ---------- radio ---------- */
.shadow{ left:109px; top:2075px; width:1545px; height:291px; transform-origin:50% 60%; opacity:0; }
.radio{
  left:120px; top:1247px; width:1533px; height:1116px;
  transform-origin:50% 100%; opacity:0;
}
.radio > *{ position:absolute; }
.radio .body{ inset:0; width:1533px; height:1116px; z-index:1; }
/* telescopic antenna: black base stays, the chrome mast slides out of it */
.antenna{ left:1352px; top:-897px; width:72px; height:1165px; z-index:0; transform-origin:50% 100%; transform:rotate(-90deg); }
.ant-clip{ position:absolute; left:0; top:0; width:72px; height:807px; overflow:hidden; }
.ant-mast{ position:absolute; left:0; top:0; width:72px; height:807px; transform:translateY(690px); }
.ant-base{ position:absolute; left:0; bottom:0; width:72px; height:380px; }
.strip{ left:89px; top:595px; width:1355px; height:78px; z-index:2; }
.screws{ left:136px; top:673px; width:1268px; height:287px; z-index:2; }
.dial{ left:343px; top:707px; width:795px; height:156px; z-index:2; }
.toggle{ width:125px; height:208px; z-index:7; transform-origin:50% 50%; }
.toggle.off{ left:192px; top:752px; }
.toggle.on{ left:192px; top:664px; opacity:0; }
.knob-scale{ left:1159px; top:673px; width:240px; height:242px; z-index:2; }
.knob{ left:1180px; top:708px; width:194px; height:194px; z-index:3; }
.knob img{ width:100%; height:100%; }
.lamp{ left:1266px; top:789px; width:25px; height:25px; z-index:5; transition:opacity .25s ease; }
.lamp.green{ opacity:0; }
.lamp-glow{
  left:1203px; top:726px; width:150px; height:150px; z-index:4; border-radius:50%;
  background:radial-gradient(circle, rgba(120,255,140,.75) 0, rgba(60,220,90,.25) 30%, transparent 65%);
  opacity:0; transition:opacity .4s ease; pointer-events:none;
}
.radio.is-on .lamp.red{ opacity:0; }
.radio.is-on .lamp.green{ opacity:1; }
.radio.is-on .lamp-glow{ opacity:1; }

/* VU lamps in the smoky panel */
.vu{
  left:352px; top:872px; width:790px; height:34px; z-index:3; direction:ltr;
  display:flex; justify-content:space-between; align-items:center;
  opacity:0; transition:opacity .6s ease;
}
.vu.on{ opacity:1; }
.led{
  position:relative; width:24px; height:24px; border-radius:50%;
  background:radial-gradient(circle at 35% 35%, #4b4a44, #1b1b19 70%);
  box-shadow:inset 0 1px 2px rgba(0,0,0,.8), 0 1px 0 rgba(255,255,255,.06);
}
.led i{
  position:absolute; inset:-1px; border-radius:50%; opacity:0;
  background:radial-gradient(circle at 38% 35%, #fff 0, var(--c) 35%, color-mix(in srgb, var(--c) 60%, #000) 75%);
  box-shadow:0 0 14px 3px color-mix(in srgb, var(--c) 70%, transparent);
}

/* invisible, generous tap targets over switch & knob */
.hit{
  z-index:8; border:0; padding:0; margin:0; background:transparent; cursor:pointer; border-radius:60px;
  touch-action:manipulation;
}
.hit:disabled{ cursor:default; }
.hit-switch{ left:118px; top:640px; width:270px; height:340px; }
.hit-knob{ left:1136px; top:650px; width:282px; height:290px; border-radius:50%; }
.hit:focus-visible{ outline:12px solid var(--gold-2); outline-offset:-10px; }
.sw-ring{
  left:159px; top:719px; width:190px; height:190px; border-radius:50%; z-index:6; pointer-events:none; opacity:0;
}
.sw-ring.on{ opacity:1; }
.sw-ring::before, .sw-ring::after{
  content:""; position:absolute; inset:0; border-radius:50%;
  border:8px solid rgba(243,215,155,.72);
  box-shadow:0 0 26px rgba(243,215,155,.4), inset 0 0 18px rgba(243,215,155,.25);
  opacity:0; animation:ring 2s ease-out infinite;
}
.sw-ring::after{ animation-delay:1s; }
.hit.unused::before{
  content:""; position:absolute; inset:28px; border-radius:inherit;
  border:9px solid rgba(243,215,155,.9);
  animation:ring 1.8s ease-out infinite;
}
@keyframes ring{ 0%{ transform:scale(.85); opacity:0; } 22%{ opacity:.72; } 100%{ transform:scale(1.75); opacity:0; } }

.gift-cta{
  left:736px; top:2400px; width:300px; height:440px; z-index:10; border:0; padding:0; background:none; cursor:pointer;
  display:flex; flex-direction:column; align-items:center; touch-action:manipulation; border-radius:40px;
}
.gift-ico{ position:relative; width:250px; height:250px; filter:drop-shadow(0 18px 24px rgba(0,0,0,.55)); animation:giftWiggle 3.2s ease-in-out 1s infinite; }
.gift-glow{ position:absolute; left:50%; top:125px; width:420px; height:420px; transform:translate(-50%,-50%); border-radius:50%;
  background:radial-gradient(circle, rgba(255,214,140,.55) 0, rgba(226,184,102,.18) 38%, transparent 66%); animation:glow 2.4s ease-in-out infinite; pointer-events:none; }
.gift-arrow{ width:150px; height:150px; margin-top:6px; fill:none; stroke:var(--gold-2); stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round;
  filter:drop-shadow(0 4px 10px rgba(0,0,0,.7)); animation:bob 1.6s ease-in-out infinite; }
.gift-cta:focus-visible{ outline:12px solid var(--gold-2); outline-offset:10px; }
@keyframes glow{ 0%,100%{ opacity:.55; transform:translate(-50%,-50%) scale(.9); } 50%{ opacity:1; transform:translate(-50%,-50%) scale(1.08); } }
@keyframes giftWiggle{ 0%,70%,100%{ transform:none; } 76%{ transform:rotate(-7deg) scale(1.05); } 82%{ transform:rotate(6deg) scale(1.05); } 88%{ transform:rotate(-3deg); } 94%{ transform:rotate(1deg); } }
@keyframes bob{ 0%,100%{ transform:translateY(0); opacity:.55; } 50%{ transform:translateY(34px); opacity:1; } }

/* ---------- scene 2: gift (parchment design) ---------- */
.scene-gift{ background:url("assets/bg-parchment.webp") center top / 100% auto repeat-y, #c9a274; justify-content:flex-start !important; }
.scene-gift::before{ content:""; position:absolute; left:0; right:0; top:0; height:calc(330px * var(--s)); z-index:0; pointer-events:none;
  background:linear-gradient(rgba(10,8,8,.96), rgba(10,8,8,.55) 45%, transparent); }
.scene-gift .frame{ z-index:1; }
.scene-gift .bg{ height:3032px; }
.fx{ position:absolute; inset:0; width:100%; height:100%; z-index:5; pointer-events:none; }
.g-shade{ left:0; right:0; top:0; height:330px; z-index:1; pointer-events:none;
  background:linear-gradient(rgba(10,8,8,.96) 0, rgba(10,8,8,.55) 45%, transparent); }
.g-sweep{ inset:0; z-index:1; pointer-events:none; opacity:0;
  background:linear-gradient(104deg, transparent 38%, rgba(255,244,214,.38) 50%, transparent 62%) 120% 0 / 260% 100% no-repeat; mix-blend-mode:soft-light; }
.g-sweep.go{ animation:sweep 2.6s ease-in-out forwards; }
@keyframes sweep{ 0%{ opacity:0; background-position:130% 0; } 15%{ opacity:1; } 100%{ opacity:0; background-position:-30% 0; } }
.g-title{ left:332px; top:81px; width:1132px; height:548px; z-index:2; transform-origin:50% 60%; }

.ticket{ left:129px; top:649px; width:1454px; height:523px; z-index:3; opacity:0; transform-origin:50% 50%;
  filter:drop-shadow(0 26px 30px rgba(60,30,10,.35)); }
.ticket > *{ position:absolute; }
.ticket-img{ inset:0; width:100%; height:100%; }
.code-box{
  left:86px; top:61px; width:750px; height:376px; border:0; padding:0; background:transparent; cursor:pointer; color:#5a1019;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; touch-action:manipulation; border-radius:8px;
}
.code-box:focus-visible{ outline:10px solid #9e1b2a; outline-offset:4px; }
.code-label{ font-size:66px; line-height:1.1; color:#8a2430; }
.code{ font-family:ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-weight:800; font-size:112px;
  letter-spacing:8px; line-height:1.05; font-variant-numeric:tabular-nums; white-space:nowrap; color:#4b0c14; }
.copy-hint{ display:inline-flex; align-items:center; gap:16px; font-size:52px; color:#8a2430; opacity:.85; }
.copy-hint svg{ width:52px; height:52px; fill:none; stroke:currentColor; stroke-width:2; }
.badge{ left:1091px; top:111px; width:304px; height:293px; display:block; transform-origin:50% 50%; }
.badge img{ width:100%; height:100%; }
.badge[href]{ cursor:pointer; }
.ticket.beat{ animation:beat 1.8s ease-in-out infinite; }
@keyframes beat{ 0%{ transform:scale(1); } 12%{ transform:scale(1.035); } 24%{ transform:scale(.997); } 36%{ transform:scale(1.022); } 55%,100%{ transform:scale(1); } }
.stamp-dust{ position:absolute; border-radius:50%; background:rgba(120,80,40,.35); pointer-events:none; }

/* "more info" — a wax-seal style button, different from the wooden planks */
.info-btn{
  left:486px; top:300px; width:800px; height:210px; z-index:3; display:flex; align-items:center; justify-content:center; gap:34px;
  border:6px solid #e2b866; border-radius:110px; cursor:pointer; touch-action:manipulation;
  background:radial-gradient(120% 140% at 30% 20%, #b3283a, #7d1222 60%, #5c0c18);
  box-shadow:0 20px 34px rgba(70,20,10,.4), inset 0 4px 0 rgba(255,255,255,.18), inset 0 -8px 16px rgba(0,0,0,.3);
  color:#fff3dc; font:800 84px/1 "Vazirmatn", system-ui, sans-serif; overflow:hidden;
}
.info-btn::after{ content:""; position:absolute; inset:-20% auto -20% -40%; width:28%; background:linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform:skewX(-18deg); animation:shine 4s ease-in-out 1s infinite; }
.info-i{ display:grid; place-items:center; width:116px; height:116px; border-radius:50%; background:#e2b866; flex:none; }
.info-i svg{ width:70px; height:70px; fill:none; stroke:#5c0c18; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }

/* microphone above the "create my greeting" plank — the lamp blinks slowly */
.g-mic{ left:798px; top:1800px; width:176px; height:321px; z-index:4; display:block; opacity:0; touch-action:manipulation; border-radius:90px; }
.g-mic img{ position:absolute; inset:0; width:100%; height:100%; filter:drop-shadow(0 22px 20px rgba(60,25,8,.45)); }
.g-mic-halo{ position:absolute; left:50%; top:40%; width:420px; height:420px; transform:translate(-50%,-50%); border-radius:50%; pointer-events:none;
  background:radial-gradient(circle, rgba(255,225,160,.55) 0, rgba(255,210,140,.18) 40%, transparent 66%); animation:glow 2.8s ease-in-out infinite; }
.g-mic-lamp{ position:absolute; left:48.3%; top:60.2%; width:21%; aspect-ratio:1; transform:translate(-50%,-50%); border-radius:50%;
  background:radial-gradient(circle at 38% 34%, #6a6f68, #2a2d2a 70%); animation:micLamp 2.4s ease-in-out infinite; }
@keyframes micLamp{
  0%,38%{ background:radial-gradient(circle at 38% 34%, #6a6f68, #2a2d2a 70%); box-shadow:inset 0 2px 3px rgba(0,0,0,.6); }
  52%,86%{ background:radial-gradient(circle at 38% 34%, #eaffef 0, #5dff8a 30%, #16b54a 75%); box-shadow:0 0 22px 7px rgba(80,255,130,.7); }
  100%{ background:radial-gradient(circle at 38% 34%, #6a6f68, #2a2d2a 70%); box-shadow:inset 0 2px 3px rgba(0,0,0,.6); }
}
.g-mic:focus-visible{ outline:12px solid #5c0c18; outline-offset:12px; }
@media (hover:hover){ .g-mic:hover img{ transform:translateY(-6px); transition:transform .2s ease; } }
.g-mic:active img{ transform:scale(.96); }
.info-btn:focus-visible{ outline:12px solid #5c0c18; outline-offset:8px; }
.info-btn[hidden]{ display:none; }
@keyframes shine{ 0%{ left:-40%; } 40%,100%{ left:120%; } }

/* info window: parchment card, readable font; bottom sheet on phones */
.info-dlg{ border:0; padding:0; background:transparent; max-width:min(560px, 94vw); width:100%; color:#2c140b; overflow:visible; }
.info-dlg::backdrop{ background:rgba(15,8,6,.6); backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px); }
.dlg-card{ position:relative; padding:28px 24px 22px; border-radius:22px; border:2px solid #c99a52;
  background:linear-gradient(rgba(255,248,232,.55), rgba(255,248,232,.55)), url("assets/bg-parchment.webp") center / cover; box-shadow:0 30px 70px rgba(0,0,0,.45);
  font-family:"Vazirmatn", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif; }
.dlg-card h2{ margin:0 0 12px; font-size:22px; font-weight:800; color:#6d1020; padding-inline-end:44px; }
.dlg-body p{ margin:0 0 6px; font-size:19px; line-height:1.85; font-weight:500; }
.dlg-code{ display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-top:16px; padding:12px 14px; border:2px dashed rgba(109,16,32,.4); border-radius:14px; background:rgba(255,255,255,.55); font-size:15px; }
.dlg-code strong{ font:800 22px/1 ui-rounded, system-ui, sans-serif; letter-spacing:2px; color:#4b0c14; }
.dlg-copy{ margin-inline-start:auto; min-height:44px; padding:0 16px; border-radius:999px; border:0; background:#7d1222; color:#fff3dc; font:700 15px "Vazirmatn", system-ui, sans-serif; cursor:pointer; }
.dlg-call{ display:flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:54px; margin-top:16px; border-radius:999px; text-decoration:none;
  background:linear-gradient(180deg, #f3d79b, #d4a24c); color:#3a0a12; font:800 18px "Vazirmatn", system-ui, sans-serif;
  box-shadow:0 10px 22px rgba(90,40,10,.3), inset 0 2px 0 rgba(255,255,255,.5); }
.dlg-call svg{ width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.dlg-call:focus-visible{ outline:3px solid #6d1020; outline-offset:3px; }
.dlg-call[hidden], .dlg-num:empty{ display:none; }
.dlg-num{ margin:8px 0 0; text-align:center; font:700 16px system-ui, sans-serif; color:#5a1019; user-select:all; }
.dlg-x{ position:absolute; top:12px; inset-inline-end:12px; width:44px; height:44px; border-radius:50%; border:0; background:rgba(109,16,32,.1); color:#6d1020; font-size:18px; cursor:pointer; }
.dlg-x:focus-visible, .dlg-copy:focus-visible{ outline:3px solid #6d1020; outline-offset:2px; }
.info-dlg[open]{ animation:dlgIn .32s cubic-bezier(.2,.8,.3,1); }
@keyframes dlgIn{ from{ opacity:0; transform:translateY(24px) scale(.98); } }
@media (max-width:600px){
  .info-dlg{ max-width:100vw; margin:auto 0 0; }
  .dlg-card{ border-radius:22px 22px 0 0; padding-bottom:calc(22px + env(safe-area-inset-bottom)); }
  .info-dlg[open]{ animation:sheetIn .34s cubic-bezier(.2,.8,.3,1); }
  @keyframes sheetIn{ from{ transform:translateY(100%); } }
}
html.dlg-open, html.dlg-open body{ overflow:hidden; }

.prize{ left:606px; top:1205px; width:560px; height:557px; z-index:3; opacity:0; }
.prize > *{ position:absolute; }
.prize-img{ inset:0; width:100%; height:100%; border-radius:50%; will-change:transform; }
.prize-shadow{ left:8%; right:8%; bottom:-34px; height:90px; border-radius:50%; background:radial-gradient(closest-side, rgba(50,25,10,.45), transparent); }
.prize-light{ inset:0; border-radius:50%; pointer-events:none;
  background:radial-gradient(circle at 32% 26%, rgba(255,255,255,.32), transparent 42%); mix-blend-mode:screen; }
.prize.idle-spin .prize-img{ animation:spin var(--spin, 40s) linear infinite; animation-direction:var(--dir, normal); }
.prize.idle-float{ animation:floaty 3.4s ease-in-out infinite; }
.prize.idle-pulse{ animation:pulse 2.4s ease-in-out infinite; }
@keyframes spin{ to{ transform:rotate(360deg); } }
@keyframes floaty{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-22px); } }
@keyframes pulse{ 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.06); } }

.planks{ left:332px; top:2140px; width:1140px; height:590px; z-index:4; }
.plank{ position:absolute; left:0; width:1140px; height:267px; padding:0; border:0; background:none; cursor:pointer; display:block;
  text-decoration:none; opacity:0; touch-action:manipulation; transform-origin:50% 0; transition:filter .15s; }
.plank > img{ position:absolute; inset:0; width:100%; height:100%; filter:drop-shadow(0 18px 18px rgba(60,25,8,.45)); }
.pk-ico{ position:absolute; left:40px; top:28px; width:175px; height:180px; display:grid; place-items:center; }
.pk-ico svg{ width:110px; height:110px; fill:none; stroke:#fbe7c6; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; filter:drop-shadow(0 4px 0 rgba(50,15,4,.6)); }
.pk-txt{ position:absolute; left:300px; right:10px; top:0; bottom:34px; display:flex; align-items:center; justify-content:center;
  font-size:88px; line-height:1; color:#fff0d6; text-shadow:0 5px 0 rgba(55,18,4,.65), 0 0 18px rgba(0,0,0,.25); white-space:nowrap; }
.plank:active{ filter:brightness(.9); }
.plank:active > *{ transform:translateY(7px); }
.plank:focus-visible{ outline:12px solid #fff0d6; outline-offset:6px; border-radius:30px; }
@media (hover:hover){ .plank:hover{ filter:brightness(1.08); } }

.credit{
  position:relative; margin:10px 0 0; text-align:center; font:13px/1.6 system-ui, -apple-system, sans-serif;
  color:rgba(45,20,8,.75); padding-bottom:12px;
}
.credit a{ color:#5a1019; }

/* ---------- fixed UI ---------- */
.mute{
  position:fixed; z-index:50; top:calc(12px + env(safe-area-inset-top)); left:calc(12px + env(safe-area-inset-left));
  width:44px; height:44px; border-radius:50%; border:1px solid rgba(243,215,155,.35);
  background:rgba(18,21,25,.55); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  display:grid; place-items:center; cursor:pointer; padding:0;
}
.mute svg{ width:22px; height:22px; fill:none; stroke:var(--gold-2); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.mute .spk{ fill:var(--gold-2); stroke:none; }
.mute .off{ display:none; }
.mute[aria-pressed="true"] .on{ display:none; }
.mute[aria-pressed="true"] .off{ display:inline; }
.mute:focus-visible{ outline:3px solid var(--gold-2); outline-offset:3px; }

.toast{
  position:fixed; z-index:60; left:50%; bottom:calc(24px + env(safe-area-inset-bottom));
  transform:translate(-50%, 20px); opacity:0; pointer-events:none;
  background:rgba(20,22,26,.92); border:1px solid rgba(243,215,155,.4); color:#fff7e6;
  padding:10px 20px 12px; border-radius:999px; font-size:20px; white-space:nowrap;
  transition:opacity .25s ease, transform .25s ease;
}
.toast .ltr{ font-family:system-ui, -apple-system, "Segoe UI", sans-serif; font-weight:700; unicode-bidi:isolate; }
.toast.show{ opacity:1; transform:translate(-50%, 0); }

@media (prefers-reduced-motion: reduce){
  .sw-ring::before, .sw-ring::after, .gift-arrow, .gift-ico, .gift-glow, .ticket.beat, .prize, .prize-img, .info-btn::after, .info-dlg[open], .g-mic-halo{ animation:none !important; }
  .g-mic-lamp{ animation:none !important; background:radial-gradient(circle at 38% 34%, #eaffef 0, #5dff8a 30%, #16b54a 75%); }
  .sw-ring::before{ opacity:.6; }
  .hw{ -webkit-mask-image:none; mask-image:none; }
}
