.auth-widget{position:fixed;z-index:120;top:12px;right:18px;font-family:'Microsoft YaHei',system-ui,sans-serif}.site-header .auth-widget{position:absolute;top:50%;right:26px;transform:translateY(-50%)}.auth-trigger{display:flex;align-items:center;gap:8px;min-height:43px;padding:5px 11px 5px 5px;color:#e9f2ef;background:#132a38;border:1px solid #688a92;box-shadow:0 8px 28px #0005;cursor:pointer}.auth-trigger:hover,.auth-trigger[aria-expanded=true]{border-color:#dfc293;background:#1a3a48}.auth-avatar{position:relative;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;border:1px solid #d7bb8b;color:#e3c99c;background:#203845;overflow:hidden}.auth-avatar img{width:100%;height:100%;object-fit:cover;object-position:center 20%}.auth-avatar img.auth-avatar-mel{position:absolute;top:-75%;left:-253%;width:406%;height:auto;max-width:none;object-fit:fill}.auth-label{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.auth-chevron{font-size:12px;color:#a4cad1}.auth-menu{position:absolute;right:0;top:calc(100% + 6px);width:178px;padding:6px;background:#112633;border:1px solid #577784;box-shadow:0 15px 35px #0009}.auth-menu[hidden]{display:none}.auth-menu a,.auth-menu button{display:block;width:100%;padding:11px;color:#dcebec;text-align:left;font-size:12px;text-decoration:none;background:none;border:0;cursor:pointer}.auth-menu a:hover,.auth-menu button:hover{background:#244753;color:#fff}.auth-toast{position:fixed;z-index:150;top:70px;right:18px;padding:12px 18px;color:#e8f8ef;background:#214d42;border:1px solid #8bc7a5;box-shadow:0 10px 30px #0008;opacity:0;transform:translateY(-8px);pointer-events:none;transition:.25s}.auth-toast.show{opacity:1;transform:translateY(0)}@media(max-width:700px){.auth-widget{top:8px;right:8px}.auth-label{max-width:62px}.auth-trigger{min-height:38px}.auth-avatar{width:27px;height:27px}}

.redeem-dialog{width:min(570px,calc(100vw - 28px));max-height:min(90vh,760px);padding:0;overflow:auto;color:#edf8f7;background:#081823;border:1px solid #75a8ad;box-shadow:0 25px 100px #000c;font-family:ui-monospace,'Cascadia Code','Microsoft YaHei',monospace}.redeem-dialog::backdrop{background:#020b12d9;backdrop-filter:blur(8px)}.redeem-panel{position:relative;isolation:isolate;padding:44px clamp(24px,6vw,42px) 32px;background:linear-gradient(135deg,#102d3a 0%,#091922 55%,#142a35 100%)}.redeem-panel::before{content:'';position:absolute;inset:10px;border:1px solid #90bfc233;pointer-events:none}.redeem-art{position:absolute;top:8px;right:15px;width:160px;opacity:.2;z-index:-1}.redeem-art svg{fill:none;stroke:#a8dde0;stroke-width:1.4;animation:redeem-orbit 22s linear infinite}.redeem-art svg path:last-child{fill:#9ddce344;stroke:#e3d0a7;animation:redeem-pulse 4s ease-in-out infinite}.redeem-kicker,.redeem-footer{display:block;color:#8dc9d4;font-size:10px;letter-spacing:.2em}.redeem-panel h2{margin:17px 0 12px;color:#f4f8f5;font-size:clamp(25px,5vw,36px);letter-spacing:.08em}.redeem-panel h2 span{color:#e6ca98;font-size:.6em}.redeem-intro{max-width:420px;color:#aac2c8;line-height:1.8;font-size:13px}.redeem-form{margin-top:32px}.redeem-form label{display:block;margin-bottom:11px;color:#cce9eb;font-size:11px;letter-spacing:.13em}.redeem-input-line{display:flex;gap:8px}.redeem-input-line input{min-width:0;flex:1;padding:13px 14px;color:#fff;background:#06131e;border:1px solid #59818a;outline:0;font:inherit;font-size:14px;letter-spacing:.08em;text-transform:uppercase}.redeem-input-line input:focus{border-color:#e6ca98;box-shadow:0 0 0 2px #e6ca9833}.redeem-input-line button{padding:0 18px;color:#061923;background:#e4ca9b;border:1px solid #f7dfaf;font:inherit;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}.redeem-input-line button:hover{background:#f5dfb2;box-shadow:0 0 25px #e4ca9b55}.redeem-input-line button:disabled{opacity:.55;cursor:wait}.redeem-status{min-height:22px;margin:20px 0 8px;color:#a9e3cd;font-size:13px}.redeem-status.is-error{color:#ffb4a4}.redeem-rewards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0 24px}.redeem-rewards[hidden]{display:none}.redeem-reward{display:flex;justify-content:space-between;gap:10px;padding:10px;border:1px solid #4d879077;background:#11323c99;color:#c9e5e8;font-size:12px}.redeem-reward strong{color:#edd2a0}.redeem-close{position:absolute;top:15px;right:19px;width:30px;height:30px;padding:0;color:#d2e9e8;background:transparent;border:1px solid #7ca3a566;font-size:23px;line-height:1;cursor:pointer}.redeem-close:hover{color:#fff;border-color:#e4ca9b}.redeem-footer{margin-top:25px;color:#688d98}@keyframes redeem-orbit{to{transform:rotate(360deg)}}@keyframes redeem-pulse{50%{opacity:.35}}@media(max-width:520px){.redeem-input-line{flex-direction:column}.redeem-input-line button{min-height:42px}.redeem-rewards{grid-template-columns:1fr}}
