/* Thiệp tương tác theo kiểu đang được chia sẻ nhiều (play-viral.js): thổi nến, cuộc gọi đến, thư "Mở khi…", trang tìm kiếm, pháo hoa viết chữ.
   Kích thước theo em của .pl (1em ≈ 1/21 cạnh khung) như fun.css. */
.vr-kicker { margin: 0 0 .3em; font-size: .7em; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .6; }
.vr-card { border-top: .35em solid var(--accent); }
.vr-reopen { position: absolute; z-index: 5; bottom: 3cqmin; left: 50%; translate: -50% 0; font-size: .82em; animation: pl-up .4s ease both; }
.vr-svg { display: inline-grid; flex: none; }
.vr-svg svg { width: 100%; height: 100%; }

/* ---------- 1. thổi nến ---------- */
.pl-blow { gap: 1em; }
.pl-blow::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .9s ease;
  background: radial-gradient(ellipse at 50% 52%, rgba(255, 170, 70, .22), rgba(10, 6, 22, .84) 62%); }
.pl-blow.bw-dark::before { opacity: 1; }
.pl-blow.bw-dark .fn-hint, .pl-blow.bw-dark .bw-tip { color: #fff8ec; }
.bw-cake { position: relative; width: 16em; display: flex; flex-direction: column; align-items: center; touch-action: none; user-select: none; -webkit-user-select: none; cursor: pointer; --sponge: color-mix(in srgb, var(--accent) 32%, #ffe8d6); }
.bw-candles { position: relative; z-index: 2; display: flex; align-items: flex-end; gap: 1.05em; height: 4.6em; margin-bottom: -.35em; }
.bw-candle { position: relative; width: .62em; height: var(--h, 2.4em); padding: 0; border: 0; border-radius: .2em .2em .1em .1em; cursor: pointer;
  background: repeating-linear-gradient(-50deg, var(--c) 0 .3em, #fff .3em .6em); box-shadow: inset -.12em 0 0 rgba(0, 0, 0, .14), 0 .1em .2em rgba(0, 0, 0, .2); }
.bw-candle::before { content: ''; position: absolute; left: 50%; top: -.42em; width: .09em; height: .46em; translate: -50% 0; background: #3b2f2f; border-radius: .05em; }
.bw-flame { position: absolute; left: 50%; bottom: calc(100% + .3em); width: .66em; height: 1.3em; margin-left: -.33em; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: radial-gradient(ellipse at 50% 76%, #fff 0 16%, #fff3b0 30%, #ffc14d 54%, #ff7b1c 80%, rgba(255, 90, 0, 0) 100%);
  box-shadow: 0 0 .9em .3em rgba(255, 176, 60, .8), 0 0 2.8em 1em rgba(255, 140, 40, .38); transform-origin: 50% 90%;
  animation: bw-flick 1.1s ease-in-out infinite alternate; animation-delay: var(--d, 0s); transition: opacity .25s, transform .25s; }
@keyframes bw-flick { 0% { transform: rotate(-3deg) scaleY(1); } 45% { transform: rotate(2deg) scale(.94, 1.09); } 100% { transform: rotate(-1deg) scale(1.04, .95); } }
.bw-cake.breeze .bw-flame { animation: bw-wind .16s ease-in-out infinite alternate; }
@keyframes bw-wind { from { transform: skewX(-16deg) scaleY(.82) translateX(.08em); } to { transform: skewX(-34deg) scaleY(.6) translateX(.26em); } }
.bw-candle.out .bw-flame { opacity: 0; transform: scale(.2) translateY(.5em); animation: none; }
.bw-smoke { position: absolute; left: 50%; bottom: calc(100% + .2em); width: .55em; height: .55em; margin-left: -.27em; border-radius: 50%; background: rgba(210, 210, 220, .7); filter: blur(.15em); opacity: 0; pointer-events: none; }
.bw-candle.out .bw-smoke { animation: bw-smoke 1.9s ease-out forwards; }
@keyframes bw-smoke { 0% { opacity: .85; transform: translateY(0) scale(.6); } 100% { opacity: 0; transform: translate(.7em, -3.8em) scale(2.8); } }
.bw-tier { position: relative; border-radius: .8em .8em .45em .45em;
  background: linear-gradient(90deg, rgba(0, 0, 0, .07), transparent 28% 72%, rgba(0, 0, 0, .1)), var(--sponge); box-shadow: inset 0 -.35em 0 rgba(0, 0, 0, .06); }
.bw-tier::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1.25em; border-radius: .8em .8em 0 0;
  background: radial-gradient(circle at 50% 0, #fffdf8 0 .4em, transparent .43em) 0 .55em / 1.35em .9em repeat-x, linear-gradient(#fffdf8 0 .62em, transparent .62em); }
.bw-tier::after { content: ''; position: absolute; inset: 1.5em .4em .4em; pointer-events: none;
  background: radial-gradient(circle, #ff6b9d .1em, transparent .13em) .2em .2em / 1.9em 1.1em, radial-gradient(circle, #4dabf7 .1em, transparent .13em) 1.1em .7em / 2.3em 1.3em, radial-gradient(circle, #ffd43b .1em, transparent .13em) .6em 1.1em / 1.7em 1.05em; }
.bw-tier.top { z-index: 1; width: 10.5em; height: 3.3em; }
.bw-tier.base { width: 15em; height: 5em; margin-top: -.15em; display: grid; place-items: center; }
.bw-plaque { position: relative; z-index: 1; margin: .7em 0 0; padding: .2em .9em .3em; border-radius: .5em; text-align: center; line-height: 1.05; color: var(--accent-deep, var(--accent));
  background: rgba(255, 253, 248, .86); box-shadow: 0 .15em .4em rgba(0, 0, 0, .12); max-width: 13em; }
.bw-plaque small { display: block; font-family: var(--tf); font-size: 1em; }
.bw-plaque b { display: block; font-family: var(--tf); font-weight: 400; font-size: 1.35em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bw-plaque b:empty { display: none; }
.bw-plate { display: block; width: 17.5em; height: 1em; margin-top: -.35em; border-radius: 50%; background: radial-gradient(ellipse at 50% 30%, #fff, #d6dae0 70%); box-shadow: 0 .5em 1em -.3em rgba(0, 0, 0, .45); }
.bw-ctrl { display: flex; flex-direction: column; align-items: center; gap: .5em; }
.bw-ctrl.gone { display: none; }
.bw-mic .vr-svg { width: 1.2em; height: 1.2em; }
.bw-meter { display: none; width: 12em; height: .6em; border-radius: 1em; overflow: hidden; background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.bw-meter.on { display: block; }
.bw-meter i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #69db7c, #ffd43b, #ff6b6b); transition: width .08s linear; }
.bw-tip { margin: 0; max-width: 20em; text-align: center; font-size: .75em; opacity: .85; }
.fn-hint.bw-hb { font-family: var(--tf); font-weight: 400; font-size: 2em; line-height: 1.15; color: var(--accent); opacity: 1; animation: pl-pop .6s cubic-bezier(.3, 1.5, .5, 1) both; }
.bw-after { display: flex; flex-direction: column; align-items: center; }
.bw-after:empty { display: none; }
.bw-wishes { display: flex; flex-direction: column; gap: .35em; width: min(19em, 100%); margin: 0; padding: 0; list-style: none; }
.bw-wishes li { display: flex; align-items: center; gap: .5em; padding: .45em .85em; border-radius: .8em; font-size: .86em; line-height: 1.35;
  background: color-mix(in srgb, var(--paper, #fff) 90%, transparent); box-shadow: 0 .3em .8em -.4em rgba(0, 0, 0, .3); animation: pl-up .5s both; }
.bw-wishes li::before { content: '✨'; flex: none; }
.bw-row { display: flex; gap: .6em; justify-content: center; margin-top: .8em; animation: pl-up .5s both; }

/* ---------- 2. cuộc gọi đến ---------- */
.vc-phone { position: relative; width: 17em; height: min(34em, 92cqh); padding: .55em; border-radius: 2.7em; overflow: hidden; color: #fff; background: #0b0b0f;
  font-family: 'Be Vietnam Pro', system-ui, sans-serif; box-shadow: 0 0 0 .2em #2b2b33, 0 1.4em 3em -.8em rgba(0, 0, 0, .65); }
.pl .vc-phone button { font-family: inherit; }
.vc-bg { position: absolute; inset: -10%; background: radial-gradient(circle at 30% 22%, color-mix(in srgb, var(--accent) 75%, #000), transparent 60%), radial-gradient(circle at 78% 88%, color-mix(in srgb, var(--accent2) 65%, #000), transparent 60%), #15121c;
  background-size: cover; background-position: center; filter: blur(1.2em) saturate(1.2) brightness(.8); }
.vc-island { position: absolute; z-index: 3; top: .9em; left: 50%; width: 5.6em; height: 1.55em; translate: -50% 0; border-radius: 1em; background: #000; }
.vc-screen { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; padding: 3.3em 1.2em 1.6em; background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .5)); }
.vc-ring, .vc-missed, .vc-talk, .vc-ended { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; text-align: center; animation: fn-fade .4s both; }
.vc-ring { justify-content: space-between; }
.vc-kind { margin: 0; font-size: .72em; letter-spacing: .04em; opacity: .75; }
.vc-name { margin: .15em 0 0; font-size: 1.9em; font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
.vc-sub { margin: .3em 0 0; font-size: .8em; opacity: .82; }
.vc-avawrap { position: relative; width: 7em; height: 7em; display: grid; place-items: center; }
.vc-avawrap > i { position: absolute; inset: 0; border-radius: 50%; border: .12em solid rgba(255, 255, 255, .55); animation: vc-pulse 2.4s ease-out infinite; }
.vc-avawrap > i:nth-child(2) { animation-delay: .8s; }
.vc-avawrap > i:nth-child(3) { animation-delay: 1.6s; }
@keyframes vc-pulse { from { transform: scale(.78); opacity: .9; } to { transform: scale(1.75); opacity: 0; } }
.vc-ava { position: relative; width: 2.33em; height: 2.33em; border-radius: 50%; display: grid; place-items: center; overflow: hidden; font-size: 3em; font-weight: 600; line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); box-shadow: 0 .2em .5em -.15em rgba(0, 0, 0, .6); }
.vc-ava img { width: 100%; height: 100%; object-fit: cover; }
.vc-acts { display: flex; justify-content: space-between; width: 100%; padding: 0 .4em; }
.vc-act { display: flex; flex-direction: column; align-items: center; gap: .4em; }
.vc-act > span { font-size: .78em; }
.vc-btn { width: 3.9em; height: 3.9em; padding: 1em; border: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; cursor: pointer; }
.vc-btn svg { width: 100%; height: 100%; }
.vc-btn.yes { background: #30d158; box-shadow: 0 0 0 0 rgba(48, 209, 88, .6); animation: vc-shake 1.6s ease-in-out infinite, vc-glow 1.6s ease-out infinite; }
.vc-btn.no { background: #ff453a; }
.vc-btn.no svg { transform: rotate(135deg); }
.vc-btn:disabled { opacity: .35; cursor: default; }
@keyframes vc-shake { 0%, 58%, 100% { transform: rotate(0); } 64% { transform: rotate(-14deg); } 71% { transform: rotate(14deg); } 78% { transform: rotate(-10deg); } 85% { transform: rotate(8deg); } }
@keyframes vc-glow { to { box-shadow: 0 0 0 .9em rgba(48, 209, 88, 0); } }
.vc-missed { justify-content: center; gap: .3em; }
.vc-missed b { font-size: 1.25em; color: #ff6961; }
.vc-thead { display: flex; flex-direction: column; align-items: center; gap: .15em; }
.vc-thead .vc-ava { font-size: 1.4em; }
.vc-tname { margin: .2em 0 0; font-size: 1.2em; font-weight: 600; }
.vc-time { margin: 0; font-size: .8em; opacity: .75; font-variant-numeric: tabular-nums; }
.vc-wave { display: flex; align-items: center; justify-content: center; gap: .18em; height: 1.6em; margin: .5em 0; }
.vc-wave i { width: .2em; height: 100%; border-radius: 1em; background: var(--accent2); animation: vc-wave .9s ease-in-out infinite alternate; }
@keyframes vc-wave { from { transform: scaleY(.2); } to { transform: scaleY(1); } }
.vc-wave.idle i { animation: none; transform: scaleY(.2); }
.vc-caps { flex: 1; min-height: 0; width: 100%; overflow: auto; display: flex; flex-direction: column; gap: .45em; padding: .2em; scrollbar-width: none; text-align: left; }
.vc-caps::-webkit-scrollbar { display: none; }
.vc-cap { align-self: flex-start; max-width: 92%; margin: 0; padding: .55em .85em; border-radius: 1em 1em 1em .3em; font-size: .9em; line-height: 1.45; background: rgba(255, 255, 255, .17); backdrop-filter: blur(6px); animation: pl-up .35s both; }
.vc-cap.typing { display: flex; gap: .25em; padding: .75em .9em; }
.vc-cap.typing i { width: .42em; height: .42em; border-radius: 50%; background: #fff; animation: vc-dot 1s infinite; }
.vc-cap.typing i:nth-child(2) { animation-delay: .15s; }
.vc-cap.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes vc-dot { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-.2em); } }
.vc-read { align-self: center; margin-top: .4em; animation: pl-up .4s both; }
.vc-foot { display: flex; flex-direction: column; align-items: center; gap: .8em; padding-top: .6em; }
.vc-tools { display: flex; gap: .5em; }
.vc-tool { padding: .5em .75em; border: 0; border-radius: 1em; font-size: .7em; color: #fff; background: rgba(255, 255, 255, .17); cursor: pointer; }
.vc-tool.on { background: #fff; color: #111; }
.vc-btn.end { width: 3.3em; height: 3.3em; padding: .85em; }
.vc-ended { justify-content: center; gap: .3em; }
.vc-ended .vc-ava { font-size: 2.2em; }
.vc-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .5em; margin-top: 1em; }
.vc-row .pl-btn.ghost { color: #fff; }

/* ---------- 3. xấp thư "Mở khi…" ---------- */
.ow-box { position: relative; width: 19em; margin-top: .9em; padding: 2em 1em 1.1em; border-radius: 1em;
  background: radial-gradient(circle at 20% 0, rgba(255, 255, 255, .18), transparent 50%), repeating-linear-gradient(92deg, rgba(0, 0, 0, .05) 0 .2em, transparent .2em .9em), linear-gradient(160deg, color-mix(in srgb, var(--accent) 22%, #a47148), color-mix(in srgb, var(--accent) 18%, #6f4a2f));
  box-shadow: 0 1em 2.4em -.6em rgba(0, 0, 0, .45), inset 0 0 0 .25em rgba(255, 255, 255, .12), inset 0 .6em 1.2em rgba(0, 0, 0, .25); }
.ow-tag { position: absolute; top: -.85em; left: 50%; translate: -50% 0; rotate: -2deg; margin: 0; padding: .3em 1.2em; border-radius: .4em; white-space: nowrap;
  background: #fffdf5; color: var(--accent-deep, var(--accent)); font-family: var(--tf); font-size: 1.25em; box-shadow: 0 .3em .6em rgba(0, 0, 0, .25); }
.ow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8em .7em; }
.ow-env { position: relative; height: 6.5em; padding: 3em .5em .45em; border: 0; border-radius: .35em; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; cursor: pointer;
  background: var(--c, #fff3bf); color: #4a3b35; rotate: var(--r, 0deg); box-shadow: 0 .3em .6em -.2em rgba(0, 0, 0, .4); transition: transform .2s; }
.ow-env:hover { transform: translateY(-.2em); }
.ow-flap { position: absolute; left: 0; right: 0; top: 0; height: 44%; clip-path: polygon(0 0, 100% 0, 50% 100%); background: color-mix(in srgb, var(--c, #fff3bf) 80%, #6b4f3a); }
.ow-seal { position: absolute; top: 34%; left: 50%; width: 1.7em; height: 1.7em; translate: -50% -50%; border-radius: 50%; display: grid; place-items: center; font-size: .8em; font-style: normal; color: #fff;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--accent) 55%, #fff), var(--accent) 60%, color-mix(in srgb, var(--accent) 70%, #000)); box-shadow: 0 .1em .25em rgba(0, 0, 0, .35); }
.ow-label { position: relative; font-family: var(--tf); font-weight: 400; font-size: 1.12em; line-height: 1.1; text-align: center; text-wrap: balance; }
.ow-label small { display: block; margin-bottom: .1em; font: 700 .5em/1.2 'Be Vietnam Pro', system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.ow-grid > .ow-env:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - .35em); }
.ow-env.read::after { content: 'Đã đọc'; position: absolute; top: .35em; right: .35em; rotate: 12deg; padding: .1em .4em; border: .12em solid #c92a2a; border-radius: .3em; color: #c92a2a;
  font: 800 .55em/1.2 'Be Vietnam Pro', system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.ow-env.read .ow-seal { opacity: .35; }
.ow-last { width: 100%; height: 4.4em; padding-top: 1.2em; margin-top: .9em; --c: #ffd43b; background: linear-gradient(135deg, #ffe066, #f2b705); rotate: 0deg; animation: pl-pop .5s both, ow-glow 1.6s ease-in-out .5s infinite alternate; }
@keyframes ow-glow { to { box-shadow: 0 0 1.4em .25em rgba(255, 212, 59, .85); } }
.ow-ov { position: absolute; inset: 0; z-index: 7; display: grid; place-items: center; padding: 4cqmin; background: color-mix(in srgb, var(--ink) 40%, transparent); backdrop-filter: blur(3px); animation: fn-fade .3s both; }
.ow-ov.out { animation: fn-fade .3s ease reverse forwards; }
.ow-big { grid-area: 1 / 1; position: relative; width: 15em; height: 9.5em; border-radius: .5em; background: var(--c); box-shadow: 0 1em 2em -.6em rgba(0, 0, 0, .5); transition: transform .6s ease, opacity .5s ease .1s; }
.ow-bflap { position: absolute; left: 0; right: 0; top: 0; height: 60%; clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: 50% 0; background: color-mix(in srgb, var(--c) 80%, #6b4f3a); transition: transform .55s ease; }
.ow-ov.opening .ow-bflap { transform: perspective(30em) rotateX(180deg); }
.ow-bseal { position: absolute; top: 58%; left: 50%; width: 2.2em; height: 2.2em; translate: -50% -50%; border-radius: 50%; display: grid; place-items: center; font-style: normal; color: #fff; transition: opacity .3s;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--accent) 55%, #fff), var(--accent) 60%, color-mix(in srgb, var(--accent) 70%, #000)); }
.ow-ov.opening .ow-bseal { opacity: 0; }
.ow-ov.read .ow-big { transform: translateY(45%) scale(.9); opacity: 0; }
.ow-letter { grid-area: 1 / 1; width: min(19em, 100%); max-height: 100%; overflow: auto; padding: 1.3em 1.3em 1.1em; border-radius: .4em; text-align: left; color: #3a312c;
  background: repeating-linear-gradient(#fffdf6 0 1.55em, #e6edf7 1.55em calc(1.55em + 1px)); box-shadow: 0 1em 2.4em -.6em rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(30%) scale(.85); pointer-events: none; transition: transform .55s cubic-bezier(.3, 1.3, .5, 1), opacity .35s; }
.ow-ov.read .ow-letter { opacity: 1; transform: none; pointer-events: auto; }
.ow-letter h3 { margin: 0 0 .5em; font-family: var(--tf); font-weight: 400; font-size: 1.5em; line-height: 1.2; color: var(--accent-deep, var(--accent)); }
.ow-letter p { margin: 0; font-size: .95em; line-height: 1.63; white-space: pre-line; overflow-wrap: anywhere; }
.ow-letter .ow-sign { margin-top: .8em; text-align: right; font-family: var(--tf); font-size: 1.15em; }
.ow-letter .pl-btn { display: flex; margin: 1em auto 0; }

/* ---------- 4. trang tìm kiếm ---------- */
.gs-win { width: min(20em, 100%); height: min(32em, 90cqh); display: flex; flex-direction: column; overflow: hidden; border-radius: 1em; background: #fff; color: #202124;
  font-family: 'Be Vietnam Pro', Arial, system-ui, sans-serif; box-shadow: 0 1.2em 3em -.8em rgba(0, 0, 0, .5); }
.pl .gs-win button { font-family: inherit; }
.gs-bar { display: flex; align-items: center; gap: .3em; padding: .55em .7em; background: #f1f3f4; border-bottom: 1px solid #e3e5e8; }
.gs-bar > i { width: .55em; height: .55em; border-radius: 50%; background: #ff5f57; }
.gs-bar > i:nth-child(2) { background: #febc2e; }
.gs-bar > i:nth-child(3) { background: #28c840; }
.gs-url { flex: 1; margin-left: .6em; padding: .25em .8em; border-radius: 1em; background: #fff; font-size: .68em; color: #5f6368; }
.gs-body { flex: 1; min-height: 0; overflow: auto; scrollbar-width: thin; }
.gs-home { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1em; padding: 1em; }
.gs-logo { margin: 0; font: 600 2.5em/1.1 'Be Vietnam Pro', system-ui, sans-serif; letter-spacing: -.03em; white-space: nowrap; }
.gs-logo.sm { font-size: 1.15em; }
.gs-box { width: 100%; min-height: 2.9em; display: flex; align-items: center; gap: .5em; padding: .6em .9em; border: 1px solid #dfe1e5; border-radius: 2em; font-size: .85em; box-shadow: 0 .1em .4em rgba(32, 33, 36, .15); }
.gs-box .lens { width: 1.1em; height: 1.1em; color: #9aa0a6; }
.gs-box .mic { width: 1.2em; height: 1.2em; margin-left: auto; color: #4285f4; }
.gs-q { flex: 1; text-align: left; line-height: 1.35; overflow-wrap: anywhere; }
.gs-q.caret::after { content: ''; display: inline-block; width: 1px; height: 1.1em; margin-left: 1px; vertical-align: -.15em; background: #202124; animation: gs-caret 1s steps(1) infinite; }
@keyframes gs-caret { 50% { opacity: 0; } }
.gs-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .5em; }
.gs-btn { padding: .6em .9em; border: 1px solid #f1f3f4; border-radius: .35em; font-size: .72em; color: #3c4043; background: #f8f9fa; cursor: pointer; }
.gs-btns.pulse .gs-btn:first-child { border-color: #4285f4; animation: gs-pulse 1.2s ease-in-out infinite; }
@keyframes gs-pulse { 50% { box-shadow: 0 0 0 .35em rgba(66, 133, 244, .25); } }
.gs-lang { margin: 0; font-size: .65em; color: #70757a; }
.gs-res { padding: .8em .9em 1.2em; text-align: left; animation: fn-fade .35s both; }
.gs-top { display: flex; align-items: center; gap: .6em; }
.gs-pill { flex: 1; min-width: 0; display: flex; align-items: center; gap: .4em; padding: .45em .8em; border-radius: 2em; font-size: .72em; box-shadow: 0 .1em .4em rgba(32, 33, 36, .22); }
.gs-pill > span:first-child { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-pill .lens { width: 1.1em; height: 1.1em; color: #4285f4; }
.gs-tabs { display: flex; gap: 1em; margin: .7em 0 .3em; font-size: .7em; color: #5f6368; border-bottom: 1px solid #ebebeb; }
.gs-tabs span { padding-bottom: .45em; }
.gs-tabs span.on { color: #1a73e8; font-weight: 600; box-shadow: inset 0 -.2em 0 #1a73e8; }
.gs-stats { margin: .4em 0 .7em; font-size: .62em; color: #70757a; }
.gs-panel { padding-bottom: .8em; overflow: hidden; border: 1px solid #dadce0; border-radius: .8em; text-align: center; animation: pl-up .45s both; }
.gs-banner { position: relative; height: 3.4em; margin-bottom: 2.3em; background: linear-gradient(120deg, var(--accent), var(--accent2)); }
.gs-ava { position: absolute; left: 50%; bottom: -.95em; width: 2em; height: 2em; translate: -50% 0; border: .1em solid #fff; border-radius: 50%; display: grid; place-items: center; overflow: hidden; font-size: 2.1em; line-height: 1; background: #fff6f8; }
.gs-ava img { width: 100%; height: 100%; object-fit: cover; }
.gs-name { margin: 0; font-size: 1.35em; font-weight: 700; overflow-wrap: anywhere; }
.gs-role { margin: .15em 0 .6em; font-size: .75em; color: #70757a; }
.gs-facts { display: grid; grid-template-columns: auto 1fr; gap: .35em .7em; margin: 0; padding: .6em 1em 0; border-top: 1px solid #ebebeb; font-size: .72em; text-align: left; }
.gs-facts dt { font-weight: 700; }
.gs-facts dd { margin: 0; color: #4d5156; }
.gs-paa { margin-top: .9em; }
.gs-paa h4 { margin: 0 0 .3em; font-size: .85em; }
.gs-q2 { display: block; width: 100%; padding: .6em .2em; border: 0; border-bottom: 1px solid #ebebeb; background: none; text-align: left; font-size: .75em; color: #202124; cursor: pointer; }
.gs-q2 b { display: flex; justify-content: space-between; gap: .5em; font-weight: 500; }
.gs-q2 b::after { content: '⌄'; color: #5f6368; transition: transform .2s; }
.gs-q2.open b::after { transform: rotate(180deg); }
.gs-q2 span { display: none; margin-top: .4em; line-height: 1.5; color: #4d5156; }
.gs-q2.open span { display: block; animation: pl-up .25s both; }
.gs-link { display: flex; flex-direction: column; gap: .15em; width: 100%; margin-top: 1em; padding: .7em .8em; border: 1px solid #d2e3fc; border-radius: .7em; background: #f8fbff; text-align: left; cursor: pointer; animation: gs-pulse 1.6s ease-in-out 1.2s infinite; }
.gs-link small { font-size: .62em; color: #188038; }
.gs-link b { font-size: .92em; font-weight: 500; color: #1a0dab; }
.gs-link span { font-size: .7em; line-height: 1.45; color: #4d5156; }

/* ---------- 5. pháo hoa viết chữ ---------- */
.pl-skyshow { justify-content: space-between; padding: 7cqh 4cqmin 4cqh; }
.ss-city { position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; width: 100%; height: 16cqh; pointer-events: none; }
.ss-hint { position: relative; z-index: 1; max-width: 19em; font-size: .72em; color: #fff; text-shadow: 0 .1em .4em rgba(0, 0, 0, .55); }
.ss-big { position: relative; z-index: 1; min-height: 1em; margin: 0; color: #fff; font: 800 6em/1 'Montserrat', 'Be Vietnam Pro', system-ui, sans-serif; text-shadow: 0 0 .2em var(--accent2), 0 0 .5em var(--accent); pointer-events: none; }
.ss-big.pop { animation: ss-pop 1s ease-out both; }
@keyframes ss-pop { 0% { transform: scale(2.2); opacity: 0; } 25% { opacity: 1; } 100% { transform: scale(.9); opacity: 0; } }
.ss-big.static { max-width: 12em; font: 400 2.6em/1.15 var(--tf); text-align: center; text-shadow: 0 0 .25em var(--accent2), 0 0 .6em var(--accent); }
.ss-foot { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .4em; margin-bottom: 9cqh; }
.ss-step { min-height: 1.2em; font-size: .75em; color: #fff; opacity: .75; font-variant-numeric: tabular-nums; }
.ss-fire { padding: .85em 1.7em; font-size: 1.05em; box-shadow: 0 0 1.4em color-mix(in srgb, var(--accent) 75%, transparent); animation: ss-throb 1.6s ease-in-out infinite; }
.ss-fire:disabled { animation: none; opacity: .6; }
@keyframes ss-throb { 50% { transform: scale(1.06); } }
.ss-glow { position: absolute; z-index: 0; width: 34cqmin; aspect-ratio: 1; border-radius: 50%; opacity: .9; pointer-events: none;
  background: repeating-conic-gradient(color-mix(in srgb, var(--accent2) 85%, #fff) 0 2deg, transparent 2deg 12deg);
  -webkit-mask: radial-gradient(circle, transparent 16%, #000 19%, #000 42%, transparent 70%); mask: radial-gradient(circle, transparent 16%, #000 19%, #000 42%, transparent 70%); }
.ss-glow.a { left: 6%; top: 12%; }
.ss-glow.b { right: 6%; top: 30%; width: 26cqmin; background: repeating-conic-gradient(color-mix(in srgb, var(--accent) 80%, #fff) 0 2deg, transparent 2deg 12deg); }

@media (prefers-reduced-motion: reduce) {
  .vc-btn.yes, .ss-fire, .gs-link, .ow-last, .vc-avawrap > i { animation: none; }
}
