[hidden] { display: none !important; }
body { min-height: 100vh; }
button:disabled { opacity: .45; cursor: wait; transform: none; }
.page-view { min-height: 65vh; padding-top: 55px; padding-bottom: 60px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
.page-head h1 { font-size: clamp(32px,5vw,54px); margin: 12px 0 15px; }
.page-head p { color: #a99c96; max-width: 650px; line-height: 1.7; }
.text-link { color: #d6a285; font-size: 12px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid #ffffff12; margin-bottom: 30px; padding-bottom: 12px; }
.tabs a,.filter-button { padding: 10px 14px; font-size: 12px; color: #a99c96; border: 0; box-shadow: none; background: transparent; }
.tabs .active,.filter-button.active { color: #efc4aa; background: #c3774f12; box-shadow: inset 0 -1px #c3774f; }
.toolbar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 25px; }
.toolbar input { width: min(340px,100%); margin: 0; }
.empty { padding: 45px 0; color: #a59b95; line-height: 1.8; }
.empty h3 { font-size: 24px; color: #d9c8bf; margin-bottom: 12px; }
.empty .button { display: inline-block; margin-top: 14px; }
.event { margin-bottom: 12px; }
.event .event-title { display: block; font: 27px 'Manrope',sans-serif; margin: 10px 0; }
.event .stats { font-size: 21px; }
.tag { display: inline-block; font-size: 10px; letter-spacing: .06em; color: #bfb3ab; padding: 5px 0; }
.tag.open,.tag.accepted,.tag.completed { color: #9dbf9d; }
.tag.live,.tag.pending { color: #e8b17f; }
.tag.cancelled,.tag.rejected { color: #dc8c78; }
.small-button { font-size: 11px; padding: 9px 13px; background: transparent; border-color: #ffffff20; }
.danger { color: #e6a18c; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid .wide { grid-column: 1 / -1; }
.form-section { max-width: 740px; }
.form-section h3 { font-size: 23px; margin: 25px 0 15px; }
label { color: #c6bab4; font-size: 12px; line-height: 1.6; }
input,select,textarea { width: 100%; margin-top: 7px; border: 1px solid #ffffff21; border-radius: 3px; background: #ffffff03; padding: 12px; font: 13px 'Golos Text',sans-serif; color: #e4d6cc; }
select option { background: #201b1a; }
textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
input:focus,select:focus,textarea:focus { border-color: #c68b68; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; }
.check input { width: 16px; height: 16px; flex-shrink: 0; margin: 2px 0 0; accent-color: #bd6b48; }
.help { color: #8d817c; font-size: 11px; line-height: 1.7; }
.form-error { color: #f2a48a; line-height: 1.6; font-size: 13px; margin: 14px 0; }
dialog { width: min(650px,calc(100% - 24px)); max-height: 92vh; background: #1a1718; border-color: #6d4939; }
dialog h2 { font: 27px 'Manrope',sans-serif; margin-bottom: 15px; }
dialog .close { position: sticky; top: 0; }
dialog .button-row { margin-top: 20px; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.button-row button { font-size: 12px; }
#toast { position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%); background: #30231f; border: 1px solid #a16b4d; color: #f0d8c5; padding: 15px 24px; z-index: 30; max-width: calc(100vw - 30px); font-size: 13px; box-shadow: 0 15px 60px #0007; }
.split { display: grid; grid-template-columns: 1.7fr 1fr; gap: 45px; }
.surface { padding: 25px 0; border-top: 1px solid #ffffff12; }
.surface h3 { font-size: 22px; margin-bottom: 18px; }
.big-stats { display: flex; flex-wrap: wrap; gap: 35px; margin: 25px 0 35px; }
.big-stats strong { display: block; font: 30px 'Manrope',sans-serif; font-weight: 300; color: #e5b99d; margin-bottom: 7px; }
.big-stats span { color: #978a83; font-size: 11px; }
.prose { line-height: 1.9; color: #b9aaa2; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; }
.notice { padding: 18px 0; border-bottom: 1px solid #ffffff10; line-height: 1.6; }
.notice.unread { border-left: 2px solid #bb6d48; padding-left: 14px; }
.notice small { display: block; color: #8a7b76; margin-top: 5px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { color: #988a84; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 400; text-align: left; }
td,th { padding: 17px 14px; border-bottom: 1px solid #ffffff10; vertical-align: middle; }
td:first-child,th:first-child { padding-left: 0; }
td .button-row { min-width: 140px; }
td .button-row button { font-size: 10px; }
td .muted { display: block; margin-top: 5px; }
.team-code { display: inline-block; padding: 12px 20px; border: 1px dashed #a7775260; font: 24px monospace; letter-spacing: .12em; color: #ddb896; margin: 10px 0; }
.roster { display: grid; grid-template-columns: repeat(5,1fr); gap: 15px; margin: 25px 0; }
.roster-member { padding: 20px 0; border-top: 1px solid #a5794d50; min-width: 0; overflow-wrap: anywhere; }
.roster-member h3 { font: 16px 'Manrope',sans-serif; margin: 12px 0; }
.roster-member p { font-size: 11px; color: #a09086; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #a4633e1c; color: #c99470; font-size: 17px; }
.match-list { display: grid; gap: 20px; }
.match-card { border-top: 1px solid #8d635744; padding: 22px 0; }
.match-meta { display: flex; justify-content: space-between; gap: 15px; color: #9a8981; font-size: 10px; margin-bottom: 18px; }
.match-teams { display: flex; align-items: center; gap: 18px; margin-bottom: 15px; }
.match-teams strong { font: 17px 'Manrope',sans-serif; font-weight: 400; flex: 1; }
.match-teams strong:last-child { text-align: right; }
.score { font: 23px 'Manrope',sans-serif; color: #d9b498; white-space: nowrap; }
.live-bracket { display: flex; gap: 38px; overflow-x: auto; padding: 20px 0 35px; }
.bracket-round { flex: 1; min-width: 235px; display: flex; flex-direction: column; }
.bracket-round h3 { font-size: 15px; margin-bottom: 25px; color: #b7a393; }
.bracket-round-body { display: flex; flex-direction: column; justify-content: space-around; flex: 1; gap: 22px; }
.bracket-match { position: relative; border-left: 1px solid #88624d; background: linear-gradient(90deg,#83523614,transparent); padding: 12px 15px; }
.bracket-round + .bracket-round .bracket-match::before { content: ''; position: absolute; width: 25px; height: 1px; background: #88624d66; left: -32px; top: 50%; }
.bracket-match div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: 12px; }
.bracket-match .winner { color: #dfb18a; }
.bracket-match small { color: #897a72; font-size: 9px; }
.journey { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.journey h3 { font: 22px 'Manrope',sans-serif; margin: 20px 0 12px; }
.journey p { font-size: 13px; line-height: 1.9; color: #9b8d84; }
.step-number { color: #bd8768; font: 12px 'Manrope',sans-serif; letter-spacing: .2em; }
.alert { padding: 15px 20px; margin: 15px 0; background: #aa663514; border-left: 1px solid #b77c51; color: #ceb39c; font-size: 13px; line-height: 1.8; }
.badge-count { display: inline-block; margin-left: 6px; font-size: 10px; color: #e9aa81; }
@media(max-width:950px) { .roster { grid-template-columns: repeat(3,1fr); }nav a { padding: 0 14px; }.split { grid-template-columns: 1fr; gap: 20px; } }
@media(max-width:650px) { .page-view { padding-top: 25px; }.page-head { flex-direction: column; }.form-grid { grid-template-columns: 1fr; }.form-grid .wide { grid-column: auto; }.roster { grid-template-columns: 1fr 1fr; }.journey { grid-template-columns: 1fr; gap: 18px; }.tabs { gap: 2px; }.tabs a { padding: 10px; font-size: 11px; }.event .event-title { font-size: 24px; }.big-stats { gap: 25px; }.big-stats strong { font-size: 25px; }td,th { padding: 14px 10px; }dialog { padding: 22px; }.match-teams strong { font-size: 14px; } }
@media(max-width:650px) {
  header nav { min-width: 0; }
  header nav a { min-width: 0; padding: 0 6px; font-size: 8px; letter-spacing: .1em; }
}
