/* wisher.vip — premium theme: midnight glass, gold & rose light */
:root {
  --night: #0b0918;
  --night-2: #151132;
  --text: #f6f1ff;
  --text-2: #b9b0d6;
  --text-3: #8a81ab;
  --gold: #ffd27a;
  --gold-2: #ffb547;
  --rose: #ff5f8f;
  --violet: #8b5cf6;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-2: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.22);
  --field-line: rgba(255, 210, 122, 0.34); /* border of the boxes you type in */
  --grad: linear-gradient(135deg, #ffd27a 0%, #ff8a6b 45%, #ff5f8f 100%);
  --radius: 22px;
  /* Bangla: Noto Sans Bengali · English display words: Source Serif 4 · small tags: IBM Plex Mono */
  --font: 'Noto Sans Bengali', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Source Serif 4', 'Noto Sans Bengali', Georgia, serif;
  --mono: 'IBM Plex Mono', 'Noto Sans Bengali', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--night);
  -webkit-tap-highlight-color: transparent;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.hidden { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2 { line-height: 1.2; margin: 0 0 8px; }
.muted { color: var(--text-2); }
::selection { background: rgba(255, 210, 122, 0.35); }

/* ---------- animated aurora background ---------- */
.aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background:
  radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.7), transparent),
  radial-gradient(1px 1px at 68% 8%, rgba(255,255,255,.6), transparent),
  radial-gradient(1.5px 1.5px at 85% 32%, rgba(255,255,255,.7), transparent),
  radial-gradient(1px 1px at 30% 62%, rgba(255,255,255,.5), transparent),
  radial-gradient(1px 1px at 92% 78%, rgba(255,255,255,.6), transparent),
  radial-gradient(1.5px 1.5px at 6% 88%, rgba(255,255,255,.5), transparent),
  linear-gradient(180deg, #0b0918 0%, #120d2b 55%, #1a0f30 100%);
}
.aurora i { position: absolute; border-radius: 50%; opacity: .55; animation: drift 18s ease-in-out infinite alternate; will-change: transform; }
.aurora i:nth-child(1) { width: 700px; height: 700px; left: -250px; top: -230px; background: radial-gradient(closest-side, #6d3df5 0%, rgba(109,61,245,.55) 45%, rgba(109,61,245,0) 100%); }
.aurora i:nth-child(2) { width: 640px; height: 640px; right: -270px; top: 30px; background: radial-gradient(closest-side, #ff4f8b 0%, rgba(255,79,139,.55) 45%, rgba(255,79,139,0) 100%); opacity: .38; animation-duration: 22s; }
.aurora i:nth-child(3) { width: 600px; height: 600px; left: calc(20% - 90px); bottom: -330px; background: radial-gradient(closest-side, #ffb547 0%, rgba(255,181,71,.55) 45%, rgba(255,181,71,0) 100%); opacity: .25; animation-duration: 26s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.15); } }
.aurora i { animation-delay: var(--aur-t, 0s); } /* same moment of the drift on every page (set by i18n.js) */

/* ---------- create page ---------- */
.page-create { min-height: 100vh; }
.page-create > *:not(.aurora):not(.fx) { position: relative; z-index: 1; }
.top {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 600px; margin: 0 auto; padding: 18px 20px;
}
.logo { font-weight: 700; font-size: 22px; color: var(--text); text-decoration: none; letter-spacing: -0.4px; display: inline-flex; align-items: center; }
.logo span {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pill {
  border: 1px solid var(--line); background: var(--glass); border-radius: 999px;
  padding: 7px 16px; font-size: 14px; color: var(--text); background-color: rgba(18, 12, 38, .6);
  transition: border-color .2s, background .2s;
}
.pill:hover { border-color: var(--line-2); background: var(--glass-2); }
.wrap { max-width: 600px; margin: 0 auto; padding: 0 16px 48px; }

.hero { text-align: center; padding: 4px 6px 26px; }
.hero-art { position: relative; width: 104px; height: 104px; margin: 0 auto 14px; }
.hero-art .ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, #ffd27a, #ff5f8f, #8b5cf6, #ffd27a);
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 61%, #000 64%, transparent 65%);
          mask: radial-gradient(circle, transparent 60%, #000 61%, #000 64%, transparent 65%);
  animation: spin 9s linear infinite; opacity: .9;
}
.hero-art .orb {
  position: absolute; inset: 17px; border-radius: 50%; display: grid; place-items: center; font-size: 40px;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.22), rgba(255,255,255,.04) 60%);
  box-shadow: 0 0 60px rgba(255, 140, 120, .45), inset 0 0 20px rgba(255,255,255,.08);
  animation: float 3.6s ease-in-out infinite;
}
.spark { position: absolute; font-style: normal; color: var(--gold); text-shadow: 0 0 12px rgba(255,210,122,.9); animation: twinkle 2.2s ease-in-out infinite; }
.spark.s1 { left: -6px; top: 18px; font-size: 18px; }
.spark.s2 { right: -10px; top: 4px; font-size: 22px; animation-delay: .6s; }
.spark.s3 { right: -2px; bottom: 10px; font-size: 16px; animation-delay: 1.1s; color: #ffb3cd; }
.spark.s4 { left: 6px; bottom: -4px; font-size: 13px; animation-delay: 1.6s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-7px) rotate(-3deg); } }

.badge {
  display: inline-block; font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .3px; color: var(--gold);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
  background: rgba(255, 210, 122, .08); border: 1px solid rgba(255, 210, 122, .28);
}
.hero h1 { margin: 0 0 14px; }
/* Headline: small kicker -> big statement -> hero word "surprise" */
.headline { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.h-kicker {
  font-family: var(--font); font-weight: 500; font-size: clamp(17px, 4.6vw, 22px);
  color: var(--text-2); letter-spacing: .1px;
}
.h-main {
  font-family: var(--font); font-weight: 800; color: #fff; letter-spacing: -0.5px;
  font-size: clamp(30px, 8.4vw, 46px); line-height: 1.15;
  text-shadow: 0 2px 30px rgba(140, 90, 255, .35);
}
.h-main em {
  position: relative; display: inline-block; margin-left: .08em; padding: 0 .06em .12em;
  font-family: 'Source Serif 4', Georgia, serif; font-style: italic; font-weight: 600;
  font-size: 1.62em; line-height: 1; letter-spacing: -1px; vertical-align: -0.08em;
  background: linear-gradient(100deg, #ffe29a 0%, #ffb15c 30%, #ff6f91 60%, #ffe29a 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 26px rgba(255, 130, 110, .55));
  animation: shimmer 5s ease-in-out 2;
}
/* hand-drawn swash under the word, draws itself in */
.h-main em::after {
  content: ''; position: absolute; left: 4%; right: 0; bottom: -.02em; height: .26em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C 45 4, 110 3, 197 9' fill='none' stroke='%23ffc36b' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  clip-path: inset(0 100% 0 0); animation: draw 1s .5s cubic-bezier(.6, 0, .2, 1) forwards;
}
.h-main em::before {
  content: '✦'; position: absolute; right: -.32em; top: -.12em; font-size: .32em; font-style: normal;
  color: #ffe29a; -webkit-text-fill-color: #ffe29a; text-shadow: 0 0 14px rgba(255, 210, 122, .9);
  animation: twinkle 1.8s ease-in-out infinite;
}
@keyframes shimmer { 50% { background-position: 100% 0; } }
@keyframes draw { to { clip-path: inset(0 0 0 0); } }
.hero p { color: var(--text-2); margin: 0 auto; max-width: 340px; font-size: 15.5px; line-height: 1.6; }

.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.035));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255,255,255,.08);
  background-color: rgba(18, 12, 38, .55); /* solid tint instead of a live blur: same look, far cheaper on phones */
  padding: 22px; display: flex; flex-direction: column; gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.label { font-weight: 600; font-size: 14px; color: var(--text-2); letter-spacing: .2px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .two { grid-template-columns: 1fr; } }
input, textarea {
  font: inherit; font-size: 16px; color: var(--text);
  border: 1px solid var(--field-line); border-radius: 14px; padding: 12px 14px;
  background: rgba(255, 255, 255, .045); outline: none; width: 100%; resize: vertical;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input::placeholder, textarea::placeholder { color: var(--text-3); }
/* make it obvious where to type: a gold-tinted border, and while still empty a slow soft glow on it.
   Only border-color is animated (cheap), and it stops as soon as something is written or the field is focused. */
/* :where() keeps the glow at zero weight; read-only boxes (copy a link) don't glow */
:where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([readonly]), textarea:not([readonly])):placeholder-shown:not(:focus) { animation: fieldGlow 2.6s ease-in-out infinite; }
@keyframes fieldGlow { 0%, 100% { border-color: rgba(255, 210, 122, .28); } 50% { border-color: rgba(255, 210, 122, .7); } }
@media (prefers-reduced-motion: reduce) { input, textarea { animation: none !important; } }
input:focus, textarea:focus {
  border-color: rgba(255, 210, 122, .85); background: rgba(8, 6, 22, .6);
  box-shadow: 0 0 0 4px rgba(255, 210, 122, .16);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: var(--glass); border-radius: 999px;
  padding: 8px 14px; font-size: 15px; color: var(--text); transition: all .2s;
}
.chip:hover { border-color: var(--line-2); }
.chip.on {
  background: var(--grad); color: #2a1020; border-color: transparent; font-weight: 600;
  box-shadow: 0 8px 24px rgba(255, 120, 120, .35);
}

.tpls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tpl {
  position: relative; border: 1px solid var(--line); background: var(--glass); border-radius: 16px;
  padding: 14px 6px 12px; display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 14px; color: var(--text); transition: all .2s;
}
.tpl:hover { border-color: var(--line-2); transform: translateY(-2px); }
.tpl-emoji { font-size: 32px; filter: drop-shadow(0 6px 12px rgba(0,0,0,.35)); transition: transform .25s; }
.tpl.on {
  background: linear-gradient(180deg, rgba(255, 210, 122, .16), rgba(255, 95, 143, .10));
  border-color: rgba(255, 210, 122, .65);
  box-shadow: 0 0 0 1px rgba(255, 210, 122, .35), 0 12px 30px rgba(255, 140, 120, .25);
}
.tpl.on .tpl-emoji { transform: scale(1.15) translateY(-2px); }
.tpl.on::after {
  content: '✓'; position: absolute; top: 7px; right: 9px; font-size: 12px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: #2a1020;
}

/* Message: ready-made messages read as tappable bubbles (light fill, no gold border, round),
   the box you type in keeps the gold border + a pen, and each has its own small heading. */
.suggest { display: flex; flex-direction: column; gap: 7px; margin: 0 0 10px; }
.sugg {
  /* every bubble the same: full width, same height (room for two lines), text centred in it */
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 58px; text-align: left; line-height: 1.4;
  border: 1px solid transparent; background: rgba(255,255,255,.09);
  border-radius: 14px; padding: 8px 14px; font: inherit; font-size: 14px; color: var(--text-2); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s; -webkit-tap-highlight-color: transparent;
}
.sugg::before { content: '💬'; flex: none; }
.sugg:hover { color: var(--text); background: rgba(255,255,255,.14); }
.sugg.on { color: var(--text); background: rgba(255, 210, 122, .16); border-color: rgba(255, 210, 122, .35); }
#msg {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2b456' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px top 13px; background-size: 18px;
}
.hint { color: var(--text-3); font-size: 12.5px; margin-top: -6px; }
.error { color: #ff8fa8; margin: 0; font-weight: 600; }

.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--line); background: var(--glass); border-radius: 16px;
  padding: 13px 16px; font-weight: 600; font-size: 16px; text-decoration: none; color: var(--text);
  transition: transform .12s, box-shadow .2s, background .2s;
}
/* plain buttons only: :where() keeps this weak, so a coloured button (gold, green, red…) keeps its own background on hover */
.btn:where(:hover) { background: var(--glass-2); }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: .7; cursor: progress; }
.btn.primary {
  background: var(--grad); color: #2a1020; border: 0;
  box-shadow: 0 14px 36px rgba(255, 110, 120, .45), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn.primary::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { transform: translateX(0) skewX(-20deg); } 100% { transform: translateX(480%) skewX(-20deg); } }
.btn.big { font-size: 18px; padding: 16px 18px; width: 100%; border-radius: 18px; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--text-2); }
.btn.ghost:hover { color: var(--text); }
.btn.wa { background: #1fbf5b; color: #fff; border: 0; box-shadow: 0 10px 24px rgba(31, 191, 91, .3); }
.btn.ms { background: linear-gradient(135deg, #0a84ff, #a033ff); color: #fff; border: 0; box-shadow: 0 10px 24px rgba(80, 90, 255, .3); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#result { text-align: center; }
#result h2 { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.2px; }
#result p { margin: 0; color: var(--text-2); }
/* ---------- share panel ---------- */
.link-box {
  display: flex; align-items: center; gap: 10px; padding: 4px 6px 4px 14px; border-radius: 16px;
  background: rgba(8, 6, 22, .55); border: 1px dashed rgba(255, 210, 122, .35);
}
.link-ico { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; }
#link {
  font-family: var(--mono); font-size: 13.5px; color: var(--gold); border: 0; background: transparent;
  padding: 10px 4px; text-overflow: ellipsis; box-shadow: none;
}
#link:focus { box-shadow: none; background: transparent; }
.share-label {
  font-size: 13px; font-weight: 500; color: var(--text-3); margin: 4px 0 -4px; display: flex; align-items: center; gap: 10px;
}
.share-label::before, .share-label::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.share-main { display: grid; grid-template-columns: 1fr; gap: 10px; }
.share-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.sbtn {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; gap: 11px; text-align: left;
  min-height: 66px; padding: 10px 16px 10px 11px; border-radius: 18px; border: 0; color: #fff;
  transition: transform .15s ease, box-shadow .25s ease, filter .2s;
}
.sbtn:active { transform: scale(.97); }
.sbtn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.sbtn::before { /* glossy top light */
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 55%);
}
.sbtn::after { /* moving shine */
  content: ''; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite;
}
.sbtn.ms::after { animation-delay: 1.2s; }
.sico {
  flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(255,255,255,.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 4px 12px rgba(0,0,0,.15);
}
.sico svg { width: 24px; height: 24px; }
.sico .fill { fill: #fff; }
.sico .stroke { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stext { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; flex: 1; }
.sbtn .go { flex: none; width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .85; transition: transform .2s; }
.sbtn:hover .go { transform: translateX(3px); }
.stext b { font-weight: 700; font-size: 17px; }
.stext small { font-size: 12.5px; opacity: .88; margin-top: 3px; }

.sbtn.wa {
  background: linear-gradient(140deg, #2be37a 0%, #1fb758 50%, #128c5e 100%);
  box-shadow: 0 14px 30px -8px rgba(31, 190, 95, .6), inset 0 0 0 1px rgba(255,255,255,.15);
}
.sbtn.ms {
  background: linear-gradient(140deg, #19a7ff 0%, #6a5cff 45%, #c03bff 75%, #ff5f8f 100%);
  box-shadow: 0 14px 30px -8px rgba(110, 90, 255, .6), inset 0 0 0 1px rgba(255,255,255,.15);
}
.sbtn.ms .zig { fill: #6a5cff; }

.sbtn.glass {
  min-height: 56px; color: var(--text);
  background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line);
}
.sbtn.glass::after { display: none; }
.sbtn.glass:hover { box-shadow: inset 0 0 0 1px rgba(255, 210, 122, .5); }
.sbtn.glass .sico { width: 36px; height: 36px; border-radius: 11px; background: rgba(255, 210, 122, .14); box-shadow: inset 0 0 0 1px rgba(255, 210, 122, .3); }
.sbtn.glass .sico svg { width: 20px; height: 20px; }
.sbtn.glass .stroke { stroke: var(--gold); }
.sbtn.glass .stext b { font-size: 15px; font-weight: 600; white-space: nowrap; }
.sbtn .i-check { display: none; }
.sbtn.done { box-shadow: inset 0 0 0 1px rgba(43, 227, 122, .6); background: rgba(43, 227, 122, .1); }
.sbtn.done .i-link { display: none; }
.sbtn.done .i-check { display: block; stroke-width: 2.8; animation: pop .35s cubic-bezier(.2,1.6,.4,1); }
.sbtn.done .sico { background: rgba(43, 227, 122, .2); box-shadow: inset 0 0 0 1px rgba(43, 227, 122, .5); }
.sbtn.done .stroke { stroke: #5df59a; }

.share-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 2px; }
.share-foot .btn { font-size: 14.5px; padding: 10px 8px; gap: 7px; white-space: nowrap; }
.mini-ico { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 350px) { .share-alt, .share-foot { grid-template-columns: 1fr; } }

.foot { position: relative; z-index: 1; text-align: center; color: var(--text-3); font-family: var(--mono); font-size: 12px; padding: 10px 16px 32px; }

/* ---------- effects canvas ---------- */
.fx { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 50; }

/* ---------- wish page ---------- */
.page-wish { overflow: hidden; height: 100vh; height: 100dvh; background: var(--night); }
.stage { position: fixed; inset: 0; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.stage.night { background: linear-gradient(180deg, #12062a 0%, #251058 40%, #4c2f9c 74%, #8f74dc 100%); cursor: crosshair; }
/* fireworks scene */
.fw-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fw-horizon {
  position: absolute; left: -10%; right: -10%; bottom: -4vh; height: 26vh; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(235, 220, 255, .65), rgba(190, 160, 255, .2) 45%, transparent 75%);
}
.tw { position: absolute; font-style: normal; color: #fff; pointer-events: none; text-shadow: 0 0 6px rgba(255,255,255,.9), 0 0 12px rgba(200,160,255,.8); animation: twinkle 2.4s ease-in-out infinite; }
.bk { position: absolute; border-radius: 50%; filter: blur(5px); pointer-events: none; animation: bkfloat 8s ease-in-out infinite alternate; }
@keyframes bkfloat { from { transform: translateY(10px); opacity: .35; } to { transform: translateY(-34px); opacity: .8; } }
.stage.warm { background: radial-gradient(circle at 50% 45%, #ffcf8a 0%, #ff7b6b 45%, #8e2a63 85%, #3d1236 100%); }
.stage.party { background: radial-gradient(circle at 50% 35%, #ffe3ef 0%, #ff9cc4 40%, #b0479f 80%, #4a1a5e 100%); }

.screen {
  position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(8, 6, 22, 0.72);
}
.card.center { text-align: center; max-width: 400px; width: 100%; align-items: center; padding: 30px 24px 24px; }
.card.center h1 { font-family: var(--display); font-weight: 700; font-size: 27px; letter-spacing: -0.2px; line-height: 1.35; }
.big-emoji { font-size: 76px; line-height: 1; filter: drop-shadow(0 10px 30px rgba(255, 140, 120, .55)); }
.wobble { animation: wobble 1.6s ease-in-out infinite; }
@keyframes wobble { 0%,100% { transform: rotate(0) } 20% { transform: rotate(-10deg) } 40% { transform: rotate(9deg) } 60% { transform: rotate(-6deg) } 80% { transform: rotate(4deg) } }
.pop { animation: pop .55s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes pop { from { transform: scale(.7) translateY(20px); opacity: 0 } to { transform: none; opacity: 1 } }

.hint-bar {
  position: fixed; left: 50%; bottom: max(28px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  z-index: 30; pointer-events: none; color: #fff; font-weight: 600; font-size: 16px; text-align: center;
  background: rgba(10, 8, 25, 0.78); border: 1px solid rgba(255,255,255,.18);
  padding: 11px 20px; border-radius: 999px; width: max-content; max-width: 92vw;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .72 } }

/* reveal: glowing gold-edged glass card */
.reveal-card {
  max-width: 420px; width: 100%; text-align: center; align-items: center; max-height: 92vh; overflow: auto;
  padding: 30px 22px 22px; gap: 12px;
  background: linear-gradient(180deg, rgba(30, 22, 60, .82), rgba(18, 13, 40, .88));
  border: 1px solid rgba(255, 210, 122, .35);
  box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 30px 90px rgba(0,0,0,.6), 0 0 80px rgba(255, 150, 120, .18);
}
.occ-emoji { font-size: 58px; line-height: 1; filter: drop-shadow(0 8px 24px rgba(255, 180, 100, .55)); }
.rev-title {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.3px;
  font-size: clamp(32px, 9vw, 42px);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dear { font-weight: 600; font-size: 18px; margin: 0; color: var(--gold); }
.msg { font-family: var(--font); font-weight: 500; font-size: 20px; line-height: 1.7; margin: 0; white-space: pre-wrap; color: var(--text); }
.from { font-weight: 600; color: var(--text-2); margin: 0; }
.made {
  font-size: 14px; margin: 4px 0 0; padding: 9px 14px; border-radius: 14px; color: #ffe7c2;
  background: rgba(255, 210, 122, .1); border: 1px solid rgba(255, 210, 122, .25);
}
.react-q { margin: 6px 0 0; color: var(--text-3); font-size: 14px; }
.reacts { display: flex; gap: 10px; justify-content: center; }
.react {
  font-size: 28px; width: 58px; height: 58px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--glass); transition: transform .15s, box-shadow .2s;
}
.react:hover { transform: scale(1.1); }
.react.on { border-color: var(--gold); background: rgba(255, 210, 122, .14); transform: scale(1.15); box-shadow: 0 0 24px rgba(255, 210, 122, .4); }
.brand-tag {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 40;
  color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: -.2px;
  padding: 5px 14px; border-radius: 999px;
  background: rgba(10, 8, 25, .6); border: 1px solid rgba(255,255,255,.14);
}
.brand-tag span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* fireworks scene */
.star { position: absolute; width: 3px; height: 3px; background: #fff; border-radius: 50%; animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .25 } }
.skyline {
  position: absolute; left: 0; right: 0; bottom: 0; height: 18vh;
  background:
    linear-gradient(#0a0618, #0a0618) 5% 100% / 9% 60% no-repeat,
    linear-gradient(#0a0618, #0a0618) 15% 100% / 7% 85% no-repeat,
    linear-gradient(#0a0618, #0a0618) 24% 100% / 10% 45% no-repeat,
    linear-gradient(#0a0618, #0a0618) 36% 100% / 6% 100% no-repeat,
    linear-gradient(#0a0618, #0a0618) 45% 100% / 12% 55% no-repeat,
    linear-gradient(#0a0618, #0a0618) 59% 100% / 8% 80% no-repeat,
    linear-gradient(#0a0618, #0a0618) 69% 100% / 11% 40% no-repeat,
    linear-gradient(#0a0618, #0a0618) 82% 100% / 7% 95% no-repeat,
    linear-gradient(#0a0618, #0a0618) 94% 100% / 10% 60% no-repeat;
}

/* gift scene: glossy red 3D box, gold satin ribbon & bow, light from inside */
.stage.warm { background:
  radial-gradient(ellipse 60% 45% at 50% 0%, rgba(255, 214, 140, .22), transparent 70%),
  radial-gradient(circle at 50% 55%, #5d2a7c 0%, #331560 38%, #150a2c 75%, #0b0616 100%); }
.gift-scene {
  --power: 0;
  --band-v: linear-gradient(90deg, #9b6818 0%, #e7b24c 22%, #fff0bd 46%, #f4c65a 62%, #b47c20 86%, #8a5a12 100%);
  --band-h: linear-gradient(180deg, #9b6818 0%, #e7b24c 22%, #fff0bd 46%, #f4c65a 62%, #b47c20 86%, #8a5a12 100%);
  position: absolute; inset: 0;
}
.g-aura {
  position: absolute; left: 50%; top: 52%; width: 480px; height: 480px; margin: -240px 0 0 -240px; border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 196, 100, .55) 0%, rgba(255, 120, 60, .18) 34%, transparent 66%);
  opacity: calc(.35 + var(--power) * .13); transform: scale(calc(.75 + var(--power) * .09));
  transition: opacity .4s, transform .5s cubic-bezier(.3, 1.6, .5, 1);
  animation: breathe 2.6s ease-in-out infinite;
}
@keyframes breathe { 50% { filter: brightness(1.25); } }
.gift {
  position: absolute; left: 50%; top: 54%; width: 260px; height: 260px; margin: -130px 0 0 -130px;
  border: 0; background: none; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
  animation: gfloat 3.2s ease-in-out infinite;
}
@keyframes gfloat { 50% { transform: translateY(-9px); } }
.g-shadow {
  position: absolute; left: 50%; bottom: 6px; width: 240px; height: 34px; margin-left: -120px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .6), transparent); animation: gshadow 3.2s ease-in-out infinite;
}
@keyframes gshadow { 50% { transform: scale(.88); opacity: .75; } }
.g-inner { position: absolute; inset: 0; transform-origin: 50% 88%; --dir: 1; }
.g-inner.hit { animation: ghit .62s cubic-bezier(.3, .7, .4, 1); }
@keyframes ghit {
  0%   { transform: none; }
  14%  { transform: scale(1.12, .84); }
  34%  { transform: translateY(-22px) scale(.93, 1.1) rotate(calc(var(--dir) * (2deg + var(--power) * 1.4deg))); }
  56%  { transform: translateY(0) scale(1.05, .95) rotate(calc(var(--dir) * (-1.5deg - var(--power) * 1deg))); }
  76%  { transform: scale(.99, 1.01) rotate(calc(var(--dir) * var(--power) * .5deg)); }
  100% { transform: none; }
}

/* ---- the 3D box: W=D=150, H=124; lid 164 x 164 x 36 ---- */
.g3-world { position: absolute; inset: 0; perspective: 900px; perspective-origin: 50% 30%; }
.g3-obj {
  position: absolute; left: 50%; top: 64%; width: 0; height: 0;
  transform-style: preserve-3d; transform: rotateX(-20deg) rotateY(-36deg);
}
.g3-box, .g3-lid { position: absolute; transform-style: preserve-3d; }
.g3-box { width: 150px; height: 124px; left: -75px; top: -62px; }
.g3-lid {
  width: 164px; height: 36px; left: -82px; top: -18px;
  transform: translateY(calc(-74px - var(--power) * 5px)) rotateX(calc(var(--power) * -1.6deg));
  transition: transform .35s cubic-bezier(.3, 1.7, .5, 1);
}
.g3-box .f, .g3-lid .f { position: absolute; display: block; backface-visibility: hidden; }
/* box faces (light comes from the upper left) */
.g3-box .front, .g3-box .back, .g3-box .left, .g3-box .right { width: 150px; height: 124px; left: 0; top: 0; }
.g3-box .front { transform: translateZ(75px);
  background: linear-gradient(115deg, rgba(255,255,255,.22) 0%, transparent 34%) , var(--band-v) center / 28px 100% no-repeat,
              linear-gradient(180deg, #e8343c 0%, #c4161f 55%, #9e0e16 100%); }
.g3-box .right { transform: rotateY(90deg) translateZ(75px);
  background: var(--band-v) center / 28px 100% no-repeat, linear-gradient(180deg, #b0121b 0%, #7c080e 100%);
  box-shadow: inset 0 0 40px rgba(0,0,0,.25); }
.g3-box .back { transform: rotateY(180deg) translateZ(75px); background: #8e0b12; }
.g3-box .left { transform: rotateY(-90deg) translateZ(75px); background: #a10f17; }
.g3-box .bottom { width: 150px; height: 150px; left: 0; top: -13px; transform: rotateX(-90deg) translateZ(62px); background: #5e050a; }
/* the lit inside, seen through the gap when the lid lifts */
.g3-box .glow {
  width: 150px; height: 150px; left: 0; top: -13px; transform: rotateX(90deg) translateZ(56px); backface-visibility: visible;
  background: radial-gradient(circle, #fffbe6 0%, #ffe08a 28%, #ff9a3a 58%, #a3121a 100%);
  opacity: calc(.15 + var(--power) * .17); transition: opacity .35s;
}
/* lid faces */
.g3-lid .front, .g3-lid .back, .g3-lid .left, .g3-lid .right { width: 164px; height: 36px; left: 0; top: 0; }
.g3-lid .front { transform: translateZ(82px);
  background: linear-gradient(115deg, rgba(255,255,255,.25) 0%, transparent 40%), var(--band-v) center / 30px 100% no-repeat,
              linear-gradient(180deg, #f2484f 0%, #cf1d26 100%);
  box-shadow: 0 10px 14px -6px rgba(0,0,0,.45); }
.g3-lid .right { transform: rotateY(90deg) translateZ(82px);
  background: var(--band-v) center / 30px 100% no-repeat, linear-gradient(180deg, #c3161f 0%, #900a11 100%); }
.g3-lid .back { transform: rotateY(180deg) translateZ(82px); background: #a10f17; }
.g3-lid .left { transform: rotateY(-90deg) translateZ(82px); background: #b5121b; }
.g3-lid .top {
  width: 164px; height: 164px; left: 0; top: -64px; transform: rotateX(90deg) translateZ(18px);
  background:
    linear-gradient(135deg, rgba(255,255,255,.28) 0%, transparent 45%),
    var(--band-v) center / 30px 100% no-repeat, var(--band-h) center / 100% 30px no-repeat,
    linear-gradient(135deg, #ff5d63 0%, #e2262f 50%, #c21820 100%);
}
/* the bow always faces the viewer (cancels the box rotation) */
.g3-bow {
  position: absolute; left: 82px; top: 0; width: 190px; height: 124px; margin: -112px 0 0 -95px;
  transform-origin: 50% 90%; transform: rotateY(36deg) rotateX(20deg) translateZ(1px);
  filter: drop-shadow(0 6px 6px rgba(80, 0, 0, .35)); overflow: visible;
}

/* ---- light, rings, flash ---- */
.g-beam, .g-rays { position: absolute; left: 50%; pointer-events: none; opacity: 0; }
.g-beam {
  bottom: 150px; width: 200px; height: 75vh; margin-left: -100px; transform-origin: 50% 100%; transform: scaleY(0);
  background: linear-gradient(to top, rgba(255, 248, 215, .95) 0%, rgba(255, 215, 120, .45) 45%, transparent 100%);
  -webkit-mask: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
          mask: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  filter: blur(4px);
}
.g-rays {
  top: 112px; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; transform: scale(0);
  background: repeating-conic-gradient(from 0deg, rgba(255, 226, 150, .4) 0deg 6deg, transparent 6deg 15deg);
  -webkit-mask: radial-gradient(circle, #000 0%, transparent 62%);
          mask: radial-gradient(circle, #000 0%, transparent 62%);
}
.g-ring {
  position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; pointer-events: none;
  border: 2px solid rgba(255, 222, 150, .9); box-shadow: 0 0 14px rgba(255, 210, 110, .8);
  animation: gring .6s ease-out forwards;
}
@keyframes gring { to { transform: scale(6); opacity: 0; } }
.g-flash {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 48%, #fffdf2 0%, rgba(255, 236, 180, .85) 30%, rgba(255, 200, 100, 0) 75%);
}

/* final tap: tremble, inside glows hot, lid pushed up */
.gift-scene.charge .gift { animation: none; }
.gift-scene.charge .g-inner { animation: gcharge .07s linear infinite; }
.gift-scene.charge .g3-lid { transform: translateY(-104px) rotateX(-6deg); }
.gift-scene.charge .g3-box .glow { opacity: 1; }
.gift-scene.charge .g-aura { opacity: 1; transform: scale(1.35); }
@keyframes gcharge { 0% { transform: translate(-2px, 1px) rotate(-1deg); } 50% { transform: translate(2px, -1px) rotate(1deg); } 100% { transform: translate(-1px, 0) rotate(0); } }
/* burst open: the lid pops up, spins and leans against the left side */
.gift-scene.open .gift { animation: none; }
.gift-scene.open .g3-lid { transition: none; animation: lidopen .8s cubic-bezier(.25, .8, .3, 1) forwards; }
.gift-scene.open .g3-box .glow { opacity: 1; filter: brightness(1.2); }
.gift-scene.open .g-inner { animation: gland .6s cubic-bezier(.3, 1.6, .5, 1); }
.gift-scene.open .g-beam { animation: beam 1.8s ease-out forwards; }
.gift-scene.open .g-rays { animation: rays 1.8s ease-out forwards; }
.gift-scene.open .g-flash { animation: gflash .9s ease-out forwards; }
.gift-scene.open .g-aura { opacity: 1; transform: scale(1.4); }
@keyframes lidopen {
  0%   { transform: translateY(-104px) rotateX(-6deg); }
  35%  { transform: translateY(-240px) rotateX(-30deg) rotateZ(-40deg); }
  100% { transform: translate3d(-96px, -22px, 70px) rotateZ(-52deg) rotateX(-8deg); }
}
@keyframes gland { 0% { transform: scale(1.1, .85); } 100% { transform: none; } }
@keyframes beam { 0% { opacity: 0; transform: scaleY(0); } 20% { opacity: 1; transform: scaleY(1); } 100% { opacity: .6; transform: scaleY(1.05); } }
@keyframes rays { 0% { opacity: 0; transform: scale(0) rotate(0); } 25% { opacity: 1; } 100% { opacity: .75; transform: scale(1) rotate(25deg); } }
@keyframes gflash { 0% { opacity: 0; } 18% { opacity: .95; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .gift, .g-shadow, .g-aura { animation: none; } }

/* cake scene: 3D strawberry cake (SVG from cake3d.js) */
.stage.party { background:
  radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255, 230, 240, .35), transparent 70%),
  radial-gradient(circle at 50% 50%, #ff9cc4 0%, #d9609f 38%, #7a2a78 75%, #3a1240 100%); }
.cake-scene { --lit: 5; position: absolute; inset: 0; }
.c-aura {
  position: absolute; left: 50%; top: 46%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 214, 140, .55) 0%, rgba(255, 170, 120, .2) 35%, transparent 66%);
  opacity: calc(.25 + var(--lit) * .15); transition: opacity .5s;
  animation: breathe 2.4s ease-in-out infinite;
}
.cake3d { position: absolute; left: 50%; top: 56%; width: min(370px, 94vw); transform: translate(-50%, -50%); }
.cake3d .c3-svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 26px 30px rgba(70, 0, 50, .4)); }
.c3-candle { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.c3-flame { transform-box: view-box; animation: c3flicker .16s ease-in-out infinite alternate; }
@keyframes c3flicker { from { transform: scale(1, 1) rotate(-3deg); } to { transform: scale(1.07, .93) rotate(3deg); } }
.c3-candle.out .c3-flame { animation: c3out .32s ease-in forwards; }
@keyframes c3out { 40% { transform: scale(1.25, .6) rotate(8deg); opacity: .8; } 100% { transform: scale(0, .2); opacity: 0; } }
.cake-scene.done .cake3d { animation: cakejoy .8s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes cakejoy {
  0% { transform: translate(-50%, -50%); }
  25% { transform: translate(-50%, -50%) scale(1.06, .92); }
  50% { transform: translate(-50%, -56%) scale(.96, 1.06); }
  100% { transform: translate(-50%, -50%); }
}
.cake-scene.done .c-aura { opacity: 1; transform: scale(1.3); transition: opacity .3s, transform .6s; }
@media (prefers-reduced-motion: reduce) { .c3-flame, .c-aura { animation: none; } }

@media (prefers-reduced-motion: reduce) {
  .h-main em::after { animation: none; clip-path: none; }
  .btn.gold::after, .sbtn::after, .wobble, .hint-bar, .star, .flame, .aurora i, .h-main em, .h-main em::before, .hero-art .ring, .hero-art .orb, .spark, .btn.primary::after { animation: none; }
}

/* ---------- VIP Pass (wish intro) ---------- */
.vip-screen {
  overflow: hidden; backdrop-filter: none; -webkit-backdrop-filter: none;
  background: radial-gradient(110% 80% at 50% 45%, #1d1710 0%, #0b0907 55%, #030201 100%);
}
.vip-screen .rays { display: none; }
/* floating golden bokeh behind the VIP Pass */
.vbk {
  position: absolute; border-radius: 50%; pointer-events: none; will-change: transform, opacity;
  background: radial-gradient(circle, rgba(255, 214, 130, var(--a, .5)) 0%, rgba(255, 190, 90, 0) 70%);
  animation: vbk var(--d, 9s) ease-in-out var(--dl, 0s) infinite alternate;
}
@keyframes vbk {
  0% { transform: translate3d(0, 12px, 0) scale(.9); opacity: .55; }
  50% { opacity: 1; }
  100% { transform: translate3d(var(--dx, 10px), -40px, 0) scale(1.08); opacity: .7; }
}
.rays {
  position: absolute; left: 50%; top: 50%; width: 170vmax; height: 170vmax; margin: -85vmax 0 0 -85vmax;
  background: repeating-conic-gradient(from 0deg, rgba(255, 214, 140, .08) 0deg 7deg, transparent 7deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 0%, transparent 60%); mask: radial-gradient(circle, #000 0%, transparent 60%);
  animation: spin 60s linear infinite; pointer-events: none;
}
/* black & gold VIP pass: black leather, gold double border, engraved gold type, gold stub */
.vip-screen::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 620px; height: 620px; margin: -310px 0 0 -310px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(226, 170, 70, .22) 0%, transparent 60%);
}
.ticket {
  --stub: 128px;
  --ink: #f3d48a;
  --ink-2: rgba(243, 212, 138, .78);
  --ink-3: rgba(243, 212, 138, .52);
  --rule: rgba(243, 212, 138, .28);
  position: relative; width: min(330px, 88vw); border-radius: 20px; color: var(--ink); text-align: center;
  background:
    linear-gradient(115deg, transparent 38%, rgba(255, 230, 170, .1) 48%, transparent 58%) 0 0 / 250% 100% no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .75 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(120% 70% at 50% 30%, #231c14 0%, #100c08 60%, #0a0806 100%);
  box-shadow:
    inset 0 0 0 1.5px #e2b456,
    inset 0 0 0 7px #0d0a07,
    inset 0 0 0 8px rgba(226, 180, 86, .5),
    0 30px 80px rgba(0, 0, 0, .65),
    0 0 70px rgba(226, 170, 70, .3);
  -webkit-mask:
    radial-gradient(circle 14px at 0 calc(100% - var(--stub)), transparent 97%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 14px at 100% calc(100% - var(--stub)), transparent 97%, #000) right / 51% 100% no-repeat;
          mask:
    radial-gradient(circle 14px at 0 calc(100% - var(--stub)), transparent 97%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 14px at 100% calc(100% - var(--stub)), transparent 97%, #000) right / 51% 100% no-repeat;
  animation: pop .6s cubic-bezier(.2, 1.4, .4, 1) both, foil 6s ease-in-out 1s 3; /* foil repaints the masked pass: a few sweeps, then rest */
}
@keyframes foil { 0% { background-position: 120% 0, 0 0, 0 0; } 55%, 100% { background-position: -120% 0, 0 0, 0 0; } }
.t-main { position: relative; }
.t-main { padding: 26px 26px 24px; display: flex; flex-direction: column; align-items: center; }
.t-top {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--ink-3);
}
.t-label { font-weight: 600; letter-spacing: 3px; color: var(--ink); }
.t-top { color: var(--ink-3); }
.t-sep { opacity: .6; }
.t-no { letter-spacing: .5px; }
.t-crown { width: 64px; height: auto; margin: 18px 0 12px; filter: drop-shadow(0 0 12px rgba(255, 200, 90, .45)); animation: float 3s ease-in-out infinite; }
.t-for { margin: 0; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.t-name {
  margin: 6px 0 0; font-family: var(--font); font-weight: 800;
  font-size: clamp(34px, 10.5vw, 44px); line-height: 1.25; letter-spacing: -.3px; word-break: break-word;
  background: linear-gradient(180deg, #fff3c4 0%, #f0c35a 40%, #b07a22 66%, #f7d78a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .7)) drop-shadow(0 0 14px rgba(255, 200, 90, .3));
}
.t-orn { display: flex; align-items: center; gap: 10px; width: 64%; margin: 18px 0 16px; color: var(--ink-3); font-size: 9px; }
.t-orn i { flex: 1; height: 1px; background: var(--rule); }
.t-meta { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin: 0; }
.t-meta > div { min-width: 0; padding: 0 8px; }
.t-meta > div + div { border-left: 1px solid var(--rule); }
.t-meta dt { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
html[lang="bn"] .t-meta dt { font-family: var(--font); font-size: 12px; letter-spacing: 0; text-transform: none; }
.t-meta dd { margin: 0; font-size: 15.5px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-stub {
  height: var(--stub); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
  border-top: 1.5px dashed rgba(70, 40, 5, .45); padding: 0 22px; color: #2a1704;
  background: linear-gradient(180deg, #f7dc94 0%, #e2b456 40%, #c08a2c 75%, #f0cf7c 100%);
  border-radius: 0 0 20px 20px; box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.t-btn {
  position: relative; overflow: hidden; width: 100%; border: 0; border-radius: 14px; padding: 13px 16px;
  color: #ffdc8f; font-weight: 700; font-size: 16px;
  background: linear-gradient(180deg, #221a12 0%, #0b0907 100%);
  box-shadow: 0 8px 18px rgba(60, 30, 0, .4), inset 0 0 0 1px rgba(255, 220, 143, .45), inset 0 1px 0 rgba(255, 255, 255, .1);
  transition: transform .12s;
}
.t-btn:active { transform: scale(.97); }
.t-btn::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 220, 143, .35), transparent);
  transform: skewX(-20deg); animation: shine 3.4s ease-in-out infinite;
}
.t-foot { display: flex; align-items: center; gap: 10px; }
.t-barcode { width: 64px; height: 16px; opacity: .75;
  background: repeating-linear-gradient(90deg, #2a1704 0 2px, transparent 2px 3px, #2a1704 3px 4px, transparent 4px 7px, #2a1704 7px 10px, transparent 10px 12px); }
.t-site { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 2px; color: rgba(42, 23, 4, .75); }
/* "Tap to enter": the whole pass (with its gold edge and shadows) moves as ONE composited layer,
   so the heavy drop-shadow filters are painted once instead of every frame. Press -> lift -> glide
   towards you and dissolve, while the dark screen fades into the surprise behind it. */
.tk-fly { display: inline-block; transform-origin: 50% 45%; will-change: transform, opacity; } /* its own layer from the start: no hitch on tap */
.tk-fly.enter { animation: passEnter .62s cubic-bezier(.33, 0, .2, 1) forwards; pointer-events: none; }
/* one gentle press, then a single glide up-and-forward while it fades (no bounce, small scale = no blur) */
@keyframes passEnter {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
  16%  { transform: translate3d(0, 1px, 0) scale(.985); opacity: 1; }
  100% { transform: translate3d(0, -26px, 0) scale(1.1); opacity: 0; }
}
.vip-screen { will-change: opacity; }
/* the surprise, built early behind the Pass: everything waits at its first frame until the Pass opens */
.stage.pre *, .stage.pre *::before, .stage.pre *::after { animation-play-state: paused !important; }
.vip-screen.leaving { animation: screenOut .62s cubic-bezier(.4, 0, .2, 1) forwards; pointer-events: none; }
@keyframes screenOut { 0%, 30% { opacity: 1; } 100% { opacity: 0; } }
/* while it leaves, everything inside stands still: the foil sweep, the floating crown and the button shine
   would otherwise repaint the whole pass (mask + big shadows) on every frame of the flight */
.vip-screen.leaving .vbk, .tk-fly.enter .ticket, .tk-fly.enter .t-crown, .tk-fly.enter .t-btn::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .rays, .ticket, .t-crown, .t-btn::after, .vbk { animation: none; } .tk-fly.enter { animation-duration: .01s; } }

/* ---------- VIP Card ---------- */
.btn.gold {
  color: #2b1a06; border: 0;
  background: linear-gradient(145deg, #fff0bf 0%, #f3cf78 25%, #d9a441 55%, #f7dc8e 80%, #c98d2c 100%);
  box-shadow: 0 12px 30px rgba(255, 190, 90, .35), inset 0 1px 0 rgba(255,255,255,.7);
}
.btn.gold::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.6), transparent);
  transform: skewX(-20deg); animation: shine 3.6s ease-in-out infinite;
}
.card-screen { z-index: 25; background: rgba(8, 6, 22, .7); }
.card-modal { max-width: 380px; padding: 22px 18px 14px; gap: 10px; }
.card-modal h2 { font-weight: 800; font-size: 22px; margin: 0; }
.card-modal p { margin: 0; font-size: 14px; }
.cm-frame {
  position: relative; width: 100%; max-width: 210px; aspect-ratio: 1080 / 1920; margin: 6px auto 4px;
  border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.05);
  box-shadow: 0 18px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(255, 210, 122, .35);
}
.cm-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-frame .cm-canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-actions .is-busy { opacity: .55; pointer-events: none; position: relative; }
.cm-actions .is-busy::after { content: ''; position: absolute; right: 10px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.cm-frame img:not([src]) { visibility: hidden; }
.cm-loading { position: absolute; inset: 0; display: grid; place-items: center; font-size: 44px; animation: float 1.2s ease-in-out infinite; }
.cm-actions { width: 100%; }
.cm-actions .hidden + .btn, .cm-actions .btn:only-child { grid-column: 1 / -1; }

/* ---------- personal VIP link field ---------- */
.tag-vip {
  font-style: normal; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 1px;
  padding: 1px 7px; border-radius: 6px; margin-left: 4px; vertical-align: 1px;
  background: linear-gradient(145deg, #fff0bf, #d9a441); color: #2b1a06;
}
.slug-box {
  display: flex; align-items: center; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(8, 6, 22, .45); transition: border-color .2s, box-shadow .2s; cursor: text;
}
.slug-box:focus-within { border-color: rgba(255, 210, 122, .6); box-shadow: 0 0 0 4px rgba(255, 210, 122, .12); }
.slug-pre { padding-left: 14px; font-family: var(--mono); font-size: 15px; color: var(--gold); white-space: nowrap; }
.slug-box input {
  border: 0; background: transparent; box-shadow: none; padding: 12px 14px 12px 1px;
  font-family: var(--mono); font-size: 15px;
}
.slug-box input:focus { box-shadow: none; background: transparent; }
.slug-status { font-size: 13px; min-height: 0; color: var(--text-3); }
.slug-status:empty { display: none; }
.slug-status.ok { color: #5df59a; }
.slug-status.bad { color: #ff9db3; }
.slug-sugg { display: flex; flex-wrap: wrap; gap: 6px; }
.slug-sugg:empty { display: none; }
.chip.mini { font-family: var(--mono); font-size: 12.5px; padding: 5px 11px; color: var(--gold); }

/* ---------- VIP Pass: Gold Slab 3D ---------- */
.ticket {
  border: 6px solid transparent;
  background:
    linear-gradient(115deg, transparent 38%, rgba(255, 230, 170, .10) 48%, transparent 58%) padding-box,
    radial-gradient(120% 70% at 50% 30%, #231c14 0%, #100c08 60%, #0a0806 100%) padding-box,
    linear-gradient(135deg, #fff3c4 0%, #e2b456 18%, #8a5a12 42%, #f7dc94 58%, #b8862e 78%, #fff0bd 100%) border-box;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .7), inset 0 0 0 6px #0d0a07, inset 0 0 0 7px rgba(226, 180, 86, .5);
}
.ticket::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12) 0%, transparent 22%);
}
.t-stub { border-radius: 0 0 14px 14px; }
.tk3 {
  position: relative; display: inline-block;
  filter: drop-shadow(0 1px 0 #e2b456) drop-shadow(0 1px 0 #c8922e) drop-shadow(0 1px 0 #b07a22)
    drop-shadow(0 1px 0 #9c6a1c) drop-shadow(0 1px 0 #8a5a12) drop-shadow(0 1px 0 #774d0f) drop-shadow(0 1px 0 #5a390a)
    drop-shadow(0 28px 26px rgba(0, 0, 0, .8)) drop-shadow(0 0 50px rgba(226, 170, 70, .28));
}
.tk3::after {
  content: ''; display: block; margin: 6px auto 0; width: 78%; height: 20px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 200, 100, .25), transparent);
}

/* ---------- VIP Pass header: Gold Plate, Cinzel Decorative, "|" separator ---------- */
.t-top {
  width: 100%; justify-content: center; gap: 12px; padding: 8px 0 7px; border-radius: 8px;
  background: linear-gradient(180deg, #fff0bd 0%, #e9b54d 45%, #b07a22 75%, #f2cf7a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 3px 8px rgba(0, 0, 0, .5);
}
.t-top .t-label {
  font-family: 'Cinzel Decorative', 'Source Serif 4', serif; font-size: 15px; font-weight: 700; letter-spacing: 4px;
  color: #2a1704; text-shadow: 0 1px 0 rgba(255, 245, 210, .6);
}
.t-top .t-sep { font-size: 0; width: 1.5px; height: 16px; background: rgba(42, 23, 4, .55); opacity: 1; }
.t-top .t-no { font-family: var(--font); font-size: 13px; font-weight: 700; letter-spacing: 0; color: rgba(42, 23, 4, .8); }

/* ---------- brand logo (image) ---------- */
.logo img { display: block; height: 30px; width: auto; }
.brand-tag { display: flex; align-items: center; padding: 7px 14px; }
.brand-tag img { display: block; height: 21px; width: auto; }

/* VIP card popup: editable name */
.cm-name { display: flex; flex-direction: column; gap: 4px; width: 100%; text-align: left; font-size: 13px; color: var(--text-2); }
.cm-name input { text-align: center; font-weight: 700; font-size: 17px; }
.cm-frame { max-width: 200px; }

.cm-actions .btn { white-space: nowrap; font-size: 15px; }

/* couples: first + second name side by side, sender full width */
.two.couple > label:last-child { grid-column: 1 / -1; }

/* hero perks: three gold pills */
.perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 2px 0 16px; }
.perk {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 6px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 220, 140, .14), rgba(255, 200, 100, .05));
  border: 1px solid rgba(255, 210, 122, .38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 6px 16px rgba(0, 0, 0, .25);
  background-color: rgba(18, 12, 38, .5);
}
.perk svg {
  width: 20px; height: 20px; padding: 3px; border-radius: 50%; fill: #2a1704;
  background: linear-gradient(180deg, #fff0bd, #e9b54d 55%, #b07a22);
}
.perk b { font-weight: 600; font-size: 13px; color: #f6e3b4; white-space: nowrap; }
.foot { font-family: var(--font); font-size: 12.5px; letter-spacing: .2px; }

/* primary button: polished gold bar with dark engraved text (matches the VIP Pass) */
.btn.primary {
  color: #2a1704; font-weight: 700; letter-spacing: .2px;
  background: linear-gradient(180deg, #fff1c4 0%, #f2cc6c 38%, #d69d35 72%, #f0c463 100%);
  border: 1px solid rgba(255, 236, 180, .8);
  text-shadow: 0 1px 0 rgba(255, 246, 215, .65);
  box-shadow: 0 12px 30px rgba(214, 157, 53, .38), inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 -2px 0 rgba(140, 85, 10, .35);
}
.btn.primary:hover { filter: brightness(1.05); }

/* main call-to-action: gold bar with crown and a dark arrow circle */
.btn.primary.pbar {
  justify-content: space-between; gap: 10px; border-radius: 999px; padding: 8px 8px 8px 24px; border: 0;
  background: linear-gradient(180deg, #fff4cf 0%, #f5d27a 30%, #d9a03a 62%, #b9802a 78%, #f2c867 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .8), inset 0 -3px 0 rgba(120, 70, 5, .45), 0 16px 36px rgba(214, 157, 53, .45);
}
.pbar .pb-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pbar .pb-ico { width: 26px; height: 18px; flex: none; }
.pbar .pb-t { white-space: normal; line-height: 1.25; text-align: left; }
.btn.primary.pbar { flex-shrink: 0; min-height: 62px; }
.pbar .go {
  flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: #1a120a; color: #f3d48a; box-shadow: inset 0 0 0 1.5px #e2b456; text-shadow: none;
  transition: transform .2s;
}
.pbar .go svg { width: 20px; height: 20px; }
.pbar:hover .go { transform: translateX(3px); }

/* centre crown + label; arrow stays pinned right */
.btn.primary.pbar { justify-content: center; padding: 8px 62px; }
.pbar .go { position: absolute; right: 8px; top: 50%; margin-top: -23px; }
.pbar:hover .go { transform: translateX(3px); }

/* softer, muted gold so the button does not overpower the content */
.btn.primary.pbar {
  background: linear-gradient(180deg, #e7cf93 0%, #cfa75a 40%, #b08540 72%, #c9a258 100%);
  box-shadow: inset 0 1px 0 rgba(255, 245, 215, .55), inset 0 -2px 0 rgba(90, 55, 10, .35), 0 8px 20px rgba(0, 0, 0, .28);
  text-shadow: 0 1px 0 rgba(255, 240, 205, .35);
}
.btn.primary.pbar::after { opacity: .45; }

/* Turnstile: invisible normally; if Cloudflare asks for a click it appears here */
.ts-box { display: flex; justify-content: center; }
.ts-box:empty { display: none; }

/* PWA: "new version" bar (shown only if the person is busy when an update arrives) */
.upd-bar {
  position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 100;
  display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 999px; white-space: nowrap;
  background: rgba(16, 12, 8, .92); border: 1px solid rgba(226, 180, 86, .6); color: #f3d48a; font-size: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}
.upd-bar button {
  border: 0; border-radius: 999px; padding: 7px 14px; font-weight: 700; color: #2a1704;
  background: linear-gradient(180deg, #fff0bd, #e9b54d 55%, #b07a22);
}

/* header actions + install button */
.top-actions { display: flex; align-items: center; gap: 8px; }
.pill.install {
  display: inline-flex; align-items: center; gap: 6px; color: #2a1704; font-weight: 700; border: 0;
  background: linear-gradient(180deg, #fff0bd, #e9b54d 55%, #b07a22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 4px 12px rgba(0,0,0,.3);
}
.pill.install svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pill.install.hidden { display: none; }
/* iPhone "Add to Home Screen" guide */
.ios-guide { position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-end; justify-content: center; padding: 16px; background: rgba(8,6,22,.6); }
.ios-card {
  width: 100%; max-width: 420px; padding: 20px 20px 16px; border-radius: 20px; color: var(--text);
  background: linear-gradient(180deg, #1d1710, #0b0907); border: 1px solid rgba(226,180,86,.5); box-shadow: 0 -10px 40px rgba(0,0,0,.5);
}
.ios-card b { display: block; font-size: 17px; color: #f3d48a; margin-bottom: 8px; }
.ios-card ol { margin: 0 0 14px; padding-left: 20px; line-height: 1.9; }
.ios-card button { width: 100%; border: 0; border-radius: 14px; padding: 12px; font-weight: 700; color: #2a1704; background: linear-gradient(180deg, #fff0bd, #e9b54d 55%, #b07a22); }
.pill.install { white-space: nowrap; padding: 6px 12px 6px 10px; font-size: 13px; }
@media (max-width: 400px) { .top { padding: 14px 14px; } .logo img { height: 26px; } }

/* ---------- আমার VIP-রা ---------- */
.vips { gap: 14px; margin-top: 28px; padding: 16px 18px; }
.vips.open { padding: 18px 18px 20px; }
.vip-head {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 0; border: 0;
  background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.vip-crown {
  flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px;
  background: rgba(255,210,122,.1); border: 1px solid rgba(255,210,122,.28);
}
.vip-ht { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vip-ht b { font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--gold); }
.vip-ht small { font-size: 13px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vip-ht small.hot { color: var(--text); }
.vip-chev { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--text-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.vips.open .vip-chev { transform: rotate(180deg); }
.vip-sub { margin: -4px 0 0; font-size: 13.5px; color: var(--text-2); }
.vip-soon {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border-radius: 16px; font-size: 14.5px; font-weight: 600;
  background: linear-gradient(135deg, rgba(255,210,122,.16), rgba(255,181,71,.06));
  border: 1px solid rgba(255,210,122,.38);
}
.vip-go {
  flex: none; text-decoration: none; font-size: 13px; font-weight: 700; color: #2a1a05;
  padding: 8px 12px; border-radius: 999px; background: linear-gradient(180deg, #ffe3a3, #e9b04f);
  box-shadow: 0 6px 16px rgba(233,176,79,.3);
}
.vip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.vip-list li {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px;
  background: rgba(8,6,22,.35); border: 1px solid var(--line);
}
.vip-list li.vip-empty { justify-content: center; color: var(--text-3); font-size: 14px; padding: 16px; border-style: dashed; }
.vip-av {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; color: #2a1a05; background: linear-gradient(160deg, #fff0c4, #e2a845);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
}
.vip-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vip-info b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vip-info small { font-size: 12.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vip-left { flex: none; font-size: 12.5px; color: var(--text-2); }
.vip-left.hot { color: var(--gold); font-weight: 700; }
.vip-del { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 0; background: transparent; color: var(--text-3); font-size: 20px; line-height: 1; cursor: pointer; }
.vip-del:hover { color: var(--text); background: var(--glass); }
.vip-form { display: flex; flex-direction: column; gap: 12px; }
.vip-date { grid-template-columns: 1fr 1.4fr !important; }
.vips select {
  font: inherit; font-size: 16px; color: var(--text); width: 100%;
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
  background: rgba(8,6,22,.45); outline: none; appearance: none; -webkit-appearance: none;
}
.vips select option { background: #1a1230; }
.vip-add { border-style: dashed; color: var(--gold); }
.vip-save { background: linear-gradient(180deg, #ffe3a3, #e9b04f); color: #2a1a05; border: 0; font-weight: 700; }
/* keep the gold on hover (the generic .btn:hover would swap it for dark glass and hide the dark text) */
.btn.vip-save:hover { background: linear-gradient(180deg, #fff0c4, #f0bd5e); color: #2a1a05; box-shadow: 0 8px 22px rgba(233,176,79,.3); }
.btn.pf-del:hover { background: #c43f5a; color: #fff; }
.vip-notify { border-color: rgba(255,210,122,.4); color: var(--gold); font-weight: 600; }
.vip-on, .vip-note { margin: 0; text-align: center; font-size: 13px; color: var(--text-2); }
.vip-on { color: #8fe3a8; }

/* ---------- navbar bell ---------- */
.page-create > .top:not(.aurora):not(.fx) { z-index: 30; }
.pill.bell { position: relative; width: 38px; height: 38px; padding: 0; display: grid; place-items: center; flex: none; }
.pill.bell svg { width: 19px; height: 19px; fill: none; stroke: var(--gold); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pill.bell.dot::after {
  content: ''; position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border-radius: 50%;
  background: #ff5f6d; box-shadow: 0 0 0 2px #1d1236, 0 0 10px rgba(255,95,109,.8);
}
.bell-layer { position: fixed; inset: 0; z-index: 60; overflow: hidden; }
/* desktop: the drawer lives inside the centred app column, like on a phone */
@media (min-width: 640px) { .bell-layer { left: calc(50% - 300px); right: auto; width: 600px; } }
.bell-shade {
  position: absolute; inset: 0; background: rgba(6,4,16,.62);
  animation: shadeIn .3s ease-out; will-change: opacity; /* no live blur: it was redone on every frame of the slide */
}
@keyframes shadeIn { from { opacity: 0; } }
.bell-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 86%;
  padding: calc(18px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 14px;
  background: linear-gradient(180deg, rgba(44,27,76,.98), rgba(20,12,38,.98));
  border-left: 1px solid rgba(255,210,122,.25); border-radius: 22px 0 0 22px;
  box-shadow: -30px 0 80px rgba(0,0,0,.55);
  animation: drawerIn .34s cubic-bezier(.22,1,.36,1);
  contain: layout paint style; backface-visibility: hidden;
}
@keyframes drawerIn { from { transform: translate3d(100%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
.bell-panel.closing { animation: drawerOut .28s cubic-bezier(.55,0,.75,.3) forwards; }
.bell-shade.closing { animation: shadeOut .3s ease forwards; }
@keyframes drawerOut { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(100%, 0, 0); } }
@keyframes shadeOut { to { opacity: 0; } }
body.drawer-open { overflow: hidden; }
/* keep the scrollbar's space reserved so locking the page never shifts the layout sideways */
html { scrollbar-gutter: stable; }
.bell-panel { will-change: transform; }
.bell-head { display: flex; align-items: center; justify-content: space-between; padding: 0 2px; }
.bell-head b { font-family: var(--display); font-size: 21px; color: var(--gold); }
.bell-head { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.bell-x { border: 1px solid var(--line); background: var(--glass); color: var(--text); font-size: 22px; line-height: 1; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.bell-x:hover { background: var(--glass); color: var(--text); }
.bell-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.bell-list a {
  display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; text-decoration: none; color: var(--text);
  background: rgba(8,6,22,.35); border: 1px solid var(--line);
}
.bell-list a:hover { border-color: var(--line-2); }
.bell-list a.hot { border-color: rgba(255,210,122,.45); background: linear-gradient(135deg, rgba(255,210,122,.12), rgba(255,181,71,.04)); }
.bell-cal { flex: none; width: 44px; border-radius: 10px; overflow: hidden; text-align: center; background: rgba(8,6,22,.55); border: 1px solid rgba(255,210,122,.3); }
.bell-cal i { display: block; font-style: normal; font-size: 10px; font-weight: 700; padding: 2px 0; color: #2a1a05; background: linear-gradient(180deg, #ffe3a3, #e9b04f); }
.bell-cal b { display: block; font-size: 17px; padding: 2px 0 3px; color: var(--gold); font-family: var(--display); }
.bell-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.bell-tx b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bell-tx small { font-size: 12px; color: var(--text-2); }
.bell-list a.hot .bell-tx small { color: var(--gold); font-weight: 600; }
.bell-go { flex: none; color: var(--text-3); font-size: 20px; }
.bell-empty { text-align: center; color: var(--text-3); font-size: 14px; padding: 14px; }
.bell-foot { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.bell-notify { border-color: rgba(255,210,122,.4); color: var(--gold); font-weight: 600; width: 100%; }
.bell-note { margin: 0; text-align: center; font-size: 12.5px; color: var(--text-2); }
.bell-note.on { color: #8fe3a8; }

/* ---------- Daily Moments: tab on the home page (calm, no gold) ---------- */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 0 14px; border-radius: 16px; background: rgba(8,6,22,.45); border: 1px solid var(--line); }
.seg button { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 8px; border: 0; border-radius: 12px; font: inherit; font-weight: 700; font-size: 14.5px; color: var(--text-2); background: transparent; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.seg button[data-mode=vip].on { background: linear-gradient(180deg, rgba(255,227,163,.95), rgba(233,176,79,.95)); color: #2a1a05; box-shadow: 0 6px 18px rgba(233,176,79,.25); }
.seg button[data-mode=moment].on { background: linear-gradient(135deg, #ffe1c2, #c9d1ff); color: #1d2045; box-shadow: 0 6px 18px rgba(170,182,255,.25); }
#form.moment .vip-only, #form:not(.moment) .moment-only { display: none !important; }

.mm-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mm-kind {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 8px 12px; border-radius: 20px; text-align: left;
  border: 1.5px solid var(--line); background: rgba(8,6,22,.35); color: var(--text); cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.mm-kind b { font-size: 17px; padding: 6px 6px 0; }
.mm-kind small { font-size: 12.5px; color: var(--text-2); padding: 0 6px; }
.mm-kind.on { transform: translateY(-2px); }
.mm-kind.am.on { border-color: #ffc98a; box-shadow: 0 12px 30px rgba(255,170,90,.22); }
.mm-kind.pm.on { border-color: #aab6ff; box-shadow: 0 12px 30px rgba(120,140,255,.25); }
.mm-scene { position: relative; display: block; width: 100%; height: 84px; border-radius: 14px; overflow: hidden; }
.am .mm-scene { background: linear-gradient(180deg, #8ec5f0, #ffe1c2); }
.pm .mm-scene { background: linear-gradient(180deg, #070b22, #26306a); }
.mm-scene .sun { position: absolute; left: 50%; top: 18px; width: 38px; height: 38px; margin-left: -19px; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #fff6d8, #ffd36b 55%, #ffad4a); box-shadow: 0 0 24px 8px rgba(255,214,120,.55); }
.mm-scene .moon { position: absolute; left: 50%; top: 16px; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; background: radial-gradient(circle at 38% 36%, #fffef6, #cfd5f5); box-shadow: 0 0 22px 6px rgba(210,220,255,.35); }
.mm-scene .dots { position: absolute; inset: 0; background-image: radial-gradient(#fff 1px, transparent 1.4px), radial-gradient(#fff 1px, transparent 1.4px); background-size: 37px 29px, 23px 41px; background-position: 4px 6px, 15px 19px; opacity: .6; }
.mm-scene .hill { position: absolute; left: -10%; right: -10%; bottom: -26px; height: 46px; border-radius: 50%; }
.am .mm-scene .hill { background: #8fc48f; }
.pm .mm-scene .hill { background: #10142f; }
.mm-make { background: #eef0ff; color: #151a3d; border: 0; font-weight: 700; }
.mm-make:hover { background: #fff; }
a.pill { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }

/* Daily Moment button: same shape as "VIP Pass বানাও", sunrise / twilight colours instead of gold */
.btn.primary.pbar.mm-bar {
  color: #2b2140; text-shadow: 0 1px 0 rgba(255,255,255,.45);
  background: linear-gradient(180deg, #ffe9cf 0%, #ffc996 38%, #f2a37b 68%, #ffd3a8 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 0 rgba(150,70,40,.3), 0 8px 22px rgba(240,150,100,.3);
}
.mm-bar .go { background: #2b2140; color: #ffe1c2; box-shadow: inset 0 0 0 1.5px #ffc996; }
#form.night .btn.primary.pbar.mm-bar {
  color: #161b3f; text-shadow: 0 1px 0 rgba(255,255,255,.4);
  background: linear-gradient(180deg, #f1f2ff 0%, #c9d1ff 38%, #9aa6ef 68%, #d5dbff 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 -2px 0 rgba(50,60,140,.3), 0 8px 22px rgba(120,140,255,.3);
}
#form.night .mm-bar .go { background: #161b3f; color: #dfe4ff; box-shadow: inset 0 0 0 1.5px #aab6ff; }
.mm-bar .pb-ico { width: 22px; height: 22px; }
.mm-moon, #form.night .mm-sun { display: none; }
#form.night .mm-moon { display: block; }

/* ---------- Wallet drawer ---------- */
.wl-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(8,6,22,.45); border: 1px solid var(--line); }
.wl-tabs button { border: 0; border-radius: 10px; padding: 9px 6px; font: inherit; font-weight: 700; font-size: 14px; color: var(--text-2); background: transparent; cursor: pointer; }
.wl-tabs button i { font-style: normal; font-size: 12px; opacity: .75; margin-left: 2px; }
.wl-tabs button.on { background: rgba(255,210,122,.14); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(255,210,122,.35); }
.wl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.wl-pass {
  position: relative; display: flex; align-items: stretch; min-height: 74px; border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--text);
  -webkit-mask: radial-gradient(circle 8px at 58px 0, transparent 97%, #000) top/100% 51% no-repeat, radial-gradient(circle 8px at 58px 100%, transparent 97%, #000) bottom/100% 51% no-repeat;
}
.wl-pass.vip { background: radial-gradient(120% 90% at 30% 20%, #231c14, #0d0a07); box-shadow: inset 0 0 0 1.5px rgba(226,180,86,.55); }
.wl-pass.mo.gm { background: linear-gradient(135deg, #ffe7cf, #ffd0a6); color: #2a2f4a; }
.wl-pass.mo.gn { background: linear-gradient(135deg, #1a2150, #2b3470); }
.wl-stub { flex: none; width: 58px; display: grid; place-items: center; border-right: 1.5px dashed rgba(0,0,0,.25); }
.wl-pass.vip .wl-stub { background: linear-gradient(180deg, #f7dc94, #e2b456 45%, #c08a2c 80%, #f0cf7c); border-right-color: rgba(70,40,5,.45); }
.wl-pass.mo.gm .wl-stub { background: rgba(255,255,255,.45); }
.wl-pass.mo.gn .wl-stub { background: rgba(255,255,255,.07); border-right-color: rgba(200,210,255,.25); }
.wl-stub i { font-style: normal; font-size: 24px; }
.wl-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 10px 12px; }
.wl-body small { font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: .7; }
.wl-pass.vip .wl-body small { color: #e2b456; opacity: 1; }
.wl-body b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-pass.vip .wl-body b { color: #f3d48a; }
.wl-body em { font-style: normal; font-size: 12px; opacity: .7; }
.wl-date { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 14px 0 4px; line-height: 1.1; }
.wl-date b { font-size: 20px; font-family: var(--display); }
.wl-date i { font-style: normal; font-size: 11px; opacity: .7; }
.wl-pass.vip .wl-date { color: #f3d48a; }
.wl-empty { text-align: center; padding: 28px 12px; color: var(--text-2); font-size: 14px; line-height: 1.6; }
.wl-empty p { margin: 0 0 14px; }
.wl-make { color: var(--gold); border-color: rgba(255,210,122,.4); }
.pill.wallet svg { fill: none; }
@media (max-width: 420px) {
  .top-actions { gap: 6px; }
  .pill.install span { display: none; }
  .pill.install { padding: 0; width: 38px; height: 38px; justify-content: center; }
}
.wl-title { display: inline-flex; align-items: center; gap: 10px; }
.wl-title svg { width: 24px; height: 24px; fill: rgba(255,210,122,.12); stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }


/* ---------- bottom navigation (Home, My VIPs, Gift Store, Wallet, Profile) ---------- */
body.has-bnav { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
body.has-bnav > .bnav:not(.aurora):not(.fx) { position: fixed; z-index: 25; }   /* under the header's drawers (30) */
/* phone keyboard up (a field has the focus, see common.js): the nav would sit on top of the keyboard */
@media (pointer: coarse) { body.kb-open > .bnav, body.kb-open > .upd-bar { display: none; } }
.bnav {
  left: 50%; bottom: 0; transform: translateX(-50%); width: min(600px, 100%);
  display: grid; grid-template-columns: repeat(5, 1fr); padding: 10px 6px calc(10px + env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0; border: 1px solid rgba(255,210,122,.18); border-bottom: 0;
  background: linear-gradient(180deg, rgba(30,20,56,.92), rgba(16,10,32,.97));
  box-shadow: 0 -14px 40px rgba(0,0,0,.45);
}
.bn-item { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 0; border: 0; background: none; color: var(--text-3); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bn-ico {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,210,122,.22); background: rgba(255,210,122,.04);
  transition: transform .25s cubic-bezier(.3,1.4,.5,1), background .25s, box-shadow .25s, border-color .25s;
}
.bn-ico svg { width: 22px; height: 22px; fill: none; stroke: #e2b456; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bn-lbl { font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.bn-item.on .bn-ico {
  border-color: transparent; background: linear-gradient(145deg, #ffe3a3, #e2b456 45%, #b08540);
  box-shadow: 0 8px 22px rgba(226,180,86,.35), inset 0 1px 0 rgba(255,255,255,.6);
}
.bn-item.on .bn-ico svg { stroke: #2a1a05; stroke-width: 2; }
.bn-item.on .bn-lbl { color: var(--gold); }
.bn-item:hover .bn-ico { border-color: rgba(255,210,122,.45); }
.bn-item.tap .bn-ico { animation: bnTap .35s ease; }
@keyframes bnTap { 40% { transform: scale(.88); } 100% { transform: scale(1); } }
@media (max-width: 360px) { .bn-ico { width: 42px; height: 42px; } .bn-lbl { font-size: 10.5px; } }

/* Profile drawer (appended to <body>, above the nav) */
body > .bell-layer.pf-layer:not(.aurora):not(.fx) { position: fixed; z-index: 70; }
/* ---- Profile: header + hero ---- */
.pf-panel { overflow-y: auto; overscroll-behavior: contain; gap: 12px; }
.pf-panel > * { flex-shrink: 0; }
.pf-head b { font-family: var(--font); font-weight: 800; font-size: 20px; letter-spacing: -.2px; }
.pf-hero { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 22px;
  background: radial-gradient(120% 90% at 0% 0%, rgba(255,210,122,.16), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  border: 1px solid rgba(255,210,122,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.pf-card { display: flex; align-items: center; gap: 14px; }
.pf-av { position: relative; flex: none; width: 64px; height: 64px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center;
  font-family: var(--font); font-size: 26px; font-weight: 800; color: #2a1a05; box-shadow: 0 0 0 3px rgba(11,9,24,.9), 0 0 0 4.5px rgba(255,210,122,.45), 0 10px 24px rgba(0,0,0,.35); }
.pf-av i { position: absolute; right: -3px; bottom: -3px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #ffd27a; border: 2px solid #1c1233; }
.pf-av i svg { width: 12px; height: 12px; fill: none; stroke: #2a1a05; stroke-width: 2.2; stroke-linejoin: round; }
.pf-c0 { background: linear-gradient(160deg, #fff0c4, #e2a845); }
.pf-c1 { background: linear-gradient(160deg, #ffd6e2, #e86a8f); }
.pf-c2 { background: linear-gradient(160deg, #e6dbff, #9a7bea); }
.pf-c3 { background: linear-gradient(160deg, #d4f7e5, #4fbf8a); }
.pf-c4 { background: linear-gradient(160deg, #d6edff, #5a9be0); }
.pf-c5 { background: linear-gradient(160deg, #ffe3cc, #f08a4b); }
.pf-name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pf-name span { font-size: 12px; font-weight: 600; color: var(--text-3); letter-spacing: .2px; }
.pf-name input { width: 100%; font: inherit; font-size: 18px; font-weight: 700; color: var(--text); background: transparent; border: 0; border-bottom: 1.5px solid var(--line-2); border-radius: 0; padding: 4px 0 6px; outline: none; transition: border-color .2s; }
.pf-name input:focus { border-bottom-color: var(--gold); }
.pf-name input::placeholder { color: var(--text-3); font-weight: 500; }
.pf-hint { margin: 0; font-size: 12px; color: var(--text-3); line-height: 1.5; }
.pf-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 12px; border-top: 1px solid var(--line); }
.pf-stats div { text-align: center; }
.pf-stats div + div { border-left: 1px solid var(--line); }
.pf-stats b { display: block; font-family: var(--font); font-weight: 800; font-size: 22px; line-height: 1.2; color: var(--gold); }
.pf-stats small { font-size: 12px; color: var(--text-2); }
.pf-picker { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 16px; background: rgba(8,6,22,.45); border: 1px solid var(--line); animation: pfIn .2s ease-out; }
@keyframes pfIn { from { opacity: 0; transform: translateY(-4px); } }
.pf-emo { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.pf-emo button { aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.04); font-size: 20px; color: var(--text); font-weight: 800; cursor: pointer; font-family: var(--font); }
.pf-emo button.on { border-color: var(--gold); background: rgba(255,210,122,.14); }
.pf-colors { display: flex; justify-content: space-between; gap: 6px; }
.pf-colors button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; }
.pf-colors button.on { border-color: #fff; box-shadow: 0 0 0 2px rgba(255,210,122,.6); }
/* ---- section labels ---- */
.pf-sec { margin: 6px 4px -4px; font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--text-3); }
/* ---- icon tile ---- */
.pf-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,210,122,.1); border: 1px solid rgba(255,210,122,.22); }
.pf-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pf-ic.ok { background: rgba(61,220,132,.1); border-color: rgba(143,227,168,.3); }
.pf-ic.ok svg { stroke: #8fe3a8; }
.pf-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; text-align: left; }
.pf-tx b { font-size: 14.5px; font-weight: 600; color: var(--text); line-height: 1.35; }
.pf-tx small { font-size: 12.5px; color: var(--text-3); line-height: 1.45; }
/* ---- feature cards: birthday, backup ---- */
.pf-feat { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.pf-feat-top { display: flex; align-items: center; gap: 12px; }
.pf-date { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; }
.pf-date select { font: inherit; font-size: 14px; font-weight: 600; color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: rgba(8,6,22,.5); width: 100%; }
.pf-date select option { background: #1a1230; }
.pf-wide { width: 100%; }
.pf-chip { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border-radius: 12px; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 600;
  color: var(--gold); background: rgba(255,210,122,.08); border: 1px solid rgba(255,210,122,.35); transition: background .2s; }
.pf-btns .pf-chip { padding: 10px 8px; white-space: nowrap; font-size: 13px; }
.pf-chip:hover { background: rgba(255,210,122,.15); }
.pf-chip svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pf-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pf-on-tx { color: #8fe3a8 !important; font-weight: 600; }
.pf-tip { margin: 0; font-size: 12px; color: var(--text-3); line-height: 1.55; }
.pf-bk-on { border-color: rgba(143,227,168,.25); }
/* ---- grouped lists: settings, more ---- */
.pf-list { display: flex; flex-direction: column; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid var(--line); overflow: hidden; }
.pf-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; width: 100%; background: none; border: 0; color: inherit; font: inherit; text-decoration: none; }
.pf-item + .pf-item, .pf-list > .pf-fb { border-top: 1px solid var(--line); }
.pf-link { cursor: pointer; transition: background .2s; }
.pf-link:hover { background: rgba(255,255,255,.04); }
.pf-chev svg { width: 18px; height: 18px; fill: none; stroke: var(--text-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.pf-chev.down svg { transform: rotate(90deg); }
.pf-seg { flex: none; display: flex; padding: 3px; border-radius: 12px; background: rgba(8,6,22,.5); border: 1px solid var(--line); }
.pf-seg button { border: 0; background: none; color: var(--text-2); font: inherit; font-size: 12.5px; font-weight: 700; padding: 6px 10px; border-radius: 9px; cursor: pointer; }
.pf-seg button.on { background: rgba(255,210,122,.16); color: var(--gold); }
.pf-pill { flex: none; padding: 7px 14px; border-radius: 999px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; text-decoration: none;
  color: #2a1a05; background: linear-gradient(180deg, #ffe3a3, #e9b04f); border: 0; }
.pf-state { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #8fe3a8; }
.pf-state::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 8px rgba(61,220,132,.7); }
.pf-fb { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 14px; }
.pf-fb textarea, .pf-fb input { font: inherit; font-size: 14px; color: var(--text); border: 1px solid var(--field-line); border-radius: 14px; padding: 11px 13px; background: rgba(8,6,22,.45); resize: vertical; }
.pf-thanks { margin: 0; padding: 14px; text-align: center; border-radius: 14px; background: rgba(61,220,132,.1); color: #8fe3a8; font-weight: 600; }
/* ---- restore / delete / footer ---- */
.pf-box { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; background: rgba(8,6,22,.4); border: 1px solid var(--line); }
.pf-box > b { font-size: 15px; }
.pf-box p { margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.55; }
.pf-box .row .btn { padding: 10px 12px; font-size: 13.5px; }
.pf-restore { border-color: rgba(255,210,122,.55); background: linear-gradient(180deg, rgba(255,210,122,.12), rgba(8,6,22,.4)); animation: pfIn .25s ease-out; }
.pf-sum { color: var(--gold) !important; font-weight: 700; font-size: 14px !important; }
.pf-ok { border-color: rgba(143,227,168,.45); background: rgba(61,220,132,.1); }
.pf-ok b { color: #8fe3a8; }
.pf-bad { border-color: rgba(255,143,168,.4); }
.pf-danger { border-color: rgba(255,143,168,.45); background: rgba(122,34,50,.18); }
.pf-del { background: #b3364f; color: #fff; border: 0; font-weight: 700; }
.pf-wipe { align-self: center; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; border: 0; background: none; color: #ff9aa5; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 8px 10px; border-radius: 10px; }
.pf-wipe svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pf-wipe:hover { background: rgba(255,143,168,.08); }
.pf-foot { margin: 0; text-align: center; font-size: 11.5px; line-height: 1.8; color: var(--text-3); }
.pf-foot a { color: var(--text-2); }
/* "add a friend's birthday" card on /vips */
.vip-invite { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 18px; border: 1px solid rgba(255,210,122,.55); background: linear-gradient(180deg, rgba(255,210,122,.14), rgba(8,6,22,.4)); animation: pfIn .25s ease-out; }
.vip-invite .vi-top { display: flex; align-items: center; gap: 12px; }
.vip-invite .vi-ico { font-size: 34px; }
.vip-invite b { font-size: 16px; display: block; }
.vip-invite small { color: var(--gold); font-weight: 600; }
.vip-invite p { margin: 0; font-size: 13.5px; color: var(--text-2); }
.vip-invite.done { border-color: rgba(143,227,168,.45); background: rgba(61,220,132,.08); }


/* update bar: always fixed, inside the centred app column, and above the bottom navigation */
body > .upd-bar:not(.aurora):not(.fx) { position: fixed; z-index: 100; }
.upd-bar { width: min(568px, calc(100% - 32px)); justify-content: space-between; border-radius: 18px; padding: 10px 10px 10px 16px; }
.upd-bar span { overflow: hidden; text-overflow: ellipsis; }
body.has-bnav > .upd-bar { bottom: calc(92px + env(safe-area-inset-bottom)); }

/* "আমার VIP-রা" page */
.vp-hero { text-align: center; padding: 2px 6px 16px; }
.vp-hero h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 30px; color: var(--gold); }
.vp-hero p { margin: 6px auto 0; max-width: 340px; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.vips.vips-page { margin-top: 0; }
.vips-page .vip-sub { display: none; }

/* Gift Store: same size and level as the others, but always gold with a soft glow + sparkle so people want to tap it */
.bn-item[data-k="store"] { position: relative; }
.bn-item[data-k="store"] .bn-ico {
  border: 3px solid #170f2e;
  background: radial-gradient(circle at 35% 30%, #fff3cc 0%, #f3cf7c 35%, #d9a442 70%, #a8772c 100%);
  box-shadow: 0 10px 26px rgba(226,180,86,.45), 0 0 0 1px rgba(255,210,122,.5), inset 0 2px 0 rgba(255,255,255,.55);
  position: relative;
}
.bn-item[data-k="store"] .bn-ico svg { stroke: #2a1a05; stroke-width: 2; }
.bn-item[data-k="store"].on .bn-lbl { color: var(--gold); font-weight: 800; }
.bn-item[data-k="store"]::after {
  content: '✦'; position: absolute; top: -5px; right: calc(50% - 30px); font-size: 12px; color: #fff3cc;
  text-shadow: 0 0 8px rgba(255,220,140,.9); animation: storeSpark 2.8s ease-in-out infinite;
}
.bn-item[data-k="store"] .bn-ico::before {
  content: ''; position: absolute; inset: -7px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,200,90,.55), rgba(255,200,90,0));
  z-index: -1; opacity: .35; animation: storeHalo 2.8s ease-in-out infinite; will-change: opacity, transform;
}
@keyframes storeHalo { 50% { opacity: 1; transform: scale(1.12); } }
@keyframes storeGlow {
  0%, 100% { box-shadow: 0 10px 26px rgba(226,180,86,.4), 0 0 0 1px rgba(255,210,122,.5), inset 0 2px 0 rgba(255,255,255,.55); }
  50% { box-shadow: 0 10px 34px rgba(255,200,90,.75), 0 0 0 6px rgba(255,210,122,.12), inset 0 2px 0 rgba(255,255,255,.55); }
}
@keyframes storeSpark { 0%, 100% { opacity: 0; transform: scale(.5) rotate(0); } 45%, 60% { opacity: 1; transform: scale(1.15) rotate(45deg); } }
.bn-item[data-k="store"]:active .bn-ico { transform: scale(.94); }
@media (prefers-reduced-motion: reduce) { .bn-item[data-k="store"] .bn-ico, .bn-item[data-k="store"]::after { animation: none; } }

/* delete / hide buttons in the bell and wallet lists */
.bell-li, .wl-li { display: flex; align-items: center; gap: 6px; transition: opacity .2s, transform .2s; }
.bell-li > a, .wl-li > a { flex: 1; min-width: 0; }
.bell-li.gone, .wl-li.gone { opacity: 0; transform: translateX(30px); }
.item-del {
  flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: rgba(8,6,22,.4);
  color: var(--text-3); font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0;
}
.item-del:hover { color: #ff9aa5; border-color: rgba(255,154,165,.5); }
.item-del svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* recipient page: quiet safety line at the very bottom (outside the pass, so the card stays untouched) */
.safe-note {
  position: absolute; left: 0; right: 0; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 3; margin: 0; padding: 0 16px;
  text-align: center; font-size: 12px; letter-spacing: .2px; color: rgba(243,212,138,.55);
}
.safe-note a { color: rgba(243,212,138,.85); text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }

/* "wisher.vip কি নিরাপদ?" page */
.sf-hero { text-align: center; padding: 4px 6px 18px; }
.sf-shield { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-size: 30px; background: rgba(143,227,168,.12); border: 1px solid rgba(143,227,168,.4); margin-bottom: 10px; }
.sf-hero h1 {
  margin: 0; font-family: var(--sf-head); font-weight: 700; font-size: clamp(28px, 8vw, 34px); line-height: 1.4; letter-spacing: 0;
  background: linear-gradient(180deg, #fff3cf 0%, #ffd27a 55%, #e2a94a 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 18px rgba(255, 210, 122, .22));
}
/* Safe page: headings in an elegant Bangla serif (Noto Serif Bengali, the VIP Pass font) with Source Serif for
   the English words; body text a touch bigger and airier. Other scripts keep their own font from --display. */
.page-safe { --sf-head: 'Source Serif 4', 'Noto Serif Bengali', var(--display); }
.sf-hero p { margin: 10px auto 0; max-width: 360px; color: var(--text-2); font-size: 16px; line-height: 1.75; }
.sf-card { margin-bottom: 14px; gap: 12px; }
.sf-card h2 {
  margin: 0; font-family: var(--sf-head); font-weight: 700; font-size: 21px; line-height: 1.4; color: var(--gold);
  padding-bottom: 10px; border-bottom: 1px solid rgba(255, 210, 122, .16);
}
.sf-card p { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.75; }
.sf-card ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 9px; font-size: 15.5px; line-height: 1.65; }
.sf-card strong, .sf-card b:not(.sf-url b) { color: var(--text); font-weight: 700; }
.sf-never { border-color: rgba(255,154,165,.35); }
.sf-never li::marker { color: #ff9aa5; }
.sf-warn { padding: 10px 12px; border-radius: 12px; background: rgba(255,95,109,.1); border: 1px solid rgba(255,95,109,.3); color: var(--text) !important; }
.sf-url { font-family: var(--mono); font-size: 15px; padding: 10px 12px; border-radius: 12px; background: rgba(8,6,22,.5); border: 1px solid var(--line); word-break: break-all; }
.sf-url span { color: var(--text-3); } .sf-url b { color: #8fe3a8; } .sf-url i { font-style: normal; color: var(--gold); }
.sf-cta:hover { filter: brightness(1.07); box-shadow: 0 8px 22px rgba(207,167,90,.3); }
.sf-cta { margin-top: 6px; background: linear-gradient(180deg, #e7cf93, #cfa75a 45%, #b08540); color: #2a1a05; border: 0; font-weight: 700; }
.foot-safe { position: relative; z-index: 1; margin: 6px 0 0; text-align: center; font-size: 13px; }
/* the safety link reads as a small gold badge (same Bangla font as the page, already loaded: no extra download) */
.foot-safe a {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px;
  font-family: var(--font); font-weight: 700; font-size: 14px; letter-spacing: .1px; color: var(--gold); text-decoration: none;
  background: rgba(255, 210, 122, .08); border: 1px solid rgba(255, 210, 122, .32);
  transition: background .2s, border-color .2s;
}
.foot-safe a:hover { background: rgba(255, 210, 122, .14); border-color: rgba(255, 210, 122, .55); }

/* ---------- "opens at midnight" toggle (create form) ---------- */
.unlock-box { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border-radius: 16px; background: rgba(8,6,22,.35); border: 1px solid var(--line); }
.ul-toggle { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.ul-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ul-sw { flex: none; position: relative; width: 44px; height: 26px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid var(--line-2); transition: background .2s; }
.ul-sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.ul-toggle input:checked ~ .ul-sw { background: linear-gradient(180deg, #ffe3a3, #e9b04f); border-color: transparent; }
.ul-toggle input:checked ~ .ul-sw::after { transform: translateX(18px); }
.ul-toggle input:focus-visible ~ .ul-sw { outline: 2px solid var(--gold); outline-offset: 2px; }
.ul-tx { display: flex; flex-direction: column; gap: 2px; }
.ul-tx b { font-size: 14.5px; font-weight: 600; }
.ul-tx small { font-size: 12.5px; color: var(--text-3); line-height: 1.45; }
.ul-date { display: flex; flex-direction: column; gap: 6px; }
.ul-date input { font: inherit; font-size: 15px; font-weight: 600; color: var(--text); border: 1px solid var(--field-line); border-radius: 12px; padding: 11px 13px; background: rgba(8,6,22,.5); color-scheme: dark; }
.ul-date .hint { color: var(--gold); opacity: .85; line-height: 1.5; }
.ul-ready { margin: -4px 0 0; padding: 8px 12px; border-radius: 12px; background: rgba(255,210,122,.1); border: 1px solid rgba(255,210,122,.3); color: var(--gold); font-weight: 600; font-size: 14px; }

/* ---------- "tell me when it is opened" (result) ---------- */
.watch-box { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255,210,122,.07); border: 1px solid rgba(255,210,122,.28); }
.wb-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,210,122,.12); }
.wb-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wb-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; text-align: left; }
.wb-tx b { font-size: 14px; font-weight: 600; }
.wb-tx small { font-size: 12.5px; color: var(--text-3); line-height: 1.4; }
.watch-box.on { background: rgba(61,220,132,.08); border-color: rgba(143,227,168,.35); }
.watch-box.on .wb-ic { background: rgba(61,220,132,.12); }
.watch-box.on .wb-ic svg { stroke: #8fe3a8; }
.watch-box.on b { color: #8fe3a8; }

/* ---------- locked pass (recipient, before midnight) ---------- */
.lk-screen { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.lk-screen.hidden { display: none; }
.lk-card { position: relative; width: min(380px, 92vw); text-align: center; padding: 30px 22px 24px; border-radius: 26px;
  background: radial-gradient(120% 80% at 50% 0%, rgba(255,210,122,.2), transparent 60%), linear-gradient(180deg, rgba(44,27,76,.92), rgba(20,12,38,.95));
  border: 1px solid rgba(255,210,122,.4); box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08); animation: lkIn .6s cubic-bezier(.2,.8,.2,1); }
@keyframes lkIn { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.lk-lock { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, #fff0c4, #e2a845); box-shadow: 0 0 0 6px rgba(255,210,122,.12), 0 12px 30px rgba(226,168,69,.35); animation: lkPulse 2.4s ease-in-out infinite; }
.lk-lock svg { width: 30px; height: 30px; fill: none; stroke: #2a1a05; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes lkPulse { 50% { box-shadow: 0 0 0 12px rgba(255,210,122,.06), 0 12px 30px rgba(226,168,69,.45); } }
.lk-name { margin: 0; font-family: var(--font); font-weight: 800; font-size: clamp(26px, 8vw, 34px); color: var(--gold); line-height: 1.2; }
.lk-title { margin: 6px 0 18px; color: var(--text-2); font-size: 15px; }
.lk-count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lk-count div { padding: 12px 4px 8px; border-radius: 14px; background: rgba(8,6,22,.55); border: 1px solid rgba(255,210,122,.2); }
.lk-count b { display: block; font-family: var(--font); font-weight: 800; font-size: 26px; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1; }
.lk-count small { font-size: 11.5px; color: var(--text-3); }
.lk-when { margin: 16px 0 4px; color: var(--gold); font-weight: 700; font-size: 15px; }
.lk-sub { margin: 0; color: var(--text-3); font-size: 13px; line-height: 1.5; }

/* ---------- reply to the sender (reveal card) ---------- */
.reply-box { display: flex; flex-direction: column; gap: 8px; width: 100%; animation: pfIn .25s ease-out; }
.reply-ok { margin: 0; text-align: center; color: #8fe3a8; font-weight: 600; font-size: 14px; }
.reply-row { display: flex; gap: 8px; margin: 0; }
.reply-row.hidden { display: none; }
.reply-row input { flex: 1; min-width: 0; font: inherit; font-size: 16px; /* under 16px iPhone zooms in on focus */ color: var(--text); border: 1px solid var(--field-line); border-radius: 14px; padding: 10px 13px; background: rgba(8,6,22,.45); }
.reply-row .btn { flex: none; padding: 10px 16px; font-size: 14px; border-radius: 14px; touch-action: manipulation; }
.reply-wa { align-self: center; border: 0; background: none; color: var(--text-3); font: inherit; font-size: 12.5px; text-decoration: underline; cursor: pointer; }

/* ---------- Wallet: sent pass status ---------- */
.wl-status { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.wl-st, .wl-rep { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--text-3); white-space: nowrap; }
.wl-st.ok { background: rgba(61,220,132,.12); color: #8fe3a8; }
.wl-st.lock { background: rgba(255,210,122,.12); color: var(--gold); }
.wl-rep { background: rgba(255,143,168,.12); color: #ffc2cf; white-space: normal; line-height: 1.45; border-radius: 10px; }

/* ---------- "everyone together" (group pass) ---------- */
.gr-tip { color: var(--gold); opacity: .85; line-height: 1.5; }
/* result: friends' invite link */
.group-box { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; text-align: left;
  background: linear-gradient(180deg, rgba(139,92,246,.16), rgba(139,92,246,.05)); border: 1px solid rgba(167,139,250,.4); }
.group-box > b { font-size: 15px; }
.group-box > small { font-size: 12.5px; color: var(--text-2); line-height: 1.5; }
.group-box .gr-link input { font-size: 12.5px; background: none; border: 0; padding: 0; box-shadow: none; width: 100%; color: var(--gold); font-family: var(--mono); }
.gr-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gr-btns .btn { padding: 10px 12px; font-size: 14px; border-radius: 14px; }
.btn.gr-wa { background: #1fbf5b; color: #fff; border: 0; }
.btn.gr-wa:hover { background: #22cc62; }
/* recipient: friends' wishes on the reveal card */
.gw { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: 4px; text-align: left; }
.gw-head { margin: 4px 0 2px; text-align: center; font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: .3px; }
.gw-card { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line);
  animation: gwIn .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 90ms + 300ms); }
@keyframes gwIn { from { opacity: 0; transform: translateY(8px); } }
.gw-av { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #2a1a05; background: linear-gradient(160deg, #e6dbff, #9a7bea); }
.gw-card:nth-child(3n) .gw-av { background: linear-gradient(160deg, #ffd6e2, #e86a8f); }
.gw-card:nth-child(3n+1) .gw-av { background: linear-gradient(160deg, #d4f7e5, #4fbf8a); }
.gw-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.gw-m { font-size: 14px; line-height: 1.5; color: var(--text); word-break: break-word; }
.gw-tx b { font-size: 12.5px; color: var(--text-3); font-weight: 600; }
/* join page */
.jn-wrap { max-width: 600px; }
.jn-loading { text-align: center; font-size: 34px; margin: 80px 0; animation: lkPulse 1.6s infinite; }
.jn-card { display: flex; flex-direction: column; gap: 16px; }
.jn-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 18px 12px 14px; border-radius: 20px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255,210,122,.2), transparent 65%), rgba(8,6,22,.35); border: 1px solid rgba(255,210,122,.3); }
.jn-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--gold); opacity: .85; }
.jn-occ { font-size: 38px; margin-top: 4px; }
.jn-name { margin: 0; font-family: var(--font); font-weight: 800; font-size: clamp(26px, 8vw, 34px); color: var(--gold); line-height: 1.2; }
.jn-by { margin: 0; color: var(--text-2); font-size: 14.5px; }
.jn-when { margin: 4px 0 0; color: var(--gold); font-size: 13px; font-weight: 600; }
.jn-people { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.jn-avs { display: flex; }
.jn-avs i { width: 28px; height: 28px; margin-left: -8px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 12.5px; color: #2a1a05;
  background: linear-gradient(160deg, #fff0c4, #e2a845); border: 2px solid #1c1233; }
.jn-avs i:first-child { margin-left: 0; }
.jn-avs i:nth-child(2n) { background: linear-gradient(160deg, #e6dbff, #9a7bea); }
.jn-avs i:nth-child(3n) { background: linear-gradient(160deg, #ffd6e2, #e86a8f); }
.jn-people small { font-size: 12.5px; color: var(--text-2); }
.jn-form { display: flex; flex-direction: column; gap: 12px; }
.jn-form textarea { resize: vertical; }
.jn-done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 8px 0; animation: pfIn .3s ease-out; }
.jn-check svg { width: 28px; height: 28px; fill: none; stroke: #0d3a22; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.jn-check { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; font-weight: 800; color: #0d3a22; background: linear-gradient(160deg, #c8f7dc, #3ddc84); box-shadow: 0 10px 30px rgba(61,220,132,.35); }
.jn-done b { font-size: 20px; }
.jn-done p { margin: 0 0 8px; color: var(--text-2); }
/* wallet: group panel under a sent pass */
.wl-li:has(.wl-gr) { flex-wrap: wrap; }
.wl-gr { flex: 1 1 100%; margin: -4px 42px 0 8px; border-radius: 0 0 14px 14px; background: rgba(139,92,246,.1); border: 1px solid rgba(167,139,250,.3); border-top: 0; overflow: hidden; }
.wl-gr-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border: 0; background: none; color: #d9ccff; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; text-align: left; }
.wl-gr-row i { font-style: normal; font-size: 16px; transition: transform .2s; }
.wl-gr.open .wl-gr-row i { transform: rotate(90deg); }
.wl-gr-list { list-style: none; margin: 0; padding: 0 12px; display: flex; flex-direction: column; gap: 6px; }
.wl-gr-list li { display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(8,6,22,.4); }
.wl-gr-list span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: var(--text-2); word-break: break-word; }
.wl-gr-list b { color: var(--text); font-size: 13px; }
.wl-gr-del { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: none; color: #ff9aa5; cursor: pointer; font-size: 15px; line-height: 1; }
.wl-gr-copy { display: block; margin: 8px 12px 10px; padding: 8px; width: calc(100% - 24px); border-radius: 10px; border: 1px solid rgba(167,139,250,.4); background: rgba(139,92,246,.12); color: #d9ccff; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }

/* ---------- voice message: recorder (create form) ---------- */
.voice-box { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 16px; background: rgba(8,6,22,.35); border: 1px solid var(--line); }
.vc-row { display: flex; align-items: center; gap: 12px; min-height: 46px; }
.vc-row.hidden { display: none; }
.vc-rec { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: linear-gradient(160deg, #ffe3a3, #e9b04f); box-shadow: 0 6px 18px rgba(233,176,79,.35); transition: transform .15s; }
.vc-rec:hover { transform: scale(1.06); }
.vc-rec svg { width: 22px; height: 22px; fill: none; stroke: #2a1a05; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vc-tx { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.vc-tx b { font-size: 14.5px; font-weight: 600; }
.vc-tx small { font-size: 12.5px; color: var(--text-3); line-height: 1.45; }
.vc-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #ff4d6d; box-shadow: 0 0 0 0 rgba(255,77,109,.6); animation: vcPulse 1.2s infinite; margin-left: 6px; }
@keyframes vcPulse { 70% { box-shadow: 0 0 0 10px rgba(255,77,109,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,109,0); } }
.vc-time { flex: none; font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 700; color: var(--text-2); }
.vc-bars, .vp-bars { flex: 1; min-width: 0; height: 30px; display: flex; align-items: center; gap: 3px; }
.vc-bars i, .vp-bars i { flex: 1; min-width: 2px; height: 30%; border-radius: 2px; background: rgba(255,210,122,.35); transition: height .08s, background .15s; }
.vc-bars.live i { background: #ff8fa3; }
.vc-bars i.lit, .vp-bars i.lit { background: var(--gold); }
.vc-stop { background: linear-gradient(180deg, #ff8fa3, #e5486a); color: #fff; }
.vc-play, .vp-btn { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: linear-gradient(160deg, #ffe3a3, #e9b04f); }
.vc-play svg, .vp-btn svg { width: 18px; height: 18px; fill: #2a1a05; }
.vc-play .i-pause, .vp-btn .i-pause, .vc-play.on .i-play, .vplay.on .vp-btn .i-play { display: none; }
.vc-play.on .i-pause, .vplay.on .vp-btn .i-pause { display: block; }
.vc-mini { flex: none; border: 1px solid var(--line); background: none; color: var(--text-2); font: inherit; font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 10px; cursor: pointer; }
.vc-x { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: none; color: #ff9aa5; font-size: 17px; line-height: 1; cursor: pointer; }

/* ---------- voice message: player (the pass) ---------- */
.vplay { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px 10px 10px; border-radius: 999px; text-align: left;
  background: linear-gradient(135deg, rgba(255,210,122,.16), rgba(255,210,122,.05)); border: 1px solid rgba(255,210,122,.4); animation: pfIn .4s ease-out; }
.vplay.hidden { display: none; }
.vp-btn { width: 46px; height: 46px; box-shadow: 0 0 0 0 rgba(255,210,122,.5); animation: vpPulse 2s infinite; }
.vplay.on .vp-btn { animation: none; }
@keyframes vpPulse { 70% { box-shadow: 0 0 0 12px rgba(255,210,122,0); } 100% { box-shadow: 0 0 0 0 rgba(255,210,122,0); } }
.vp-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vp-mid b { font-size: 13px; font-weight: 600; color: var(--gold); line-height: 1.35; }
.vp-mid .vp-bars { flex: none; height: 22px; width: 100%; }
.vp-time { flex: none; font-variant-numeric: tabular-nums; font-size: 12.5px; font-weight: 700; color: var(--text-2); }
.vplay.err { opacity: .5; }

/* ---------- extras: one inviting line that opens voice / midnight / friends ---------- */
.extras { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); border-radius: 18px; padding: 1.5px;
  background: linear-gradient(110deg, rgba(255,210,122,.22) 25%, #ffd27a 42%, #fff4cc 50%, #ffd27a 58%, rgba(255,210,122,.22) 75%) 0 0 / 300% 100%;
  animation: exShine 4s linear 3; box-shadow: 0 8px 26px rgba(255,190,90,.12); }
@keyframes exShine { from { background-position: 150% 0; } to { background-position: -150% 0; } }
.extras > .ex-toggle, .extras > .ex-body { background: #20153a; }
.ex-toggle { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border: 0; border-radius: 16.5px; cursor: pointer; color: var(--text); font: inherit; text-align: left;
  background-image: radial-gradient(120% 140% at 0% 50%, rgba(255,210,122,.14), transparent 60%) !important; transition: border-radius .3s; }
.extras.open .ex-toggle { border-radius: 16.5px 16.5px 0 0; }
.ex-spark { position: relative; flex: none; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(150deg, #fff0c4, #e2a845); box-shadow: 0 6px 18px rgba(226,168,69,.35); }
.ex-spark i { position: absolute; font-style: normal; color: #2a1a05; line-height: 1; animation: exTwinkle 2.4s ease-in-out infinite; }
.ex-spark i:nth-child(1) { font-size: 20px; left: 10px; top: 9px; }
.ex-spark i:nth-child(2) { font-size: 10px; right: 5px; top: 4px; animation-delay: .8s; }
.ex-spark i:nth-child(3) { font-size: 8px; left: 6px; bottom: 5px; animation-delay: 1.6s; }
@keyframes exTwinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.55) rotate(45deg); opacity: .55; } }
.ex-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ex-tx b { font-size: 15px; font-weight: 700; background: linear-gradient(90deg, #fff, #ffe3a3, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: exText 4s linear 3; }
@keyframes exText { to { background-position: -200% 0; } }
.ex-tx small { font-size: 12px; color: var(--text-3); line-height: 1.45; }
.ex-icons { flex: none; display: flex; gap: 2px; }
.ex-icons i { font-style: normal; font-size: 15px; display: inline-block; animation: exBob 2.4s ease-in-out infinite; }
.ex-icons i:nth-child(2) { animation-delay: .3s; } .ex-icons i:nth-child(3) { animation-delay: .6s; }
@keyframes exBob { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }
.ex-on { position: absolute; top: -10px; right: 46px; z-index: 1; box-shadow: 0 4px 12px rgba(0,0,0,.35); padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #0d3a22; background: linear-gradient(160deg, #c8f7dc, #3ddc84); }
.ex-on.hidden { display: none; }
.extras.active .ex-icons { display: none; }
.ex-chev { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.extras.open .ex-chev { transform: rotate(180deg); }
.ex-body { display: grid; grid-template-rows: 0fr; border-radius: 0 0 16.5px 16.5px; transition: grid-template-rows .35s cubic-bezier(.2,.8,.2,1); }
.extras.open .ex-body { grid-template-rows: 1fr; }
.ex-inner { min-height: 0; overflow: hidden; }
.extras:not(.open) .ex-inner { visibility: hidden; transition: visibility 0s .35s; }
/* rows inside: flat, separated by lines */
.extras .voice-box, .extras .unlock-box { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 12px 14px; }
@media (prefers-reduced-motion: reduce) { .extras, .ex-tx b, .ex-spark i, .ex-icons i { animation: none; } }
/* rows inside "make it extra special": icon left, text middle, switch right; one tidy line of help each */
.extras .vc-row, .extras .ul-toggle { gap: 12px; }
.extras .vc-rec { width: 40px; height: 40px; }
.extras .vc-rec svg { width: 19px; height: 19px; }
.ex-ic { flex: none; order: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; background: rgba(255,210,122,.1); border: 1px solid rgba(255,210,122,.25); }
.extras .ul-tx { order: 1; flex: 1; min-width: 0; }
.extras .ul-sw { order: 2; }
.extras .vc-tx b, .extras .ul-tx b { font-size: 14px; font-weight: 600; line-height: 1.35; }
.extras .vc-tx small, .extras .ul-tx small { font-size: 12px; line-height: 1.4; color: var(--text-3); }
.extras .ul-date { padding-left: 52px; }
.extras .ul-date .hint, .extras .gr-tip { font-size: 12px; line-height: 1.5; color: var(--text-2); opacity: 1; }
.extras .gr-tip { padding-left: 52px; display: block; }
.extras .gr-tip.hidden { display: none; }
.extras .ul-date input { padding: 9px 12px; font-size: 14px; }
/* theme match: same type scale as the rest of the form (labels/chips/hints), gold as the only accent */
.ex-tx b { font-size: 15px; font-weight: 600; letter-spacing: .1px; color: var(--gold); background: none; -webkit-background-clip: initial; background-clip: initial; animation: none; }
.ex-tx small { font-size: 12.5px; color: var(--text-3); }
.extras .vc-tx b, .extras .ul-tx b { font-size: 14.5px; font-weight: 500; color: var(--text); }
.extras .vc-tx small, .extras .ul-tx small, .extras .ul-date .hint, .extras .gr-tip { font-size: 12.5px; color: var(--text-3); }
/* icons: one bright gold tile style for all three rows */
.ex-ic, .extras .vc-rec { width: 40px; height: 40px; border-radius: 12px; border: 0; background: linear-gradient(150deg, #fff0c4, #e2a845); box-shadow: 0 4px 14px rgba(226,168,69,.3); }
.ex-ic svg { width: 21px; height: 21px; fill: none; stroke: #2a1a05; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- premium date picker ---------- */
.ul-pick { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; border-radius: 14px; cursor: pointer; text-align: left; font: inherit; color: var(--text);
  background: linear-gradient(135deg, rgba(255,210,122,.12), rgba(255,210,122,.03)); border: 1px solid rgba(255,210,122,.35); transition: border-color .2s, background .2s; }
.ul-pick:hover, .ul-pick.open { border-color: var(--gold); background: linear-gradient(135deg, rgba(255,210,122,.18), rgba(255,210,122,.05)); }
.ul-pick-ic { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ul-pick-tx { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.ul-pick-tx b { font-size: 15px; font-weight: 600; color: var(--gold); }
.ul-pick-tx small { font-size: 12px; color: var(--text-3); }
.ul-pick-chev { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; transition: transform .25s; }
.ul-pick.open .ul-pick-chev { transform: rotate(180deg); }
.ul-cal { padding: 12px; border-radius: 16px; background: linear-gradient(180deg, #2a1c4a, #1a1131); border: 1px solid rgba(255,210,122,.3);
  box-shadow: 0 16px 40px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06); animation: ucIn .22s cubic-bezier(.2,.8,.2,1); }
.ul-cal[hidden] { display: none; }
@keyframes ucIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.uc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.uc-head b { font-size: 15px; font-weight: 600; color: var(--gold); }
.uc-nav { width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.04); cursor: pointer; display: grid; place-items: center; }
.uc-nav svg { width: 16px; height: 16px; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.uc-nav:disabled { opacity: .3; cursor: default; }
.uc-week, .uc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.uc-week span { font-size: 11px; font-weight: 600; color: var(--text-3); padding: 4px 0; }
.uc-grid button { position: relative; aspect-ratio: 1; border-radius: 50%; border: 1px solid transparent; background: none; color: var(--text); font: inherit; font-size: 14px; cursor: pointer; transition: background .15s, border-color .15s; }
.uc-grid button:hover:not(.off):not(.on) { background: rgba(255,210,122,.12); border-color: rgba(255,210,122,.3); }
.uc-grid button.off { color: rgba(255,255,255,.2); cursor: default; }
.uc-grid button.today { border-color: rgba(255,255,255,.25); }
.uc-grid button.on { background: linear-gradient(150deg, #fff0c4, #e2a845); color: #2a1a05; font-weight: 700; box-shadow: 0 4px 14px rgba(226,168,69,.45); }
.uc-grid button.vip::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #ff8fa3; box-shadow: 0 0 6px rgba(255,143,163,.8); }
.uc-grid button.on.vip::after { background: #b3364f; box-shadow: none; }
.uc-legend { display: flex; align-items: center; gap: 6px; margin: 8px 2px 0; font-size: 11.5px; color: var(--text-3); }
.uc-legend i { width: 6px; height: 6px; border-radius: 50%; background: #ff8fa3; }
.extras .ul-date { display: flex; flex-direction: column; gap: 8px; }
.extras .ul-date { padding-left: 0; }
.ul-cal { width: 100%; box-sizing: border-box; padding: 12px 10px; }
.uc-week, .uc-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.uc-grid button { width: 100%; min-width: 0; padding: 0; font-size: 13.5px; }

/* ---------- performance ---------- */
/* phones that ask for less motion get a still background and no looping effects */
@media (prefers-reduced-motion: reduce) {
  .aurora i, .bn-item[data-k="store"] .bn-ico::before, .bn-item[data-k="store"]::after, .extras, .ex-spark i { animation: none !important; }
}
/* the drawers' dim layer keeps its light blur only while it is open (it is hidden the rest of the time) */

/* ---------- languages ---------- */
/* each script gets its own font (loaded only for that language by i18n.js); Latin still uses the site fonts */
html[lang="hi"], html[lang="ne"] {
  --font: 'Noto Sans Devanagari', 'Noto Sans Bengali', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Source Serif 4', 'Noto Sans Devanagari', Georgia, serif;
  --mono: 'IBM Plex Mono', 'Noto Sans Devanagari', ui-monospace, monospace;
}
html[lang="si"] {
  --font: 'Noto Sans Sinhala', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Source Serif 4', 'Noto Sans Sinhala', Georgia, serif;
  --mono: 'IBM Plex Mono', 'Noto Sans Sinhala', ui-monospace, monospace;
}
html[lang="ur"] {
  --font: 'Noto Nastaliq Urdu', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Source Serif 4', 'Noto Nastaliq Urdu', Georgia, serif;
  --mono: 'IBM Plex Mono', 'Noto Nastaliq Urdu', ui-monospace, monospace;
}
html[lang="dz"] {
  --font: 'Noto Serif Tibetan', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Source Serif 4', 'Noto Serif Tibetan', Georgia, serif;
  --mono: 'IBM Plex Mono', 'Noto Serif Tibetan', ui-monospace, monospace;
}
/* Nastaliq and Tibetan stack tall: give lines more room so nothing is clipped */
html[lang="ur"] body { line-height: 2.05; }
html[lang="dz"] body { line-height: 1.9; }
html[lang="ur"] h1, html[lang="ur"] h2, html[lang="ur"] h3, html[lang="ur"] .msg { line-height: 1.9; }
html[lang="ur"] .label, html[lang="ur"] .chip, html[lang="ur"] button { line-height: 1.8; }
/* Indic scripts have no capitals and need their own letter spacing */
html[lang="hi"] .t-meta dt, html[lang="ne"] .t-meta dt, html[lang="si"] .t-meta dt, html[lang="ur"] .t-meta dt, html[lang="dz"] .t-meta dt { font-family: var(--font); font-size: 12px; letter-spacing: 0; text-transform: none; }

/* language menu: a pill-shaped <select> (the phone's own picker opens on tap) */
.lang-sel {
  appearance: none; -webkit-appearance: none; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; color: var(--text);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 32px 7px 14px; background-color: var(--glass, rgba(255,255,255,.06));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd27a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; max-width: 46vw;
}
.lang-sel:hover, .pill.lang-sel:hover { border-color: var(--line-2); background-color: var(--glass-2, rgba(255,255,255,.1));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd27a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); }
.lang-sel:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lang-sel option { background: #1a1230; color: #fff; }
.pf-lang { flex: none; font-size: 13px; padding: 6px 30px 6px 12px; }
html[dir="rtl"] .lang-sel { padding: 7px 14px 7px 32px; background-position: left 10px center; }

/* ---------- right-to-left (Urdu) ---------- */
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .center, html[dir="rtl"] .card.center, html[dir="rtl"] .st-hero, html[dir="rtl"] .foot, html[dir="rtl"] .hero { text-align: center; }
/* things that must keep their direction: links, codes, numbers, the bottom bar order */
html[dir="rtl"] input[type="url"], html[dir="rtl"] input[inputmode="url"], html[dir="rtl"] input[type="tel"], html[dir="rtl"] .slug-pre, html[dir="rtl"] .t-no { direction: ltr; text-align: left; }
html[dir="rtl"] .uc-nav svg, html[dir="rtl"] .st-arrows button, html[dir="rtl"] .st-buy svg, html[dir="rtl"] .st-hl-buy svg { transform: scaleX(-1); }
/* the pill's hover uses the "background" shorthand, which reset the arrow's size/position (it tiled and jumped):
   keep every arrow property fixed on hover, and animate only colours */
.lang-sel, .pill.lang-sel { transition: border-color .2s, background-color .2s; }
.lang-sel:hover, .pill.lang-sel:hover, .lang-sel:focus, .pill.lang-sel:focus { background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; }
html[dir="rtl"] .lang-sel:hover, html[dir="rtl"] .pill.lang-sel:hover, html[dir="rtl"] .lang-sel:focus, html[dir="rtl"] .pill.lang-sel:focus { background-position: left 10px center; }
/* the language list names every language in its own script: the phone's own fonts draw those, so a visitor
   never downloads another language's web font (e.g. 100 KB of Bangla on a Hindi page) just for one menu entry */
html:not([lang="bn"]) .lang-sel option { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }

/* English text written into the HTML (for search engines) stays hidden until the page's language is applied */
html.i18n-wait [data-i], html.i18n-wait [data-ih], html.i18n-wait [data-s] { visibility: hidden; }

/* page to page: no fade (it made the light flicker); pages open from the phone's cache, and the glowing background
   continues from the same moment on every page (--aur-t), so the switch is steady */
html.no-intro .h-main em, html.no-intro .h-main em::after { animation: none; clip-path: none; }

/* ---------- PIN lock (create form + recipient gate) ---------- */
.pin-set { display: flex; flex-direction: column; gap: 6px; }
.pin-set.hidden { display: none; }
.pin-in, .pin-code { font: inherit; font-family: var(--font); font-weight: 800; letter-spacing: .35em; text-align: center; color: #fff;
  border: 1px solid rgba(255,210,122,.4); border-radius: 14px; background: rgba(8,6,22,.55); font-variant-numeric: tabular-nums; }
.pin-in { font-size: 20px; padding: 10px 12px; }
.pin-in::placeholder { letter-spacing: normal; font-weight: 500; font-size: 14px; color: var(--text-3); }
.pin-set .hint { color: var(--gold); opacity: .85; line-height: 1.5; }
.pin-card { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.pin-t { margin: 4px 0 0; font-family: var(--font); font-weight: 800; font-size: clamp(20px, 6vw, 24px); color: var(--gold); line-height: 1.3; }
.pin-code { font-size: 30px; padding: 12px; margin-top: 8px; width: 100%; box-sizing: border-box; }
.pin-code:focus, .pin-in:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,210,122,.18); }
.pin-err { min-height: 1.4em; margin: 0; color: #ff9b9b; font-size: 13.5px; }
.pin-card.shake { animation: pinShake .4s; }
@keyframes pinShake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.pin-row { display: flex; gap: 8px; }
.pin-row .pin-in { flex: 1; min-width: 0; }
.pin-new { flex: none; font: inherit; font-size: 14px; font-weight: 600; padding: 0 16px; border-radius: 14px; cursor: pointer;
  color: var(--gold); background: rgba(255,210,122,.08); border: 1px solid rgba(255,210,122,.35); }
.pin-field .hint { line-height: 1.5; }
