*{box-sizing:border-box}body{margin:0;background:#101415;color:#f2f1eb;font:15px 'Microsoft YaHei',sans-serif}button,input{font:inherit}button,a{touch-action:manipulation}button{border:1px solid #3e4546;background:transparent;color:inherit;padding:10px 18px;cursor:pointer}button:hover,a:hover{color:#ff672b;border-color:#ff672b}button:disabled{opacity:.45;cursor:default}a{color:inherit;text-decoration:none}header{height:88px;border-bottom:1px solid #2a3031;display:flex;align-items:center;gap:55px;max-width:1280px;margin:auto;padding:0 32px}.brand{font-weight:800;color:#ef244a;font-size:26px}nav{display:flex;gap:28px}nav a{font-size:14px;color:#9fa8a8}nav [aria-current]{color:#ff672b}header>button{margin-left:auto}main{max-width:1216px;margin:auto;padding:56px 28px 70px}.intro{display:flex;align-items:center;justify-content:space-between;padding-bottom:42px}.eyebrow{font:12px Arial;letter-spacing:3px;color:#ff672b}h1{font-size:48px;line-height:1.35;margin:20px 0}p{color:#aeb7b5;line-height:1.9}.daily-note{border-left:2px solid #ff672b;padding:15px 28px}.daily-note span{display:block;color:#ff672b;margin-bottom:12px}.daily-note strong{font-size:20px}.section-heading{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #303637;padding-top:22px}h2{font-size:24px}.event-card{display:grid;grid-template-columns:1.35fr 1fr;overflow:hidden;border:1px solid #303839;background:#181f20;margin:22px 0}.poster{width:100%;height:100%;min-height:340px;object-fit:cover;background:#20292a}.event-copy{padding:32px 34px;display:flex;flex-direction:column}.badge{color:#ff672b;letter-spacing:2px;font-size:12px}.event-copy h3{font-size:30px;margin:18px 0 8px;line-height:1.35}.subtitle{margin:0 0 20px}.reward{font-size:20px;color:#fff;margin-bottom:14px}.meter{background:#30393a;height:5px;margin-bottom:12px}.meter span{display:block;background:#ff672b;height:100%;transition:width .2s}.progress{font-size:13px;color:#bfc7c5}.event-actions{display:flex;gap:16px;align-items:center;margin-top:auto;padding-top:24px}.primary{background:#f2581c;border-color:#f2581c;color:#fff;font-weight:bold;min-width:155px}.event-actions .details{padding:10px 0;border:none;color:#adb7b6;font-size:13px}.dates{font-size:12px;margin-bottom:10px}.empty{padding:50px 0;text-align:center}.error,#login-error{color:#ff9d84}dialog{background:#182022;color:#f1f1ec;border:1px solid #465052;max-width:640px;width:calc(100% - 40px);padding:34px}dialog::backdrop{background:#000a}.close{position:absolute;right:12px;top:10px;border:0;padding:6px 12px}label{display:block;color:#b8c2c0;margin:18px 0}input{display:block;width:100%;background:#101718;border:1px solid #414b4d;color:#fff;margin-top:8px;padding:12px}#details-body{white-space:pre-wrap;max-height:65vh;overflow:auto}footer{max-width:1216px;margin:auto;padding:25px 28px;border-top:1px solid #2c3334;display:flex;justify-content:space-between;color:#687572;font-size:11px;letter-spacing:2px}@media(max-width:760px){header{height:76px;padding:0 20px;gap:20px}.brand{font-size:20px}nav{display:none}header>button{font-size:12px;padding:8px}main{padding:30px 20px}.intro{display:block}h1{font-size:38px}.daily-note{margin-top:30px}.event-card{grid-template-columns:1fr}.poster{height:230px;min-height:0}.event-copy{padding:24px}.event-copy h3{font-size:26px}.section-heading h2{font-size:20px}}

.header-actions{margin-left:auto;display:flex;gap:10px;align-items:center}.header-actions>button{min-height:44px}.event-actions .details{display:inline-flex;gap:8px;align-items:center;min-height:44px}.reward-detail{margin:0 0 18px;color:#ff8d5a}.progress{margin-bottom:9px}.meter{margin-bottom:16px}#refresh{display:inline-flex;gap:8px;align-items:center;min-height:44px}input{font-size:16px}dialog{max-height:85dvh;overflow:auto}.event-copy{min-width:0}.poster{aspect-ratio:4/3}html[lang=en] h1{font-size:40px} @media(max-width:760px){header{margin:0;display:flex;flex-wrap:wrap;height:auto;padding:12px 16px;gap:8px;min-height:118px}.brand{font-size:20px;height:40px}nav{display:flex;order:3;width:100%;gap:24px}nav a{min-height:40px}.header-actions{gap:8px}.header-actions>button{font-size:12px;padding:8px 12px}.language-switch{gap:6px}.intro{padding-bottom:26px}.daily-note{margin-top:24px;padding:14px 18px}.daily-note strong{font-size:18px}main{padding:30px 16px 45px}.intro h1{font-size:34px;line-height:1.4}.section-heading{gap:12px}.section-heading h2{font-size:19px}#refresh{padding:8px 12px;font-size:12px}.event-card{margin:18px 0}.poster{height:auto;aspect-ratio:4/3;object-fit:cover}.event-copy{padding:24px 20px}.event-copy h3{font-size:26px}.reward{font-size:18px;line-height:1.6}.event-actions{gap:12px;flex-wrap:wrap}.event-actions .primary{min-height:48px;min-width:0;flex:1}.event-actions .details{padding:10px}.header-actions #account{border-radius:999px}footer{flex-wrap:wrap;gap:12px;font-size:10px;padding-bottom:max(25px,env(safe-area-inset-bottom))}html[lang=en] .intro h1{font-size:32px}}

/* Separate upper/lower garment choices; original in-game icons. */
.gift-choice-group{min-width:0;border:0;padding:0;margin:18px 0}.gift-choice-group legend{font-size:14px;color:#ecece8;margin-bottom:10px}.gift-choice-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.gift-choice{position:relative;min-width:0;border:1px solid #444b50;border-radius:12px;background:#141c22;display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 4px;cursor:pointer;font-size:13px}.gift-choice img{object-fit:contain;width:72px;height:72px;max-width:100%}.gift-choice input{position:absolute;top:8px;left:8px;accent-color:#ef2341}.gift-choice.selected{border-color:#ff314c;background:#301b25;box-shadow:inset 0 0 0 1px #ff314c}.gift-choice:focus-within{outline:2px solid #fff;outline-offset:3px}.gift-choice:has(input:disabled){cursor:default}.gift-selection-summary{font-size:13px;color:#f0d5b0;overflow-wrap:anywhere}@media(max-width:520px){.gift-choice-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

.event-card.choice-event{grid-template-columns:1fr;border-radius:18px}.choice-event .poster{height:auto;min-height:0;aspect-ratio:16/9;object-fit:contain}.choice-event .event-copy{display:block}.gift-choice-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.gift-choice{margin:0}.gift-choice input{width:16px;height:16px;padding:0;margin:0}.gift-choice img{width:86px;height:86px}.choice-event .event-actions{padding-top:12px}.choice-event .subtitle{margin-bottom:10px}@media(max-width:760px){.gift-choice-groups{grid-template-columns:1fr;gap:0}}

/* Keep native single-choice semantics and draw a clear tick over shared input resets. */
.gift-choice{padding:18px 6px 10px;gap:8px;color:#f2f1eb}.gift-choice input{top:8px;left:8px;width:20px;height:20px;opacity:0}.gift-choice-check{position:absolute;top:8px;left:8px;display:grid;place-items:center;width:20px;height:20px;border:1px solid #677277;border-radius:5px;background:#101718;color:transparent;font:bold 15px/1 Arial;pointer-events:none}.gift-choice input:checked+.gift-choice-check{background:#ef2341;border-color:#ff536a;color:#fff}.gift-choice-groups.has-fixed{grid-template-columns:repeat(2,minmax(0,1fr)) 128px}.gift-fixed-options{display:grid;grid-template-columns:repeat(auto-fit,128px);gap:8px}.gift-fixed-choice{cursor:default}.gift-fixed-group legend{color:#ff7d90}@media(max-width:980px){.gift-choice-groups.has-fixed{grid-template-columns:repeat(2,minmax(0,1fr))}.gift-fixed-group{grid-column:1/-1;margin-top:0}}@media(max-width:760px){.gift-choice-groups.has-fixed{grid-template-columns:1fr}.gift-fixed-group{grid-column:auto}}

.gift-playtime{color:#f2f1eb;font-size:15px;margin-top:20px}.gift-activity-meter{max-width:600px;height:7px;border-radius:8px;overflow:hidden}.gift-confirmation{border-radius:18px;width:min(560px,calc(100% - 32px));padding:28px}.gift-confirmation h2{font-size:24px;margin:0 0 12px}.gift-confirm-items{list-style:none;padding:0;margin:18px 0;display:grid;gap:10px}.gift-confirm-items li{display:flex;align-items:center;gap:14px;padding:8px 12px;border:1px solid #414a4d;border-radius:12px;background:#101718}.gift-confirm-items img{width:64px;height:64px;object-fit:contain}.gift-confirm-items span{color:#f2f1eb}.gift-confirm-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.gift-confirm-actions button{border-radius:999px;min-height:44px}.gift-confirm-actions .primary{min-width:0}@media(max-width:520px){.gift-confirmation{padding:22px 18px}.gift-confirmation h2{font-size:21px}.gift-confirm-actions button{flex:1;padding:10px 12px}}

.opening-reward{display:flex;gap:14px;align-items:center;margin:18px 0}.opening-reward img{width:76px;height:76px;object-fit:contain}.opening-message{white-space:pre-line;line-height:1.9;color:#d5dadd;font-size:15px;margin:20px 0}

.opening-event{display:block;border-radius:18px;overflow:hidden}.opening-event>.poster{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#11191a}.opening-event .event-copy{max-width:none}.opening-event h3{max-width:none}.opening-message{max-width:850px}
