:root {
    --wall-gray: #2f3437;
    --wall-gray-soft: #4f5757;
    --banyan-green: #0f9f7a;
    --banyan-green-deep: #04765d;
    --mist: #e0f2f1;
    --paper: #ffffff;
    --glass: rgba(255, 255, 255, 0.22);
    --glass-strong: rgba(255, 255, 255, 0.74);
    --white-line: rgba(255, 255, 255, 0.58);
    --shadow: 0 18px 42px rgba(47, 52, 55, 0.18);
    --shadow-hover: 0 24px 56px rgba(15, 159, 122, 0.22);
}

.city-cards-section {
    margin-top: 32px;
    padding: 34px;
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)),
        rgba(7, 35, 34, 0.22);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.section-kicker {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.section-heading h2 {
    margin: 6px 0 0;
    color: #ffffff;
    font-family: "Noto Serif SC", "Noto Sans SC", sans-serif;
    font-size: 2.15rem;
    line-height: 1.15;
    font-weight: 900;
}

.city-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.city-card {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    border: 1px solid rgba(255, 255, 255, 0.44);
    border-radius: 14px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08)),
        rgba(4, 23, 30, 0.34);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 22px 58px rgba(0, 20, 24, 0.24);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.city-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.32), transparent 30%),
        radial-gradient(circle at 88% 4%, rgba(15, 159, 122, 0.28), transparent 28%);
    pointer-events: none;
}

.city-card:hover {
    transform: translateY(-7px);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 30px 70px rgba(15, 159, 122, 0.22);
}

.mini-illustration {
    position: relative;
    height: 190px;
    margin: 18px 18px 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 12px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06)),
        rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.mini-illustration::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.26), transparent 42%);
    pointer-events: none;
}

.identity-image-wrap {
    position: relative;
    display: grid;
    place-items: center;
    height: 214px;
    margin: 18px 18px 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.46);
    border-radius: 14px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)),
        rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.identity-image-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.24), transparent 45%);
    pointer-events: none;
}

.identity-image-wrap img {
    position: relative;
    z-index: 1;
    width: min(86%, 260px);
    height: min(82%, 176px);
    object-fit: contain;
    filter: drop-shadow(0 16px 28px rgba(0, 18, 20, 0.28));
}

.alley-image-wrap {
    box-shadow: 0 0 34px rgba(233, 218, 184, 0.2), inset 0 0 26px rgba(255, 255, 255, 0.08);
}

.flavor-image-wrap {
    box-shadow: 0 0 34px rgba(255, 190, 132, 0.24), inset 0 0 28px rgba(255, 255, 255, 0.1);
}

.banyan-image-wrap {
    box-shadow: 0 0 36px rgba(15, 159, 122, 0.28), inset 0 0 28px rgba(255, 255, 255, 0.08);
}

.saddle-wall {
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: 38px;
    height: 72px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 42px 42px 8px 8px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.2);
}

.saddle-wall::before,
.saddle-wall::after {
    content: "";
    position: absolute;
    bottom: -1px;
    width: 42%;
    height: 42px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.42);
}

.saddle-wall::before {
    left: -10%;
    border-radius: 36px 12px 8px 8px;
}

.saddle-wall::after {
    right: -10%;
    border-radius: 12px 36px 8px 8px;
}

.lantern {
    position: absolute;
    right: 20%;
    top: 44px;
    width: 22px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 111, 74, 0.72);
    box-shadow: 0 0 28px rgba(255, 111, 74, 0.72);
}

.lantern::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -24px;
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.45);
}

.wall-glow {
    position: absolute;
    left: 24%;
    bottom: 28px;
    width: 52%;
    height: 2px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.55);
}

.bowl {
    position: absolute;
    left: 23%;
    right: 23%;
    bottom: 42px;
    height: 58px;
    border-radius: 10px 10px 56px 56px;
    background:
        radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.78) 0 8%, transparent 9%),
        rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: 0 0 34px rgba(15, 159, 122, 0.28), inset 0 0 22px rgba(255, 255, 255, 0.22);
}

.chopstick {
    position: absolute;
    top: 42px;
    right: 25%;
    width: 4px;
    height: 94px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    transform-origin: top center;
}

.chopstick-one {
    transform: rotate(54deg);
}

.chopstick-two {
    right: 30%;
    transform: rotate(48deg);
}

.droplet {
    position: absolute;
    width: 9px;
    height: 13px;
    border-radius: 999px 999px 999px 2px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.42);
    transform: rotate(45deg);
}

.droplet-one {
    left: 28%;
    top: 48px;
}

.droplet-two {
    left: 37%;
    top: 72px;
    width: 7px;
    height: 10px;
}

.canopy {
    position: absolute;
    left: 20%;
    top: 28px;
    width: 60%;
    height: 74px;
    border-radius: 52% 48% 46% 54%;
    background:
        radial-gradient(circle at 35% 34%, rgba(255, 255, 255, 0.34), transparent 18%),
        rgba(15, 159, 122, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.16), 0 0 34px rgba(15, 159, 122, 0.34);
}

.trunk {
    position: absolute;
    left: 48%;
    bottom: 48px;
    width: 18px;
    height: 74px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.42);
}

.root {
    position: absolute;
    bottom: 34px;
    height: 2px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.34);
}

.root-one {
    left: 30%;
    width: 34%;
    transform: rotate(-18deg);
}

.root-two {
    left: 45%;
    width: 34%;
    transform: rotate(18deg);
}

.root-three {
    left: 38%;
    bottom: 24px;
    width: 28%;
}

.city-card-copy {
    position: relative;
    z-index: 1;
    padding: 22px;
}

.spirit-name {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.city-card-copy h3 {
    margin: 0;
    color: #ffffff;
    font-family: "Noto Serif SC", "Noto Sans SC", sans-serif;
    font-size: 1.58rem;
    line-height: 1.28;
    font-weight: 900;
}

.city-card-copy p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.85;
}

@media (max-width: 980px) {
    .city-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .city-cards-section {
        padding: 20px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .city-card-grid {
        grid-template-columns: 1fr;
    }

    .city-card {
        min-height: auto;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
    color: var(--wall-gray);
    background: linear-gradient(125deg, #061a33, #063f34, #10233f, #052f29);
    background-size: 320% 320%;
    animation: gradientDrift 18s ease-in-out infinite;
    overflow-x: hidden;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

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

.banner {
    position: relative;
    min-height: 94vh;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: 96px 24px 120px;
    background: var(--wall-gray);
}

.banner-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(47, 52, 55, 0.76), rgba(47, 52, 55, 0.32) 54%, rgba(15, 159, 122, 0.18)),
        linear-gradient(180deg, rgba(47, 52, 55, 0.1), rgba(47, 52, 55, 0.52));
}

.hero-grid {
    position: relative;
    z-index: 1;
    width: min(1160px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: end;
    gap: 24px;
}

.glass-panel {
    border: 1px solid var(--white-line);
    background: var(--glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.hero-copy {
    max-width: 760px;
    padding: 38px;
    border-radius: 20px;
    color: #ffffff;
}

.eyebrow {
    display: inline-block;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.logo-mark {
    transform-origin: center;
    transition: color 0.2s ease, text-shadow 0.2s ease, transform 0.2s ease;
}

.logo-mark:hover {
    color: #ffffff;
    text-shadow: 0 0 18px rgba(15, 159, 122, 0.72);
    animation: logoPulse 0.42s ease-in-out;
}

@keyframes logoPulse {
    0% {
        transform: scale(1) rotate(0deg);
    }

    30% {
        transform: scale(1.055) rotate(-1.5deg);
    }

    65% {
        transform: scale(1.035) rotate(1.2deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

.hero-copy h1 {
    margin: 14px 0 0;
    font-size: 4rem;
    line-height: 1.08;
    font-weight: 900;
}

.banner-subtitle {
    margin: 18px 0 0;
    max-width: 42rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    line-height: 1.9;
}

.banner-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 8px;
    text-decoration: none;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: #ffffff;
    color: var(--wall-gray);
    box-shadow: 0 12px 30px rgba(15, 159, 122, 0.26);
}

.secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.46);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-2px);
}

.visitor-card {
    position: relative;
    min-height: 220px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 8px;
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.84), rgba(224, 242, 241, 0.54)),
        rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 0 0 1px rgba(15, 159, 122, 0.1),
        0 0 38px rgba(15, 159, 122, 0.38),
        0 22px 48px rgba(47, 52, 55, 0.18);
    overflow: hidden;
}

.visitor-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(15, 159, 122, 0.34), transparent 42%, rgba(255, 255, 255, 0.55));
    pointer-events: none;
}

.visitor-card > * {
    position: relative;
    z-index: 1;
}

.visitor-label,
.visitor-caption {
    display: block;
    color: var(--wall-gray-soft);
    font-size: 0.92rem;
    font-weight: 700;
}

#visitor-count {
    display: inline-block;
    min-width: 4ch;
    margin: 18px 0 12px;
    color: var(--banyan-green-deep);
    font-size: 3.6rem;
    line-height: 1;
    font-weight: 900;
    text-shadow: 0 0 24px rgba(15, 159, 122, 0.3);
    font-variant-numeric: tabular-nums;
}

#visitor-count.is-rolling {
    animation: countGlow 0.9s ease;
}

@keyframes countGlow {
    0% {
        transform: translateY(10px);
        opacity: 0.32;
        text-shadow: 0 0 4px rgba(15, 159, 122, 0.14);
    }

    48% {
        transform: translateY(-4px);
        opacity: 1;
        text-shadow: 0 0 34px rgba(15, 159, 122, 0.58);
    }

    100% {
        transform: translateY(0);
        opacity: 1;
        text-shadow: 0 0 24px rgba(15, 159, 122, 0.3);
    }
}

.page-shell {
    position: relative;
    z-index: 2;
    width: min(1160px, calc(100% - 32px));
    margin: -72px auto 0;
    padding-bottom: 64px;
}

.intro {
    margin-bottom: 24px;
    padding: 24px 28px;
    border-radius: 16px;
    background: var(--glass-strong);
}

.intro-text {
    margin: 0;
    color: var(--wall-gray-soft);
    font-size: 1.02rem;
    line-height: 1.9;
}

.search-bar {
    margin: 0 0 14px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 12px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.1)),
        rgba(7, 35, 34, 0.16);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 16px 36px rgba(0, 20, 24, 0.12);
}

.search-bar input {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 8px;
    outline: none;
    background: rgba(255, 255, 255, 0.76);
    color: var(--wall-gray);
    font: inherit;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.search-bar input::placeholder {
    color: rgba(79, 87, 87, 0.68);
}

.search-bar input:focus {
    border-color: rgba(15, 159, 122, 0.6);
    background: rgba(255, 255, 255, 0.92);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 0 0 4px rgba(15, 159, 122, 0.14),
        0 14px 28px rgba(15, 159, 122, 0.12);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 20px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 12px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08)),
        rgba(7, 35, 34, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 16px 36px rgba(0, 20, 24, 0.12);
}

.filter-button {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.88);
    font: inherit;
    font-size: 0.94rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.filter-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.28);
    box-shadow: 0 12px 26px rgba(15, 159, 122, 0.18);
}

.filter-button.is-active {
    background: #ffffff;
    color: var(--banyan-green-deep);
    border-color: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 30px rgba(15, 159, 122, 0.28);
}

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

.empty-state {
    grid-column: 1 / -1;
    margin: 0;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.82);
    text-align: center;
    font-weight: 800;
}

.guide-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 32px rgba(47, 52, 55, 0.12);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.guide-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(15, 159, 122, 0.48);
    box-shadow: var(--shadow-hover);
}

.card-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--mist);
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.guide-card:hover .card-media img {
    transform: scale(1.05);
}

.card-copy {
    padding: 20px;
}

.card-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 8px;
    background: rgba(15, 159, 122, 0.1);
    color: var(--banyan-green-deep);
    font-size: 0.82rem;
    font-weight: 700;
}

.card-copy h2 {
    margin: 12px 0 0;
    color: var(--wall-gray);
    font-size: 1.55rem;
    line-height: 1.25;
    font-weight: 900;
}

.card-kicker {
    margin: 8px 0 0;
    color: var(--banyan-green-deep);
    font-weight: 700;
}

.card-copy p {
    color: var(--wall-gray-soft);
    line-height: 1.85;
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.detail-button,
.favorite-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(15, 159, 122, 0.2);
    border-radius: 8px;
    background: rgba(15, 159, 122, 0.08);
    color: var(--wall-gray-soft);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.detail-button {
    background: rgba(255, 255, 255, 0.72);
    color: var(--banyan-green-deep);
}

.detail-button:hover,
.favorite-button:hover {
    transform: translateY(-2px);
    background: rgba(15, 159, 122, 0.14);
    color: var(--banyan-green-deep);
    box-shadow: 0 10px 22px rgba(15, 159, 122, 0.14);
}

.favorite-button.is-favorite {
    border-color: rgba(15, 159, 122, 0.42);
    background: rgba(15, 159, 122, 0.14);
    color: var(--banyan-green-deep);
    box-shadow: 0 10px 24px rgba(15, 159, 122, 0.18);
}

.detail-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 30;
    padding: 24px;
    overflow-y: auto;
}

.detail-modal.is-open {
    display: grid;
    place-items: center;
}

.detail-modal__overlay {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 24% 18%, rgba(15, 159, 122, 0.2), transparent 30%),
        rgba(4, 18, 24, 0.62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.detail-modal__panel {
    position: relative;
    z-index: 1;
    width: min(860px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(224, 242, 241, 0.72)),
        rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 30px 80px rgba(0, 20, 24, 0.34);
}

.detail-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--wall-gray);
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(47, 52, 55, 0.12);
}

.detail-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 0;
}

.detail-card__image {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    background: var(--mist);
}

.detail-card__content {
    padding: 34px;
}

.detail-card__content h2 {
    margin: 14px 0 0;
    color: var(--wall-gray);
    font-family: "Noto Serif SC", "Noto Sans SC", sans-serif;
    font-size: 2.3rem;
    line-height: 1.16;
    font-weight: 900;
}

.detail-card__description {
    margin-top: 16px;
    color: var(--wall-gray-soft);
    line-height: 1.9;
}

.detail-modal__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.detail-modal__item {
    min-height: 118px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.48);
    box-shadow: 0 12px 28px rgba(47, 52, 55, 0.1);
}

.detail-modal__item span {
    display: block;
    color: var(--banyan-green-deep);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.detail-modal__item p,
.detail-modal__empty {
    margin: 8px 0 0;
    color: var(--wall-gray-soft);
    line-height: 1.75;
}

.route-section {
    margin-top: 32px;
    padding: 34px;
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.1)),
        rgba(7, 35, 34, 0.18);
}

.route-heading {
    align-items: start;
}

.route-section .section-heading h2 {
    margin: 6px 0 0;
    color: #ffffff;
    font-family: "Noto Serif SC", "Noto Sans SC", sans-serif;
    font-size: 2.15rem;
    line-height: 1.15;
    font-weight: 900;
}

.route-section__intro {
    max-width: 360px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.8;
}

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

.route-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 14px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.78), rgba(224, 242, 241, 0.54)),
        rgba(255, 255, 255, 0.48);
    box-shadow: 0 18px 44px rgba(0, 20, 24, 0.16);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.route-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 8%, rgba(15, 159, 122, 0.16), transparent 32%);
    pointer-events: none;
}

.route-card > * {
    position: relative;
    z-index: 1;
}

.route-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.78);
    box-shadow: 0 24px 56px rgba(15, 159, 122, 0.2);
}

.route-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.route-theme,
.route-duration {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 800;
}

.route-theme {
    background: rgba(15, 159, 122, 0.12);
    color: var(--banyan-green-deep);
}

.route-duration {
    background: rgba(255, 255, 255, 0.62);
    color: var(--wall-gray-soft);
}

.route-card h3 {
    margin: 0;
    color: var(--wall-gray);
    font-family: "Noto Serif SC", "Noto Sans SC", sans-serif;
    font-size: 1.55rem;
    line-height: 1.28;
    font-weight: 900;
}

.route-subtitle {
    margin: 8px 0 0;
    color: var(--banyan-green-deep);
    font-weight: 800;
}

.route-stops {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 18px 0;
    padding: 14px;
    border: 1px solid rgba(15, 159, 122, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.46);
}

.route-stop {
    color: var(--wall-gray);
    font-weight: 900;
}

.route-arrow {
    color: var(--banyan-green);
    font-weight: 900;
}

.route-description {
    margin: 0;
    color: var(--wall-gray-soft);
    line-height: 1.82;
}

.route-tips {
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(15, 159, 122, 0.14);
    color: var(--wall-gray-soft);
    line-height: 1.75;
}

.route-tips strong {
    color: var(--banyan-green-deep);
}

.modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 20;
}

.modal.is-open {
    display: block;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(47, 52, 55, 0.48);
}

.modal-panel {
    position: relative;
    width: min(540px, calc(100% - 24px));
    margin: 12vh auto 0;
    padding: 28px 22px 24px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 22px 48px rgba(47, 52, 55, 0.22);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: rgba(15, 159, 122, 0.1);
    color: var(--wall-gray);
    font-size: 1.35rem;
    cursor: pointer;
}

.modal-label {
    margin: 0;
    color: var(--banyan-green-deep);
    font-size: 0.82rem;
    font-weight: 700;
}

.modal-panel h3 {
    margin: 10px 0 0;
    font-size: 1.6rem;
}

.modal-panel p:last-child {
    margin: 12px 0 0;
    color: var(--wall-gray-soft);
    line-height: 1.85;
}

@media (max-width: 980px) {
    .banner {
        padding-top: 72px;
    }

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

    .visitor-card {
        max-width: 360px;
    }

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

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

@media (max-width: 720px) {
    .banner {
        min-height: 92vh;
        padding: 56px 12px 92px;
    }

    .hero-copy {
        padding: 24px 18px;
        border-radius: 14px;
    }

    .hero-copy h1 {
        font-size: 2.45rem;
    }

    .banner-subtitle,
    .intro-text,
    .card-copy p {
        font-size: 0.96rem;
    }

    .banner-actions {
        flex-direction: column;
    }

    .filter-bar {
        align-items: stretch;
    }

    .search-bar {
        padding: 10px;
    }

    .filter-button {
        flex: 1 1 calc(50% - 10px);
    }

    .route-section {
        padding: 20px;
    }

    .route-heading {
        align-items: start;
        flex-direction: column;
    }

    .route-section__intro {
        max-width: none;
    }

    .detail-button,
    .favorite-button {
        width: 100%;
    }

    .detail-modal {
        padding: 12px;
    }

    .detail-modal.is-open {
        place-items: start center;
    }

    .detail-modal__panel {
        max-height: calc(100vh - 24px);
        border-radius: 14px;
    }

    .detail-card {
        grid-template-columns: 1fr;
    }

    .detail-card__image {
        min-height: 240px;
        max-height: 320px;
    }

    .detail-card__content {
        padding: 24px 18px;
    }

    .detail-card__content h2 {
        font-size: 1.9rem;
    }

    .detail-modal__grid {
        grid-template-columns: 1fr;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .page-shell {
        width: calc(100% - 20px);
        margin-top: -52px;
    }

    .visitor-card {
        min-height: 176px;
        padding: 20px;
    }

    #visitor-count {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    .banner {
        min-height: auto;
        padding: 80px 20px 118px;
    }

    .banner-image {
        object-position: center center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 22px;
    }

    .hero-copy {
        max-width: 760px;
        padding: 32px;
    }

    .hero-copy h1 {
        font-size: clamp(3rem, 7vw, 3.6rem);
    }

    .banner-subtitle {
        max-width: 38rem;
    }

    .visitor-card {
        width: min(100%, 360px);
        min-height: 190px;
    }

    .page-shell {
        width: min(960px, calc(100% - 28px));
        margin-top: -62px;
    }

    .card-grid,
    .route-grid,
    .city-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .route-section,
    .city-cards-section {
        padding: 28px;
    }

    .detail-modal__panel {
        width: min(860px, calc(100vw - 32px));
    }
}

@media (max-width: 768px) {
    .banner {
        min-height: 86vh;
        padding: 62px 14px 88px;
    }

    .banner-image {
        object-position: center top;
    }

    .hero-copy {
        padding: 24px 18px;
        border-radius: 14px;
    }

    .hero-copy h1 {
        font-size: clamp(2.35rem, 10vw, 3rem);
        line-height: 1.1;
    }

    .banner-subtitle {
        font-size: 0.98rem;
        line-height: 1.78;
    }

    .banner-actions {
        flex-direction: column;
        gap: 10px;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
        min-height: 48px;
    }

    .page-shell {
        width: calc(100% - 20px);
        margin-top: -48px;
        padding-bottom: 44px;
    }

    .intro,
    .route-section,
    .city-cards-section {
        padding: 20px;
        border-radius: 14px;
    }

    .section-heading,
    .route-heading {
        align-items: start;
        flex-direction: column;
        gap: 10px;
    }

    .section-heading h2,
    .route-section .section-heading h2 {
        font-size: 1.85rem;
    }

    .route-section__intro {
        max-width: none;
    }

    .card-grid,
    .route-grid,
    .city-card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card-media {
        aspect-ratio: 16 / 11;
    }

    .card-copy,
    .city-card-copy,
    .route-card {
        padding: 18px;
    }

    .filter-bar,
    .search-bar {
        padding: 10px;
        gap: 8px;
    }

    .search-bar input {
        min-height: 50px;
        font-size: 1rem;
    }

    .filter-button {
        flex: 1 1 calc(50% - 8px);
        min-height: 44px;
        padding: 0 12px;
        font-size: 0.9rem;
    }

    .card-actions {
        gap: 8px;
    }

    .detail-button,
    .favorite-button {
        flex: 1 1 100%;
        min-height: 44px;
        width: 100%;
    }

    .detail-modal {
        padding: 12px;
    }

    .detail-modal.is-open {
        place-items: start center;
    }

    .detail-modal__panel {
        width: min(100%, calc(100vw - 24px));
        max-height: calc(100dvh - 24px);
        border-radius: 14px;
    }

    .detail-modal__close {
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
    }

    .detail-card {
        grid-template-columns: 1fr;
    }

    .detail-card__image {
        min-height: 220px;
        max-height: 300px;
    }

    .detail-card__content {
        padding: 24px 18px;
    }

    .detail-card__content h2 {
        font-size: 1.85rem;
    }

    .detail-modal__grid {
        grid-template-columns: 1fr;
    }

    .route-stops {
        align-items: flex-start;
        gap: 7px;
        line-height: 1.7;
    }

    .identity-image-wrap {
        height: 190px;
    }

    .city-card {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .banner {
        padding: 48px 10px 76px;
    }

    .hero-copy {
        padding: 20px 16px;
    }

    .hero-copy h1 {
        font-size: clamp(2rem, 12vw, 2.45rem);
    }

    .eyebrow {
        font-size: 0.72rem;
        letter-spacing: 0.12em;
    }

    .banner-subtitle,
    .intro-text,
    .card-copy p,
    .route-description,
    .route-tips,
    .city-card-copy p {
        font-size: 0.94rem;
        line-height: 1.72;
    }

    .visitor-card {
        min-height: 160px;
        padding: 18px;
    }

    #visitor-count {
        font-size: 2.65rem;
    }

    .page-shell {
        width: calc(100% - 14px);
        margin-top: -40px;
    }

    .intro,
    .search-bar,
    .filter-bar,
    .route-section,
    .city-cards-section {
        border-radius: 12px;
    }

    .filter-button {
        flex-basis: 100%;
    }

    .card-copy,
    .city-card-copy,
    .route-card {
        padding: 16px;
    }

    .card-copy h2,
    .route-card h3,
    .city-card-copy h3 {
        font-size: 1.35rem;
    }

    .card-media {
        aspect-ratio: 4 / 3;
    }

    .route-stops {
        flex-direction: column;
        align-items: stretch;
    }

    .route-arrow {
        transform: rotate(90deg);
        width: 1.5rem;
        text-align: center;
    }

    .detail-modal {
        padding: 8px;
    }

    .detail-modal__panel {
        width: calc(100vw - 16px);
        max-height: calc(100dvh - 16px);
    }

    .detail-card__image {
        min-height: 180px;
        max-height: 240px;
    }

    .detail-card__content {
        padding: 22px 16px;
    }

    .detail-modal__item {
        min-height: auto;
        padding: 14px;
    }

    .identity-image-wrap {
        height: 170px;
        margin: 14px 14px 0;
    }
}
