.series-chest-launcher{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:40;display:grid;place-items:center;width:68px;height:68px;padding:6px;border:1px solid #fb718555;border-radius:22px;background:#29141b;box-shadow:0 8px 24px #0006;cursor:pointer;animation:chest-hop 6s ease-in-out infinite}.series-chest-launcher .chest-art{width:56px;height:56px;transition:transform .16s ease-out}.series-chest-launcher:hover .chest-art{transform:rotate(-5deg) scale(1.05)}.series-chest-launcher.has-reward{border-color:#fbbf24}@keyframes chest-hop{0%,84%,to{transform:translateY(0)}89%{transform:translateY(-7px)}94%{transform:translateY(0)}97%{transform:translateY(-3px)}}.series-chests-dialog{width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid #ffffff18;border-radius:24px;background:#17171c;color:#f5f5f5;box-shadow:0 24px 80px #0008;overflow:auto}.series-chests-dialog::backdrop{background:#000b}.chest-dialog-head{display:flex;align-items:center;gap:12px}.chest-dialog-head .chest-art{width:44px;height:44px}.chest-dialog-head h2{font-size:22px;line-height:28px;margin:0;flex:1;text-wrap:balance}.chest-dialog-close{display:grid;place-items:center;width:44px;height:44px;flex:none;border:0;border-radius:50%;background:#ffffff0d;color:#ddd;cursor:pointer}.chest-dialog-close .ui-icon{width:22px;height:22px}.chest-dialog-subtitle,.chest-note{color:#b4b4c0;font-size:13px;line-height:20px}.chest-dialog-subtitle{margin:12px 0 20px}.chest-note{margin:18px 0 0}.chest-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;background:#ffffff08;border-radius:16px;margin-bottom:16px;font-size:14px}.chest-summary strong{font-size:20px;font-variant-numeric:tabular-nums;white-space:nowrap}.chest-reward{padding:16px;margin-top:12px;border:1px solid #ffffff12;border-radius:16px}.chest-reward.is-claimed{border-color:#86efac44}.chest-reward-heading,.chest-reward-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.chest-reward h3{font-size:16px;margin:0}.chest-gold{color:#fcd778;font-size:14px;white-space:nowrap}.chest-reward-bottom{font-size:12px;color:#b4b4c0}.chest-progress{display:block;width:100%;height:8px;margin:16px 0;appearance:none;border:0;border-radius:999px;overflow:hidden;background:#303038}.chest-progress::-webkit-progress-bar{background:#303038}.chest-progress::-webkit-progress-value{background:#f05b75;border-radius:999px}.chest-progress::-moz-progress-bar{background:#f05b75}.chest-claim{min-height:44px;padding:10px 16px;border:0;border-radius:12px;background:#dc263f;color:#fff;font:inherit;font-size:14px;font-weight:700;cursor:pointer}.chest-claim:disabled{background:#2c2c34;color:#aaa;cursor:default}.chest-feedback{font-size:14px;line-height:20px;color:#fcd778}.chest-feedback:empty{display:none}.chest-error{color:#fda4af}.chest-loading{color:#bbb}.series-chest-launcher:focus-visible,.series-chests-dialog :is(button,a):focus-visible{outline:2px solid #fda4af;outline-offset:4px}@media(max-width:600px){.series-chests-dialog{padding:20px}.series-chest-launcher{width:60px;height:60px;right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom))}.series-chest-launcher .chest-art{width:50px;height:50px}.chest-dialog-head h2{font-size:19px}.chest-reward{padding:12px}.chest-summary{align-items:flex-start}.chest-summary span{max-width:160px}}@media(prefers-reduced-motion:reduce){.series-chest-launcher{animation:none}.series-chest-launcher .chest-art{transition:none}}
