/* GaadiBondhu Christmas story. Three modes, chosen in <head> before first paint:
   .xlive   scroll-driven sticky stage (3D when WebGL is available, poster otherwise)
   .xlite   low-power device: same scroll story with the poster and 2D snow, no WebGL
   default  (reduced motion, skipped, or no JS) a calm, fully readable stacked layout */

.xstory {
  --x-night: #060a13;
  --x-ink: #fff8e7;
  --x-gold: #ffc841;
  --x-muted: #c9c0ae;
  --x-red: #d23a4a;
  --x-green: #2e6b4f;
  position: relative;
  color: var(--x-ink);
  background: var(--x-night);
}
.xstage { position: relative; isolation: isolate; overflow: hidden; padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 8vw, 110px); }
.xsky {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(ellipse 60% 40% at 72% 18%, #1d2c4a 0, transparent 70%),
    radial-gradient(ellipse 80% 50% at 50% 110%, #2a2012 0, transparent 70%),
    linear-gradient(180deg, #040812 0%, #0b1426 45%, #18213a 75%, #2b2a2e 100%);
}
.xmoon { position: absolute; right: 16%; top: 10%; width: clamp(48px, 6vw, 86px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #fffbe9, #f3e3b6 60%, #d9c48f); box-shadow: 0 0 60px 18px #f7e4a838, 0 0 160px 60px #9fb6ff14; }
.xposter { display: block; width: min(560px, 86vw); margin: 0 auto 10px; }
.xposter img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px #0009); }
.xcanvas, .xflakes, .xvignette, .xcue, .xgifts, .xcanvas + .xflakes { display: none; }
.xtools { display: flex; justify-content: center; gap: 8px; margin: 0 auto 26px; width: min(var(--gb-width, 1160px), calc(100% - 40px)); }
.xbtn {
  min-height: 38px; width: auto; height: auto; padding: 8px 14px; border-radius: 999px; border: 1px solid #ffffff3d;
  background: #0b0f18b8; color: var(--x-ink); font: 650 .84rem/1 var(--gb-font); cursor: pointer; box-shadow: none;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.xbtn:hover { border-color: var(--x-gold); color: var(--x-gold); }
.xbtn:focus-visible, .xgifts button:focus-visible, .xstory a:focus-visible { outline: 3px solid var(--x-gold); outline-offset: 3px; }
#xsound { display: none; }
.xreduce .xtools { display: none; }

/* ---------- static (default) layout: every gift readable in normal flow ---------- */
.xcaps { width: min(var(--gb-width, 1160px), calc(100% - 2 * clamp(20px, 4.4vw, 70px))); margin-inline: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.xcap { --k: 1; min-width: 0; }
.xintro, .xline, .xfinal { grid-column: 1 / -1; }
.xintro { text-align: center; margin-bottom: 18px; }
.xintro .xsub { margin-inline: auto; }
.xintro .gb-actions { justify-content: center; }
.xline { text-align: center; }
.xline .xbig { margin: 0; }
.xways { margin: 12px 0 18px; }
.xgift .xcap-in { height: 100%; padding: clamp(20px, 2.6vw, 30px); border-radius: 18px; background: #0d1220e6; border: 1px solid #ffd67824; }
.xfinal { text-align: center; margin-top: 30px; }

/* ---------- caption typography ---------- */
.xkick { margin: 0 0 12px; color: var(--x-gold); font-family: var(--gb-mono); font-weight: 500; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.xkick-n { color: #fff8e7; }
.xcap h1, .xcap h2 { margin: 0; color: var(--x-ink); font-family: var(--gb-display-font); letter-spacing: -.035em; line-height: 1.06; }
.xintro h1 { font-size: clamp(2.5rem, 6vw, 5.6rem); font-weight: 800; max-width: 13ch; text-wrap: balance; }
.xintro { text-shadow: 0 2px 30px #000c; }
.xstatic .xintro h1, .xstory:not(.xrun) .xintro h1 { margin-inline: auto; }
.xgift h2 { font-size: clamp(1.45rem, 2.5vw, 2.15rem); font-weight: 800; text-wrap: balance; }
.xsub { margin: 14px 0 0; max-width: 52ch; color: var(--x-muted); font-size: clamp(.98rem, 1.3vw, 1.08rem); line-height: 1.6; }
.xbig { font-family: var(--gb-font); font-weight: 800; font-size: clamp(2.3rem, 6.2vw, 5.8rem); line-height: 1.02; letter-spacing: -.045em; color: var(--x-ink); text-shadow: 0 4px 40px #000d; text-wrap: balance; }
.xbig em { font-style: normal; color: var(--x-gold); }
.xways .xbig { font-size: clamp(2rem, 5vw, 4.6rem); }
.xways .xsub { margin-inline: auto; text-align: center; }
.xmore { display: inline-flex; gap: 6px; margin-top: 16px; color: var(--x-gold); font-weight: 750; text-underline-offset: 4px; }
.xbrand { margin: 0; font-family: var(--gb-display-font); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: clamp(2rem, 5.6vw, 4.8rem); line-height: 1;
  background: linear-gradient(180deg, #fff3c9, var(--x-gold) 55%, #c98d1c); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 24px #000a); }
.xtag { margin: 10px 0 0; font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; color: var(--x-ink); }
.xmsg { margin: 8px auto 0; max-width: 40ch; color: var(--x-muted); font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.55; }
.xfinal .gb-actions { justify-content: center; }
.xnote { margin: 18px auto 0; max-width: 70ch; color: #a99f8c; font-size: .8rem; line-height: 1.5; }
.xstory .gb-cta-secondary { border-color: #ffffff55; color: var(--x-ink); background: #0a0d1599; }
.xstory .gb-cta-secondary:hover { border-color: var(--x-gold); color: var(--x-gold); }

/* ---------- gift panels: scrubbed by --k (0 → 1 within each gift chapter) ---------- */
.xp { --b: .28; --st: .06; margin-top: 18px; font-size: .9rem; }
.xp li, .xp .xa, .xp-ladder span, .xp-sheets span, .xp tr { --s: calc(var(--b) + var(--i, 0) * var(--st)); --t: clamp(0, (var(--k) - var(--s)) / .1, 1);
  opacity: var(--t); transform: translateY(calc((1 - var(--t)) * 10px)); }
.xp ul, .xp ol { list-style: none; margin: 0; padding: 0; }
.xp-cap, .xp-note { --t: clamp(0, (var(--k) - .78) / .1, 1); opacity: var(--t); margin: 10px 0 0; color: #b9b09e; font-size: .8rem; }
.xp-note { --t: 1; line-height: 1.45; }
.xp-tag { display: inline-block; margin-right: 6px; padding: 2px 7px; border-radius: 5px; background: #ffc84126; color: var(--x-gold); font-weight: 800; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }

.xp-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.xp-chips li { padding: 6px 11px; border-radius: 999px; border: 1px solid #ffffff2e; background: #ffffff0d; color: #efe6d4; font-weight: 650; }
.xp-ladder { --b: .5; --st: .07; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.xp-ladder span { --h: clamp(0, (var(--k) - .72) / .1, 1); position: relative; display: grid; place-items: center; min-height: 58px; padding: 8px; border-radius: 12px; border: 1px solid #ffffff24; background: #ffffff08; font-weight: 800; text-align: center; }
.xp-ladder span:nth-child(1) { height: 58px; align-self: end; }
.xp-ladder .is-best { border-color: rgba(255, 200, 65, calc(.25 + var(--h) * .75)); box-shadow: 0 0 calc(var(--h) * 26px) #ffc84155; }
.xp-ladder b { display: block; margin-top: 3px; color: var(--x-gold); font-size: .7rem; letter-spacing: .04em; opacity: var(--h); }

.xp-quotes { --c: clamp(0, (var(--k) - .36) / .16, 1); }
.xp-sheets { display: flex; justify-content: center; gap: 8px; height: calc((1 - var(--c)) * 84px); overflow: hidden; opacity: calc(1 - var(--c)); }
.xp-sheets span { --b: .25; --st: .06; display: grid; align-content: start; gap: 6px; width: 92px; height: 74px; padding: 9px; border-radius: 8px; background: #fffdf7; color: #1d1a14;
  transform: translateX(calc((1 - var(--i)) * var(--c) * 96px)) rotate(calc((var(--i) - 1) * (1 - var(--c)) * 7deg)); }
.xp-sheets b { font-size: .66rem; }
.xp-sheets i { display: block; height: 5px; border-radius: 4px; background: #e2d9c6; }
.xp-sheets i:nth-of-type(2) { width: 70%; }
.xp-rows { --b: .44; --st: .05; display: grid; gap: 5px; }
.xp-rows li { display: grid; grid-template-columns: 1fr repeat(3, 14px); gap: 8px; align-items: center; padding: 7px 10px; border-radius: 9px; background: #ffffff0b; color: #efe6d4; }
.xp-rows i { width: 12px; height: 12px; border-radius: 50%; background: #ffffff26; }
.xp-rows li i:nth-of-type(2) { background: var(--x-gold); box-shadow: 0 0 10px #ffc84188; }

.xp-talk ol { --b: .28; --st: .13; display: grid; gap: 8px; }
.xp-talk li { max-width: 88%; padding: 9px 13px; border-radius: 14px 14px 14px 4px; background: #ffffff12; color: #f3ead9; line-height: 1.4; }
.xp-talk li:nth-child(2) { justify-self: end; border-radius: 14px 14px 4px 14px; background: #ffc8411f; }
.xp-result { --t: clamp(0, (var(--k) - .74) / .1, 1); opacity: var(--t); transform: scale(calc(.9 + var(--t) * .1)); display: inline-flex; gap: 8px; margin: 12px 0 0; padding: 8px 14px; border-radius: 999px; background: var(--x-gold); color: #20190a; font-weight: 800; }

.xp-cover table { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.xp-cover th { text-align: left; font-weight: 650; color: #d9cfbd; padding-right: 10px; white-space: nowrap; font-size: .8rem; }
.xp-cover thead th { color: var(--x-gold); font-size: .72rem; letter-spacing: .05em; }
.xp-cover tr { --b: .3; --st: .08; }
.xp-cover td { width: 24%; padding-right: 6px; }
.xp-cover td i { display: block; height: 9px; border-radius: 6px; background: linear-gradient(90deg, var(--x-gold), #ffe39a); transform-origin: left; transform: scaleX(calc(var(--t) * var(--w))); }
.xp-cover td + td i { background: linear-gradient(90deg, #7fb59a, #bfe0cf); }
.xp-cover td + td + td i { background: linear-gradient(90deg, #e57b86, #f3b8bf); }

.xp-emi dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.xp-emi dl > div { --b: .26; --st: .07; --s: calc(var(--b) + var(--i) * var(--st)); --t: clamp(0, (var(--k) - var(--s)) / .1, 1); opacity: var(--t); padding: 11px 13px; border-radius: 12px; background: #ffffff0c; border: 1px solid #ffffff1a; }
.xp-emi dl > div:last-child { background: #ffc8411c; border-color: #ffc84170; }
.xp-emi dt { color: #bdb3a0; font-size: .76rem; font-weight: 650; }
.xp-emi dd { margin: 3px 0 0; font-weight: 800; font-size: clamp(1.05rem, 1.7vw, 1.35rem); font-variant-numeric: tabular-nums; color: #fff8e7; }

.xp-addons ul { --b: .26; --st: .04; display: grid; gap: 5px; }
.xp-addons li { position: relative; padding: 7px 11px; border-radius: 9px; background: #ffffff0b; color: #efe6d4; }
.xp-addons li.is-opt { --x: clamp(0, (var(--k) - (.45 + (var(--i) - 3) * .1)) / .1, 1); color: color-mix(in srgb, #efe6d4 calc(100% - var(--x) * 45%), #7d7466); }
.xp-addons li.is-opt::after { content: ''; position: absolute; left: 10px; right: 10px; top: 50%; height: 2px; background: var(--x-red); transform-origin: left; transform: scaleX(var(--x)); }

.xp-checks ul { --b: .26; --st: .065; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.xp-checks li { display: flex; gap: 8px; align-items: center; padding: 7px 10px; border-radius: 9px; background: #ffffff0b; color: #efe6d4; font-weight: 650; }
.xp-checks li::before { content: '\2713'; display: grid; place-items: center; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; background: #2f7a55; color: #fff; font-size: .72rem; font-weight: 900; transform: scale(var(--t)); }

.xp-docs { position: relative; }
.xp-docs ul { --b: .28; --st: .1; display: grid; gap: 6px; }
.xp-docs li { padding: 9px 12px; border-radius: 9px; background: #fffdf714; border-left: 3px solid var(--x-gold); color: #efe6d4; }
.xp-stamp { --t: clamp(0, (var(--k) - .78) / .08, 1); position: absolute; right: 6px; bottom: -6px; padding: 6px 12px; border: 3px solid #4fbf86; border-radius: 8px; color: #6fe0a6; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem;
  opacity: var(--t); transform: rotate(-9deg) scale(calc(1.6 - var(--t) * .6)); background: #0b1a12cc; }

.xp-steps ol { --b: .28; --st: .12; display: grid; gap: 6px; counter-reset: xs; }
.xp-steps li { counter-increment: xs; display: flex; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 10px; background: #ffffff0b; color: #efe6d4; }
.xp-steps li::before { content: counter(xs); display: grid; place-items: center; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--x-gold); color: #20190a; font-weight: 900; font-size: .78rem; }
.xp-steps li:last-child { background: #ffc8411f; border: 1px solid #ffc84155; }

.xp-all ul { --b: .22; --st: .045; display: flex; flex-wrap: wrap; gap: 6px; }
.xp-all li { padding: 6px 11px; border-radius: 999px; background: #ffc8411f; border: 1px solid #ffc84150; color: #fff3d0; font-weight: 700; font-size: .82rem; }

/* ---------- live: the sticky, scroll-driven stage ---------- */
.xlive .xstory { height: 1400vh; height: 1400svh; }
.xlive .xstage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; }
.xlive .xcanvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity .8s ease; }
.xlive .x3d .xcanvas { opacity: 1; }
.xlive .xflakes { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.xlive .xvignette { display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, #050810d9 0%, #05081099 26%, transparent 50%), linear-gradient(0deg, #050810aa 0%, transparent 22%); transition: opacity .6s; }
.xlive .xstage.xat-line .xvignette { opacity: .45; }
.xlive .xposter { position: absolute; z-index: -1; margin: 0; right: max(2vw, calc((100vw - 1260px) / 2)); bottom: 6vh; width: min(52vw, 720px); transition: opacity .8s ease, transform .8s ease; }
.xlive .x3d .xposter { opacity: 0; transform: scale(.97); pointer-events: none; }
.xlive .xtools { position: absolute; z-index: 3; top: 92px; right: max(20px, calc((100vw - 1160px) / 2)); width: auto; margin: 0; }
.xlive #xsound { display: inline-flex; align-items: center; }
.xlive .xgifts { display: block; position: absolute; z-index: 3; right: max(20px, calc((100vw - 1160px) / 2) - 10px); top: 50%; transform: translateY(-50%); }
.xgifts ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.xgifts button {
  position: relative; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 12px; min-height: 0;
  background: #0b0f18a6; box-shadow: inset 0 0 0 1px #ffffff1f; cursor: pointer; color: var(--x-ink);
}
.xgifts button:hover { box-shadow: inset 0 0 0 1px var(--x-gold); }
.xg-box { position: relative; display: block; width: 18px; height: 14px; margin-top: 4px; border-radius: 2px; background: #59506a; transition: background .35s; }
.xg-lid { position: absolute; left: -2px; right: -2px; top: -5px; height: 5px; border-radius: 2px; background: #6d6380; transition: transform .45s cubic-bezier(.2,.8,.2,1.2), background .35s; transform-origin: 0 100%; }
.xg-rib { position: absolute; left: 50%; top: -5px; bottom: 0; width: 3px; margin-left: -1.5px; background: #a79bbd; transition: background .35s; }
.xg-n { position: absolute; right: 46px; top: 50%; transform: translateY(-50%); font-size: .7rem; font-weight: 800; color: #fff8e7; opacity: 0; transition: opacity .25s; pointer-events: none; white-space: nowrap; }
.xgifts button:hover .xg-n, .xgifts button:focus-visible .xg-n, .xgifts li.cur .xg-n { opacity: 1; }
.xgifts li.lit .xg-box { background: var(--x-red); }
.xgifts li.lit:nth-child(3n+2) .xg-box { background: var(--x-green); }
.xgifts li.lit:nth-child(3n) .xg-box { background: #d8a227; }
.xgifts li.lit .xg-lid { background: var(--x-gold); transform: translateY(-3px) rotate(-24deg); }
.xgifts li.lit .xg-rib { background: var(--x-gold); }
.xgifts li.cur button { box-shadow: inset 0 0 0 2px var(--x-gold), 0 0 18px #ffc84155; }
.xcount { margin: 8px 0 0; text-align: center; font: 800 .7rem/1 var(--gb-font); letter-spacing: .08em; color: var(--x-muted); }

.xlive .xcaps { position: absolute; inset: 0; z-index: 2; display: block; width: auto; margin: 0; pointer-events: none; }
.xlive .xcap { position: absolute; visibility: hidden; opacity: 0; transition: opacity .45s ease, transform .55s cubic-bezier(.2,.7,.2,1), visibility 0s linear .45s; pointer-events: auto; }
.xlive .xcap.on { visibility: visible; opacity: 1; transition: opacity .55s ease .05s, transform .6s cubic-bezier(.2,.7,.2,1) .05s, visibility 0s; }
.xlive .xintro, .xlive .xgift { left: max(24px, calc((100vw - 1160px) / 2)); top: 50%; width: min(470px, 40vw); transform: translate(-18px, -46%); text-align: left; margin: 0; }
.xlive .xintro.on, .xlive .xgift.on { transform: translate(0, -50%); }
.xlive .xintro { width: min(620px, 48vw); top: 54%; }
.xlive .xintro h1 { margin-inline: 0; }
.xlive .xintro .xsub { margin-inline: 0; }
.xlive .xintro .gb-actions { justify-content: flex-start; }
.xlive .xgift .xcap-in { background: #0a0e18c4; -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 30px 60px #0007; }
.xlive .xline { left: 6%; right: 6%; top: 24%; transform: translateY(16px); }
.xlive .xline.on { transform: none; }
.xlive .xfinal { left: max(24px, calc((100vw - 1160px) / 2)); top: 50%; width: min(540px, 44vw); margin: 0; text-align: left; transform: translate(-18px, -46%); }
.xlive .xfinal.on { transform: translate(0, -50%); }
.xlive .xfinal .gb-actions { justify-content: flex-start; }
.xlive .xfinal .xmsg, .xlive .xfinal .xnote { margin-inline: 0; }
.xlive .xfinal .xbrand { font-size: clamp(1.8rem, 3vw, 3rem); letter-spacing: .08em; overflow-wrap: anywhere; }
.xlive .xfinal .xcap-in { padding: 28px 30px; border-radius: 22px; background: radial-gradient(ellipse at 50% 0, #0c1426d9, #070b14e6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid #ffd67833; }
.xlive .xcue { display: flex; position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%); flex-direction: column; align-items: center; gap: 8px; margin: 0;
  color: #e8dfcc; font-size: .82rem; font-weight: 700; letter-spacing: .04em; transition: opacity .4s; pointer-events: none; }
.xcue i { width: 22px; height: 34px; border: 2px solid #ffffffa0; border-radius: 12px; position: relative; }
.xcue i::after { content: ''; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--x-gold); animation: xcue 1.6s ease-in-out infinite; }
@keyframes xcue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
.xlite .xstage .xposter { filter: saturate(1.05); }

/* 3D not available: show the poster and let CSS gently animate it */
.xlive .xstage:not(.x3d) .xposter img { animation: xfloat 7s ease-in-out infinite; }
@keyframes xfloat { 50% { transform: translateY(-10px); } }

/* ---------- small screens: caption becomes a bottom sheet, gifts become a top rail ---------- */
@media (max-width: 860px), (max-aspect-ratio: 4/5) {
  .xlive .xstory { height: 1300vh; height: 1300svh; }
  .xlive .xtools { top: 72px; right: 12px; gap: 6px; }
  .xbtn { min-height: 32px; padding: 6px 11px; font-size: .76rem; }
  .xlive .xgifts { right: auto; left: 12px; top: 114px; transform: none; }
  .xgifts ol { grid-auto-flow: column; gap: 3px; }
  .xgifts button { width: 25px; height: 30px; border-radius: 8px; }
  .xg-box { width: 13px; height: 10px; margin-top: 3px; }
  .xg-lid { top: -4px; height: 4px; }
  .xg-rib { top: -4px; width: 2px; margin-left: -1px; }
  .xg-n, .xcount { display: none; }
  .xlive .xvignette { background: linear-gradient(0deg, #050810f2 0%, #050810b3 38%, transparent 62%), linear-gradient(180deg, #050810b3 0%, transparent 22%); }
  .xlive .xintro, .xlive .xgift { left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; transform: translateY(18px); }
  .xlive .xintro.on, .xlive .xgift.on { transform: none; }
  .xlive .xintro { bottom: 100px; }
  .xlive .xgift .xcap-in { padding: 16px 16px 14px; border-radius: 16px; max-height: calc(58svh - 12px); overflow: hidden; }
  .xintro h1 { font-size: clamp(2.2rem, 10.5vw, 3.2rem); }
  .xgift h2 { font-size: clamp(1.2rem, 5.4vw, 1.5rem); }
  .xsub { font-size: .9rem; line-height: 1.5; margin-top: 8px; }
  .xkick { font-size: .7rem; margin-bottom: 7px; }
  .xlive .xgift .xsub { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .xp { margin-top: 10px; font-size: .8rem; }
  .xmore { margin-top: 10px; font-size: .9rem; }
  .xlive .xline { top: 30%; }
  .xbig { font-size: clamp(2.1rem, 10vw, 3.4rem); }
  .xways .xbig { font-size: clamp(1.9rem, 8.6vw, 3rem); }
  .xlive .xfinal { left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; transform: translateY(18px); text-align: center; }
  .xlive .xfinal.on { transform: none; }
  .xlive .xfinal .gb-actions { justify-content: center; }
  .xlive .xfinal .xmsg, .xlive .xfinal .xnote { margin-inline: auto; }
  .xlive .xfinal .xcap-in { padding: 18px 16px; }
  .xbrand { font-size: clamp(1.8rem, 9vw, 2.6rem); }
  .xnote { font-size: .72rem; }
  .xlive .xposter { right: 50%; bottom: auto; top: 108px; width: min(86vw, 440px); transform: translateX(50%); }
  .xlive .x3d .xposter { transform: translateX(50%) scale(.97); }
  .xlive .xcue { bottom: 14px; }
  .xp-chips li, .xp-all li { padding: 4px 9px; }
  .xp-ladder span { min-height: 44px; }
  .xp-ladder span:nth-child(1) { height: 44px; }
  .xp-sheets span { width: 74px; height: 60px; }
  .xp-rows li, .xp-addons li, .xp-checks li, .xp-docs li, .xp-steps li { padding: 5px 9px; }
  .xp-rows li:nth-child(n+4) { display: none; }
  .xp-checks ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .xp-checks li { font-size: .7rem; padding: 5px 5px; gap: 4px; }
  .xp-checks li::before { width: 14px; height: 14px; font-size: .55rem; }
  .xp-addons li:nth-child(-n+2) { display: none; }
  .xp-talk li { padding: 6px 10px; }
  .xp-emi dd { font-size: 1rem; }
  .xp-emi dl > div { padding: 8px 10px; }
}
@media (max-width: 860px) and (max-height: 700px), (max-aspect-ratio: 4/5) and (max-height: 700px) {
  .xlive .xgift .xsub { -webkit-line-clamp: 2; }
  .xp-checks ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .xp-checks li { font-size: .7rem; padding: 4px 5px; gap: 4px; }
  .xp-checks li::before { width: 14px; height: 14px; font-size: .55rem; }
  .xp-talk li:nth-child(3) { display: none; }
  .xp-docs li:nth-child(4) { display: none; }
  .xp-steps li:nth-child(1) { display: none; }
}
@media (max-width: 860px) {
  .xcaps { grid-template-columns: 1fr; }
}
@media (min-width: 861px) and (max-height: 760px) {
  .xlive .xgift .xsub { font-size: .92rem; }
  .xp-rows li:nth-child(n+5) { display: none; }
  .xgifts button { width: 34px; height: 34px; }
}

/* ---------- Bengali ---------- */
.xstory:lang(bn) .xkick { letter-spacing: 0; text-transform: none; font-size: .9rem; font-weight: 600; }
.xstory:lang(bn) h1, .xstory:lang(bn) h2, .xstory:lang(bn) .xbig { font-family: 'Hind Siliguri', 'Noto Sans Bengali', var(--gb-font); letter-spacing: 0; line-height: 1.28; font-weight: 700; }
.xstory:lang(bn) .xintro h1 { font-size: clamp(2.3rem, 5.2vw, 4.8rem); max-width: 14ch; }
.xstory:lang(bn) .xbig { font-size: clamp(2.1rem, 5.4vw, 5rem); }
.xstory:lang(bn) .xways .xbig { font-size: clamp(1.9rem, 4.4vw, 4rem); }
.xstory:lang(bn) .xsub, .xstory:lang(bn) .xmsg { line-height: 1.75; }
.xstory:lang(bn) .xbrand { letter-spacing: 0; text-transform: none; line-height: 1.25; font-family: 'Hind Siliguri', var(--gb-font); font-weight: 700; }
.xstory:lang(bn) .xp-tag, .xstory:lang(bn) .xp-stamp, .xstory:lang(bn) .xp-cover thead th { letter-spacing: 0; text-transform: none; }
.xstory:lang(bn) .xp-ladder b { letter-spacing: 0; }
@media (max-width: 860px), (max-aspect-ratio: 4/5) {
  .xstory:lang(bn) .xintro h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .xstory:lang(bn) .xbig { font-size: clamp(1.9rem, 8.6vw, 3rem); }
  .xstory:lang(bn) .xways .xbig { font-size: clamp(1.7rem, 7.6vw, 2.6rem); }
  .xstory:lang(bn) .xgift h2 { font-size: clamp(1.15rem, 5vw, 1.4rem); line-height: 1.35; }
}

@media (prefers-reduced-motion: reduce) {
  .xcue i::after, .xlive .xstage:not(.x3d) .xposter img { animation: none; }
  .xcap, .xlive .xcap { transition: none !important; }
}
