:root {
  color-scheme: light;
  --paper: #f7f6ed;
  --ink: #17172f;
  --muted: #697975;
  --green: #087c68;
  --lime: #c9f96a;
  --orange: #ff5b50;
  --line: #ded8ce;
  --sky: #bdefff;
  --pink: #ffcbda;
  --yellow: #ffc933;
  --display: "Baloo 2", "Nunito Sans", sans-serif;
  --body: "Nunito Sans", "Be Vietnam Pro", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 15px; -webkit-font-smoothing: antialiased; background-image: radial-gradient(#28463a0b .65px, transparent .65px); background-size: 7px 7px; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.topbar { position: sticky; z-index: 4; top: 0; height: 72px; padding: 0 7.15%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #dfe1d4; background: #f7f6edeb; backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 700 20px var(--display); letter-spacing: -1.2px; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 11px 50% 50% 50%; color: var(--paper); background: var(--orange); font: 700 18px var(--body); transform: rotate(12deg); }
.brand-dot { color: var(--orange); }
.main-nav { display: flex; gap: 38px; margin-left: 35px; }
.nav-link { font-size: 13px; color: #777d73; transition: color .2s; }
.nav-link:hover, .nav-link.active { color: var(--ink); }
.music-toggle { min-height: 36px; margin-left: auto; padding: 0 11px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #dfe1d4; border-radius: 999px; background: #fffef9; color: var(--green); font-size: 11px; font-weight: 700; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.music-toggle[hidden] { display: none; }
.music-toggle:hover { border-color: var(--green); transform: translateY(-1px); }
.music-toggle[aria-pressed="true"] { border-color: #b7d3b8; background: #eaf5e9; }
.music-toggle-icon { font-size: 16px; line-height: 1; }
.music-toggle[aria-pressed="true"] .music-toggle-icon { animation: music-note-bob .7s ease-in-out infinite alternate; }
@keyframes music-note-bob { to { transform: translateY(-2px) rotate(8deg); } }
@media (prefers-reduced-motion: reduce) { .music-toggle[aria-pressed="true"] .music-toggle-icon { animation: none; } }
.saved-nav { display: flex; align-items: center; gap: 9px; padding: 10px 0 10px 14px; background: none; border: 0; font-size: 13px; cursor: pointer; }
.saved-nav > span:first-child { font-size: 20px; color: var(--green); }
.saved-count { display: grid; place-items: center; height: 20px; min-width: 20px; padding: 0 5px; background: var(--yellow); border-radius: 20px; font-size: 11px; }

.hero { position: relative; min-height: 570px; padding: 79px 10.1% 64px; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 5%; overflow: hidden; background: radial-gradient(ellipse at 86% 16%, rgba(189, 239, 255, 0.75) 0, transparent 26%), radial-gradient(ellipse at 12% 84%, rgba(255, 203, 218, 0.7) 0, transparent 22%), linear-gradient(180deg, #f7f6ed 0%, #f5f2ea 100%); }
.hero-copy { position: relative; z-index: 1; padding-bottom: 12px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 800; letter-spacing: 1.4px; color: var(--green); }
.eyebrow-line { display: inline-block; width: 22px; height: 3px; border-radius: 4px; background: var(--orange); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 24px 0 17px; font: 800 clamp(60px, 7vw, 91px)/1.02 var(--display); letter-spacing: -4px; }
.hero h1 span, .section-heading h2 span, .about-section h2 span { color: var(--orange); }
.hero-intro { max-width: 365px; color: #73796e; font-size: 14px; line-height: 1.8; }
.hero-cta { margin-top: 18px; display: inline-flex; align-items: center; gap: 28px; padding: 14px 18px; background: var(--green); border-radius: 999px; color: white; font-size: 12px; font-weight: 700; box-shadow: 0 8px 20px rgba(23, 107, 82, 0.28); transition: background .2s, transform .2s; }
.hero-cta:hover { background: #254632; transform: translateY(-2px); }
.hero-cta span { color: var(--lime); font-size: 18px; }
.hero-footnote { margin-top: 47px; display: flex; align-items: center; gap: 8px; color: #898e83; font-size: 10px; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #89a95b; box-shadow: 0 0 0 4px rgba(137, 169, 91, 0.13); }
.hero-image { position: relative; width: min(100%, 640px); height: 460px; margin-inline: auto; overflow: hidden; background: linear-gradient(135deg, rgba(22, 25, 20, 0.18), rgba(22, 25, 20, 0.35)); border: 7px solid rgba(255, 255, 255, 0.76); border-radius: 34px 34px 26px 26px / 28px 28px 18px 18px; box-shadow: 0 20px 48px rgba(18, 30, 30, 0.22), 0 0 0 10px rgba(255, 140, 88, 0.09); transform: rotate(1.2deg); }
.hero-image > img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(1.15) contrast(1.08) brightness(0.96); transition: opacity .25s ease, transform .35s ease; transform: scale(1.05); }
.hero-image:hover > img { transform: scale(1.08); }
.hero-image > img.is-loading { opacity: .7; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 22, 26, 0.06) 0%, rgba(10, 15, 17, 0.08) 30%, rgba(8, 12, 17, 0.72) 100%); pointer-events: none; }
.image-sticker { position: absolute; top: 22px; right: 22px; width: 88px; height: 88px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg, #f9de75 0%, #ffc933 100%); border: 3px solid rgba(255,255,255,.8); border-radius: 50%; color: var(--ink); font: 800 12px/1.05 var(--display); text-align: center; transform: rotate(10deg); box-shadow: 0 12px 24px rgba(22, 23, 26, 0.18); }
.sticker-arrow { margin-top: 3px; font-size: 16px; }
.hero-slide-heading { position: absolute; z-index: 1; right: 30px; bottom: 116px; left: 30px; color: white; }
.hero-slide-heading > span { display: inline-block; margin-bottom: 8px; color: #e2f87c; font-size: 9px; font-weight: 800; letter-spacing: 1.2px; }
.hero-slide-heading h2 { margin: 0; font: 800 clamp(29px, 3vw, 42px)/1.08 var(--display); letter-spacing: -.8px; text-shadow: 0 2px 18px rgba(0,0,0,.4); }
.hero-slide-heading p { margin: 5px 0 0; font-size: 12px; text-shadow: 0 2px 8px rgba(0,0,0,.36); }
.hero-slide-heading #hero-slide-description { max-width: 440px; display: -webkit-box; overflow: hidden; margin-top: 6px; font-size: 10px; line-height: 1.5; color: rgba(255,255,255,.9); text-shadow: 0 1px 7px rgba(0,0,0,.32); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.hero-slide-controls { position: absolute; z-index: 2; right: 22px; bottom: 30px; left: 24px; display: flex; align-items: end; justify-content: space-between; gap: 14px; padding: 10px 12px 10px 14px; border-radius: 18px; background: rgba(7, 16, 17, 0.18); backdrop-filter: blur(10px); }
.hero-slide-arrows { display: flex; gap: 7px; }
.hero-slide-arrows button, .hero-play-toggle { width: 35px; height: 35px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: rgba(10,19,20,.4); color: white; font-size: 16px; cursor: pointer; backdrop-filter: blur(7px); transition: background .2s, transform .2s; }
.hero-slide-arrows button:hover, .hero-play-toggle:hover { background: var(--green); transform: scale(1.06); }
.hero-slide-status { min-width: 0; flex: 1; }
.hero-progress-row { display: flex; align-items: center; gap: 10px; }
.hero-index { color: white; font: 11px var(--display); white-space: nowrap; text-shadow: 0 1px 5px rgba(0,0,0,.3); }
.hero-index strong { color: var(--lime); font-size: 14px; }
.hero-index span { color: rgba(255,255,255,.8); }
.hero-progress { height: 4px; flex: 1; overflow: hidden; border-radius: 5px; background: rgba(255,255,255,.4); }
.hero-progress > span { width: 2.94%; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, #d8f05d, #d7f9d1); transition: width .3s ease; }
.hero-play-toggle { width: 29px; height: 29px; flex: 0 0 29px; font-size: 11px; }
.photo-caption { position: absolute; right: 15px; bottom: 13px; left: 15px; display: flex; justify-content: space-between; gap: 8px; color: white; font-size: 9px; letter-spacing: .2px; }
.photo-caption a { color: white; text-decoration: underline; text-underline-offset: 2px; }
.hero-photo-credit { position: absolute; z-index: 2; right: 20px; bottom: 13px; max-width: 72%; overflow: hidden; padding: 6px 10px; border-radius: 999px; background: rgba(0,0,0,.24); color: rgba(255,255,255,.9); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 5px rgba(0,0,0,.28); text-decoration: underline; text-underline-offset: 2px; backdrop-filter: blur(8px); }
.hero-photo-credit:hover { color: white; }
.hero-vertical { position: absolute; left: 2.4%; bottom: 95px; color: #a2a79c; font-size: 9px; letter-spacing: 2px; writing-mode: vertical-rl; transform: rotate(180deg); }

.trip-tours-section { padding: 30px 10.1% 0; }
.trip-heading { align-items: end; }
.trip-view-all { color: var(--green); font-weight: 800; }
.trip-filter-bar { display: flex; align-items: end; gap: 12px; margin-top: 24px; }
.trip-filter { display: grid; gap: 6px; color: #687365; font-size: 11px; font-weight: 800; }
.trip-filter select { min-width: 190px; height: 42px; padding: 0 14px; border: 1.5px solid #dfe1d4; border-radius: 999px; background: #fffdf8; color: var(--ink); font: inherit; cursor: pointer; }
.trip-filter select:focus-visible, .trip-tour-link:focus-visible, .active-trip-filter button:focus-visible { outline: 3px solid #20d3a7; outline-offset: 3px; }
.trip-filter-count { margin: 0 0 11px auto; color: #73796e; font-size: 12px; }
.trip-tour-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.trip-tour-card { overflow: hidden; border: 1.5px solid rgba(23, 23, 47, 0.12); border-radius: 24px; background: linear-gradient(180deg, #ffffff 0%, #fbfaf5 100%); box-shadow: 0 12px 32px rgba(23, 23, 47, 0.08); }
.trip-tour-media { overflow: hidden; height: 210px; }
.trip-tour-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .3s ease; }
.trip-tour-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #d3f1e7, #fff0d9); color: var(--green); font-size: 46px; }
.trip-tour-card:hover .trip-tour-media img { transform: scale(1.04); }
.trip-tour-body { display: grid; gap: 12px; padding: 18px 18px 20px; }
.trip-tour-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.trip-tour-body h3 { margin: 0; font: 800 24px/1.1 var(--display); letter-spacing: -.6px; }
.trip-tour-body p { margin: 0; color: #5d635b; line-height: 1.6; }
.trip-tour-stops { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0; list-style: none; }
.trip-tour-stops li { padding: 7px 10px; border-radius: 999px; background: #edf6ef; color: var(--green); font-size: 11px; font-weight: 700; }
.trip-tour-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.trip-tour-badge { display: inline-flex; align-items: center; padding: 7px 10px; border-radius: 999px; background: #fff0d9; color: #7e5b00; font-size: 11px; font-weight: 800; }
.trip-tour-link { padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; white-space: nowrap; }
.trip-tour-link:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.trip-empty-state { grid-column: 1 / -1; margin: 0; padding: 26px; border: 1px dashed #c9cdbf; border-radius: 18px; color: #73796e; text-align: center; }
.active-trip-filter { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 12px 16px; border: 1px solid #b8d7c6; border-radius: 14px; background: #eaf5ee; color: var(--green); font-size: 12px; font-weight: 800; }
.active-trip-filter[hidden] { display: none; }
.active-trip-filter button { padding: 7px 11px; border: 1px solid currentColor; border-radius: 999px; background: white; color: inherit; font: inherit; cursor: pointer; }

.explore-section { padding: 75px 10.1% 70px; background: linear-gradient(180deg, #eaf5ee 0, #f7f6ed 48%, #fff0e8 100%); }
.section-heading { display: flex; align-items: end; justify-content: space-between; }
.section-heading h2 { margin: 17px 0 0; font: 800 45px/1.12 var(--display); letter-spacing: -1.7px; }
.section-aside { margin: 0 4px 4px 0; color: #888d82; font-size: 12px; line-height: 1.8; text-align: right; }
.stats-strip { height: 83px; margin-top: 40px; padding: 0 17px; display: flex; align-items: center; gap: 25px; border: 1px solid #dfe1d4; border-radius: 16px; background: #fffef9; box-shadow: 4px 5px 0 #176b5215, 0 6px 20px #20332f08; }
.stat { display: flex; align-items: baseline; gap: 10px; }
.stat strong { font: 600 25px var(--display); letter-spacing: -1px; }
.stat span { color: #808579; font-size: 11px; }
.stat-divider { height: 26px; width: 1px; background: #d6d8cc; }
.stat-note { margin-left: auto; color: #8d9187; font-size: 9px; letter-spacing: 1.25px; }
.stat-note span { padding-left: 8px; color: var(--orange); font-size: 16px; vertical-align: -2px; }
.discover-toolbar { margin-top: 27px; display: flex; gap: 10px; }
.search-box { flex: 1; height: 49px; padding: 0 14px; display: flex; align-items: center; gap: 10px; background: #fffdf8; border: 1px solid #e8e4da; border-radius: 13px; box-shadow: 0 4px 12px #26334509; }
.search-icon { color: #687365; font: 27px var(--body); transform: rotate(-15deg); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.search-box input::placeholder { color: #a0a49a; }
kbd { padding: 3px 6px; border: 1px solid #e3e4dc; border-radius: 3px; color: #a4a89e; font: 9px var(--body); }
.filter-wrap select, .filter-button { height: 49px; padding: 0 15px; border: 1px solid #e8e4da; border-radius: 13px; background: #fffdf8; color: #475467; font-size: 11px; }
.filter-wrap select { min-width: 127px; cursor: pointer; }
.province-filter-wrap select { min-width: 150px; }
.destination-filter-wrap select { min-width: 190px; max-width: 240px; }
.filter-button { cursor: pointer; white-space: nowrap; }
.filter-button span { padding-right: 5px; font-size: 16px; vertical-align: -1px; }
.filter-button[aria-pressed="true"], .filter-button:hover { border-color: var(--green); color: var(--green); }
.category-row { min-height: 68px; display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.category-row::-webkit-scrollbar { display: none; }
.category-chip { padding: 10px 15px; border: 1px solid #e8e4da; border-radius: 30px; background: #fffdf8; color: #657185; white-space: nowrap; font-size: 11px; cursor: pointer; transition: transform .18s, box-shadow .18s; }
.category-chip:hover { transform: translateY(-2px); box-shadow: 0 5px 12px #26334512; }
.category-chip.active { border-color: #a4d6c9; color: #12594f; background: #d9f3ea; box-shadow: inset 0 0 0 1px #bde8d9; }
.sort-label { margin-left: auto; flex: 0 0 auto; color: #9a9e94; font-size: 9px; letter-spacing: 1px; }
.sort-label span { margin-left: 6px; color: var(--orange); font-size: 14px; }
.province-directory { display: grid; gap: 12px; }
.province-group { --province-tint: #e1f4eb; --province-edge: #cfe1d4; overflow: hidden; border: 1px solid #dedfd3; border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.92) 100%); box-shadow: 3px 4px 0 rgba(32, 51, 47, 0.08), 0 10px 22px rgba(18, 29, 24, 0.06); transition: box-shadow .2s, transform .2s; }
.province-group:not([open]) .province-content { display: none; }
.province-group:nth-child(6n + 2) { --province-tint: #eaf0ff; --province-edge: #dae3fa; }
.province-group:nth-child(6n + 3) { --province-tint: #fff0e8; --province-edge: #f7ded2; }
.province-group:nth-child(6n + 4) { --province-tint: #fff6d8; --province-edge: #f1e7bb; }
.province-group:nth-child(6n + 5) { --province-tint: #f7eafd; --province-edge: #ebdcf4; }
.province-group:nth-child(6n + 6) { --province-tint: #e4f4f7; --province-edge: #d3e9ec; }
.province-group:hover { box-shadow: 4px 6px 0 rgba(240, 99, 59, 0.16), 0 14px 28px rgba(18, 29, 24, 0.1); transform: translateY(-1px); }
.province-group > summary { min-height: 82px; padding: 10px 17px; display: flex; align-items: center; gap: 16px; list-style: none; cursor: pointer; background: linear-gradient(90deg, rgba(255,255,255,.2), rgba(255,255,255,.05)); }
.province-group > summary::-webkit-details-marker { display: none; }
.province-group > summary:focus-visible, .province-site-link:focus-visible, .province-chevron:focus-visible, .attraction-open:focus-visible, .save-button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.province-mark { position: relative; width: 45px; height: 45px; flex: 0 0 45px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--province-edge); border-radius: 14px; background: linear-gradient(135deg, var(--province-tint), rgba(255,255,255,.9)); color: var(--green); font: 800 11px var(--display); transform: rotate(-3deg); }
.province-mark-image { position: absolute; inset: 0; width: 100%; height: 100%; padding: 3px; background: #fff; object-fit: contain; transform: rotate(3deg); }
.province-mark-image[hidden] { display: none; }
.province-content > .province-logo-source { display: inline-block; margin: 0 0 6px; color: #78816f; font-size: 9px; text-decoration: underline; text-underline-offset: 2px; }
.province-logo-note { margin: 0 0 14px; color: #8d5a26; font-size: 10px; }
.province-order { width: 34px; color: var(--orange); font: 600 12px var(--display); }
.province-title { display: grid; gap: 4px; color: inherit; text-decoration: none; }
.province-title:hover strong { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.province-title strong { font: 600 19px var(--display); letter-spacing: -.3px; }
.province-title > span { color: #888d82; font-size: 10px; }
.province-count { margin-left: auto; color: #73796e; font-size: 11px; }
.province-chevron { width: 32px; height: 32px; display: grid; flex: 0 0 32px; place-items: center; padding: 0; border: 1px solid #dde7de; border-radius: 12px; background: rgba(242,247,233,.9); color: var(--green); font-size: 16px; cursor: pointer; transition: transform .2s, background .2s; }
.province-chevron:hover { background: #e6f0dc; }
.province-group[open] .province-chevron { transform: rotate(180deg); }
.province-content { padding: 4px 17px 20px 78px; border-top: 1px solid #edf0e9; }
.province-overview { margin: 8px 0 22px; padding: 17px 19px; border: 1px dashed var(--province-edge); border-radius: 13px; background: linear-gradient(135deg, var(--province-tint), rgba(255,255,255,.86)); }
.province-overview h3 { margin: 0 0 12px; color: var(--green); font: 600 15px var(--display); }
.province-overview dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.province-overview dl > div { min-width: 0; }
.province-overview dt { margin-bottom: 5px; color: #777e72; font-size: 10px; font-weight: 700; }
.province-overview dd { margin: 0; color: #687064; font-size: 11px; line-height: 1.7; }
.district-group + .district-group { margin-top: 22px; }
.district-heading { margin: 0 0 8px; display: flex; align-items: baseline; gap: 10px; }
.district-heading span { color: #969b91; font-size: 9px; letter-spacing: .5px; text-transform: uppercase; }
.district-heading strong { color: var(--green); font: 600 13px var(--display); }
.district-heading .district-former-province { color: #777e72; font-size: 10px; letter-spacing: 0; text-transform: none; }
.attraction-list { display: grid; gap: 8px; }
.attraction-row { position: relative; min-width: 0; padding: 10px 48px 19px 10px; background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(252,251,248,1) 100%); border: 1px solid #e7e5d9; border-radius: 16px; transition: transform .18s, box-shadow .18s; }
.attraction-row:hover { transform: translateY(-2px) rotate(-.15deg); box-shadow: 4px 5px 0 rgba(23,107,82,.14), 0 10px 20px rgba(32, 51, 47, .1); }
.attraction-open { width: 100%; min-width: 0; padding: 0; display: grid; grid-template-columns: 134px minmax(0, 1fr) 24px; align-items: center; gap: 16px; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.attraction-thumb { position: relative; height: 98px; display: block; overflow: hidden; background: #e6e8df; border-radius: 10px; }
.attraction-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.photo-status { position: absolute; inset: auto 5px 5px; padding: 4px 5px; background: #202820c9; color: white; font-size: 8px; text-align: center; }
.photo-status-error { background: #653d30dc; }
.photo-credit { position: absolute; bottom: 20px; left: 12px; z-index: 1; max-width: 150px; padding: 3px 5px; overflow: hidden; border-radius: 2px; background: #202820c9; color: #fff; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.attraction-copy { min-width: 0; display: grid; gap: 5px; }
.attraction-copy > strong { font: 700 16px var(--display); letter-spacing: -.2px; }
.attraction-copy > span:not(.attraction-meta) { color: #73796f; font-size: 12px; line-height: 1.6; }
.attraction-copy .attraction-meta { color: #8d9288; font-size: 9px; text-transform: uppercase; letter-spacing: .4px; }
.attraction-copy .attraction-old { color: #666f60; }
.attraction-arrow { color: var(--orange); font-size: 18px; transition: transform .2s; }
.attraction-open:hover .attraction-arrow { transform: translate(2px, -2px); }
.attraction-row .save-button { top: 10px; right: 9px; }
.empty-state { background: transparent; }
.save-button { position: absolute; z-index: 1; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #f1e1dc; border-radius: 12px; background: #fff7f4; color: #d95847; font-size: 17px; cursor: pointer; transition: transform .2s, color .2s; }
.save-button:hover { transform: scale(1.09); }
.save-button.saved { color: var(--orange); }
.empty-state { padding: 65px 20px; text-align: center; }
.empty-state > span { color: var(--orange); font-size: 30px; }
.empty-state h3 { margin: 12px 0 5px; font: 600 22px var(--display); }
.empty-state p { color: var(--muted); font-size: 13px; }
.empty-state button { border: 0; padding: 10px 14px; background: var(--green); color: white; border-radius: 3px; font-size: 12px; cursor: pointer; }
.more-row { margin-top: 44px; padding-top: 19px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: #90958a; font-size: 9px; letter-spacing: 1px; }
.more-row a { color: var(--green); font-size: 11px; letter-spacing: 0; }
.more-row a span { padding-left: 5px; color: var(--orange); }
.old-map-banner { margin: 43px 10.1%; padding: 26px 30px; display: flex; align-items: center; gap: 19px; background: #e5f1e7; border: 1px dashed #a9c5ae; border-radius: 4px 16px 5px 13px; box-shadow: 5px 6px 0 #f0643b20; transform: rotate(-.25deg); }
.banner-icon { color: var(--orange); font-size: 29px; }
.old-map-banner h3 { margin: 0 0 5px; font: 600 16px var(--display); }
.old-map-banner p { margin: 0; color: #7e8578; font-size: 11px; line-height: 1.6; }
.banner-stamp { margin-left: auto; padding: 8px 12px; border: 1px solid #9da88e; border-radius: 50%; color: #78866e; font: 700 9px/1.2 var(--display); text-align: center; transform: rotate(-10deg); }
.about-section { padding: 79px 13%; display: grid; grid-template-columns: 64px 1.05fr 1fr; align-items: center; gap: 30px; background: linear-gradient(115deg, #155944, #18705b 62%, #245a50); color: #f2fff9; }
.about-mark { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid #ffffff4a; border-radius: 50%; color: var(--lime); font-size: 27px; }
.about-section .eyebrow { color: #c5d0b6; font-size: 9px; }
.about-section h2 { margin: 15px 0 0; font: 500 39px/1.05 var(--display); letter-spacing: -2px; }
.about-section h2 span { color: var(--lime); }
.about-section > p { max-width: 370px; margin: 17px 0 0 auto; color: #cad3c4; font-size: 12px; line-height: 1.9; }
.footer { min-height: 77px; padding: 0 7.15%; display: flex; align-items: center; justify-content: space-between; color: #738078; font-size: 10px; background: #f7f6ed; }
.footer-brand { color: var(--ink); font-size: 16px; }
.footer-brand .brand-mark { width: 23px; height: 23px; font-size: 14px; }
.footer > a:last-child { color: var(--green); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.destination-dialog { width: min(790px, calc(100vw - 32px)); max-height: min(850px, calc(100vh - 32px)); padding: 0; overflow: auto; border: 1px solid #e8e4da; border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 25px 100px #17201755; }
.destination-dialog::backdrop { background: #172017a8; backdrop-filter: blur(3px); }
.dialog-close { position: sticky; z-index: 2; top: 12px; float: right; width: 36px; height: 36px; margin: 12px 12px -48px 0; border: 0; border-radius: 12px; background: #fffdf2ed; color: var(--ink); font-size: 23px; cursor: pointer; box-shadow: 0 3px 12px #26334526; }
.dialog-image { width: 100%; height: 260px; display: block; object-fit: cover; background: #e6e8df; }
.dialog-image-credit { display: block; padding: 8px 35px 0; color: #73796f; font-size: 10px; text-decoration: underline; text-underline-offset: 2px; }
.dialog-content { padding: 29px 35px 34px; }
.dialog-kicker { color: #8c9286; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; }
.dialog-content h2 { margin: 9px 0; font: 600 34px var(--display); letter-spacing: -1.4px; }
.dialog-description { max-width: 640px; color: #757c70; font-size: 13px; line-height: 1.8; }
.destination-map { margin: 22px 0; }
.destination-map-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.destination-map-heading h3 { margin: 4px 0 0; font: 700 22px var(--display); }
.map-directions-link { flex: 0 0 auto; padding: 10px 15px; border: 2px solid var(--ink); border-radius: 999px; background: #20d3a7; color: var(--ink); font-size: 11px; font-weight: 800; box-shadow: 2px 3px 0 var(--ink); }
.destination-map iframe { width: 100%; height: 300px; display: block; border: 2px solid var(--ink); border-radius: 16px; background: #e8eee8; }
.map-location-note { margin: 8px 0 0; color: #737a70; font-size: 10px; line-height: 1.6; }
.old-boundary { margin: 22px 0; padding: 15px; display: flex; gap: 12px; background: #e8e9df; border-left: 3px solid #9aad74; }
.boundary-icon { color: var(--orange); font-size: 20px; }
.old-boundary strong { font: 600 12px var(--display); }
.old-boundary p { margin: 4px 0 0; color: #737a6c; font-size: 11px; line-height: 1.6; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; border-top: 1px solid var(--line); }
.guide-item { padding: 15px 0 13px; border-bottom: 1px solid var(--line); }
.guide-item h3 { margin: 0 0 6px; color: var(--green); font: 600 12px var(--display); }
.guide-item p { margin: 0; color: #737a70; font-size: 11px; line-height: 1.7; }
.data-note { margin: 16px 0 0; color: #92978d; font-size: 9px; line-height: 1.6; }
.dialog-save { margin-top: 20px; padding: 13px 19px; border: 0; border-radius: 999px; background: var(--orange); color: white; font-size: 12px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 16px #fb654230; }
.toast { position: fixed; z-index: 5; right: 24px; bottom: 24px; padding: 13px 18px; border-radius: 3px; background: var(--ink); color: white; font-size: 12px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (min-width: 1500px) { .hero, .explore-section { padding-right: max(10.1%, calc((100% - 1180px)/2)); padding-left: max(10.1%, calc((100% - 1180px)/2)); } }
@media (max-width: 960px) {
  .trip-tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .topbar { padding: 0 5%; }
  .hero { padding: 65px 7%; gap: 4%; min-height: 510px; }
  .hero-image { height: 350px; }
  .hero h1 { font-size: 71px; }
  .explore-section { padding-right: 7%; padding-left: 7%; }
  .old-map-banner { margin-right: 7%; margin-left: 7%; }
  .about-section { padding: 65px 8%; grid-template-columns: 50px 1fr 1fr; gap: 20px; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 65px; }
  .topbar { height: 64px; padding: 0 20px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 25px; height: 25px; font-size: 16px; }
  .main-nav { display: none; }
  .music-toggle { min-height: 34px; margin-left: auto; padding: 0 9px; }
  .saved-nav { gap: 6px; padding-right: 0; font-size: 12px; }
  .hero { min-height: 0; padding: 49px 23px 35px; grid-template-columns: 1fr; gap: 29px; }
  .hero h1 { margin-top: 19px; font-size: clamp(58px, 14vw, 76px); letter-spacing: -3px; }
  .hero-intro { max-width: 340px; font-size: 13px; }
  .hero-footnote { margin-top: 27px; }
  .hero-image { height: 294px; margin: 0 15px; border-radius: 43% 43% 3px 3px / 34% 34% 3px 3px; }
  .hero-vertical { display: none; }
  .hero-slide-heading { right: 18px; bottom: 110px; left: 20px; }
  .hero-slide-heading h2 { font-size: clamp(22px, 7vw, 30px); }
  .hero-slide-controls { right: 15px; bottom: 38px; left: 15px; gap: 8px; }
  .hero-slide-arrows { gap: 5px; }
  .hero-slide-arrows button { width: 31px; height: 31px; }
  .hero-progress-row { gap: 7px; }
  .hero-photo-credit { right: 18px; bottom: 9px; font-size: 7px; }
  .trip-tours-section { padding: 22px 20px 0; }
  .trip-filter-bar { align-items: stretch; flex-direction: column; }
  .trip-filter select { width: 100%; }
  .trip-filter-count { margin: 0 0 0 2px; }
  .trip-tour-grid { grid-template-columns: 1fr; }
  .explore-section { padding: 52px 20px 47px; }
  .section-heading { align-items: start; gap: 12px; }
  .section-heading h2 { font-size: 34px; letter-spacing: -1px; }
  .section-aside { margin-top: 21px; font-size: 10px; }
  .stats-strip { height: 68px; margin-top: 26px; gap: 12px; }
  .stat { gap: 6px; }
  .stat strong { font-size: 21px; }
  .stat span { font-size: 9px; }
  .stat-note { max-width: 100px; font-size: 7px; line-height: 1.6; text-align: right; }
  .discover-toolbar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .search-box { grid-column: 1 / -1; height: 45px; }
  .filter-wrap { min-width: 0; }
  .filter-wrap select, .filter-button { height: 42px; }
  .filter-wrap select, .province-filter-wrap select { width: 100%; min-width: 0; padding: 0 8px; font-size: 10px; }
  .province-group > summary { padding: 12px 12px 10px; gap: 10px; align-items: flex-start; }
  .province-order { width: 24px; }
  .province-count { margin-left: 0; }
  .province-title strong { font-size: 17px; }
  .province-content { padding: 4px 12px 16px; }
  .province-overview dl { grid-template-columns: 1fr; }
  .district-heading { flex-wrap: wrap; }
  .attraction-open { grid-template-columns: 1fr; }
  .attraction-thumb { height: 170px; }
  .attraction-row { padding-right: 10px; }
  .attraction-row .save-button { right: 8px; }
  .hero-photo-credit { max-width: 62%; }
  .filter-button { grid-column: 1 / -1; padding: 0 11px; font-size: 10px; }
  .category-row { min-height: 65px; margin-right: -20px; }
  .category-chip { padding: 8px 11px; font-size: 9px; }
  .sort-label { display: none; }
  .province-group > summary { min-height: 72px; padding: 8px 10px; gap: 8px; }
  .province-mark { width: 34px; height: 34px; flex-basis: 34px; font-size: 9px; }
  .province-order { width: 22px; }
  .province-title strong { font-size: 16px; }
  .province-title > span, .province-count { font-size: 9px; }
  .province-content { padding: 8px 9px 14px; }
  .province-overview { margin: 4px 0 17px; padding: 14px; }
  .province-overview dl { grid-template-columns: 1fr; gap: 10px; }
  .district-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .attraction-row { padding: 8px 40px 18px 8px; }
  .attraction-open { grid-template-columns: 86px minmax(0, 1fr) 16px; gap: 10px; }
  .attraction-thumb { height: 86px; }
  .attraction-copy > strong { font-size: 13px; }
  .attraction-copy > span:not(.attraction-meta) { font-size: 10px; }
  .attraction-copy .attraction-old { display: none; }
  .attraction-arrow { font-size: 15px; }
  .photo-credit { left: 10px; bottom: 21px; max-width: 115px; font-size: 7px; }
  .photo-status { font-size: 7px; }
  .more-row { gap: 12px; font-size: 7px; letter-spacing: .5px; }
  .more-row a { max-width: 145px; font-size: 9px; text-align: right; }
  .old-map-banner { margin: 28px 20px; padding: 19px 15px; gap: 12px; }
  .banner-icon { align-self: flex-start; font-size: 22px; }
  .old-map-banner h3 { font-size: 13px; line-height: 1.4; }
  .old-map-banner p { font-size: 10px; }
  .banner-stamp { display: none; }
  .about-section { padding: 47px 25px; grid-template-columns: 40px 1fr; gap: 14px; }
  .about-mark { width: 38px; height: 38px; font-size: 21px; }
  .about-section h2 { font-size: 34px; }
  .about-section > p { grid-column: 2; margin: 1px 0 0; font-size: 11px; }
  .footer { min-height: 74px; padding: 12px 20px; gap: 12px; }
  .footer > span { max-width: 130px; font-size: 8px; line-height: 1.5; text-align: center; }
  .footer-brand { font-size: 14px; }
  .footer > a:last-child { white-space: nowrap; font-size: 9px; }
  .dialog-image { height: 210px; }
  .dialog-content { padding: 23px 21px 25px; }
  .dialog-content h2 { font-size: 28px; }
  .destination-map-heading h3 { font-size: 19px; }
  .destination-map iframe { height: 250px; }
  .guide-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

body { background-color: #fff7e8; background-image: radial-gradient(#211b3010 .8px, transparent .8px); background-size: 9px 9px; }
.topbar { border-bottom: 2px solid var(--ink); background: #fff9edf2; }
.brand { letter-spacing: -.7px; }
.brand-mark { border: 2px solid var(--ink); box-shadow: 2px 3px 0 var(--ink); }
.main-nav { gap: 12px; }
.nav-link { padding: 10px 13px; border: 2px solid transparent; border-radius: 999px; color: var(--ink); font-weight: 700; }
.nav-link:hover, .nav-link.active { border-color: var(--ink); background: white; box-shadow: 2px 3px 0 var(--ink); }
.music-toggle { border: 2px solid var(--ink); box-shadow: 2px 3px 0 var(--ink); }
.music-toggle[aria-pressed="true"] { border-color: var(--ink); background: #c9f96a; }
.saved-nav { font-weight: 800; }
.saved-count { border: 1.5px solid var(--ink); }
.hero { min-height: 570px; padding-top: 66px; padding-bottom: 63px; grid-template-columns: 1.08fr .92fr; background: linear-gradient(112deg, #ff6656 0%, #ff8b38 48%, #ffc832 100%); border-bottom: 2px solid var(--ink); border-radius: 0 0 34px 34px; }
.hero::before, .hero::after { position: absolute; z-index: 0; color: #17172f; font-size: 45px; font-weight: 800; line-height: 1; pointer-events: none; }
.hero::before { content: "✳"; top: 42px; right: 48%; transform: rotate(-15deg); }
.hero::after { content: "↗"; right: 5%; bottom: 60px; font-size: 62px; transform: rotate(12deg); }
.hero-copy { max-width: 560px; }
.hero .eyebrow { width: fit-content; padding: 8px 13px; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: white; letter-spacing: .3px; }
.hero .eyebrow-line { display: none; }
.hero h1 { margin: 22px 0 16px; max-width: 640px; color: var(--ink); font-size: clamp(52px, 5.3vw, 72px); line-height: .98; letter-spacing: -2px; }
.hero h1 span { display: inline-block; padding: 0 12px 4px; border-radius: 14px; background: #fff9ed; color: var(--ink); transform: rotate(-2deg); }
.hero-intro { max-width: 430px; color: #29233a; font-size: 15px; font-weight: 700; line-height: 1.65; }
.hero-cta { padding: 13px 19px; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); box-shadow: 4px 5px 0 #fff9ed; }
.hero-cta:hover { background: #292846; }
.hero-cta span { color: var(--yellow); }
.hero-footnote { color: #29233a; font-weight: 800; }
.pulse-dot { background: #087c68; box-shadow: 0 0 0 4px #087c6833; }
.hero-image { z-index: 1; height: 390px; border: 4px solid var(--ink); border-radius: 28px; box-shadow: 8px 9px 0 var(--ink); transform: rotate(1.2deg); }
.image-sticker { border: 2px solid var(--ink); box-shadow: 3px 4px 0 var(--ink); }
.hero-slide-arrows button, .hero-play-toggle { border: 2px solid white; }
.hero-vertical { color: #342d3b; font-weight: 800; }
.explore-section { background: #fff7e8; }
.section-heading h2 { color: var(--ink); }
.section-aside { color: #696477; }
.stats-strip { border: 2px solid var(--ink); border-radius: 18px; background: #fffdf7; box-shadow: 4px 5px 0 var(--ink); }
.stat strong { color: var(--ink); }
.stat-note { color: #6d6879; font-weight: 800; }
.search-box, .filter-wrap select, .filter-button { border: 2px solid var(--ink); border-radius: 999px; background: #fffdf8; box-shadow: 3px 4px 0 var(--ink); }
.search-box { padding: 0 17px; }
.search-box input { font-size: 14px; }
.filter-wrap select, .filter-button { color: var(--ink); font-weight: 800; }
.filter-button[aria-pressed="true"], .filter-button:hover { border-color: var(--ink); background: #ffc933; color: var(--ink); }
.category-row { gap: 9px; min-height: 76px; }
.category-chip { padding: 10px 17px; border: 2px solid var(--ink); border-radius: 999px; background: #fffdf8; box-shadow: 2px 3px 0 var(--ink); color: var(--ink); font-size: 12px; font-weight: 800; }
.category-chip:nth-child(3n + 2) { background: #d3f1e7; }
.category-chip:nth-child(3n) { background: #d9eaff; }
.category-chip.active { border-color: var(--ink); background: #20d3a7; color: var(--ink); box-shadow: 2px 3px 0 var(--ink); }
.province-directory { gap: 14px; }
.province-group { border: 2px solid var(--ink); border-radius: 20px; background: #fffdf8; box-shadow: 3px 4px 0 var(--ink); }
.province-group:nth-child(6n + 2), .province-group:nth-child(6n + 3), .province-group:nth-child(6n + 4), .province-group:nth-child(6n + 5), .province-group:nth-child(6n + 6) { --province-edge: #17172f; }
.province-group:hover { box-shadow: 5px 6px 0 var(--ink); transform: translate(-1px, -1px); }
.province-group > summary { min-height: 88px; }
.province-mark { border: 2px solid var(--ink); border-radius: 15px; box-shadow: 2px 2px 0 var(--ink); }
.province-order { color: #f04e49; font-weight: 800; }
.province-title strong { color: var(--ink); font-size: 22px; }
.province-title > span, .province-count { color: #6b6876; font-weight: 700; }
.province-chevron { border: 2px solid var(--ink); border-radius: 50%; background: #ffc933; color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.province-chevron:hover { background: #20d3a7; }
.province-content { border-top: 2px dashed #d7d0c8; }
.province-overview { border: 2px solid var(--ink); border-radius: 18px; }
.district-heading strong { color: var(--ink); font-size: 16px; }
.attraction-row { border: 2px solid var(--ink); border-radius: 17px; background: #fffdf8; box-shadow: 2px 3px 0 #17172f24; }
.attraction-row:hover { box-shadow: 4px 5px 0 #17172f30; }
.attraction-thumb { border: 1.5px solid var(--ink); border-radius: 13px; }
.save-button { border: 2px solid var(--ink); border-radius: 50%; background: #ffddd5; }
.old-map-banner { border: 2px solid var(--ink); border-radius: 22px; background: #d3f1e7; box-shadow: 4px 5px 0 var(--ink); transform: rotate(-.35deg); }
.banner-stamp { border: 2px solid var(--ink); color: var(--ink); }
.about-section { background: linear-gradient(115deg, #18172f, #292746 62%, #39324d); }
.about-mark { border: 2px solid #fff; }
.footer { background: #fff7e8; }
.destination-dialog { border: 2px solid var(--ink); border-radius: 24px; }
.dialog-save { border: 2px solid var(--ink); box-shadow: 3px 4px 0 var(--ink); }
.toast { border: 2px solid white; border-radius: 999px; box-shadow: 3px 4px 0 var(--ink); }

@media (max-width: 900px) {
  .main-nav { gap: 3px; }
  .nav-link { padding: 9px 8px; font-size: 11px; }
  .hero { padding-right: 7%; padding-left: 7%; }
  .hero h1 { font-size: clamp(56px, 7vw, 70px); }
}
@media (max-width: 620px) {
  .topbar { border-bottom-width: 2px; }
  .brand { letter-spacing: -.6px; }
  .hero { padding: 42px 23px 36px; border-radius: 0 0 24px 24px; }
  .hero::before { top: 20px; right: 10%; font-size: 31px; }
  .hero::after { right: 2%; bottom: 50%; font-size: 40px; }
  .hero h1 { max-width: 390px; font-size: clamp(48px, 13vw, 66px); line-height: 1.02; letter-spacing: -1.7px; }
  .hero h1 span { padding: 0 8px 3px; border-radius: 10px; }
  .hero-image { height: 280px; margin: 0 8px; border-width: 3px; border-radius: 22px; box-shadow: 5px 6px 0 var(--ink); transform: rotate(.7deg); }
  .explore-section { padding-top: 46px; }
  .stats-strip { padding: 0 10px; border-radius: 15px; box-shadow: 3px 4px 0 var(--ink); }
  .search-box, .filter-wrap select, .filter-button { border-radius: 14px; box-shadow: 2px 3px 0 var(--ink); }
  .category-row { gap: 8px; }
  .category-chip { border-width: 1.5px; padding: 8px 12px; box-shadow: 2px 2px 0 var(--ink); }
  .province-group { border-radius: 17px; box-shadow: 2px 3px 0 var(--ink); }
  .province-group > summary { min-height: 76px; }
  .province-title strong { font-size: 18px; }
  .province-chevron { width: 30px; height: 30px; flex-basis: 30px; }
  .province-content { border-top-width: 1.5px; }
  .attraction-row { border-radius: 14px; box-shadow: 2px 2px 0 #17172f20; }
  .old-map-banner { border-radius: 18px; box-shadow: 3px 4px 0 var(--ink); }
}

body.admin-mode > main > section:not(#admin-panel),
body.admin-mode > .footer,
body.admin-mode .main-nav > a:not([href="#admin"]) { display: none; }
body.admin-mode .main-nav > a[href="#admin"] { color: var(--ink); font-weight: 700; }
#admin-panel { display: none !important; }
#server-admin-panel[hidden] { display: none !important; }
body.admin-mode > main > #server-admin-panel:not([hidden]) { display: block !important; }
.admin-page { min-height: calc(100vh - 72px); padding: 58px 7.15% 80px; background: linear-gradient(180deg, #eaf5ee 0, var(--paper) 48%, #fff0e8 100%); }
.server-admin-login { width: min(460px, 100%); margin: 35px auto; padding: 34px; border: 1px solid var(--line); border-radius: 20px; background: #fffef9; box-shadow: 0 15px 40px #20332f12; }
.server-admin-login h1 { margin: 16px 0 8px; font: 800 34px/1.1 var(--display); letter-spacing: -1px; }
.server-admin-login h1 span { color: var(--orange); }
.server-admin-login > div > p { color: var(--muted); font-size: 12px; }
.server-admin-login form { display: grid; gap: 14px; margin: 20px 0; }
.server-admin-error { color: #a63e26; font-size: 11px; }
.server-admin-notice { margin: 20px 0; padding: 13px 16px; border: 1px solid #c8d9cb; border-radius: 12px; background: #f3fbf3; color: #3d5a48; font-size: 11px; line-height: 1.7; }
.server-admin-status { min-height: 20px; margin: 8px 0; color: var(--green); font-size: 11px; }
.server-admin-status.is-error { color: #a63e26; }
.server-admin-view[hidden], #server-workspace[hidden], #server-login[hidden], #server-setup[hidden], #server-login-form-wrap[hidden] { display: none !important; }
.server-admin-page .admin-back-link { cursor: pointer; }
.server-admin-page .admin-view { min-height: 120px; }
@media (max-width: 900px) {
  .admin-trips-heading { align-items: flex-start; flex-direction: column; }
}
.admin-login-card { width: min(440px, 100%); margin: 35px auto; padding: 34px; border: 1px solid var(--line); border-radius: 20px; background: #fffef9; box-shadow: 0 15px 40px #20332f12; }
.admin-login-card h1 { margin: 16px 0 8px; font: 800 34px/1.1 var(--display); letter-spacing: -1px; }
.admin-login-card h1 span { color: var(--orange); }
.admin-login-card > p { color: var(--muted); font-size: 12px; }
.admin-login-card form { display: grid; gap: 14px; margin-top: 24px; }
.admin-login-card form > button { margin-top: 4px; }
.admin-login-error { margin: 0; color: #a63e26; font-size: 11px; }
.admin-user-tools { display: flex; align-items: center; justify-content: end; gap: 8px; flex-wrap: wrap; }
.admin-user-tools > span { color: var(--muted); font-size: 11px; }
.admin-tabs { display: flex; gap: 7px; margin: 25px 0 18px; border-bottom: 1px solid var(--line); }
.admin-tab { padding: 12px 15px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 11px; font-weight: 700; cursor: pointer; }
.admin-tab.active { border-bottom-color: var(--green); color: var(--green); }
.admin-tab > span { display: inline-grid; min-width: 18px; height: 18px; place-items: center; margin-left: 4px; padding: 0 4px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 9px; }
.admin-subheading { margin: 5px 0 18px; }
.admin-subheading h2 { margin: 0 0 6px; font: 700 22px var(--display); }
.admin-subheading p { margin: 0; color: var(--muted); font-size: 11px; }
.admin-account-form { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(160px, 1fr) minmax(140px, .8fr) auto; align-items: end; gap: 10px; margin-bottom: 20px; padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: #fffef9; }
.admin-account-form > button { margin-bottom: 1px; }
.server-music-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 760px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fffef9; }
.server-music-form [hidden] { display: none !important; }
.server-music-form small, .server-music-note { color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.6; }
.server-music-enabled { grid-column: 1 / -1; display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 12px; font-weight: 700; }
.server-music-enabled input { width: 18px; height: 18px; accent-color: var(--green); }
.server-music-preview-wrap audio { width: min(100%, 460px); }
.server-music-note { max-width: 760px; }
.admin-trips-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.server-trip-options { min-width: 0; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.server-trip-options legend { padding: 0 6px; color: #55655e; font-size: 11px; font-weight: 700; }
.server-trip-option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); align-content: start; gap: 8px; max-height: 220px; overflow: auto; padding: 2px; }
.server-trip-province-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.server-trip-option { display: flex; align-items: center; justify-content: flex-start; gap: 8px; width: 100%; min-width: 0; min-height: 40px; padding: 7px 10px; border: 1px solid #dfe1d4; border-radius: 999px; background: #fffef9; color: var(--ink); font-size: 11px; font-weight: 600; line-height: 1.3; cursor: pointer; }
.server-trip-option input[type="checkbox"] { flex: 0 0 16px; width: 16px; height: 16px; min-height: 16px; margin: 0; padding: 0; appearance: auto; border: 0; border-radius: 4px; background: transparent; box-shadow: none; accent-color: var(--green); }
.server-trip-option span { min-width: 0; overflow-wrap: anywhere; }
.admin-field-wide { grid-column: 1 / -1; }
.admin-request-change { max-width: 330px; white-space: normal; color: var(--muted); font-size: 10px; line-height: 1.5; }
.admin-view[hidden], .admin-login-card[hidden], .admin-workspace[hidden] { display: none; }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.admin-heading h1 { margin: 15px 0 8px; font: 800 clamp(38px, 5vw, 58px)/1.1 var(--display); letter-spacing: -2px; }
.admin-heading h1 span { color: var(--orange); }
.admin-heading p { color: var(--muted); font-size: 13px; }
.admin-back-link { flex: 0 0 auto; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fffef9; font-size: 12px; font-weight: 600; }
.admin-notice { margin: 23px 0; padding: 15px 18px; border: 1px solid #e8c97a; border-radius: 13px; background: #fff8df; color: #67552a; font-size: 12px; line-height: 1.7; }
.admin-toolbar, .admin-actions { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; }
.admin-search, .admin-field { display: grid; gap: 7px; color: #55655e; font-size: 11px; font-weight: 700; }
.admin-search { min-width: 220px; flex: 1; }
.admin-search input, .admin-search select, .admin-field input, .admin-field select, .admin-field textarea { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #d5dacd; border-radius: 10px; outline: none; background: #fffef9; color: var(--ink); font-size: 12px; }
.admin-field textarea { resize: vertical; line-height: 1.65; }
.server-photo-preview-wrap img { width: min(100%, 360px); max-height: 190px; object-fit: cover; border: 1px solid var(--line); border-radius: 10px; }
.admin-search input:focus, .admin-search select:focus, .admin-field input:focus, .admin-field select:focus, .admin-field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px #176b5218; }
.admin-primary, .admin-secondary, .admin-danger { min-height: 42px; padding: 0 15px; border: 0; border-radius: 10px; font-size: 11px; font-weight: 700; cursor: pointer; }
.admin-primary { background: var(--green); color: white; }
.admin-primary:hover { background: #254632; }
.admin-secondary { border: 1px solid var(--line); background: #fffef9; }
.admin-secondary:hover, .admin-back-link:hover { border-color: var(--green); }
.admin-danger { border: 1px solid #f0c5b8; background: #fff5f1; color: #a63e26; }
.admin-danger:hover { background: #ffe8df; }
.admin-actions { align-items: center; margin: 18px 0 3px; }
.admin-import-label { display: inline-flex; align-items: center; cursor: pointer; }
.admin-total { margin-left: auto; color: var(--muted); font-size: 11px; }
.admin-total strong { color: var(--ink); font-size: 16px; }
.admin-status { min-height: 19px; margin: 8px 0; color: var(--green); font-size: 11px; }
.admin-status.is-error { color: #a63e26; }
.admin-table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 14px; background: #fffef9; box-shadow: 0 8px 25px #20332f08; }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; }
.admin-table th, .admin-table td { padding: 12px 14px; border-bottom: 1px solid #ebece3; vertical-align: middle; font-size: 11px; }
.admin-table th { position: sticky; top: 0; background: #f0f3e9; color: #63726a; font-size: 10px; letter-spacing: .3px; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table td:first-child { min-width: 185px; font-weight: 700; }
.admin-table td:nth-child(2) { min-width: 115px; }
.admin-table td:nth-child(3) { min-width: 110px; color: var(--muted); }
.admin-table td:nth-child(4) { min-width: 120px; }
.server-slide-thumb { width: 58px; height: 42px; float: left; margin-right: 10px; border-radius: 6px; object-fit: cover; }
.server-slide-photo-status { margin-top: 5px; color: var(--muted); font-size: 9px; font-weight: 400; }
.admin-row-actions { display: flex; gap: 6px; white-space: nowrap; }
.admin-row-actions button { padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; background: white; font-size: 10px; cursor: pointer; }
.admin-row-actions button:hover { border-color: var(--green); }
.admin-row-actions .admin-delete-row { color: #a63e26; }
.admin-empty { padding: 35px; color: var(--muted); text-align: center; font-size: 12px; }
.admin-dialog { width: min(690px, calc(100% - 28px)); max-height: min(90vh, 850px); padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 25px 90px #15251c4d; }
.admin-dialog::backdrop { background: #15251c99; backdrop-filter: blur(3px); }
.admin-dialog-heading { display: flex; justify-content: space-between; align-items: start; margin-bottom: 20px; }
.admin-dialog-heading h2 { margin: 7px 0 0; font: 800 24px var(--display); }
.admin-dialog-close { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: #fffef9; font-size: 22px; cursor: pointer; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.admin-dialog.server-trip-dialog { width: min(760px, calc(100% - 24px)); max-height: min(92dvh, 850px); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.server-trip-dialog form { min-width: 0; }
.server-trip-dialog .admin-form-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.admin-field-wide { grid-column: 1 / -1; }
.admin-form-actions { display: flex; justify-content: end; gap: 9px; margin-top: 21px; }
.admin-mobile-link { display: none; color: var(--green); font-size: 11px; font-weight: 700; }
body.admin-mode .toast { z-index: 20; }
@media (max-width: 700px) {
  .admin-page { padding: 38px 20px 55px; }
  .server-admin-login { padding: 25px 20px; }
  .admin-heading { align-items: start; flex-direction: column; }
  .admin-user-tools { justify-content: start; }
  .admin-account-form, .server-music-form { grid-template-columns: 1fr; }
  .server-music-form > * { grid-column: 1; }
  .admin-tabs { overflow: auto; }
  .admin-tab { flex: 0 0 auto; padding: 11px 9px; font-size: 10px; }
  .admin-toolbar { align-items: stretch; }
  .admin-search { min-width: min(100%, 220px); }
  .admin-toolbar > .admin-primary { width: 100%; }
  .admin-actions { gap: 8px; }
  .admin-actions > button, .admin-import-label { flex: 1 1 42%; justify-content: center; }
  .admin-total { width: 100%; margin: 3px 0 0; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-field-wide { grid-column: auto; }
  .server-trip-dialog { width: min(100% - 20px, 760px); max-height: 94dvh; padding: 18px; }
  .server-trip-dialog .admin-form-grid { grid-template-columns: minmax(0, 1fr); }
  .server-trip-province-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-trips-heading { align-items: flex-start; flex-direction: column; }
  .admin-dialog { padding: 20px; }
}
@media (max-width: 620px) {
  .admin-mobile-link { display: inline; }
}
