/* Shared map colours and controls. Layouts are in world-card-desktop.css and world-card-mobile.css. */
body.tv-home-page.tv-home-map-first .tv-home-dashboard>.tv-world-redesigned{overflow:hidden;isolation:isolate;background:var(--studio-surface)}
body[data-tv-palette=explorer] .tv-world-redesigned{background:radial-gradient(ellipse at 55% 40%,#10484c60,transparent 75%),var(--studio-surface)!important}
.tv-world-redesigned .tv-world-card-head{display:flex!important;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:14px;margin:0 0 8px}
.tv-world-redesigned .tv-world-card-head h2{line-height:1.25;margin:0!important;letter-spacing:-.025em}
#tv-world-map-subtitle{font-size:13px;line-height:1.5;color:var(--studio-muted);margin:5px 0 0}
.tv-world-card-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
body .tv-world-redesigned .tv-world-card-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 12px!important;border:1px solid var(--studio-line)!important;background:transparent!important;box-shadow:none!important;color:var(--studio-accent)!important;font-size:13px!important;line-height:18px;border-radius:12px;cursor:pointer;white-space:nowrap}
body .tv-world-redesigned #tv-manual-place-open{border-color:color-mix(in srgb,var(--studio-accent) 55%,var(--studio-line))!important}
body .tv-world-redesigned #tv-world-settings-open{width:36px;padding:7px!important}
body[data-tv-palette] .tv-world-redesigned #tv-home-world-map{margin:0 -8px!important;border:0!important;border-radius:0!important;background:transparent!important;min-height:0;overflow:hidden}
body.tv-home-page.tv-home-map-first .tv-world-redesigned #tv-home-world-map svg{width:100%;display:block}
body[data-tv-palette] .tv-world-redesigned .tv-map-ocean{fill:transparent!important}
body[data-tv-palette] .tv-world-redesigned #tv-home-world-map .tv-map-country:not(.is-visited){fill:color-mix(in srgb,var(--studio-line) 82%,var(--studio-accent) 18%);stroke:var(--studio-surface);stroke-width:.45}
.tv-world-redesigned .tv-world-halo{fill:var(--studio-accent);opacity:.17;pointer-events:none}
.tv-world-redesigned .tv-world-dot{stroke-width:1.5}
body .tv-world-redesigned .tv-world-zoom{top:auto;bottom:38px;right:5px;display:flex;flex-direction:column;gap:0;border:1px solid var(--studio-line);border-radius:12px;overflow:hidden;background:var(--studio-surface)}
body .tv-world-redesigned .tv-world-zoom button{width:34px;min-width:34px;min-height:34px;height:34px;border:0!important;border-radius:0;background:transparent!important;padding:4px!important;font-size:20px!important;line-height:24px;color:var(--studio-ink)!important;box-shadow:none!important}
body .tv-world-redesigned .tv-world-zoom button+button{border-top:1px solid var(--studio-line)!important}
body .tv-world-redesigned #tv-world-map-detail{position:absolute;left:8px;bottom:14px;z-index:2;max-width:calc(100% - 65px);display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin:0!important;padding:8px 12px;border:1px solid var(--studio-line);border-radius:12px;background:var(--studio-surface);font-size:13px;line-height:1.4;color:var(--studio-ink);box-shadow:0 3px 12px #00000012}
#tv-world-map-detail::before{content:"";width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--studio-accent)}
body .tv-world-redesigned #tv-world-map-detail a{color:var(--studio-ink);text-decoration:none}
body .tv-world-redesigned #tv-world-map-detail a:hover{text-decoration:underline}
body .tv-world-redesigned .tv-map-source{position:absolute;right:4px;bottom:5px;z-index:1;display:block;font-size:10px;color:var(--studio-muted);margin:0!important}
.tv-world-redesigned .tv-map-source a{color:inherit;text-decoration:none}
body .tv-world-redesigned #tv-world-map-status:not([hidden]){padding:8px 0;margin:0!important;font-size:13px;line-height:1.5;color:var(--studio-muted)}
.tv-world-card-footer{display:flex;align-items:center;gap:14px;justify-content:space-between;border-top:1px solid var(--studio-line);padding-top:12px;margin-top:4px}
#tv-world-place-chips{display:flex;gap:7px;flex-wrap:wrap;min-width:0}
body .tv-world-redesigned #tv-world-place-chips button{font:inherit;font-size:12px!important;line-height:18px;padding:5px 10px!important;min-height:30px;border:1px solid var(--studio-line)!important;border-radius:999px;background:transparent!important;color:var(--studio-ink)!important;box-shadow:none!important;cursor:pointer}
body .tv-world-redesigned #tv-world-place-chips button[aria-pressed=true]{border-color:var(--studio-accent)!important;color:var(--studio-accent)!important;background:var(--studio-accent-soft)!important}
body .tv-world-redesigned #tv-world-edit-places{flex-shrink:0;font:inherit;font-size:12px!important;line-height:18px;padding:5px 0!important;color:var(--studio-accent)!important;background:transparent!important;border:0!important;box-shadow:none!important;cursor:pointer}
#tv-world-settings{box-sizing:border-box;width:min(720px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:22px;border:1px solid var(--studio-line);border-radius:20px;background:var(--studio-surface);color:var(--studio-ink);overflow:auto;box-shadow:0 24px 80px #0005}
#tv-world-settings::backdrop{background:#00171db3;backdrop-filter:blur(4px)}
.tv-world-settings-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px}
.tv-world-settings-head h2{font-size:20px!important;margin:0!important}
#tv-world-settings-close{display:grid;place-items:center;width:34px;height:34px;padding:0!important;border:1px solid var(--studio-line)!important;border-radius:50%;font:inherit;font-size:23px!important;line-height:1;color:var(--studio-ink)!important;background:var(--studio-surface-2)!important;box-shadow:none!important;cursor:pointer}
#tv-world-settings :is(summary,button,select){font-family:inherit}
#tv-world-settings #tv-manual-destinations{margin:0;padding:0;border:0}
#tv-world-settings details>summary{padding:12px 0;font-size:14px;font-weight:600;cursor:pointer;color:var(--studio-accent)}
#tv-world-settings #tv-map-destinations{margin:14px 0 0;padding-top:4px;border-top:1px solid var(--studio-line)}
#tv-world-settings #tv-map-destinations>p{font-size:13px;line-height:1.6;color:var(--studio-muted)}
#tv-world-settings .tv-destination-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;padding:16px 0;border-top:1px solid var(--studio-line);gap:10px}
#tv-world-settings .tv-destination-row>label:first-child{grid-column:1/-1}
#tv-world-settings .tv-destination-row>label{font-size:13px;color:var(--studio-muted);min-width:0}
#tv-world-settings .tv-destination-row>small{grid-column:1/-1;font-size:12px;color:var(--studio-muted)}
#tv-world-settings .tv-destination-row button{font:inherit;font-size:13px;padding:10px 12px!important;min-height:40px;border:1px solid var(--studio-line)!important;border-radius:10px;background:var(--studio-surface-2)!important;color:var(--studio-accent)!important;box-shadow:none!important;cursor:pointer}
#tv-world-settings select{box-sizing:border-box;width:100%;height:42px;padding:9px 30px 9px 12px;border:1px solid var(--studio-line);border-radius:10px;background:var(--studio-surface-2);color:var(--studio-ink);font:inherit;font-size:14px}
