#account { display:flex; align-items:center; gap:10px; }
.identity-avatar { display:inline-flex; flex-shrink:0; position:relative; overflow:hidden; align-items:center; justify-content:center; vertical-align:middle; background:radial-gradient(ellipse at top,#51443e,#1d2023 80%); border:1px solid #68584d; color:#c5ad98; box-shadow:inset 0 0 18px #0007; }
.identity-avatar img { width:100%; height:100%; object-fit:cover; display:block; }
.avatar-initials { font:300 1em 'Manrope',sans-serif; letter-spacing:-.04em; }
.avatar-tiny { width:29px; height:29px; font-size:10px; }
.avatar-small { width:42px; height:42px; font-size:15px; }
.avatar-medium { width:62px; height:62px; font-size:22px; }
.avatar-large { width:96px; height:96px; font-size:35px; }
.avatar-hero { width:164px; height:164px; font-size:54px; border:1px solid #aa8461; box-shadow:0 0 0 5px #17191b,0 0 0 6px #5d5248,0 12px 45px #0009; }
.team-avatar { border-radius:3px; }
.identity-inline { display:inline-flex; align-items:center; gap:10px; min-width:0; }
.identity-inline > span:last-child { overflow-wrap:anywhere; }
.identity-inline:hover { color:#ecc3a0; }
.bracket-match .identity-inline { gap:7px; }
.bracket-match .avatar-tiny { width:24px; height:24px; }
.player-hero { position:relative; isolation:isolate; min-height:300px; padding:40px 36px 0; overflow:hidden; background:radial-gradient(ellipse at 72% 48%,#73372730,transparent 60%),linear-gradient(110deg,#24282a88,#1a171955); border-top:1px solid #74655270; border-bottom:1px solid #74655270; }
.player-hero::before { content:''; position:absolute; inset:0; pointer-events:none; background:linear-gradient(130deg,transparent 50%,#ffffff02 50.2%,transparent 50.4%),linear-gradient(45deg,transparent 75%,#a67c4c08 75.2%,transparent 75.5%); z-index:-1; }
.profile-art { position:absolute; inset:-100px -80px -130px auto; width:530px; background:url('/pudge.png') center/contain no-repeat; opacity:.12; filter:grayscale(.7); pointer-events:none; z-index:-1; mask-image:linear-gradient(90deg,transparent,#000 30%); }
.player-identity { display:grid; grid-template-columns:175px 1fr 160px; align-items:center; gap:35px; min-height:185px; }
.portrait-mount { position:relative; width:164px; }
.portrait-mount::after { content:''; position:absolute; left:15%; right:15%; height:1px; bottom:-7px; background:#e09c6a; box-shadow:0 0 16px 3px #d554283b; }
.portrait-edit { position:absolute; inset:auto 1px 1px; padding:10px 5px; border:0; font-size:9px; letter-spacing:.06em; background:#0a1018d9; color:#d1bcaa; box-shadow:none; text-transform:uppercase; }
.portrait-edit:hover { transform:none; background:#28201ed9; }
.player-nameplate { min-width:0; }
.player-nameplate .eyebrow { margin:0 0 10px; font-size:9px; }
.player-nameplate h1 { font-size:clamp(30px,4vw,52px); margin:0 0 16px; letter-spacing:-.035em; overflow-wrap:anywhere; }
.player-meta { display:flex; flex-wrap:wrap; gap:8px 20px; color:#8f999a; font-size:11px; }
.profile-team { margin-top:15px; font-size:12px; color:#d7c3b0; }
.profile-actions { display:flex; gap:20px; margin-top:18px; font-size:10px; color:#ac8e76; }
.profile-actions a:hover { color:#ebbf9a; }
.mmr-emblem { display:grid; justify-items:center; align-content:center; position:relative; padding:10px; }
.rating-rune { width:64px; height:64px; display:grid; place-items:center; transform:rotate(45deg); border:1px solid #ab85597a; box-shadow:inset 0 0 20px #c37a2e10,0 0 30px #b0772d0b; margin-bottom:15px; }
.rating-rune::before { content:''; position:absolute; inset:7px; border:1px solid #a8885540; }
.rating-rune i { display:block; width:25px; height:25px; border-top:1px solid #dfb57d; border-left:1px solid #dfb57d; }
.mmr-emblem strong { font:300 31px 'Manrope',sans-serif; color:#e2c19a; }
.mmr-emblem > span { font-size:9px; text-transform:uppercase; letter-spacing:.18em; color:#a28c75; margin-top:5px; }
.profile-bottom { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:30px; padding:17px 0; border-top:1px solid #ffffff08; }
.profile-bottom > span { font-size:10px; color:#758185; }
.profile-bottom .small-button { padding:6px 12px; font-size:10px; border-color:transparent; }
.admin-entry { display:inline-block; padding:11px 18px; color:#e8ba97; border:1px solid #ab714c66; background:#b56c3810; font-size:11px; }
.admin-entry:hover { background:#b56c3828; }
.player-statline { display:grid; grid-template-columns:repeat(4,1fr); margin:20px 0 30px; padding:10px 0; }
.player-statline > div { padding:5px 25px; border-right:1px solid #ffffff0b; }
.player-statline > div:first-child { padding-left:0; }
.player-statline > div:last-child { border:0; }
.player-statline strong { font:300 29px 'Manrope',sans-serif; color:#d4d7d5; }
.player-statline span { display:block; font-size:10px; color:#8e9697; margin-top:6px; }
.profile-overview { display:grid; grid-template-columns:minmax(0,1fr) 290px; gap:45px; padding-top:15px; }
.profile-overview h2 { font-size:25px; }
.profile-squad { padding:25px 0 25px 25px; border-left:1px solid #6c625126; }
.profile-squad .eyebrow { font-size:9px; }
.squad-title { display:flex; gap:15px; align-items:center; margin-bottom:22px; }
.squad-title h3 { font:400 19px 'Manrope',sans-serif; }
.squad-member { display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid #ffffff08; font-size:12px; }
.squad-member small { display:block; color:#7d888b; font-size:9px; margin-top:5px; }
.squad-member em { margin-left:auto; font-style:normal; color:#b2977c; font-size:10px; }
.profile-empty { min-height:230px; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; padding:30px; }
.empty-rune { opacity:.55; margin:15px 0; }
.empty-rune .mark { width:29px; height:31px; filter:none; }
.profile-empty h3 { font-size:21px; margin:10px 0; }
.profile-empty p { max-width:360px; font-size:12px; color:#879092; line-height:1.8; }
.profile-empty a { margin-top:12px; }
.history-row { display:grid; grid-template-columns:90px minmax(0,1fr) 48px; gap:15px; align-items:center; border-bottom:1px solid #ffffff0a; padding:20px 0; }
.history-row > small { grid-column:2/-1; font-size:9px; color:#758184; }
.match-outcome { font-size:9px; letter-spacing:.08em; }.victory { color:#8fae91; }.defeat { color:#bf7d69; }
.history-opponents { font-size:12px; line-height:1.7; }.history-opponents small { display:block; color:#7f888b; font-size:10px; }
.history-row > strong { font:400 17px 'Manrope',sans-serif; color:#d1b59c; }
.team-heading { display:flex; align-items:center; gap:25px; margin:25px 0 35px; }.team-heading > button { margin-left:auto; }
.team-heading .eyebrow { margin-bottom:8px; font-size:9px; }.team-heading h2 { font-size:30px; }.team-heading .muted { margin-bottom:0; }
.team-directory-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px 40px; }
.team-directory-card { padding:28px 0; border-top:1px solid #a87b4e32; }
.team-card-main { display:flex; align-items:center; gap:24px; }.team-card-main h2 { font-size:25px; margin:10px 0; }
.team-card-main small { font-size:8px; letter-spacing:.14em; color:#ad8464; }.team-card-main p { font-size:11px; color:#869092; }
.team-avatar-strip { display:flex; align-items:center; gap:9px; padding-top:23px; }.team-details-link { margin-left:auto; color:#bd9b7b; font-size:11px; }
.team-public-header { display:flex; align-items:center; gap:40px; padding:40px 0 55px; }
.team-public-header h1 { font-size:clamp(30px,5vw,56px); margin:15px 0; }.team-public-header .small-button { margin-top:10px; }
.public-roster { display:grid; grid-template-columns:repeat(5,1fr); gap:20px; margin:30px 0; }
.public-player-card { display:flex; flex-direction:column; align-items:center; text-align:center; padding:25px 10px; background:linear-gradient(180deg,#6d63500c,transparent); border-top:1px solid #8f7a5240; }
.public-player-card .identity-avatar { margin:0 0 24px; }.public-player-card h3 { font:400 20px 'Manrope',sans-serif; margin:10px 0; overflow-wrap:anywhere; }
.player-position { font-size:9px; color:#a99986; }
.demo-label { color:#9c8e76; border:1px solid #85735240; padding:3px 6px; margin-left:10px; font-size:8px; letter-spacing:.06em; vertical-align:middle; }
.demo-notice { font-size:11px; color:#9b8b78; margin:10px 0 30px; padding:12px 0; border-bottom:1px solid #9f7a4630; line-height:1.7; }
.avatar-editor { display:flex; justify-content:center; padding:25px 0; }
#avatar-crop { width:220px; height:220px; border:1px solid #a08365; background:#12191d; }
.file-picker { display:block; border:1px dashed #92765c; padding:16px; color:#dab28d; text-align:center; }
.file-picker input { display:block; margin-top:10px; border:0; padding:8px; color:#b4a69a; }#avatar-zoom { accent-color:#c18e65; }
@media(max-width:950px) {
.player-identity { grid-template-columns:145px minmax(0,1fr) 110px; gap:20px; }.portrait-mount,.portrait-mount .avatar-hero { width:134px; }.portrait-mount .avatar-hero { height:134px; }.player-hero { padding:30px 25px 0; }.profile-overview { grid-template-columns:minmax(0,1fr) 250px; gap:25px; }.public-roster { grid-template-columns:repeat(3,1fr); }
}
@media(max-width:650px) {
.player-hero { padding:25px 18px 0; }.player-identity { grid-template-columns:90px minmax(0,1fr); gap:20px; min-height:150px; }.portrait-mount,.portrait-mount .avatar-hero { width:86px; }.portrait-mount .avatar-hero { height:104px; font-size:32px; }.portrait-edit { font-size:7px; padding:8px 2px; }.player-nameplate h1 { font-size:28px; margin-bottom:10px; }.player-nameplate .eyebrow { font-size:7px; letter-spacing:.12em; }.player-meta { font-size:9px; gap:5px; }.profile-actions { font-size:8px; gap:10px; flex-wrap:wrap; }.profile-team .avatar-tiny { width:24px; height:24px; }.profile-team { font-size:10px; margin-top:10px; }.mmr-emblem { grid-column:1/-1; grid-row:2; display:flex; gap:10px; padding:0; justify-content:flex-start; }.rating-rune { width:20px; height:20px; margin:0 4px; }.rating-rune i { width:8px; height:8px; }.rating-rune::before { inset:3px; }.mmr-emblem strong { font-size:20px; }.mmr-emblem > span { font-size:8px; margin:0; }.profile-bottom { margin-top:18px; gap:10px; flex-wrap:wrap; }.profile-bottom > span { font-size:8px; }.admin-entry { font-size:9px; padding:9px 11px; }.player-statline > div { padding:5px 10px; }.player-statline strong { font-size:24px; }.player-statline span { font-size:8px; line-height:1.6; }.profile-overview { grid-template-columns:1fr; gap:20px; }.profile-squad { padding:20px 0; border-left:0; border-top:1px solid #ffffff10; }.team-directory-grid { grid-template-columns:1fr; gap:0; }.team-card-main h2 { font-size:24px; }.team-card-main .avatar-large { width:80px; height:80px; }.team-public-header { gap:25px; padding:20px 0 35px; }.team-public-header .avatar-hero { width:95px; height:95px; font-size:36px; }.team-public-header .eyebrow { font-size:8px; }.team-public-header h1 { font-size:29px; }.public-roster { grid-template-columns:1fr 1fr; gap:12px; }.public-player-card h3 { font-size:17px; }.team-heading { flex-wrap:wrap; gap:15px; }.team-heading > button { margin-left:0; }.team-heading h2 { font-size:27px; }.match-teams { gap:10px; }.match-teams .identity-inline { flex-direction:column; font-size:11px; text-align:center; }.match-teams strong:last-child,.match-teams strong { text-align:center; }.history-row { grid-template-columns:65px minmax(0,1fr) 37px; gap:10px; }.match-outcome { font-size:8px; }.history-opponents { font-size:10px; }#account .avatar-tiny { width:23px; height:23px; }#account { gap:6px; }
}

.wrap { width: min(1520px, calc(100% - 2 * clamp(16px, 4vw, 64px))); margin-inline: auto; min-width: 0; }
header .wrap { justify-content: space-between; }
header nav { justify-content: center; min-width: 0; }
body { background: radial-gradient(ellipse at 50% 25%, #47231c35, transparent 55%), #100e10; }
.event > * { min-width: 0; }
.event .stats { gap: clamp(16px, 3vw, 44px); }
.event .stats span { color: #cab9ad; margin: 0 0 8px; font-size: 14px; line-height: 1.4; }
.event .stats strong { display: block; color: #f1cead; font: 400 clamp(21px, 2.3vw, 32px) 'Manrope', sans-serif; white-space: nowrap; }
.event > .button { justify-self: start; }
:is(.eyebrow,.muted,.help,.tag,.demo-label,.demo-notice,.text-link,.tabs a,.small-button,.profile-actions,.profile-bottom > span,.player-statline span,.stats span,.big-stats span,.match-meta,.match-outcome,.history-row small,.squad-member small,.squad-member em,.player-position,.team-card-main small,.team-card-main p,.team-details-link,.mmr-emblem > span,.hero-caption span,.motion-toggle,.subnav .wrap,.section-heading small,.panel-head,.bracket-match small,.round p,.step-number,th,small,footer,label,nav a,.portrait-edit,#account) { font-size: 0.875rem; letter-spacing: normal; }
:is(td,.prose, details p,.notice,.squad-member,.history-opponents,.actions .button,.event button,input,select,textarea) { font-size: 0.9375rem; }
form output { display: block; }
@media(max-width:950px) {
  .event > .button { grid-column: 2 / -1; }
}
@media(max-width:650px) {
  header nav { flex-wrap: wrap; }
  header nav a { flex: 1 0 auto; padding: 8px; }
  .event > .button { grid-column: 1 / -1; }
  .player-statline { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .player-statline > div { padding: 8px; }
  .portrait-edit { font-size: 0.875rem; line-height: 1.2; }
  .history-row { grid-template-columns: minmax(85px,auto) minmax(0,1fr) auto; }
}
.captain-portrait { position: relative; display: inline-flex; flex-shrink: 0; }
.captain-crown { position: absolute; z-index: 2; top: -8px; right: -8px; display: grid; place-items: center; width: 26px; height: 26px; color: #ffe0a0; border: 1px solid #bc9054; border-radius: 50%; background: #38231b; box-shadow: 0 2px 9px #0009; font-size: 19px; line-height: 1; }
.player-details { display: grid; gap: 9px; color: #dfd3c6; font-size: 16px; }
.player-details > * { display: flex; align-items: center; gap: 10px; }
.player-details i { display: inline-grid; place-items: center; width: 25px; color: #e7ae73; font-style: normal; }
.player-details a,.team-rank { color: #e7ae73; }
.mmr-emblem .team-rank { font-size: 14px; letter-spacing: normal; text-align: center; }
.captain-crown { background:none; border:0; box-shadow:none; color:#ffdf91; filter:drop-shadow(0 0 4px #e8a74090); }
.captain-crown svg { width:24px; height:24px; }
.role-icon { flex:none; vertical-align:middle; }
.rank-insignia { display:inline-flex; align-items:center; gap:8px; color:#e7bf85; }
.profile-overview { grid-template-columns:minmax(0,1fr) minmax(290px,360px); }
.squad-member { align-items:flex-start; gap:16px; padding:16px 0; }
.squad-info { display:grid; gap:7px; font-size:15px; color:#c4b4a8; }
.squad-info > span { display:flex; align-items:center; gap:8px; }
.squad-info strong { color:#f0e2d5; font-size:17px; overflow-wrap:anywhere; }
@media(max-width:750px) { .profile-overview { grid-template-columns:minmax(0,1fr); } }
.captain-crown svg { fill: currentColor; }
.roster, .public-roster { grid-template-columns: repeat(auto-fit,minmax(min(100%,285px),1fr)); }
.roster-member, .public-player-card, .squad-member {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: start;
  gap: 16px;
  text-align: left;
}
.public-player-card .identity-avatar { margin: 0; width: 62px; height: 62px; }
.roster-member .squad-info > button { justify-self: start; margin-top: 5px; }
.squad-info > span { overflow-wrap: anywhere; }
.captain-crown { top: 4px; right: 4px; width: 24px; height: 24px; filter: drop-shadow(0 1px 2px #201003) drop-shadow(0 0 5px #e8a74080); }
.captain-crown svg { width: 20px; height: 20px; }
.role-icon-solid { fill: currentColor; stroke: none; }
.roster, .public-roster { grid-template-columns: repeat(auto-fit, minmax(min(100%, 390px), 1fr)); gap: 16px; }
.roster-member, .public-player-card, .squad-member {
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(12px, 2vw, 22px);
  padding: 18px;
  border: 1px solid #8f7a5240;
  background: linear-gradient(125deg, #382a235c, #19141850);
}
.squad-member { margin-bottom: 12px; }
:is(.roster-member, .public-player-card, .squad-member) .identity-avatar {
  width: clamp(76px, 8vw, 108px);
  height: clamp(92px, 10vw, 128px);
  border-color: #b58a5e79;
}
.squad-info { gap: 10px; min-width: 0; }
.squad-info strong { font: 500 20px 'Manrope', sans-serif; }
.squad-info .roster-role { color: #e8c5a2; }
.roster-facts { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0; padding: 10px 0; border-block: 1px solid #a6876d30; }
.roster-facts dt { color: #baaa9e; font-size: 14px; }
.roster-facts dd { margin: 2px 0 0; color: #f0e2d5; font-size: 15px; overflow-wrap: anywhere; }
.roster-rank { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.roster-captain { color: #e7bf85; font-size: 14px; }
.roster-facts { display: grid; justify-items: start; gap: 10px; min-width: 0; border: 0; padding: 2px 0 4px; }
.roster-facts > div { min-width: 0; }
.roster-facts dd { margin: 0; }
.roster-rating {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
  padding: 5px 13px; border: 1px solid #bc895779; border-radius: 5px;
  background: linear-gradient(110deg, #543427, #2d211d);
}
.roster-rating dt { color: #e1ba94; font-size: 13px; }
.roster-rating dd { color: #ffe1b6; font: 600 21px 'Manrope', sans-serif; }
.roster-dota { box-sizing: border-box; width: 100%; max-width: 210px; border: 1px solid #ad907746; border-radius: 5px; padding: 7px 10px; background: #140f1390; }
.roster-dota dd { margin-top: 3px; font-variant-numeric: tabular-nums; }
.roster-age { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.roster-age dd { color: #e0c7b5; }
.roster-rank { border-top: 1px solid #a6876d30; padding-top: 8px; }
.roster-facts { display: block; }
.roster-dota { margin-bottom: 10px; }
:is(.roster-member,.public-player-card,.squad-member) { position: relative; }
.squad-info strong { padding-right: 78px; }
.roster-rating { position:absolute; top:10px; right:10px; padding:4px 7px; gap:4px; }
.roster-rating dt,.roster-rating dd { font-size:12px; line-height:1.3; }
.rank-flame { color:#ffc17d; font-weight:600; }
@supports (background-clip:text) {
  .rank-flame { color:transparent; background:linear-gradient(105deg,#fa793c,#ffbe61,#fff0b3,#ff8b3e,#fa793c); background-size:240% 100%; background-clip:text; filter:drop-shadow(0 0 5px #ff7b414f); animation:rank-glow 3s linear infinite; }
}
@keyframes rank-glow { to { background-position:240% 0; } }
.team-public-header,.banner-preview {
  position:relative; isolation:isolate; overflow:hidden;
  background:#181318; border:1px solid #d2a17a42;
}
.team-public-header { padding:clamp(20px,4vw,56px); margin-bottom:28px; }
.team-public-header::before,.banner-preview::before {
  content:''; position:absolute; z-index:-1; inset:-25%;
  background:radial-gradient(ellipse at 73% 26%,var(--beam),transparent 44%),
  radial-gradient(ellipse at 25% 90%,var(--halo),transparent 50%),
  repeating-linear-gradient(var(--angle),transparent 0 22px,#ffffff0a 23px,transparent 26px 58px);
  animation:banner-drift 12s ease-in-out infinite alternate;
}
.team-public-header::after { content:''; position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,#151117b0,transparent),linear-gradient(0deg,#151117b5,transparent 80%); }
.banner-embers { --beam:#db5c38ac; --halo:#ac331a9a; --angle:123deg; }
.banner-aurora { --beam:#48c4b7b0; --halo:#5633b29c; --angle:154deg; }
.banner-storm { --beam:#547ddec2; --halo:#253673bc; --angle:102deg; }
.banner-eclipse { --beam:#db9a51c2; --halo:#9727659c; --angle:55deg; }
.banner-abyss { --beam:#9354d8c0; --halo:#183663bf; --angle:76deg; }
.banner-preview { height:95px; margin:12px 0; border-radius:5px; }
.team-bio { max-width:56ch; padding:8px 14px; background:#151116a8; border-left:2px solid #d7a57890; border-radius:3px; overflow-wrap:anywhere; }
.team-bio p { margin:5px 0; white-space:pre-wrap; }
.team-bio span { color:#e1b991; margin-right:6px; }
.team-public-header .small-button + .small-button { margin-left:8px; }
@keyframes banner-drift { to { transform:translate3d(-8%,5%,0) scale(1.16); } }
@media(max-width:650px) { .team-public-header { align-items:flex-start; flex-wrap:wrap; } .squad-info strong { padding-right:0; } :is(.roster-member,.public-player-card,.squad-member) { padding-top:38px; } }
@media(prefers-reduced-motion:reduce) { .rank-flame,.team-public-header::before,.banner-preview::before { animation:none; } }
.squad-member { padding-top: 38px; } .squad-member .squad-info strong { padding-right: 0; }
.roster-portrait { display:grid; gap:9px; justify-items:center; width:clamp(76px,8vw,108px); }
.portrait-titles { display:grid; justify-items:center; gap:5px; max-width:100%; text-align:center; }
.portrait-titles .rank-insignia { flex-direction:column; gap:2px; font-size:13px; overflow-wrap:anywhere; max-width:100%; }
.portrait-titles svg { width:20px; height:20px; }
.arena-stats { margin:22px 0 30px; padding:20px clamp(16px,3vw,32px); border:1px solid #a37b534c; background:linear-gradient(110deg,#3c262567, #19171c 64%); }
.arena-stats h2 { font-size:22px; color:#ecd3bc; margin-bottom:16px; }
.arena-stats .player-statline { margin:0; padding:0; gap:12px; }
.arena-stats .player-statline > div { border:0; border-top:2px solid #d28a5c70; padding:12px; background:#15121780; }
.arena-stats .player-statline > div:nth-child(2) { border-color:#8fb190; }
.arena-stats .player-statline > div:nth-child(3) { border-color:#bba175; }
.arena-stats .player-statline > div:nth-child(4) { border-color:#be8aaa; }
.arena-stats .player-statline strong { color:#f7dec5; }
.arena-stats .player-statline span { font-size:14px; color:#c5b7ac; }

.banner-aurora::before { background: repeating-radial-gradient(ellipse at 70% -20%,transparent 0 10%,#4adabc85 14%,#40348955 19%,transparent 28%),#101326; animation:aurora-sweep 14s ease-in-out infinite alternate; }
.banner-storm::before { background: repeating-linear-gradient(116deg,transparent 0 27px,#b6d9fa40 28px,transparent 30px 72px),radial-gradient(ellipse at 70% 15%,#5190c9,#131a33 64%); animation:storm-slide 8s linear infinite alternate; }
.banner-eclipse::before { background:radial-gradient(circle at 69% 45%,#100b17 0 13%,#fbc279 14%,#ae552a 15%,#61274d 19%,transparent 29%),#1e1425; animation:eclipse-haze 9s ease-in-out infinite alternate; }
.banner-abyss::before { background: repeating-conic-gradient(from 30deg at 66% 45%,#4a277a, #182039 13%,#29184e 22%); animation:abyss-turn 32s linear infinite; }
.banner-ru { --flag:linear-gradient(#efedf2 0 33.33%,#2454a6 33.33% 66.66%,#be3541 66.66%); }
.banner-kz { --flag:radial-gradient(circle at 69% 36%,#ffd966 0 11%,transparent 11.5%),linear-gradient(90deg,#eab850 0 4%,#138fa7 4%); }
.banner-by { --flag:linear-gradient(90deg,#e7c6ad 0 5%,transparent 5%),linear-gradient(#b72c43 0 66%,#387e54 66%); }
.banner-uz { --flag:linear-gradient(#2887ac 0 31%,#be3f52 31% 33%,#e9ece5 33% 65%,#be3f52 65% 67%,#4d9f72 67%); }
.banner-kg { --flag:radial-gradient(circle at 68% 43%,#f9c15a 0 12%,transparent 12.5%),linear-gradient(#bf273d,#962739); }
.banner-am { --flag:linear-gradient(#bd3f4a 0 33.33%,#344e9a 33.33% 66.66%,#df963f 66.66%); }
.banner-az { --flag:linear-gradient(#3d9cc8 0 33.33%,#c63f55 33.33% 66.66%,#438657 66.66%); }
.banner-tj { --flag:linear-gradient(#b53147 0 29%,#eee5df 29% 71%,#438657 71%); }
:is(.banner-ru,.banner-kz,.banner-by,.banner-uz,.banner-kg,.banner-am,.banner-az,.banner-tj)::before {
  background:linear-gradient(110deg,#191421a8 15%,transparent 43%,#fff2 50%,transparent 57%,#19142165 85%),var(--flag);
  background-size:220% 100%,100% 100%; animation:flag-sheen 10s ease-in-out infinite alternate; opacity:.72;
}
@keyframes aurora-sweep { to { transform:translate3d(-5%,4%,0) skewX(-14deg) scale(1.16); } }
@keyframes storm-slide { to { transform:translate3d(-8%,7%,0); opacity:.65; } }
@keyframes eclipse-haze { to { transform:scale(1.13); filter:brightness(1.22); } }
@keyframes abyss-turn { from { transform:scale(1.6); } to { transform:scale(1.6) rotate(360deg); } }
@keyframes flag-sheen { from { background-position:left center,center; } to { background-position:right center,center; } }
@media(prefers-reduced-motion:reduce) { .team-public-header::before,.banner-preview::before { animation:none !important; } }
:is(.banner-ru,.banner-kz,.banner-by,.banner-uz,.banner-kg,.banner-am,.banner-az,.banner-tj)::before { inset:0; }
.banner-eclipse::before {
  background: radial-gradient(ellipse at 69% 55%, #070914 0 14%, #e0bcfb 14.3%, #874daf 15%, #39265e 17%, transparent 27%),
    repeating-conic-gradient(from 40deg at 69% 55%, #100c23 0deg, #4c2a63 12deg, #18152c 25deg);
  animation: eclipse-haze 12s ease-in-out infinite alternate;
}
.roster-score { position:absolute; top:10px; right:10px; display:grid; justify-items:end; gap:3px; }
.roster-score .roster-rating { position:static; }
.roster-score-rank .rank-insignia { font-size:11px; gap:3px; }
.roster-score-rank svg { width:15px; height:15px; }
.roster-dota { width:auto; padding:3px 0 3px 9px; background:none; border:0; border-left:2px solid #bd8d5c73; border-radius:0; }
.roster-dota dd { color:#ead2ba; letter-spacing:.04em; }
:is(.roster-member,.public-player-card,.squad-member):has(.roster-score-rank) { padding-top:57px; }
.player-hero,.hero-theme-preview { --heat:#b14139; --ash:#ffb467; --mist:#43202d; background:radial-gradient(ellipse at 77% 55%,var(--heat),transparent 53%),linear-gradient(120deg,#151018,var(--mist)); }
.theme-nevermore:is(.player-hero,.hero-theme-preview) { --heat:#a82520; --ash:#ff7337; --mist:#391a20; }
.theme-axe:is(.player-hero,.hero-theme-preview) { --heat:#a64c24; --ash:#ffac53; --mist:#39241b; }
.theme-phantom_assassin:is(.player-hero,.hero-theme-preview) { --heat:#24595e; --ash:#92e2db; --mist:#251b3e; }
.theme-invoker:is(.player-hero,.hero-theme-preview) { --heat:#754389; --ash:#ffcb7f; --mist:#36204b; }
img.profile-art { inset:0 0 0 auto; height:100%; width:min(64%,700px); object-fit:contain; object-position:right 65%; background:none; opacity:.65; filter:none; mask-image:linear-gradient(90deg,transparent,#000 35%); }
.player-identity,.profile-bottom { position:relative; }
.profile-sparks { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.profile-sparks i { position:absolute; bottom:-10px; left:var(--x); width:3px; height:3px; border-radius:50%; background:var(--ash); box-shadow:0 0 9px var(--ash); animation:profile-ember var(--speed) var(--delay) linear infinite; }
@keyframes profile-ember { from { transform:translate(0,0);opacity:0; } 20% {opacity:.8;} to { transform:translate(50px,-420px);opacity:0; } }
.hero-theme-preview { height:170px; position:relative; overflow:hidden; margin:12px 0; }
.hero-theme-preview img { width:100%; height:100%; object-fit:contain; }
.profile-actions { align-items:center; flex-wrap:wrap; }
@media(prefers-reduced-motion:reduce) { .profile-sparks i { animation:none; } }
:is(.roster-member,.public-player-card,.squad-member),
:is(.roster-member,.public-player-card,.squad-member):has(.roster-score-rank) { padding-top: 55px; align-items: start; }
.roster-portrait { align-content: start; }
.roster-score { top: 9px; right: 12px; }
.squad-info strong { padding-right: 0; }
.team-public-header button + button { margin-left: 8px; }
#panel { border: 1px solid #a476574d; border-radius: 15px; background: radial-gradient(ellipse at top right,#47282177,transparent 60%),#1c171b; box-shadow: 0 24px 90px #000b; }
#panel .close { position: sticky; top: 0; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 50%; color: #e3c9b7; background: #241b20; border: 1px solid #ae846655; }
#panel .close:hover { background:#513025; transform:none; }
#panel select { appearance:none; padding-right:35px; background:#241c22 linear-gradient(45deg,transparent 50%,#d2a27f 50%) calc(100% - 17px) 52% / 6px 6px no-repeat; }
.hero-picker { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; border:0; padding:0; margin:16px 0; }
.hero-picker legend { margin-bottom:10px; color:#d9bca8; }
.hero-choice { position:relative; margin:0; display:grid; align-content:start; overflow:hidden; cursor:pointer; text-align:center; border:1px solid #a4816740; border-radius:8px; background:#301f25; }
.hero-choice img { width:100%; height:86px; object-fit:cover; object-position:center 48%; }
.hero-choice span { padding:7px 4px; font-size:13px; line-height:1.25; }
.hero-choice input { position:absolute; opacity:0; width:1px; height:1px; }
.hero-choice:hover,.hero-choice:has(input:checked) { border-color:#f0ac74; background:#502d26; }
.hero-choice:has(input:focus-visible) { outline:2px solid #ffd0a6; outline-offset:2px; }
@media(max-width:550px) { .hero-picker { grid-template-columns:repeat(3,minmax(0,1fr)); } }
.theme-meepo:is(.player-hero,.hero-theme-preview) { --heat:#926035; --ash:#ffe181; --mist:#3c2e21; }
.player-hero .profile-art { inset:0 0 0 auto; width:min(64%,700px); opacity:.72; background:none; }
.profile-art :is(video,img),.hero-theme-preview :is(video,img) { width:100%; height:100%; object-fit:contain; display:block; }
.profile-art :is(video,img) { object-position:right center; }
.hero-theme-preview .hero-media { height:100%; }
.hero-picker { grid-template-columns:repeat(3,minmax(0,1fr)); }
.member-action-list { display:grid; gap:10px; padding-top:8px; }
.member-action-list button { text-align:left; padding:12px 16px; }
:is(.roster-member,.public-player-card,.squad-member) { align-items:start; }
.roster-portrait { justify-self:center; align-self:start; }
.event .tag,.page-head .tag { font-size:15px; font-weight:600; letter-spacing:.035em; padding:5px 9px; border:1px solid currentColor; border-radius:4px; }
.event .tag.open,.page-head .tag.open { color:#c3ecab; background:#34452d99; }
#account { border-radius:3px; color:#f2d2b9; border:1px solid #a7745466; background:linear-gradient(120deg,#482922b0,#1b171c 80%); box-shadow:inset 0 -2px #a7663e44; }
#account:hover { background:linear-gradient(120deg,#67372bbb,#2b1b22); }
#account .identity-avatar { border-radius:2px; }
.hero-choice img { height:108px; object-fit:contain; object-position:center; padding:4px; background:radial-gradient(ellipse at center,#64443745,transparent 75%); }
.backdrop-picker { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; padding:0; margin:16px 0; border:0; }
.backdrop-picker legend { margin-bottom:10px; color:#d9bca8; }
.backdrop-choice { position:relative; display:grid; gap:6px; margin:0; padding:6px; text-align:center; border:1px solid #a4816755; border-radius:6px; cursor:pointer; }
.backdrop-choice input { position:absolute; opacity:0; width:1px; height:1px; }
.backdrop-choice:has(input:checked),.backdrop-choice:hover { border-color:#f0ac74; background:#502d26; }
.backdrop-choice:has(input:focus-visible) { outline:2px solid #ffd0a6; }
.backdrop-swatch { height:22px; border-radius:3px; background:var(--profile-surface,linear-gradient(110deg,#342739,#a34932)); }
.backdrop-embers { --profile-surface:radial-gradient(ellipse at 72% 80%,#a23c23,transparent 56%),linear-gradient(130deg,#1a1018,#36181b); --ash:#ffb66b; }
.backdrop-aurora { --profile-surface:repeating-radial-gradient(ellipse at 78% -30%,#12172a 0 14%,#286e68 20%,#222346 28%); --ash:#9cf7d9; }
.backdrop-storm { --profile-surface:repeating-linear-gradient(118deg,transparent 0 37px,#82b8e83b 38px,transparent 40px 78px),radial-gradient(ellipse at 80% 0%,#4279ab,#12172d 75%); --ash:#c3eaff; }
.backdrop-eclipse { --profile-surface:radial-gradient(ellipse at 76% 48%,#120c20 0 17%,#dbbaf2 18%,#724186 20%,#23152c 32%); --ash:#ffd0fb; }
.backdrop-abyss { --profile-surface:repeating-conic-gradient(from 30deg at 74% 55%,#362052,#15182e 13%,#282048 22%); --ash:#cfb4ff; }
:is(.player-hero,.hero-theme-preview):not(.backdrop-auto) { background:var(--profile-surface); }
.player-hero .mmr-emblem {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-start;
  gap:4px 8px; padding:0; margin:0 0 16px; text-shadow:0 1px 6px #120a0a;
}
.player-nameplate .eyebrow::before { content:none; }
.player-hero .mmr-emblem > strong { font-size:20px; }
.player-hero .mmr-emblem > span { margin:0; font-size:12px; letter-spacing:.04em; }
.player-hero .profile-mmr {
  position:absolute; top:16px; right:clamp(14px,3vw,36px); z-index:2;
  display:flex; align-items:baseline; gap:9px; padding-bottom:5px;
  border-bottom:1px solid #dbad7a70; color:#ffe0bb; text-shadow:0 1px 5px #160b10;
}
.profile-mmr span { font-size:13px; letter-spacing:.12em; }
.profile-mmr strong { font:600 22px 'Manrope',sans-serif; }
.player-hero .profile-art { top:42px; }

.profile-squad .squad-member { padding-top:18px; }
.squad-mmr { display:flex; align-items:baseline; gap:8px; }
.squad-mmr dd { color:#f0c99f; font-weight:600; }
@media(max-width:650px) { .player-hero .player-identity { padding-top:24px; } }

#avatar-crop { width:min(100%,300px); height:auto; aspect-ratio:1; border-radius:8px; touch-action:none; cursor:grab; }
#avatar-crop:active { cursor:grabbing; }
:is(.squad-member,.public-player-card) .squad-info > button[data-action="member-actions"] { justify-self:start; margin-top:5px; }
.roster-rankline { display:flex; align-items:center; font-size:14px; }
.roster-rankline svg { width:21px; height:21px; flex:none; }
:is(.roster-member,.public-player-card):has(.roster-rankline) { padding-bottom:56px; }
:is(.roster-member,.public-player-card) .roster-rankline {
  position:absolute;
  right:14px;
  bottom:12px;
  max-width:calc(100% - 28px);
  justify-content:flex-end;
  text-align:right;
}

.brand-forge { position:relative; display:inline-grid; isolation:isolate; }
.brand .brand-lettering {
  display:block;
  font:400 clamp(20px,2.15vw,28px)/1 'Russo One','Arial Black',sans-serif;
  letter-spacing:.055em;
  white-space:nowrap;
  color:#dac0ab;
}
.brand-cinders { position:absolute; inset:0; pointer-events:none; }
.brand-cinders i {
  position:absolute; left:var(--x); bottom:20%; width:var(--size,2px); height:var(--size,2px);
  border-radius:50%; background:#d38256; box-shadow:0 0 3px #a44a2a;
  opacity:0; animation:brand-cinder-rise var(--speed) linear var(--delay) infinite;
}
.brand-cinders i:nth-child(1) { --x:9%; --speed:2.7s; --delay:-1.9s; --drift:-12px; }
.brand-cinders i:nth-child(2) { --x:22%; --speed:3.9s; --delay:-.7s; --drift:8px; }
.brand-cinders i:nth-child(3) { --x:38%; --speed:2.9s; --delay:-2.2s; --drift:-5px; --size:3px; }
.brand-cinders i:nth-child(4) { --x:50%; --speed:4.1s; --delay:-3.2s; --drift:14px; }
.brand-cinders i:nth-child(5) { --x:60%; --speed:2.8s; --delay:-1.1s; --drift:-9px; }
.brand-cinders i:nth-child(6) { --x:72%; --speed:3.6s; --delay:-2.4s; --drift:7px; --size:3px; }
.brand-cinders i:nth-child(7) { --x:83%; --speed:3.3s; --delay:-.4s; --drift:-4px; }
.brand-cinders i:nth-child(8) { --x:94%; --speed:4.2s; --delay:-1.5s; --drift:11px; }
@keyframes brand-cinder-rise {
  0%,12% { opacity:0; transform:translate(0,0); }
  25% { opacity:.78; }
  65% { opacity:.65; }
  100% { opacity:0; transform:translate(var(--drift),-32px) scale(.45); }
}
@media (prefers-reduced-motion:reduce) {
  .brand-cinders { display:none; }
}

@media (prefers-reduced-motion:no-preference) {
  .brand .brand-lettering { animation:brand-ember-glow 7s ease-in-out infinite; }
}
@keyframes brand-ember-glow {
  0%, 100% { text-shadow:0 0 4px #d77b5030; }
  50% { text-shadow:0 0 7px #ee975e80,0 0 18px #c6583a75; }
}
.brand-impact { display:inline-block; position:relative; }
.brand-impact-mark { display:inline-flex; flex-shrink:0; }
@media (prefers-reduced-motion:no-preference) {
  .brand-impact { animation:brand-land 640ms var(--arrival) both; }
  .brand-impact-mark { --arrival:90ms; }
  .brand-impact-first { --arrival:480ms; }
  .brand-impact-last { --arrival:850ms; }
  .brand-impact::before,.brand-impact::after {
    content:""; position:absolute; bottom:-3px; left:8%; right:8%;
    height:19px; pointer-events:none;
    background:
      radial-gradient(circle at 16% 70%,#b6907670,transparent 24%),
      radial-gradient(circle at 37% 49%,#c7a28a68,transparent 27%),
      radial-gradient(circle at 61% 67%,#98726185,transparent 29%),
      radial-gradient(circle at 86% 53%,#b9907b60,transparent 25%);
    filter:blur(1.1px); opacity:0;
    animation:brand-dust 850ms calc(var(--arrival) + 405ms) ease-out both;
  }
  .brand-impact::before { --dust-drift:-12px; }
  .brand-impact::after { --dust-drift:12px; scale:-1 1; animation-duration:1000ms; }
}
@keyframes brand-land {
  0% { opacity:0; transform:translateY(-27px) scaleY(1.15); }
  30% { opacity:1; }
  64% { transform:translateY(2px) scaleY(.88); }
  81% { transform:translateY(-3px) scaleY(1.04); }
  100% { opacity:1; transform:translateY(0) scaleY(1); }
}
@keyframes brand-dust {
  0% { opacity:0; transform:translate(0,3px) scale(.4,.45); }
  19% { opacity:.8; }
  100% { opacity:0; transform:translate(var(--dust-drift),-11px) scale(1.7,1.45); }
}
#account {
  min-width:0; max-width:min(240px,100%); gap:10px; padding:6px 12px 6px 6px;
  background:#241b20; border:1px solid #79564180; border-radius:5px;
  box-shadow:inset 0 -1px #bb744e44; color:#f2d8c2;
}
#account:hover { background:#302229; border-color:#c98b66; transform:none; filter:none; }
#account .identity-avatar,.account-guest {
  display:grid; place-items:center; width:34px; height:34px; flex:none;
  border:1px solid #bd845b65; border-radius:3px; background:#482c27; color:#e5ab82;
}
.account-copy { display:grid; gap:2px; min-width:0; text-align:left; line-height:1.25; }
.account-copy strong { font:600 15px/1.3 'Segoe UI',sans-serif; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.account-label { font:400 13px/1.3 'Segoe UI',sans-serif; color:#d4bfb4; }
.account-arrow { flex:none; margin-left:5px; color:#e1a27d; }
.account-unread { flex:none; padding:2px 5px; border-radius:4px; background:#6b382d; color:#ffe3c9; font-size:11px; }
@media(max-width:650px) {
  #account { max-width:min(170px,48%); gap:6px; padding-right:7px; }
  #account .identity-avatar,.account-guest { width:29px; height:29px; }
  .account-copy strong { font-size:13px; }
  .account-label { font-size:12px; }
  .account-arrow { display:none; }
}

#account .account-guest { background:transparent; border:0; }
#motion { display:grid; place-items:center; width:34px; height:34px; padding:0; border:1px solid #b67c5c60; border-radius:6px; color:#edc4a5; background:#22171dd9; }
#motion:hover { background:#45302c; border-color:#d29572; }
#motion svg { fill:currentColor; }
#motion .motion-play-icon,#motion[aria-pressed="true"] .motion-pause-icon { display:none; }
#motion[aria-pressed="true"] .motion-play-icon { display:block; }
.team-heading-actions { margin-inline-start:auto; }
@media(max-width:650px) { .team-heading-actions { margin-inline-start:0; } }
.team-edit-danger { margin-top:24px; padding-top:16px; border-top:1px solid #a0675144; }
.wallet-amount { color:#f1c8a5; font:600 28px Manrope,sans-serif; }
.team-banner-balance {
  position:absolute; top:14px; right:14px; display:flex; align-items:center; gap:9px;
  padding:7px 11px; border:1px solid #c38e6259; border-radius:5px;
  background:#171016dc; color:#f5d9bd; line-height:1.35; z-index:1;
}
.team-banner-balance:hover { border-color:#e4ad79; background:#271a20; }
.team-banner-balance small { display:block; color:#d0b5a1; font-size:12px; }
.team-banner-balance strong { display:block; font-size:17px; }
.team-ap-coin {
  display:grid; place-items:center; width:32px; height:32px; flex:none; border-radius:50%;
  background:linear-gradient(145deg,#c78c59,#63372d); border:1px solid #edb379;
  box-shadow:inset 0 0 0 2px #40261f75; color:#ffe3b6; font:700 11px Manrope,sans-serif;
}
.team-public-header:has(.team-banner-balance) { padding-top:max(68px,4vw); }
.team-ap-coin {
  position:relative;
  isolation:isolate;
  width:36px; height:36px;
  border:1px solid #f5d782;
  background:repeating-conic-gradient(from 5deg,#704313 0deg 5deg,#e3ad46 5deg 11deg,#f9df8b 11deg 15deg);
  box-shadow:0 2px 4px #120a05aa,0 0 9px #d58e322f;
  color:#fff0b8;
  font:800 12px/1 'Manrope',sans-serif;
  letter-spacing:.03em;
  text-shadow:0 1px 0 #582f0d,0 -1px 0 #8f541b;
}
.team-ap-coin::before {
  content:""; position:absolute; inset:3px; z-index:-1; border-radius:50%;
  border:1px solid #fff0abbd;
  background:radial-gradient(circle at 32% 23%,#f7d77d 0%,#c3872f 37%,#875017 75%,#bf8330 100%);
  box-shadow:inset 0 0 0 2px #7549188a,inset 0 1px 3px #fff4bb9c;
}
.team-ap-coin-stage { width:36px; height:36px; flex:none; perspective:150px; }
.team-ap-coin-spin { position:relative; display:block; width:100%; height:100%; transform-style:preserve-3d; animation:ap-coin-display 7s linear infinite; }
.team-ap-coin-spin .team-ap-coin { position:absolute; inset:0; backface-visibility:hidden; }
.team-ap-front { transform:translateZ(3px); }
.team-ap-back { transform:rotateY(180deg) translateZ(3px); }
.team-ap-edge {
  position:absolute; top:1px; bottom:1px; left:calc(50% - 3px); width:6px;
  border-radius:2px; transform:rotateY(90deg);
  background:repeating-linear-gradient(0deg,#734719 0 2px,#efc46c 2px 4px,#ad7026 4px 5px);
  box-shadow:0 0 2px #e9b051;
}
@keyframes ap-coin-display { from { transform:rotateX(10deg) rotateY(0deg); } to { transform:rotateX(10deg) rotateY(360deg); } }
@media (prefers-reduced-motion:reduce) { .team-ap-coin-spin { animation:none; } }
.guide-content { max-width:880px; }
.guide-content .surface { margin-bottom:18px; }
.guide-content h2 { margin-bottom:16px; font-size:clamp(23px,3vw,30px); }
.guide-content h3 { margin:24px 0 8px; font-size:18px; }
.guide-content p,.guide-content summary { line-height:1.75; font-size:15px; }
.guide-content a { color:#edb78c; text-decoration:underline; text-underline-offset:3px; }
