/* SIGMA EXPERIENCES / 0.7
   Each map has its own UX skin, not merely a changed colour palette. Core
   controls remain in predictable positions to preserve navigation usability. */

body[data-theme]{--experience-font:'Space Grotesk',sans-serif}
body[data-theme] :is(.search-box,.styles-launcher,.route-card,.theme-dock,.places-drawer,.tool-button,.circle-button,.quick-places button){transition:background-color .22s ease,border-color .22s ease,box-shadow .22s ease,border-radius .22s ease,color .22s ease}
.experience-serial{border-left:1px solid currentColor;padding-left:9px;font-weight:700;opacity:.58;letter-spacing:.08em}
.brand-type>span{white-space:nowrap;max-width:210px;overflow:hidden;text-overflow:ellipsis}
.theme-card .theme-art{border-radius:inherit;overflow:hidden}
.theme-card .mini-cartography{width:100%;height:100%}
.theme-details small{letter-spacing:.075em}
.renderer-note{display:none;font:600 10px/1.35 'DM Sans',sans-serif;color:var(--shell-muted);margin-top:7px;opacity:.9}
body[data-renderer=raster] .renderer-note{display:block}

/* AERO 2000 / luminous soft glass, optimistic open space and curved surfaces. */
body[data-theme=aero]{
  --sigma-mint:#16ab9e;--accent:#16ab9e;--accent-rgb:22,171,158;--accent-ink:#063c3e;
  --shell-bg:rgba(238,255,251,.92);--shell-bg-raised:rgba(249,255,254,.97);
  --shell-ink:#12464b;--shell-muted:#547d82;--shell-stroke:rgba(46,125,126,.21);
  --shell-shadow:rgba(18,102,112,.16);--shell-shine:rgba(255,255,255,.95);
  --radius-control:22px;--radius-sheet:29px;
}
body[data-theme=aero][data-ui=day]{--shell-bg:rgba(252,255,255,.98);--shell-bg-raised:#fff;--shell-shadow:rgba(23,124,128,.1)}
body[data-theme=aero] .map-vignette{background:radial-gradient(ellipse at 8% 6%,rgba(245,255,240,.37),transparent 38%),linear-gradient(180deg,rgba(39,136,142,.09),transparent 23%,transparent 72%,rgba(33,126,133,.14));mix-blend-mode:normal}
body[data-theme=aero] .grain{opacity:.035;mix-blend-mode:soft-light}
body[data-theme=aero] .brand{padding:5px 14px 5px 5px;background:linear-gradient(135deg,rgba(251,255,255,.9),rgba(224,252,249,.78));border:1px solid rgba(255,255,255,.88);border-radius:18px;box-shadow:0 8px 25px rgba(33,135,147,.13);backdrop-filter:blur(24px)}
body[data-theme=aero] .brand-mark{border-radius:15px;background:radial-gradient(circle at 27% 12%,#fff 0%,#dcfffa 25%,#8ef2e4 53%,#27b8b6 100%);border-color:#f5ffff;box-shadow:inset 0 2px 2px #fff,inset 0 -3px 5px rgba(4,104,109,.2),0 6px 17px rgba(7,152,157,.23)}
body[data-theme=aero] .brand-mark span{color:#07515a}
body[data-theme=aero] .brand-type{filter:none}
body[data-theme=aero] .brand-type strong{color:#0e555e;text-shadow:none}
body[data-theme=aero] .brand-type>span{color:#477f81}
body[data-theme=aero] .brand-dot{color:#12a5a3}
body[data-theme=aero] :is(.circle-button,.tool-button){color:#135d62;background:linear-gradient(150deg,rgba(255,255,255,.96),rgba(211,247,244,.89));border:1px solid rgba(255,255,255,.92);border-radius:18px;box-shadow:inset 0 2px rgba(255,255,255,.97),0 5px 18px rgba(23,110,122,.14)}
body[data-theme=aero] .tool-button.active{color:#067d80;background:linear-gradient(140deg,#f7fffb,#bcf8ec);border-color:#8de5d8}
body[data-theme=aero] .build-tag{color:#216064;background:rgba(244,255,253,.87);border:1px solid rgba(28,135,136,.17)}
body[data-theme=aero] .search-box{background:linear-gradient(130deg,rgba(255,255,255,.98),rgba(227,252,247,.91));border:1px solid rgba(255,255,255,.9);box-shadow:inset 0 2px #fff,0 14px 35px rgba(19,136,149,.2);border-radius:22px}
body[data-theme=aero] .search-box input{color:#12464b}
body[data-theme=aero] .styles-launcher{background:linear-gradient(140deg,#f4fffc,#c9f2ed);color:#13565d;border-radius:20px;border-color:rgba(90,185,184,.5)}
body[data-theme=aero] .quick-label{color:#eafffb;text-shadow:0 2px 6px rgba(3,63,71,.6)}
body[data-theme=aero] .quick-label,body[data-theme=rose] .quick-label{color:#35676a;text-shadow:0 1px rgba(255,255,255,.7);background:rgba(255,255,255,.72);border-radius:7px;padding:5px 7px}
body[data-theme=aero] .map-caption,body[data-theme=rose] .map-caption{color:#35646a;text-shadow:0 1px #fff;filter:none}
body[data-theme=aero] .caption-coords,body[data-theme=rose] .caption-coords{color:#437d80}
body[data-theme=aero] .quick-places button{background:rgba(246,255,253,.91);color:#17565a;border-radius:999px;border:1px solid rgba(255,255,255,.9);box-shadow:0 5px 16px rgba(18,103,111,.15)}
body[data-theme=aero] .route-card,body[data-theme=aero] .theme-dock,body[data-theme=aero] .places-drawer{background:linear-gradient(147deg,rgba(254,255,255,.98),rgba(217,250,245,.95));box-shadow:inset 0 2px rgba(255,255,255,.92),0 18px 65px rgba(13,105,116,.2);border:1px solid rgba(255,255,255,.93)}
body[data-theme=aero] .route-place-symbol{border-radius:50%;color:#0b9f9b;background:radial-gradient(circle at 32% 20%,#fff,#abf1e7 55%,#42c6be);box-shadow:inset 0 2px rgba(255,255,255,.9)}
body[data-theme=aero] .route-stats{background:linear-gradient(90deg,rgba(196,246,236,.64),rgba(248,255,252,.84))}
body[data-theme=aero] .primary-button{background:linear-gradient(150deg,#a9fff0,#42d9c8 55%,#12b5ab);color:#064d4d;border-color:#b3fdf0;border-radius:16px}
body[data-theme=aero] .secondary-button,body[data-theme=aero] .utility-button{background:rgba(255,255,255,.52);border-radius:15px}
body[data-theme=aero] .toast{background:#f2fffc;color:#15565d}
body[data-theme=aero] .theme-card{background:rgba(247,255,254,.8);border-radius:16px}
body[data-theme=aero] .theme-card[aria-pressed=true]{background:rgba(190,245,232,.55)}
body[data-theme=aero] .modal{background:linear-gradient(145deg,#fff,#e1f9f4)}

/* NEON CIRCUIT / high contrast augmented-road HUD with illuminated hierarchy. */
body[data-theme=neon]{
  --sigma-mint:#42f5db;--accent:#42f5db;--accent-rgb:66,245,219;--accent-ink:#061d31;
  --shell-bg:rgba(8,14,35,.95);--shell-bg-raised:rgba(16,23,49,.98);
  --shell-ink:#eefaff;--shell-muted:#9aadd3;--shell-stroke:rgba(100,244,225,.3);
  --shell-shadow:rgba(2,5,28,.52);--shell-shine:rgba(116,255,231,.15);
  --radius-control:5px;--radius-sheet:7px;
  --experience-font:'IBM Plex Mono',monospace;
}
body[data-theme=neon][data-ui=day]{--shell-bg:rgba(25,30,64,.96);--shell-bg-raised:rgba(38,44,81,.99);--shell-ink:#fff;--shell-muted:#c2c9ed}
body[data-theme=neon] .map-vignette{background:linear-gradient(180deg,rgba(4,5,28,.36),transparent 25%,transparent 67%,rgba(13,4,38,.23)),radial-gradient(ellipse at 90% 12%,rgba(162,66,222,.11),transparent 46%);mix-blend-mode:normal}
body[data-theme=neon] .grain{opacity:.13;background-image:repeating-linear-gradient(0deg,transparent 0,transparent 36px,rgba(88,233,234,.19) 37px),repeating-linear-gradient(90deg,transparent 0,transparent 36px,rgba(88,233,234,.14) 37px);mix-blend-mode:screen;mask-image:linear-gradient(to bottom,#000,transparent 65%)}
body[data-theme=neon] .brand-mark{border-radius:2px;clip-path:polygon(0 0,75% 0,100% 25%,100% 100%,25% 100%,0 75%);background:linear-gradient(140deg,#42214e,#141f42 58%,#083b49);border:1px solid rgba(81,251,222,.8);box-shadow:inset 0 0 12px rgba(88,251,230,.45),0 0 20px rgba(73,252,224,.25)}
body[data-theme=neon] .brand-mark span{color:#71fff0;text-shadow:0 0 12px rgba(69,249,228,.6)}
body[data-theme=neon] .brand-mark .brand-trace{opacity:.08}
body[data-theme=neon] .brand-type strong{color:#e8fffb;letter-spacing:.025em;text-shadow:0 0 13px rgba(37,243,223,.3)}
body[data-theme=neon] .brand-type>span{color:#9debe9;font-family:var(--experience-font);letter-spacing:.1em}
body[data-theme=neon] .build-tag{background:rgba(11,16,39,.94);color:#91fcef;border-color:rgba(66,245,219,.32);font-family:var(--experience-font);border-radius:2px}
body[data-theme=neon] :is(.circle-button,.tool-button,.search-box,.styles-launcher,.route-card,.theme-dock,.places-drawer,.quick-places button){border-radius:0;clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px))}
body[data-theme=neon] :is(.circle-button,.tool-button){color:#d0fffa;background:linear-gradient(150deg,rgba(17,35,62,.96),rgba(15,14,49,.96));border-color:rgba(94,245,233,.37);box-shadow:inset 0 0 0 1px rgba(52,241,216,.09),0 0 17px rgba(28,217,215,.11)}
body[data-theme=neon] .tool-button.active{background:rgba(33,99,110,.6);border-color:#39f9db;color:#fff}
body[data-theme=neon] .map-tools:before{content:'HUD / 03';position:absolute;right:0;top:-21px;font:600 8px var(--experience-font);letter-spacing:.13em;color:#87e6e7;text-shadow:0 0 8px #073e48}
body[data-theme=neon] .search-box{background:linear-gradient(120deg,rgba(12,17,45,.98),rgba(29,19,58,.98));border:1px solid rgba(84,238,221,.51);box-shadow:inset 3px 0 #3efee6,0 0 21px rgba(62,233,230,.16),0 13px 34px rgba(0,0,0,.28)}
body[data-theme=neon] .search-box input{font-family:var(--experience-font);font-weight:500;letter-spacing:-.025em}
body[data-theme=neon] .search-shortcut,body[data-theme=neon] .styles-copy,body[data-theme=neon] .quick-label{font-family:var(--experience-font)}
body[data-theme=neon] .styles-launcher{background:linear-gradient(120deg,rgba(10,37,57,.97),rgba(23,15,53,.97));border-color:rgba(94,243,225,.51);box-shadow:inset 3px 0 #e76fca,0 0 15px rgba(62,241,229,.15)}
body[data-theme=neon] .styles-launcher:after{height:2px;background:linear-gradient(90deg,#3bf9e0,#ff6ac4)}
body[data-theme=neon] .quick-label{color:#8ee9e0}
body[data-theme=neon] .quick-places button{background:rgba(9,18,46,.89);color:#d8fffd;border:1px solid rgba(68,243,217,.43);font-family:var(--experience-font);font-weight:500;box-shadow:inset 2px 0 #ff63ba,0 7px 19px rgba(3,6,25,.3)}
body[data-theme=neon] .route-card,body[data-theme=neon] .theme-dock,body[data-theme=neon] .places-drawer{background:linear-gradient(145deg,rgba(20,28,64,.97),rgba(9,13,37,.98));border:1px solid rgba(77,241,221,.45);box-shadow:inset 3px 0 rgba(66,245,219,.63),0 22px 75px rgba(5,7,35,.6)}
body[data-theme=neon] .route-card:before,body[data-theme=neon] .theme-dock:before{height:2px;background:linear-gradient(90deg,#40ffe3,#cb74f3,#ff62c4);border-radius:0;opacity:1}
body[data-theme=neon] .route-kicker,body[data-theme=neon] .route-subline,body[data-theme=neon] .origin-summary,body[data-theme=neon] .route-notice{font-family:var(--experience-font)}
body[data-theme=neon] .route-destination{font-weight:700;letter-spacing:-.04em}
body[data-theme=neon] .route-place-symbol{border-radius:3px;border-color:#60f7ea;background:linear-gradient(130deg,rgba(57,251,227,.18),rgba(230,71,203,.19));color:#61ffe9}
body[data-theme=neon] .route-stats{border-radius:2px;background:linear-gradient(110deg,rgba(59,249,219,.09),rgba(204,71,218,.09));border-color:rgba(85,242,230,.27)}
body[data-theme=neon] .route-stats strong{font:600 26px var(--experience-font);letter-spacing:-.065em;color:#bcfff6}
body[data-theme=neon] .route-stats span{font-family:var(--experience-font);color:#8bdbd8}
body[data-theme=neon] .primary-button{background:linear-gradient(100deg,#45f9dc,#78ceff 58%,#c197ff);border-radius:2px;border:1px solid #93ffec;color:#071935;font-family:var(--experience-font);box-shadow:0 0 15px rgba(50,248,217,.28),inset 0 1px #e5fffc}
body[data-theme=neon] .secondary-button,body[data-theme=neon] .utility-button,body[data-theme=neon] .origin-summary{border-radius:2px;background:rgba(21,40,73,.64)}
body[data-theme=neon] .dock-heading h2,body[data-theme=neon] .theme-details strong{letter-spacing:-.035em}
body[data-theme=neon] .theme-card{border-radius:3px;background:rgba(16,29,59,.9)}
body[data-theme=neon] .theme-card[aria-pressed=true]{border-color:#65ffe9;background:rgba(29,91,103,.37)}
body[data-theme=neon] .modal{background:linear-gradient(140deg,#1c2150,#080d27);border-radius:3px}
body[data-theme=neon] .toast{background:#111733;color:#c5fff4;border:1px solid #48e9da;font-family:var(--experience-font)}

/* ROSE QUARTZ / an editorial atlas, warm paper, soft lavender, gentle motion. */
body[data-theme=rose]{
  --sigma-mint:#c85a91;--accent:#c85a91;--accent-rgb:200,90,145;--accent-ink:#fff8f4;
  --shell-bg:rgba(255,248,246,.96);--shell-bg-raised:rgba(255,252,250,.99);
  --shell-ink:#69445d;--shell-muted:#9e7d90;--shell-stroke:rgba(153,93,126,.22);
  --shell-shadow:rgba(137,68,103,.17);--shell-shine:rgba(255,255,255,.93);
  --radius-control:24px;--radius-sheet:29px;
  --experience-font:'Fraunces',Georgia,serif;
}
body[data-theme=rose][data-ui=day]{--shell-bg:rgba(255,253,250,.99);--shell-bg-raised:#fff;--shell-muted:#917387}
body[data-theme=rose] .map-vignette{background:radial-gradient(ellipse at 8% 5%,rgba(251,203,215,.25),transparent 37%),linear-gradient(180deg,rgba(252,222,225,.22),transparent 24%,transparent 74%,rgba(239,192,219,.13));mix-blend-mode:normal}
body[data-theme=rose] .grain{opacity:.06;mix-blend-mode:multiply}
body[data-theme=rose] .brand{padding:5px 13px 5px 5px;background:rgba(255,249,246,.92);border-radius:18px;border:1px solid rgba(255,255,255,.9);box-shadow:0 5px 25px rgba(141,80,121,.13);backdrop-filter:blur(18px)}
body[data-theme=rose] .brand-mark{border-radius:15px;background:linear-gradient(145deg,#fff1ec,#ffd4df 46%,#d991b3);border:1px solid #fff3ed;box-shadow:inset 0 2px rgba(255,255,255,.86),0 4px 14px rgba(164,76,123,.17)}
body[data-theme=rose] .brand-mark span{color:#894368}
body[data-theme=rose] .brand-type{filter:none}
body[data-theme=rose] .brand-type strong{color:#7c4066;font-family:var(--experience-font);letter-spacing:-.06em;font-weight:650;text-shadow:none}
body[data-theme=rose] .brand-type>span{color:#ae6d8f;letter-spacing:.12em}
body[data-theme=rose] .circle-button,body[data-theme=rose] .tool-button{background:rgba(255,249,246,.96);color:#965277;border:1px solid rgba(255,255,255,.95);border-radius:999px;box-shadow:0 5px 16px rgba(148,87,115,.15)}
body[data-theme=rose] .tool-button.active{background:#f8dce8;color:#973d70;border-color:#edb5d0}
body[data-theme=rose] .build-tag{background:rgba(255,249,246,.9);color:#9b5882;border:1px solid rgba(164,101,137,.21)}
body[data-theme=rose] .search-box{background:#fffaf8;border:1px solid rgba(236,192,210,.77);border-radius:25px;box-shadow:inset 0 2px #fff,0 13px 34px rgba(164,88,117,.15)}
body[data-theme=rose] .search-box input{font-family:var(--experience-font);font-size:17px;font-weight:500;letter-spacing:-.025em;color:#754c65}
body[data-theme=rose] .search-shortcut{color:#a97695}
body[data-theme=rose] .styles-launcher{background:linear-gradient(140deg,#fffaf7,#f7e1e8);border-radius:25px;border-color:#efc6d5;color:#80506d}
body[data-theme=rose] .styles-launcher:after{background:#d87faa;opacity:.6}
body[data-theme=rose] .quick-label{color:#7c4a65;text-shadow:0 1px 6px rgba(255,255,255,.8)}
body[data-theme=rose] .quick-label{color:#9c5d7c;background:rgba(255,249,247,.8)}
body[data-theme=rose] .map-caption{color:#855374}
body[data-theme=rose] .quick-places button{background:rgba(255,249,245,.94);color:#835570;border:1px solid rgba(245,216,222,.9);border-radius:999px;box-shadow:0 6px 19px rgba(133,80,104,.14);font-family:var(--experience-font)}
body[data-theme=rose] .route-card,body[data-theme=rose] .theme-dock,body[data-theme=rose] .places-drawer{background:linear-gradient(155deg,rgba(255,253,250,.99),rgba(252,237,240,.97));border:1px solid rgba(255,255,255,.9);box-shadow:inset 0 1px #fff,0 25px 70px rgba(143,69,107,.22)}
body[data-theme=rose] .route-kicker,body[data-theme=rose] .dock-eyebrow{color:#be6a96}
body[data-theme=rose] .route-place-symbol{border-radius:50%;background:linear-gradient(155deg,#fff6ef,#f5cbdc);color:#c85a91;border-color:#edbed2}
body[data-theme=rose] .route-destination,body[data-theme=rose] .dock-heading h2,body[data-theme=rose] .drawer-heading h2{font-family:var(--experience-font);font-weight:600;letter-spacing:-.05em}
body[data-theme=rose] .route-destination{font-size:25px}
body[data-theme=rose] .route-stats{background:linear-gradient(110deg,rgba(255,251,247,.95),rgba(248,218,233,.58));border-color:#f1cedc}
body[data-theme=rose] .route-stats strong{font-family:var(--experience-font);color:#85486d;letter-spacing:-.05em}
body[data-theme=rose] .primary-button{background:linear-gradient(150deg,#dc89b2,#ba4c86);border:1px solid #e7a7c6;color:#fffaf9;border-radius:22px;box-shadow:0 6px 17px rgba(166,69,117,.22)}
body[data-theme=rose] .secondary-button,body[data-theme=rose] .utility-button,body[data-theme=rose] .origin-summary{background:rgba(255,255,255,.62);border-radius:19px}
body[data-theme=rose] .theme-card{background:rgba(255,251,249,.86);border-radius:18px}
body[data-theme=rose] .theme-card[aria-pressed=true]{background:rgba(251,222,235,.7)}
body[data-theme=rose] .theme-details strong{font-family:var(--experience-font);font-size:17px}
body[data-theme=rose] .modal{background:linear-gradient(155deg,#fffaf8,#f4dce8)}
body[data-theme=rose] .modal h2{font-family:var(--experience-font)}
body[data-theme=rose] .toast{background:#fff6f7;color:#805270}

/* MIDNIGHT GT / precision cockpit, black ceramic, bronze and warm guidance. */
body[data-theme=midnight]{
  --sigma-mint:#efbb75;--accent:#efbb75;--accent-rgb:239,187,117;--accent-ink:#201710;
  --shell-bg:rgba(17,23,28,.97);--shell-bg-raised:rgba(26,32,36,.99);
  --shell-ink:#f5f0e7;--shell-muted:#acaa9f;--shell-stroke:rgba(231,198,148,.22);
  --shell-shadow:rgba(1,5,8,.51);--shell-shine:rgba(255,245,224,.12);
  --radius-control:10px;--radius-sheet:14px;
  --experience-font:'IBM Plex Mono',monospace;
}
body[data-theme=midnight][data-ui=day]{--shell-bg:rgba(44,49,51,.97);--shell-bg-raised:rgba(58,64,67,.99);--shell-ink:#fff9e9;--shell-muted:#d0c9b7}
body[data-theme=midnight] .map-vignette{background:linear-gradient(180deg,rgba(6,10,11,.39),transparent 31%,transparent 65%,rgba(4,8,11,.28)),radial-gradient(ellipse at 12% 10%,rgba(218,159,91,.08),transparent 40%);mix-blend-mode:normal}
body[data-theme=midnight] .grain{opacity:.065;background-image:repeating-linear-gradient(135deg,rgba(255,252,239,.04) 0,rgba(255,252,239,.04) 1px,transparent 1px,transparent 5px);mix-blend-mode:overlay}
body[data-theme=midnight] .brand-mark{border-radius:9px;background:linear-gradient(140deg,#81715e,#22292e 56%,#090d11);border:1px solid rgba(245,204,142,.66);box-shadow:inset 0 1px rgba(255,240,200,.33),0 4px 18px rgba(1,5,7,.3)}
body[data-theme=midnight] .brand-mark span{color:#fff0d0;text-shadow:0 1px 2px rgba(0,0,0,.4)}
body[data-theme=midnight] .brand-mark .brand-trace{opacity:.15}
body[data-theme=midnight] .brand-type strong{color:#fff4de;letter-spacing:-.045em}
body[data-theme=midnight] .brand-type>span{color:#e0c79d;font-family:var(--experience-font);font-size:7px}
body[data-theme=midnight] .brand-bar{border-bottom:1px solid rgba(228,185,120,.15);padding-bottom:7px}
body[data-theme=midnight] .build-tag{background:rgba(22,28,31,.93);color:#eed5aa;border:1px solid rgba(239,188,117,.28);border-radius:4px;font-family:var(--experience-font)}
body[data-theme=midnight] :is(.circle-button,.tool-button){background:linear-gradient(150deg,rgba(45,51,53,.94),rgba(17,23,27,.96));color:#f0dcc0;border:1px solid rgba(239,188,117,.24);border-radius:9px;box-shadow:inset 0 1px rgba(255,239,211,.13),0 5px 18px rgba(0,0,0,.24)}
body[data-theme=midnight] .tool-button.active{background:linear-gradient(150deg,#514737,#242a2d);color:#ffe0a9;border-color:#a8895c}
body[data-theme=midnight] .search-box{border:1px solid rgba(236,189,127,.3);border-radius:10px;background:linear-gradient(150deg,rgba(40,46,49,.98),rgba(15,22,26,.97));box-shadow:inset 0 2px rgba(248,211,155,.09),inset 3px 0 #b98e5c,0 14px 33px rgba(0,0,0,.34)}
body[data-theme=midnight] .search-box input{font-family:'Space Grotesk',sans-serif;font-weight:600;color:#fff0d8}
body[data-theme=midnight] .search-shortcut{font-family:var(--experience-font);color:#c9ae88}
body[data-theme=midnight] .styles-launcher{border-radius:10px;border-color:rgba(241,196,126,.3);background:linear-gradient(145deg,#353839,#1b2225);box-shadow:inset 0 1px rgba(255,238,210,.17),0 11px 28px rgba(0,0,0,.34)}
body[data-theme=midnight] .styles-launcher:after{background:#e7ae6d}
body[data-theme=midnight] .quick-label{font-family:var(--experience-font);color:#e6d1b2}
body[data-theme=midnight] .quick-places button{background:linear-gradient(140deg,rgba(48,53,55,.93),rgba(17,24,28,.95));border:1px solid rgba(242,191,120,.3);color:#f7e4cb;border-radius:8px;box-shadow:inset 0 1px rgba(255,247,232,.09),0 9px 24px rgba(0,0,0,.25)}
body[data-theme=midnight] .route-card,body[data-theme=midnight] .theme-dock,body[data-theme=midnight] .places-drawer{background:linear-gradient(155deg,rgba(38,44,47,.99),rgba(13,20,24,.99));border:1px solid rgba(239,187,117,.26);border-radius:14px;box-shadow:inset 0 1px rgba(255,241,216,.17),0 23px 80px rgba(1,5,7,.5)}
body[data-theme=midnight] .route-card:before,body[data-theme=midnight] .theme-dock:before{height:1px;background:linear-gradient(90deg,#735b3e,#f9d9a2,#735b3e);border-radius:0}
body[data-theme=midnight] .route-place-symbol{background:linear-gradient(160deg,#584938,#20282c);color:#ffdda4;border-radius:9px;border-color:#92724b}
body[data-theme=midnight] .route-destination{font-weight:700;letter-spacing:-.035em}
body[data-theme=midnight] .route-kicker,body[data-theme=midnight] .route-notice,body[data-theme=midnight] .dock-eyebrow{font-family:var(--experience-font);color:#eac28a}
body[data-theme=midnight] .route-stats{background:linear-gradient(110deg,rgba(45,50,51,.76),rgba(18,24,28,.88));border-radius:7px;border-color:rgba(229,188,128,.22)}
body[data-theme=midnight] .route-stats strong{font-family:'Space Grotesk',sans-serif;font-weight:700;font-variant-numeric:tabular-nums;color:#ffdfa8}
body[data-theme=midnight] .route-stats span{font-family:var(--experience-font);color:#b5a88e}
body[data-theme=midnight] .primary-button{background:linear-gradient(145deg,#ffdfaa,#c99c5e 63%,#a67949);color:#211a14;border:1px solid #f4d19a;border-radius:8px;box-shadow:inset 0 1px rgba(255,249,227,.68),0 7px 20px rgba(0,0,0,.24)}
body[data-theme=midnight] .secondary-button,body[data-theme=midnight] .utility-button,body[data-theme=midnight] .origin-summary{background:linear-gradient(160deg,rgba(67,65,60,.25),rgba(17,25,29,.7));border-radius:7px}
body[data-theme=midnight] .theme-card{background:rgba(39,44,45,.92);border-radius:8px}
body[data-theme=midnight] .theme-card[aria-pressed=true]{background:rgba(77,67,50,.36)}
body[data-theme=midnight] .modal{background:linear-gradient(135deg,#353a3b,#12191d);border-radius:12px}
body[data-theme=midnight] .toast{background:#252c2e;color:#ffe3ba;border-color:rgba(244,194,120,.4)}

/* The destination itself becomes a small piece of each skin's hardware. */
body[data-theme=aero] .sigma-destination{background:radial-gradient(circle at 18% 15%,#fff,#93f1e2 47%,#17b4ae);border-color:#fff;box-shadow:0 0 0 5px rgba(56,218,196,.17),0 5px 13px rgba(22,127,140,.3)}
body[data-theme=aero] .sigma-destination .marker-centre{background:#fff;border-color:#39b9b6;inset:7px}
body[data-theme=neon] .sigma-destination{transform:none;border-radius:3px;clip-path:polygon(0 0,76% 0,100% 24%,100% 100%,24% 100%,0 76%);background:linear-gradient(135deg,#4bffe7,#eb5db9);border:2px solid #c9fff7;box-shadow:0 0 18px rgba(44,255,222,.67)}
body[data-theme=neon] .sigma-destination .marker-centre{inset:6px;border-radius:1px;background:#092044;border:2px solid #ddffff}
body[data-theme=rose] .sigma-destination{border-radius:50% 50% 50% 0;background:linear-gradient(135deg,#fce0e9,#cd6497);border:3px solid #fff8f6;box-shadow:0 0 0 5px rgba(231,155,195,.16),0 5px 13px rgba(124,58,96,.25)}
body[data-theme=rose] .sigma-destination .marker-centre{inset:7px;background:#fff9f4;border:1px solid #9c5278}
body[data-theme=midnight] .sigma-destination{background:linear-gradient(140deg,#ffe6b6,#b98b54);border:3px solid #1a2227;box-shadow:0 0 0 2px #f5c889,0 7px 17px rgba(0,0,0,.4)}
body[data-theme=midnight] .sigma-destination .marker-centre{inset:6px;background:#1a2227;border:2px solid #ffe0a6}

/* Interaction parity: no visual system may obstruct the actual map or keys. */
body[data-theme] .map-vignette,body[data-theme] .grain{pointer-events:none}
body[data-theme] .theme-card[aria-pressed=true]{border-color:var(--sigma-mint)}
body[data-theme] .selected-badge{background:var(--sigma-mint);color:var(--accent-ink);box-shadow:0 0 12px rgba(var(--accent-rgb),.3)}
body[data-theme] .route-style-button:hover,body[data-theme] .utility-button:hover{border-color:var(--sigma-mint)}
body[data-theme] .search-result:hover,body[data-theme] .search-result:focus,body[data-theme] .origin-result:hover,body[data-theme] .origin-result:focus{background:rgba(var(--accent-rgb),.11)}
body[data-theme] .route-card.under-drawer{opacity:0;pointer-events:none}

@media(max-width:900px){
  .experience-serial{display:none}
  .brand-type>span{max-width:140px}
  body[data-theme] .brand{padding:3px 7px 3px 3px;border-radius:12px}
  body[data-theme] .brand-mark{width:36px;height:36px;border-radius:11px}
  body[data-theme=neon] .brand-mark{border-radius:2px}
  body[data-theme] .brand-mark span{line-height:34px;font-size:25px}
  body[data-theme] .brand-type strong{font-size:17px}
  body[data-theme] .brand-type>span{font-size:6.5px}
  body[data-theme=neon] .brand-type>span,body[data-theme=midnight] .brand-type>span{font-size:6px}
  body[data-theme] .search-box input{font-size:16px}
  body[data-theme] .route-destination{font-size:18px}
  body[data-theme] .route-card:not(.expanded) .route-destination{font-size:17px}
  body[data-theme] .route-stats strong{font-size:21px}
  body[data-theme] .theme-dock{border-bottom:0}
  body[data-renderer=raster] .renderer-note{font-size:8px;max-width:245px;line-height:1.3}
  body[data-theme] .theme-card{height:128px;flex-basis:141px;min-width:141px}
  body[data-theme] .theme-art{height:83px;flex-basis:83px}
  body[data-theme=rose] .theme-details strong{font-size:14px}
  body[data-theme=neon] .theme-card{border-radius:3px}
  body[data-theme=neon] .theme-dock,body[data-theme=neon] .route-card,body[data-theme=neon] .places-drawer{clip-path:polygon(0 0,calc(100% - 13px) 0,100% 13px,100% 100%,0 100%)}
  body[data-theme=neon] .map-tools:before{font-size:7px;top:-17px}
  body[data-theme=midnight] .brand-bar{padding-bottom:2px}
  body[data-theme=midnight] .route-card,body[data-theme=midnight] .theme-dock{border-radius:12px 12px 0 0}
  body[data-theme=rose] .route-card,body[data-theme=rose] .theme-dock{border-radius:25px 25px 0 0}
  body[data-theme=aero] .route-card,body[data-theme=aero] .theme-dock{border-radius:28px 28px 0 0}
  body[data-theme=neon] .search-box{box-shadow:inset 3px 0 #42f5db,0 7px 18px rgba(0,0,0,.24)}
  body[data-theme=rose] .styles-launcher,body[data-theme=aero] .styles-launcher{border-radius:18px}
}
@media(max-width:370px){
  .brand-type>span{max-width:108px}
  body[data-theme] .theme-card{height:116px;min-width:128px;flex-basis:128px}
  body[data-theme] .theme-art{height:72px;flex-basis:72px}
  body[data-theme=rose] .search-box input{font-size:15px}
}
@media(max-height:650px) and (max-width:900px){
  body[data-theme] .theme-card{height:110px}
  body[data-theme] .theme-art{height:65px;flex-basis:65px}
}
@media(prefers-reduced-motion:reduce){
  body[data-theme] :is(.search-box,.styles-launcher,.route-card,.theme-dock,.places-drawer,.tool-button,.circle-button,.quick-places button){transition:none}
}
