:root {
  color-scheme: light;
  --ink: #27292c;
  --muted: #595d63;
  --line: #dedfe1;
  --paper: #fbfbfc;
  --surface: #fff;
  --soft: #f4f4f5;
  --accent: var(--ku-hover-text, #292c30);
  --accent-fill: var(--ku-action,#34363a);
  --accent-hover: var(--ku-hover-bg, #f1f2f3);
  --selected: var(--ku-selected-bg, #e7e9eb);
  --price-ink: var(--ku-warm, #4e5158);
  --hero-start: #25292a;
  --hero-end: #414b34;
  --tile-filter: saturate(.95);
  --sidebar-width: clamp(174px, 15vw, 216px);
  --sans: Inter, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  font-synthesis: weight;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f1f2f4;
  --muted: #b9bdc3;
  --line: #3c3f44;
  --paper: #17181b;
  --surface: #202226;
  --soft: #282b2f;
  --accent: var(--ku-hover-text, #f1f2f4);
  --accent-fill: var(--ku-action,#34363a);
  --accent-hover: var(--ku-hover-bg, #303237);
  --selected: var(--ku-selected-bg, #383b40);
  --price-ink: var(--ku-warm, #d8dbdf);
  --tile-filter: invert(.92) hue-rotate(177deg) saturate(.62) brightness(.88);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 18px; }
body { margin: 0; padding-inline-start: var(--sidebar-width); background: var(--paper); word-break: keep-all; }
button, select, input { font: inherit; color: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; background: none; padding: 0; }
:is(button,a,select,input):focus-visible { outline: 3px solid var(--ku-focus, var(--accent)); outline-offset: 3px; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
svg { width: 1.18em; height: 1.18em; vertical-align: middle; }
button span[data-icon] { display: inline-flex; }
[hidden] { display: none !important; }
.wrap { width: min(1200px, calc(100% - 72px)); margin-inline: auto; }
.skip-content { position: fixed; z-index: 10; top: 8px; left: 8px; padding: 0.5rem 0.75rem; background: var(--surface); transform: translateY(-180%); }
.skip-content:focus { transform: translateY(0); }

.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 4; width: var(--sidebar-width);
  display: flex; flex-direction: column; padding: 1.4375rem 0.8125rem 0.75rem;
  color: var(--ink); background: var(--surface); border-right: 1px solid var(--line);
}
.brand-row { display: flex; align-items: center; justify-content: space-between; flex: none; padding: 0 0.6875rem 1rem; }
.side-scroll { min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: var(--line) transparent; padding: 0.1875rem; }
.theme-group { flex: none; }
.mobile-header, .bottom-nav, .drawer-close { display: none; }
.sidebar :is(button,a):focus-visible { outline-color: var(--ku-focus, var(--accent)); }
.brand { display: block; width: min(120px, 100%); border-radius: 4px; }
:root[data-theme="dark"] .brand-logo { filter:invert(1); }
.brand-logo { display: block; width: 100%; height: auto; }
.side-group { border-top: 1px solid var(--line); margin-block-start: 12px; padding-block-start: 0.625rem; }
.side-scroll > :first-child { margin-block-start: 0; }
.side-caption { margin: 0 10px 8px; color: var(--muted); font-size: 0.6875rem; font-weight: 600; letter-spacing: .055em; }
.side-links { display: grid; gap: 0.125rem; }
.side-links a { display: flex; align-items: center; gap: 0.625rem; padding: 0.4375rem 0.5625rem; min-height: 35px; border-radius: 8px; color: var(--ink); font-size: 0.875rem; font-weight: 550; text-align: left; }
.side-links [data-icon] { display: inline-flex; }
.side-links svg { width: 18px; height: 18px; flex: none; }
.side-links a:hover { background: var(--ku-hover-bg, var(--soft)); color: var(--ku-hover-text, var(--ink)); }
.side-links a[aria-current=page] { background: var(--selected); color: var(--accent); font-weight: 750; }
.listing-actions, .tools, .view-switch { display: flex; align-items: center; gap: 0.375rem; }
.listing-actions { flex-shrink: 0; }
.listing-actions button, .view-switch button { display: inline-flex; align-items: center; justify-content: center; gap: 0.3125rem; font-size: 0.8125rem; font-weight: 650; white-space: nowrap; }
.listing-actions button { padding: 0.4375rem 0.625rem; min-height: 36px; border-radius: 9px; }
.listing-actions #saved { border: 1px solid var(--line); }
.listing-actions #saved[aria-pressed=true] { color: var(--price-ink); }
.listing-actions #register { background: var(--accent-fill); color: var(--ku-brand-on,#fff); }
.listing-actions #register:hover { background: var(--accent-hover); color: var(--ku-hover-text, var(--ink)); }

.appearance { display: flex; gap: 0.125rem; padding: 0.1875rem; border: 1px solid var(--line); border-radius: 11px; background: var(--soft); }
.appearance button { flex: 1; min-height: 37px; display: flex; align-items: center; justify-content: center; gap: 0.3125rem; font-size: 0.75rem; font-weight: 700; color: var(--muted); border-radius: 7px; }
.appearance button[aria-pressed=true] { color: var(--accent); background: var(--selected); box-shadow: 0 1px 3px #20243124; }
.appearance i { width: 11px; height: 11px; flex: none; border-radius: 50%; border: 1px solid #878894; background: #fff; }
.appearance [data-set-theme=dark] i { background: #25292a; }

.hero { padding: 1.5625rem 0 0; }
#search-form { display: flex; align-items: center; gap: 0.75rem; width: 100%; min-height: 46px; padding: 0.25rem 0.3125rem 0.25rem 0.875rem; margin-bottom: 19px; background: var(--soft); border: 1px solid var(--line); border-radius: 28px; color: var(--muted); }
#search-form input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 0.875rem; color: var(--ink); }
#search-form input::placeholder { color: var(--muted); }
#search-form input:focus { outline: 0; }
#search-form:focus-within { outline: 2px solid var(--ku-focus, var(--accent)); outline-offset: 1px; }
#search-form button { background: var(--accent-fill); color: var(--ku-brand-on,#fff); border-radius: 22px; padding: 0.5625rem 1.3125rem; font-size: 0.875rem; font-weight: 750; }
.poster { position: relative; isolation: isolate; display: grid; grid-template-columns: 44% minmax(0,1fr); width: 100%; overflow: hidden; border-radius: 15px; background: linear-gradient(112deg,var(--hero-start) 5%,var(--hero-end) 56%,#62694b 100%); color: white; text-align: left; }
.poster-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 1.75rem clamp(1.5rem,3.5vw,3.25rem); min-height: 228px; }
.poster-copy small { color: #dce9bd; font-size: 0.75rem; font-weight: 700; letter-spacing: .055em; }
.poster-copy strong { margin: 10px 0 18px; font-size: clamp(1.9375rem,calc(3.1vw * var(--kindup-scale, 1)),2.875rem); font-weight: 780; line-height: 1.13; letter-spacing: -.075em; }
.poster-link { display: inline-flex; align-items: center; gap: 0.625rem; background: #e2ff65; color: #202516; border-radius: 5px; padding: 0.4375rem 0.8125rem; font-size: 0.75rem; font-weight: 750; }
.poster-link b { font-size: 0.9375rem; font-weight: 500; }
.poster-photo { filter:saturate(.7); position: absolute; inset: 0 0 0 auto; width: 65%; height: 100%; object-fit: cover; object-position: center 55%; mask-image: linear-gradient(90deg,transparent,black 30%); }
.poster:hover .poster-link { background: #edff9c; }

.results { padding-top: 2.25rem; scroll-margin-top: 8px; }
.section-heading, .collection-head { display: flex; align-items: center; justify-content: space-between; gap: 0.625rem; }
.section-heading { margin-bottom: 16px; }
h1, .regions h2 { margin: 0; font-size: clamp(1.375rem,calc(2.15vw * var(--kindup-scale, 1)),1.9375rem); line-height: 1.3; font-weight: 750; letter-spacing: -.065em; }
h1 em { color: var(--ink); font-style: normal; }
#clear, .map-fit { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 0.5rem 0.8125rem; font-size: 0.8125rem; font-weight: 600; }
#clear:hover { border-color: var(--accent); }
.collection { border-block: 1px solid var(--line); padding: 1.0625rem 0 1.4375rem; }
.collection-head { flex-wrap: wrap; margin-bottom: 15px; }
.collection-head > strong { font-size: 1rem; }
.collection-head > strong span { margin-left: 3px; color: var(--accent); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.tools { margin-inline-start: auto; }
.view-switch { gap: 0.0625rem; border: 1px solid var(--line); background: var(--soft); padding: 0.125rem; border-radius: 9px; }
.view-switch button { padding: 0.3125rem 0.5rem; min-height: 29px; font-size: 0.75rem; border-radius: 6px; color: var(--muted); }
.view-switch button[aria-pressed=true] { background: var(--selected); color: var(--accent); box-shadow: 0 1px 3px #20243120; }
.tools select { min-height: 35px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 0.3125rem 0.4375rem; font-size: 0.75rem; }
#selection { font-size: 0.8125rem; color: var(--accent); margin-bottom: 13px; }
#selection button { text-decoration: underline; margin-left: 8px; }

.cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.4375rem 1.0625rem; }
.card { position: relative; min-width: 0; }
.open-card { display: flex; flex-direction: column; text-align: left; width: 100%; align-items: flex-start; }
.photo { width: 100%; aspect-ratio: 1.6; overflow: hidden; border-radius: 10px; background: var(--soft); display: block; margin-bottom: 12px; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .18s; }
.open-card:hover .photo img { transform: scale(1.025); }
.area, .terms { color: var(--muted); font-size: 0.75rem; line-height: 1.5; }
.name { font-size: clamp(0.9375rem,calc(1.35vw * var(--kindup-scale, 1)),1.1875rem); font-weight: 750; letter-spacing: -.05em; margin: 3px 0 6px; line-height: 1.4; }
.price { color: var(--price-ink); font-weight: 750; font-size: 1rem; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.bits { display: flex; align-items: center; margin-top: 6px; color: var(--muted); font-size: 0.75rem; }
.bits i { font-style: normal; }
.bits i + i::before { content: "·"; margin-inline: 6px; }
.heart { position: absolute; right: 7px; top: 7px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #202431bf; color: white; }

.heart[aria-pressed=true] { background:var(--surface); }
.heart[aria-pressed=true] svg { color:var(--ku-favorite); fill:currentColor; }
#more { display: flex; align-items: center; gap: 0.5625rem; font-size: 0.8125rem; font-weight: 700; padding: 0.5625rem 1.1875rem; margin: 22px auto 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
#empty { color: var(--muted); padding: 1.125rem 0; text-align: center; }
#empty button { margin-left: 8px; }

#home-map { margin-top: 32px; }
.map-heading { display: flex; justify-content: space-between; align-items: center; gap: 0.625rem; margin-bottom: 11px; }
.map-heading h2 { font-size: clamp(1.25rem,calc(2vw * var(--kindup-scale, 1)),1.6875rem); margin: 0; letter-spacing: -.055em; }
.map-styles { display: inline-flex; border: 1px solid var(--line); border-radius: 20px; background: var(--soft); padding: 0.125rem; }
.map-styles button { border-radius: 18px; padding: 0.375rem 0.8125rem; color: var(--muted); font-size: 0.75rem; font-weight: 700; min-height: 32px; }
.map-styles [aria-pressed=true] { background: var(--selected); color: var(--accent); box-shadow: 0 1px 3px #12151c26; }
.map-heading h2 { display:flex; align-items:center; gap:0.625rem; }
.map-heading-icon { display:inline-flex; align-items:center; }
.map-heading-icon svg { width:23px; height:23px; }
.map-frame { position:relative; min-width:0; }
#map { height:clamp(350px,57vh,550px); border:1px solid var(--line); border-radius:10px; isolation:isolate; background:var(--soft); }
#results-map-slot #map { height:clamp(380px,62vh,620px); }
.map-north,.map-crosshair,.map-directory,.waypoint-info { display:none; }
.district-tag { border:0; background:none; color:var(--map-ink); text-align:center; white-space:nowrap; letter-spacing:.14em; font:700 0.6875rem/1.125rem var(--sans); text-shadow:0 1px 2px #111,0 0 4px #111; }
.district-tag.river { color:#c8c9da; letter-spacing:.4em; }
.map-fit, #tile-error { position: absolute; z-index: 2; right: 10px; top: 10px; background: var(--surface); }
.map-fit { display: grid; place-items: center; width: 37px; height: 37px; padding: 0; border-radius: 9px; }
.map-fit svg { width: 19px; height: 19px; }
.marker-price { width: max-content; background: var(--accent-fill); border: 2px solid var(--surface); border-radius: 10px; padding: 0.1875rem 0.5rem; color: var(--ku-brand-on,#fff); font: 700 0.75rem/1.2 var(--sans); white-space: nowrap; box-shadow: 0 2px 5px #1417323b; }
.leaflet-container { font-family: var(--sans); }
.leaflet-bar a, .leaflet-bar a:hover, .leaflet-bar a:focus { background: var(--surface); color: var(--ink); border-color: var(--line); }
.leaflet-bar a.leaflet-disabled { background: var(--soft); color: var(--muted); }
.leaflet-container .leaflet-control-attribution { background: var(--surface); color: var(--muted); }
.leaflet-control-attribution a { color: var(--accent); }



#map-panel[data-style=normal] #map { border-radius:1rem; background:#fafaf9; }
#map-panel[data-style=normal] .leaflet-control-zoom { border:1px solid #dedfdf; border-radius:.7rem; overflow:hidden; box-shadow:0 2px 7px #303d471c; }
#map-panel[data-style=normal] .leaflet-control-zoom a { background:#fff; color:#313b41; }
#map-panel[data-style=normal] .leaflet-control-attribution { color:#46545d; background:#ffffffed; }
#map-panel[data-style=normal] .leaflet-control-attribution a { color:#344f60; }
#map-panel[data-style=normal] .marker-price { display:flex; align-items:center; gap:.32rem; border:1px solid #b56742; color:#7c351b; background:#fff; border-radius:1rem; padding:.28rem .53rem; box-shadow:0 2px 6px #29333730; }
#map-panel[data-style=normal] .marker-price::before { content:""; flex:none; width:.46rem; height:.46rem; background:#ee6d1a; border-radius:50% 50% 50% 15%; transform:rotate(-45deg); }
#map-panel[data-style=normal] .marker-price.chosen { background:#ff6f0f; color:#3d200d; border-color:#fff; }
#map-panel[data-style=normal] .marker-price.chosen::before { background:#3d200d; }
#map-panel[data-style=gta] {
  --console:#25292a; --edge:#444958; --bright:#e2ff65; --waypoint:#c7ec55;
  --map-ink:#f2f5e9; --map-muted:#c0c1c9; --map-panel:#313338; --map-hover:#37422e;
  --map-height:clamp(400px,60vh,570px);
  background:var(--console); border:1px solid var(--edge); border-radius:9px; overflow:hidden;
}
#map-panel[data-style=gta] .map-heading { margin:0; min-height:58px; padding:0 0.9375rem 0 1.1875rem; border-bottom:1px solid var(--edge); color:var(--map-ink); }
#map-panel[data-style=gta] .map-heading h2 { font-size:clamp(1.125rem,calc(1.7vw * var(--kindup-scale, 1)),1.5625rem); }
#map-panel[data-style=gta] .map-heading-icon { color:var(--bright); }
#map-panel[data-style=gta] .map-styles { padding:0; border:1px solid var(--edge); background:var(--map-panel); border-radius:4px; overflow:hidden; }
#map-panel[data-style=gta] .map-styles button { border-radius:0; color:var(--map-muted); padding-inline:0.9375rem; }
#map-panel[data-style=gta] .map-styles [aria-pressed=true] { background:var(--bright); color:var(--console); }
[data-style=gta] .map-workspace { display:grid; grid-template-columns:minmax(0,1fr) clamp(198px,21%,260px); }
#map-panel[data-style=gta] #map { height:var(--map-height); border:0; border-radius:0; background:#3c3f44; }
[data-style=gta] .map-directory { display:flex; flex-direction:column; min-width:0; height:var(--map-height); background:var(--map-panel); border-left:1px solid var(--edge); }
.directory-heading { display:flex; align-items:center; justify-content:space-between; min-height:46px; padding:0 0.875rem; border-bottom:1px solid var(--edge); color:var(--map-ink); }
.directory-heading h3 { margin:0; font-size:0.875rem; letter-spacing:-.03em; }
.directory-heading span,.directory-toggle b { color:var(--bright); font-size:0.6875rem; font-variant-numeric:tabular-nums; }
.directory-items { min-height:0; overflow-y:auto; scrollbar-color:#656877 transparent; scrollbar-width:thin; overscroll-behavior:contain; }
.directory-items button { display:flex; width:100%; gap:0.625rem; align-items:center; min-height:58px; padding:0.5rem 0.6875rem; text-align:left; color:var(--map-ink); border-bottom:1px solid var(--edge); }
.directory-items button:hover { background:var(--map-hover); color:var(--map-ink); }
.directory-items button[aria-pressed=true] { background:var(--bright); color:var(--console); box-shadow:inset 4px 0 #879c66; }
.directory-glyph { display:grid; place-items:center; flex:0 0 25px; }
.directory-glyph svg { width:21px; height:21px; }
.directory-items button > span:last-child { min-width:0; display:grid; gap:0.25rem; }
.directory-items strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:0.8125rem; font-weight:700; }
.directory-items small { color:var(--map-muted); font-size:0.6875rem; }
.directory-items [aria-pressed=true] small { color:#3e4d28; }
.directory-toggle { display:none; }
[data-style=gta] .waypoint-info { display:flex; align-items:center; gap:0.6875rem; padding:0.625rem 0.9375rem; color:var(--map-ink); background:var(--console); border-top:1px solid var(--edge); }
.waypoint-sign { flex:none; width:31px; height:31px; display:grid; place-items:center; color:var(--waypoint); border:1px solid #718653; border-radius:4px; }
.waypoint-copy { min-width:0; display:grid; gap:0.1875rem; }
.waypoint-copy small { font-size:0.6875rem; color:var(--map-muted); }
.waypoint-copy strong { font-size:0.9375rem; text-overflow:ellipsis; white-space:nowrap; overflow:hidden; }
#waypoint-open { margin-left:auto; padding:0.4375rem 0.625rem; border:1px solid #747783; color:var(--map-ink); border-radius:3px; font-size:0.75rem; font-weight:700; white-space:nowrap; }
#waypoint-open:hover { border-color:var(--bright); color:var(--bright); }
[data-style=gta] .map-frame::after { content:""; position:absolute; inset:0; pointer-events:none; box-shadow:inset 0 0 40px #13162430; }
[data-style=gta] .map-crosshair { display:block; position:absolute; left:50%; top:50%; width:16px; height:16px; margin:-8px; pointer-events:none; z-index:1;
  background:linear-gradient(white,white) left center/4px 1px,linear-gradient(white,white) right center/4px 1px,linear-gradient(white,white) center top/1px 4px,linear-gradient(white,white) center bottom/1px 4px; background-repeat:no-repeat; filter:drop-shadow(0 0 1px #111); }
[data-style=gta] .map-north { position:absolute; z-index:1; display:flex; align-items:center; gap:0.3125rem; top:12px; left:12px; padding:0.25rem 0.4375rem; background:#202431e8; color:var(--map-ink); pointer-events:none; font:700 0.75rem/1.3 Consolas,monospace; }
.map-north i { width:9px; height:12px; background:var(--bright); clip-path:polygon(50% 0,100% 100%,50% 73%,0 100%); }
[data-style=gta] .leaflet-top.leaflet-left { top:auto; bottom:39px; }
[data-style=gta] .leaflet-bar { border:1px solid var(--edge); border-radius:3px; overflow:hidden; }
[data-style=gta] .leaflet-bar a,[data-style=gta] .map-fit { border-radius:0; background:#202431ec; color:var(--map-ink); border-color:var(--edge); }
[data-style=gta] .map-fit { border-radius:3px; }
[data-style=gta] .leaflet-bar a:hover,[data-style=gta] .map-fit:hover { background:var(--map-hover); }
[data-style=gta] .leaflet-control-scale-line { background:#202431e6; color:#fff; border-color:#eee; text-shadow:none; font:0.625rem/1.2 Consolas,monospace; }
[data-style=gta] .leaflet-control-attribution { background:#202431df; color:var(--map-muted); font-size:0.5625rem; }
[data-style=gta] .leaflet-control-attribution a { color:var(--bright); }
.blip { width:28px; height:28px; display:grid; place-items:center; position:relative; border-radius:50%; background:var(--console); border:1.5px solid var(--bright); color:var(--map-ink); box-shadow:0 1px 3px #141723; }
.blip svg { width:17px; height:17px; display:block; stroke-width:2.2; }
.blip b { position:absolute; top:-5px; right:-7px; min-width:15px; padding:0.0625rem 0.1875rem; text-align:center; border:1px solid var(--console); background:var(--bright); color:var(--console); font:700 0.625rem/0.75rem Consolas,monospace; }
.blip.chosen { background:#2c3426; border:2px solid var(--waypoint); color:var(--waypoint); box-shadow:0 0 0 4px #2b3325e8,0 0 0 5px #c7ec55c9; }
.blip.chosen svg { width:20px; height:20px; }
@media(max-width:760px){
  #map-panel[data-style=gta] { --map-height:clamp(300px,51svh,440px); }
  #map-panel[data-style=gta] .map-heading { padding:0 0.625rem; min-height:51px; }
  #map-panel[data-style=gta] .map-heading h2 { gap:0.375rem; }
  [data-style=gta] .map-workspace { display:block; }
  [data-style=gta] .map-directory { height:auto; border-left:0; border-top:1px solid var(--edge); }
  .directory-heading { display:none; }
  .directory-toggle { display:flex; justify-content:space-between; align-items:center; color:var(--map-ink); padding:0.5625rem 0.8125rem; min-height:42px; font-size:0.8125rem; font-weight:700; }
  .directory-toggle b { margin-left:5px; }
  .directory-toggle[aria-expanded=true] svg { transform:rotate(180deg); }
  .directory-items { display:none; max-height:220px; }
  .directory-toggle[aria-expanded=true] + .directory-items { display:block; }
  [data-style=gta] .waypoint-info { padding:0.5rem 0.625rem; gap:0.4375rem; }
  .waypoint-copy strong { font-size:0.8125rem; }
  [data-style=gta] .leaflet-control-attribution { max-width:calc(100vw - 128px); font-size:0.5rem; }
}
.leaflet-popup-content button { color: var(--accent); text-decoration: underline; font-weight: 700; }
#tile-error { left: 10px; top: auto; bottom: 24px; padding: 0.5rem 0.75rem; border-radius: 10px; font-size: 0.75rem; width: max-content; max-width: 85%; }
#tile-error button { text-decoration: underline; }

.regions { padding-block: 2.5625rem 3rem; }
.regions h2 { font-size: clamp(1.3125rem,calc(2vw * var(--kindup-scale, 1)),1.75rem); margin-bottom: 16px; }
#districts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0 1.125rem; }
#districts button { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; border-bottom: 1px solid var(--line); padding: 0.875rem 0.125rem; font-size: 0.9375rem; font-weight: 650; }
#districts small { font-weight: 500; color: var(--muted); font-size: 0.75rem; }
#districts button:hover { color: var(--accent); border-color: var(--accent); }
footer { padding: 1.5625rem 0 1.875rem; background: var(--soft); font-size: 0.875rem; }
footer p { font-size: 0.75rem; color: var(--muted); margin: 8px 0 0; line-height: 1.65; }
dialog { border: 1px solid var(--line); border-radius: 10px; padding: 0; max-width: min(445px,calc(100% - 28px)); width: 100%; max-height: 85dvh; overflow: auto; color: var(--ink); background: var(--surface); }
dialog::backdrop { background: #171b28b8; }
.close { position: absolute; right: 11px; top: 11px; background: var(--surface); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; z-index: 1; }
.detail-photo { width: 100%; height: 180px; object-fit: cover; display: block; }
.dialog-copy { padding: 1.5rem; }
.dialog-copy h2 { font-size: 1.4375rem; margin: 7px 0 12px; letter-spacing: -.055em; }
.dialog-copy p, .dialog-copy small { font-size: 0.8125rem; color: var(--muted); line-height: 1.6; }
.dialog-copy dl { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 0.875rem; font-size: 0.9375rem; }
.dialog-copy dd { margin: 0; font-weight: 750; }
.action { background: var(--accent-fill); border-radius: 10px; padding: 0.6875rem 0.9375rem; color: var(--ku-brand-on,#fff); font-weight: 700; }
.draft label { display: grid; gap: 0.25rem; font-size: 0.8125rem; margin-bottom: 10px; }
.draft input { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 0.5rem; }

@media (max-width: 1060px) {
  :root { --sidebar-width: 152px; }
  .sidebar { padding-inline: 0.625rem; }
  .wrap { width: calc(100% - 40px); }
  .cards { gap: 1.0625rem 0.75rem; }
}
@media (max-width: 760px) {
  :root { --sidebar-width: 0px; --bottom-height: calc(60px + env(safe-area-inset-bottom, 0px)); }
  html { scroll-padding-bottom: var(--bottom-height); }
  body { padding-bottom: var(--bottom-height); }
  body:has(#mobile-drawer[open]) { overflow: hidden; }
  body > .sidebar { display: none; }
  .mobile-header { display: flex; padding: 0.875rem 1rem 0.25rem; }
  .mobile-header .brand { width: 105px; }
  #mobile-drawer {
    position: fixed; inset: 0 auto 0 0; margin: 0; width: min(306px, calc(100vw - 44px));
    max-width: none; height: 100%; height: 100dvh; max-height: none; border: 0; border-radius: 0; overflow: hidden;
  }
  #mobile-drawer[open] { animation: drawer-in .2s ease-out; }
  #mobile-drawer::backdrop { background: #171b2878; }
  #mobile-drawer .sidebar { position: static; width: 100%; height: 100%; border: 0; padding: max(0.875rem, env(safe-area-inset-top)) 0.875rem max(0.625rem, env(safe-area-inset-bottom)); }
  .brand-row { padding-bottom: 0.625rem; }
  .brand-row .brand { width: 113px; }
  .drawer-close { display: grid; place-items: center; width: 44px; height: 44px; color: var(--muted); border-radius: 8px; }
  .side-links a, .appearance button { min-height: 44px; }
  .map-styles button { min-height: 40px; }
  .bottom-nav { position: fixed; z-index: 5; inset: auto 0 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; height: var(--bottom-height); padding: 0.125rem 0.5rem env(safe-area-inset-bottom, 0px); border-top: 1px solid var(--line); background: var(--surface); }
  .bottom-nav button { display: grid; align-content: center; justify-items: center; gap: 0.1875rem; min-width: 0; color: var(--ink); font-size: 0.6875rem; font-weight: 650; }
  .bottom-nav svg { width: 21px; height: 21px; }
  .bottom-nav button[aria-pressed=true] { color: var(--price-ink); }
  .bottom-nav button[aria-pressed=true] svg { fill: currentColor; }
  .bottom-nav button:disabled { opacity: .45; }
  .wrap { width: calc(100% - 32px); }
  .hero { padding-top: 0.5rem; }
  #search-form { margin-bottom: 12px; min-height: 43px; }
  #search-form button { padding: 0.4375rem 0.8125rem; }
  .poster-copy { min-height: 162px; padding: 1.0625rem 0.9375rem; }
  .poster-copy small { font-size: 0.625rem; letter-spacing: .02em; }
  .poster-copy strong { font-size: 1.6875rem; margin: 8px 0 12px; }
  .poster { grid-template-columns: 48% minmax(0,1fr); }
  .poster-photo { width: 60%; }
  .poster-link { font-size: 0.6875rem; gap: 0.375rem; }
  .results { padding-top: 1.5rem; }
  .listing-actions #saved { display: none; }
  .listing-actions button, .view-switch button, .tools select { min-height: 40px; }
  .section-heading { margin-bottom: 12px; }
  .collection { padding: 0.75rem 0 1rem; }
  .collection-head { margin-bottom: 11px; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.0625rem 0.6875rem; }
  .regions { padding-block: 1.75rem; }
  .regions h2 { margin-bottom: 11px; }
  #districts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 0.75rem; }
  #districts button { padding: 0.6875rem 0.0625rem; }
  .terms, .area, .bits { font-size: 0.6875rem; }
  .price { font-size: 0.875rem; }
  .heart { right: 5px; top: 5px; width: 29px; height: 29px; }
}
@media (max-width: 480px) {
  .poster { position: relative; display: block; isolation: isolate; }
  .poster-photo { position: absolute; inset: 0 0 0 auto; width: 72%; object-position: 50% 57%; mask-image: linear-gradient(90deg,transparent 0%,black 75%); }
  .poster-copy { min-height: 162px; }
  .poster-copy strong { font-size: 1.8125rem; }
  .photo { aspect-ratio: 1.45; }
  .tools { gap: 0.25rem; }
}
@media (max-width: 400px) {
  .view-switch button { padding-inline: 0.3125rem; gap: 0.1875rem; }
  .wrap { width: calc(100% - 24px); }
  .mobile-header { padding-inline: 0.75rem; }
  .tools select { max-width: 93px; }
  #search-form { padding-left: 0.625rem; gap: 0.3125rem; }
  #search-form input { font-size: 0.75rem; }
  #search-form button { padding-inline: 0.625rem; }
  .map-fit { font-size: 0.6875rem; }
}
@keyframes drawer-in { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Campaign and active view controls use lime. Saved listing hearts have their own small accent. */
:root {
  --ku-highlight:#e2ff65;
  --ku-highlight-ink:#202516;
  --ku-highlight-hover:#edff9c;
  --ku-favorite:#b73d69;
  --ku-action:#edf0f3;
  --ku-brand-on:#233243;
  --ku-brand:#46494f;
  --ku-hover-bg:#f1f2f3;
  --ku-hover-text:#292c30;
  --ku-selected-bg:#e7e9eb;
  --ku-brand-edge:#a0a4aa;
  --ku-focus:#616670;
  --ku-warm:#4e5158;
  --ku-warm-bg:#eeeff0;
}
:root[data-theme="dark"], :root.dark, :root[data-cgb-theme="dark"], :root[data-tone="dark"] {
  --ku-favorite:#ff94b6;
  --ku-action:#e3e5e8;
  --ku-brand-on:#24262a;
  --ku-brand:#e1e3e7;
  --ku-hover-bg:#303237;
  --ku-hover-text:#f1f2f4;
  --ku-selected-bg:#383b40;
  --ku-brand-edge:#777c84;
  --ku-focus:#b5bac1;
  --ku-warm:#d8dbdf;
  --ku-warm-bg:#303237;
}
.ku-map-selection { display:none; }
@media (max-width:760px) {
  .ku-map-selection {
    position:fixed; z-index:1090; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.6rem .4rem;
    inset-inline:max(.65rem,env(safe-area-inset-left,0px)) max(.65rem,env(safe-area-inset-right,0px));
    bottom:max(calc(var(--ku-tabbar-space,0px) + .55rem),calc(env(safe-area-inset-bottom,0px) + .55rem));
    max-height:42dvh; overflow:auto; overscroll-behavior:contain; padding:.8rem 1rem .85rem; margin:0;
    border:1px solid var(--ku-brand-edge); border-radius:1.1rem; background:var(--surface,#fff);
    color:var(--ku-hover-text); box-shadow:0 6px 24px #17202b2b; text-align:start;
    font-family:var(--sans,"Pretendard Variable","Malgun Gothic",sans-serif); line-height:1.4;
  }
  :is(:root[data-theme=dark],:root[data-cgb-theme=dark],:root.dark) .ku-map-selection { background:var(--surface,#232529); }
  .ku-map-selection-copy { min-width:0; align-self:center; }
  .ku-map-selection .ku-map-selection-title { margin:.1rem 0 .2rem; font:750 max(1.1rem,16px)/1.35 var(--sans,sans-serif); overflow-wrap:anywhere; }
  .ku-map-selection-context,.ku-map-selection-description { margin:0; font-size:max(.88rem,13px); line-height:1.45; overflow-wrap:anywhere; }
  .ku-map-selection-context { color:var(--ku-warm); }
  .ku-map-selection-close,.ku-map-selection-open { cursor:pointer; color:inherit; font:inherit; }
  .ku-map-selection-close { width:44px; height:44px; margin:-.45rem -.55rem 0 0; display:grid; place-items:center; align-self:start; border:0; border-radius:50%; background:transparent; font-size:1.45rem; }
  .ku-map-selection-open { grid-column:1/-1; min-height:44px; border:0; border-radius:.65rem; background:var(--ku-action); color:var(--ku-brand-on); font-size:max(.9rem,14px); font-weight:700; }
  .ku-map-selection :focus-visible { outline:2px solid var(--ku-focus); outline-offset:2px; }
}

:root{--sans:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Pretendard Variable",Pretendard,"Segoe UI",sans-serif;--tile-filter:none;-webkit-font-smoothing:antialiased}
:root[data-theme="dark"]{--tile-filter:none}
.brand{width:117px;color:var(--ink)}.brand svg{display:block;width:100%;height:auto}.brand-row{padding-bottom:0.9375rem}.sidebar{background:var(--surface)}.side-links a{font-size:0.90625rem;font-weight:600;line-height:1.5;letter-spacing:-.025em}
.side-promo,.side-contact{display:flex;align-items:center;justify-content:space-between;border-radius:8px;margin-top:10px;padding:0.5rem;font-size:0.75rem;color:var(--ink);background:var(--soft)}.side-promo.has-image{background-size:cover;color:white}
#appearance{width:100%;display:flex;align-items:center;justify-content:space-between;padding:0.625rem 0.6875rem;background:var(--soft);color:var(--ink);border-radius:10px;font:600 0.8125rem var(--sans)}#appearance .mode-value{margin-left:auto;margin-right:8px;color:var(--muted);font-size:0.75rem}.switch-track{width:27px;height:16px;background:#838590;border-radius:14px;padding:0.125rem}.switch-track::after{display:block;content:"";background:white;border-radius:100%;width:12px;height:12px}#appearance[aria-checked=true] .switch-track{background:var(--ku-action,#34363a)}#appearance[aria-checked=true] .switch-track::after{transform:translateX(11px)}
.poster{background:linear-gradient(115deg,var(--hero-start) 6%,var(--hero-end) 69%,#63714a);border:1px solid var(--line);border-radius:18px}.poster-photo{filter:saturate(.86) contrast(1.03);mask-image:linear-gradient(90deg,transparent,#000 58%)}.poster-copy{min-height:248px}.poster-copy small{color:#dce9bd}.poster-copy strong{font-weight:730;letter-spacing:-.062em;line-height:1.15}.poster .poster-link{background:#e2ff65;color:#202516;border-radius:20px}
.section-heading h1,.regions h2{font-size:clamp(1.5rem,calc(2.25vw * var(--kindup-scale, 1)),1.875rem);line-height:1.2;letter-spacing:-.045em}.marker-price{border:2px solid white;background:var(--ku-action,#34363a);border-radius:24px;color:var(--ku-brand-on,#fff);font:700 0.75rem/1.3 var(--sans);padding:0.3125rem 0.5625rem;box-shadow:0 2px 6px #20243148}.marker-price.cluster{background:var(--ku-selected-bg, #e7e9eb);color:var(--ku-hover-text, #292c30);border-color:var(--ku-brand-edge, #a0a4aa)}.leaflet-container{font-family:var(--sans)}.map-heading-icon{color:var(--accent)}#map-panel[data-style=normal]{border-radius:14px;overflow:hidden}.map-styles button{white-space:nowrap}
@media(max-width:760px){.poster-copy{min-height:177px}.brand{width:102px}.side-links a{font-size:0.875rem}}
.poster-photo{width:100%;object-position:54% 50%;mask-image:linear-gradient(90deg,transparent 0%,#000 54%);filter:none}.poster-copy small{font-weight:600}.poster-copy strong{font-size:clamp(2.125rem,calc(3.7vw * var(--kindup-scale, 1)),3.5625rem)}
.poster .poster-photo{height:100%}
:root[data-theme="dark"] .poster{background:linear-gradient(105deg,#191e17,#323a2e 56%,#63714a)}
@media(max-width:760px){.poster-copy strong{font-size:1.9375rem}.poster .poster-photo{width:100%}}

.brand,.brand-row .brand { display:inline-block; width:auto; max-width:100%; color:var(--ink); font:800 1.75rem/.99 Arial,Helvetica,sans-serif; letter-spacing:-.055em; }
.mobile-header .brand { font-size:clamp(18px,4.2vw,23px); }
.sidebar {
  --ku-field-height:clamp(29px,1.95rem,35px);
  --ku-row-height:clamp(29px,1.9rem,35px);
}
.account-panel,.kindup-areas { color:var(--ink); min-inline-size:0; }
.account-panel { margin:0 0 clamp(10px,.8rem,15px); }
.account-guest { display:grid; gap:4px; margin:0; padding:0; }
.account-inputs {
  display:grid; min-width:0; overflow:hidden; border:1px solid var(--line);
  border-radius:7px; background:var(--surface);
}
.account-field { display:block; min-width:0; }
.account-field + .account-field { border-top:1px solid var(--line); }
.account-field input {
  display:block; box-sizing:border-box; width:100%; min-width:0; min-height:var(--ku-field-height);
  padding:3px 9px; border:0; border-radius:0; background:transparent; color:var(--ink);
  font:500 clamp(12px,.83rem,15px)/1.25 var(--sans);
}
.account-field input::placeholder { color:var(--muted); opacity:1; }
.account-field input:focus-visible { outline:2px solid var(--ku-focus, var(--accent)); outline-offset:-2px; }
.account-sr,.area-picker-label > span {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip-path:inset(50%); white-space:nowrap;
}
.account-actions,.area-chips,.area-targets { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; }
.account-actions :is(a,button),.account-member :is(a,button) {
  display:inline-flex; align-items:center; justify-content:center; gap:4px; min-width:0;
  min-height:var(--ku-row-height); padding:2px 3px; border:0; border-radius:5px;
  background:transparent; color:var(--ink); text-decoration:none; white-space:nowrap;
  font:650 clamp(12px,.8rem,14px)/1.2 var(--sans);
}
.account-actions .account-direct { background:var(--ku-action,#34363a); color:var(--ku-brand-on,#fff); }
.account-actions :is(button,a):hover,.account-member :is(button,a):hover { background:var(--ku-hover-bg, var(--soft)); color:var(--ku-hover-text, var(--ink)); }
.account-actions .account-direct:hover { background:var(--ku-hover-bg, var(--soft)); color:var(--ku-hover-text, var(--ink)); box-shadow:inset 0 0 0 1px var(--ku-brand-edge, var(--line)); }
.account-actions .account-direct:disabled { opacity:.65; cursor:wait; }
.account-panel :is([data-icon],svg) { display:block; width:14px; height:14px; flex:none; }
.account-member { display:grid; grid-template-columns:minmax(22px,.55fr) .8fr 1fr 1fr; align-items:center; gap:1px; }
.account-member :is(a,button) { padding-inline:0; font-size:clamp(11px,.76rem,13px); letter-spacing:-.035em; }
.account-staff { display:flex; flex-wrap:wrap; gap:2px 8px; margin-top:3px; }
.account-staff a,.account-error,.area-status { font:500 clamp(11px,.75rem,13px)/1.45 var(--sans); color:var(--muted); }
.account-error,.area-status { margin:3px 0 0; }
.account-panel [hidden],.kindup-areas [hidden] { display:none!important; }
.kindup-areas { padding:clamp(6px,.5rem,9px) 0 0; border-top:1px solid var(--line); }
.kindup-areas-head { display:flex; align-items:center; justify-content:space-between; gap:5px; }
.kindup-areas-head strong { display:flex; align-items:center; gap:5px; color:var(--ink); font:650 clamp(13px,.85rem,15px)/1.3 var(--sans); }
.kindup-areas-head svg { width:15px; height:15px; color:var(--ku-hover-text, var(--accent)); flex:none; }
.area-change { min-height:var(--ku-row-height); padding:0 4px; color:var(--muted); font:600 clamp(11px,.72rem,13px)/1.3 var(--sans); }
.area-change:hover { color:var(--ku-hover-text, var(--accent)); }
.area-chips { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.38rem; }
.area-chips a {
  display:grid; align-content:center; gap:.14rem; min-width:0; min-height:max(48px,3.15rem);
  padding:.36rem .45rem; border:1px solid var(--line); border-radius:.55rem;
  background:var(--surface); color:var(--ink); text-decoration:none; line-height:1.25;
}
.area-slot { position:relative; min-width:0; }
.area-slot > a { height:100%; }
.area-slot:has(.area-clear:not([hidden])) small { padding-right:1.18rem; }
.area-clear { position:absolute; right:0; top:0; display:grid; place-items:center; height:1.6rem; width:1.6rem; min-width:24px; min-height:24px; color:var(--muted); background:transparent; border:0; border-radius:50%; font:650 1rem/1 var(--sans); cursor:pointer; }
.area-clear:is(:hover,:focus-visible) { color:var(--ink); background:var(--soft); }
@media(pointer:coarse){.area-clear{width:36px;height:36px;}}
.area-chips small { font:550 max(11px,.71rem)/1.25 var(--sans); color:var(--muted); }
.area-chips strong { font:690 max(13px,.84rem)/1.3 var(--sans); white-space:nowrap; word-break:keep-all; }
.area-chips a[aria-current=true],.area-chips a.area-editing { border-color:var(--ku-focus); background:var(--ku-hover-bg,var(--soft)); }
.area-chips a:is(:hover,:focus-visible),.area-form select:focus-visible { outline:2px solid var(--ku-focus); outline-offset:1px; }
.area-change { min-width:44px; min-height:44px; }
.area-form { display:block; margin:.4rem 0 0; padding:0; }
.area-picker-label { display:block; min-width:0; }
.area-form select { display:block; width:100%; min-width:0; min-height:44px; padding:.4rem .5rem; border:1px solid var(--line); border-radius:.55rem; background:var(--surface); color:var(--ink); font:600 max(14px,.87rem)/1.3 var(--sans); }
.area-status { overflow-wrap:anywhere; }
.side-promo,.kindup-inquire { display:flex; align-items:center; justify-content:space-between; gap:.4rem; border:1px solid var(--line); border-radius:7px; padding:.52rem .6rem; color:var(--ink); background:var(--soft); font:600 .8rem/1.35 var(--sans); }
.kindup-inquire { margin-top:.32rem; }
.sidebar :is(#appearance,.kindup-inquire,.side-contact,.area-save):hover { background:var(--ku-hover-bg, var(--soft)); color:var(--ku-hover-text, var(--ink)); }
.poster:hover .poster-link { background:#edff9c; }
.kindup-inquire i,.side-promo i { font-style:normal; color:var(--muted); }
@media (max-width:760px) {
  .sidebar { --ku-field-height:44px; --ku-row-height:44px; }
  .account-member { grid-template-columns:44px repeat(3,minmax(44px,1fr)); }
  .account-field input,.area-form select { font-size:16px; }
  .area-change,.area-save,.kindup-inquire { min-width:44px; }
  .area-change { text-align:right; }
  .kindup-inquire,.kindup-areas-head { min-height:44px; }
}
@media (prefers-reduced-motion:reduce) {
  #mobile-drawer[open] { animation:none; }
  .sidebar,.side-scroll,.sidebar :is(a,button,input,select) { scroll-behavior:auto; transition:none; }
}

html[data-kindup-font] {
  --kindup-scale: .875;
  --kindup-sidebar: clamp(166px, calc(111px + 3rem + 3vw), 232px);
  font-size: calc(100% * var(--kindup-scale));
}
html[data-kindup-font="16"] { --kindup-scale: 1; }
html[data-kindup-font="18"] { --kindup-scale: 1.125; }
html[data-kindup-font][data-kindup-fluid] {
  --kindup-scale: 1;
  font-size: clamp(87.5%, calc(75% + .3125vw), 112.5%);
}
@media (max-width: 760px) {
  html[data-kindup-font] { --kindup-sidebar: 0px; }
}
html[data-kindup-font] body[data-layout="디디알"],
html[data-kindup-font][data-cgb-board] { --cgb-side: var(--kindup-sidebar); }
html[data-kindup-font] body[data-layout="디디알"] {
  --sidebar-width: var(--kindup-sidebar);
  font-size: 1rem;
}

/* Shared by region filters, listing rows and favorite-area controls. */
[data-ku-area] { --ku-area-day:#4b5d66; --ku-area-night:#bed1d6; }
[data-ku-area="서울"] { --ku-area-day:#08763d; --ku-area-night:#76e99c; }
[data-ku-area="경기"] { --ku-area-day:#ab4905; --ku-area-night:#ffac6b; }
[data-ku-area="인천"] { --ku-area-day:#176780; --ku-area-night:#8ed5ea; }
[data-ku-area="강원"] { --ku-area-day:#7544a8; --ku-area-night:#d1a6ff; }
[data-ku-area="충청"], [data-ku-area="충북"], [data-ku-area="충남"],
[data-ku-area="대전"], [data-ku-area="세종"] { --ku-area-day:#755441; --ku-area-night:#e7c4aa; }
[data-ku-area="전라"], [data-ku-area="전북"], [data-ku-area="전남"],
[data-ku-area="광주"] { --ku-area-day:#bc333e; --ku-area-night:#ff9297; }
[data-ku-area="경상"], [data-ku-area="경북"], [data-ku-area="경남"],
[data-ku-area="부산"], [data-ku-area="대구"], [data-ku-area="울산"] { --ku-area-day:#125ed4; --ku-area-night:#7ec5ff; }
[data-ku-area="제주"] { --ku-area-day:#816300; --ku-area-night:#ffdf55; }
:is(#kindup-directory, .ku-directory, .kindup-areas, .side-scroll, #districts, .regions, .ku-area-picker, body, :host) [data-ku-area],
[data-ku-area][data-ku-area] {
  color:var(--ku-area-day) !important;
  color:light-dark(var(--ku-area-day), var(--ku-area-night)) !important;
}
:root[data-theme="dark"], :root[data-cgb-theme="dark"], :root[data-tone="dark"], :root.dark,
:host([data-theme="dark"]) { color-scheme:dark; }
:root[data-theme="light"], :root[data-cgb-theme="light"], :root[data-tone="light"],
:host([data-theme="light"]) { color-scheme:light; }

:host(#cgb-board-chrome) {
  --sidebar-width: var(--kindup-sidebar);
  font-size: 1rem;
}
.font-size-picker {
  min-inline-size: 0;
  margin: 0 0 .65rem;
  padding: 0;
  border: 0;
  color: var(--ink);
}
.font-size-picker legend {
  padding: 0;
  margin-bottom: max(5px, .35rem);
  font: 650 max(12px, .8125rem)/1.4 var(--sans);
}
.font-size-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--soft);
}
.font-size-options label { position: relative; min-width: 0; cursor: pointer; }
.font-size-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.font-size-options span {
  display: grid;
  height: 100%;
  min-height: max(32px, 2rem);
  place-items: center;
  border-radius: 5px;
  color: var(--muted);
  font: 650 14px/1 var(--sans);
}
.font-size-options [value="16"] + span { font-size:16px; }
.font-size-options [value="18"] + span { font-size:18px; }
.font-size-options label:hover span { background: var(--ku-hover-bg, var(--soft)); color: var(--ku-hover-text, var(--ink)); }
.font-size-options input:checked + span { color: var(--ku-hover-text, var(--accent)); background: var(--ku-selected-bg, var(--soft)); box-shadow: inset 0 0 0 1.5px var(--ku-brand-edge, var(--line)); }
.font-size-options input:focus-visible + span { outline: 2px solid var(--ku-focus, var(--accent)); outline-offset: 1px; }
#appearance[aria-checked=true] .switch-track { background: var(--ku-action,#34363a); }
#appearance[aria-checked=true] .switch-track::after { background:var(--ku-brand-on,#fff); }
.theme-group { padding-bottom: max(2px, env(safe-area-inset-bottom)); }
@media (max-width: 760px) {
  .font-size-options span { min-height: 44px; }
  .side-scroll .side-links a { min-height: 44px; }
  #appearance { min-height: 44px; }
}

#ku-tabs {display:none}
/* Public notice and customer support controls. */
.ku-notice-strip,.portal .newsbar.ku-notice-strip { box-sizing:border-box; display:flex; align-items:center; justify-content:space-between; gap:.8rem; min-width:0; min-height:3.25rem; padding:.55rem 0; }
body>.ku-notice-strip { width:min(1200px,calc(100% - 2rem)); margin-inline:auto; border-bottom:1px solid var(--line,var(--cgb-line,#dde1e6)); color:var(--ink,var(--cgb-text,inherit)); }
.ku-notice-link,.portal .newsbar .ku-notice-link { display:flex; align-items:center; gap:.65rem; min-width:0; min-height:2.1rem; color:inherit; font:600 .88rem/1.48 system-ui,"Malgun Gothic",sans-serif; text-decoration:none; }
.ku-notice-link b,.portal .notice-link b { flex:none; border:1px solid var(--line,var(--cgb-line,#d6dade)); border-radius:5px; padding:.13rem .4rem; font-size:.74rem; }
.ku-notice-link span { display:block; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.ku-notice-link:hover span { text-decoration:underline; text-underline-offset:.18em; }
.sidebar .side-promo:not(.has-image),.sidebar .side-promo:not(.has-image):hover,
.ku-directory .ku-write.ku-desktop-inquiry,.ku-directory .ku-write.ku-desktop-inquiry:hover {
  background:var(--ku-highlight,#e2ff65); color:var(--ku-highlight-ink,#28351c)!important; border-color:transparent;
}
@media(max-width:760px) {
  .ku-notice-strip,.portal .newsbar.ku-notice-strip { min-height:3.1rem; }
  .portal .newsbar .message-roll { max-width:36%; }
  html[data-kindup-directory]:has(.ku-desktop-inquiry) #ku-mobile-inquiry { display:none; }
  body>.ku-notice-strip { width:calc(100% - 1.6rem); }
}
:root {--ku-tabbar-space:0px}
@media (max-width:760px) {
  html[data-ku-tabs] {--ku-tabbar-space:calc(60px + env(safe-area-inset-bottom,0px));scroll-padding-bottom:var(--ku-tabbar-space)}
  html[data-ku-tabs] body {padding-bottom:var(--ku-tabbar-space)}
  #ku-tabs {position:fixed;inset:auto 0 0;z-index:1100;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));box-sizing:border-box;height:var(--ku-tabbar-space);padding:2px max(4px,env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) max(4px,env(safe-area-inset-left,0px));margin:0;background:var(--surface,#fff);color:var(--muted,#595d63);border-top:1px solid var(--line,#dedfe1);font-family:Pretendard,-apple-system,BlinkMacSystemFont,"Malgun Gothic",sans-serif;line-height:1.2}
  #ku-tabs a {display:flex;min-width:0;min-height:44px;align-items:center;justify-content:center;flex-direction:column;gap:4px;color:inherit;letter-spacing:-.03em;text-decoration:none;font-weight:500;font-size:clamp(11px,.75rem,14px);touch-action:manipulation}
  #ku-tabs a svg {display:block;width:23px;height:23px;stroke-width:1.65}
  #ku-tabs a:hover,.ku-menu-trigger:hover {color:var(--ku-hover-text,#292c30);background:var(--ku-hover-bg,#f1f2f3)}
  #ku-tabs a[aria-current] {color:var(--ku-hover-text,#292c30);font-weight:760}
  #ku-tabs a[aria-current] svg {stroke-width:2.25;fill:var(--ku-highlight)}
  #ku-tabs a:focus-visible,.ku-menu-trigger:focus-visible {outline:2px solid var(--ku-focus,#616670);outline-offset:-3px;border-radius:8px}
  :is([data-theme=dark],[data-tone=dark],.dark) #ku-tabs {background:var(--surface,#202226);border-color:var(--line,#3c3f44);color:var(--muted,#b9bdc3)}
}
.ku-menu-trigger {display:grid;place-items:center;width:44px;height:44px;margin-inline-start:auto;background:transparent;color:inherit;border:0;cursor:pointer}
.ku-menu-trigger svg {width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round}
.ku-favorites-link {display:flex;align-items:center;gap:.55rem;padding:.46rem .54rem;font:650 .89rem/1.3 var(--sans,sans-serif);color:var(--ink);border-radius:.46rem;text-decoration:none}
.ku-favorites-link svg {width:1.08rem;height:1.08rem;flex:none;stroke:currentColor;stroke-width:1.7;fill:transparent}
.ku-favorites-link:hover {background:var(--ku-hover-bg,#f1f2f3);color:var(--ku-hover-text,#292c30)}
.ku-favorites-link[aria-current=page] {background:var(--ku-selected-bg,#e7e9eb);color:var(--ku-hover-text,#292c30)}
.ku-side-banners {display:grid;gap:.36rem;margin:.3rem 0 .1rem}
.ku-side-banner {display:flex;gap:.4rem;align-items:center;justify-content:space-between;min-width:0;min-height:3.3rem;padding:.55rem .65rem;border-radius:.56rem;text-decoration:none;background-position:center;background-size:cover}
.ku-side-banner[data-side-slot=side1]:not(.has-image) {background-color:#d8edff;color:#244e6b}
.ku-side-banner[data-side-slot=side2]:not(.has-image) {background-color:#ffe3be;color:#704121}
.ku-side-banner:not(.has-image):is(:hover,:focus-visible) {box-shadow:inset 0 0 0 1px currentColor}
.ku-side-banner.has-image:hover {outline:2px solid var(--ku-brand-edge,#a0a4aa);outline-offset:-2px}
.ku-side-banner small,.ku-side-banner strong {display:block;overflow-wrap:anywhere}
.ku-side-banner small {font:600 .68rem/1.35 var(--sans,sans-serif);margin-bottom:.12rem}
.ku-side-banner strong {font:720 .86rem/1.35 var(--sans,sans-serif)}
.ku-side-banner i {font-style:normal;align-self:flex-start}
.ku-side-banners a.has-image {color:#fff}
.ku-side-banner[hidden],.side-promo[hidden] {display:none}
.sidebar > .side-promo,.ku-inquiry-bottom {flex:none}
#ku-mobile-inquiry {display:none}
@media(max-width:760px) {
  .sidebar > .side-promo {order:4}
  .ku-inquiry-bottom {order:5;min-height:44px;margin-top:.4rem}
  .ku-favorites-link {min-height:44px}
  html[data-ku-inquiry] body {padding-bottom:calc(var(--ku-tabbar-space) + 48px)}
  #ku-mobile-inquiry {position:fixed;right:max(14px,env(safe-area-inset-right));bottom:calc(var(--ku-tabbar-space) + 9px);z-index:35;display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 13px;border:1px solid var(--ku-brand-edge,#a0a4aa);border-radius:24px;background:var(--ku-warm-bg,#eeeff0);color:var(--ku-warm,#4e5158);box-shadow:0 2px 7px #23282329;text-decoration:none;font:650 clamp(12px,.82rem,15px)/1.1 Pretendard,system-ui,sans-serif}
  #ku-mobile-inquiry::after {content:'↗'}
  #ku-mobile-inquiry::before {content:'';position:absolute;inset:-4px 0}
  #ku-mobile-inquiry:hover {color:var(--ku-hover-text,#292c30);background:var(--ku-hover-bg,#f1f2f3)}
  #ku-mobile-inquiry:focus-visible {outline:2px solid var(--ku-focus,#616670);outline-offset:2px}
  html[data-cgb-drawer=open] #ku-mobile-inquiry,body:has(dialog[open]) #ku-mobile-inquiry {visibility:hidden}
}

.portal{padding-top:0.75rem}.newsbar{display:flex;align-items:center;justify-content:space-between;gap:1.125rem;padding:0 0.125rem 0.625rem;min-height:38px;color:var(--muted);font-size:0.8125rem}.notice-link{display:flex;align-items:center;gap:0.5rem;min-width:0}.notice-link b{color:var(--ink);border:1px solid var(--line);border-radius:5px;padding:0.125rem 0.375rem;font-size:0.6875rem;flex:none}.notice-link span,.message-roll{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.message-roll{max-width:42%;font-size:0.75rem}
.campaign{position:relative;display:flex;isolation:isolate;overflow:hidden;text-decoration:none;color:#fff;border-radius:15px;border:1px solid #ffffff1c;align-items:flex-end;background:#202431}.campaign-copy{position:relative;z-index:2;width:100%;pointer-events:none}.campaign-copy small{display:block;font-size:0.6875rem;font-weight:650;letter-spacing:.02em}.campaign-copy :is(h1,h3){white-space:pre-line;letter-spacing:-.06em;margin:8px 0 14px;font-weight:720;line-height:1.09}.campaign-copy h3{font-size:clamp(1.25rem,calc(1.8vw * var(--kindup-scale, 1)),1.8125rem)}.ad-cta{font-size:0.75rem;font-weight:650}.ad-cta:not(:empty)::after{content:' ↗';margin-left:4px}
.campaign-hero{min-height:218px;align-items:center;background:radial-gradient(ellipse at 77% 103%,#3b4433 0%,transparent 44%),linear-gradient(105deg,#191c22 0%,#202431 54%,#292f2b 100%);padding:1.5625rem clamp(1.25rem,3vw,2.875rem)}.campaign-hero .campaign-copy{width:46%}.campaign-hero:hover .ad-cta,.campaign-hero:focus-visible .ad-cta{background:var(--ku-highlight-hover)}.campaign-hero h1{font-size:clamp(1.875rem,calc(3.4vw * var(--kindup-scale, 1)),3.125rem);margin:8px 0 17px}.campaign-hero small{color:#c7ceb3}.campaign-hero .ad-cta{display:inline-block;padding:0.4375rem 0.875rem;border-radius:20px;background:var(--ku-highlight);color:var(--ku-highlight-ink)}.card-stage{position:absolute;inset:0 4% 0 46%;pointer-events:none;perspective:900px}.edition-card{position:absolute;width:clamp(180px,22vw,305px);aspect-ratio:1.64;border-radius:18px;box-shadow:0 18px 28px #07070b88,0 1px 0 #ffffffa6 inset;border:1px solid #f1fae579}.edition-front{overflow:hidden;top:19%;left:23%;transform:rotate(8deg) skewX(-4deg);background:#58614e}.edition-sky{position:absolute;inset:0;background-image:linear-gradient(0deg,#202431be,transparent 58%),var(--seoul-art);background-size:cover;background-position:66% 53%}.edition-back{left:3%;top:4%;transform:rotate(-13deg);background:linear-gradient(150deg,#f2ff9e,#c7ec55 47%,#909e52)}.edition-back::after{content:"";position:absolute;inset:0;border-radius:inherit;background:repeating-radial-gradient(ellipse at 95% 112%,transparent 0 12px,#58653145 13px 14px,transparent 15px 20px)}.edition-cap{position:absolute;inset:auto 7% 10%;display:flex;justify-content:space-between;align-items:baseline;color:white}.edition-cap b{font-family:Arial,sans-serif;font-size:clamp(0.9375rem,calc(1.65vw * var(--kindup-scale, 1)),1.5625rem);letter-spacing:-.06em}.edition-cap i{font:italic 1.25rem Georgia,serif}.ad-image{position:absolute;z-index:-1;inset:0;width:100%;height:100%;object-fit:cover}.campaign.has-image{background:#333}.campaign.has-image::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#181c16c9,transparent 94%);z-index:0}.campaign.has-image .card-stage{display:none}
.portal-grid{margin-top:23px;display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,1.12fr) minmax(145px,.85fr);gap:1.3125rem 1.125rem;align-items:stretch}.portal-head{display:flex;justify-content:space-between;gap:0.5rem;align-items:center;margin:0 0 11px}.portal-head h2{font-size:clamp(1.0625rem,calc(1.5vw * var(--kindup-scale, 1)),1.4375rem);font-weight:700;line-height:1.35;letter-spacing:-.055em;margin:0}.portal-head :is(a,span){flex:none;color:var(--muted);font-size:0.6875rem}.featured-box,.recent-box,.channels-box{min-width:0}.featured-box,.recent-box{display:flex;flex-direction:column}.video-stage{position:relative;min-height:160px;aspect-ratio:16/9;flex:1;border-radius:12px;overflow:hidden;background:#22252d;color:#fff}.video-stage iframe,.video-stage video,.video-cover{position:absolute;inset:0;width:100%;height:100%;border:0}.video-cover{display:flex;align-items:flex-end;padding:0.9375rem;text-align:left;background:linear-gradient(0deg,#12141cde,transparent 55%),var(--poster),var(--seoul-art);background-size:cover;background-position:center}.video-cover strong{font-size:1rem;color:white;position:relative;z-index:1}.play-mark{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:48px;height:48px;border:1px solid #ffffff9c;border-radius:50%;background:#14161bbd;display:grid;place-items:center;color:white;font-size:1.0625rem;padding-left:0.1875rem}
.recent-list{border-block:1px solid var(--line);position:relative;min-height:0;flex:1;overflow:auto;scrollbar-width:thin;max-height:clamp(194px,19vw,305px)}.recent-list a{display:grid;grid-template-columns:minmax(54px,auto) 1fr;align-items:center;gap:0.5rem;min-height:34px;padding:0.3125rem 0.0625rem;border-bottom:1px solid var(--line);color:var(--ink);font-size:0.8125rem}.recent-list a:hover,.channel-list a:hover{background:var(--ku-hover-bg, var(--soft));color:var(--ku-hover-text, var(--ink))}.recent-list a:hover strong,.channel-list a:hover strong{color:inherit}.recent-list b{font-size:0.625rem;color:var(--muted);font-weight:600}.recent-list strong{font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.small-campaigns{display:grid;grid-template-rows:1fr 1fr;gap:0.625rem}.campaign-mini{padding:0.8125rem 0.9375rem;min-height:80px}.campaign-mini h3{font-size:clamp(1.0625rem,calc(1.5vw * var(--kindup-scale, 1)),1.4375rem);margin:5px 0 7px}.campaign-mini .ad-cta{font-size:0.625rem}.campaign[data-campaign=second]{background:linear-gradient(100deg,#263124db,#3a473158),var(--second-art) center/cover}.campaign[data-campaign=third]{background:linear-gradient(100deg,#20291fe0,#2c342762),var(--third-art) center/cover}.campaign[data-campaign=fourth]{grid-column:1;padding:1.375rem;background:linear-gradient(85deg,#1f2c22d9,#414e3539),var(--fourth-art) center/cover;min-height:180px}.channels-box{grid-column:2/4;align-self:stretch}.channel-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:0.9375rem}.channel-list a{display:flex;align-items:center;gap:0.5rem;border-top:1px solid var(--line);padding:0.4375rem 0;min-width:0}.channel-list i{display:grid;place-items:center;flex:none;width:25px;height:25px;border-radius:8px;background:var(--soft);color:var(--muted);font:700 0.6875rem Arial}.channel-list strong{font-size:0.75rem;font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.channel-list a::after{content:'↗';margin-left:auto;font-size:0.6875rem;color:var(--muted)}.side-promo{display:flex;align-items:center;justify-content:space-between;gap:0.25rem;background:var(--soft);color:var(--ink);border:1px solid var(--line);padding:0.5625rem;border-radius:8px;font-size:0.6875rem;font-weight:650;margin:12px 0 5px}.side-promo:not(.has-image):hover{background:var(--ku-hover-bg, var(--soft));color:var(--ku-hover-text, var(--ink));border-color:var(--ku-brand-edge, var(--line))}.side-promo.has-image{background-position:center;background-size:cover;color:white}.side-contact{display:block;color:var(--muted);font-size:0.6875rem;padding:0.1875rem 0.125rem}.side-promo[hidden],.side-contact[hidden],.campaign[hidden]{display:none!important}
@media(min-width:1100px){.recent-box{position:relative}.recent-list{position:absolute;inset:39px 0 0;max-height:none}.featured-box .portal-head,.recent-box .portal-head{height:28px}}
@media(max-width:1099px){.portal-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}.small-campaigns{grid-column:1/-1;grid-template-columns:1fr 1fr;grid-template-rows:auto}.channels-box{grid-column:2}.recent-box{min-height:0}.recent-list{max-height:clamp(160px,22vw,245px)}}
@media(max-width:760px){.portal{padding-top:0.3125rem}.newsbar{display:grid;gap:0.1875rem;padding-bottom:0.5rem}.notice-link{font-size:0.75rem}.message-roll{max-width:100%;font-size:0.625rem;line-height:1.4}.portal-grid{display:flex;flex-direction:column;gap:1.125rem;margin-top:18px}.campaign-hero{min-height:161px;padding:0.9375rem}.campaign-hero .campaign-copy{width:55%}.campaign-hero h1{font-size:1.75rem}.campaign-hero small{font-size:0.625rem}.campaign-hero .ad-cta{font-size:0.625rem;padding:0.3125rem 0.5rem}.card-stage{inset:5% -4% 0 48%}.edition-card{width:clamp(106px,37vw,225px);border-radius:11px}.edition-back{top:14%;left:3%}.edition-front{left:18%;top:28%}.edition-cap i{font-size:0.75rem}.video-stage{min-height:0;flex:auto}.recent-list{max-height:200px}.small-campaigns{display:grid;grid-template-columns:1fr 1fr}.campaign[data-campaign=fourth]{min-height:154px}.channel-list a{min-height:38px}.portal-head h2{font-size:1.1875rem}.campaign-mini{min-height:105px}}


.campaign-hero { min-height: max(180px, 13.625rem); }
.campaign-copy { overflow-wrap: anywhere; }
.portal-head { flex-wrap: wrap; }
.section-heading, .section-heading > div, .tools, .map-heading { flex-wrap: wrap; }
.cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, max(145px, 12.5rem)), 1fr)); }
.recent-box .portal-head, .featured-box .portal-head { height: auto; min-height: 1.75rem; }
@media (min-width: 1100px) {
  .recent-box { display: grid; grid-template-rows: auto minmax(0, 1fr); }
  .recent-box .recent-list { position: static; height: 0; min-height: 100%; }
}
@media (max-width: 760px) {
  .campaign-hero { min-height: max(146px, 10.0625rem); }
  .small-campaigns, .channel-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, max(118px, 8.5rem)), 1fr)); }
  .map-heading :is(h2, button) { max-width: 100%; }
}

.portal{--seoul-art:url("/storage/kindup-assets/2dd4f291899c905ed58165595a2b373c2a2a1405065a4fa6fb87f46b21aa193c.webp")}
