:root{
  --sky-1:#23b9ff;
  --sky-2:#7fe7ff;
  --sky-3:#0d6ea5;

  --green-1:#0e4e27;
  --green-2:#1a6b36;
  --green-3:#32a85b;
  --green-4:#86f0a8;

  --ember-1:#ffb35a;
  --ember-2:#ff7a1f;
  --ember-3:#c7371d;
  --ember-4:#6e1414;

  --smoke-1:#f4fbff;
  --smoke-2:rgba(244,251,255,.82);
  --smoke-3:rgba(244,251,255,.58);

  --ink:#e8fff1;
  --muted:rgba(232,255,241,.72);
  --line:rgba(191,247,255,.18);

  --panel:rgba(5,24,18,.72);
  --panel-2:rgba(6,30,22,.58);
  --panel-3:rgba(8,36,28,.48);
  --glass:rgba(255,255,255,.06);

  --radius-xs:10px;
  --radius-sm:14px;
  --radius-md:18px;
  --radius-lg:22px;
  --radius-xl:28px;

  --shadow-lg:0 24px 70px rgba(0,0,0,.36);
  --shadow-md:0 14px 40px rgba(0,0,0,.28);
}

*{box-sizing:border-box}
html,body{min-height:100%}
html{background:#0b2218}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color:var(--ink);
  background:#0b2218;
  position:relative;
  overflow-x:hidden;
}
body::before{
  content:"";
  position:fixed;
  inset:-18vmax;
  z-index:-2;
  background:
    radial-gradient(38rem 28rem at 12% 10%, rgba(35,185,255,.52), transparent 60%),
    radial-gradient(28rem 22rem at 82% 10%, rgba(50,168,91,.38), transparent 58%),
    radial-gradient(22rem 18rem at 18% 72%, rgba(255,122,31,.22), transparent 62%),
    radial-gradient(28rem 22rem at 86% 78%, rgba(199,55,29,.18), transparent 62%),
    linear-gradient(145deg, #103948 0%, #0b2218 28%, #10351f 58%, #0a1a13 100%);
  filter:saturate(1.08);
}
body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(12rem 8rem at 50% 8%, rgba(244,251,255,.06), transparent 70%),
    radial-gradient(18rem 12rem at 60% 90%, rgba(255,179,90,.05), transparent 72%);
}

a{color:var(--sky-2); text-decoration:none}
a:hover{text-decoration:underline}
::selection{background:rgba(127,231,255,.3); color:#042117}

.app{display:flex; min-height:100vh; background:transparent}
.navToggle{position:absolute; left:-9999px; top:-9999px}

.sidebar{
  width:308px;
  padding:18px;
  border-right:1px solid var(--line);
  background:linear-gradient(180deg, rgba(5,29,22,.92), rgba(6,24,18,.76));
  backdrop-filter: blur(18px);
  box-shadow: 16px 0 40px rgba(0,0,0,.18);
}
.sidebarTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
}
.logo{
  font-weight:900;
  letter-spacing:.2px;
  font-size:1.15rem;
  color:var(--smoke-1);
}
.logo:hover{color:var(--sky-2); text-decoration:none}
.tagline{
  font-size:12px;
  color:var(--muted);
  margin-top:5px;
  line-height:1.45;
}
.closeBtn{
  display:none;
  cursor:pointer;
  user-select:none;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:var(--glass);
  color:var(--ink);
}

.nav{
  display:grid;
  gap:10px;
  margin-top:14px;
}
.navItem{
  display:flex;
  align-items:center;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid transparent;
  color:var(--smoke-1);
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
}
.navItem:hover{
  border-color:rgba(127,231,255,.28);
  background:linear-gradient(180deg, rgba(35,185,255,.14), rgba(50,168,91,.12));
  text-decoration:none;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}
.navItem:active{transform:translateY(1px)}
.sidebarNote{
  margin-top:16px;
  padding:14px 14px;
  font-size:12px;
  color:var(--muted);
  line-height:1.45;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.03);
}

.overlay{display:none}
.content{
  flex:1;
  display:flex;
  flex-direction:column;
  background:transparent;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px 20px;
  position:sticky;
  top:0;
  z-index:10;
  background:linear-gradient(180deg, rgba(6,29,22,.86), rgba(6,29,22,.66));
  backdrop-filter: blur(18px);
  border-bottom:1px solid var(--line);
  box-shadow:0 8px 24px rgba(0,0,0,.14);
}
.brand{
  font-weight:900;
  letter-spacing:.15px;
  color:var(--smoke-1);
  font-size:1.05rem;
}
.brand:hover{
  text-decoration:none;
  color:var(--sky-2);
}
.topActions{display:flex; gap:10px; flex-wrap:wrap}

.burger{
  display:none;
  width:46px;
  height:40px;
  border-radius:18px;
  border:1px solid var(--line);
  background:var(--glass);
  cursor:pointer;
  padding:10px;
  gap:5px;
  align-items:center;
  justify-content:center;
}
.burger span{
  display:block;
  width:18px;
  height:2px;
  background:var(--smoke-1);
  border-radius:999px;
  opacity:.92;
}

.topImageWrap{
  width:100%;
  display:flex;
  justify-content:center;
  padding:12px 20px 0 20px;
}
.topImage{
  max-width:1120px;
  width:100%;
  height:auto;
  border-radius:calc(var(--radius-lg) + 8px);
  border:1px solid var(--line);
  box-shadow:var(--shadow-lg);
  background:rgba(255,255,255,.03);
}

.wrap{
  max-width:1120px;
  margin:0 auto;
  padding:22px 20px 28px 20px;
  width:100%;
}

.footer{
  padding:18px 20px 24px 20px;
  border-top:1px solid var(--line);
  background:linear-gradient(180deg, rgba(6,24,18,.12), rgba(6,24,18,.42));
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  color:var(--muted);
}
.footerLinks{display:flex; gap:14px; flex-wrap:wrap}
.footerLinks a{color:var(--muted)}

.card, .heroCard, .feature, .strainCard{
  background:linear-gradient(180deg, var(--panel), var(--panel-2));
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-md);
  backdrop-filter: blur(10px);
}
.card{
  padding:18px;
  margin:14px 0;
}
h1{
  margin:0 0 8px 0;
  font-size:36px;
  letter-spacing:-.35px;
  line-height:1.08;
}
h2{
  margin:0 0 12px 0;
  font-size:20px;
  letter-spacing:-.2px;
}
.lead{
  font-size:16px;
  color:var(--muted);
  line-height:1.6;
  margin:0 0 14px 0;
}
.leadSmall{
  color:var(--muted);
  margin:0;
  line-height:1.55;
}
.muted{color:var(--muted)}
.hint{
  color:var(--muted);
  font-size:12px;
  margin-top:10px;
  line-height:1.45;
}
.pageHead{
  margin-bottom:12px;
  padding:6px 2px;
}

label{
  display:grid;
  gap:7px;
  font-size:13px;
  color:rgba(232,255,241,.94);
}
input, select{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(191,247,255,.18);
  background:rgba(255,255,255,.055);
  outline:none;
  color:var(--ink);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
input::placeholder{color:rgba(232,255,241,.45)}
input:focus, select:focus{
  border-color:rgba(127,231,255,.48);
  box-shadow:0 0 0 5px rgba(35,185,255,.16);
  background:rgba(255,255,255,.07);
}

.row2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:6px;
}

.btn, .chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid rgba(191,247,255,.2);
  background:rgba(255,255,255,.055);
  color:var(--smoke-1);
  cursor:pointer;
  user-select:none;
  text-decoration:none;
  transition:transform .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease;
}
.btn{
  padding:10px 14px;
  border-radius:14px;
}
.btn:hover{
  text-decoration:none;
  transform:translateY(-1px);
  border-color:rgba(127,231,255,.38);
  box-shadow:0 12px 28px rgba(0,0,0,.2);
}
.btn:active{transform:translateY(0)}
.btn.primary{
  border-color:rgba(255,179,90,.35);
  background:
    linear-gradient(135deg, rgba(35,185,255,.26), rgba(22,115,56,.34) 52%, rgba(255,122,31,.25));
  box-shadow:0 0 0 1px rgba(127,231,255,.18) inset, 0 18px 40px rgba(0,0,0,.24);
}
.btn.ghost{
  background:transparent;
  border-color:rgba(191,247,255,.16);
  color:var(--muted);
}
.btnBig{
  padding:13px 20px;
  font-weight:800;
  letter-spacing:.15px;
}
.chip{
  padding:8px 12px;
}
.chip:hover{
  text-decoration:none;
  border-color:rgba(255,179,90,.34);
  background:linear-gradient(135deg, rgba(35,185,255,.12), rgba(255,122,31,.12));
}

.metaRow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:10px 0;
}
.metaPill{
  display:inline-flex;
  align-items:center;
  padding:8px 11px;
  border-radius:999px;
  border:1px solid rgba(191,247,255,.18);
  background:rgba(255,255,255,.05);
  font-size:13px;
  color:var(--muted);
}

.tableWrap{
  overflow:auto;
  border-radius:var(--radius-lg);
  border:1px solid rgba(191,247,255,.16);
  background:rgba(2,15,11,.35);
}
.table{
  border-collapse:collapse;
  width:100%;
}
.table th, .table td{
  padding:14px 14px;
  border-bottom:1px solid rgba(191,247,255,.08);
  text-align:left;
  vertical-align:top;
  font-size:14px;
}
.table td{color:rgba(232,255,241,.94)}
.table th{
  font-size:12px;
  color:rgba(232,255,241,.68);
  letter-spacing:.38px;
  text-transform:uppercase;
}

.pager{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:16px 0 4px 0;
  flex-wrap:wrap;
}
.pagerMid{color:var(--muted)}

.hero{
  display:grid;
  gap:16px;
}
.heroCard{
  padding:22px;
  background:
    radial-gradient(18rem 12rem at 15% 12%, rgba(35,185,255,.18), transparent 72%),
    radial-gradient(18rem 12rem at 92% 85%, rgba(255,122,31,.12), transparent 75%),
    linear-gradient(180deg, rgba(7,38,29,.84), rgba(7,32,24,.68));
}
.heroCardMain{
  border-color:rgba(191,247,255,.24);
  box-shadow:0 26px 72px rgba(0,0,0,.34);
}
.heroKicker{
  display:inline-flex;
  gap:8px;
  align-items:center;
  font-size:12px;
  color:rgba(232,255,241,.76);
  letter-spacing:.4px;
  text-transform:uppercase;
  margin-bottom:8px;
}
.heroTitle{
  font-size:40px;
  letter-spacing:-.42px;
}
.heroForm{margin-top:14px}

.featureGrid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
.feature{
  padding:18px;
  background:linear-gradient(180deg, rgba(6,34,25,.8), rgba(7,26,20,.6));
  border-radius:var(--radius-md);
}
.featureTitle{
  font-weight:800;
  line-height:1.5;
}
.featureText{
  font-size:13px;
  color:var(--muted);
  margin-top:7px;
  line-height:1.5;
}

.listCards{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:14px;
}
.strainCard{
  display:block;
  padding:16px;
  background:linear-gradient(180deg, rgba(6,34,25,.8), rgba(7,26,20,.62));
  border-radius:var(--radius-md);
}
.strainCard:hover{
  text-decoration:none;
  transform:translateY(-1px);
  border-color:rgba(127,231,255,.26);
}
.strainTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.strainName{
  font-weight:900;
  color:var(--ink);
}
.strainBadges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.badge{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(191,247,255,.16);
  background:rgba(255,255,255,.05);
  font-size:12px;
  color:rgba(232,255,241,.88);
}
.strainSub{
  margin-top:8px;
  font-size:13px;
}

.kvGrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.kvWide{grid-column:1 / -1}
.k{
  font-size:12px;
  color:rgba(232,255,241,.65);
  text-transform:uppercase;
  letter-spacing:.28px;
}
.v{
  font-size:14px;
  margin-top:4px;
  color:rgba(232,255,241,.94);
}

.linkGrid{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.linkPill{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(191,247,255,.16);
  background:rgba(255,255,255,.05);
  color:var(--smoke-1);
}
.linkPill:hover{
  text-decoration:none;
  border-color:rgba(255,179,90,.32);
  background:linear-gradient(135deg, rgba(35,185,255,.1), rgba(255,122,31,.11));
}

@media (max-width: 980px){
  .sidebar{
    position:fixed;
    left:0;
    top:0;
    bottom:0;
    z-index:30;
    transform:translateX(-110%);
    transition:transform .22s ease;
    width:308px;
    max-width:86vw;
  }
  .closeBtn{display:inline-flex}
  .burger{display:inline-flex}

  .overlay{
    position:fixed;
    inset:0;
    z-index:20;
    background:rgba(2,12,9,.55);
    opacity:0;
    pointer-events:none;
    transition:opacity .22s ease;
    display:block;
    backdrop-filter:blur(3px);
  }

  .navToggle:checked ~ .app .sidebar{transform:translateX(0)}
  .navToggle:checked ~ .app .overlay{opacity:1; pointer-events:auto}

  .featureGrid{grid-template-columns:1fr}
  .listCards{grid-template-columns:1fr}
  .row2{grid-template-columns:1fr}
  .kvGrid{grid-template-columns:1fr}
  .heroTitle{font-size:34px}
}

@media (max-width: 640px){
  .wrap{padding:18px 14px 22px 14px}
  .topbar{padding:14px}
  .topImageWrap{padding:10px 14px 0 14px}
  h1{font-size:31px}
  .heroTitle{font-size:31px}
  .card, .heroCard{padding:16px}
}


.tabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:12px 0 16px 0;
}
.tabLink{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(191,247,255,.18);
  background:rgba(255,255,255,.05);
  color:var(--smoke-1);
  text-decoration:none;
}
.tabLink:hover{
  text-decoration:none;
  border-color:rgba(127,231,255,.34);
  background:linear-gradient(135deg, rgba(35,185,255,.12), rgba(255,122,31,.08));
}
.tabLink.active{
  border-color:rgba(255,179,90,.34);
  background:linear-gradient(135deg, rgba(35,185,255,.22), rgba(22,115,56,.28) 52%, rgba(255,122,31,.18));
  box-shadow:0 10px 28px rgba(0,0,0,.16);
}
.tabCount{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:24px;
  height:24px;
  padding:0 8px;
  border-radius:999px;
  background:rgba(0,0,0,.18);
  font-size:12px;
  color:var(--smoke-1);
}


/* Style switcher */
.topLeftGroup{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.themeSwitcher{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border-radius:14px;
  border:1px solid rgba(191,247,255,.16);
  background:rgba(255,255,255,.05);
  color:var(--smoke-1);
  flex:0 0 auto;
}
.themeSwitcherLabel{
  font-size:12px;
  color:var(--muted);
  letter-spacing:.18px;
}
.themeSwitcherSelect{
  padding:7px 28px 7px 10px;
  border-radius:10px;
  border:1px solid rgba(191,247,255,.16);
  background:rgba(255,255,255,.07);
  color:var(--smoke-1);
  min-width:132px;
  font-size:13px;
}
.themeSwitcherSelect:focus{
  box-shadow:0 0 0 4px rgba(35,185,255,.15);
}
@media (max-width: 760px){
  .topLeftGroup{
    gap:8px;
  }
  .themeSwitcher{
    padding:6px 8px;
  }
  .themeSwitcherLabel{
    display:none;
  }
  .themeSwitcherSelect{
    min-width:118px;
    padding:7px 24px 7px 9px;
    font-size:12px;
  }
}



/* Style switcher */
.topLeftGroup{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.themeSwitcher{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border-radius:14px;
  border:1px solid rgba(191,247,255,.16);
  background:rgba(255,255,255,.05);
  color:var(--smoke-1);
  flex:0 0 auto;
}
.themeSwitcherLabel{
  font-size:12px;
  color:var(--muted);
  letter-spacing:.18px;
}
.themeSwitcherSelect{
  padding:7px 28px 7px 10px;
  border-radius:10px;
  border:1px solid rgba(191,247,255,.16);
  background:rgba(255,255,255,.07);
  color:var(--smoke-1);
  min-width:132px;
  font-size:13px;
}
.themeSwitcherSelect:focus{
  box-shadow:0 0 0 4px rgba(35,185,255,.15);
}
@media (max-width: 760px){
  .topLeftGroup{
    gap:8px;
  }
  .themeSwitcher{
    padding:6px 8px;
  }
  .themeSwitcherLabel{
    display:none;
  }
  .themeSwitcherSelect{
    min-width:118px;
    padding:7px 24px 7px 9px;
    font-size:12px;
  }
}

/* Retro 2000s theme - disabled by default */
body[data-theme="retro-2000s"]{
  font-family: "Trebuchet MS", "Comic Sans MS", "Comic Sans", "Chalkboard SE", "Marker Felt", Arial, sans-serif;
  color:#23170d;
  background:#e7d5a8;
  font-weight:600;
}
body[data-theme="retro-2000s"]::before{
  background:
    radial-gradient(20rem 14rem at 12% 12%, rgba(75,123,209,.16), transparent 60%),
    radial-gradient(18rem 12rem at 86% 14%, rgba(228,66,44,.12), transparent 60%),
    radial-gradient(14rem 10rem at 22% 78%, rgba(236,201,79,.15), transparent 62%),
    linear-gradient(180deg, #f3ebcc 0%, #eadcaf 100%);
  filter:none;
}
body[data-theme="retro-2000s"]::after{
  background:
    linear-gradient(rgba(0,0,0,.018), rgba(0,0,0,.018)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0 2px, rgba(0,0,0,.015) 2px 4px);
}

body[data-theme="retro-2000s"] a{
  color:#0f458f;
  font-weight:700;
}
body[data-theme="retro-2000s"] .sidebar{
  background:
    linear-gradient(180deg, rgba(248,240,207,.97), rgba(236,223,177,.93));
  border-right:3px solid #2c5aa8;
  box-shadow:12px 0 26px rgba(60,35,0,.12);
}
body[data-theme="retro-2000s"] .topbar{
  background:
    linear-gradient(180deg, rgba(246,239,210,.96), rgba(240,228,183,.92));
  border-bottom:3px solid #2c5aa8;
}
body[data-theme="retro-2000s"] .logo,
body[data-theme="retro-2000s"] .brand,
body[data-theme="retro-2000s"] .navItem,
body[data-theme="retro-2000s"] .chip,
body[data-theme="retro-2000s"] .btn,
body[data-theme="retro-2000s"] .linkPill,
body[data-theme="retro-2000s"] .themeSwitcher,
body[data-theme="retro-2000s"] .themeSwitcherSelect{
  color:#1d140d;
  font-weight:800;
}
body[data-theme="retro-2000s"] .tagline,
body[data-theme="retro-2000s"] .muted,
body[data-theme="retro-2000s"] .lead,
body[data-theme="retro-2000s"] .leadSmall,
body[data-theme="retro-2000s"] .hint,
body[data-theme="retro-2000s"] .footer,
body[data-theme="retro-2000s"] .footerLinks a,
body[data-theme="retro-2000s"] .themeSwitcherLabel,
body[data-theme="retro-2000s"] .metaPill{
  color:#4a311d;
  font-weight:700;
}
body[data-theme="retro-2000s"] .card,
body[data-theme="retro-2000s"] .heroCard,
body[data-theme="retro-2000s"] .feature,
body[data-theme="retro-2000s"] .strainCard{
  background:
    linear-gradient(180deg, rgba(255,248,224,.95), rgba(245,231,184,.91));
  border:3px solid #2c5aa8;
  box-shadow:
    0 10px 0 rgba(44,90,168,.08),
    0 14px 32px rgba(80,52,20,.16);
}
body[data-theme="retro-2000s"] .heroCard{
  position:relative;
  overflow:hidden;
}
body[data-theme="retro-2000s"] .heroCard::before,
body[data-theme="retro-2000s"] .card::before,
body[data-theme="retro-2000s"] .feature::before,
body[data-theme="retro-2000s"] .strainCard::before{
  content:"";
  position:absolute;
  width:54px;
  height:18px;
  background:rgba(255,250,225,.75);
  border:1px solid rgba(145,111,59,.25);
  box-shadow:0 2px 3px rgba(0,0,0,.05);
  transform:rotate(-4deg);
  top:8px;
  right:18px;
  pointer-events:none;
}
body[data-theme="retro-2000s"] .card,
body[data-theme="retro-2000s"] .feature,
body[data-theme="retro-2000s"] .strainCard,
body[data-theme="retro-2000s"] .heroCard{
  position:relative;
}
body[data-theme="retro-2000s"] .heroTitle,
body[data-theme="retro-2000s"] h1,
body[data-theme="retro-2000s"] h2{
  color:#143a78;
  text-shadow:1px 1px 0 rgba(255,255,255,.42);
  font-weight:900;
}
body[data-theme="retro-2000s"] .heroKicker{
  color:#8d281c;
  font-weight:800;
}
body[data-theme="retro-2000s"] .navItem,
body[data-theme="retro-2000s"] .chip,
body[data-theme="retro-2000s"] .btn,
body[data-theme="retro-2000s"] .themeSwitcher{
  background:linear-gradient(180deg, rgba(255,250,229,.96), rgba(243,230,181,.91));
  border:2px solid #2c5aa8;
  box-shadow:2px 2px 0 rgba(44,90,168,.14);
}
body[data-theme="retro-2000s"] .btn.primary{
  background:linear-gradient(180deg, #f6d14d, #ef9e27);
  border-color:#a62f20;
  color:#31150c;
  box-shadow:2px 2px 0 rgba(166,47,32,.16);
}
body[data-theme="retro-2000s"] .btn.ghost{
  background:linear-gradient(180deg, #fff7dc, #f0e2b0);
}
body[data-theme="retro-2000s"] .navItem:hover,
body[data-theme="retro-2000s"] .chip:hover,
body[data-theme="retro-2000s"] .btn:hover{
  background:linear-gradient(180deg, #fff4cf, #f4df8e);
}
body[data-theme="retro-2000s"] input,
body[data-theme="retro-2000s"] select{
  background:#fff8df;
  color:#23170d;
  border:2px solid #2c5aa8;
  box-shadow:2px 2px 0 rgba(44,90,168,.12);
  font-weight:700;
}
body[data-theme="retro-2000s"] input::placeholder{
  color:#7f6547;
  opacity:1;
}
body[data-theme="retro-2000s"] .tableWrap{
  background:rgba(255,250,230,.84);
  border:3px solid #2c5aa8;
}
body[data-theme="retro-2000s"] .table th{
  color:#fff7dd;
  background:linear-gradient(180deg, #2f61bb, #214a92);
  border-bottom:2px solid rgba(0,0,0,.08);
  font-weight:900;
}
body[data-theme="retro-2000s"] .table td{
  color:#24170e;
  border-bottom:1px solid rgba(44,90,168,.1);
  font-weight:700;
}
body[data-theme="retro-2000s"] .metaPill,
body[data-theme="retro-2000s"] .badge,
body[data-theme="retro-2000s"] .shopTab,
body[data-theme="retro-2000s"] .linkPill{
  background:linear-gradient(180deg, #fff7db, #eedda3);
  border:2px solid #2c5aa8;
  color:#21160e;
  font-weight:800;
}
body[data-theme="retro-2000s"] .shopTab.active{
  background:linear-gradient(180deg, #f7c944, #ef9723);
  border-color:#a62f20;
  color:#31150c;
}
body[data-theme="retro-2000s"] .topImage{
  border:3px solid #2c5aa8;
}
body[data-theme="retro-2000s"] .featureGrid{
  align-items:stretch;
}
body[data-theme="retro-2000s"] .feature:nth-child(1){
  transform:rotate(-1deg);
}
body[data-theme="retro-2000s"] .feature:nth-child(2){
  transform:rotate(.8deg);
}
body[data-theme="retro-2000s"] .feature:nth-child(3){
  transform:rotate(-.7deg);
}
body[data-theme="retro-2000s"] .sidebarNote{
  background:linear-gradient(180deg, #fff8df, #f1e1ad);
  border:2px dashed #a62f20;
}
body[data-theme="retro-2000s"] .footer{
  background:linear-gradient(180deg, rgba(245,233,189,.78), rgba(232,218,170,.88));
  border-top:3px solid #2c5aa8;
}

/* Original doodle background accents for retro theme */
body[data-theme="retro-2000s"] .content{
  position:relative;
  overflow:hidden;
}
body[data-theme="retro-2000s"] .content::before,
body[data-theme="retro-2000s"] .content::after{
  content:"";
  position:fixed;
  pointer-events:none;
  z-index:0;
  opacity:.18;
  mix-blend-mode:multiply;
  background-repeat:no-repeat;
  background-size:contain;
  filter:saturate(.9) contrast(1.05);
}
body[data-theme="retro-2000s"] .content::before{
  width:240px;
  height:240px;
  right:18px;
  top:112px;
  background-image:url("/static/retro/retro-bee.svg");
  transform:rotate(7deg);
}
body[data-theme="retro-2000s"] .content::after{
  width:260px;
  height:170px;
  left:340px;
  bottom:28px;
  background-image:url("/static/retro/retro-comic.svg");
  transform:rotate(-4deg);
}

body[data-theme="retro-2000s"] .wrap{
  position:relative;
  z-index:1;
}
body[data-theme="retro-2000s"] .wrap::before,
body[data-theme="retro-2000s"] .wrap::after{
  content:"";
  position:absolute;
  pointer-events:none;
  background-repeat:no-repeat;
  background-size:contain;
  opacity:.13;
  z-index:-1;
}
body[data-theme="retro-2000s"] .wrap::before{
  width:180px;
  height:180px;
  left:-30px;
  top:120px;
  background-image:url("/static/retro/retro-cat.svg");
  transform:rotate(-9deg);
}
body[data-theme="retro-2000s"] .wrap::after{
  width:190px;
  height:190px;
  right:-16px;
  top:520px;
  background-image:url("/static/retro/retro-bird.svg");
  transform:rotate(8deg);
}

body[data-theme="retro-2000s"] .topbar,
body[data-theme="retro-2000s"] .sidebar,
body[data-theme="retro-2000s"] .wrap,
body[data-theme="retro-2000s"] .footer{
  position:relative;
  z-index:1;
}

@media (max-width: 1100px){
  body[data-theme="retro-2000s"] .content::before{
    width:180px;
    height:180px;
    right:8px;
    top:118px;
    opacity:.13;
  }
  body[data-theme="retro-2000s"] .content::after{
    width:190px;
    height:130px;
    left:auto;
    right:18px;
    bottom:20px;
    opacity:.11;
  }
  body[data-theme="retro-2000s"] .wrap::before,
  body[data-theme="retro-2000s"] .wrap::after{
    opacity:.09;
  }
}
@media (max-width: 760px){
  body[data-theme="retro-2000s"] .content::before,
  body[data-theme="retro-2000s"] .content::after,
  body[data-theme="retro-2000s"] .wrap::before,
  body[data-theme="retro-2000s"] .wrap::after{
    display:none;
  }
}


/* Retro readability refinements */
body[data-theme="retro-2000s"] .sidebarNote{
  color:#352114;
  font-weight:800;
  border-color:#9a2e21;
}
body[data-theme="retro-2000s"] .strainName{
  color:#143a78;
  font-weight:900;
  text-shadow:1px 1px 0 rgba(255,255,255,.35);
}
body[data-theme="retro-2000s"] .pagerMid{
  color:#3f2a18;
  font-weight:800;
}
body[data-theme="retro-2000s"] label{
  color:#2d1b10;
  font-weight:800;
}
body[data-theme="retro-2000s"] .k{
  color:#5a3921;
  font-weight:800;
}
body[data-theme="retro-2000s"] .v,
body[data-theme="retro-2000s"] .featureText,
body[data-theme="retro-2000s"] .strainSub{
  color:#25170e;
  font-weight:700;
}

/* More retro doodle accents */
body[data-theme="retro-2000s"] .sidebar::before,
body[data-theme="retro-2000s"] .sidebar::after,
body[data-theme="retro-2000s"] .footer::before,
body[data-theme="retro-2000s"] .pageHead::after{
  content:"";
  position:absolute;
  pointer-events:none;
  background-repeat:no-repeat;
  background-size:contain;
  opacity:.11;
  z-index:0;
  mix-blend-mode:multiply;
}
body[data-theme="retro-2000s"] .sidebar::before{
  width:120px;
  height:120px;
  right:14px;
  bottom:88px;
  background-image:url("/static/retro/retro-frog-clear.svg");
  transform:rotate(7deg);
}
body[data-theme="retro-2000s"] .sidebar::after{
  width:110px;
  height:110px;
  left:12px;
  bottom:18px;
  background-image:url("/static/retro/retro-snail.svg");
  transform:rotate(-8deg);
}
body[data-theme="retro-2000s"] .footer::before{
  width:150px;
  height:95px;
  right:24px;
  top:-26px;
  background-image:url("/static/retro/retro-comic.svg");
  opacity:.10;
  transform:rotate(4deg);
}
body[data-theme="retro-2000s"] .pageHead{
  position:relative;
  overflow:visible;
}
body[data-theme="retro-2000s"] .pageHead::after{
  width:125px;
  height:125px;
  right:6px;
  top:-2px;
  background-image:url("/static/retro/retro-bee.svg");
  opacity:.09;
  transform:rotate(10deg);
}
body[data-theme="retro-2000s"] .heroCard::after{
  content:"";
  position:absolute;
  pointer-events:none;
  background-repeat:no-repeat;
  background-size:contain;
  z-index:0;
  mix-blend-mode:multiply;
  opacity:.10;
  width:140px;
  height:140px;
  left:18px;
  bottom:10px;
  background-image:url("/static/retro/retro-frog-clear.svg");
  transform:rotate(-6deg);
}
body[data-theme="retro-2000s"] .heroCard > *,
body[data-theme="retro-2000s"] .pageHead > *,
body[data-theme="retro-2000s"] .sidebar > *,
body[data-theme="retro-2000s"] .footer > *{
  position:relative;
  z-index:1;
}
@media (max-width: 1100px){
  body[data-theme="retro-2000s"] .sidebar::before,
  body[data-theme="retro-2000s"] .sidebar::after{
    opacity:.08;
  }
  body[data-theme="retro-2000s"] .pageHead::after{
    opacity:.07;
  }
}
@media (max-width: 760px){
  body[data-theme="retro-2000s"] .sidebar::before,
  body[data-theme="retro-2000s"] .sidebar::after,
  body[data-theme="retro-2000s"] .footer::before,
  body[data-theme="retro-2000s"] .pageHead::after,
  body[data-theme="retro-2000s"] .heroCard::after{
    display:none;
  }
}


/* Responsive layout fix: collapse sidebar earlier so it never leaves an empty strip */
@media (max-width: 1180px){
  .sidebar{
    position:fixed;
    left:0;
    top:0;
    bottom:0;
    z-index:30;
    transform:translateX(-110%);
    transition:transform .22s ease;
    width:308px;
    max-width:86vw;
  }
  .closeBtn{display:inline-flex}
  .burger{display:inline-flex}
  .app{
    display:block;
  }
  .content{
    width:100%;
    min-width:0;
  }
  .topbar{
    grid-template-columns:auto 1fr auto;
  }
  .overlay{
    position:fixed;
    inset:0;
    z-index:20;
    background:rgba(2,12,9,.55);
    opacity:0;
    pointer-events:none;
    transition:opacity .22s ease;
    display:block;
    backdrop-filter:blur(3px);
  }
  .navToggle:checked ~ .app .sidebar{transform:translateX(0)}
  .navToggle:checked ~ .app .overlay{opacity:1; pointer-events:auto}
}

/* Make the header work more like a compact topbar on narrower screens */
@media (max-width: 1180px){
  .topbar{
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:10px;
  }
  .brand{
    justify-self:center;
    text-align:center;
    min-width:0;
  }
  .topActions{
    justify-self:end;
  }
  .wrap,
  .topImageWrap,
  .footer{
    margin-left:0;
    width:100%;
  }
}

/* Tighten the topbar further on phones/smaller tablets */
@media (max-width: 820px){
  .topActions{
    display:none;
  }
  .topbar{
    grid-template-columns:auto 1fr auto;
  }
  .brand{
    font-size:1rem;
  }
  .themeSwitcher{
    padding:6px 8px;
  }
  .themeSwitcherSelect{
    min-width:108px;
    max-width:108px;
    padding:7px 22px 7px 8px;
    font-size:12px;
  }
}

/* Prevent sidebar from reserving layout width in weird intermediate widths */
@media (max-width: 1180px){
  .sidebar + .overlay + .content,
  .content{
    margin-left:0 !important;
  }
}


/* Retro theme mobile/off-canvas fixes */
body[data-theme="retro-2000s"] .overlay{
  backdrop-filter:none;
  background:rgba(30,18,6,.22);
}
body[data-theme="retro-2000s"] .content{
  overflow:visible;
}
body[data-theme="retro-2000s"] .content::before,
body[data-theme="retro-2000s"] .content::after{
  z-index:-1;
}

@media (max-width: 1180px){
  body[data-theme="retro-2000s"] .content::before,
  body[data-theme="retro-2000s"] .content::after,
  body[data-theme="retro-2000s"] .wrap::before,
  body[data-theme="retro-2000s"] .wrap::after,
  body[data-theme="retro-2000s"] .pageHead::after,
  body[data-theme="retro-2000s"] .heroCard::after,
  body[data-theme="retro-2000s"] .sidebar::before,
  body[data-theme="retro-2000s"] .sidebar::after,
  body[data-theme="retro-2000s"] .footer::before{
    display:none !important;
  }
  body[data-theme="retro-2000s"] .topbar{
    margin-top:0;
    top:0;
  }
  body[data-theme="retro-2000s"] .sidebar{
    box-shadow:12px 0 26px rgba(60,35,0,.18);
  }
  body[data-theme="retro-2000s"] .content,
  body[data-theme="retro-2000s"] .wrap{
    min-width:0;
  }
}


/* Strong retro narrow-screen safety overrides */
@media (max-width: 1180px){
  body[data-theme="retro-2000s"] .content,
  body[data-theme="retro-2000s"] .wrap,
  body[data-theme="retro-2000s"] .topbar,
  body[data-theme="retro-2000s"] .topImageWrap,
  body[data-theme="retro-2000s"] .footer{
    margin-top:0 !important;
  }
  body[data-theme="retro-2000s"] .content::before,
  body[data-theme="retro-2000s"] .content::after,
  body[data-theme="retro-2000s"] .wrap::before,
  body[data-theme="retro-2000s"] .wrap::after,
  body[data-theme="retro-2000s"] .pageHead::after,
  body[data-theme="retro-2000s"] .heroCard::after,
  body[data-theme="retro-2000s"] .heroCard::before,
  body[data-theme="retro-2000s"] .card::before,
  body[data-theme="retro-2000s"] .feature::before,
  body[data-theme="retro-2000s"] .strainCard::before,
  body[data-theme="retro-2000s"] .sidebar::before,
  body[data-theme="retro-2000s"] .sidebar::after,
  body[data-theme="retro-2000s"] .footer::before{
    display:none !important;
    content:none !important;
    background-image:none !important;
  }
  body[data-theme="retro-2000s"] .overlay{
    background:transparent !important;
    backdrop-filter:none !important;
  }
  body[data-theme="retro-2000s"] .sidebar{
    top:0 !important;
    margin-top:0 !important;
  }
}


/* Retro mobile menu hard fix */
body[data-theme="retro-2000s"] .burger{
  border:2px solid #2c5aa8;
  background:linear-gradient(180deg, rgba(255,250,229,.98), rgba(243,230,181,.94));
  box-shadow:2px 2px 0 rgba(44,90,168,.14);
}
body[data-theme="retro-2000s"] .burger span{
  background:#214a92;
  opacity:1;
}

@media (max-width: 1180px){
  /* keep the off-canvas menu truly off-canvas and clickable */
  body[data-theme="retro-2000s"] .sidebar{
    position:fixed !important;
    left:0 !important;
    top:0 !important;
    bottom:0 !important;
    z-index:30 !important;
    transform:translateX(-110%);
    width:308px;
    max-width:86vw;
    margin:0 !important;
  }
  .navToggle:checked ~ .app body[data-theme="retro-2000s"] .sidebar{
    transform:translateX(0);
  }
  body[data-theme="retro-2000s"] .app{
    display:block;
  }
  body[data-theme="retro-2000s"] .content{
    width:100%;
    min-width:0;
    overflow:visible;
  }
  body[data-theme="retro-2000s"] .topbar,
  body[data-theme="retro-2000s"] .topImageWrap,
  body[data-theme="retro-2000s"] .wrap,
  body[data-theme="retro-2000s"] .footer{
    margin-top:0 !important;
  }

  /* only disable the decorative pieces that were interfering with layout */
  body[data-theme="retro-2000s"] .wrap::before,
  body[data-theme="retro-2000s"] .wrap::after,
  body[data-theme="retro-2000s"] .pageHead::after,
  body[data-theme="retro-2000s"] .heroCard::after,
  body[data-theme="retro-2000s"] .heroCard::before,
  body[data-theme="retro-2000s"] .card::before,
  body[data-theme="retro-2000s"] .feature::before,
  body[data-theme="retro-2000s"] .strainCard::before,
  body[data-theme="retro-2000s"] .sidebar::before,
  body[data-theme="retro-2000s"] .sidebar::after,
  body[data-theme="retro-2000s"] .footer::before{
    display:none !important;
    content:none !important;
    background-image:none !important;
  }

  /* keep some fun background art on narrow screens */
  body[data-theme="retro-2000s"] .content::before,
  body[data-theme="retro-2000s"] .content::after{
    display:block !important;
    content:"" !important;
    position:fixed;
    pointer-events:none;
    z-index:0;
    opacity:.11;
    mix-blend-mode:multiply;
    background-repeat:no-repeat;
    background-size:contain;
  }
  body[data-theme="retro-2000s"] .content::before{
    width:150px;
    height:150px;
    right:8px;
    top:74px;
    background-image:url("/static/retro/retro-bee.svg") !important;
    transform:rotate(6deg);
  }
  body[data-theme="retro-2000s"] .content::after{
    width:165px;
    height:110px;
    right:12px;
    bottom:18px;
    left:auto;
    background-image:url("/static/retro/retro-comic.svg") !important;
    transform:rotate(-5deg);
  }

  /* background should blur when menu is open, but stay behind the sidebar */
  body[data-theme="retro-2000s"] .overlay{
    display:block;
    z-index:20;
    background:rgba(20,14,7,.28) !important;
    backdrop-filter:blur(5px) !important;
  }

  /* keep interactive content/menu above decorative layers */
  body[data-theme="retro-2000s"] .topbar,
  body[data-theme="retro-2000s"] .sidebar,
  body[data-theme="retro-2000s"] .wrap,
  body[data-theme="retro-2000s"] .footer{
    position:relative;
    z-index:1;
  }
  body[data-theme="retro-2000s"] .sidebar{
    z-index:30 !important;
  }
  body[data-theme="retro-2000s"] .topbar{
    z-index:10;
  }
}

/* actual checked state for retro menu */
@media (max-width: 1180px){
  .navToggle:checked ~ .app .sidebar{
    transform:translateX(0) !important;
  }
  .navToggle:checked ~ .app .overlay{
    opacity:1;
    pointer-events:auto;
  }
}


/* Brand mascot next to list420 */
.logo,
.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.brandWord{
  display:inline-block;
}
.brandMascot{
  width:28px;
  height:28px;
  display:inline-block;
  flex:0 0 auto;
  object-fit:contain;
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.08));
}
.logo .brandMascot{
  width:26px;
  height:26px;
}
@media (max-width: 640px){
  .brandMascot{
    width:24px;
    height:24px;
  }
  .logo .brandMascot{
    width:22px;
    height:22px;
  }
}

/* Retro theme: make the mascot feel integrated but keep it subtle */
body[data-theme="retro-2000s"] .brandMascot{
  filter:drop-shadow(1px 1px 0 rgba(44,90,168,.15));
}


/* Form spacing refinements */
form{
  display:block;
}
form label{
  margin-top:8px;
}
form > label:first-child,
form .row2:first-child label{
  margin-top:0;
}
form .row2{
  row-gap:18px;
}
form .actions{
  margin-top:14px;
}

/* Modern/default theme select dropdown readability */
body:not([data-theme]),
body[data-theme="default"]{
  color-scheme: dark;
}
body:not([data-theme]) select,
body[data-theme="default"] select{
  background:linear-gradient(180deg, #123357, #0d223c);
  color:#e7eef8;
  border-color:rgba(127,231,255,.28);
}
body:not([data-theme]) select option,
body[data-theme="default"] select option{
  background:#0f2b49;
  color:#e5edf7;
}
body:not([data-theme]) select optgroup,
body[data-theme="default"] select optgroup{
  background:#0f2b49;
  color:#c9d6e6;
}
body:not([data-theme]) .themeSwitcherSelect,
body[data-theme="default"] .themeSwitcherSelect{
  background:linear-gradient(180deg, #123357, #0d223c);
  color:#e7eef8;
}


/* Modern theme: make form controls closer to the green main theme */
body:not([data-theme]) input,
body:not([data-theme]) select,
body[data-theme="default"] input,
body[data-theme="default"] select{
  background:linear-gradient(180deg, rgba(18,58,44,.92), rgba(12,42,32,.92));
  color:#e6f4ed;
  border-color:rgba(127,231,255,.20);
}
body:not([data-theme]) input::placeholder,
body[data-theme="default"] input::placeholder{
  color:rgba(230,244,237,.48);
}
body:not([data-theme]) select,
body[data-theme="default"] select{
  background:linear-gradient(180deg, rgba(19,64,48,.96), rgba(12,44,33,.96));
  color:#e6f0e9;
}
body:not([data-theme]) select option,
body[data-theme="default"] select option{
  background:#123a2d;
  color:#e6f0e9;
}
body:not([data-theme]) select optgroup,
body[data-theme="default"] select optgroup{
  background:#123a2d;
  color:#d6e6dd;
}

/* Better alignment between fields and buttons in both themes */
input, select,
.btn, .chip, .themeSwitcher, .themeSwitcherSelect{
  min-height:46px;
}
.btn, .chip{
  line-height:1.1;
}
.actions{
  align-items:center;
  gap:12px;
}
.actions .btn{
  margin-top:0;
}
form .actions .btn,
form .actions .chip{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
form .actions .btnBig{
  min-height:48px;
}
@media (max-width: 640px){
  input, select,
  .btn, .chip, .themeSwitcher, .themeSwitcherSelect{
    min-height:44px;
  }
}

/* Retro theme: make inputs/selects slightly funky/tilted */
body[data-theme="retro-2000s"] form > label input,
body[data-theme="retro-2000s"] form > label select,
body[data-theme="retro-2000s"] form .row2 label:nth-child(odd) input,
body[data-theme="retro-2000s"] form .row2 label:nth-child(odd) select{
  transform:rotate(-0.45deg);
}
body[data-theme="retro-2000s"] form .row2 label:nth-child(even) input,
body[data-theme="retro-2000s"] form .row2 label:nth-child(even) select{
  transform:rotate(0.42deg);
}
body[data-theme="retro-2000s"] form > label input:focus,
body[data-theme="retro-2000s"] form > label select:focus,
body[data-theme="retro-2000s"] form .row2 label input:focus,
body[data-theme="retro-2000s"] form .row2 label select:focus{
  transform:none;
}
body[data-theme="retro-2000s"] form label{
  margin-top:10px;
}
body[data-theme="retro-2000s"] .actions .btn{
  transform:rotate(-0.2deg);
}
body[data-theme="retro-2000s"] .actions .btn:nth-child(even){
  transform:rotate(0.25deg);
}
body[data-theme="retro-2000s"] .actions .btn:hover{
  transform:translateY(-1px);
}


/* Align action buttons with labeled controls */
form .row2 > .actions{
  align-self:end;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  min-height:72px;
  padding-top:26px; /* creates label-equivalent space */
  margin-top:0;
}
form .row2 > .actions .btn,
form .row2 > .actions .chip,
form .row2 > .actions .metaPill{
  margin-top:0;
}
form .row2 > .actions .metaPill{
  min-height:46px;
  display:inline-flex;
  align-items:center;
}
@media (max-width: 980px){
  form .row2 > .actions{
    min-height:auto;
    padding-top:8px;
  }
}
@media (max-width: 640px){
  form .row2 > .actions{
    padding-top:6px;
  }
}

/* Modern theme: make theme switcher selector match other form controls */
body:not([data-theme]) .themeSwitcher,
body[data-theme="default"] .themeSwitcher{
  background:rgba(255,255,255,.05);
  border-color:rgba(191,247,255,.16);
}
body:not([data-theme]) .themeSwitcherSelect,
body[data-theme="default"] .themeSwitcherSelect{
  background:linear-gradient(180deg, rgba(19,64,48,.96), rgba(12,44,33,.96)) !important;
  color:#e6f0e9 !important;
  border-color:rgba(127,231,255,.20) !important;
}
body:not([data-theme]) .themeSwitcherSelect option,
body[data-theme="default"] .themeSwitcherSelect option{
  background:#123a2d !important;
  color:#e6f0e9 !important;
}
body:not([data-theme]) .themeSwitcherSelect optgroup,
body[data-theme="default"] .themeSwitcherSelect optgroup{
  background:#123a2d !important;
  color:#d6e6dd !important;
}


/* Modern theme original background art */
body:not([data-theme="retro-2000s"]) .content,
body[data-theme="default"] .content{
  position:relative;
  overflow:hidden;
}
body:not([data-theme="retro-2000s"]) .content::before,
body:not([data-theme="retro-2000s"]) .content::after,
body[data-theme="default"] .content::before,
body[data-theme="default"] .content::after{
  content:"";
  position:fixed;
  pointer-events:none;
  background-repeat:no-repeat;
  background-size:contain;
  mix-blend-mode:screen;
  z-index:0;
  opacity:.18;
}
body:not([data-theme="retro-2000s"]) .content::before,
body[data-theme="default"] .content::before{
  width:250px;
  height:250px;
  right:32px;
  top:116px;
  background-image:url("/static/modern/modern-leaf-glow.svg");
  opacity:.17;
}
body:not([data-theme="retro-2000s"]) .content::after,
body[data-theme="default"] .content::after{
  width:320px;
  height:320px;
  left:330px;
  bottom:34px;
  background-image:url("/static/modern/modern-dna-leaf.svg");
  opacity:.15;
}

body:not([data-theme="retro-2000s"]) .wrap,
body[data-theme="default"] .wrap{
  position:relative;
  z-index:1;
}
body:not([data-theme="retro-2000s"]) .wrap::before,
body:not([data-theme="retro-2000s"]) .wrap::after,
body[data-theme="default"] .wrap::before,
body[data-theme="default"] .wrap::after{
  content:"";
  position:absolute;
  pointer-events:none;
  background-repeat:no-repeat;
  background-size:contain;
  z-index:-1;
}
body:not([data-theme="retro-2000s"]) .wrap::before,
body[data-theme="default"] .wrap::before{
  width:210px;
  height:250px;
  left:-34px;
  top:170px;
  background-image:url("/static/modern/modern-robot-core.svg");
  opacity:.12;
  transform:rotate(-7deg);
}
body:not([data-theme="retro-2000s"]) .wrap::after,
body[data-theme="default"] .wrap::after{
  width:170px;
  height:210px;
  right:-12px;
  top:620px;
  background-image:url("/static/modern/modern-bot-head.svg");
  opacity:.11;
  transform:rotate(8deg);
}

body:not([data-theme="retro-2000s"]) .topbar,
body:not([data-theme="retro-2000s"]) .sidebar,
body:not([data-theme="retro-2000s"]) .wrap,
body:not([data-theme="retro-2000s"]) .footer,
body[data-theme="default"] .topbar,
body[data-theme="default"] .sidebar,
body[data-theme="default"] .wrap,
body[data-theme="default"] .footer{
  position:relative;
  z-index:1;
}

@media (max-width: 1180px){
  body:not([data-theme="retro-2000s"]) .content::before,
  body[data-theme="default"] .content::before{
    width:180px;
    height:180px;
    right:10px;
    top:92px;
    opacity:.14;
  }
  body:not([data-theme="retro-2000s"]) .content::after,
  body[data-theme="default"] .content::after{
    width:220px;
    height:220px;
    left:auto;
    right:20px;
    bottom:28px;
    opacity:.12;
  }
  body:not([data-theme="retro-2000s"]) .wrap::before,
  body:not([data-theme="retro-2000s"]) .wrap::after,
  body[data-theme="default"] .wrap::before,
  body[data-theme="default"] .wrap::after{
    opacity:.08;
  }
}
@media (max-width: 760px){
  body:not([data-theme="retro-2000s"]) .content::before,
  body:not([data-theme="retro-2000s"]) .content::after,
  body:not([data-theme="retro-2000s"]) .wrap::before,
  body:not([data-theme="retro-2000s"]) .wrap::after,
  body[data-theme="default"] .content::before,
  body[data-theme="default"] .content::after,
  body[data-theme="default"] .wrap::before,
  body[data-theme="default"] .wrap::after{
    display:none;
  }
}


/* Modern theme refinement: stricter geometry and split accent images */
body:not([data-theme="retro-2000s"]) .content::before,
body[data-theme="default"] .content::before{
  right:28px;
  top:118px;
  opacity:.16;
}
body:not([data-theme="retro-2000s"]) .content::after,
body[data-theme="default"] .content::after{
  left:360px;
  bottom:30px;
  opacity:.14;
}
body:not([data-theme="retro-2000s"]) .wrap::before,
body[data-theme="default"] .wrap::before{
  width:214px;
  height:258px;
  left:-24px;
  top:172px;
  background-image:url("/static/modern/modern-robot-core.svg");
  opacity:.12;
  transform:rotate(-3deg);
}
body:not([data-theme="retro-2000s"]) .wrap::after,
body[data-theme="default"] .wrap::after{
  width:168px;
  height:198px;
  right:-6px;
  top:624px;
  background-image:url("/static/modern/modern-bot-head.svg");
  opacity:.11;
  transform:rotate(4deg);
}
body:not([data-theme="retro-2000s"]) .sidebar::after,
body[data-theme="default"] .sidebar::after{
  content:"";
  position:absolute;
  pointer-events:none;
  background-repeat:no-repeat;
  background-size:contain;
  width:132px;
  height:132px;
  right:14px;
  bottom:18px;
  background-image:url("/static/modern/modern-leaf-badge.svg");
  opacity:.10;
  z-index:0;
  transform:rotate(-2deg);
}
body:not([data-theme="retro-2000s"]) .sidebar > *,
body[data-theme="default"] .sidebar > *{
  position:relative;
  z-index:1;
}
@media (max-width: 1180px){
  body:not([data-theme="retro-2000s"]) .wrap::before,
  body:not([data-theme="retro-2000s"]) .wrap::after,
  body:not([data-theme="retro-2000s"]) .sidebar::after,
  body[data-theme="default"] .wrap::before,
  body[data-theme="default"] .wrap::after,
  body[data-theme="default"] .sidebar::after{
    opacity:.08;
  }
}
@media (max-width: 760px){
  body:not([data-theme="retro-2000s"]) .sidebar::after,
  body[data-theme="default"] .sidebar::after{
    display:none;
  }
}


/* More modern background images */
body:not([data-theme="retro-2000s"]) .pageHead::before,
body[data-theme="default"] .pageHead::before{
  content:"";
  position:absolute;
  pointer-events:none;
  background-repeat:no-repeat;
  background-size:contain;
  width:150px;
  height:150px;
  left:-10px;
  top:-6px;
  background-image:url("/static/modern/modern-robot-leafcore.svg");
  opacity:.10;
  z-index:0;
}
body:not([data-theme="retro-2000s"]) .heroCard::after,
body[data-theme="default"] .heroCard::after{
  content:"";
  position:absolute;
  pointer-events:none;
  background-repeat:no-repeat;
  background-size:contain;
  width:168px;
  height:210px;
  right:18px;
  bottom:12px;
  background-image:url("/static/modern/modern-robot-grid.svg");
  opacity:.10;
  z-index:0;
  transform:rotate(3deg);
}
body:not([data-theme="retro-2000s"]) .footer::after,
body[data-theme="default"] .footer::after{
  content:"";
  position:absolute;
  pointer-events:none;
  background-repeat:no-repeat;
  background-size:contain;
  width:140px;
  height:140px;
  left:18px;
  top:-22px;
  background-image:url("/static/modern/modern-robot-dream.svg");
  opacity:.09;
  z-index:0;
}
body:not([data-theme="retro-2000s"]) .pageHead,
body:not([data-theme="retro-2000s"]) .heroCard,
body:not([data-theme="retro-2000s"]) .footer,
body[data-theme="default"] .pageHead,
body[data-theme="default"] .heroCard,
body[data-theme="default"] .footer{
  position:relative;
}
body:not([data-theme="retro-2000s"]) .pageHead > *,
body:not([data-theme="retro-2000s"]) .heroCard > *,
body:not([data-theme="retro-2000s"]) .footer > *,
body[data-theme="default"] .pageHead > *,
body[data-theme="default"] .heroCard > *,
body[data-theme="default"] .footer > *{
  position:relative;
  z-index:1;
}

@media (max-width: 760px){
  body:not([data-theme="retro-2000s"]) .pageHead::before,
  body:not([data-theme="retro-2000s"]) .heroCard::after,
  body:not([data-theme="retro-2000s"]) .footer::after,
  body[data-theme="default"] .pageHead::before,
  body[data-theme="default"] .heroCard::after,
  body[data-theme="default"] .footer::after{
    display:none;
  }
}

/* More retro background images */
body[data-theme="retro-2000s"] .content::before{
  background-image:url("/static/retro/retro-bee.svg"), url("/static/retro/retro-robot-smoke.svg") !important;
  background-position:right 8px top 74px, left 12px bottom 34px;
  background-size:150px 150px, 136px 136px;
}
body[data-theme="retro-2000s"] .content::after{
  background-image:url("/static/retro/retro-comic.svg"), url("/static/retro/retro-robot-sleepy.svg") !important;
  background-position:right 12px bottom 18px, left 340px top 210px;
  background-size:165px 110px, 146px 146px;
}
body[data-theme="retro-2000s"] .pageHead::before{
  content:"";
  position:absolute;
  pointer-events:none;
  background-repeat:no-repeat;
  background-size:contain;
  width:128px;
  height:168px;
  left:-6px;
  top:-8px;
  background-image:url("/static/retro/retro-robot-leafy.svg");
  opacity:.10;
  z-index:0;
  transform:rotate(-5deg);
}
body[data-theme="retro-2000s"] .footer::after{
  content:"";
  position:absolute;
  pointer-events:none;
  background-repeat:no-repeat;
  background-size:contain;
  width:122px;
  height:122px;
  left:20px;
  top:-18px;
  background-image:url("/static/retro/retro-robot-sleepy.svg");
  opacity:.09;
  z-index:0;
}
body[data-theme="retro-2000s"] .pageHead > *,
body[data-theme="retro-2000s"] .footer > *{
  position:relative;
  z-index:1;
}
@media (max-width: 760px){
  body[data-theme="retro-2000s"] .pageHead::before,
  body[data-theme="retro-2000s"] .footer::after{
    display:none;
  }
}


/* Modern mobile menu layering fix */
@media (max-width: 1180px){
  body:not([data-theme="retro-2000s"]) .app,
  body[data-theme="default"] .app{
    position:relative;
    isolation:isolate;
  }

  body:not([data-theme="retro-2000s"]) .sidebar,
  body[data-theme="default"] .sidebar{
    position:fixed !important;
    left:0 !important;
    top:0 !important;
    bottom:0 !important;
    width:308px;
    max-width:86vw;
    margin:0 !important;
    z-index:50 !important;
    transform:translateX(-110%);
    background:linear-gradient(180deg, rgba(5,29,22,.98), rgba(6,24,18,.95));
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    box-shadow:16px 0 40px rgba(0,0,0,.28);
    overflow-y:auto;
  }

  .navToggle:checked ~ .app .sidebar{
    transform:translateX(0) !important;
  }

  body:not([data-theme="retro-2000s"]) .overlay,
  body[data-theme="default"] .overlay{
    position:fixed;
    inset:0;
    z-index:40 !important;
    display:block;
    background:rgba(3,14,10,.22) !important;
    backdrop-filter:blur(6px) saturate(.95) !important;
    -webkit-backdrop-filter:blur(6px) saturate(.95) !important;
  }

  /* keep sidebar content above all sidebar decorative layers */
  body:not([data-theme="retro-2000s"]) .sidebar > *,
  body[data-theme="default"] .sidebar > *{
    position:relative;
    z-index:2;
  }

  /* decorative modern layers stay behind the page, not above the menu */
  body:not([data-theme="retro-2000s"]) .content::before,
  body:not([data-theme="retro-2000s"]) .content::after,
  body:not([data-theme="retro-2000s"]) .wrap::before,
  body:not([data-theme="retro-2000s"]) .wrap::after,
  body:not([data-theme="retro-2000s"]) .pageHead::before,
  body:not([data-theme="retro-2000s"]) .heroCard::after,
  body:not([data-theme="retro-2000s"]) .footer::after,
  body:not([data-theme="retro-2000s"]) .sidebar::after,
  body[data-theme="default"] .content::before,
  body[data-theme="default"] .content::after,
  body[data-theme="default"] .wrap::before,
  body[data-theme="default"] .wrap::after,
  body[data-theme="default"] .pageHead::before,
  body[data-theme="default"] .heroCard::after,
  body[data-theme="default"] .footer::after,
  body[data-theme="default"] .sidebar::after{
    z-index:-1 !important;
    pointer-events:none !important;
  }

  /* only the rest of the page should look blurred/dimmed */
  .navToggle:checked ~ .app .content{
    filter:none !important;
  }

  /* keep the burger itself visible and interactive over the overlay */
  body:not([data-theme="retro-2000s"]) .topbar,
  body[data-theme="default"] .topbar{
    position:sticky;
    top:0;
    z-index:10;
  }

  body:not([data-theme="retro-2000s"]) .burger,
  body[data-theme="default"] .burger{
    position:relative;
    z-index:60;
  }

  /* preserve some modern background art on mobile, but safely behind everything */
  body:not([data-theme="retro-2000s"]) .content::before,
  body[data-theme="default"] .content::before{
    display:block !important;
    width:150px;
    height:150px;
    right:10px;
    top:84px;
    opacity:.10;
  }
  body:not([data-theme="retro-2000s"]) .content::after,
  body[data-theme="default"] .content::after{
    display:block !important;
    width:170px;
    height:170px;
    right:12px;
    bottom:18px;
    left:auto;
    opacity:.09;
  }
}

@media (max-width: 760px){
  body:not([data-theme="retro-2000s"]) .pageHead::before,
  body:not([data-theme="retro-2000s"]) .heroCard::after,
  body:not([data-theme="retro-2000s"]) .footer::after,
  body:not([data-theme="retro-2000s"]) .sidebar::after,
  body[data-theme="default"] .pageHead::before,
  body[data-theme="default"] .heroCard::after,
  body[data-theme="default"] .footer::after,
  body[data-theme="default"] .sidebar::after{
    display:none !important;
  }
}


/* Patterned backgrounds by theme */

/* Modern: sci-fi grid */
body:not([data-theme="retro-2000s"])::before,
body[data-theme="default"]::before{
  background:
    radial-gradient(44rem 30rem at 14% 8%, rgba(35,185,255,.34), transparent 62%),
    radial-gradient(28rem 20rem at 86% 14%, rgba(50,168,91,.20), transparent 58%),
    radial-gradient(24rem 18rem at 82% 86%, rgba(255,122,31,.10), transparent 62%),
    linear-gradient(145deg, #103948 0%, #0b2218 30%, #10351f 60%, #0a1a13 100%);
}

body:not([data-theme="retro-2000s"])::after,
body[data-theme="default"]::after{
  background:
    linear-gradient(rgba(115,230,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115,230,255,.045) 1px, transparent 1px),
    linear-gradient(rgba(35,185,255,.08), rgba(35,185,255,.08)),
    radial-gradient(22rem 14rem at 50% 88%, rgba(64,255,160,.06), transparent 72%);
  background-size:
    34px 34px,
    34px 34px,
    100% 100%,
    100% 100%;
  background-position:
    0 0,
    0 0,
    0 0,
    0 0;
  opacity:1;
  mask-image:linear-gradient(to bottom, rgba(0,0,0,.88), rgba(0,0,0,.58));
}

body:not([data-theme="retro-2000s"]),
body[data-theme="default"]{
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(127,231,255,.018) 0,
      rgba(127,231,255,.018) 1px,
      transparent 1px,
      transparent 102px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(127,231,255,.018) 0,
      rgba(127,231,255,.018) 1px,
      transparent 1px,
      transparent 102px
    );
  background-attachment:fixed, fixed;
  background-color:#0b2218;
}

/* Retro: old notebook grid */
body[data-theme="retro-2000s"]::before{
  background:
    radial-gradient(20rem 14rem at 12% 12%, rgba(75,123,209,.10), transparent 60%),
    radial-gradient(18rem 12rem at 86% 14%, rgba(228,66,44,.08), transparent 60%),
    radial-gradient(14rem 10rem at 22% 78%, rgba(236,201,79,.10), transparent 62%),
    linear-gradient(180deg, #f3ebcc 0%, #eadcaf 100%);
  filter:none;
}

body[data-theme="retro-2000s"]::after{
  background:
    linear-gradient(90deg, rgba(196,70,54,.22) 0 2px, transparent 2px),
    linear-gradient(rgba(74,122,204,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,122,204,.10) 1px, transparent 1px),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.03) 0 26px,
      rgba(0,0,0,.02) 26px 27px
    );
  background-size:
    100% 100%,
    100% 28px,
    28px 100%,
    100% 100%;
  background-position:
    52px 0,
    0 0,
    0 0,
    0 0;
  opacity:.92;
  mask-image:none;
}

/* Slightly soften pattern density on smaller screens */
@media (max-width: 760px){
  body[data-theme="retro-2000s"]::after{
    background-size:
      100% 100%,
      100% 24px,
      24px 100%,
      100% 100%;
    background-position:
      34px 0,
      0 0,
      0 0,
      0 0;
    opacity:.86;
  }

  body:not([data-theme="retro-2000s"])::after,
  body[data-theme="default"]::after{
    background-size:
      26px 26px,
      26px 26px,
      100% 100%,
      100% 100%;
  }
}


/* Search list/map switcher */
.resultsShell{
  margin:14px 0;
}
.resultsViewBar{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:0 0 12px 0;
}
.resultsViewBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(191,247,255,.18);
  background:rgba(255,255,255,.05);
  color:var(--ink);
  cursor:pointer;
  font:inherit;
}
.resultsViewBtn.active{
  border-color:rgba(255,179,90,.34);
  background:linear-gradient(135deg, rgba(35,185,255,.22), rgba(22,115,56,.28) 52%, rgba(255,122,31,.18));
  box-shadow:0 8px 20px rgba(0,0,0,.14);
}
.resultsPane{
  display:none;
}
.resultsPane.active{
  display:block;
}
.mapCard{
  background:linear-gradient(180deg, var(--panel), var(--panel-2));
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-md);
  backdrop-filter: blur(10px);
  padding:14px;
}
.mapCardTop{
  display:grid;
  gap:6px;
  margin-bottom:10px;
}
.mapTitle{
  font-weight:800;
}
.mapHint, .mapStatus{
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}
.searchMap{
  width:100%;
  height:520px;
  border-radius:18px;
  border:1px solid rgba(191,247,255,.16);
  overflow:hidden;
  background:rgba(255,255,255,.03);
}
.searchMap .leaflet-popup-content{
  margin:10px 12px;
  min-width:220px;
}
.searchMapPopupTitle{
  font-weight:800;
  margin-bottom:6px;
}
.searchMapPopupList{
  margin:0 0 8px 16px;
  padding:0;
}
.searchMapPopupList li{
  margin:0 0 4px 0;
  color:#20312a;
}
.searchMapPopupLink{
  font-weight:700;
}
@media (max-width: 760px){
  .searchMap{
    height:420px;
  }
}


/* Searchable city dropdown */
.searchableSelectWrap{
  position:relative;
}
.searchableSelectWrap .ts-wrapper,
.searchableSelectWrap .ts-control,
.searchableSelectWrap .ts-control input{
  font:inherit;
}
.searchableSelectWrap .ts-wrapper.single .ts-control{
  min-height:46px;
  padding:10px 12px;
  border-radius:14px;
}
.searchableSelectWrap .ts-dropdown{
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 18px 40px rgba(0,0,0,.22);
}
.searchableSelectWrap .ts-dropdown .option{
  padding:10px 12px;
}

/* Map popup long-list scrolling */
.searchMap .leaflet-popup-content{
  margin:10px 12px;
  min-width:220px;
  max-width:300px;
}
.searchMapPopupList{
  margin:0 0 8px 16px;
  padding-right:6px;
  max-height:180px;
  overflow-y:auto;
  overscroll-behavior:contain;
}
.searchMapPopupList::-webkit-scrollbar{
  width:8px;
}
.searchMapPopupList::-webkit-scrollbar-thumb{
  background:rgba(0,0,0,.22);
  border-radius:999px;
}


/* Searchable select theme matching */
.ts-wrapper{
  width:100%;
}
.ts-wrapper.single .ts-control{
  min-height:46px;
  padding:10px 12px !important;
  border-radius:14px !important;
  border:1px solid rgba(127,231,255,.20) !important;
  box-shadow:none !important;
  background:linear-gradient(180deg, rgba(19,64,48,.96), rgba(12,44,33,.96)) !important;
  color:#e6f0e9 !important;
}
.ts-wrapper.single .ts-control input{
  color:#e6f0e9 !important;
}
.ts-wrapper .ts-control > .item{
  color:#e6f0e9 !important;
}
.ts-dropdown{
  border:1px solid rgba(127,231,255,.20) !important;
  background:#123a2d !important;
  color:#e6f0e9 !important;
  border-radius:14px !important;
  overflow:hidden;
  z-index:80;
}
.ts-dropdown .option,
.ts-dropdown .no-results,
.ts-dropdown .create{
  padding:10px 12px !important;
  color:#e6f0e9 !important;
}
.ts-dropdown .active{
  background:rgba(35,185,255,.18) !important;
  color:#f4fbff !important;
}
.ts-wrapper.focus .ts-control{
  box-shadow:0 0 0 4px rgba(35,185,255,.15) !important;
}
body[data-theme="retro-2000s"] .ts-wrapper.single .ts-control{
  background:linear-gradient(180deg, #fff8df, #f1e1ad) !important;
  color:#23170d !important;
  border:2px solid #2c5aa8 !important;
  box-shadow:2px 2px 0 rgba(44,90,168,.12) !important;
}
body[data-theme="retro-2000s"] .ts-wrapper .ts-control > .item,
body[data-theme="retro-2000s"] .ts-wrapper.single .ts-control input{
  color:#23170d !important;
  font-weight:700 !important;
}
body[data-theme="retro-2000s"] .ts-dropdown{
  background:#fff8df !important;
  color:#23170d !important;
  border:2px solid #2c5aa8 !important;
}
body[data-theme="retro-2000s"] .ts-dropdown .option,
body[data-theme="retro-2000s"] .ts-dropdown .no-results{
  color:#23170d !important;
}
body[data-theme="retro-2000s"] .ts-dropdown .active{
  background:rgba(47,97,187,.12) !important;
  color:#23170d !important;
}


/* Searchable city dropdown behavior refinements */
.ts-wrapper.single{
  position:relative;
}
.ts-wrapper.single .ts-control{
  padding-right:38px !important;
}
.ts-wrapper.single.dropdown-active::after{
  transform:translateY(-30%) rotate(225deg);
}
.ts-wrapper.single .ts-control input::placeholder{
  color:var(--muted) !important;
  opacity:1 !important;
}
.ts-wrapper.single.is-empty .ts-control > .item{
  color:var(--muted) !important;
}
.ts-dropdown{
  z-index:99999 !important;
}
body[data-theme="retro-2000s"] .ts-wrapper.single .ts-control input::placeholder{
  color:#7f6547 !important;
}


/* Unified dropdown arrow styling */
select{
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
  background-repeat:no-repeat;
  background-position:right 14px center;
  background-size:12px 8px;
  padding-right:40px !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e6f0e9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body[data-theme="retro-2000s"] select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2323170d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ts-wrapper{
  width:100%;
  position:relative;
}
.ts-wrapper.single .ts-control{
  min-height:46px;
  padding:10px 40px 10px 12px !important;
  border-radius:14px !important;
  border:1px solid rgba(127,231,255,.20) !important;
  box-shadow:none !important;
  background:linear-gradient(180deg, rgba(19,64,48,.96), rgba(12,44,33,.96)) !important;
  color:#e6f0e9 !important;
}
.ts-wrapper.single .ts-control::after{
  content:"";
  position:absolute;
  right:14px;
  top:50%;
  width:12px;
  height:8px;
  transform:translateY(-50%);
  pointer-events:none;
  background-repeat:no-repeat;
  background-size:12px 8px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e6f0e9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ts-wrapper .ts-control > .item{
  color:#e6f0e9 !important;
}
.ts-wrapper .ts-control > .item.is-placeholder{
  color:var(--muted) !important;
}
.ts-wrapper.single .ts-control input{
  color:#e6f0e9 !important;
}
.ts-dropdown{
  border:1px solid rgba(127,231,255,.20) !important;
  background:#123a2d !important;
  color:#e6f0e9 !important;
  border-radius:14px !important;
  overflow:hidden;
  z-index:9999 !important;
  box-shadow:0 18px 40px rgba(0,0,0,.28) !important;
}
.ts-dropdown .option,
.ts-dropdown .no-results,
.ts-dropdown .create{
  padding:10px 12px !important;
  color:#e6f0e9 !important;
}
.ts-dropdown .option[data-value=""]{
  color:var(--muted) !important;
}
.ts-dropdown .active{
  background:rgba(35,185,255,.18) !important;
  color:#f4fbff !important;
}
.ts-wrapper.focus .ts-control{
  box-shadow:0 0 0 4px rgba(35,185,255,.15) !important;
}
body[data-theme="retro-2000s"] .ts-wrapper.single .ts-control{
  background:linear-gradient(180deg, #fff8df, #f1e1ad) !important;
  color:#23170d !important;
  border:2px solid #2c5aa8 !important;
  box-shadow:2px 2px 0 rgba(44,90,168,.12) !important;
}
body[data-theme="retro-2000s"] .ts-wrapper.single .ts-control::after{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2323170d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body[data-theme="retro-2000s"] .ts-wrapper .ts-control > .item,
body[data-theme="retro-2000s"] .ts-wrapper.single .ts-control input{
  color:#23170d !important;
  font-weight:700 !important;
}
body[data-theme="retro-2000s"] .ts-wrapper .ts-control > .item.is-placeholder{
  color:#7f6547 !important;
}
body[data-theme="retro-2000s"] .ts-dropdown{
  background:#fff8df !important;
  color:#23170d !important;
  border:2px solid #2c5aa8 !important;
}
body[data-theme="retro-2000s"] .ts-dropdown .option,
body[data-theme="retro-2000s"] .ts-dropdown .no-results{
  color:#23170d !important;
}
body[data-theme="retro-2000s"] .ts-dropdown .option[data-value=""]{
  color:#7f6547 !important;
}
body[data-theme="retro-2000s"] .ts-dropdown .active{
  background:rgba(47,97,187,.12) !important;
  color:#23170d !important;
}


/* Unified native select arrow styling */
select:not(.tomselected):not(.ts-hidden-accessible){
  -webkit-appearance:none !important;
  -moz-appearance:none !important;
  appearance:none !important;
  padding-right:40px !important;
  background-repeat:no-repeat, no-repeat !important;
  background-position:right 14px center, 0 0 !important;
  background-size:12px 8px, 100% 100% !important;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e6f0e9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(19,64,48,.96), rgba(12,44,33,.96)) !important;
}
body[data-theme="retro-2000s"] select:not(.tomselected):not(.ts-hidden-accessible){
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2323170d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #fff8df, #f1e1ad) !important;
}
select:not(.tomselected):not(.ts-hidden-accessible)::-ms-expand{
  display:none !important;
}

/* Clean Tom Select styling */
.ts-wrapper{
  width:100%;
  position:relative;
}
.ts-wrapper.single .ts-control{
  min-height:46px;
  padding:10px 40px 10px 12px !important;
  border-radius:14px !important;
  border:1px solid rgba(127,231,255,.20) !important;
  box-shadow:none !important;
  background:linear-gradient(180deg, rgba(19,64,48,.96), rgba(12,44,33,.96)) !important;
  color:#e6f0e9 !important;
  position:relative;
}
.ts-wrapper.single .ts-control::after{
  content:"";
  position:absolute;
  right:14px;
  top:50%;
  width:12px;
  height:8px;
  transform:translateY(-50%);
  pointer-events:none;
  background-repeat:no-repeat;
  background-size:12px 8px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e6f0e9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ts-wrapper .ts-control > .item{
  color:#e6f0e9 !important;
}
.ts-wrapper.single .ts-control input{
  color:#e6f0e9 !important;
}
.ts-wrapper.single .ts-control.is-empty input::placeholder{
  color:var(--muted) !important;
  opacity:1 !important;
}
.ts-dropdown{
  border:1px solid rgba(127,231,255,.20) !important;
  background:#123a2d !important;
  color:#e6f0e9 !important;
  border-radius:14px !important;
  overflow:hidden;
  z-index:9999 !important;
  box-shadow:0 18px 40px rgba(0,0,0,.28) !important;
}
.ts-dropdown .option,
.ts-dropdown .no-results,
.ts-dropdown .create{
  padding:10px 12px !important;
  color:#e6f0e9 !important;
}
.ts-dropdown .option[data-value=""]{
  color:var(--muted) !important;
}
.ts-dropdown .active{
  background:rgba(35,185,255,.18) !important;
  color:#f4fbff !important;
}
.ts-wrapper.focus .ts-control{
  box-shadow:0 0 0 4px rgba(35,185,255,.15) !important;
}

/* Retro Tom Select */
body[data-theme="retro-2000s"] .ts-wrapper.single .ts-control{
  background:linear-gradient(180deg, #fff8df, #f1e1ad) !important;
  color:#23170d !important;
  border:2px solid #2c5aa8 !important;
  box-shadow:2px 2px 0 rgba(44,90,168,.12) !important;
}
body[data-theme="retro-2000s"] .ts-wrapper.single .ts-control::after{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2323170d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body[data-theme="retro-2000s"] .ts-wrapper .ts-control > .item,
body[data-theme="retro-2000s"] .ts-wrapper.single .ts-control input{
  color:#23170d !important;
  font-weight:700 !important;
}
body[data-theme="retro-2000s"] .ts-wrapper.single .ts-control.is-empty input::placeholder{
  color:#7f6547 !important;
  opacity:1 !important;
}
body[data-theme="retro-2000s"] .ts-dropdown{
  background:#fff8df !important;
  color:#23170d !important;
  border:2px solid #2c5aa8 !important;
}
body[data-theme="retro-2000s"] .ts-dropdown .option,
body[data-theme="retro-2000s"] .ts-dropdown .no-results{
  color:#23170d !important;
}
body[data-theme="retro-2000s"] .ts-dropdown .option[data-value=""]{
  color:#7f6547 !important;
}
body[data-theme="retro-2000s"] .ts-dropdown .active{
  background:rgba(47,97,187,.12) !important;
  color:#23170d !important;
}


/* City searchable dropdown fixes */
.ts-wrapper.single{
  position:relative;
}
.ts-wrapper.single .ts-control::after{
  display:none !important;
  content:none !important;
}
.ts-wrapper.single .ts-control{
  padding-right:40px !important;
}
.ts-wrapper.single .ts-control.is-empty::before{
  content:attr(data-placeholder);
  position:absolute;
  left:12px;
  top:50%;
  transform:translateY(-50%);
  color:var(--muted);
  pointer-events:none;
  white-space:nowrap;
}
.ts-wrapper.focus .ts-control.is-empty::before,
.ts-wrapper.dropdown-active .ts-control.is-empty::before{
  opacity:0;
}
body[data-theme="retro-2000s"] .ts-wrapper.single .ts-control.is-empty::before{
  color:#7f6547;
}
.ts-wrapper.single .ts-control input{
  position:relative;
  z-index:2;
}


/* Single city-dropdown arrow definition */


/* City dropdown empty-state cleanup */
.ts-wrapper.single .ts-control.is-empty > .item[data-value=""]{
  display:none !important;
}

/* Single city-dropdown arrow definition */
.ts-wrapper.single::after{
  content:"";
  position:absolute;
  right:14px;
  top:50%;
  width:12px;
  height:8px;
  transform:translateY(-50%);
  pointer-events:none;
  background-repeat:no-repeat;
  background-size:12px 8px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e6f0e9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  z-index:3;
}
body[data-theme="retro-2000s"] .ts-wrapper.single::after{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2323170d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
