:root {
    --design-w: 1920;
    --design-h: 1080;
    --stage-scale: 1;
    --stage-top: 50%;
    --stage-ty: -50%;
    --stage-origin: center center;
    --nav-scale: 1;
    --topbar-height: 90px;
    --character-left-shadow-x: 0px;
    --character-bg-x: 0px;
    --character-bg-width: 1920px;
    --character-bg-y: 0px;
    --character-bg-height: 1080px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    background: #050507;
}

body {
    color: #fff;
}

#think_page_trace,
#think_page_trace_open {
    display: none !important;
}

img {
    display: block;
    max-width: none;
    user-select: none;
    -webkit-user-drag: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.pc-home,
.home-hero {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pc-home {
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
}

.pc-home::-webkit-scrollbar {
    display: none;
}

.home-hero,
.reward-section {
    flex: 0 0 100vh;
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.hero-kv {
    position: absolute;
    top: 50%;
    left: 50%;
    width: max(100vw, calc(100vh * 16 / 9));
    height: max(100vh, calc(100vw * 9 / 16));
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.hero-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .12) 0, rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, .08) 100%),
        radial-gradient(circle at 49% 41%, rgba(255, 255, 255, .08) 0, rgba(255, 255, 255, 0) 38%);
}

.stage {
    position: absolute;
    top: var(--stage-top);
    left: 50%;
    width: 1920px;
    height: 1080px;
    transform: translate(-50%, var(--stage-ty)) scale(var(--stage-scale));
    transform-origin: var(--stage-origin);
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100vw;
    height: var(--topbar-height);
    min-height: 48px;
    overflow: hidden;
    background: rgba(97, 107, 128, .8);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

.topbar-inner {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1920px;
    height: 90px;
    display: flex;
    align-items: center;
    padding: 0 50px;
    transform: translateX(-50%) scale(var(--nav-scale));
    transform-origin: top center;
}

.brand {
    width: 215px;
    height: 61px;
    flex: 0 0 auto;
}

.brand img {
    width: 215px;
    height: 61px;
    object-fit: contain;
    object-position: left center;
}

.brand img.is-reward-logo {
    /* width: 400px;
    height: 117px;
    transform: translateY(3px) scale(.62); */
    transform: scale(1.2);
    transform-origin: left center;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 59px;
    height: 90px;
    margin-left: auto;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    opacity: .9;
    transition: transform .18s ease, opacity .18s ease, filter .18s ease;
}

.nav-item::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 9px;
    width: 42px;
    height: 3px;
    border-radius: 3px;
    background: #f7d37a;
    opacity: 0;
    transform: translateX(-50%);
    box-shadow: 0 0 12px rgba(247, 211, 122, .8);
}

.nav-item:hover,
.nav-item.active {
    opacity: 1;
    filter: brightness(1.12);
}

.nav-item:hover {
    transform: translateY(-1px);
}

.nav-item.active::after {
    opacity: 1;
}

.nav-item-wide {
    width: 107px;
    overflow: hidden;
    justify-content: flex-start;
    margin-left: -2px;
    margin-right: -4px;
}

.nav-item-wide img {
    width: 207px;
    height: 54px;
    max-width: none;
}

.nav-item img {
    transform: scale(.9);
    transform-origin: center center;
}

.nav-item-wide img {
    transform-origin: left center;
}

.login-entry {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 90px;
    width: 54px;
    margin-left: 39px;
    color: rgba(255, 255, 255, .88);
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    opacity: .94;
}

.login-entry:hover {
    color: #fff;
    opacity: 1;
}

.login-entry-user {
    width: 112px;
    gap: 7px;
    font-size: 13px;
}

.login-logout-btn {
    color: inherit;
    font-size: 12px;
    line-height: 1;
    opacity: .72;
}

.login-logout-btn:hover { opacity: 1; }

.hero-content {
    position: absolute;
    left: 50%;
    bottom: 38px;
    z-index: 4;
    width: 1217px;
    transform: translateX(-50%);
}

/* 预约区比下载区矮；固定其内容高度以对齐 slogan 的纵向位置。 */
.hero-content--reservation {
    min-height: 433px;
}

.slogan {
    width: 1217px;
    height: 171px;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .18));
}

.download-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 29px;
    margin-top: 12px;
    transform: translateX(112px);
}

.qrcode {
    width: 251px;
    height: 250px;
    filter: drop-shadow(0 7px 12px rgba(0, 0, 0, .24));
}

.store-buttons {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.store-buttons a,
.music-button {
    transition: transform .18s ease, filter .18s ease;
}

.store-buttons a:hover,
.music-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.store-buttons img {
    width: 301px;
    height: 89px;
}

.hero-reservation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
}

.hero-reservation-count {
    color: #fff;
    font-size: 24px;
    line-height: 1;
    letter-spacing: 1px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, .42);
}

.hero-reservation-count strong {
    display: inline-grid;
    grid-template-areas: "count";
    height: 1.2em;
    overflow: hidden;
    line-height: 1.2;
    vertical-align: -.2em;
    color: #ffe5a1;
    font-size: 32px;
    font-variant-numeric: tabular-nums;
}

.hero-reservation-count strong.is-count-rolling {
    isolation: isolate;
}

.reservation-count-roll-value {
    display: block;
    grid-area: count;
    white-space: nowrap;
}

.hero-reservation-count strong.is-count-rolling .reservation-count-roll-value--previous {
    animation: reservationCountRollPrevious .65s cubic-bezier(.22, .61, .36, 1) forwards;
}

.hero-reservation-count strong.is-count-rolling .reservation-count-roll-value--next {
    animation: reservationCountRollNext .65s cubic-bezier(.22, .61, .36, 1) forwards;
}

@keyframes reservationCountRollPrevious {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-110%); }
}

@keyframes reservationCountRollNext {
    from { opacity: 0; transform: translateY(110%); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-reservation-btn {
    width: 508px;
    height: 90px;
    transition: transform .18s ease, filter .18s ease;
}

.hero-reservation-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.hero-reservation-btn:disabled,
.reward-reserve-btn:disabled {
    cursor: not-allowed;
    filter: grayscale(.2) opacity(.58);
}

.hero-reservation-btn.is-reserved,
.reward-reserve-btn.is-reserved {
    filter: none;
}

.hero-reservation-btn:disabled:hover,
.reward-reserve-btn:disabled:hover {
    transform: none;
}

/* ========== 登录与预约 ========== */
.pc-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
}

.pc-modal[hidden] { display: none; }

.pc-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 26, .7);
    backdrop-filter: blur(4px);
}

.pc-modal-card {
    position: relative;
    z-index: 1;
    width: 440px;
    padding: 38px 44px 36px;
    color: #171b35;
    background: linear-gradient(145deg, #fff 0%, #edf2ff 100%);
    border: 2px solid rgba(121, 153, 237, .68);
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .38);
}

.pc-modal-card h2 { margin: 0; font-size: 26px; text-align: center; }
.pc-modal-subtitle { margin: 9px 0 25px; color: #6c7599; font-size: 14px; text-align: center; }

.pc-login-card {
    width: 620px;
    padding: 60px 76px 48px;
    background: #fff;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 20px 64px rgba(0, 0, 0, .32);
}

.pc-login-card h2 {
    display: block;
    margin: 0 0 38px;
    color: #292b30;
    font-size: 38px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 2px;
    text-align: center;
}

.pc-login-card h2::before {
    display: none;
}

.pc-login-card h2::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    margin-top: 18px;
    background: linear-gradient(90deg, #293746 0 53px, #d9dfe4 53px 100%);
}

.pc-login-card .pc-modal-subtitle { display: none; }

.pc-login-card .pc-form-field { margin-bottom: 20px; }
.pc-login-card .pc-form-field span { display: none; }

.pc-login-card .pc-form-field input {
    height: 68px;
    padding: 0 22px;
    color: #333;
    background: #eee;
    border: 0;
    border-radius: 12px;
    font-size: 22px;
    box-shadow: none;
}

.pc-login-card .pc-form-field input::placeholder { color: #b9b9b9; }
.pc-login-card .pc-form-field input:focus { box-shadow: 0 0 0 3px rgba(245, 137, 69, .18); }

.pc-login-card .pc-code-row {
    grid-template-columns: 304px 1fr;
    gap: 18px;
    align-items: center;
    margin-bottom: 42px;
}

.pc-login-card .pc-code-row .pc-form-field { margin: 0; }

.pc-login-card .pc-secondary-btn {
    height: 68px;
    padding: 0;
    color: #d67c1d;
    background: transparent;
    font-size: 24px;
    font-weight: 400;
    white-space: nowrap;
}

.pc-login-card .pc-primary-btn {
    height: 70px;
    background: #f68a46;
    border-radius: 12px;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 4px;
}

.pc-login-card .pc-agreement {
    margin: 28px 0 0;
    color: #a8a8a8;
    font-size: 17px;
    white-space: nowrap;
}

.pc-login-card .pc-agreement a { color: #d67c1d; }
.pc-login-card .pc-agreement a:hover { color: #af5e0d; text-decoration: underline; }
.pc-login-card .pc-agreement input {
    width: 17px;
    height: 17px;
    margin-right: 4px;
    vertical-align: -3px;
    appearance: none;
    border: 1px solid #b9b9b9;
    border-radius: 50%;
    background: #fff;
}

.pc-login-card .pc-agreement input:checked {
    border-color: #f68a46;
    background: radial-gradient(circle at center, #fff 0 26%, #f68a46 30% 100%);
}

.pc-captcha-card {
    background: #fff;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 20px 64px rgba(0, 0, 0, .32);
}

.pc-captcha-card h2 { color: #292b30; }
.pc-captcha-card .pc-modal-subtitle { color: #a8a8a8; }

.pc-captcha-card .pc-captcha-row input {
    background: #eee;
    border: 0;
}

.pc-captcha-card .pc-captcha-row input:focus {
    box-shadow: 0 0 0 3px rgba(245, 137, 69, .18);
}

.pc-captcha-card .pc-captcha-row button { border-color: #ddd; }
.pc-captcha-card .pc-primary-btn { background: #f68a46; }

.pc-device-card {
    background: #fff;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 20px 64px rgba(0, 0, 0, .32);
}

.pc-device-card h2 { color: #292b30; }
.pc-device-card .pc-modal-subtitle { color: #a8a8a8; }
.pc-device-card .pc-device-option {
    color: #6f6f6f;
    background: #eee;
    border: 0;
    border-radius: 12px;
}

.pc-device-card .pc-device-option.active {
    color: #fff;
    background: #f68a46;
    border-color: #f68a46;
}

.pc-device-card .pc-primary-btn { background: #f68a46; }

.pc-logout-card {
    width: 420px;
    padding: 42px 48px 38px;
    background: #fff;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 20px 64px rgba(0, 0, 0, .32);
}

.pc-logout-card h2 {
    margin: 0 0 18px;
    color: #292b30;
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 2px;
}

.pc-logout-card h2::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    margin-top: 18px;
    background: linear-gradient(90deg, #293746 0 53px, #d9dfe4 53px 100%);
}

.pc-logout-card .pc-modal-subtitle {
    margin: 0 0 30px;
    color: #6f6f6f;
    font-size: 18px;
}

.pc-logout-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.pc-logout-card .pc-secondary-btn,
.pc-logout-card .pc-primary-btn {
    height: 54px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 400;
}

.pc-logout-card .pc-secondary-btn {
    color: #6f6f6f;
    background: #eee;
}

.pc-logout-card .pc-primary-btn {
    background: #f68a46;
}

.pc-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 32px;
    height: 32px;
    color: #667097;
    font-size: 29px;
    line-height: 1;
}

.pc-form-field { display: block; margin-bottom: 16px; }
.pc-form-field span { display: block; margin: 0 0 7px; color: #4f5b86; font-size: 14px; }
.pc-form-field input,
.pc-captcha-row input {
    width: 100%;
    height: 46px;
    padding: 0 13px;
    color: #171b35;
    background: #fff;
    border: 1px solid #b9c5e7;
    border-radius: 8px;
    outline: none;
}

.pc-form-field input:focus,
.pc-captcha-row input:focus { border-color: #627fe0; box-shadow: 0 0 0 3px rgba(98, 127, 224, .15); }
.pc-code-row { display: grid; grid-template-columns: 1fr 112px; gap: 12px; align-items: end; }
.pc-secondary-btn,
.pc-primary-btn { border-radius: 8px; font-weight: 700; transition: filter .18s ease, transform .18s ease; }
.pc-secondary-btn { height: 46px; color: #4665c8; background: #dfe8ff; }
.pc-primary-btn { width: 100%; height: 48px; color: #fff; background: linear-gradient(135deg, #5878df, #7899f3); }
.pc-secondary-btn:hover,
.pc-primary-btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.pc-secondary-btn:disabled,
.pc-primary-btn:disabled { cursor: not-allowed; opacity: .58; transform: none; }
.pc-agreement { display: block; margin: 2px 0 18px; color: #667097; font-size: 12px; line-height: 1.65; }
.pc-agreement input { vertical-align: -2px; }
.pc-agreement a { color: #4665c8; }
.pc-captcha-card { width: 390px; }
.pc-captcha-row { display: grid; grid-template-columns: 1fr 120px; gap: 12px; margin-bottom: 20px; }
.pc-captcha-row button { overflow: hidden; border: 1px solid #b9c5e7; border-radius: 8px; background: #fff; }
.pc-captcha-row img { display: block; width: 100%; height: 44px; object-fit: cover; }
.pc-device-options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.pc-device-option { height: 86px; color: #53618c; font-size: 18px; font-weight: 700; background: #fff; border: 2px solid #c7d1ed; border-radius: 12px; }
.pc-device-option.active { color: #fff; background: #6684e4; border-color: #6684e4; }
.pc-toast { position: fixed; top: 26px; left: 50%; z-index: 110; max-width: 420px; padding: 12px 20px; color: #fff; background: rgba(29, 38, 78, .95); border-radius: 8px; box-shadow: 0 8px 28px rgba(0, 0, 0, .25); opacity: 0; pointer-events: none; transform: translate(-50%, -16px); transition: opacity .2s ease, transform .2s ease; }
.pc-toast.show { opacity: 1; transform: translate(-50%, 0); }

.music-button {
    flex: 0 0 auto;
    width: 127px;
    height: 128px;
    filter: drop-shadow(0 7px 12px rgba(0, 0, 0, .25));
}

.music-button.is-playing img {
    animation: musicPulse 1.8s ease-in-out infinite;
}

@keyframes musicPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.045); }
}

@media (min-aspect-ratio: 16 / 9) {
    .stage {
        transform-origin: center center;
    }
}

/* ========== 预约奖励 ========== */
.reward-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #eef4ff url("/assets/pc/img/reward/reward-section-bg.png") center center / cover no-repeat;
}

.reward-topbar-spacer {
    position: relative;
    z-index: 1;
    width: 100%;
    height: var(--topbar-height);
}

.reward-stage {
    position: relative;
    left: 50%;
    width: 1920px;
    height: 1080px;
    overflow: hidden;
    transform: translateX(-50%) scale(var(--stage-scale));
    transform-origin: top center;
}

.reward-bg-grid {
    display: none;
}

.reward-bg-grid::before,
.reward-bg-grid::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.reward-bg-grid::before {
    right: 36px;
    top: 244px;
    width: 64px;
    height: 466px;
    border-right: 2px solid rgba(45, 50, 66, .76);
    background: repeating-linear-gradient(180deg, transparent 0 42px, rgba(45, 50, 66, .76) 42px 47px, transparent 47px 70px);
    opacity: .72;
}

.reward-bg-grid::after {
    right: 90px;
    bottom: 252px;
    width: 105px;
    height: 84px;
    background-image: radial-gradient(circle, rgba(104, 153, 235, .7) 0 5px, transparent 5px);
    background-size: 21px 21px;
}

.reward-left-panel {
    /* position: absolute;
    left: 0;
    top: 0;
    width: 855px;
    height: 1080px;
    background: linear-gradient(56deg, rgba(106, 154, 255, .6) 0 49%, transparent 49.2%);
    clip-path: polygon(0 0, 305px 0, 858px 100%, 0 100%); */
}

.reward-left-shadow {
    position: absolute;
    left: 0;
    top: -80px;
    width: 864px;
    height: 1089px;
    /* opacity: .42; */
}

.reward-left-character {
    position: absolute;
    left: 145px;
    top: 0px;
    width: 811px;
    height: 1072px;
}

.reward-side-nav {
    position: absolute;
    left: 38px;
    top: 247px;
    width: 250px;
    height: 510px;
}

.reward-side-list {
    position: absolute;
    left: 30px;
    top: 0;
    width: 161px;
    height: 464px;
    z-index: 2;
}

.reward-side-item {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 161px;
    height: 78px;
    transition: filter .18s ease, transform .18s ease;
}

.reward-side-item:hover {
    filter: brightness(1.08);
    transform: translateX(2px);
}

.reward-side-star {
    width: 21px;
    height: 22px;
    flex: 0 0 auto;
}

.reward-side-item.active .reward-side-star {
    visibility: hidden;
}

.reward-side-label {
    width: 110px;
    height: 35px;
    flex: 0 0 auto;
}

.reward-side-active {
    position: absolute;
    left: 0;
    top: 78px;
    width: 250px;
    height: 75px;
    z-index: 1;
    filter: brightness(.85);
}

.reward-content {
    position: absolute;
    left: 805px;
    top: 60px;
    width: 985px;
    height: 850px;
}

.reward-top-line {
    position: absolute;
    left: 185px;
    top: 0;
    width: 650px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(72, 79, 98, .42) 12%, rgba(72, 79, 98, .42) 88%, transparent);
}

.reward-top-line::before,
.reward-top-line::after {
    content: "";
    position: absolute;
    top: -5px;
    width: 10px;
    height: 10px;
    border: 1px solid rgba(72, 79, 98, .5);
    border-radius: 50%;
    background: rgba(255, 255, 255, .52);
}

.reward-top-line::before { left: 93px; }
.reward-top-line::after { right: 93px; }

.reward-section-title {
    position: absolute;
    left: 333px;
    top: 22px;
    width: 250px;
    height: 118px;
    filter: drop-shadow(0 6px 8px rgba(40, 88, 180, .24));
}

.reward-prizes {
    position: absolute;
    inset: 0;
}

.reward-prize {
    position: absolute;
    filter: drop-shadow(0 8px 10px rgba(91, 99, 127, .1));
}

.reward-prize-frame {
    width: 100%;
    height: 100%;
}

.reward-prize-icon {
    position: absolute;
    top: 56%;
    left: 56%;
    width: 150px;
    height: 150px;
    object-fit: contain;
    transform: translate(-50%, -50%);
}

.reward-prize.is-unreached .reward-prize-icon {
    filter: grayscale(1);
}

.prize-100 .reward-prize-icon {
    left:56%;
    top:54%
}

.prize-100 {
    left: 0;
    top: 158px;
    width: 323px;
    height: 582px;
}

.prize-10 {
    left: 355px;
    top: 158px;
    width: 291px;
    height: 292px;
}

.prize-20 {
    left: 667px;
    top: 158px;
    width: 294px;
    height: 304px;
}

.prize-50 {
    left: 354px;
    top: 430px;
    width: 290px;
    height: 297px;
}

.prize-70 {
    left: 666px;
    top: 433px;
    width: 288px;
    height: 296px;
}

.reward-reserve-btn {
    position: absolute;
    left: 235px;
    top: 798px;
    width: 508px;
    height: 90px;
    transition: transform .18s ease, filter .18s ease;
}

.reward-reserve-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

/* ========== 帝兰秘传 ========== */
.story-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: #eef4ff url("/assets/pc/img/story/bg.png") center center / cover no-repeat;
}

.story-topbar-spacer {
    position: relative;
    z-index: 1;
    width: 100%;
    height: var(--topbar-height);
}

.story-stage {
    position: relative;
    left: 50%;
    width: 1920px;
    height: 1080px;
    overflow: hidden;
    transform: translateX(-50%) scale(var(--stage-scale));
    transform-origin: top center;
}

.story-side-nav {
    position: absolute;
    left: 55px;
    top: 237px;
    width: 250px;
    height: 510px;
}

.story-side-list {
    position: absolute;
    left: 30px;
    top: 0;
    z-index: 2;
    width: 161px;
    height: 464px;
}

.story-side-item {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 161px;
    height: 78px;
    transition: filter .18s ease, transform .18s ease;
}

.story-side-item:hover {
    filter: brightness(1.08);
    transform: translateX(2px);
}

.story-side-star {
    width: 21px;
    height: 22px;
    flex: 0 0 auto;
}

.story-side-item.active .story-side-star {
    visibility: hidden;
}

.story-side-label {
    width: 110px;
    height: 35px;
    flex: 0 0 auto;
}

.story-side-active {
    position: absolute;
    left: 0;
    top: 156px;
    z-index: 1;
    width: 250px;
    height: 75px;
    filter: brightness(1);
}

.story-side-nav.without-reward .story-side-active {
    top: 78px;
}

.story-swiper {
    position: absolute;
    left: 283px;
    top: 200px;
    width: 922px;
    height: 621px;
    overflow: visible;
    /* border: 1px solid rgba(35, 45, 100, .72); */
    /* box-shadow: 0 14px 24px rgba(51, 72, 140, .12); */
}

.story-swiper-viewport {
    position: relative;
    width: 922px;
    height: 621px;
    overflow: hidden;
    border-radius: 0 0 84px 0;
}

.story-swiper-image {
    position: absolute;
    inset: 0;
    width: 922px;
    height: 621px;
    object-fit: cover;
    opacity: 0;
    transition: opacity .35s ease;
}

.story-swiper-image.active {
    opacity: 1;
}

.story-swiper-indicators {
    position: absolute;
    top: 638px;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    transform: translateX(-50%);
}

.story-swiper-indicator {
    width: 25px;
    height: 34px;
    transition: transform .18s ease, filter .18s ease;
}

.story-swiper-indicator:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.story-swiper-indicator img {
    width: 25px;
    height: 34px;
}

.story-news {
    position: absolute;
    left: 1253px;
    top: 203px;
    width: 584px;
    height: 600px;
    color: #101336;
}

.story-news-title {
    width: 87px;
    height: 23px;
    margin-left: 0;
}

.story-news-tabs {
    display: flex;
    align-items: center;
    gap: 42px;
    height: 52px;
    margin-top: 10px;
    border-bottom: 1px solid rgba(24, 31, 78, .32);
}

.story-news-tab {
    position: relative;
    width: 62px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .96;
    transition: filter .18s ease, transform .18s ease;
}

.story-news-tab:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.story-news-tab.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 70px;
    height: 7px;
    background: #5c87ee;
}

.story-news-list {
    width: 584px;
    margin: 13px 0 0;
    padding: 0;
    list-style: none;
}

.story-news-list[hidden] {
    display: none;
}

.story-news-list li {
    height: 95px;
    border-bottom: 1px solid rgba(24, 31, 78, .28);
}

.story-news-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    color: #080b2c;
    font-size: 27px;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
    transition: color .18s ease, transform .18s ease;
}

.story-news-list a:hover {
    color: #4d76e6;
    transform: translateX(4px);
}

.story-news-list time {
    margin-left: 24px;
    font-size: 27px;
    color: #080b2c;
}

.story-more-news {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 198px;
    height: 44px;
    transition: filter .18s ease, transform .18s ease;
}

.story-more-news:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

/* ========== 魔女档案 ========== */
.character-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: #eef4ff;
}

.character-topbar-spacer {
    position: relative;
    z-index: 1;
    width: 100%;
    height: var(--topbar-height);
}

.character-stage {
    position: relative;
    left: 50%;
    width: 1920px;
    height: 1080px;
    /* overflow: hidden; */
    transform: translateX(-50%) scale(var(--stage-scale));
    transform-origin: top center;
}

.character-bg {
    position: absolute;
    left: var(--character-bg-x);
    top: var(--character-bg-y);
    width: var(--character-bg-width);
    height: var(--character-bg-height);
    z-index: 0;
}

.character-name-art {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 317px;
    height: 628px;
    pointer-events: none;
    transform: translate(-50%, -50%);
    will-change: opacity;
}

.character-left-shadow {
    position: absolute;
    left: var(--character-left-shadow-x);
    top: -90px;
    width: 860px;
    height: 1080px;
    /* opacity: .42; */
    z-index: 1;
    will-change: transform;
}

.character-main {
    position: absolute;
    left: 214px;
    top: 19px;
    width: 825px;
    height: 972px;
    z-index: 2;
    will-change: opacity, transform;
}

.character-left-shadow.is-leaving,
.character-main.is-leaving {
    animation: characterLeave .22s ease-in forwards;
}

.character-name-art.is-leaving {
    animation: characterNameLeave .22s ease-in forwards;
}

.character-left-shadow.is-entering,
.character-main.is-entering {
    animation: characterEnter .28s ease-out both;
}

.character-main.is-entering {
    animation-name: characterPortraitEnter;
    animation-duration: .44s;
}

.character-name-art.is-entering {
    animation: characterNameEnter .28s ease-out both;
}

@keyframes characterLeave {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(-42px) scale(.985);
    }
}

@keyframes characterEnter {
    0% {
        opacity: 0;
        transform: translateX(46px) scale(1.015);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes characterPortraitEnter {
    0% {
        opacity: 0;
        transform: translateX(52px) scale(1.018);
    }
    48% {
        opacity: 1;
        transform: translateX(-14px) scale(.996);
    }
    66% {
        opacity: 1;
        transform: translateX(9px) scale(1.004);
    }
    82% {
        opacity: 1;
        transform: translateX(-5px) scale(.999);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes characterNameLeave {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes characterNameEnter {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.character-left-shadow.is-leaving {
    animation-name: characterShadowLeave;
}

.character-left-shadow.is-entering {
    animation-name: characterShadowEnter;
}

@keyframes characterShadowLeave {
    0% {
        opacity: .42;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-26px);
    }
}

@keyframes characterShadowEnter {
    0% {
        opacity: 0;
        transform: translateX(26px);
    }
    100% {
        opacity: .42;
        transform: translateX(0);
    }
}

.character-avatar-panel {
    position: absolute;
    left: 330px;
    top: 318px;
    width: 133px;
    height: 410px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    z-index: 5;
    transform: rotate(45deg);
    transform-origin: 66px 66px;
}

.character-avatar-arrow {
    position: absolute;
    z-index: 6;
    width: 85px;
    height: 87px;
    cursor: pointer;
    transition: filter .18s ease;
}

.character-avatar-arrow img {
    width: 85px;
    height: 87px;
}

.character-avatar-arrow:hover {
    filter: brightness(1.12);
}

.character-avatar-arrow-top {
    left: 424px;
    top: 271px;
}

.character-avatar-arrow-bottom {
    left: 88px;
    top: 607px;
}

.character-avatar {
    position: relative;
    flex: 0 0 auto;
    width: 133px;
    height: 134px;
    overflow: visible;
    transform: rotate(-45deg);
    transition: filter .18s ease, transform .18s ease;
}

.character-avatar:hover {
    filter: brightness(1.08);
    transform: rotate(-45deg) translateY(-2px);
}

.character-avatar[disabled] {
    cursor: default;
}

.character-avatar[disabled]:hover {
    filter: none;
    transform: rotate(-45deg);
}

.character-avatar-img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 133px;
    height: 134px;
}

.character-avatar-img-active {
    left: -17px;
    top: -17px;
    z-index: 2;
    width: 167px;
    height: 168px;
    display: none;
}

.character-avatar.active .character-avatar-img-normal {
    display: none;
}

.character-avatar.active .character-avatar-img-active {
    display: block;
}

.character-avatar-img.placeholder {
    filter: grayscale(.24) opacity(.72);
}

.character-profile {
    position: absolute;
    left: 1130px;
    top: 100px;
    width: 610px;
    height: 780px;
    color: #0d1233;
    z-index: 3;
    will-change: opacity, transform;
}

.character-profile-number {
    position: absolute;
    left: var(--character-bg-x);
    top: var(--character-bg-y);
    z-index: 1;
    width: var(--character-bg-width);
    height: var(--character-bg-height);
    pointer-events: none;
    will-change: opacity, transform;
}

.character-profile.is-text-leaving,
.character-profile-number.is-text-leaving {
    animation: characterTextLeave .18s ease-in forwards;
}

.character-profile.is-text-entering,
.character-profile-number.is-text-entering {
    animation: characterTextEnter .24s ease-out both;
}

@keyframes characterTextLeave {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(12px);
    }
}

@keyframes characterTextEnter {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.character-profile-title {
    position: absolute;
    left: 40px;
    top: 42px;
    width: 267px;
    height: 61px;
}

.character-profile-subtitle {
    position: absolute;
    left: 64px;
    top: 113px;
    width: 432px;
    height: 72px;
}

.character-name-row {
    position: absolute;
    left: 25px;
    top: 188px;
    width: 256px;
    height: 54px;
    color: #fff;
    background: url("/assets/pc/img/character/label-wide.png") center center / 100% 100% no-repeat;
    font-size: 25px;
    font-weight: 700;
    line-height: 54px;
    text-align: center;
}

.character-intro-tag {
    position: absolute;
    left: 25px;
    top: 267px;
    width: 165px;
    height: 50px;
    color: #fff;
    background: url("/assets/pc/img/character/label-short.png") center center / 100% 100% no-repeat;
    font-size: 25px;
    font-weight: 700;
    line-height: 50px;
    text-align: center;
}

.character-copy {
    position: absolute;
    left: 72px;
    top: 340px;
    width: 455px;
    color: #11152f;
    font-size: 17px;
    line-height: 1.55;
    text-align: left;
}

.character-copy p {
    margin: 0 0 18px;
    text-indent: 4em;
}

.character-attrs {
    position: absolute;
    left: 92px;
    top: 622px;
    width: 370px;
    height: 150px;
}

.character-attrs > span {
    position: absolute;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0 18px;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.character-attr-label,
.character-attr-value {
    display: inline-block;
}

.character-attr-label {
    transform: translateY(3px);
}

.character-attr-value {
    transform: translateY(12px);
}

.character-attrs > span:nth-child(1) {
    left: 0;
    top: 0;
    width: 185px;
    height: 51px;
    background: url("/assets/pc/img/character/element-label.png") center center / 100% 100% no-repeat;
}

.character-attrs > span:nth-child(1) .character-attr-label {
    transform: translateY(10px)  translateX(-10px);
}

.character-attrs > span:nth-child(1) .character-attr-value {
    transform: translateY(16px);
}

.character-attrs > span:nth-child(2) {
    left: 114px;
    top: 72px;
    width: 176px;
    height: 45px;
    background: url("/assets/pc/img/character/label-role.png") center center / 100% 100% no-repeat;
}

.character-attrs > span:nth-child(2) .character-attr-label {
    transform: translate(3px, 4px);
}

.character-attrs > span:nth-child(2) .character-attr-value {
    transform: translate(16px, 12px);
}

.character-attrs > span:nth-child(2)::before {
    content: "";
    position: absolute;
    left: -20px;
    top: -5px;
    width: 8px;
    height: 8px;
    background: #5b5b5b;
}

.character-attrs > span:nth-child(3) {
    left: -8px;
    top: 140px;
    width: 267px;
    height: 45px;
    background: url("/assets/pc/img/character/ultimate-skill-label.png") center center / 100% 100% no-repeat;
}

.character-attrs > span:nth-child(3) .character-attr-label {
    transform: translate(-3px, 5px);
}

.character-attrs > span:nth-child(3) .character-attr-value {
    transform: translate(12px, 12px);
}

/* ========== 游戏特色 ========== */
.feature-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: #dceaff;
}

.feature-topbar-spacer {
    position: relative;
    z-index: 1;
    width: 100%;
    height: var(--topbar-height);
}

.feature-stage {
    position: relative;
    left: 50%;
    z-index: 2;
    width: 1920px;
    height: 1080px;
    overflow: hidden;
    transform: translateX(-50%) scale(var(--stage-scale));
    transform-origin: top center;
}

.feature-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
}

.feature-left-shadow {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: calc(830px * var(--stage-scale));
    height: calc(646px * var(--stage-scale));
    pointer-events: none;
}

.feature-side-nav {
    position: absolute;
    left: 55px;
    top: 237px;
    z-index: 4;
    width: 250px;
    height: 510px;
}

.feature-side-list {
    position: absolute;
    left: 30px;
    top: 0;
    z-index: 2;
    width: 161px;
    height: 464px;
}

.feature-side-item {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 161px;
    height: 78px;
    transition: filter .18s ease, transform .18s ease;
}

.feature-side-item:hover {
    filter: brightness(1.08);
    transform: translateX(2px);
}

.feature-side-star {
    width: 21px;
    height: 22px;
    flex: 0 0 auto;
}

.feature-side-item.active .feature-side-star {
    visibility: hidden;
}

.feature-side-label {
    width: 110px;
    height: 35px;
    flex: 0 0 auto;
}

.feature-side-active {
    position: absolute;
    left: 0;
    top: 312px;
    z-index: 1;
    width: 250px;
    height: 75px;
    filter: brightness(1);
}

.feature-side-nav.without-reward .feature-side-active {
    top: 234px;
}

.feature-content {
    position: absolute;
    left: 240px;
    top: 53px;
    z-index: 10;
    width: 1680px;
    height: 780px;
}

.feature-title-row {
    position: absolute;
    left: 335px;
    top: 0;
    width: 959px;
    height: 57px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title-image {
    width: 959px;
    height: 57px;
}

.feature-title {
    margin: 0;
    font-size: 51px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-shadow: 0 0 10px rgba(118, 147, 255, .22);
}

.feature-title-line {
    width: 241px;
    height: 1px;
    background: linear-gradient(90deg, rgba(118, 147, 255, 0), rgba(118, 147, 255, .88));
}

.feature-title-line:last-child {
    transform: scaleX(-1);
}

.feature-title-dot {
    width: 9px;
    height: 9px;
    border: 1px solid #7893ff;
    transform: rotate(45deg);
}

.feature-swiper {
    position: absolute;
    left: 303px;
    top: 122px;
    width: 1072px;
    height: 616px;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.feature-slide {
    position: absolute;
    left: 50%;
    top: 50%;
    object-fit: contain;
    /* opacity: 1 !important; */
    mix-blend-mode: normal;
    transform: translate(-50%, -50%) translateZ(-220px) scale(.78);
    pointer-events: none;
    transition: transform .54s ease, filter .54s ease;
    will-change: transform;
}

.feature-slide.is-active {
    z-index: 5;
    width: 1072px;
    height: 616px;
    filter:
        drop-shadow(0 24px 30px rgba(23, 44, 110, .34))
        drop-shadow(0 4px 8px rgba(255, 255, 255, .42));
    transform: translate(-50%, -50%) translateZ(80px) scale(1);
}

.feature-slide.is-prev,
.feature-slide.is-next {
    z-index: 2;
    width: 761px;
    height: 437px;
    opacity: 1 !important;
    filter: drop-shadow(0 10px 16px rgba(42, 70, 145, .16));
}

.feature-slide.is-prev {
    transform: translate(-50%, -50%) translateX(-472px) translateY(18px) translateZ(-160px) scale(.86);
}

.feature-slide.is-next {
    transform: translate(-50%, -50%) translateX(472px) translateY(18px) translateZ(-160px) scale(.86);
}

.feature-arrow {
    position: absolute;
    top: 370px;
    z-index: 6;
    width: 89px;
    height: 109px;
    transition: filter .18s ease, transform .18s ease;
}

.feature-arrow:hover {
    filter: brightness(1.1);
}

.feature-arrow-prev {
    left: 0;
}

.feature-arrow-prev:hover {
    transform: translateX(-3px);
}

.feature-arrow-next {
    right: 0;
    transform: rotate(180deg);
}

.feature-arrow-next:hover {
    transform: rotate(180deg) translateX(-3px);
}

.feature-arrow img {
    width: 89px;
    height: 109px;
}

.feature-decor-line {
    position: absolute;
    left: 318px;
    top: 770px;
    z-index: 5;
    width: 959px;
    height: 57px;
    pointer-events: none;
}

.feature-indicators {
    position: absolute;
    left: 721px;
    top: 780px;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 18px;
}

.feature-indicator {
    width: 38px;
    height: 38px;
    transition: filter .18s ease, transform .18s ease;
}

.feature-indicator:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.feature-indicator img {
    width: 38px;
    height: 38px;
}

/* ========== 版权信息 ========== */
.pc-footer-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: #000;
}

.pc-footer-stage {
    position: relative;
    left: 50%;
    width: 1920px;
    height: 1080px;
    transform: translateX(-50%) scale(var(--stage-scale));
    transform-origin: top center;
}

.pc-footer-content {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 960px;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    color: rgba(255, 255, 255, .72);
    text-align: center;
}

.pc-footer-section .site-footer-logo img {
    width: 280px;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.pc-footer-section .site-footer-social,
.pc-footer-section .site-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.pc-footer-section .site-footer-social-link,
.pc-footer-section .site-footer-link {
    min-width: 148px;
    padding: 12px 32px;
    border: 1px solid rgba(255, 255, 255, .55);
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    transition: border-color .2s, color .2s;
}

.pc-footer-section .site-footer-social-link:hover,
.pc-footer-section .site-footer-link:hover {
    border-color: #fff;
    color: #fff;
}

.pc-footer-section .site-footer-text {
    width: 100%;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    line-height: 2;
}

.pc-footer-section .site-footer-text p {
    margin: 0;
}

.pc-footer-section .site-footer-text .site-footer-age {
    color: rgba(255, 255, 255, .88);
}

.pc-footer-section .site-footer-text a {
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
}

.pc-footer-section .site-footer-text a:hover {
    color: #fff;
}
