:root {
  --pink: #ff7aa8;
  --gold: #ffd27a;
  --teal: #45d0c8;
  --plum: #2a1530;
  --ink: #1a0b1e;
  --font: "Helvetica Neue", Arial, sans-serif;
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: #0d070f; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
#stage { position: fixed; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100vw, calc(100vh * 0.5625)); overflow: hidden; font-family: var(--font); color: #fff; }
#view { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hidden { display: none !important; }

/* ---------- outlined display text ---------- */
.ol { paint-order: stroke fill; -webkit-text-stroke: 4px var(--ink); text-shadow: 0 3px 0 rgba(26, 11, 30, 0.85); }
.ol-s { paint-order: stroke fill; -webkit-text-stroke: 3px var(--ink); text-shadow: 0 2px 0 rgba(26, 11, 30, 0.8); }

/* ---------- HUD ---------- */
#hud { position: absolute; top: calc(8px + var(--sat)); left: calc(10px + var(--sal)); right: 66px; pointer-events: none; z-index: 5; }
.hud-row { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.hud-row.small { font-size: 12px; font-weight: 700; gap: 10px; }
.live-pill { display: inline-flex; align-items: center; gap: 5px; background: #e8264f; border-radius: 6px; padding: 3px 8px; font-weight: 900; font-size: 13px; letter-spacing: 1px; box-shadow: 0 2px 0 rgba(0,0,0,.4); }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }
.hud-ep { font-weight: 900; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; paint-order: stroke fill; -webkit-text-stroke: 3px var(--ink); text-shadow: 0 2px 0 rgba(0,0,0,.7); }
.meter { display: flex; align-items: center; gap: 4px; background: rgba(26, 11, 30, 0.62); border: 1px solid rgba(255, 210, 122, 0.45); border-radius: 14px; padding: 2px 8px 2px 3px; }
.meter img { width: 22px; height: 22px; object-fit: contain; }
.meter .bar { width: 64px; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.15); overflow: hidden; }
.meter .bar i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, #ffd27a, #ffefb0); transition: width .5s cubic-bezier(.3,1.4,.6,1); }
.meter.heat .bar i { background: linear-gradient(90deg, #ff9a3c, #ff2d4a); }
.meter.heat.danger { animation: dangerPulse .6s ease-in-out infinite alternate; border-color: #ff3b52; }
@keyframes dangerPulse { to { box-shadow: 0 0 14px #ff3b52; } }
.meter b { font-size: 16px; font-weight: 900; min-width: 24px; text-align: right; paint-order: stroke fill; -webkit-text-stroke: 3px var(--ink); }
.meter.bump { animation: bump .4s cubic-bezier(.3,1.8,.5,1); }
@keyframes bump { 40% { transform: scale(1.18); } }
#hud-viewers { paint-order: stroke fill; -webkit-text-stroke: 3px var(--ink); color: #ffe6ef; }
.gold-pill { display: inline-flex; align-items: center; gap: 3px; background: rgba(26,11,30,.62); border-radius: 12px; padding: 1px 8px 1px 2px; border: 1px solid rgba(255,210,122,.45); }
.gold-pill img { width: 20px; height: 20px; object-fit: contain; }
.gold-pill b { font-size: 14px; paint-order: stroke fill; -webkit-text-stroke: 3px var(--ink); color: var(--gold); }

/* ---------- layer / panels ---------- */
#layer { position: absolute; inset: 0; pointer-events: none; z-index: 6; }
#layer > * { pointer-events: auto; }
.panel {
  position: absolute; left: calc(10px + var(--sal)); right: calc(10px + var(--sar)); bottom: calc(12px + var(--sab));
  border-style: solid; border-color: transparent; border-width: 0;
  border-image-source: var(--panel-img, none); border-image-slice: var(--panel-slice, 60) fill; border-image-width: 24px; border-image-repeat: stretch;
  background: var(--panel-bg, linear-gradient(180deg, rgba(48, 22, 52, 0.92), rgba(26, 11, 30, 0.95)));
  border-radius: var(--panel-radius, 18px);
  padding: 22px 20px 20px;
  max-height: 58%;
  display: flex; flex-direction: column; gap: 10px;
  animation: panelIn .28s cubic-bezier(.2,1.4,.5,1) both;
  box-shadow: var(--panel-shadow, 0 0 0 2px rgba(255,122,168,.6), 0 8px 30px rgba(0,0,0,.5));
}
.panel.center { top: 50%; bottom: auto; transform: translateY(-50%); max-height: 86%; animation: panelPop .3s cubic-bezier(.2,1.5,.5,1) both; }
@keyframes panelIn { from { transform: translateY(40px); opacity: 0; } }
@keyframes panelPop { from { transform: translateY(-50%) scale(.82); opacity: 0; } }
.panel.out { animation: panelOut .18s ease-in both; }
@keyframes panelOut { to { transform: translateY(30px); opacity: 0; } }
.nametag {
  position: absolute; top: -18px; left: 18px; padding: 5px 14px; border-radius: 16px;
  background: linear-gradient(90deg, #ff5f95, #ff9a7a); font-weight: 900; font-size: 16px;
  box-shadow: 0 3px 0 rgba(0,0,0,.35); display: flex; align-items: center; gap: 6px; white-space: nowrap;
  paint-order: stroke fill; -webkit-text-stroke: 3px #6b1234;
}
.nametag img { width: 20px; height: 20px; }
.nametag .aff { color: #fff4d0; }
.ptext { font-size: 16px; line-height: 1.5; font-weight: 600; color: #fff6fa; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.ptitle { font-size: 22px; font-weight: 900; text-align: center; color: var(--gold); paint-order: stroke fill; -webkit-text-stroke: 4px var(--ink); text-shadow: 0 3px 0 rgba(0,0,0,.6); }
.psub { font-size: 14px; text-align: center; color: #ffd9e6; font-weight: 700; }
.scroll { overflow-y: auto; overflow-x: hidden; min-height: 0; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 8px 22px; width: 100%;
  border-style: solid; border-color: transparent; border-width: 0;
  border-image-source: var(--btn-img, none); border-image-slice: var(--btn-slice, 40) fill; border-image-width: var(--btn-bw, 25px); border-image-repeat: stretch;
  background: var(--btn-bg, linear-gradient(180deg, #ff8fb5, #ff6d8f));
  border-radius: var(--btn-radius, 26px);
  color: #fff; font-family: inherit; font-size: 16px; font-weight: 800; text-align: left; line-height: 1.25;
  paint-order: stroke fill; -webkit-text-stroke: 3px #7a1740; text-shadow: 0 2px 0 rgba(90, 10, 40, 0.5);
  cursor: pointer; outline: none; transition: transform .12s, filter .12s;
  animation: btnIn .3s cubic-bezier(.2,1.5,.5,1) both;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-style: solid; border-color: transparent; border-width: 0;
  border-image-source: var(--btn-img, none); border-image-slice: var(--btn-slice, 40) fill; border-image-width: var(--btn-bw, 25px); border-image-repeat: stretch;
  background: var(--btn-bg, linear-gradient(180deg, #ff8fb5, #ff6d8f));
  border-radius: var(--btn-radius, 26px);
  box-shadow: 0 3px 0 rgba(60, 10, 30, 0.35);
}
.btn .bicon { width: 28px; height: 28px; object-fit: contain; }
.btn:nth-child(2) { animation-delay: .05s; } .btn:nth-child(3) { animation-delay: .1s; } .btn:nth-child(4) { animation-delay: .15s; } .btn:nth-child(5) { animation-delay: .2s; }
@keyframes btnIn { from { transform: translateX(30px); opacity: 0; } }
.btn .lbl { flex: 1; }
.btn.centered { justify-content: center; text-align: center; }
.btn.centered .lbl { flex: 0 1 auto; }
.btn:hover, .btn.focus { filter: brightness(1.12) drop-shadow(0 0 8px rgba(255, 210, 122, 0.9)); transform: scale(1.02); }
.btn:active, .btn.press { transform: scale(0.95); }
.btn.alt { filter: hue-rotate(160deg) saturate(.8); }
.btn.alt:hover, .btn.alt.focus { filter: hue-rotate(160deg) saturate(.8) brightness(1.15) drop-shadow(0 0 8px rgba(120, 255, 240, 0.9)); }
.btn.gold { filter: hue-rotate(28deg) saturate(1.2) brightness(1.05); }
.btn.gold:hover, .btn.gold.focus { filter: hue-rotate(28deg) saturate(1.2) brightness(1.2) drop-shadow(0 0 8px rgba(255, 230, 140, 0.9)); }
.btn.dim { filter: grayscale(0.8) brightness(0.7); pointer-events: none; }
.btn.small { min-height: 44px; font-size: 14px; padding: 6px 14px; }
.chip { display: inline-flex; align-items: center; gap: 3px; background: rgba(26, 11, 30, 0.55); border-radius: 12px; padding: 2px 8px 2px 3px; font-size: 14px; font-weight: 900; -webkit-text-stroke: 0; text-shadow: none; white-space: nowrap; }
.chip img { width: 22px; height: 22px; object-fit: contain; }
.chip.good { color: #b8ffcf; } .chip.mid { color: #ffe39a; } .chip.bad { color: #ffb0b0; }
.btn-row { display: flex; gap: 10px; }
.btn-row .btn { flex: 1; }

/* ---------- results of a choice ---------- */
.stamp { align-self: center; font-size: 26px; font-weight: 900; padding: 2px 18px; border-radius: 10px; transform: rotate(-5deg); animation: stamp .35s cubic-bezier(.2,1.8,.5,1) both; paint-order: stroke fill; -webkit-text-stroke: 4px var(--ink); }
.stamp.ok { color: #9dffc0; background: rgba(20, 90, 60, .55); }
.stamp.bad { color: #ffb3b3; background: rgba(120, 20, 30, .55); }
.stamp.safe { color: #ffe39a; background: rgba(110, 80, 20, .5); }
@keyframes stamp { from { transform: rotate(-5deg) scale(2.2); opacity: 0; } }
.deltas { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.delta { display: inline-flex; align-items: center; gap: 3px; background: rgba(0,0,0,.35); border-radius: 14px; padding: 3px 10px 3px 4px; font-weight: 900; font-size: 15px; animation: popIn .35s cubic-bezier(.2,1.6,.5,1) both; }
.delta img { width: 22px; height: 22px; }
.delta.up { color: #b8ffcf; } .delta.down { color: #ffb0b0; } .delta.heatup { color: #ffb08a; } .delta.heatdown { color: #a8f0ff; }
@keyframes popIn { from { transform: scale(0.3); opacity: 0; } }

/* ---------- casting / cards ---------- */
.full { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: stretch; justify-content: center; padding: calc(70px + var(--sat)) calc(12px + var(--sar)) calc(14px + var(--sab)) calc(12px + var(--sal)); }
.full .panel { position: relative; left: auto; right: auto; bottom: auto; max-height: 100%; }
.persona { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.persona .badge { background: linear-gradient(90deg, #ffd27a, #ff9ab8); color: #fff; font-weight: 900; font-size: 20px; padding: 4px 18px; border-radius: 16px; paint-order: stroke fill; -webkit-text-stroke: 4px #6b1234; }
.persona .desc { font-size: 13px; color: #ffe0ea; text-align: center; font-weight: 600; }
.stats { display: flex; flex-direction: column; gap: 6px; }
.stat { display: flex; align-items: center; gap: 8px; }
.stat img { width: 30px; height: 30px; object-fit: contain; }
.stat .nm { width: 4.6em; font-weight: 800; font-size: 15px; white-space: nowrap; }
.stat .bar { flex: 1; height: 12px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; }
.stat .bar i { display: block; height: 100%; background: linear-gradient(90deg, #ff6d9a, #ffd27a); width: 0%; transition: width .6s cubic-bezier(.3,1.3,.6,1); }
.stat b { width: 34px; text-align: right; font-size: 18px; font-weight: 900; paint-order: stroke fill; -webkit-text-stroke: 3px var(--ink); }
.bag { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; min-height: 26px; }
.bag-title { font-size: 12px; color: #ffcadb; text-align: center; font-weight: 700; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card {
  position: relative; height: 150px; border-radius: 16px; overflow: hidden; cursor: pointer; border: 3px solid rgba(255, 210, 122, 0.55);
  background-color: #3a1c40; background-repeat: no-repeat; background-size: 230% auto; background-position: 50% 6%;
  box-shadow: 0 4px 0 rgba(0,0,0,.35); transition: transform .12s, filter .12s; animation: popIn .3s cubic-bezier(.2,1.5,.5,1) both;
}
.card:nth-child(2) { animation-delay: .05s; } .card:nth-child(3) { animation-delay: .1s; } .card:nth-child(4) { animation-delay: .15s; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(26,11,30,.92)); }
.card .info { position: absolute; left: 8px; right: 8px; bottom: 6px; z-index: 1; }
.card .nm { font-weight: 900; font-size: 16px; paint-order: stroke fill; -webkit-text-stroke: 3px var(--ink); }
.card .jb { font-size: 11px; color: #ffd9e6; font-weight: 700; }
.card .hearts { display: flex; align-items: center; gap: 3px; font-weight: 900; font-size: 15px; paint-order: stroke fill; -webkit-text-stroke: 3px var(--ink); }
.card .hearts img { width: 18px; height: 18px; }
.card:hover, .card.focus { transform: scale(1.04); filter: brightness(1.12); border-color: #fff2b8; box-shadow: 0 0 14px rgba(255, 210, 122, .9); }
.card.press { transform: scale(.96); }
.card .likes { font-size: 10.5px; color: #fff; opacity: .85; line-height: 1.25; margin-top: 2px; }
.card:nth-child(5) { animation-delay: .2s; } .card:nth-child(6) { animation-delay: .25s; }
.cards.c5, .cards.c6 { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.cards.c5 .card, .cards.c6 .card { height: clamp(128px, 19vh, 168px); background-size: 250% auto; border-width: 2px; }
.cards.c5 .card .nm, .cards.c6 .card .nm { font-size: 13.5px; line-height: 1.15; -webkit-text-stroke: 3px var(--ink); white-space: nowrap; letter-spacing: -0.2px; }
.cards.c5 .card .jb, .cards.c6 .card .jb { font-size: 10.5px; line-height: 1.2; }
.cards.c5 .card .info, .cards.c6 .card .info { left: 6px; right: 4px; bottom: 5px; }
.card .hearts.hot { color: #ffd27a; }
.card .hearts.hot img { filter: drop-shadow(0 0 4px rgba(255, 120, 170, .95)); }
.panel:has(.cards.c6), .panel:has(.cards.c5) { max-height: 76%; overflow-y: auto; }

/* ---------- gender choice ---------- */
.gender-row { display: flex; gap: 12px; }
.gender-btn { flex: 1; flex-direction: column; min-height: 132px; padding: 14px 8px; gap: 6px; text-align: center; }
.gender-btn .lbl { flex: 0 0 auto; font-size: 24px; }
.gender-btn .gsym { font-size: 40px; line-height: 1; -webkit-text-stroke: 4px #7a1740; }
.gender-btn .chip { font-size: 12px; white-space: normal; text-align: center; padding: 3px 8px; }

/* ---------- affection strip (group scenes) ---------- */
.affstrip { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 6px; }
.affchip { display: flex; align-items: center; gap: 4px; min-width: 0; background: rgba(26, 11, 30, .6); border: 1px solid rgba(255, 210, 122, .45); border-radius: 16px; padding: 2px 9px 2px 2px; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.affchip .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.affchip .av { width: 26px; height: 26px; border-radius: 50%; background-size: 260% auto; background-position: 50% 4%; background-repeat: no-repeat; background-color: #3a1c40; border: 1.5px solid #ffd27a; }
.affchip img { width: 16px; height: 16px; }
.affchip b { color: #fff4d0; font-size: 14px; paint-order: stroke fill; -webkit-text-stroke: 2px var(--ink); }

/* ---------- results: pairing ---------- */
.pair { display: flex; align-items: center; justify-content: center; gap: 10px; align-self: center; padding: 4px 14px 4px 4px; border-radius: 30px; background: rgba(26, 11, 30, .6); animation: popIn .4s .2s cubic-bezier(.2,1.6,.5,1) both; }
.pair .av { width: 48px; height: 48px; border-radius: 50%; background-size: 260% auto; background-position: 50% 4%; background-repeat: no-repeat; background-color: #3a1c40; border: 2px solid #ffd27a; }
.pair .nm { font-weight: 900; font-size: 17px; paint-order: stroke fill; -webkit-text-stroke: 3px var(--ink); }
.pair .st { font-weight: 900; font-size: 15px; padding: 2px 10px; border-radius: 10px; }
.pair.ok .st { color: #9dffc0; background: rgba(20, 90, 60, .6); }
.pair.bad .st { color: #ffb3b3; background: rgba(120, 20, 30, .6); }

/* ---------- night messages ---------- */
.phone { display: flex; flex-direction: column; gap: 8px; }
.msg { display: flex; gap: 8px; align-items: flex-start; animation: popIn .35s cubic-bezier(.2,1.5,.5,1) both; }
.msg .av { width: 40px; height: 40px; border-radius: 50%; flex: none; background-size: 260% auto; background-position: 50% 5%; border: 2px solid var(--gold); background-color: #3a1c40; }
.msg .bubble { background: #fff; color: #3a1530; border-radius: 4px 14px 14px 14px; padding: 7px 11px; font-size: 14px; font-weight: 600; line-height: 1.4; }
.msg .from { font-size: 11px; color: #ffcadb; font-weight: 800; margin-bottom: 2px; }

/* ---------- episode card ---------- */
.epcard { position: absolute; left: 0; right: 0; top: 36%; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.epcard .bar { width: 100%; padding: 14px 10px; background: linear-gradient(90deg, rgba(255,95,149,0), rgba(255,95,149,.85) 20%, rgba(255,140,120,.85) 80%, rgba(255,140,120,0)); animation: sweep .5s cubic-bezier(.2,1.2,.4,1) both; text-align: center; }
.epcard .n { font-size: 18px; font-weight: 900; letter-spacing: 4px; color: #fff4d0; paint-order: stroke fill; -webkit-text-stroke: 3px #6b1234; }
.epcard .t { font-size: 34px; font-weight: 900; paint-order: stroke fill; -webkit-text-stroke: 5px #6b1234; text-shadow: 0 4px 0 rgba(0,0,0,.4); }
@keyframes sweep { from { transform: scaleX(0); opacity: 0; } }
.epcard.out { animation: fadeOut .3s ease-in both; }
@keyframes fadeOut { to { opacity: 0; transform: translateY(-10px); } }

/* ---------- results ---------- */
.grade { font-size: 84px; font-weight: 900; line-height: 1; text-align: center; color: var(--gold); paint-order: stroke fill; -webkit-text-stroke: 7px var(--ink); text-shadow: 0 6px 0 #6b1234; animation: slam .45s cubic-bezier(.2,1.8,.4,1) both; }
@keyframes slam { from { transform: scale(3) rotate(-12deg); opacity: 0; } }
.grade.F { color: #ff6b6b; }
.rows { display: flex; flex-direction: column; gap: 4px; }
.rowx { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 15px; padding: 3px 6px; border-bottom: 1px dashed rgba(255,210,122,.25); }
.rowx b { font-size: 17px; color: #fff4d0; }
.total { font-size: 26px; font-weight: 900; text-align: center; color: #fff; paint-order: stroke fill; -webkit-text-stroke: 4px var(--ink); }
.goldline { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 20px; font-weight: 900; color: var(--gold); paint-order: stroke fill; -webkit-text-stroke: 3px var(--ink); }
.goldline img { width: 30px; height: 30px; }

/* ---------- title ---------- */
.screen { position: absolute; inset: 0; z-index: 10; }
#title { cursor: pointer; }
.title-art { position: absolute; inset: -3%; background: #120a14 url(assets/cover-bg.webp) center / cover no-repeat; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.06) translate(-1%, 1%); } }
#title::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10,4,14,.35), rgba(10,4,14,0) 35%, rgba(10,4,14,0) 70%, rgba(10,4,14,.6)); }
#title-logo { position: absolute; left: 50%; top: 9%; width: 82%; max-height: 30%; object-fit: contain; transform: translateX(-50%); z-index: 1; animation: logoIn .7s cubic-bezier(.2,1.6,.4,1) both, floaty 4s ease-in-out .7s infinite; filter: drop-shadow(0 6px 14px rgba(0,0,0,.5)); }
@keyframes logoIn { from { transform: translateX(-50%) scale(.4); opacity: 0; } }
@keyframes floaty { 50% { transform: translateX(-50%) translateY(-6px); } }
.title-prompt { position: absolute; left: 0; right: 0; bottom: calc(9% + var(--sab)); text-align: center; z-index: 1; font-size: 20px; font-weight: 900; paint-order: stroke fill; -webkit-text-stroke: 4px #6b1234; text-shadow: 0 3px 0 rgba(0,0,0,.5); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; transform: scale(.97); } }
.corner-btn { position: absolute; top: calc(12px + var(--sat)); right: calc(12px + var(--sar)); z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,210,122,.6); background: rgba(42, 21, 48, .6); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: transform .12s; }
.corner-btn:active { transform: scale(.9); }
.corner-btn .key { position: absolute; bottom: -18px; font-size: 11px; color: #ffe; font-weight: 800; }

/* ---------- intro / subtitles ---------- */
#intro { background: #000 url(assets/cover-bg.webp) center / cover no-repeat; }
#intro video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.skip-btn { position: absolute; top: calc(14px + var(--sat)); right: calc(14px + var(--sar)); min-width: 76px; height: 44px; border-radius: 22px; border: 2px solid rgba(255,255,255,.7); background: rgba(0,0,0,.45); color: #fff; font-weight: 900; font-size: 15px; cursor: pointer; font-family: inherit; }
.subtitle { position: absolute; left: 6%; right: 6%; text-align: center; font-size: 17px; font-weight: 800; line-height: 1.4; paint-order: stroke fill; -webkit-text-stroke: 4px rgba(0,0,0,.85); z-index: 12; pointer-events: none; }
#intro-sub { bottom: 10%; }
#subtitle { top: 30%; background: rgba(26, 11, 30, .55); border-radius: 12px; padding: 6px 10px; animation: popIn .25s ease-out both; }
#fade { position: absolute; inset: 0; background: #0d070f; opacity: 0; pointer-events: none; z-index: 20; transition: opacity .35s; }
#fade.on { opacity: 1; }
#hud.casting .meter, #hud.casting #hud-viewers { display: none; }
.help-overlay { position: absolute; inset: 0; z-index: 40; background: rgba(12, 4, 16, 0.62); animation: fadeIn .2s ease both; }
.help-overlay .panel { position: absolute; }
.helpline { font-size: 15px; margin: 2px 0; }
@keyframes fadeIn { from { opacity: 0; } }
