:root {
    --bg: #f7f5f1;
    --paper: #fff;
    --cream: #fbf6ec;
    --ink: #2e2a22;
    --muted: #8a8477;
    --line: rgba(46, 42, 34, .1);
    --gold: #a97a45;
    --gold-2: #b8823d;
    --blue: #6e8299;
    --blue-soft: #eaf0f2;
    --sand: #f1e7d5;
    --green: #7a8a6e;
    --danger: #b5745a;
    --shadow: 0 12px 34px rgba(0, 0, 0, .08);
    --radius: 16px;
    --font-head: "Baloo 2", sans-serif;
    --font-body: "Be Vietnam Pro", sans-serif;
    --font-hand: "Caveat", cursive;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
}

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

button,
input,
select {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

main {
    min-height: calc(100vh - 240px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 64px;
    padding: 0 24px;
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.brand,
.site-nav {
    display: flex;
    align-items: center;
}

.brand {
    gap: 9px;
    font-family: var(--font-head);
    font-weight: 800;
}

.brand-mark {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 9px;
    background: var(--gold);
    color: #fff;
}

.brand-name {
    font-size: 19px;
}

.brand-name span,
.footer-logo span,
.hero h1 span {
    color: var(--gold-2);
}

.site-nav {
    gap: 22px;
    font-size: 13px;
    font-weight: 600;
    color: #5b5548;
}

.site-nav a {
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}

.site-nav a.active {
    color: var(--ink);
    border-bottom-color: var(--gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
}

.nav-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    background: var(--ink);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    padding: 78px 24px 58px;
    background:
        linear-gradient(rgba(247, 245, 241, .9), rgba(247, 245, 241, .96)),
        repeating-linear-gradient(0deg, #dcd7cc 0 1px, transparent 1px 28px),
        repeating-linear-gradient(90deg, #dcd7cc 0 1px, transparent 1px 28px);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.eyebrow,
.handwritten {
    font-family: var(--font-hand);
    font-weight: 700;
    color: var(--blue);
}

.eyebrow {
    margin: 0 0 8px;
    font-size: 22px;
}

.hero h1,
.landing-hero h1 {
    margin: 0;
    font-family: var(--font-head);
    font-size: clamp(42px, 7vw, 74px);
    line-height: .98;
}

.hero p:not(.eyebrow),
.landing-hero p,
.section-head p,
.page-intro p {
    color: var(--muted);
    line-height: 1.7;
}

.hero p:not(.eyebrow) {
    max-width: 620px;
    margin: 18px auto 24px;
}

.hero-search,
.listing-search {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 640px;
    margin: 0 auto;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .06);
}

.hero-search input,
.listing-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--ink);
}

.hero-search button {
    padding: 9px 16px;
    border-radius: 10px;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
}

.quick-filters,
.hero-actions,
.tag-row,
.chip-cloud,
.card-actions,
.footer-social,
.time-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-filters {
    justify-content: center;
    margin-top: 14px;
}

.quick-filters a,
.food-cloud a,
.chip-cloud button,
.chip-cloud a,
.time-row button {
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: #5b5548;
    font-size: 12px;
    font-weight: 700;
}

.quick-filters .active,
.food-cloud .active,
.chip-cloud .active,
.time-row .active {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.hero-actions {
    justify-content: center;
    margin-top: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
}

.btn-dark {
    background: var(--ink);
    color: #fff;
}

.btn-gold {
    background: var(--gold);
    color: #fff;
}

.btn-light {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
}

.btn-outline {
    border: 1.5px solid var(--ink);
    background: transparent;
    color: var(--ink);
}

.btn-icon {
    width: 42px;
    padding-inline: 0;
    background: #f5f2ec;
}

.hero-map-grid .pin,
.mini-map span {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50% 50% 50% 0;
    background: var(--gold);
    transform: rotate(-45deg);
    box-shadow: 0 0 0 7px rgba(169, 122, 69, .15);
}

.pin-one {
    left: 18%;
    top: 28%;
}

.pin-two {
    right: 18%;
    top: 32%;
    background: var(--blue) !important;
}

.pin-three {
    left: 58%;
    bottom: 20%;
}

.section,
.page-intro,
.breadcrumb,
.landing-hero {
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 24px;
}

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

.section-head h2,
.page-intro h1,
.note-card h2,
.related-video h2 {
    margin: 0;
    font-family: var(--font-head);
    font-size: 28px;
    line-height: 1.1;
}

.section-head p,
.page-intro p {
    margin: 4px 0 0;
}

.section-head a {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
}

.featured-grid,
.places-grid,
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.place-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(46, 42, 34, .06);
    border-radius: var(--radius);
    box-shadow: 0 3px 12px rgba(0, 0, 0, .04);
}

.tilt-left {
    transform: rotate(-1deg);
}

.tilt-right {
    transform: rotate(1deg);
}

.place-photo {
    position: relative;
    display: grid;
    min-height: 166px;
    place-items: center;
    text-align: center;
    font: 700 11px ui-monospace, Menlo, monospace;
    color: #a8916b;
}

.ph {
    display: grid;
    place-items: center;
    text-align: center;
    font: 700 11px ui-monospace, Menlo, monospace;
}

.ph-warm {
    background: repeating-linear-gradient(45deg, #e7dbc5, #e7dbc5 10px, #f1e7d5 10px, #f1e7d5 20px);
    color: #a8916b;
}

.ph-cool {
    background: repeating-linear-gradient(45deg, #dce3e8, #dce3e8 10px, #eaeff2 10px, #eaeff2 20px);
    color: var(--blue);
}

.ph-sand {
    background: repeating-linear-gradient(45deg, #e9dfc9, #e9dfc9 10px, #f3eada 10px, #f3eada 20px);
    color: #a8916b;
}

.ph-muted {
    background: repeating-linear-gradient(45deg, #f0ede6, #f0ede6 10px, #f7f5f1 10px, #f7f5f1 20px);
    color: #b4ab9a;
}

.place-badge {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 5px 10px;
    border-radius: 10px;
    color: #fff;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    white-space: nowrap;
}

.place-photo .place-badge {
    position: absolute;
    top: 10px;
    left: 10px;
}

.badge-blue {
    background: var(--blue);
}

.badge-gold,
.badge-copper {
    background: var(--gold-2);
}

.badge-green {
    background: var(--green);
}

.video-dot {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    font-size: 12px;
}

.place-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
}

.place-body h3 {
    margin: 0;
    font: 800 18px/1.1 var(--font-head);
}

.place-meta,
.place-summary,
.muted {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.open-line {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #5b5548;
    font-size: 12px;
    font-weight: 600;
}

.open-line span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.is-open span,
.map-place-card .is-open::before {
    background: #6e9c6e;
}

.is-closed span,
.map-place-card .is-closed::before {
    background: var(--danger);
}

.tag {
    padding: 4px 9px;
    border-radius: 8px;
    background: var(--blue-soft);
    color: #4d7086;
    font-size: 10.5px;
    font-weight: 700;
}

.tag-food {
    background: var(--sand);
    color: #8a6a35;
}

.card-actions {
    margin-top: auto;
    padding-top: 6px;
}

.card-actions .btn-dark {
    flex: 1;
}

.split-section {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 26px;
}

.section-head.compact {
    margin-bottom: 12px;
}

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

.province-card {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 16px;
    border-radius: 14px;
}

.province-card strong {
    font: 800 17px var(--font-head);
}

.province-card span {
    font-size: 12px;
    font-weight: 700;
}

.tone-warm {
    background: var(--sand);
    color: #8a6a35;
}

.tone-cool {
    background: var(--blue-soft);
    color: #4d7086;
}

.food-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.memory-row,
.video-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 4px 18px;
}

.memory-card {
    flex: 0 0 180px;
    padding: 10px 10px 18px;
    background: #fff;
    box-shadow: 0 9px 24px rgba(0, 0, 0, .1);
}

.memory-card > span {
    height: 130px;
}

.memory-card strong,
.memory-card em {
    display: block;
}

.memory-card strong {
    margin-top: 9px;
    font: 800 15px var(--font-head);
}

.memory-card em {
    color: var(--gold);
    font-family: var(--font-hand);
    font-size: 17px;
}

.rotate-1 {
    transform: rotate(-3deg);
}

.rotate-2 {
    transform: rotate(2deg);
}

.rotate-3 {
    transform: rotate(-1deg);
}

.video-card {
    flex: 0 0 260px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border-radius: 15px;
    background: #fff;
}

.video-card span,
.video-link span {
    width: max-content;
    padding: 5px 9px;
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 20px;
    padding: 30px 24px;
    background: var(--ink);
    color: rgba(255, 255, 255, .68);
}

.site-footer > div {
    max-width: 520px;
}

.footer-logo {
    color: #fff;
    font: 800 22px var(--font-head);
}

.footer-social a {
    padding: 7px 11px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 12px;
}

.page-intro {
    padding-bottom: 0;
}

.page-intro h1,
.landing-hero h1 {
    font-size: 38px;
}

.listing-search {
    max-width: none;
    margin: 16px 0 14px;
}

.listing-search.compact {
    margin: 0;
    box-shadow: none;
    background: #f5f2ec;
}

.mobile-filter-btn {
    display: none;
    padding: 8px 12px;
    border-radius: 9px;
    background: var(--ink);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.listing-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.quick-filters.small {
    justify-content: flex-start;
    margin: 0;
}

.listing-toolbar label {
    color: var(--muted);
    font-size: 12px;
}

.listing-toolbar select,
.map-filter select {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
}

.listing-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 24px 70px;
}

.filter-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 18px;
    border-radius: var(--radius);
    background: #fff;
}

.filter-card section {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.filter-card h3 {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.check-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 9px 0;
    font-size: 13px;
}

.check-row span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-row i {
    width: 16px;
    height: 16px;
    border: 1.5px solid rgba(46, 42, 34, .25);
    border-radius: 5px;
}

.check-row em {
    color: #b4ab9a;
    font-size: 12px;
    font-style: normal;
}

.chip-cloud.soft button {
    background: #f5f2ec;
    font-weight: 600;
}

.filter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mobile-filter-head,
.drawer-scrim {
    display: none;
}

.state-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.state-switch span {
    color: #b4ab9a;
    font-size: 12px;
}

.state-switch button {
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    color: #5b5548;
    font-size: 12px;
    font-weight: 800;
}

.state-switch button.active {
    background: var(--ink);
    color: #fff;
}

.empty-state {
    max-width: 480px;
    margin: 28px auto;
    padding: 34px;
    text-align: center;
    border-radius: var(--radius);
    background: #fff;
}

.empty-state strong {
    display: block;
    font: 800 24px var(--font-head);
}

.empty-state p {
    color: var(--muted);
}

.empty-state.standalone {
    margin-top: 80px;
}

.load-more {
    margin-top: 26px;
    text-align: center;
}

.skeleton-card {
    min-height: 310px;
    padding: 14px;
    gap: 14px;
}

.skeleton-card span,
.skeleton-card b,
.skeleton-card p {
    display: block;
    border-radius: 12px;
    background: linear-gradient(90deg, #eee8dc 25%, #f8f3ea 37%, #eee8dc 63%);
    background-size: 400% 100%;
    animation: qlm-shine 1.4s ease infinite;
}

.skeleton-card span {
    height: 150px;
}

.skeleton-card b {
    width: 70%;
    height: 20px;
}

.skeleton-card p {
    width: 90%;
    height: 14px;
}

@keyframes qlm-shine {
    from {
        background-position: 100% 50%;
    }
    to {
        background-position: 0 50%;
    }
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

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

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 26px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px 40px;
}

.gallery-main {
    height: 350px;
    border-radius: 18px;
    font-size: 13px;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.gallery-thumbs span {
    height: 76px;
    border-radius: 11px;
}

.detail-title {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 22px;
}

.detail-title h1 {
    margin: 0 0 10px;
    font: 800 34px var(--font-head);
}

.info-grid,
.detail-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.info-grid {
    margin-top: 18px;
    padding: 17px 18px;
    border-radius: 15px;
    background: #fff;
}

.info-grid b {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.info-grid span {
    font-size: 13px;
    line-height: 1.6;
}

.note-card {
    margin-top: 18px;
    padding: 20px;
    border-radius: 15px;
    background: #fff;
}

.note-card p,
.note-card li {
    color: #5b5548;
    font-size: 13.5px;
    line-height: 1.75;
}

.note-card ul {
    margin: 0;
    padding-left: 18px;
}

.note-card em {
    display: block;
    margin-top: 10px;
    font-size: 18px;
}

.related-video {
    margin-top: 24px;
}

.video-link {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 13px;
    background: #fff;
}

.video-link small {
    color: var(--gold);
    font-weight: 800;
}

.detail-side {
    position: sticky;
    top: 86px;
    height: max-content;
}

.side-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border-radius: 15px;
    background: #fff;
}

.mini-map {
    position: relative;
    height: 190px;
    margin-top: 16px;
    overflow: hidden;
    border-radius: 15px;
    background:
        linear-gradient(rgba(247, 245, 241, .55), rgba(247, 245, 241, .7)),
        repeating-linear-gradient(0deg, #dcd7cc 0 1px, transparent 1px 22px),
        repeating-linear-gradient(90deg, #dcd7cc 0 1px, transparent 1px 22px);
}

.mini-map span {
    top: 50%;
    left: 50%;
}

.mini-map small {
    position: absolute;
    bottom: 9px;
    left: 10px;
    padding: 4px 7px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .8);
    color: var(--muted);
    font: 700 10px ui-monospace, Menlo, monospace;
}

.place-card-compact {
    display: grid;
    grid-template-columns: 118px 1fr;
}

.place-card-compact .place-photo {
    min-height: 100%;
}

.place-card-compact .place-summary,
.place-card-compact .video-dot {
    display: none;
}

.landing-hero {
    padding-top: 58px;
    padding-bottom: 20px;
}

.map-page {
    display: flex;
    height: calc(100vh - 64px);
    min-height: 560px;
}

.page-map .site-header {
    height: 60px;
}

.map-list {
    z-index: 8;
    display: flex;
    flex: 0 0 380px;
    flex-direction: column;
    background: #fff;
    border-right: 1px solid var(--line);
}

.sheet-handle {
    display: none;
}

.map-filter {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 15px 16px 8px;
}

.map-filter select {
    width: max-content;
    background: #f5f2ec;
}

.time-row {
    align-items: center;
}

.time-row b {
    color: #b4ab9a;
    font-size: 11px;
}

.time-row button {
    padding: 5px 10px;
    font-size: 10.5px;
}

.map-count {
    margin: 0;
    padding: 6px 16px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.map-card-list {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding: 8px 12px 16px;
}

.map-place-card {
    display: flex;
    gap: 10px;
    width: 100%;
    padding: 10px;
    text-align: left;
    border: 1.5px solid transparent;
    border-radius: 13px;
    background: #f9f7f3;
}

.map-place-card.active {
    border-color: var(--gold);
    background: #fbf3e7;
}

.map-thumb {
    display: grid;
    flex: 0 0 60px;
    height: 60px;
    place-items: center;
    border-radius: 10px;
    background: var(--sand);
    font-size: 20px;
}

.map-place-card strong,
.map-place-card small,
.map-place-card em,
.map-place-card i {
    display: block;
}

.map-place-card strong {
    font: 800 15px var(--font-head);
}

.map-place-card small {
    color: var(--muted);
    font-size: 11px;
}

.map-place-card em {
    position: relative;
    margin: 5px 0;
    padding-left: 12px;
    color: #5b5548;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
}

.map-place-card em::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.map-place-card i {
    width: max-content;
    padding: 3px 8px;
    border-radius: 7px;
    background: var(--sand);
    color: #8a6a35;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
}

.mock-map {
    position: relative;
    flex: 1;
    overflow: hidden;
}

.map-grid-bg {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, #dcd7cc 0 1px, transparent 1px 30px),
        repeating-linear-gradient(90deg, #dcd7cc 0 1px, transparent 1px 30px),
        #edeae3;
}

.land,
.river,
.road {
    position: absolute;
}

.land {
    background: #dce6d6;
    opacity: .8;
}

.land-one {
    left: 6%;
    top: 8%;
    width: 22%;
    height: 26%;
    border-radius: 40% 60% 55% 45%;
}

.land-two {
    right: 8%;
    bottom: 10%;
    width: 26%;
    height: 20%;
    border-radius: 50% 40% 60% 45%;
}

.river {
    left: 0;
    top: 60%;
    width: 100%;
    height: 26px;
    transform: rotate(-4deg);
    background: #cbdce3;
    opacity: .85;
}

.road {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

.road-one {
    left: 0;
    top: 18%;
    width: 100%;
    height: 10px;
}

.road-two {
    left: 0;
    top: 63%;
    width: 100%;
    height: 9px;
    transform: rotate(2deg);
}

.road-three {
    left: 34%;
    top: 0;
    width: 9px;
    height: 100%;
    transform: rotate(6deg);
}

.map-marker {
    position: absolute;
    z-index: 4;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50% 50% 50% 0;
    background: var(--ink);
    color: #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .25);
    transform: translate(-50%, -100%) rotate(-45deg);
    transition: transform .15s, background .15s;
}

.map-marker::first-letter {
    transform: rotate(45deg);
}

.map-marker.active {
    z-index: 9;
    background: var(--gold);
    transform: translate(-50%, -100%) rotate(-45deg) scale(1.16);
}

.map-popup {
    position: absolute;
    z-index: 12;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 10px;
    width: 260px;
    padding: 14px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    transform: translate(-50%, calc(-100% - 46px));
}

.map-popup > button {
    position: absolute;
    top: 8px;
    right: 9px;
    background: transparent;
    color: #b4ab9a;
    font-weight: 800;
}

.map-popup .ph {
    width: 64px;
    height: 64px;
    border-radius: 9px;
}

.map-popup strong,
.map-popup small,
.map-popup span {
    display: block;
}

.map-popup small {
    margin: 2px 0 6px;
    color: var(--muted);
    font-size: 11px;
}

.map-popup span {
    width: max-content;
    padding: 3px 8px;
    border-radius: 7px;
    background: var(--sand);
    color: #8a6a35;
    font-size: 10px;
    font-weight: 700;
}

.map-popup a {
    grid-column: 1 / -1;
    padding: 9px;
    text-align: center;
    border-radius: 9px;
    background: var(--ink);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.map-controls {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.map-controls button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .12);
}

.open-google {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 10;
    padding: 11px 16px;
    border-radius: 12px;
    background: var(--gold);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .15);
}

.admin-shell {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
    background: var(--bg);
}

.admin-sidebar {
    padding: 22px;
    background: var(--ink);
    color: #fff;
}

.admin-sidebar nav {
    display: grid;
    gap: 8px;
    margin-top: 24px;
}

.admin-sidebar a {
    padding: 10px 12px;
    border-radius: 10px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    font-weight: 700;
}

.admin-sidebar a.active {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.admin-main {
    padding: 24px;
}

.admin-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.stat-card,
.admin-panel {
    padding: 18px;
    border-radius: 16px;
    background: #fff;
}

.stat-card strong {
    display: block;
    font: 800 30px var(--font-head);
}

.admin-panel {
    margin-top: 18px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.admin-form-grid label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.admin-form-grid input,
.admin-form-grid textarea,
.admin-form-grid select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}

.admin-form-grid .full {
    grid-column: 1 / -1;
}

.admin-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-actions form {
    display: inline;
}

.admin-actions button,
.tag-picker button,
.json-import-box button {
    border: 0;
    cursor: pointer;
}

.tag-picker {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag-picker button {
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    font-weight: 700;
}

.json-import-box {
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
}

.json-import-box textarea {
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.rating-list,
.menu-list {
    display: grid;
    gap: 10px;
}

.rating-list div,
.menu-list div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 12px;
    border-radius: 12px;
    background: var(--paper);
}

.rating-list small,
.menu-list small,
.menu-list em {
    grid-column: 1 / -1;
    color: var(--muted);
}

.login-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
    background: var(--bg);
}

.login-card {
    width: min(420px, 100%);
    padding: 28px;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
}

.form-error {
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff0ec;
    color: #9f4d35;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 960px) {
    .site-nav {
        position: fixed;
        inset: 64px 12px auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border-radius: 16px;
        background: #fff;
        box-shadow: var(--shadow);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        padding: 12px;
    }

    .nav-toggle {
        display: flex;
    }

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

    .listing-layout,
    .detail-layout,
    .split-section {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: fixed;
        inset: auto 0 0;
        z-index: 70;
        max-height: 82vh;
        overflow: auto;
        padding: 0 14px 14px;
        border-radius: 22px 22px 0 0;
        background: #fff;
        box-shadow: 0 -8px 32px rgba(0, 0, 0, .18);
        transform: translateY(110%);
        transition: transform .25s;
    }

    .filter-sidebar.open {
        transform: translateY(0);
    }

    .mobile-filter-head {
        position: sticky;
        top: 0;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 4px 8px;
        background: #fff;
    }

    .mobile-filter-head button {
        background: transparent;
        color: var(--muted);
        font-weight: 800;
    }

    .drawer-scrim {
        position: fixed;
        inset: 0;
        z-index: 60;
        background: rgba(20, 18, 14, .35);
        opacity: 0;
        pointer-events: none;
        transition: opacity .25s;
    }

    .drawer-scrim.open {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-filter-btn {
        display: inline-flex;
    }

    .detail-side {
        position: static;
    }

    .map-page {
        position: relative;
    }

    .map-list {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 20;
        max-height: 36%;
        flex-basis: auto;
        width: auto;
        border-radius: 22px 22px 0 0;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, .18);
        transition: max-height .25s;
    }

    .map-list.expanded {
        max-height: 78%;
    }

    .sheet-handle {
        display: flex;
        justify-content: center;
        padding: 9px 0 2px;
        background: transparent;
    }

    .sheet-handle span {
        width: 40px;
        height: 4px;
        border-radius: 999px;
        background: rgba(46, 42, 34, .2);
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
    }
}

@media (max-width: 680px) {
    .site-header {
        padding-inline: 16px;
    }

    .brand-name {
        font-size: 17px;
    }

    .hero {
        min-height: auto;
        padding: 50px 16px 40px;
    }

    .hero-content {
        text-align: left;
    }

    .hero-search,
    .quick-filters,
    .hero-actions {
        justify-content: flex-start;
    }

    .hero-search button {
        display: none;
    }

    .section,
    .page-intro,
    .breadcrumb,
    .landing-hero {
        padding-inline: 16px;
    }

    .section-head,
    .detail-title,
    .site-footer,
    .admin-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .featured-grid,
    .places-grid,
    .related-grid,
    .province-grid,
    .info-grid,
    .detail-two-col,
    .stat-grid,
    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .listing-layout,
    .detail-layout {
        padding-inline: 16px;
    }

    .state-switch {
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .gallery-main {
        height: 240px;
    }

    .gallery-thumbs {
        grid-template-columns: repeat(4, 90px);
        overflow-x: auto;
    }

    .video-link {
        grid-template-columns: 1fr;
    }

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

    .map-popup {
        width: 230px;
    }
}
