.places-page { color:#1b1b24; background:#fff; }
.places-page [hidden] { display:none!important; }
.places-page button,.places-page input { font:inherit; }
.places-page button { cursor:pointer; }
.places-page a { text-decoration:none; }
.places-page a:focus-visible,.places-page button:focus-visible,.places-page summary:focus-visible { outline:2px solid #8f4ad8; outline-offset:3px; }
.places-hero { display:grid; grid-template-columns:minmax(340px,500px) minmax(0,1fr); align-items:center; gap:48px; padding:56px; background:radial-gradient(820px 520px at 69% 50%,#8f4ad833,transparent 70%),#1a1233; }
.places-copy { min-width:0; }
.places-copy h1 { margin:0; max-width:10em; font-size:56px; line-height:1.05; font-weight:800; letter-spacing:-.03em; color:#fff; }
.places-intro { margin:20px 0 0; color:#cfc4ea; font-size:17px; line-height:1.5; font-weight:500; }
.places-intro strong { color:white; font-family:'Space Grotesk',sans-serif; }
.places-search { position:relative; margin-top:40px; z-index:3; }
.places-search label { display:block; margin-bottom:10px; font-size:13px; color:#cbb8f2; font-weight:600; }
.places-search-controls { display:flex; gap:12px; }
.places-input-wrap { position:relative; flex:1; min-width:0; }
.places-input-wrap input { width:100%; height:56px; padding:0 44px 0 42px; border:0; border-radius:14px; background:white; color:#1b1b24; font-size:16px; outline:none; }
.places-input-wrap input:focus { box-shadow:0 0 0 3px #b67bff99; }
.places-input-wrap input::placeholder { color:#6e6388; opacity:1; }
.places-input-wrap input::-webkit-search-cancel-button { display:none; }
.places-input-wrap input:placeholder-shown { text-overflow: ellipsis;}
.places-search-icon { position:absolute; top:7px; left:15px; color:#6e6388; font-size:30px; pointer-events:none; }
#places-clear { position:absolute; right:5px; top:6px; width:44px; height:44px; border:0; border-radius:10px; background:transparent; color:#6e6388; font-size:25px; }
#places-near { display:flex; align-items:center; gap:8px; padding:0 20px; border:1.5px solid #ffffff8c; border-radius:14px; background:#ffffff0a; color:#fff; white-space:nowrap; font-size:15px; font-weight:600; }
#places-near:disabled { opacity:.6; cursor:wait; }
#places-near:hover { background:#ffffff19; }
.places-status { color:#cfc4ea; font-size:13px; line-height:1.5; margin:8px 0 0; }
.places-status:empty { display:none; }
.places-results { position:absolute; top:90px; left:0; right:0; padding:6px; background:#fff; border-radius:14px; box-shadow:0 18px 45px #0a061e73; max-height:390px; overflow:auto; }
.places-result { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:52px; padding:7px 12px; border-radius:10px; color:#1b1b24; }
.places-result span { display:flex; flex-direction:column; gap:3px; min-width:0; font-size:15px; font-weight:600; }
.places-result small { color:#6e6388; font-size:12.5px; font-weight:500; }
.places-result strong { color:#6b3bb5; font-family:'Space Grotesk',sans-serif; }
.places-result-heading { padding:12px; border-top:1px solid #eee9f8; font-size:13px; color:#6e6388; }
.places-popular { margin-top:24px; color:#cbb8f2; font-size:12px; }
.places-chips { display:flex; gap:8px; margin-top:10px; flex-wrap:wrap; }
.places-chips a { display:inline-flex; gap:8px; padding:8px 12px; border:1px solid #cbb8f24d; border-radius:999px; color:#fff; font-size:13px; }
.places-chips strong { color:#cbb8f2; }
.places-chips a:hover { border-color:#cbb8f2; }
.places-map-wrap { position:relative; width:100%; aspect-ratio:780/501; }
.places-map { display:block; width:100%; height:100%; overflow:visible; }
.places-map path { fill:#241a47; stroke:#64518c; stroke-width:.8; stroke-linejoin:round; }
.places-map .places-province { transition:fill .25s; }
.places-map .places-province.is-lit { fill:#3b2d78; }
#places-pins { position:absolute; inset:0; pointer-events:none; }
.places-pin { position:absolute; width:var(--pin-size); height:var(--pin-size); border-radius:50%; background:#f3ecff; box-shadow:0 0 6px #ece0ffd9,0 0 22px 8px #b67bff66; transform:translate(-50%,-50%); pointer-events:auto; transition:opacity .25s; }
.places-pin::before { content:''; position:absolute; inset:-7px; border-radius:50%; }
.places-pin.is-lit::before { border:1.5px solid white; }
.places-pin.is-dim { opacity:.18; }
.places-pin.is-empty { width:10px; height:10px; border:1.5px dashed #ece0ff; background:transparent; box-shadow:none; }
.places-pin-label { position:absolute; left:calc(100% + 7px); top:50%; transform:translateY(-50%); font-size:clamp(8px,.9vw,13px); font-weight:600; color:#fff; white-space:nowrap; text-shadow:0 1px 3px #0c071e; pointer-events:none; z-index: 5;}
.places-pin-label strong { color:#cbb8f2; margin-left:5px; font-family:'Space Grotesk',sans-serif; }
.places-pin.is-flipped .places-pin-label { left:auto; right:calc(100% + 7px); }
.places-pin:hover { z-index:10; }
.places-pin:hover::after { content:attr(data-title); position:absolute; z-index:5; bottom:calc(100% + 12px); left:50%; transform:translateX(-50%); padding:10px; border-radius:10px; background:white; color:#1b1b24; white-space:nowrap; font-size:13px; box-shadow:0 8px 25px #0005; }
.places-sea { position:absolute; right:0; top:48%; writing-mode:vertical-rl; color:#8f82bd; font-style:italic; font-size:12px; letter-spacing:.06em; }
.places-map-caption { position:absolute; bottom:-20px; width:100%; text-align:center; font-size:12px; color:#b3a4d0; }
.places-directory { padding:72px 56px 0; }
.places-directory-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:32px; margin-bottom:40px; }
.places-directory h2 { margin:0; font-size:32px; line-height:1.2; font-weight:800; letter-spacing:-.02em; }
.places-directory-heading p { margin:8px 0 0; font-size:15px; line-height:1.5; color:#60606f; }
.places-switch { display:flex; flex:none; gap:4px; padding:4px; border-radius:12px; background:#f4effb; }
.places-switch button { height:44px; padding:0 18px; border:0; border-radius:9px; background:transparent; color:#5b5070; font-size:14px; font-weight:600; }
.places-switch button[aria-pressed=true] { color:#6b3bb5; background:white; box-shadow:0 1px 3px #3c1e6e29; }
.places-columns { columns:4; column-gap:32px; }
.places-region { break-inside:avoid; margin-bottom:18px; }
.places-region h3 { font-size:16px; margin:0; }
.places-region-label { padding:9px 12px; color:#6e6388; font-size:15px!important; }
.places-row { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:36px; padding:6px 12px; border-radius:10px; color:#1b1b24; font-size:15px; line-height:20px; break-inside:avoid; }
.places-row strong { flex:none; font-family:'Space Grotesk',sans-serif; font-variant-numeric:tabular-nums; color:#6b3bb5; font-size:14px; font-weight:600; }
.places-row--empty,.places-row--empty strong { color:#6e6388; }
.places-row:hover,.places-result[href]:hover,.places-result[href]:focus-visible,#places-clear:hover { background:#f4effb; }
.places-row[href]:hover { color:#6b3bb5; }
.places-satellites .places-row { padding-left:36px; min-height:32px; color:#3c3450; font-weight:500; }
.places-satellites .places-row strong { color:#6e6388; font-weight:500; }
.places-satellites summary { padding:7px 12px 7px 36px; font-size:14px; color:#6b3bb5; cursor:pointer; font-weight:600; }
.places-letter { color:#7a6a99; padding:4px 12px; font-size:13px!important; }
.places-count-row { break-inside:avoid; padding-bottom:6px; }
.places-count-bar { display:block; height:3px; border-radius:2px; margin-left:12px; background:#cdb8f1; max-width:calc(100% - 24px); }
.places-off-map { margin-top:64px; border-top:1px solid #eee9f8; padding:40px 0 80px; }
.places-off-map h3 { font-size:18px; margin:0; }
.places-off-map p { color:#60606f; font-size:14px; margin:6px 0 20px; }
@media(max-width:1150px) { .places-hero { padding:40px 28px; gap:24px; grid-template-columns:minmax(300px, .9fr) minmax(0,1fr); } .places-copy h1 { font-size:46px; } .places-directory { padding:48px 28px 0; } .places-columns { columns:3; } .places-directory-heading { align-items:flex-start; flex-direction:column; gap:24px; } }
@media(max-width:760px) { .places-hero { grid-template-columns:1fr; padding:36px 20px 44px; gap:24px; } .places-copy h1 { font-size:38px; max-width:10em; } .places-intro { font-size:15px; margin-top:16px; } .places-search { margin-top:28px; } .places-search-controls { gap:8px; } .places-input-wrap input { height:52px; padding-left:38px; border-radius:12px; } #places-near { padding:0 12px; font-size:14px; border-radius:12px; } #places-clear { top:4px; right:2px; } .places-results { top:86px; } .places-popular { margin-top:20px; } .places-chips { flex-wrap:nowrap; overflow-x:auto; padding:2px 0 6px; scrollbar-width:none; } .places-chips a { white-space:nowrap; } .places-map-wrap { margin-top:4px; } .places-pin-label { font-size:9px; } .places-map-caption { font-size:10px; bottom:-24px; } .places-directory { padding:36px 20px 0; } .places-directory h2 { font-size:26px; } .places-directory-heading { gap:20px; margin-bottom:28px; } .places-directory-heading p { font-size:13px; } .places-switch { width:100%; } .places-switch button { flex:1; padding:0 8px; font-size:13px; } .places-columns { columns:2; column-gap:14px; } .places-row { padding:7px 4px; font-size:13px; gap:5px; overflow-wrap:anywhere; } .places-region h3 .places-row { font-size:14px; } .places-satellites .places-row { padding-left:14px; font-size:12px; } .places-satellites summary { padding-left:14px; font-size:12px; } .places-region-label { padding-left:4px; font-size:13px!important; } .places-off-map { margin-top:36px; padding:28px 0 44px; } }
@media(prefers-reduced-motion:reduce) { .places-pin,.places-province { transition:none!important; } }
@media(max-width:760px) {
  .places-row,.places-satellites .places-row,.places-satellites summary { min-height:44px; }
  .places-region h3 .places-row { font-size:16px; }
  .places-satellites .places-row { font-size:14px; }
}
/* Scale the complete design stage: outlines, markers and labels share one coordinate space. */
.places-map-wrap { min-width:0; isolation:isolate; }
.places-map-stage { position:absolute; top:0; left:0; transform-origin:top left; }
.places-map--mobile { display:none; }
.places-pin-label { left:auto; top:auto; transform:none; font-size:13px; line-height:18px; height:18px; }
.places-pin { box-shadow:0 0 6px #ece0ffd9,0 0 20px 6px #b67bff55; }
.places-map .places-province.is-lit { fill:#58418a; stroke:#cbb8f2; stroke-width:1.5; }
.places-pin.is-dim { opacity:.13; }
.places-pin.is-lit { box-shadow:0 0 8px #fff,0 0 24px 10px #b67bff99; }
.places-row.is-nearby { background:#eee5fc; color:#6b3bb5; box-shadow:inset 3px 0 #8f4ad8; }
.places-attribution { margin:0 0 24px; color:#6e6388; font-size:11px; }
.places-attribution a { text-decoration:underline; }
.places-region,.places-count-row { -webkit-column-break-inside:avoid; break-inside:avoid-column; }
@media(max-width:760px) {
  .places-hero { padding:32px 16px 40px; gap:24px; }
  .places-directory { padding:36px 16px 0; }
  .places-map-wrap { aspect-ratio:358/232; }
  .places-map:not(.places-map--mobile) { display:none; }
  .places-map--mobile { display:block; }
  .places-pin-label { font-size:9.5px; line-height:13px; height:13px; }
  .places-pin-label strong { margin-left:3px; }
  .places-pin { box-shadow:0 0 4px #ece0ffd9,0 0 14px 4px #b67bff55; }
  .places-pin::before { inset:-4px; }
  .places-pin:hover::after { display:none; }
  .places-sea { font-size:9px; }
  .places-copy,.places-search-controls,.places-directory-heading { min-width:0; }
  .places-region h3 .places-row { font-size:15px; }
  .places-satellites .places-row { font-size:13px; }
  .places-row { overflow-wrap:normal; }
  .places-row span { min-width:0; overflow-wrap:anywhere; }
}
@media(max-width:360px) {
  .places-copy h1 { font-size:34px; }
  #places-near { padding:0 8px; font-size:12px; gap:4px; }
  .places-input-wrap input { padding-left:32px; font-size:14px; }
  .places-search-icon { left:10px; }
}
.places-search-icon { top:19px; display:flex; }
@media(min-width:981px) and (max-width:1150px) {
  body:has(.places-page) .site-header { padding-left:24px; padding-right:24px; gap:16px; }
  body:has(.places-page) .main-nav { gap:12px; font-size:14px; }
  body:has(.places-page) .site-header .search { min-width:140px; }
  body:has(.places-page) .header-auth { width:auto; }
}
@media(max-width:980px) {
  body:has(.places-page) .site-header { background:#fff; padding-bottom:12px; border-bottom:1px solid #eee9f8; }
  body:has(.places-page) .site-header .search { background:#f4effb; border-color:#e6daf6; }
  body:has(.places-page) .site-header .search input { color:#4d4660; }
  body:has(.places-page) .site-header .search input::placeholder { color:#8a7ca2; }
  body:has(.places-page) .site-header .search-icon { color:#8a7ca2; }
  body:has(.places-page) .site-header .menu-btn { color:#994ce6; background:#fff; border-color:#e6daf6; }
}
@media(max-width:760px) { .places-search-icon { top:17px; } }
