/* Hogwarts profile only; shared map shell remains unchanged. */
.pc-hogwarts-review{--rdr-bg:#111c1d;--rdr-panel:#1b2828;--rdr-surface:#263535;--rdr-hover:#304342;--rdr-border:#40504c;--rdr-text:#f3eee1;--rdr-muted:#b5c0b6;--rdr-accent:#d2b67a;--rdr-green:#a2ceb2;--rdr-radius:10px}.pc-hogwarts-review .rdr2-brand{font-size:18px;font-weight:850;letter-spacing:.04em}.pc-hogwarts-review .hl-review-badge{font-size:10px;color:var(--rdr-accent);padding:4px 8px;background:#d2b67a12;border-radius:20px;margin-left:auto;white-space:nowrap}.pc-hogwarts-review .rdr2-header-guide{margin-left:10px}.pc-hogwarts-review h1{font-family:Georgia,serif;font-size:29px;font-weight:500;letter-spacing:.01em}.pc-hogwarts-review .rdr2-eyebrow{color:var(--rdr-accent)}.pc-hogwarts-review .hl-area-tabs{display:grid;grid-template-columns:1fr 1fr 1fr;gap:5px;margin:17px 0}.pc-hogwarts-review .hl-area-tabs button{padding:9px 4px;font-size:11px;min-height:42px}.pc-hogwarts-review [aria-pressed=true]{border-color:var(--rdr-accent);background:#d2b67a18;color:var(--rdr-accent)}.pc-hogwarts-review #castle-controls{margin-bottom:16px}.pc-hogwarts-review #castle-controls label{display:block;font-size:11px;color:var(--rdr-muted);margin:12px 0 5px}.pc-hogwarts-review select{width:100%;padding:9px;min-height:40px}.pc-hogwarts-review .hl-mode{display:flex;gap:5px;margin-top:9px}.pc-hogwarts-review .hl-mode button{flex:1;font-size:11px}.pc-hogwarts-review .hl-note{font-size:11px;color:var(--rdr-muted);border-left:2px solid var(--rdr-accent);padding-left:10px}.pc-hogwarts-review .category>summary{display:flex;align-items:center;list-style:none}.pc-hogwarts-review .category>summary::marker{content:''}.pc-hogwarts-review .category>summary>button{flex:1;display:flex;align-items:center;gap:8px;justify-content:space-between;text-align:left;border:0;background:none;padding:10px 4px;min-height:46px}.pc-hogwarts-review .category>summary>button>span:first-child{display:flex;align-items:center;gap:8px}.pc-hogwarts-review .category summary svg{width:18px;height:18px}.pc-hogwarts-review .category summary .chevron{padding:10px;cursor:pointer}.pc-hogwarts-review .category .category-content{padding:0 4px}.pc-hogwarts-review .location-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:9px 0;border-bottom:1px solid #ffffff09}.pc-hogwarts-review .location-row.is-selected{background:#d2b67a0c}.pc-hogwarts-review .location-name{display:block;font-size:12px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}.pc-hogwarts-review .location-meta{display:block;font-size:10px;color:var(--rdr-muted);margin-top:3px;line-height:1.35}.pc-hogwarts-review .location-actions{display:flex;flex-wrap:nowrap;gap:4px}.pc-hogwarts-review .location-actions button{width:30px;height:32px;min-width:30px;display:grid;place-items:center;padding:6px}.pc-hogwarts-review .location-actions svg{width:15px;height:15px}.pc-hogwarts-review .location-actions .is-found{color:var(--rdr-green);border-color:#7ba184}.pc-hogwarts-review .hl-review-info{font-size:11px;color:var(--rdr-muted);padding-top:14px}.pc-hogwarts-review .hl-review-info summary{cursor:pointer}.pc-hogwarts-review .map-heading>span{display:block;max-width:330px;line-height:1.4}.pc-hogwarts-review .map-heading{pointer-events:none}.pc-hogwarts-review .popup-header-actions{gap:6px}.pc-hogwarts-review #popup-image{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;border-radius:7px;margin-top:10px}.pc-hogwarts-review .progress-summary header small{font-size:9px;color:var(--rdr-muted)}.pc-hogwarts-review .map-stage{background:#142426}.pc-hogwarts-review .ol-attribution{font-size:9px;background:#172322e8;color:var(--rdr-text);border-radius:4px}.pc-hogwarts-review .ol-attribution a{color:var(--rdr-accent)}.pc-hogwarts-review .is-sidebar-collapsed{grid-template-columns:0 minmax(0,1fr)}
@media(max-width:768px){.pc-hogwarts-review .rdr2-brand{font-size:15px}.pc-hogwarts-review .hl-review-badge{font-size:8px;padding:4px 6px}.pc-hogwarts-review .rdr2-header-guide{font-size:10px;margin-left:0}.pc-hogwarts-review .rdr2-site-header{gap:8px}.pc-hogwarts-review .hl-area-tabs button{font-size:10px}.pc-hogwarts-review .location-row{grid-template-columns:minmax(0,1fr)}.pc-hogwarts-review .location-actions{justify-self:end}.pc-hogwarts-review .location-actions button{width:44px;height:44px}.pc-hogwarts-review .map-heading{max-width:calc(100% - 130px);left:60px;padding:8px}.pc-hogwarts-review .map-heading>span{font-size:8px}.pc-hogwarts-review .map-heading strong{font-size:12px}.pc-hogwarts-review .map-toolbar button{height:34px;width:32px}.pc-hogwarts-review .marker-popup{width:min(340px,calc(100vw - 24px))}.pc-hogwarts-review .rdr2-intro{font-size:12px}}
@media(prefers-reduced-motion:reduce){.pc-hogwarts-review *{transition:none!important;animation:none!important}}

.pc-hogwarts-review .hl-global-search{margin:12px 0;padding:10px;background:var(--rdr-surface);border-radius:var(--rdr-radius)}.pc-hogwarts-review .hl-global-search h2{font-size:12px;margin:0 0 8px}.pc-hogwarts-review .hl-search-result{display:block;width:100%;text-align:left;padding:8px;border:0;border-radius:5px;background:none}.pc-hogwarts-review .hl-search-result:hover,.pc-hogwarts-review .hl-search-result:focus-visible{background:var(--rdr-hover)}.pc-hogwarts-review .hl-search-result strong,.pc-hogwarts-review .hl-search-result span{display:block;overflow-wrap:anywhere}.pc-hogwarts-review .hl-search-result strong{font-size:12px}.pc-hogwarts-review .hl-search-result span{font-size:10px;color:var(--rdr-muted);margin-top:3px}

.pc-hogwarts-review #rdr2-map .ol-overlaycontainer-stopevent{z-index:16}.pc-hogwarts-review .map-stage:has(#marker-popup:not([hidden])) .map-heading{visibility:hidden}

@media(max-width:768px){.pc-hogwarts-review .rdr2-app:has(#marker-popup:not([hidden])) .sidebar-toggle{visibility:hidden}}

.pc-hogwarts-review #basemap-controls{margin-bottom:14px}.pc-hogwarts-review #basemap-controls label{display:block;font-size:11px;color:var(--rdr-muted);margin:8px 0 5px}.pc-hogwarts-review .hl-height-step{display:flex;gap:6px;margin-top:6px}.pc-hogwarts-review .hl-height-step button{flex:1;min-height:38px;font-size:11px}.pc-hogwarts-review .hl-height-step button:disabled{opacity:.35;cursor:default}

/* Content-readiness alignment with the newer PlayCentral profiles. Hogwarts only. */
@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url('/wp-content/themes/playcentral-theme/assets/fonts/InterVariable.woff2') format('woff2')}
.pc-hogwarts-review{--pc-font-sans:Inter,sans-serif;font-family:var(--pc-font-sans);font-optical-sizing:auto;font-synthesis:none}
.pc-hogwarts-review .hl-area-tabs{margin:12px 0}.pc-hogwarts-review .hl-area-tabs button,.pc-hogwarts-review .hl-mode button,.pc-hogwarts-review select{font-size:13px}
.pc-hogwarts-review .category>summary>button{min-height:42px;padding:6px 4px;font-size:13px;line-height:1.3}.pc-hogwarts-review .category>summary>button[aria-pressed=false]{opacity:1;color:var(--rdr-muted)}
.pc-hogwarts-review .location-name{font-size:13px}.pc-hogwarts-review .location-meta,.pc-hogwarts-review .progress-summary header small,.pc-hogwarts-review #castle-controls label,.pc-hogwarts-review #basemap-controls label{font-size:11px}
.pc-hogwarts-review .hl-solution{font-size:12px;margin:10px 0;color:var(--rdr-muted)}.pc-hogwarts-review .hl-solution summary{cursor:pointer;min-height:32px;display:flex;align-items:center;text-decoration:underline;text-underline-offset:3px}.pc-hogwarts-review .hl-solution p{margin:5px 0 0;line-height:1.45}
.pc-hogwarts-review .popup-body p{line-height:1.5}.pc-hogwarts-review #popup-image{max-height:220px}.pc-hogwarts-review #popup-image-caption{font-size:10px;margin:4px 0 10px}
.pc-hogwarts-review.hl-embed{--rdr-header:0px}.pc-hogwarts-review.hl-embed .rdr2-site-header{display:none}
@media(max-width:768px){.pc-hogwarts-review .category>summary>button{min-height:46px}.pc-hogwarts-review .hl-solution summary{min-height:44px}.pc-hogwarts-review #popup-image{max-height:140px}.pc-hogwarts-review .marker-popup{max-height:calc(100dvh - 96px);overflow-y:auto}.pc-hogwarts-review .map-stage:has(#marker-popup:not([hidden])) .map-toolbar{visibility:hidden}}

/* Native relief profile: geometry and original comparison layers remain separate. */
.pc-hogwarts-review .hl-relief-details{margin:9px 0 0;font-size:12px;color:var(--rdr-muted)}.pc-hogwarts-review .hl-relief-details summary{cursor:pointer;min-height:36px;display:flex;align-items:center}.pc-hogwarts-review #basemap-controls .hl-relief-details label{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.35;margin:3px 0;min-height:36px}.pc-hogwarts-review .hl-relief-details input{width:17px;height:17px;margin:0;accent-color:var(--rdr-accent)}.pc-hogwarts-review .hl-relief-details p{font-size:11px;line-height:1.45;margin-top:8px}
.pc-hogwarts-review [data-basemap=relief] .map-stage{background:#192a2b}.pc-hogwarts-review [data-basemap=relief-dark] .map-stage{background:#101c22}.pc-hogwarts-review [data-basemap=relief-paper] .map-stage{background:#d8cbac}
@media(max-width:768px){.pc-hogwarts-review #basemap-controls .hl-relief-details label,.pc-hogwarts-review .hl-relief-details summary{min-height:44px}}

/* Own Hogwarts profile only: native world artwork, original relief preserved. */
.pc-hogwarts-review [data-basemap=world] .map-stage{background:#192a2b}.pc-hogwarts-review [data-basemap=world-dark] .map-stage{background:#101c22}.pc-hogwarts-review [data-basemap=world-paper] .map-stage{background:#d8cbac}

/* Release consolidation; Hogwarts profile only. */
.pc-hogwarts-review [hidden]{display:none!important}.pc-hogwarts-review .hl-category-group{font:600 12px Inter,sans-serif;text-transform:uppercase;letter-spacing:.035em;color:var(--rdr-muted);margin:18px 4px 5px}.pc-hogwarts-review .hl-account-button{display:flex;align-items:center;gap:8px;width:100%;text-align:left;min-height:42px;padding:8px 10px;margin:8px 0;font-size:12px;background:var(--rdr-surface);border:0}.pc-hogwarts-review .hl-account-button svg{width:17px;height:17px;flex:none}.pc-hogwarts-review .hl-account-button span:last-child{margin-left:auto}.pc-hogwarts-review .location-meta:empty{display:none}.pc-hogwarts-review #popup-verification{border-left:2px solid var(--rdr-accent);padding-left:8px}.pc-hogwarts-review .category strong{font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}.pc-hogwarts-review .hl-area-tabs button{font-size:13px}.pc-hogwarts-review .map-heading>span{font-size:11px}.pc-hogwarts-review #native-note{font-size:11px;line-height:1.45}.pc-hogwarts-review .hl-review-info{font-size:12px}.pc-hogwarts-review :focus-visible{outline:2px solid var(--rdr-accent);outline-offset:3px}
.pc-hogwarts-review dialog{width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 30px);overflow:auto;box-sizing:border-box;border:1px solid var(--rdr-border);border-radius:12px;background:var(--rdr-panel);color:var(--rdr-text);padding:18px;font:13px/1.5 Inter,sans-serif}.pc-hogwarts-review dialog::backdrop{background:#0009}.pc-hogwarts-review dialog header{display:flex;align-items:center;gap:10px}.pc-hogwarts-review dialog h2{font-size:17px;margin:0;flex:1}.pc-hogwarts-review dialog header button{min-width:44px;min-height:44px;font-size:22px}.pc-hogwarts-review .hl-account-actions{display:flex;flex-direction:column;gap:8px}.pc-hogwarts-review .hl-account-actions>a,.pc-hogwarts-review .hl-account-actions>button,.pc-hogwarts-review .hl-import-label{display:block;min-height:42px;box-sizing:border-box;padding:9px 12px;text-align:left;background:var(--rdr-surface);border:1px solid var(--rdr-border);border-radius:6px;color:var(--rdr-text)}.pc-hogwarts-review input[type=file]{max-width:100%;font-size:12px;margin-top:6px}.pc-hogwarts-review #sync-conflict button{margin:4px 0;min-height:42px}
.pc-hogwarts-review[data-appearance=light]{--rdr-bg:#e9e7de;--rdr-panel:#fcfaf3;--rdr-surface:#efede4;--rdr-hover:#e5e2d5;--rdr-border:#cbc9bb;--rdr-text:#26332c;--rdr-muted:#526054;--rdr-accent:#765b26;--rdr-green:#286141}.pc-hogwarts-review[data-appearance=light] .marker-popup,.pc-hogwarts-review[data-appearance=light] .map-heading{background:var(--rdr-panel);color:var(--rdr-text)}.pc-hogwarts-review[data-appearance=light] button,.pc-hogwarts-review[data-appearance=light] select,.pc-hogwarts-review[data-appearance=light] input{color:var(--rdr-text)}.pc-hogwarts-review[data-appearance=light] .ol-attribution{background:#fcfaf3ed}.pc-hogwarts-review[data-appearance=light] .rdr2-site-header{background:var(--rdr-panel)}.pc-hogwarts-review[data-appearance=light] .location-row{border-bottom-color:#26332c15}
.pc-hogwarts-review .rdr2-app{height:calc(var(--rdr-viewport,100dvh) - var(--rdr-header) - var(--rdr-ad,0px))}.pc-hogwarts-review .rdr2-app:fullscreen{height:100dvh}.pc-hogwarts-review #rdr2-privacy-slot #consumer-privacy-footer-wrapper{display:block!important;width:auto!important;min-height:0!important;height:auto!important;padding:0!important;margin:8px 0!important;background:transparent!important}.pc-hogwarts-review #rdr2-privacy-slot .consumer-privacy-footer-btn{max-width:100%;min-height:44px;background:var(--rdr-surface);color:var(--rdr-text)}
@media(max-width:768px){.pc-hogwarts-review .location-actions{gap:5px}.pc-hogwarts-review .location-actions button{min-width:44px;min-height:44px}.pc-hogwarts-review .map-toolbar button{width:44px;height:44px}.pc-hogwarts-review .hl-account-button{min-height:44px}.pc-hogwarts-review .map-heading{max-width:calc(100% - 135px)}.pc-hogwarts-review .map-heading>span{font-size:10px}.pc-hogwarts-review .rdr2-site-header nav{display:none}.pc-hogwarts-review .hl-review-badge{font-size:9px}.pc-hogwarts-review #popup-complete{min-height:44px}.pc-hogwarts-review .popup-header-actions button{min-width:40px;min-height:40px}}

/* Embedded map hides the header: give its sole app row the complete frame. */
.pc-hogwarts-review.hl-embed .rdr2-page-frame{grid-template-rows:minmax(0,1fr)}

/* Hogwarts popup image viewer; scoped to this map and its embeds. */
.pc-hogwarts-review .hl-popup-image-button {
  position: relative;
  display: block;
  width: 100%;
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  cursor: zoom-in;
}
.pc-hogwarts-review .hl-popup-image-button[hidden] { display: none; }
.pc-hogwarts-review .hl-popup-image-button #popup-image { display: block; margin: 0; }
.pc-hogwarts-review .hl-popup-image-zoom {
  position: absolute;
  right: 7px;
  bottom: 7px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--rdr-border);
  border-radius: 6px;
  background: var(--rdr-panel);
  color: var(--rdr-text);
  pointer-events: none;
  transition: background 150ms ease;
}
.pc-hogwarts-review .hl-popup-image-zoom svg { width: 16px; height: 16px; }
.pc-hogwarts-review .hl-popup-image-button:hover .hl-popup-image-zoom { background: var(--rdr-hover); }
.pc-hogwarts-review dialog.hl-image-viewer {
  width: min(1480px, calc(100vw - 32px));
  height: calc(100dvh - 32px);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 12px;
  overflow: hidden;
  overscroll-behavior: contain;
}
.pc-hogwarts-review .hl-image-viewer[open] {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pc-hogwarts-review .hl-image-viewer::backdrop { background: #000d; }
.pc-hogwarts-review .hl-image-viewer header { flex: 0 0 auto; }
.pc-hogwarts-review .hl-image-viewer h2 { font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.pc-hogwarts-review #popup-image-viewer-close {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 10px;
}
.pc-hogwarts-review #popup-image-viewer-close svg { width: 20px; height: 20px; }
.pc-hogwarts-review .hl-image-viewer figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  flex: 1 1 0;
  min-height: 0;
  min-width: 0;
  margin: 0;
  gap: 8px;
}
.pc-hogwarts-review #popup-image-full {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.pc-hogwarts-review #popup-image-full-caption {
  font-size: 12px;
  line-height: 1.4;
  color: var(--rdr-muted);
  overflow-wrap: anywhere;
}
@media (max-width: 768px) {
  .pc-hogwarts-review dialog.hl-image-viewer {
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
    padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    gap: 8px;
  }
  .pc-hogwarts-review .hl-image-viewer h2 { font-size: 13px; }
}
