.game-action{min-height:var(--action-height);font-size:var(--action-font);background:var(--button-primary);color:#6c2944;cursor:pointer;border:2px solid #edaa39;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:8px 24px;font-weight:800;line-height:1.2;text-decoration:none;transition:filter .22s,opacity .22s;display:inline-flex;box-shadow:inset 0 3px 4px #fffbd0,inset 0 -4px 6px #eb920099,0 3px #c47d32}.game-action.secondary{background:var(--button-secondary);border-color:#dca47c;box-shadow:inset 0 3px 4px #fffdf6,inset 0 -4px 6px #dc9a6499,0 3px #bf896e}.game-action:disabled{opacity:.55;cursor:default}.game-action:active:not(:disabled){filter:brightness(.95)}.progression-widget{font-size:var(--text-caption);flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;margin:0 auto 20px;font-weight:700;display:flex}.resource-chip{color:#723149;white-space:nowrap;font-variant-numeric:tabular-nums;background:linear-gradient(#fffaf0,#ffe6c9);border:2px solid #ebba91;border-radius:18px;justify-content:center;align-items:center;gap:3px;min-height:44px;padding:2px 12px 2px 3px;display:inline-flex;box-shadow:inset 0 2px 1px #fffdf3,0 2px #c78f6d}.resource-icon{object-fit:contain;flex:none;width:40px;height:40px}.resource-count{font-size:1em;line-height:1}.resource-cost{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;min-width:0;display:flex}.resource-cost-chip{max-width:100%;font-size:var(--text-caption);font-weight:750}.resource-cost-chip--cards .resource-icon{width:42px;height:42px}.resource-cost-free{color:#723149;font-weight:750}.resource-chip--crystals,.resource-chip--fragments{background:linear-gradient(#faf3ff,#f0e7ff);border-color:#bca6da;box-shadow:0 3px #9383bb}.resource-chip--rating{background:linear-gradient(#f8f0ff,#ebddf7);border-color:#b79acf;box-shadow:0 3px #926cb0}.game-rewards.game-rewards{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:center;gap:12px;width:100%;max-width:360px;margin-inline:auto;padding:0;list-style:none;display:grid}.reward-card{--reward-border:#eab593;border:2px solid var(--reward-border);background:var(--reward-face,radial-gradient(ellipse at 50% 30%, #fffdf4, #ffe7cd));color:#703047;border-radius:20px;flex-direction:column;justify-content:flex-start;align-items:center;min-width:0;margin:0;padding:8px 8px 12px;animation:.22s ease-out both reward-appear;display:flex;position:relative;box-shadow:inset 0 2px #fffdf5,0 3px #c995772e}.reward-card-art{object-fit:contain;width:100%;height:92px;display:block}.reward-card-count{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;max-width:100%;margin-top:2px;font-size:25px;font-weight:850;line-height:1.15;display:block}.reward-card--hero .reward-card-art{height:104px}.reward-card--hero .reward-card-count{background:linear-gradient(#ffc83f,#ffab23);border:2px solid #ffe6aa;border-radius:12px;min-width:32px;padding:3px 7px;font-size:19px;position:absolute;top:8px;right:8px;box-shadow:0 2px #bb855c4d}.reward-card-name{overflow-wrap:anywhere;margin-top:6px;font-size:15px;font-weight:750;line-height:1.2}.game-rewards>.reward-card:last-child:nth-child(odd){grid-column:1/-1;justify-self:center;width:calc(50% - 6px)}.reward-card--crystals,.reward-card--fragments{--reward-border:#ab9bce;--reward-face:#f0e7ff}.reward-card[data-rarity=common]{--reward-border:#a6aab0;--reward-face:#edf0f2}.reward-card[data-rarity=rare]{--reward-border:#4f82d5;--reward-face:#dceaff}.reward-card[data-rarity=epic]{--reward-border:#b17acc;--reward-face:#f3e6ff}.reward-card[data-rarity=legendary]{--reward-border:#c77c13;--reward-face:#ffde83}@keyframes reward-appear{0%{opacity:0}to{opacity:1}}.chest-trigger{color:#633449;text-align:left;cursor:pointer;background:linear-gradient(#fff5e2,#ffe9ca 60%,#f3c795);border:2px solid #c08258;border-radius:24px;align-items:center;gap:7px;width:144px;min-height:56px;padding:3px 11px 5px;transition:filter .18s,opacity .18s;display:inline-flex;box-shadow:0 4px #ab633d}.chest-trigger:disabled{opacity:.6;cursor:default}.chest-trigger[data-cooldown=true]{background:linear-gradient(#fff1e5,#e3d3c9);border-color:#bfa598;box-shadow:0 4px #aa8a7e}.chest-trigger-icon{flex:0 0 41px;position:relative}.chest-trigger-icon .resource-icon{width:41px;height:41px;display:block}.chest-stock{color:#fff;background:#a24576;border:1px solid #fff1e2;border-radius:999px;place-items:center;min-width:17px;height:17px;padding-inline:2px;font-size:10px;font-weight:800;display:grid;position:absolute;top:-3px;right:-3px}.chest-trigger-text{white-space:nowrap;font-size:16px;line-height:1.2;display:grid}.chest-progress{font-variant-numeric:tabular-nums;font-size:12px;font-weight:750}.chest-dialog{width:var(--game-width);height:var(--game-height);color:#fff6ff;text-align:center;background:radial-gradient(circle at 30.5% 12%,#bd9bea 0 1.5px,#0000 2.5px),radial-gradient(circle at 21% 66%,#bd9bea 0 3px,#0000 4px),radial-gradient(circle at 81% 20.5%,#bd9bea 0 3px,#0000 4px),radial-gradient(circle at 88% 72%,#bd9bea 0 3px,#0000 4px),radial-gradient(circle at 12% 22%,#bd9bea 0 2px,#0000 3px),radial-gradient(circle at 68.5% 80%,#bd9bea 0 1.5px,#0000 2.5px),radial-gradient(circle at 13.5% 86%,#bd9bea 0 2px,#0000 3px),radial-gradient(circle at 82.5% 88%,#bd9bea 0 2px,#0000 3px),radial-gradient(62% 62% at 50% 45%,#67449c,#432578 60%,#22133c 100%);border:0;max-width:none;max-height:none;margin:0;padding:12px;animation:.18s ease-out both chest-fade;position:fixed;inset:0;overflow:hidden}.chest-dialog[open]{place-items:center;display:grid}.chest-dialog::backdrop{background:#22133c;animation:.18s ease-out both chest-fade}.chest-dialog[data-closing]::backdrop{animation:.15s ease-out both chest-backdrop-exit}@keyframes chest-backdrop-exit{0%{opacity:var(--chest-backdrop-opacity,1)}to{opacity:0}}.chest-panel{width:min(358px,100%);max-height:100%;padding:13px 11px 21px;animation:.22s cubic-bezier(.2,.65,.2,1) both chest-panel-in;position:relative;overflow:auto}.chest-panel .back{position:absolute;top:13px;left:13px}.chest-panel h2{place-items:center;min-height:46px;margin:0 38px 12px;font-size:26px;display:grid}.chest-dialog-art{object-fit:contain;width:128px;height:128px;margin:0 auto 12px;display:block}.chest-status{margin:12px 0;font-size:16px}.chest-panel .game-action{min-width:min(260px,100%);min-height:48px;margin-top:14px}.chest-summary.game-rewards{grid-template-columns:repeat(3,minmax(0,104px));gap:10px}.chest-summary.game-rewards>.reward-card:last-child:nth-child(odd){grid-column:auto;width:100%}.chest-summary .reward-card{padding:6px 5px 9px}.chest-summary.game-rewards .reward-card-art{height:61px}.chest-summary.game-rewards .reward-card-count{box-shadow:none;background:0 0;border:0;padding:0;font-size:20px;position:static}.chest-summary .reward-card-name{display:none}.chest-reveal{--reveal-size:min(235px, calc(var(--game-width) * .56), calc(var(--game-height) * .4));flex-direction:column;justify-content:center;align-items:center;gap:18px;padding-bottom:14px;display:flex;position:absolute;inset:0}.chest-reveal-count,.chest-reveal-title{margin:0;font-size:20px;font-weight:750}.chest-reveal-count{color:#eedaff;margin-bottom:20px}.chest-reveal-title{font-size:26px}.chest-reveal-card.game-rewards{width:var(--reveal-size);margin:0;display:block}.chest-reveal-card.game-rewards>.reward-card:only-child{width:var(--reveal-size);height:var(--reveal-size);background:var(--reward-face,#fff4e2);border-width:4px;border-radius:30px;grid-template-rows:minmax(0,1fr) auto;justify-content:stretch;align-items:center;padding:12px 16px 18px;animation:.24s cubic-bezier(.2,.65,.2,1) both chest-card-in;display:grid}.chest-reveal-card.game-rewards .reward-card-art{height:min(112px, calc(var(--reveal-size) * .52))}.chest-reveal-card.game-rewards .reward-card-count{box-shadow:none;background:0 0;border:0;padding:0;font-size:42px;position:static}.chest-dialog .reward-card-count:before{content:"+"}.chest-reveal-card .reward-card-name{display:none}.chest-reveal-surface{padding:0 12px max(20px, calc(var(--game-height) * .235));color:#eedaff;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:end;font-size:19px;font-weight:550;display:flex;position:absolute;inset:0}.chest-reveal-surface:focus-visible{outline-offset:-5px}:root[data-scale-mode=compact] .chest-reveal-surface{padding-bottom:24px}:root[data-scale-mode=compact] .chest-reveal-count{margin-bottom:0}:root[data-scale-mode=compact] .chest-dialog-art{width:74px;height:74px}@keyframes chest-fade{0%{opacity:0}to{opacity:1}}@keyframes chest-panel-in{0%{opacity:0;transform:translateY(9px)scale(.98)}to{opacity:1;transform:none}}@keyframes chest-card-in{0%{opacity:0;transform:translateY(10px)scale(.94)}to{opacity:1;transform:none}}@media (hover:hover){.game-action:hover:not(:disabled),.chest-chip:hover:not(:disabled){filter:brightness(1.04)}}@media (prefers-reduced-motion:reduce){.game-action,.chest-dialog,.chest-dialog::backdrop,.chest-panel,.chest-reveal-card.game-rewards>.reward-card:only-child,.chest-chip,.reward-card{transition:none;animation:none}}
