/* Quantum Jump reference: near-black canvas, bold Korean, violet actions, lime accents. */
:root{color-scheme:dark;--paper:#101015;--ink:#f6f3ff;--muted:#c6bfd5;--teal:#cbb2ff;--line:#393544;--mint:#d6ff83;--surface:#19181f}
body{background:var(--paper);color:var(--ink);font-family:'Noto Sans KR',sans-serif;line-height:1.65;font-size:16px;-webkit-font-smoothing:antialiased}
h1,h2,h3{color:var(--ink);word-break:keep-all;overflow-wrap:anywhere;font-weight:900;letter-spacing:-.045em;line-height:1.3}
header{border-bottom:1px solid var(--line);padding-top:24px;padding-bottom:24px}
.brand{font-weight:900}.brand small{color:#c4b4e2}.mark{background:#cbb2ff;color:#151020;border-radius:12px;font-weight:900}
.demo{background:#101015;color:#cbb2ff;font-weight:700}.demo span{color:#c6bfd5}
nav a{font-size:16px;font-weight:700;color:#cec7dc}nav a.active{color:#d6ff83;border-color:#d6ff83}
.admin-link{color:#ddd4ee;border-color:#665977;min-height:44px;display:inline-flex;align-items:center}
.eyebrow{color:#cbb2ff;font-weight:800}.muted,.crumb,.small-note,.result-count{color:#c6bfd5}
.section-head h2,.thai-dict-title h2{font-size:32px;font-weight:900}.section-head p{font-size:16px;color:#c6bfd5}.section-head>a{font-size:15px;font-weight:700;color:#d6ff83;border-color:#d6ff83;padding:8px 0}
.page-top h1,.whole-map-heading h1,.category-hero h1{font-size:44px;font-weight:900}.whole-map-heading p,.category-hero p{font-size:16px;color:#d0c8df}
.category-tiles{gap:16px;margin-top:28px}.category-tile{border-color:#51465f;border-radius:12px}.category-tile:after{background:linear-gradient(180deg,#10101508 5%,#10101540 35%,#101015f5 100%)}.category-tile strong{font-size:23px;font-weight:900;letter-spacing:-.04em;text-shadow:0 2px 8px #000;line-height:1.35}.category-tile:hover{border-color:#d6ff83}
.card,.panel,.filters,.stat,.empty,.updates,.dir-filters,.thai-dict-tools,.thai-word{background:#19181f;border-color:#45404f}.card{border-radius:12px}.card:hover{border-color:#cbb2ff;box-shadow:0 10px 28px #0005}
.card h3,.dir-card h3{font-size:24px;font-weight:900;color:#f6f3ff}.card p{font-size:16px;color:#cec7dc}.card-bottom{border-color:#45404f}.card-bottom strong{font-size:15px;color:#d6ff83;font-weight:800}.card-bottom span{font-size:14px;color:#c6bfd5}
.home-name-label{font-size:14px;color:#c6bfd5}.home-person-card h3{font-size:26px;margin-bottom:12px}.home-person-facts{font-size:16px}.home-person-facts dt{color:#c6bfd5}.home-person-facts dd{color:#f6f3ff;font-weight:700}.home-person-facts>div{min-height:32px}.home-person-card .card-body{padding:18px}
.chip{background:#30263e;color:#e2d0ff;font-size:14px}.art .tag,.dir-card-image .tag{background:#111016ed;color:#eee5ff;font-size:12px;border-color:#776788}
.button,button.primary{background:#b89af7;color:#151020;font-size:16px;font-weight:800;min-height:48px;border-radius:10px}.button:hover,button.primary:hover{background:#cbb2ff}.button.outline{background:#19181f;border-color:#bba2e3;color:#e7d8ff}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d6ff83;outline-offset:3px}
input,select,textarea{background-color:#111016;color:#fff;border-color:#695c7a;font-size:16px;min-height:46px}input::placeholder,textarea::placeholder{color:#bcb2cb;opacity:1}
.field,.dir-filters label{font-size:15px;color:#ded5ec}.info-row{font-size:16px;padding:16px 0;border-color:#45404f}.info-row span{color:#c6bfd5}.dir-intro{font-size:17px;color:#e0d8eb}.dir-detail h1,.profile-layout h1{font-size:46px;font-weight:900}
.category-hero{background:#19181f;border-color:#51445f}.category-topics span{font-size:14px;color:#e2d4ef}.category-hero-symbol{color:#cbb2ff}
.whole-map-tools{background:#19181f;border-color:#554961}.whole-map-tools input{font-size:16px}.whole-quick>span{font-size:14px;color:#c6bfd5}.whole-quick button{background:#25202f;color:#eee4fc;border-color:#685379;font-size:15px;font-weight:700;min-height:44px;padding:8px 14px;border-radius:10px}.whole-quick button:hover{background:#cbb2ff;color:#171020}.whole-quick b{background:#d6ff83;color:#1a2310;font-size:13px;font-weight:900}.whole-map-heading>span{color:#d6ff83;font-weight:800}.whole-zoom button{min-width:44px;height:44px;color:#e7d8ff}.whole-zoom #wholeFit,.whole-zoom output{font-size:14px}
.venue-photo-sheet{background:#19181ffb;border-color:#a78acb}.photo-sheet-head{background:#19181f}.photo-sheet-head h2{font-weight:900}.photo-sheet-head p,.sheet-source{color:#c6bfd5;font-size:14px}.photo-sheet-head button{width:44px;height:44px}.instant-profile{background:#25202f;border-color:#665474}.instant-profile strong{font-size:18px;color:#fff}
.thai-word h3{font-size:21px;font-weight:900;color:#fff}.thai-word-topic{color:#cbb2ff}.thai-reading{color:#d6ff83;font-weight:700}.thai-reading span{color:#c6bfd5}.thai-original{color:#e1ceff}.thai-word details{border-color:#45404f;color:#d8cee4}.thai-filters button[aria-pressed=true],.dir-tabs button.active{background:#d6ff83;color:#19220f;border-color:#d6ff83;font-weight:800}.thai-reading-guide{background:#19181f;color:#d8cee4}
footer{color:#c6bfd5;font-size:14px;border-color:#393544}.foot-brand{font-weight:900;color:#f6f3ff}
@media(max-width:700px){header{padding:18px 16px 12px}.brand>span:last-child{font-size:20px}.brand small{font-size:10px}.admin-link{top:19px;font-size:12px;min-height:38px;padding:6px 9px}nav a{font-size:15px;min-height:44px;display:inline-flex;align-items:center}.section-head{align-items:center;gap:12px}.section-head h2{font-size:25px}.section-head p{font-size:14px}.section-head>a{font-size:14px}.category-tiles{gap:9px;margin:18px 0 26px}.category-tile strong{font-size:17px;left:9px;right:6px;bottom:12px}.home-people-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home-person-card .card-body{padding:12px}.home-person-card h3,.dir-card h3{font-size:22px}.home-name-label{font-size:13px}.home-person-facts{font-size:14px}.home-person-facts>div{grid-template-columns:42px minmax(0,1fr);min-height:29px;gap:3px}.home-person-card .card-bottom strong{font-size:14px}.page-top h1,.whole-map-heading h1,.category-hero h1{font-size:32px}.whole-map-heading{flex-wrap:wrap}.whole-map-heading p{font-size:15px;max-width:none}.whole-map-heading .eyebrow{font-size:12px}.whole-map-heading>span{font-size:16px}.whole-quick{gap:7px}.whole-quick button{font-size:14px;padding:8px 11px}.whole-map-tools input{font-size:16px}.dir-detail h1,.profile-layout h1{font-size:36px}.dir-intro{font-size:16px}.info-row{font-size:15px}.thai-word h3{font-size:21px}.category-hero{padding:24px 20px}.card p{font-size:14px}.button,button.primary{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
/* Keep category names intact on narrow mobile screens. */
.category-tile strong{white-space:nowrap}
@media(max-width:700px){.category-tile strong{left:6px;right:4px;font-size:clamp(14px,4.3vw,17px);letter-spacing:-.045em}}
@media(max-width:319px){.category-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Compact recent profiles: eight on desktop, four on tablet, two on phones. */
@media(min-width:1100px){
 .home-people-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:10px}
 .home-person-card .card-body{padding:10px}
 .home-person-card h3{font-size:19px;line-height:1.35;margin:0 0 8px;white-space:normal}
 .home-person-card .home-name-label{font-size:12px}
 .home-person-card .home-person-facts{font-size:14px;line-height:1.5;margin:0 0 8px}
 .home-person-card .home-person-facts>div{grid-template-columns:42px minmax(0,1fr);gap:3px;min-height:26px}
 .home-person-card .card-bottom{min-height:32px;padding-top:8px}
 .home-person-card .card-bottom strong{font-size:14px}
 .home-person-card .tag{font-size:11px;left:6px;top:6px;padding:2px 5px}
}
@media(min-width:701px) and (max-width:1099px){.home-people-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.home-person-card .card-body{padding:12px}}
/* Four compact cards per row on mobile; stack labels above values. */
@media(max-width:700px){
 .home-people-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
 .home-person-card{border-radius:8px}
 .home-person-card .card-body{padding:6px}
 .home-person-card .home-name-label{font-size:10px}
 .home-person-card h3{font-size:15px;line-height:1.35;margin:0 0 6px}
 .home-person-card .home-person-facts{font-size:11px;line-height:1.4;margin:0 0 6px}
 .home-person-card .home-person-facts>div{grid-template-columns:minmax(0,1fr);gap:0;min-height:0;margin-bottom:5px}
 .home-person-card .home-person-facts dt{font-size:10px}
 .home-person-card .home-person-facts dd{min-height:1.4em;overflow-wrap:anywhere}
 .home-person-card .card-bottom{padding-top:6px;min-height:28px;justify-content:center}
 .home-person-card .card-bottom strong{font-size:10px;white-space:nowrap;letter-spacing:-.05em}
 .home-person-card .tag{font-size:9px;left:3px;top:3px;padding:1px 3px}
}
/* Dense mobile facts, with emphasis on the name and workplace. */
@media(max-width:700px){
 .home-person-card .home-name-label{display:none}
 .home-person-card h3{font-size:16px;margin:0 0 4px;line-height:1.3}
 .home-person-card .home-person-facts{margin:0;line-height:1.2}
 .home-person-card .home-person-facts>div{margin-bottom:3px}
 .home-person-card .home-person-facts dd{min-height:0;line-height:1.25}
 .home-person-card .home-person-facts dd:empty{display:none}
 .home-person-card .home-person-facts>div:first-child{margin-bottom:5px}
 .home-person-card .home-person-facts>div:first-child dd{font-size:12px;font-weight:800;color:#e1ceff;line-height:1.35}
 .home-person-card .card-bottom{margin-top:4px;padding-top:4px;min-height:20px}
}

@media(min-width:1100px){.category-tiles{grid-template-columns:repeat(7,minmax(0,1fr))}.category-tile strong{font-size:clamp(17px,1.4vw,23px);left:10px;right:6px}}
/* Photo-led categories: consistent crops, clear captions, quieter borders. */
.category-tiles{gap:14px;margin:24px 0 30px}
.category-tile{border:1px solid #ffffff16;border-radius:16px;background:#1a1922;box-shadow:0 8px 24px #0002;isolation:isolate;transition:transform .2s,border-color .2s,box-shadow .2s}
.category-tile img{height:100%;object-position:center;filter:none;transform:scale(1.01)}
.category-tile:after{background:linear-gradient(180deg,transparent 38%,#11101a35 60%,#11101aeb 100%);pointer-events:none}
.category-tile strong{left:12px;right:26px;bottom:14px;font-size:clamp(16px,1.4vw,22px);font-weight:800;letter-spacing:-.055em;text-shadow:0 2px 5px #0008}
.category-open{position:absolute;right:11px;bottom:15px;z-index:2;color:#ded4f3;font-size:15px;line-height:1.5}
.category-tile:hover{border-color:#b99af799;transform:translateY(-3px);box-shadow:0 12px 28px #0005}
.category-tile[href="#hotel-reviews"] img{object-position:center 65%}
.category-tile[href="#massage-reviews"] img{object-position:40% center}
.section-head h2{letter-spacing:-.06em}.home-person-card{box-shadow:0 4px 16px #0002}.home-person-card .card-bottom{border-color:#ffffff0e}
.visitor-bar{max-width:1600px;margin:0 auto;padding:14px 0;display:flex;align-items:center;gap:24px;border-bottom:1px solid #ffffff12;color:#c6bfd5;font-size:12px}
.visitor-status{font-size:10px;letter-spacing:.14em;color:#a49ab4;display:flex;align-items:center;gap:8px}.visitor-status i{width:6px;height:6px;border-radius:50%;background:#cbb2ff;box-shadow:0 0 10px #b89af750}
.visitor-counts{display:flex;gap:22px;margin-left:auto}.visitor-counts span{display:flex;align-items:center;gap:9px}.visitor-counts b{font-size:18px;color:#f7f2ff;font-variant-numeric:tabular-nums;line-height:1}.visitor-counts span:first-child b{color:#d6ff83}.visitor-bar small{font-size:10px;color:#a59cae}
@media(max-width:1680px){.visitor-bar{margin-left:32px;margin-right:32px}}
@media(max-width:700px){.visitor-bar{margin:0 16px;padding:10px 0;gap:6px;flex-wrap:wrap}.visitor-status{display:none}.visitor-counts{margin:0;gap:18px;font-size:11px}.visitor-counts b{font-size:16px}.visitor-bar small{width:100%;font-size:9px;margin-top:3px}.category-tiles{gap:8px;margin:18px 0 24px}.category-tile{border-radius:11px}.category-tile strong{font-size:clamp(14px,4.1vw,17px);left:6px;right:3px;bottom:10px}.category-open{display:none}}
@media(prefers-reduced-motion:reduce){.category-tile:hover{transform:none}}

.category-tile[href="#soi6"] img{object-position:center 75%}.category-tile[href="#agogo"] img{object-position:center 42%}.category-tile[href="#club-reviews"] img{object-position:center 55%}
/* Dense profile index: show only information that exists. */
.home-people-grid{align-items:start;row-gap:16px}
.home-person-card{height:auto;min-height:0;transition:border-color .15s}
.home-person-card:hover{border-color:#cbb2ff}.home-person-card:focus-visible{outline:2px solid #d6ff83;outline-offset:3px}
.home-person-card .art.portrait{aspect-ratio:3/4;height:auto;min-height:0}
.home-person-card .card-body{padding:9px 9px 10px;display:block;min-height:0}
.home-person-card h3{font-size:18px;line-height:1.25;margin:0;font-weight:800;overflow-wrap:anywhere}
.home-person-card .compact-venue{font-size:13px;font-weight:600;color:#cbb2ff;line-height:1.35;margin:3px 0 0;overflow-wrap:anywhere}
.compact-facts{display:flex;flex-wrap:wrap;column-gap:8px;row-gap:2px;margin-top:6px;font-size:12px;line-height:1.3;color:#d8d2e2;font-variant-numeric:tabular-nums}
.compact-facts span{white-space:nowrap}
@media(max-width:700px){.home-people-grid{row-gap:10px}.home-person-card .card-body{padding:6px 5px 7px}.home-person-card h3{font-size:15px;line-height:1.25}.home-person-card .compact-venue{font-size:11px;line-height:1.3;margin-top:2px}.compact-facts{font-size:10px;gap:2px 5px;margin-top:4px}}

/* Keep every summary aligned; full details stay on the profile. */
.home-people-grid{align-items:stretch}.home-person-card{height:100%}.home-person-card .card-body{display:grid;grid-template-rows:auto 1fr;align-content:start}.home-person-card .compact-venue{min-height:1.35em}
.visitor-bar .business-inquiry-link{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border:1px solid #896bac;border-radius:8px;background:#241c30;color:#efe5ff;font-weight:700;text-decoration:none}
.visitor-bar .business-inquiry-link:hover,.visitor-bar .business-inquiry-link:focus-visible{background:#382a49;border-color:#c8a1ec}
