/* GTA6Guide — a Leonida sunset, with the map kept clear for exploring. */
@font-face {
 font-family:"GTA Display";src:url("assets/fonts/gta-display.woff") format("woff");
 font-weight:700;font-style:normal;font-display:swap;
}
:root {
 --display:"GTA Display","Arial Narrow",Impact,ui-sans-serif,sans-serif;
 --bg:#100b22;
 --panel:#1b1032;
 --panel2:#29173e;
 --panel3:#3d2155;
 --line:#624166;
 --line-soft:#422b50;
 --text:#fff6df;
 --muted:#cfc0d9;
 --subtle:#bba5ca;
 --pink:#ff57b0;
 --pink-deep:#ee2990;
 --mint:#71efdf;
 --peach:#ffbd73;
 --sun:#ffd65a;
 --header:100px;
 --shadow:0 12px 36px #0d041e70;
}
body {background:var(--bg);color:var(--text)}
::selection {background:var(--sun);color:#281234}
.app-header {
 isolation:isolate;height:var(--header);min-height:var(--header);padding:0 25px;gap:24px;
 border:0;border-bottom:4px solid var(--pink);border-radius:0;
 background:linear-gradient(90deg,#140b2ab3 0%,#28123e30 42%,#33123f25 74%,#180b2eaa 100%),url('assets/vice-sunset.png') center 42%/cover;
 box-shadow:0 6px 0 #11092145;
}
.app-header::before {height:0}
.app-header::after {
 content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;
 background:linear-gradient(180deg,#12082200 65%,#16092399);
}
.header-brand {flex-shrink:0}
.brand {gap:12px}
.brand-logo {display:block;width:133px;height:89px;object-fit:contain;filter:drop-shadow(0 3px 0 #16091d) drop-shadow(0 0 10px #0006)}
.brand-tagline {display:block;max-width:140px;color:#ffe8ba;font-size:9px;font-weight:800;letter-spacing:2px;line-height:1.7;text-transform:uppercase;text-shadow:0 2px 3px #150c27}
.brand-symbol,.brand-wordmark {display:none}
.view-tabs {gap:3px;padding:4px;border:1px solid #e9b5d18a;background:#170d2ee8;border-radius:5px;box-shadow:3px 3px 0 #120a20b3}
.view-tab {padding:10px 18px;min-height:43px;border-radius:2px;color:#fff0de;font-size:12px;font-weight:800;letter-spacing:.2px}
.view-tab.active,.view-tab[aria-pressed=true],.view-tab.is-selected {background:var(--sun);color:#23102d;box-shadow:none}
.view-tab:hover:not([aria-pressed=true]) {background:#633461;color:#fff7e9}
.header-actions {gap:7px}
.text-button {min-height:44px;border-radius:4px;color:#fff4de;font-weight:750;text-shadow:0 1px 4px #0009}
.text-button:hover {background:#160929c9;color:#ffe09b}
.backup-button {background:#1b0d2ed9;color:#fff2dd;border-color:#e7add485}
.backup-button:hover {background:#50204f;color:#fff7e9;border-color:#ff8ccb}
.icon-button {border-radius:4px;color:#fff0e1}
.icon-button:hover {background:#ff68b82b;color:#fff}
.sidebar {background:#1b1130;border-right:2px solid #5b325f}
.sidebar-heading {
 min-height:188px;padding:20px 22px 18px;flex:0 0 auto;border-bottom:3px solid var(--pink);margin-bottom:16px;
 background:linear-gradient(90deg,#2013338c,#25113d12),linear-gradient(0deg,#180d2bd9,#20123300 60%),url('assets/vice-sunset.png') center 49%/cover;
}
.sidebar-heading::after {display:none}
.sidebar-heading .eyebrow {font-size:9px;letter-spacing:2px;color:#ffe0a5;text-shadow:0 1px 4px #190b31}
.sidebar-heading h1 {
 font-family:var(--display);font-size:37px;font-weight:900;line-height:.97;letter-spacing:.2px;margin:13px 0 9px;
 color:#fff6e4;text-transform:uppercase;text-shadow:2px 3px 0 #391333,0 0 16px #140a26;
}
.sidebar-heading h1 br + * {color:var(--sun)}
.sidebar-heading p {color:#fff0dc;font-size:11px;font-weight:600;text-shadow:0 1px 5px #000}
.layer-search-wrap {border-color:#705072;background:#100b20;border-radius:4px;min-height:44px;margin-bottom:13px}
.layer-search-wrap svg {color:var(--sun)}
.layer-search-wrap input {height:43px;color:#fff1e9}
.layer-search-wrap input::placeholder {color:#c5b5cc}
.field-shortcuts {gap:7px;margin-bottom:13px}
.shortcut-button {border:1px solid #8b527d;border-left:3px solid var(--pink);border-radius:3px;background:#392044;color:#ffe9e4;font-size:11px;min-height:44px;box-shadow:none}
.shortcut-button:hover {background:#5a2b58;border-color:#ff91d0;color:#fff5e4}
.shortcut-button>svg:first-child,.shortcut-button .shortcut-chevron {color:#ffc27d}
.missing-shortcut {border-left-color:var(--sun);background:#352039}
.missing-shortcut>[data-icon] {color:var(--sun)}
.layer-actions {padding-bottom:7px;border-color:#5e365f}
.layer-actions>span {color:#d3b8d8;font-size:8px;letter-spacing:1.5px}
.small-button {color:#ffe5ad;font-size:10px}
.category-list {padding-top:3px}
.category-group {border-color:#4a2c53;padding-bottom:7px}
.category-group summary {color:#ffe9d4;min-height:44px;padding-top:11px;padding-bottom:11px}
.group-name {font-weight:800;letter-spacing:.2px}
.category-row {border-radius:3px;min-height:39px}
.category-row:hover {background:#3c214a;border-color:#714475}
.category-row:has(input:checked) {background:#ff73ba0b;border-color:#a956852e}
.category-row:has(input:checked):hover {background:#ff73ba16;border-color:#b963a0}
.category-row input[type=checkbox] {accent-color:var(--sun)}
.cat-name {color:#f2e4f4}
.cat-count,.group-count {color:#c4a8d0}
.cat-icon {border-radius:4px;background:#0f091c;border-color:#b781ad66}
.only-btn {border-radius:2px;background:#3b2447;border-color:#89638b;color:#ffe4bc;opacity:1}
.group-actions button {border-radius:3px;background:#211130;border-color:#75507d;color:#e6cce8}
.sidebar-footer {padding-top:12px;background:#130c22;border-color:#654068}
.hide-found-label {color:#e4d0e9;margin-bottom:12px}
.progress-card {padding:11px 12px;border:1px solid #9d587e;border-left:3px solid var(--pink);border-radius:3px;background:linear-gradient(115deg,#442445,#251634);box-shadow:none}
.progress-top .eyebrow {color:#ffdba6;letter-spacing:1.1px}
.progress-track {height:5px;background:#5b365f;border-radius:0}
.progress-bar {border-radius:0;background:linear-gradient(90deg,#ff934b,#ff62ac 60%,#c67df8)}
.data-note {color:#baa4c6}
.search-box {background:#1a0e2fed;border:1px solid #c68aaf;border-radius:5px;box-shadow:3px 4px 0 #1d09213b;backdrop-filter:blur(10px)}
.search-box>svg {color:var(--sun)}
.search-box input::placeholder {color:#d8c5df}
.search-box:focus-within {border-color:var(--sun);box-shadow:0 0 0 2px #ffd65a30,3px 4px 0 #1d09213b}
.quick-filters {gap:7px}
.preset {border:1px solid #b17da0;border-radius:4px;background:#21102fef;color:#ffece2;font-size:11px;min-height:43px;box-shadow:2px 3px 0 #18091d38}
.preset svg {color:#ffc780}
.preset:hover {background:#66305e;border-color:#ffc295;color:#fff3d6}
.preset.active,.preset[aria-pressed=true],.is-list .preset.active,.is-list .preset[aria-pressed=true] {background:var(--sun);border-color:#ffec9c;color:#28172d;box-shadow:2px 3px 0 #4d173e44}
.preset.active svg,.preset[aria-pressed=true] svg {color:#2c1631}
.map-control {background:#1c1031f5;border:1px solid #d18aac;border-radius:4px;color:#fff0da;box-shadow:3px 3px 0 #210d2b44}
.map-control:hover {background:#6d2d60;color:#ffe4a3;border-color:#ffba93}
.zoom-controls {border-radius:4px;border-color:#d18aac;box-shadow:3px 3px 0 #210d2b44}
.zoom-controls .map-control+button {border-color:#835276}
.map-control[aria-pressed=true] {color:var(--sun);border-color:var(--sun)}
.map-compass {color:#ff6fb8;filter:drop-shadow(1px 2px 0 #371343)}
.map-compass span {color:#fff7d8}
.map-status,.detail-status {background:#20112ff2;border-color:#9e6a97;border-radius:4px;color:#dbc5e1}
.map-status strong {color:#ffe5ad}
.status-dot {background:var(--sun)}
.map-attribution {background:#140a23ef;border-color:#bd6d9a42;color:#c7add2}
.map-attribution a {color:#f3deeb}
.map-loading {background:linear-gradient(0deg,#160a2bea,#270e3a70),url('assets/vice-sunset.png') center/cover}
.map-loading strong {font-size:35px;color:#fff1cf;text-shadow:2px 3px 0 #482048}
.map-loading>span:last-child {color:#ffe0cc}
.loader {border-color:#e0a0c94d;border-top-color:var(--sun)}
.empty-state {background:#251234f5;border:1px solid #db92b8;border-radius:6px}
.primary-btn,.secondary-btn,.found-button {border-radius:4px;font-weight:800}
.primary-btn,.found-button {background:var(--sun);border-color:#ffed9c;color:#28132d;box-shadow:2px 3px 0 #0e051e66}
.primary-btn:hover,.found-button:hover {background:#ffe78d;color:#28132d}
.secondary-btn {background:#42204c;border-color:#aa6c9c;color:#fff0dd}
.secondary-btn:hover {background:#6c315f;border-color:#fca2ca;color:#fff5e5}
.found-button.is-found,.found-button[aria-pressed=true] {background:#193e3c;border-color:#72e4ca;color:#c4ffdf}
.list-view,.is-list .workspace {background:#170e28}
.is-list .map-toolbar {background:linear-gradient(#170e28 82%,#170e2800)}
.is-list .search-box {background:#261338;border-color:#a86f9c}
.is-list .preset {background:#392044;border-color:#9f6991}
.list-heading h2,.list-header h2 {color:#fff0d3;font-size:34px;letter-spacing:.5px;text-shadow:2px 2px 0 #6e265c}
.result-card {border-color:#7c487c;border-radius:5px;background:#2b173b;box-shadow:2px 3px 0 #09051333}
.result-card:hover {background:#48224f;border-color:#ff93c6;box-shadow:3px 4px 0 #0b051a66}
.result-card.is-selected {background:#49233e;border-color:var(--sun)}
.result-card.is-found {background:#193936;border-color:#5cbb9d}
.result-icon {background:#130b22;border-color:#92578a;border-radius:4px}
.photo-card .result-title {font-family:var(--display);font-size:23px;line-height:1.1;letter-spacing:.4px;text-transform:uppercase;color:#fff1dc}
.result-subtitle,.result-area {color:#d7b9dd}
.load-more {border-color:#cc85b5;border-radius:3px;background:#52244f;color:#ffe5b6}
.detail-panel {width:370px;max-height:calc(100% - 170px);top:137px;right:22px;border:2px solid #e993bb;border-top:4px solid var(--pink);border-radius:7px;background:#211130fa;box-shadow:5px 7px 0 #130b214f,0 15px 50px #0d042477}
.detail-head {min-height:56px;padding:18px 61px 17px 18px;background:linear-gradient(90deg,#33163aee,#4e1c4c87),url('assets/vice-sunset.png') center 38%/cover;border-bottom:1px solid #ba6d97}
.detail-kicker {color:#ffe4a5!important;font-size:10px;letter-spacing:1.6px;text-shadow:0 1px 3px #000}
.detail-kicker svg {color:#ffd65a}
.detail-close {background:#170a2ee6;border:1px solid #e592bb;border-radius:4px;color:#fff2e4;top:5px}
.detail-body {padding:15px 16px 20px}
.detail-title {font-family:var(--display);font-size:31px;line-height:1.06;font-weight:900;color:#fff0d7;letter-spacing:.3px;text-shadow:2px 2px 0 #612552}
.detail-area {color:#ffd29f;font-weight:650}
.vehicle-detail .detail-title {margin:12px 0 15px}
.vehicle-detail .detail-title + .vehicle-swipe-region {margin-top:0}
.detail-description,.detail-note {color:#e7d3e8}
.detail-meta {color:#c7aed2}
.detail-tags span,.badge {background:#482347;border-color:#8c4f7f;color:#ffe3d6;border-radius:3px}
.note-input {background:#120a20;border-color:#9d6192;border-radius:3px;color:#f8e6f3}
.field-label {color:#ffc691}
.local-save-note,.detail-source {color:#bda2c8}
.vehicle-browser,.vehicle-viewer .vehicle-browser {
 grid-template-columns:minmax(78px,1fr) minmax(70px,.9fr) minmax(78px,1fr);gap:8px;margin:0 0 8px;padding:0;
 border:0;border-radius:0;background:none;box-shadow:none;
}
.vehicle-step {
 width:100%;height:48px;min-width:0;min-height:48px;gap:6px;padding:0 8px;border:1px solid #ffd595;border-radius:4px;
 background:linear-gradient(135deg,#ffca64,#ffa36e);color:#33102f;box-shadow:2px 3px 0 #0f0526;
}
.vehicle-step:hover {background:#ffe59c;border-color:#fff0b7;color:#28102e}
.vehicle-step:active {background:#ff8ec8;box-shadow:0 1px 0 #0f0526;transform:translateY(1px)}
.vehicle-step:disabled {background:#57304c;border-color:#9d698f;color:#bda1c4;opacity:.6;box-shadow:none}
.vehicle-step svg {width:18px;height:18px;flex-basis:18px}
.vehicle-step-label {font-size:10px;font-weight:900;letter-spacing:.3px;text-transform:uppercase}
.vehicle-position {gap:3px;min-width:0}
.vehicle-position small,.vehicle-position .eyebrow {font-size:7px;letter-spacing:1.3px;color:#e6b6d3;line-height:1.35}
.vehicle-position strong,.vehicle-viewer .vehicle-position strong {font-size:22px;color:#fff1c8;line-height:1}
.vehicle-position strong span {font-size:12px;color:#ba9acb}
.vehicle-swipe-hint {
 margin:10px 0 13px;padding:7px 8px;border-radius:2px;background:#ff68b31c;border:1px solid #ff71b85e;
 color:#ffd7e9;font-size:10px;font-weight:750;line-height:1.4;letter-spacing:.2px;text-align:center;
}
.vehicle-swipe-hint::before {content:none}
.vehicle-swipe-region {cursor:grab;touch-action:pan-y}
.vehicle-photo .photo-frame {background:#170b28;border-color:#b767a0;border-radius:4px}
.photo-open {border-radius:4px}
.photo-expand {background:#291234ed;border:1px solid #ffc48a;border-radius:3px;color:#ffe9c3}
.vehicle-photo figcaption {color:#c7aacd}
.vehicle-photo figcaption a {color:#ffcf9f!important}
.photo-views {background:#150923;border-color:#754471;border-radius:3px;padding:3px;gap:3px}
.photo-views button {border-radius:2px;color:#d2b1da;font-size:10px;font-weight:750;min-height:42px}
.photo-views button[aria-pressed=true] {background:#69305d;border-color:#f48dbf;color:#fff0d5}
.photo-views button:hover {background:#542b57;color:#ffe5bf}
.enlarged-photo {background:#110720;border-color:#c17aaa;border-radius:4px}
.unavailable-reference {border-color:#af6e9b;border-radius:4px;background:linear-gradient(135deg,#51234e,#251239);color:#e7bedf}
.unavailable-reference strong {color:#ffe1a6}
.modal {border:2px solid #d18aad;border-top:5px solid var(--pink);border-radius:8px;background:linear-gradient(180deg,#44204be8,#1e1032 270px),url('assets/vice-sunset.png') center top/100% auto no-repeat,#1e1032;box-shadow:8px 9px 0 #0d06194d,0 24px 100px #08010dcc;padding:31px}
.modal::backdrop {background:#100521d4;backdrop-filter:blur(7px)}
.modal-close {background:#1d0c31e8;border-color:#c57ba8;border-radius:4px;color:#ffe6d5;right:10px;top:10px}
.modal .eyebrow {color:#ffca8b;font-weight:900;letter-spacing:2.3px}
.modal-title {font-family:var(--display);font-size:39px;color:#fff2d6;line-height:1.05;letter-spacing:.5px;font-weight:900;text-shadow:2px 3px 0 #692553;margin-top:9px;margin-bottom:18px}
.modal-copy {color:#dfcce6}
.modal.vehicle-viewer {border-top-color:var(--sun);background:linear-gradient(180deg,#30113f66,#231035ed 250px,#1c102e 430px),url('assets/vice-sunset.png') center top/100% auto no-repeat,#1c102e}
.vehicle-viewer .modal-title {padding-right:25px}
.vehicle-viewer .vehicle-browser {margin:16px 0 8px}
.vehicle-viewer .vehicle-step {height:50px}
.vehicle-viewer .vehicle-step-label {font-size:12px}
.vehicle-viewer .vehicle-position strong {font-size:25px}
.vehicle-viewer .vehicle-position small {font-size:8px;letter-spacing:1.8px}
.vehicle-viewer #photoViewer {margin-top:10px;margin-bottom:13px}
.vehicle-viewer #photoViewer:not(.zoomed) .photo-frame {max-height:46dvh;aspect-ratio:16/9}
.vehicle-preview-label {background:#271134b8;border-left:3px solid var(--sun);border-radius:0;color:#ffe1b5;padding:9px 12px}
.vehicle-preview-label>svg {color:#ff80c2}
.vehicle-viewer .photo-caption {color:#cbb4d5;line-height:1.6;font-size:12px}
.photo-caption>strong {color:#ffcd9f}
.photo-credit {color:#bca1c8}
.photo-credit a {color:#ffca91}
.guide-toolbar input,.guide-toolbar select,.guide-search,.guide-select {border-radius:3px;border-color:#9b6090;background:#1b0c2e;color:#ffeade}
.wish-heading h3,.case-card h3 {color:#ffe5bb}
.wish-heading,.wish-entry {border-color:#66406c}
.wish-check {color:#fff0dc}
.status-pill {border-radius:3px}
.notice {border-radius:3px;background:#48213f;border-color:#bd7099;color:#f8d8e1}
.code-entry,.case-card,.investigation-detail,.source-card,.investigation-overview {border-radius:4px;border-color:#825080;background:#2b173d}
.access-code {color:#ffd773}
.code-status {color:#ffc79f}
.toast {background:#ffe091;border-color:#fff3c8;color:#28142d;border-radius:4px;font-weight:750}
@media(min-width:901px) {
 .workspace:has(.detail-panel:not([hidden])) .map-controls {right:414px}
}
@media(min-width:901px) and (max-width:1100px) {
 .brand-logo {width:128px;height:86px}
 .brand-tagline {display:none}
 .app-header {padding-left:18px;padding-right:18px;gap:14px}
 .sidebar-heading h1 {font-size:34px}
 .detail-panel {width:340px}
 .workspace:has(.detail-panel:not([hidden])) .map-controls {right:380px}
}
@media(max-width:900px) {
 :root {--header:92px}
 .app-header {padding:0 12px;gap:10px}
 .header-brand {gap:6px}
 .brand-logo {width:123px;height:82px}
 .brand-tagline {display:none}
 .mobile-filter-button {background:#21102cc9;border:1px solid #f0b2d077;width:44px;height:44px;flex-shrink:0}
 .header-actions {gap:4px}
 .header-actions .text-button {width:44px;min-width:44px;min-height:44px;height:44px;background:#1b0c2dd1;border:1px solid #d98db777;border-radius:4px;justify-content:center;padding:10px}
 .sidebar {border-right-color:#c67ba9;box-shadow:12px 0 50px #08001699}
 #closeFilters {width:44px;height:44px;min-height:44px;background:#1d0c2fc9;border:1px solid #e7a0ca80;margin:-11px -11px -11px 0}
 .sidebar-heading {min-height:187px;padding-top:18px}
 .sidebar-open .sidebar-backdrop {background:#150623b8;backdrop-filter:blur(4px)}
 .detail-panel {width:340px}
 .workspace:has(.detail-panel:not([hidden])) .map-controls {right:384px}
}
@media(max-width:600px) {
 :root {--header:134px;--sidebar:320px}
 .app-header {display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:87px 39px;align-items:center;padding:0 10px 4px;gap:0 8px;border-bottom-width:4px;background-position:center 41%}
 .header-brand {gap:7px;min-width:0}
 .brand {min-width:0;gap:0;flex:1;justify-content:center}
 .brand-logo {width:122px;height:82px;max-width:100%;object-position:center}
 .mobile-filter-button {width:41px;min-width:41px;height:44px;min-height:44px;border-radius:3px}
 .header-actions {grid-column:2;grid-row:1;gap:5px}
 .header-actions .text-button {width:41px;min-width:41px;height:44px;min-height:44px;padding:10px}
 .header-actions .text-button svg {width:18px;height:18px}
 .view-tabs {grid-row:2;grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr;align-self:stretch;justify-self:stretch;gap:3px;margin:0;padding:3px;border:1px solid #d790af99;border-radius:3px;box-shadow:2px 2px 0 #170a2877;background:#1a0b2ce8}
 .view-tab {width:auto;height:30px;min-height:30px;padding:4px 12px;gap:7px;border-radius:1px;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:1.4px}
 .view-tab span {position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:nowrap;border:0}
 .view-tab svg {width:16px;height:16px}
 .sidebar-heading {min-height:184px;padding:19px 22px 16px;margin-bottom:15px}
 .sidebar-heading h1 {font-size:37px;line-height:.97}
 .sidebar-heading p {font-size:11px}
 .sidebar-heading .eyebrow {font-size:9px;letter-spacing:1.8px}
 .layer-search-wrap {min-height:44px}
 .layer-actions {padding-bottom:5px}
 .category-group summary {min-height:44px;padding-top:10px;padding-bottom:10px}
 .category-row label {padding-top:9px;padding-bottom:9px}
 .sidebar-footer {padding-top:11px}
 .sidebar-footer .progress-card {padding-top:10px;padding-bottom:10px}
 .hide-found-label {margin-bottom:11px}
 .map-toolbar {top:12px;left:12px;right:12px;gap:8px}
 .search-box {min-height:44px;border-radius:4px;max-width:none;width:calc(100% - 36px);gap:9px;padding-left:11px;padding-right:4px}
 .search-box input {height:43px;font-size:12px}
 .quick-filters {gap:6px;width:calc(100% + 12px);max-width:calc(100% + 12px);padding-right:12px;padding-bottom:6px}
 .preset {min-height:44px;padding:8px 10px;border-radius:3px;font-size:10px;gap:6px}
 .preset svg {width:16px;height:16px}
 .map-compass {top:17px;right:16px}
 .map-compass span {font-size:9px}
 .map-status {left:12px;bottom:52px;border-radius:3px;font-size:9px;padding:8px 9px}
 .map-controls {right:12px;bottom:52px;gap:6px}
 .map-control {width:44px;height:44px;border-radius:3px}
 .zoom-controls {border-radius:3px}
 .map-attribution {font-size:7px;padding-left:8px;padding-right:8px;gap:2px 5px}
 .detail-panel {left:8px;right:8px;bottom:calc(37px + env(safe-area-inset-bottom,0px));top:auto;width:auto;max-height:66%;border-width:1px;border-top-width:4px;border-radius:7px;box-shadow:0 -6px 28px #1305226b}
 .detail-head {min-height:48px;padding:16px 57px 14px 13px;background-position:center 40%}
 .detail-kicker {font-size:9px;letter-spacing:1.5px}
 .detail-close {top:1px;right:3px;width:43px;height:43px}
 .detail-body {padding:13px 13px 18px}
 .detail-body>.detail-title {font-size:29px;line-height:1.08;letter-spacing:.2px;margin-bottom:10px}
 .detail-area {font-size:11px;line-height:1.45}
 .vehicle-browser,.vehicle-viewer .vehicle-browser {grid-template-columns:minmax(78px,1fr) minmax(70px,.9fr) minmax(78px,1fr);gap:7px;margin:0 0 7px;padding:0}
 .vehicle-step {height:46px;min-height:46px;width:100%;min-width:0;padding:0 6px;gap:5px;border-radius:3px}
 .vehicle-step-label {font-size:10px;letter-spacing:0}
 .vehicle-step svg {width:17px;height:17px;flex-basis:17px}
 .vehicle-position strong {font-size:21px}
 .vehicle-position small {font-size:7px;letter-spacing:1px}
 .vehicle-position strong span {font-size:11px}
 .vehicle-swipe-hint {font-size:10px;letter-spacing:0;line-height:1.4;margin:9px 0 11px;padding:6px}
 .vehicle-swipe-hint::before {font-size:15px;margin-right:5px}
 .detail-photo {margin-bottom:12px}
 .detail-photo .photo-frame {aspect-ratio:16/9;max-height:210px}
 .detail-photo .photo-views {margin-bottom:8px}
 .photo-views {border-radius:3px}
 .photo-views button {font-size:10px;min-height:44px;padding:7px 4px;gap:5px}
 .vehicle-photo figcaption {font-size:8px;line-height:1.6}
 .workspace:has(.detail-panel:not([hidden])) .map-controls {right:12px;top:119px;bottom:auto}
 .is-list .map-toolbar {padding:12px 12px 15px}
 .list-view {padding-top:139px;padding-left:12px;padding-right:12px}
 .list-heading h2,.list-header h2 {font-size:30px}
 .list-heading>.secondary-btn {min-height:44px}
 .result-card {border-radius:4px}
 .photo-card .result-title {font-size:24px}
 .modal {padding:25px 16px 22px;max-height:91dvh;border-radius:7px;border-width:1px;border-top-width:4px}
 .modal-title {font-size:32px;line-height:1.07;margin-top:9px;margin-bottom:17px;margin-right:25px;letter-spacing:.4px}
 .modal .eyebrow {font-size:8px;letter-spacing:1.8px;max-width:calc(100% - 38px)}
 .modal-close {top:7px;right:7px;min-width:40px;min-height:40px;width:40px;height:40px}
 .modal.vehicle-viewer {padding:22px 13px 19px;width:calc(100vw - 16px);max-width:calc(100vw - 16px);background-size:auto 330px;background-position:55% top}
 .vehicle-viewer .modal-title {padding-right:12px;font-size:33px;line-height:1.06;margin-bottom:14px}
 .vehicle-viewer .vehicle-browser {margin:13px 0 8px}
 .vehicle-viewer .vehicle-step {height:47px;min-height:47px}
 .vehicle-viewer .vehicle-step-label {font-size:10px}
 .vehicle-viewer .vehicle-position strong {font-size:22px}
 .vehicle-viewer .vehicle-position small {font-size:7px;letter-spacing:1.1px}
 .vehicle-viewer .vehicle-swipe-hint {margin-bottom:11px}
 .vehicle-viewer #photoViewer {margin-top:9px;margin-bottom:11px}
 .vehicle-viewer #photoViewer:not(.zoomed) .photo-frame {max-height:36dvh;aspect-ratio:16/10}
 .vehicle-preview-label {font-size:10px;padding:8px 9px;margin-bottom:10px}
 .vehicle-viewer .photo-caption {font-size:11px;line-height:1.65}
 .source-stats strong {font-size:27px}
 .guide-select,.guide-search {min-height:44px}
 .toast {bottom:52px;border-radius:4px}
}
@media(max-width:370px) {
 .app-header {padding-left:7px;padding-right:7px;column-gap:5px}
 .header-brand {gap:4px}
 .brand-logo {width:119px;height:80px}
 .mobile-filter-button {width:40px;min-width:40px}
 .header-actions {gap:4px}
 .header-actions .text-button {width:40px;min-width:40px}
 .sidebar {width:calc(100vw - 22px);min-width:0}
 .detail-body {padding-left:11px;padding-right:11px}
 .vehicle-browser,.vehicle-viewer .vehicle-browser {grid-template-columns:minmax(76px,1fr) minmax(68px,.8fr) minmax(76px,1fr);gap:6px}
 .vehicle-step-label {font-size:9px}
 .vehicle-swipe-hint {font-size:9px}
 .vehicle-viewer .modal-title {font-size:30px}
}
@media(max-height:700px) and (min-width:901px) {
 .sidebar-heading {min-height:155px;padding-top:15px;padding-bottom:13px;margin-bottom:12px}
 .sidebar-heading h1 {font-size:32px;margin-top:10px;margin-bottom:7px}
 .sidebar-heading p {font-size:10px}
 .field-shortcuts {margin-bottom:10px;gap:5px}
 .shortcut-button {min-height:39px}
 .sidebar-footer {padding-top:10px;padding-bottom:10px}
 .progress-card {padding-top:8px;padding-bottom:8px}
}
@media(max-height:760px) and (max-width:900px) {
 .sidebar-heading {min-height:132px;padding:15px 22px 13px;margin-bottom:12px}
 .sidebar-heading h1 {font-size:32px;line-height:.96;margin:10px 0 0}
 .sidebar-heading p {display:none}
 .sidebar-footer {padding-top:10px;padding-bottom:10px}
 .sidebar-footer .progress-card {padding-top:8px;padding-bottom:8px}
 .sidebar-footer .data-note {margin-top:7px}
}
/* On narrow screens the complete drawer scrolls, so its artwork and controls
   never leave the category list trapped in a short inner scrolling region. */
@media(max-width:900px) {
 .sidebar {display:block;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 .sidebar .category-list {display:block;flex:none;min-height:180px;overflow:visible;overscroll-behavior:auto}
 .sidebar .sidebar-footer {position:static;flex:none;margin-top:0}
}
@media(prefers-reduced-motion:reduce) {
 *,*::before,*::after {animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
}

/* Aircraft, watercraft and discoveries share the existing map and progress. */
.explore-header-button {color:#ffe5a2;border-color:#eea3c98a;background:#381140c9}
.explore-header-button>[data-icon] {display:flex;width:19px;height:19px}
.explore-header-button>[data-icon] svg {width:19px;height:19px}
.air-sea-shortcut {border-left-color:#7ee8f7;background:linear-gradient(110deg,#253350,#492044)}
.air-sea-shortcut>[data-icon] {display:flex;color:#94edff}
.air-sea-shortcut>[data-icon] svg {width:18px;height:18px}
.explore-tabs {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:4px;border:1px solid #a45b8c;border-radius:4px;background:#180b29;margin:20px 0}
.explore-tabs>button {min-height:48px;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:2px;font-size:12px;font-weight:850;color:#e5bfd8}
.explore-tabs>button>svg {width:19px;height:19px;flex:0 0 19px}
.explore-tabs>button[aria-pressed=true] {background:var(--sun);color:#27122e}
.explore-tabs>button:hover:not([aria-pressed=true]) {background:#52264f;color:#fff0d7}
.explore-facilities {display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 9px}
.explore-facilities .secondary-btn {min-height:44px;gap:7px;padding:9px 12px;font-size:11px;line-height:1.5;white-space:normal}
.explore-facilities svg {width:16px;height:16px;flex:0 0 16px}
.guide-coverage {font-size:11px;line-height:1.7;color:#d1b4d4;margin:10px 0 20px}
.explore-toolbar {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(120px,.8fr) minmax(125px,.8fr);gap:7px;align-items:stretch}
.explore-toolbar input,.explore-toolbar select {width:100%;min-width:0;min-height:44px;font-size:11px}
.explore-count {color:#ffdcaa;letter-spacing:.25px;font-weight:700;font-size:12px;margin:17px 0 12px}
.explore-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;align-items:start;margin-bottom:22px}
.explore-card {min-width:0;overflow:hidden;border:1px solid #945581;border-radius:5px;background:linear-gradient(135deg,#341b48,#21112f);box-shadow:3px 4px 0 #0c051d66}
.explore-photo {position:relative;width:100%;display:block;overflow:hidden;background:#140b26;border-bottom:2px solid #b66e9b;cursor:pointer}
.explore-photo .photo-frame,.explore-no-photo {display:flex;width:100%;aspect-ratio:16/10;align-items:center;justify-content:center;overflow:hidden;background:#12091e}
.explore-photo .photo-frame img {display:block;width:100%;height:100%;object-fit:contain}
.explore-photo:hover {border-bottom-color:var(--sun)}
.explore-photo:focus-visible {outline:3px solid var(--sun);outline-offset:-3px}
.explore-photo-action {position:absolute;bottom:9px;right:9px;display:flex;align-items:center;gap:5px;border:1px solid #ffc383;border-radius:3px;background:#251033ed;padding:6px 8px;font-size:10px;font-weight:750;color:#ffe6c6}
.explore-photo-action svg {width:13px;height:13px}
.explore-no-photo {flex-direction:column;gap:12px;background:radial-gradient(ellipse at 50% 35%,#674270,#201132);color:#d2b0d4;font-size:11px}
.explore-no-photo>svg {width:64px;height:64px;color:#ffd596;stroke-width:1.1;filter:drop-shadow(2px 3px 0 #160c2b)}
.explore-card-body {padding:16px}
.explore-card-kicker {display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:10px;font-weight:800;color:#ffcc95;line-height:1.5}
.explore-card-kicker>svg {width:15px;height:15px;flex:0 0 15px}
.catalog-status {display:inline-flex;margin-left:auto;border:1px solid #5cc4bd70;border-radius:3px;padding:3px 6px;color:#acfff0;background:#173d3b;font-size:9px;font-weight:700;white-space:nowrap;line-height:1.5}
.catalog-status.unmapped {color:#e3c7ed;border-color:#b783c76e;background:#48234f}
.explore-card h3 {font-family:var(--display);font-size:27px;font-weight:800;line-height:1.1;color:#fff0d6;letter-spacing:.25px;margin:14px 0 10px;text-shadow:1px 2px 0 #5b234f;overflow-wrap:anywhere}
.explore-card-body>p {font-size:12px;line-height:1.7;margin:10px 0;color:#e5cfe5}
.explore-card-body .explore-area {color:#ffcf9e;font-size:11px;font-weight:700}
.explore-card-body .catalog-photo-note,.catalog-photo-note {font-size:10px;line-height:1.65;color:#bfa4ca}
.catalog-photo-note a,.explore-card-links>a,.catalog-viewer-note a {color:#ffd29e;text-underline-offset:3px}
.explore-card-links {display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:15px 0 0;font-size:11px;line-height:1.6}
.explore-card-links .secondary-btn,.catalog-locations .secondary-btn {min-height:44px;font-size:11px;line-height:1.5;padding:8px 10px;white-space:normal;max-width:100%;justify-content:flex-start;text-align:left}
.catalog-locations {width:100%;border-top:1px solid #79406f;padding-top:9px}
.catalog-locations>summary {display:flex;align-items:center;gap:7px;cursor:pointer;min-height:36px;color:#ffdf9d;font-size:11px;font-weight:750}
.catalog-locations>summary>svg {width:15px;height:15px;flex:0 0 15px}
.catalog-locations>summary::after {content:'+';margin-left:auto;font-size:19px;line-height:1}
.catalog-locations[open]>summary::after {content:'−'}
.catalog-locations .wish-links {display:flex;flex-direction:column;align-items:stretch;margin:8px 0 0;gap:7px}
.discovery-banner {display:flex;align-items:center;gap:9px;min-height:74px;padding:14px 16px;border-bottom:2px solid #b96598;background:linear-gradient(95deg,#341339dd,#3c13396b),url('assets/vice-sunset.png') center 52%/cover;color:#ffe7a8}
.discovery-banner>svg {width:26px;height:26px;flex:0 0 26px}
.discovery-banner>span:not(.catalog-status) {font-size:10px;line-height:1.5;font-weight:850;letter-spacing:.4px;text-transform:uppercase}
.discovery-banner .catalog-status {font-size:8px;padding:2px 4px}
.explore-card-body .discovery-condition {border-left:2px solid #ee86be;padding:8px 0 8px 10px;color:#d8bddf;font-size:11px}
.explore-empty {grid-column:1/-1;padding:30px;text-align:center;border:1px dashed #98678d;border-radius:4px;color:#dec5e4}
.explore-empty h3 {color:#ffe2aa}
.explore-empty p {font-size:12px}
.catalog-viewer-note,.explore-detail-note {margin:15px 0;padding:13px;border:1px solid #92527e;border-left:3px solid #77dfee;border-radius:3px;background:#2b183c;color:#dec7e1;font-size:11px;line-height:1.7}
.catalog-viewer-note p,.explore-detail-note p {margin:0 0 10px}
.catalog-viewer-note p:last-child,.explore-detail-note p:last-child {margin-bottom:0}
.explore-detail-note .secondary-btn {min-height:40px;font-size:10px;white-space:normal}
@media(max-width:600px) {
 .header-actions .explore-header-button {background:#4f2151;border-color:#ffc78c;color:#ffe7ad}
 .header-actions .explore-header-button>span[data-icon] {display:flex;width:18px;height:18px}
 .explore-tabs {margin:17px 0;gap:3px}
 .explore-tabs>button {font-size:10px;gap:5px;min-height:45px}
 .explore-tabs>button>svg {width:16px;height:16px;flex-basis:16px}
 .explore-facilities {gap:6px}
 .explore-facilities .secondary-btn {flex:1 1 auto;justify-content:center;font-size:10px;padding:8px}
 .explore-toolbar {grid-template-columns:repeat(2,minmax(0,1fr))}
 .explore-toolbar input {grid-column:1/-1}
 .explore-toolbar select {font-size:10px;padding-left:8px;padding-right:6px}
 .explore-toolbar select:only-of-type {grid-column:1/-1}
 .explore-grid {grid-template-columns:1fr;gap:16px}
 .explore-card-body {padding:15px}
 .explore-card h3 {font-size:29px}
 .explore-card-body>p {font-size:12px}
 .catalog-status {font-size:10px}
 .catalog-locations>summary {min-height:40px;font-size:12px}
 .catalog-photo-note {font-size:10px}
 .guide-coverage {font-size:10px}
 .catalog-viewer-note,.explore-detail-note {font-size:11px}
}
.saved-views-panel {margin:0 20px 15px;border:1px solid #87527b;border-left:3px solid #7ee8f7;border-radius:4px;background:#1b112c;padding:9px 10px}
.saved-views-heading {display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}
.saved-views-heading>span {font-size:10px;font-weight:750;color:#bfeef1}
.saved-views-heading .small-button {min-height:28px;font-size:10px;padding:3px 0}
.saved-views-row {display:flex;gap:6px;align-items:center}
.saved-views-row select {flex:1;min-width:0;width:100%;height:40px;border:1px solid #83547b;border-radius:3px;background:#30173d;color:#ffe7d7;padding:8px;font-size:11px}
.saved-views-row .icon-button {flex:0 0 40px;min-height:40px;width:40px;height:40px;background:#59305d;border:1px solid #c885ad;color:#ffe2a6}
.saved-views-row .icon-button [data-icon] {display:flex}
.saved-views-row .icon-button svg {width:18px;height:18px}
.saved-views-panel>p {font-size:9px;line-height:1.6;color:#baa8c9;margin:7px 0 0}
.save-view-panel {padding:16px;background:#2e173b;border:1px solid #a25e8c;border-radius:4px;margin:20px 0}
.save-view-controls {display:flex;gap:8px;align-items:stretch;margin:9px 0}
.save-view-controls input {flex:1;min-width:0;min-height:44px}
.save-view-controls .primary-btn {min-height:44px;white-space:nowrap;font-size:11px}
.saved-view-layers {font-size:11px;line-height:1.7;color:#cbb2d3;margin:8px 0 0}
.saved-view-layers>summary {cursor:pointer;color:#ffd29c;min-height:32px}
.saved-view-entries {display:grid;gap:9px;margin:15px 0}
.saved-view-entry {display:flex;align-items:center;gap:8px;min-width:0;padding:11px;border:1px solid #7d4f79;border-radius:4px;background:#281435}
.saved-view-entry>div {flex:1;min-width:0}
.saved-view-entry h3 {font-size:14px;color:#ffe2b5;margin:0 0 4px;overflow-wrap:anywhere}
.saved-view-entry p {font-size:10px;color:#baa7ca;margin:0}
.saved-view-entry .secondary-btn {min-height:40px;padding:8px;font-size:10px;white-space:nowrap}
.saved-view-entry .icon-button {min-width:36px;flex:0 0 36px}
.saved-view-entry .icon-button svg {width:18px;height:18px}
@media(max-width:600px) {
 .saved-views-row select,.saved-views-row .icon-button {min-height:44px;height:44px}
 .saved-view-entry {gap:6px;padding:10px}
 .save-view-panel {padding:12px}
 .save-view-controls .primary-btn {padding:9px}
 .save-view-controls input {font-size:11px}
}
.reference-guides {margin:0 20px 12px;border:1px solid #804d76;border-radius:4px;background:#2a1638;flex:0 0 auto}
.reference-guides>summary {display:flex;gap:9px;align-items:center;min-height:43px;padding:7px 10px;cursor:pointer;list-style:none;color:#ffddbc;font-size:11px;font-weight:750}
.reference-guides>summary::-webkit-details-marker {display:none}
.reference-guides>summary>[data-icon] {display:flex}
.reference-guides>summary svg {width:16px;height:16px;color:#ffc492}
.reference-guides>summary>span:last-child {margin-left:auto;color:#bca4c8;font-size:10px}
.reference-guides>summary::after {content:'+';font-size:17px;margin-left:4px;color:#ffd3a2}
.reference-guides[open]>summary::after {content:'−'}
.reference-guides .field-shortcuts {margin:0;padding:0 9px 10px;gap:6px}
.reference-guides .air-sea-shortcut,.reference-guides .missing-shortcut {grid-column:1/-1}
.reference-guides .shortcut-button {font-size:10px;min-height:44px}
@media(min-width:901px) and (max-height:800px) {
 .sidebar {display:block;overflow-y:auto;overscroll-behavior:contain}
 .sidebar .category-list {overflow:visible;min-height:180px}
 .sidebar .sidebar-footer {position:static}
}

/* v9: music is a persistent optional dock; videos open the selected channel. */
.youtube-button {display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;background:#1b0d2eb3;border:1px solid #e7add455}
.youtube-button img {display:block;flex:none;width:24px;height:auto}
.channel-banner {
 display:flex;flex:none;align-items:center;justify-content:center;gap:12px;
 min-height:44px;padding:5px 16px;color:#fff3ee;text-decoration:none;
 background:linear-gradient(105deg,#21122f 8%,#48233e 52%,#24162f 92%);border-bottom:1px solid #9e5283;
}
.channel-banner img {display:block;flex:none}
.channel-banner-name {display:flex;align-items:baseline;gap:8px}
.channel-banner-name strong {font-size:14px;font-weight:800}
.channel-banner-name>span {font-size:12px;color:#f3c5db}
.channel-banner-action {
 display:inline-flex;align-items:center;gap:5px;margin-left:8px;padding:4px 10px;
 background:#ffe5ef;color:#34152c;border-radius:4px;font-size:12px;font-weight:750;white-space:nowrap;
}
.channel-banner:hover .channel-banner-action {background:#fff}
.channel-banner:focus-visible {outline:2px solid #7de8f3;outline-offset:-3px}
@media(max-width:600px) {
 .channel-banner {justify-content:flex-start;gap:8px;padding:5px 12px}
 .channel-banner-name {flex-direction:column;gap:0;line-height:1.2}
 .channel-banner-name>span {font-size:11px}
 .channel-banner-action {margin-left:auto}
}
#app.radio-open .sidebar {overflow-y:auto}
#app.radio-open .category-list {flex:0 0 auto;overflow:visible}
@media(min-width:601px) and (max-width:1250px){
 .brand-tagline {display:none}
 .view-tab {padding-left:12px;padding-right:12px}
 .header-actions .button-label {display:none}
 .header-actions .text-button {width:42px;min-width:42px;padding:10px}
}
@media(max-width:600px){
 .view-tabs {grid-template-columns:1fr 1.15fr 1.1fr}
 .view-tab {padding-left:7px;padding-right:7px;gap:6px;letter-spacing:1px}
 .header-actions {gap:3px}
 .header-actions .text-button {width:36px;min-width:36px;padding:8px}
}
@media(max-width:380px){
 .app-header {padding-left:8px;padding-right:8px;column-gap:5px}
 .header-brand {gap:4px}
 .brand-logo {width:112px}
 .header-actions .text-button {width:34px;min-width:34px}
 .view-tab {font-size:9px;letter-spacing:.7px}
}
@media(max-width:600px){
 .radio-open .map-controls {top:auto;right:10px;bottom:84px;display:flex;flex-direction:row;align-items:center;gap:5px}
 .radio-open .zoom-controls {display:flex;flex-direction:row}
 .radio-open .map-control {width:34px;height:34px;min-height:34px;padding:8px}
 .radio-open .map-control svg {width:16px;height:16px}
 .radio-open #fullScreen {display:none}
}
