:root {
  color-scheme: dark;
  --bg: #081b15;
  --cream: #fff4d5;
  --gold: #f6ce7b;
  --soft: #b4c6b9;
  --holly: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 26'%3E%3Cpath fill='%23134a32' stroke='%23093623' d='M16 18c-6 1-8-5-11-4 0-3 2-4 1-6 4 1 5-1 6-5 2 2 5 1 8 2-3 4-1 7-4 13Z'/%3E%3Cpath fill='%232e8f4b' stroke='%23093623' d='M15 18c2-7 7-7 8-11 1 3 5 3 8 2-1 4-4 6-4 9-4-2-7 3-12 0Z'/%3E%3Cpath fill='none' stroke='%2366b86b' d='m8 7 8 11 11-6'/%3E%3Ccircle cx='13' cy='18' r='4.2' fill='%23aa2630' stroke='%23711c23'/%3E%3Ccircle cx='20' cy='18' r='4' fill='%23d8353d' stroke='%23711c23'/%3E%3Ccircle cx='17' cy='22' r='3.7' fill='%23ef4b48' stroke='%23882429'/%3E%3C/svg%3E");
  --icing: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 10'%3E%3Cpath fill='%23fff6df' d='M2 5C3 2 9 1 15 1h36c6 0 12 2 12 5 0 3-4 3-7 1s-6 2-9 1c-3-1-5-3-9-1-4 2-6-1-10-1s-6 3-10 2c-3-1-6-3-9-1C6 9 1 9 2 5Z'/%3E%3C/svg%3E");
  font: 15px/1.5 system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--cream);
  background: #061711;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; min-height: 100vh; background: radial-gradient(ellipse at 50% 23%, #184837 0, #0a2119 36%, #061610 71%); }
button, input { font: inherit; }
button { cursor: pointer; color: inherit; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; opacity: .55; }
button:focus-visible, input:focus-visible, a:focus-visible, select:focus-visible { outline: 2px solid #ffe08d; outline-offset: 3px; }
button:active:not(:disabled) { filter: brightness(.89); }
.library { position: absolute; width: 0; height: 0; overflow: hidden; }
.app { position: relative; isolation: isolate; display: flex; flex-direction: column; width: min(100%, 500px); min-height: 100svh; margin: auto; padding: env(safe-area-inset-top) 0 calc(env(safe-area-inset-bottom) + clamp(56px, 8svh, 80px)); }
.scene-backdrop { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, #03120dd6 0%, #03120d55 12%, transparent 28%, transparent 64%, #05181081 83%, #061a13 100%), #0c251d url('christmas-scene.webp') center bottom / 100% calc(100% - 62px) no-repeat; }
.masthead { min-height: 51px; margin: 0 16px; display: flex; align-items: center; justify-content: space-between; }
.brand, .header-actions { display: flex; align-items: center; gap: 9px; }
.brand { font-size: 21px; letter-spacing: -.7px; font-weight: 800; color: #fcf2d5; }
.brand-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; border: 1px solid #fff0aa; background: linear-gradient(150deg, #fff0ae, #e8b253 65%, #b77a33); color: #163528; font-size: 20px; font-weight: 950; line-height: 1; box-shadow: 0 3px 10px #0006; }
.demo-badge { padding: 4px 9px; border-radius: 99px; border: 1px solid #436053; color: #c0d2c4; background: #0e2b22; font-size: 11px; white-space: nowrap; }
.demo-badge i { display: inline-block; width: 5px; height: 5px; margin-right: 3px; border-radius: 50%; background: #eac67e; vertical-align: 2px; }
.language-select { max-width: 90px; padding: 4px 5px; border: 1px solid #8c7952; border-radius: 9px; background: #132d22; color: #fff0cc; font: 650 11px system-ui, sans-serif; }
.sheet-language { position: absolute; z-index: 1; top: 14px; left: 15px; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: var(--gold); }
.icon-button svg, .ticker svg, .button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ticker { display: flex; align-items: center; gap: 10px; min-height: 31px; margin: 0 16px; padding: 4px 10px; border: 1px solid #a68c5a67; border-radius: 99px; background: #0c221bbd; color: #e3e4d6; font-size: 12px; }
.ticker-label { color: #f5cc7e; display: inline-flex; align-items: center; gap: 5px; padding-right: 9px; border-right: 1px solid #74664e88; white-space: nowrap; }
.ticker svg { width: 15px; height: 15px; }
.ticker-message { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ticker-message b { color: #ffdc8b; }
.event { flex: 1; min-height: min(375px, max(78px, calc(100svh - 360px))); }
.tree-gifts { position: absolute; inset: 0; pointer-events: none; }
.ribbon { position: relative; z-index: 4; width: min(85%, 360px); height: 64px; margin: 14px auto 0; text-align: center; pointer-events: none; }
.ribbon-front { position: relative; z-index: 1; width: 89%; height: 64px; margin: 0 auto; padding-top: 7px; border: 1px solid #ee7751; border-radius: 20% 20% 8% 8% / 20% 20% 18% 18%; background: radial-gradient(ellipse at 46% 0%, #d84b3e, transparent 69%), linear-gradient(#b92627, #8e141c); box-shadow: inset 0 2px 1px #ffc27670, inset 0 -2px 1px #47090b55, 0 6px 13px #0a09078f; }
.ribbon-tail { position: absolute; top: 19px; width: 18%; height: 44px; background: linear-gradient(#c83d36, #80191d); }
.ribbon-tail.left { left: -1%; clip-path: polygon(0 5%,100% 0,100% 82%,0 100%,20% 52%); transform: rotate(-8deg); }
.ribbon-tail.right { right: -1%; clip-path: polygon(0 0,100% 5%,80% 52%,100% 100%,0 82%); transform: rotate(8deg); }
.ribbon-eyebrow { display: flex; align-items: center; justify-content: center; gap: 7px; color: #ffe0a1; font-size: 8px; font-weight: 750; letter-spacing: .17em; white-space: nowrap; }
.ribbon-eyebrow span { width: 13px; height: 1px; background: #ffc57eaa; }
h1 { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 1px 0 0; color: #ffeda7; font-size: clamp(26px, 8vw, 34px); font-weight: 950; line-height: 1.12; letter-spacing: .055em; text-shadow: 0 2px 0 #92361b, 0 3px 0 #681016; }
h1 svg { width: 12px; height: 12px; color: #ffd880; }
:lang(en-PH) h1, :lang(fil-PH) h1 { margin-top: 4px; font-size: clamp(18px, 5.9vw, 29px); letter-spacing: .02em; }
.pedestal { position: relative; z-index: 2; display: grid; align-content: center; justify-items: center; min-height: 101px; padding: 12px 17px 2px; background: linear-gradient(180deg, transparent, #081d15b3 31%, #071b14f2 86%); text-align: center; }
.pedestal h2 { margin: 0; color: #fff0b7; font-size: 19px; line-height: 1.35; text-shadow: 0 2px 4px #02130e; }
.pedestal p { margin: 2px 0 0; color: #e0e7d8; font-size: 12px; }
.pedestal h2 + .dock-actions { margin-block: 7px 4px; }
.pedestal .review-pending { color: #ffdda0; }
.pedestal .saved-boost { color: #ffe9aa; font-size: 11px; padding-bottom: 3px; }
.record-bonus small { display: block; margin-top: 3px; color: #7e6022; font-size: 10px; }
.test-ids summary, .rules-period summary { cursor: pointer; color: #476c4c; font-weight: 650; }
.test-ids .demo-option { margin-top: 10px; }
.rules-period { margin-top: 12px; color: #53644d; font-size: 12px; }
.pedestal .entry-button { width: min(100%, 249px); margin-top: 8px; }
.pedestal.has-reward { gap: 7px; min-height: 0; padding: 0 17px 9px; background: linear-gradient(180deg, transparent, #081d1580 42%, #071813cc 75%, transparent); }
.dock-amount { position: relative; isolation: isolate; width: 168px; }
.dock-amount::before { content: ""; position: absolute; z-index: -1; inset: -9% -20%; opacity: .65; background: radial-gradient(ellipse at 50% 67%, #efb35e3d, transparent 66%); pointer-events: none; }
.dock-gift { display: block; width: 100%; height: auto; transform-origin: 50% 82%; filter: drop-shadow(0 5px 7px #0b140bb8); }
.dock-amount-copy { position: absolute; z-index: 1; top: 73%; left: 50%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; }
.dock-value { color: #fff0b4; white-space: nowrap; text-shadow: 0 2px #491626, 0 1px 8px #3d1127; }
.dock-value strong { display: inline-block; font-size: var(--amount-size,30px); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.032em; }
.dock-actions { display: grid; grid-template-columns: 1fr; width: min(100%, 222px); }
.dock-actions .button, .invite-sheet .button { min-width: 0; white-space: normal; line-height: 1.16; }
.dock-actions .invite-main { width: 100%; min-height: 47px; font-size: 14px; letter-spacing: .04em; }
.dock-actions .invite-main::after { width: 58px; height: 12px; top: -2px; }
.direct-claim-text { min-height: 44px; padding: 4px 9px; border: 0; border-radius: 7px; background: transparent; color: #fff2d3; font-size: 13px; font-weight: 650; text-decoration: underline; text-decoration-color: #e8d6b8a0; text-underline-offset: 4px; }
.dock-boost { position: absolute; z-index: 2; left: 50%; bottom: 85%; display: flex; align-items: center; gap: 4px; padding: 6px 11px 6px 16px; border: 1px solid #ffd874; border-radius: 99px; background: linear-gradient(#b3424b, #85273b); color: #fff1b4; font-size: 17px; font-weight: 850; white-space: nowrap; box-shadow: 0 0 19px #ffbe518c, 0 3px 9px #081810a8; pointer-events: none; transform: translate(-50%, -13px); animation: boost-float 1.46s ease-out both; }
.dock-boost::before { content: ""; position: absolute; width: 26px; height: 23px; top: -7px; left: -10px; background: var(--holly) center / contain no-repeat; transform: rotate(-15deg); }
.dock-boost svg { width: 17px; height: 17px; color: #ffda75; }
.is-boosting .dock-gift { animation: gift-bump .55s ease-out both; }
.is-boosting .dock-value strong { animation: amount-pop .78s .38s ease-out both; }
.is-celebrating .gift-highlight .gift-art { animation: gift-bump .65s ease-out both; }
.is-celebrating .gift-highlight::before { animation: christmas-flash 1.35s ease-out both; }
@keyframes boost-float { 0% { opacity: 0; transform: translate(-50%, 8px) scale(.72); } 13% { opacity: 1; transform: translate(-50%, -13px) scale(1.12); } 31%, 75% { opacity: 1; transform: translate(-50%, -23px) scale(1); } 100% { opacity: 0; transform: translate(-50%, -43px) scale(.93); } }
@keyframes gift-bump { 0%, 100% { transform: scale(1); } 35% { transform: scale(.95,1.1) rotate(-3deg); } 65% { transform: scale(1.04,.96) rotate(2deg); } }
@keyframes amount-pop { 0%, 100% { transform: scale(1); } 57% { transform: scale(1.15); } }
@keyframes christmas-flash { 0%, 100% { transform: scale(1); } 45% { transform: scale(2.1); opacity: .96; } }
.gift-node { position: absolute; display: grid; place-items: center; top: var(--y); left: var(--x); width: var(--size); height: var(--size); transform: translate(-50%, -50%) rotate(var(--tilt)); color: var(--wrap); }
.gift-node .gift-art { width: var(--size); height: var(--size); transform-origin: 50% 12%; overflow: visible; filter: drop-shadow(0 4px 3px #06160de0); animation: gift-sway 3.7s ease-in-out infinite; animation-delay: var(--delay); }
.gift-button { z-index: 2; width: max(46px, var(--size)); height: max(46px, var(--size)); padding: 0; border: 0; border-radius: 50%; background: transparent; pointer-events: auto; }
.gift-highlight { z-index: 3; }
.gift-highlight::before { position: absolute; z-index: -1; inset: -27%; content: ""; border-radius: 50%; background: radial-gradient(circle, #ffe586a6, #f9b34944 46%, transparent 70%); animation: glow 2.5s ease-in-out infinite; }
.gift-highlight .gift-art { filter: drop-shadow(0 0 9px #ffe6a48c) drop-shadow(0 5px 3px #06160de0); }
.gift-spark { position: absolute; width: 14px; height: 14px; right: 1px; top: 9px; color: #ffe8a5; animation: twinkle 2.2s ease-in-out infinite; }
@keyframes gift-sway { 0%,100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes glow { 50% { transform: scale(1.22); opacity: .72; } }
@keyframes twinkle { 50% { transform: scale(.65); opacity: .52; } }
.snow { position: absolute; z-index: 1; inset: 85px 0 12%; overflow: hidden; pointer-events: none; }
.snow i { position: absolute; top: -12px; left: var(--left); width: var(--size, 3px); height: var(--size, 3px); border-radius: 50%; background: #f9ffff; box-shadow: 0 0 8px #d9faffb3; animation: snow-drift var(--speed) var(--delay) linear infinite; }
.snow-far { opacity: .67; }
.snow-far i:nth-child(3n) { --size: 2px; }
.snow-near { z-index: 3; }
.snow-near i { box-shadow: 0 0 10px #ebffffbe; }
.snow-near i:nth-child(even) { --sway: -27px; }
.snow-near i:nth-child(3n) { border-radius: 0; clip-path: polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%); }
@keyframes snow-drift {
  0% { transform: translate(-8px, 0); opacity: .25; }
  30% { transform: translate(var(--sway, 15px), 22svh); opacity: .95; }
  67% { transform: translate(2px, 51svh); opacity: .85; }
  100% { transform: translate(var(--sway, 15px), 78svh); opacity: .17; }
}

.sheet p { margin: 3px 0 0; color: var(--soft); font-size: 13px; }
.id-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 12px; }
input { width: 100%; min-width: 0; min-height: 46px; padding: 0 11px; border: 1px solid #597969; border-radius: 9px; background: #071e16; color: var(--cream); font-size: 16px; }
input::placeholder { color: #a4b6a8; font-size: 13px; }
.button { --button-art: url('button-fir.svg'); position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 49px; padding: 9px 14px 12px; border: 0; border-radius: 8px; background: none; color: #fff2cd; font-size: 14px; font-weight: 780; text-align: center; text-shadow: 0 1px 2px #0f3a2c; white-space: nowrap; }
.button::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--button-art) center / 100% 100% no-repeat; filter: drop-shadow(0 3px 3px #091811a6); pointer-events: none; }
.button::after { content: ""; position: absolute; top: -3px; right: 10%; width: min(35%, 66px); height: 15px; background: url('button-snow.svg') center / contain no-repeat; filter: drop-shadow(0 1px 1px #163b3155); pointer-events: none; }
.button:not(.gold, .red)::before { filter: saturate(.67) brightness(.87) drop-shadow(0 3px 3px #091811a6); }
.button.red { --button-art: url('button-berry.svg'); color: #fff0dc; text-shadow: 0 1px 2px #4e1e2b; }
.button.red::after { width: min(28%, 43px); height: 11px; }
.dock-actions .invite-main { padding-inline: 17px; }
.button.full { width: 100%; }
.text-button { padding: 5px 0; border: 0; background: transparent; color: var(--gold); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.error { grid-column: 1 / -1; margin: 0; color: #ffc6b7; font-size: 12px; }
.actions { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; }
.gift-limit-note { margin: 4px 0; color: #ffe3a4; font-size: 13px; text-align: center; }
.pedestal .entry-feedback { max-width: 260px; margin: 3px 0 5px; padding: 5px 10px; border: 1px solid #e2ba6c66; border-radius: 9px; background: #163e31ed; color: #ffe6a6; font-size: 11px; }
.pedestal .saved-free { max-width: 260px; padding: 3px 0; color: #ffe3a4; font-size: 11px; }
.claim-sheet .actions .button { min-width: 0; white-space: normal; overflow-wrap: anywhere; line-height: 1.2; }
.floating-nav { position: absolute; z-index: 5; top: clamp(179px, 28svh, 257px); right: max(9px, env(safe-area-inset-right)); display: grid; width: clamp(55px, 16vw, 67px); gap: 8px; }
.floating-nav button { position: relative; display: grid; justify-items: center; grid-template-rows: 39px auto; align-items: center; min-height: 51px; gap: 0; padding: 1px 0; border: 0; border-radius: 9px; background: transparent; color: #fff0cf; font-size: 10px; font-weight: 750; line-height: 1.12; text-align: center; }
.floating-nav button span { z-index: 1; max-width: 100%; padding: 1px 4px; border-radius: 5px; background: #0b261cf2; text-shadow: 0 1px #071c14; }
.floating-nav button[hidden] { display: none; }
.floating-nav:lang(fil-PH) button { font-size: 9px; }
.floating-nav svg { position: relative; width: 44px; height: 42px; fill: none; stroke: none; overflow: visible; filter: drop-shadow(0 3px 4px #09180abf); }

.sheet { position: fixed; inset: auto 0 0; width: min(100%, 456px); max-width: none; max-height: 91dvh; margin: 0 auto; padding: 11px 19px max(23px, env(safe-area-inset-bottom)); overflow: auto; border: 1px solid #5c806b; border-radius: 23px 23px 0 0; background: linear-gradient(150deg, #214638, #102a21 60%); box-shadow: 0 -12px 50px #020d0ad9; color: var(--cream); overscroll-behavior: contain; }
.sheet::backdrop { background: #020e0bc4; backdrop-filter: blur(3px); }
.sheet[open] { animation: enter .19s ease-out both; }
@keyframes enter { from { opacity: .5; transform: translateY(13px); } }
.sheet-handle { width: 34px; height: 3px; border-radius: 9px; margin: 0 auto 13px; background: #98b2a3; opacity: .5; }
.close-sheet { position: absolute; top: 10px; right: 10px; }
.sheet h2 { margin: 0 37px 4px 0; font-size: 23px; }
.sheet h2:focus { outline: none; }
.sheet h3 { margin: 0 0 4px; font-size: 15px; }
.sheet.welcome { inset: 0; width: min(calc(100% - 28px), 378px); max-height: 90dvh; margin: auto; padding: 13px 21px 18px; overflow: auto; border: 1px solid #e19e62; border-radius: 23px; background: radial-gradient(ellipse at 50% 4%, #9b472d 0%, #682727 45%, #371d20 82%); text-align: center; box-shadow: 0 12px 75px #030e0ed9, inset 0 2px #ffd18a57; }
.sheet.welcome::backdrop { background: #050e0b9e; backdrop-filter: blur(1.5px); }
.welcome .sheet-handle { display: none; }
.welcome h2 { margin: 0 0 4px; color: #fff0ae; font-size: 24px; text-shadow: 0 2px #6b2b22; }
.welcome p { color: #ffe2c2; }
.welcome .id-form { grid-template-columns: 1fr; gap: 9px; margin-top: 14px; }
.welcome input { border-color: #bd8056; background: #281e1bf2; text-align: center; }
.welcome input::placeholder { color: #d8c1ac; }
.welcome .text-button { margin-top: 9px; }
.sheet .registration { margin-top: 11px; padding-top: 9px; border-top: 1px solid #e4b97c4f; color: #e5d4bf; font-size: 12px; }
.registration a { display: inline-flex; align-items: center; gap: 3px; min-height: 26px; color: #ffdb87; font-weight: 750; text-underline-offset: 3px; }
.registration svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.entry-options { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 12px; margin-top: 5px; }
.sheet.invite-sheet { border-color: #c99463; background: radial-gradient(ellipse at top left, #315846, transparent 58%), linear-gradient(150deg, #213f33, #102921 76%); }
.invite-hero { position: relative; display: flex; align-items: center; gap: 8px; padding: 10px 31px 10px 7px; border: 1px solid #da8d5c; border-radius: 13px; background: linear-gradient(128deg, #b53639, #742330 84%); box-shadow: inset 0 1px #ffc08052; }
.invite-hero::before { content: ""; position: absolute; top: -4px; right: 13px; width: 65px; height: 10px; background: var(--icing) center / 100% 100% no-repeat; pointer-events: none; }
.invite-hero > span { flex: 0 0 51px; display: grid; place-items: center; }
.invite-hero svg { width: 52px; height: 52px; color: #ed5550; }
.invite-hero h2 { margin: 0; color: #fff2b5; font-size: 20px; line-height: 1.14; }
.invite-hero p { color: #ffe4cc; font-size: 12px; }
.invite-hero small { color: #ffda92; font-size: 10px; font-weight: 750; }
.invite-sheet:has(.sheet-language) .invite-hero { margin-top: 25px; }
.invite-sheet .close-sheet { z-index: 2; }
.invite-sheet:has(.invite-hero):not(:has(.sheet-language)) .close-sheet { top: 34px; right: 18px; }
.opening-art { position: relative; width: min(100%, clamp(126px, 26dvh, 191px)); aspect-ratio: 224 / 208; margin: 0 auto 3px; isolation: isolate; }
.opening-art::before { content: ""; position: absolute; z-index: -1; inset: -25%; background: radial-gradient(ellipse, #f3aa587b 0%, #d8884030 40%, transparent 67%); }
.opening-art.welcome-present { aspect-ratio: 1; }
.welcome-present img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 10px #35182078); }
.box-part { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.box-base { filter: drop-shadow(0 9px 11px #2c120e9b); }
.box-lid { z-index: 3; transform-origin: 50% 40%; }
.sheet.opening-scene { inset: 0; width: min(100%, 456px); margin: auto; padding: 0 10px; overflow: visible; border: 0; background: transparent; box-shadow: none; text-align: center; animation: none; }
.opening-scene::backdrop { background: #05150dbb; }
.opening-scene .sheet-handle, .opening-scene .close-sheet { display: none; }
.opening-scene .opening-art { width: min(72vw, 272px); margin: 38px auto 2px; }
.opening-scene h2 { margin: 0; color: #ffedb5; font-size: 22px; text-shadow: 0 2px 8px #03120d; }
.sheet.claim-sheet { border-color: #bc7354; background: radial-gradient(ellipse at 35% 0, #7a352e, transparent 63%), linear-gradient(150deg, #59252d, #342225 73%); box-shadow: inset 0 2px #fbc88355, 0 -12px 50px #130b10e0; }
.claim-sheet .sheet-handle { background: #fed9a5; }
.claim-sheet h2 { color: #fff1bb; }
.claim-sheet p { color: #f1d8c5; }
.claim-sheet .claim-details { display: grid; gap: 0; margin: 13px 0; padding: 4px 12px; border: 1px solid #bb81567a; border-radius: 12px; background: #2e1820ae; }
.claim-details > div { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 43px; }
.claim-details > div + div { border-top: 1px solid #c798694a; }
.claim-details dt { color: #f0d5bd; font-size: 13px; }
.claim-details dd { display: flex; align-items: center; gap: 4px; margin: 0; color: #ffe5a5; font-size: 17px; font-weight: 750; font-variant-numeric: tabular-nums; }
.claim-details dd svg { width: 21px; height: 21px; }
.claim-sheet .notice { background: #3b252b; color: #f1d8c5 !important; }
.claim-sheet .claim-summary { text-align: center; }
.claim-summary h2 { margin: 3px 0 5px; }
.claim-summary p { margin-bottom: 13px; }
.claim-summary .claim-actions { display: grid; gap: 8px; }
.sack-art { position: relative; isolation: isolate; width: min(100%, 120px); aspect-ratio: 240 / 210; margin: 0 auto; }
.sack-art::before { content: ""; position: absolute; z-index: -1; inset: -22%; background: radial-gradient(ellipse at 50% 61%, #ffcc717b, #d7964d35 38%, transparent 66%); }
.sack-art > svg { position: absolute; }
.sack-part { inset: 0; width: 100%; height: 100%; overflow: visible; }
.sack-front { z-index: 3; filter: drop-shadow(0 5px 7px #110814a3); }
.opening-scene .sack-art { width: min(71vw, 260px); margin: 15px auto 4px; }
.sack-banking .sack-part { transform-origin: 50% 87%; animation: sack-fill 1.28s ease-out both; }
.sack-banking::before { animation: sack-glow 1.28s ease-out both; }
.sack-coin { z-index: 2; left: 50%; top: 34%; width: var(--size); height: var(--size); opacity: 0; filter: drop-shadow(0 0 8px #ffe89cbb); animation: bank-coin .76s var(--delay) cubic-bezier(.35,.1,.65,1) both; }
.sack-spark { z-index: 4; width: 15px; height: 15px; top: var(--top); left: var(--left); color: #ffe69e; opacity: 0; filter: drop-shadow(0 0 8px #ffd882c2); animation: sack-spark .66s var(--delay) ease-out both; }
@keyframes bank-coin {
  0% { opacity: 0; transform: translate(calc(-50% + var(--dx)), var(--dy)) rotate(var(--turn)) scale(.74); }
  27% { opacity: 1; }
  64% { opacity: 1; transform: translate(calc(-50% + var(--dx) * .28), -24px) rotate(20deg) scale(1.06); }
  90% { opacity: .86; }
  100% { opacity: 0; transform: translate(-50%, 26px) rotate(58deg) scale(.32); }
}
@keyframes sack-fill { 0%, 57%, 100% { transform: scale(1); } 72% { transform: scale(1.07,.94); } 84% { transform: scale(.98,1.045); } }
@keyframes sack-glow { 0%, 100% { opacity: .48; } 69% { opacity: 1; transform: scale(1.23); } }
@keyframes sack-spark { 0% { opacity: 0; transform: translateY(6px) scale(.4); } 34% { opacity: 1; } 100% { opacity: 0; transform: translateY(-22px) scale(1.08); } }
.is-opening::before { animation: box-flash 1.24s ease-out both; }
.is-opening .box-base { transform-origin: 50% 84%; animation: box-bounce 1.24s ease-out both; }
.is-opening .box-lid { animation: lid-pop 1.24s cubic-bezier(.2,.65,.28,1) both; }
.burst-coin { position: absolute; z-index: 2; top: 44%; left: 49%; width: var(--size); height: var(--size); filter: drop-shadow(0 0 9px #ffe596a0); opacity: 0; animation: coin-jump .86s var(--delay) ease-out both; }
.burst-spark { position: absolute; z-index: 2; top: 44%; left: 49%; width: 15px; height: 15px; color: #fff0a6; filter: drop-shadow(0 0 6px #ffcf6e); opacity: 0; animation: coin-jump .72s var(--delay) ease-out both; }
@keyframes box-bounce { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.06,.92); } 28% { transform: scale(.96,1.04); } 49% { transform: scale(1); } }
@keyframes lid-pop {
  0% { transform: none; opacity: 1; }
  12% { transform: translateY(5%) scale(1.045,.95); }
  32% { transform: translate(11%, -45%) rotate(-16deg) scale(1.04); }
  60% { transform: translate(34%, -30%) rotate(29deg) scale(.93); opacity: 1; }
  100% { transform: translate(62%, -4%) rotate(63deg) scale(.71); opacity: 0; }
}
@keyframes coin-jump {
  0% { transform: translate(-50%, -30%) rotate(-30deg) scale(.24); opacity: 0; }
  17% { opacity: 1; }
  55% { transform: translate(calc(-50% + var(--dx)), var(--dy)) rotate(var(--angle)) scale(1.12); opacity: 1; }
  81% { opacity: .9; }
  100% { transform: translate(calc(-50% + var(--dx) * 1.23), calc(var(--dy) + 41px)) rotate(calc(var(--angle) + 55deg)) scale(.64); opacity: 0; }
}
@keyframes box-flash { 0%, 13%, 100% { opacity: .4; transform: scale(.9); } 38% { opacity: 1; transform: scale(1.43); } }
.sheet .section { margin-top: 15px; padding-top: 13px; border-top: 1px solid #527261; }
.sheet .actions { margin-top: 12px; }
.finish-invite { margin-top: 12px; }
.sheet .rules { padding-left: 21px; color: #d4dfd3; }
.sheet .rules li { margin-bottom: 9px; }
.sheet .rules b { color: #ffe3a4; }
.sheet .demo-option { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.demo-option button { min-height: 36px; padding: 5px 8px; border: 1px solid #846e46; border-radius: 99px; background: linear-gradient(#2e5542, #16362a); color: #f2ebd3; font-size: 12px; box-shadow: inset 0 1px #f4d48c29; }
.notice { margin-top: 10px !important; padding: 8px 10px; border-radius: 8px; background: #0c211b; color: #e2d8b8 !important; }
.sheet.records-sheet { border-color: #b68e5e; background: radial-gradient(ellipse at 16% 0, #305845, transparent 49%), linear-gradient(150deg, #183c2f, #102b23 75%); box-shadow: inset 0 2px #f4ce8a43, 0 -12px 50px #091813de; }
.records-hero { position: relative; display: flex; align-items: center; gap: 8px; margin: 2px 0 10px; padding: 3px 45px 3px 6px; border: 1px solid #dd8158; border-radius: 13px; background: linear-gradient(115deg, #a12d2f, #75232b 80%); box-shadow: inset 0 1px #ffbd8550; }
.records-hero::after { content: ""; position: absolute; top: -4px; right: 10px; width: 77px; height: 11px; background: var(--icing) center / 100% 100% no-repeat; pointer-events: none; }
.records-sheet .close-sheet { top: 36px; right: 22px; z-index: 1; }
.records-hero h2 { margin: 0; color: #fff0b4; line-height: 1.2; text-shadow: 0 2px #681b27; }
.records-hero div > span { display: block; color: #ffda96; font-size: 8px; font-weight: 800; letter-spacing: .11em; }
.records-gift { display: grid; place-items: center; width: 48px; height: 50px; }
.records-gift svg { width: 47px; height: 47px; color: #df4846; filter: drop-shadow(0 2px 4px #4c181be0); }
.switcher { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 4px; border: 1px solid #59715a; border-radius: 99px; background: #0b241bbf; }
.switcher button { min-height: 37px; border: 1px solid transparent; border-radius: 99px; background: transparent; color: #cbd8c6; font-weight: 750; font-size: 13px; }
.switcher [aria-pressed="true"] { border-color: #f6d68a; background: repeating-linear-gradient(135deg, #fff4c422 0 8px, transparent 8px 17px), linear-gradient(#ffe6a0, #e4a748); color: #492809; box-shadow: inset 0 1px #fff0bf; }
.record-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; margin: 11px 0 0; padding: 0; list-style: none; }
.record-card { --record-tone: #e8c683; --record-fill: #4d3c2b; display: flex; align-items: center; gap: 9px; min-height: 70px; padding: 9px 10px; border: 1px solid #74837276; border-left: 3px solid var(--record-tone); border-radius: 10px; background: linear-gradient(120deg, #213e32, #102920 85%); }
.record-new { --record-tone: #b9ebb3; --record-fill: #29523d; }
.record-returning { --record-tone: #bceaff; --record-fill: #254a59; }
.record-invalid { --record-tone: #ffd0c7; --record-fill: #562c36; }
.record-unknown { --record-tone: #e0e0dc; --record-fill: #414749; }
.record-symbol { flex: 0 0 33px; display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid var(--record-tone); border-radius: 50%; background: var(--record-fill); color: var(--record-tone); }
.record-symbol svg, .record-pill svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.record-coin { border-color: #b98b48; background: #533d26; }
.record-coin svg { width: 25px; height: 25px; stroke: none; }
.record-copy { display: grid; flex: 1; min-width: 0; gap: 1px; }
.record-status { color: var(--record-tone); font-size: 14px; }
.record-copy > small, .record-copy time { display: block; color: #bcd1c1; font-size: 11px; font-variant-numeric: tabular-nums; }
.record-amount { color: #ffe5a0; font-size: 21px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.record-amount small { font-size: 11px; }
.record-bonus { display: flex; align-items: center; gap: 3px; color: #ffe18b; white-space: nowrap; }
.record-bonus svg { width: 18px; height: 18px; }
.record-bonus strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.record-bonus small { font-size: 11px; }
.record-side { flex: none; display: grid; justify-items: end; }
.record-pill { display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border: 1px solid var(--record-tone); border-radius: 99px; background: var(--record-fill); color: var(--record-tone); font-size: 11px; font-weight: 750; white-space: nowrap; }
.record-pill svg { width: 14px; height: 14px; }
.record-side .text-button { padding-inline: 5px; }
.record-claim { display: grid; grid-template-columns: 33px minmax(0, 1fr); align-items: start; gap: 7px 9px; min-width: 0; }
.record-claim .record-symbol { grid-column: 1; grid-row: 1 / 3; align-self: center; }
.record-claim .record-copy { grid-column: 2; overflow-wrap: anywhere; }
.record-claim .record-side { grid-column: 2; justify-items: start; min-width: 0; max-width: 100%; }
.record-claim .record-pill { max-width: 100%; white-space: normal; overflow-wrap: anywhere; border-radius: 9px; line-height: 1.4; align-items: flex-start; }
.record-claim .record-pill svg { flex: 0 0 14px; margin-top: 1px; }
.empty { display: grid; justify-items: center; gap: 4px; padding: 23px 8px 17px; text-align: center; }
.empty svg { width: 20px; height: 20px; color: #efd184; }
.toast { position: fixed; inset: auto 12px max(19px, env(safe-area-inset-bottom)); z-index: 6; width: max-content; max-width: calc(100% - 24px); margin: auto; padding: 9px 14px; border: 1px solid #b7955b; border-radius: 99px; background: #263324; color: #fff0bd; text-align: center; opacity: 0; pointer-events: none; transition: opacity .15s; }
.toast.visible { opacity: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 355px) { .pedestal.has-reward { padding-inline: 12px 14px; } .floating-nav { right: 7px; } }
@media (max-height: 600px) { .floating-nav { gap: 4px; top: 171px; } .floating-nav button { min-height: 44px; grid-template-rows: 31px auto; } .floating-nav svg { width: 36px; height: 34px; } }
@media (min-width: 560px) { .sheet { inset: 0; margin: auto; border-radius: 23px; max-height: min(86dvh, 680px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
