:root {
  color: #20231f;
  background: #f7f6f2;
  font-family: Pretendard, 'Malgun Gothic', system-ui, sans-serif;
  font-synthesis: none;
  --ink: #20231f;
  --muted: #73766f;
  --line: #dfdfd8;
  --paper: #fff;
  --green: #255943;
  --lime: #dced6b;
  --cream: #f7f6f2;
  --orange: #e98c49;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.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; }

.site-header { height: 64px; background: rgba(247,246,242,.92); border-bottom: 1px solid rgba(32,35,31,.08); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); }
.header-inner { max-width: 1080px; height: 100%; margin: auto; padding: 0 20px; display: flex; align-items: center; gap: 10px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font: 700 1.04rem Arial, sans-serif; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 27px; height: 27px; background: var(--ink); color: var(--lime); border-radius: 8px 8px 8px 2px; font-size: .92rem; }
.beta { margin-left: 3px; color: #68712d; background: #ebefcb; border-radius: 4px; padding: 3px 6px; font: 700 .6rem Arial, sans-serif; letter-spacing: .08em; }
.icon-button { width: 40px; height: 40px; border: 0; background: transparent; display: grid; place-items: center; border-radius: 50%; cursor: pointer; }
.icon-button:hover { background: #ecebe6; }
.header-inner > .icon-button:first-child { margin-left: -10px; }
.header-action { margin-left: auto; }

.landing-page { min-height: 100vh; padding: 56px 20px 42px; background: #f7f6f2; }
.landing-shell { width: min(100%, 620px); margin-inline: auto; }
.landing-heading { padding: 18px 2px 36px; }
.landing-intro { margin: 0 0 10px; color: var(--green); font-size: .92rem; font-weight: 800; letter-spacing: -.035em; }
.landing-mumove { display: inline-block; margin-bottom: 13px; color: var(--green); font: 800 .72rem Arial, sans-serif; letter-spacing: .18em; }
.landing-heading h1 { margin: 0; font-size: clamp(2.6rem, 12vw, 4.5rem); line-height: 1; letter-spacing: -.07em; }
.landing-heading p { margin: 17px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.65; }
.category-menu { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.category-menu-item { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 82px; padding: 14px 16px; border: 1px solid #dfdfd8; background: rgba(255,255,255,.72); border-radius: 18px; }
.category-menu-item.active { border-color: var(--green); background: var(--green); color: white; box-shadow: 0 14px 34px rgba(37,89,67,.14); transition: transform .2s, box-shadow .2s; }
.category-menu-item.active:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(37,89,67,.2); }
.category-number { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #d7d8d1; border-radius: 13px; color: #8a8d86; font: 700 .82rem Arial, sans-serif; }
.category-menu-item.active .category-number { border-color: rgba(255,255,255,.25); background: var(--lime); color: var(--green); }
.category-copy strong, .category-copy small { display: block; }
.category-copy strong { font-size: .93rem; letter-spacing: -.025em; }
.category-copy small { margin-top: 4px; color: #92958e; font-size: .64rem; line-height: 1.4; }
.category-menu-item.active .category-copy small { color: #cbd8d1; }
.category-arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.1); }
.category-arrow svg { width: 17px; height: 17px; }
.coming-soon { color: #8d9089; }
.coming-badge { padding: 5px 7px; border-radius: 6px; background: #efefea; color: #a0a29c; font: 700 .5rem Arial, sans-serif; letter-spacing: .08em; }

.home-width, .detail-width { width: min(calc(100% - 40px), 1040px); margin-inline: auto; }
.hero { padding: 36px 0 10px; }
.eyebrow, .section-kicker { margin: 0 0 13px; color: var(--green); font-family: Pretendard, 'Segoe UI Variable', 'Malgun Gothic', system-ui, sans-serif; font-size: .66rem; font-weight: 800; line-height: 1.25; letter-spacing: .12em; }
.hero h1 { margin: 0; font-size: clamp(2.25rem, 9vw, 4.9rem); line-height: 1.13; letter-spacing: -.065em; }
.hero h1 em { font-style: normal; color: var(--green); position: relative; }

.filter-section { padding: 10px 0 26px; }
.section-heading h2, .results-heading h2, .panel h2, .correction-box h2 { margin: 0; letter-spacing: -.04em; font-size: 1.45rem; }
.search-box { height: 51px; margin: 18px 0; padding: 0 15px; display: flex; align-items: center; gap: 10px; border: 1px solid #d5d6d0; border-radius: 14px; background: var(--paper); }
.search-box svg { color: #858881; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .9rem; }
.search-box:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(37,89,67,.1); }
.filter-label-row { display: flex; justify-content: space-between; margin: 20px 0 10px; font-size: .76rem; }
.filter-label-row span { color: #858881; font-weight: 600; }
.filter-label-row strong { color: var(--green); font-size: .72rem; }
.chip-scroll { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; margin-right: -20px; padding-right: 20px; }
.chip-scroll::-webkit-scrollbar { display: none; }
.filter-chip { flex: 0 0 auto; border: 1px solid #d7d8d2; background: var(--paper); color: #676a64; border-radius: 999px; padding: 9px 14px; font-size: .78rem; cursor: pointer; }
.filter-chip.active { border-color: var(--green); background: var(--green); color: white; font-weight: 700; }
.purpose-grid { display: grid; grid-template-columns: repeat(3, minmax(84px, 104px)); justify-content: center; gap: 6px; }
.purpose-chip { min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 8px; border: 1px solid #d7d8d2; background: var(--paper); border-radius: 11px; color: #5f625c; text-align: center; font-size: .68rem; cursor: pointer; }
.purpose-chip b { font: 600 .9rem Arial, sans-serif; color: var(--green); }
.purpose-chip.active { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: #f0f4e2; color: var(--green); font-weight: 700; }

.results-section { padding: 26px 0 40px; background: #eeede8; }
.results-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.results-heading h2 { font-size: 1.2rem; }
.add-place-button { flex: 0 0 auto; padding: 8px 10px; border: 1px solid #cfd4c8; border-radius: 8px; background: #f7f8f2; color: var(--green); font-size: .68rem; font-weight: 800; cursor: pointer; }
.add-place-button:hover { background: #edf2e6; }
.place-list { display: grid; gap: 8px; }
.place-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; overflow: hidden; background: var(--paper); border: 1px solid #e2e2dc; border-radius: 14px; transition: transform .2s, box-shadow .2s; }
.place-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(36,42,36,.08); }
.place-card-main { display: block; grid-column: 1; grid-row: 1; min-width: 0; }
.place-card-body { padding: 13px 0 11px 15px; min-width: 0; }
.place-card-actions { display: flex; align-self: end; grid-column: 2; grid-row: 1; justify-content: flex-end; padding: 0 15px 11px 8px; }
.place-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.area-label { margin: 0 0 5px; color: #81847e; font-size: .66rem; font-weight: 600; }
.place-card h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .96rem; letter-spacing: -.035em; }
.tier-prefix { display: inline-grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; border-radius: 7px; background: var(--green); color: var(--lime); font: 800 .72rem Arial, sans-serif; }
.tier-prefix.unassigned { border: 1px solid #dfe0da; background: #f2f2ee; color: #90938c; }
.research-badge { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; height: fit-content; padding: 5px 7px; color: #775325; background: #f7ead8; border-radius: 6px; font-size: .62rem; font-weight: 700; }
.research-badge i { width: 5px; height: 5px; background: var(--orange); border-radius: 50%; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.tag { padding: 5px 7px; background: #f0f1ed; color: #666963; border-radius: 5px; font-size: .62rem; font-weight: 600; }
.empty-state { padding: 55px 20px; text-align: center; background: white; border-radius: 18px; }
.empty-state > span { font-size: 2rem; color: #afb1ac; }
.empty-state h3 { margin: 12px 0 5px; font-size: 1rem; }
.empty-state p { margin: 0 0 18px; color: var(--muted); font-size: .78rem; }
.empty-state a { color: var(--green); font-size: .8rem; font-weight: 700; }

.detail-page { padding-bottom: 70px; }
.detail-hero { padding: 48px 0 30px; }
.detail-hero > h1 { margin: 0; font-size: clamp(2rem, 9vw, 4rem); letter-spacing: -.065em; }
.detail-hero > .tags { margin: 15px 0 28px; }
.detail-content { display: grid; gap: 12px; }
.panel { padding: 22px 19px; border: 1px solid #dfdfd9; background: white; border-radius: 18px; }
.panel-heading { display: flex; align-items: center; gap: 11px; }
.panel-heading .section-kicker { margin-bottom: 3px; }
.panel-heading h2 { font-size: 1.15rem; }
.heading-icon { display: grid; place-items: center; flex: 0 0 39px; height: 39px; border-radius: 11px; }
.heading-icon.verified { background: #e3eadb; color: var(--green); }
.heading-icon.community { background: #eee6f2; color: #71567e; font-weight: 800; }
.heading-icon.maps { background: #fff0c7; color: #8a6200; font-size: .9rem; }
.count-badge { margin-left: auto; color: #777a74; background: #f0f0ec; border-radius: 999px; padding: 5px 8px; font-size: .66rem; }
.fact-list { margin: 17px 0 0; }
.fact-row { display: grid; grid-template-columns: 86px 1fr; padding: 13px 0; border-bottom: 1px solid #eeeeea; font-size: .78rem; }
.fact-row dt { color: #858881; }
.fact-row dd { margin: 0; text-align: right; font-weight: 600; }
.pending-value { color: #9a7550; }
.verification-note { display: flex; justify-content: space-between; margin-top: 15px; font-size: .69rem; }
.verification-note span { color: #858881; }
.verification-note strong { color: #9a7550; }
.operator-source { display: inline-block; margin-top: 11px; color: var(--green); font-size: .66rem; font-weight: 800; }
.map-action-row { display: flex; justify-content: flex-end; padding: 0 0 4px; }
.map-action-row .map-links-menu { justify-content: flex-end; }
.map-links { position: relative; }
.map-links summary { display: inline-flex; align-items: center; gap: 4px; padding: 5px 0; color: var(--green); cursor: pointer; font-size: .68rem; font-weight: 800; list-style: none; }
.map-links summary::-webkit-details-marker { display: none; }
.map-links summary::before { content: '⌖'; font-size: .85rem; }
.map-links-menu { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0 7px; }
.map-links-menu a { padding: 6px 8px; border: 1px solid #d9ddd4; border-radius: 7px; color: #536154; background: #f8faf6; font-size: .63rem; font-weight: 700; }
.map-links-compact summary { padding: 3px 0; font-size: .62rem; }
.map-links-compact .map-links-menu { justify-content: flex-end; padding-bottom: 1px; }
.menu-panel { padding: 0 19px; }
.menu-details summary { padding: 15px 0; color: var(--green); cursor: pointer; font-size: .72rem; font-weight: 800; list-style-position: inside; }
.menu-details p { margin: 0; padding: 0 0 15px; color: #5e625b; font-size: .72rem; line-height: 1.55; }
.community-empty { padding: 29px 10px 12px; text-align: center; }
.small-orbs { display: flex; justify-content: center; align-items: end; gap: 4px; height: 32px; margin-bottom: 14px; }
.small-orbs i { display: block; width: 25px; height: 25px; border-radius: 50%; background: #d8e1d4; }
.small-orbs i:nth-child(2) { width: 32px; height: 32px; background: #e8dce9; }
.small-orbs i:nth-child(3) { background: #ead9c9; }
.community-empty h3 { margin: 0; font-size: .91rem; }
.community-empty p { margin: 7px auto 16px; max-width: 330px; color: #7b7e77; font-size: .7rem; line-height: 1.6; }
.rating-integrity-note { display: grid; gap: 4px; margin-top: 16px; padding: 12px 13px; background: #f5f2f6; border-radius: 10px; color: #68616c; font-size: .65rem; line-height: 1.55; }
.rating-integrity-note strong { color: #71567e; font-size: .69rem; }
.secondary-button { padding: 10px 14px; border: 1px solid #d5d6d0; background: white; border-radius: 9px; color: #5d605a; font-size: .7rem; font-weight: 700; cursor: pointer; }
.map-rating-panel { grid-column: 1 / -1; }
.map-source-list { display: grid; }
.map-source-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 15px 0; border-bottom: 1px solid #eeeeea; }
.map-source-brand { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: white; font: 800 .78rem Arial, sans-serif; }
.naver-brand { background: #03c75a; }
.kakao-brand { background: #fee500; color: #241f00; }
.map-source-copy strong, .map-source-copy span, .map-source-score strong, .map-source-score span { display: block; }
.map-source-copy strong { font-size: .78rem; }
.map-source-copy span { margin-top: 2px; color: #858881; font-size: .61rem; line-height: 1.4; }
.map-source-score { min-width: 58px; text-align: right; }
.map-source-score strong { color: var(--green); font-size: .92rem; }
.map-source-score span { color: #858881; font-size: .58rem; }
.map-source-row > a { grid-column: 2 / -1; justify-self: start; color: var(--green); font-size: .66rem; font-weight: 800; }
.missing-link { grid-column: 2 / -1; color: #9a9d97; font-size: .62rem; }
.rating-policy-note { margin: 14px 0 0; color: #797c75; font-size: .62rem; line-height: 1.6; }
.rating-policy-note a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.correction-box { padding: 23px 20px; background: #e7ebd5; border-radius: 18px; }
.correction-box h2 { font-size: 1.2rem; }
.correction-box p:not(.section-kicker) { margin: 8px 0 15px; color: #6c715e; font-size: .7rem; line-height: 1.6; }
.text-button { display: flex; align-items: center; gap: 3px; padding: 0; border: 0; background: transparent; color: var(--green); font-size: .73rem; font-weight: 800; cursor: pointer; }
.text-button svg { width: 15px; height: 15px; }
.disclosure { padding: 18px 19px; border: 1px dashed #cbc9c0; border-radius: 15px; }
.disclosure strong { font-size: .76rem; }
.disclosure p { margin: 5px 0 0; color: #7d8079; font-size: .66rem; line-height: 1.6; }

body.dialog-open { overflow: hidden; }
.cafe-request-dialog { width: min(calc(100% - 32px), 520px); max-height: min(92vh, 700px); margin: auto; padding: 0; border: 0; border-radius: 22px; background: white; color: var(--ink); box-shadow: 0 20px 70px rgba(0,0,0,.18); }
.cafe-request-dialog::backdrop { background: rgba(23,27,24,.5); backdrop-filter: blur(3px); }
.request-form { padding: 10px 20px 24px; }
.request-notice { margin: 14px 0 18px; padding: 10px 11px; color: #766a55; background: #f6f1df; border-radius: 9px; font-size: .65rem; line-height: 1.55; }
.request-field { display: grid; gap: 6px; margin-top: 13px; color: #6c7069; font-size: .7rem; font-weight: 700; }
.request-field b { color: var(--orange); }
.request-field input, .request-field textarea { width: 100%; border: 1px solid #d7d9d2; border-radius: 9px; outline: 0; background: #fbfbf9; color: var(--ink); padding: 10px 11px; font-size: .76rem; font-weight: 400; }
.request-field textarea { min-height: 78px; resize: vertical; line-height: 1.5; }
.request-field input:focus, .request-field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(37,89,67,.1); }
.request-submit { width: 100%; margin-top: 20px; }
.request-submit:disabled { opacity: .55; cursor: wait; }
.rating-dialog { width: min(100%, 520px); max-height: min(92vh, 820px); margin: auto auto 0; padding: 0; border: 0; border-radius: 22px 22px 0 0; background: white; color: var(--ink); box-shadow: 0 -12px 50px rgba(0,0,0,.18); }
.rating-dialog::backdrop { background: rgba(23,27,24,.5); backdrop-filter: blur(3px); }
.rating-form { padding: 10px 20px calc(24px + env(safe-area-inset-bottom)); }
.rating-sheet-handle { width: 38px; height: 4px; margin: 0 auto 16px; background: #d9dad4; border-radius: 99px; }
.rating-form-header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.rating-form-header h2 { margin: 7px 0 0; font-size: 1.35rem; letter-spacing: -.045em; }
.preview-badge { padding: 4px 7px; color: #71567e; background: #f0e9f2; border-radius: 5px; font-size: .58rem; font-weight: 800; }
.rating-close { display: grid; place-items: center; width: 38px; height: 38px; border: 0; background: #f2f2ee; border-radius: 50%; color: #666963; font-size: 1.35rem; cursor: pointer; }
.rating-preview-notice { margin: 14px 0 18px; padding: 10px 11px; color: #766a55; background: #f6f1df; border-radius: 9px; font-size: .65rem; line-height: 1.55; }
.rating-section { margin: 0; padding: 17px 0; border: 0; border-top: 1px solid #e9e9e4; }
.rating-section legend, .rating-section > h3 { width: 100%; margin: 0 0 13px; padding: 0; font-size: .8rem; font-weight: 800; }
.rating-section legend > span, .rating-section > h3 > span { display: inline-grid; place-items: center; width: 21px; height: 21px; margin-right: 7px; color: white; background: var(--green); border-radius: 50%; font: 700 .6rem Arial, sans-serif; }
.rating-section > h3 b { color: #71567e; }
.purpose-choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.purpose-choice-grid input, .criterion-rating input, .rating-stars input { position: absolute; opacity: 0; pointer-events: none; }
.purpose-choice-grid label { padding: 10px 9px; border: 1px solid #dadbd5; border-radius: 9px; color: #686b65; text-align: center; font-size: .68rem; font-weight: 700; cursor: pointer; }
.purpose-choice-grid input:checked + label { color: var(--green); border-color: var(--green); background: #edf2ea; box-shadow: 0 0 0 1px var(--green); }
.rating-scale-wrap { width: min(100%, 230px); margin-inline: auto; }
.rating-stars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rating-stars label { grid-row: 1; justify-self: center; color: #dcddd7; font-size: 2rem; line-height: 1; cursor: pointer; }
.rating-stars label[for="rating-score-1"] { grid-column: 1; }
.rating-stars label[for="rating-score-2"] { grid-column: 2; }
.rating-stars label[for="rating-score-3"] { grid-column: 3; }
.rating-stars label[for="rating-score-4"] { grid-column: 4; }
.rating-stars label[for="rating-score-5"] { grid-column: 5; }
.rating-stars input:checked ~ label, .rating-stars label:hover, .rating-stars label:hover ~ label { color: #e1a82e; }
.rating-scale-labels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 9px; color: #797c75; font-size: .58rem; line-height: 1.3; }
.rating-scale-labels span { width: max-content; white-space: nowrap; text-align: center; }
.rating-scale-labels span:first-child { grid-column: 1; justify-self: center; }
.rating-scale-labels span:last-child { grid-column: 5; justify-self: center; }
.criterion-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding: 11px 0; border: 0; border-bottom: 1px solid #f0f0ec; }
.criterion-copy { display: grid; flex: 1; min-width: 0; gap: 3px; }
.criterion-label { font-size: .68rem; font-weight: 700; }
.criterion-direction { color: #888b84; font-size: .55rem; line-height: 1.35; }
.criterion-rating { display: flex; align-items: center; gap: 8px; }
.criterion-stars { display: flex; flex-direction: row-reverse; gap: 2px; }
.criterion-stars label { color: #dcddd7; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.criterion-stars input:checked ~ label, .criterion-stars label:hover, .criterion-stars label:hover ~ label { color: #e1a82e; }
.criterion-na { padding: 6px 7px; border: 1px solid #dedfd9; border-radius: 7px; color: #777a74; white-space: nowrap; font-size: .56rem; font-weight: 700; cursor: pointer; }
.criterion-rating input:checked + .criterion-na { color: white; border-color: #777a74; background: #777a74; }
.rating-select-label { display: grid; grid-template-columns: 1fr 145px; align-items: center; gap: 12px; margin-top: 8px; color: #696c66; font-size: .68rem; font-weight: 700; }
.rating-select-label select { width: 100%; height: 38px; padding: 0 9px; border: 1px solid #d9dad4; background: white; border-radius: 8px; color: var(--ink); font-size: .67rem; }
.rating-note-label { display: block; margin-top: 15px; color: #696c66; font-size: .68rem; font-weight: 700; }
.rating-note-label textarea { width: 100%; min-height: 84px; margin-top: 7px; padding: 10px; resize: vertical; border: 1px solid #d9dad4; border-radius: 9px; color: var(--ink); font-size: .7rem; line-height: 1.55; }
.rating-note-label small { display: block; margin-top: 5px; color: #989b94; font-size: .57rem; font-weight: 500; }
.relationship-check { display: flex; gap: 8px; align-items: flex-start; padding: 12px; background: #f5f2f6; border-radius: 9px; color: #625b65; font-size: .64rem; line-height: 1.45; }
.relationship-check input { margin: 2px 0 0; accent-color: var(--green); }
.rating-privacy { margin: 10px 0 16px; color: #898c85; font-size: .58rem; line-height: 1.55; }
.rating-preview-submit { display: block; width: 100%; min-height: 46px; border: 0; cursor: pointer; }

@media (max-width: 380px) {
  .landing-page { padding-inline: 16px; }
  .category-menu-item { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; padding-inline: 13px; }
  .category-number { width: 38px; height: 38px; }
  .coming-badge { font-size: .45rem; }
  .criterion-row { display: grid; align-items: start; }
  .criterion-rating { justify-content: space-between; }
}

footer { padding: 38px 0 calc(38px + env(safe-area-inset-bottom)); background: #20231f; color: white; }
.footer-inner { width: min(calc(100% - 40px), 1040px); margin: auto; }
.footer-brand .brand-mark { background: var(--lime); color: var(--ink); }
.footer-inner p { margin: 14px 0 30px; color: #aeb1ab; font-size: .72rem; }
.footer-inner small { color: #73766f; font-size: .62rem; }
.footer-links { display: flex; gap: 14px; margin-bottom: 12px; }
.footer-links a { color: #afb8b1; font-size: .66rem; font-weight: 700; }
.admin-width { width: min(calc(100% - 40px), 900px); margin-inline: auto; }
.admin-page { padding: 42px 0 70px; }
.admin-intro h1 { margin: 0; font-size: clamp(2rem, 8vw, 3.2rem); letter-spacing: -.06em; }
.admin-intro > p:not(.section-kicker) { max-width: 610px; margin: 14px 0 20px; color: var(--muted); font-size: .78rem; line-height: 1.7; }
.local-mode { display: flex; align-items: center; gap: 7px; padding: 11px 13px; background: #f1eedc; border: 1px solid #e3ddbb; border-radius: 11px; font-size: .68rem; }
.local-mode i { width: 7px; height: 7px; background: #d69438; border-radius: 50%; }
.local-mode.remote-mode { background: #e3efe7; border-color: #c9ddcf; }
.local-mode.remote-mode i { background: #2c8b58; }
.local-mode span { font-weight: 800; }
.local-mode strong { margin-left: auto; color: #7f7247; font-weight: 600; }
.local-mode button { padding: 0; border: 0; background: transparent; color: var(--green); font-size: .62rem; font-weight: 800; cursor: pointer; }
.admin-layout { display: grid; gap: 14px; margin-top: 28px; }
.admin-places { padding: 15px; background: #e9eadf; border-radius: 14px; }
.admin-places label, .admin-places label > span { display: block; }
.admin-places label > span { margin-bottom: 7px; color: #777a74; font-size: .66rem; font-weight: 700; }
.admin-places select, .admin-field select { width: 100%; height: 43px; padding: 0 10px; border: 1px solid #d4d5ce; background: white; border-radius: 9px; color: var(--ink); font-size: .76rem; }
.admin-places > a { display: inline-block; margin-top: 11px; color: var(--green); font-size: .67rem; font-weight: 800; }
.admin-form { display: grid; gap: 12px; }
.admin-card { padding: 20px; border: 1px solid #deded8; background: white; border-radius: 17px; }
.admin-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.admin-card-heading .section-kicker { margin-bottom: 3px; }
.admin-card-heading h2 { margin: 0; font-size: 1.08rem; letter-spacing: -.04em; }
.admin-grid { display: grid; gap: 13px; }
.admin-field, .admin-field > span, .admin-field small { display: block; }
.admin-field > span { margin-bottom: 6px; color: #666963; font-size: .66rem; font-weight: 700; }
.admin-field input { width: 100%; height: 43px; padding: 0 11px; border: 1px solid #d4d5ce; background: #fbfbf9; border-radius: 9px; color: var(--ink); font-size: .76rem; outline: none; }
.admin-field input:focus, .admin-field select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(37,89,67,.1); }
.admin-field small { margin-top: 5px; color: #969991; font-size: .59rem; line-height: 1.5; }
.admin-platform-block { padding: 14px 0; border-top: 1px solid #eeeeea; }
.admin-platform-block > strong { font-size: .8rem; }
.admin-platform-block > span { margin-left: 7px; color: #92958f; font-size: .61rem; }
.admin-platform-block > .admin-field, .admin-platform-block > .admin-grid { margin-top: 12px; }
.admin-actions { position: sticky; bottom: 0; z-index: 10; display: flex; justify-content: space-between; gap: 10px; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--cream) 22%); }
.admin-actions button { min-height: 43px; }
.admin-actions button:disabled { opacity: .45; cursor: not-allowed; }
.admin-save { border: 0; cursor: pointer; }
.remote-save-note { align-self: center; color: #777a74; font-size: .63rem; }
.admin-login { max-width: 450px; margin-top: 26px; display: grid; gap: 14px; }
.admin-login .admin-save { min-height: 44px; }
.admin-login-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.admin-login-actions button { min-height: 44px; }
.login-help { margin: -3px 0 0; color: #858881; font-size: .62rem; line-height: 1.55; }
.login-error { margin: 0; padding: 10px; color: #8a3d32; background: #f8e9e5; border-radius: 8px; font-size: .68rem; line-height: 1.5; }
.login-error.success { color: #255943; background: #e3efe7; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 50; max-width: calc(100% - 40px); transform: translate(-50%, 20px); padding: 11px 15px; background: #20231f; color: white; border-radius: 10px; box-shadow: 0 8px 30px rgba(0,0,0,.2); opacity: 0; pointer-events: none; transition: .2s; font-size: .75rem; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.not-found { min-height: 65vh; display: grid; place-content: center; text-align: center; }
.not-found > span { color: var(--green); font: 700 .75rem Arial, sans-serif; letter-spacing: .15em; }
.not-found h1 { margin: 10px 0; font-size: 1.8rem; }
.not-found p { margin: 0 0 22px; color: var(--muted); font-size: .82rem; }
.primary-button { justify-self: center; padding: 11px 15px; color: white; background: var(--green); border-radius: 10px; font-size: .78rem; font-weight: 700; }

@media (min-width: 720px) {
  .site-header { height: 72px; }
  .hero { padding: 64px 0 20px; }
  .purpose-grid { grid-template-columns: repeat(6, minmax(84px, 104px)); }
  .place-list { grid-template-columns: repeat(2, 1fr); }
  .detail-width { max-width: 760px; }
  .detail-content { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .operator-panel, .community-panel, .correction-box, .disclosure { grid-column: span 2; }
  .map-source-row { grid-template-columns: 34px minmax(0, 1fr) auto auto; }
  .map-source-row > a { grid-column: auto; justify-self: end; }
  .admin-layout { grid-template-columns: 210px minmax(0, 1fr); align-items: start; }
  .admin-places { position: sticky; top: 90px; }
  .admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-grid .admin-field:nth-child(n+3) { grid-column: span 2; }
  .admin-grid.compact .admin-field { grid-column: auto; }
  .rating-dialog { margin: auto; border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
