/* ============================================================
   enhance.css — 新增区块样式
   字符集：UTF-8  编译日期：2026-04
   ============================================================ */

/* ── 顶部导航 ─────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    height: 52px;
    background: rgba(251, 247, 240, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(196, 168, 124, 0.18);
    transition: box-shadow 0.3s;
}

.site-header.is-scrolled {
    box-shadow: 0 2px 16px rgba(100, 80, 40, 0.10);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 16px;
    max-width: 680px;
    margin: 0 auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-family: "Noto Serif SC", serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--gold-dark, #A6875A);
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    letter-spacing: 0.02em;
}

.nav-link:hover, .nav-link:active {
    color: var(--gold, #C8A87C);
    background: rgba(200, 168, 124, 0.10);
}

.nav-brand {
    font-family: "Cinzel", serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--gold-dark, #A6875A);
    letter-spacing: 0.12em;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-right {
    gap: 2px;
}

/* 把 music-toggle 内嵌到导航后的样式覆盖 */
.site-nav .music-toggle {
    position: static;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--gold-dark, #A6875A);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.2s, background 0.2s;
    flex-shrink: 0;
}

.site-nav .music-toggle:hover {
    background: rgba(200, 168, 124, 0.12);
}

.site-nav .music-toggle svg {
    width: 18px;
    height: 18px;
    display: none;
}

.site-nav .music-toggle .music-off { display: block; }
.site-nav .music-toggle.is-playing .music-off { display: none; }
.site-nav .music-toggle.is-playing .music-on  { display: block; }

/* Hero 适配顶部导航 */
body {
    padding-top: 0;
}

.hero {
    padding-top: 0;
}

/* ── 天气预报区块 ──────────────────────────────────────────── */
.section-weather {
    background: var(--bg-warm, #F5EDE3);
}

.weather-wrap {
    margin-top: 28px;
}

/* 加载动画 */
.weather-loading {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 40px 0;
}

.weather-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold, #C8A87C);
    opacity: 0.4;
    animation: wdotPulse 1.2s ease-in-out infinite;
}

.weather-dot:nth-child(2) { animation-delay: 0.2s; }
.weather-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes wdotPulse {
    0%, 100% { opacity: 0.3; transform: scale(0.85); }
    50%       { opacity: 1;   transform: scale(1.1); }
}

/* 天气错误提示 */
.weather-error {
    text-align: center;
    color: var(--text-muted, #8C7D6A);
    font-family: "Noto Serif SC", serif;
    font-size: 14px;
    padding: 24px 0;
}

/* 天气卡片列表 */
.weather-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.weather-list::-webkit-scrollbar { display: none; }

.weather-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 88px;
    background: rgba(255, 252, 246, 0.9);
    border: 1px solid rgba(196, 168, 124, 0.22);
    border-radius: 14px;
    padding: 14px 8px 12px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.weather-card:active {
    transform: scale(0.97);
}

.weather-card.is-wedding {
    border-color: var(--gold, #C8A87C);
    background: rgba(249, 242, 229, 0.98);
    box-shadow: 0 2px 12px rgba(196, 168, 124, 0.22);
    position: relative;
}

.weather-card.is-wedding::before {
    content: "婚礼";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: "Noto Serif SC", serif;
    font-size: 10px;
    color: #fff;
    background: var(--gold, #C8A87C);
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
    letter-spacing: 0.04em;
}

.weather-date {
    font-family: "Noto Serif SC", serif;
    font-size: 11px;
    color: var(--text-muted, #8C7D6A);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.weather-icon {
    font-size: 26px;
    line-height: 1;
    margin: 4px 0 6px;
    display: block;
}

.weather-desc {
    font-family: "Noto Serif SC", serif;
    font-size: 11px;
    color: var(--text, #3C3428);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.weather-temp {
    font-family: "Cormorant Garamond", serif;
    font-size: 13px;
    color: var(--gold-dark, #A6875A);
    letter-spacing: 0.03em;
}

.weather-rain {
    font-family: "Noto Serif SC", serif;
    font-size: 10px;
    color: #7A9BB5;
    margin-top: 5px;
}

/* ── 停车指引区块 ──────────────────────────────────────────── */
.section-parking {
    background: var(--bg, #FBF7F0);
}

.parking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}

.parking-card {
    background: rgba(255, 252, 246, 0.95);
    border: 1px solid rgba(196, 168, 124, 0.20);
    border-radius: 16px;
    padding: 20px 16px 18px;
    text-align: center;
}

.parking-card--full {
    grid-column: 1 / -1;
}

.parking-icon-wrap {
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    background: rgba(196, 168, 124, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark, #A6875A);
}

.parking-icon-wrap svg {
    width: 22px;
    height: 22px;
}

.parking-card h3 {
    font-family: "Noto Serif SC", serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text, #3C3428);
    margin: 0 0 8px;
    letter-spacing: 0.04em;
}

.parking-card p {
    font-family: "Noto Serif SC", serif;
    font-size: 12px;
    color: var(--text-muted, #8C7D6A);
    line-height: 1.65;
    margin: 0;
}

.parking-card p strong {
    color: var(--gold-dark, #A6875A);
    font-weight: 500;
}

/* ── 座位图区块 ────────────────────────────────────────────── */
.section-seats {
    background: var(--bg-warm, #F5EDE3);
}

.seats-wrap {
    margin-top: 24px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(100, 80, 40, 0.12);
    touch-action: pan-x pan-y pinch-zoom;
}

.seats-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    transition: opacity 0.4s;
}

.seats-hint {
    margin-top: 12px;
    text-align: center;
    font-family: "Noto Serif SC", serif;
    font-size: 12px;
    color: var(--text-muted, #8C7D6A);
    letter-spacing: 0.04em;
}

/* ── 标题下划线绘制动效（reveal 时） ──────────────────────── */
body.has-reveal .section-title[data-reveal]::after {
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
}
body.has-reveal .section-title[data-reveal].is-visible::after {
    transform: translateX(-50%) scaleX(1);
}

/* ── 座位图轻微 hover 反馈 ─────────────────────────────────── */
@media (hover: hover) {
    .seats-wrap {
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .seats-wrap:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 36px rgba(100, 80, 40, 0.18);
    }
}

/* ── 实时北京时间显示 ──────────────────────────────────────── */
.live-clock-row {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-cn, "Noto Serif SC", serif);
    font-size: 11px;
    color: var(--text-muted, #8C7D6A);
    letter-spacing: 0.12em;
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #CC4D4D;
    box-shadow: 0 0 0 0 rgba(204, 77, 77, 0.6);
    animation: liveDotPulse 1.6s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes liveDotPulse {
    0%   { box-shadow: 0 0 0 0 rgba(204, 77, 77, 0.55); }
    70%  { box-shadow: 0 0 0 8px rgba(204, 77, 77, 0);  }
    100% { box-shadow: 0 0 0 0 rgba(204, 77, 77, 0);    }
}

.live-label { letter-spacing: 0.16em; }

.live-clock {
    font-family: "Cormorant Garamond", "Cinzel", serif;
    font-feature-settings: "tnum" 1;
    font-variant-numeric: tabular-nums;
    font-size: 13px;
    color: var(--gold-dark, #A6875A);
    letter-spacing: 0.06em;
    min-width: 76px;
    text-align: left;
}

/* ── 图片淡入加载 ──────────────────────────────────────────── */
.img-fade {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transform: scale(1.012);
    will-change: opacity, transform;
}

.img-fade.is-loaded {
    opacity: 1;
    transform: scale(1);
}

.hero-image.img-fade.is-loaded {
    transform: scale(1.06);
}

/* ── 座位图：放大提示气泡 ─────────────────────────────────── */
.seats-wrap {
    position: relative;
    cursor: zoom-in;
}

.seats-zoom-cue {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px 7px 10px;
    border-radius: 999px;
    background: rgba(28, 22, 14, 0.62);
    color: rgba(255, 246, 230, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-family: "Noto Serif SC", serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    pointer-events: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
    animation: zoomCueFloat 3.2s ease-in-out infinite;
}

.seats-zoom-cue svg {
    width: 14px;
    height: 14px;
    stroke-width: 1.6;
}

@keyframes zoomCueFloat {
    0%, 100% { transform: translateY(0); opacity: 0.92; }
    50%       { transform: translateY(-3px); opacity: 1; }
}

/* ── 座位图全屏查看器 ──────────────────────────────────────── */
.seat-modal {
    position: fixed;
    inset: 0;
    z-index: 11500;
    background: rgba(20, 14, 8, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    overscroll-behavior: contain;
    touch-action: none;
}

.seat-modal.is-open { opacity: 1; visibility: visible; }

.seat-modal-stage {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
}

.seat-modal-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transform-origin: center center;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    will-change: transform;
    transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.seat-modal-close {
    position: absolute;
    top: max(14px, env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    color: #FBF7F0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.seat-modal-close:hover { background: rgba(255, 255, 255, 0.18); }
.seat-modal-close:active { transform: scale(0.94); }
.seat-modal-close svg { width: 18px; height: 18px; }

.seat-modal-hint {
    position: absolute;
    bottom: max(20px, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(251, 247, 240, 0.86);
    font-family: "Noto Serif SC", serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity 0.5s ease;
    pointer-events: none;
    white-space: nowrap;
}

.seat-modal-hint.is-hidden { opacity: 0; }

body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* ── 回到顶部按钮 ──────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(251, 247, 240, 0.92);
    border: 1px solid rgba(200, 168, 124, 0.45);
    color: var(--gold-dark, #A6875A);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(100, 80, 40, 0.14);
    cursor: pointer;
    z-index: 950;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.92);
    transition: opacity 0.32s var(--ease-out, ease-out),
                transform 0.32s var(--ease-out, ease-out),
                visibility 0.32s linear,
                background 0.2s, box-shadow 0.2s;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background: rgba(255, 252, 246, 1);
    box-shadow: 0 6px 22px rgba(100, 80, 40, 0.22);
}

.back-to-top:active { transform: translateY(0) scale(0.94); }
.back-to-top svg { width: 18px; height: 18px; }

/* ── 倒计时数字 tick 动效 ──────────────────────────────────── */
.countdown span {
    display: inline-block;
    transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.countdown span.cd-tick {
    animation: cdTickIn 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes cdTickIn {
    0%   { transform: translateY(-22%) scale(0.92); opacity: 0.45; filter: blur(0.6px); }
    35%  { transform: translateY(0)     scale(1.06); opacity: 1;    filter: blur(0); }
    100% { transform: translateY(0)     scale(1);    opacity: 1; }
}

[data-cd="s"].cd-tick {
    text-shadow: 0 0 12px rgba(232, 197, 138, 0.32);
}

/* ── 响应式微调 ────────────────────────────────────────────── */
@media (max-width: 360px) {
    .nav-link { font-size: 12px; padding: 6px 6px; }
    .nav-brand { font-size: 13px; }
    .weather-card { width: 80px; }
    .parking-grid { grid-template-columns: 1fr; }
    .live-clock-row { font-size: 10px; gap: 6px; }
    .live-clock { font-size: 12px; min-width: 70px; }
}

@media (min-width: 600px) {
    .weather-card { width: 100px; }
    .parking-grid { grid-template-columns: 1fr 1fr 1fr; }
    .parking-card--full { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .live-dot, .seats-zoom-cue, .countdown span.cd-tick {
        animation: none !important;
    }
    .img-fade { transition: none !important; transform: none !important; }
}

/* ============================================================
   Mobile invitation app: horizontal pages
   ============================================================ */
html,
body {
    height: 100%;
    overflow: hidden;
}

body {
    background:
        linear-gradient(180deg, rgba(251, 247, 240, 0.94), rgba(245, 237, 227, 0.96));
}

main {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: flex;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

main::-webkit-scrollbar,
main > .section::-webkit-scrollbar {
    display: none;
}

main > .hero,
main > .section-weather,
main > .section-event,
main > .section-seats {
    flex: 0 0 100vw;
    width: 100vw;
    min-width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

main > .section-weather,
main > .section-event,
main > .section-seats {
    overflow-y: auto;
    padding: calc(66px + env(safe-area-inset-top)) var(--content-px) max(18px, env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    justify-content: center;
}

main > .section-invite,
main > .dog-divider,
main > .section-story,
main > .section-certificate,
main > .portrait-duo,
main > .section-guide,
main > .section-parking,
main > .section-blessing,
.footer,
.back-to-top {
    display: none !important;
}

.site-header {
    height: calc(52px + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
}

.site-nav {
    gap: 6px;
    padding: 0 max(10px, env(safe-area-inset-left)) 0 max(10px, env(safe-area-inset-right));
    max-width: 360px;
}

.nav-links {
    gap: 3px;
}

.nav-link {
    min-width: 34px;
    text-align: center;
    padding: 6px;
    border-radius: 999px;
    font-size: 12px;
    transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.nav-link.is-active {
    color: var(--text, #3C3428);
    background: rgba(200, 168, 124, 0.18);
}

.nav-link:active {
    transform: scale(0.96);
}

.nav-brand {
    font-size: 12px;
    letter-spacing: 0.08em;
}

.site-nav .music-toggle {
    width: 30px;
    height: 30px;
}

.hero {
    padding: calc(68px + env(safe-area-inset-top)) 18px max(34px, env(safe-area-inset-bottom));
    place-items: end center;
}

.hero-image {
    object-position: center 32%;
}

.hero-overlay {
    background:
        linear-gradient(to bottom,
            rgba(38, 30, 22, 0.08) 0%,
            rgba(38, 30, 22, 0.18) 34%,
            rgba(38, 30, 22, 0.62) 70%,
            rgba(25, 19, 14, 0.93) 100%);
}

.hero-content {
    width: 100%;
    max-width: 340px;
}

.hero-kicker {
    margin-bottom: 10px;
}

.hero-title {
    font-size: clamp(28px, 7vw, 42px);
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.name-amp {
    margin: 0 8px;
}

.hero-sub {
    margin-top: 12px;
    font-size: 13px;
}

.hero-date {
    margin-top: 6px;
    font-size: 11px;
}

.home-digest {
    width: 100%;
    margin-top: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    text-align: left;
}

.home-digest-card {
    min-width: 0;
    min-height: 70px;
    padding: 11px 12px 10px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(251, 247, 240, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 30px rgba(20, 14, 8, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

button.home-digest-card:active {
    transform: scale(0.98);
    background: rgba(251, 247, 240, 0.18);
}

.home-digest-card--wide {
    grid-column: 1 / -1;
    min-height: 78px;
}

.digest-label {
    font-family: var(--font-display);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(232, 213, 184, 0.9);
    margin-bottom: 5px;
}

.home-digest-card strong {
    font-family: var(--font-cn);
    font-weight: 500;
    font-size: 13px;
    line-height: 1.45;
    color: #fff;
    overflow-wrap: anywhere;
}

.home-digest-card small {
    margin-top: 3px;
    font-family: var(--font-ui);
    font-size: 10px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.68);
    overflow-wrap: anywhere;
}

.hero-cue {
    bottom: max(10px, env(safe-area-inset-bottom));
    letter-spacing: 0.08em;
}

.section-weather,
.section-event,
.section-seats {
    background:
        radial-gradient(ellipse at 20% 8%, rgba(228, 184, 184, 0.13), transparent 44%),
        radial-gradient(ellipse at 88% 92%, rgba(200, 168, 124, 0.12), transparent 48%),
        var(--bg, #FBF7F0);
}

.section-weather .section-en,
.section-event .section-en,
.section-seats .section-en {
    margin-bottom: 10px;
    font-size: 9px;
    letter-spacing: 0.38em;
}

.section-weather .section-title,
.section-event .section-title,
.section-seats .section-title {
    font-size: clamp(23px, 6vw, 32px);
}

.weather-wrap {
    width: min(620px, 100%);
    margin: 22px auto 0;
}

.weather-current {
    margin-bottom: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    text-align: left;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    gap: 14px;
    background: rgba(255, 252, 246, 0.78);
    border: 1px solid rgba(200, 168, 124, 0.24);
    box-shadow: 0 12px 34px rgba(100, 80, 40, 0.09);
}

.weather-current-label {
    display: block;
    margin-bottom: 2px;
    font-family: var(--font-display);
    font-size: 9px;
    letter-spacing: 0.2em;
    color: var(--gold-dark, #A6875A);
    text-transform: uppercase;
}

.weather-current strong {
    font-family: var(--font-cn);
    font-size: 20px;
    font-weight: 500;
    color: var(--text, #3C3428);
}

.weather-current p {
    margin: 0;
    font-size: 11px;
    line-height: 1.7;
    color: var(--text-muted, #8C7D6A);
    text-align: left;
}

.weather-current p span {
    display: inline;
    margin-left: 10px;
}

.weather-list {
    padding: 4px 2px 18px;
}

.weather-card {
    width: 96px;
    border-radius: 18px;
    background: rgba(255, 252, 246, 0.82);
    box-shadow: 0 10px 28px rgba(100, 80, 40, 0.08);
}

.section-event .event-card {
    width: min(430px, 100%);
    max-height: calc(100vh - 132px);
    max-height: calc(100dvh - 132px);
    overflow-y: auto;
    margin: 18px auto 0;
    padding: 20px 16px 16px;
    border-radius: 22px;
}

.section-event .event-card::-webkit-scrollbar {
    display: none;
}

.event-date {
    font-size: clamp(27px, 7.2vw, 38px);
}

.event-detail {
    font-size: 12px;
}

.countdown-hint {
    margin-top: 8px;
    margin-bottom: 4px;
}

.countdown {
    gap: 4px;
}

.countdown div {
    min-width: 34px;
}

.countdown span {
    font-size: clamp(20px, 5.4vw, 28px);
}

.live-clock-row {
    margin-top: 8px;
}

.venue-box {
    margin-top: 10px;
    padding-top: 10px;
}

.venue-title {
    font-size: 14px;
}

.venue-address {
    font-size: 11px;
    line-height: 1.7;
}

.map-container {
    height: 84px;
    margin-top: 8px;
    border-radius: 14px;
}

.event-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.event-actions .btn {
    min-height: 34px;
    justify-content: center;
    padding: 7px 5px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0;
    white-space: nowrap;
}

.event-actions .btn svg {
    width: 14px;
    height: 14px;
}

.section-seats .seats-wrap {
    width: min(620px, 100%);
    height: min(62vh, 460px);
    height: min(62dvh, 460px);
    margin: 20px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 252, 246, 0.9);
    border-radius: 20px;
    border: 1px solid rgba(200, 168, 124, 0.22);
}

.section-seats .seats-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.seats-hint {
    margin-top: 12px;
    font-size: 12px;
}

@media (max-height: 700px) {
    .hero {
        padding-bottom: max(26px, env(safe-area-inset-bottom));
    }

    .home-digest {
        margin-top: 14px;
        gap: 7px;
    }

    .home-digest-card {
        min-height: 62px;
        padding: 9px 10px;
    }

    .home-digest-card--wide {
        min-height: 68px;
    }

    .section-event .event-card {
        margin-top: 14px;
        padding: 14px 14px 12px;
    }

    .map-container {
        height: 72px;
    }
}

@media (min-width: 680px) {
    .site-nav {
        max-width: 680px;
    }

    .hero-content {
        max-width: 420px;
    }

    main > .section-weather,
    main > .section-event,
    main > .section-seats {
        padding-left: 40px;
        padding-right: 40px;
    }

    .hero {
        padding-left: 40px;
        padding-right: 40px;
    }
}
