:root {
    --paper: #f5efe5;
    --paper-deep: #eadcc8;
    --paper-soft: rgba(255, 249, 241, 0.88);
    --paper-strong: rgba(255, 250, 244, 0.96);
    --ink: #181614;
    --ink-soft: #5b5348;
    --ink-muted: #81786c;
    --line: rgba(53, 42, 29, 0.12);
    --line-strong: rgba(53, 42, 29, 0.22);
    --brand: #141414;
    --primary: #b45d24;
    --primary-deep: #7d3912;
    --primary-soft: rgba(180, 93, 36, 0.14);
    --accent: #dfbe7a;
    --accent-soft: rgba(223, 190, 122, 0.22);
    --success: #2f9c65;
    --danger: #b94b3c;
    --shadow: 0 22px 56px rgba(33, 21, 12, 0.12);
    --shadow-soft: 0 16px 34px rgba(33, 21, 12, 0.08);
    --radius-xl: 34px;
    --radius-lg: 26px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --container: min(1180px, calc(100vw - 32px));
    --header-height: 86px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(223, 190, 122, 0.22), transparent 28%),
        radial-gradient(circle at top right, rgba(180, 93, 36, 0.16), transparent 24%),
        linear-gradient(180deg, #faf6f0 0%, #f4ebdf 48%, #eee1cf 100%);
    font-family: "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.7;
}

body.menu-open {
    overflow: hidden;
}

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

button,
input,
select,
textarea,
iframe,
video {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.site-shell {
    position: relative;
    overflow-x: clip;
}

.site-shell::before,
.site-shell::after {
    content: "";
    position: fixed;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    filter: blur(24px);
    opacity: 0.34;
    pointer-events: none;
    z-index: 0;
}

.site-shell::before {
    top: -140px;
    left: -90px;
    background: rgba(223, 190, 122, 0.22);
}

.site-shell::after {
    right: -140px;
    bottom: -120px;
    background: rgba(180, 93, 36, 0.18);
}

.site-header,
.section,
.footer {
    position: relative;
    z-index: 1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 14px 0 0;
}

.topbar {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    width: var(--container);
    min-height: var(--header-height);
    margin: 0 auto;
    padding: 16px 0;
}

.topbar::before {
    content: "";
    position: absolute;
    inset: 0 -10px;
    border: 1px solid rgba(24, 22, 20, 0.08);
    border-radius: 26px;
    background: rgba(255, 250, 244, 0.82);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 34px rgba(33, 21, 12, 0.08);
    z-index: -1;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(145deg, var(--brand), #39322a);
    color: #f7e7c5;
    font-family: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", serif;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: var(--shadow-soft);
}

.brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-mark.is-logo {
    padding: 8px;
    background: rgba(255, 250, 244, 0.98);
    border: 1px solid rgba(24, 22, 20, 0.08);
    box-shadow: 0 16px 34px rgba(33, 21, 12, 0.08);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.12;
}

.brand-copy strong {
    font-family: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", serif;
    font-size: 1.06rem;
}

.brand-copy small {
    color: var(--ink-muted);
    font-size: 0.84rem;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.site-nav a {
    position: relative;
    color: var(--ink-soft);
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.18s ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.18s ease;
}

.site-nav a:hover,
.site-nav a.is-current {
    color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a.is-current::after {
    transform: scaleX(1);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: end;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.button-primary {
    color: #fff9f2;
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    box-shadow: 0 14px 26px rgba(125, 57, 18, 0.24);
}

.button-secondary {
    color: var(--ink);
    border-color: rgba(24, 22, 20, 0.12);
    background: rgba(255, 251, 246, 0.84);
}

.button-disabled {
    color: var(--ink-muted);
    border-color: rgba(24, 22, 20, 0.08);
    background: rgba(24, 22, 20, 0.05);
    cursor: default;
}

.button-apply-top {
    min-height: 42px;
    padding: 10px 18px;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(24, 22, 20, 0.12);
    border-radius: 16px;
    background: rgba(255, 251, 246, 0.88);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 999px;
    background: var(--ink);
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-scrim {
    display: none;
}

.section {
    width: var(--container);
    margin: 0 auto;
    padding: 34px 0 92px;
}

.page-home main > .section {
    padding-bottom: 44px;
}

.page-home main > .section + .section {
    padding-top: 4px;
}

.page-apply main > .section {
    padding-bottom: 40px;
}

.page-apply main > .section:first-of-type {
    padding-top: 18px;
    padding-bottom: 12px;
}

.page-apply main > .section + .section {
    padding-top: 0;
}

.page-apply .page-hero,
.page-apply .apply-layout {
    gap: 12px;
}

.page-apply .page-hero-actions,
.page-apply .form-aside,
.page-apply .application-form-shell {
    align-content: start;
}

.page-apply .page-hero-actions .hero-actions {
    margin-top: 0;
}

.page-apply .aside-list {
    margin-top: 12px;
}

.page-apply .form-aside,
.page-apply .application-form-shell {
    padding-top: 20px;
    padding-bottom: 20px;
}

.section-heading {
    display: grid;
    gap: 10px;
    max-width: 760px;
    margin-bottom: 28px;
}

.section-heading h2,
.hero-copy h1,
.page-hero-copy h1 {
    margin: 0;
    font-family: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", serif;
    font-weight: 800;
    line-height: 1.14;
}

.hero-copy h1,
.page-hero-copy h1 {
    font-size: clamp(2.4rem, 4vw, 4.3rem);
}

.section-heading h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.eyebrow {
    margin: 0;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-section {
    padding-top: 30px;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
    gap: 26px;
    align-items: stretch;
}

.hero-copy,
.hero-stage,
.page-hero-copy,
.page-hero-actions,
.case-card,
.merchant-card,
.performance-card,
.map-entry-stage,
.map-entry-aside,
.contact-card,
.policy-card,
.empty-card,
.form-aside,
.application-form-shell,
.detail-main-card,
.detail-side-card,
.map-stage-card,
.shop-detail-panel {
    border: 1px solid rgba(24, 22, 20, 0.08);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255, 252, 248, 0.96), rgba(248, 241, 232, 0.9));
    box-shadow: var(--shadow);
}

.hero-copy {
    padding: 36px;
    background:
        linear-gradient(180deg, rgba(255, 251, 244, 0.96), rgba(247, 235, 221, 0.9)),
        radial-gradient(circle at top right, rgba(223, 190, 122, 0.22), transparent 32%);
}

.hero-stage {
    display: grid;
    gap: 18px;
}

.hero-stage-card,
.hero-side-card {
    padding: 28px;
    border-radius: calc(var(--radius-xl) - 8px);
}

.hero-stage-card {
    position: relative;
    overflow: hidden;
    min-height: 240px;
    background:
        linear-gradient(140deg, rgba(20, 20, 20, 0.96), rgba(66, 49, 31, 0.94)),
        radial-gradient(circle at top right, rgba(223, 190, 122, 0.18), transparent 30%);
    color: #fff5e7;
}

.hero-stage-card::after {
    content: "";
    position: absolute;
    inset: auto -50px -70px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(223, 190, 122, 0.08);
}

.hero-side-card {
    background: rgba(252, 247, 239, 0.9);
}

.hero-stage-tag,
.performance-tag,
.policy-teaser-label,
.contact-card-label,
.case-kind {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 800;
}

.hero-stage-tag {
    color: #201810;
    background: rgba(223, 190, 122, 0.92);
}

.hero-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-deep);
    font-weight: 700;
}

.hero-text,
.page-hero-copy p,
.section-heading p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.02rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero-highlights,
.hero-flow-list,
.aside-list {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.hero-highlights li {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 251, 246, 0.78);
    border: 1px solid rgba(24, 22, 20, 0.08);
}

.hero-highlights span {
    color: var(--ink-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-highlights strong {
    font-size: 0.96rem;
}

.hero-flow-list {
    display: grid;
    gap: 12px;
    counter-reset: step;
}

.hero-flow-list li {
    position: relative;
    padding-left: 44px;
    color: var(--ink-soft);
}

.hero-flow-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    color: #fff8f0;
    font-size: 0.82rem;
    font-weight: 800;
}

.page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
    gap: 22px;
    align-items: stretch;
}

.page-hero-copy,
.page-hero-actions {
    padding: 28px 30px;
}

.back-link,
.inline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-deep);
    font-weight: 700;
}

.back-link::before,
.inline-link::before {
    content: "←";
    font-size: 0.9rem;
}

.legend-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.legend-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-soft);
    font-weight: 700;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.is-available {
    background: var(--success);
}

.legend-dot.is-unavailable {
    background: var(--danger);
}

.case-grid,
.merchant-grid,
.performance-grid,
.policy-grid,
.contact-grid {
    display: grid;
    gap: 18px;
}

.case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.merchant-grid,
.performance-grid,
.policy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-card,
.merchant-card,
.performance-card,
.policy-card,
.contact-card {
    overflow: hidden;
}

.case-media,
.performance-media,
.detail-media,
.shop-detail-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #ece2d4, #d8c8b0);
    overflow: hidden;
}

.case-media iframe,
.case-media video,
.case-media img,
.performance-media img,
.detail-media img,
.shop-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-video-shell {
    position: relative;
    width: 100%;
    height: 100%;
    background: #120f0c;
}

.case-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #120f0c;
}

.video-preview {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 0;
    border: 0;
    background: rgba(18, 15, 12, 0.28);
    cursor: pointer;
    transition: opacity 0.24s ease;
}

.video-preview.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.video-preview__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-preview__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: rgba(17, 17, 17, 0.32);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
    transform: translate(-50%, -50%);
}

.video-preview__play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 22px solid #fff8f1;
    transform: translate(-38%, -50%);
}

.media-carousel,
.media-carousel-track,
.media-carousel-slide {
    width: 100%;
    height: 100%;
}

.media-carousel {
    position: relative;
}

.media-carousel-track {
    position: relative;
}

.media-carousel-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.media-carousel-slide.is-active {
    opacity: 1;
}

.media-carousel-dots {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    max-width: calc(100% - 28px);
}

.media-carousel-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    box-shadow: 0 6px 14px rgba(24, 22, 20, 0.18);
    cursor: pointer;
}

.media-carousel-dot.is-active {
    background: #fff8f0;
}

.media-placeholder,
.detail-placeholder,
.shop-detail-media-placeholder {
    display: grid;
    place-items: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    padding: 20px;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(20, 20, 20, 0.96), rgba(91, 61, 34, 0.92)),
        radial-gradient(circle at top right, rgba(223, 190, 122, 0.16), transparent 26%);
    color: #fff7eb;
}

.media-placeholder span,
.detail-placeholder span,
.shop-detail-media-placeholder span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    min-height: 32px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(223, 190, 122, 0.22);
    font-size: 0.8rem;
    font-weight: 800;
}

.case-copy,
.performance-copy,
.detail-copy {
    padding: 24px;
}

.case-copy h3,
.merchant-card h3,
.performance-copy h3,
.policy-card h3,
.contact-card h3,
.detail-copy h2,
.detail-side-card h2,
.shop-detail-card h2,
.form-aside h2,
.map-entry-aside h3 {
    margin: 0;
    font-family: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", serif;
}

.case-copy p,
.merchant-card p,
.performance-copy p,
.policy-card p,
.contact-card p,
.detail-copy p,
.map-entry-aside p,
.detail-case-card p,
.shop-case-note p,
.shop-detail-card p {
    margin: 0;
    color: var(--ink-soft);
}

.case-copy,
.merchant-card,
.performance-copy,
.policy-card,
.contact-card,
.detail-copy,
.detail-case-card,
.shop-case-note,
.map-entry-aside {
    display: grid;
    gap: 12px;
}

.merchant-card,
.policy-card,
.contact-card {
    padding: 24px;
}

.merchant-tag {
    display: inline-flex;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-deep);
    font-size: 0.8rem;
    font-weight: 800;
}

.map-entry-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
    gap: 20px;
}

.map-entry-stage,
.map-stage-card {
    position: relative;
    padding: 18px;
}

.map-entry-stage img,
.map-stage img {
    width: 100%;
    border-radius: calc(var(--radius-xl) - 10px);
}

.map-entry-overlay,
.map-overlay {
    position: absolute;
    inset: 18px;
}

.map-entry-node,
.shop-node,
.admin-map-node {
    position: absolute;
    display: grid;
    place-items: center;
    min-width: 28px;
    min-height: 24px;
    padding: 2px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.map-entry-node {
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #fff;
}

.map-entry-node.is-available,
.shop-node.is-available {
    background: rgba(47, 156, 101, 0.9);
}

.map-entry-node.is-unavailable,
.shop-node.is-unavailable {
    background: rgba(185, 75, 60, 0.86);
}

.map-entry-aside {
    padding: 28px;
}

.map-entry-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.policy-teaser-card {
    display: grid;
    gap: 10px;
    padding: 20px;
    border-radius: var(--radius-md);
    background: rgba(24, 22, 20, 0.94);
    color: #fff5e5;
}

.policy-teaser-card p {
    color: rgba(255, 245, 229, 0.82);
}

.type-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.type-filter {
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid rgba(24, 22, 20, 0.1);
    border-radius: 999px;
    background: rgba(255, 250, 244, 0.82);
    color: var(--ink-soft);
    font-weight: 700;
    cursor: pointer;
}

.type-filter.is-active {
    color: #fff8f0;
    background: linear-gradient(135deg, var(--brand), #433629);
    border-color: transparent;
}

.map-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.68fr);
    gap: 20px;
    align-items: start;
}

.map-stage {
    position: relative;
}

.shop-node {
    border: 1px solid rgba(255, 255, 255, 0.88);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
    transition: transform 0.14s ease, box-shadow 0.14s ease, opacity 0.14s ease;
}

.shop-node:hover,
.shop-node.is-active {
    transform: scale(1.08);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
}

.shop-node.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.shop-detail-panel {
    position: sticky;
    top: 114px;
    padding: 18px;
}

.shop-detail-card,
.shop-detail-placeholder {
    display: grid;
    gap: 16px;
}

.shop-detail-placeholder {
    min-height: 220px;
    place-content: center;
    text-align: center;
    color: var(--ink-muted);
}

.shop-detail-media {
    aspect-ratio: 16 / 10;
    border-radius: calc(var(--radius-lg) - 6px);
    overflow: hidden;
}

.shop-detail-intro {
    color: var(--ink-soft);
}

.shop-detail-code {
    color: var(--ink-muted);
    font-weight: 700;
}

.shop-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
}

.shop-status.is-available {
    color: #16653f;
    background: rgba(47, 156, 101, 0.14);
}

.shop-status.is-unavailable {
    color: #8f3124;
    background: rgba(185, 75, 60, 0.14);
}

.shop-status.is-signed {
    color: #c21f32;
    background: rgba(220, 53, 69, 0.14);
    box-shadow: inset 0 0 0 1px rgba(220, 53, 69, 0.12);
}

.detail-spec-list {
    display: grid;
    gap: 10px;
    margin: 0;
}

.detail-spec-list div,
.selected-shop-specs div {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 251, 246, 0.78);
    border: 1px solid rgba(24, 22, 20, 0.06);
}

.detail-spec-list dt,
.selected-shop-specs dt {
    color: var(--ink-muted);
}

.detail-spec-list dd,
.selected-shop-specs dd {
    margin: 0;
    font-weight: 700;
}

.shop-case-note,
.detail-case-card {
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 251, 246, 0.8);
    border: 1px solid rgba(24, 22, 20, 0.06);
}

.shop-case-note span,
.detail-case-card span {
    color: var(--primary-deep);
    font-size: 0.84rem;
    font-weight: 800;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
    gap: 20px;
}

.detail-main-card {
    overflow: hidden;
}

.detail-side-card {
    display: grid;
    gap: 18px;
    padding: 24px;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.apply-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.form-aside {
    position: sticky;
    top: 114px;
    display: grid;
    gap: 16px;
    padding: 0;
}

.aside-list {
    display: grid;
    gap: 10px;
}

.aside-list li {
    position: relative;
    padding-left: 18px;
    color: var(--ink-soft);
}

.aside-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
}

.selected-shop-card {
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 251, 246, 0.86);
    border: 1px solid rgba(24, 22, 20, 0.08);
}

.selected-shop-card.is-soft {
    opacity: 0.84;
}

.selected-shop-card strong {
    font-size: 1.12rem;
}

.selected-shop-card p {
    margin: 0;
    color: var(--ink-soft);
}

.selected-shop-specs {
    display: grid;
    gap: 10px;
    margin: 0;
}

.agreement-note {
    margin: 0;
    color: var(--ink-muted);
    font-size: 0.92rem;
}

.application-form-shell {
    padding: 28px;
}

.application-form {
    display: grid;
    gap: 18px;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field {
    display: grid;
    gap: 8px;
}

.field label {
    font-weight: 800;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid rgba(24, 22, 20, 0.12);
    border-radius: 18px;
    background: rgba(255, 252, 248, 0.92);
    color: var(--ink);
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.field textarea {
    min-height: 140px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: rgba(180, 93, 36, 0.5);
    box-shadow: 0 0 0 4px rgba(180, 93, 36, 0.12);
    outline: none;
}

.field input[type="file"] {
    min-height: auto;
    padding: 12px;
}

.field-error,
.field-hint,
.form-feedback {
    margin: 0;
    font-size: 0.9rem;
}

.field-error {
    color: var(--danger);
}

.field-hint {
    color: var(--ink-muted);
}

.form-feedback {
    color: var(--ink-soft);
}

.form-feedback.is-success {
    color: #186b42;
}

.form-feedback.is-error {
    color: var(--danger);
}

body.dialog-open {
    overflow: hidden;
}

.application-dialog[hidden] {
    display: none !important;
}

.application-dialog {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 24px;
}

.application-dialog__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(22, 18, 15, 0.48);
}

.application-dialog__panel {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    width: min(92vw, 420px);
    padding: 28px 22px 22px;
    border-radius: 24px;
    background: #fffaf2;
    box-shadow: 0 28px 56px rgba(34, 24, 18, 0.2);
    text-align: center;
}

.application-dialog__title {
    margin: 0;
    font-size: 1.4rem;
    color: var(--ink);
}

.application-dialog__message {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.7;
}

.application-dialog__action {
    width: 100%;
}

.submit-button[disabled] {
    opacity: 0.7;
    pointer-events: none;
}

.file-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.file-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(24, 22, 20, 0.08);
    color: var(--ink-soft);
    font-size: 0.82rem;
    font-weight: 700;
}

.empty-card {
    display: grid;
    gap: 12px;
    padding: 30px;
}

.contact-card-wide {
    grid-column: 1 / -1;
}

.contact-wechat-card {
    gap: 16px;
}

.contact-wechat-layout {
    display: grid;
    gap: 20px;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
}

.contact-wechat-copy {
    display: grid;
    gap: 10px;
}

.contact-qr-panel {
    display: grid;
    gap: 12px;
    justify-items: center;
    width: min(100%, 320px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.contact-qr-panel img {
    display: block;
    width: min(100%, 288px);
    max-height: none;
    height: auto;
    object-fit: contain;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(126, 94, 44, 0.14);
}

.contact-qr-panel span {
    color: var(--ink-soft);
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: var(--container);
    margin: 0 auto;
    padding: 0 0 34px;
    color: var(--ink-muted);
    font-size: 0.92rem;
}

.footer-copy,
.footer-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.footer-copy strong {
    color: var(--ink);
}

.reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1120px) {
    .hero-highlights,
    .merchant-grid,
    .performance-grid,
    .policy-grid,
    .contact-grid,
    .detail-layout,
    .map-layout,
    .map-entry-layout,
    .apply-layout,
    .page-hero {
        grid-template-columns: 1fr 1fr;
    }

    .hero-layout {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-card-wide {
        grid-column: 1 / -1;
    }

    .contact-wechat-layout {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

@media (max-width: 900px) {
    .topbar {
        grid-template-columns: auto 1fr auto;
        gap: 14px;
    }

    .site-nav {
        position: fixed;
        top: 92px;
        left: 16px;
        right: 16px;
        z-index: 150;
        display: grid;
        gap: 0;
        padding: 12px;
        border: 1px solid rgba(24, 22, 20, 0.08);
        border-radius: 26px;
        background: rgba(255, 251, 246, 0.96);
        box-shadow: var(--shadow);
        transform: translateY(-14px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .site-nav.is-open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .site-nav a {
        padding: 12px 10px;
        border-radius: 16px;
    }

    .site-nav a::after {
        display: none;
    }

    .menu-toggle {
        display: inline-block;
    }

    .nav-scrim {
        position: fixed;
        inset: 0;
        z-index: 140;
        background: rgba(16, 14, 12, 0.42);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .nav-scrim.is-active {
        opacity: 1;
        pointer-events: auto;
    }

    .topbar-actions .button-apply-top {
        display: none;
    }

    .page-hero,
    .map-layout,
    .map-entry-layout,
    .detail-layout,
    .apply-layout,
    .field-row {
        grid-template-columns: 1fr;
    }

    .form-aside,
    .shop-detail-panel {
        position: static;
    }

    .case-grid,
    .merchant-grid,
    .performance-grid,
    .policy-grid,
    .contact-grid,
    .hero-highlights {
        grid-template-columns: 1fr;
    }

    .section {
        padding-bottom: 72px;
    }
}

@media (max-width: 720px) {
    .contact-wechat-layout {
        grid-template-columns: 1fr;
    }

    .contact-qr-panel {
        width: 100%;
    }

    .contact-qr-panel img {
        width: min(100%, 300px);
    }
}

@media (max-width: 640px) {
    :root {
        --container: min(100vw - 24px, 100vw - 24px);
    }

    .site-header {
        padding-top: 10px;
    }

    .topbar::before {
        inset: 0 -4px;
        border-radius: 22px;
    }

    .hero-copy,
    .page-hero-copy,
    .page-hero-actions,
    .map-entry-aside,
    .application-form-shell,
    .merchant-card,
    .policy-card,
    .contact-card,
    .detail-side-card,
    .shop-detail-panel {
        padding: 22px;
    }

    .hero-stage-card,
    .hero-side-card,
    .case-copy,
    .performance-copy,
    .detail-copy {
        padding: 20px;
    }

    .brand-mark {
        width: 48px;
        height: 48px;
        border-radius: 15px;
    }

    .brand-mark.is-logo {
        padding: 6px;
    }

    .button {
        width: 100%;
    }

    .hero-actions,
    .map-entry-actions,
    .detail-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .detail-spec-list div,
    .selected-shop-specs div {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .footer {
        padding-bottom: 28px;
    }

    .page-home main > .section {
        padding-bottom: 24px;
    }

    .page-home main > .section + .section {
        padding-top: 0;
    }

    .page-apply main > .section {
        padding-bottom: 28px;
    }

    .page-apply main > .section:first-of-type {
        padding-top: 12px;
        padding-bottom: 8px;
    }

    .page-apply main > .section + .section {
        padding-top: 0;
    }

    .page-apply .page-hero,
    .page-apply .apply-layout {
        gap: 12px;
    }

    .page-apply .page-hero-copy,
    .page-apply .page-hero-actions,
    .page-apply .form-aside,
    .page-apply .application-form-shell {
        padding: 18px;
    }

    .page-apply .page-hero-copy h1 {
        font-size: clamp(2rem, 9vw, 2.85rem);
    }

    .page-apply .hero-actions {
        gap: 10px;
        margin-top: 0;
    }
}
