@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root{
  --bg:#080a0f;
  --panel:#11151d;
  --panel-2:#171c25;
  --text:#f7f8fa;
  --muted:#aeb6c5;
  --red:#e1252e;
  --red-dark:#b91820;
  --blue:#235fc1;
  --line:#252c38;
  --paper:#f7f8fb;
  --ink:#12151a;
  --max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{width:min(var(--max),92vw);margin:0 auto}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(8,10,15,.9);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.07);
}
.nav{height:76px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.brand{display:flex;align-items:center;gap:12px;font-weight:900;letter-spacing:.05em}
.brand img{width:58px;height:42px;object-fit:contain}
.nav-links{display:flex;align-items:center;gap:26px;color:#d8dce3;font-weight:600;font-size:.95rem}
.nav-links a:hover{color:#fff}
.menu-toggle{display:none;background:none;border:0;color:#fff;font-size:1.55rem;cursor:pointer}

.hero{
  min-height:calc(100vh - 76px);
  display:flex;
  align-items:center;
  padding:78px 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(35,95,193,.23), transparent 30%),
    radial-gradient(circle at 15% 75%, rgba(225,37,46,.18), transparent 32%),
    linear-gradient(135deg,#080a0f 0%,#0c1017 65%,#090a0f 100%);
  overflow:hidden;
}
.hero-grid{display:grid;grid-template-columns:1.12fr .88fr;align-items:center;gap:64px}
.eyebrow{
  margin:0 0 12px;
  color:#ff545c;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
h1,h2,h3,p{margin-top:0}
h1{
  font-size:clamp(3rem,6vw,6.7rem);
  line-height:.94;
  letter-spacing:-.055em;
  margin-bottom:24px;
}
h1 span{color:#4b83e3}
h2{font-size:clamp(2.2rem,4vw,4rem);line-height:1;letter-spacing:-.04em;margin-bottom:18px}
h3{font-size:1.35rem;line-height:1.2}
.lead{font-size:1.16rem;color:var(--muted);max-width:720px}
.hero-actions,.contact-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 20px;
  border-radius:10px;
  font-weight:800;
  border:1px solid transparent;
  transition:.2s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--red);color:#fff;box-shadow:0 12px 30px rgba(225,37,46,.18)}
.btn-primary:hover{background:#f0333c}
.btn-outline{border-color:#3c4554;background:rgba(255,255,255,.02)}
.btn-outline:hover{border-color:#697486}
.btn-outline-dark{border-color:#aeb4bf;color:var(--ink)}
.btn-small{min-height:42px;background:#fff;color:var(--ink)}


.hero-socials{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}
.hero-social-link{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 13px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.035);
  color:#dfe5ee;
  font-size:.82rem;
  font-weight:700;
  transition:.2s ease;
}
.hero-social-link:hover{
  transform:translateY(-2px);
  border-color:#637085;
  background:rgba(255,255,255,.07);
  color:#fff;
}

.hero-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:44px;max-width:650px}
.hero-stats div{
  padding:16px 17px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  background:rgba(255,255,255,.025);
}
.hero-stats strong{display:block;font-size:1.06rem}
.hero-stats span{display:block;color:var(--muted);font-size:.8rem;margin-top:3px}

.hero-visual{position:relative}
.photo-frame{
  position:relative;
  max-width:460px;
  margin-left:auto;
  border-radius:28px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.1);
  background:linear-gradient(145deg,#151a23,#0b0d13);
  box-shadow:0 30px 70px rgba(0,0,0,.45);
}
.photo-frame:after{
  content:"";
  position:absolute;inset:auto 0 0;
  height:28%;
  background:linear-gradient(transparent,rgba(8,10,15,.78));
  pointer-events:none;
}
.photo-frame img{width:100%;min-height:610px;object-fit:cover;object-position:center top}

.section{padding:96px 0}
.section-dark{background:#0d1016;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-accent{background:var(--paper);color:var(--ink)}
.section-heading{max-width:760px;margin-bottom:38px}
.section-heading.narrow{max-width:820px}
.section-heading>p:last-child,.two-col p,.portfolio-box p,.contact-box p{color:var(--muted)}
.section-accent .section-heading>p:last-child,.section-accent .portfolio-box p{color:#59616d}

.cards{display:grid;gap:20px}
.cards.three{grid-template-columns:repeat(3,1fr)}
.card{
  padding:28px;
  border-radius:18px;
  background:linear-gradient(180deg,#151a22,#10141b);
  border:1px solid #252d39;
  min-height:275px;
  display:flex;
  flex-direction:column;
}
.card p{color:var(--muted)}
.card-kicker{font-size:.72rem;letter-spacing:.14em;color:#ff6269;font-weight:800;margin-bottom:18px}
.link-stack{margin-top:auto;display:flex;flex-direction:column;gap:8px}
.link-stack a{font-weight:700;color:#8fb4ff}
.link-stack a:hover{color:#fff}
.light-card{background:#fff;border-color:#dfe3ea;min-height:190px}
.light-card p{color:#5d6570}

.featured-races{
  margin-top:24px;
  padding:25px 28px;
  border:1px solid #252d39;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  background:#11151c;
}
.featured-races h3{margin-bottom:0}
.race-buttons{display:flex;gap:10px;flex-wrap:wrap}

.two-col{display:grid;grid-template-columns:1.15fr .85fr;gap:60px;align-items:start}
.fact-panel{padding:28px;border-radius:18px;background:#11151d;border:1px solid #252d39}
.fact-panel dl{margin:0}
.fact-panel dl div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #262d38}
.fact-panel dl div:last-child{border-bottom:0}
.fact-panel dt{color:var(--muted)}
.fact-panel dd{margin:0;text-align:right;font-weight:700}

.portfolio-box{
  margin-top:26px;
  padding:30px;
  border-radius:18px;
  border:1px solid #dce1e8;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}
.portfolio-box h3{font-size:1.55rem;margin-bottom:8px}

.mission-section{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 85% 25%,rgba(235,55,140,.16),transparent 32%),
    linear-gradient(135deg,#0d1016,#121721 62%,#0b0d12);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.mission-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:64px;align-items:center}
.mission-copy{max-width:760px}
.mission-copy h2{font-size:clamp(2.35rem,4.7vw,5rem);line-height:1.02}
.mission-copy p{color:var(--muted);font-size:1.06rem}
.mission-copy .mission-lead{color:#fff;font-size:1.24rem;font-weight:700}
.mission-copy strong{color:#fff}
.mission-logo-card{
  padding:32px;
  border-radius:22px;
  background:#fff;
  color:var(--ink);
  box-shadow:0 28px 70px rgba(0,0,0,.35);
}
.mission-logo-card a{display:block;border-radius:12px;transition:.2s ease}
.mission-logo-card a:hover{transform:translateY(-2px)}
.mission-logo-card img{width:100%;height:auto;margin:0 auto 26px}
.mission-logo-card p{margin-bottom:8px;color:#4e5662}
.mission-logo-card p strong{color:var(--ink);font-size:1.2rem}
.mission-logo-card small{display:block;margin-top:20px;padding-top:18px;border-top:1px solid #e1e5eb;color:#6d7480;line-height:1.55}
.affiliate-links-section{background:#eef1f5;color:var(--ink)}
.affiliate-links-section .section-heading>p:last-child{color:#59616d}

.social-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.social-card{
  padding:24px;
  border:1px solid #252d38;
  border-radius:16px;
  background:#11151d;
  transition:.2s ease;
}
.social-card:hover{transform:translateY(-3px);border-color:#4f5d70}
.social-card span{display:block;color:var(--muted);font-size:.82rem;margin-bottom:7px}
.social-card strong{font-size:1rem;word-break:break-word}

.contact-section{background:#e8ebf0;color:var(--ink)}
.contact-box{display:flex;align-items:center;justify-content:space-between;gap:50px}
.contact-box>div:first-child{max-width:710px}
.contact-box .eyebrow{color:var(--red)}
.contact-box p{color:#555e69}

footer{padding:36px 0;border-top:1px solid var(--line);background:#07090d}
.footer-grid{display:flex;align-items:center;justify-content:space-between;gap:40px}
.footer-logo{width:78px;margin-bottom:8px}
.footer-grid p{margin:0;color:#8e97a5}
.fine-print{max-width:700px;font-size:.78rem;text-align:right}


.affiliate-showcase{
  margin-top:26px;
  padding:26px 28px;
  border-radius:18px;
  border:1px solid #dce1e8;
  background:#fff;
  display:grid;
  grid-template-columns:240px 1fr;
  align-items:center;
  gap:30px;
}
.affiliate-logo-card{
  min-height:150px;
  border-radius:15px;
  background:#080a0f;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
  border:2px solid transparent;
  transition:.2s ease;
}
.affiliate-logo-card:hover{
  transform:translateY(-3px);
  border-color:#e1252e;
  box-shadow:0 12px 28px rgba(0,0,0,.14);
}
.affiliate-logo-card img{
  width:100%;
  max-height:115px;
  object-fit:contain;
}
.affiliate-copy h3{
  margin-bottom:8px;
  font-size:1.55rem;
}
.affiliate-copy p{
  color:#59616d;
  margin-bottom:8px;
}
.affiliate-copy strong{
  color:#12151a;
}
.affiliate-disclosure{
  font-size:.78rem;
}


.creator-showcase{
  margin-top:18px;
  padding:24px 28px;
  border-radius:18px;
  border:1px solid #dce1e8;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
}
.creator-copy h3{
  margin-bottom:8px;
  font-size:1.45rem;
}
.creator-copy p{
  color:#59616d;
  margin-bottom:0;
}
.creator-copy strong{
  color:#12151a;
}
.creator-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}


.brand-showcase{
  margin-top:18px;
  padding:26px 28px;
  border-radius:18px;
  border:1px solid #dce1e8;
  background:#fff;
  display:grid;
  grid-template-columns:240px 1fr;
  align-items:center;
  gap:30px;
}
.brand-logo-card{
  min-height:150px;
  border-radius:15px;
  background:#080a0f;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
  border:2px solid transparent;
  transition:.2s ease;
}
.brand-logo-card:hover{
  transform:translateY(-3px);
  border-color:#e1252e;
  box-shadow:0 12px 28px rgba(0,0,0,.14);
}
.brand-logo-card img{
  width:100%;
  max-height:125px;
  object-fit:contain;
}
.brand-copy h3{
  margin-bottom:8px;
  font-size:1.55rem;
}
.brand-copy p{
  color:#59616d;
  margin-bottom:10px;
}
.brand-copy strong{
  color:#12151a;
}
.brand-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:14px 0 8px;
}
.fuelneve-wordmark{
  background:#111;
  color:#fff;
  text-transform:none;
}
.fuelneve-wordmark span{
  font-size:2rem;
  font-weight:900;
  letter-spacing:.05em;
}
.dubby-showcase .brand-logo-card{
  background:#fff;
}
.dubby-showcase .brand-logo-card img{
  filter:none;
}


/* KZB-branded social buttons: text only, no third-party platform logos */
.hero-socials{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:20px;
  max-width:760px;
}
.kzb-social-btn{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:68px;
  padding:12px 16px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.13);
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
  position:relative;
  overflow:hidden;
  transition:.2s ease;
}
.kzb-social-btn:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  background:linear-gradient(180deg,var(--red),var(--blue));
}
.kzb-social-btn:hover{
  transform:translateY(-2px);
  border-color:#566278;
  background:rgba(255,255,255,.07);
}
.kzb-social-label{
  color:#ff646b;
  font-size:.66rem;
  line-height:1;
  font-weight:900;
  letter-spacing:.15em;
  margin-bottom:7px;
}
.kzb-social-btn strong{
  color:#fff;
  font-size:.88rem;
  line-height:1.25;
}

.kzb-social-card{
  position:relative;
  overflow:hidden;
  min-height:150px;
}
.kzb-social-card:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  right:0;
  height:4px;
  background:linear-gradient(90deg,var(--red),var(--blue));
}
.kzb-social-card .social-tag{
  display:block;
  color:#ff646b;
  font-size:.67rem;
  line-height:1;
  font-weight:900;
  letter-spacing:.14em;
  margin-bottom:14px;
}
.kzb-social-card strong{
  display:block;
  font-size:1rem;
  color:#fff;
  margin-bottom:8px;
}
.kzb-social-card small{
  display:block;
  color:var(--muted);
  font-size:.78rem;
  line-height:1.45;
}



.focus-note{
  margin:20px 0 0;
  font-size:.82rem;
}


.kzb-team-section{
  background:
    radial-gradient(circle at 18% 20%, rgba(225,37,46,.10), transparent 30%),
    radial-gradient(circle at 82% 75%, rgba(35,95,193,.10), transparent 32%),
    #0d1016;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.coach-card{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:28px;
  align-items:center;
  padding:30px;
  border:1px solid #252d39;
  border-radius:18px;
  background:linear-gradient(180deg,#151a22,#10141b);
}
.coach-number{
  width:110px;
  height:110px;
  border-radius:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(145deg,var(--red),var(--blue));
  color:#fff;
  font-size:3rem;
  font-weight:900;
  line-height:1;
  box-shadow:0 14px 34px rgba(0,0,0,.26);
}
.coach-copy h3{
  margin-bottom:8px;
}
.coach-copy p{
  color:var(--muted);
}


.profile-panel{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:60px;
  align-items:start;
}
.profile-main p{
  color:var(--muted);
}
.profile-fact-panel{
  padding:28px;
  border-radius:18px;
  background:#11151d;
  border:1px solid #252d39;
}
.profile-fact-panel h3{
  margin-bottom:18px;
}
.profile-fact-panel dl{
  margin:0;
}
.profile-fact-panel dl div{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:12px 0;
  border-bottom:1px solid #262d38;
}
.profile-fact-panel dl div:last-child{
  border-bottom:0;
}
.profile-fact-panel dt{
  color:var(--muted);
}
.profile-fact-panel dd{
  margin:0;
  text-align:right;
  font-weight:700;
}



.driver-profile-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}
.driver-profile-card{
  background:linear-gradient(180deg,#151a22,#10141b);
  border:1px solid #252d39;
  border-radius:20px;
  padding:30px;
  box-shadow:0 18px 45px rgba(0,0,0,.16);
}
.driver-profile-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:22px;
  margin-bottom:22px;
}
.driver-profile-header h2{
  margin-bottom:0;
  font-size:2.35rem;
}
.driver-number{
  width:78px;
  height:78px;
  flex:0 0 78px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(145deg,var(--red),var(--blue));
  color:#fff;
  font-size:2rem;
  line-height:1;
  font-weight:900;
}
.driver-profile-copy{
  min-height:220px;
}
.driver-profile-copy p{
  color:var(--muted);
}
.driver-facts{
  margin-top:22px;
  border-top:1px solid #2a313d;
}
.driver-facts div{
  display:flex;
  justify-content:space-between;
  gap:22px;
  padding:13px 0;
  border-bottom:1px solid #262d38;
}
.driver-facts div:last-child{
  border-bottom:0;
}
.driver-facts span{
  color:var(--muted);
}
.driver-facts strong{
  text-align:right;
  max-width:62%;
}


.driver-slider{
  display:grid;
  grid-template-columns:56px minmax(0,1fr) 56px;
  align-items:center;
  gap:16px;
}
.driver-slider-window{
  overflow:hidden;
  border-radius:20px;
}
.driver-slider-track{
  display:flex;
  width:200%;
  transform:translateX(0);
  transition:transform .45s cubic-bezier(.22,.61,.36,1);
}
.driver-slide{
  width:50%;
  flex:0 0 50%;
}
.driver-slide-arrow{
  width:52px;
  height:52px;
  border-radius:50%;
  border:1px solid #323b49;
  background:#11151d;
  color:#fff;
  font-size:1.7rem;
  font-weight:800;
  cursor:pointer;
  transition:.2s ease;
}
.driver-slide-arrow:hover{
  transform:scale(1.06);
  border-color:#5a687d;
  background:#171d27;
}
.driver-slide-arrow:disabled{
  opacity:.28;
  cursor:default;
  transform:none;
}
.driver-slide-status{
  display:flex;
  justify-content:center;
  gap:9px;
  margin-top:18px;
}
.driver-dot{
  width:10px;
  height:10px;
  border:0;
  border-radius:999px;
  background:#3a4351;
  cursor:pointer;
  transition:.2s ease;
  padding:0;
}
.driver-dot.active{
  width:28px;
  background:linear-gradient(90deg,var(--red),var(--blue));
}

@media (max-width:900px){

  .profile-panel{grid-template-columns:1fr}

  .brand-showcase{grid-template-columns:1fr}
  .brand-logo-card{max-width:340px;width:100%}
  .hero{min-height:auto}
  .hero-grid,.two-col,.mission-grid{grid-template-columns:1fr}
  .hero-visual{order:-1}
  .photo-frame{max-width:390px;margin:0 auto}
  .photo-frame img{min-height:470px}
  .cards.three{grid-template-columns:1fr}
  .social-grid{grid-template-columns:repeat(2,1fr)}
  .featured-races,.portfolio-box,.contact-box,.footer-grid{align-items:flex-start;flex-direction:column}
  .creator-showcase{align-items:flex-start;flex-direction:column}

  .affiliate-showcase{grid-template-columns:1fr}
  .affiliate-logo-card{max-width:340px;width:100%}

  .fine-print{text-align:left}
}

@media (max-width:680px){
  .driver-slider{grid-template-columns:42px minmax(0,1fr) 42px;gap:8px}
  .driver-slide-arrow{width:40px;height:40px;font-size:1.25rem}
  .driver-profile-card{padding:22px}
  .driver-profile-copy{min-height:auto}
  .driver-profile-header h2{font-size:2rem}
  .driver-number{width:68px;height:68px;flex-basis:68px;font-size:1.75rem}
  .coach-card{grid-template-columns:1fr}
  .coach-number{width:92px;height:92px;font-size:2.5rem}

  .hero-socials{grid-template-columns:1fr}
  .site-header .nav{height:68px}
  .brand span{font-size:.88rem}
  .brand img{width:48px}
  .menu-toggle{display:block}
  .nav-links{
    position:absolute;
    top:68px;
    left:0;
    right:0;
    display:none;
    padding:18px 4vw 22px;
    background:#0a0c11;
    border-bottom:1px solid #242a34;
    flex-direction:column;
    align-items:flex-start;
    gap:16px;
  }
  .nav-links.open{display:flex}
  .hero{padding:44px 0 58px}
  h1{font-size:clamp(3rem,15vw,4.3rem)}
  
.hero-socials{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}
.hero-social-link{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 13px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.035);
  color:#dfe5ee;
  font-size:.82rem;
  font-weight:700;
  transition:.2s ease;
}
.hero-social-link:hover{
  transform:translateY(-2px);
  border-color:#637085;
  background:rgba(255,255,255,.07);
  color:#fff;
}

.hero-stats{grid-template-columns:1fr}
  .section{padding:70px 0}
  .social-grid{grid-template-columns:1fr}
  .photo-frame img{min-height:410px}
}


.independent-notice{
  margin-top:18px;
  padding:13px 15px;
  border-left:3px solid var(--blue);
  background:rgba(255,255,255,.035);
  color:#b8c0cd;
  font-size:.82rem;
  max-width:720px;
}
.independent-notice strong{color:#fff}
.disclosure-section{background:#0a0d12;border-top:1px solid var(--line)}
.disclosure-box{max-width:900px}
.disclosure-box h2{font-size:clamp(2rem,3vw,3.1rem)}
.disclosure-box p,.disclosure-box li{color:var(--muted)}
.disclosure-box ul{padding-left:1.25rem;margin:20px 0 0}
.disclosure-box li{margin:9px 0}


.driver-profile-actions{
  margin-top:18px;
}
.driver-profile-actions .btn{
  min-height:42px;
}
.profile-page-hero{
  padding:72px 0 40px;
  background:
    radial-gradient(circle at 85% 20%, rgba(35,95,193,.22), transparent 32%),
    radial-gradient(circle at 15% 80%, rgba(225,37,46,.16), transparent 32%),
    linear-gradient(135deg,#080a0f 0%,#0c1017 65%,#090a0f 100%);
}
.profile-breadcrumb{
  color:#98a2b2;
  font-size:.84rem;
  margin-bottom:10px;
}
.profile-layout{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:28px;
  align-items:start;
}
.profile-bio-card,
.profile-side-card{
  background:linear-gradient(180deg,#151a22,#10141b);
  border:1px solid #252d39;
  border-radius:20px;
  padding:30px;
}
.profile-side-card dl{
  margin:0;
}
.profile-side-card dl div{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:12px 0;
  border-bottom:1px solid #262d38;
}
.profile-side-card dl div:last-child{
  border-bottom:0;
}
.profile-side-card dt{color:var(--muted);}
.profile-side-card dd{margin:0;text-align:right;font-weight:700;}
.profile-page-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}
@media (max-width:900px){
  .profile-layout{grid-template-columns:1fr;}
}

/* Permanent Twitch status light */
.twitch-status-bar{background:#391317;border-bottom:1px solid rgba(255,255,255,.12);color:#fff;transition:background .2s ease,border-color .2s ease}
.twitch-status-link{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;min-height:42px;padding:8px 18px;font-size:.84rem;line-height:1.35}
.twitch-status-link:hover{filter:brightness(1.08)}
.twitch-status-link:focus-visible{outline:3px solid #fff;outline-offset:-4px}
.twitch-status-title{letter-spacing:.055em}
.twitch-status-subtitle{opacity:.86}
.twitch-status-light{width:11px;height:11px;border-radius:50%;background:#ff525d;box-shadow:0 0 0 4px rgba(255,82,93,.15);flex:0 0 auto}
.twitch-status-bar.is-checking{background:#3b3212}
.twitch-status-bar.is-checking .twitch-status-light{background:#ffd65a;box-shadow:0 0 0 4px rgba(255,214,90,.14)}
.twitch-status-bar.is-offline{background:#391317}
.twitch-status-bar.is-offline .twitch-status-light{background:#ff525d;box-shadow:0 0 0 4px rgba(255,82,93,.15)}
.twitch-status-bar.is-live{background:#0e3b26;border-color:#2c8c5b}
.twitch-status-bar.is-live .twitch-status-light{background:#62ff9d;box-shadow:0 0 0 4px rgba(98,255,157,.16);animation:kzbTwitchPulse 1.35s ease-out infinite}
.twitch-status-bar.is-unavailable{background:#272b34}
.twitch-status-bar.is-unavailable .twitch-status-light{background:#aeb6c5;box-shadow:none}
@keyframes kzbTwitchPulse{0%{box-shadow:0 0 0 0 rgba(98,255,157,.55)}70%{box-shadow:0 0 0 10px rgba(98,255,157,0)}100%{box-shadow:0 0 0 0 rgba(98,255,157,0)}}
@media(max-width:560px){.twitch-status-link{gap:7px;padding:8px 10px}.twitch-status-subtitle{flex-basis:100%;text-align:center;font-size:.76rem}}

/* Twitch watch + chat */
#twitch-watch{scroll-margin-top:128px}
.twitch-embed-grid{display:grid;grid-template-columns:minmax(400px,1fr) minmax(320px,.75fr);gap:18px;align-items:stretch}
.twitch-player-scroll{max-width:100%;overflow-x:auto;padding-bottom:4px}
#twitch-status-player{width:400px;height:300px;min-width:400px;min-height:300px;margin:0 auto}
.twitch-chat-wrap{min-height:300px;border-radius:10px;overflow:hidden;background:#0e0e10}
.twitch-chat-wrap iframe{display:block;width:100%;height:300px;border:0}
.twitch-watch-section{border-top:1px solid rgba(255,255,255,.08)}
@media(max-width:860px){.twitch-embed-grid{grid-template-columns:1fr}.twitch-chat-wrap iframe{height:400px}}

/* Twitch tab / dedicated page */
.twitch-status-bar.is-link{background:#2a1938;border-color:#52306d}
.twitch-status-bar.is-link .twitch-status-light{background:#b98cff;box-shadow:0 0 0 4px rgba(185,140,255,.14)}
.twitch-page-hero{padding-top:52px;min-height:60vh}
.twitch-page-heading{max-width:820px;margin-bottom:28px}
.twitch-page-heading h1{font-size:clamp(2.1rem,5vw,4rem);margin:.1em 0 .3em}
.twitch-page-heading p{max-width:760px}
.twitch-page-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
.nav-links a[aria-current="page"]{font-weight:800;text-decoration:underline;text-underline-offset:7px}
