:root{color-scheme:dark}*{box-sizing:border-box}body.team-page{margin:0;background:#140e0f;color:#f4f4f5;font:15px/1.5 'Golos Text',system-ui,sans-serif}.team-page button,.team-page input{font:inherit}.team-page button{cursor:pointer}.team-page a{color:inherit}.team-page [hidden]{display:none!important}
.mt-club-avatar-controls{display:flex;flex-direction:column;align-items:center;gap:8px;margin:0 auto 18px}.mt-club-avatar-button{display:flex;align-items:center;justify-content:center;width:120px;height:120px;margin:0;padding:4px;border:1px solid transparent;border-radius:14px;background:transparent;transition:transform .2s,background .2s,border-color .2s}.mt-club-avatar-button .mt-club-emblem{margin:0}.mt-club-avatar-button:hover{transform:translateY(-2px);border-color:#ffffff24;background:#ffffff06}.mt-club-avatar-edit{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:30px;padding:5px 11px;border:1px solid #ffffff26;border-radius:7px;background:#ffffff0a;color:#e0d3d9;font:500 12px/1.3 'Golos Text',system-ui,sans-serif;cursor:pointer;transition:transform .2s,border-color .2s,background .2s,color .2s}.mt-club-avatar-edit>svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.mt-club-avatar-edit:hover{transform:translateY(-2px);border-color:#f1475a80;background:#ef29401a;color:#fff}.mt-club-avatar-button:focus-visible,.mt-club-avatar-edit:focus-visible,.mt-avatar-option:focus-visible,.mt-avatar-close:focus-visible{outline:2px solid #fff;outline-offset:4px}.mt-create-avatar{display:grid;gap:8px}.mt-create-avatar-label{font-size:13px;color:#c7bdc2}.mt-create-avatar-button{display:flex;align-items:center;gap:14px;width:100%;padding:12px 14px;background:#ffffff04;border:1px solid #54414a;border-radius:8px;text-align:left;color:#fff;transition:border-color .2s,transform .2s}.mt-create-avatar-button:hover{border-color:#ef394b;transform:translateY(-2px)}.mt-create-avatar-button>img{width:48px;height:48px;object-fit:contain}.mt-create-avatar-button>span{display:grid;gap:3px}.mt-create-avatar-button strong{font-size:14px}.mt-create-avatar-button small{font-size:12px;color:#a89aa2}.team-preview>img.team-emblem{object-fit:contain;padding:4px}
.mt-avatar-dialog{width:min(900px,calc(100vw - 32px));max-height:min(860px,calc(100svh - 40px));padding:0;border:1px solid #ffffff24;border-radius:18px;background:radial-gradient(ellipse at 100% 0,#68162326,transparent 50%),#171215;color:#f7f3f5;box-shadow:0 32px 100px #000b;overflow:hidden;font:14px/1.5 'Golos Text',system-ui,sans-serif}.mt-avatar-dialog[open]{display:flex;flex-direction:column}.mt-avatar-dialog::backdrop{background:#080408c9;backdrop-filter:blur(10px)}.mt-avatar-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:28px 28px 0;flex-shrink:0}.mt-avatar-eyebrow{display:block;color:#f16a79;font-size:10px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;margin-bottom:6px}.mt-avatar-header h2{margin:0;font-size:26px;line-height:1.25;font-weight:700;letter-spacing:-.025em}.mt-avatar-close{flex:none;width:34px;height:34px;padding:0;border:1px solid #ffffff18;border-radius:8px;background:#ffffff05;color:#b8aab2;font-size:26px!important;line-height:1}.mt-avatar-close:hover{background:#ffffff10;color:#fff}.mt-avatar-description{margin:10px 28px 22px;color:#a99ba4;font-size:13px;flex-shrink:0}.mt-avatar-content{overflow-y:auto;overscroll-behavior:contain;padding:4px 28px 12px;min-height:120px;scrollbar-width:thin;scrollbar-color:#6c3e49 #171215}.mt-avatar-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px}.mt-avatar-option{position:relative;min-width:0;aspect-ratio:1;padding:9px;border:1px solid #ffffff16;border-radius:12px;background:linear-gradient(145deg,#ffffff09,#ffffff02);color:#fff;transition:transform .18s,border-color .18s,background .18s,box-shadow .18s}.mt-avatar-option>img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 6px #0007);pointer-events:none}.mt-avatar-option:hover{transform:translateY(-3px);border-color:#b57a89;background:#ffffff0a}.mt-avatar-option[aria-pressed="true"]{border:2px solid #fa2942;padding:8px;background:#e6213620;box-shadow:0 0 0 2px #f5283b15,0 6px 18px #0004}.mt-avatar-option[aria-pressed="true"]::after{content:'✓';position:absolute;right:4px;bottom:4px;width:18px;height:18px;display:grid;place-items:center;border-radius:50%;background:#f22a40;color:#fff;font-size:11px;font-weight:700}.mt-avatar-option-name{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mt-avatar-status{min-height:20px;margin:8px 28px 12px;color:#b9a9b2;font-size:13px;flex-shrink:0}.mt-avatar-status.is-error{color:#ff8793}.mt-avatar-retry{grid-column:1/-1;justify-self:center;margin:24px 0}.mt-avatar-footer{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 28px;border-top:1px solid #ffffff12;background:#1b1519;flex-shrink:0}.mt-avatar-preview{display:flex;align-items:center;gap:12px;min-width:0}.mt-avatar-preview>img{width:54px;height:54px;object-fit:contain;flex:none}.mt-avatar-preview>div{min-width:0;display:grid;gap:3px}.mt-avatar-preview span{font-size:11px;color:#a99ba4}.mt-avatar-preview strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mt-avatar-actions{display:flex;gap:10px;flex:none}.mt-avatar-actions .team-button{border-radius:8px;min-width:100px}.mt-avatar-dialog button:disabled{cursor:wait;opacity:.55}.mt-avatar-grid[aria-busy="true"]{opacity:.55;pointer-events:none}
@media(max-width:600px){.mt-avatar-dialog{width:calc(100vw - 20px);max-height:calc(100svh - 24px);border-radius:14px}.mt-avatar-header{padding:20px 18px 0;gap:12px}.mt-avatar-header h2{font-size:22px}.mt-avatar-eyebrow{font-size:9px;letter-spacing:.1em}.mt-avatar-description{margin:10px 18px 18px;font-size:12px}.mt-avatar-content{padding:4px 18px 10px}.mt-avatar-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.mt-avatar-status{margin:6px 18px 10px;font-size:12px}.mt-avatar-footer{padding:14px 18px;gap:12px;flex-wrap:wrap}.mt-avatar-preview>img{width:44px;height:44px}.mt-avatar-actions{width:100%}.mt-avatar-actions .team-button{flex:1;min-width:0}.mt-create-avatar-button{padding:10px 12px}.mt-club-avatar-controls{gap:6px;margin-bottom:14px}.mt-club-avatar-button{width:90px;height:90px}}
@media(prefers-reduced-motion:reduce){.mt-club-avatar-button,.mt-club-avatar-edit,.mt-create-avatar-button,.mt-avatar-option{transition:none}.mt-club-avatar-button:hover,.mt-club-avatar-edit:hover,.mt-create-avatar-button:hover,.mt-avatar-option:hover{transform:none}}
.team-main{max-width:1160px;margin:auto;padding:40px 24px 72px;min-height:calc(100svh - 220px)}.team-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px}.team-heading h1{margin:0;font:700 clamp(28px,3.2vw,42px)/1.2 Unbounded,sans-serif;letter-spacing:-.03em}.team-eyebrow{color:#ee6c73;font-size:12px;letter-spacing:.12em;text-transform:uppercase;margin:0 0 10px}.team-muted{color:#a8a1a6;margin:10px 0 0}.team-subtitle{font-size:15px;max-width:570px;margin:14px 0 0;color:#b4acb1}
.team-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px}.team-panel{padding:26px;border:1px solid #443139;background:linear-gradient(145deg,#2b171b70,transparent 55%),#191315;border-radius:8px}.team-panel h2{font-size:22px;margin:0 0 12px}.team-panel p{line-height:1.6}.team-panel ol{padding-left:20px;color:#b6aeb3}.team-panel li{margin:12px 0}.team-form{display:grid;gap:20px;max-width:560px;margin-top:24px}.team-form label{display:grid;gap:7px;font-size:13px;color:#c7bdc2}.team-form input,.team-invite-input{width:100%;min-height:46px;border:1px solid #54414a;border-radius:4px;background:#110d0f;padding:10px 12px;color:#fff}.team-form input:focus,.team-invite-input:focus{outline:2px solid #e5252a;outline-offset:2px}.team-form small{color:#93868e}.team-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:20px}.team-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 17px;border:1px solid #5b424b;border-radius:4px;background:transparent;color:#fff;text-decoration:none;font-weight:600;font-size:14px}.team-button.is-primary{background:#e5252a;border-color:#e5252a}.team-button:hover{border-color:#f88791}.team-button.is-primary:hover{background:#f3323e}.team-button:disabled{opacity:.5;cursor:not-allowed}.team-small-button{border:0;background:none;color:#c1b3bc;font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:3px;padding:8px;cursor:pointer}.team-small-button:hover{color:#ff7783}.team-status{display:inline-flex;align-items:center;gap:7px;color:#7ed1a5;font-size:12px;font-weight:600}.team-status.is-pending{color:#d9bb83}.team-count{font:600 38px/1 Oswald,sans-serif;white-space:nowrap}.team-count small{font:400 14px 'Golos Text';color:#aa9aa3}.team-roster{list-style:none!important;padding:0!important;margin:20px 0!important}.team-roster li{display:flex;align-items:center;gap:14px;min-height:82px;padding:14px 0;margin:0!important;border-top:1px solid #ffffff15}.team-slot{color:#826974;font:500 20px Oswald;width:26px;flex:none}.team-avatar{width:42px;height:42px;border:1px solid #5a3948;border-radius:5px;object-fit:cover;background:#39242c;display:grid;place-items:center;font-weight:700}.team-member-name{flex:1;min-width:0}.team-member-name strong{display:block;color:#f4f4f5;overflow-wrap:anywhere}.team-member-name small{display:block;color:#a7969f;font-size:12px;margin-top:4px}.team-roster .team-empty{color:#887c84}.team-invite-input{font-size:12px!important;margin-top:12px}.team-invite-panel{align-self:start}.team-invite-panel .team-button{width:100%}.team-rule{margin-top:24px;padding-top:20px;border-top:1px solid #ffffff15;font-size:13px}.team-notice{padding:12px 16px;border:1px solid #436b53;border-radius:5px;background:#182b20;margin:0 0 20px;color:#c4efd5}.team-notice.is-error{border-color:#854754;background:#321921;color:#ffd2d9}.team-footer-actions{display:flex;justify-content:space-between;align-items:center;margin-top:20px;gap:16px}.team-preview{display:flex;gap:18px;align-items:center;margin:24px 0}.team-emblem{display:grid;place-items:center;min-width:72px;min-height:72px;padding:10px;border:1px solid #9d4b58;background:#3a1d24;color:#fff;font:600 24px Oswald;border-radius:8px}.team-empty-preview{display:flex;gap:8px;margin:24px 0}.team-empty-preview span{display:grid;place-items:center;width:42px;height:42px;border:1px dashed #63454e;border-radius:5px;color:#a27b87}.team-page .bbs-foot{color:#aaa0a6}.team-page .bbs-foot a{text-decoration:none}
#registered-team-list{margin:0 0 24px}.registered-teams{display:flex;flex-wrap:wrap;gap:12px}.registered-team{display:flex;align-items:center;gap:12px;padding:14px 18px;border:1px solid #ffffff20;background:#160f13aa;border-radius:5px;min-width:230px}.registered-team b{display:block}.registered-team small{display:block;color:#bbb0b6}.registered-team .team-emblem{min-width:44px;min-height:44px;font-size:16px}.registered-team-title{font-size:16px;margin:0 0 14px}
@media(max-width:760px){.team-main{padding:28px 18px 48px}.team-grid{grid-template-columns:1fr}.team-heading{align-items:flex-start}.team-panel{padding:20px}.team-roster li{gap:9px}.team-roster .team-status{font-size:10px}.team-page .bbs-foot-grid{grid-template-columns:1fr 1fr!important}.team-page .bbs-foot-brand{grid-column:1/-1}}

/* Registered roster uses the same card frame and proportions as Team.html. */
.team-main:has(.mt-roster-section){max-width:1320px;padding:24px 44px 48px;min-height:calc(100svh - 175px)}
.team-main:has(.mt-roster-section)>.team-heading{margin-bottom:16px}
.team-main:has(.mt-roster-section)>.team-heading .team-eyebrow{display:none}
.mt-overview{display:flex;align-items:center;gap:14px;margin:0 0 20px}
.mt-overview .team-emblem{min-width:46px;min-height:46px;font-size:18px;border-radius:4px}
.mt-overview-count{margin:1px 0 0;color:#a1a1aa;font-size:13px}
.mt-roster-heading{display:flex;justify-content:space-between;align-items:baseline;gap:20px;border-bottom:1px solid #ffffff1f;padding-bottom:12px;margin-bottom:20px}
.mt-roster-heading h2{margin:0;font:600 20px/1.3 Unbounded,sans-serif}
.mt-roster-heading>span{display:flex;align-items:baseline;gap:14px;color:#a1a1aa;font-size:18px;font-weight:500}
.mt-roster-heading strong{color:#fff;font:700 32px/1 Unbounded,sans-serif}
.mt-roster-section .team-roster{display:grid;grid-template-columns:repeat(5,180px);justify-content:space-between;gap:16px;list-style:none;padding:0!important;margin:0!important}
.mt-roster-section .team-roster li{display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:0;margin:0;padding:0;border:0}
.mt-card-mark{height:18px;line-height:18px;margin-bottom:10px;color:#ff4046;font-size:14px;font-weight:600;white-space:nowrap}
.mt-card-mark.is-empty{color:#88818a}
.mt-card{position:relative;width:100%;aspect-ratio:180/272;container-type:inline-size;font-family:'Golos Text',sans-serif;color:#fff;filter:drop-shadow(0 0 6px #ff404626) drop-shadow(0 12px 22px #0009)}
.mt-card-metal,.mt-card-face{position:absolute;clip-path:polygon(14% 0,86% 0,100% 6%,100% 89%,50% 100%,0 89%,0 6%)}
.mt-card-metal{inset:0;background:linear-gradient(150deg,#f2f2f2 0%,#5a5a5a 26%,#fff 50%,#3a3a3a 74%,#d9d9d9 100%)}
.mt-card-face{inset:1.47% 2.22%;overflow:hidden;background:radial-gradient(ellipse 80% 55% at 65% 25%,#343434 0%,#161616 55%,#0b0b0b 100%)}
.mt-card-avatar{position:absolute;width:100%;height:100%;object-fit:cover;object-position:50% 24%;pointer-events:none}
.mt-card-silhouette{position:absolute;left:20%;top:8.8%;width:73.3%;height:53.3%;fill:#ffffff24}
.mt-card-shade{position:absolute;inset:0;background:radial-gradient(ellipse 70% 40% at 8% 6%,#000b 0%,transparent 72%),linear-gradient(180deg,transparent 0%,transparent 48%,#0005 70%,#0009 100%)}
.mt-card-lines{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#ffffff4d;stroke-width:1.2}
.mt-card-lines polygon+polygon{stroke-width:.6;opacity:.55}
.mt-card-rating{position:absolute;left:7.22%;top:6.25%;width:31.11%;display:flex;align-items:center;flex-direction:column;gap:1px;text-shadow:0 1px 3px #000a}
.mt-card-rating strong{font:700 24.44cqw/.95 Oswald,sans-serif;color:#ff4046}
.mt-card-rating>span{font:600 7.78cqw/1.2 Oswald,sans-serif;letter-spacing:.04em}
.mt-card-rating>b{max-width:100%;overflow:hidden;text-overflow:ellipsis;margin-top:3.33cqw;min-width:16.67cqw;height:13.33cqw;padding:0 2.78cqw;border:1px solid #ffffff57;border-radius:5px;background:#0004;display:flex;align-items:center;justify-content:center;font:600 7.78cqw/1 Oswald,sans-serif;letter-spacing:.04em}
.mt-card-name{position:absolute;left:7.78%;right:7.78%;top:61.03%;text-align:center;font:700 11.11cqw/1.15 Oswald,sans-serif;letter-spacing:.02em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 2px #000e,0 0 10px #0009}
.mt-card-stats{position:absolute;left:5.56%;right:5.56%;top:71.32%;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));text-align:center;text-shadow:0 1px 2px #000e,0 0 10px #0009}
.mt-card-stats span{display:flex;flex-direction:column;align-items:center;white-space:nowrap}
.mt-card-stats small{font:700 8.89cqw/1.06 'Sofia Sans Extra Condensed',Oswald,sans-serif;letter-spacing:.02em;opacity:.78}
.mt-card-stats b{font:700 10cqw/1.17 Oswald,sans-serif}
.mt-card-fish{position:absolute;left:0;right:0;top:90.07%;display:flex;justify-content:center}
.mt-card-fish svg{width:7.78%;height:auto;fill:none;stroke:#ff4046;stroke-width:2.2;stroke-linejoin:round;stroke-linecap:round}
.mt-card-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:38px;margin-top:10px}
.mt-card-footer .team-status{font-size:11px}.mt-card-footer .team-small-button{padding:5px 0}
.mt-empty-card{position:relative;width:100%;aspect-ratio:180/272;display:block;border:0!important;padding:0!important;background:transparent;color:#a998a1}
.mt-empty-card>img{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:.48;transition:opacity .15s}
.mt-empty-content{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:16px}
.mt-plus{font:300 62px/1 system-ui,sans-serif;color:#e9e1e5}
.mt-empty-content strong{font-size:14px;font-weight:500}
button.mt-empty-card:hover{color:#fff}button.mt-empty-card:hover>img{opacity:1}
button.mt-empty-card:focus-visible{outline:2px solid #ff7783;outline-offset:6px}
.mt-invite-dialog{box-sizing:border-box;width:min(580px,calc(100vw - 32px));max-height:calc(100svh - 40px);overflow:auto;padding:34px;border:1px solid #ffffff24;border-radius:18px;background:radial-gradient(ellipse at 100% 0,#491a2240,transparent 60%),#171215;color:#f4f4f5;box-shadow:0 24px 80px #000a}
.mt-invite-dialog::backdrop{background:#050305c9;backdrop-filter:blur(5px)}
.mt-invite-dialog h2{font:600 23px/1.35 Unbounded,sans-serif;margin:0 22px 12px 0}
.mt-invite-dialog>p{color:#b6aab1;font-size:14px;line-height:1.6;margin:0 0 24px}
.mt-invite-tile{border:1px solid #ffffff1a;background:linear-gradient(135deg,#e5252a0d,transparent 70%),#ffffff03;border-radius:12px;padding:22px}
.mt-invite-team{display:flex;align-items:center;gap:13px;margin-bottom:24px;min-width:0}.mt-invite-team>div{min-width:0}.mt-invite-team strong{display:block;margin-top:5px;font:600 19px/1.35 'Golos Text',sans-serif;overflow-wrap:anywhere}
.mt-invite-emblem{display:grid;place-items:center;width:46px;height:46px;flex:none;border:1px solid #ff404639;border-radius:11px;background:#e5252a0a}.mt-invite-emblem img{width:34px;height:34px;object-fit:contain}
.mt-invite-eyebrow{font:500 10px/1.4 'Golos Text',sans-serif;text-transform:uppercase;letter-spacing:.1em;color:#b9a1aa}
.mt-invite-dialog label{display:block;margin:0 0 8px;font:500 12px/1.4 'Golos Text',sans-serif;color:#b6aab1}
.mt-invite-linkrow{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;padding:5px 5px 5px 13px;border:1px solid #ffffff26;border-radius:8px;background:#08060880;transition:border-color .18s,box-shadow .18s}
.mt-invite-linkrow:focus-within{border-color:#ff5a67;box-shadow:0 0 0 2px #ff40461c}
.mt-invite-chain{width:18px;height:18px;fill:none;stroke:#c7a7b0;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mt-invite-dialog .team-invite-input{box-sizing:border-box;margin:0;padding:0;width:100%;min-width:0;min-height:40px;font:400 12px/1.5 'Golos Text',sans-serif!important;border:0;border-radius:0;outline:0;background:transparent;color:#ddd4d8;text-overflow:ellipsis}
.mt-invite-copy{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;min-width:118px;padding:0 13px;cursor:pointer;border:0;border-radius:5px;background:#e5252a;color:#fff;font:600 12px/1 'Golos Text',sans-serif;transition:background .18s,transform .18s}
.mt-invite-copy:hover{background:#fa3641;transform:translateY(-1px)}.mt-invite-copy:disabled{opacity:.5;cursor:not-allowed;transform:none}.mt-invite-copy svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mt-invite-copy-check{display:none}.mt-invite-copy.is-copied{background:#f4ebee;color:#25131b}.mt-invite-copy.is-copied .mt-invite-copy-symbol{display:none}.mt-invite-copy.is-copied .mt-invite-copy-check{display:block}
.mt-invite-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 16px;margin-top:14px}
.mt-invite-dialog .mt-invite-expiry{font:400 11px/1.5 'Golos Text',sans-serif;margin:0;color:#95858d}
.mt-invite-renew{display:inline-flex;align-items:center;gap:6px;padding:4px 0;background:none;border:0;color:#c7b2bb;cursor:pointer;font:500 11px/1.5 'Golos Text',sans-serif;transition:color .18s}.mt-invite-renew:hover{color:#fff}.mt-invite-renew svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.mt-invite-dialog #team-invite-status{display:block;min-height:20px;margin:14px 0 -6px;color:#c8b6be;font-size:12px;line-height:1.6}
.mt-invite-dialog #team-invite-status.is-error{color:#ffabb3}
.mt-dialog-close{position:absolute;right:14px;top:10px;width:36px;height:36px;border:0;background:transparent;color:#b5a8b0;font:30px/1 system-ui,sans-serif}
.mt-dialog-close:hover{color:#fff}.mt-invite-dialog button:focus-visible{outline:2px solid #f8777b;outline-offset:3px}
@media(max-width:480px){.mt-invite-tile{padding:17px 14px}.mt-invite-team strong{font-size:18px}.mt-invite-linkrow{gap:8px;padding-left:10px}.mt-invite-copy{min-width:40px;padding:0 10px}.mt-invite-copy>span{display:none}.mt-invite-dialog .team-invite-input{font-size:11px!important}}
@media(prefers-reduced-motion:reduce){.mt-invite-copy,.mt-invite-renew,.mt-invite-linkrow{transition:none}.mt-invite-copy:hover{transform:none}}
@media(max-width:1050px){.mt-roster-section .team-roster{display:flex;overflow-x:auto;gap:18px;padding:6px 4px 20px!important;margin:0 -4px!important;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#69414e #1a1115}.mt-roster-section .team-roster li{flex:0 0 180px;scroll-snap-align:start}.team-main:has(.mt-roster-section){padding:24px}}
@media(max-width:600px){.team-main:has(.mt-roster-section){padding:24px 18px 40px}.mt-roster-heading{gap:12px}.mt-roster-heading h2{font-size:18px}.mt-roster-heading>span{gap:8px;font-size:12px}.mt-roster-heading strong{font-size:24px}.mt-invite-dialog{padding:28px 22px}.mt-invite-dialog h2{font-size:20px}.mt-overview{margin-bottom:24px}}

/* Team results alongside the roster identity. */
.mt-team-statistics{display:flex;align-items:center;gap:0;margin:0 0 0 auto}.mt-team-statistics>div{display:flex;flex-direction:column;gap:8px;padding:0 28px;border-left:1px solid #ffffff20}.mt-team-statistics dt{color:#a1a1aa;font-size:13px;line-height:1.3}.mt-team-statistics dd{margin:0;color:#fff;font:700 28px/1.1 Unbounded,sans-serif}.mt-team-statistics>div:first-child dd{color:#ff4046}@media(max-width:700px){.mt-overview{flex-wrap:wrap}.mt-team-statistics{flex:1 0 100%;margin:8px 0 0;justify-content:space-between;padding-top:18px;border-top:1px solid #ffffff20}.mt-team-statistics>div{padding:0 12px}.mt-team-statistics>div:first-child{border-left:0;padding-left:0}.mt-team-statistics>div:last-child{padding-right:0}.mt-team-statistics dt{font-size:12px}.mt-team-statistics dd{font-size:22px}}

/* Selected club layout: centered identity, results and five roster slots. */
/* One continuous backdrop covers the roster and the actions beneath it. */
body.team-page:has(.mt-club-hero){min-height:100svh;background:#100a0d url('assets/my-team-club-bg.png') center top/100% 100% no-repeat}
.team-page:has(.mt-club-hero)>.bbs>header{background:transparent!important}
.team-page:has(.mt-club-hero) .bb-team-subnav{justify-content:center}
.team-main:has(.mt-club-hero){max-width:1400px;padding:20px 44px 44px;min-height:calc(100svh - 125px)}
.team-main:has(.mt-club-hero)>.team-heading{display:none}
.mt-club-hero{text-align:center;padding:0 0 34px}
.mt-club-emblem{display:block;width:112px;height:112px;margin:0 auto 14px;object-fit:contain}
.mt-club-hero h1{max-width:1100px;margin:0 auto;font:700 clamp(28px,3.55vw,52px)/1.2 Unbounded,sans-serif;letter-spacing:-.035em;text-transform:uppercase;overflow-wrap:anywhere;text-wrap:balance}
.mt-club-membership{display:flex;align-items:center;justify-content:center;gap:24px;margin:14px 0 0;color:#d6cbd0;font-size:16px}
.mt-club-membership>.team-status{font-size:16px;color:#75e5aa}
.mt-club-membership>span+span{border-left:1px solid #8d777f;padding-left:24px}
.mt-club-hero .mt-team-statistics{display:flex;justify-content:center;width:min(100%,620px);margin:32px auto 30px;padding:22px 0 0;border-top:1px solid #ffffff24}
.mt-club-hero .mt-team-statistics>div{flex:1;min-width:0;flex-direction:column-reverse;gap:9px;padding:0 20px;border-left:1px solid #ffffff45}
.mt-club-hero .mt-team-statistics>div:first-child{border-left:0}
.mt-club-hero .mt-team-statistics dd{color:#fff;font-size:38px}
.mt-club-hero .mt-team-statistics dt{font-size:15px;white-space:nowrap;color:#c0b2b9}
.mt-club-hero>.team-button{min-width:272px;min-height:50px;font-size:17px;border-radius:6px;box-shadow:0 8px 30px #e5252a1a}
.mt-roster-section .mt-roster-heading{border-top:1px solid #ffffff2b;border-bottom:0;padding:24px 0 0;margin:0 0 24px;justify-content:center;align-items:center;gap:22px}
.mt-roster-section .mt-roster-heading h2{font-size:28px;font-weight:700}
.mt-roster-section .mt-roster-heading>span{font-size:18px;color:#c3b4bc}
.mt-roster-section .team-roster{max-width:1200px;margin:0 auto!important;grid-template-columns:repeat(5,minmax(0,196px));gap:24px}
.mt-card-mark{position:absolute;z-index:2;top:12px;left:50%;transform:translateX(-50%);margin:0;color:#fff;font-size:12px;text-shadow:0 1px 4px #000}
.mt-roster-slot{position:relative}
.mt-card-mark.is-empty{display:none}
.mt-card-rating{top:12%}
.mt-card-footer{justify-content:center;flex-wrap:wrap;margin-top:4px}
.mt-card-footer .team-status{font-size:13px;color:#75e5aa}
.mt-card-footer .team-status.is-pending{color:#d9bb83}
.mt-empty-card>img{opacity:.8}
.mt-empty-content{gap:16px;padding:10px}
.mt-plus{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border:1px solid #b5a6ae;border-radius:50%;font-size:35px;line-height:1;padding-bottom:3px}
.mt-empty-content strong{font-size:14px;color:#cec3c9}
.team-main:has(.mt-club-hero) .team-footer-actions{max-width:1200px;margin:38px auto 0}
.team-main:has(.mt-club-hero) .team-footer-actions>a{border-color:#ffffff20;color:#bbadb5}
@media(max-width:1050px){.team-main:has(.mt-club-hero){padding:20px 24px 40px}.mt-roster-section .team-roster{max-width:100%;gap:24px}.mt-roster-section .team-roster li{flex-basis:180px}.mt-club-hero h1{font-size:36px}}
@media(max-width:600px){.team-main:has(.mt-club-hero){padding:16px 18px 32px}.mt-club-emblem{width:82px;height:82px;margin-bottom:16px}.mt-club-hero h1{font-size:27px;line-height:1.25}.mt-club-membership{gap:14px;font-size:13px;margin-top:14px}.mt-club-membership>.team-status{font-size:13px}.mt-club-membership>span+span{padding-left:14px}.mt-club-hero .mt-team-statistics{margin:24px auto;padding-top:20px}.mt-club-hero .mt-team-statistics>div{padding:0 9px;gap:8px}.mt-club-hero .mt-team-statistics dd{font-size:25px}.mt-club-hero .mt-team-statistics dt{font-size:11px;white-space:normal}.mt-club-hero>.team-button{min-width:0;width:min(100%,300px);font-size:15px}.mt-club-hero{padding-bottom:26px}.mt-roster-section .mt-roster-heading{padding-top:20px;margin-bottom:20px;gap:14px}.mt-roster-section .mt-roster-heading h2{font-size:22px}.mt-roster-section .mt-roster-heading>span{font-size:16px}}
.team-page:has(.mt-club-hero) .bbs-sub>div{justify-content:center}.mt-club-hero .mt-team-statistics>div:first-child dd{color:#fff}

/* Quiet entry screen; the only initial action is linking Steam. */
body.team-page:has(.mt-start){background:#110b0e}
.team-main:has(.mt-start){max-width:none;padding:0 24px;min-height:calc(100svh - 123px);display:flex;flex-direction:column;justify-content:center}
.team-main:has(.mt-start)>.team-heading{display:none}
.team-page:has(.mt-start) .bbs-sub>div{justify-content:center}
.team-main:has(.mt-start)>#team-app{width:100%}
.mt-start{display:flex;align-items:center;justify-content:center;min-height:calc(100svh - 123px);padding:64px 0;isolation:isolate}
.mt-start-button{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:84px;width:min(600px,100%);padding:24px 36px;text-align:center;border:1px solid #ff6872;border-radius:12px;background:#f2293a;color:#fff!important;font-size:clamp(18px,1.65vw,24px);font-weight:700;line-height:1.4;text-decoration:none;box-shadow:0 0 24px #ff29385c,0 0 80px #ff293833;transition:background .18s,box-shadow .18s}
.mt-start-button::before{content:"";position:absolute;z-index:-1;left:50%;top:50%;width:min(1080px,calc(100vw - 48px));height:min(760px,85svh);transform:translate(-50%,-50%);background:radial-gradient(ellipse at center,#ed193132 0%,#ed19311c 25%,#ed193109 50%,#ed193100 72%);pointer-events:none}
.mt-start-button:hover{background:#ff394a;box-shadow:0 0 30px #ff293870,0 0 100px #ff293840}
.mt-start-button:focus-visible{outline:3px solid #fff;outline-offset:7px}
.mt-start-form{width:min(480px,100%);margin:0;gap:24px}.mt-start-form h2{margin:0 0 8px;text-align:center;font:600 28px/1.3 Unbounded,sans-serif}.mt-start-form .team-button{min-height:56px;font-size:17px;box-shadow:0 0 65px #f2293a25}
@media(max-width:600px){.team-main:has(.mt-start){padding:0 20px;min-height:calc(100svh - 172px)}.mt-start{min-height:calc(100svh - 172px);padding:40px 0}.mt-start-button{padding:24px 20px;min-height:96px;font-size:19px;border-radius:10px}.mt-start-form h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){.mt-start-button{transition:none}}

/* Team onboarding: clear entry, then a separate Steam explanation step. */
.team-page:has(.mt-start) .bbs-sub>div,.team-page:has(.mt-club-hero) .bbs-sub>div{justify-content:flex-start}
.mt-start-intro{width:min(760px,100%);text-align:center;isolation:isolate}
.mt-start-eyebrow{margin:0 0 18px;color:#a9868e;font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase}
.mt-start-intro h1{margin:0;font:700 clamp(27px,3.3vw,43px)/1.22 Unbounded,sans-serif;letter-spacing:-.035em;text-wrap:balance}
.mt-start-description{max-width:520px;margin:20px auto 36px;color:#afa4aa;font-size:16px;line-height:1.65;text-wrap:balance}
.mt-start-intro .mt-start-button{width:min(330px,100%);min-height:68px;padding:18px 28px;font-size:20px;border-radius:8px}
.mt-start-intro .mt-start-button::before{width:min(950px,calc(100vw - 48px));height:min(650px,80svh)}
.mt-start-safety{margin:28px auto 20px;max-width:440px;color:#978a92;font-size:13px;line-height:1.7}
.mt-start-back{display:inline-block;color:#b4a4ad!important;font-size:13px;text-decoration:none;text-underline-offset:4px}.mt-start-back:hover{text-decoration:underline;color:#fff!important}
.mt-start-back:focus-visible{outline:2px solid #ff6872;outline-offset:5px}
.mt-start-form h1{margin:0 0 8px;text-align:center;font:600 28px/1.3 Unbounded,sans-serif}.mt-start-form>.mt-start-back{text-align:center}
@media(max-width:600px){.mt-start-eyebrow{font-size:10px;letter-spacing:.12em;margin-bottom:16px}.mt-start-intro h1{font-size:28px}.mt-start-description{font-size:14px;margin:18px auto 28px}.mt-start-intro .mt-start-button{font-size:18px;min-height:64px}.mt-start-safety{font-size:12px}.mt-start-form h1{font-size:24px}}

/* User-supplied Juggernaut video: full-bleed scene, one team action. */
body.team-page[data-bb-page="MyTeam"]:has(.mt-brand-intro) {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  background: #101014;
  isolation: isolate;
}
body.team-page:has(.mt-brand-intro)::before {
  content: none;
}
body.team-page:has(.mt-brand-intro) > .bbs,
body.team-page:has(.mt-brand-intro) > .bbs > header,
body.team-page:has(.mt-brand-intro) .bbs-sub {
  background: transparent !important;
}
body.team-page[data-bb-page="MyTeam"] main.team-main:has(.mt-brand-intro) {
  flex: 1;
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
  min-height: 0 !important;
  background: transparent;
}
.team-main:has(.mt-brand-intro) > #team-app { display: flex; flex: 1; }
.mt-start:has(> .mt-brand-intro) {
  flex: 1;
  min-height: 0;
  padding: 0;
  overflow: clip;
  isolation: auto;
}
.mt-start-intro.mt-brand-intro {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: 100%;
  min-height: 470px;
  height: 100%;
  padding: max(240px, calc(52svh - 124px)) 4vw 48px 52vw;
  text-align: left;
  isolation: auto;
}
.mt-brand-copy {
  position: relative;
  z-index: 2;
  width: min(40vw, 650px);
  animation: mt-copy-enter .75s cubic-bezier(.2, .75, .25, 1) both;
}
.mt-brand-copy h1 {
  font-family: var(--bb-font-display, 'Barracuda Tektur'), sans-serif;
  font-size: clamp(40px, 4.7vw, 80px);
  line-height: 1.02;
  letter-spacing: -.025em;
  text-wrap: initial;
}
.mt-brand-copy .mt-start-description {
  max-width: none;
  margin: 30px 0 42px;
  color: #c9c4c8;
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.6;
  text-wrap: initial;
}
.mt-brand-copy .mt-start-button {
  width: min(360px, 100%);
  min-height: 72px;
  padding: 18px 28px;
  border-color: transparent;
  border-radius: 8px;
  background: #f52236;
  font-size: 21px;
  box-shadow: 0 8px 30px #f5223617;
  transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease;
}
.mt-brand-copy .mt-start-button::before { content: none; }
.mt-brand-copy .mt-start-button:is(:hover, :focus-visible) {
  transform: translateY(-3px);
  background: #ff3346;
  box-shadow: 0 12px 36px #f5223635;
}
.mt-brand-copy .mt-start-button:active { transform: translateY(0); }
.mt-brand-backdrop {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: #0c080b;
  pointer-events: none;
  user-select: none;
}
.mt-brand-backdrop > video,
.mt-brand-backdrop > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.mt-brand-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #09060a0d 0%, #09060a1f 35%, #09060a99 56%, #09060ac2 100%),
    linear-gradient(180deg, #09060a99 0%, #09060a00 24%, #09060a00 72%, #09060a66 100%);
}
@keyframes mt-copy-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 800px) {
  .mt-start-intro.mt-brand-intro {
    min-height: 480px;
    padding: max(140px, calc(52svh - 172px)) 24px 40px;
    justify-content: center;
    text-align: center;
  }
  .mt-brand-copy { width: min(100%, 520px); }
  .mt-brand-copy h1 { font-size: clamp(32px, 8.7vw, 48px); }
  .mt-brand-copy .mt-start-description { margin: 24px 0 32px; font-size: 16px; }
  .mt-brand-copy .mt-start-button { width: min(330px, 100%); min-height: 64px; font-size: 18px; }
  .mt-brand-backdrop > video, .mt-brand-backdrop > img { object-position: 38% center; }
  .mt-brand-backdrop::after {
    background: linear-gradient(180deg, #09060ab3 0%, #09060a99 24%, #09060ab8 62%, #09060acc 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  body.team-page:has(.mt-brand-intro)::before,
  .mt-brand-copy {
    animation: none;
  }
  .mt-brand-copy .mt-start-button { transition: none; transform: none !important; }
}
.mt-avatar-credits{display:inline-block;margin-left:5px;color:#c2aab5!important;font-size:11px;text-underline-offset:3px}.mt-avatar-credits:hover{color:#fff!important}.mt-avatar-credits:focus-visible{outline:2px solid #fff;outline-offset:3px}
.mt-club-edit{margin-top:12px}.mt-editor-name{display:grid;gap:8px;margin-bottom:24px}.mt-editor-name label,.mt-editor-emblem-title{color:#f4f4f5;font-size:14px;font-weight:600}.mt-editor-name input{display:block;width:100%;min-width:0;padding:12px 14px;background:#100c0f;border:1px solid #54414a;border-radius:8px;color:#f4f4f5;font:inherit}.mt-editor-name input:focus{outline:2px solid #f22a40;outline-offset:2px}.mt-editor-name input:disabled{opacity:.6}.mt-editor-name small{font-size:12px;color:#a99ba4}.mt-editor-emblem-title{margin:0 0 14px}.mt-team-editor .mt-avatar-header h2{font-size:24px}.mt-team-editor .mt-avatar-description{margin-bottom:18px}@media(max-width:480px){.mt-team-editor .mt-avatar-header h2{font-size:19px}.mt-editor-name{margin-bottom:20px}}
