/* ==========================================================
   预约模块样式（/book、完成页、查询页、首页预约条）
   通用视觉（变量、玻璃卡、按钮、Hero、天际线）见 ark-ui.css
   ========================================================== */

.book-services::after, .book-desk::after {
    content: "";
    position: absolute;
    width: 46vw;
    height: 46vw;
    max-width: 640px;
    max-height: 640px;
    right: -14vw;
    bottom: -12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,92,240,.08), transparent 62%);
    transform: translate3d(0, calc(var(--scroll, 0) * 60px), 0);
    pointer-events: none;
}

.is-hidden { display: none !important; }
.book-hint { color: var(--mute); margin-top: 0.8rem; }
.book-ticket__code, .book-home__days span { font-family: 'IBM Plex Mono', Consolas, monospace; }
.book-faq h2, .book-deposit h2 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    letter-spacing: .01em;
    margin-bottom: .5rem;
}

/* ==========================================================
   作品墙 + 灯箱
   ========================================================== */
.book-works__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .8rem;
}
.book-work {
    position: relative;
    display: block;
    overflow: hidden;
    color: #fff;
    width: 100%;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #0c1120;
    cursor: zoom-in;
    text-align: left;
    transition: transform .35s var(--ease), border-color .3s ease, box-shadow .35s ease;
}
.book-work:hover, .book-work:focus-visible { border-color: rgba(143,178,255,.45); box-shadow: 0 20px 40px -18px rgba(0,0,0,.8), 0 0 30px -12px rgba(109,154,248,.6); outline: none; }
.book-work img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    filter: saturate(.85) brightness(.9);
    transform: scale(1);
    transition: transform .6s var(--ease), filter .45s ease;
}
.book-work:hover img, .book-work:focus-visible img { transform: scale(1.09); filter: saturate(1.05) brightness(1); }
.book-work__title {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 1.6rem .8rem .7rem;
    background: linear-gradient(to top, rgba(4,6,12,.9), transparent);
    font-size: .84rem;
    transform: translateY(100%);
    transition: transform .4s var(--ease);
}
.book-work:hover .book-work__title, .book-work:focus-visible .book-work__title { transform: none; }
.book-work__zoom {
    position: absolute; top: .6rem; right: .6rem;
    width: 28px; height: 28px; line-height: 26px; text-align: center;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 50%;
    background: rgba(4,6,12,.4);
    font-size: 1rem;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .3s ease, transform .3s ease;
}
.book-work:hover .book-work__zoom, .book-work:focus-visible .book-work__zoom { opacity: 1; transform: none; }
/* 遮罩横扫揭示 */
.book-work::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0d1426, #1a2a52);
    transform-origin: right center;
    transform: scaleX(1);
    transition: transform .9s cubic-bezier(.7,0,.2,1);
    pointer-events: none;
}
.book-works.is-in .book-work::after { transform: scaleX(0); }
.book-works__grid .book-work:nth-child(2)::after { transition-delay: .08s; }
.book-works__grid .book-work:nth-child(3)::after { transition-delay: .16s; }
.book-works__grid .book-work:nth-child(4)::after { transition-delay: .24s; }
.book-works__grid .book-work:nth-child(5)::after { transition-delay: .32s; }
.book-works__grid .book-work:nth-child(6)::after { transition-delay: .4s; }
.book-works__grid .book-work:nth-child(7)::after { transition-delay: .48s; }
.book-works__grid .book-work:nth-child(8)::after { transition-delay: .56s; }
.book-works__tip { color: var(--mute); font-size: .88rem; margin: .6rem 0 0; }

/* 全部作品：按原图比例显示（不裁切），JS 计算行跨度排成瀑布流并保持左→右的排序 */
.book-works__grid { align-items: start; }
.book-works__grid .book-work img { height: auto; aspect-ratio: var(--ar, 4 / 3); }
.book-works__grid.is-masonry { grid-auto-rows: 4px; row-gap: 0; }
.book-works__grid .book-work::after { transition-delay: calc(min(var(--i, 1), 12) * 60ms); }
/* 默认只显示前 8 幅，展开后其余作品依次淡入 */
.book-works__grid:not(.is-open) .book-work.is-extra { display: none; }
.book-works__grid.is-open .book-work.is-extra { animation: bookWorkIn .6s var(--ease) both; animation-delay: calc(min(var(--i, 9) - 8, 15) * 50ms); }
@keyframes bookWorkIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.book-works__more { margin-top: 1.4rem; text-align: center; }
.book-works__more .ark-btn::after { content: "↓"; display: inline-block; margin-left: .5em; transition: transform .3s ease; }
.book-works__more .ark-btn[aria-expanded="true"]::after { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .book-works__grid.is-open .book-work.is-extra { animation: none; } }

.book-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Sans SC', '微软雅黑', sans-serif;
}
.book-lightbox.is-on { display: flex; animation: bookFade .2s ease both; }
.book-lightbox__mask {
    position: absolute; inset: 0;
    background: radial-gradient(80% 70% at 50% 50%, rgba(14,20,38,.94), rgba(3,5,10,.97));
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    cursor: zoom-out;
}
.book-lightbox__stage {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 92vw;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .9rem;
}
.book-lightbox__img {
    max-width: 92vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 60px -20px rgba(109,154,248,.5);
}
.book-lightbox__stage figcaption { color: #fff; text-align: center; font-size: .95rem; display: flex; flex-direction: column; gap: .25rem; }
.book-lightbox__title { font-weight: 600; }
.book-lightbox__count { font-family: 'IBM Plex Mono', Consolas, monospace; color: #6d9af8; font-size: .82rem; letter-spacing: .1em; }
.book-lightbox__caption { color: rgba(255,255,255,.65); font-size: .85rem; }
.book-lightbox__btn {
    position: absolute;
    z-index: 2;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.06);
    color: #fff;
    cursor: pointer;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.book-lightbox__btn:hover { background: rgba(109,154,248,.4); border-color: #9dbcff; box-shadow: 0 0 24px -4px rgba(109,154,248,.8); }
.book-lightbox__close { top: 1.2rem; right: 1.4rem; width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; line-height: 1; }
.book-lightbox__nav { top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; font-size: 1.8rem; line-height: 1; }
.book-lightbox__nav--prev { left: 1rem; }
.book-lightbox__nav--next { right: 1rem; }
body.is-locked { overflow: hidden; }

/* ---------- 小红书条 ---------- */
.book-xhs-band { padding: 0 0 2.5rem; }
.book-xhs { margin: 0; }
.book-xhs a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1.1rem;
    border: 1px solid rgba(255,80,110,.35);
    border-radius: 999px;
    color: #ffd6de;
    font-size: .88rem;
    background: rgba(255,80,110,.06);
    transition: box-shadow .3s ease, border-color .3s ease, color .3s ease;
}
.book-xhs a:hover { color: #fff; border-color: #ff5a78; box-shadow: 0 0 26px -6px rgba(255,90,120,.8); }

/* ==========================================================
   拍摄服务
   ========================================================== */
.book-services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}
.book-service {
    overflow: hidden;
    transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease;
}
.book-service:hover, .book-service.is-on {
    border-color: color-mix(in srgb, var(--tone) 55%, transparent);
    box-shadow: 0 24px 50px -24px rgba(0,0,0,.9), 0 0 40px -18px var(--tone);
}
.book-service.is-on { border-color: var(--tone); }
.book-service--feature { grid-column: 1 / -1; }
.book-service--feature ~ .book-service--feature { grid-column: auto; }
.book-service__cover {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    opacity: .16;
    filter: saturate(.6);
    -webkit-mask-image: linear-gradient(120deg, transparent 20%, #000 100%);
    mask-image: linear-gradient(120deg, transparent 20%, #000 100%);
    transition: opacity .4s ease, transform .8s var(--ease);
}
.book-service:hover .book-service__cover { opacity: .26; transform: scale(1.04); }
.book-service__body { position: relative; padding: 1.9rem 1.8rem 1.7rem; display: flex; flex-direction: column; height: 100%; }
.book-service--feature:first-of-type .book-service__body { padding: 2.4rem 2.4rem 2.1rem; }
.book-service__en {
    font-family: var(--mono);
    font-size: .7rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--mute);
    margin: 0 0 .6rem;
}
.book-service h3 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    line-height: 1.15;
    color: var(--tone) !important;
    margin: 0 0 .7rem;
}
.book-service--feature:first-of-type h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.book-service__short { color: #d3dbe8; margin: 0 0 1.1rem; }
.book-price {
    margin: 0 0 1rem;
    padding: .9rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: .95rem;
    line-height: 1.3;
}
.book-price__cur { font-family: var(--mono); font-size: .9rem; color: var(--mute); vertical-align: top; margin-right: .15rem; }
.book-price__num { font-family: var(--serif); font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; font-size: 2.6rem; font-weight: 600; color: #fff; line-height: 1; letter-spacing: -.01em; }
.book-price__unit { font-size: .85rem; color: var(--mute); margin-left: .35rem; }
.book-service__long { color: var(--text); font-size: .93rem; line-height: 1.75; }
.book-service__who { color: var(--mute); font-size: .84rem; margin-bottom: 1.3rem; }
.book-service .ark-btn--pill { align-self: flex-start; margin-top: auto; }

/* ==========================================================
   组团拍摄日
   ========================================================== */
.book-groups__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.book-group { padding: 1.4rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease, filter .3s ease; }
.book-group:nth-child(4n+1) { --tone: var(--cyan); }
.book-group:nth-child(4n+2) { --tone: var(--blue); }
.book-group:nth-child(4n+3) { --tone: var(--magenta); }
.book-group:nth-child(4n+4) { --tone: var(--amber); }
.book-group:hover { border-color: color-mix(in srgb, var(--tone) 55%, transparent); box-shadow: 0 0 36px -16px var(--tone); }
.book-group__date { font-size: .95rem; color: var(--tone); margin: 0; }
.book-group__place { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; margin: 0; }
.book-group__meet { color: var(--mute); font-size: .88rem; margin: 0; }
.book-group__meta { list-style: none; padding: 0; margin: .4rem 0 0; }
.book-group__meta li { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: .45rem 0; font-size: .86rem; }
.book-group__meta span { color: var(--mute); }
.book-group__meta b { font-weight: 600; }
.book-group__note { color: var(--mute); font-size: .84rem; margin: .2rem 0 0; }
.book-group__foot { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: .3rem; }
.book-group__price { font-weight: 600; color: #fff; }
.book-group__seat {
    font-family: var(--mono);
    font-size: .74rem;
    padding: .22rem .6rem;
    border-radius: 999px;
    color: #9ff3d6;
    background: rgba(47,211,160,.12);
    border: 1px solid rgba(47,211,160,.45);
    box-shadow: 0 0 16px -4px rgba(47,211,160,.7);
    white-space: nowrap;
    animation: seatGlow 2.6s ease-in-out infinite;
}
.book-group.is-full { filter: saturate(.2); opacity: .6; }
.book-group.is-full .book-group__seat { color: var(--mute); background: rgba(255,255,255,.04); border-color: var(--line2); box-shadow: none; animation: none; }
.book-group .ark-btn { margin-top: .6rem; }
.book-groups .book-hint { margin-top: 1.4rem; }

/* ==========================================================
   流程四步
   ========================================================== */
.book-how { padding: 4.5rem 0; }
.book-how__row { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; }
.book-how__row::before {
    content: "";
    position: absolute;
    left: 22px;
    right: calc((100% - 5.6rem) / 5 - 22px);
    top: 21px;
    height: 1px;
    background: linear-gradient(90deg, var(--cyan), var(--blue), #a17cf4, var(--magenta), var(--green));
    box-shadow: 0 0 12px rgba(109,154,248,.6);
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 2s cubic-bezier(.6,0,.2,1) .2s;
}
.book-how.is-in .book-how__row::before { transform: scaleX(1); }
.book-how__row > div { position: relative; }
.book-how__row .ark-mono {
    width: 44px; height: 44px;
    line-height: 42px;
    text-align: center;
    border-radius: 50%;
    border: 1px solid var(--line2);
    background: var(--bg);
    color: var(--mute);
    font-size: .95rem;
    letter-spacing: 0;
    transition: color .4s ease, border-color .4s ease, box-shadow .4s ease, background .4s ease;
}
.book-how.is-in .ark-mono { color: #fff; border-color: var(--blue); background: #0d1630; box-shadow: 0 0 20px -2px rgba(109,154,248,.7); }
.book-how.is-in .book-how__row > div:nth-child(1) .ark-mono { transition-delay: .3s; border-color: var(--cyan); box-shadow: 0 0 20px -2px rgba(47,211,192,.7); }
.book-how.is-in .book-how__row > div:nth-child(2) .ark-mono { transition-delay: .7s; }
.book-how.is-in .book-how__row > div:nth-child(3) .ark-mono { transition-delay: 1.1s; border-color: #a17cf4; box-shadow: 0 0 20px -2px rgba(161,124,244,.7); }
.book-how.is-in .book-how__row > div:nth-child(4) .ark-mono { transition-delay: 1.5s; border-color: var(--magenta); box-shadow: 0 0 20px -2px rgba(212,92,240,.7); }
.book-how.is-in .book-how__row > div:nth-child(5) .ark-mono { transition-delay: 1.9s; color: #dffbf1; border-color: var(--green); background: #0c2a29; box-shadow: 0 0 22px -2px rgba(47,211,160,.8); }
.book-how__row b { display: block; margin: 1rem 0 .3rem; font-size: 1.05rem; }
.book-how__row small { color: var(--mute); font-size: .86rem; line-height: 1.6; display: block; }

/* ==========================================================
   预约台
   ========================================================== */
.book-desk__card { overflow: hidden; background: rgba(255,255,255,.025); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.book-desk__card::before { display: none; }
.book-groupbar {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .6rem;
    padding: .9rem 2rem;
    background: linear-gradient(90deg, rgba(47,211,192,.12), rgba(109,154,248,.08));
    border-bottom: 1px solid var(--line);
}
.book-groupbar .ark-mono { display: inline; color: var(--cyan); }
.book-groupbar b { font-size: 1.05rem; }
.book-groupbar span { color: var(--text); font-size: .9rem; }
.book-groupbar em { color: var(--blue); font-style: normal; font-size: .85rem; }
.book-steps {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--line);
}
.book-steps li {
    position: relative;
    flex: 1 1 0;
    padding: 1.1rem .5rem 1rem;
    color: var(--mute);
    text-align: center;
    cursor: pointer;
    font-size: .92rem;
    transition: color .25s ease;
}
.book-steps li::after {
    content: "";
    position: absolute;
    left: 18%; right: 18%; bottom: -1px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    box-shadow: 0 0 14px 1px rgba(109,154,248,.8);
    transform: scaleX(0);
    transition: transform .35s var(--ease);
}
.book-steps li.is-on { color: #fff; }
.book-steps li.is-on::after { transform: scaleX(1); }
.book-steps li:hover { color: #fff; }
.book-steps span { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; margin: 0 0 .25rem; color: var(--blue); }
.book-form { padding: 2rem 2rem 1.5rem; }
.book-form h3 { font-size: 1.15rem; margin: 0 0 1.2rem; font-weight: 600; }
.book-form label { display: block; margin-bottom: 1rem; font-size: .86rem; color: var(--mute); }
.book-form input, .book-form select, .book-form textarea {
    display: block;
    width: 100%;
    margin-top: .4rem;
    border: 1px solid var(--line2);
    border-radius: 10px;
    background: rgba(255,255,255,.035);
    color: var(--ink);
    padding: .72rem .85rem;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.book-form input::placeholder, .book-form textarea::placeholder { color: #5b6579; }
.book-form select option, .book-form select optgroup { background: #0d1322; color: var(--ink); }
.book-form input:focus, .book-form select:focus, .book-form textarea:focus {
    border-color: var(--blue);
    background: rgba(109,154,248,.06);
    box-shadow: 0 0 0 3px rgba(109,154,248,.22), 0 0 20px -6px rgba(109,154,248,.7);
    outline: none;
}
.book-form input:-webkit-autofill { -webkit-text-fill-color: var(--ink); -webkit-box-shadow: 0 0 0 40px #101728 inset; }
.book-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.book-fields__full { grid-column: 1 / -1; }
.book-pane { display: none; min-height: 12rem; }
.book-pane.is-on { display: block; animation: paneIn .4s var(--ease) both; }
.book-choice, .book-periods { display: flex; flex-wrap: wrap; gap: .7rem; }
.book-chip {
    border: 1px solid var(--line2);
    border-radius: 12px;
    background: rgba(255,255,255,.03);
    color: var(--text);
    padding: .85rem 1rem;
    text-align: left;
    cursor: pointer;
    min-width: 150px;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s var(--ease);
}
.book-chip:hover:not(.is-off) { border-color: rgba(109,154,248,.7); transform: translateY(-2px); }
.book-chip.is-on { border-color: var(--blue); background: rgba(109,154,248,.14); box-shadow: 0 0 0 3px rgba(109,154,248,.18), 0 0 24px -6px rgba(109,154,248,.8); }
.book-chip.is-off { opacity: .35; cursor: not-allowed; }
.book-chip small { display: block; color: var(--mute); margin-top: .25rem; font-size: .8rem; }
.book-chip b { display: block; }
.book-error { color: #ff8a95; margin-top: .8rem; }
.book-nav { display: flex; justify-content: space-between; margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.book-summary { margin-top: 1rem; font-family: var(--mono); font-size: .78rem; color: var(--mute); }

/* 月历：暗色绿灰 */
.book-mcal { max-width: 44rem; }
.book-mcal__bar { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 1rem; }
.book-mcal__bar h4 { margin: 0; font-size: 1.15rem; font-weight: 600; font-family: var(--serif); font-feature-settings: "lnum" 1; letter-spacing: .04em; }
.book-page .book-mcal__bar .ark-btn { padding: .42rem .95rem; font-size: .84rem; }
.book-mcal__week, .book-mcal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.book-mcal__week span { text-align: center; color: var(--mute); font-size: .78rem; padding: .2rem 0 .6rem; font-family: var(--mono); }
.book-mcal__cell {
    min-height: 72px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255,255,255,.03);
    color: #4c566a;
    padding: .55rem .45rem;
    text-align: left;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s var(--ease);
}
.book-mcal__cell.is-empty { visibility: hidden; cursor: default; border: 0; background: none; }
.book-mcal__cell.is-open { background: rgba(47,211,160,.14); border-color: rgba(47,211,160,.45); color: #dffbf1; }
.book-mcal__cell.is-off { background: rgba(255,255,255,.03); border-color: var(--line); color: #4c566a; cursor: not-allowed; }
.book-mcal__cell.is-range, .book-mcal__cell.is-on {
    background: rgba(47,211,160,.38);
    border-color: #2fd3a0;
    color: #fff;
    box-shadow: 0 0 18px -4px rgba(47,211,160,.8);
}
.book-mcal__cell:hover:not(.is-off):not(.is-empty) { border-color: #2fd3a0; transform: translateY(-2px); }
.book-mcal__num { display: block; font-size: 1.05rem; font-weight: 600; font-family: var(--mono); }
.book-mcal__note { display: block; margin-top: .35rem; font-size: .7rem; color: rgba(223,251,241,.65); }

/* 核对 / 状态 */
.book-review { margin: 0 0 1.2rem; }
.book-review div { display: flex; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.book-review dt { width: 5rem; color: var(--mute); flex-shrink: 0; font-weight: 400; }
.book-review dd { margin: 0; }
.book-review__status { align-items: center; margin: .4rem -.8rem 0; padding-left: .8rem !important; padding-right: .8rem !important; border-radius: 10px; border-bottom: 0 !important; }
.book-review__status--pending { background: rgba(242,184,96,.08); box-shadow: inset 0 0 0 1px rgba(242,184,96,.22); }
.book-review__status--confirmed { background: rgba(47,211,160,.08); box-shadow: inset 0 0 0 1px rgba(47,211,160,.22); }
.book-review__status--completed { background: rgba(109,154,248,.09); box-shadow: inset 0 0 0 1px rgba(109,154,248,.25); }
.book-review__status--cancelled { background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); }
.book-status { display: inline-block; padding: .22rem .7rem; font-size: .88rem; border-radius: 999px; border: 1px solid transparent; }
.book-status--pending { background: rgba(242,184,96,.16); color: #f6c77a; border-color: rgba(242,184,96,.5); box-shadow: 0 0 16px -4px rgba(242,184,96,.6); }
.book-status--confirmed { background: rgba(47,211,160,.16); color: #8ff0cf; border-color: rgba(47,211,160,.5); box-shadow: 0 0 16px -4px rgba(47,211,160,.6); }
.book-status--completed { background: rgba(109,154,248,.16); color: #a9c3ff; border-color: rgba(109,154,248,.5); box-shadow: 0 0 16px -4px rgba(109,154,248,.6); }
.book-status--cancelled { background: rgba(255,255,255,.05); color: #8a93a5; border-color: var(--line2); }
.book-slot {
    display: inline-block;
    font-family: var(--mono);
    padding: .2rem .65rem;
    border-radius: 999px;
    background: rgba(47,211,160,.14);
    border: 1px solid rgba(47,211,160,.45);
    color: #8ff0cf;
}
.book-slot--wait { background: rgba(255,255,255,.04); border-color: var(--line2); color: var(--mute); }

/* ==========================================================
   定金 / FAQ / 底部
   ========================================================== */
.book-deposit { padding: 4rem 0 2rem; }
.book-deposit__card { padding: 2.2rem 2.2rem 2rem; border-color: rgba(242,184,96,.22); background: linear-gradient(120deg, rgba(242,184,96,.07), rgba(255,255,255,.02) 55%); }
.book-deposit__card .ark-eyebrow { color: var(--amber); }
.book-deposit__card p:last-child { margin: 0; color: #d3dbe8; max-width: 46rem; line-height: 1.85; }
.book-faq { padding-top: 3rem; }
.book-faq h2 { margin-bottom: 1.6rem; }
.book-faq details { border-top: 1px solid var(--line); }
.book-faq details:last-child { border-bottom: 1px solid var(--line); }
.book-faq summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    font-weight: 500;
    color: var(--ink);
    padding: 1.1rem 2.5rem 1.1rem 0;
    transition: color .2s ease;
}
.book-faq summary::-webkit-details-marker { display: none; }
.book-faq summary::after {
    content: "";
    position: absolute;
    right: .4rem;
    top: 50%;
    width: 9px; height: 9px;
    margin-top: -7px;
    border-right: 1.5px solid var(--blue);
    border-bottom: 1.5px solid var(--blue);
    transform: rotate(45deg);
    transition: transform .3s var(--ease), margin .3s var(--ease);
}
.book-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.book-faq details.is-closing summary::after { transform: rotate(45deg); margin-top: -7px; }
.book-faq summary:hover { color: #9dbcff; }
.book-faq__body { overflow: hidden; transition: height .35s var(--ease); }
.book-faq__body p { margin: 0; padding: 0 0 1.2rem; color: var(--text); line-height: 1.85; }
.book-foot { position: relative; padding: 3rem 0; background: var(--bg2); text-align: center; color: var(--mute); }
.book-foot::before {
    content: "";
    position: absolute;
    left: 10%; right: 10%; top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--blue), var(--magenta), transparent);
    opacity: .7;
}
.book-foot p { margin: 0; }
.book-foot a { color: var(--blue); border-bottom: 1px solid rgba(109,154,248,.4); }

/* ==========================================================
   完成页 / 查询页
   ========================================================== */
.book-page--sheet {
    position: relative;
    padding: 8rem 0 5rem;
    min-height: 100vh;
    background:
        radial-gradient(50% 40% at 15% 15%, rgba(47,211,192,.12), transparent 70%),
        radial-gradient(45% 40% at 85% 30%, rgba(109,154,248,.12), transparent 70%),
        radial-gradient(50% 45% at 50% 100%, rgba(212,92,240,.10), transparent 70%),
        var(--bg);
}
.book-ticket { padding: 2.6rem 2.2rem; max-width: 42rem; margin: 0 auto; background: rgba(255,255,255,.035); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.book-ticket::before { display: none; }
.book-ticket .ark-kicker { color: var(--cyan); font-family: var(--mono); font-size: .72rem; }
.book-ticket h1 { font-family: var(--sans); font-size: clamp(1.6rem, 3.6vw, 2.2rem); font-weight: 700; line-height: 1.35; }
.book-ticket__code-label { color: var(--mute); margin-top: 1.4rem; }
.book-ticket__code {
    font-size: 2rem;
    letter-spacing: .18em;
    color: #fff;
    text-shadow: 0 0 24px rgba(109,154,248,.7);
}
.book-ticket__deposit { margin: 1.2rem 0; color: var(--text); }
.book-ticket .book-form { padding: 1rem 0 0; }
.book-empty { margin-top: 1rem; color: #ff8a95; }
.book-wait {
    margin: 1.2rem 0;
    padding: 1rem 1.15rem;
    border-radius: 12px;
    background: rgba(242,184,96,.07);
    border: 1px solid rgba(242,184,96,.25);
    border-left: 3px solid var(--amber);
    color: #e9dcc4;
}
.book-wait p { margin: 0; }
.book-wait p + p { margin-top: .5rem; }
.book-ok { margin: 1.2rem 0; color: #8ff0cf; }

/* ==========================================================
   首页预约条（暗色玻璃）
   ========================================================== */
.book-home h2 {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 .9rem;
}
.book-home__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.6rem; align-items: center; }
.book-home__lead { color: var(--text); max-width: 36rem; line-height: 1.85; margin-bottom: 1.2rem; }
.book-home__tags, .book-home__days { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; margin: 0 0 1.1rem; }
.book-home__tags li {
    padding: .35rem .8rem;
    border-radius: 999px;
    border: 1px solid var(--line2);
    background: rgba(255,255,255,.03);
    font-size: .85rem;
    color: #d3dbe8;
}
.book-home__days span {
    padding: .3rem .75rem;
    border-radius: 999px;
    font-size: .8rem;
    color: #9ff3d6;
    background: rgba(47,211,160,.12);
    border: 1px solid rgba(47,211,160,.45);
    box-shadow: 0 0 14px -4px rgba(47,211,160,.6);
}
.book-home__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .6rem; }
.book-home__card { padding: 1.4rem; }
.book-home__works { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1rem; }
.book-home__works img { width: 100%; height: 96px; object-fit: cover; display: block; border-radius: 8px; filter: saturate(.9); transition: filter .3s ease; }
.book-home__works a:hover img { filter: saturate(1.1) brightness(1.08); }
.book-home__places { color: var(--text); font-size: .88rem; margin-bottom: .6rem; }
.book-home__card-note { color: var(--mute); font-size: .82rem; margin: 0; }
.book-home__groups { color: var(--mute); font-size: .88rem; margin: .4rem 0 .8rem; }
.book-home__groups span {
    display: inline-block;
    margin: .3rem .4rem 0 0;
    padding: .2rem .6rem;
    border-radius: 999px;
    border: 1px solid rgba(109,154,248,.4);
    color: #c6d6ff;
    font-size: .8rem;
}

/* ==========================================================
   动画
   ========================================================== */
@keyframes bookFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes paneIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes seatGlow { 0%, 100% { box-shadow: 0 0 10px -4px rgba(47,211,160,.5); } 50% { box-shadow: 0 0 20px -2px rgba(47,211,160,.85); } }

/* ==========================================================
   响应式
   ========================================================== */
@media (max-width: 1199.98px) {
    .book-groups__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991.98px) {
    .book-how__row { gap: 1rem; }
    .book-how__row::before { right: calc((100% - 4rem) / 5 - 22px); }
    .book-works__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767.98px) {
    .book-works__grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
    .book-works__grid.is-masonry { row-gap: 0; }
    .book-work__title { transform: none; }
    .book-services__grid { grid-template-columns: 1fr; }
    .book-service__body, .book-service--feature:first-of-type .book-service__body { padding: 1.5rem 1.3rem 1.4rem; }
    .book-groups__grid { grid-template-columns: 1fr; }
    .book-groupbar { padding: .8rem 1.2rem; }
    .book-lightbox__nav { display: none; }
    .book-how__row { grid-template-columns: 1fr; gap: 1.6rem; }
    .book-how__row::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 1px; height: auto; transform: scaleY(0); transform-origin: top center; background: linear-gradient(180deg, var(--cyan), var(--blue), #a17cf4, var(--magenta), var(--green)); }
    .book-how.is-in .book-how__row::before { transform: scaleY(1); }
    .book-how__row > div { padding-left: 64px; min-height: 44px; }
    .book-how__row .ark-mono { position: absolute; left: 0; top: 0; }
    .book-how__row b { margin-top: .2rem; }
    .book-steps { overflow-x: auto; }
    .book-steps li { flex: 0 0 auto; white-space: nowrap; padding: .9rem 1rem; }
    .book-form { padding: 1.4rem 1.1rem 1.2rem; }
    .book-fields { grid-template-columns: 1fr; }
    .book-mcal__week, .book-mcal__grid { gap: 4px; }
    .book-mcal__cell { min-height: 50px; padding: .35rem .25rem; border-radius: 8px; }
    .book-mcal__num { font-size: .9rem; }
    .book-mcal__note { font-size: .62rem; }
    .book-deposit__card { padding: 1.6rem 1.3rem; }
    .book-ticket { padding: 1.8rem 1.2rem; }
    .book-home__inner { grid-template-columns: 1fr; gap: 1.4rem; }
    .book-home__works img { height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
    .book-group__seat, .book-pane.is-on { animation: none !important; }
    .book-work, .book-work img, .book-work__title, .book-service, .book-group, .book-chip, .book-mcal__cell, .book-faq__body { transition: none !important; }
    .book-work::after { display: none; }
    .book-how__row::before { transform: none; transition: none; }
    .book-how .ark-mono { transition: none !important; }
    .book-lightbox.is-on { animation: none; }
}
