html.chest-standalone{
  font-size:15px;
}
.chest-surface{
  color-scheme:dark;
  --bg:#0b1813;
  --panel:#10221b;
  --panel-2:#142a21;
  --line:#2b4335;
  --line-gold:#6b573b;
  --ink:#f1ebdc;
  --muted:#aebdb0;
  --subtle:#8da596;
  --gold:#efc985;
  --gold-hi:#ffe5af;
  --mint:#a0d5b0;
  --heading:Georgia,"Times New Roman",serif;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.45;
}
.chest-surface *,.chest-surface *::before,.chest-surface *::after{box-sizing:border-box}
html.chest-standalone{background:var(--sunduq-page)}
body.chest-surface{
  margin:0;
  color:var(--ink);
  min-width:0;
  min-height:100vh;
  background:radial-gradient(ellipse at 48% 4%,#1b3024 0%,#0f2018 35%,var(--bg) 74%);
  -webkit-tap-highlight-color:transparent
}
.chest-surface button,.chest-surface input,.chest-surface a{font:inherit}
.chest-surface a{color:inherit;text-decoration:none}
.chest-surface button{color:inherit;cursor:pointer}
.chest-surface button:disabled{cursor:default}
.chest-surface svg{display:block;flex:none}
.chest-surface :focus-visible{outline:2px solid var(--gold-hi);outline-offset:4px}
.chest-surface :focus:not(:focus-visible){outline:none}
.chest-surface [data-chest-view]:focus{outline:none}
.chest-surface [hidden]{display:none!important}
.chest-surface p,.chest-surface h1,.chest-surface h2,.chest-surface h3{margin:0}
.chest-surface ul,.chest-surface ol{padding:0;margin:0;list-style:none}
.chest-surface h1,.chest-surface h2,.chest-surface h3{line-height:1.12}
.chest-surface h1,.chest-surface h2{font-family:var(--heading);font-weight:500}
.chest-surface h1{font-size:clamp(2.55rem,5.2vw,4.55rem);letter-spacing:-.045em;color:#fff2d8}
.chest-surface h2{font-size:1.72rem;letter-spacing:-.025em}
.chest-surface h3{font-size:1.05rem}
.chest-surface .top{
  padding-top:env(safe-area-inset-top);
  background:#0b1813e8;
  border-bottom:1px solid #bca27526
}
.chest-surface .top-inner{
  width:min(1160px,100%);margin:auto;
  padding:0 max(24px,env(safe-area-inset-right)) 0 max(24px,env(safe-area-inset-left));
  min-height:76px;
  display:flex;align-items:center;justify-content:space-between;gap:20px
}
.chest-surface .brand{display:flex;align-items:center;gap:11px;flex:none}
.chest-surface .brand-emblem{
  display:grid;place-items:center;width:42px;height:42px;border-radius:12px;
  background:linear-gradient(145deg,#ffe5a9,#d29954);color:#3c2b18;
  border:1px solid #ffe2a7;box-shadow:0 2px 16px #dda34726,inset 0 1px 0 #fff4d2
}
.chest-surface .brand strong{font-family:var(--heading);font-size:1.46rem;line-height:1;display:block;color:#fff3d6}
.chest-surface .brand small{font-size:.68rem;letter-spacing:.075em;display:block;color:#b5a991;margin-top:4px}
.chest-surface .desktop-nav{display:flex;gap:6px;align-self:stretch;align-items:center}
.chest-surface .desktop-nav a{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:.86rem;padding:9px 12px;border-radius:9px;white-space:nowrap}
.chest-surface .desktop-nav a svg{width:17px;height:17px}
.chest-surface .desktop-nav a[aria-current]{background:#253629;color:var(--gold-hi);box-shadow:inset 0 0 0 1px #c09d5d30}
.chest-surface .desktop-nav a:hover,.chest-surface .icon-button:hover{background:#2b4033;color:#fff0cf}
.chest-surface .top-actions{display:flex;align-items:center;gap:8px}
.chest-surface .icon-button,.chest-surface .balance-chip{
  display:grid;place-items:center;height:41px;min-width:41px;padding:0 8px;
  border:1px solid #34493b;border-radius:10px;background:#12231c;color:#c5cdbd
}
.chest-surface .balance-chip{display:flex;gap:7px;color:var(--gold-hi);padding:0 11px;font-variant-numeric:tabular-nums}
.chest-surface .balance-chip svg{color:var(--gold)}
.chest-surface .mobile-nav{display:none}
.chest-surface .layout,.chest-surface .footer{width:min(1160px,100%);margin:auto;padding-inline:max(24px,env(safe-area-inset-left)) max(24px,env(safe-area-inset-right))}
.chest-surface .layout{padding-top:34px}
.chest-surface .chest-back{display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:3px 11px;border:1px solid currentColor;border-radius:999px;background:transparent;color:inherit;font:inherit;font-size:.82rem;white-space:nowrap;text-decoration:none;cursor:pointer}
.chest-surface .layout>.chest-back{margin-bottom:11px}
.chest-surface .chest-round-tools{display:flex;align-items:center;gap:6px}
.chest-surface .title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:24px}
.chest-surface .title-row p{color:#b8c4b7;font-size:1.04rem;margin-top:7px}
.chest-surface .eyebrow{font-size:.69rem;text-transform:uppercase;letter-spacing:.17em;font-weight:750;color:var(--gold);line-height:1.4}
.chest-surface .hero-eyebrow{display:flex;align-items:center;gap:8px;margin:0 0 6px 2px}
.chest-surface .hero-eyebrow span{width:7px;height:7px;background:var(--gold);transform:rotate(45deg);box-shadow:0 0 11px #e5a6537d}
.chest-surface .demo-pill,.chest-surface .tag{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:6px 10px;border-radius:30px;
  color:#d6bd92;background:#282d21;border:1px solid #7e6c4c66;font-size:.7rem;font-weight:700;letter-spacing:.08em;white-space:nowrap
}
.chest-surface .demo-pill{margin-top:9px;min-height:36px}
.chest-surface .demo-pill span{width:5px;height:5px;border-radius:50%;background:#ddbd81;box-shadow:0 0 6px #ddbd8199}
.chest-surface .demo-pill:hover{background:#393725}
.chest-surface .button{
  position:relative;display:inline-flex;align-items:center;justify-content:center;gap:9px;
  min-height:47px;padding:11px 17px;border-radius:10px;border:1px solid transparent;
  font-size:.94rem;font-weight:760;line-height:1.2;text-align:center;
  transition:background .16s,transform .15s,box-shadow .16s,color .16s
}
.chest-surface .button:active:not(:disabled),.chest-surface .icon-button:active,.chest-surface .demo-pill:active{transform:translateY(2px) scale(.99)}
.chest-surface .button:disabled{opacity:.54}
.chest-surface .button.primary{
  color:#302111;border-color:#f5d492;background:linear-gradient(180deg,#ffe2a5 0%,#f0c478 51%,#d99f55 100%);
  box-shadow:inset 0 1px 0 #fff7cf,0 4px 0 #76502c,0 8px 22px #050b075c
}
.chest-surface .button.primary:hover:not(:disabled){background:linear-gradient(180deg,#fff0c7,#f3c984)}
.chest-surface .button.secondary{color:#f5deb2;background:#2b392a;border-color:#6d6143;box-shadow:inset 0 1px 0 #e7c28b16}
.chest-surface .button.secondary:hover:not(:disabled){background:#3a4935}
.chest-surface .button.ghost{color:#c7d2c3;background:#10201a;border-color:#3a5244}
.chest-surface .button.ghost:hover{background:#233b2d}
.chest-surface .button.full{width:100%}
.chest-surface .link-button{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;background:none;
  color:var(--gold);padding:7px 0;min-height:36px;font-weight:690;font-size:.86rem
}
.chest-surface .link-button:hover{color:#ffeac5}
.chest-surface .panel{border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,#172e23 0%,#11241c 65%,#10211a);box-shadow:0 14px 40px #050c0925}
.chest-surface .home-grid{display:grid;grid-template-columns:minmax(0,2.13fr) minmax(260px,1fr);gap:16px}
.chest-surface .home-aside{display:grid;grid-template-rows:1fr 1fr;gap:16px}
.chest-surface .vault{
  isolation:isolate;
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(0,3fr);
  align-items:end;
  overflow:hidden;
  min-height:428px;
  border:1px solid var(--line);
  border-radius:var(--sunduq-sheet-radius);
  background:var(--sunduq-inset);
}
.chest-surface .vault-scene {
  position:absolute;
  inset:0;
  isolation:isolate;
}
.chest-surface .vault-image {
  position:absolute;
  display:block;
  inset:0;
  pointer-events:none;
}
.chest-surface .vault-image img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:right 58%;
}
.chest-surface .vault-scene::after {
  position:absolute;
  inset:0;
  content:"";
  pointer-events:none;
  background:linear-gradient(90deg,#0f1413e8 1%,#0f1413b4 28%,#0f141300 52%),
    linear-gradient(0deg,#0d1412b3,transparent 51%);
}
.chest-surface .opening-render {position:absolute;inset:0;pointer-events:none}
.chest-surface .chest-3d-canvas {display:block;width:100%;height:100%}
.chest-surface .opening-model img {position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.chest-surface .has-chest-model .opening-model {visibility:hidden}
.chest-surface .vault-caption{
  position:relative;
  z-index:4;
  min-width:0;
  padding:clamp(22px,3.8vw,46px);
}
.chest-surface .vault-opened{
  display:inline-flex;align-items:center;gap:6px;color:var(--sunduq-live);
  font-size:.83rem;font-weight:650;
}
.chest-surface .overline{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;color:#e8c486;
  font-size:.67rem;font-weight:780;text-transform:uppercase;letter-spacing:.17em
}
.chest-surface .overline i{width:4px;height:4px;background:#e3b477;transform:rotate(45deg)}
.chest-surface .vault h2{color:var(--sunduq-ink);font-size:clamp(1.6rem,2.7vw,2.85rem);line-height:1.08;overflow-wrap:anywhere}
.chest-surface .vault-caption p{margin-top:12px;color:var(--sunduq-muted);font-size:.95rem}
.chest-surface .chest-touch{
  position:absolute;inset:0;cursor:pointer;touch-action:manipulation
}
.chest-surface .is-waiting .vault-image{filter:saturate(.85) brightness(.9)}
.chest-surface .vault-controls{
  margin-top:22px;display:flex;flex-direction:column;align-items:flex-start;gap:10px
}
.chest-surface .vault-cta{min-height:48px;max-width:100%;text-align:center}
.chest-surface .vault-rule{color:var(--sunduq-muted);font-size:.75rem;display:flex;align-items:center;gap:6px}
.chest-surface .wait-label{display:grid;gap:4px}
.chest-surface .wait-label span{display:flex;align-items:center;gap:7px;color:var(--sunduq-muted);font-size:.79rem}
.chest-surface .wait-label b{font-variant-numeric:tabular-nums;letter-spacing:.04em;color:var(--sunduq-gold-light);font-size:1.7rem}
.chest-surface .game-card,.chest-surface .rank-card{position:relative;overflow:hidden;padding:21px 22px}
.chest-surface .game-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:211px;
  background:linear-gradient(90deg,#141e17 10%,#151f17ea 40%,#151e1790 70%,#151e1740),
    var(--sunduq-raised) url('/assets/identity/games/pulse.webp') right 55% / auto 120% no-repeat}
.chest-surface .game-card h2{position:relative;margin-top:7px;font-size:clamp(1.6rem,3vw,2.24rem);color:#ffebbd}
.chest-surface .game-card p{position:relative;color:#c0cebe;margin:8px 0 15px;max-width:236px;font-size:.88rem}
.chest-surface .game-card-bottom{position:relative;display:flex;gap:13px;align-items:center}
.chest-surface .game-card-bottom .button{min-height:41px}
.chest-surface .game-card-bottom>span{display:flex;align-items:center;gap:5px;color:#abbfae;font-size:.78rem;white-space:nowrap}
.chest-surface .rank-card{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.chest-surface .rank-intro{display:flex;align-items:center;gap:12px;margin:12px 0 15px}
.chest-surface .rank-intro h2{font-size:1.75rem;color:#fff1d2}
.chest-surface .rank-level{color:#b7bfab;font-size:.74rem;margin-bottom:1px}
.chest-surface .rank-emblem,.chest-surface .small-emblem{
  position:relative;flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:13px;
  border:1px solid #8a7046;color:#eac888;background:radial-gradient(ellipse at 30% 10%,#4a5131,#273427 69%);box-shadow:inset 0 0 12px #f4cc8212
}
.chest-surface .rank-emblem.copper{color:#f3ba96;border-color:#a67a56;background:#493329}
.chest-surface .rank-emblem.azure{color:#b6e6d9;border-color:#5d8b83;background:#264742}
.chest-surface .rank-emblem.royal{color:#e3c3ff;border-color:#8b70a9;background:#3e3152}
.chest-surface .progress{background:#0c1b15;border:1px solid #3a503b;border-radius:8px;width:100%;height:8px;overflow:hidden}
.chest-surface .progress i{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#a47c46,#edc984)}
.chest-surface .rank-detail{color:#aebfae;font-size:.77rem;margin-top:7px}
.chest-surface .rank-card .link-button{margin-top:5px}
.chest-surface .streak-card{position:relative;display:grid;grid-template-columns:minmax(200px,1fr) minmax(275px,1.3fr) auto;align-items:center;gap:19px;padding:15px 19px;margin-top:16px}
.chest-surface .streak-intro{display:flex;align-items:center;gap:10px}
.chest-surface .small-emblem{height:38px;width:38px;border-radius:10px}
.chest-surface .streak-intro h2{font-size:1.2rem;letter-spacing:0}
.chest-surface .streak-intro p{color:var(--muted);font-size:.77rem;margin-top:3px}
.chest-surface .streak-steps{display:flex;gap:4px;align-items:flex-start;justify-content:space-around}
.chest-surface .streak-steps li{display:grid;justify-items:center;gap:4px;text-align:center;min-width:0;color:#a7b5a6;font-variant-numeric:tabular-nums}
.chest-surface .streak-steps li>span{display:grid;place-items:center;width:34px;height:34px;background:#15291e;border:1px solid #3e5844;border-radius:9px;font-weight:700;font-size:.82rem}
.chest-surface .streak-steps .milestone>span{color:var(--gold);border-color:#7b633f;background:#302e21}
.chest-surface .streak-steps .passed>span{color:#c2f1c9;background:#265340;border-color:#60946a}
.chest-surface .streak-steps .up-next>span{border-color:#c49d61;color:#f7d699}
.chest-surface .streak-steps li small{font-size:.66rem;line-height:1;min-height:.66rem}
.chest-surface .streak-info{background:transparent;border-color:transparent}
.chest-surface .footer{display:flex;justify-content:space-between;gap:16px;padding-block:23px 17px;color:#8da092;font-size:.73rem}
.chest-surface .notice{display:flex;gap:9px;align-items:center;border:1px solid #7b64424f;background:#3a3221;color:#f1d6a1;padding:11px 13px;border-radius:9px;margin:0 0 16px}
.chest-surface .section-header{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:22px 0 12px}
.chest-surface .section-header h2{font-size:1.64rem}
.chest-surface .collection-grid,.chest-surface .coupon-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.chest-surface .key-card{padding:14px;overflow:hidden;position:relative;text-align:center;min-height:211px}
.chest-surface .key-status{display:flex;align-items:center;justify-content:flex-end;gap:5px;color:#acd6b4;font-size:.68rem;font-weight:650}
.chest-surface .key-locked .key-status{color:#b4c3b6}
.chest-surface .key-plate{position:relative;display:grid;place-items:center;width:117px;height:117px;margin:0 auto 5px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--key-color) 26%,#10241a),#10241a18 72%);border:1px solid #c4b47a2f}
.chest-surface .key-plate::before{position:absolute;inset:8px;content:"";border:1px dashed #baa16d44;border-radius:50%}
.chest-surface .key-plate .key-art{position:relative;width:101px;height:101px;filter:drop-shadow(0 7px 7px #040d07b8)}
.chest-surface .key-locked .key-art{filter:saturate(.3) brightness(.69)}
.chest-surface .key-card p,.chest-surface .ticket-card p{color:var(--muted);font-size:.82rem;margin-top:6px}
.chest-surface .collection-rank{margin-top:16px;max-width:360px}
.chest-surface .rank-list li{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:10px 4px;border-bottom:1px solid #3c503e}
.chest-surface .rank-list li.current{background:#1b3929;border-radius:9px;padding-inline:8px}
.chest-surface .rank-list li b{font-size:.82rem;color:#eac887}
.chest-surface .rank-list li small,.chest-surface .record-list small{display:block;margin-top:3px;color:var(--muted);font-size:.76rem}
.chest-surface .wallet-card{padding:22px;display:grid;grid-template-columns:1fr minmax(250px,.85fr);gap:19px;align-items:center}
.chest-surface .wallet-amount{display:flex;align-items:center;gap:14px}
.chest-surface .wallet-amount b{font-family:var(--heading);font-size:2.85rem;font-weight:500;color:#ffdf9b;line-height:1.05}
.chest-surface .wallet-amount span,.chest-surface .wallet-terms p{color:var(--muted)}
.chest-surface .wallet-terms strong{display:flex;align-items:center;gap:7px;color:var(--gold);margin-bottom:4px}
.chest-surface .wallet-terms p{font-size:.84rem}
.chest-surface .wallet-card+.notice{margin-top:12px}
.chest-surface .ticket-card{position:relative;overflow:hidden;padding:16px}
.chest-surface .ticket-card::after{content:"";position:absolute;right:-15px;top:-20px;width:85px;height:85px;border:1px solid #b2996540;border-radius:50%;pointer-events:none}
.chest-surface .ticket-top{display:flex;justify-content:space-between;align-items:flex-start;gap:6px;margin-bottom:11px}
.chest-surface .ticket-card .button{width:100%;margin-top:13px;min-height:42px}
.chest-surface .ticket-card.mint .small-emblem{color:#c1e6ba;background:#2a4a33;border-color:#5b866a}
.chest-surface .ticket-card.lavender .small-emblem{color:#d9c7ee;background:#423a53;border-color:#7a648b}
.chest-surface .wallet-lists{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}
.chest-surface .list-panel{padding:17px}
.chest-surface .list-panel h2{font-size:1.39rem}
.chest-surface .empty{color:var(--muted);font-size:.89rem;margin-top:10px}
.chest-surface .record-list li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:11px 0;border-bottom:1px solid #2d4938;font-size:.87rem}
.chest-surface .record-list li:last-child{border-bottom:0;padding-bottom:0}
.chest-surface .record-list .credit{color:#b7e5b5}
.chest-surface .play-grid,.chest-surface .active-grid{display:grid;grid-template-columns:minmax(0,1.38fr) minmax(280px,1fr);gap:14px}
.chest-surface .dial-stage,.chest-surface .live-stage{
  position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:center;
  background:radial-gradient(ellipse at 50% 44%,#244a36 0%,#132e21 46%,#0d1e17 75%);
  min-height:390px;padding:12px 13px 19px
}
.chest-surface .dial-stage::before,.chest-surface .live-stage::before{content:"";position:absolute;inset:8px;border:1px solid #b9a06c35;border-radius:11px;pointer-events:none}
.chest-surface .dial-stage .overline{margin-top:8px}
.chest-surface .dial-mat{width:min(100%,345px);position:relative;margin:auto}
.chest-surface .dial-svg{width:100%;height:auto;filter:drop-shadow(0 12px 18px #060e08c2);pointer-events:none}
.chest-surface .play-controls{padding:25px;display:flex;flex-direction:column;justify-content:center;gap:11px}
.chest-surface .mode-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.chest-surface .mode{
  min-height:42px;border:1px solid #48604e;border-radius:8px;background:#11261c;color:#c8d5c5;
  font-size:.84rem;font-weight:650;padding:4px
}
.chest-surface .mode[aria-pressed="true"]{color:#ffe4aa;border-color:#9a8152;background:#3a3827}
.chest-surface .mode:disabled{opacity:.45}
.chest-surface .mode-hint{font-size:.78rem;color:#dcc99f}
.chest-surface .play-explainer,.chest-surface .live-aside p{font-size:.88rem;color:#b7c9b9}
.chest-surface .record-chip{display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:8px;background:#12271d;border:1px solid #385444;color:#c1d0c0;font-size:.86rem}
.chest-surface .record-chip svg{color:var(--gold)}
.chest-surface .record-chip strong{margin-left:auto;color:#ffe2a7;font-variant-numeric:tabular-nums}
.chest-surface .play-controls .primary{margin:2px 0 4px}
.chest-surface .challenge-info{padding:9px 10px;border-radius:8px;background:#293d2b;border:1px solid #6c7855}
.chest-surface .challenge-info p{font-size:.86rem;margin-top:3px}
.chest-surface .challenge-info .link-button{padding-block:2px;min-height:31px}
.chest-surface .active-title{align-items:center;margin-bottom:14px}
.chest-surface .active-title h1{font-size:clamp(2rem,4.2vw,3.4rem)}
.chest-surface .active-grid{grid-template-columns:minmax(0,1.45fr) minmax(245px,.73fr)}
.chest-surface .live-stage{touch-action:manipulation;user-select:none;min-height:0;padding:12px 17px 17px}
.chest-surface .live-stage .dial-mat{width:min(100%,360px);margin:2px auto}
.chest-surface .live-stage[data-feedback="perfect"] .dial-svg{filter:drop-shadow(0 0 16px #f9c86968)}
.chest-surface .live-stage[data-feedback="hit"] .dial-svg{filter:drop-shadow(0 0 13px #8ff0b053)}
.chest-surface .live-stage[data-feedback="miss"] .dial-svg{filter:drop-shadow(0 0 10px #e77c6657)}
.chest-surface .live-stage[data-feedback="perfect"] .strike{background:linear-gradient(#fff3c2,#efcd88)}
.chest-surface .live-stage[data-feedback="hit"] .strike{background:linear-gradient(#dcf3be,#aacd85)}
.chest-surface .live-stage[data-feedback="miss"] .strike{background:linear-gradient(#ffceae,#d99072)}
.chest-surface .hud{display:flex;justify-content:center;gap:8px;width:100%;z-index:1}
.chest-surface .hud>div{min-width:0;flex:1;padding:6px 8px;text-align:center;border-radius:8px;background:#11281ddb;border:1px solid #425b46}
.chest-surface .hud span,.chest-surface .hud strong{display:block}
.chest-surface .hud span{text-transform:uppercase;letter-spacing:.08em;font-size:.64rem;color:#a7c3ac;font-weight:700}
.chest-surface .hud strong{font-size:1.28rem;color:#f4d9a0;font-variant-numeric:tabular-nums}
.chest-surface .timer-bar{width:100%;border-radius:8px;height:3px;background:#11231a;margin-top:7px;overflow:hidden}
.chest-surface .timer-bar i{display:block;width:100%;height:100%;background:#deb66b;transform-origin:left center}
.chest-surface .time-low .timer-bar i{background:#ed957f}
.chest-surface .time-low #hud-timer{color:#ffd2bc}
.chest-surface .gate-sequence{display:flex;justify-content:center;align-items:center;gap:8px;margin:0 auto 10px;height:12px;pointer-events:none}
.chest-surface .gate-sequence i{width:8px;height:8px;transform:rotate(45deg);border:1px solid #728a6e;background:#163023;border-radius:2px}
.chest-surface .gate-sequence .hit{background:#81c197;border-color:#aee1b6}
.chest-surface .gate-sequence .perfect{background:#f5cc80;border-color:#ffe8a7;box-shadow:0 0 6px #dfb46c}
.chest-surface .strike{width:min(100%,278px);min-height:53px;user-select:none;touch-action:manipulation}
.chest-surface .round-countdown{
  position:absolute;pointer-events:none;inset:0;display:grid;place-items:center;font-family:var(--heading);
  font-size:clamp(1.2rem,4vw,2.35rem);color:#fff0cb;text-shadow:0 1px 8px #101c0d,0 2px 10px #101c0d,0 2px 30px #111909;
}
.chest-surface .round-countdown:empty{display:none}
.chest-surface .round-countdown{font-weight:700}
.chest-surface .pulse-step{display:grid;grid-template-columns:minmax(0,1fr) minmax(76px,auto);align-items:center;gap:8px;width:min(100%,278px);min-height:27px;margin:0 auto 6px}
.chest-surface .pulse-step .gate-sequence{justify-content:flex-start;gap:7px;margin:0}
.chest-surface .hit-feedback{font-size:.82rem;line-height:1.2;text-align:end;font-weight:750;color:#fff2d6;white-space:nowrap}
.chest-surface .strike[aria-disabled=true]{cursor:wait;opacity:.72}
.chest-surface [data-feedback="miss"] .hit-feedback{color:#ffd0b5}
.chest-surface [data-feedback="perfect"] .hit-feedback{color:#ffe2a1}
.chest-surface .live-aside{align-self:start;padding:21px}
.chest-surface .live-aside h2{margin:11px 0 8px;font-size:1.52rem}
.chest-surface .live-aside .link-button{margin-top:10px}
.chest-surface .result-panel{
  max-width:465px;margin:0 auto;padding:22px;text-align:center;position:relative;
  background:radial-gradient(ellipse at 50% 15%,#2c4b32,#132a1f 52%,#11241a)
}
.chest-surface .result-emblem,.chest-surface .reward-mark{display:grid;place-items:center;margin:0 auto 8px;width:101px;height:101px;border-radius:50%;background:radial-gradient(circle,#53623b,#293c2a 67%);color:#f4cd87;border:1px solid #a48a57}
.chest-surface .result-emblem .key-art,.chest-surface .reward-mark .key-art{width:97px;height:97px;filter:drop-shadow(0 4px 5px #111c12)}
.chest-surface .result-panel h1{margin-top:6px;font-size:clamp(2rem,5vw,3rem)}
.chest-surface .record-tag{margin-top:8px}
.chest-surface .result-score{display:flex;justify-content:center;align-items:baseline;gap:8px;color:#cec7a9;margin:10px 0}
.chest-surface .result-score b{font-family:var(--heading);font-size:3.1rem;color:#ffe0a0;line-height:1.05}
.chest-surface .result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:0 0 11px}
.chest-surface .result-stats>div{display:grid;gap:2px;background:#152b20;padding:7px;border:1px solid #365341;border-radius:8px}
.chest-surface .result-stats b{font-size:1.15rem;color:#eadbb7}
.chest-surface .result-stats span{font-size:.72rem;color:#b1c4b2}
.chest-surface .result-panel .button{margin-top:11px}
.chest-surface .result-panel>.link-button{margin-top:5px}
.chest-surface .dialog{
  color:var(--ink);padding:24px;width:min(calc(100% - 28px),475px);max-width:none;max-height:min(88dvh,700px);
  border:1px solid #8d7449;border-radius:17px;box-shadow:0 18px 90px #000a;
  background:radial-gradient(ellipse at 55% 0%,#274131,#13271e 59%);overflow:auto
}
.chest-surface .dialog::backdrop{background:#050d09bb;backdrop-filter:blur(3px)}
.chest-surface .dialog h2{padding-right:30px;color:#fff0cf}
.chest-surface .dialog.reward{max-width:440px;text-align:center;padding:22px}
.chest-surface .dialog.reward h2{padding:0;font-size:2.45rem;margin-top:5px}
.chest-surface .modal-close{position:absolute;right:10px;top:10px;background:#15281f}
.chest-surface .dialog-copy{margin:12px 0 16px}
.chest-surface .dialog-copy p,.chest-surface .dialog>p{color:#becdbd;font-size:.91rem;margin:8px 0}
.chest-surface .dialog-copy h3{margin-top:15px}
.chest-surface .dialog .button + .button{margin-top:11px}
.chest-surface .dialog .primary{margin-bottom:4px}
@media(max-width:400px){
  .chest-surface .top-inner{gap:8px}.chest-surface .brand{flex:1;min-width:0}.chest-surface .brand-emblem{display:none}
  .chest-surface .brand>span:last-child{min-width:0}.chest-surface .brand strong{font-size:18px;overflow-wrap:anywhere}.chest-surface .brand small{display:none}
}
.chest-surface .reward-head{margin-bottom:15px}
.chest-surface .reward-head p{color:#bfccbc;font-size:.88rem;margin:6px 0}
.chest-surface .reward-values{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.chest-surface .reward-values span{display:flex;align-items:center;gap:6px;background:#1d3528;border:1px solid #6d6848;border-radius:8px;padding:8px 9px;font-size:.8rem;color:#ead6ab}
.chest-surface .reward-values b{font-size:1.03rem;color:#ffde92}
.chest-surface .reward-key{display:flex;justify-content:center;align-items:center;gap:6px;color:#eed09a;margin:8px 0;font-size:.85rem}
.chest-surface .fine{color:#b8c4b7;margin:9px 0;font-size:.77rem}
.chest-surface .reward-body>.primary{margin-top:9px}
.chest-surface .share-link{width:100%;border:1px solid #6d805f;border-radius:8px;padding:9px;color:var(--ink);background:#0e2117}
.chest-surface .toast{
  position:fixed;z-index:10;bottom:max(19px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);
  width:max-content;max-width:calc(100% - 30px);color:#fff1d0;background:#263c2a;border:1px solid #8c744d;
  border-radius:9px;box-shadow:0 5px 30px #0008;padding:10px 14px;font-size:.87rem;text-align:center
}
.chest-surface .loading{padding:40px;text-align:center;color:#e9d3a8}
.chest-surface .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){
  .chest-surface .home-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .chest-surface .home-aside{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;gap:12px}
}
@media(max-width:880px){
  .chest-surface .top-inner{gap:8px;padding-inline:17px}
  .chest-surface .desktop-nav{gap:2px}
  .chest-surface .desktop-nav a{padding-inline:7px;font-size:.79rem}
  .chest-surface .desktop-nav a svg{display:none}
  .chest-surface .layout,.chest-surface .footer{padding-inline:17px}
  .chest-surface .game-card,.chest-surface .rank-card{padding:17px}
}
@media(max-width:670px){
  .chest-surface .top-inner{min-height:64px;padding-inline:max(13px,env(safe-area-inset-left)) max(13px,env(safe-area-inset-right))}
  .chest-surface .brand{gap:7px}
  .chest-surface .brand strong{font-size:1.31rem}
  .chest-surface .brand small{font-size:.64rem;margin-top:2px}
  .chest-surface .brand-emblem{width:37px;height:37px;border-radius:10px}
  .chest-surface .top-actions{gap:5px}
  .chest-surface .top-actions .icon-button{min-width:39px;height:39px;padding-inline:6px}
  .chest-surface .balance-chip{min-height:39px;height:39px;padding:0 7px;gap:4px}
  .chest-surface .desktop-nav{display:none}
  .chest-surface .mobile-nav{
    display:grid;position:fixed;z-index:8;inset:auto 0 0;grid-template-columns:repeat(4,minmax(0,1fr));
    background:#0b1914f7;border-top:1px solid #526047;box-shadow:0 -6px 18px #050d0882;
    padding:4px max(4px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left))
  }
  .chest-surface .mobile-nav a{min-height:53px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;border-radius:8px;color:#b1c1b3;padding:4px 1px;font-size:clamp(.61rem,2.5vw,.74rem);font-weight:640;line-height:1.2;white-space:nowrap}
  .chest-surface .mobile-nav a[aria-current]{color:#f7d59a;background:#283629}
  .chest-surface .layout,.chest-surface .footer{padding-inline:max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right))}
  .chest-surface .layout{padding-top:19px}
  .chest-surface .title-row{margin-bottom:15px}
  .chest-surface h1{font-size:clamp(2.35rem,9.4vw,3.2rem)}
  .chest-surface .title-row p{font-size:.86rem;margin-top:4px}
  .chest-surface .demo-pill{min-height:31px;margin-top:4px;padding-inline:8px}
  .chest-surface .home-grid,.chest-surface .home-aside,.chest-surface .play-grid,.chest-surface .active-grid,.chest-surface .wallet-lists{grid-template-columns:minmax(0,1fr);gap:12px}
  .chest-surface .home-aside{grid-template-rows:auto}
  .chest-surface .vault{grid-template-columns:minmax(0,1fr);min-height:0}
  .chest-surface .vault-scene{position:relative;inset:auto;height:clamp(218px,54vw,330px)}
  .chest-surface .vault-image img{object-position:55% center}
  .chest-surface .vault-scene::after{background:linear-gradient(0deg,var(--sunduq-inset),#141b1eaa 10%,transparent 31%)}
  .chest-surface .vault-caption{margin-top:-14px;padding:0 18px 20px}
  .chest-surface .vault h2{font-size:clamp(1.55rem,5.3vw,2.3rem)}
  .chest-surface .vault-caption p{margin-top:7px;font-size:.87rem}
  .chest-surface .vault-controls{margin-top:14px;gap:8px}
  .chest-surface .game-card{min-height:168px}
  .chest-surface .game-card h2{font-size:1.93rem;margin-top:4px}
  .chest-surface .game-card p{margin:5px 0 11px}
  .chest-surface .streak-card{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px;margin-top:12px}
  .chest-surface .streak-steps{grid-column:1/-1;grid-row:2}
  .chest-surface .streak-info{grid-column:2;grid-row:1}
  .chest-surface .footer{padding-block:19px calc(76px + env(safe-area-inset-bottom))}
  .chest-surface .toast{bottom:calc(68px + env(safe-area-inset-bottom))}
  .chest-surface .collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .chest-surface .coupon-grid{grid-template-columns:1fr;gap:8px}
  .chest-surface .key-card{min-height:168px;padding:10px}
  .chest-surface .key-card h3{font-size:.94rem}
  .chest-surface .key-card p{font-size:.74rem}
  .chest-surface .key-plate{width:90px;height:90px}
  .chest-surface .key-plate .key-art{width:80px;height:80px}
  .chest-surface .wallet-card{grid-template-columns:minmax(0,1fr);gap:10px;padding:15px}
  .chest-surface .wallet-amount b{font-size:2.4rem}
  .chest-surface .dial-stage{min-height:0;padding:9px 10px 13px}
  .chest-surface .setup-dial .dial-mat{width:min(75%,224px)}
  .chest-surface .dial-stage .overline{margin-top:4px}
  .chest-surface .play-controls{padding:15px;gap:8px}
  .chest-surface .play-controls h2{font-size:1.45rem}
  .chest-surface .live-stage{padding:8px 10px 13px}
  .chest-surface .live-stage .dial-mat{width:min(100%,320px,49dvh)}
  .chest-surface .live-aside{display:none}
  .chest-surface .hud{gap:4px}
  .chest-surface .hud>div{padding-inline:4px}
  .chest-surface .active-title{margin-bottom:9px}
  .chest-surface .active-title h1{font-size:2.04rem}
  .chest-surface .result-panel{padding:17px 14px}
}
@media(max-width:365px){
  .chest-surface .brand small{display:none}
  .chest-surface .streak-steps li>span{width:31px;height:31px}
  .chest-surface .mode{font-size:.77rem}
  .chest-surface .live-stage .dial-mat{width:min(100%,41dvh)}
}
@media (prefers-reduced-motion:reduce){
  .chest-surface *,.chest-surface *::before,.chest-surface *::after{animation-duration:.001ms!important;animation-delay:0ms!important;transition-duration:.001ms!important}
}

.chest-surface .daily-missions-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; min-height: 38px; }

.chest-surface.has-active-pulse .mobile-nav { display:none; }
@media(max-width:430px) and (max-height:700px) {
  .chest-surface.has-active-pulse .layout { padding-top:12px; }
  .chest-surface .active-title h1 { font-size:clamp(1.7rem,7vw,2rem); }
  .chest-surface .live-stage .dial-mat { width:min(100%,200px,35dvh); }
}
@media(orientation:landscape) and (max-height:500px) {
  .chest-surface.has-active-pulse .top-inner { min-height:47px; }
  .chest-surface.has-active-pulse .layout { padding-block:8px 15px; }
  .chest-surface .active-title { margin-bottom:7px; }
  .chest-surface .active-title h1 { font-size:1.65rem; }
  .chest-surface .active-grid { grid-template-columns:minmax(0,1fr); }
  .chest-surface .active-grid .live-aside { display:none; }
  .chest-surface .live-stage { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    grid-template-rows:auto auto 1fr auto; align-items:center; gap:6px 12px; padding:10px 14px; }
  .chest-surface .live-stage .dial-mat { grid-column:1; grid-row:1/5; width:min(100%,49dvh); }
  .chest-surface .live-stage .hud,.chest-surface .live-stage .timer-bar,.chest-surface .live-stage .pulse-step,.chest-surface .live-stage .strike { grid-column:2; }
  .chest-surface .live-stage .hud { grid-row:1; }
  .chest-surface .live-stage .timer-bar { grid-row:2; margin:0; }
  .chest-surface .live-stage .pulse-step { grid-row:3; margin:0 auto; }
  .chest-surface .live-stage .strike { grid-row:4; justify-self:center; min-height:44px; }
  .chest-surface .reward-head { margin:0; }
  .chest-surface .reward-mark svg { width:55px; height:55px; }
  .chest-surface .reward-body,.chest-surface .reward-head { min-width:0; overflow-wrap:anywhere; }
}

.chest-surface {
  --bg:var(--sunduq-page); --panel:var(--sunduq-surface); --panel-2:var(--sunduq-raised);
  --line:var(--sunduq-line); --ink:var(--sunduq-ink); --muted:var(--sunduq-muted);
  --gold:var(--sunduq-gold); --gold-hi:var(--sunduq-gold-light); --mint:var(--sunduq-live);
  --heading:var(--sunduq-font); font-family:var(--sunduq-font);
}
body.chest-surface { background:var(--bg); }
.chest-surface .top { background:var(--sunduq-inset); }
.chest-surface .brand strong,.chest-surface h1,.chest-surface h2,.chest-surface h3 {
  font-family:var(--sunduq-font);font-weight:var(--sunduq-title-weight);letter-spacing:var(--sunduq-title-tracking);
}
.chest-surface .brand-emblem { background:var(--sunduq-gold); color:var(--sunduq-gold-ink); border-radius:var(--sunduq-control); box-shadow:none; }
.chest-surface .vault,.chest-surface .panel { border-radius:var(--sunduq-radius); }
.chest-surface .dialog{
  border-color:var(--line);border-radius:var(--sunduq-sheet-radius);background:var(--panel);
  box-shadow:var(--sunduq-sheet-shadow);overscroll-behavior:contain;
}
.chest-surface .dialog::backdrop{background:var(--sunduq-scrim);backdrop-filter:none}
.chest-surface .dialog h2{color:var(--ink)}
.chest-surface .button { border-radius:var(--sunduq-control); }
.chest-surface .button.primary { background:var(--sunduq-gold); color:var(--sunduq-gold-ink); box-shadow:none; }
.chest-surface .button.primary:hover:not(:disabled) { background:var(--sunduq-gold-light); }

@media(max-width:670px){
  html.chest-standalone { scroll-padding-bottom:calc(64px + env(safe-area-inset-bottom)); }
  .chest-surface .daily-missions-link { scroll-margin-block-end:14px; }
}

/* Rounded controls carry the gaming hub through the separate treasure room. */
.chest-surface .vault,.chest-surface .home-grid .panel{border-radius:23px}
.chest-surface .vault-controls .button,.chest-surface .result-panel .button{border-radius:999px}
.chest-surface .shell-header .icon-button,.chest-surface .mobile-nav a{border-radius:999px}
.chest-surface .result-panel{border-radius:26px;background:linear-gradient(0deg,#101f21f2 0%,#101f21a8 63%,#101f21ad),url('/assets/identity/games/pulse.webp') center 51% / cover no-repeat}
.chest-surface .result-won .result-emblem{border-color:#bde2b9;background:#273e31;color:#c8e9c4}.chest-surface .result-ended .result-emblem{background:#312c25;color:#f3d298}
@media(max-width:620px){.chest-surface .vault,.chest-surface .home-grid .panel{border-radius:18px}.chest-surface .result-panel{border-radius:20px}}

.chest-embedded .layout{width:100%;padding:18px 0 0}
.chest-embedded .chest-section-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
.chest-embedded.has-active-pulse .chest-section-bar{display:none}
.chest-embedded .chest-back{color:var(--ink);border-color:var(--line);background:var(--sunduq-surface)}
.chest-embedded .chest-sections{display:flex;flex-wrap:wrap;gap:4px;padding:4px;border-radius:22px;background:var(--sunduq-inset)}
.chest-embedded .chest-sections a{display:flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:4px 11px;border-radius:999px;color:var(--muted);font-size:.85rem;font-weight:650}
.chest-embedded .chest-sections a:is(:hover,[aria-current]){color:var(--sunduq-ink);background:var(--sunduq-raised)}
.chest-embedded .chest-sections svg{width:16px;height:16px}
.chest-embedded .icon-button,.chest-embedded .balance-chip{border-radius:999px;background:var(--sunduq-surface);border-color:var(--line)}
.chest-embedded .title-row h1{color:var(--sunduq-ink);line-height:1.02}
.chest-embedded .panel{background:var(--sunduq-surface);box-shadow:none}
.chest-embedded .vault{border-color:var(--line)}
.chest-embedded .vault-controls .primary{background:#e2f0e2;color:#13251f;border-color:transparent}
.chest-embedded .vault-controls .primary:hover:not(:disabled){background:#fff9e9}
.chest-embedded .toast{bottom:22px}
@media(max-width:950px){.chest-embedded .toast{bottom:calc(70px + env(safe-area-inset-bottom))}}
@media(max-width:670px){
  .chest-embedded .chest-section-bar{display:grid;grid-template-columns:1fr auto;gap:6px}
  .chest-embedded .chest-section-bar>.chest-back{justify-self:start}
  .chest-embedded .chest-section-bar>.top-actions{grid-column:2}
  .chest-embedded .chest-sections{grid-column:1/-1;grid-row:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-radius:16px}
  .chest-embedded .chest-sections a{min-width:0;min-height:44px;text-align:center;font-size:.74rem;padding-inline:2px;overflow-wrap:anywhere}
  .chest-embedded .chest-sections svg{display:none}
  .chest-embedded .layout{padding-top:10px}
  .chest-embedded .title-row h1{font-size:clamp(1.98rem,8.8vw,3rem);overflow-wrap:anywhere}
}

.chest-surface .dialog:is(.chest-opening,.reward)[open] {
  position:fixed;
  inset:0;
  display:grid;
  place-items:center;
  margin:0;
  padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  border:0;
  border-radius:0;
  overscroll-behavior:contain;
  background:#16130f url("./assets/treasury-room.webp") center 58% / cover no-repeat;
  isolation:isolate;
}
.chest-surface .dialog.chest-opening {overflow:hidden}
.chest-surface .dialog:is(.chest-opening,.reward)::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
}
.chest-surface .dialog.chest-opening::before {
  background:radial-gradient(ellipse at 50% 48%,transparent 28%,#0c100ecd 111%),linear-gradient(0deg,#111515ac,transparent 57%);
}
.chest-surface .dialog.reward::before {
  background:radial-gradient(ellipse at 50% 45%,#121715bc,#101312f2 80%);
}
.chest-surface .opening-frame {
  width:min(96vw,87dvh,690px);
  aspect-ratio:1.34;
  container-type:inline-size;
  position:relative;
  isolation:isolate;
  pointer-events:none;
  transform:translateY(2dvh);
}
@media (max-aspect-ratio:1/1) {
  .chest-surface .opening-frame {transform:translateY(13dvh)}
}
.chest-surface .opening-model,.chest-surface .opening-light,.chest-surface .opening-sparks {position:absolute;inset:0}
.chest-surface .opening-model {animation:sunduq-chest-lift 1.54s both}
.chest-surface .opening-model img {animation:sunduq-poster-turn .18s .76s ease both}
.chest-surface .opening-model .opening-model-open {animation-direction:reverse}
.chest-surface .opening-light {
  inset:-15%;
  background:radial-gradient(ellipse at 49% 55%,#ffe8a5a0 0%,#f2bd6064 21%,#e9ab3522 44%,transparent 68%);
  animation:sunduq-chest-halo .85s .74s ease-out both;
}
.chest-surface .opening-sparks i {
  position:absolute;left:49%;top:49%;
  width:clamp(3px,1cqi,6px);aspect-ratio:1;
  background:#ffdaa0;box-shadow:0 0 10px #ffb75ec0;
  animation:sunduq-chest-spark .76s calc(.78s + var(--lag)) cubic-bezier(.16,.64,.3,1) both;
}
.chest-surface .opening-skip {
  position:absolute;
  inset-inline-end:max(18px,env(safe-area-inset-right));
  inset-block-end:max(18px,env(safe-area-inset-bottom));
  color:var(--sunduq-muted);
  background:#182520;
  border:1px solid var(--sunduq-line);
  border-radius:999px;
  min-height:44px;
}
.chest-surface .reward-layout {width:min(100%,430px);padding:14px 12px}
.chest-surface .dialog.reward .modal-close {
  inset-inline-end:max(15px,env(safe-area-inset-right));
  inset-block-start:max(12px,env(safe-area-inset-top));
}
.chest-surface .dialog.reward h2 {font-size:clamp(2rem,7vw,3.25rem);line-height:1}
.chest-surface .dialog.reward .reward-mark {
  width:clamp(94px,27vw,158px);
  height:auto;
  aspect-ratio:1;
  margin-block-end:22px;
  border:1px solid #b6935466;
  box-shadow:0 0 40px #edb35f29,inset 0 0 46px #e8a95923;
  animation:sunduq-reward-emblem .52s cubic-bezier(.17,.83,.36,1) both;
}
.chest-surface .dialog.reward .reward-mark .key-art {width:90%;height:auto}
.chest-surface .reward-body {animation:sunduq-reward-rise .36s .14s ease-out both}
.chest-surface .reward-body>.primary {border-radius:999px;min-height:48px}

@keyframes sunduq-chest-lift {
  0% {opacity:0;transform:translateY(20%) scale(.67)}
  18% {opacity:1;transform:translateY(-7%) scale(1.04)}
  34% {opacity:1;transform:translateY(1%) scale(.97) rotate(-1.4deg)}
  41% {transform:translateY(-1%) scale(1.025) rotate(1.8deg)}
  50% {transform:translateY(1%) scale(1.045,.96) rotate(-.7deg)}
  60% {transform:translateY(-7%) scale(1.075)}
  100% {opacity:1;transform:translateY(-3%) scale(1.03)}
}
@keyframes sunduq-poster-turn {
  from {opacity:1}
  to {opacity:0}
}
@keyframes sunduq-chest-halo {
  0% {opacity:0;transform:scale(.5)}
  22% {opacity:.9;transform:scale(1.03)}
  100% {opacity:.41;transform:scale(1.13)}
}
@keyframes sunduq-chest-spark {
  0% {opacity:0;transform:rotate(var(--angle)) translateX(6cqi) scale(.2)}
  20% {opacity:1}
  100% {opacity:0;transform:rotate(var(--angle)) translateX(var(--reach)) rotate(130deg) scale(.45)}
}
@keyframes sunduq-reward-emblem {
  0% {opacity:0;transform:translateY(11px) scale(.62) rotate(-13deg)}
  60% {opacity:1;transform:scale(1.08) rotate(3deg)}
  100% {opacity:1;transform:none}
}
@keyframes sunduq-reward-rise {
  from {opacity:0;transform:translateY(14px)}
  to {opacity:1;transform:none}
}
@media(orientation:landscape) and (max-height:500px) {
  .chest-surface .reward-layout {display:grid;width:min(100%,650px);grid-template-columns:1fr 1fr;gap:24px;align-items:center}
  .chest-surface .dialog.reward .reward-mark {width:96px;margin-block-end:12px}
  .chest-surface .dialog.reward h2 {font-size:clamp(1.4rem,4.6vw,2.2rem)}
}
