
:root{--bg:#0d1117;--panel:#151b24;--text:#f4efe7;--muted:#bdb3a8;--line:rgba(255,255,255,.10);--red:#ff6969;--orange:#f5a742;--yellow:#e8d36a;--blue:#8db7ff}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:radial-gradient(circle at top left,rgba(255,91,91,.13),transparent 35%),radial-gradient(circle at top right,rgba(141,183,255,.10),transparent 30%),linear-gradient(180deg,#0b0f15,#111823 52%,#0c1016);color:var(--text);min-height:100vh;font-weight:400}
a{color:inherit;text-decoration:none}
.site-header{position:sticky;top:0;z-index:50;backdrop-filter:blur(18px);background:rgba(13,17,23,.78);border-bottom:1px solid var(--line)}
.nav-wrap{max-width:1180px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:14px 18px;gap:16px}
.brand{display:flex;align-items:center;gap:12px}.logo{width:40px;height:40px;border-radius:14px;background:linear-gradient(135deg,#ff6969,#f5a742);display:grid;place-items:center;font-weight:700;color:#160d0d;box-shadow:0 14px 35px rgba(255,91,91,.15)}
.brand-text strong{display:block;letter-spacing:.08em;font-size:13px;font-weight:600}.brand-text span{display:block;color:var(--muted);font-size:12px;font-weight:400}
.menu{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.season{position:relative}.season-btn{border:1px solid var(--line);background:rgba(255,255,255,.05);color:var(--text);padding:10px 13px;border-radius:999px;cursor:pointer;font-size:13px;font-weight:400}
.season:hover .dropdown,.season:focus-within .dropdown{display:block}.dropdown{display:none;position:absolute;right:0;top:44px;min-width:250px;background:#121923;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 18px 50px rgba(0,0,0,.42);max-height:70vh;overflow-y:auto}
.dropdown a{display:flex;justify-content:space-between;gap:10px;padding:12px 14px;color:var(--muted);border-bottom:1px solid rgba(255,255,255,.06);font-size:13px;font-weight:400}.dropdown a:hover{background:rgba(255,255,255,.06);color:var(--text)}.dropdown small{color:#7f8ca3}
main{max-width:1180px;margin:auto;padding:36px 18px 70px}.hero{display:grid;grid-template-columns:1.1fr .9fr;gap:22px;align-items:stretch;margin-bottom:24px}
.hero-card,.side-card,.episode-card{background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.028));border:1px solid var(--line);border-radius:28px;box-shadow:0 22px 70px rgba(0,0,0,.21)}.hero-card{padding:34px}
.kicker{color:var(--orange);letter-spacing:.13em;font-size:12px;font-weight:600;margin-bottom:12px}h1{font-family:"Cormorant Garamond",Georgia,serif;font-size:48px;line-height:1.02;margin:0 0 14px;letter-spacing:.01em;font-weight:500}.hero-card p{color:var(--muted);font-size:16px;line-height:1.65;max-width:700px;font-weight:400}
.legend{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:24px}.legend-item{border:1px solid var(--line);border-radius:18px;padding:14px;background:rgba(0,0,0,.14)}.legend-item b{display:block;margin-bottom:6px;font-weight:600}.legend-item span{color:var(--muted);font-size:13px}
.side-card{padding:24px}.side-card h2{margin:0 0 14px;font-size:18px;font-weight:500}.latest-list{display:grid;gap:10px}.latest-list a{display:block;padding:14px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.04)}.latest-list a:hover{background:rgba(255,255,255,.08)}.latest-list b{display:block;font-weight:500}.latest-list span{color:var(--muted);font-size:13px}
.episode-card{padding:28px}.episode-top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}.episode-title h2{font-family:"Cormorant Garamond",Georgia,serif;font-size:38px;margin:0 0 8px;font-weight:500}.episode-title p{color:var(--muted);line-height:1.6;margin:0}.badge{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:999px;padding:8px 12px;color:var(--muted);font-size:12px;white-space:nowrap;font-weight:400}
.levels{display:grid;gap:14px;margin-top:22px}.level{display:grid;grid-template-columns:132px 1.1fr 124px 115px 2fr;gap:14px;align-items:start;padding:18px;border:1px solid var(--line);border-radius:22px;background:rgba(0,0,0,.14)}
.lvl-pill{text-align:center;padding:10px 12px;border-radius:999px;font-size:12px;font-weight:600;line-height:1.15}.lvl-1 .lvl-pill{background:rgba(255,91,91,.22);color:#ffc0c0;border:1px solid rgba(255,91,91,.38)}.lvl-2 .lvl-pill{background:rgba(245,167,66,.16);color:#ffd8a4;border:1px solid rgba(245,167,66,.34)}.lvl-3 .lvl-pill{background:rgba(232,211,106,.13);color:#fff0a8;border:1px solid rgba(232,211,106,.26)}
.cell-label{display:block;color:#7f8ca3;font-size:11px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:5px;font-weight:500}.moment{color:var(--blue);font-size:14px;line-height:1.35;font-weight:500}.minute,.duration{color:#e7ded4;font-size:14px;line-height:1.45;font-weight:400}.desc{color:#dfd6ca;line-height:1.58;font-weight:400}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px}.ep-tile{border:1px solid var(--line);border-radius:18px;padding:14px;background:rgba(255,255,255,.04)}.ep-tile:hover{background:rgba(255,255,255,.08)}.ep-tile b{display:block;font-weight:500}.ep-tile span{color:var(--muted);font-size:12px}.footer-note{margin-top:28px;color:var(--muted);font-size:13px;line-height:1.6}
@media(max-width:980px){.level{grid-template-columns:1fr 1fr}.desc{grid-column:1/-1}}
@media(max-width:820px){.nav-wrap{align-items:flex-start;flex-direction:column}.menu{width:100%;justify-content:flex-start}.dropdown{left:0;right:auto}.hero{grid-template-columns:1fr}h1{font-size:38px}.legend{grid-template-columns:1fr}.episode-top{flex-direction:column}.grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){main{padding:24px 14px 50px}.hero-card,.side-card,.episode-card{border-radius:22px;padding:22px}.grid{grid-template-columns:1fr}.level{grid-template-columns:1fr}}


/* v5 fixes */
.menu{
  gap:10px;
}
.season{
  padding-bottom:10px;
  margin-bottom:-10px;
}
.season-btn{
  min-width:92px;
  text-align:center;
}
.dropdown{
  left:0;
  right:auto;
  top:48px;
  padding:8px;
  min-width:270px;
}
.dropdown::before{
  content:"";
  position:absolute;
  top:-12px;
  left:0;
  right:0;
  height:12px;
}
.dropdown a{
  border-radius:12px;
  border-bottom:0;
  margin-bottom:3px;
}
.season.open .dropdown{
  display:block;
}
.episode-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
}
.nav-ep{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.045);
  border-radius:999px;
  padding:10px 14px;
  color:#e8ded2;
  font-size:13px;
  font-weight:400;
}
.nav-ep:hover{
  background:rgba(255,255,255,.085);
}
.nav-ep.disabled{
  opacity:.35;
  pointer-events:none;
}
.nav-center{
  color:var(--muted);
  font-size:13px;
}
@media(max-width:820px){
  .dropdown{
    position:static;
    width:100%;
    margin-top:8px;
    max-height:none;
  }
  .season{
    width:100%;
    padding-bottom:0;
    margin-bottom:0;
  }
  .season-btn{
    width:100%;
    text-align:left;
  }
  .episode-nav{
    flex-wrap:wrap;
  }
}


/* v7 level colour system */
.legend{
  gap:14px;
}
.legend-item{
  border-radius:22px;
}
.legend-1{
  background:linear-gradient(135deg,rgba(255,58,58,.24),rgba(255,58,58,.08));
  border-color:rgba(255,82,82,.55);
  box-shadow:0 18px 38px rgba(255,58,58,.12);
}
.legend-2{
  background:linear-gradient(135deg,rgba(255,157,45,.24),rgba(255,157,45,.08));
  border-color:rgba(255,170,64,.52);
  box-shadow:0 18px 38px rgba(255,157,45,.10);
}
.legend-3{
  background:linear-gradient(135deg,rgba(94,210,132,.22),rgba(94,210,132,.07));
  border-color:rgba(94,210,132,.50);
  box-shadow:0 18px 38px rgba(94,210,132,.09);
}
.legend-1 b{color:#ffcaca}
.legend-2 b{color:#ffd9a6}
.legend-3 b{color:#c8ffd7}

.level{
  border-width:1px;
}
.lvl-1{
  background:linear-gradient(90deg,rgba(255,58,58,.14),rgba(0,0,0,.14));
  border-color:rgba(255,82,82,.46);
}
.lvl-2{
  background:linear-gradient(90deg,rgba(255,157,45,.14),rgba(0,0,0,.14));
  border-color:rgba(255,170,64,.42);
}
.lvl-3{
  background:linear-gradient(90deg,rgba(94,210,132,.13),rgba(0,0,0,.14));
  border-color:rgba(94,210,132,.40);
}
.lvl-1 .lvl-pill{
  background:rgba(255,58,58,.30)!important;
  color:#ffe0e0!important;
  border-color:rgba(255,90,90,.70)!important;
}
.lvl-2 .lvl-pill{
  background:rgba(255,157,45,.28)!important;
  color:#ffe3bf!important;
  border-color:rgba(255,178,74,.68)!important;
}
.lvl-3 .lvl-pill{
  background:rgba(94,210,132,.24)!important;
  color:#d8ffe2!important;
  border-color:rgba(112,224,148,.64)!important;
}
.lvl-1 .moment{color:#ff9d9d}
.lvl-2 .moment{color:#ffc77e}
.lvl-3 .moment{color:#a5f0ba}


/* v9 mobile dropdown polish */
.mobile-menu-toggle{
  display:none;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:var(--text);
  padding:10px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:500;
  cursor:pointer;
}
.mobile-menu-toggle::after{
  content:" ▾";
  color:var(--muted);
}
body.mobile-menu-open .mobile-menu-toggle::after{
  content:" ▴";
}
@media(max-width:820px){
  .site-header{
    background:rgba(13,17,23,.92);
  }
  .nav-wrap{
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    position:relative;
  }
  .brand{
    min-width:0;
  }
  .brand-text strong{
    font-size:12px;
    white-space:nowrap;
  }
  .brand-text span{
    display:none;
  }
  .mobile-menu-toggle{
    display:inline-flex;
    align-items:center;
    margin-left:auto;
  }
  .menu{
    display:none;
    position:absolute;
    left:14px;
    right:14px;
    top:64px;
    width:auto;
    padding:12px;
    border:1px solid var(--line);
    border-radius:22px;
    background:rgba(18,25,35,.98);
    box-shadow:0 22px 60px rgba(0,0,0,.42);
    backdrop-filter:blur(18px);
    z-index:80;
  }
  body.mobile-menu-open .menu{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
  }
  .season{
    width:100%;
  }
  .season-btn{
    width:100%;
    text-align:left;
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-radius:16px;
    padding:13px 14px;
    background:rgba(255,255,255,.055);
  }
  .season-btn::after{
    content:"▾";
    color:var(--muted);
  }
  .season.open .season-btn::after{
    content:"▴";
  }
  .dropdown{
    position:static;
    display:none;
    width:100%;
    max-height:260px;
    overflow:auto;
    margin-top:8px;
    padding:6px;
    border-radius:18px;
    background:rgba(0,0,0,.20);
    box-shadow:none;
  }
  .season.open .dropdown{
    display:block;
  }
  .dropdown a{
    padding:12px 12px;
    border-radius:12px;
  }
  main{
    padding-top:22px;
  }
}


/* v10 mobile menu clean rebuild */
.mobile-season-panel{
  display:none;
}
.hero{
  margin-top:0;
}
.hero-card p{
  display:none;
}
@media(max-width:820px){
  .nav-wrap{
    flex-direction:row;
    align-items:center;
    justify-content:flex-start;
    gap:12px;
  }
  .brand{
    flex:1;
  }
  .brand-text strong{
    font-size:12px;
  }
  .brand-text span{
    display:none;
  }
  #seasonMenu,
  .menu,
  .mobile-menu-toggle{
    display:none!important;
  }
  .mobile-season-panel{
    display:block;
    margin:0 0 14px;
    position:relative;
    z-index:30;
  }
  .mobile-season-master{
    width:100%;
    border:1px solid var(--line);
    background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.04));
    color:var(--text);
    border-radius:22px;
    padding:16px 18px;
    font-size:15px;
    font-weight:600;
    text-align:left;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 14px 36px rgba(0,0,0,.20);
  }
  .mobile-season-master::after{
    content:"▾";
    color:var(--muted);
    font-size:12px;
  }
  .mobile-season-panel.open .mobile-season-master::after{
    content:"▴";
  }
  .mobile-season-list{
    display:none;
    margin-top:10px;
    border:1px solid var(--line);
    border-radius:24px;
    padding:10px;
    background:rgba(18,25,35,.98);
    box-shadow:0 24px 60px rgba(0,0,0,.44);
    backdrop-filter:blur(18px);
  }
  .mobile-season-panel.open .mobile-season-list{
    display:grid;
    gap:8px;
  }
  .mobile-season-btn{
    width:100%;
    border:1px solid rgba(255,255,255,.12);
    background:rgba(255,255,255,.055);
    color:var(--text);
    border-radius:18px;
    padding:14px 15px;
    font-size:14px;
    font-weight:500;
    text-align:left;
    display:flex;
    justify-content:space-between;
    align-items:center;
  }
  .mobile-season-btn::after{
    content:"▾";
    color:var(--muted);
    font-size:11px;
  }
  .mobile-season.open .mobile-season-btn::after{
    content:"▴";
  }
  .mobile-episode-list{
    display:none;
    margin:8px 0 2px;
    padding:6px;
    border-radius:18px;
    background:rgba(0,0,0,.22);
    border:1px solid rgba(255,255,255,.07);
    max-height:260px;
    overflow:auto;
  }
  .mobile-season.open .mobile-episode-list{
    display:block;
  }
  .mobile-episode-list a{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    padding:12px 12px;
    border-radius:12px;
    color:var(--muted);
    font-size:14px;
  }
  .mobile-episode-list a:hover,
  .mobile-episode-list a:active{
    color:var(--text);
    background:rgba(255,255,255,.07);
  }
  .mobile-episode-list small{
    color:#8c9ab2;
    font-size:12px;
    white-space:nowrap;
  }
  .hero{
    margin-top:0;
  }
  .hero-card{
    padding:22px;
  }
  .kicker{
    font-size:11px;
    letter-spacing:.12em;
  }
  h1{
    font-size:36px;
    line-height:1.02;
  }
  .legend{
    margin-top:18px;
  }
}


/* v11 language switch + SEO polish */
.lang-switch{
  display:flex;
  align-items:center;
  gap:5px;
  border:1px solid var(--line);
  border-radius:999px;
  padding:4px;
  background:rgba(255,255,255,.045);
  order:-2;
}
.lang-switch button{
  appearance:none;
  border:0;
  background:transparent;
  color:var(--muted);
  border-radius:999px;
  padding:7px 9px;
  font-size:12px;
  font-weight:600;
  cursor:pointer;
}
.lang-switch button.active{
  color:#15100d;
  background:linear-gradient(135deg,#ff8a5f,#f5a742);
}
.lang-switch span{
  color:rgba(255,255,255,.24);
  font-size:12px;
}
@media(max-width:820px){
  .nav-wrap{
    gap:8px;
  }
  .lang-switch{
    margin-right:0;
    flex:0 0 auto;
  }
  .lang-switch button{
    padding:6px 8px;
    font-size:11px;
  }
  .logo{
    width:38px;
    height:38px;
  }
  .brand{
    gap:10px;
  }
  .brand-text strong{
    font-size:11px;
    letter-spacing:.05em;
  }
}


/* v12 terms + traffic notice */
.terms-banner{
  position:fixed;
  left:18px;
  right:18px;
  bottom:18px;
  z-index:999;
  max-width:920px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 18px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:22px;
  background:rgba(16,22,31,.94);
  box-shadow:0 24px 70px rgba(0,0,0,.42);
  backdrop-filter:blur(18px);
}
.terms-banner strong{
  display:block;
  color:#f4efe7;
  font-size:14px;
  margin-bottom:4px;
}
.terms-banner span{
  display:block;
  color:#bdb3a8;
  font-size:13px;
  line-height:1.45;
}
.terms-accept{
  flex:0 0 auto;
  border:0;
  border-radius:999px;
  padding:10px 18px;
  background:linear-gradient(135deg,#ff8a5f,#f5a742);
  color:#18100d;
  font-weight:700;
  cursor:pointer;
}
@media(max-width:640px){
  .terms-banner{
    flex-direction:column;
    align-items:flex-start;
    left:12px;
    right:12px;
    bottom:12px;
  }
  .terms-accept{
    width:100%;
  }
}


/* v13 language right + full English cleanup */
.lang-switch{
  order:9!important;
  margin-left:auto;
}
.brand{
  order:1;
}
.menu{
  order:5;
}
@media(min-width:821px){
  .nav-wrap{
    justify-content:flex-start;
  }
  .menu{
    margin-left:20px;
  }
}
@media(max-width:820px){
  .lang-switch{
    order:9!important;
    margin-left:auto;
  }
  .brand{
    flex:0 1 auto;
  }
  .nav-wrap{
    justify-content:space-between;
  }
}


/* v15 visible terms links */
.site-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.site-links a{
  color:#f5a742;
  text-decoration:none;
  border-bottom:1px solid rgba(245,167,66,.35);
}
.site-links a:hover{
  color:#ffd39a;
  border-bottom-color:#ffd39a;
}


/* v16 SuperTerms footer popup */
.terms-banner{
  display:none!important;
}
.site-links{
  justify-content:center;
  margin-top:24px;
}
.superterms-link{
  appearance:none;
  border:1px solid rgba(245,167,66,.34);
  background:rgba(245,167,66,.08);
  color:#f5a742;
  border-radius:999px;
  padding:10px 15px;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  box-shadow:0 12px 28px rgba(0,0,0,.14);
}
.superterms-link:hover{
  color:#ffd39a;
  border-color:#ffd39a;
  background:rgba(245,167,66,.12);
}
.superterms-modal{
  position:fixed;
  inset:0;
  z-index:1200;
  display:grid;
  place-items:center;
  padding:18px;
}
.superterms-backdrop{
  position:absolute;
  inset:0;
  background:rgba(5,8,13,.74);
  backdrop-filter:blur(10px);
}
.superterms-card{
  position:relative;
  width:min(560px,100%);
  border:1px solid rgba(255,255,255,.14);
  border-radius:30px;
  padding:28px;
  background:
    radial-gradient(circle at top left,rgba(255,105,105,.23),transparent 38%),
    radial-gradient(circle at top right,rgba(245,167,66,.18),transparent 34%),
    linear-gradient(180deg,rgba(24,31,43,.98),rgba(13,17,23,.98));
  box-shadow:0 30px 90px rgba(0,0,0,.55);
  color:#f4efe7;
}
.superterms-x{
  position:absolute;
  right:16px;
  top:14px;
  width:34px;
  height:34px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background:rgba(255,255,255,.06);
  color:#f4efe7;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.superterms-badge{
  display:inline-flex;
  border:1px solid rgba(255,105,105,.42);
  background:rgba(255,105,105,.12);
  color:#ffc0c0;
  border-radius:999px;
  padding:7px 11px;
  font-size:12px;
  font-weight:600;
  margin-bottom:14px;
}
.superterms-card h2{
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:42px;
  line-height:1;
  margin:0 0 8px;
  font-weight:500;
}
.superterms-sub{
  color:#f5a742;
  margin:0 0 18px;
  font-size:14px;
}
.superterms-copy{
  display:grid;
  gap:10px;
  color:#d8cec2;
  font-size:14px;
  line-height:1.55;
}
.superterms-copy p{
  margin:0;
}
.superterms-status{
  margin-top:18px;
  border-radius:18px;
  padding:12px 14px;
  font-size:13px;
  border:1px solid rgba(255,255,255,.10);
}
.superterms-status.on{
  background:rgba(94,210,132,.12);
  color:#c8ffd7;
  border-color:rgba(94,210,132,.34);
}
.superterms-status.off{
  background:rgba(255,157,45,.12);
  color:#ffe3bf;
  border-color:rgba(255,157,45,.34);
}
.superterms-actions{
  display:flex;
  gap:10px;
  margin-top:20px;
}
.superterms-accept,
.superterms-close{
  border:0;
  border-radius:999px;
  padding:12px 16px;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}
.superterms-accept{
  background:linear-gradient(135deg,#ff8a5f,#f5a742);
  color:#18100d;
}
.superterms-close{
  background:rgba(255,255,255,.07);
  color:#f4efe7;
  border:1px solid rgba(255,255,255,.12);
}
@media(max-width:560px){
  .superterms-card{
    padding:24px 20px;
    border-radius:26px;
  }
  .superterms-card h2{
    font-size:36px;
  }
  .superterms-actions{
    flex-direction:column;
  }
  .superterms-accept,
  .superterms-close{
    width:100%;
  }
}


/* v18 global footer */
.site-footer{
  border-top:1px solid var(--line);
  background:rgba(13,17,23,.74);
  backdrop-filter:blur(14px);
  margin-top:20px;
}
.footer-inner{
  max-width:1180px;
  margin:auto;
  padding:22px 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}
.footer-inner strong{
  display:block;
  font-size:12px;
  letter-spacing:.08em;
  font-weight:600;
  color:#f4efe7;
}
.footer-inner span{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:12px;
}
.site-footer .superterms-link{
  margin-left:auto;
}
@media(max-width:620px){
  .footer-inner{
    flex-direction:column;
    align-items:flex-start;
  }
  .site-footer .superterms-link{
    margin-left:0;
    width:100%;
  }
}


/* v19 footer bottom SuperTerms */
.footer-inner{
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
  text-align:center!important;
  gap:6px!important;
  padding:26px 18px!important;
}
.footer-inner strong{
  margin:0!important;
}
.footer-inner span{
  margin-top:0!important;
}
.site-footer .superterms-link.footer-superterms{
  margin:10px 0 0!important;
  width:auto!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:6px 0!important;
  border-radius:0!important;
  color:#f5a742!important;
  border-bottom:1px solid rgba(245,167,66,.35)!important;
}
.site-footer .superterms-link.footer-superterms:hover{
  color:#ffd39a!important;
  border-bottom-color:#ffd39a!important;
  background:transparent!important;
}
@media(max-width:620px){
  .footer-inner{
    align-items:center!important;
  }
  .site-footer .superterms-link.footer-superterms{
    width:auto!important;
  }
}


/* v20 footer refinement */
.site-footer{
  margin-top:0!important;
  border-top:1px solid rgba(255,255,255,.08)!important;
  background:
    radial-gradient(circle at top,rgba(245,167,66,.055),transparent 38%),
    rgba(13,17,23,.82)!important;
}
.footer-inner{
  padding:18px 18px 20px!important;
  gap:5px!important;
}
.footer-inner strong{
  font-size:11px!important;
  letter-spacing:.09em!important;
}
.footer-inner span{
  font-size:12px!important;
  color:#c8beb4!important;
}
.footer-inner small{
  display:block;
  margin-top:8px;
  color:#7f8ca3;
  font-size:11px;
  line-height:1.35;
}
.site-footer .superterms-link.footer-superterms{
  margin-top:8px!important;
  font-size:12px!important;
  padding:5px 0!important;
}
main{
  padding-bottom:42px!important;
}
@media(max-width:620px){
  .footer-inner{
    padding:16px 16px 18px!important;
  }
  main{
    padding-bottom:34px!important;
  }
}


/* v21 private stats badge */
.stats-badge{
  cursor:pointer;
  font-family:inherit;
}
.stats-badge:hover{
  background:rgba(255,255,255,.085);
  color:#f4efe7;
}
.stats-modal{
  position:fixed;
  inset:0;
  z-index:1250;
  display:grid;
  place-items:center;
  padding:18px;
}
.stats-backdrop{
  position:absolute;
  inset:0;
  background:rgba(5,8,13,.76);
  backdrop-filter:blur(10px);
}
.stats-card{
  position:relative;
  width:min(430px,100%);
  border:1px solid rgba(255,255,255,.14);
  border-radius:30px;
  padding:28px;
  background:
    radial-gradient(circle at top left,rgba(245,167,66,.22),transparent 38%),
    radial-gradient(circle at top right,rgba(141,183,255,.16),transparent 34%),
    linear-gradient(180deg,rgba(24,31,43,.98),rgba(13,17,23,.98));
  box-shadow:0 30px 90px rgba(0,0,0,.55);
  color:#f4efe7;
}
.stats-x{
  position:absolute;
  right:16px;
  top:14px;
  width:34px;
  height:34px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background:rgba(255,255,255,.06);
  color:#f4efe7;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.stats-badge-mini{
  display:inline-flex;
  border:1px solid rgba(245,167,66,.42);
  background:rgba(245,167,66,.12);
  color:#ffe3bf;
  border-radius:999px;
  padding:7px 11px;
  font-size:12px;
  font-weight:700;
  margin-bottom:14px;
}
.stats-card h2{
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:38px;
  line-height:1;
  margin:0 0 8px;
  font-weight:500;
}
.stats-card p{
  color:#d8cec2;
  margin:0 0 18px;
  line-height:1.5;
}
.stats-card input{
  width:100%;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.18);
  color:#f4efe7;
  border-radius:16px;
  padding:14px 15px;
  font-size:15px;
  outline:none;
}
.stats-card input:focus{
  border-color:rgba(245,167,66,.72);
  box-shadow:0 0 0 4px rgba(245,167,66,.10);
}
.stats-open{
  width:100%;
  margin-top:12px;
  border:0;
  border-radius:999px;
  padding:13px 16px;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
  background:linear-gradient(135deg,#ff8a5f,#f5a742);
  color:#18100d;
}


/* v22 stats badge visual fix */
.badge.stats-badge{
  appearance:none!important;
  -webkit-appearance:none!important;
  font-family:inherit!important;
  display:inline-flex!important;
  align-items:center!important;
  border:1px solid var(--line)!important;
  border-radius:999px!important;
  padding:8px 12px!important;
  color:var(--muted)!important;
  background:transparent!important;
  font-size:12px!important;
  white-space:nowrap!important;
  font-weight:400!important;
  cursor:pointer!important;
  box-shadow:none!important;
}
.badge.stats-badge:hover{
  color:#f4efe7!important;
  background:rgba(255,255,255,.055)!important;
  border-color:rgba(255,255,255,.16)!important;
}
.badge.stats-badge:focus{
  outline:none!important;
  box-shadow:0 0 0 4px rgba(245,167,66,.10)!important;
}


/* v23 stats badge: no hover visual change */
.badge.stats-badge,
.badge.stats-badge:hover,
.badge.stats-badge:active{
  color:var(--muted)!important;
  background:transparent!important;
  border-color:var(--line)!important;
  box-shadow:none!important;
}
.badge.stats-badge{
  cursor:default!important;
}


/* v25 mobile input zoom fix */
.stats-card input,
.stats-card button,
.superterms-card button,
.terms-accept,
input,
textarea,
select{
  font-size:16px!important;
}
@media(max-width:820px){
  .stats-card input{
    font-size:16px!important;
    transform:none!important;
  }
}


/* v26 longer hero title fit */
.hero-card h1{
  font-size:42px!important;
  max-width:860px;
  letter-spacing:.005em;
}
@media(max-width:820px){
  .hero-card h1{
    font-size:31px!important;
    line-height:1.05!important;
  }
}
@media(max-width:420px){
  .hero-card h1{
    font-size:28px!important;
  }
}


/* v27 header mobile fix */
@media(max-width:820px){
  .site-header{
    padding-left:0!important;
    padding-right:0!important;
  }
  .nav-wrap{
    padding:10px 12px!important;
    gap:8px!important;
  }
  .brand{
    min-width:0!important;
    flex:1 1 auto!important;
    gap:8px!important;
  }
  .logo{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    flex:0 0 34px!important;
    border-radius:12px!important;
    font-size:16px!important;
  }
  .brand-text{
    min-width:0!important;
    overflow:hidden!important;
  }
  .brand-text strong{
    display:block!important;
    font-size:10.5px!important;
    line-height:1.1!important;
    letter-spacing:.055em!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .lang-switch{
    flex:0 0 auto!important;
    gap:3px!important;
    padding:3px!important;
  }
  .lang-switch button{
    padding:5px 7px!important;
    font-size:10.5px!important;
  }
}
@media(max-width:380px){
  .brand-text strong{
    font-size:10px!important;
    max-width:148px!important;
  }
  .logo{
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    flex-basis:32px!important;
  }
}
