/* DraftArena v1.1.6 — Pure Black / Metallic Gold
 * All UI surfaces are neutral black; gold is reserved for prominent titles,
 * player names, and selected ranking accents. Class artwork remains a soft
 * background behind the whole profile. This stylesheet is the last CSS layer.
 */
:root{
  color-scheme:dark;
  --bg:#000000;
  --sidebar:#000000;
  --panel:#080808;
  --panel2:#0b0b0b;
  --panel3:#111111;
  --line:#262626;
  --line2:#363636;
  --text:#e9e9e9;
  --muted:#adadad;
  --subtle:#777777;
  --gold:#E5BC62;
  --gold-lite:#f3d897;
  --teal:#c9c9c9;
  --green:#c9c9c9;
  --red:#e0b4ad;
  --radius:13px;
  --shadow:0 18px 48px #000b;
}
html,body{background:#000!important;color:var(--text)}
body,.layout,.workspace{background:#000!important}
.sidebar{background:#030303!important;border-right:1px solid #222;box-shadow:none}
.brand-mark{background:#0a0a0a!important;color:var(--gold)!important;border:1px solid #5c4c30!important;box-shadow:none!important}
.brand-mark span{color:#c5c5c5!important}
.brand strong{color:#e6e6e6}.brand strong em{color:var(--gold)}
.brand small,.nav-section-label,.nav-section-label.second{color:#818181}
.nav-item{background:#000;color:#ababab;border-color:transparent}
.nav-item:hover{background:#0c0c0c;color:#e7e7e7}
.nav-item.active{background:#0b0b0b;border:1px solid #383838;box-shadow:inset 2px 0 var(--gold);color:#e4e4e4}
.nav-item.active .nav-icon{color:var(--gold)}.nav-icon{color:#8f8f8f}
.sidebar-footer{background:#080808;border:1px solid #262626}
.sidebar-footer b{color:#cfcfcf}.sidebar-footer small{color:#868686}
.live-dot,.status-indicator,.hero-bottom .status-indicator{background:#a9a9a9;box-shadow:0 0 0 3px #77777720}
.topbar{background:#050505;border-bottom:1px solid #222}
.breadcrumbs,.desktop-note{color:#888}.breadcrumbs b{color:#d6d6d6}.breadcrumbs span{color:#555}
.footer{color:#717171;border-top-color:#1b1b1b}
.language-selector select,.player-selector select,.field,.select,.player-selector select{
  background:#080808!important;border:1px solid #343434!important;color:#e5e5e5!important;
}
.field:focus,.select:focus,.language-selector select:focus,.player-selector select:focus{outline:1px solid #9c9c9c;outline-offset:1px;border-color:#888!important}
.page-heading h1,.home-section-head h2,.podium-heading>span,.showcase-details h2,
.panel-head h2,.login-intro h1,.login-panel h2,.hero-elite h1,
.hero-elite h1 span,.hero h1 span,.brand em{color:var(--gold)!important;-webkit-text-fill-color:currentColor}
.eyebrow,.upper,.hero-kicker,.login-eyebrow,.login-panel-kicker{color:#b9b9b9}
.page-heading p,.hero-elite p,.login-intro p,.login-panel p{color:#a9a9a9}
.btn,.btn.ghost,.btn.gold,.btn.outline-gold,.btn.red,.login-button{
  color:#dbdbdb!important;background:#0b0b0b!important;border:1px solid #3a3a3a!important;box-shadow:none!important;
}
.btn:hover,.login-button:hover{background:#161616!important;filter:none;color:#fff!important}
.btn.gold{color:#e4e4e4!important;border-color:#575757!important}
.btn:focus-visible,.nav-item:focus-visible,.selector-tab:focus-visible,
.character-choice:focus-visible{outline:2px solid #e5bc62;outline-offset:2px}
.badge,.badge.gold,.badge.green,.badge.teal,.badge.red,
.league-pill{background:#0c0c0c;color:#c9c9c9;border-color:#393939}
.badge.gold,.league-pill{color:#e0d0ab}
/* Global content surfaces are monochrome, not brown or navy. */
.panel,.panel-head,.stat-card,.home-metrics,.home-leader,.league-tile,.rule-block,
.queue-member,.invite-row,.waiting-visual,.report-cell,.roster-row,.team-card,
.match-item,.rule-block,.character-choice,.solo-slots-wrap,.showcase-team,
.kta-link-editor,.match-room,.notice,.notice.warning,.notice.error{
  background:#080808!important;border-color:#262626!important;box-shadow:none;
}
.panel-head{background:#090909!important;border-bottom:1px solid #272727!important}
.panel-head h2{color:var(--gold)}.panel-head span{color:#888}
.stat-card{background:#090909!important}.stat-card strong{color:#ededed}
.stat-label,.stat-card small{color:#a1a1a1}
.stat-label span{color:#b9b9b9}
.home-section-head h2{color:var(--gold)}
.hero,.hero-elite{
  background:linear-gradient(115deg,#080808 0%,#0c0c0c 58%,#050505 100%)!important;
  border:1px solid #333!important;box-shadow:none!important;
}
.hero-elite::before,.hero-elite::after,.hero::after{opacity:.12;filter:grayscale(1)}
.hero-orbit{border-color:#444;box-shadow:0 0 0 35px #ffffff04;background:#101010}
.hero-champion,.hero-mini-card,.hero-emblem{
  background:#080808!important;border-color:#343434!important;box-shadow:0 12px 32px #0008!important;
}
.hero-champion:before{border-color:#454545}
.hero-champion-index,.hero-kicker,.hero-mini-card strong{color:var(--gold)}
.hero-champion-bottom{border-top-color:#2d2d2d}
.home-metrics{background:#070707!important}.home-metrics>div{border-color:#272727}
.home-metrics span{color:#aaa}
.home-leader{background:#0b0b0b!important;border-color:#292929!important}
.home-leader:first-child{border-color:#5c5c5c!important}
.home-leader:hover{background:#141414!important}
.home-leader-person b,.home-leader-name,.player-link,.namecell,.home-leader-name b{color:var(--gold)!important}
.home-leader-number,.home-leader-person small,.home-leader-score small{color:#a4a4a4}
.home-leader-score{color:#e1e1e1}
.table th{background:#0d0d0d!important;color:#919191;border-bottom:1px solid #292929}
.table td{background:#070707!important;border-bottom:1px solid #242424!important;color:#cfcfcf}
.table tr:hover td{background:#121212!important}
.namecell,.namecell a,.namecell .player-link{color:var(--gold)!important}
.lp-number,.positive{color:#e2e2e2}.negative{color:#b5b5b5}
.rank,.rank.top{background:#111;border:1px solid #343434;color:#c7c7c7}
.league-tile{background:#080808!important;border:1px solid #282828!important}
.league-tile b{color:var(--gold)}.league-gem{color:#a5a5a5}
.selector-tab,.selector-tab.selected{background:#0a0a0a!important;border:1px solid #313131;color:#bababa}
.selector-tab.selected{color:#f0f0f0!important;border-color:#696969;box-shadow:inset 0 -2px #d8b264}
.selector-tab small,.selector-tab.selected small{color:#858585}
.character-choice,.character-choice.selected{background:#080808!important;border-color:#343434!important;color:#cfcfcf}
.character-choice.selected{border-color:#777!important}
.character-choice.selected .choice-symbol{color:#ededed}
.queue-member,.invite-row,.waiting-visual{background:#080808!important}
.waiting-visual{background:#0a0a0a!important}
.form-bars,.league-progress{background:#252525!important}
.form-bars div,.league-progress span{background:#8e8e8e!important}
.showcase-line,.performance-content .showcase-line{color:#a7a7a7}
.showcase-line b,.performance-content .showcase-line b{color:#e1e1e1}
.showcase-details h2{color:var(--gold)!important}
.showcase-details{color:#d4d4d4}
.showcase-tier,.showcase-team{border-color:#343434}
.showcase-tier b,.showcase-team strong,.team-identity strong{color:#e1e1e1}
.team-identity .team-logo{background:#080808;border-color:#333}
/* Whole-profile banner: preserve the class artwork behind all three columns. */
.player-showcase{
  position:relative;isolation:isolate;overflow:hidden;
  display:grid;
  grid-template-columns:minmax(205px,1fr) minmax(270px,320px) minmax(225px,285px);
  align-items:start;
  gap:clamp(14px,1.8vw,24px);
  padding:clamp(16px,1.7vw,23px);
  background:#030303!important;
  border:1px solid #292929;
  border-radius:18px;
  box-shadow:none;
}
.player-showcase.has-profile-class-art::before{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    linear-gradient(90deg,#030303 0%,#030303f0 25%,#030303bb 48%,#03030399 67%,#030303ed 100%),
    linear-gradient(0deg,#030303c7,transparent 25%,transparent 78%,#030303a8);
}
.player-showcase > .profile-class-backdrop{
  position:absolute;z-index:0;inset:0 0 0 auto;
  width:65%;max-width:none;height:100%;
  object-fit:cover;object-position:right center;
  opacity:.38;filter:saturate(.85) brightness(.81);
  pointer-events:none;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#0007 14%,#000 40%);
  mask-image:linear-gradient(90deg,transparent 0%,#0007 14%,#000 40%);
}
.player-showcase > .showcase-details,.player-showcase > .showcase-player-card,
.player-showcase > .showcase-aside{position:relative;z-index:2;min-width:0}
.showcase-player-card{background:#080808!important;border-color:#272727!important;box-shadow:0 20px 40px #000a}
.showcase-player-card .showcase-art{
  background:radial-gradient(ellipse 65% 70% at 50% 50%,#272727,transparent 72%),#090909!important;
}
.showcase-player-card .showcase-card-caption{
  background:#080808!important;border-color:#333!important;
}
.showcase-player-card .showcase-card-caption strong{color:var(--gold)}
.showcase-player-card .showcase-card-caption span{color:#a9a9a9}
.showcase-player-card .showcase-serial b{color:var(--gold)}
/* Compact performance module: narrow column, short header, no stretch. */
.showcase-aside{align-self:start!important;display:flex!important;flex-direction:column;gap:0;justify-content:flex-start!important}
.showcase-aside .showcase-panel{
  flex:0 0 auto!important;max-width:100%;width:100%;
  padding:0!important;overflow:hidden;
  background:#080808eb!important;border:1px solid #333!important;
  border-radius:12px;box-shadow:0 8px 20px #0007;
  backdrop-filter:blur(4px);
}
.performance-header{
  min-height:66px!important;height:auto!important;max-height:none;
  padding:13px 16px!important;
  display:flex;align-items:center;
  background:#090909!important;border-bottom:1px solid #282828!important;
}
.performance-header::before,.performance-header::after{display:none!important}
.performance-header-copy{gap:4px;max-width:100%}
.performance-header .eyebrow{margin:0;color:var(--gold);font-size:10px;letter-spacing:1.45px}
.performance-class-name{font-size:10px;color:#bdbdbd}
.performance-class-art{display:none!important}
.performance-content{flex:0 0 auto;background:transparent!important;padding:14px 16px 17px!important}
.performance-content .score-mega{margin:0 0 12px;gap:7px}
.performance-content .score-mega strong{font-size:34px;line-height:1;color:#e9e9e9}
.performance-content .score-mega span{color:#a3a3a3;font-size:10px}
.performance-content .showcase-line{font-size:11px;margin:7px 0}
.performance-content .form-bars{margin:10px 0 12px;height:3px}
/* Podium, tables and remaining cards: no colored backgrounds. */
.podium-card,.podium-card .podium-content{
  background:#080808!important;border-color:#303030!important;
}
.podium-card.place-1{border-color:#676767!important;box-shadow:0 14px 38px #000a}
.podium-card .podium-art,.podium-card.place-1 .podium-art{
  background:radial-gradient(circle at 50% 35%,#252525,transparent 66%),#080808!important;
}
.podium-card .podium-foot,.podium-card.place-1 .podium-foot{background:#0c0c0c!important;border-color:#303030}
.podium-card .podium-position{background:#090909e8;color:#d5d5d5;border-color:#333}
.podium-card .podium-name{color:var(--gold)!important}
.podium-card .podium-numbers>b{color:#dedede}.podium-card .podium-numbers span{color:#9b9b9b}
.map-card{background:#080808!important;border-color:#333;color:#d9d9d9}
.map-card:hover,.map-card.selected{border-color:#b0b0b0}
.map-card.selected{box-shadow:0 0 0 1px #696969}
.map-card .map-label small,.map-card.selected .map-label small{color:#aaa}
.map-unavailable{background:#090909!important;color:#999}
.winner-panel h2{color:var(--gold)}.timer{color:#ddd}
.report-cell,.rule-block{background:#090909!important;border-color:#2d2d2d!important}
.rules-grid .rule-block strong{color:var(--gold)}
.notice,.notice.warning,.notice.error{background:#0a0a0a!important;border-color:#333!important;color:#bbb}
.toast,.toast.error{background:#101010!important;color:#e6e6e6;border-color:#3d3d3d}
/* Login: third-party provider buttons match the site, no branded colored backgrounds. */
.login-layout{background:#060606!important;border:1px solid #303030!important}
.login-intro,.login-panel{background:#080808!important}
.login-intro::before{background:radial-gradient(circle at 75% 30%,#ffffff08,transparent 65%)!important}
.login-panel{border-left:1px solid #292929!important}
.login-orbit{border-color:#343434;color:#e5bc620f}
.login-provider,.login-provider.login-discord,.login-provider.disabled{
  background:#0e0e0e!important;color:#e4e4e4!important;border:1px solid #3b3b3b!important;
}
.login-provider:hover:not(.disabled){background:#181818!important;box-shadow:none}
.login-provider-icon{background:#191919;color:#ddd}
.login-rule{background:linear-gradient(90deg,transparent,#343434,transparent)}
@media(max-width:1250px){
  .player-showcase{grid-template-columns:minmax(0,1fr) minmax(270px,325px)}
  .showcase-aside{grid-column:1/-1;justify-self:end;width:min(100%,330px)}
  .player-showcase > .profile-class-backdrop{width:82%;opacity:.28}
}
@media(max-width:680px){
  .player-showcase{grid-template-columns:1fr;gap:16px;padding:14px}
  .showcase-aside{grid-column:auto;justify-self:stretch;width:100%}
  .player-showcase > .profile-class-backdrop{width:100%;opacity:.2;object-position:70% center}
  .showcase-player-card{max-width:380px;width:100%;justify-self:center}
  .performance-header{min-height:62px!important}
  .performance-content{padding:13px 15px 15px!important}
  .login-panel{border-left:0!important;border-top:1px solid #292929!important}
}
/* Smaller utility surfaces share the same neutral treatment. */
.progress-step,.progress-step.passed,.progress-step.current,
.seg-item,.seg-item.selected,.pre,.profile-hero,.profile-avatar,
.feature-strip>div,.tier-mark,.avatar-option,.avatar-option.active,
.avatar-option:hover,.upload-visual,.roster-tag.multi,
.character-choice .choice-symbol,.podium-picture,
.podium-team .team-logo,.team-identity .team-logo{
  background:#090909!important;border-color:#303030!important;
}
.progress-step.current,.seg-item.selected{color:#e4e4e4!important;border-color:#686868!important}
.progress-step.passed{color:#aaa!important}
.hero-emblem::before{background:#080808!important}
.hero-mini-card span,.hero-mini-card small{color:#aaa}
.hero-elite::before,.hero::before{filter:grayscale(1);opacity:.06}
.map-unavailable-grid{background-image:linear-gradient(90deg,#ffffff0a 1px,transparent 1px),linear-gradient(#ffffff0a 1px,transparent 1px)!important}
.avatar-option.active,.avatar-option:hover{transform:none;border-color:#666!important}
.auth-provider,.auth-provider:hover,.auth-provider.discord,.auth-provider.discord:hover{
  background:#0e0e0e!important;color:#dcdcdc!important;border-color:#383838!important;
}
