* { box-sizing: border-box; }
:root { --page-safe-left: env(safe-area-inset-left, 0px); --page-safe-right: env(safe-area-inset-right, 0px); }
html { overflow-x: hidden; overflow-y: scroll; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; width: 100%; background: #28192f; }
body { color: #e7d6e6; font-family: "Microsoft YaHei", "微软雅黑", sans-serif; }
.header-fixed iframe { position: fixed; top: 0; left: 0; width: 100%; z-index: 3; }
button { font: inherit; }
html[data-copy-state='loading'] main button, html[data-copy-state='loading'] .account-control button, html[data-copy-state='failed'] main button, html[data-copy-state='failed'] .account-control button { pointer-events: none; }
.copy-load-error { position: fixed; z-index: 2000; inset: 20px 20px auto; padding: 20px; color: #fff; background: #35243f; text-align: center; }
.copy-load-error button { padding: 8px 20px; cursor: pointer; }
.page-viewport { position: relative; width: calc(100% - var(--page-safe-left) - var(--page-safe-right)); height: var(--page-height, 5300px); margin-left: var(--page-safe-left); overflow: hidden; }
.page-canvas { position: absolute; top: 0; left: var(--page-offset, 0px); width: 1920px; height: 5300px; transform: scale(var(--page-scale, 1)); transform-origin: top left; overflow: hidden; }
.slice { position: absolute; left: 0; display: block; width: 1920px; height: auto; pointer-events: none; }
.slice-01 { top: 0; height: 1227px; }
.slice-02 { top: 1227px; height: 1291px; }
.slice-03 { top: 2518px; height: 1321px; }
.slice-04 { top: 3839px; height: 1461px; }
.hero-event-time { position: absolute; z-index: 1; top: 1091px; left: 568px; width: 860px; height: 144px; margin: 0; display: flex; align-items: center; justify-content: center; white-space: nowrap; color: transparent; background: linear-gradient(180deg, #fff7c5 0%, #ffea9a 48%, #ffc343 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1px rgba(107, 57, 17, .34); filter: drop-shadow(0 3px 1px rgba(52, 20, 3, .9)) drop-shadow(0 0 4px rgba(255, 190, 54, .34)); font-size: 26px; font-weight: 900; line-height: 1; letter-spacing: 1px; pointer-events: none; }
.event { position: absolute; left: 0; width: 1920px; }
.event-01 { top: 1227px; height: 1291px; }
.event-02 { top: 2518px; height: 1321px; }
.event-03 { top: 3839px; height: 1461px; }
.meta-row, .tip-row { position: absolute; left: 296px; display: flex; align-items: flex-start; }
.meta-row { height: 42px; }
.meta-label, .tip-label { flex: 0 0 130px; width: 130px; height: 42px; display: flex; align-items: center; justify-content: center; color: #ead8ec; font-size: 18px; line-height: 1; background: url("images/indextest/meta-label.png") center/100% 100% no-repeat; }
.meta-copy, .tip-copy { display: block; margin-left: 12px; color: #e7d7e8; font-size: 17px; font-weight: 400; line-height: 32px; letter-spacing: .1px; text-shadow: 0 1px 1px rgba(20, 8, 28, .28); }
.meta-time { top: 208px; }
.meta-range { top: 257px; }
.meta-content { top: 306px; }
.meta-content .meta-copy { max-width: 1370px; line-height: 32px; }
.selected-role { position: absolute; left: 555px; top: 1050px; margin: 0; color: #e6c892; font-size: 17px; line-height: 28px; }
.role-picker-trigger { border: 0; padding: 0; width: 360px; text-align: center; color: #e6c892; background: transparent; cursor: pointer; }
.role-picker-trigger:hover, .role-picker-trigger:focus-visible { color: #fff2c2; text-decoration: underline; }
.art-button { position: absolute; display: block; border: 0; margin: 0; padding: 0; color: #65272d; cursor: default; background: transparent; }
.art-button img { display: block; width: 100%; height: 100%; object-fit: fill; }
.art-button span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 24px; line-height: 1; font-weight: 700; }
.gift-role { position: absolute; top: 1070px; width: 510px; display: flex; align-items: center; justify-content: center; gap: 12px; color: #e6c892; font-size: 17px; line-height: 26px; }
.gift-role-formal { left: 435px; }
.gift-role-redlotus { left: 1010px; }
.gift-role span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gift-switch { flex: none; color: #ffe4a8; border: 0; padding: 2px 4px; background: transparent; text-decoration: underline; cursor: pointer; }
.event-01-formal { left: 533px; top: 1132px; width: 315px; height: 64px; color: #68240f; }
.event-01-formal[data-claimed="true"] { color: #624070; }
.event-01-redlotus { left: 1107px; top: 1132px; width: 315px; height: 64px; color: #68240f; }
.event-01-tip { top: 1238px; }
.tip-label { flex-basis: 130px; }
.tip-copy { line-height: 32px; max-width: 1360px; }
.event-02 .meta-time { top: 279px; }
.event-02 .meta-range { top: 328px; }
.event-02 .meta-content { top: 377px; }
.event-02 .selected-role { left: 399px; top: 674px; }
.reward-options { position: absolute; inset: 0; }
.reward-card { position: absolute; display: block; width: 278px; height: 378px; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
.reward-card img { display: block; width: 100%; height: 100%; object-fit: contain; }
.reward-card::after { content: ""; position: absolute; bottom: calc(100% + 12px); left: 50%; width: 780px; height: 322px; transform: translateX(-50%); background: var(--commission-hover-image) center/contain no-repeat; opacity: 0; visibility: hidden; pointer-events: none; }
.reward-card:hover, .reward-card:focus-visible { z-index: 10; }
.reward-card:hover::after, .reward-card:focus-visible::after { opacity: 1; visibility: visible; }
.reward-card-formal { --commission-hover-image: url("images/indextest/commission-formal-hover.png"); }
.reward-card-redlotus { --commission-hover-image: url("images/indextest/commission-redlotus-qa3.png"); }
.reward-card-label { position: absolute; right: 0; bottom: 56px; left: 0; color: #f0d7ff; font-size: 20px; line-height: 1.2; text-align: center; text-shadow: 0 1px 4px #351344; pointer-events: none; }
.reward-card:focus-visible { outline: 3px solid #f7df9b; outline-offset: 3px; border-radius: 20px; }
.reward-options.is-locked .reward-card { cursor: default; }
.reward-card:disabled { cursor: default; }
.reward-card-formal { left: 475px; top: 728px; }
.reward-card-redlotus { left: 731px; top: 728px; }
.special-copy { position: absolute; left: 1205px; top: 727px; width: 350px; margin: 0; color: #e9d9f0; font-size: 18px; line-height: 30px; }
.special-copy > p { margin: 0; }
.special-copy .commission-outfit-note { margin-top: 14px; color: #ffe4a8; }
.outfit-preview-trigger { padding: 0; border: 0; color: #ffe4a8; background: none; font: inherit; text-decoration: underline; cursor: pointer; }
.outfit-preview-trigger:hover, .outfit-preview-trigger:focus-visible { color: #fff6d8; }
.outfit-preview { position: absolute; z-index: 30; right: 0; bottom: calc(100% + 16px); width: 1080px; padding: 8px; box-sizing: border-box; border: 1px solid #ba87d6; border-radius: 12px; background: #21102c; box-shadow: 0 8px 30px rgba(0, 0, 0, .55); }
.outfit-preview[hidden] { display: none; }
.outfit-preview img { display: block; width: 100%; height: auto; border-radius: 6px; }
.commission-button { left: 1225px; top: 945px; width: 261px; height: 64px; }
.summon-claim-button { left: 1225px; top: 1017px; width: 261px; height: 64px; }
.summon-claim-button[hidden] { display: none; }
.summon-claim-button:disabled { cursor: default; filter: grayscale(.7); opacity: .58; }
.event-02-tip { top: 1219px; }
.event-03 .meta-time { top: 245px; }
.event-03 .meta-range { top: 294px; }
.event-03 .meta-content { top: 343px; }
.end-tabs { position: absolute; top: 563px; left: 0; width: 100%; display: flex; justify-content: center; align-items: center; gap: 182px; }
.end-tabs.is-single-end { gap: 0; }
.end-tab[hidden] { display: none; }
.end-tab { width: 266px; height: 63px; border: 0; padding: 0; color: #dfc8ec; font-size: 30px; line-height: 63px; text-align: center; background: url("images/indextest/tab-active.png") center/100% 100% no-repeat; cursor: pointer; }
.end-tab:not(.is-active) { filter: brightness(.68); }
.end-tab:focus-visible { outline: 3px solid #f7df9b; outline-offset: 4px; }
.task-table-wrap { position: absolute; top: 653px; left: 0; width: 100%; display: flex; justify-content: center; }
.task-table { position: relative; display: table; table-layout: auto; border-collapse: collapse; width: 1077px; color: #f1e4f2; text-align: center; font-size: 17px; line-height: 42px; }
.task-row { display: table-row; height: 43px; background: rgba(155, 112, 180, .78); border-top: 2px solid rgba(63, 31, 75, .9); }
.task-row > span { display: table-cell; vertical-align: middle; white-space: nowrap; padding: 0 10px; }
.task-head { height: 49px; line-height: 47px; background: rgba(113, 70, 132, .94); border: 0; border-radius: 7px 7px 0 0; }
.claim-all-wrap { position: absolute; top: 964px; left: 0; width: 100%; display: flex; justify-content: center; align-items: center; }
.claim-all-button { position: relative; width: 261px; height: 82px; }
.claim-all-button[hidden] { display: none; }
.claim-all-button:disabled { cursor: default; filter: grayscale(.7); opacity: .58; }
.claim-log-button { position: relative; width: 261px; height: 82px; margin-left: 24px; }
.claim-log-button[hidden] { display: none; }
.claim-log-button:disabled { cursor: default; filter: grayscale(.7); opacity: .58; }
.event-03-tip { top: 1167px; }

@media (max-width: 1024px) {
  .meta-row, .tip-row { width: 1414px; }
  .meta-copy, .tip-copy { min-width: 0; flex: 1; overflow-wrap: break-word; }
}

@media (prefers-reduced-motion: no-preference) {
  .art-button img, .end-tab, .reward-card { transition: filter .15s ease, transform .15s ease; }
  .art-button:hover img, .end-tab:hover { filter: brightness(1.08); }
  .reward-card:hover:not(:disabled) { transform: translateY(-4px); }
  .reward-card:hover:not(:disabled) > img { filter: brightness(1.12); }
}
