* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #fff;
    background: #000000;
}

body {
    background:
        radial-gradient(circle at 50% 0%, rgba(200,164,92,0.20) 0%, rgba(200,164,92,0) 55%),
        linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 60%, #000 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.wrap {
    min-height: 100vh;
    padding: 30px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.brand {
    font-size: 22px;
    letter-spacing: 6px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 24px;
}

.hero {
    width: 100%;
    max-width: 360px;
    margin-bottom: 20px;
    position: relative;
}

.hero.small {
    max-width: 280px;
}

.hero-img {
    width: 100%;
    display: block;
    border-radius: 4px;
}

.info {
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
}

.action {
    margin-top: auto;
    width: 100%;
    max-width: 320px;
}

.btn-main {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 16px;
    letter-spacing: 2px;
    backdrop-filter: blur(4px);
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-main:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.28);
}

.btn-main:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-sub {
    flex: 1;
    padding: 12px 0;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 30px;
    background: transparent;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.btn-sub:active {
    background: rgba(255,255,255,0.1);
}

.btn-cancel {
    border-color: rgba(255,200,200,0.5);
}

.btn-link {
    margin-top: 20px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}

/* 提交页表单 */
.form-box {
    width: 100%;
    max-width: 320px;
    margin-top: 10px;
}

.form-row {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 8px;
}

.form-row label {
    font-size: 15px;
    width: 70px;
    flex-shrink: 0;
}

.form-row input {
    flex: 1;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 15px;
    outline: none;
}

.form-row input::placeholder {
    color: rgba(255,255,255,0.5);
}

.required {
    color: #ffd1dc;
    margin-left: 2px;
}

.agree-row {
    display: flex;
    align-items: center;
    font-size: 13px;
    margin: 24px 0;
    color: rgba(255,255,255,0.85);
}

.agree-row input {
    margin-right: 6px;
    width: 16px;
    height: 16px;
}

.agree-row a {
    color: #ffd1dc;
    margin-left: 8px;
}

/* 弹窗 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.65);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.modal-content {
    background: #fff;
    color: #333;
    width: 100%;
    max-width: 360px;
    border-radius: 8px;
    overflow: hidden;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.terms-content h3 {
    text-align: center;
    padding: 18px 20px 10px;
    font-size: 16px;
    color: #c8a45c;
}

.terms-body {
    padding: 0 20px 20px;
    font-size: 13px;
    line-height: 1.8;
    overflow-y: auto;
}

.terms-body p {
    margin-bottom: 8px;
}

.btn-close {
    border-radius: 0;
    background: linear-gradient(135deg, #d4af37, #b8902f);
    color: #1a1a1a;
    border: none;
    font-size: 15px;
}

.confirm-content {
    padding: 24px;
    text-align: center;
}

.confirm-content h3 {
    font-size: 17px;
    margin-bottom: 10px;
    color: #c8a45c;
}

.confirm-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.confirm-content .btns-row {
    gap: 12px;
}

.confirm-content .btn-sub,
.confirm-content .btn-main {
    flex: 1;
    border-radius: 30px;
}

.confirm-content .btn-main {
    background: linear-gradient(135deg, #d4af37, #b8902f);
    color: #1a1a1a;
    border: none;
}

.confirm-content .btn-sub {
    color: #c8a45c;
    border-color: #c8a45c;
}

/* 预约选择页 */
.page-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.date-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
    padding-bottom: 6px;
}

.date-tab {
    flex-shrink: 0;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    opacity: 0.7;
}

.date-tab.active {
    background: rgba(255,255,255,0.2);
    opacity: 1;
    border-color: rgba(255,255,255,0.6);
}

.date-tab .d {
    display: block;
    font-size: 14px;
}

.date-tab .w {
    display: block;
    font-size: 12px;
    margin-top: 2px;
}

.slots-wrap {
    width: 100%;
    max-width: 400px;
    flex: 1;
}

.slots-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.slot {
    padding: 14px 0;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.slot.active {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.8);
}

.slot .t {
    display: block;
    font-size: 14px;
}

.slot .tag {
    display: block;
    font-size: 12px;
    margin-top: 4px;
    opacity: 0.8;
}

.slot.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* 成功页 */
.page-success .wrap {
    padding-top: 40px;
}

.success-card {
    width: 100%;
    max-width: 340px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 24px;
    margin-top: 20px;
}

.success-card h2 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.info-row .label {
    opacity: 0.8;
}

.info-row .value {
    font-weight: 500;
}

.qrcode-wrap {
    text-align: center;
    margin: 24px 0 10px;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
}

.qrcode-wrap p {
    color: #c8a45c;
    font-size: 13px;
    margin-top: 10px;
}

.btns-row {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.checked-tip {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.9;
}

/* 核销页 */
.page-checkin .wrap {
    padding-top: 60px;
}

.checkin-box {
    width: 100%;
    max-width: 340px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
}

.checkin-box .info-row {
    margin-bottom: 14px;
    text-align: left;
}

.checkin-box .btn-main {
    margin-top: 16px;
}

.checkin-box.success {
    background: rgba(40, 167, 69, 0.15);
    border-color: rgba(40, 167, 69, 0.4);
}

.checkin-box.error {
    background: rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.4);
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

/* 加载页 */
body.page-loading {
    background:
        radial-gradient(circle at 50% 20%, rgba(196, 113, 42, 0.24), transparent 48%),
        linear-gradient(180deg, #3b1709 0%, #251006 46%, #130502 76%, #050101 100%) !important;
}

.loading-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    text-align: center;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    background: linear-gradient(180deg, #3a1407 0%, #1b0703 58%, #030000 100%);
}

/* 与业务首页保持相同的 115% 背景尺寸和位置 */
.loading-wrap::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: 35px;
    left: 0;
    width: 100%;
    aspect-ratio: 9 / 16;
    background: url('../../img/bj.png') center / 100% 100% no-repeat;
    transform: scale(1.15);
    transform-origin: center center;
    pointer-events: none;
}

.loading-wrap > * {
    position: relative;
    z-index: 1;
}

.loading-top {
    margin-bottom: 16px;
}

.loading-title-img {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 340px;
    z-index: 2;
}

.loading-bottom-img {
    position: absolute;
    bottom: -25%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 340px;
    z-index: 2;
}

.loading-brand {
    font-size: 24px;
    letter-spacing: 8px;
    font-weight: 500;
    margin-bottom: 6px;
}

.loading-sub {
    font-size: 28px;
    font-style: italic;
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: 2px;
    margin-bottom: 6px;
    opacity: 0.95;
}

.loading-desc {
    font-size: 13px;
    letter-spacing: 3px;
    opacity: 0.75;
    margin-top: 8px;
}

.loading-hero {
    width: calc(100% + 60px);
    height: 72vh;
    min-height: 480px;
    margin-left: -30px;
    margin-right: -30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.loading-hero::after {
    content: '';
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: -1px;
    left: 0;
    height: clamp(64px, 12vh, 100px);
    background: linear-gradient(180deg, transparent 0%, rgba(25, 8, 3, 0.34) 45%, #130502 100%);
    pointer-events: none;
}

.loading-img {
    display: none;
}

.loading-text {
    margin-bottom: 24px;
}

.loading-text h2 {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.loading-text p {
    font-size: 13px;
    opacity: 0.8;
    letter-spacing: 1px;
}

.loading-footer {
    width: 100%;
    max-width: 340px;
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: clamp(68px, 10svh, 84px);
    padding: 0 0 12px;
}

.loading-logo-bar {
    display: none;
}

.loading-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.loading-progress .percent {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #e6c88a;
}

.progress-track {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: #e6c88a;
    border-radius: 3px;
    transition: width 0.1s linear;
}

.loading-legal {
    width: 90%;
    max-width: 340px;
    display: block;
    margin: auto auto 0;
    padding-top: 24px;
}

/* 业务首页 */
body.page-home {
    background:
        radial-gradient(circle at 50% 20%, rgba(196, 113, 42, 0.24), transparent 48%),
        linear-gradient(180deg, #3b1709 0%, #251006 48%, #130502 76%, #050101 100%) !important;
}

.home-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    padding-top: 0;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    background: linear-gradient(180deg, #3a1407 0%, #1b0703 58%, #030000 100%);
}

/* 背景随页面滚动；以画面中心为原点放大，避免缩放时主体向下偏移 */
.home-wrap::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: 35px;
    left: 50%;
    width: 100%;
    aspect-ratio: 9 / 16;
    background: url('../../img/bj.png') center / 100% 100% no-repeat;
    transform: translateX(-50%) scale(1.15);
    transform-origin: center center;
    pointer-events: none;
}

.home-wrap > * {
    position: relative;
    z-index: 1;
}

.home-hero {
    width: calc(100% + 60px);
    height: 72vh;
    min-height: 480px;
    margin-left: -30px;
    margin-right: -30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.home-hero::after {
    content: '';
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: -1px;
    left: 0;
    height: clamp(70px, 13vh, 110px);
    background: linear-gradient(180deg, transparent 0%, rgba(25, 8, 3, 0.3) 42%, #130502 100%);
    pointer-events: none;
}

.home-hero .home-hero-img {
    display: none;
}

.home-hero .home-title-img {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 340px;
    z-index: 2;
    pointer-events: none;
}

.home-hero .home-bottom-img {
    position: absolute;
    bottom: -25%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 340px;
    z-index: 2;
    pointer-events: none;
}

.home-action {
    margin-top: clamp(68px, 10svh, 84px);
    position: relative;
    z-index: 5;
}

.home-subtitle {
    margin-bottom: 28px;
    color: #eee1c7;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 0 1px 8px rgba(221, 177, 94, 0.12);
}

.home-btn {
    background: transparent;
    color: #f0e0bc;
    border: none;
    padding: 0 0 6px;
    font-size: 20px;
    line-height: 1.35;
    letter-spacing: 2px;
    cursor: pointer;
    font-weight: 400;
    position: relative;
}

/* 按钮下方光线（图片版）：screen 混合让黑底融入深色页面 */
.home-btn-light {
    display: block;
    margin: -10px auto 0;
    width: 260px;
    max-width: 82%;
    height: auto;
    pointer-events: none;
    user-select: none;
    mix-blend-mode: screen;
}

.home-legal {
    width: 90%;
    max-width: 340px;
    display: block;
    margin: auto auto 0;
    padding-top: 24px;
}

/* 首页小屏自适应：按屏幕高度同步缩小主视觉与内容间距 */
@media (max-height: 740px) {
    .home-wrap::before {
        top: 0;
        width: 100%;
        transform: translateX(-50%) scale(1.05);
    }

    .home-hero {
        height: 66svh;
        min-height: 390px;
    }

    .home-hero .home-title-img,
    .home-hero .home-bottom-img {
        width: 82%;
        max-width: 300px;
    }

    .home-hero .home-title-img {
        top: -8%;
    }

    .home-hero .home-bottom-img {
        bottom: -35%;
    }

    .home-action {
        margin-top: clamp(78px, 9svh, 72px);
    }

    .home-subtitle {
        margin-bottom: 18px;
        font-size: 17px;
    }

    .home-btn {
        padding-bottom: 8px;
        font-size: 18px;
    }

    .home-btn-light {
        width: 220px;
    }

    .home-legal {
        width: 84%;
        max-width: 300px;
        padding-top: 12px;
    }
}

@media (max-height: 620px) {
    .home-wrap::before {
        top: 0;
        width: 100%;
        transform: translateX(-50%) scale(1);
    }

    .home-hero {
        height: 63svh;
        min-height: 340px;
    }

    .home-hero .home-title-img,
    .home-hero .home-bottom-img {
        width: 76%;
        max-width: 280px;
    }

    .home-hero .home-bottom-img {
        bottom: -38%;
    }

    .home-action {
        margin-top: 68px;
    }

    .home-subtitle {
        margin-bottom: 14px;
        font-size: 16px;
    }

    .home-btn {
        font-size: 17px;
    }

    .home-legal {
        width: 78%;
        max-width: 275px;
        padding-top: 8px;
    }
}

/* 较宽屏幕同步放大主视觉内容，避免沿用 430px 手机尺寸造成两侧留空 */
@media (min-width: 431px) and (min-height: 741px) {
    .home-hero .home-title-img,
    .home-hero .home-bottom-img {
        max-width: 420px;
    }

    .home-subtitle {
        font-size: 22px;
    }

    .home-btn {
        font-size: 22px;
    }

    .home-btn-light {
        width: 300px;
    }

    .home-legal {
        max-width: 420px;
    }
}

/* 预约信息提交页 */
body.page-submit {
    background:
        radial-gradient(ellipse 75% 48% at 50% 20%, rgba(196, 113, 42, 0.25), transparent 72%),
        linear-gradient(180deg, #3b1709 0%, #251006 48%, #110402 78%, #050101 100%) !important;
    min-height: 100svh;
}

body.page-submit.modal-open {
    overflow: hidden;
}

.submit-wrap {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 40px 30px;
    overflow: hidden;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    position: relative;
    isolation: isolate;
    background: linear-gradient(180deg, #3a1407 0%, #1b0703 58%, #030000 100%);
}

/* 提交页主视觉按参考图放大，以画面中心缩放避免主体偏移 */
.submit-wrap::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: 14px;
    left: 0;
    width: 100%;
    aspect-ratio: 9 / 16;
    background: url('../../img/bj.png') center / 100% 100% no-repeat;
    transform: scale(1.4);
    transform-origin: center center;
    pointer-events: none;
}

/* 表单区域暗色渐变遮罩，避免背景主视觉亮部压住文字 */
.submit-wrap::after {
    content: '';
    position: absolute;
    z-index: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: min(62%, 520px);
    background: linear-gradient(180deg, transparent 0%, rgba(3, 0, 0, 0.35) 22%, rgba(3, 0, 0, 0.72) 100%);
    pointer-events: none;
}

.submit-wrap > * {
    position: relative;
    z-index: 1;
}

.submit-hero {
    width: calc(100% + 80px);
    height: clamp(390px, 60.5svh, 500px);
    min-height: 0;
    margin-left: -40px;
    margin-right: -40px;
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
}

.submit-hero::after {
    content: '';
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 78px;
    background: linear-gradient(180deg, transparent 0%, rgba(25, 8, 3, 0.34) 48%, #170602 100%);
    pointer-events: none;
}

.submit-hero-img {
    display: none;
}

.submit-title {
    font-size: 21px;
    line-height: 1.4;
    color: #f1e6d9;
    letter-spacing: 1px;
    font-weight: 400;
    text-align: center;
    margin: 12px 0 18px;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.6);
}

.submit-form {
    width: 100%;
    max-width: 296px;
}

.submit-field {
    display: flex;
    align-items: center;
    height: 40px;
    border: 1px solid rgba(238, 227, 217, 0.78);
    border-radius: 0;
    padding: 0 20px;
    margin-bottom: 30px;
    background: rgba(24, 7, 3, 0.62);
    backdrop-filter: blur(2px);
}

.submit-field label {
    font-size: 15px;
    color: #f4eeee;
    margin-right: 14px;
    white-space: nowrap;
    flex-shrink: 0;
}

.submit-field label .star {
    color: #f4eeee;
    margin-left: 2px;
}

.submit-field input {
    flex: 1;
    border: none;
    background: transparent;
    color: #f4eeee;
    font-size: 17px;
    outline: none;
    min-width: 0;
}

.submit-field input::placeholder {
    color: rgba(255, 255, 255, 0.72);
    opacity: 1;
    text-align: right;
}

.submit-agree {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.92);
    margin: -1px 0 27px;
}

.submit-agree input {
    appearance: none;
    -webkit-appearance: none;
    width: 11px;
    height: 11px;
    margin: 0 3px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 50%;
    background: transparent;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
}

.submit-agree input:checked::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: #e6c88a;
}

.submit-agree .terms-link {
    cursor: pointer;
}

.submit-btn {
    background: transparent;
    color: #e5d8ca;
    border: none;
    padding: 0 0 4px 0;
    font-size: 18px;
    letter-spacing: 1px;
    cursor: pointer;
    font-weight: 500;
    position: relative;
    display: block;
    margin: 0 auto;
}

/* 按钮下方光线（图片版）：screen 混合让黑底融入深色页面 */
.submit-btn-light {
    display: block;
    margin: -10px auto 0;
    width: 240px;
    max-width: 82%;
    height: auto;
    pointer-events: none;
    user-select: none;
    mix-blend-mode: screen;
}

/* 提交页温馨提示 */
.page-submit .modal {
    background: #000;
    padding: 10px 11px;
}

.page-submit .terms-content {
    width: 100%;
    max-width: 326px;
    height: min(580px, calc(100svh - 20px));
    max-height: none;
    border-radius: 11px;
    padding: 0 29px;
    background: #fff;
    color: #111;
}

.page-submit .terms-content h3 {
    padding: 32px 0 0;
    color: #dda84e;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 500;
    text-align: center;
}

.page-submit .terms-body {
    flex: 1;
    padding: 31px 0 0;
    overflow-y: auto;
    color: #111;
    font-size: 12px;
    line-height: 1.85;
}

.page-submit .terms-section {
    margin-bottom: 22px;
}

.page-submit .terms-section h4 {
    margin: 0 0 1px;
    font-size: 14px;
    line-height: 1.75;
    font-weight: 500;
}

.page-submit .terms-body p {
    margin: 0;
}

.page-submit .terms-content .btn-close {
    display: block;
    flex: 0 0 auto;
    width: 112px;
    height: 37px;
    margin: 0 auto 53px;
    border: 0;
    border-radius: 0;
    background: #d5b78a;
    color: #111;
    font-size: 14px;
    cursor: pointer;
}

.page-submit .notice-content {
    width: 100%;
    max-width: 326px;
    height: 292px;
    max-height: calc(100svh - 20px);
    border-radius: 11px;
    background: #fff;
    color: #111;
    align-items: center;
    text-align: center;
    transform: translateY(30px);
}

.page-submit .notice-content h3 {
    padding: 44px 20px 0;
    color: #dda84e;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 500;
}

.page-submit .notice-content p {
    margin-top: 39px;
    font-size: 18px;
    line-height: 1.4;
    color: #111;
}

.page-submit .notice-close {
    width: 112px;
    height: 37px;
    margin-top: 51px;
    border: 0;
    border-radius: 0;
    background: #d5b78a;
    color: #111;
    font-size: 14px;
    cursor: pointer;
}

@media (max-height: 740px) {
    .submit-wrap::before {
        transform: scale(1.15);
    }

    .submit-title {
        margin-top: 8px;
        margin-bottom: 12px;
        font-size: 19px;
    }

    .submit-field {
        margin-bottom: 18px;
    }

    .submit-agree {
        margin-bottom: 20px;
    }
}

@media (max-height: 640px) {
    .submit-wrap::before {
        transform: scale(1.05);
    }

    .submit-title {
        font-size: 18px;
        margin-top: 6px;
        margin-bottom: 10px;
    }

    .submit-field {
        height: 38px;
        margin-bottom: 14px;
    }

    .submit-agree {
        margin-bottom: 16px;
    }
}

/* 预约时间选择页 */
body.page-booking {
    min-height: 100vh;
    min-height: 100svh;
    background: #050101 !important;
    color: #fff;
    overflow-x: hidden;
}

.booking-page {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 430px;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0 auto;
    padding-bottom: 36px;
    overflow: hidden;
    background: linear-gradient(180deg, #2d1007 0%, #170603 56%, #080201 84%, #030000 100%);
}

.booking-page::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background:
        linear-gradient(180deg, rgba(24, 8, 3, 0.52) 0%, rgba(8, 3, 1, 0.65) 42%, rgba(6, 2, 1, 0.86) 78%, #030000 100%),
        url('../../img/jzztp.png') center 18px / auto 650px no-repeat;
    opacity: 0.76;
}

.booking-brand {
    position: relative;
    z-index: 1;
    height: 145px;
    overflow: hidden;
}

.booking-brand img {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 210px;
    height: 210px;
    max-width: none;
    transform: translateX(-50%);
    display: block;
}

.booking-title {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #dca849;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 400;
    letter-spacing: 1px;
    text-align: center;
}

.booking-main {
    position: relative;
    z-index: 1;
    padding: 0 26px;
}

.booking-period {
    margin: 14px 0 10px;
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.94);
}

.booking-calendar {
    width: 100%;
    padding: 10px 0 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.42);
    border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

.booking-weekdays,
.booking-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: center;
    text-align: center;
}

.booking-weekdays {
    height: 22px;
    margin-bottom: 2px;
    font-size: 11px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.82);
}

.booking-days {
    grid-auto-rows: 34px;
    row-gap: 2px;
}

.booking-calendar .date-tab {
    justify-self: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    line-height: 34px;
    text-align: center;
    cursor: pointer;
}

.booking-calendar .date-tab.active {
    border: 0;
    background: #d7a74d;
    color: #fff;
    opacity: 1;
}

.page-booking .slots-wrap {
    width: 100%;
    max-width: none;
    margin-top: 30px;
}

.page-booking .slots-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 340px;
    margin: 0 auto;
}

.page-booking .slot {
    min-width: 0;
    height: 48px;
    padding: 5px 2px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 0;
    background: rgba(15, 8, 5, 0.48);
    color: #fff;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-booking .slot.active {
    border-color: #d6ae68;
    background: linear-gradient(180deg, #e2bf7b, #c8963b);
    color: #17100a;
}

.page-booking .slot.disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.page-booking .slot .tag {
    display: block;
    font-size: 9px;
    line-height: 1.05;
    white-space: nowrap;
}

.page-booking .slot .t {
    display: block;
    margin: 2px 0;
    font-size: 13px;
    line-height: 1.05;
    white-space: nowrap;
}

.booking-action {
    margin-top: 34px;
    text-align: center;
}

.booking-btn {
    width: 128px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #dfc49a;
    color: #17100a;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
}

.booking-btn:disabled {
    opacity: 0.55;
}

.booking-back {
    display: block;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 2px;
}

/* 修改预约时，用户当前持有的时段 */
.page-booking .slot.current {
    outline: 1px solid rgba(223, 196, 154, 0.9);
    outline-offset: -1px;
}

@media (min-width: 431px) {
    .booking-page {
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.65);
    }
}

/* 预约成功页 */
body.page-success {
    min-height: 100vh;
    min-height: 100svh;
    background: #050101 !important;
    color: #fff;
    overflow-x: hidden;
    scrollbar-width: none;
}

body.page-success::-webkit-scrollbar {
    width: 0;
    height: 0;
}

html.page-success-root {
    scrollbar-width: none;
}

html.page-success-root::-webkit-scrollbar {
    width: 0;
    height: 0;
}

body.page-success.modal-open {
    overflow: hidden;
}

.success-page {
    width: 100%;
    max-width: 430px;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0 auto;
    padding-bottom: 10px;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    background: linear-gradient(180deg, #3a1407 0%, #1b0703 58%, #030000 100%);
}

/* 成功页采用与首页一致的完整背景主视觉 */
.success-page::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: 14px;
    left: 0;
    width: 100%;
    aspect-ratio: 9 / 16;
    background: url('../../img/bj.png') center / 100% 100% no-repeat;
    transform: scale(1.15);
    transform-origin: center center;
    pointer-events: none;
}

.success-page > * {
    position: relative;
    z-index: 1;
}

.success-hero {
    position: relative;
    height: 420px;
    overflow: hidden;
    background: transparent;
}

.success-hero::after {
    content: '';
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 94px;
    background: linear-gradient(180deg, transparent 0%, rgba(30, 10, 4, 0.28) 42%, #170603 100%);
    pointer-events: none;
}

.success-hero-art {
    display: none;
}

.success-brand-art {
    position: absolute;
    top: -24px;
    left: 50%;
    width: 210px;
    height: 210px;
    max-width: none;
    transform: translateX(-50%);
    display: block;
    z-index: 2;
}

.success-title {
    position: relative;
    z-index: 2;
    margin: clamp(44px, 8svh, 72px) 0 0;
    color: #f0e4d7;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: 1px;
    text-align: center;
}

.success-details {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 20px;
    padding: 0 14px;
}

.success-copy {
    flex: 1;
    min-width: 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.7;
}

.success-copy p {
    margin: 0;
    white-space: nowrap;
}

.success-copy small {
    font-size: 11px;
}

.success-copy .success-note {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.5;
    white-space: normal;
}

.success-qr {
    flex: 0 0 100px;
    width: 100px;
    text-align: center;
}

.success-qr #qrcode,
.success-qr #qrcode img,
.success-qr #qrcode canvas {
    display: block;
    width: 100px !important;
    height: 100px !important;
}

.success-qr p {
    margin: 4px -8px 0;
    color: #fff;
    font-size: 9px;
    line-height: 1.2;
    white-space: nowrap;
}

.success-qr button {
    display: block;
    margin: 2px auto 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    color: #fff;
    font-size: 9px;
    line-height: 1.2;
    cursor: pointer;
}

.success-actions {
    margin-top: 27px;
    text-align: center;
}

.success-modify {
    position: relative;
    display: block;
    margin: 0 auto;
    padding: 0 0 4px;
    border: 0;
    background: transparent;
    color: #e7d8ca;
    font-size: 18px;
    line-height: 1.2;
    cursor: pointer;
}

/* 按钮下方光线（图片版）：screen 混合让黑底融入深色页面 */
.success-modify-light {
    display: block;
    margin: -8px auto 0;
    width: 220px;
    max-width: 78%;
    height: auto;
    pointer-events: none;
    user-select: none;
    mix-blend-mode: screen;
}

.success-cancel {
    display: block;
    margin: 6px auto 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    line-height: 1.2;
    cursor: pointer;
}

.success-checked {
    margin-top: 27px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 10px;
    text-align: center;
}

.success-legal {
    display: block;
    max-width: calc(100% - 42px);
    height: auto;
    margin: 12px auto 0;
}

.page-success .modal {
    background: #000;
}

.page-success .terms-content {
    width: 100%;
    max-width: 326px;
    height: min(580px, calc(100svh - 20px));
    max-height: none;
    border-radius: 11px;
    padding: 0 29px;
    background: #fff;
    color: #111;
}

.page-success .terms-content h3 {
    padding: 32px 0 0;
    color: #dda84e;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 500;
    text-align: center;
}

.page-success .terms-body {
    flex: 1;
    padding: 31px 0 0;
    overflow-y: auto;
    color: #111;
    font-size: 12px;
    line-height: 1.85;
}

.page-success .terms-section {
    margin-bottom: 22px;
}

.page-success .terms-section h4 {
    margin: 0 0 1px;
    font-size: 14px;
    line-height: 1.75;
    font-weight: 500;
}

.page-success .terms-body p {
    margin: 0;
}

.page-success .terms-content .btn-close {
    display: block;
    flex: 0 0 auto;
    width: 112px;
    height: 37px;
    margin: 0 auto 53px;
    border: 0;
    border-radius: 0;
    background: #d5b78a;
    color: #111;
    font-size: 14px;
    cursor: pointer;
}

/* success 取消预约弹窗 */
.page-success .confirm-content {
    width: 100%;
    max-width: 300px;
    border-radius: 12px;
    padding: 32px 24px 26px;
    background: #fff;
    color: #111;
    text-align: center;
}

.page-success .confirm-content h3 {
    margin: 0 0 18px;
    color: #d5b78a;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
}

.page-success .confirm-content p {
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.7;
    color: #111;
}

.page-success .confirm-content .btns-row {
    display: flex;
    gap: 14px;
    margin-top: 0;
}

.page-success .confirm-content .btn-sub,
.page-success .confirm-content .btn-main {
    flex: 1;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: #d5b78a;
    color: #111;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.page-success .confirm-content .btn-sub:active,
.page-success .confirm-content .btn-main:active {
    transform: scale(0.98);
    background: #c9aa7d;
}

@media (min-width: 431px) {
    .success-page {
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.65);
    }
}

/* 主视觉真实透明渐变：图片逐步透明，露出页面自身背景，彻底消除接缝 */
.loading-hero,
.home-hero,
.submit-hero,
.success-hero {
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.loading-hero {
    -webkit-mask-image: none;
    mask-image: none;
}

.home-hero {
    -webkit-mask-image: none;
    mask-image: none;
}

.submit-hero {
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 82%, rgba(0, 0, 0, 0.92) 86%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 82%, rgba(0, 0, 0, 0.92) 86%, transparent 100%);
}

.success-hero {
    -webkit-mask-image: none;
    mask-image: none;
}

.loading-hero::after,
.home-hero::after,
.submit-hero::after,
.success-hero::after {
    display: none;
}
