/* Shared styles for /ads, /register, /广告, /注册 */

@view-transition {
    navigation: auto;
}

:root {
    --bg: #0a0908;
    --bg-raise: #131110;
    --line: rgba(232, 205, 150, 0.12);
    --line-strong: rgba(232, 205, 150, 0.26);
    --text: #f4efe6;
    --muted: #a39a8c;
    --faint: #716a5f;
    --gold: #e3c48a;
    --gold-hi: #f7e7c1;
    --gold-lo: #a67c3d;
    --gold-grad: linear-gradient(115deg, #a67c3d 0%, #e3c48a 28%, #f7e7c1 50%, #e3c48a 72%, #a67c3d 100%);
    --wine: #5a1626;
    --ink: #1a140a;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --serif: "Cormorant Garamond", "Noto Serif SC", "Songti SC", "STSong", serif;
    --sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color-scheme: dark;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-x: clip;
    animation: page-in 0.9s var(--ease-out) both;
    transition: opacity 0.32s ease, filter 0.32s ease;
}

body.is-leaving {
    opacity: 0;
    filter: blur(4px);
}

::selection {
    background: rgba(227, 196, 138, 0.85);
    color: var(--ink);
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

/* ---------- Atmosphere ---------- */

.ambient {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(ellipse 90% 55% at 50% -12%, rgba(227, 196, 138, 0.11), transparent 70%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
}

.orb-a {
    width: 52vmax;
    height: 52vmax;
    left: -18vmax;
    top: 8vh;
    background: radial-gradient(circle, rgba(166, 124, 61, 0.22), transparent 62%);
    animation: drift-a 28s ease-in-out infinite alternate;
}

.orb-b {
    width: 48vmax;
    height: 48vmax;
    right: -20vmax;
    top: 40vh;
    background: radial-gradient(circle, rgba(110, 24, 44, 0.42), transparent 62%);
    animation: drift-b 34s ease-in-out infinite alternate;
}

.grain {
    position: fixed;
    inset: 0;
    z-index: 90;
    pointer-events: none;
    opacity: 0.07;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    width: 100%;
    height: 2px;
    background: var(--gold-grad);
    transform: scaleX(0);
    transform-origin: left;
    box-shadow: 0 0 10px rgba(227, 196, 138, 0.5);
}

/* ---------- Language toggle ---------- */

.lang {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 3px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(19, 17, 16, 0.62);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.7);
}

.lang a {
    position: relative;
    z-index: 1;
    min-width: 54px;
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.4;
    color: var(--muted);
    transition: color 0.45s var(--ease-out);
}

.lang a:hover {
    color: var(--text);
}

.lang a[aria-current="page"] {
    color: var(--ink);
}

.lang-thumb {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 3px;
    width: calc(50% - 3px);
    border-radius: 999px;
    background: var(--gold-grad);
    background-size: 200% 100%;
    box-shadow: 0 4px 18px rgba(227, 196, 138, 0.28);
    transition: transform 0.6s var(--ease-out);
}

.lang[data-active="zh"] .lang-thumb {
    transform: translateX(100%);
}

/* ---------- Header ---------- */

.site-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 4vw, 44px);
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(54px, 8vw, 76px) 24px 0;
}

.site-head .rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-strong));
    transform-origin: right;
    animation: rule-in 1.6s var(--ease-out) 0.25s both;
}

.site-head .rule:last-child {
    background: linear-gradient(270deg, transparent, var(--line-strong));
    transform-origin: left;
}

.site-head .logo {
    display: block;
    flex: none;
    animation: logo-in 1.4s var(--ease-out) both;
}

.site-head .logo img {
    display: block;
    height: 92px;
    width: auto;
}

/* ---------- Layout ---------- */

.wrap {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    isolation: isolate;
    text-align: center;
    padding: clamp(56px, 10vw, 112px) 0 clamp(40px, 6vw, 72px);
}

.hero-dust {
    position: absolute;
    top: -160px;
    left: 50%;
    z-index: -1;
    width: 100vw;
    height: calc(100% + 160px);
    transform: translateX(-50%);
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 45%, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 60% 70% at 50% 45%, #000 30%, transparent 80%);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
}

.eyebrow::before,
.eyebrow::after {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: 0.5;
}

.display {
    max-width: 15ch;
    margin: 24px auto 0;
    font-family: var(--serif);
    font-size: clamp(42px, 7.2vw, 88px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.012em;
    text-wrap: balance;
}

.display em {
    display: inline-block;
    padding: 0 0.06em 0.04em 0;
    font-style: italic;
    color: transparent;
    background: var(--gold-grad);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 7s linear infinite;
}

.display .word {
    display: inline-block;
    white-space: nowrap;
}

.display .ch {
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(0.45em) rotate(5deg);
    animation: ch-in 1.1s var(--ease-out) forwards;
    animation-delay: calc(0.3s + var(--i) * 34ms);
}

.display em.ch {
    animation: ch-in 1.3s var(--ease-out) forwards, shimmer 7s linear infinite;
    animation-delay: calc(0.3s + var(--i) * 34ms), 0s;
}

.lede {
    max-width: 600px;
    margin: 26px auto 0;
    font-size: clamp(15px, 1.6vw, 17px);
    color: var(--muted);
    text-wrap: balance;
}

.price {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 40px auto 0;
    padding: 18px 36px 20px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.price-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--faint);
}

.price-figure {
    display: flex;
    align-items: baseline;
    gap: 0.32em;
    font-family: var(--serif);
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 500;
    line-height: 1;
    color: var(--gold-hi);
    font-variant-numeric: lining-nums tabular-nums;
}

.price-figure .dash {
    font-size: 0.55em;
    color: var(--faint);
}

.price-figure small {
    margin-left: 0.15em;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--gold);
}

.price-figure small.pre {
    margin: 0 0.1em 0 0;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 40px;
}

.scroll-cue {
    position: relative;
    display: block;
    width: 32px;
    height: 64px;
    margin: 56px auto 0;
    overflow: hidden;
}

.scroll-cue::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line);
}

.scroll-cue span {
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 40%;
    background: linear-gradient(transparent, var(--gold));
    animation: cue 2.6s var(--ease-out) infinite;
}

/* ---------- Buttons ---------- */

.btn {
    --mx: 0px;
    --my: 0px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    padding: 0 28px;
    overflow: hidden;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
    transform: translate(var(--mx), var(--my));
    transition: transform 0.6s var(--ease-out), box-shadow 0.4s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn i {
    font-size: 0.9em;
    transition: transform 0.5s var(--ease-out);
}

.btn-gold {
    color: var(--ink);
    background: var(--gold-grad);
    background-size: 200% 100%;
    box-shadow: 0 12px 32px -12px rgba(227, 196, 138, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-gold::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.6) 50%, transparent 65%);
    transform: translateX(-120%);
    animation: sheen 5s var(--ease-out) 2s infinite;
}

.btn-ghost {
    color: var(--text);
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.025);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.btn-sm {
    height: 42px;
    padding: 0 20px;
    font-size: 13px;
    font-weight: 500;
}

.btn:focus-visible,
.lang a:focus-visible,
.copy:focus-visible,
.callout:focus-visible,
.contact a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

@media (hover: hover) {
    .btn-gold:hover {
        box-shadow: 0 18px 44px -12px rgba(227, 196, 138, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }

    .btn-ghost:hover {
        border-color: rgba(227, 196, 138, 0.55);
        background: rgba(227, 196, 138, 0.07);
    }

    .btn:hover .fa-arrow-right {
        transform: translateX(4px);
    }

    .btn:hover .fa-arrow-left {
        transform: translateX(-4px);
    }
}

/* ---------- Sections ---------- */

.block {
    position: relative;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 24px 64px;
    padding: clamp(56px, 8vw, 96px) 0;
}

.block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--line-strong), var(--line) 40%, transparent);
    transform-origin: left;
    transition: transform 1.6s var(--ease-out);
}

.js .reveal-line::before {
    transform: scaleX(0);
}

.js .reveal-line.is-in::before {
    transform: scaleX(1);
}

.block-aside {
    position: sticky;
    top: 88px;
    align-self: start;
}

.idx,
.tile-n,
.step::before {
    font-variant-numeric: lining-nums;
}

.idx {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--gold);
}

.idx::after {
    content: "";
    width: 44px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.block h2,
.callout h2 {
    margin: 16px 0 0;
    font-family: var(--serif);
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.005em;
    text-wrap: balance;
}

.block-body > p {
    margin: 0 0 18px;
    color: var(--muted);
}

.block-body > .label {
    margin: 36px 0 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--faint);
}

.note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(201, 84, 98, 0.28);
    background: rgba(90, 22, 38, 0.22);
    font-size: 13px;
    color: #e6b8bd;
}

/* ---------- Tiles ---------- */

.tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 22px 20px 20px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 248, 235, 0.04), rgba(255, 248, 235, 0.01));
}

.tile-ic,
.mail-ic {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(227, 196, 138, 0.18);
    background: rgba(227, 196, 138, 0.07);
    color: var(--gold);
    font-size: 17px;
}

.tile-t {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--text);
}

.tile-n {
    position: absolute;
    top: 18px;
    right: 20px;
    font-family: var(--serif);
    font-size: 14px;
    color: var(--faint);
}

/* Cursor-tracked glow: JS sets --sx/--sy on every .spot inside a [data-spot] group,
   so neighbouring borders light up as the cursor approaches them. */
.spot {
    position: relative;
    isolation: isolate;
}

.spot::before,
.spot::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.spot::before {
    z-index: -1;
    background: radial-gradient(340px circle at var(--sx, 50%) var(--sy, 50%), rgba(227, 196, 138, 0.1), transparent 65%);
}

.spot::after {
    padding: 1px;
    background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 50%), rgba(247, 231, 193, 0.75), transparent 60%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

@media (hover: hover) {

    [data-spot]:hover .spot::before,
    [data-spot]:hover .spot::after,
    .spot[data-spot]:hover::before,
    .spot[data-spot]:hover::after {
        opacity: 1;
    }
}

/* ---------- Checklist / email / contacts ---------- */

.checks {
    display: grid;
    gap: 12px;
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
}

.checks li {
    display: flex;
    align-items: center;
    gap: 14px;
}

.checks i {
    flex: none;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gold-grad);
    color: var(--ink);
    font-size: 10px;
}

.mail {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    margin: 32px 0 0;
    padding: 16px 16px 16px 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 248, 235, 0.025);
}

.mail-t {
    min-width: 0;
}

.mail-t small {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--faint);
}

.mail-t a {
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.copy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--gold);
    font: 500 13px var(--sans);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.copy:hover {
    background: rgba(227, 196, 138, 0.08);
}

.copy.is-done {
    border-color: transparent;
    background: var(--gold);
    color: var(--ink);
}

.contacts {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.contact a {
    position: relative;
    display: grid;
    grid-template-columns: 46px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}

.contact a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: var(--gold-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s var(--ease-out);
}

.contact .ic {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    color: var(--gold);
    font-size: 19px;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.contact .t {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.45;
}

.contact .t b {
    font-size: 16px;
    font-weight: 500;
}

.contact .t small {
    font-size: 13px;
    color: var(--faint);
}

.contact .go {
    color: var(--faint);
    transform: rotate(-45deg);
    transition: transform 0.6s var(--ease-out), color 0.3s ease;
}

@media (hover: hover) {
    .contact a:hover::after {
        transform: scaleX(1);
    }

    .contact a:hover .ic {
        border-color: transparent;
        background: var(--gold);
        color: var(--ink);
    }

    .contact a:hover .go {
        color: var(--gold);
        transform: rotate(-45deg) translateX(4px);
    }
}

/* ---------- Steps timeline (register) ---------- */

.steps {
    position: relative;
    margin: 8px 0 0;
}

.steps::before,
.steps-fill {
    content: "";
    position: absolute;
    left: 20px;
    top: 20px;
    width: 1px;
}

.steps::before {
    height: var(--track, calc(100% - 40px));
    background: var(--line-strong);
}

.steps-fill {
    z-index: 1;
    height: 0;
    background: linear-gradient(var(--gold-hi), var(--gold-lo));
    box-shadow: 0 0 12px rgba(227, 196, 138, 0.6);
}

.steps-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 0 0 36px 68px;
}

.step:last-child {
    padding-bottom: 0;
}

.step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 41px;
    height: 41px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: var(--bg);
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 600;
    color: var(--muted);
    transition: color 0.6s var(--ease-out), background 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), border-color 0.6s var(--ease-out);
}

.step.is-lit::before {
    border-color: transparent;
    background: var(--gold-grad);
    color: var(--ink);
    box-shadow: 0 0 0 6px rgba(227, 196, 138, 0.08), 0 0 26px rgba(227, 196, 138, 0.4);
}

.step h3 {
    margin: 6px 0 6px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.step p {
    margin: 0;
    color: var(--muted);
}

.step p a {
    color: var(--gold);
    text-decoration: none;
}

/* ---------- Callout ---------- */

.callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 0 0 clamp(56px, 8vw, 96px);
    padding: clamp(28px, 4.5vw, 48px);
    border-radius: 26px;
    border: 1px solid var(--line);
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(227, 196, 138, 0.11), transparent 50%),
        radial-gradient(100% 130% at 100% 100%, rgba(110, 24, 44, 0.42), transparent 55%),
        var(--bg-raise);
    text-decoration: none;
}

.callout h2 {
    margin-top: 12px;
}

.callout p {
    margin: 8px 0 0;
    color: var(--muted);
}

.callout-go {
    flex: none;
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    color: var(--gold);
    font-size: 20px;
    transition: transform 0.7s var(--ease-out), background-color 0.4s ease, color 0.4s ease;
}

@media (hover: hover) {
    .callout:hover .callout-go {
        transform: rotate(-45deg) scale(1.06);
        background: var(--gold);
        color: var(--ink);
    }
}

/* ---------- Gallery film strip (register) ---------- */

.gallery {
    width: 100vw;
    margin: clamp(48px, 7vw, 72px) 0 0 calc(50% - 50vw);
}

.gallery-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.gallery-marquee .marquee-track {
    display: flex;
    align-items: center;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    animation: marquee-scroll var(--marquee-duration, 15s) linear infinite;
}

.gallery-marquee:hover .marquee-track,
.gallery-marquee:focus-within .marquee-track {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    padding-right: 14px;
}

.gallery-marquee .girl {
    flex: 0 0 auto;
    width: 156px;
    margin-right: 14px;
}

.gallery-marquee .girl:last-child {
    margin-right: 0;
}

.gallery-marquee .girl-link {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    outline: 1px solid var(--line);
    outline-offset: -1px;
    box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.9);
    transition: transform 0.7s var(--ease-out), box-shadow 0.5s ease;
}

.gallery-marquee .girl img {
    display: block;
    width: 100%;
    height: 228px;
    object-fit: cover;
    transition: transform 1s var(--ease-out);
}

@media (hover: hover) {
    .gallery-marquee .girl-link:hover {
        transform: translateY(-6px);
        box-shadow: 0 0 0 1px rgba(227, 196, 138, 0.6), 0 24px 44px -16px rgba(227, 196, 138, 0.35);
    }

    .gallery-marquee .girl-link:hover img {
        transform: scale(1.06);
    }
}

/* ---------- Notes (register) ---------- */

.notes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.notes .tile {
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.notes .tile-ic {
    flex: none;
}

/* ---------- Footer ---------- */

.site-foot {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px calc(40px + env(safe-area-inset-bottom));
}

.back-home {
    margin: 0 0 56px;
    text-align: center;
}

.detail-like-footer-links {
    padding-top: 48px;
    border-top: 1px solid var(--line);
    text-align: center;
    font-size: 13px;
    color: var(--muted);
}

.detail-like-footer-links p {
    margin: 10px 0;
    line-height: 1.75;
}

.detail-like-footer-links .meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 0 36px;
    margin-bottom: 36px;
    text-align: left;
}

.detail-like-footer-links .meta-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(232, 205, 150, 0.1);
    font-size: 13px;
    font-weight: 400;
    color: var(--faint);
}

.detail-like-footer-links a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.detail-like-footer-links a:hover {
    color: var(--gold-hi);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.detail-like-footer-links .meta-line a {
    font-weight: 500;
    text-align: right;
}

.detail-like-footer-links .share-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 32px;
}

.detail-like-footer-links .share-btn {
    --brand: var(--gold);
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--muted);
    transition: transform 0.5s var(--ease-out), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.detail-like-footer-links .share-btn i {
    font-size: 16px;
}

.detail-like-footer-links .share-btn:hover {
    border-color: transparent;
    background: var(--brand);
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
}

.share-btn.share-fb { --brand: #3b5998; }
.share-btn.share-tw { --brand: #1da1f2; }
.share-btn.share-wa { --brand: #25d366; }
.share-btn.share-tg { --brand: #0088cc; }
.share-btn.share-tb { --brand: #36465d; }
.share-btn.share-wx { --brand: #09b83e; }
.share-btn.share-pin { --brand: #e60023; }
.share-btn.share-in { --brand: #0077b5; }
.share-btn.share-rd { --brand: #ff4500; }

.detail-like-footer-links .quick-links,
.detail-like-footer-links .copyright-links {
    color: var(--faint);
}

.detail-like-footer-links .quick-links a,
.detail-like-footer-links .copyright-links a {
    color: var(--muted);
    font-size: 12px;
}

/* ---------- Mobile dock + toast ---------- */

.dock {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 55;
    display: none;
    gap: 8px;
    padding: 7px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(19, 17, 16, 0.74);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.8);
    transform: translateY(160%);
    transition: transform 0.7s var(--ease-out);
}

.dock.is-shown {
    transform: none;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: calc(28px + env(safe-area-inset-bottom));
    z-index: 70;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: rgba(24, 21, 17, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: var(--gold-hi);
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 16px);
    transition: opacity 0.4s ease, transform 0.6s var(--ease-out);
}

.toast.is-shown {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ---------- Scroll reveal ---------- */

.js .reveal {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(28px);
    transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out), filter 1.1s var(--ease-out);
    transition-delay: var(--d, 0s);
}

.js .reveal.is-in {
    opacity: 1;
    filter: none;
    transform: none;
}

/* ---------- Chinese typography ---------- */

:lang(zh) .display {
    max-width: 13em;
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.04em;
}

:lang(zh) .display em {
    font-style: normal;
}

:lang(zh) .block h2,
:lang(zh) .callout h2 {
    font-weight: 600;
    letter-spacing: 0.03em;
}

:lang(zh) .eyebrow {
    letter-spacing: 0.24em;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
    .block {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .block-aside {
        position: static;
    }
}

@media (max-width: 720px) {
    body {
        font-size: 15px;
        padding-bottom: calc(80px + env(safe-area-inset-bottom));
    }

    .wrap,
    .site-foot {
        padding-left: 18px;
        padding-right: 18px;
    }

    .lang {
        top: 10px;
        right: 10px;
    }

    .lang a {
        min-width: 46px;
        padding: 5px 10px;
        font-size: 11px;
    }

    .site-head {
        padding: 56px 18px 0;
        gap: 14px;
    }

    .site-head .logo img {
        height: 70px;
    }

    .hero {
        padding: 44px 0 32px;
    }

    .eyebrow {
        font-size: 11px;
        letter-spacing: 0.24em;
    }

    .eyebrow::before,
    .eyebrow::after {
        width: 18px;
    }

    .display {
        margin-top: 18px;
    }

    .lede {
        margin-top: 18px;
    }

    .price {
        margin-top: 30px;
        padding: 16px 20px 18px;
    }

    .cta-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 30px;
    }

    .cta-row .btn {
        width: 100%;
    }

    .scroll-cue {
        margin-top: 36px;
        height: 48px;
    }

    .tiles {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 24px;
    }

    .tile {
        gap: 16px;
        padding: 16px 14px;
        border-radius: 16px;
    }

    .tile-ic {
        width: 36px;
        height: 36px;
        font-size: 15px;
        border-radius: 10px;
    }

    .tile-t {
        font-size: 14px;
    }

    .tile-n {
        top: 14px;
        right: 14px;
        font-size: 12px;
    }

    .notes {
        grid-template-columns: 1fr;
    }

    .mail {
        grid-template-columns: 1fr auto;
        gap: 12px;
        padding: 14px;
    }

    .mail-ic {
        display: none;
    }

    .mail-t a {
        font-size: 15px;
    }

    .copy {
        height: 36px;
        padding: 0 12px;
    }

    .contact a {
        grid-template-columns: 42px 1fr auto;
        gap: 14px;
        padding: 16px 2px;
    }

    .contact .ic {
        width: 42px;
        height: 42px;
        font-size: 17px;
    }

    .contact .t b {
        font-size: 15px;
    }

    .step {
        padding-left: 60px;
        padding-bottom: 28px;
    }

    .callout {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        border-radius: 22px;
    }

    .callout-go {
        width: 52px;
        height: 52px;
        font-size: 16px;
        transform: rotate(-45deg);
    }

    .gallery-marquee .girl {
        width: 118px;
        margin-right: 10px;
    }

    .marquee-content {
        padding-right: 10px;
    }

    .gallery-marquee .girl img {
        height: 176px;
    }

    .gallery-marquee .girl-link {
        border-radius: 13px;
    }

    .back-home {
        margin-bottom: 40px;
    }

    .detail-like-footer-links {
        padding-top: 36px;
    }

    .detail-like-footer-links .meta-grid {
        grid-template-columns: 1fr;
    }

    .detail-like-footer-links .share-row {
        gap: 8px;
    }

    .detail-like-footer-links .share-btn {
        width: 38px;
        height: 38px;
    }

    .dock {
        display: flex;
    }

    .dock .btn {
        flex: 1;
        height: 46px;
        padding: 0 14px;
        font-size: 14px;
    }

    .toast {
        bottom: calc(92px + env(safe-area-inset-bottom));
    }

    .js .reveal {
        filter: none;
        transform: translateY(20px);
    }

    .grain {
        opacity: 0.05;
    }
}

@media (max-width: 720px) {
    :lang(zh) .display {
        font-size: 32px;
    }
}

@media (max-width: 380px) {
    .copy span {
        display: none;
    }

    .price-figure {
        font-size: 32px;
    }
}

/* ---------- Keyframes ---------- */

@keyframes page-in {
    from {
        opacity: 0;
    }
}

@keyframes logo-in {
    from {
        opacity: 0;
        filter: blur(12px);
        transform: scale(0.94);
    }
}

@keyframes rule-in {
    from {
        transform: scaleX(0);
        opacity: 0;
    }
}

@keyframes ch-in {
    to {
        opacity: 1;
        filter: none;
        transform: none;
    }
}

@keyframes shimmer {
    from {
        background-position: 0% 50%;
    }

    to {
        background-position: -220% 50%;
    }
}

@keyframes sheen {
    0% {
        transform: translateX(-120%);
    }

    30%,
    100% {
        transform: translateX(120%);
    }
}

@keyframes cue {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(260%);
    }
}

@keyframes drift-a {
    to {
        transform: translate3d(10vw, 12vh, 0) scale(1.12);
    }
}

@keyframes drift-b {
    to {
        transform: translate3d(-12vw, -10vh, 0) scale(0.92);
    }
}

@keyframes marquee-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(calc(-1 * var(--marquee-shift)), 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .js .reveal {
        opacity: 1;
        filter: none;
        transform: none;
    }
}
