#fft-christmas-scene {
  --xgold:#ffdf9f;
  --xcream:#fffcf6;
  --xink:#171433;
  --xbase:#10102b;
  --xmuted:#e0dcef;
  --xsoft:#262440;
  --xedge:#ffffff26;
  position:fixed;
  inset:0;
  width:min(calc(100vw - 28px), 880px, 162vh);
  max-width:none;
  max-height:calc(100vh - 28px);
  margin:auto;
  padding:0;
  border:0;
  border-radius:16px;
  background:var(--xbase);
  color:var(--xcream);
  box-shadow:0 12px 35px #0e0b2470;
  container-type:inline-size;
  font:14px/1.26 system-ui,sans-serif;
}
#fft-christmas-scene::backdrop {background:#0e0d2f9e;backdrop-filter:blur(3px)}
#fft-christmas-scene *, #fft-christmas-scene {box-sizing:border-box}
#fft-christmas-scene [hidden] {display:none!important}
#fft-christmas-scene .xscene-layout {position:relative;display:grid;grid-template-columns:48% 52%;min-width:0;aspect-ratio:16/9}
#fft-christmas-scene :is(p,h2) {margin:0;color:inherit}
#fft-christmas-scene .xscene-photo {position:relative;min-width:0;min-height:0;overflow:hidden;background:#2c2313}
#fft-christmas-scene .xscene-tree {width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center 72%}
#fft-christmas-scene .xscene-photo::after {content:"";position:absolute;inset:70% 0 0;background:linear-gradient(transparent,#23140768);pointer-events:none}
#fft-christmas-scene .xscene-gifts {position:absolute;bottom:7%;inset-inline:3%;z-index:1;display:grid;gap:clamp(2px,.65cqw,6px);justify-items:center}
#fft-christmas-scene .xscene-gifts>div {display:flex;align-items:end;justify-content:center;gap:clamp(2px,.62cqw,5px);width:100%}
#fft-christmas-scene .xscene-gifts img {display:block;object-fit:contain;object-position:bottom;filter:drop-shadow(1px 3px 4px #150801b0);transform:rotate(-4deg);transform-origin:bottom center}
#fft-christmas-scene .xscene-gifts img:nth-child(even) {transform:rotate(4deg) translateY(3%)}
#fft-christmas-scene .xscene-gifts>.xscene-books {gap:0}
#fft-christmas-scene .xscene-books img {width:17%;height:clamp(48px,10cqw,88px)}
#fft-christmas-scene .xscene-books img+img {margin-inline-start:-1%}
#fft-christmas-scene .xscene-courses img {width:30%;height:clamp(40px,7.8cqw,68px)}
#fft-christmas-scene .xscene-english img {width:25%;height:clamp(60px,13cqw,112px)}
#fft-christmas-scene .xscene-english .xscene-deeper-en {width:40%}
#fft-christmas-scene .xscene-content {min-width:0;display:grid;align-content:center;gap:clamp(5px,1.15cqw,11px);padding:clamp(11px,3.05cqw,27px);font-size:clamp(12px,1.8cqw,15px)}
#fft-christmas-scene .xscene-content .xscene-label {color:var(--xgold);font-size:.84em;font-weight:700;letter-spacing:.13em;text-transform:uppercase;padding-right:25px}
#fft-christmas-scene .xscene-content h2 {font:700 clamp(23px,4.3cqw,40px)/1.01 Georgia,serif;letter-spacing:-.036em;max-width:16ch}
#fft-christmas-scene .xscene-countdown {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
#fft-christmas-scene .xscene-countdown div {display:grid;gap:1px;text-align:center;padding:clamp(3px,.75cqw,7px) 2px;background:var(--xsoft);border-radius:8px;color:var(--xgold)}
#fft-christmas-scene .xscene-countdown b {font-size:clamp(17px,3cqw,28px);font-variant-numeric:tabular-nums;line-height:1}
#fft-christmas-scene .xscene-countdown span, #fft-christmas-scene .xscene-content .xscene-deadline {font-size:.83em;color:var(--xmuted)}
#fft-christmas-scene .xscene-offers {display:grid;gap:3px}
#fft-christmas-scene .xscene-content .xscene-checkout-notice {color:var(--xgold)}
#fft-christmas-scene .xscene-code {display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:44px;flex-wrap:wrap;font:inherit;width:100%;background:#ffe5ae15;color:var(--xgold);border:1px dashed #ffdf9f70;border-radius:8px;padding:5px 9px;text-align:start}
#fft-christmas-scene .xscene-code strong {font:750 clamp(16px,2.4cqw,22px)/1 ui-monospace,Menlo,monospace;letter-spacing:.05em}
#fft-christmas-scene .xscene-code span {font-size:.91em}
#fft-christmas-scene .xscene-manual {font:inherit;width:100%;color:var(--xcream);background:var(--xsoft);padding:5px 9px;border:1px solid var(--xedge)}
#fft-christmas-scene .xscene-cta {min-height:44px;display:flex;align-items:center;justify-content:center;gap:.45em;color:var(--xink);background:var(--xgold);border-radius:8px;padding:5px 9px;font:inherit;font-weight:750;text-decoration:none}
#fft-christmas-scene .xscene-close {width:44px;height:44px;z-index:2;position:absolute;top:5px;right:5px;border:1px solid var(--xedge);border-radius:50%;background:#10102bbd;color:var(--xcream);font:26px/1 system-ui;padding:0}
#fft-christmas-scene :is(button,a) {cursor:pointer}
#fft-christmas-scene :is(button,a,input):focus-visible {outline:2px solid #fff;outline-offset:3px}
@media (max-width:600px) {
  #fft-christmas-scene {width:min(calc(100vw - 16px),370px);max-height:calc(100dvh - 16px)}
  #fft-christmas-scene .xscene-layout {aspect-ratio:9/16;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(165px,43fr) minmax(min-content,57fr)}
  #fft-christmas-scene .xscene-photo {border-radius:0 0 12px 12px}
  #fft-christmas-scene .xscene-tree {object-position:center 67%}
  #fft-christmas-scene .xscene-content {padding:12px 15px;gap:7px;font-size:13px}
  #fft-christmas-scene .xscene-content h2 {font-size:clamp(23px,8cqw,30px)}
  #fft-christmas-scene .xscene-books img {height:clamp(50px,17cqw,63px)}
  #fft-christmas-scene .xscene-courses img {height:clamp(44px,14cqw,52px)}
  #fft-christmas-scene .xscene-english img {height:clamp(67px,23cqw,85px)}
}
