/* Cybercab Gold v1 — default Tesla charging-map visual system. */
html.cybercab-preview body{
  background:#191b18;
  color:#f3f0e7;
}
html.cybercab-preview .topbar{
  border-bottom-color:#444638;
  background:linear-gradient(180deg,rgba(31,33,29,.96),rgba(25,27,24,.91));
  box-shadow:0 12px 36px rgba(0,0,0,.24),0 1px 22px rgba(216,182,107,.08);
  -webkit-backdrop-filter:blur(26px) saturate(125%);
  backdrop-filter:blur(26px) saturate(125%);
}
html.cybercab-preview[data-site-polish="v1"] body.map-page .controls{
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
html.cybercab-preview .title small{color:#d8b66b}
html.cybercab-preview .back,
html.cybercab-preview .external,
html.cybercab-preview .theme{
  border-radius:10px;
  border-color:rgba(216,182,107,.38);
  background:linear-gradient(145deg,rgba(226,193,123,.12),rgba(216,182,107,.045));
  color:#f3f0e7;
  box-shadow:inset 0 1px 0 rgba(255,245,216,.08),0 8px 24px rgba(0,0,0,.17);
}
html.cybercab-preview .langs,
html.cybercab-preview .lang-select-wrap{
  border-radius:10px;
  border-color:rgba(216,182,107,.4);
  background:linear-gradient(145deg,rgba(226,193,123,.14),rgba(216,182,107,.05));
  box-shadow:inset 0 1px 0 rgba(255,245,216,.09),0 8px 24px rgba(0,0,0,.17);
}
html.cybercab-preview .langs button{border-radius:7px}
html.cybercab-preview .back{gap:9px}
html.cybercab-preview .back .back-arrow{display:block;width:25px;height:20px;flex:0 0 25px;padding-right:8px;border-right:1px solid rgba(216,182,107,.38);color:#c7b791;stroke-width:2.6}
html.cybercab-preview .back .rikustar-mark{display:block;width:88px;height:20px;flex:0 0 88px;color:#e2c17b;filter:drop-shadow(0 0 5px rgba(216,182,107,.14))}
html.cybercab-preview .back span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html.cybercab-preview .langs button{color:#bab7aa}
html.cybercab-preview .langs button.active{
  background:linear-gradient(145deg,#e2c17b,#c89f4f);
  color:#20221e;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 4px 14px rgba(216,182,107,.2);
}
html.cybercab-preview .lang-select-wrap:after{border-top-color:#d8b66b}
html.cybercab-preview .lang-select option{background:#22251f;color:#f3f0e7}
html.cybercab-preview .back:hover,
html.cybercab-preview .external:hover,
html.cybercab-preview .theme:hover{
  border-color:#d8b66b;
  background:rgba(216,182,107,.16);
  box-shadow:0 0 24px rgba(216,182,107,.14);
}
html.cybercab-preview button:focus-visible,
html.cybercab-preview a:focus-visible,
html.cybercab-preview select:focus-visible{outline-color:#e2c17b}
html.cybercab-preview .loading{
  background:radial-gradient(circle at 72% 30%,rgba(216,182,107,.18),transparent 34%),#191b18;
  color:#bab7aa;
}
.mobile-external{display:none}
.language-menu{display:none}
html.cybercab-preview .controls .langs,
html.cybercab-preview .controls .lang-select-wrap{display:none}
html.cybercab-preview .language-menu{position:relative;display:block;height:44px}
html.cybercab-preview .language-menu-toggle{display:flex;width:44px;height:44px;padding:0;align-items:center;justify-content:center;border:1px solid rgba(216,182,107,.4);border-radius:10px;background:linear-gradient(145deg,rgba(226,193,123,.14),rgba(216,182,107,.05));color:#e2c17b;font:750 12px inherit;cursor:pointer}
html.cybercab-preview .language-menu-toggle svg{display:none}
html.cybercab-preview .language-menu.open .language-menu-toggle{border-color:#e2c17b;box-shadow:inset 0 0 0 1px rgba(226,193,123,.24),0 0 16px rgba(216,182,107,.2)}
html.cybercab-preview .language-menu-panel{position:absolute;z-index:50;top:calc(100% + 6px);right:0;width:44px;padding:0;border:0;background:transparent;box-shadow:none;opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .18s ease,transform .18s ease,visibility .18s}
html.cybercab-preview .language-menu.open .language-menu-panel{opacity:1;visibility:visible;transform:translateY(0)}
html.cybercab-preview .language-menu-panel button{box-sizing:border-box;display:grid;place-items:center;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;padding:0!important;border:1px solid rgba(216,182,107,.4);border-radius:10px;background:#292c24;color:#e2c17b;text-align:center;cursor:pointer;box-shadow:0 10px 26px rgba(0,0,0,.28);transform:none!important}
html.cybercab-preview .language-menu-panel button+button{margin-top:6px}
html.cybercab-preview .language-menu-panel button span{display:grid;place-items:center;width:100%;height:100%;color:inherit;font-size:12px;font-weight:800;line-height:1;text-align:center}
html.cybercab-preview .language-menu-panel button small{display:none}
html.cybercab-preview .language-menu-panel button:hover{border-color:#e2c17b;background:#32362d}
html.cybercab-preview .language-menu-panel button.active{display:none}
html.cybercab-preview.light .language-menu-toggle{border-color:#ded4be;background:#fffdf8;color:#91651e}
html.cybercab-preview.light .language-menu-panel{background:transparent;box-shadow:none}
html.cybercab-preview.light .language-menu-panel button{border-color:#ded4be;background:#fffdf8;color:#91651e;box-shadow:0 10px 26px rgba(73,58,30,.16)}
html.cybercab-preview.light .language-menu-panel button span{color:inherit}
html.cybercab-preview .external .maps-app-icon{width:23px;height:23px;flex:0 0 23px;fill:none;stroke:none}
html.cybercab-preview .controls .external,
html.cybercab-preview .controls .langs{
  box-sizing:border-box;
  height:44px;
  min-height:44px;
  max-height:44px;
  border-width:1px;
}
html.cybercab-preview .controls .external{padding-block:0}
@keyframes cybercab-gold-breathe{
  0%,100%{border-color:rgba(216,182,107,.3);box-shadow:inset 0 1px 0 rgba(255,245,216,.08),0 10px 28px rgba(0,0,0,.4),0 0 8px rgba(216,182,107,.1)}
  50%{border-color:rgba(245,211,137,.96);box-shadow:inset 0 1px 0 rgba(255,250,231,.28),0 10px 28px rgba(0,0,0,.4),0 0 20px rgba(245,211,137,.78),0 0 46px rgba(216,182,107,.4)}
}
@keyframes cybercab-gold-breathe-light{
  0%,100%{border-color:rgba(168,121,37,.28);box-shadow:inset 0 1px 0 #fff,0 10px 28px rgba(73,58,30,.14),0 0 8px rgba(168,121,37,.08)}
  50%{border-color:rgba(168,121,37,.68);box-shadow:inset 0 1px 0 #fff,0 10px 28px rgba(73,58,30,.18),0 0 17px rgba(168,121,37,.3),0 0 30px rgba(168,121,37,.13)}
}
@media(min-width:651px){
  html.cybercab-preview .controls .external{animation:cybercab-gold-breathe 2.2s ease-in-out infinite}
  html.cybercab-preview.light .controls .external{animation-name:cybercab-gold-breathe-light}
}
html.cybercab-preview body #themeButton,
html.cybercab-preview body #theme,
html.cybercab-preview body .rikustar-theme{
  width:44px!important;
  height:44px!important;
  border-radius:10px!important;
  border-color:rgba(216,182,107,.38)!important;
  background:#292c24!important;
  color:#e2c17b!important;
}

html.cybercab-preview.light body{background:#faf8f3;color:#252620}
html.cybercab-preview.light .topbar{
  border-bottom-color:#ded4be;
  background:rgba(250,248,243,.93);
  box-shadow:0 12px 36px rgba(73,58,30,.09),0 1px 18px rgba(168,121,37,.06);
}
html.cybercab-preview.light .title small{color:#91651e}
html.cybercab-preview.light .back,
html.cybercab-preview.light .external,
html.cybercab-preview.light .theme{
  border-color:#ded4be;
  background:#fffdf8;
  color:#252620;
  box-shadow:inset 0 1px 0 #fff,0 8px 24px rgba(73,58,30,.07);
}
html.cybercab-preview.light .back .back-arrow{border-right-color:#cbb178;color:#8a7450}
html.cybercab-preview.light .back .rikustar-mark{color:#91651e;filter:drop-shadow(0 0 4px rgba(168,121,37,.1))}
html.cybercab-preview.light .langs,
html.cybercab-preview.light .lang-select-wrap{
  border-color:#ded4be;
  background:linear-gradient(145deg,#fffdf8,#f1eadb);
  box-shadow:inset 0 1px 0 #fff,0 8px 24px rgba(73,58,30,.07);
}
html.cybercab-preview.light .langs button{color:#706c60}
html.cybercab-preview.light .langs button.active{
  background:linear-gradient(145deg,#ead8ae,#d9bd7c);
  color:#352b19;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 3px 12px rgba(168,121,37,.13);
}
html.cybercab-preview.light .lang-select option{background:#fffdf8;color:#252620}
html.cybercab-preview.light .loading{
  background:radial-gradient(circle at 72% 30%,rgba(168,121,37,.12),transparent 34%),#faf8f3;
  color:#706c60;
}
html.cybercab-preview.light body #themeButton,
html.cybercab-preview.light body #theme,
html.cybercab-preview.light body .rikustar-theme{
  border-color:#ded4be!important;
  background:#f1eadb!important;
  color:#91651e!important;
}
@media(max-width:650px){
  html.cybercab-preview .topbar{grid-template-columns:44px minmax(0,1fr);grid-template-rows:44px;min-height:64px}
  html.cybercab-preview .back{gap:0}
  html.cybercab-preview .back .rikustar-mark{display:none}
  html.cybercab-preview .back .back-arrow{width:18px;height:18px;flex-basis:18px;padding:0;border:0}
  html.cybercab-preview .title{grid-column:2;padding-right:104px}
  html.cybercab-preview[data-site-polish="v1"] body.map-page .controls{
    position:absolute;
    top:9px;
    top:max(9px,env(safe-area-inset-top));
    right:16px;
    right:max(16px,env(safe-area-inset-right));
    display:flex;
    grid-column:auto;
    grid-row:auto;
    height:44px;
    align-items:center;
    gap:8px;
    margin:0;
  }
  html.cybercab-preview .controls .external{display:none}
  html.cybercab-preview .mobile-external{
    display:inline-flex;
    position:fixed;
    z-index:30;
    right:auto;
    bottom:64px;
    bottom:max(64px,calc(env(safe-area-inset-bottom) + 52px));
    left:50%;
    width:max-content;
    max-width:calc(100% - 32px);
    height:44px;
    padding-inline:16px;
    transform:translateX(-50%);
    background:linear-gradient(145deg,rgba(34,37,31,.94),rgba(25,27,24,.94));
    box-shadow:inset 0 1px 0 rgba(255,245,216,.1),0 10px 28px rgba(0,0,0,.34),0 0 22px rgba(216,182,107,.12);
    -webkit-backdrop-filter:blur(18px) saturate(120%);
    backdrop-filter:blur(18px) saturate(120%);
    animation:cybercab-gold-breathe 2.2s ease-in-out infinite;
  }
  html.cybercab-preview[data-site-polish="v1"] .mobile-external:hover,
  html.cybercab-preview[data-site-polish="v1"] .mobile-external:active{
    transform:translateX(-50%);
  }
  html.cybercab-preview body #themeButton,
  html.cybercab-preview body #theme,
  html.cybercab-preview body .rikustar-theme{display:inline-flex!important}
  html.cybercab-preview.light .mobile-external{
    background:rgba(255,253,248,.94);
    box-shadow:inset 0 1px 0 #fff,0 10px 28px rgba(73,58,30,.16),0 0 20px rgba(168,121,37,.08);
    animation-name:cybercab-gold-breathe-light;
  }
}
@media(prefers-reduced-motion:reduce){html.cybercab-preview .mobile-external,html.cybercab-preview .controls .external{animation:none}}
@media(max-width:420px){
  html.cybercab-preview .title{padding-right:96px}
  html.cybercab-preview .language-menu-toggle{width:44px;padding:0}
}
