
:root{--dwtm-bg:#05080d;--dwtm-panel:#0b1119;--dwtm-panel-2:#111a25;--dwtm-line:rgba(255,255,255,.12);--dwtm-text:#f5f7fb;--dwtm-muted:#9aa6b8;--dwtm-good:#35e36c;--dwtm-bad:#ff3b4f;--dwtm-warn:#ffc857;--dwtm-accent:#b84dff;--dwtm-accent-2:#ff7a00}.dwtm-shell{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--dwtm-text);background:radial-gradient(circle at 20% 0,rgba(184,77,255,.16),transparent 38%),linear-gradient(180deg,#05080d,#070b10);padding:24px;border:1px solid var(--dwtm-line);border-radius:20px;box-shadow:0 18px 50px rgba(0,0,0,.42);overflow:hidden}.dwtm-shell *{box-sizing:border-box}.dwtm-hero,.dwtm-detail-hero{position:relative;background-position:center;background-size:cover;min-height:310px;border:1px solid var(--dwtm-line);border-radius:18px;padding:34px;display:flex;align-items:flex-end;justify-content:space-between;gap:22px;box-shadow:inset 0 -80px 120px rgba(0,0,0,.68);overflow:hidden}.dwtm-hero:before,.dwtm-detail-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,122,0,.2),transparent 34%,rgba(184,77,255,.18));pointer-events:none}.dwtm-hero>* , .dwtm-detail-hero>*{position:relative;z-index:1}.dwtm-kicker{text-transform:uppercase;letter-spacing:.14em;color:var(--dwtm-accent-2);font-size:12px;font-weight:900;margin-bottom:10px}.dwtm-hero h1,.dwtm-detail-hero h1{font-size:clamp(34px,6vw,72px);line-height:.92;margin:0 0 18px;text-transform:uppercase;font-weight:950;font-style:italic;letter-spacing:-.05em;max-width:820px}.dwtm-meta-row{display:flex;gap:12px;flex-wrap:wrap;color:#cbd5e1}.dwtm-meta-row span{background:rgba(255,255,255,.07);border:1px solid var(--dwtm-line);padding:8px 12px;border-radius:999px;font-size:13px}.dwtm-hero-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px}.dwtm-btn,.dwtm-small-btn,.dwtm-ghost-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;text-decoration:none!important;font-weight:900;text-transform:uppercase;letter-spacing:.04em;cursor:pointer;transition:.2s ease}.dwtm-btn{color:#111;background:linear-gradient(135deg,var(--dwtm-accent-2),#ffb14a);padding:14px 22px;box-shadow:0 0 26px rgba(255,122,0,.38)}.dwtm-btn:hover{transform:translateY(-1px);filter:brightness(1.08)}.dwtm-small-btn,.dwtm-ghost-btn{color:var(--dwtm-text);background:rgba(255,255,255,.05);border:1px solid var(--dwtm-line);padding:10px 13px;font-size:12px}.dwtm-small-btn:hover,.dwtm-ghost-btn:hover{border-color:var(--dwtm-accent);color:#fff}.dwtm-inline-form{display:inline-flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0}.dwtm-guest-input,.dwtm-report input{background:#070b12;border:1px solid var(--dwtm-line);border-radius:10px;color:#fff;padding:12px;max-width:160px}.dwtm-section-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin:24px 0 16px}.dwtm-section-head h2{margin:0;font-size:30px;text-transform:uppercase;font-weight:950}.dwtm-section-head span{color:var(--dwtm-muted)}.dwtm-pills{display:flex;gap:8px;flex-wrap:wrap}.dwtm-pills button{background:rgba(255,255,255,.05);border:1px solid var(--dwtm-line);color:#dbe4f0;border-radius:999px;padding:9px 12px;cursor:pointer}.dwtm-pills .is-active{background:var(--dwtm-accent);border-color:var(--dwtm-accent);color:#fff}.dwtm-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.dwtm-card{background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));border:1px solid var(--dwtm-line);border-radius:16px;overflow:hidden;box-shadow:0 10px 28px rgba(0,0,0,.28)}.dwtm-card.is-hidden{display:none}.dwtm-card-img{display:block;min-height:180px;background-size:cover;background-position:center;position:relative;text-decoration:none!important}.dwtm-card-img .dwtm-status{position:absolute;top:12px;left:12px}.dwtm-card-body{padding:16px}.dwtm-card h3{font-size:18px;margin:0 0 6px}.dwtm-card h3 a{color:#fff;text-decoration:none}.dwtm-card p{color:var(--dwtm-muted);margin:0 0 14px}.dwtm-card-stats,.dwtm-card-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--dwtm-line);padding-top:14px;margin-top:14px;color:#cbd5e1;font-size:13px}.dwtm-status{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:900;text-transform:uppercase;border:1px solid currentColor;background:rgba(255,255,255,.08)}.dwtm-status-open{color:#35e36c}.dwtm-status-live{color:#ff384c}.dwtm-status-upcoming{color:#28d6ff}.dwtm-status-completed{color:#9eff75}.dwtm-status-cancelled{color:#a8b3c6}.dwtm-detail-grid{display:grid;grid-template-columns:1fr 340px;gap:18px;margin-top:18px}.dwtm-action-box{min-width:280px;background:rgba(5,8,13,.78);border:1px solid var(--dwtm-line);border-radius:16px;padding:18px;display:grid;gap:12px}.dwtm-panel-front{background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));border:1px solid var(--dwtm-line);border-radius:16px;padding:18px;margin-bottom:18px}.dwtm-panel-front h3{margin:0 0 12px;text-transform:uppercase}.dwtm-bracket{display:flex;gap:18px;overflow-x:auto;padding-bottom:10px}.dwtm-round{min-width:210px;display:grid;align-content:start;gap:12px}.dwtm-round h4{margin:0;color:#dbe4f0;text-transform:uppercase;font-size:12px;letter-spacing:.08em}.dwtm-match-card{background:#08101a;border:1px solid var(--dwtm-line);border-radius:12px;padding:8px;box-shadow:0 0 0 1px rgba(184,77,255,.05)}.dwtm-match-card div{display:flex;justify-content:space-between;gap:10px;padding:9px;border-radius:8px;color:#cbd5e1}.dwtm-match-card div+div{margin-top:4px}.dwtm-match-card .is-winner{background:rgba(53,227,108,.12);color:#fff}.dwtm-match-card b{color:var(--dwtm-good)}.dwtm-table-wrap{overflow-x:auto}.dwtm-table{width:100%;border-collapse:collapse;background:#080d14;border:1px solid var(--dwtm-line);border-radius:12px;overflow:hidden}.dwtm-table th,.dwtm-table td{padding:13px 14px;border-bottom:1px solid var(--dwtm-line);text-align:left;color:#dce6f4}.dwtm-table th{font-size:12px;text-transform:uppercase;color:#95a3b8;background:rgba(255,255,255,.04)}.dwtm-table tr:last-child td{border-bottom:0}.dwtm-rank{display:inline-flex;width:28px;height:28px;border-radius:999px;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--dwtm-accent-2),var(--dwtm-accent));color:#fff;font-weight:900}.dwtm-rules,.dwtm-participants{margin:0;padding:0;list-style:none}.dwtm-rules li,.dwtm-participants li{padding:10px 0;border-bottom:1px solid var(--dwtm-line);color:#dbe4f0}.dwtm-rules li:before{content:"•";color:var(--dwtm-accent-2);font-weight:900;margin-right:8px}.dwtm-participants li{display:flex;justify-content:space-between;gap:12px}.dwtm-alert{padding:14px 16px;border-radius:12px;background:rgba(255,255,255,.06);border:1px solid var(--dwtm-line);margin-bottom:14px;color:#fff}.dwtm-alert-good{border-color:rgba(53,227,108,.5);background:rgba(53,227,108,.1)}.dwtm-empty{padding:20px;border:1px dashed var(--dwtm-line);border-radius:12px;color:var(--dwtm-muted)}.dwtm-report summary{cursor:pointer;color:var(--dwtm-accent);font-weight:800}.dwtm-report form{display:flex;gap:6px;align-items:center;margin-top:8px}.dwtm-report input{max-width:110px;padding:8px}.dwtm-report button{background:var(--dwtm-accent);color:#fff;border:0;border-radius:8px;padding:8px 10px;font-weight:800;cursor:pointer}@media (max-width:1100px){.dwtm-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dwtm-detail-grid{grid-template-columns:1fr}.dwtm-hero,.dwtm-detail-hero{align-items:flex-start;flex-direction:column}}@media (max-width:640px){.dwtm-shell{padding:14px;border-radius:14px}.dwtm-card-grid{grid-template-columns:1fr}.dwtm-hero,.dwtm-detail-hero{padding:22px}.dwtm-section-head{align-items:flex-start;flex-direction:column}.dwtm-hero h1,.dwtm-detail-hero h1{font-size:38px}.dwtm-action-box{min-width:0;width:100%}}

/* V3.1 leave / withdraw controls */
.dwtm-v31-registered-box{display:grid;gap:10px}.dwtm-v31-leave-form,.dwtm-v31-inline-action{display:inline-flex;gap:8px;align-items:center;margin:0}.dwtm-danger-btn{border-color:rgba(255,59,79,.55)!important;color:#fff!important;background:rgba(255,59,79,.12)!important}.dwtm-danger-btn:hover{border-color:#ff3b4f!important;background:rgba(255,59,79,.22)!important}.dwtm-v31-ladder-membership{border-color:rgba(255,122,0,.24)}.dwtm-v31-ladder-membership p{color:var(--dwtm-muted);margin:.35rem 0 1rem}.dwtm-v29-challenge-actions .dwtm-v31-inline-action{margin-top:8px}


/* V3.6.4 report update usability fixes */
.dwtm-report form,.dwtm-v29-report-form{position:relative;}
.dwtm-report button[type=submit],.dwtm-v29-report-form button[type=submit]{min-height:42px;}
.dwtm-report form:has(button:focus),.dwtm-v29-report-form:has(button:focus){outline:1px solid rgba(255,255,255,.16);outline-offset:4px;border-radius:14px;}

/* V3.6.12 admin-controlled results notice */
.dwtm-admin-controlled-result{display:grid;gap:2px;border:1px solid rgba(255,122,0,.38);background:rgba(255,122,0,.08);border-radius:12px;padding:9px 10px;color:#f8fafc}.dwtm-admin-controlled-result strong{color:#ffb14a;text-transform:uppercase;font-size:11px;letter-spacing:.08em}.dwtm-admin-controlled-result span{color:#dce6f4;font-size:12px;line-height:1.35}


/* V3.6.14 compact featured image banner treatment */
.dwtm-hero.dwtm-featured-banner-hero,.dwtm-detail-hero.dwtm-tournament-banner-hero{min-height:200px!important;max-height:none;background-size:cover!important;background-position:center!important;align-items:flex-end!important;border-radius:18px!important;padding:24px!important;box-shadow:inset 0 -80px 120px rgba(0,0,0,.72),0 14px 36px rgba(0,0,0,.25)!important}.dwtm-hero.dwtm-featured-banner-hero h1,.dwtm-detail-hero.dwtm-tournament-banner-hero h1{font-size:clamp(28px,4vw,48px)!important;margin-bottom:12px!important}.dwtm-hero.dwtm-featured-banner-hero .dwtm-meta-row,.dwtm-detail-hero.dwtm-tournament-banner-hero .dwtm-meta-row{gap:8px}.dwtm-hero.dwtm-featured-banner-hero .dwtm-hero-actions{margin-top:14px}.dwtm-detail-hero.dwtm-tournament-banner-hero .dwtm-action-box{padding:14px!important;min-width:230px!important;background:rgba(5,8,13,.72)!important}@media(max-width:782px){.dwtm-hero.dwtm-featured-banner-hero,.dwtm-detail-hero.dwtm-tournament-banner-hero{min-height:220px!important;padding:20px!important;align-items:flex-start!important}.dwtm-detail-hero.dwtm-tournament-banner-hero .dwtm-action-box{width:100%!important;min-width:0!important}}


/* V3.6.15 hard tournament banner resize/crop fix
   Keeps featured tournament and tournament detail featured images as compact 1000x200 banners, even when the original uploaded image is large. */
.dwtm-shell .dwtm-hero.dwtm-featured-banner-hero,
.dwtm-shell .dwtm-detail-hero.dwtm-tournament-banner-hero,
body .dwtm-hero.dwtm-featured-banner-hero,
body .dwtm-detail-hero.dwtm-tournament-banner-hero{
  width:min(100%,1000px)!important;
  max-width:1000px!important;
  height:200px!important;
  min-height:0!important;
  max-height:200px!important;
  aspect-ratio:5/1!important;
  margin:0 auto 18px!important;
  overflow:hidden!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  align-items:flex-end!important;
  padding:20px 24px!important;
  border-radius:18px!important;
}
.dwtm-shell .dwtm-hero.dwtm-featured-banner-hero h1,
.dwtm-shell .dwtm-detail-hero.dwtm-tournament-banner-hero h1,
body .dwtm-hero.dwtm-featured-banner-hero h1,
body .dwtm-detail-hero.dwtm-tournament-banner-hero h1{
  font-size:clamp(26px,3.4vw,42px)!important;
  line-height:.95!important;
  margin:0 0 8px!important;
  max-width:720px!important;
}
.dwtm-shell .dwtm-detail-hero.dwtm-tournament-banner-hero .dwtm-action-box,
body .dwtm-detail-hero.dwtm-tournament-banner-hero .dwtm-action-box{
  min-width:210px!important;
  max-width:260px!important;
  padding:12px!important;
  gap:8px!important;
}
.dwtm-shell .dwtm-hero.dwtm-featured-banner-hero .dwtm-meta-row span,
.dwtm-shell .dwtm-detail-hero.dwtm-tournament-banner-hero .dwtm-meta-row span{
  padding:6px 10px!important;
  font-size:12px!important;
}
.dwtm-shell .dwtm-hero.dwtm-featured-banner-hero .dwtm-hero-actions{
  margin-top:10px!important;
}
@media(max-width:782px){
  .dwtm-shell .dwtm-hero.dwtm-featured-banner-hero,
  .dwtm-shell .dwtm-detail-hero.dwtm-tournament-banner-hero,
  body .dwtm-hero.dwtm-featured-banner-hero,
  body .dwtm-detail-hero.dwtm-tournament-banner-hero{
    height:170px!important;
    max-height:170px!important;
    padding:16px!important;
    align-items:flex-end!important;
  }
  .dwtm-shell .dwtm-detail-hero.dwtm-tournament-banner-hero .dwtm-action-box,
  body .dwtm-detail-hero.dwtm-tournament-banner-hero .dwtm-action-box{
    display:none!important;
  }
  .dwtm-shell .dwtm-hero.dwtm-featured-banner-hero .dwtm-meta-row,
  .dwtm-shell .dwtm-detail-hero.dwtm-tournament-banner-hero .dwtm-meta-row{
    display:none!important;
  }
}
@media(max-width:480px){
  .dwtm-shell .dwtm-hero.dwtm-featured-banner-hero,
  .dwtm-shell .dwtm-detail-hero.dwtm-tournament-banner-hero,
  body .dwtm-hero.dwtm-featured-banner-hero,
  body .dwtm-detail-hero.dwtm-tournament-banner-hero{
    height:140px!important;
    max-height:140px!important;
  }
}

/* V3.6.16 tournament detail tabs: Bracket / Players Joined / Rules */
.dwtm-tournament-tabs{
  margin-top:18px;
}
.dwtm-tab-radio{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
.dwtm-tab-nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  padding:8px;
  border:1px solid var(--dwtm-line);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.025));
  box-shadow:0 12px 32px rgba(0,0,0,.20);
  margin-bottom:18px;
}
.dwtm-tab-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  padding:12px 18px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  color:#dbe4f0;
  background:rgba(255,255,255,.035);
  font-size:13px;
  line-height:1;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.06em;
  cursor:pointer;
  user-select:none;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease;
}
.dwtm-tab-label:hover{
  transform:translateY(-1px);
  border-color:rgba(255,122,0,.45);
  color:#fff;
}
.dwtm-tab-label span{
  min-width:24px;
  height:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(255,122,0,.18);
  color:#ffb14a;
  font-size:12px;
  letter-spacing:0;
}
.dwtm-tab-panel{
  display:none;
}
.dwtm-tournament-tabs > input[id$="-bracket"]:checked ~ .dwtm-tab-nav .dwtm-tab-label-bracket,
.dwtm-tournament-tabs > input[id$="-players"]:checked ~ .dwtm-tab-nav .dwtm-tab-label-players,
.dwtm-tournament-tabs > input[id$="-rules"]:checked ~ .dwtm-tab-nav .dwtm-tab-label-rules{
  background:linear-gradient(135deg,var(--dwtm-accent-2),#ffb14a);
  border-color:rgba(255,177,74,.7);
  color:#111;
  box-shadow:0 0 24px rgba(255,122,0,.28);
}
.dwtm-tournament-tabs > input[id$="-bracket"]:checked ~ .dwtm-tab-panels .dwtm-tab-panel-bracket,
.dwtm-tournament-tabs > input[id$="-players"]:checked ~ .dwtm-tab-panels .dwtm-tab-panel-players,
.dwtm-tournament-tabs > input[id$="-rules"]:checked ~ .dwtm-tab-panels .dwtm-tab-panel-rules{
  display:block;
}
.dwtm-tournament-tabs .dwtm-panel-front{
  margin-bottom:0;
}
.dwtm-tab-panel-players .dwtm-participants{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  list-style:none;
  counter-reset:dwtm-player-rank;
}
.dwtm-tab-panel-players .dwtm-participants li{
  counter-increment:dwtm-player-rank;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:13px 14px;
  border:1px solid var(--dwtm-line);
  border-radius:13px;
  background:rgba(255,255,255,.035);
}
.dwtm-tab-panel-players .dwtm-participants li:before{
  content:counter(dwtm-player-rank);
  flex:0 0 auto;
  width:30px;
  height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:linear-gradient(135deg,var(--dwtm-accent),var(--dwtm-accent-2));
  color:#fff;
  font-size:12px;
  font-weight:950;
}
.dwtm-tab-panel-rules .dwtm-rules{
  display:grid;
  gap:10px;
}
.dwtm-tab-panel-rules .dwtm-rules li{
  padding:14px 16px;
  border:1px solid var(--dwtm-line);
  border-radius:13px;
  background:rgba(255,255,255,.035);
}
@media(max-width:782px){
  .dwtm-tab-nav{display:grid;grid-template-columns:1fr;gap:8px;padding:8px}
  .dwtm-tab-label{width:100%;min-height:44px}
  .dwtm-tab-panel-players .dwtm-participants{grid-template-columns:1fr}
}

/* V3.6.17 taller tournament banners
   The older 1000x200 banner was too short for tournament pages and could cut off titles,
   actions, and important featured-image details. This keeps a banner look but gives it
   enough room to breathe. */
.dwtm-shell .dwtm-hero.dwtm-featured-banner-hero,
.dwtm-shell .dwtm-detail-hero.dwtm-tournament-banner-hero,
body .dwtm-hero.dwtm-featured-banner-hero,
body .dwtm-detail-hero.dwtm-tournament-banner-hero{
  width:100%!important;
  max-width:1100px!important;
  height:auto!important;
  min-height:320px!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  padding:34px!important;
  align-items:flex-end!important;
  gap:22px!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  box-shadow:inset 0 -120px 150px rgba(0,0,0,.76),0 16px 42px rgba(0,0,0,.28)!important;
}
.dwtm-shell .dwtm-hero.dwtm-featured-banner-hero h1,
.dwtm-shell .dwtm-detail-hero.dwtm-tournament-banner-hero h1,
body .dwtm-hero.dwtm-featured-banner-hero h1,
body .dwtm-detail-hero.dwtm-tournament-banner-hero h1{
  font-size:clamp(32px,4.8vw,60px)!important;
  line-height:.94!important;
  margin:0 0 14px!important;
  max-width:780px!important;
}
.dwtm-shell .dwtm-detail-hero.dwtm-tournament-banner-hero .dwtm-action-box,
body .dwtm-detail-hero.dwtm-tournament-banner-hero .dwtm-action-box{
  min-width:250px!important;
  max-width:320px!important;
  padding:18px!important;
  gap:12px!important;
}
.dwtm-shell .dwtm-hero.dwtm-featured-banner-hero .dwtm-meta-row span,
.dwtm-shell .dwtm-detail-hero.dwtm-tournament-banner-hero .dwtm-meta-row span{
  padding:8px 12px!important;
  font-size:13px!important;
}
.dwtm-shell .dwtm-hero.dwtm-featured-banner-hero .dwtm-hero-actions{
  margin-top:18px!important;
}
@media(max-width:900px){
  .dwtm-shell .dwtm-hero.dwtm-featured-banner-hero,
  .dwtm-shell .dwtm-detail-hero.dwtm-tournament-banner-hero,
  body .dwtm-hero.dwtm-featured-banner-hero,
  body .dwtm-detail-hero.dwtm-tournament-banner-hero{
    min-height:300px!important;
    padding:26px!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-end!important;
  }
  .dwtm-shell .dwtm-detail-hero.dwtm-tournament-banner-hero .dwtm-action-box,
  body .dwtm-detail-hero.dwtm-tournament-banner-hero .dwtm-action-box{
    display:grid!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
  .dwtm-shell .dwtm-hero.dwtm-featured-banner-hero .dwtm-meta-row,
  .dwtm-shell .dwtm-detail-hero.dwtm-tournament-banner-hero .dwtm-meta-row{
    display:flex!important;
  }
}
@media(max-width:520px){
  .dwtm-shell .dwtm-hero.dwtm-featured-banner-hero,
  .dwtm-shell .dwtm-detail-hero.dwtm-tournament-banner-hero,
  body .dwtm-hero.dwtm-featured-banner-hero,
  body .dwtm-detail-hero.dwtm-tournament-banner-hero{
    min-height:280px!important;
    padding:22px!important;
  }
  .dwtm-shell .dwtm-hero.dwtm-featured-banner-hero h1,
  .dwtm-shell .dwtm-detail-hero.dwtm-tournament-banner-hero h1,
  body .dwtm-hero.dwtm-featured-banner-hero h1,
  body .dwtm-detail-hero.dwtm-tournament-banner-hero h1{
    font-size:clamp(28px,10vw,42px)!important;
  }
}


/* V3.6.18 wider tournament banners
   Stretch the tournament/featured banner farther left-to-right so it fills the Drift Wars content area instead of stopping at the old compact 1100px limit. */
.dwtm-shell .dwtm-hero.dwtm-featured-banner-hero,
.dwtm-shell .dwtm-detail-hero.dwtm-tournament-banner-hero,
body .dwtm-hero.dwtm-featured-banner-hero,
body .dwtm-detail-hero.dwtm-tournament-banner-hero{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
.dwtm-shell > .dwtm-hero.dwtm-featured-banner-hero,
.dwtm-shell.dwtm-tournament-detail > .dwtm-detail-hero.dwtm-tournament-banner-hero{
  width:calc(100% + 48px)!important;
  max-width:calc(100% + 48px)!important;
  margin-left:-24px!important;
  margin-right:-24px!important;
  border-radius:18px!important;
}
.dwtm-shell.dwtm-tournament-detail{
  max-width:none!important;
}
@media(max-width:900px){
  .dwtm-shell > .dwtm-hero.dwtm-featured-banner-hero,
  .dwtm-shell.dwtm-tournament-detail > .dwtm-detail-hero.dwtm-tournament-banner-hero{
    width:calc(100% + 40px)!important;
    max-width:calc(100% + 40px)!important;
    margin-left:-20px!important;
    margin-right:-20px!important;
  }
}
@media(max-width:520px){
  .dwtm-shell > .dwtm-hero.dwtm-featured-banner-hero,
  .dwtm-shell.dwtm-tournament-detail > .dwtm-detail-hero.dwtm-tournament-banner-hero{
    width:calc(100% + 32px)!important;
    max-width:calc(100% + 32px)!important;
    margin-left:-16px!important;
    margin-right:-16px!important;
  }
}

/* V3.6.19 tournament image fit + tournament-list banner thumbnails
   Forces tournament featured images to scale inside the banner frames and keeps small
   tournament-list banners cropped cleanly instead of letting original image dimensions control layout. */
.dwtm-shell .dwtm-hero.dwtm-featured-banner-hero,
.dwtm-shell .dwtm-detail-hero.dwtm-tournament-banner-hero,
body .dwtm-hero.dwtm-featured-banner-hero,
body .dwtm-detail-hero.dwtm-tournament-banner-hero{
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  overflow:hidden!important;
  isolation:isolate!important;
}
.dwtm-shell .dwtm-hero.dwtm-featured-banner-hero:before,
.dwtm-shell .dwtm-detail-hero.dwtm-tournament-banner-hero:before,
body .dwtm-hero.dwtm-featured-banner-hero:before,
body .dwtm-detail-hero.dwtm-tournament-banner-hero:before{
  z-index:0!important;
}
.dwtm-shell .dwtm-hero.dwtm-featured-banner-hero > *,
.dwtm-shell .dwtm-detail-hero.dwtm-tournament-banner-hero > *,
body .dwtm-hero.dwtm-featured-banner-hero > *,
body .dwtm-detail-hero.dwtm-tournament-banner-hero > *{
  position:relative!important;
  z-index:2!important;
}
.dwtm-card .dwtm-card-img,
.dwtm-card .dwtm-card-img-banner,
.dwtm-card-grid .dwtm-card-img,
body .dwtm-card-grid .dwtm-card-img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:16/7!important;
  border-radius:0!important;
  overflow:hidden!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  background-color:#070b12!important;
}
.dwtm-card .dwtm-card-img img,
.dwtm-card .dwtm-card-img-banner img,
.dwtm-card-grid .dwtm-card-img img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center center!important;
  margin:0!important;
  padding:0!important;
}
.dwtm-card .dwtm-card-img:after,
.dwtm-card .dwtm-card-img-banner:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.22));
  pointer-events:none;
  z-index:1;
}
.dwtm-card .dwtm-card-img .dwtm-status,
.dwtm-card .dwtm-card-img-banner .dwtm-status{
  z-index:3!important;
}
@media(max-width:1100px){
  .dwtm-card .dwtm-card-img,
  .dwtm-card .dwtm-card-img-banner,
  .dwtm-card-grid .dwtm-card-img,
  body .dwtm-card-grid .dwtm-card-img{
    aspect-ratio:16/8!important;
  }
}
@media(max-width:640px){
  .dwtm-card .dwtm-card-img,
  .dwtm-card .dwtm-card-img-banner,
  .dwtm-card-grid .dwtm-card-img,
  body .dwtm-card-grid .dwtm-card-img{
    aspect-ratio:16/9!important;
  }
}


/* V3.6.20 smaller tournament list thumbnails
   Keeps tournament listing cards from overwhelming the page while still showing banner-style art. */
.dwtm-card .dwtm-card-img,
.dwtm-card .dwtm-card-img-banner,
.dwtm-card-grid .dwtm-card-img,
body .dwtm-card-grid .dwtm-card-img{
  aspect-ratio:16/5.2!important;
  min-height:110px!important;
  max-height:155px!important;
  background-size:cover!important;
  background-position:center center!important;
}
.dwtm-card .dwtm-card-img img,
.dwtm-card .dwtm-card-img-banner img,
.dwtm-card-grid .dwtm-card-img img{
  height:100%!important;
  min-height:110px!important;
  max-height:155px!important;
  object-fit:cover!important;
  object-position:center center!important;
}
@media(max-width:1100px){
  .dwtm-card .dwtm-card-img,
  .dwtm-card .dwtm-card-img-banner,
  .dwtm-card-grid .dwtm-card-img,
  body .dwtm-card-grid .dwtm-card-img{
    aspect-ratio:16/5.8!important;
    max-height:145px!important;
  }
}
@media(max-width:640px){
  .dwtm-card .dwtm-card-img,
  .dwtm-card .dwtm-card-img-banner,
  .dwtm-card-grid .dwtm-card-img,
  body .dwtm-card-grid .dwtm-card-img{
    aspect-ratio:16/6!important;
    min-height:100px!important;
    max-height:135px!important;
  }
}


/* V3.6.21 tournament thumbnail image fit
   Keeps tournament listing thumbnails compact while showing the full artwork inside
   the thumbnail frame instead of cropping the image too aggressively. */
.dwtm-card .dwtm-card-img,
.dwtm-card .dwtm-card-img-banner,
.dwtm-card-grid .dwtm-card-img,
body .dwtm-card-grid .dwtm-card-img{
  aspect-ratio:16/4.6!important;
  min-height:92px!important;
  max-height:132px!important;
  background-size:contain!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  background-color:#05080d!important;
}
.dwtm-card .dwtm-card-img img,
.dwtm-card .dwtm-card-img-banner img,
.dwtm-card-grid .dwtm-card-img img{
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:100%!important;
  max-height:132px!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:#05080d!important;
}
@media(max-width:1100px){
  .dwtm-card .dwtm-card-img,
  .dwtm-card .dwtm-card-img-banner,
  .dwtm-card-grid .dwtm-card-img,
  body .dwtm-card-grid .dwtm-card-img{
    aspect-ratio:16/4.9!important;
    min-height:88px!important;
    max-height:122px!important;
  }
  .dwtm-card .dwtm-card-img img,
  .dwtm-card .dwtm-card-img-banner img,
  .dwtm-card-grid .dwtm-card-img img{
    max-height:122px!important;
  }
}
@media(max-width:640px){
  .dwtm-card .dwtm-card-img,
  .dwtm-card .dwtm-card-img-banner,
  .dwtm-card-grid .dwtm-card-img,
  body .dwtm-card-grid .dwtm-card-img{
    aspect-ratio:16/5.4!important;
    min-height:82px!important;
    max-height:112px!important;
  }
  .dwtm-card .dwtm-card-img img,
  .dwtm-card .dwtm-card-img-banner img,
  .dwtm-card-grid .dwtm-card-img img{
    max-height:112px!important;
  }
}


/* V3.6.22 tournament thumbnail stretch fix
   Stretches tournament listing artwork to fill the full compact thumbnail frame. */
.dwtm-card .dwtm-card-img,
.dwtm-card .dwtm-card-img-banner,
.dwtm-card-grid .dwtm-card-img,
body .dwtm-card-grid .dwtm-card-img{
  background-size:100% 100%!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
}
.dwtm-card .dwtm-card-img img,
.dwtm-card .dwtm-card-img-banner img,
.dwtm-card-grid .dwtm-card-img img,
body .dwtm-card-grid .dwtm-card-img img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:fill!important;
  object-position:center center!important;
}


/* V3.6.23 tournament thumbnail +100px height
   Keeps stretched thumbnail artwork but makes each tournament card/list thumbnail taller. */
.dwtm-card .dwtm-card-img,
.dwtm-card .dwtm-card-img-banner,
.dwtm-card-grid .dwtm-card-img,
body .dwtm-card-grid .dwtm-card-img{
  aspect-ratio:16/8.2!important;
  min-height:192px!important;
  max-height:232px!important;
  background-size:100% 100%!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
}
.dwtm-card .dwtm-card-img img,
.dwtm-card .dwtm-card-img-banner img,
.dwtm-card-grid .dwtm-card-img img,
body .dwtm-card-grid .dwtm-card-img img{
  height:100%!important;
  min-height:192px!important;
  max-height:232px!important;
  width:100%!important;
  max-width:100%!important;
  object-fit:fill!important;
  object-position:center center!important;
}
@media(max-width:1100px){
  .dwtm-card .dwtm-card-img,
  .dwtm-card .dwtm-card-img-banner,
  .dwtm-card-grid .dwtm-card-img,
  body .dwtm-card-grid .dwtm-card-img{
    aspect-ratio:16/8.4!important;
    min-height:188px!important;
    max-height:222px!important;
  }
  .dwtm-card .dwtm-card-img img,
  .dwtm-card .dwtm-card-img-banner img,
  .dwtm-card-grid .dwtm-card-img img,
  body .dwtm-card-grid .dwtm-card-img img{
    min-height:188px!important;
    max-height:222px!important;
  }
}
@media(max-width:640px){
  .dwtm-card .dwtm-card-img,
  .dwtm-card .dwtm-card-img-banner,
  .dwtm-card-grid .dwtm-card-img,
  body .dwtm-card-grid .dwtm-card-img{
    aspect-ratio:16/8.9!important;
    min-height:182px!important;
    max-height:212px!important;
  }
  .dwtm-card .dwtm-card-img img,
  .dwtm-card .dwtm-card-img-banner img,
  .dwtm-card-grid .dwtm-card-img img,
  body .dwtm-card-grid .dwtm-card-img img{
    min-height:182px!important;
    max-height:212px!important;
  }
}

/* V3.6.25 Front-End Tournament Control */
.dwtm-front-control{--dwtm-fc-bg:#090b12;--dwtm-fc-panel:rgba(18,21,33,.92);--dwtm-fc-line:rgba(255,255,255,.12);--dwtm-fc-text:#f7f7fb;--dwtm-fc-muted:#a7adbd;--dwtm-fc-accent:#ff7a00;--dwtm-fc-purple:#b84dff;color:var(--dwtm-fc-text);background:linear-gradient(135deg,rgba(184,77,255,.08),rgba(255,122,0,.05)),var(--dwtm-fc-bg);border:1px solid var(--dwtm-fc-line);border-radius:24px;padding:24px;margin:24px 0;box-shadow:0 18px 60px rgba(0,0,0,.35);overflow:hidden}.dwtm-front-control *{box-sizing:border-box}.dwtm-front-hero{display:flex;justify-content:space-between;gap:18px;align-items:stretch;padding:22px;border:1px solid rgba(255,255,255,.1);border-radius:22px;background:radial-gradient(circle at top left,rgba(184,77,255,.18),transparent 45%),radial-gradient(circle at bottom right,rgba(255,122,0,.16),transparent 40%),rgba(255,255,255,.04)}.dwtm-front-hero h2{margin:.2rem 0 .45rem;font-size:clamp(1.8rem,4vw,3.2rem);line-height:1;color:#fff}.dwtm-front-hero p{margin:0;color:var(--dwtm-fc-muted);max-width:820px}.dwtm-kicker{display:inline-block;color:var(--dwtm-fc-accent);font-weight:800;text-transform:uppercase;letter-spacing:.12em;font-size:.78rem}.dwtm-front-role-card{min-width:220px;display:flex;flex-direction:column;justify-content:center;gap:6px;border-radius:18px;padding:16px 18px;background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.1)}.dwtm-front-role-card strong{font-size:1.05rem}.dwtm-front-role-card span{color:var(--dwtm-fc-muted);font-size:.9rem}.dwtm-front-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.dwtm-front-tabs a,.dwtm-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none!important;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#fff!important;padding:10px 15px;font-weight:800;line-height:1.1;cursor:pointer}.dwtm-front-tabs a.is-active,.dwtm-button{background:linear-gradient(135deg,var(--dwtm-fc-purple),var(--dwtm-fc-accent));border-color:transparent;box-shadow:0 8px 28px rgba(255,122,0,.18)}.dwtm-button-secondary{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.14)!important;box-shadow:none!important}.dwtm-button-danger{background:linear-gradient(135deg,#aa1f3c,#ff4b2b)!important}.dwtm-button-small{padding:8px 10px;font-size:.82rem}.dwtm-front-selector{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.1);border-radius:18px;padding:14px;margin-bottom:18px}.dwtm-front-selector label{flex:1;min-width:240px}.dwtm-front-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);gap:18px}.dwtm-front-panel{background:var(--dwtm-fc-panel);border:1px solid var(--dwtm-fc-line);border-radius:22px;padding:20px;box-shadow:0 12px 40px rgba(0,0,0,.22)}.dwtm-front-wide{grid-column:1/-1}.dwtm-front-panel h3{margin:0 0 14px;color:#fff;font-size:1.3rem}.dwtm-front-panel p,.dwtm-front-panel li,.dwtm-front-panel small,.dwtm-front-panel .description{color:var(--dwtm-fc-muted)}.dwtm-front-form{display:grid;gap:14px}.dwtm-front-form label,.dwtm-front-selector label{display:grid;gap:7px;color:#fff;font-weight:800}.dwtm-front-form small{font-weight:500}.dwtm-front-control input,.dwtm-front-control select,.dwtm-front-control textarea{width:100%;border-radius:12px!important;border:1px solid rgba(255,255,255,.14)!important;background:rgba(0,0,0,.28)!important;color:#fff!important;padding:10px 12px!important;min-height:42px}.dwtm-front-control option{background:#111522;color:#fff}.dwtm-front-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dwtm-front-check{display:flex!important;grid-template-columns:none!important;align-items:center;gap:10px;font-weight:700!important}.dwtm-front-check input{width:auto!important;min-height:0!important}.dwtm-front-table-wrap{overflow-x:auto;border:1px solid rgba(255,255,255,.1);border-radius:16px}.dwtm-front-table{width:100%;border-collapse:collapse;min-width:780px;background:rgba(0,0,0,.18)}.dwtm-front-table th,.dwtm-front-table td{padding:12px;border-bottom:1px solid rgba(255,255,255,.09);vertical-align:middle;text-align:left}.dwtm-front-table th{color:#fff;background:rgba(255,255,255,.06);font-size:.82rem;text-transform:uppercase;letter-spacing:.06em}.dwtm-front-table td{color:#eef1f7}.dwtm-front-table input.small-text{max-width:72px}.dwtm-results-table td:nth-child(2){min-width:220px}.dwtm-results-table td:nth-child(2) input{margin:3px 0}.dwtm-danger-link{color:#ff6b6b!important;font-weight:800;text-decoration:none}.dwtm-front-stack{display:grid;gap:10px}.dwtm-front-tournament-list{display:grid;gap:12px}.dwtm-front-tournament-card{display:grid;grid-template-columns:190px minmax(0,1fr);gap:14px;padding:12px;border-radius:18px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.1)}.dwtm-front-tournament-card h4{margin:0 0 6px;color:#fff;font-size:1.1rem}.dwtm-front-tournament-card p{margin:4px 0}.dwtm-front-thumb{min-height:118px;border-radius:14px;background-size:100% 100%;background-position:center;background-repeat:no-repeat;background-color:#161a25;border:1px solid rgba(255,255,255,.1)}.dwtm-front-card-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.dwtm-front-card-actions a{color:#fff!important;text-decoration:none!important;font-weight:800;font-size:.86rem;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}.dwtm-front-notice{margin:16px 0;padding:12px 14px;border-radius:14px;border:1px solid rgba(255,255,255,.12);font-weight:800}.dwtm-front-notice.is-success{background:rgba(35,160,90,.16);color:#96ffbf}.dwtm-front-notice.is-error{background:rgba(180,35,65,.18);color:#ff9ead}.dwtm-front-control-login{text-align:center;max-width:760px;margin-inline:auto}@media(max-width:900px){.dwtm-front-hero,.dwtm-front-grid,.dwtm-front-tournament-card{grid-template-columns:1fr;display:grid}.dwtm-front-field-grid{grid-template-columns:1fr}.dwtm-front-role-card{min-width:0}.dwtm-front-thumb{min-height:160px}.dwtm-front-selector{display:grid}}

/* V3.6.27 - leaderboard profile images and trophy system */
.dwtm-driver-cell{display:flex;align-items:center;gap:12px;min-width:180px}.dwtm-driver-cell-info{display:grid;gap:4px;min-width:0}.dwtm-leader-avatar{width:42px;height:42px;flex:0 0 42px;border-radius:14px;border:1px solid rgba(255,255,255,.16);display:inline-grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,var(--dwtm-accent,#b84dff),var(--dwtm-accent-2,#ff7a00));box-shadow:0 8px 24px rgba(0,0,0,.28),inset 0 0 14px rgba(255,255,255,.14);font-weight:950;color:#fff;line-height:1}.dwtm-leader-avatar-lg{width:68px;height:68px;flex-basis:68px;border-radius:20px}.dwtm-leader-avatar-image{background-size:cover;background-position:center}.dwtm-leader-avatar-initial{font-size:18px}.dwtm-trophy-leaderboard th:nth-child(3),.dwtm-trophy-leaderboard td:nth-child(3){min-width:190px}.dwtm-leader-trophies{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.dwtm-current-rank-medal{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(255,122,0,.32);background:rgba(255,122,0,.09);border-radius:999px;padding:5px 8px;color:#fff;font-size:11px;font-weight:900;text-transform:uppercase;white-space:nowrap}.dwtm-trophy-mini-count{display:inline-flex;align-items:center;gap:4px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.045);border-radius:999px;padding:4px 7px;color:#fff;font-size:12px;font-weight:900}.dwtm-trophy-icon{display:inline-grid;place-items:center;vertical-align:middle;width:22px;height:22px;flex:0 0 22px}.dwtm-trophy-img{object-fit:contain;border-radius:4px}.dwtm-trophy-fallback{border-radius:50%;font-size:11px;font-weight:1000;color:#111;box-shadow:inset 0 1px 5px rgba(255,255,255,.55),0 0 12px rgba(255,122,0,.18)}.dwtm-trophy-gold.dwtm-trophy-fallback{background:linear-gradient(135deg,#fff4a8,#ffb300 62%,#9d6300)}.dwtm-trophy-silver.dwtm-trophy-fallback{background:linear-gradient(135deg,#ffffff,#bcc6d3 62%,#667384)}.dwtm-trophy-bronze.dwtm-trophy-fallback{background:linear-gradient(135deg,#ffe0c4,#c8732d 62%,#764016)}.dwtm-profile-trophy-panel{margin-top:16px;border:1px solid rgba(255,122,0,.24);border-radius:20px;background:linear-gradient(135deg,rgba(255,122,0,.10),rgba(255,255,255,.035));padding:18px}.dwtm-profile-trophy-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.dwtm-profile-trophy-head span{display:block;text-transform:uppercase;color:#9fb0c5;font-size:11px;font-weight:900;letter-spacing:.08em}.dwtm-profile-trophy-head strong{display:block;color:#fff;font-size:24px;line-height:1.1}.dwtm-profile-current-medal{display:flex;align-items:center;gap:8px}.dwtm-profile-trophy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.dwtm-profile-trophy-grid>div{border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(0,0,0,.22);padding:14px;text-align:center}.dwtm-profile-trophy-grid span{display:block;color:#aab7ca;font-size:12px;text-transform:uppercase;font-weight:900;margin-top:8px}.dwtm-profile-trophy-grid strong{display:block;color:#fff;font-size:28px;line-height:1;margin-top:5px}.dwtm-profile-trophy-icon{width:48px;height:48px;margin:0 auto}.dwtm-profile-trophy-panel p{margin:12px 0 0;color:#9fb0c5;font-size:13px}.dwtm-rank-badge .dwtm-trophy-icon{width:16px;height:16px;margin-right:5px}.dwtm-rank-badge-gold{border-color:rgba(255,179,0,.42)!important;background:rgba(255,179,0,.13)!important;color:#ffd46a!important}.dwtm-rank-badge-silver{border-color:rgba(188,198,211,.42)!important;background:rgba(188,198,211,.13)!important;color:#dce7f4!important}.dwtm-rank-badge-bronze{border-color:rgba(200,115,45,.45)!important;background:rgba(200,115,45,.15)!important;color:#ffbc87!important}@media(max-width:760px){.dwtm-driver-cell{min-width:150px}.dwtm-trophy-leaderboard th:nth-child(3),.dwtm-trophy-leaderboard td:nth-child(3){min-width:150px}.dwtm-profile-trophy-grid{grid-template-columns:1fr}.dwtm-profile-trophy-head{align-items:flex-start;flex-direction:column}.dwtm-current-rank-medal span{display:none}}


/* V3.6.29 mobile leaderboard performance fix
   Converts the trophy leaderboard into lightweight stacked cards on mobile and reduces expensive effects while scrolling. */
@media (max-width:782px){
  .dwtm-shell{
    padding:12px!important;
    border-radius:14px!important;
    box-shadow:none!important;
    background:#060a10!important;
    overflow:visible!important;
    contain:layout paint;
  }
  .dwtm-table-wrap{
    overflow:visible!important;
    -webkit-overflow-scrolling:touch;
    contain:layout paint;
  }
  .dwtm-table,
  .dwtm-trophy-leaderboard{
    width:100%!important;
    min-width:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  .dwtm-trophy-leaderboard thead{display:none!important;}
  .dwtm-trophy-leaderboard,
  .dwtm-trophy-leaderboard tbody,
  .dwtm-trophy-leaderboard tr,
  .dwtm-trophy-leaderboard td{display:block!important;}
  .dwtm-trophy-leaderboard tr{
    margin:0 0 12px!important;
    padding:10px 12px!important;
    border:1px solid var(--dwtm-line)!important;
    border-radius:16px!important;
    background:#080d14!important;
    box-shadow:0 6px 16px rgba(0,0,0,.22)!important;
    content-visibility:auto;
    contain-intrinsic-size:1px 340px;
  }
  .dwtm-trophy-leaderboard td{
    width:100%!important;
    padding:8px 0!important;
    border:0!important;
    border-bottom:1px solid rgba(255,255,255,.07)!important;
    color:#dce6f4!important;
  }
  .dwtm-trophy-leaderboard td:last-child{border-bottom:0!important;}
  .dwtm-trophy-leaderboard td:not(:nth-child(2)){
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
  }
  .dwtm-trophy-leaderboard td:before{
    content:"";
    color:#95a3b8;
    font-size:11px;
    line-height:1;
    text-transform:uppercase;
    letter-spacing:.08em;
    font-weight:900;
    flex:0 0 auto;
  }
  .dwtm-trophy-leaderboard td:nth-child(1):before{content:"Rank";}
  .dwtm-trophy-leaderboard td:nth-child(2):before{content:"Driver";display:block;margin:0 0 8px;}
  .dwtm-trophy-leaderboard td:nth-child(3):before{content:"Trophies";}
  .dwtm-trophy-leaderboard td:nth-child(4):before{content:"Wins";}
  .dwtm-trophy-leaderboard td:nth-child(5):before{content:"Losses";}
  .dwtm-trophy-leaderboard td:nth-child(6):before{content:"W/L";}
  .dwtm-trophy-leaderboard td:nth-child(7):before{content:"Win %";}
  .dwtm-trophy-leaderboard td:nth-child(8):before{content:"XP";}
  .dwtm-trophy-leaderboard td:nth-child(9):before{content:"Level";}
  .dwtm-trophy-leaderboard td:nth-child(10):before{content:"Points";}
  .dwtm-trophy-leaderboard .dwtm-driver-cell{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    min-width:0!important;
  }
  .dwtm-trophy-leaderboard .dwtm-driver-cell-info,
  .dwtm-trophy-leaderboard .dwtm-driver-cell-info strong{
    min-width:0!important;
    max-width:100%!important;
  }
  .dwtm-trophy-leaderboard .dwtm-driver-cell-info strong a,
  .dwtm-trophy-leaderboard .dwtm-driver-cell-info strong{
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    display:block!important;
  }
  .dwtm-card,
  .dwtm-panel-front,
  .dwtm-match-card,
  .dwtm-profile-card,
  .dwtm-token-package,
  .dwtm-wallet-card,
  .dwtm-dashboard-card{
    box-shadow:0 6px 16px rgba(0,0,0,.20)!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
  .dwtm-card:hover,
  .dwtm-btn:hover,
  .dwtm-small-btn:hover,
  .dwtm-ghost-btn:hover{
    transform:none!important;
    filter:none!important;
  }
}
@media (hover:none) and (pointer:coarse){
  .dwtm-card,
  .dwtm-btn,
  .dwtm-small-btn,
  .dwtm-ghost-btn,
  .dwtm-tab-label{
    transition:none!important;
  }
}
@media (prefers-reduced-motion:reduce){
  .dwtm-shell *,
  .dwtm-shell *:before,
  .dwtm-shell *:after{
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}

/* v3.6.31 front-end tournament control stability */
.dwtm-front-bulk-toolbar{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    align-items:center;
    justify-content:space-between;
    margin:0 0 14px;
    padding:12px 14px;
    border:1px solid rgba(255,255,255,.1);
    border-radius:16px;
    background:rgba(255,255,255,.04);
}
.dwtm-front-bulk-toolbar .description{flex:1;min-width:220px}
.dwtm-front-bulk-footer{margin:14px 0 0!important}
.dwtm-front-match-players{display:grid;gap:8px;min-width:220px}
.dwtm-front-match-players label{display:grid;gap:4px;color:#fff;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.dwtm-front-results-table td{vertical-align:top}
.dwtm-front-results-table .dwtm-front-check{align-items:flex-start;font-size:.85rem;margin-bottom:8px}
@media(max-width:700px){
    .dwtm-front-results-table{min-width:760px}
    .dwtm-front-bulk-toolbar{align-items:stretch}
    .dwtm-front-bulk-toolbar .dwtm-button{width:100%}
}


/* V3.6.32 Pro / Elite Driver subscription shop */
.dwtm-v3632-shop-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:28px;border:1px solid rgba(255,122,0,.35);background:linear-gradient(135deg,rgba(255,122,0,.16),rgba(6,10,17,.94) 48%,rgba(184,77,255,.13));overflow:hidden;position:relative}
.dwtm-v3632-shop-hero:before{content:"";position:absolute;inset:-70px -120px auto auto;width:340px;height:220px;background:radial-gradient(circle,rgba(255,122,0,.25),transparent 68%);pointer-events:none}
.dwtm-v3632-shop-hero h1{margin:.1rem 0 .55rem;font-size:clamp(2rem,4vw,4rem);letter-spacing:-.05em;text-transform:uppercase;color:#fff}
.dwtm-v3632-shop-hero p{max-width:780px;color:rgba(255,255,255,.78);font-size:1rem;line-height:1.65}
.dwtm-v3632-current-member{min-width:230px;padding:18px;border-radius:18px;background:rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.12);text-align:right;box-shadow:0 20px 50px rgba(0,0,0,.24)}
.dwtm-v3632-current-member span,.dwtm-v3632-current-member em{display:block;color:rgba(255,255,255,.58);font-style:normal;text-transform:uppercase;font-size:.75rem;letter-spacing:.12em}
.dwtm-v3632-current-member strong{display:block;margin:6px 0;color:#ff8a00;font-size:1.55rem;text-transform:uppercase}
.dwtm-v3632-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:24px 0}
.dwtm-v3632-plan-card{position:relative;padding:26px;border-radius:24px;background:linear-gradient(145deg,rgba(8,12,20,.96),rgba(14,17,25,.9));border:1px solid rgba(255,255,255,.1);box-shadow:0 28px 70px rgba(0,0,0,.28);overflow:hidden}
.dwtm-v3632-plan-card:before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,#ff7a00,#ffd166,#b84dff)}
.dwtm-v3632-plan-elite{border-color:rgba(255,122,0,.42);background:linear-gradient(145deg,rgba(30,16,4,.96),rgba(9,10,16,.94) 55%,rgba(67,35,0,.35))}
.dwtm-v3632-plan-top{display:flex;gap:14px;align-items:center;margin-bottom:18px}
.dwtm-v3632-plan-top h2{margin:0;color:#fff;text-transform:uppercase;font-size:1.65rem;letter-spacing:-.03em}
.dwtm-v3632-price{display:flex;align-items:flex-end;gap:8px;margin:12px 0 18px;color:#fff}
.dwtm-v3632-price strong{font-size:3rem;line-height:.9;color:#ff8a00;letter-spacing:-.07em}
.dwtm-v3632-price span{color:rgba(255,255,255,.68);font-size:1rem;text-transform:uppercase;letter-spacing:.08em}
.dwtm-v3632-plan-card ul{list-style:none;margin:0 0 22px;padding:0;display:grid;gap:10px}
.dwtm-v3632-plan-card li{position:relative;padding-left:28px;color:rgba(255,255,255,.82);line-height:1.5}
.dwtm-v3632-plan-card li:before{content:"✓";position:absolute;left:0;top:0;width:20px;height:20px;border-radius:999px;background:rgba(255,122,0,.18);color:#ff9a22;display:grid;place-items:center;font-size:.75rem;font-weight:900}
.dwtm-v3632-plan-card.is-active{outline:2px solid rgba(255,122,0,.45)}
.dwtm-v3632-tier-badge{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:6px 10px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.07);color:#fff;text-transform:uppercase;font-size:.72rem;letter-spacing:.08em;font-weight:900;line-height:1}
.dwtm-v3632-tier-badge i{font-style:normal;color:#ff8a00;text-shadow:0 0 14px rgba(255,122,0,.6)}
.dwtm-v3632-tier-elite{background:linear-gradient(135deg,rgba(255,122,0,.28),rgba(255,209,102,.12));border-color:rgba(255,122,0,.45)}
.dwtm-v3632-tier-pro{background:linear-gradient(135deg,rgba(184,77,255,.24),rgba(255,122,0,.1));border-color:rgba(184,77,255,.35)}
.dwtm-v3632-badge-lg{padding:12px 14px;font-size:.86rem;border-radius:16px}
.dwtm-v3632-badge-sm{padding:4px 8px;font-size:.62rem;margin-top:5px;width:max-content}
.dwtm-v3632-tier-badge img{width:24px;height:24px;object-fit:contain}.dwtm-v3632-badge-lg img{width:36px;height:36px}.dwtm-v3632-badge-sm img{width:18px;height:18px}
.dwtm-v3632-profile-badges{margin:8px 0 10px;display:flex;flex-wrap:wrap;gap:8px}.dwtm-driver-extra-badges{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:5px}
.dwtm-v3632-activity-list{display:grid;gap:10px}.dwtm-v3632-activity-list>div{display:flex;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08)}
.dwtm-v3632-activity-list strong{color:#fff}.dwtm-v3632-activity-list span{color:rgba(255,255,255,.54);font-size:.85rem}
@media(max-width:760px){.dwtm-v3632-shop-hero{display:block}.dwtm-v3632-current-member{text-align:left;margin-top:18px}.dwtm-v3632-plan-grid{grid-template-columns:1fr}.dwtm-v3632-price strong{font-size:2.4rem}.dwtm-v3632-activity-list>div{display:block}.dwtm-v3632-activity-list span{display:block;margin-top:5px}}


/* V3.6.35 Featured Driver Spotlight */
.dwtm-v3635-featured-drivers{position:relative;margin:26px 0;padding:24px;border:1px solid rgba(255,122,0,.22);border-radius:26px;background:linear-gradient(135deg,rgba(255,122,0,.1),rgba(8,10,16,.94) 36%,rgba(166,0,255,.1));box-shadow:0 26px 70px rgba(0,0,0,.3);overflow:hidden;contain:layout paint}
.dwtm-v3635-featured-drivers:before{content:"";position:absolute;inset:-120px -120px auto auto;width:360px;height:260px;background:radial-gradient(circle,rgba(255,122,0,.22),transparent 66%);pointer-events:none}.dwtm-v3635-featured-drivers:after{content:"";position:absolute;inset:auto auto -120px -120px;width:320px;height:240px;background:radial-gradient(circle,rgba(184,77,255,.14),transparent 68%);pointer-events:none}
.dwtm-v3635-head{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px}.dwtm-v3635-head span{display:block;color:#ff8a00;text-transform:uppercase;letter-spacing:.16em;font-size:.78rem;font-weight:950}.dwtm-v3635-head h2{margin:.2rem 0 0;color:#fff;text-transform:uppercase;letter-spacing:-.04em;font-size:clamp(1.7rem,3.3vw,3rem);line-height:.95}.dwtm-v3635-join{white-space:nowrap}
.dwtm-v3635-layout{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:18px;align-items:stretch}.dwtm-v3635-hero-card{min-width:0;border:1px solid rgba(255,255,255,.1);border-radius:24px;background:rgba(0,0,0,.35);overflow:hidden;box-shadow:0 22px 55px rgba(0,0,0,.28)}.dwtm-v3635-card-tier-elite{border-color:rgba(255,122,0,.45)}.dwtm-v3635-card-tier-pro{border-color:rgba(184,77,255,.34)}
.dwtm-v3635-hero-banner{display:block;position:relative;min-height:190px;background-size:cover;background-position:center;border-bottom:1px solid rgba(255,255,255,.09);overflow:hidden}.dwtm-v3635-hero-banner:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.55))}.dwtm-v3635-banner-fallback{display:block;position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,122,0,.22),rgba(184,77,255,.18)),repeating-linear-gradient(135deg,rgba(255,255,255,.08) 0 2px,transparent 2px 20px)}
.dwtm-v3635-hero-body{padding:20px}.dwtm-v3635-driver-main{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;align-items:center}.dwtm-v3635-avatar,.dwtm-v3635-avatar-link .dwtm-v3635-avatar{display:inline-grid;place-items:center;width:76px;height:76px;border-radius:22px;background-size:cover;background-position:center;border:2px solid rgba(255,122,0,.45);box-shadow:0 14px 34px rgba(0,0,0,.35);color:#fff;font-weight:950;font-size:1.45rem;text-transform:uppercase;flex:0 0 auto}.dwtm-v3635-avatar-fallback{background:linear-gradient(135deg,rgba(255,122,0,.36),rgba(184,77,255,.28))}.dwtm-v3635-name-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.dwtm-v3635-name-row h3{margin:0;color:#fff;font-size:clamp(1.45rem,2.2vw,2.25rem);letter-spacing:-.04em;line-height:1}.dwtm-v3635-name-row h3 a{text-decoration:none}.dwtm-v3635-hero-body p{margin:8px 0 10px;color:rgba(255,255,255,.72);line-height:1.55}.dwtm-v3635-meta,.dwtm-v3635-mini-meta{display:flex;flex-wrap:wrap;gap:7px}.dwtm-v3635-meta span,.dwtm-v3635-mini-meta span{border:1px solid rgba(255,255,255,.11);border-radius:999px;background:rgba(255,255,255,.06);padding:5px 9px;color:rgba(255,255,255,.78);font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.dwtm-v3635-stat-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.dwtm-v3635-stat-strip span{display:grid;gap:2px;padding:12px;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(255,255,255,.045);color:rgba(255,255,255,.58);text-transform:uppercase;font-size:.68rem;letter-spacing:.12em;font-weight:900}.dwtm-v3635-stat-strip b{display:block;color:#ff8a00;font-size:1.55rem;line-height:1;letter-spacing:-.05em}.dwtm-v3635-profile-btn{width:100%;justify-content:center!important}
.dwtm-v3635-driver-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dwtm-v3635-driver-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;min-width:0;padding:14px;border:1px solid rgba(255,255,255,.1);border-radius:20px;background:rgba(255,255,255,.045);box-shadow:0 14px 34px rgba(0,0,0,.2)}.dwtm-v3635-driver-card .dwtm-v3635-avatar{width:58px;height:58px;border-radius:18px;font-size:1.05rem}.dwtm-v3635-driver-card h3{margin:0 0 6px;color:#fff;font-size:1rem;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dwtm-v3635-driver-card h3 a{text-decoration:none}.dwtm-v3635-mini-meta{margin-top:8px}.dwtm-v3635-mini-stats{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.dwtm-v3635-mini-stats span{color:rgba(255,255,255,.66);font-size:.72rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.dwtm-v3635-empty .dwtm-empty{position:relative;z-index:1}
@media(max-width:960px){.dwtm-v3635-layout{grid-template-columns:1fr}.dwtm-v3635-driver-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dwtm-v3635-head{align-items:flex-start}.dwtm-v3635-join{margin-top:6px}}
@media(max-width:640px){.dwtm-v3635-featured-drivers{padding:16px;border-radius:22px;margin:18px 0}.dwtm-v3635-head{display:block}.dwtm-v3635-head .dwtm-button{width:100%;justify-content:center;margin-top:12px}.dwtm-v3635-hero-banner{min-height:150px}.dwtm-v3635-driver-main{grid-template-columns:1fr;text-align:left}.dwtm-v3635-driver-grid{grid-template-columns:1fr}.dwtm-v3635-stat-strip{grid-template-columns:1fr}.dwtm-v3635-driver-card{grid-template-columns:auto minmax(0,1fr)}}

/* V3.6.36 Community Clips and featured driver carousel */
.dwtm-v3636-home-clips,.dwtm-v3636-driver-carousel,.dwtm-v3636-submit-box{border:1px solid rgba(255,255,255,.12);border-radius:24px;background:linear-gradient(180deg,rgba(19,20,28,.88),rgba(7,8,13,.94));box-shadow:0 18px 54px rgba(0,0,0,.42);overflow:hidden;color:#fff;margin:0 0 22px;}
.dwtm-v3636-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 20px;border-bottom:1px solid rgba(255,255,255,.09);}
.dwtm-v3636-head span{display:block;color:var(--dwtm-accent-2,#ff7a00);font-size:.76rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase;}
.dwtm-v3636-head h2{margin:4px 0 0;font-size:clamp(1.25rem,1.6vw,2rem);line-height:1;text-transform:uppercase;color:#fff;}
.dwtm-v3636-head-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end;}
.dwtm-v3636-view-all,.dwtm-v3636-submit-link{color:var(--dwtm-accent-2,#ff7a00)!important;text-decoration:none!important;font-weight:900;text-transform:uppercase;font-size:.78rem;letter-spacing:.08em;}
.dwtm-v3636-submit-link{border:1px solid rgba(255,122,0,.35);border-radius:999px;padding:8px 12px;background:rgba(255,122,0,.08);}
.dwtm-v3636-clips-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:14px;}
.dwtm-v3636-clips-page .dwtm-v3636-clips-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));}
.dwtm-v3636-clip-card{min-width:0;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(255,255,255,.035);overflow:hidden;}
.dwtm-v3636-clip-frame{position:relative;aspect-ratio:16/9;background:linear-gradient(135deg,rgba(255,122,0,.3),rgba(166,0,255,.18));overflow:hidden;}
.dwtm-v3636-clip-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;}
.dwtm-v3636-clip-frame a{position:absolute;inset:0;display:grid;place-items:center;color:#fff;text-decoration:none;font-weight:900;}
.dwtm-v3636-clip-body{padding:10px 12px 12px;}
.dwtm-v3636-clip-body span{display:block;color:rgba(255,255,255,.62);font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;margin-bottom:5px;}
.dwtm-v3636-clip-body h3{margin:0;color:#fff;font-size:.94rem;line-height:1.18;}
.dwtm-v3636-empty{padding:22px;color:rgba(255,255,255,.72);}
.dwtm-v3636-empty strong{display:block;color:#fff;font-size:1.05rem;margin-bottom:4px;}
.dwtm-v3636-driver-marquee{overflow:hidden;padding:16px 0 18px;mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);}
.dwtm-v3636-driver-track{display:flex;gap:14px;width:max-content;animation:dwtm-v3636-scroll-left 34s linear infinite;padding-left:100%;}
.dwtm-v3636-driver-carousel:hover .dwtm-v3636-driver-track{animation-play-state:paused;}
.dwtm-v3636-driver-chip{display:flex;align-items:center;gap:12px;min-width:220px;padding:11px 14px;border:1px solid rgba(255,255,255,.13);border-radius:999px;background:rgba(255,255,255,.045);text-decoration:none!important;color:#fff!important;box-shadow:0 14px 28px rgba(0,0,0,.26);}
.dwtm-v3636-driver-chip.dwtm-v3636-tier-elite{border-color:rgba(255,191,0,.45);box-shadow:0 0 28px rgba(255,191,0,.12);}
.dwtm-v3636-driver-chip.dwtm-v3636-tier-pro{border-color:rgba(255,122,0,.42);box-shadow:0 0 28px rgba(255,122,0,.12);}
.dwtm-v3636-driver-avatar{width:52px;height:52px;border-radius:50%;background-size:cover;background-position:center;border:2px solid rgba(255,255,255,.18);flex:0 0 auto;}
.dwtm-v3636-driver-chip b{display:block;font-size:1rem;line-height:1.1;white-space:nowrap;max-width:132px;overflow:hidden;text-overflow:ellipsis;}
.dwtm-v3636-driver-chip small{display:block;margin-top:3px;color:var(--dwtm-accent-2,#ff7a00);font-weight:900;text-transform:uppercase;font-size:.68rem;letter-spacing:.08em;}
@keyframes dwtm-v3636-scroll-left{from{transform:translateX(0)}to{transform:translateX(-100%)}}
.dwtm-v3636-submit-box{padding:24px;max-width:880px;margin:20px auto;}
.dwtm-v3636-submit-box h2{margin:0 0 6px;color:#fff;text-transform:uppercase;}
.dwtm-v3636-submit-box p{color:rgba(255,255,255,.72);}
.dwtm-v3636-clip-form{display:grid;gap:14px;margin-top:18px;}
.dwtm-v3636-clip-form label{display:grid;gap:6px;color:#fff;font-weight:800;}
.dwtm-v3636-clip-form input,.dwtm-v3636-clip-form textarea{width:100%;border:1px solid rgba(255,255,255,.14);background:#080910;color:#fff;border-radius:12px;padding:12px 14px;}
@media (max-width:1180px){.dwtm-v3636-clips-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (max-width:760px){.dwtm-v3636-head{padding:16px;flex-direction:column}.dwtm-v3636-clips-grid{grid-template-columns:1fr;padding:12px}.dwtm-v3636-driver-track{animation-duration:42s}.dwtm-v3636-driver-chip{min-width:190px}.dwtm-v3636-driver-avatar{width:46px;height:46px}}

/* V3.6.40 Community Clips popup/lightbox player */
.dwtm-v3636-clip-frame.dwtm-v3636-clip-open,
.dwtm-v3636-clip-frame.dwtm-v3636-clip-external{width:100%;border:0;padding:0;cursor:pointer;display:block;color:#fff;text-align:inherit;font:inherit;}
.dwtm-v3636-clip-thumb{position:absolute;inset:0;background-size:cover;background-position:center;transform:scale(1.01);transition:transform .22s ease, filter .22s ease;}
.dwtm-v3636-clip-card:hover .dwtm-v3636-clip-thumb{transform:scale(1.06);filter:saturate(1.12) contrast(1.06);}
.dwtm-v3636-clip-shade{position:absolute;inset:0;background:radial-gradient(circle at center,rgba(255,122,0,.06),rgba(0,0,0,.42) 68%),linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.42));}
.dwtm-v3636-play-badge{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:rgba(255,122,0,.95);color:#fff;font-weight:900;box-shadow:0 0 28px rgba(255,122,0,.38);border:1px solid rgba(255,255,255,.28);line-height:1;padding-left:2px;}
.dwtm-v3636-clip-open:focus-visible,.dwtm-v3636-clip-external:focus-visible{outline:2px solid var(--dwtm-accent-2,#ff7a00);outline-offset:3px;}
.dwtm-v3640-clip-modal{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(0,0,0,.76);backdrop-filter:blur(7px);}
.dwtm-v3640-clip-modal.is-open{display:flex;}
.dwtm-v3640-clip-dialog{position:relative;width:min(860px,92vw);background:linear-gradient(180deg,rgba(18,19,25,.98),rgba(6,7,12,.98));border:1px solid rgba(255,122,0,.35);border-radius:18px;box-shadow:0 28px 90px rgba(0,0,0,.78),0 0 40px rgba(255,122,0,.14);overflow:hidden;}
.dwtm-v3640-clip-top{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.1);}
.dwtm-v3640-clip-title{min-width:0;margin:0;color:#fff;font-size:.94rem;font-weight:900;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.dwtm-v3640-clip-close{appearance:none;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);color:#fff;border-radius:999px;width:36px;height:36px;font-size:22px;line-height:1;cursor:pointer;display:grid;place-items:center;}
.dwtm-v3640-clip-close:hover{background:rgba(255,122,0,.25);border-color:rgba(255,122,0,.55);}
.dwtm-v3640-clip-video{position:relative;aspect-ratio:16/9;background:#000;}
.dwtm-v3640-clip-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;}
@media(max-width:760px){.dwtm-v3640-clip-modal{padding:10px}.dwtm-v3640-clip-dialog{width:94vw;border-radius:14px}.dwtm-v3640-clip-title{font-size:.82rem}.dwtm-v3636-play-badge{width:44px;height:44px}}


/* V3.6.41 Community Clips page video scaling fix */
.dwtm-v3636-clips-page{
  width:100%;
  max-width:1280px;
  margin:20px auto 28px;
}
.dwtm-v3636-clips-page .dwtm-v3636-clips-grid{
  grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));
  gap:18px;
  align-items:start;
}
.dwtm-v3636-clips-page .dwtm-v3636-clip-card{
  display:flex;
  flex-direction:column;
  height:auto;
  min-width:0;
}
.dwtm-v3636-clips-page .dwtm-v3636-clip-frame{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:16/9;
  flex:0 0 auto;
}
.dwtm-v3636-clips-page .dwtm-v3636-clip-frame iframe,
.dwtm-v3636-clips-page .dwtm-v3636-clip-frame video,
.dwtm-v3636-clips-page .dwtm-v3636-clip-frame embed,
.dwtm-v3636-clips-page .dwtm-v3636-clip-frame object{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  border:0!important;
  display:block!important;
}
.dwtm-v3636-clips-page .dwtm-v3636-clip-thumb{
  background-size:cover!important;
  background-position:center!important;
}
.dwtm-v3636-clips-page .dwtm-v3636-clip-body{
  flex:1 1 auto;
}
.dwtm-v3640-clip-dialog{
  width:min(960px,calc(100vw - 32px));
  max-height:calc(100vh - 32px);
  display:flex;
  flex-direction:column;
}
.dwtm-v3640-clip-video{
  width:100%;
  aspect-ratio:16/9;
  max-height:calc(100vh - 104px);
  flex:0 1 auto;
}
.dwtm-v3640-clip-video iframe,
.dwtm-v3640-clip-video video,
.dwtm-v3640-clip-video embed,
.dwtm-v3640-clip-video object{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  border:0!important;
  display:block!important;
}
@media(max-width:760px){
  .dwtm-v3636-clips-page{margin:14px auto 22px;border-radius:18px;}
  .dwtm-v3636-clips-page .dwtm-v3636-clips-grid{grid-template-columns:1fr;gap:14px;padding:12px;}
  .dwtm-v3636-clips-page .dwtm-v3636-clip-frame{aspect-ratio:16/9;}
  .dwtm-v3640-clip-dialog{width:calc(100vw - 18px);max-height:calc(100vh - 18px);border-radius:14px;}
  .dwtm-v3640-clip-video{max-height:calc(100vh - 96px);}
}
@media(max-height:520px){
  .dwtm-v3640-clip-modal{align-items:flex-start;overflow:auto;}
  .dwtm-v3640-clip-dialog{margin:8px auto;}
  .dwtm-v3640-clip-video{max-height:calc(100vh - 82px);}
}

/* V3.6.45 Tune Board */
.dwtm-v3645-board{max-width:1500px;margin:0 auto 2.5rem;padding:clamp(.75rem,2vw,1.25rem);color:#f8fafc}
.dwtm-v3645-hero{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.1);border-radius:24px;padding:clamp(1rem,3vw,2rem);margin-bottom:1rem;background:radial-gradient(circle at 10% 0%,rgba(255,122,0,.18),transparent 28rem),linear-gradient(135deg,rgba(255,255,255,.07),rgba(255,255,255,.02));box-shadow:0 20px 70px rgba(0,0,0,.32)}
.dwtm-v3645-hero span,.dwtm-v3645-form-head span,.dwtm-v3645-list-head span{display:block;color:#ff7a00;text-transform:uppercase;letter-spacing:.18em;font-size:.73rem;font-weight:900;margin-bottom:.35rem}
.dwtm-v3645-hero h2,.dwtm-v3645-form-head h2,.dwtm-v3645-list-head h2{margin:.1rem 0 .35rem;font-size:clamp(1.55rem,3vw,2.55rem);line-height:.95;text-transform:uppercase;font-weight:1000;color:#fff}
.dwtm-v3645-hero p,.dwtm-v3645-form-head p,.dwtm-v3645-list-head p{margin:0;color:#aeb8c8;line-height:1.55}
.dwtm-v3645-layout{display:grid;grid-template-columns:minmax(280px,.86fr) minmax(360px,1.34fr);gap:1rem;align-items:start}
.dwtm-v3645-layout-list-only{grid-template-columns:1fr}
.dwtm-v3645-panel{background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.02)),rgba(9,12,18,.88);border:1px solid rgba(255,255,255,.11);border-radius:22px;padding:clamp(.85rem,2vw,1.15rem);box-shadow:0 20px 70px rgba(0,0,0,.28)}
.dwtm-v3645-submit-panel{position:sticky;top:92px;max-height:calc(100vh - 110px);overflow:auto;scrollbar-width:thin}
.dwtm-v3645-subpanel{background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.1);border-radius:18px;padding:.9rem;margin-top:.85rem}
.dwtm-v3645-subpanel h3{margin:0 0 .7rem;color:#fff;text-transform:uppercase;letter-spacing:.06em;font-size:.9rem;border-left:3px solid #ff7a00;padding-left:.55rem}
.dwtm-v3645-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
.dwtm-v3645-field{display:grid;gap:.35rem;margin:0}
.dwtm-v3645-field-notes{grid-column:1/-1}
.dwtm-v3645-field span{font-size:.74rem;color:#aeb8c8;text-transform:uppercase;letter-spacing:.08em;font-weight:900}
.dwtm-v3645-field input,.dwtm-v3645-field select,.dwtm-v3645-field textarea,.dwtm-v3645-filters input,.dwtm-v3645-filters select{width:100%;background:#070a10;border:1px solid rgba(255,255,255,.13);border-radius:12px;color:#fff;padding:.75rem .82rem;font:inherit;outline:none}
.dwtm-v3645-field textarea{min-height:110px;resize:vertical}
.dwtm-v3645-field input:focus,.dwtm-v3645-field select:focus,.dwtm-v3645-field textarea:focus,.dwtm-v3645-filters input:focus,.dwtm-v3645-filters select:focus{border-color:rgba(255,122,0,.7);box-shadow:0 0 0 3px rgba(255,122,0,.13)}
.dwtm-v3645-primary,.dwtm-v3645-copy,.dwtm-v3645-filters button{border:0;border-radius:12px;background:linear-gradient(135deg,#ff7a00,#ff4d00);box-shadow:0 0 24px rgba(255,122,0,.28);color:#fff;font-weight:1000;text-transform:uppercase;letter-spacing:.04em;padding:.85rem 1rem;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:.4rem}
.dwtm-v3645-primary{width:100%;margin-top:1rem}
.dwtm-v3645-secondary,.dwtm-v3645-card-actions a{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,122,0,.35);border-radius:12px;padding:.7rem .9rem;color:#fff;text-decoration:none;text-transform:uppercase;font-weight:900;font-size:.8rem;background:rgba(255,122,0,.08)}
.dwtm-v3645-list-head{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;margin-bottom:.9rem}
.dwtm-v3645-submitters{display:flex;align-items:center;justify-content:space-between;gap:.85rem;margin:0 0 1rem;padding:.75rem;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(255,255,255,.035)}
.dwtm-v3645-submitters-title span{display:block;color:#ff7a00;text-transform:uppercase;letter-spacing:.14em;font-size:.68rem;font-weight:1000}
.dwtm-v3645-submitters-title strong{display:block;color:#fff;text-transform:uppercase;font-size:.9rem}
.dwtm-v3645-submitter-list{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;justify-content:flex-end}
.dwtm-v3645-submitter{display:inline-flex;align-items:center;gap:.4rem;color:#fff;text-decoration:none;border:1px solid rgba(255,255,255,.11);border-radius:999px;background:rgba(0,0,0,.22);padding:.28rem .56rem .28rem .32rem;font-size:.78rem;font-weight:900}
.dwtm-v3645-submitter-avatar{width:28px;height:28px;border-radius:50%;background:#111827 center/cover no-repeat;border:1px solid rgba(255,122,0,.38);flex:0 0 auto}
.dwtm-v3645-filters{display:grid;grid-template-columns:minmax(160px,1.2fr) .7fr .7fr .55fr auto;gap:.55rem;margin-bottom:1rem}
.dwtm-v3645-tune-list{display:grid;gap:.85rem}
.dwtm-v3645-tune-card{background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025)),#0c111b;border:1px solid rgba(255,255,255,.12);border-radius:20px;padding:1rem;position:relative;overflow:hidden}
.dwtm-v3645-tune-card:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:linear-gradient(#ff7a00,transparent);opacity:.9}
.dwtm-v3645-tune-top{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:.75rem}
.dwtm-v3645-author{display:flex;align-items:center;gap:.65rem;min-width:0}
.dwtm-v3645-author strong{display:block;color:#fff;font-weight:1000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dwtm-v3645-author span{display:block;color:#93a0b3;font-size:.78rem}
.dwtm-v3645-avatar{width:44px;height:44px;border-radius:14px;background:#111827 center/cover no-repeat;border:1px solid rgba(255,122,0,.35);box-shadow:0 0 20px rgba(255,122,0,.13);flex:0 0 auto}
.dwtm-v3645-share-code{border:1px solid rgba(255,122,0,.35);background:rgba(255,122,0,.13);border-radius:999px;color:#fff;font-weight:1000;padding:.42rem .65rem;font-size:.8rem;white-space:nowrap}
.dwtm-v3645-tune-card h3{margin:.1rem 0 .2rem;color:#fff;text-transform:uppercase;font-size:1.1rem;line-height:1.15}
.dwtm-v3645-car-name{margin:0 0 .65rem;color:#cbd5e1;font-weight:700}
.dwtm-v3645-pills{display:flex;gap:.4rem;flex-wrap:wrap;margin-bottom:.75rem}
.dwtm-v3645-pills span{border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.06);border-radius:999px;color:#cbd5e1;padding:.33rem .54rem;font-size:.74rem;font-weight:900}
.dwtm-v3645-pills span:first-child{border-color:rgba(255,122,0,.38);color:#fff;background:rgba(255,122,0,.11)}
.dwtm-v3645-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem}
.dwtm-v3645-stat{background:rgba(0,0,0,.22);border:1px solid rgba(255,255,255,.09);border-radius:12px;padding:.55rem}
.dwtm-v3645-stat span{display:block;color:#93a0b3;font-size:.68rem;text-transform:uppercase;font-weight:900;margin-bottom:.18rem}
.dwtm-v3645-stat strong{display:block;color:#fff;font-size:.86rem;line-height:1.15;word-break:break-word}
.dwtm-v3645-notes{color:#d9e2ef;line-height:1.55;margin:.85rem 0 0;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:.7rem}
.dwtm-v3645-card-actions{display:flex;gap:.55rem;flex-wrap:wrap;align-items:center;margin-top:.85rem}
.dwtm-v3645-copy{font-size:.78rem;padding:.68rem .82rem}
.dwtm-v3645-copy-source{position:absolute!important;left:-9999px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}
.dwtm-v3645-empty,.dwtm-v3645-login-box{text-align:center;border:1px dashed rgba(255,255,255,.18);border-radius:18px;padding:2rem;color:#aeb8c8;background:rgba(255,255,255,.03)}
.dwtm-v3645-empty strong,.dwtm-v3645-login-box h2{display:block;color:#fff;font-size:1.25rem;margin:0 0 .5rem;text-transform:uppercase}
.dwtm-v3645-admin-fields .dwtm-v3645-fields{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:1100px){.dwtm-v3645-layout{grid-template-columns:1fr}.dwtm-v3645-submit-panel{position:relative;top:auto;max-height:none}.dwtm-v3645-filters{grid-template-columns:1fr 1fr}.dwtm-v3645-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:700px){.dwtm-v3645-board{padding:.65rem}.dwtm-v3645-list-head,.dwtm-v3645-tune-top,.dwtm-v3645-submitters{flex-direction:column;align-items:stretch}.dwtm-v3645-submitter-list{justify-content:flex-start}.dwtm-v3645-fields,.dwtm-v3645-filters,.dwtm-v3645-stat-grid,.dwtm-v3645-admin-fields .dwtm-v3645-fields{grid-template-columns:1fr}.dwtm-v3645-card-actions>*{width:100%}.dwtm-v3645-share-code{white-space:normal}.dwtm-v3645-panel{border-radius:18px}}

/* v3.6.47 - Tune single page fix */
.dwtm-v3645-single{max-width:1400px}
.dwtm-v3645-single-hero{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.dwtm-v3645-single-hero-main{min-width:0}
.dwtm-v3645-single-hero-meta{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;justify-content:flex-end}
.dwtm-v3645-single-hero-meta strong{display:block;color:#fff;font-weight:1000;text-transform:uppercase;line-height:1.1}
.dwtm-v3645-single-hero-meta small{display:block;color:#93a0b3;text-transform:uppercase;letter-spacing:.08em;font-size:.68rem;font-weight:900;margin-top:.12rem}
.dwtm-v3645-single-actions{display:flex;gap:.65rem;flex-wrap:wrap;align-items:center;justify-content:space-between;margin:0 0 1rem}
.dwtm-v3645-single-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;align-items:start}
.dwtm-v3645-single-grid>.dwtm-v3645-panel:first-child,.dwtm-v3645-single-notes{grid-column:1/-1}
.dwtm-v3645-single .dwtm-v3645-panel h3{margin:0 0 .75rem;color:#fff;text-transform:uppercase;letter-spacing:.06em;font-size:.95rem;border-left:3px solid #ff7a00;padding-left:.55rem}
.dwtm-v3645-single .dwtm-v3645-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.dwtm-v3645-single-notes p{margin:0;color:#d9e2ef;line-height:1.65;white-space:normal}
@media (max-width:1000px){.dwtm-v3645-single-grid{grid-template-columns:1fr}.dwtm-v3645-single .dwtm-v3645-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.dwtm-v3645-single-hero{align-items:flex-start;flex-direction:column}.dwtm-v3645-single-hero-meta{justify-content:flex-start}.dwtm-v3645-single-actions>*{width:100%}.dwtm-v3645-single .dwtm-v3645-stat-grid{grid-template-columns:1fr}}

/* v3.6.48 - Tune Board owner editing */
.dwtm-v3648-my-tunes {
    margin-top: 22px;
}
.dwtm-v3648-my-tunes-list {
    display: grid;
    gap: 10px;
}
.dwtm-v3648-my-tune-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    background: rgba(255,255,255,.04);
}
.dwtm-v3648-my-tune-row strong {
    display: block;
    color: #fff;
    font-size: 14px;
    letter-spacing: .02em;
}
.dwtm-v3648-my-tune-row span {
    display: block;
    color: rgba(255,255,255,.68);
    font-size: 12px;
    margin-top: 2px;
}
.dwtm-v3645-form .dwtm-v3645-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    min-height: 42px;
}
@media (max-width: 640px) {
    .dwtm-v3648-my-tune-row {
        align-items: flex-start;
        flex-direction: column;
    }
    .dwtm-v3645-form .dwtm-v3645-secondary {
        margin: 10px 0 0;
        width: 100%;
    }
}

/* V3.6.52 Spring / Teespring clothing store */
.dwtm-v3652-store{display:grid;gap:22px}.dwtm-store-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(135deg,rgba(255,122,0,.14),rgba(184,77,255,.1));border:1px solid var(--dwtm-line);border-radius:18px;padding:24px}.dwtm-store-hero h2{font-size:clamp(30px,5vw,58px);line-height:.92;text-transform:uppercase;font-style:italic;letter-spacing:-.05em;margin:0 0 10px}.dwtm-store-hero p{color:var(--dwtm-muted);max-width:720px;margin:0}.dwtm-store-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.dwtm-store-card{background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.025));border:1px solid var(--dwtm-line);border-radius:16px;overflow:hidden;min-height:100%;transition:.2s ease}.dwtm-store-card:hover{transform:translateY(-2px);border-color:rgba(255,122,0,.48);box-shadow:0 18px 36px rgba(0,0,0,.28)}.dwtm-store-card-link{display:flex;flex-direction:column;min-height:100%;color:inherit;text-decoration:none!important}.dwtm-store-card-media{aspect-ratio:1/1;background:radial-gradient(circle at 28% 18%,rgba(184,77,255,.22),transparent 40%),#090f18;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:950;text-transform:uppercase;text-align:center;padding:16px}.dwtm-store-card-media img{width:100%;height:100%;object-fit:cover;display:block}.dwtm-store-card-body{display:grid;gap:10px;padding:16px;flex:1}.dwtm-store-card-body h3{margin:0;text-transform:uppercase;font-size:18px;line-height:1.1}.dwtm-store-card-body p{margin:0;color:var(--dwtm-muted);font-size:13px;line-height:1.45}.dwtm-store-card-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:auto;border-top:1px solid var(--dwtm-line);padding-top:12px}.dwtm-store-card-foot strong{color:var(--dwtm-accent-2);font-size:15px}.dwtm-store-card-foot span{font-size:11px;color:#fff;text-transform:uppercase;font-weight:900;letter-spacing:.06em}.dwtm-store-embed-wrap{display:grid;gap:10px}.dwtm-store-embed{width:100%;min-height:320px;border:1px solid var(--dwtm-line);border-radius:16px;background:#fff}.dwtm-store-fallback{margin:0;color:var(--dwtm-muted);font-size:13px}@media(max-width:1100px){.dwtm-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dwtm-store-hero{align-items:flex-start;flex-direction:column}}@media(max-width:640px){.dwtm-store-grid{grid-template-columns:1fr}.dwtm-store-hero{padding:18px}.dwtm-store-hero h2{font-size:36px}}
