
        .event-stage-stack {
            position: relative;
            display: flex;
            flex-direction: column;
            gap: 0;
            margin-bottom: 30px;
            overflow: hidden;
            border-radius: 26px;
            border: 1px solid rgba(241, 196, 15, 0.18);
            box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28);
            background:
                radial-gradient(circle at top right, rgba(241, 196, 15, 0.14), transparent 28%),
                radial-gradient(circle at bottom left, rgba(110, 142, 251, 0.12), transparent 34%),
                linear-gradient(145deg, rgba(24, 29, 38, 0.98), rgba(11, 16, 23, 0.98));
        }

        .event-stage-stack::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(120deg, rgba(255,255,255,0.04), transparent 40%, rgba(255,255,255,0.015));
            pointer-events: none;
        }

        .tournament-header {
            position: relative;
            overflow: hidden;
            text-align: center;
            margin-bottom: 0;
            padding: 32px;
            background:
                radial-gradient(circle at top right, rgba(241, 196, 15, 0.16), transparent 34%),
                linear-gradient(135deg, rgba(26, 29, 36, 0.94), rgba(15, 18, 24, 0.96));
            border-radius: 26px;
            border: 1px solid rgba(241, 196, 15, 0.18);
            box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
            width: 100%;
        }

        .event-stage-stack .tournament-header {
            z-index: 1;
            border: 0;
            border-radius: 0;
            box-shadow: none;
            background: transparent;
            padding-bottom: 26px;
        }

        .tournament-kicker {
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.18em;
            color: #8e9aaf;
            margin-bottom: 12px;
        }
        
        .tournament-name {
            font-size: clamp(32px, 5vw, 56px);
            font-weight: 900;
            line-height: 0.96;
            background: linear-gradient(135deg, #fff, #f1c40f 65%, #d98d00);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 12px;
        }

        .tournament-subtitle {
            color: #b8c0cc;
            line-height: 1.6;
            font-size: 15px;
            max-width: 820px;
            margin: 0 auto;
        }

        .tournament-ribbon {
            position: absolute;
            top: 18px;
            right: 18px;
            z-index: 2;
            min-width: 0;
            max-width: min(100%, 340px);
            padding: 0;
            text-align: center;
            background: transparent;
            border: 0;
            box-shadow: none;
        }

        .tournament-ribbon::before {
            display: none;
        }

        .tournament-ribbon-name {
            display: block;
            position: relative;
            z-index: 1;
            color: #ffffff;
            font-size: 22px;
            font-weight: 900;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            line-height: 1;
            white-space: nowrap;
            text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
        }

        .tournament-ribbon-note {
            position: relative;
            z-index: 1;
            display: block;
            margin-top: 6px;
            color: rgba(235, 239, 245, 0.68);
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
        }

        .tournament-ribbon-links {
            position: relative;
            z-index: 1;
            margin-top: 10px;
            display: flex;
            justify-content: center;
            gap: 8px;
        }

        .tournament-ribbon-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 34px;
            height: 34px;
            border-radius: 999px;
            color: #f7f8fa;
            text-decoration: none;
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.12);
            transition: transform 0.16s ease, color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
        }

        .tournament-ribbon-link:hover {
            transform: translateY(-1px);
            background: rgba(241, 196, 15, 0.08);
            color: #f1c40f;
            border-color: rgba(241, 196, 15, 0.3);
        }

        .tournament-hero-stats {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 16px;
            margin-top: 24px;
        }

        .tournament-hero-stat {
            background: rgba(20, 24, 32, 0.88);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 18px;
            padding: 16px;
        }

        .tournament-hero-value {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 38px;
            font-size: 26px;
            font-weight: 900;
            line-height: 1.08;
            color: #f1c40f;
            margin-bottom: 6px;
        }

        .tournament-hero-value-date {
            font-size: 20px;
            line-height: 1.1;
            letter-spacing: 0.01em;
            word-break: break-word;
        }

        .tournament-hero-value-date.is-tba {
            color: #d7dde7;
        }

        .tournament-hero-label {
            font-size: 12px;
            color: #8e9aaf;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .prediction-arena {
            margin-top: 18px;
            padding: 24px;
            border-radius: 26px;
            background:
                radial-gradient(circle at top right, rgba(87, 142, 255, 0.11), transparent 28%),
                radial-gradient(circle at bottom left, rgba(241, 196, 15, 0.11), transparent 32%),
                linear-gradient(180deg, rgba(18, 22, 30, 0.98), rgba(11, 14, 21, 0.98));
            border: 1px solid rgba(255, 255, 255, 0.05);
            position: relative;
            overflow: hidden;
        }

        .prediction-arena::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                linear-gradient(120deg, rgba(255, 255, 255, 0.03), transparent 42%, rgba(255, 255, 255, 0.015));
            pointer-events: none;
        }

        .prediction-arena-head {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 20px;
            margin-bottom: 20px;
            position: relative;
            z-index: 1;
        }

        .prediction-arena-title {
            margin: 6px 0 8px;
            font-size: 30px;
            line-height: 1.08;
            color: #f7f8fb;
        }

        .prediction-arena-copy {
            margin: 0;
            color: #aeb8c8;
            line-height: 1.65;
            max-width: 760px;
        }

        .prediction-arena-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 14px;
        }

        .prediction-arena-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            min-height: 34px;
            padding: 0 12px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.07);
            color: #edf1f7;
            font-size: 12px;
            font-weight: 700;
        }

        .prediction-arena-badge i {
            color: #f1c40f;
        }

        .prediction-arena-meta {
            min-width: 140px;
            padding: 14px 16px;
            border-radius: 18px;
            background: rgba(13, 16, 24, 0.78);
            border: 1px solid rgba(255, 255, 255, 0.06);
            text-align: center;
        }

        .prediction-arena-meta-value {
            font-size: 28px;
            font-weight: 900;
            color: #f1c40f;
            line-height: 1;
        }

        .prediction-arena-meta-label {
            margin-top: 6px;
            font-size: 11px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #8f9bb0;
        }

        .prediction-cards {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 18px;
            position: relative;
            z-index: 1;
        }

        .prediction-card {
            display: grid;
            grid-template-rows: auto auto 1fr auto auto;
            gap: 18px;
            padding: 22px;
            border-radius: 22px;
            background: linear-gradient(180deg, rgba(18, 22, 31, 0.94), rgba(12, 15, 22, 0.96));
            border: 1px solid rgba(255, 255, 255, 0.06);
            min-width: 0;
            position: relative;
            overflow: hidden;
        }

        .prediction-card-open {
            border-color: rgba(241, 196, 15, 0.18);
            box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
        }

        .prediction-card::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, rgba(241, 196, 15, 0.0), rgba(241, 196, 15, 0.85), rgba(87, 142, 255, 0.55));
            opacity: 0.7;
        }

        .prediction-market-champion::before {
            background: linear-gradient(90deg, #f1c40f, #ffd76a);
        }

        .prediction-market-grand_finalists::before {
            background: linear-gradient(90deg, #5d8eff, #8db6ff);
        }

        .prediction-market-final_top3::before {
            background: linear-gradient(90deg, #ff8f57, #ffd36b);
        }

        .prediction-card-head {
            display: grid;
            gap: 14px;
        }

        .prediction-card-head-main {
            min-width: 0;
            width: 100%;
        }

        .prediction-card-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 10px;
        }

        .prediction-card-kicker,
        .prediction-card-limit {
            display: inline-flex;
            align-items: center;
            min-height: 28px;
            padding: 0 10px;
            border-radius: 999px;
            font-size: 10px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .prediction-card-kicker {
            background: rgba(241, 196, 15, 0.12);
            color: #ffdd6b;
        }

        .prediction-card-limit {
            background: rgba(255, 255, 255, 0.05);
            color: #aeb8c8;
        }

        .prediction-card-title {
            color: #f7f8fb;
            font-size: 20px;
            font-weight: 900;
            line-height: 1.15;
            max-width: none;
        }

        .prediction-card-subtitle {
            margin-top: 8px;
            color: #98a6bb;
            font-size: 14px;
            line-height: 1.7;
            max-width: none;
        }

        .prediction-status {
            flex-shrink: 0;
            display: inline-flex;
            align-items: center;
            justify-content: flex-start;
            align-self: flex-start;
            min-height: 34px;
            max-width: 100%;
            padding: 8px 12px;
            border-radius: 999px;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            background: rgba(255, 255, 255, 0.05);
            color: #d7deea;
            text-align: left;
            line-height: 1.45;
            white-space: normal;
        }

        .prediction-status-open {
            background: rgba(241, 196, 15, 0.14);
            color: #ffdd69;
        }

        .prediction-status-locked {
            background: rgba(255, 99, 132, 0.12);
            color: #ff9dad;
        }

        .prediction-status-waiting {
            background: rgba(87, 142, 255, 0.12);
            color: #9fc0ff;
        }

        .prediction-inputs {
            display: grid;
            gap: 12px;
        }

        .prediction-pick-field {
            display: grid;
            gap: 6px;
        }

        .prediction-pick-label {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: #8f9bb0;
            font-weight: 700;
        }

        .prediction-select {
            width: 100%;
            height: 54px;
            min-height: 54px;
            padding: 0 44px 0 16px;
            border-radius: 14px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)),
                rgba(11, 14, 21, 0.92);
            color: #f7f8fb;
            font-size: 15px;
            font-weight: 700;
            line-height: 1.2;
            outline: none;
            cursor: pointer;
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
            background-image:
                linear-gradient(45deg, transparent 50%, rgba(223, 229, 238, 0.9) 50%),
                linear-gradient(135deg, rgba(223, 229, 238, 0.9) 50%, transparent 50%);
            background-position:
                calc(100% - 22px) 23px,
                calc(100% - 16px) 23px;
            background-size: 6px 6px, 6px 6px;
            background-repeat: no-repeat;
        }

        .prediction-select:hover {
            border-color: rgba(241, 196, 15, 0.2);
        }

        .prediction-select:focus {
            border-color: rgba(241, 196, 15, 0.34);
            box-shadow: 0 0 0 3px rgba(241, 196, 15, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.03);
        }

        .prediction-select option {
            color: #f5f7fb;
            background: #141922;
        }

        .prediction-select:disabled {
            opacity: 0.55;
            cursor: not-allowed;
        }

        .prediction-actions {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: auto;
        }

        .prediction-submit-btn,
        .prediction-login-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            min-height: 48px;
            padding: 0 16px;
            border-radius: 14px;
            border: 0;
            cursor: pointer;
            font-weight: 900;
            text-decoration: none;
            color: #12161f;
            background: linear-gradient(135deg, #f1c40f 0%, #ffdd69 100%);
            box-shadow: 0 10px 24px rgba(241, 196, 15, 0.18);
        }

        .prediction-submit-btn:disabled {
            cursor: not-allowed;
            opacity: 0.45;
            box-shadow: none;
        }

        .prediction-current-picks {
            color: #b7c1cf;
            font-size: 13px;
            line-height: 1.5;
        }

        .prediction-community {
            padding-top: 14px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
        }

        .prediction-community-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            color: #f7f8fb;
            font-size: 13px;
            font-weight: 800;
            margin-bottom: 10px;
        }

        .prediction-leaderboard {
            display: grid;
            gap: 8px;
            max-height: 284px;
            overflow-y: auto;
            padding-right: 6px;
            scrollbar-width: thin;
            scrollbar-color: rgba(241, 196, 15, 0.45) rgba(255, 255, 255, 0.04);
        }

        .prediction-leaderboard::-webkit-scrollbar {
            width: 8px;
        }

        .prediction-leaderboard::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.04);
            border-radius: 999px;
        }

        .prediction-leaderboard::-webkit-scrollbar-thumb {
            background: rgba(241, 196, 15, 0.45);
            border-radius: 999px;
        }

        .prediction-leaderboard::-webkit-scrollbar-thumb:hover {
            background: rgba(241, 196, 15, 0.62);
        }

        .prediction-leader {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            padding: 10px 12px;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.03);
        }

        .prediction-leader-main {
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 0;
        }

        .prediction-leader-rank {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            border-radius: 999px;
            background: rgba(241, 196, 15, 0.12);
            color: #ffdd6b;
            font-size: 11px;
            font-weight: 900;
            flex-shrink: 0;
        }

        .prediction-leader-name {
            color: #dce2ec;
            font-weight: 700;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .prediction-leader-score {
            color: #f1c40f;
            font-weight: 900;
            white-space: nowrap;
        }

        .prediction-empty {
            padding: 14px;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.03);
            color: #9eabbe;
            line-height: 1.6;
        }

        .prediction-empty.small {
            padding: 10px 12px;
            font-size: 13px;
        }

        .prediction-login-state {
            display: grid;
            gap: 12px;
        }

        .prediction-entry-card {
            display: grid;
            grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.8fr);
            gap: 20px;
            align-items: center;
            margin-top: 18px;
            padding: 24px;
            border-radius: 26px;
            background:
                radial-gradient(circle at top right, rgba(110, 142, 251, 0.09), transparent 28%),
                radial-gradient(circle at bottom left, rgba(241, 196, 15, 0.09), transparent 30%),
                linear-gradient(180deg, rgba(18, 22, 31, 0.96), rgba(11, 14, 20, 0.98));
        }

        .prediction-entry-title {
            margin: 8px 0 10px;
            color: #f7f8fb;
            font-size: 28px;
            line-height: 1.05;
        }

        .prediction-entry-text {
            margin: 0;
            color: #aeb8c8;
            font-size: 14px;
            line-height: 1.65;
            max-width: 760px;
        }

        .prediction-entry-side {
            display: grid;
            gap: 14px;
            justify-items: end;
        }

        .prediction-entry-stats {
            display: grid;
            grid-template-columns: repeat(2, minmax(120px, 1fr));
            gap: 12px;
            width: 100%;
        }

        .prediction-entry-stat {
            padding: 14px 16px;
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.06);
        }

        .prediction-entry-stat strong {
            display: block;
            color: #f1c40f;
            font-size: 28px;
            line-height: 1;
            font-weight: 900;
        }

        .prediction-entry-stat span {
            display: block;
            margin-top: 6px;
            color: #94a0b5;
            font-size: 11px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            line-height: 1.5;
        }

        .prediction-entry-link {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            min-height: 48px;
            padding: 0 18px;
            border-radius: 999px;
            text-decoration: none;
            font-size: 13px;
            font-weight: 900;
            color: #12161f;
            background: linear-gradient(135deg, #f1c40f 0%, #ffdd69 100%);
            box-shadow: 0 12px 28px rgba(241, 196, 15, 0.18);
        }

        .prediction-card-hooks {
            display: grid;
            gap: 10px;
        }

        .prediction-score-hint {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            min-height: 38px;
            padding: 0 14px;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.04);
            color: #f6f7fb;
            font-size: 13px;
            font-weight: 800;
        }

        .prediction-score-hint i {
            color: #f1c40f;
        }

        .prediction-reward-hint {
            color: #9eabbe;
            font-size: 13px;
            line-height: 1.6;
        }

        .prediction-outcome {
            display: grid;
            gap: 4px;
            padding: 12px 14px;
            border-radius: 14px;
            background: rgba(241, 196, 15, 0.08);
            border: 1px solid rgba(241, 196, 15, 0.12);
        }

        .prediction-outcome-label {
            font-size: 11px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #d0b86b;
        }

        .prediction-outcome-value {
            color: #f8fafc;
            font-size: 14px;
            line-height: 1.5;
        }

        .prediction-competition {
            margin-top: 20px;
            position: relative;
            z-index: 1;
        }

        .prediction-competition-grid {
            display: grid;
            grid-template-columns: 1.2fr 1fr 1fr;
            gap: 18px;
        }

        .prediction-standings-card,
        .prediction-user-card,
        .prediction-rewards-card {
            padding: 20px;
            border-radius: 22px;
            background: linear-gradient(180deg, rgba(18, 22, 31, 0.94), rgba(11, 14, 21, 0.98));
            border: 1px solid rgba(255, 255, 255, 0.06);
            box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
        }

        .prediction-panel-head {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 16px;
            margin-bottom: 16px;
        }

        .prediction-panel-kicker {
            color: #8ea2c3;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        .prediction-panel-title {
            margin: 6px 0 0;
            color: #f8fafc;
            font-size: 22px;
            line-height: 1.1;
        }

        .prediction-panel-meta {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 32px;
            padding: 0 12px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.05);
            color: #dbe3ef;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            white-space: nowrap;
        }

        .prediction-standing-list,
        .prediction-reward-list {
            display: grid;
            gap: 10px;
        }

        .prediction-standing-list {
            max-height: 340px;
            overflow-y: scroll;
            padding-right: 6px;
            overscroll-behavior: contain;
            scrollbar-width: thin;
            scrollbar-color: rgba(110, 142, 251, 0.45) rgba(255, 255, 255, 0.04);
        }

        .prediction-standing-list::-webkit-scrollbar {
            width: 8px;
        }

        .prediction-standing-list::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.04);
            border-radius: 999px;
        }

        .prediction-standing-list::-webkit-scrollbar-thumb {
            background: rgba(110, 142, 251, 0.45);
            border-radius: 999px;
        }

        .prediction-standing-list::-webkit-scrollbar-thumb:hover {
            background: rgba(110, 142, 251, 0.62);
        }

        .prediction-standing-row,
        .prediction-reward-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 12px 14px;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.04);
        }

        .prediction-standing-main {
            display: flex;
            align-items: center;
            gap: 12px;
            min-width: 0;
        }

        .prediction-standing-rank {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 34px;
            height: 34px;
            border-radius: 999px;
            background: rgba(241, 196, 15, 0.12);
            color: #ffdd6b;
            font-size: 12px;
            font-weight: 900;
            flex-shrink: 0;
        }

        .prediction-standing-avatar {
            width: 38px;
            height: 38px;
            border-radius: 12px;
            object-fit: cover;
            border: 1px solid rgba(255, 255, 255, 0.08);
            flex-shrink: 0;
        }

        .prediction-standing-avatar-fallback {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            border-radius: 12px;
            background: rgba(87, 142, 255, 0.12);
            color: #d9e6ff;
            font-weight: 900;
            border: 1px solid rgba(87, 142, 255, 0.14);
            text-transform: uppercase;
            flex-shrink: 0;
        }

        .prediction-standing-copy {
            min-width: 0;
        }

        .prediction-standing-name,
        .prediction-reward-title {
            color: #f8fafc;
            font-size: 14px;
            font-weight: 800;
            line-height: 1.25;
        }

        .prediction-standing-tier,
        .prediction-reward-perk {
            margin-top: 3px;
            color: #99a7bb;
            font-size: 12px;
            line-height: 1.45;
        }

        .prediction-standing-score {
            display: grid;
            justify-items: end;
            color: #f1c40f;
            flex-shrink: 0;
        }

        .prediction-standing-score strong {
            font-size: 24px;
            line-height: 1;
        }

        .prediction-standing-score span {
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #c5b46d;
        }

        .prediction-user-summary {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 16px 18px;
            border-radius: 18px;
            background: linear-gradient(145deg, rgba(241, 196, 15, 0.14), rgba(255, 255, 255, 0.03));
            border: 1px solid rgba(241, 196, 15, 0.12);
        }

        .prediction-user-points {
            font-size: 44px;
            line-height: 1;
            font-weight: 900;
            color: #f1c40f;
            flex-shrink: 0;
        }

        .prediction-user-title {
            color: #f8fafc;
            font-size: 18px;
            font-weight: 900;
            line-height: 1.15;
        }

        .prediction-user-subtitle {
            margin-top: 6px;
            color: #a7b3c5;
            font-size: 13px;
            line-height: 1.55;
        }

        .prediction-user-breakdown {
            display: grid;
            gap: 10px;
            margin-top: 14px;
        }

        .prediction-breakdown-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            padding: 10px 12px;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.03);
        }

        .prediction-breakdown-label {
            color: #dfe6f1;
            font-size: 13px;
            font-weight: 700;
        }

        .prediction-breakdown-points,
        .prediction-reward-points {
            color: #f1c40f;
            font-size: 15px;
            font-weight: 900;
            white-space: nowrap;
        }

        .prediction-reward-row {
            align-items: flex-start;
        }

        .prediction-reward-blue {
            border-color: rgba(87, 142, 255, 0.16);
        }

        .prediction-reward-violet {
            border-color: rgba(168, 120, 255, 0.16);
        }

        .prediction-reward-gold {
            border-color: rgba(241, 196, 15, 0.18);
        }

        .prediction-reward-crimson {
            border-color: rgba(255, 102, 102, 0.18);
        }

        @media (max-width: 1100px) {
            .tournament-hero-stats {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .prediction-entry-card,
            .prediction-cards {
                grid-template-columns: 1fr;
            }

            .prediction-entry-side {
                justify-items: stretch;
            }

            .prediction-entry-link {
                justify-content: center;
            }

            .prediction-cards {
                grid-template-columns: 1fr;
            }

            .prediction-competition-grid {
                grid-template-columns: 1fr;
            }
        }

        body.admin-focus-mode .tournament-header,
        body.admin-focus-mode .prize-pool.event-card,
        body.admin-focus-mode .tournament-status-container,
        body.admin-focus-mode .homepage-chat-section {
            display: none !important;
        }

        .homepage-chat-section {
            position: relative;
            overflow: hidden;
            margin: 30px 0;
            padding: 28px;
            border-radius: 26px;
            background:
                radial-gradient(circle at top left, rgba(110, 142, 251, 0.16), transparent 32%),
                radial-gradient(circle at bottom right, rgba(46, 204, 113, 0.12), transparent 28%),
                linear-gradient(145deg, rgba(16, 20, 29, 0.96), rgba(9, 12, 18, 0.98));
            border: 1px solid rgba(110, 142, 251, 0.2);
            box-shadow: 0 24px 44px rgba(0, 0, 0, 0.28);
        }

        .homepage-chat-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 38%);
            pointer-events: none;
        }

        .homepage-chat-header {
            position: relative;
            z-index: 1;
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 18px;
            margin-bottom: 20px;
        }

        .homepage-chat-copy {
            max-width: 780px;
        }

        .homepage-chat-kicker {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            font-weight: 800;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            color: #8ea4ff;
            margin-bottom: 12px;
        }

        .homepage-chat-title {
            font-size: clamp(28px, 4vw, 42px);
            font-weight: 900;
            line-height: 0.98;
            color: #ffffff;
            margin-bottom: 12px;
        }

        .homepage-chat-description {
            max-width: 720px;
            color: #b8c0cc;
            font-size: 15px;
            line-height: 1.7;
        }

        .homepage-chat-stats {
            display: grid;
            grid-template-columns: repeat(2, minmax(140px, 1fr));
            gap: 12px;
            min-width: min(100%, 320px);
        }

        .homepage-chat-header-actions {
            display: flex;
            align-items: stretch;
            gap: 14px;
        }

        .homepage-chat-stat {
            position: relative;
            z-index: 1;
            padding: 14px 16px;
            border-radius: 18px;
            background: rgba(14, 18, 27, 0.74);
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .homepage-chat-stat-value {
            font-size: 24px;
            font-weight: 900;
            color: #ffffff;
        }

        .homepage-chat-stat-label {
            margin-top: 6px;
            font-size: 11px;
            line-height: 1.4;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #8e9aaf;
        }

        .homepage-chat-toggle {
            position: relative;
            z-index: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            min-width: 172px;
            padding: 0 18px;
            border-radius: 18px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(14, 18, 27, 0.74);
            color: #f4f7fb;
            cursor: pointer;
            font-size: 13px;
            font-weight: 800;
            transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
        }

        .homepage-chat-toggle:hover {
            transform: translateY(-1px);
            border-color: rgba(110, 142, 251, 0.34);
            background: rgba(18, 24, 37, 0.92);
        }

        .homepage-chat-toggle-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            border-radius: 999px;
            background: rgba(110, 142, 251, 0.14);
            color: #9db1ff;
            transition: transform 0.2s ease, background 0.2s ease;
        }

        .homepage-chat-toggle-label {
            white-space: nowrap;
        }

        .homepage-chat-body {
            overflow: hidden;
            max-height: 1600px;
            opacity: 1;
            transform: translateY(0);
            transition: max-height 0.32s ease, opacity 0.22s ease, transform 0.22s ease, margin-top 0.22s ease;
        }

        .homepage-chat-collapsed-summary {
            display: none;
            position: relative;
            z-index: 1;
            margin-top: 4px;
            padding: 16px 18px;
            border-radius: 18px;
            background: rgba(7, 10, 16, 0.56);
            border: 1px solid rgba(255, 255, 255, 0.05);
            color: #b8c0cc;
            line-height: 1.6;
        }

        .homepage-chat-collapsed-summary strong {
            color: #ffffff;
        }

        .homepage-chat-section.is-collapsed .homepage-chat-body {
            max-height: 0;
            opacity: 0;
            transform: translateY(-10px);
            margin-top: 0;
            pointer-events: none;
        }

        .homepage-chat-section.is-collapsed .homepage-chat-collapsed-summary {
            display: block;
        }

        .homepage-chat-section.is-collapsed .homepage-chat-toggle-icon {
            transform: rotate(-180deg);
            background: rgba(46, 204, 113, 0.14);
            color: #7ef0ad;
        }

        .homepage-chat-shell-wrap {
            position: relative;
            z-index: 1;
            padding: 18px;
            border-radius: 22px;
            background: rgba(7, 10, 16, 0.56);
            border: 1px solid rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(12px);
        }

        .homepage-chat-teaser {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
            gap: 18px;
            padding: 18px;
            border-radius: 22px;
            background: rgba(7, 10, 16, 0.56);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .homepage-chat-teaser-card {
            padding: 22px;
            border-radius: 18px;
            background: linear-gradient(155deg, rgba(20, 27, 39, 0.96), rgba(10, 14, 22, 0.96));
            border: 1px solid rgba(255, 255, 255, 0.06);
        }

        .homepage-chat-teaser-card h3 {
            font-size: 24px;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 10px;
        }

        .homepage-chat-teaser-card p {
            color: #b8c0cc;
            line-height: 1.7;
            margin-bottom: 18px;
        }

        .homepage-chat-teaser-features {
            display: grid;
            gap: 10px;
        }

        .homepage-chat-teaser-feature {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 14px;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.03);
            color: #d7dde8;
            font-size: 14px;
        }

        .homepage-chat-cta {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 13px 20px;
            border-radius: 999px;
            background: linear-gradient(135deg, #6e8efb, #5b6cff);
            color: #ffffff;
            text-decoration: none;
            font-weight: 800;
            box-shadow: 0 14px 30px rgba(53, 80, 197, 0.28);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .homepage-chat-cta:hover {
            transform: translateY(-1px);
            box-shadow: 0 18px 32px rgba(53, 80, 197, 0.34);
        }

        .tournament-chat-shell {
            display: grid;
            grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
            gap: 16px;
        }

        .tournament-chat-sidebar {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .tournament-chat-sidebar-copy {
            color: rgba(255, 255, 255, 0.62);
            font-size: 13px;
            line-height: 1.5;
        }

        .tournament-chat-room-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
            max-height: min(72vh, 760px);
            overflow-y: auto;
            overflow-x: hidden;
            padding-right: 6px;
            scrollbar-gutter: stable;
        }

        .tournament-chat-room {
            position: relative;
            width: 100%;
            text-align: left;
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 14px;
            background: linear-gradient(145deg, rgba(17, 22, 32, 0.95), rgba(8, 11, 18, 0.96));
            padding: 14px;
            color: #fff;
            cursor: pointer;
            transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
        }

        .tournament-chat-room:hover {
            border-color: rgba(110, 142, 251, 0.28);
            transform: translateY(-1px);
            box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
        }

        .tournament-chat-room.active {
            border-color: rgba(110, 142, 251, 0.5);
            box-shadow: inset 0 0 0 1px rgba(110, 142, 251, 0.25), 0 16px 32px rgba(7, 12, 20, 0.34);
        }

        .tournament-chat-room.has-unread:not(.active) {
            border-color: rgba(241, 196, 15, 0.24);
            box-shadow: inset 0 0 0 1px rgba(241, 196, 15, 0.06);
        }

        .tournament-chat-room-head {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 10px;
        }

        .tournament-chat-room-title {
            font-size: 15px;
            font-weight: 700;
            color: #fff;
        }

        .tournament-chat-room-subtitle {
            margin-top: 5px;
            color: rgba(255, 255, 255, 0.56);
            font-size: 12px;
            line-height: 1.5;
        }

        .tournament-chat-room-meta {
            margin-top: 12px;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .tournament-chat-chip {
            display: inline-flex;
            align-items: center;
            padding: 6px 10px;
            border-radius: 999px;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            background: rgba(255, 255, 255, 0.06);
            color: rgba(255, 255, 255, 0.82);
        }

        .tournament-chat-chip.status-active {
            background: rgba(46, 204, 113, 0.12);
            color: #7ef0ad;
        }

        .tournament-chat-chip.status-readonly {
            background: rgba(241, 196, 15, 0.12);
            color: #f5d76e;
        }

        .tournament-chat-chip.status-archived {
            background: rgba(149, 165, 166, 0.12);
            color: #c6d0d8;
        }

        .tournament-chat-chip.unread {
            background: rgba(241, 196, 15, 0.14);
            color: #ffe082;
            box-shadow: inset 0 0 0 1px rgba(241, 196, 15, 0.12);
        }

        .tournament-chat-room-players {
            margin-top: 10px;
            color: rgba(255, 255, 255, 0.6);
            font-size: 12px;
            line-height: 1.5;
        }

        .tournament-chat-main {
            display: flex;
            flex-direction: column;
            min-height: 520px;
            border-radius: 16px;
            overflow: hidden;
            background: linear-gradient(180deg, rgba(16, 20, 29, 0.98), rgba(10, 13, 20, 0.98));
            border: 1px solid rgba(255, 255, 255, 0.06);
        }

        .tournament-chat-head {
            padding: 18px 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
        }

        .tournament-chat-head-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        .tournament-chat-title {
            font-size: 18px;
            font-weight: 800;
            color: #fff;
        }

        .tournament-chat-subtitle {
            margin-top: 6px;
            color: rgba(255, 255, 255, 0.62);
            font-size: 13px;
        }

.tournament-chat-thread {
            flex: 1;
            min-height: 360px;
            max-height: clamp(360px, 52vh, 460px);
            padding: 16px 18px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
            scrollbar-gutter: stable;
            scrollbar-width: thin;
            scrollbar-color: rgba(241, 196, 15, 0.42) rgba(255, 255, 255, 0.06);
        }

        .tournament-chat-thread::-webkit-scrollbar {
            width: 10px;
        }

        .tournament-chat-thread::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 999px;
        }

        .tournament-chat-thread::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, rgba(241, 196, 15, 0.72), rgba(110, 142, 251, 0.5));
            border-radius: 999px;
            border: 2px solid rgba(11, 15, 24, 0.88);
        }

        .tournament-chat-thread-empty {
            margin: auto;
            text-align: center;
            color: rgba(255, 255, 255, 0.54);
            font-size: 14px;
            line-height: 1.6;
            max-width: 320px;
        }

        .tournament-chat-message {
            display: flex;
            gap: 12px;
            align-items: flex-start;
            min-width: 0;
        }

        .tournament-chat-message.mine {
            flex-direction: row-reverse;
        }

        .tournament-chat-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            overflow: hidden;
            flex: 0 0 36px;
            background: linear-gradient(145deg, #314055, #1a2130);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-weight: 700;
            font-size: 14px;
        }

        .tournament-chat-profile-link {
            text-decoration: none;
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
        }

        .tournament-chat-profile-link:hover {
            transform: translateY(-1px) scale(1.03);
            box-shadow: 0 0 0 2px rgba(110, 142, 251, 0.24);
        }

        .tournament-chat-profile-link:focus-visible {
            outline: 2px solid rgba(110, 142, 251, 0.75);
            outline-offset: 2px;
        }

        .tournament-chat-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .tournament-chat-bubble {
            max-width: min(78%, 520px);
            min-width: 0;
            flex: 1 1 auto;
            padding: 12px 14px;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.06);
        }

        .tournament-chat-message.mine .tournament-chat-bubble {
            background: linear-gradient(135deg, rgba(110, 142, 251, 0.18), rgba(91, 108, 255, 0.12));
            border-color: rgba(110, 142, 251, 0.26);
        }

        .tournament-chat-bubble-top {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.56);
            margin-bottom: 6px;
            min-width: 0;
        }

        .tournament-chat-author {
            color: #fff;
            font-weight: 700;
            font-size: 13px;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .tournament-chat-author-link {
            color: inherit;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .tournament-chat-author-link:hover {
            color: #9db1ff;
        }

        .tournament-chat-author-link:focus-visible {
            outline: 2px solid rgba(110, 142, 251, 0.75);
            outline-offset: 2px;
            border-radius: 6px;
        }

        .tournament-chat-admin-badge {
            display: inline-flex;
            align-items: center;
            padding: 4px 8px;
            border-radius: 999px;
            background: rgba(241, 196, 15, 0.14);
            color: #f5d76e;
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }

        .tournament-chat-delete-btn {
            margin-left: auto;
            border: 1px solid rgba(231, 76, 60, 0.18);
            border-radius: 999px;
            padding: 4px 8px;
            background: rgba(231, 76, 60, 0.08);
            color: #ff9e95;
            cursor: pointer;
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
        }

        .tournament-chat-delete-btn:hover {
            background: rgba(231, 76, 60, 0.16);
            border-color: rgba(231, 76, 60, 0.34);
            color: #ffd1cc;
        }

        .tournament-chat-text {
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.6;
            white-space: pre-wrap;
            word-break: break-word;
            min-width: 0;
        }

        .tournament-chat-image-link {
            display: block;
            margin-top: 8px;
            text-decoration: none;
        }

        .tournament-chat-image {
            display: block;
            width: auto;
            max-width: min(100%, 320px);
            max-height: 320px;
            border-radius: 14px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
            object-fit: cover;
        }

        .tournament-chat-compose {
            padding: 16px 18px 18px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            display: flex;
            flex-direction: column;
            gap: 10px;
            background: rgba(255, 255, 255, 0.02);
        }

        .tournament-chat-compose textarea {
            width: 100%;
            min-height: 88px;
            resize: vertical;
            border-radius: 14px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(7, 10, 16, 0.9);
            color: #fff;
            padding: 14px 16px;
            font: inherit;
            outline: none;
        }

        .tournament-chat-compose textarea:focus {
            border-color: rgba(110, 142, 251, 0.36);
            box-shadow: 0 0 0 3px rgba(110, 142, 251, 0.1);
        }

        .tournament-chat-pending-image {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 14px;
            border-radius: 14px;
            background: rgba(255, 208, 74, 0.08);
            border: 1px solid rgba(255, 208, 74, 0.2);
        }

        .tournament-chat-pending-image[hidden] {
            display: none !important;
        }

        .tournament-chat-pending-image-thumb {
            width: 54px;
            height: 54px;
            object-fit: cover;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.14);
            flex-shrink: 0;
        }

        .tournament-chat-pending-image-copy {
            min-width: 0;
            flex: 1 1 auto;
        }

        .tournament-chat-pending-image-title {
            color: #ffe8ae;
            font-size: 13px;
            font-weight: 700;
        }

        .tournament-chat-pending-image-meta {
            margin-top: 4px;
            color: rgba(255, 255, 255, 0.68);
            font-size: 12px;
            line-height: 1.4;
        }

        .tournament-chat-pending-image-remove {
            width: 34px;
            height: 34px;
            border: 0;
            border-radius: 10px;
            cursor: pointer;
            color: #fff;
            background: rgba(255, 255, 255, 0.08);
            flex-shrink: 0;
        }

        .tournament-chat-pending-image-remove:hover {
            background: rgba(255, 255, 255, 0.14);
        }

        .tournament-chat-compose-row {
            display: flex;
            align-items: center;
            gap: 12px;
            justify-content: space-between;
            flex-wrap: wrap;
        }

        .tournament-chat-compose-note {
            color: rgba(255, 255, 255, 0.56);
            font-size: 12px;
            line-height: 1.5;
            min-height: 18px;
            flex: 1 1 180px;
        }

        .tournament-chat-compose-note:empty {
            display: none;
        }

        .tournament-chat-compose-actions {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-left: auto;
        }

        .tournament-chat-upload-btn {
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            padding: 12px 16px;
            font-weight: 800;
            cursor: pointer;
            color: #dfe6f3;
            background: rgba(255, 255, 255, 0.04);
            transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
        }

        .tournament-chat-upload-btn:hover {
            transform: translateY(-1px);
            border-color: rgba(110, 142, 251, 0.36);
        }

        .tournament-chat-upload-btn:disabled {
            cursor: not-allowed;
            opacity: 0.6;
            transform: none;
        }

        .tournament-chat-send-btn {
            border: none;
            border-radius: 12px;
            padding: 12px 18px;
            font-weight: 800;
            cursor: pointer;
            color: #fff;
            background: linear-gradient(135deg, #6e8efb, #5b6cff);
            transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
        }

        .tournament-chat-send-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 12px 24px rgba(70, 98, 214, 0.24);
        }

        .tournament-chat-send-btn:disabled {
            cursor: not-allowed;
            opacity: 0.6;
            transform: none;
            box-shadow: none;
        }

        /* Р СџРЎР‚Р С‘Р В·Р С•Р Р†Р С•Р в„– РЎвЂћР С•Р Р…Р Т‘ */
        .prize-pool {
            background: linear-gradient(145deg, #1a1d24, #0f1116);
            border-radius: 20px;
            padding: 30px;
            margin-bottom: 30px;
            border: 1px solid #f1c40f;
            position: relative;
            overflow: hidden;
            width: 100%;
        }
        
        .prize-pool::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(241, 196, 15, 0.1) 0%, transparent 70%);
            animation: rotate 20s linear infinite;
        }
        
        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        
        .prize-pool-title {
            font-size: 28px;
            font-weight: 800;
            color: #f1c40f;
            text-align: center;
            margin-bottom: 30px;
            text-transform: uppercase;
            letter-spacing: 4px;
            text-shadow: 0 0 20px rgba(241, 196, 15, 0.5);
        }
        
        .prize-pool-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 15px;
            position: relative;
            z-index: 1;
        }

        @media (max-width: 768px) {
            .tournament-header {
                padding: 88px 20px 24px;
            }

            .homepage-chat-section {
                padding: 22px 18px;
                border-radius: 22px;
            }

            .homepage-chat-header,
            .homepage-chat-teaser {
                grid-template-columns: 1fr;
                display: grid;
            }

            .homepage-chat-header-actions {
                display: grid;
                gap: 12px;
            }

            .homepage-chat-stats {
                grid-template-columns: 1fr 1fr;
            }

            .homepage-chat-toggle {
                min-height: 54px;
            }

            .grand-final-game-topline {
                align-items: flex-start;
                flex-direction: column;
            }

            .grand-final-game-toggle {
                min-width: 100%;
            }

            #grandFinalStage .grand-final-lobby-card .players-list {
                grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            }

            .tournament-chat-shell {
                grid-template-columns: 1fr;
            }

            .tournament-chat-main {
                min-height: 460px;
            }

            .tournament-chat-message {
                gap: 10px;
            }

            .tournament-chat-avatar {
                width: 32px;
                height: 32px;
                flex: 0 0 32px;
            }

            .tournament-chat-bubble {
                max-width: 100%;
                width: 100%;
                padding: 10px 12px;
            }

            .tournament-chat-bubble-top {
                align-items: flex-start;
                gap: 6px;
            }

            .tournament-chat-author {
                flex: 1 1 100%;
                font-size: 12px;
            }

            .tournament-chat-delete-btn {
                margin-left: 0;
                flex-shrink: 0;
            }

            .tournament-chat-text {
                font-size: 13px;
                line-height: 1.45;
            }

            .tournament-hero-stats {
                grid-template-columns: 1fr;
            }

            .tournament-ribbon {
                top: 14px;
                right: 14px;
                left: 14px;
                min-width: 0;
                max-width: none;
            }

            .tournament-ribbon-name {
                font-size: 16px;
                letter-spacing: 0.08em;
                white-space: normal;
                overflow-wrap: anywhere;
            }

            .tournament-ribbon-note {
                font-size: 10px;
                letter-spacing: 0.1em;
            }
        }
        
        .prize-pool-item {
            background: linear-gradient(145deg, #242831, #1a1d24);
            border-radius: 16px;
            padding: 20px 10px;
            text-align: center;
            border: 1px solid #2f3540;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .prize-pool-item:hover {
            transform: translateY(-5px);
            border-color: #f1c40f;
            box-shadow: 0 10px 20px rgba(241, 196, 15, 0.3);
        }
        
        .prize-pool-item.top-1 {
            background: linear-gradient(145deg, #2a2a1a, #1a1a0f);
            border: 2px solid #f1c40f;
        }
        
        .prize-pool-item.top-2 {
            background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
            border: 2px solid #c0c0c0;
        }
        
        .prize-pool-item.top-3 {
            background: linear-gradient(145deg, #2a1e1a, #1a130f);
            border: 2px solid #cd7f32;
        }
        
        .prize-pool-item::after {
            content: '*';
            position: absolute;
            bottom: -10px;
            right: -10px;
            font-size: 40px;
            opacity: 0.1;
            transform: rotate(15deg);
        }
        
        .prize-place {
            font-size: 18px;
            font-weight: 700;
            color: #8e9aaf;
            margin-bottom: 10px;
        }
        
        .prize-amount {
            font-size: 24px;
            font-weight: 800;
            color: #f1c40f;
            text-shadow: 0 0 10px rgba(241, 196, 15, 0.5);
        }
        
        .top-1 .prize-amount {
            font-size: 28px;
        }
        
        .top-2 .prize-amount {
            color: #c0c0c0;
        }
        
        .top-3 .prize-amount {
            color: #cd7f32;
        }
        
/* ========== Р С’Р вЂќР СљР ВР Сњ-Р СџР С’Р СњР вЂўР вЂєР В¬ ========== */
.admin-panel {
    margin-bottom: 30px;
    width: 100%;
}

/* Р вЂњР В»Р В°Р Р†Р Р…РЎвЂ№Р в„– Р В±Р В°РЎР‚ Р В°Р Т‘Р СР С‘Р Р…Р В° */
.admin-bar {
    background: linear-gradient(145deg, #1a1d24, #0f1116);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid #6e8efb;
    box-shadow: 0 10px 30px rgba(110, 142, 251, 0.2);
}

/* Р РЃР В°Р С—Р С”Р В° Р В°Р Т‘Р СР С‘Р Р…Р С”Р С‘ */
.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #2f3540;
}

.admin-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-badge {
    background: #007d35;
    padding: 8px 20px;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-badge i {
    font-size: 16px;
}

.admin-logout {
    background: #e74c3c;
    border: none;
    border-radius: 30px;
    padding: 10px 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.admin-logout:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* Р РЋР ВµРЎвЂљР С”Р В° Р С‘Р Р…РЎРѓРЎвЂљРЎР‚РЎС“Р СР ВµР Р…РЎвЂљР С•Р Р† */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.tool-btn {
    background: #242831;
    border: 1px solid #2f3540;
    border-radius: 12px;
    padding: 15px 10px;
    color: #e4e6eb;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.tool-btn:hover {
    transform: translateY(-3px);
    border-color: #6e8efb;
    box-shadow: 0 5px 15px rgba(110, 142, 251, 0.2);
}

.tool-btn .tool-icon {
    font-size: 24px;
}

.tool-btn .tool-label {
    font-size: 12px;
    color: #8e9aaf;
}

/* Р СџР В°Р Р…Р ВµР В»РЎРЉ РЎРѓРЎвЂљР В°РЎвЂљРЎС“РЎРѓР В° */
.status-panel {
    background: #242831;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.status-panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #f1c40f;
    font-weight: 600;
}

.status-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.status-btn {
    flex: 1;
    min-width: 120px;
    padding: 12px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
}

.status-btn.registration {
    background: #2f3540;
    color: white;
}

.status-btn.registration.active {
    background: #f1c40f;
    color: black;
    box-shadow: 0 0 20px rgba(241, 196, 15, 0.3);
}

.status-btn.active {
    background: #007d35;
    color: white;
}

.status-btn.completed {
    background: #8e9aaf;
    color: white;
}

.status-btn.toggle {
    background: #2f3540;
    color: white;
    border: 1px solid #6e8efb;
}

.status-btn.toggle:hover {
    background: #3f4754;
}

.status-btn.toggle.open {
    background: #f39c12;
    border-color: #f39c12;
}

.status-btn.toggle.closed {
    background: #e74c3c;
    border-color: #e74c3c;
}

/* Р РЋР ВµР С”РЎвЂ Р С‘Р С‘ Р В°Р Т‘Р СР С‘Р Р…Р С”Р С‘ */
.admin-section {
    background: #242831;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #2f3540;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6e8efb;
    font-size: 18px;
    font-weight: 600;
}

/* Р СљР В°РЎРѓРЎРѓР С•Р Р†Р С•Р Вµ Р Т‘Р С•Р В±Р В°Р Р†Р В»Р ВµР Р…Р С‘Р Вµ */
.bulk-add {
    background: #242831;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.bulk-example {
    background: #1a1d24;
    border-radius: 12px;
    padding: 15px;
    margin: 15px 0;
    font-size: 13px;
    color: #8e9aaf;
    border-left: 3px solid #f1c40f;
    font-family: monospace;
}

.players-textarea {
    width: 100%;
    height: 120px;
    padding: 15px;
    background: #1a1d24;
    border: 1px solid #2f3540;
    border-radius: 12px;
    color: white;
    margin-bottom: 15px;
    font-family: monospace;
    resize: vertical;
}

.bulk-actions {
    display: flex;
    gap: 10px;
}

.btn-primary {
    flex: 2;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    border: none;
    border-radius: 30px;
    padding: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(110, 142, 251, 0.3);
}

.btn-secondary {
    flex: 1;
    background: #2f3540;
    border: none;
    border-radius: 30px;
    padding: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #3f4754;
}

/* Р В Р ВµР Т‘Р В°Р С”РЎвЂљР С•РЎР‚ РЎРѓР ВµРЎвЂљР С”Р С‘ */
.bracket-editor {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.bracket-column {
    background: #1a1d24;
    border-radius: 12px;
    padding: 15px;
}

.bracket-column h4 {
    color: #6e8efb;
    margin-bottom: 15px;
    font-size: 16px;
}

/* Р В Р ВµР Т‘Р В°Р С”РЎвЂљР С•РЎР‚ РЎвЂљРЎС“РЎР‚Р Р…Р С‘РЎР‚Р Р…Р С•Р в„– РЎРѓР ВµРЎвЂљР С”Р С‘ */
.admin-section {
    background: linear-gradient(145deg, #1a1d24, #0f1116);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #2f3540;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #2f3540;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #f1c40f;
    font-size: 20px;
    font-weight: 600;
}

.section-title i {
    font-size: 24px;
    color: #6e8efb;
}

.section-badge {
    background: #242831;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: #8e9aaf;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Р РЋР ВµРЎвЂљР С”Р В° РЎР‚Р ВµР Т‘Р В°Р С”РЎвЂљР С•РЎР‚Р В° */
.bracket-editor {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.bracket-column {
    background: #242831;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #2f3540;
    transition: all 0.3s;
}

.bracket-column:hover {
    border-color: #6e8efb;
    box-shadow: 0 5px 15px rgba(110, 142, 251, 0.1);
}

.column-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.column-icon {
    font-size: 28px;
}

.column-title h4 {
    color: #e4e6eb;
    font-size: 18px;
    margin-bottom: 4px;
}

.round-count {
    font-size: 12px;
    color: #8e9aaf;
}

/* Р РЋР С—Р С‘РЎРѓР С•Р С” РЎР‚Р В°РЎС“Р Р…Р Т‘Р С•Р Р† */
.rounds-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 15px;
    padding-right: 5px;
}

.rounds-list::-webkit-scrollbar {
    width: 6px;
}

.rounds-list::-webkit-scrollbar-track {
    background: #1a1d24;
    border-radius: 3px;
}

.rounds-list::-webkit-scrollbar-thumb {
    background: #3f4754;
    border-radius: 3px;
}

.round-item {
    background: #1a1d24;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #2f3540;
    transition: all 0.2s;
}

.round-item:hover {
    border-color: #6e8efb;
    transform: translateX(5px);
}

.round-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.round-name {
    font-size: 14px;
    font-weight: 600;
    color: #e4e6eb;
}

.round-lobbies {
    font-size: 12px;
    color: #8e9aaf;
    display: flex;
    align-items: center;
    gap: 4px;
}

.round-controls .lobby-control {
    display: flex;
    align-items: center;
    gap: 6px;
}

.round-controls input {
    width: 50px;
    padding: 6px;
    background: #242831;
    border: 1px solid #2f3540;
    border-radius: 8px;
    color: white;
    text-align: center;
    font-size: 13px;
}

.round-controls input:focus {
    outline: none;
    border-color: #6e8efb;
}

.btn-icon {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-icon.delete {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.btn-icon.delete:hover {
    background: #e74c3c;
    color: white;
    transform: scale(1.1);
}

/* Р С™Р Р…Р С•Р С—Р С”Р В° Р Т‘Р С•Р В±Р В°Р Р†Р В»Р ВµР Р…Р С‘РЎРЏ РЎР‚Р В°РЎС“Р Р…Р Т‘Р В° */
.add-round-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #2f3540, #242831);
    border: 2px dashed #3f4754;
    border-radius: 12px;
    color: #8e9aaf;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-round-btn:hover {
    border-color: #6e8efb;
    color: #6e8efb;
    background: rgba(110, 142, 251, 0.1);
}

.add-round-btn i {
    font-size: 18px;
}

/* Р СњР В°РЎРѓРЎвЂљРЎР‚Р С•Р в„–Р С”Р С‘ Р В»Р С•Р В±Р В±Р С‘ */
.lobby-settings {
    background: #242831;
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #2f3540;
}

.settings-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6e8efb;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.setting-card {
    background: #1a1d24;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid #2f3540;
    transition: all 0.2s;
}

.setting-card:hover {
    border-color: #6e8efb;
}

.setting-icon {
    width: 40px;
    height: 40px;
    background: rgba(110, 142, 251, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.setting-content {
    flex: 1;
}

.setting-content label {
    display: block;
    color: #e4e6eb;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.setting-input {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.setting-input input {
    width: 80px;
    padding: 8px;
    background: #242831;
    border: 1px solid #2f3540;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.setting-input input:focus {
    outline: none;
    border-color: #6e8efb;
}

.setting-unit {
    color: #8e9aaf;
    font-size: 13px;
}

.setting-hint {
    display: block;
    font-size: 11px;
    color: #8e9aaf;
    margin-top: 5px;
}

.setting-hint.warning {
    color: #ffb46e;
}

.setting-input select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Р С™Р В°РЎР‚РЎвЂљР С•РЎвЂЎР С”Р В° РЎРѓРЎвЂљР В°РЎвЂљР С‘РЎРѓРЎвЂљР С‘Р С”Р С‘ */
.setting-card.stats {
    background: linear-gradient(145deg, #1a1d24, #15181f);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

.stat {
    text-align: center;
    padding: 8px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #f1c40f;
    line-height: 1.2;
}

.stat-label {
    font-size: 11px;
    color: #8e9aaf;
    text-transform: uppercase;
}

/* Р С™Р Р…Р С•Р С—Р С”Р С‘ Р Т‘Р ВµР в„–РЎРѓРЎвЂљР Р†Р С‘Р в„– */
.settings-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #2f3540;
}

.btn-primary, .btn-secondary {
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    box-shadow: 0 4px 0 #4a5a9e;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #4a5a9e;
}

.btn-secondary {
    background: #2f3540;
    color: white;
    box-shadow: 0 4px 0 #1a1d24;
}

.btn-secondary:hover {
    background: #3f4754;
    transform: translateY(-2px);
}

.bracket-admin-section {
    position: relative;
    margin-bottom: 24px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(241, 196, 15, 0.16);
    background:
        radial-gradient(circle at top right, rgba(110, 142, 251, 0.12), transparent 26%),
        radial-gradient(circle at top left, rgba(241, 196, 15, 0.10), transparent 24%),
        linear-gradient(145deg, rgba(19, 24, 34, 0.98), rgba(11, 15, 22, 0.96));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.bracket-admin-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.04), transparent 30%, transparent 70%, rgba(110, 142, 251, 0.05));
    pointer-events: none;
}

.bracket-admin-header {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding: 0;
    border-bottom: none;
}

.bracket-admin-header h3 {
    margin: 0;
    color: #f7d969;
    font-size: 24px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.bracket-admin-header h3 i {
    margin-right: 8px;
    color: #f7d969;
}

.bracket-admin-tools {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-start;
}

.editor-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.05);
    color: #f5f7fb;
    font-size: 12px;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.editor-badge i {
    color: #8ab3ff;
}

.layout-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.05);
    color: #f5f7fb;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.layout-reset-btn i {
    color: #f5d76e;
}

.layout-reset-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(241, 196, 15, 0.24);
    background: rgba(255, 255, 255, 0.08);
}

.bracket-admin-section .bracket-editor {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.bracket-admin-section .bracket-column {
    background: linear-gradient(155deg, rgba(28, 32, 43, 0.98), rgba(16, 20, 29, 0.96));
    border-radius: 20px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255,255,255,0.03);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.bracket-admin-section .bracket-column:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255,255,255,0.05);
}

.bracket-admin-section .bracket-column.upper {
    border-color: rgba(110, 142, 251, 0.22);
}

.bracket-admin-section .bracket-column.upper:hover {
    border-color: rgba(110, 142, 251, 0.38);
}

.bracket-admin-section .bracket-column.lower {
    border-color: rgba(231, 76, 60, 0.20);
}

.bracket-admin-section .bracket-column.lower:hover {
    border-color: rgba(231, 76, 60, 0.34);
}

.bracket-admin-section .bracket-column.disabled {
    border-color: rgba(142, 154, 175, 0.14);
    background: linear-gradient(155deg, rgba(24, 28, 37, 0.98), rgba(16, 18, 24, 0.96));
}

.bracket-admin-section .column-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.bracket-admin-section .column-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.bracket-admin-section .bracket-column.upper .column-icon {
    color: #8ab3ff;
    background: rgba(110, 142, 251, 0.12);
    border-color: rgba(110, 142, 251, 0.22);
}

.bracket-admin-section .bracket-column.lower .column-icon {
    color: #ff9386;
    background: rgba(231, 76, 60, 0.10);
    border-color: rgba(231, 76, 60, 0.18);
}

.bracket-admin-section .bracket-column.disabled .column-icon {
    color: #9da8bb;
    background: rgba(142, 154, 175, 0.08);
    border-color: rgba(142, 154, 175, 0.18);
}

.bracket-admin-section .column-title {
    min-width: 0;
}

.bracket-admin-section .column-kicker {
    margin-bottom: 5px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(142, 154, 175, 0.76);
}

.bracket-admin-section .column-title h4 {
    margin: 0 0 8px;
    color: #f4f7fb;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.bracket-admin-section .round-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(198, 208, 224, 0.76);
    font-size: 11px;
    font-weight: 700;
}

.bracket-admin-section .rounds-list {
    max-height: 340px;
    overflow-y: auto;
    margin-bottom: 14px;
    padding-right: 6px;
}

.bracket-admin-section .rounds-list::-webkit-scrollbar {
    width: 8px;
}

.bracket-admin-section .rounds-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.bracket-admin-section .rounds-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(241, 196, 15, 0.72), rgba(110, 142, 251, 0.52));
    border-radius: 999px;
}

.bracket-admin-section .round-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.bracket-admin-section .round-item:hover {
    transform: translateY(-1px);
    border-color: rgba(241, 196, 15, 0.22);
    background: rgba(255, 255, 255, 0.045);
}

.bracket-admin-section .round-item-empty {
    align-items: stretch;
}

.bracket-admin-section .round-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bracket-admin-section .round-headline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bracket-admin-section .round-headline-empty {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.bracket-admin-section .round-name {
    font-size: 15px;
    font-weight: 700;
    color: #eef2fb;
}

.bracket-admin-section .round-name-input {
    width: 180px;
    min-height: 34px;
    padding: 0 12px;
    background: rgba(10, 12, 18, 0.44);
    border: 1px solid rgba(110, 142, 251, 0.34);
    border-radius: 12px;
    color: #f4f7fb;
    font-size: 13px;
}

.bracket-admin-section .round-name-input:focus {
    outline: none;
    border-color: rgba(241, 196, 15, 0.34);
}

.bracket-admin-section .round-lobbies {
    font-size: 11px;
    color: rgba(142, 154, 175, 0.82);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.bracket-admin-section .round-controls .lobby-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bracket-admin-section .round-control-stack {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.bracket-admin-section .round-layout-mini {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bracket-admin-section .round-order-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 38px;
    padding: 0 10px;
    border-radius: 12px;
    background: rgba(241, 196, 15, 0.10);
    border: 1px solid rgba(241, 196, 15, 0.20);
    color: #fff1c2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.bracket-admin-section .round-lobby-input {
    width: 54px;
    height: 38px;
    padding: 0 8px;
    background: rgba(10, 12, 18, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #f4f7fb;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}

.bracket-admin-section .round-lobby-input:focus {
    outline: none;
    border-color: rgba(241, 196, 15, 0.32);
}

.bracket-admin-section .btn-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #dbe5ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.bracket-admin-section .btn-icon.edit {
    color: #8ab3ff;
    border-color: rgba(110, 142, 251, 0.24);
    background: rgba(110, 142, 251, 0.10);
}

.bracket-admin-section .btn-icon.layout {
    color: #f5d76e;
    border-color: rgba(241, 196, 15, 0.18);
    background: rgba(241, 196, 15, 0.08);
}

.bracket-admin-section .btn-icon.layout:hover {
    transform: translateY(-1px);
    border-color: rgba(241, 196, 15, 0.34);
    background: rgba(241, 196, 15, 0.14);
}

.bracket-admin-section .btn-icon.layout:disabled {
    opacity: 0.42;
    cursor: not-allowed;
    transform: none;
}

.bracket-admin-section .btn-icon.edit:hover {
    transform: translateY(-1px);
    border-color: rgba(110, 142, 251, 0.38);
    background: rgba(110, 142, 251, 0.16);
}

.bracket-admin-section .btn-icon.delete {
    color: #ff8a7a;
    border-color: rgba(231, 76, 60, 0.24);
    background: rgba(231, 76, 60, 0.10);
}

.bracket-admin-section .btn-icon.delete:hover {
    transform: translateY(-1px);
    border-color: rgba(231, 76, 60, 0.4);
    background: rgba(231, 76, 60, 0.18);
}

.bracket-admin-section .add-round-btn {
    width: 100%;
    min-height: 40px;
    padding: 10px 14px;
    border: 1px solid rgba(39, 174, 96, 0.28);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(39, 174, 96, 0.92), rgba(27, 140, 77, 0.92));
    color: #f2fff7;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 14px 26px rgba(20, 112, 61, 0.26);
}

.bracket-admin-section .add-round-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(122, 230, 166, 0.4);
    background: linear-gradient(180deg, rgba(46, 204, 113, 0.95), rgba(27, 140, 77, 0.95));
}

.bracket-admin-section .lobby-settings {
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(160deg, rgba(20, 24, 34, 0.98), rgba(11, 15, 22, 0.96));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.bracket-admin-section .settings-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.bracket-admin-section .settings-title {
    margin: 6px 0 0;
    color: #f4f7fb;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.bracket-admin-section .settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.bracket-admin-section .setting-card {
    background: linear-gradient(160deg, rgba(29, 34, 46, 0.96), rgba(17, 21, 29, 0.94));
    border-radius: 18px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bracket-admin-section .setting-card.setting-card-wide {
    grid-column: span 2;
}

.bracket-admin-section .setting-card:hover {
    transform: translateY(-1px);
    border-color: rgba(241, 196, 15, 0.22);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.bracket-admin-section .setting-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(110, 142, 251, 0.12);
    border: 1px solid rgba(110, 142, 251, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.bracket-admin-section .setting-content {
    flex: 1;
    min-width: 0;
}

.bracket-admin-section .setting-content label {
    display: block;
    color: #eef2fb;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.bracket-admin-section .setting-input {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    min-width: 0;
}

.bracket-admin-section .setting-input.setting-input-spaced {
    margin-top: 10px;
}

.bracket-admin-section .setting-input.setting-checkbox-row {
    flex-wrap: nowrap;
}

.bracket-admin-section .setting-input.setting-input-full input {
    width: 100%;
    flex: 1 1 auto;
}

.bracket-admin-section .setting-input.setting-input-dual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
}

.bracket-admin-section .setting-field {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.bracket-admin-section .setting-field input {
    min-width: 0;
    flex: 1 1 auto;
}

.bracket-admin-section .setting-input input,
.bracket-admin-section .setting-input select {
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    background: rgba(10, 12, 18, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #f4f7fb;
    font-size: 13px;
    font-weight: 700;
}

.bracket-admin-section .setting-input input[type="text"],
.bracket-admin-section .setting-input select {
    width: 100%;
    flex: 1 1 auto;
}

.bracket-admin-section .setting-input input[type="number"] {
    width: 112px;
    flex: 0 0 112px;
}

.bracket-admin-section .setting-input input:focus,
.bracket-admin-section .setting-input select:focus {
    outline: none;
    border-color: rgba(241, 196, 15, 0.32);
}

.bracket-admin-section .setting-input input[type="checkbox"] {
    width: 18px;
    height: 18px;
    padding: 0;
    border-radius: 6px;
}

.bracket-admin-section .setting-checkbox-row {
    justify-content: flex-start;
    gap: 10px;
}

.bracket-admin-section .setting-unit {
    color: rgba(142, 154, 175, 0.84);
    font-size: 12px;
}

.bracket-admin-section .setting-hint {
    display: block;
    font-size: 11px;
    line-height: 1.45;
    color: rgba(142, 154, 175, 0.82);
}

.bracket-admin-section .setting-hint.warning {
    color: #ffb88a;
}

.bracket-admin-section .setting-field .setting-unit {
    white-space: nowrap;
}

.payment-provider-admin {
    margin-top: 24px;
}

.payment-provider-admin .payment-provider-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.payment-provider-admin .payment-provider-card {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(11, 15, 22, 0.62);
    min-width: 0;
}

.payment-provider-admin .payment-provider-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.payment-provider-admin .payment-provider-name {
    margin: 0;
    color: #f4f7fb;
    font-size: 16px;
    font-weight: 800;
}

.payment-provider-admin .payment-provider-stack {
    display: grid;
    gap: 10px;
}

.payment-provider-admin .payment-provider-inline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.payment-provider-admin .payment-provider-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(142, 154, 175, 0.9);
    font-size: 11px;
    font-weight: 700;
}

.payment-provider-admin .payment-provider-status.ready {
    background: rgba(39, 174, 96, 0.14);
    color: #caffdc;
}

.payment-provider-admin .payment-provider-stack .setting-input {
    margin-bottom: 0;
}

.payment-provider-admin .payment-provider-stack .setting-input input[type="text"] {
    width: 100%;
}

.payment-provider-admin .payment-provider-note {
    margin-top: 4px;
}

.payment-provider-admin .payment-provider-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.bracket-admin-section .setting-card.stats {
    background: linear-gradient(160deg, rgba(22, 27, 39, 0.98), rgba(11, 15, 22, 0.96));
    display: block;
}

.bracket-admin-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
    width: 100%;
}

.bracket-admin-section .stat {
    min-width: 0;
    padding: 12px 10px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.bracket-admin-section .stat-value {
    display: block;
    margin-bottom: 4px;
    font-size: 28px;
    font-weight: 800;
    color: #f5f7fb;
    letter-spacing: -0.04em;
}

.bracket-admin-section .stat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.35;
    color: rgba(142, 154, 175, 0.82);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.match-sync-panel {
    border: 1px solid rgba(110, 142, 251, 0.18);
    background:
        radial-gradient(circle at top right, rgba(110, 142, 251, 0.12), transparent 28%),
        linear-gradient(160deg, rgba(20, 25, 36, 0.98), rgba(11, 15, 22, 0.96));
}

.match-sync-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.match-sync-stat {
    min-width: 0;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.match-sync-stat-label {
    display: block;
    margin-bottom: 6px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(142, 154, 175, 0.8);
}

.match-sync-stat-value {
    display: block;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #f4f7fb;
}

.match-sync-stat-value.ok {
    color: #8ff0b8;
}

.match-sync-stat-value.warn {
    color: #ffd86a;
}

.match-sync-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.match-sync-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #cfd7e6;
    font-size: 11px;
}

.match-sync-meta-pill.error {
    background: rgba(231, 76, 60, 0.12);
    border-color: rgba(231, 76, 60, 0.24);
    color: #ffb3a7;
}

.match-sync-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.match-sync-panel[data-loading="true"] {
    opacity: 0.76;
}

.match-sync-panel[data-loading="true"] .tool-btn {
    pointer-events: none;
}

.admin-broadcast-panel {
    border: 1px solid rgba(241, 196, 15, 0.16);
    background:
        radial-gradient(circle at top right, rgba(241, 196, 15, 0.10), transparent 32%),
        linear-gradient(145deg, rgba(18, 24, 36, 0.98), rgba(11, 15, 23, 0.98));
}

.admin-broadcast-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.admin-broadcast-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-broadcast-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    line-height: 1;
}

.admin-broadcast-pill strong {
    color: #fff4c7;
    font-size: 13px;
}

.admin-broadcast-input,
.admin-broadcast-textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(10, 15, 23, 0.94);
    color: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-broadcast-input {
    min-height: 50px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 600;
}

.admin-broadcast-textarea {
    min-height: 132px;
    padding: 14px 16px;
    resize: vertical;
    line-height: 1.55;
    font-size: 14px;
}

.admin-broadcast-input:focus,
.admin-broadcast-textarea:focus {
    border-color: rgba(241, 196, 15, 0.48);
    box-shadow: 0 0 0 3px rgba(241, 196, 15, 0.10);
}

.admin-broadcast-settings-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.admin-broadcast-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-broadcast-field-label {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-broadcast-select {
    padding-right: 42px;
    cursor: pointer;
}

.admin-broadcast-switch {
    min-height: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(10, 15, 23, 0.94);
    cursor: pointer;
}

.admin-broadcast-switch input {
    width: 18px;
    height: 18px;
    accent-color: #f1c40f;
}

.admin-broadcast-switch-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-broadcast-switch-copy strong {
    color: #fff;
    font-size: 14px;
}

.admin-broadcast-switch-copy small {
    color: rgba(255, 255, 255, 0.56);
    font-size: 11px;
    line-height: 1.35;
}

.admin-broadcast-switch input:disabled + .admin-broadcast-switch-copy {
    opacity: 0.58;
}

.admin-broadcast-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.admin-broadcast-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 700;
}

.admin-broadcast-preview-hint {
    color: rgba(255, 255, 255, 0.54);
    font-size: 12px;
    font-weight: 600;
}

.admin-broadcast-preview-card {
    margin: 0;
}

.admin-broadcast-toast-preview {
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background:
        radial-gradient(circle at top right, rgba(241, 196, 15, 0.12), transparent 42%),
        linear-gradient(145deg, rgba(18, 24, 36, 0.96), rgba(10, 14, 21, 0.98));
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
}

.admin-broadcast-toast-preview::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(110, 142, 251, 0.88), rgba(205, 220, 255, 0.22));
}

.admin-broadcast-toast-preview-gold::after {
    background: linear-gradient(90deg, rgba(241, 196, 15, 0.92), rgba(255, 244, 199, 0.22));
}

.admin-broadcast-toast-preview-red::after {
    background: linear-gradient(90deg, rgba(231, 76, 60, 0.92), rgba(255, 207, 202, 0.22));
}

.admin-broadcast-toast-preview-green::after {
    background: linear-gradient(90deg, rgba(46, 204, 113, 0.88), rgba(192, 255, 214, 0.22));
}

.admin-broadcast-toast-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #f1c40f;
    font-size: 15px;
}

.admin-broadcast-toast-body {
    min-width: 0;
    flex: 1 1 auto;
}

.admin-broadcast-toast-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.admin-broadcast-toast-title {
    color: #fff6d7;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}

.admin-broadcast-toast-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.74);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-broadcast-toast-message {
    margin-top: 4px;
    color: rgba(238, 243, 251, 0.78);
    font-size: 13px;
    line-height: 1.45;
}

.admin-broadcast-toast-meta {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-broadcast-preview-note {
    color: rgba(255, 255, 255, 0.48);
    font-size: 12px;
    line-height: 1.5;
}

.admin-broadcast-status {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.5;
}

.admin-broadcast-status.is-success {
    border-color: rgba(46, 204, 113, 0.26);
    background: rgba(46, 204, 113, 0.10);
    color: #d8ffea;
}

.admin-broadcast-status.is-error {
    border-color: rgba(231, 76, 60, 0.28);
    background: rgba(231, 76, 60, 0.10);
    color: #ffd6d1;
}

.admin-broadcast-status.is-info {
    border-color: rgba(110, 142, 251, 0.24);
    background: rgba(110, 142, 251, 0.10);
    color: #dbe5ff;
}

.admin-broadcast-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 1180px) {
    .bracket-admin-section .setting-card.setting-card-wide {
        grid-column: span 1;
    }

    .bracket-admin-section .setting-input.setting-input-dual {
        grid-template-columns: 1fr;
    }

    .payment-provider-admin .payment-provider-grid,
    .payment-provider-admin .payment-provider-inline {
        grid-template-columns: 1fr;
    }

    .admin-broadcast-settings-grid {
        grid-template-columns: 1fr;
    }

    .admin-broadcast-preview-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-broadcast-toast-preview {
        flex-direction: column;
    }
}

.bracket-admin-section .settings-actions {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bracket-admin-section .btn-primary,
.bracket-admin-section .btn-secondary {
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.bracket-admin-section .btn-primary {
    flex: 1;
    border: 1px solid rgba(110, 142, 251, 0.22);
    background: linear-gradient(90deg, rgba(110, 142, 251, 0.95), rgba(167, 119, 227, 0.92));
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(95, 111, 217, 0.22), inset 0 1px 0 rgba(255,255,255,0.12);
}

.bracket-admin-section .btn-primary:hover {
    transform: translateY(-1px);
    border-color: rgba(167, 119, 227, 0.34);
}

.bracket-admin-section .btn-secondary {
    min-width: 180px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: #f5f7fb;
}

.bracket-admin-section .btn-secondary:hover {
    transform: translateY(-1px);
    border-color: rgba(241, 196, 15, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
    .bracket-admin-section {
        padding: 18px;
        border-radius: 20px;
    }

    .bracket-admin-header,
    .bracket-admin-section .settings-header,
    .bracket-admin-section .settings-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .bracket-admin-header h3,
    .bracket-admin-section .settings-title {
        font-size: 21px;
    }

    .bracket-admin-section .bracket-editor,
    .bracket-admin-section .stats-grid {
        grid-template-columns: 1fr;
    }

    .bracket-admin-section .round-item {
        flex-direction: column;
        align-items: stretch;
    }

    .bracket-admin-section .round-controls .lobby-control {
        justify-content: space-between;
    }

    .bracket-admin-section .btn-secondary {
        min-width: 0;
    }
}

.admin-hub-section,
.bulk-add-section {
    position: relative;
    margin-bottom: 24px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(241, 196, 15, 0.16);
    background:
        radial-gradient(circle at top right, rgba(110, 142, 251, 0.12), transparent 26%),
        radial-gradient(circle at top left, rgba(241, 196, 15, 0.10), transparent 24%),
        linear-gradient(145deg, rgba(19, 24, 34, 0.98), rgba(11, 15, 22, 0.96));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.admin-hub-section::before,
.bulk-add-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.04), transparent 30%, transparent 70%, rgba(110, 142, 251, 0.05));
    pointer-events: none;
}

.admin-hub-header,
.bulk-add-header {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.admin-hub-header {
    padding: 0;
    border-bottom: none;
}

.admin-hub-header h3,
.bulk-add-header h3 {
    margin: 0;
    color: #f7d969;
    font-size: 24px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.admin-hub-header h3 i,
.bulk-add-header h3 i {
    margin-right: 8px;
    color: #f7d969;
}

.admin-hub-actions,
.bulk-add-tools {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.admin-hub-section .admin-badge,
.admin-hub-section .admin-logout,
.bulk-add-section .bulk-shortcut {
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.admin-hub-section .admin-badge {
    background: rgba(39, 174, 96, 0.16);
    border-color: rgba(39, 174, 96, 0.26);
    color: #e7fff0;
}

.admin-hub-section .admin-logout {
    background: rgba(231, 76, 60, 0.12);
    border-color: rgba(231, 76, 60, 0.24);
    color: #ffd8d3;
}

.admin-hub-section .admin-logout:hover,
.bulk-add-section .bulk-shortcut:hover {
    transform: translateY(-1px);
}

.admin-hub-section .admin-logout:hover {
    background: rgba(231, 76, 60, 0.2);
    border-color: rgba(231, 76, 60, 0.38);
}

.bulk-add-section .bulk-shortcut {
    min-height: 44px;
    padding: 11px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.01em;
    border-width: 1px;
    border-style: solid;
    color: #f8fbff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.bulk-add-section .bulk-shortcut i {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.96);
}

.bulk-add-section .bulk-shortcut.primary {
    background: linear-gradient(135deg, #3f67d9 0%, #5b84ff 100%);
    border-color: rgba(146, 176, 255, 0.75);
    box-shadow:
        0 12px 28px rgba(40, 78, 170, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.bulk-add-section .bulk-shortcut.success {
    background: linear-gradient(135deg, #238b57 0%, #2fbf76 100%);
    border-color: rgba(143, 255, 201, 0.7);
    box-shadow:
        0 12px 28px rgba(23, 110, 65, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.bulk-add-section .bulk-shortcut.primary:hover,
.bulk-add-section .bulk-shortcut.success:hover {
    transform: translateY(-2px);
    filter: saturate(1.08) brightness(1.03);
}

.bulk-add-section .bulk-shortcut.primary:active,
.bulk-add-section .bulk-shortcut.success:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

.admin-subsection,
.bulk-add-section .bulk-example,
.bulk-add-section .players-textarea,
.bulk-add-section .bulk-actions {
    position: relative;
    z-index: 1;
}

.admin-subsection {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(160deg, rgba(20, 24, 34, 0.98), rgba(11, 15, 22, 0.96));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.admin-subsection + .admin-subsection {
    margin-top: 14px;
}

.admin-subsection-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.admin-subsection-title,
.admin-hub-section .status-panel-title {
    margin-top: 6px;
    color: #f4f7fb;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.admin-hub-section .tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 0;
}

.admin-hub-section .tool-btn {
    min-height: 116px;
    padding: 16px 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(160deg, rgba(29, 34, 46, 0.96), rgba(17, 21, 29, 0.94));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
    color: #eef2fb;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
}

.admin-hub-section .tool-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(241, 196, 15, 0.22);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255,255,255,0.03);
}

.admin-hub-section .tool-btn .tool-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-hub-section .tool-btn .tool-label {
    font-size: 11px;
    color: rgba(142, 154, 175, 0.82);
    line-height: 1.4;
}

.admin-hub-section .tool-btn.accent .tool-icon {
    background: rgba(110, 142, 251, 0.12);
    border-color: rgba(110, 142, 251, 0.22);
}

.admin-hub-section .tool-btn.success .tool-icon {
    background: rgba(39, 174, 96, 0.14);
    border-color: rgba(39, 174, 96, 0.22);
}

.admin-hub-section .tool-btn.warning .tool-icon {
    background: rgba(241, 196, 15, 0.14);
    border-color: rgba(241, 196, 15, 0.22);
}

.admin-hub-section .tool-btn.danger .tool-icon {
    background: rgba(231, 76, 60, 0.14);
    border-color: rgba(231, 76, 60, 0.22);
}

.admin-hub-section .status-panel {
    margin-bottom: 0;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(160deg, rgba(20, 24, 34, 0.98), rgba(11, 15, 22, 0.96));
}

.admin-hub-section .status-panel-header {
    margin-bottom: 16px;
}

.admin-hub-section .status-buttons {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.admin-hub-section .status-btn {
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: #eef2fb;
    font-size: 12px;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.admin-hub-section .status-btn:hover {
    transform: translateY(-1px);
}

.admin-hub-section .status-btn.registration.active {
    background: rgba(241, 196, 15, 0.18);
    color: #ffe79d;
    border-color: rgba(241, 196, 15, 0.3);
    box-shadow: 0 14px 24px rgba(241, 196, 15, 0.08);
}

.admin-hub-section .status-btn.active {
    background: rgba(39, 174, 96, 0.18);
    color: #d9ffe9;
    border-color: rgba(39, 174, 96, 0.28);
}

.admin-hub-section .status-btn.completed {
    background: rgba(142, 154, 175, 0.14);
    color: #eef2fb;
    border-color: rgba(142, 154, 175, 0.22);
}

.admin-hub-section .status-btn.toggle {
    border-color: rgba(110, 142, 251, 0.22);
}

.admin-hub-section .status-btn.toggle.open {
    background: rgba(241, 196, 15, 0.18);
    border-color: rgba(241, 196, 15, 0.28);
    color: #ffe79d;
}

.admin-hub-section .status-btn.toggle.closed {
    background: rgba(231, 76, 60, 0.18);
    border-color: rgba(231, 76, 60, 0.28);
    color: #ffd6d1;
}

.bulk-add-section .bulk-example {
    padding: 16px 18px;
    margin: 16px 0;
    border-radius: 18px;
    border: 1px solid rgba(241, 196, 15, 0.16);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(198, 208, 224, 0.82);
    font-size: 12px;
    line-height: 1.7;
    font-family: Consolas, Monaco, monospace;
}

.bulk-add-section .players-textarea {
    width: 100%;
    min-height: 150px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 12, 18, 0.42);
    color: #f4f7fb;
    resize: vertical;
    font-family: Consolas, Monaco, monospace;
    font-size: 13px;
}

.bulk-add-section .players-textarea:focus {
    outline: none;
    border-color: rgba(241, 196, 15, 0.28);
}

.bulk-add-section .bulk-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.bulk-add-section .btn-primary,
.bulk-add-section .btn-secondary {
    min-height: 40px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.bulk-add-section .btn-primary {
    flex: 1;
    border: 1px solid rgba(110, 142, 251, 0.22);
    background: linear-gradient(90deg, rgba(110, 142, 251, 0.95), rgba(167, 119, 227, 0.92));
    color: #fff;
}

.bulk-add-section .btn-secondary {
    min-width: 170px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: #f5f7fb;
}

.bulk-add-section .btn-primary:hover,
.bulk-add-section .btn-secondary:hover {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .admin-hub-section,
    .bulk-add-section {
        padding: 18px;
        border-radius: 20px;
    }

    .admin-hub-header,
    .bulk-add-header,
    .admin-subsection-header {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-hub-header h3,
    .bulk-add-header h3,
    .admin-subsection-title,
    .admin-hub-section .status-panel-title {
        font-size: 21px;
    }

    .admin-hub-actions,
    .bulk-add-tools,
    .bulk-add-section .bulk-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-hub-section .tools-grid,
    .admin-hub-section .status-buttons {
        grid-template-columns: 1fr;
    }

    .bulk-add-section .btn-secondary {
        min-width: 0;
    }
}

.final-games-config-row {
    margin-top: 12px;
    padding: 12px 14px;
    background: rgba(18, 21, 29, 0.55);
    border: 1px solid rgba(47, 53, 64, 0.55);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.final-games-config-copy,
.final-inline-grid,
.final-inline-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.final-games-config-copy,
.final-inline-field label,
.final-results-admin-title {
    color: #c8d2e0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.final-inline-actions,
.final-game-admin-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.final-settings-input {
    width: 100%;
    padding: 10px 12px;
    background: #242831;
    border: 1px solid #2f3540;
    border-radius: 8px;
    color: white;
    font-size: 14px;
}

.final-settings-input:focus {
    outline: none;
    border-color: #6e8efb;
}

.final-inline-actions .final-settings-input {
    flex: 1 1 180px;
    min-width: 0;
}

.final-inline-actions input[type="number"] {
    max-width: 90px;
}

.final-results-admin {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(47, 53, 64, 0.5);
}

.final-games-admin-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
}

.final-game-admin-item {
    background: #1a1d24;
    border: 1px solid #2f3540;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.final-game-admin-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.final-game-admin-title {
    color: #e4e6eb;
    font-size: 14px;
    font-weight: 600;
}

.final-game-admin-status {
    font-size: 11px;
    color: #8e9aaf;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Р С’Р Т‘Р В°Р С—РЎвЂљР С‘Р Р†Р Р…Р С•РЎРѓРЎвЂљРЎРЉ */
@media (max-width: 768px) {
    .bracket-editor {
        grid-template-columns: 1fr;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }

    .final-inline-grid,
    .final-games-admin-list {
        grid-template-columns: 1fr;
    }
    
    .settings-actions {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

.round-item {
    background: #242831;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.round-name {
    color: #e4e6eb;
    font-size: 14px;
}

.lobby-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lobby-control input {
    width: 50px;
    padding: 6px;
    background: #1a1d24;
    border: 1px solid #2f3540;
    border-radius: 6px;
    color: white;
    text-align: center;
}

.delete-round {
    background: #e74c3c;
    border: none;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.delete-round:hover {
    background: #c0392b;
}

.add-round {
    width: 100%;
    padding: 10px;
    background: #007d35;
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.add-round:hover {
    background: #27ae60;
}

/* Р СњР В°РЎРѓРЎвЂљРЎР‚Р С•Р в„–Р С”Р С‘ Р В»Р С•Р В±Р В±Р С‘ */
.lobby-settings {
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
    padding: 15px;
    background: #1a1d24;
    border-radius: 12px;
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.setting-item label {
    color: #8e9aaf;
    font-size: 13px;
}

.setting-item input {
    width: 60px;
    padding: 8px;
    background: #242831;
    border: 1px solid #2f3540;
    border-radius: 6px;
    color: white;
    text-align: center;
}

/* Р вЂ”Р В°РЎРЏР Р†Р С”Р С‘ */
.registrations-section {
    background: #242831;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.registrations-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.registrations-header h3 {
    color: #f1c40f;
    font-size: 18px;
}

.refresh-btn {
    background: #2f3540;
    border: 1px solid #3f4754;
    border-radius: 20px;
    padding: 8px 15px;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.refresh-btn:hover {
    background: #3f4754;
}

.registrations-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.stat-card {
    background: #1a1d24;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #f1c40f;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 11px;
    color: #8e9aaf;
    text-transform: uppercase;
}

/* Р Р€Р С—РЎР‚Р В°Р Р†Р В»Р ВµР Р…Р С‘Р Вµ РЎвЂћР С‘Р Р…Р В°Р В»Р С•Р С */
.final-section {
    background: #242831;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.final-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.final-header h3 {
    color: #6e8efb;
}

.games-config {
    display: flex;
    gap: 10px;
    align-items: center;
}

.games-config input {
    width: 60px;
    padding: 8px;
    background: #1a1d24;
    border: 1px solid #2f3540;
    border-radius: 6px;
    color: white;
    text-align: center;
}

.games-config button {
    background: #007d35;
    border: none;
    border-radius: 6px;
    padding: 8px 15px;
    color: white;
    cursor: pointer;
}

.final-game-card {
    background: #1a1d24;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
}

.game-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.game-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.edit-btn {
    background: #f39c12;
    border: none;
    border-radius: 4px;
    padding: 3px 8px;
    color: black;
    font-size: 11px;
    cursor: pointer;
}

.result-input {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.result-input select {
    flex: 1;
    padding: 8px;
    background: #242831;
    border: 1px solid #2f3540;
    border-radius: 6px;
    color: white;
}

/* Р С’Р Т‘Р В°Р С—РЎвЂљР С‘Р Р†Р Р…Р С•РЎРѓРЎвЂљРЎРЉ */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .status-buttons {
        flex-direction: column;
    }
    
    .bracket-editor {
        grid-template-columns: 1fr;
    }
    
    .bulk-actions {
        flex-direction: column;
    }
    
    .registrations-stats {
        grid-template-columns: 1fr;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
        
        .login-form {
            display: flex;
            gap: 10px;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .login-input {
            padding: 10px 15px;
            background: #242831;
            border: 1px solid #2f3540;
            border-radius: 10px;
            color: white;
            min-width: 180px;
        }
        
        .login-btn {
            padding: 10px 20px;
            background: #6e8efb;
            border: none;
            border-radius: 10px;
            color: white;
            font-weight: 600;
            cursor: pointer;
        }
        
        .login-btn.logout {
            background: #e74c3c;
        }
        
        .login-btn.success {
            background: #007d35;
        }
        
        .login-btn.warning {
            background: #f39c12;
        }
        
        .login-btn.danger {
            background: #e74c3c;
        }
        
        .structure-editor {
            background: #242831;
            border-radius: 16px;
            padding: 15px;
            margin-bottom: 20px;
        }
        
        .structure-title {
            font-size: 18px;
            font-weight: 600;
            color: #6e8efb;
            margin-bottom: 15px;
        }
        
        .bracket-controls {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }
        
        .bracket-type {
            flex: 1;
            min-width: 200px;
        }
        
        .round-list {
            background: #1a1d24;
            border-radius: 10px;
            padding: 10px;
            margin-bottom: 10px;
        }
        
        .round-item {
            background: #2f3540;
            border-radius: 6px;
            padding: 8px;
            margin-bottom: 8px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .lobby-count {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .lobby-count input {
            width: 50px;
            padding: 4px;
            background: #1a1d24;
            border: 1px solid #3f4754;
            border-radius: 4px;
            color: white;
        }
        
        .add-round-btn {
            width: 100%;
            padding: 8px;
            background: #007d35;
            border: none;
            border-radius: 6px;
            color: white;
            font-weight: 600;
            cursor: pointer;
            font-size: 14px;
        }
        
        .delete-btn {
            background: #e74c3c;
            border: none;
            color: white;
            width: 24px;
            height: 24px;
            border-radius: 4px;
            cursor: pointer;
        }
        
        .unused-bulk-add-section-legacy {
            background: #242831;
            border-radius: 12px;
            padding: 15px;
            margin-bottom: 20px;
        }
        
        .unused-bulk-add-title-legacy {
            font-size: 16px;
            font-weight: 600;
            color: #6e8efb;
            margin-bottom: 10px;
        }
        
        .unused-bulk-add-example-legacy {
            color: #8e9aaf;
            font-size: 12px;
            margin-bottom: 10px;
            padding: 8px;
            background: #1a1d24;
            border-radius: 6px;
        }
        
        .players-textarea {
            width: 100%;
            height: 150px;
            padding: 10px;
            background: #242831;
            border: 1px solid #2f3540;
            border-radius: 8px;
            color: white;
            margin-bottom: 15px;
            font-family: monospace;
        }
        
        .unused-final-controls-legacy {
            background: #242831;
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 20px;
            border: 1px solid #6e8efb;
        }
        
        .final-admin-header {
            display: flex;
            gap: 20px;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .final-admin-header h3 {
            color: #6e8efb;
        }
        
        .final-games-config {
            display: flex;
            gap: 10px;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .final-games-config input {
            width: 60px;
            padding: 5px;
            background: #1a1d24;
            border: 1px solid #2f3540;
            border-radius: 4px;
            color: white;
        }
        
        .final-games-config button {
            padding: 5px 10px;
            background: #007d35;
            border: none;
            border-radius: 4px;
            color: white;
            cursor: pointer;
        }
        
        .final-admin-game-card {
            background: #1a1d24;
            border-radius: 12px;
            padding: 15px;
            margin-bottom: 15px;
        }
        
        .final-admin-game-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }
        
        .final-result-input {
            display: flex;
            gap: 10px;
            align-items: center;
            margin-bottom: 8px;
        }
        
        .final-result-input select {
            flex: 1;
            padding: 8px;
            background: #242831;
            border: 1px solid #2f3540;
            border-radius: 4px;
            color: white;
        }
        
        .edit-game-btn {
            background: #f39c12;
            color: black;
            border: none;
            padding: 5px 10px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 12px;
            margin-left: 10px;
        }
        
        /* Р СћРЎС“РЎР‚Р Р…Р С‘РЎР‚Р Р…Р В°РЎРЏ РЎРѓР ВµРЎвЂљР С”Р В° */
        .bracket-container {
            background: rgba(26, 29, 36, 0.5);
            border-radius: 16px;
            padding: 20px;
            border: 1px solid rgba(47, 53, 64, 0.5);
            overflow-x: auto;
            width: 100%;
        }
        
        .bracket {
            display: flex;
            gap: 20px;
            position: relative;
            min-height: 600px;
            align-items: center;
        }

        .bracket-connections {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            overflow: visible;
            z-index: 0;
        }

        .bracket-connections path {
            fill: none;
            stroke-linecap: round;
            opacity: 0.9;
        }
        
        .main-brackets {
            display: flex;
            flex-direction: column;
            gap: 0;
            flex: 2;
            min-width: 0;
            position: relative;
            z-index: 1;
        }
        
        .upper-row, .lower-row, .final-row {
            display: grid;
            gap: var(--round-column-gap, 20px);
            align-items: center;
            justify-items: start;
            position: relative;
            min-height: 52px;
        }

        .final-row-middle {
            position: relative;
            inset-inline: auto;
            top: auto;
            transform: none;
            z-index: 1;
            margin-top: -88px;
            margin-bottom: -88px;
            pointer-events: none;
        }

        .final-row-middle .final-round-column,
        .final-row-middle .final-round-column * {
            pointer-events: auto;
        }

        .section-layout-draggable.dragging {
            opacity: 0.72;
        }

        .section-drop-slot {
            min-height: 18px;
            border-radius: 12px;
            border: 1px dashed rgba(241, 196, 15, 0.12);
            background: rgba(241, 196, 15, 0.02);
            transition: all 0.2s ease;
        }

        .section-drop-slot.drag-over {
            border-color: rgba(241, 196, 15, 0.55);
            background: rgba(241, 196, 15, 0.1);
        }
        
.round-column {
    min-width: var(--round-column-min);
    max-width: var(--round-column-max);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.round-column.dragging {
    opacity: 0.65;
}

.round-drop-slot {
    min-height: 54px;
    border-radius: 14px;
    border: 1px dashed rgba(110, 142, 251, 0.16);
    background: rgba(110, 142, 251, 0.02);
    transition: all 0.2s ease;
}

.round-drop-slot.drag-over {
    border-color: rgba(241, 196, 15, 0.55);
    background: rgba(241, 196, 15, 0.08);
}

.final-round-column {
    min-width: var(--round-column-min);
    max-width: var(--round-column-max);
}

        .final-row-middle .final-round-column.embedded-middle-final-round-column {
            min-width: clamp(var(--round-column-max), calc(var(--round-column-max) + 84px), calc(100vw - 180px));
            width: clamp(var(--round-column-max), calc(var(--round-column-max) + 84px), calc(100vw - 180px));
            max-width: clamp(var(--round-column-max), calc(var(--round-column-max) + 84px), calc(100vw - 180px));
            justify-self: stretch;
        }

        .final-row-middle .final-round-column.embedded-middle-final-round-column .round-header,
        .final-row-middle .final-round-column.embedded-middle-final-round-column .lobby-card {
            width: 100%;
        }
        
        .round-header {
            display: flex;
            justify-content: space-between;
            padding: 8px;
            background: rgba(110, 142, 251, 0.1);
            border-radius: 8px;
            font-size: 14px;
        }

        .round-header.layout-draggable {
            cursor: grab;
        }

        .round-header.layout-draggable:active {
            cursor: grabbing;
        }

.bracket-shell {
    position: relative;
    margin-top: 10px;
}

.bracket-shell-head {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    margin-bottom: -4px;
    position: relative;
    z-index: 4;
}

.bracket-shell-head-spacer {
    min-height: 1px;
}

.bracket-toolbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    position: relative;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.tournament-chat-typing {
    min-height: 20px;
    margin: 8px 2px 0;
    color: rgba(138, 160, 219, 0.88);
    font-size: 13px;
    line-height: 1.4;
}

.tournament-chat-typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(39, 49, 76, 0.52);
    border: 1px solid rgba(94, 116, 177, 0.22);
}

.tournament-chat-typing-dots {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tournament-chat-typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #90a8ff;
    opacity: 0.32;
    animation: tournament-chat-typing-bounce 1.15s infinite ease-in-out;
}

.tournament-chat-typing-dots span:nth-child(2) {
    animation-delay: 0.18s;
}

.tournament-chat-typing-dots span:nth-child(3) {
    animation-delay: 0.36s;
}

.tournament-chat-typing-text {
    color: rgba(219, 228, 255, 0.92);
}

@keyframes tournament-chat-typing-bounce {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: 0.32;
    }
    40% {
        transform: translateY(-3px);
        opacity: 1;
    }
}

.bracket-toolbar-label {
    color: rgba(188, 201, 221, 0.78);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: center;
    opacity: 0.78;
}

.bracket-toolbar-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.bracket-grand-final-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    color: #f1f5ff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    background: rgba(18, 24, 36, 0.92);
    border: 1px solid rgba(255, 211, 64, 0.18);
    box-shadow: 0 12px 24px rgba(6, 8, 14, 0.18);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.bracket-grand-final-back:hover {
    color: #fff5cf;
    border-color: rgba(255, 211, 64, 0.34);
    background: rgba(22, 29, 43, 0.98);
    transform: translateY(-1px);
}

.bracket-view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(16, 22, 34, 0.88);
    border: 1px solid rgba(255, 211, 64, 0.14);
    box-shadow: 0 10px 24px rgba(6, 8, 14, 0.22);
}

.bracket-view-toggle-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(226, 233, 255, 0.78);
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.bracket-view-toggle-btn:hover {
    color: #fff5cf;
    transform: translateY(-1px);
}

.bracket-view-toggle-btn.is-active {
    color: #11161f;
    background: linear-gradient(135deg, #ffd24d 0%, #ffbf00 100%);
    box-shadow: 0 12px 24px rgba(255, 191, 0, 0.18);
}

.bracket-view-panel[hidden] {
    display: none !important;
}

.bracket-shell.is-grand-final-view .bracket-compact-toggle {
    display: none;
}

.final-entry-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.final-entry-card:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 211, 64, 0.32);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.final-entry-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 2px 4px;
}

.final-entry-card-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.final-entry-card-copy strong {
    color: #f6f8fc;
    font-size: 15px;
    line-height: 1.2;
}

.final-entry-card-copy span {
    color: #aeb8c8;
    font-size: 13px;
    line-height: 1.5;
}

.final-entry-card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    flex: 0 0 auto;
    color: #ffd24d;
    background: rgba(255, 191, 0, 0.08);
    border: 1px solid rgba(255, 191, 0, 0.14);
}

.grand-final-stage {
    position: relative;
    margin-top: 14px;
    padding: 26px;
    border-radius: 28px;
    border: 1px solid rgba(255, 208, 84, 0.2);
    background:
        radial-gradient(circle at top left, rgba(255, 206, 84, 0.12), transparent 33%),
        radial-gradient(circle at right center, rgba(103, 132, 255, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(15, 20, 31, 0.96), rgba(11, 15, 24, 0.98));
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.grand-final-stage-hero {
    display: grid;
    gap: 18px;
    margin-bottom: 24px;
}

.grand-final-stage-kicker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.grand-final-stage-kicker-chip,
.grand-final-stage-status {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.grand-final-stage-kicker-chip {
    color: #ffe8ad;
    background: rgba(255, 191, 0, 0.12);
    border: 1px solid rgba(255, 191, 0, 0.22);
}

.grand-final-stage-status {
    border: 1px solid rgba(151, 171, 255, 0.2);
    color: #dfe8ff;
    background: rgba(21, 29, 46, 0.82);
}

.grand-final-stage-status.is-live {
    color: #0f1a14;
    background: linear-gradient(135deg, #7bffb2 0%, #2fe06d 100%);
    border-color: rgba(47, 224, 109, 0.5);
}

.grand-final-stage-status.is-ready {
    color: #fff3c3;
    background: rgba(255, 191, 0, 0.16);
    border-color: rgba(255, 191, 0, 0.28);
}

.grand-final-stage-status.is-completed {
    color: #0f1a14;
    background: linear-gradient(135deg, #ffd56a 0%, #ffbf00 100%);
    border-color: rgba(255, 191, 0, 0.42);
}

.grand-final-stage-status.is-waiting {
    color: #d6dcf5;
}

.grand-final-stage-headline {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
    gap: 22px;
    align-items: start;
}

.grand-final-stage-headline h2 {
    margin: 0 0 10px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #fff6da;
}

.grand-final-stage-headline p {
    margin: 0;
    max-width: 760px;
    color: rgba(230, 237, 255, 0.8);
    font-size: 16px;
    line-height: 1.65;
}

.grand-final-stage-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.grand-final-stage-stat {
    padding: 18px;
    border-radius: 20px;
    background: rgba(15, 20, 31, 0.78);
    border: 1px solid rgba(126, 145, 204, 0.16);
}

.grand-final-stage-stat-label {
    display: block;
    margin-bottom: 8px;
    color: rgba(154, 173, 230, 0.8);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.grand-final-stage-stat strong {
    color: #fff3c3;
    font-size: 20px;
    font-weight: 900;
}

.grand-final-stage-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.95fr);
    gap: 18px;
}

.grand-final-stage-card {
    min-width: 0;
    padding: 22px;
    border-radius: 24px;
    background: rgba(14, 19, 30, 0.82);
    border: 1px solid rgba(129, 148, 205, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.grand-final-stage-card--standings {
    grid-column: 1 / -1;
}

.grand-final-stage-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.grand-final-stage-card-kicker {
    display: block;
    margin-bottom: 8px;
    color: rgba(154, 173, 230, 0.8);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.grand-final-stage-card-head h3 {
    margin: 0;
    color: #f5f7ff;
    font-size: 28px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.grand-final-stage-card-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    color: #ffe6a8;
    background: rgba(255, 191, 0, 0.1);
    border: 1px solid rgba(255, 191, 0, 0.18);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.grand-final-standing-avatar {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
}

.grand-final-lobby-card {
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(20, 27, 41, 0.96), rgba(16, 21, 33, 0.98));
    border: 1px solid rgba(130, 148, 206, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.grand-final-lobby-card .lobby-header {
    margin-bottom: 14px;
}

#grandFinalStage .grand-final-lobby-card .players-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin: 8px 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
}

#grandFinalStage .grand-final-lobby-card .player-row {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    min-height: 60px !important;
    min-width: 0 !important;
    width: 100% !important;
    flex: 1 1 auto !important;
    padding: 8px 12px 8px 10px !important;
}

#grandFinalStage .grand-final-lobby-card .player-row:hover {
    transform: translateY(-1px);
}

#grandFinalStage .grand-final-lobby-card .player-info {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex: 1 1 auto !important;
    width: auto !important;
    flex-wrap: nowrap !important;
}

#grandFinalStage .grand-final-lobby-card .player-identity,
#grandFinalStage .grand-final-lobby-card .player-name-link {
    display: inline-flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
}

#grandFinalStage .grand-final-lobby-card .player-twitch {
    flex-shrink: 0;
}

.grand-final-player-copy,
.grand-final-standing-player {
    min-width: 0;
}

.grand-final-games-list,
.grand-final-standings-list {
    display: grid;
    gap: 12px;
}

.grand-final-standings-head {
    display: grid;
    grid-template-columns: 74px minmax(0, 1.15fr) 100px 92px minmax(180px, 0.82fr);
    gap: 14px;
    padding: 0 16px;
    align-items: center;
    color: rgba(154, 173, 230, 0.82);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.grand-final-standings-head-rank {
    opacity: 0;
    pointer-events: none;
}

.grand-final-standings-head-player {
    display: flex;
    align-items: center;
    padding-left: 56px;
}

.grand-final-standings-head-game-points,
.grand-final-standings-head-duels,
.grand-final-standings-head-games,
.grand-final-standings-head-prize {
    display: flex;
    align-items: center;
}

.grand-final-standings-head-game-points,
.grand-final-standings-head-duels {
    justify-content: center;
}

.grand-final-standings-head-games {
    justify-content: center;
}

.grand-final-standings-head-prize {
    justify-content: flex-end;
}

.grand-final-game-card,
.grand-final-standing-row {
    border-radius: 18px;
    background: rgba(20, 27, 41, 0.9);
    border: 1px solid rgba(129, 148, 205, 0.14);
}

.grand-final-game-card {
    padding: 16px;
}

.grand-final-game-card.is-live {
    border-color: rgba(47, 224, 109, 0.28);
    box-shadow: 0 0 0 1px rgba(47, 224, 109, 0.1) inset;
}

.grand-final-game-card.is-completed {
    border-color: rgba(255, 191, 0, 0.24);
}

.grand-final-game-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.grand-final-game-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.grand-final-game-topline strong {
    color: #f6f7fd;
    font-size: 18px;
    font-weight: 800;
}

.grand-final-game-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: #dfe8ff;
    background: rgba(33, 42, 65, 0.88);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.grand-final-game-toggle {
    min-width: 154px;
    min-height: 42px;
    padding: 0 14px;
    flex-shrink: 0;
}

.grand-final-game-toggle .homepage-chat-toggle-icon {
    width: 24px;
    height: 24px;
}

.grand-final-game-body {
    overflow: hidden;
    max-height: 1200px;
    opacity: 1;
    transform: translateY(0);
    transition: max-height 0.24s ease, opacity 0.2s ease, transform 0.2s ease, margin-top 0.2s ease;
}

.grand-final-game-meta {
    margin-bottom: 12px;
}

.grand-final-game-card.is-collapsed .grand-final-game-body {
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    margin-top: 0;
    pointer-events: none;
}

.grand-final-game-card.is-collapsed .grand-final-game-toggle .homepage-chat-toggle-icon {
    transform: rotate(-180deg);
}

.grand-final-game-podium {
    display: grid;
    gap: 6px;
}

.grand-final-game-podium-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 72px;
    gap: 8px;
    color: #e8eeff;
    align-items: center;
    min-height: 34px;
    padding: 6px 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.045);
}

.grand-final-game-place {
    color: #ffd56a;
    font-weight: 800;
    font-size: 13px;
}

.grand-final-game-player {
    min-width: 0;
}

.grand-final-game-player-link {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #eef3ff;
}

.grand-final-game-player-link span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.grand-final-game-player-avatar {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.grand-final-game-points,
.grand-final-standing-points {
    color: #ffd24d;
    font-weight: 900;
}

.grand-final-game-points {
    text-align: right;
    font-size: 13px;
    white-space: nowrap;
}

.grand-final-game-pending-copy,
.grand-final-stage-empty {
    color: rgba(199, 211, 245, 0.74);
    font-size: 14px;
    line-height: 1.6;
}

.grand-final-duels-admin {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(129, 148, 205, 0.12);
    display: grid;
    gap: 12px;
}

.grand-final-duels-admin-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.grand-final-duels-admin-head strong {
    color: #eef3ff;
    font-size: 14px;
    font-weight: 800;
}

.grand-final-duels-admin-head span {
    color: rgba(199, 211, 245, 0.72);
    font-size: 12px;
}

.grand-final-duels-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.grand-final-duel-input {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 72px auto;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.045);
}

.grand-final-duel-input-name {
    min-width: 0;
    color: #eef3ff;
    font-size: 13px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.grand-final-duel-input input {
    width: 100%;
    min-width: 0;
    height: 32px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid rgba(129, 148, 205, 0.16);
    background: rgba(15, 19, 29, 0.9);
    color: #f6f8ff;
    font-weight: 800;
    text-align: center;
}

.grand-final-duel-input-suffix {
    color: rgba(199, 211, 245, 0.78);
    font-size: 12px;
    font-weight: 800;
    text-transform: lowercase;
}

.grand-final-duels-admin-actions {
    display: flex;
    justify-content: flex-end;
}

.grand-final-duels-save {
    min-height: 40px;
}

.grand-final-standing-row {
    display: grid;
    grid-template-columns: 74px minmax(0, 1.15fr) 100px 92px minmax(180px, 0.82fr);
    gap: 14px;
    padding: 14px 16px;
}

.grand-final-standings-list.has-prizes .grand-final-standings-head,
.grand-final-standings-list.has-prizes .grand-final-standing-row {
    grid-template-columns: 74px minmax(0, 1.1fr) 100px 92px minmax(180px, 0.78fr) 130px;
}

.grand-final-standing-row.is-top-four {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at right center, rgba(255, 211, 94, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(24, 31, 47, 0.98), rgba(18, 24, 38, 0.98));
}

.grand-final-standing-row.is-top-four::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 18px;
    border: 1px solid transparent;
}

.grand-final-standing-row.place-1::before {
    border-color: rgba(255, 191, 0, 0.34);
    box-shadow: 0 0 0 1px rgba(255, 191, 0, 0.12) inset;
}

.grand-final-standing-row.place-2::before {
    border-color: rgba(198, 208, 238, 0.24);
    box-shadow: 0 0 0 1px rgba(198, 208, 238, 0.08) inset;
}

.grand-final-standing-row.place-3::before {
    border-color: rgba(220, 146, 76, 0.28);
    box-shadow: 0 0 0 1px rgba(220, 146, 76, 0.08) inset;
}

.grand-final-standing-row.place-4::before {
    border-color: rgba(132, 152, 205, 0.2);
    box-shadow: 0 0 0 1px rgba(132, 152, 205, 0.06) inset;
}

.grand-final-standing-rank {
    width: 58px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffe7b0;
    background: rgba(255, 191, 0, 0.12);
    border: 1px solid rgba(255, 191, 0, 0.18);
    font-weight: 900;
}

.grand-final-standing-row.place-1 .grand-final-standing-rank {
    background: linear-gradient(180deg, rgba(255, 191, 0, 0.22), rgba(255, 191, 0, 0.12));
    border-color: rgba(255, 191, 0, 0.28);
}

.grand-final-standing-row.place-2 .grand-final-standing-rank {
    background: linear-gradient(180deg, rgba(198, 208, 238, 0.18), rgba(198, 208, 238, 0.08));
    border-color: rgba(198, 208, 238, 0.24);
    color: #eef3ff;
}

.grand-final-standing-row.place-3 .grand-final-standing-rank {
    background: linear-gradient(180deg, rgba(220, 146, 76, 0.2), rgba(220, 146, 76, 0.08));
    border-color: rgba(220, 146, 76, 0.24);
}

.grand-final-standing-row.place-4 .grand-final-standing-rank {
    background: linear-gradient(180deg, rgba(132, 152, 205, 0.14), rgba(132, 152, 205, 0.08));
    border-color: rgba(132, 152, 205, 0.18);
    color: #edf2ff;
}

.grand-final-standing-player {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.grand-final-standing-game-points,
.grand-final-standing-duels {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.grand-final-standing-game-points {
    color: #dfe7ff;
}

.grand-final-standing-duels {
    color: #8de3b5;
}

.grand-final-standing-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

.grand-final-standing-player span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #f4f7ff;
    font-weight: 800;
}

.grand-final-standing-games {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.grand-final-standing-games span {
    min-width: 30px;
    height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(33, 42, 65, 0.88);
    color: #dce5ff;
    font-size: 12px;
    font-weight: 800;
}

.grand-final-standing-prize {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #ffe09a;
    font-weight: 900;
}

.grand-final-standing-row.place-1 .grand-final-standing-prize,
.grand-final-standing-row.place-1 .grand-final-standing-game-points,
.grand-final-standing-row.place-1 .grand-final-standing-duels {
    color: #ffd24d;
}

.grand-final-standing-row.place-2 .grand-final-standing-prize,
.grand-final-standing-row.place-2 .grand-final-standing-game-points,
.grand-final-standing-row.place-2 .grand-final-standing-duels {
    color: #dfe7ff;
}

.grand-final-standing-row.place-3 .grand-final-standing-prize,
.grand-final-standing-row.place-3 .grand-final-standing-game-points,
.grand-final-standing-row.place-3 .grand-final-standing-duels {
    color: #df9c59;
}

.bracket-compact-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 40px;
    padding: 10px 18px;
    border-radius: 14px;
    border: 1px solid rgba(110, 142, 251, 0.34);
    background: linear-gradient(180deg, rgba(19, 24, 33, 0.96), rgba(12, 16, 24, 0.94));
    color: #edf2ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(7, 10, 16, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.bracket-compact-toggle:hover {
    background: rgba(110, 142, 251, 0.14);
    border-color: rgba(110, 142, 251, 0.4);
    transform: translateY(-1px);
}

.bracket-compact-toggle:focus-visible {
    outline: 2px solid rgba(110, 142, 251, 0.55);
    outline-offset: 2px;
}

.bracket-compact-toggle.is-active {
    background: linear-gradient(180deg, rgba(36, 51, 92, 0.96), rgba(22, 31, 58, 0.94));
    border-color: rgba(110, 142, 251, 0.56);
    box-shadow: 0 10px 24px rgba(110, 142, 251, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bracket-predictions-entry {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    justify-self: end;
    min-width: 250px;
    max-width: 320px;
    min-height: 56px;
    padding: 10px 14px;
    border-radius: 18px;
    border: 1px solid rgba(241, 196, 15, 0.18);
    background:
        radial-gradient(circle at top left, rgba(241, 196, 15, 0.1), transparent 44%),
        linear-gradient(180deg, rgba(23, 20, 14, 0.96), rgba(15, 14, 11, 0.94));
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
    color: #f6ebbc;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.bracket-predictions-entry:hover {
    transform: translateY(-1px);
    border-color: rgba(241, 196, 15, 0.3);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(241, 196, 15, 0.05);
    background:
        radial-gradient(circle at top left, rgba(241, 196, 15, 0.14), transparent 44%),
        linear-gradient(180deg, rgba(27, 23, 15, 0.98), rgba(18, 16, 11, 0.96));
}

.bracket-predictions-entry-icon,
.bracket-predictions-entry-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bracket-predictions-entry-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(241, 196, 15, 0.12);
    color: #f1c40f;
}

.bracket-predictions-entry-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.bracket-predictions-entry-title {
    color: #fff3c7;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.2;
}

.bracket-predictions-entry-meta {
    color: rgba(221, 227, 238, 0.72);
    font-size: 12px;
    line-height: 1.35;
}

.bracket-predictions-entry-arrow {
    color: rgba(241, 196, 15, 0.86);
    font-size: 13px;
}

@media (max-width: 900px) {
    .bracket-shell-head {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 10px;
    }

    .bracket-shell-head-spacer {
        display: none;
    }

    .bracket-toolbar {
        margin-bottom: 0;
    }

    .bracket-toolbar-controls {
        flex-direction: column;
    }

    .grand-final-stage {
        padding: 20px;
    }

    .grand-final-stage-headline,
    .grand-final-stage-grid,
    .grand-final-stage-meta {
        grid-template-columns: 1fr;
    }

    .grand-final-standing-row {
        grid-template-columns: 1fr;
    }

    .grand-final-standing-rank {
        width: 100%;
    }

    .grand-final-standings-head {
        display: none;
    }

    .bracket-predictions-entry {
        justify-self: center;
        width: 100%;
        max-width: 360px;
    }
}

        .section-layout-handle {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            border-radius: 9px;
            border: 1px solid rgba(241, 196, 15, 0.28);
            background: rgba(241, 196, 15, 0.12);
            color: #f1c40f;
            cursor: grab;
            flex-shrink: 0;
        }

        .section-layout-handle:active {
            cursor: grabbing;
        }
        
        .round-name {
            font-weight: 600;
            color: #6e8efb;
        }
        
        .lobby-card {
            background: rgba(36, 40, 49, 0.8);
            border-radius: 14px;
            padding: var(--lobby-card-padding, 14px);
            border: 1px solid rgba(47, 53, 64, 0.8);
            font-size: 13px;
            position: relative;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
            transform: translateY(var(--lobby-offset-y, 0px));
        }
        
        .lobby-card.upper { border-left: 3px solid #6e8efb; }
        .lobby-card.lower { border-left: 3px solid #e74c3c; }
        .lobby-card.final,
        .lobby-card.middle { border-left: 3px solid #6e8efb; }
        
        .lobby-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(255, 255, 255, 0.1),
                transparent
            );
            transition: left 0.5s ease;
        }
        
        .lobby-card:hover::before {
            left: 100%;
        }
        
        .lobby-card:hover {
            transform: translateY(calc(var(--lobby-offset-y, 0px) - 5px)) scale(1.02);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        }

        .lobby-card.layout-editable.dragging {
            transition: none;
            box-shadow: 0 14px 32px rgba(110, 142, 251, 0.24);
            z-index: 5;
        }
        
        .lobby-card.upper:hover {
            border-left-color: #6e8efb;
            box-shadow: 0 10px 20px rgba(110, 142, 251, 0.2);
        }
        
        .lobby-card.lower:hover {
            border-left-color: #e74c3c;
            box-shadow: 0 10px 20px rgba(231, 76, 60, 0.2);
        }
        
        .lobby-card.final:hover { box-shadow: 0 10px 20px rgba(110, 142, 251, 0.2); }

.bracket-container.is-compact {
    --round-column-min: 162px;
    --round-column-max: 188px;
    --round-column-gap: 8px;
    --lobby-card-padding: 7px;
    --final-lane-width: 148px;
    --final-lane-gap: 8px;
    --final-rail-width: 280px;
    padding: 12px 12px 10px;
    border-radius: 18px;
}

.bracket-container.is-compact .round-header {
    padding: 5px 6px;
    border-radius: 9px;
    margin-bottom: 6px;
}

.bracket-container.is-compact .round-name {
    font-size: 11px;
}

.bracket-container.is-compact .round-date-wrapper,
.bracket-container.is-compact .round-count {
    font-size: 10px;
}

.bracket-container.is-compact .lobby-card {
    border-radius: 11px;
}

.bracket-container.is-compact .round-date-wrapper {
    display: none;
}

.bracket-container.is-compact .round-count {
    min-height: 20px;
    padding: 0 6px;
}

.bracket-container.is-compact .round-column {
    gap: 8px;
}

.bracket-container.is-compact .round-column:not(.final-round-column) .lobby-card {
    min-height: 54px;
    padding: 8px 10px;
}

.bracket-container.is-compact .round-column:not(.final-round-column) .lobby-header {
    margin-bottom: 0;
    padding-bottom: 0;
    gap: 6px;
    align-items: center;
    border-bottom-color: transparent;
}

.bracket-container.is-compact .lobby-name-text,
.bracket-container.is-compact .lobby-capacity {
    font-size: 11px;
    line-height: 1.2;
}

.bracket-container.is-compact .lobby-status-meta {
    gap: 4px;
}

.bracket-container.is-compact .lobby-status-time {
    display: none !important;
}

.bracket-container.is-compact .round-column:not(.final-round-column) .players-list,
.bracket-container.is-compact .round-column:not(.final-round-column) .admin-controls {
    display: none !important;
}

.bracket-container.is-compact .final-round-column .players-list {
    gap: 4px;
}

.bracket-container.is-compact .final-round-column .player-row {
    min-height: 30px;
    padding: 4px 6px;
    border-radius: 9px;
}

.bracket-container.is-compact .final-round-column .player-info {
    gap: 3px;
}

.bracket-container.is-compact .final-round-column .slot-avatar {
    width: 18px;
    height: 18px;
}

.bracket-container.is-compact .final-round-column .player-name-text {
    font-size: 11px;
}

.bracket-container.is-compact .final-round-column .player-rating,
.bracket-container.is-compact .final-round-column .player-tag,
.bracket-container.is-compact .final-round-column .player-status-pill {
    font-size: 10px;
    padding: 2px 5px;
}

.bracket-container.is-compact .final-round-column .admin-controls {
    gap: 6px;
    margin-top: 8px;
}

.bracket-container.is-compact .final-round-column .add-players-btn,
.bracket-container.is-compact .final-round-column .lobby-btn,
.bracket-container.is-compact .final-round-column .view-screenshot-btn {
    min-height: 26px;
    border-radius: 8px;
    font-size: 11px;
    padding: 5px 8px;
}

.bracket-container.is-compact .final-round-column .lobby-buttons {
    gap: 4px;
}

.bracket-container.is-compact .screenshot-badge,
.bracket-container.is-compact .winners-badge {
    transform: scale(0.9);
}

.bracket-container.is-compact .final-round-column .view-screenshot-btn i,
.bracket-container.is-compact .final-round-column .add-players-btn i,
.bracket-container.is-compact .final-round-column .lobby-btn i {
    font-size: 11px;
}

.bracket-container.is-compact .final-round-column .player-row-actions {
    gap: 4px;
}

.bracket-container.is-compact .final-round-column .player-replace,
.bracket-container.is-compact .final-round-column .player-delete {
    width: 22px;
    height: 22px;
    border-radius: 7px;
}

.bracket-container.is-compact .bracket-connections {
    opacity: 0.9;
}
        
        .lobby-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 12px;
            padding-bottom: 8px;
            border-bottom: 1px solid rgba(47, 53, 64, 0.5);
            font-weight: 600;
        }

        .lobby-header-main {
            display: flex;
            flex-direction: column;
            gap: 6px;
            min-width: 0;
            flex: 1 1 auto;
        }

        .lobby-header-title {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            min-width: 0;
            flex-wrap: wrap;
        }

        .lobby-name-text {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .lobby-status-meta {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            min-width: 0;
            row-gap: 5px;
        }

        .lobby-status-chip {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            min-height: 20px;
            padding: 0 8px;
            border-radius: 999px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(255, 255, 255, 0.06);
            color: #d9e1ee;
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 0.12em;
            line-height: 1;
            text-transform: uppercase;
            white-space: nowrap;
        }

        .lobby-status-chip.live {
            background: rgba(235, 87, 87, 0.16);
            border-color: rgba(235, 87, 87, 0.45);
            color: #ff8e8e;
            box-shadow: 0 0 0 1px rgba(235, 87, 87, 0.12), 0 0 14px rgba(235, 87, 87, 0.12);
        }

        .lobby-status-chip.finished {
            background: rgba(46, 204, 113, 0.14);
            border-color: rgba(46, 204, 113, 0.34);
            color: #8ff0b8;
        }

        .lobby-status-time {
            color: #8e9aaf;
            font-size: 11px;
            line-height: 1.35;
            white-space: nowrap;
        }

        .lobby-status-meta[hidden],
        .lobby-status-chip[hidden],
        .lobby-status-time[hidden] {
            display: none !important;
        }

        .lobby-header-side {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            flex-shrink: 0;
            margin-left: auto;
        }

        .lobby-capacity {
            white-space: nowrap;
        }

        .lobby-layout-handle {
            width: 28px;
            height: 28px;
            border-radius: 10px;
            border: 1px solid rgba(110, 142, 251, 0.28);
            background: rgba(110, 142, 251, 0.12);
            color: #9fb5ff;
            cursor: ns-resize;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-left: auto;
            margin-right: 6px;
            flex-shrink: 0;
        }

        .lobby-layout-handle:hover {
            border-color: rgba(110, 142, 251, 0.45);
            background: rgba(110, 142, 251, 0.18);
        }
        
        .screenshot-badge {
            background: #27ae60;
            color: white;
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 10px;
            display: inline-block;
            margin-left: 5px;
        }
        
        .players-list {
            display: flex;
            flex-direction: column;
            gap: 5px;
            margin: 8px 0;
            max-height: none;
            overflow: visible;
        }
        
        .player-row {
            display: flex;
            align-items: flex-start;
            flex-wrap: wrap;
            gap: 8px;
            padding: 8px 10px;
            background: rgba(26, 29, 36, 0.46);
            border: 1px solid rgba(255, 255, 255, 0.04);
            border-radius: 11px;
            justify-content: space-between;
            min-height: 40px;
            min-width: 0;
            overflow: hidden;
            transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
        }

        .player-row:hover {
            background: rgba(32, 37, 47, 0.78);
            border-color: rgba(110, 142, 251, 0.16);
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
        }

        .player-row.has-live-status.player-row-eliminated {
            opacity: 0.82;
        }

        .player-row.has-live-status.player-row-winner-place {
            border-color: rgba(241, 196, 15, 0.2);
            box-shadow: inset 0 0 0 1px rgba(241, 196, 15, 0.08);
        }
        
        .player-info {
            display: flex;
            align-items: center;
            gap: 6px;
            flex: 1 1 100%;
            width: 100%;
            flex-wrap: wrap;
            min-width: 0;
            overflow: hidden;
        }

        .player-meta {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            order: 2;
            flex-shrink: 0;
            margin-left: 8px;
            max-width: 45%;
            opacity: 0.78;
            transition: opacity 0.16s ease;
        }

        .player-row:hover .player-meta,
        .lobby-card:hover .player-meta {
            opacity: 1;
        }

        .player-identity {
            display: flex;
            align-items: center;
            gap: 8px;
            min-width: 0;
            flex: 1 1 100%;
            width: 100%;
            order: 1;
            margin-right: 0;
            max-width: 100%;
            border-radius: 12px;
            padding: 4px 8px 4px 4px;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.035);
        }

        .player-identity-link {
            text-decoration: none;
            color: inherit;
            border-radius: 12px;
            padding: 0;
            transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
        }

        .player-identity-link:hover {
            background: rgba(241, 196, 15, 0.06);
            transform: translateY(-1px);
            box-shadow: inset 0 0 0 1px rgba(241, 196, 15, 0.14);
        }

        .player-identity .slot-avatar-stack {
            margin-right: 0;
            flex-shrink: 0;
        }

        .player-identity .slot-avatar {
            width: 24px;
            height: 24px;
            border-width: 1px;
        }

        .slot-avatar-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            text-decoration: none;
        }

        .slot-avatar-link:hover .slot-avatar {
            border-color: rgba(241, 196, 15, 0.72);
            box-shadow: 0 0 0 2px rgba(241, 196, 15, 0.18);
        }

        .player-name-text {
            display: block;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-weight: 700;
            font-size: 14px;
            color: #f4f7fb;
            letter-spacing: 0.01em;
            line-height: 1.15;
        }
        
        .player-rating {
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 12px;
            font-weight: 700;
            text-transform: uppercase;
            background: linear-gradient(145deg, #2a2f3a, #1a1d24);
            color: #8e9aaf;
            border: 1px solid #3a4050;
            flex-shrink: 0;
            order: 2;
            opacity: 0.78;
            transition: opacity 0.16s ease, transform 0.16s ease;
        }
        
        .player-rating[data-rating="HS"] {
            background: linear-gradient(145deg, #1e4a2a, #153a1f);
            color: #7fff7f;
            border: 1px solid #2a6a3a;
        }
        
        .player-rating[data-rating="VHS"] {
            background: linear-gradient(145deg, #4a2a0a, #3a1f0a);
            color: #ffaa00;
            border: 1px solid #ffaa00;
        }
        
        .player-tag {
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 10px;
            font-weight: 600;
            text-transform: uppercase;
            flex-shrink: 0;
            max-width: 72px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            order: 2;
            opacity: 0.78;
            transition: opacity 0.16s ease, transform 0.16s ease;
        }
        
        .player-tag.participant {
            background: linear-gradient(145deg, #2a4a6a, #1a3a5a);
            color: #6ec8ff;
        }
        
        .player-tag.substitute {
            background: linear-gradient(145deg, #6a4a2a, #5a3a1a);
            color: #ffb46e;
        }

        .player-tag.empty {
            background: rgba(127, 140, 141, 0.15);
            color: #8e9aaf;
            border: 1px dashed rgba(142, 154, 175, 0.45);
        }

        .player-tag.editable,
        .player-twitch.editable {
            cursor: pointer;
        }
        
        .player-name-link {
            text-decoration: none;
            color: inherit;
            display: inline-flex;
            align-items: center;
            transition: all 0.2s;
            position: relative;
            min-width: 0;
            flex: 1 1 auto;
            max-width: 100%;
            margin-left: 0;
        }

        .player-name-link .player-name-text {
            display: block;
            min-width: 0;
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        /* Lobby rows use a dedicated compact tournament layout. */
        .lobby-card .player-row {
            position: relative;
            align-items: center;
            flex-wrap: nowrap;
            justify-content: flex-start;
            gap: 6px;
            padding: 5px 8px 5px 6px;
            border-radius: 15px;
            background:
                radial-gradient(circle at top left, rgba(255, 255, 255, 0.035), transparent 48%),
                linear-gradient(180deg, rgba(33, 38, 49, 0.98), rgba(20, 24, 33, 0.98));
            border: 1px solid rgba(255, 255, 255, 0.055);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
        }

        .lobby-card .player-info {
            flex: 1 1 auto;
            width: auto;
            flex-wrap: nowrap;
            align-items: center;
            gap: 7px;
            min-width: 0;
        }

        .lobby-card .player-status-pill {
            order: 0;
            margin-left: 0;
            min-width: 30px;
            min-height: 18px;
            padding: 0 5px;
            font-size: 8px;
            font-weight: 700;
            letter-spacing: 0.01em;
            color: #eff4fb;
            background: rgba(91, 104, 122, 0.18);
            border-color: rgba(118, 132, 149, 0.25);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
        }

        .lobby-card .player-status-pill.in-game {
            min-width: 34px;
            background: rgba(39, 174, 96, 0.18);
            border-color: rgba(39, 174, 96, 0.34);
            color: #96f0be;
        }

        .lobby-card .player-status-pill.place {
            background: rgba(86, 101, 115, 0.22);
            border-color: rgba(127, 140, 141, 0.24);
            color: #dfe6ef;
        }

        .lobby-card .player-status-pill.winner-place {
            background: linear-gradient(180deg, rgba(91, 69, 17, 0.92), rgba(63, 48, 12, 0.92));
            border-color: rgba(241, 196, 15, 0.34);
            color: #ffe08a;
            box-shadow: 0 0 12px rgba(241, 196, 15, 0.1);
        }

        .lobby-card .player-identity,
        .lobby-card .player-name-link,
        .lobby-card .duo-slot-label {
            order: 1;
            flex: 1 1 auto;
            width: auto;
            min-width: 0;
            max-width: 100%;
        }

        .lobby-card .player-identity {
            gap: 8px;
            padding: 0;
            background: transparent;
            border: none;
            border-radius: 0;
            flex: 1 1 0;
        }

        .lobby-card .player-identity-link:hover {
            background: transparent;
            transform: none;
            box-shadow: none;
        }

        .lobby-card .slot-avatar-stack {
            flex-shrink: 0;
        }

        .lobby-card .slot-avatar {
            width: 26px;
            height: 26px;
            border-width: 1px;
            box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
        }

        .lobby-card .player-name-link {
            gap: 8px;
            flex: 1 1 0;
        }

        .lobby-card .player-name-text {
            max-width: 100%;
            font-size: 12.5px;
            font-weight: 500;
            line-height: 1.1;
            color: #f6f9fd;
            letter-spacing: 0;
        }

        .lobby-card .player-rating,
        .lobby-card .player-tag {
            order: 2;
            margin-left: 0;
            opacity: 0.9;
        }

        .lobby-card .player-tag,
        .lobby-card .player-rating {
            font-size: 9px;
        }

        .lobby-card .player-row-actions {
            flex-shrink: 0;
            margin-left: 4px;
        }

        .lobby-card .player-twitch {
            order: 3;
            margin-left: 0;
            width: 22px;
            min-width: 22px;
            height: 22px;
            padding: 0;
            border-radius: 999px;
            background: transparent;
            border: none;
            color: rgba(169, 112, 255, 0.9);
            opacity: 0.62;
            box-shadow: none;
        }

        .lobby-card .player-twitch:not(.editable) {
            order: 4;
            margin-left: auto;
        }

        .lobby-card .player-streamer-badge {
            order: 4;
            margin-left: auto;
        }

        .lobby-card .player-twitch i {
            font-size: 10px;
        }

        .lobby-card .player-twitch:hover {
            background: rgba(145, 71, 255, 0.12);
            color: #cba7ff;
            border: none;
            box-shadow: inset 0 0 0 1px rgba(145, 71, 255, 0.18);
        }

        .lobby-card .player-row:hover .player-twitch:not(.editable) {
            opacity: 1;
        }

        .player-status-pill {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 22px;
            padding: 0 8px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: #c6cfdd;
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 0.08em;
            line-height: 1;
            text-transform: uppercase;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .player-status-pill[hidden] {
            display: none;
        }

        .player-status-pill.in-game {
            background: rgba(39, 174, 96, 0.14);
            border-color: rgba(39, 174, 96, 0.34);
            color: #8bf5b8;
        }

        .player-status-pill.place {
            background: rgba(86, 101, 115, 0.18);
            border-color: rgba(127, 140, 141, 0.26);
            color: #d8dee8;
        }

        .player-status-pill.winner-place {
            background: rgba(241, 196, 15, 0.16);
            border-color: rgba(241, 196, 15, 0.34);
            color: #ffd86a;
        }

        .duo-slot-label {
            display: flex;
            flex-direction: column;
            min-width: 0;
            max-width: 100%;
            gap: 2px;
            flex: 1 1 auto;
        }

        .slot-avatar-stack {
display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 6px;
  flex-shrink: 0;
        }

        .slot-avatar {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            object-fit: cover;
            background: #2a2f3a;
            border: 1px solid rgba(241, 196, 15, 0.22);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
        }

        .slot-avatar + .slot-avatar {
            margin-top: 4px;
        }

        .slot-avatar-fallback {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #d3d8e2;
            font-size: 11px;
        }

        .duo-slot-member {
            display: block;
            min-width: 72px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            line-height: 1.15;
        }

        .duo-slot-member + .duo-slot-member {
            opacity: 0.9;
        }

        .duo-slot-static {
            color: inherit;
        }

        .duo-slot-member-link {
            color: inherit;
            text-decoration: none;
            display: block;
            min-width: 72px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .duo-slot-member-link:hover {
            color: #f1c40f;
            text-shadow: 0 0 8px #f1c40f;
        }

        .duo-member-tooltip {
            position: relative;
        }

        .duo-member-tooltip-card {
            position: absolute;
            left: calc(100% + 10px);
            top: 50%;
            transform: translateY(-50%) translateX(-4px);
            min-width: 190px;
            max-width: 240px;
            padding: 10px;
            border-radius: 12px;
            background: rgba(20, 23, 31, 0.97);
            border: 1px solid rgba(241, 196, 15, 0.18);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.18s ease, transform 0.18s ease;
            z-index: 30;
        }

        .duo-member-tooltip:hover .duo-member-tooltip-card,
        .duo-member-tooltip:focus-within .duo-member-tooltip-card {
            opacity: 1;
            transform: translateY(-50%) translateX(0);
        }

        .duo-member-tooltip-player {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .duo-member-tooltip-player + .duo-member-tooltip-player {
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
        }

        .duo-member-tooltip-avatar {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            object-fit: cover;
            border: 1px solid rgba(241, 196, 15, 0.28);
            flex-shrink: 0;
            background: #2a2f3a;
        }

        .duo-member-tooltip-name {
            color: #f5f7fb;
            font-size: 12px;
            font-weight: 600;
            line-height: 1.2;
            min-width: 0;
            word-break: break-word;
        }
        
        .player-name-link:hover {
            transform: translateY(-1px);
            text-shadow: 0 0 8px #f1c40f;
        }
        
        .player-name-link::after {
            content: '>';
            font-size: 10px;
            margin-left: 4px;
            opacity: 0;
            transition: opacity 0.2s;
            position: absolute;
            right: -16px;
            top: 50%;
            transform: translateY(-50%);
        }
        
        .player-name-link:hover::after {
            opacity: 0.7;
        }

        .player-identity-link::after {
            display: none;
        }

        .path-highlight-toolbar {
            display: none;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 16px;
            padding: 12px 14px;
            border-radius: 16px;
            border: 1px solid rgba(241, 196, 15, 0.22);
            background: linear-gradient(135deg, rgba(26, 29, 36, 0.95), rgba(18, 21, 28, 0.96));
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
        }

        .path-highlight-toolbar.active {
            display: flex;
        }

        .path-highlight-copy {
            display: flex;
            flex-direction: column;
            gap: 4px;
            min-width: 0;
        }

        .path-highlight-kicker {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.14em;
            color: #8e9aaf;
        }

        .path-highlight-player {
            font-size: 15px;
            font-weight: 700;
            color: #f5f7fb;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .path-highlight-actions {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
        }

        .path-highlight-btn {
            border: 1px solid rgba(241, 196, 15, 0.24);
            background: rgba(241, 196, 15, 0.08);
            color: #f1c40f;
            border-radius: 999px;
            padding: 8px 12px;
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .path-highlight-btn:hover {
            background: rgba(241, 196, 15, 0.14);
            transform: translateY(-1px);
        }

        .path-highlight-btn.secondary {
            border-color: rgba(142, 154, 175, 0.22);
            background: rgba(142, 154, 175, 0.08);
            color: #d7dde7;
        }

        .bracket-container.path-highlight-mode .bracket-connections {
            opacity: 0.38;
        }

        .bracket-container.path-highlight-mode .round-column,
        .bracket-container.path-highlight-mode .lobby-card,
        .bracket-container.path-highlight-mode .player-row {
            transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
        }

        .bracket-container.path-highlight-mode .round-column:not(.path-highlight-column),
        .bracket-container.path-highlight-mode .lobby-card:not(.path-highlight-lobby),
        .bracket-container.path-highlight-mode .player-row:not(.path-highlight-player-row) {
            opacity: 0.28;
        }

        .round-column.path-highlight-column {
            filter: saturate(1.08);
        }

        .lobby-card.path-highlight-lobby {
            border-color: rgba(241, 196, 15, 0.56);
            box-shadow: 0 0 0 1px rgba(241, 196, 15, 0.28), 0 14px 28px rgba(0, 0, 0, 0.26);
        }

        .player-row.path-highlight-player-row {
            background: linear-gradient(135deg, rgba(241, 196, 15, 0.18), rgba(241, 196, 15, 0.08));
            box-shadow: inset 0 0 0 1px rgba(241, 196, 15, 0.34);
        }

        .path-highlight-trigger {
            position: relative;
        }

        .path-highlight-trigger::before {
            content: '';
            position: absolute;
            inset: -2px;
            border-radius: 14px;
            border: 1px solid transparent;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
            pointer-events: none;
        }

        .path-highlight-trigger.path-highlight-selected::before {
            border-color: rgba(241, 196, 15, 0.48);
            box-shadow: 0 0 0 3px rgba(241, 196, 15, 0.14);
        }

        .mini-profile-selected {
            position: relative;
        }

        .mini-profile-selected::before {
            content: '';
            position: absolute;
            inset: -2px;
            border-radius: 12px;
            border: 1px solid rgba(241, 196, 15, 0.44);
            box-shadow: 0 0 0 2px rgba(241, 196, 15, 0.14);
            pointer-events: none;
        }

        .bracket-mini-profile-popover {
            position: fixed;
            z-index: 2147483000;
            --mini-profile-base-transform: translateX(0);
            width: min(356px, calc(100vw - 24px));
            padding: 12px;
            border-radius: 16px;
            border: 1px solid rgba(241, 196, 15, 0.24);
            background:
                radial-gradient(circle at top right, rgba(241, 196, 15, 0.1), transparent 52%),
                linear-gradient(145deg, #161d2a, #101722);
            box-shadow: 0 22px 42px rgba(0, 0, 0, 0.42);
            color: #eef3fb;
            display: grid;
            gap: 10px;
            overflow: hidden;
            isolation: isolate;
            contain: layout paint style;
            opacity: 0;
            transform: var(--mini-profile-base-transform) translateY(8px) scale(0.98);
            filter: blur(2px);
            pointer-events: none;
            will-change: opacity, transform, filter;
            transition:
                opacity 0.18s cubic-bezier(0.2, 0.75, 0.2, 1),
                transform 0.18s cubic-bezier(0.2, 0.75, 0.2, 1),
                filter 0.18s cubic-bezier(0.2, 0.75, 0.2, 1);
        }

        .bracket-mini-profile-popover[hidden] {
            display: none;
        }

        .bracket-mini-profile-popover.is-visible {
            opacity: 1;
            filter: blur(0);
            transform: var(--mini-profile-base-transform) translateY(0) scale(1);
            pointer-events: auto;
        }

        .bracket-mini-profile-popover.is-closing {
            pointer-events: none;
        }

        .bracket-mini-profile-popover.is-mobile {
            --mini-profile-base-transform: translateX(-50%);
        }

        .bracket-mini-profile-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
        }

        .bracket-mini-profile-kicker {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: rgba(207, 218, 236, 0.72);
            font-weight: 700;
        }

        .bracket-mini-profile-close {
            width: 24px;
            height: 24px;
            border-radius: 999px;
            border: 1px solid rgba(255, 255, 255, 0.14);
            background: rgba(255, 255, 255, 0.06);
            color: #cbd5e4;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
        }

        .bracket-mini-profile-close:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(241, 196, 15, 0.42);
            color: #f1c40f;
        }

        .bracket-mini-profile-main {
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 0;
        }

        .bracket-mini-profile-avatar {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            object-fit: cover;
            border: 1px solid rgba(241, 196, 15, 0.28);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
            flex-shrink: 0;
            background: #1f2530;
        }

        .bracket-mini-profile-meta {
            min-width: 0;
            display: grid;
            gap: 4px;
        }

        .bracket-mini-profile-name {
            font-size: 15px;
            font-weight: 800;
            line-height: 1.15;
            color: #f7f9fc;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .bracket-mini-profile-badges {
            display: flex;
            align-items: center;
            gap: 6px;
            min-height: 16px;
        }

        .bracket-mini-profile-chip {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 16px;
            padding: 0 6px;
            border-radius: 999px;
            font-size: 9px;
            font-weight: 800;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            border: 1px solid rgba(255, 255, 255, 0.14);
            background: rgba(255, 255, 255, 0.08);
            color: #f4f7fb;
        }

        .bracket-mini-profile-chip.rating {
            border-color: rgba(95, 159, 255, 0.38);
            background: rgba(95, 159, 255, 0.16);
            color: #a8cbff;
        }

        .bracket-mini-profile-chip.tag {
            border-color: rgba(255, 193, 84, 0.36);
            background: rgba(255, 193, 84, 0.16);
            color: #ffd88e;
        }

        .bracket-mini-profile-id {
            font-size: 11px;
            color: #c4cfdf;
            line-height: 1.3;
        }

        .bracket-mini-profile-id strong {
            color: #f4f7fb;
            font-weight: 700;
        }

        .bracket-mini-profile-actions {
            display: grid;
            grid-template-columns: 1fr;
            gap: 8px;
        }

        .bracket-mini-profile-action {
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            min-height: 36px;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            background: #192538;
            color: #e5ecf7;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            font-size: 12px;
            font-weight: 700;
            text-decoration: none;
            cursor: pointer;
            transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
        }

        .bracket-mini-profile-action:hover {
            transform: translateY(-1px);
            border-color: rgba(95, 159, 255, 0.42);
            background: rgba(95, 159, 255, 0.14);
        }

        .bracket-mini-profile-action.copy,
        .bracket-mini-profile-action.highlight,
        .bracket-mini-profile-action.steam,
        .bracket-mini-profile-action.profile {
            border-color: rgba(95, 159, 255, 0.34);
            background: #1a2b45;
            color: #dce9ff;
        }

        .bracket-mini-profile-action.admin {
            border-color: rgba(95, 159, 255, 0.34);
            background: #1a2b45;
            color: #dce9ff;
        }

        .bracket-mini-profile-action.admin.danger {
            border-color: rgba(231, 76, 60, 0.34);
            background: #3b1e2a;
            color: #ffd6d1;
        }

        .bracket-mini-profile-action.admin-meta {
            justify-content: flex-start;
            padding: 0 10px;
            border-color: rgba(137, 151, 179, 0.34);
            background: #192538;
            color: #dbe5f7;
        }

        .bracket-mini-profile-action.admin-meta.danger-soft {
            border-color: rgba(231, 76, 60, 0.34);
            background: #3a2129;
            color: #ffd6d1;
        }

        .bracket-mini-profile-admin-panel {
            display: grid;
            gap: 10px;
            padding: 10px;
            border-radius: 12px;
            border: 1px solid rgba(95, 159, 255, 0.3);
            background: #121b2a;
            box-sizing: border-box;
        }

        .bracket-mini-profile-admin-field {
            display: grid;
            gap: 6px;
        }

        .bracket-mini-profile-admin-field label {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: rgba(199, 211, 231, 0.78);
            font-weight: 700;
        }

        .bracket-mini-profile-select {
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            min-height: 32px;
            border-radius: 12px;
            border: 1px solid rgba(137, 151, 179, 0.34);
            background: #182337;
            color: #eef3fb;
            padding: 0 10px;
            font-size: 12px;
            font-weight: 700;
        }

        .bracket-mini-profile-admin-twitch-controls {
            display: grid;
            gap: 6px;
            grid-template-columns: 1fr auto auto;
        }

        .bracket-mini-profile-admin-current {
            font-size: 11px;
            line-height: 1.35;
            color: #9fb0c8;
            word-break: break-all;
        }

        .bracket-mini-profile-action[disabled] {
            cursor: not-allowed;
            opacity: 0.56;
            transform: none;
            border-color: rgba(142, 154, 175, 0.24);
            background: #1f2b3f;
            color: #9facbf;
        }

        @media (max-width: 860px) {
            .bracket-mini-profile-popover {
                width: min(360px, calc(100vw - 16px));
                border-radius: 14px;
            }

            .bracket-mini-profile-admin-twitch-controls {
                grid-template-columns: 1fr;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .bracket-mini-profile-popover {
                transition: none;
                filter: none;
            }
        }
        
        .player-twitch {
            font-size: 11px;
            color: #9147ff;
            text-decoration: none;
            padding: 3px 6px;
            min-width: 28px;
            justify-content: center;
            border-radius: 12px;
            background: rgba(145, 71, 255, 0.08);
            border: 1px solid rgba(145, 71, 255, 0.22);
            display: inline-flex;
            align-items: center;
            transition: all 0.2s ease;
            flex-shrink: 0;
            order: 2;
            opacity: 0.78;
        }

        .player-twitch[hidden] {
            display: none !important;
        }

        .winners-badge {
            order: 2;
        }

        .player-row:hover .player-rating,
        .player-row:hover .player-tag,
        .player-row:hover .player-twitch,
        .lobby-card:hover .player-rating,
        .lobby-card:hover .player-tag,
        .lobby-card:hover .player-twitch {
            opacity: 1;
        }
        
        .player-twitch i {
            font-size: 14px;
            transition: transform 0.2s;
        }
        
        .player-twitch:hover i {
            transform: scale(1.1);
        }
        
        .player-twitch:hover {
            background: #9147ff;
            color: white;
            border-color: #9147ff;
        }

        .player-twitch.empty {
            color: #8e9aaf;
            background: rgba(142, 154, 175, 0.1);
            border-color: rgba(142, 154, 175, 0.2);
        }

        .player-streamer-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0;
            width: 22px;
            height: 22px;
            min-width: 22px;
            min-height: 22px;
            padding: 0;
            border-radius: 999px;
            border: 1px solid rgba(145, 71, 255, 0.34);
            background: linear-gradient(135deg, rgba(145, 71, 255, 0.24), rgba(111, 62, 185, 0.24));
            color: #e8d8ff;
            font-size: 0;
            font-weight: 700;
            line-height: 1;
            letter-spacing: 0.04em;
            text-decoration: none;
            white-space: nowrap;
            overflow: hidden;
            flex-shrink: 0;
            transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
        }

        .player-streamer-badge[hidden] {
            display: none !important;
        }

        .player-streamer-badge i {
            font-size: 12px;
        }

        .player-streamer-badge span {
            display: none !important;
        }

        .player-streamer-badge:hover {
            transform: translateY(-1px);
            border-color: rgba(177, 114, 255, 0.5);
            background: linear-gradient(135deg, rgba(145, 71, 255, 0.33), rgba(111, 62, 185, 0.32));
            color: #f1e6ff;
        }

        .player-streamer-badge.empty {
            pointer-events: none;
            color: #c8b7df;
            border-color: rgba(145, 71, 255, 0.24);
            background: rgba(145, 71, 255, 0.12);
        }

        .swal2-popup {
            background: #1a1d24 !important;
            color: #e4e6eb !important;
            border: 1px solid rgba(241, 196, 15, 0.35);
            border-radius: 18px;
        }

        .swal2-container {
            z-index: 100000 !important;
        }

        .swal2-title,
        .swal2-html-container,
        .swal2-input-label {
            color: #e4e6eb !important;
        }

        .swal2-input,
        .swal2-select {
            background: #11141a !important;
            color: #e4e6eb !important;
            border: 1px solid #2f3540 !important;
            box-shadow: none !important;
        }

        .swal2-confirm {
            background: #f1c40f !important;
            color: #111 !important;
        }

        .swal2-cancel {
            background: #2f3540 !important;
            color: #e4e6eb !important;
        }

        .swal2-deny {
            background: #9147ff !important;
            color: white !important;
        }
        
        .admin-rating-control {
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .admin-rating-control:hover {
            transform: scale(1.1);
            box-shadow: 0 0 10px currentColor;
        }
        
        .player-row-actions {
            display: flex;
            align-items: center;
            gap: 4px;
            flex-shrink: 0;
            margin-left: auto;
            order: 2;
            opacity: 0.18;
            transform: translateX(2px);
            transition: opacity 0.16s ease, transform 0.16s ease;
        }

        .player-row-actions-inline {
            display: none !important;
        }

        .player-admin-inline-meta {
            display: none !important;
        }

        .player-row:hover .player-row-actions,
        .lobby-card:hover .player-row-actions,
        .player-row:focus-within .player-row-actions {
            opacity: 1;
            transform: translateX(0);
        }

        .player-delete,
        .player-replace {
            width: 22px;
            height: 22px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 0;
            border-radius: 7px;
            cursor: pointer;
            padding: 0;
            transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
            font-size: 10px;
        }
        
        .player-delete {
            background: rgba(231, 76, 60, 0.12);
            color: #ff8a7d;
        }
        
        .player-delete:hover {
            background: rgba(231, 76, 60, 0.22);
            color: #ffd1cb;
            transform: translateY(-1px);
        }

        .player-replace {
            background: rgba(46, 204, 113, 0.12);
            color: #78efab;
        }

        .player-replace:hover {
            background: rgba(46, 204, 113, 0.22);
            color: #d9ffe8;
            transform: translateY(-1px);
        }
        
        .winners-badge {
            display: inline-block;
            background: #f1c40f;
            color: black;
            font-size: 10px;
            padding: 2px 4px;
            border-radius: 3px;
            margin-left: 5px;
        }
        
        .admin-controls {
            margin-top: 10px;
            padding-top: 8px;
            border-top: 1px solid rgba(47, 53, 64, 0.34);
        }
        
        .add-players-btn {
            width: 100%;
            padding: 5px 8px;
            background: rgba(110, 142, 251, 0.92);
            border: none;
            border-radius: 8px;
            color: white;
            font-size: 11px;
            font-weight: 700;
            cursor: pointer;
            margin-bottom: 6px;
            transition: transform 0.16s ease, filter 0.16s ease;
        }

        .add-players-btn:hover {
            transform: translateY(-1px);
            filter: brightness(1.05);
        }
        
        .lobby-buttons {
            display: flex;
            gap: 5px;
        }
        
        .lobby-btn {
            flex: 1;
            padding: 4px;
            background: #242831;
            border: 1px solid #2f3540;
            border-radius: 4px;
            color: white;
            font-size: 11px;
            cursor: pointer;
        }
        
        .lobby-btn.winners {
            background: linear-gradient(135deg, #f1c40f, #f39c12);
            border: none;
            color: black;
            font-weight: 600;
        }
        
        .lobby-btn.winners.active {
            background: linear-gradient(135deg, #007d35, #27ae60);
            color: white;
        }

        .winners-modal-note {
            margin-bottom: 12px;
            color: #aeb7c6;
            font-size: 12px;
            line-height: 1.45;
        }

        .winners-picker-list {
            margin-bottom: 15px;
            max-height: 360px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .winners-picker-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            padding: 8px 10px;
            background: #242831;
            border: 1px solid #2f3540;
            border-radius: 10px;
        }

        .winners-picker-main {
            min-width: 0;
            display: flex;
            align-items: center;
            gap: 8px;
            flex: 1;
        }

        .winners-picker-checkbox {
            accent-color: #f1c40f;
        }

        .winners-picker-place {
            width: 78px;
            min-width: 78px;
            padding: 6px 8px;
            border-radius: 8px;
            border: 1px solid #3a414d;
            background: #1b1f27;
            color: #e4e6eb;
            font-size: 12px;
        }
        
        .lobby-btn.distribute {
            background: #9b59b6;
            border: none;
            color: white;
        }
        
        .lobby-btn.screenshot {
            background: #27ae60;
            border: none;
            color: white;
        }
        
        .view-screenshot-btn {
            width: 100%;
            padding: 8px 15px;
            background: linear-gradient(145deg, #2a2f3a, #1a1d24);
            border: 1px solid rgba(241, 196, 15, 0.3);
            border-radius: 20px;
            color: #e4e6eb;
            font-size: 12px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            position: relative;
            overflow: hidden;
            margin-top: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            box-shadow: 0 2px 0 #0a0c0f;
        }
        
        .view-screenshot-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(241, 196, 15, 0.15),
                transparent
            );
            transition: left 0.4s ease;
        }
        
        .view-screenshot-btn:hover::before {
            left: 100%;
        }
        
        .view-screenshot-btn:hover {
            transform: translateY(-1px);
            border-color: #f1c40f;
            box-shadow: 0 3px 0 #0a0c0f, 0 0 10px rgba(241, 196, 15, 0.3);
            color: #f1c40f;
        }
        
        .view-screenshot-btn .btn-icon {
            font-size: 14px;
            transition: transform 0.2s;
        }
        
        .view-screenshot-btn:hover .btn-icon {
            transform: scale(1.1);
        }
        
        .final-results-panel {
            margin-top: 0;
        }

        .final-tabs {
            display: flex;
            gap: 6px;
            margin: 0 0 10px;
            flex-wrap: wrap;
        }
        
        .final-tab {
            background: rgba(110, 142, 251, 0.08);
            border: 1px solid rgba(110, 142, 251, 0.18);
            color: #c8d2e0;
            padding: 6px 12px;
            border-radius: 20px;
            cursor: pointer;
            font-size: 12px;
            transition: all 0.2s;
        }
        
        .final-tab:hover {
            background: rgba(110, 142, 251, 0.16);
            color: white;
        }
        
        .final-tab.active {
            background: #6e8efb;
            border-color: #6e8efb;
            color: white;
        }
        
        .final-tab.completed {
            border-color: #007d35;
            color: #007d35;
        }
        
        .final-game-content {
            background: rgba(18, 21, 29, 0.55);
            border: 1px solid rgba(47, 53, 64, 0.8);
            border-radius: 10px;
            padding: 12px;
            margin-top: 0;
            max-height: 320px;
            overflow-y: auto;
        }

        #finalGameStandings {
            max-height: none;
            overflow-y: visible;
            overflow-x: hidden;
            padding-inline: 6px;
        }

        #finalGameStandings .final-results-table {
            min-width: 100%;
            table-layout: auto;
            font-size: 12px;
        }

        #finalGameStandings .final-results-table th,
        #finalGameStandings .final-results-table td {
            padding: 6px 8px;
            vertical-align: middle;
            white-space: nowrap;
        }

        #finalGameStandings .final-results-table td:nth-child(2) > a {
            display: block;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        #finalGameStandings .final-results-table th:nth-child(1),
        #finalGameStandings .final-results-table td:nth-child(1),
        #finalGameStandings .final-results-table th:nth-child(3),
        #finalGameStandings .final-results-table td:nth-child(3),
        #finalGameStandings .final-results-table th:nth-child(4),
        #finalGameStandings .final-results-table td:nth-child(4),
        #finalGameStandings .final-results-table th:nth-child(5),
        #finalGameStandings .final-results-table td:nth-child(5) {
            text-align: center;
        }

        .final-empty-state {
            text-align: center;
            padding: 16px;
            color: #8e9aaf;
        }
        
        .final-results-table {
            width: 100%;
            font-size: 12px;
        }
        
        .final-results-table th {
            text-align: left;
            padding: 6px;
            color: #8e9aaf;
            border-bottom: 1px solid #2f3540;
        }
        
        .final-results-table td {
            padding: 6px;
            border-bottom: 1px solid #2f3540;
        }
        
        .place-1 { color: #f1c40f; }
        .place-2 { color: #c0c0c0; }
        .place-3 { color: #cd7f32; }
        
        .points-badge {
            background: #007d35;
            color: white;
            padding: 2px 6px;
            border-radius: 10px;
            font-size: 10px;
        }
        
        .prize-badge {
            background: #f1c40f;
            color: black;
            padding: 2px 6px;
            border-radius: 10px;
            font-size: 10px;
            font-weight: 600;
        }
        
        /* Cookie Consent Banner */
        .cookie-consent {
            position: fixed;
            bottom: 20px;
            left: 20px;
            right: 20px;
            max-width: 400px;
            background: linear-gradient(135deg, #2a2f3a, #1e2229);
            border-radius: 20px;
            padding: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 0 2px #f1c40f inset;
            z-index: 10000;
            display: none;
            animation: slideUp 0.5s ease;
            border: 1px solid #f1c40f;
        }
        
        .cookie-consent.show {
            display: block;
        }
        
        .cookie-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        
        .cookie-icon {
            font-size: 48px;
            margin-bottom: 10px;
            animation: bounce 2s infinite;
        }
        
        @keyframes bounce {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }
        
        .cookie-title {
            font-size: 20px;
            font-weight: 700;
            color: #f1c40f;
            margin-bottom: 10px;
        }
        
        .cookie-text {
            font-size: 14px;
            color: #e4e6eb;
            margin-bottom: 20px;
            line-height: 1.5;
        }
        
        .cookie-buttons {
            display: flex;
            gap: 10px;
            width: 100%;
        }
        
        .cookie-btn {
            flex: 1;
            padding: 12px;
            border: none;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 14px;
        }
        
        .cookie-btn.accept {
            background: #f1c40f;
            color: black;
        }
        
        .cookie-btn.accept:hover {
            background: #ffd700;
            transform: scale(1.05);
            box-shadow: 0 0 20px rgba(241, 196, 15, 0.5);
        }
        
        .cookie-btn.decline {
            background: #2f3540;
            color: #e4e6eb;
            border: 1px solid #6e8efb;
        }
        
        .cookie-btn.decline:hover {
            background: #3f4754;
        }
        
        /* Р СљР С•Р Т‘Р В°Р В»РЎРЉР Р…РЎвЂ№Р Вµ Р С•Р С”Р Р…Р В° */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            z-index: 2000;
            justify-content: center;
            align-items: center;
        }
        
        .modal.active { 
            display: flex; 
        }
        
        .modal-content {
            background: #1a1d24;
            border-radius: 20px;
            padding: 25px;
            max-width: 800px;
            width: 95%;
            max-height: 90vh;
            overflow-y: auto;
            border: 1px solid #f1c40f;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        }
        
        .login-modal-content {
            padding: 20px;
        }
        
        .login-modal-input {
            width: 100%;
            padding: 12px;
            margin-bottom: 15px;
            background: #242831;
            border: 1px solid #2f3540;
            border-radius: 8px;
            color: white;
            font-size: 16px;
        }
        
        .rules-modal-content {
            color: #e4e6eb;
            font-size: 14px;
            line-height: 1.6;
            max-height: 60vh;
            overflow-y: auto;
            padding: 10px;
        }
        
        .rules-modal-content h1 { color: #f1c40f; font-size: 24px; margin: 20px 0 10px; }
        .rules-modal-content h2 { color: #6e8efb; font-size: 20px; margin: 15px 0 10px; }
        .rules-modal-content h3 { color: #a777e3; font-size: 16px; margin: 10px 0 5px; }
        .rules-modal-content ul, .rules-modal-content ol { margin-left: 20px; margin-bottom: 10px; }
        .rules-modal-content li { margin: 5px 0; }
        .rules-modal-content p { margin: 10px 0; }
        .rules-modal-content strong { color: #f1c40f; }
        
        .close-modal-btn {
            background: #6e8efb;
            color: white;
            border: none;
            padding: 10px 30px;
            border-radius: 30px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 20px;
            display: block;
            margin-left: auto;
            margin-right: auto;
        }
        
        .close-modal-btn:hover {
            background: #5a7ae0;
        }
        
        /* Р СљР С•Р Т‘Р В°Р В»РЎРЉР Р…Р С•Р Вµ Р С•Р С”Р Р…Р С• Р Т‘Р В»РЎРЏ РЎРѓР С”РЎР‚Р С‘Р Р…РЎв‚¬Р С•РЎвЂљР В° */
        #screenshotModal {
            background: rgba(0,0,0,0.95);
        }
        
        #screenshotModal .modal-content {
            all: unset;
            background: transparent;
            padding: 0;
            max-width: 1200px;
            position: relative;
            display: block;
            border: none;
            box-shadow: none;
        }
        
        #screenshotModal .modal-image {
            max-width: 100%;
            max-height: 85vh;
            border-radius: 15px;
            box-shadow: 0 0 0 3px #f1c40f,
                        0 0 0 6px #2a2f3a,
                        0 0 0 9px #f1c40f,
                        0 0 0 12px #2a2f3a,
                        0 20px 40px rgba(0,0,0,0.8);
            animation: frameAppear 0.3s ease;
            position: relative;
        }
        
        #screenshotModal .modal-image::before {
            content: '[img]';
            position: absolute;
            top: -20px;
            left: -20px;
            font-size: 30px;
            filter: drop-shadow(0 0 5px #f1c40f);
            z-index: 10;
        }
        
        #screenshotModal .modal-image::after {
            content: '[pic]';
            position: absolute;
            bottom: -20px;
            right: -20px;
            font-size: 30px;
            filter: drop-shadow(0 0 5px #f1c40f);
            z-index: 10;
        }
        
        #screenshotModal .modal-close {
            position: absolute;
            top: -40px;
            right: -40px;
            width: 40px;
            height: 40px;
            background: linear-gradient(145deg, #2a2f3a, #1a1d24);
            border: 2px solid #f1c40f;
            border-radius: 50%;
            color: #f1c40f;
            font-size: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
            box-shadow: 0 0 15px rgba(241, 196, 15, 0.3);
        }
        
        #screenshotModal .modal-close:hover {
            transform: rotate(90deg) scale(1.1);
            background: #f1c40f;
            color: #000;
            box-shadow: 0 0 25px rgba(241, 196, 15, 0.6);
        }
        
        #screenshotModal .modal-caption {
            position: absolute;
            bottom: -30px;
            left: 50%;
            transform: translateX(-50%);
            color: #f1c40f;
            font-size: 14px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-shadow: 0 2px 5px rgba(0,0,0,0.5);
            background: rgba(26, 29, 36, 0.8);
            padding: 5px 20px;
            border-radius: 30px;
            border: 1px solid #f1c40f;
            backdrop-filter: blur(5px);
            white-space: nowrap;
        }
        
        @keyframes frameAppear {
            from {
                opacity: 0;
                transform: scale(0.9);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }
        
        @media (max-width: 768px) {
            #screenshotModal .modal-close {
                top: -20px;
                right: -20px;
                width: 35px;
                height: 35px;
                font-size: 18px;
            }
            
            #screenshotModal .modal-caption {
                font-size: 12px;
                padding: 3px 15px;
                bottom: -25px;
            }
        }
        
        @media (max-width: 1440px) {
            body {
                padding: 12px;
            }

            .container {
                max-width: 100%;
                padding: 0 10px;
            }

            .navbar-container,
            .header,
            .tournament-header,
            .admin-section,
            .bracket-container {
                padding-left: 14px;
                padding-right: 14px;
            }

            .bracket {
                gap: 12px;
            }

            .upper-row,
            .lower-row,
            .final-row {
                gap: 12px;
                grid-template-columns: repeat(var(--round-layout-slot-count, 1), minmax(220px, 260px)) !important;
            }

            .final-row-middle {
                position: relative;
                inset-inline: auto;
                top: auto;
                transform: none;
                margin-top: -60px;
                margin-bottom: -60px;
            }

            .round-column {
                min-width: 210px;
                max-width: 250px;
            }

            .final-player-badge,
            .final-tab,
            .player-row,
            .lobby-card {
                font-size: 12px;
            }

        }

        /* Р С’Р Т‘Р В°Р С—РЎвЂљР С‘Р Р†Р Р…Р С•РЎРѓРЎвЂљРЎРЉ */
        @media (max-width: 768px) {
            .header {
                flex-direction: column;
                gap: 15px;
                padding: 15px;
            }
            
            .online-indicator {
                margin: 5px 0;
            }
            
            .auth-section {
                width: 100%;
                display: flex;
                justify-content: center;
            }
            
            .prize-pool-grid {
                grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
            }
            
            .prize-pool-item {
                padding: 15px 5px;
            }
            
            .prize-amount {
                font-size: 18px;
            }
            .bracket-container {
                padding: 12px 10px 14px;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                scroll-snap-type: x proximity;
                scrollbar-width: thin;
            }

            .bracket {
                gap: 10px;
                min-height: auto;
                align-items: flex-start;
                width: max-content;
            }

            .bracket-connections {
                display: none;
            }

            .main-brackets {
                gap: 4px;
            }

            .upper-row,
            .lower-row,
            .final-row {
                gap: 10px;
                grid-template-columns: repeat(var(--round-layout-slot-count, 1), minmax(196px, 196px)) !important;
                min-height: auto;
            }

            .final-row-middle {
                position: static;
                inset-inline: auto;
                top: auto;
                transform: none;
                margin-top: -44px;
                margin-bottom: -44px;
            }

            .round-column {
                min-width: 188px;
                max-width: 188px;
                gap: 8px;
                scroll-snap-align: start;
            }

            .round-drop-slot {
                min-height: 40px;
                border-radius: 10px;
            }

            .round-header {
                padding: 10px;
                margin-bottom: 8px;
            }

            .round-title {
                width: 100%;
                align-items: flex-start;
                gap: 8px;
            }

            .round-date-wrapper {
                width: 100%;
                margin-left: 0;
                justify-content: space-between;
            }

            .round-date {
                max-width: 100%;
                white-space: normal;
            }

            .round-count {
                align-self: flex-start;
            }

            .lobby-card {
                padding: 12px;
                font-size: 12px;
            }

            .lobby-card:hover,
            .lobby-card.upper:hover,
            .lobby-card.lower:hover,
            .lobby-card.final:hover {
                transform: translateY(var(--lobby-offset-y, 0px));
            }

            .lobby-header {
                gap: 6px;
                font-size: 12px;
                margin-bottom: 8px;
                padding-bottom: 7px;
            }

            .players-list {
                max-height: none;
            }

            .player-row {
                padding: 6px 8px;
                min-height: 38px;
            }

            .player-info {
                gap: 4px;
            }

            .player-name-link {
                min-width: 0;
                flex: 1;
            }

            .player-name-link .player-name-text {
                display: block;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
            
            .final-container {
                flex: 0 0 220px;
                min-width: 220px;
                max-width: 220px;
                width: 220px;
                padding: 0;
                scroll-snap-align: start;
            }

            .final-header-large {
                font-size: 18px;
                margin-bottom: 12px;
                letter-spacing: 1px;
            }

            .final-players-list,
            .final-game-content {
                padding-left: 8px;
                padding-right: 8px;
            }
        }
        
        @media (max-width: 480px) {
            .bracket-container {
                padding-left: 8px;
                padding-right: 8px;
            }

            .upper-row,
            .lower-row,
            .final-row {
                grid-template-columns: repeat(var(--round-layout-slot-count, 1), minmax(168px, 168px)) !important;
            }

            .round-column {
                min-width: 168px;
                max-width: 168px;
            }

            .final-container {
                flex-basis: 188px;
                min-width: 188px;
                max-width: 188px;
                width: 188px;
            }

            .prize-pool-title {
                font-size: 24px;
                letter-spacing: 2px;
            }
            
            .prize-place {
                font-size: 14px;
            }
            
            .prize-amount {
                font-size: 16px;
            }
            
            .player-info {
                gap: 4px;
            }
            
            .player-rating,
            .player-tag,
            .player-twitch {
                font-size: 10px;
                padding: 2px 6px;
            }
        }
        
        .input-group {
            margin-bottom: 15px;
        }
        
        .input-group label {
            display: block;
            margin-bottom: 5px;
            color: #8e9aaf;
            font-size: 14px;
        }
        
        .input-group input, .input-group select, .input-group textarea {
            width: 100%;
            padding: 10px;
            background: #242831;
            border: 1px solid #2f3540;
            border-radius: 8px;
            color: white;
            font-size: 14px;
        }
        
        .tag-selector {
            display: flex;
            gap: 10px;
            margin-top: 5px;
        }
        
        .tag-option {
            flex: 1;
            padding: 8px;
            background: #242831;
            border: 1px solid #2f3540;
            border-radius: 6px;
            color: white;
            cursor: pointer;
            text-align: center;
            font-size: 12px;
        }
        
        .tag-option:hover {
            background: #2f3540;
        }
        
        .tag-option.active {
            background: #6e8efb;
            border-color: #6e8efb;
        }
        
        .rating-selector {
            display: flex;
            gap: 8px;
            margin: 15px 0;
            flex-wrap: wrap;
        }
        
        .rating-option-btn {
            padding: 8px 16px;
            border: 1px solid #2f3540;
            border-radius: 6px;
            background: #242831;
            color: white;
            cursor: pointer;
            font-size: 12px;
            transition: all 0.2s;
        }
        
        .rating-option-btn:hover {
            background: #2f3540;
        }
        
        .rating-option-btn.active {
            background: #6e8efb;
            border-color: #6e8efb;
        }
        
        .modal-buttons {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }
        
        .modal-btn {
            flex: 1;
            padding: 12px;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .modal-btn.add { background: #007d35; color: white; }
        .modal-btn.add:hover { background: #27ae60; }
        
        .modal-btn.cancel { background: #e74c3c; color: white; }
        .modal-btn.cancel:hover { background: #c0392b; }
        
        .modal-btn.login { background: #6e8efb; color: white; }
        .modal-btn.login:hover { background: #5a7ae0; }
        
        .modal-btn.upload { background: #27ae60; color: white; }
.modal-btn.upload:hover { background: #2ecc71; }

.registration-mode-modal {
    width: min(860px, calc(100vw - 32px));
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(241, 196, 15, 0.14);
    background:
        radial-gradient(circle at top right, rgba(241, 196, 15, 0.10), transparent 26%),
        radial-gradient(circle at top left, rgba(110, 142, 251, 0.12), transparent 24%),
        linear-gradient(155deg, rgba(18, 24, 36, 0.98), rgba(10, 14, 22, 0.98));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.registration-mode-lead {
    margin: 6px 0 0;
    color: rgba(228, 230, 235, 0.72);
    line-height: 1.55;
}

.registration-mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.registration-mode-donation-help {
    margin-top: 16px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(110, 142, 251, 0.18);
    background:
        radial-gradient(circle at top right, rgba(145, 70, 255, 0.12), transparent 32%),
        linear-gradient(180deg, rgba(16, 20, 30, 0.96), rgba(10, 13, 21, 0.98));
    text-align: center;
}

.registration-mode-donation-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.registration-mode-donation-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.84);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.registration-mode-donation-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 8px;
}

.registration-mode-donation-copy {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.6;
    font-size: 14px;
}

.registration-mode-donation-copy strong {
    color: #f5d76e;
}

.registration-mode-donation-notice {
    margin-top: 10px;
    color: #f6d77b;
    font-size: 13px;
    font-weight: 700;
}

.registration-mode-donation-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
    justify-content: center;
}

.registration-mode-donation-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.registration-mode-donation-link:hover {
    transform: translateY(-1px);
    border-color: rgba(110, 142, 251, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.registration-mode-donation-link.da {
    border-color: rgba(241, 196, 15, 0.18);
}

.registration-mode-donation-link.dp {
    border-color: rgba(110, 142, 251, 0.2);
}

.registration-mode-donation-link.trade {
    border-color: rgba(46, 204, 113, 0.24);
}

.registration-mode-donation-service-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex: 0 0 28px;
}

.registration-mode-donation-service-icon.da {
    background: rgba(241, 196, 15, 0.16);
    color: #f5d76e;
}

.registration-mode-donation-service-icon.dp {
    background: rgba(110, 142, 251, 0.18);
    color: #bfcaff;
}

.registration-mode-donation-service-icon.trade {
    background: rgba(46, 204, 113, 0.16);
    color: #98f0ba;
}

.registration-mode-donation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 14px;
}

.registration-mode-donation-helper-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 15px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.registration-mode-donation-helper-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(241, 196, 15, 0.22);
    background: rgba(255, 255, 255, 0.08);
}

.registration-mode-donation-faq {
    margin-top: 16px;
    display: grid;
    gap: 10px;
    text-align: left;
}

.registration-mode-donation-faq-item {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.035);
    overflow: hidden;
}

.registration-mode-donation-faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 14px 16px;
    color: #fff;
    font-weight: 700;
}

.registration-mode-donation-faq-item summary::-webkit-details-marker {
    display: none;
}

.registration-mode-donation-faq-item p {
    margin: 0;
    padding: 0 16px 14px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
    font-size: 14px;
}

.registration-guide-modal {
    max-width: 560px;
}

.registration-guide-steps {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.registration-guide-step {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.04);
}

.registration-guide-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: rgba(241, 196, 15, 0.16);
    color: #f5d76e;
    font-weight: 800;
}

.registration-guide-step-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 6px;
}

.registration-guide-step-copy {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
    font-size: 14px;
}

.registration-mode-card {
    display: flex;
    flex-direction: column;
    min-height: 320px;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(18, 24, 36, 0.96), rgba(10, 14, 22, 0.98));
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.registration-mode-card.paid {
    border-color: rgba(241, 196, 15, 0.18);
    background: linear-gradient(180deg, rgba(24, 22, 14, 0.96), rgba(11, 14, 21, 0.98));
}

.registration-mode-kicker {
    color: rgba(255, 255, 255, 0.54);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 11px;
    font-weight: 700;
}

.registration-mode-title {
    margin-top: 12px;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.18;
    font-weight: 800;
}

.registration-mode-price {
    margin-top: 14px;
    color: #f1c40f;
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.registration-mode-copy {
    margin-top: 12px;
    color: rgba(228, 230, 235, 0.78);
    line-height: 1.65;
    font-size: 15px;
}

.registration-mode-meta {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: rgba(228, 230, 235, 0.64);
    font-size: 13px;
}

.registration-mode-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #eef2fb;
    font-size: 12px;
    font-weight: 700;
}

.registration-mode-pill.warning {
    color: #f7d969;
    border-color: rgba(241, 196, 15, 0.18);
    background: rgba(241, 196, 15, 0.08);
}

.registration-mode-action {
    margin-top: 16px;
    min-height: 48px;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.registration-mode-action.free {
    background: linear-gradient(135deg, #6e8efb, #5b6cff);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(91, 108, 255, 0.24);
}

.registration-mode-action.paid {
    background: linear-gradient(135deg, #f1c40f, #e98a22);
    color: #0f1115;
    box-shadow: 0 14px 28px rgba(241, 196, 15, 0.2);
}

.registration-mode-action:hover:not(:disabled) {
    transform: translateY(-1px);
}

.registration-mode-action:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.registration-mode-footer {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: flex-end;
}

.registration-mode-close {
    min-width: 140px;
}

@media (max-width: 640px) {
    .registration-mode-modal {
        width: calc(100vw - 20px);
        padding: 18px;
    }

    .registration-mode-grid {
        grid-template-columns: 1fr;
    }

    .registration-mode-card {
        min-height: auto;
    }
}
        
        .rating-context-menu {
            position: absolute;
            background: #2f3540;
            border: 1px solid #3f4754;
            border-radius: 8px;
            padding: 8px;
            display: none;
            z-index: 3000;
            box-shadow: 0 4px 12px rgba(0,0,0,0.5);
        }
        
        .rating-context-menu.active {
            display: block;
        }
        
        .rating-option {
            padding: 8px 16px;
            cursor: pointer;
            border-radius: 4px;
            white-space: nowrap;
        }
        
        .rating-option:hover {
            background: #3f4754;
        }
        
        .empty-state {
            text-align: center;
            padding: 50px;
            color: #8e9aaf;
            font-size: 16px;
            width: 100%;
        }
        
        .empty-state .icon {
            font-size: 48px;
            margin-bottom: 20px;
            opacity: 0.5;
        }

/* Р РЋР ВµР С”РЎвЂ Р С‘РЎРЏ Р В·Р В°РЎРЏР Р†Р С•Р С” */
.registrations-section {
    position: relative;
    margin-bottom: 24px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(241, 196, 15, 0.16);
    background:
        radial-gradient(circle at top right, rgba(110, 142, 251, 0.12), transparent 26%),
        radial-gradient(circle at top left, rgba(241, 196, 15, 0.10), transparent 24%),
        linear-gradient(145deg, rgba(19, 24, 34, 0.98), rgba(11, 15, 22, 0.96));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.registrations-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.04), transparent 30%, transparent 70%, rgba(110, 142, 251, 0.05));
    pointer-events: none;
}

.registrations-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.registrations-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.registrations-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(142, 154, 175, 0.88);
}

.registrations-subtitle {
    margin: 0;
    color: rgba(198, 208, 224, 0.72);
    font-size: 13px;
}

.registrations-header h3 {
    margin: 0;
    color: #f7d969;
    font-size: 24px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.registrations-tools {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.refresh-btn {
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.05);
    color: #f5f7fb;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.refresh-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(241, 196, 15, 0.34);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.refresh-btn i {
    font-size: 12px;
}

.registrations-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.stat-card {
    position: relative;
    overflow: hidden;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(160deg, rgba(29, 34, 46, 0.96), rgba(17, 21, 29, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, rgba(241, 196, 15, 0.8), rgba(110, 142, 251, 0.25));
}

.stat-card:nth-child(2)::before {
    background: linear-gradient(180deg, rgba(46, 204, 113, 0.88), rgba(46, 204, 113, 0.18));
}

.stat-card:nth-child(3)::before {
    background: linear-gradient(180deg, rgba(110, 142, 251, 0.88), rgba(110, 142, 251, 0.18));
}

.stat-value {
    display: block;
    font-size: 30px;
    font-weight: 800;
    color: #f5f7fb;
    margin-bottom: 4px;
    letter-spacing: -0.04em;
}

.stat-label {
    font-size: 12px;
    color: rgba(142, 154, 175, 0.82);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.registrations-controls {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.registrations-controls-row {
    display: grid;
    grid-template-columns: minmax(220px, 1.6fr) repeat(5, minmax(120px, 1fr));
    gap: 10px;
    align-items: center;
}

.registrations-search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 12, 18, 0.4);
    color: rgba(198, 208, 224, 0.82);
}

.registrations-search i {
    color: rgba(110, 142, 251, 0.9);
    font-size: 13px;
}

.registrations-search input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #f4f7fb;
    font-size: 13px;
}

.registrations-search input::placeholder {
    color: rgba(142, 154, 175, 0.72);
}

.registrations-filter,
.registrations-page-size {
    min-width: 0;
    height: 42px;
    padding: 0 38px 0 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)),
        rgba(10, 12, 18, 0.52);
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(223, 229, 238, 0.9) 50%),
        linear-gradient(135deg, rgba(223, 229, 238, 0.9) 50%, transparent 50%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
    background-position:
        calc(100% - 18px) 19px,
        calc(100% - 12px) 19px,
        0 0;
    background-size: 6px 6px, 6px 6px, auto;
    background-repeat: no-repeat;
    color: #f4f7fb;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color-scheme: dark;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.registrations-filter:hover,
.registrations-page-size:hover,
.registrations-filter:focus,
.registrations-page-size:focus {
    outline: none;
    border-color: rgba(241, 196, 15, 0.32);
    box-shadow: 0 0 0 3px rgba(241, 196, 15, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.registrations-filter option,
.registrations-page-size option {
    color: #f5f7fb;
    background: #111723;
}

.registrations-filter optgroup,
.registrations-page-size optgroup {
    color: #9bb0d2;
    background: #111723;
}

.registrations-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    color: rgba(198, 208, 224, 0.78);
    font-size: 12px;
}

.registrations-meta strong {
    color: #f5f7fb;
}

.registrations-list {
    max-height: 520px;
    overflow-y: auto;
    border-radius: 18px;
    padding-right: 6px;
    position: relative;
    z-index: 1;
}

.registrations-list::-webkit-scrollbar {
    width: 8px;
}

.registrations-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.registrations-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(241, 196, 15, 0.72), rgba(110, 142, 251, 0.52));
    border-radius: 999px;
}

.registration-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg, rgba(28, 32, 43, 0.98), rgba(16, 20, 29, 0.96));
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255,255,255,0.03);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.registration-card:hover {
    transform: translateY(-2px);
    border-color: rgba(241, 196, 15, 0.22);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255,255,255,0.05);
}

.registration-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, rgba(241, 196, 15, 0.86), rgba(241, 196, 15, 0.18));
}

.registration-card.pending {
    border-color: rgba(241, 196, 15, 0.16);
}

.registration-card.approved {
    border-color: rgba(46, 204, 113, 0.18);
}

.registration-card.approved::before {
    background: linear-gradient(180deg, rgba(46, 204, 113, 0.92), rgba(46, 204, 113, 0.18));
}

.registration-card.rejected::before {
    background: linear-gradient(180deg, rgba(231, 76, 60, 0.92), rgba(231, 76, 60, 0.18));
}

.registration-card.twitch-warning {
    box-shadow: inset 0 0 0 1px rgba(230, 126, 34, 0.2);
}

.twitch-follow-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid transparent;
}

.twitch-follow-pill.verified {
    color: #7ef0ad;
    background: rgba(46, 204, 113, 0.1);
    border-color: rgba(46, 204, 113, 0.25);
}

.twitch-follow-pill.unfollowed {
    color: #ff8f8f;
    background: rgba(231, 76, 60, 0.12);
    border-color: rgba(231, 76, 60, 0.25);
}

.twitch-follow-pill.unknown {
    color: #ffd46e;
    background: rgba(241, 196, 15, 0.12);
    border-color: rgba(241, 196, 15, 0.24);
}

.twitch-follow-pill.error {
    color: #ffb07a;
    background: rgba(230, 126, 34, 0.12);
    border-color: rgba(230, 126, 34, 0.26);
}

.registration-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.registration-header .player-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}

.registration-player-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.registration-link-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(198, 208, 224, 0.88);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: all 0.2s ease;
}

.registration-link-chip:hover {
    color: #fff6d0;
    border-color: rgba(241, 196, 15, 0.26);
    background: rgba(241, 196, 15, 0.08);
    transform: translateY(-1px);
}

.registration-eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(142, 154, 175, 0.78);
}

.registration-header .player-avatar-small {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #f1c40f;
}

.registration-header .player-name {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.05;
    color: #f4f7fb;
    letter-spacing: -0.03em;
}

.registration-status {
    flex-shrink: 0;
    font-size: 11px;
    padding: 7px 12px;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid transparent;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(241, 196, 15, 0.12);
    color: #ffd76e;
    border-color: rgba(241, 196, 15, 0.24);
}

.status-pending {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
    border: 1px solid #f1c40f;
}

.status-approved {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid #2ecc71;
}

.status-rejected {
    background: rgba(231, 76, 60, 0.14);
    color: #ff9386;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.registration-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0 14px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 12px 13px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.detail-item.detail-wide {
    grid-column: 1 / -1;
}

.detail-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(110, 142, 251, 0.88);
}

.detail-value {
    color: #eef2fb;
    font-size: 13px;
    font-weight: 600;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.detail-value a {
    color: #8ab3ff;
    text-decoration: none;
}

.detail-value a:hover {
    color: #b7cfff;
}

.registration-alerts {
    display: grid;
    gap: 8px;
    margin-top: -2px;
    margin-bottom: 14px;
}

.registration-decision-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
    padding: 12px 13px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
}

.registration-decision-summary.approved {
    border-color: rgba(46, 204, 113, 0.2);
    background: rgba(46, 204, 113, 0.06);
}

.registration-decision-summary.rejected {
    border-color: rgba(231, 76, 60, 0.18);
    background: rgba(231, 76, 60, 0.06);
}

.registration-decision-copy {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.registration-decision-title {
    color: #eef2fb;
    font-size: 13px;
    font-weight: 700;
}

.registration-decision-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.registration-decision-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(198, 208, 224, 0.88);
    font-size: 11px;
    font-weight: 700;
}

.registration-edit-decision-btn {
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(110, 142, 251, 0.22);
    background: rgba(110, 142, 251, 0.1);
    color: #dbe5ff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.registration-edit-decision-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(110, 142, 251, 0.34);
    background: rgba(110, 142, 251, 0.16);
}

.registration-collapse-decision-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: #dbe5ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.registration-collapse-decision-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.09);
}

.registration-alert {
    padding: 11px 13px;
    border-radius: 14px;
    font-size: 12px;
    line-height: 1.45;
    border: 1px solid transparent;
}

.registration-alert.warning {
    color: #ffb88a;
    background: rgba(230, 126, 34, 0.1);
    border-color: rgba(230, 126, 34, 0.22);
}

.registration-alert.danger {
    color: #ff9e9e;
    background: rgba(231, 76, 60, 0.1);
    border-color: rgba(231, 76, 60, 0.2);
}

.registration-actions {
    display: grid;
    grid-template-columns: minmax(0, 118px) minmax(0, 138px) repeat(4, auto);
    gap: 8px;
    align-items: center;
    margin-top: 4px;
}

.approve-btn {
    width: 38px;
    height: 38px;
    background: #007d35;
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.approve-btn:hover {
    background: #27ae60;
    transform: translateY(-2px);
}

.reject-btn {
    width: 38px;
    height: 38px;
    background: #c0392b;
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reject-btn:hover {
    background: #e74c3c;
    transform: translateY(-2px);
}

.rating-select {
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    background: #242831;
    border: 1px solid #2f3540;
    border-radius: 12px;
    color: white;
    font-size: 12px;
    cursor: pointer;
}

.rating-select:hover {
    border-color: #f1c40f;
}

.rating-select:focus {
    outline: none;
    border-color: #f1c40f;
}

.tag-select {
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    background: #242831;
    border: 1px solid #2f3540;
    border-radius: 12px;
    color: white;
    font-size: 12px;
    cursor: pointer;
}

.registration-actions .delete-btn {
    width: 38px;
    height: 38px;
    background: rgba(192, 57, 43, 0.12);
    border: 1px solid rgba(192, 57, 43, 0.35);
    border-radius: 12px;
    color: #ff8a7a;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.registration-actions .delete-btn:hover {
    transform: translateY(-2px);
    background: rgba(192, 57, 43, 0.2);
    border-color: rgba(231, 76, 60, 0.5);
}

.loading-spinner {
    text-align: center;
    padding: 38px;
    color: #8e9aaf;
    background: rgba(255,255,255,0.03);
    border: 1px dashed rgba(255,255,255,0.08);
    border-radius: 16px;
}

.empty-state {
    text-align: center;
    padding: 44px 24px;
    color: #8e9aaf;
    background: rgba(255,255,255,0.03);
    border: 1px dashed rgba(255,255,255,0.08);
    border-radius: 18px;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.registrations-pagination {
    position: relative;
    z-index: 1;
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.registrations-pagination[hidden] {
    display: none;
}

.registrations-page-summary {
    color: rgba(198, 208, 224, 0.76);
    font-size: 12px;
}

.registrations-pagination-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.registrations-page-btn {
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #f4f7fb;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.registrations-page-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(241, 196, 15, 0.28);
    background: rgba(241, 196, 15, 0.08);
}

.registrations-page-btn:disabled {
    opacity: 0.45;
    cursor: default;
}

.registrations-page-indicator {
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(110, 142, 251, 0.1);
    border: 1px solid rgba(110, 142, 251, 0.2);
    color: #dbe5ff;
    font-size: 12px;
    font-weight: 700;
}

/* Р С’Р Т‘Р В°Р С—РЎвЂљР С‘Р Р†Р Р…Р С•РЎРѓРЎвЂљРЎРЉ */
@media (max-width: 768px) {
    .registrations-section {
        padding: 18px;
        border-radius: 20px;
    }

    .registrations-header {
        flex-direction: column;
        align-items: stretch;
    }

    .registrations-tools {
        justify-content: stretch;
    }

    .refresh-btn {
        justify-content: center;
    }

    .registrations-header h3 {
        font-size: 21px;
    }

    .registrations-controls-row {
        grid-template-columns: 1fr;
    }

    .registrations-meta,
    .registrations-pagination {
        flex-direction: column;
        align-items: stretch;
    }

    .registrations-pagination-buttons {
        justify-content: space-between;
    }

    .registration-details {
        grid-template-columns: 1fr;
    }
    
    .registration-actions {
        grid-template-columns: 1fr 1fr repeat(4, auto);
    }

    .registration-decision-summary {
        flex-direction: column;
        align-items: stretch;
    }
}

.profile-menu-item:hover {
    background: #2a2f3a;
    color: #f1c40f;
}

.profile-menu-item .menu-icon {
    width: 20px;
    text-align: center;
}

/* Р Р€Р С—РЎР‚Р В°Р Р†Р В»Р ВµР Р…Р С‘Р Вµ РЎвЂћР С‘Р Р…Р В°Р В»Р С•Р С */
.unused-final-controls-legacy {
    background: #242831;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #f1c40f;
}

.final-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.final-admin-header h3 {
    color: #f1c40f;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.final-controls {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.final-games-config, .final-datetime-config {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1a1d24;
    padding: 8px 12px;
    border-radius: 30px;
    border: 1px solid #2f3540;
}

.final-games-config input, .final-datetime-config input {
    width: 60px;
    padding: 5px;
    background: #242831;
    border: 1px solid #2f3540;
    border-radius: 4px;
    color: white;
}

.final-datetime-config input[type="datetime-local"] {
    width: 200px;
}

.final-games-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.final-game-admin-card {
    background: #1a1d24;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #2f3540;
}

.final-game-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2f3540;
}

.game-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.game-number {
    font-weight: 600;
    color: #f1c40f;
}

.game-status {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    background: #2f3540;
    color: #8e9aaf;
}

.game-status.completed {
    background: #007d35;
    color: white;
}

.game-actions {
    display: flex;
    gap: 5px;
}

.btn-icon.upload {
    background: rgba(110, 142, 251, 0.1);
    color: #6e8efb;
}

.btn-icon.upload:hover {
    background: #6e8efb;
    color: white;
}

.btn-icon.view {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.btn-icon.view:hover {
    background: #2ecc71;
    color: white;
}

.final-game-results {
    font-size: 13px;
}

.no-results {
    text-align: center;
    padding: 15px;
    color: #8e9aaf;
    font-style: italic;
}

/* Р вЂќР В»РЎРЏ Р СР С•Р В±Р С‘Р В»РЎРЉР Р…РЎвЂ№РЎвЂ¦ */
@media (max-width: 768px) {
    .final-admin-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .final-controls {
        width: 100%;
        flex-direction: column;
    }
    
    .final-games-config, .final-datetime-config {
        width: 100%;
    }
    
    .final-datetime-config input[type="datetime-local"] {
        width: 100%;
    }
}

.tournament-badge {
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
    cursor: default;
}

/* Р С™Р Р…Р С•Р С—Р С”Р В° РЎС“РЎвЂЎР В°РЎРѓРЎвЂљР С‘РЎРЏ Р Р† РЎвЂљРЎС“РЎР‚Р Р…Р С‘РЎР‚Р Вµ */
.tournament-register-btn-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
    position: relative;
    width: 100%;
}

.tournament-register-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    border: none;
    border-radius: 60px;
    color: black;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 0 #b36b0a, 0 10px 30px rgba(241, 196, 15, 0.4);
    overflow: hidden;
    z-index: 1;
    min-width: 350px;
}

.tournament-register-btn.login-required {
    background: linear-gradient(135deg, #3498db, #2980b9);
    box-shadow: 0 8px 0 #1f4f7a, 0 10px 30px rgba(52, 152, 219, 0.4);
}

.tournament-register-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 0 #b36b0a, 0 15px 40px rgba(241, 196, 15, 0.6);
}

.tournament-register-btn.login-required:hover {
    box-shadow: 0 12px 0 #1f4f7a, 0 15px 40px rgba(52, 152, 219, 0.6);
}

.tournament-register-btn:active {
    transform: translateY(4px);
    box-shadow: 0 4px 0 #b36b0a, 0 10px 30px rgba(241, 196, 15, 0.4);
}

.tournament-register-btn .btn-icon {
    font-size: 28px;
    transition: all 0.3s;
}

.tournament-register-btn:hover .btn-icon {
    transform: scale(1.2) rotate(10deg);
}

.tournament-register-btn .btn-text {
    letter-spacing: 1px;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
    z-index: -1;
}

.tournament-register-btn:hover .btn-glow {
    left: 100%;
}

.btn-info {
    margin-top: 10px;
    color: #8e9aaf;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Р вЂР ВµР в„–Р Т‘Р В¶ "Р вЂ™РЎвЂ№ Р В·Р В°РЎР‚Р ВµР С–Р С‘РЎРѓРЎвЂљРЎР‚Р С‘РЎР‚Р С•Р Р†Р В°Р Р…РЎвЂ№" */
.tournament-registered-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: rgba(46, 204, 113, 0.1);
    border: 2px solid #2ecc71;
    border-radius: 60px;
    box-shadow: 0 0 30px rgba(46, 204, 113, 0.3);
}

.badge-icon {
    font-size: 24px;
    animation: checkPulse 2s infinite;
}

@keyframes checkPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 10px #2ecc71);
    }
}

.badge-text {
    font-size: 18px;
    font-weight: 600;
    color: #2ecc71;
    letter-spacing: 1px;
}

/* Р СљР С•Р Т‘Р В°Р В»РЎРЉР Р…Р С•Р Вµ Р С•Р С”Р Р…Р С• Р С—Р С•Р Т‘РЎвЂљР Р†Р ВµРЎР‚Р В¶Р Т‘Р ВµР Р…Р С‘РЎРЏ */
.registration-modal {
    background: linear-gradient(145deg, #1a1d24, #0f1116);
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    text-align: center;
}

.registration-modal h2 {
    color: #f1c40f;
    font-size: 24px;
    margin-bottom: 15px;
}

.registration-modal p {
    color: #8e9aaf;
    margin-bottom: 25px;
    line-height: 1.6;
}

.modal-buttons {
    display: flex;
    gap: 15px;
}

.modal-btn-confirm {
    flex: 2;
    padding: 12px;
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    border: none;
    border-radius: 30px;
    color: black;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.4);
}

.modal-btn-cancel {
    flex: 1;
    padding: 12px;
    background: #2f3540;
    border: none;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-btn-cancel:hover {
    background: #3f4754;
}

/* Р С’Р Т‘Р В°Р С—РЎвЂљР С‘Р Р†Р Р…Р С•РЎРѓРЎвЂљРЎРЉ */
@media (max-width: 768px) {
    .tournament-register-btn {
        min-width: auto;
        width: 100%;
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .tournament-register-btn .btn-icon {
        font-size: 20px;
    }
    
    .tournament-registered-badge {
        padding: 12px 20px;
    }
    
    .badge-text {
        font-size: 14px;
    }
}

/* Р С™Р Р…Р С•Р С—Р С”Р В° РЎС“РЎвЂЎР В°РЎРѓРЎвЂљР С‘РЎРЏ Р Р† РЎвЂљРЎС“РЎР‚Р Р…Р С‘РЎР‚Р Вµ */
.tournament-register-btn-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
    position: relative;
    width: 100%;
}

.tournament-register-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    border: none;
    border-radius: 60px;
    color: black;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 0 #b36b0a, 0 10px 30px rgba(241, 196, 15, 0.4);
    overflow: hidden;
    z-index: 1;
    min-width: 350px;
}

.tournament-register-btn.login-required {
    background: linear-gradient(135deg, #3498db, #2980b9);
    box-shadow: 0 8px 0 #1f4f7a, 0 10px 30px rgba(52, 152, 219, 0.4);
}

.tournament-register-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 0 #b36b0a, 0 15px 40px rgba(241, 196, 15, 0.6);
}

.tournament-register-btn.login-required:hover {
    box-shadow: 0 12px 0 #1f4f7a, 0 15px 40px rgba(52, 152, 219, 0.6);
}

.tournament-register-btn:active {
    transform: translateY(4px);
    box-shadow: 0 4px 0 #b36b0a, 0 10px 30px rgba(241, 196, 15, 0.4);
}

.tournament-register-btn .btn-icon {
    font-size: 28px;
    transition: all 0.3s;
}

.tournament-register-btn:hover .btn-icon {
    transform: scale(1.2) rotate(10deg);
}

.tournament-register-btn .btn-text {
    letter-spacing: 1px;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
    z-index: -1;
}

.tournament-register-btn:hover .btn-glow {
    left: 100%;
}

/* Р С™Р В°РЎРѓРЎвЂљР С•Р СР Р…РЎвЂ№Р в„– РЎРѓР С”РЎР‚Р С•Р В»Р В»Р В±Р В°РЎР‚ Р Т‘Р В»РЎРЏ rules-modal - РЎвЂљР С•Р Р…Р С”Р С‘Р в„– Р Р†Р В°РЎР‚Р С‘Р В°Р Р…РЎвЂљ */
.rules-modal-content {
    color: #e4e6eb;
    font-size: 14px;
    line-height: 1.6;
    max-height: 60vh;
    overflow-y: auto;
    padding: 15px 20px;
    scrollbar-width: thin; /* Р вЂќР В»РЎРЏ Firefox */
    scrollbar-color: #f1c40f #1a1d24; /* Р вЂќР В»РЎРЏ Firefox */
}

/* Р вЂќР В»РЎРЏ Chrome, Edge, Safari */
.rules-modal-content::-webkit-scrollbar {
    width: 4px; /* Р С›РЎвЂЎР ВµР Р…РЎРЉ РЎвЂљР С•Р Р…Р С”Р С‘Р в„– */
}

.rules-modal-content::-webkit-scrollbar-track {
    background: #1a1d24;
    border-radius: 10px;
}

.rules-modal-content::-webkit-scrollbar-thumb {
    background: #f1c40f;
    border-radius: 10px;
}

.rules-modal-content::-webkit-scrollbar-thumb:hover {
    background: #f39c12;
}

/* Р Р€Р В±Р С‘РЎР‚Р В°Р ВµР С Р В»Р С‘РЎв‚¬Р Р…Р С‘Р Вµ РЎРЊР В»Р ВµР СР ВµР Р…РЎвЂљРЎвЂ№ */
.rules-modal-content::-webkit-scrollbar-button {
    display: none;
}

.rules-modal-content::-webkit-scrollbar-corner {
    background: transparent;
}

.final-header-large {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: #f1c40f;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.final-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(241, 196, 15, 0.1);
    border: 1px solid #f1c40f;
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #e4e6eb;
    letter-spacing: 0.5px;
    text-transform: none;
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(241, 196, 15, 0.2);
}

.final-time-badge i {
    color: #f1c40f;
    font-size: 14px;
}

.btn-info {
    margin-top: 10px;
    color: #8e9aaf;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Р С™Р С•Р Р…РЎвЂљР ВµР в„–Р Р…Р ВµРЎР‚ Р Т‘Р В»РЎРЏ РЎРѓРЎвЂљР В°РЎвЂљРЎС“РЎРѓР С•Р Р† */
.tournament-status-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    width: 100%;
}

/* Р С™Р В°РЎР‚РЎвЂљР С•РЎвЂЎР С”Р В° РЎРѓРЎвЂљР В°РЎвЂљРЎС“РЎРѓР В° */
/* Р С™Р С•Р Р…РЎвЂљР ВµР в„–Р Р…Р ВµРЎР‚ Р Т‘Р В»РЎРЏ РЎРѓРЎвЂљР В°РЎвЂљРЎС“РЎРѓР С•Р Р† */
.tournament-status-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    width: 100%;
}

/* Р С™Р В°РЎР‚РЎвЂљР С•РЎвЂЎР С”Р В° РЎРѓРЎвЂљР В°РЎвЂљРЎС“РЎРѓР В° */
.status-card {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Р В Р В°РЎРѓР С—РЎР‚Р ВµР Т‘Р ВµР В»РЎРЏР ВµР С Р С—РЎР‚Р С•РЎРѓРЎвЂљРЎР‚Р В°Р Р…РЎРѓРЎвЂљР Р†Р С• Р СР ВµР В¶Р Т‘РЎС“ РЎРЊР В»Р ВµР СР ВµР Р…РЎвЂљР В°Р СР С‘ */
    gap: 30px;
    padding: 25px 40px;
    background: linear-gradient(145deg, #1a1d24, #0f1116);
    border-radius: 20px;
    border: 1px solid;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

/* Р вЂќР ВµР С”Р С•РЎР‚Р В°РЎвЂљР С‘Р Р†Р Р…РЎвЂ№Р в„– РЎРЊР В»Р ВµР СР ВµР Р…РЎвЂљ Р Т‘Р В»РЎРЏ Р С”РЎР‚Р В°РЎРѓР С•РЎвЂљРЎвЂ№ */
.status-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Р вЂєР ВµР Р†Р В°РЎРЏ РЎвЂЎР В°РЎРѓРЎвЂљРЎРЉ РЎРѓ Р С‘Р С”Р С•Р Р…Р С”Р С•Р в„– */
.status-icon {
    font-size: 64px;
    min-width: 80px;
    text-align: center;
    animation: statusIconPulse 2s infinite;
    filter: drop-shadow(0 0 10px currentColor);
    position: relative;
    z-index: 1;
}

@keyframes statusIconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px currentColor);
    }
}

/* Р В¦Р ВµР Р…РЎвЂљРЎР‚Р В°Р В»РЎРЉР Р…Р В°РЎРЏ РЎвЂЎР В°РЎРѓРЎвЂљРЎРЉ РЎРѓ РЎвЂљР ВµР С”РЎРѓРЎвЂљР С•Р С - Р В·Р В°Р Р…Р С‘Р СР В°Р ВµРЎвЂљ Р Р†РЎРѓРЎвЂ Р Т‘Р С•РЎРѓРЎвЂљРЎС“Р С—Р Р…Р С•Р Вµ Р С—РЎР‚Р С•РЎРѓРЎвЂљРЎР‚Р В°Р Р…РЎРѓРЎвЂљР Р†Р С• */
.status-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.status-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

body.mode-switching {
    opacity: 0.7;
    pointer-events: none;
    transition: opacity 0.3s;
}

.status-message {
    color: #8e9aaf;
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.9;
}

/* Р СџРЎР‚Р В°Р Р†Р В°РЎРЏ РЎвЂЎР В°РЎРѓРЎвЂљРЎРЉ РЎРѓ Р С—РЎР‚Р С•Р С–РЎР‚Р ВµРЎРѓРЎРѓР С•Р С */
.status-progress-container {
    min-width: 200px;
    text-align: right;
    position: relative;
    z-index: 1;
}

.progress-stats {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 8px;
    font-size: 14px;
}

.progress-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.progress-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #f1c40f;
}

.progress-stat-label {
    font-size: 11px;
    color: #8e9aaf;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #2f3540;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f1c40f, #f39c12);
    border-radius: 4px;
    transition: width 0.3s;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% { left: 100%; }
}

.progress-fill.complete {
    background: linear-gradient(90deg, #2ecc71, #27ae60);
}

.progress-text {
    font-size: 12px;
    color: #8e9aaf;
    text-align: right;
    font-weight: 500;
}

/* Р В Р В°Р В·Р Р…РЎвЂ№Р Вµ РЎвЂ Р Р†Р ВµРЎвЂљР В° Р Т‘Р В»РЎРЏ РЎР‚Р В°Р В·Р Р…РЎвЂ№РЎвЂ¦ РЎРѓРЎвЂљР В°РЎвЂљРЎС“РЎРѓР С•Р Р† */
.status-card.pending {
    border-color: #f1c40f;
    background: linear-gradient(145deg, #1a1d24, #0f1116);
}

.status-card.pending .status-title {
    color: #f1c40f;
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.3);
}

.status-card.approved {
    border-color: #2ecc71;
    background: linear-gradient(145deg, #1a2a1a, #0f1a0f);
}

.status-card.approved .status-title {
    color: #2ecc71;
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.3);
}

.status-card.closed {
    border-color: #e74c3c;
    background: linear-gradient(145deg, #2a1a1a, #1a0f0f);
}

.status-card.closed .status-title {
    color: #e74c3c;
    text-shadow: 0 0 10px rgba(231, 76, 60, 0.3);
}

.status-card.active {
    border-color: #3498db;
    background: linear-gradient(145deg, #1a1a2a, #0f0f1a);
}

.status-card.active .status-title {
    color: #3498db;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

.status-card.completed {
    border-color: #8e9aaf;
    background: linear-gradient(145deg, #1a1d24, #0f1116);
}

.status-card.completed .status-title {
    color: #8e9aaf;
}

/* Р РЋРЎвЂљР В°РЎвЂљРЎС“РЎРѓ Р Т‘Р В»РЎРЏ Р Р…Р ВµР В°Р Р†РЎвЂљР С•РЎР‚Р С‘Р В·Р С•Р Р†Р В°Р Р…Р Р…РЎвЂ№РЎвЂ¦ - РЎС“Р С—РЎР‚Р С•РЎвЂ°Р ВµР Р…Р Р…РЎвЂ№Р в„– */
.status-card {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px 30px;
    background: linear-gradient(145deg, #1a1d24, #0f1116);
    border-radius: 20px;
    border: 1px solid;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s;
    text-align: center;
}

.status-card.registration-open {
    border-color: #f1c40f;
}

.status-card.registration-open .status-title {
    color: #f1c40f;
}

.status-card.registration-closed {
    border-color: #e74c3c;
}

.status-card.registration-closed .status-title {
    color: #e74c3c;
}

.status-card.tournament-active {
    border-color: #3498db;
}

.status-card.tournament-active .status-title {
    color: #3498db;
}

.status-card.tournament-completed {
    border-color: #8e9aaf;
}

.status-card.tournament-completed .status-title {
    color: #8e9aaf;
}

.status-icon {
    font-size: 48px;
    min-width: 60px;
    text-align: center;
}

.status-content {
    flex: 1;
}

.status-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.status-message {
    color: #8e9aaf;
    font-size: 15px;
}

/* Р С™Р Р…Р С•Р С—Р С”Р В° Р Р†РЎвЂ¦Р С•Р Т‘Р В° Р Р† РЎРѓРЎвЂљР В°РЎвЂљРЎС“РЎРѓР Вµ */
.steam-login-btn-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #4caf50, #45a049);
    border: none;
    border-radius: 40px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: 0 4px 0 #2d6a4f;
    min-width: 180px;
}

.steam-login-btn-status:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #2d6a4f;
}

.steam-login-btn-status i {
    font-size: 16px;
}

.action-message {
    font-size: 11px;
    color: #f1c40f;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.history-link {
    display: inline-block;
    padding: 8px 20px;
    background: #2f3540;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}

.history-link:hover {
    background: #3f4754;
    color: #f1c40f;
}

/* Р С’Р Т‘Р В°Р С—РЎвЂљР С‘Р Р†Р Р…Р С•РЎРѓРЎвЂљРЎРЉ */
@media (max-width: 768px) {
    .status-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    
    .steam-login-btn-status {
        width: 100%;
        min-width: auto;
    }
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #2f3540;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f1c40f, #f39c12);
    border-radius: 3px;
    transition: width 0.3s;
}

.progress-fill.complete {
    background: linear-gradient(90deg, #2ecc71, #27ae60);
}

.progress-text {
    font-size: 12px;
    color: #8e9aaf;
}

.status-rating {
    margin-top: 10px;
    font-size: 14px;
    color: #8e9aaf;
}

.rating-badge-small {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 8px;
}

.rating-badge-small.ns {
    background: #2f3540;
    color: #bdc3c7;
}

.rating-badge-small.hs {
    background: #1e4a2a;
    color: #7fff7f;
}

.rating-badge-small.vhs {
    background: #4a2a0a;
    color: #ffaa00;
}

/* Р РЋРЎвЂљР С‘Р В»Р С‘ Р Т‘Р В»РЎРЏ Р Р…Р С•Р Р†Р С•Р С–Р С• Р СР С•Р Т‘Р В°Р В»РЎРЉР Р…Р С•Р С–Р С• Р С•Р С”Р Р…Р В° */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #2f3540;
}

.modal-close-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #2f3540;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: #e74c3c;
    transform: rotate(90deg);
}

.modal-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #2f3540;
    padding-bottom: 10px;
}

.modal-tab {
    padding: 10px 20px;
    background: transparent;
    border: none;
    color: #8e9aaf;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-tab:hover {
    background: #242831;
    color: #e4e6eb;
}

.modal-tab.active {
    background: #6e8efb;
    color: white;
}

/* Safety guard: manual add tab/content are fully disabled */
#tabManual,
#addPlayersManual {
    display: none !important;
}

.tab-content {
    display: none;
    margin-bottom: 20px;
}

.tab-content.active {
    display: block;
}

.approved-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.approved-search {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1a1d24;
    border: 1px solid #2f3540;
    border-radius: 30px;
    padding: 8px 15px;
}

.approved-search i {
    color: #8e9aaf;
}

/* Р С™Р Р…Р С•Р С—Р С”Р В° РЎР‚Р ВµР Т‘Р В°Р С”РЎвЂљР С‘РЎР‚Р С•Р Р†Р В°Р Р…Р С‘РЎРЏ */
.btn-icon.edit {
    background: rgba(110, 142, 251, 0.1);
    color: #6e8efb;
}

.btn-icon.edit:hover {
    background: #6e8efb;
    color: white;
    transform: scale(1.1);
}

/* Р СџР С•Р В»Р Вµ Р Р†Р Р†Р С•Р Т‘Р В° Р Р…Р В°Р В·Р Р†Р В°Р Р…Р С‘РЎРЏ РЎР‚Р В°РЎС“Р Р…Р Т‘Р В° */
.round-name-input {
    font-size: 13px;
}

.round-name-input:focus {
    outline: none;
    border-color: #6e8efb;
    box-shadow: 0 0 5px rgba(110, 142, 251, 0.5);
}

.approved-search input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 14px;
}

.approved-search input:focus {
    outline: none;
}

.approved-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8e9aaf;
    font-size: 14px;
}

.btn-small {
    padding: 6px 12px;
    background: #242831;
    border: 1px solid #2f3540;
    border-radius: 20px;
    color: white;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-small:hover {
    background: #2f3540;
    border-color: #6e8efb;
}

.approved-players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
    padding: 5px;
    margin-bottom: 15px;
}

.approved-player-card {
    background: #1a1d24;
    border: 2px solid #2f3540;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.approved-player-card:hover {
    transform: translateY(-2px);
    border-color: #6e8efb;
    box-shadow: 0 5px 15px rgba(110, 142, 251, 0.2);
}

.approved-player-card[data-selected="true"] {
    border-color: #2ecc71;
    background: linear-gradient(145deg, #1a2a1a, #0f1a0f);
}

.player-checkbox {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-checkbox i {
    font-size: 20px;
    color: #2f3540;
    transition: all 0.2s;
}

.approved-player-card[data-selected="true"] .player-checkbox i {
    color: #2ecc71;
}

.player-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #f1c40f;
    flex-shrink: 0;
}

.player-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-info {
    flex: 1;
    min-width: 0;
}

.player-name {
    font-size: 14px;
    font-weight: 600;
    color: #f1c40f;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-details {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.player-rating-small {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.player-rating-small[data-rating="NS"] {
    background: #2f3540;
    color: #bdc3c7;
}

.player-rating-small[data-rating="HS"] {
    background: #1e4a2a;
    color: #7fff7f;
}

.player-rating-small[data-rating="VHS"] {
    background: #4a2a0a;
    color: #ffaa00;
}

.player-tag-small {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.player-tag-small.participant {
    background: #2a4a6a;
    color: #6ec8ff;
}

.player-tag-small.substitute {
    background: #6a4a2a;
    color: #ffb46e;
}

.player-twitch-small {
    color: #9147ff;
    font-size: 12px;
}

.player-dota-id {
    font-size: 10px;
    color: #8e9aaf;
    white-space: nowrap;
}

.empty-approved {
    text-align: center;
    padding: 40px;
    color: #8e9aaf;
}

.empty-approved i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.modal-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #2f3540;
}

.selected-preview {
    margin-bottom: 10px;
    font-size: 13px;
    color: #8e9aaf;
}

/* Р РЋРЎвЂљР С‘Р В»Р С‘ Р Т‘Р В»РЎРЏ round-header - Р СР С‘Р Р…Р С‘Р СР В°Р В»Р С‘РЎРѓРЎвЂљР С‘РЎвЂЎР Р…РЎвЂ№Р Вµ */
.round-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a1d24;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-left: 3px solid #f1c40f;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.round-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.round-name {
    font-size: 16px;
    font-weight: 600;
    color: #f1c40f;
    letter-spacing: 0.3px;
}

/* Р С›Р В±Р ВµРЎР‚РЎвЂљР С”Р В° Р Т‘Р В»РЎРЏ Р Т‘Р В°РЎвЂљРЎвЂ№ Р С‘ Р С”Р Р…Р С•Р С—Р С”Р С‘ РЎР‚Р ВµР Т‘Р В°Р С”РЎвЂљР С‘РЎР‚Р С•Р Р†Р В°Р Р…Р С‘РЎРЏ */
.round-date-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.round-date {
    font-size: 12px;
    color: #8e9aaf;
    background: #242831;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.round-date i {
    color: #f1c40f;
    font-size: 11px;
}

/* Р РЋРЎвЂљР С‘Р В»РЎРЉ Р Т‘Р В»РЎРЏ TBA (Р Т‘Р В°РЎвЂљР В° Р Р…Р Вµ РЎС“РЎРѓРЎвЂљР В°Р Р…Р С•Р Р†Р В»Р ВµР Р…Р В°) */
.round-date.tba {
    color: #6a717d;
    background: #1e2229;
    border: 1px dashed #2f3540;
    font-style: italic;
}

.round-date.tba i {
    color: #8e9aaf;
}

.admin-mode-switch-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.admin-mode-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #242831;
    padding: 5px 15px;
    border-radius: 30px;
    border: 1px solid #f1c40f;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.mode-label {
    color: #8e9aaf;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 5px;
}

.mode-label i {
    color: #f1c40f;
}

.mode-btn {
    padding: 6px 15px;
    border: none;
    border-radius: 20px;
    background: transparent;
    color: #8e9aaf;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
}

.mode-btn i {
    font-size: 13px;
}

.mode-btn:hover {
    background: #2f3540;
    color: #e4e6eb;
}

.mode-btn.active {
    background: #f1c40f;
    color: black;
}

.mode-btn.active i {
    color: black;
}

/* Р С™Р Р…Р С•Р С—Р С”Р В° РЎР‚Р ВµР Т‘Р В°Р С”РЎвЂљР С‘РЎР‚Р С•Р Р†Р В°Р Р…Р С‘РЎРЏ Р Т‘Р В°РЎвЂљРЎвЂ№ */
.round-date-edit {
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background: rgba(110, 142, 251, 0.1);
    color: #6e8efb;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 11px;
    padding: 0;
}

.round-date-edit:hover {
    background: #6e8efb;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(110, 142, 251, 0.3);
}

.round-count {
    font-size: 13px;
    color: #8e9aaf;
    background: #242831;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
    white-space: nowrap;
}

/* Р С’Р Т‘Р В°Р С—РЎвЂљР С‘Р Р†Р Р…Р С•РЎРѓРЎвЂљРЎРЉ Р Т‘Р В»РЎРЏ Р СР С•Р В±Р С‘Р В»РЎРЉР Р…РЎвЂ№РЎвЂ¦ */
@media (max-width: 768px) {
    .round-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px;
    }
    
    .round-title {
        width: 100%;
        justify-content: space-between;
    }
    
    .round-count {
        align-self: flex-end;
    }
    
    .round-date-wrapper {
        margin-left: auto;
    }
}

/* Р вЂќР В°РЎвЂљР В° Р Т‘Р В»РЎРЏ РЎвЂћР С‘Р Р…Р В°Р В»Р В° */
.final-date {
    text-align: center;
    font-size: 13px;
    color: #f1c40f;
    background: #242831;
    padding: 6px 12px;
    border-radius: 30px;
    display: inline-block;
    margin: 5px auto 15px;
    border: 1px solid #2f3540;
}

.final-date i {
    margin-right: 5px;
}

/* Р С’Р Т‘Р В°Р С—РЎвЂљР С‘Р Р†Р Р…Р С•РЎРѓРЎвЂљРЎРЉ */
@media (max-width: 768px) {
    .round-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .round-title {
        width: 100%;
        justify-content: space-between;
    }
}

.approved-badge {
    background: #f1c40f;
    color: black;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
}

/* Р С’Р Т‘Р В°Р С—РЎвЂљР С‘Р Р†Р Р…Р С•РЎРѓРЎвЂљРЎРЉ */
@media (max-width: 768px) {
    .status-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
        min-width: auto;
        width: 100%;
    }
    
    .status-icon {
        font-size: 40px;
    }
    
    .status-title {
        font-size: 18px;
    }
}

/* Р вЂР ВµР в„–Р Т‘Р В¶ "Р вЂ™РЎвЂ№ Р В·Р В°РЎР‚Р ВµР С–Р С‘РЎРѓРЎвЂљРЎР‚Р С‘РЎР‚Р С•Р Р†Р В°Р Р…РЎвЂ№" */
.tournament-registered-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: rgba(46, 204, 113, 0.1);
    border: 2px solid #2ecc71;
    border-radius: 60px;
    box-shadow: 0 0 30px rgba(46, 204, 113, 0.3);
}

.badge-icon {
    font-size: 24px;
    animation: checkPulse 2s infinite;
}

/* Р В¦Р ВµР Р…РЎвЂљРЎР‚Р С‘РЎР‚Р С•Р Р†Р В°Р Р…Р С‘Р Вµ Р С‘Р С”Р С•Р Р…Р С•Р С” Р Р† Р С—РЎР‚Р В°Р Р†Р С‘Р В»Р В°РЎвЂ¦ */
.rules-modal-content i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 6px;
    font-size: 1.1em;
    vertical-align: middle;
}

/* Р вЂќР В»РЎРЏ Р В·Р В°Р С–Р С•Р В»Р С•Р Р†Р С”Р С•Р Р† */
.rules-modal-content h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 20px 0 15px;
}

.rules-modal-content h2 i {
    width: 28px;
    height: 28px;
    font-size: 1.3em;
}

/* Р вЂќР В»РЎРЏ РЎРѓР С—Р С‘РЎРѓР С”Р С•Р Р† */
.rules-modal-content li i,
.rules-modal-content p i {
    width: 20px;
    height: 20px;
    font-size: 1em;
}

.rules-modal-content .fa-ban {
    color: #e74c3c;
}

.rules-modal-content .fa-check-circle {
    color: #2ecc71;
}

.rules-modal-content .fa-times-circle {
    color: #e74c3c;
}

.rules-modal-content .fa-twitch {
    color: #9147ff;
}

.rules-modal-content h2 i {
    margin-right: 8px;
    font-size: 1.2em;
}

@keyframes checkPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 10px #2ecc71);
    }
}

.badge-text {
    font-size: 18px;
    font-weight: 600;
    color: #2ecc71;
    letter-spacing: 1px;
}

/* Р СљР С•Р Т‘Р В°Р В»РЎРЉР Р…Р С•Р Вµ Р С•Р С”Р Р…Р С• Р С—Р С•Р Т‘РЎвЂљР Р†Р ВµРЎР‚Р В¶Р Т‘Р ВµР Р…Р С‘РЎРЏ */
.registration-modal {
    background: linear-gradient(145deg, #1a1d24, #0f1116);
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    text-align: center;
}

.registration-modal h2 {
    color: #f1c40f;
    font-size: 24px;
    margin-bottom: 15px;
}

/* Р С™Р Р…Р С•Р С—Р С”Р В° Р С”Р В°Р В»Р ВµР Р…Р Т‘Р В°РЎР‚РЎРЏ */
.btn-icon.calendar {
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
}

.btn-icon.calendar:hover {
    background: #f1c40f;
    color: black;
}

/* Р С›РЎвЂљР С•Р В±РЎР‚Р В°Р В¶Р ВµР Р…Р С‘Р Вµ Р Т‘Р В°РЎвЂљРЎвЂ№ */
.round-date {
    font-size: 11px;
    color: #f1c40f;
    background: rgba(241, 196, 15, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

/* Р СљР С•Р Т‘Р В°Р В»РЎРЉР Р…Р С•Р Вµ Р С•Р С”Р Р…Р С• Р Т‘Р В»РЎРЏ Р Р†РЎвЂ№Р В±Р С•РЎР‚Р В° Р Т‘Р В°РЎвЂљРЎвЂ№ */
.date-picker-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 30000;
}

.date-picker-modal.active {
    display: flex;
}

.date-picker-content {
    background: linear-gradient(145deg, #1a1d24, #0f1116);
    border-radius: 20px;
    padding: 25px;
    max-width: 400px;
    width: 90%;
    border: 2px solid #f1c40f;
    position: relative;
    z-index: 1;
}

.date-picker-title {
    color: #f1c40f;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.date-picker-input {
    width: 100%;
    padding: 12px;
    background: #242831;
    border: 1px solid #2f3540;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    margin-bottom: 15px;
}

.date-picker-input:focus {
    outline: none;
    border-color: #f1c40f;
}

.date-picker-buttons {
    display: flex;
    gap: 10px;
}

.date-picker-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.date-picker-btn.save {
    background: #f1c40f;
    color: black;
}

.date-picker-btn.save:hover {
    background: #f39c12;
    transform: translateY(-2px);
}

.date-picker-btn.clear {
    background: #e74c3c;
    color: white;
}

.date-picker-btn.clear:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.date-picker-btn.cancel {
    background: #2f3540;
    color: white;
}

.date-picker-btn.cancel:hover {
    background: #3f4754;
}

.registration-modal p {
    color: #8e9aaf;
    margin-bottom: 25px;
    line-height: 1.6;
}

.modal-buttons {
    display: flex;
    gap: 15px;
}

.modal-btn-confirm {
    flex: 2;
    padding: 12px;
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    border: none;
    border-radius: 30px;
    color: black;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.4);
}

.modal-btn-cancel {
    flex: 1;
    padding: 12px;
    background: #2f3540;
    border: none;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-btn-cancel:hover {
    background: #3f4754;
}

/* Р С™Р Р…Р С•Р С—Р С”Р С‘ РЎС“Р С—РЎР‚Р В°Р Р†Р В»Р ВµР Р…Р С‘РЎРЏ РЎРѓРЎвЂљР В°РЎвЂљРЎС“РЎРѓР С•Р С Р Р† Р В°Р Т‘Р СР С‘Р Р…Р С”Р Вµ */
.status-controls {
    display: flex;
    gap: 5px;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid #2f3540;
}

.status-controls button {
    padding: 8px 12px;
    font-size: 12px;
}

/* Р С’Р Т‘Р В°Р С—РЎвЂљР С‘Р Р†Р Р…Р С•РЎРѓРЎвЂљРЎРЉ */
@media (max-width: 768px) {
    .tournament-register-btn {
        min-width: auto;
        width: 100%;
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .tournament-register-btn .btn-icon {
        font-size: 20px;
    }
    
    .tournament-registered-badge {
        padding: 12px 20px;
    }
    
.badge-text {
        font-size: 14px;
    }
}
.duo-picker-modal-content {
    width: min(680px, calc(100vw - 32px));
    max-height: min(80vh, 760px);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.duo-picker-lead {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    font-size: 14px;
}

.duo-picker-search {
    width: 100%;
    padding: 13px 14px;
    border-radius: 12px;
    border: 1px solid rgba(110, 142, 251, 0.25);
    background: rgba(10, 16, 28, 0.92);
    color: #fff;
    outline: none;
}

.duo-picker-search:focus {
    border-color: rgba(110, 142, 251, 0.7);
    box-shadow: 0 0 0 3px rgba(110, 142, 251, 0.14);
}

.duo-picker-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding-right: 4px;
    min-height: 220px;
    max-height: 360px;
}

.duo-picker-card {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(18, 26, 42, 0.88);
    color: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
}

.duo-picker-card:hover {
    transform: translateY(-1px);
    border-color: rgba(110, 142, 251, 0.45);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.duo-picker-card.active {
    border-color: rgba(241, 196, 15, 0.72);
    box-shadow: 0 0 0 1px rgba(241, 196, 15, 0.26);
}

.duo-picker-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.08);
}

.duo-picker-avatar.fallback {
    display: grid;
    place-items: center;
    color: #f1c40f;
    font-weight: 800;
}

.duo-picker-main {
    min-width: 0;
    flex: 1 1 auto;
}

.duo-picker-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.duo-picker-meta {
    margin-top: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.duo-picker-chip {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(110, 142, 251, 0.12);
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    line-height: 1;
    border: 1px solid rgba(110, 142, 251, 0.12);
}

.duo-picker-empty {
    padding: 26px 18px;
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    text-align: center;
    color: rgba(255, 255, 255, 0.62);
}

.duo-picker-selected {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(241, 196, 15, 0.09);
    border: 1px solid rgba(241, 196, 15, 0.22);
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
}

.duo-source-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(241, 196, 15, 0.12);
    border: 1px solid rgba(241, 196, 15, 0.24);
    color: #f1c40f;
    font-size: 11px;
    font-weight: 700;
}

.duo-lobby-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(241, 196, 15, 0.10);
    border: 1px solid rgba(241, 196, 15, 0.18);
    color: #f1c40f;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.event-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.prize-pool.event-card {
    background:
        radial-gradient(circle at top right, rgba(241, 196, 15, 0.18), transparent 32%),
        radial-gradient(circle at bottom left, rgba(110, 142, 251, 0.16), transparent 36%),
        linear-gradient(145deg, #161b24, #0b1017 62%);
    border: 1px solid rgba(241, 196, 15, 0.24);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
    padding: 34px;
}

.event-stage-prize-pool.prize-pool.event-card {
    position: relative;
    z-index: 1;
    margin-top: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 22px 32px 20px;
}

.event-stage-prize-pool.prize-pool.event-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 32px;
    right: 32px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(241, 196, 15, 0.24), transparent);
    pointer-events: none;
}

.event-stage-prize-pool.prize-pool.event-card::before {
    display: none;
}

.event-stage-prize-pool.prize-pool.event-card .prize-pool-title {
    margin-bottom: 20px;
}

.event-stage-prize-pool.prize-pool.event-card .prize-pool-lead {
    margin-bottom: 24px;
}

.prize-pool.event-card::before {
    background: linear-gradient(120deg, rgba(255,255,255,0.05), transparent 42%);
    animation: none;
    inset: 0;
    width: auto;
    height: auto;
    top: 0;
    left: 0;
}

.prize-pool.event-card .prize-pool-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    text-align: center;
    color: #fff4c7;
    text-shadow: none;
    letter-spacing: normal;
    text-transform: none;
    font-size: 34px;
    line-height: 1.05;
}

.prize-pool.event-card .prize-pool-title i {
    color: #f1c40f;
}

.prize-pool-lead {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 auto 22px;
    text-align: center;
}

.prize-pool.event-card .prize-pool-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.prize-pool.event-card .prize-pool-item {
    position: relative;
    overflow: hidden;
    min-height: 110px;
    padding: 18px 18px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.06), transparent 48%),
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 14px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.prize-pool.event-card .prize-pool-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent 44%);
    pointer-events: none;
    opacity: 0.9;
}

.prize-pool.event-card .prize-pool-item:hover {
    transform: translateY(-2px);
    border-color: rgba(241, 196, 15, 0.34);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 18px 32px rgba(0, 0, 0, 0.22);
}

.prize-pool.event-card .prize-pool-item::after {
    content: '';
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(241,196,15,0.14), transparent 72%);
    bottom: -18px;
    right: -18px;
    opacity: 1;
    transform: none;
}

.prize-pool.event-card .prize-card-head {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.prize-pool.event-card .prize-rank-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f6f8fc;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.prize-pool.event-card .prize-pool-item.top-1 {
    background:
        radial-gradient(circle at top left, rgba(241,196,15,0.16), transparent 48%),
        linear-gradient(180deg, rgba(241,196,15,0.16), rgba(255,255,255,0.04));
    border-color: rgba(241, 196, 15, 0.38);
}

.prize-pool.event-card .prize-pool-item.top-2 {
    background:
        radial-gradient(circle at top left, rgba(192,192,192,0.13), transparent 48%),
        linear-gradient(180deg, rgba(192,192,192,0.12), rgba(255,255,255,0.04));
    border-color: rgba(192, 192, 192, 0.24);
}

.prize-pool.event-card .prize-pool-item.top-3 {
    background:
        radial-gradient(circle at top left, rgba(205,127,50,0.15), transparent 48%),
        linear-gradient(180deg, rgba(205,127,50,0.13), rgba(255,255,255,0.04));
    border-color: rgba(205, 127, 50, 0.26);
}

.prize-pool.event-card .prize-pool-item.top-4 {
    background:
        radial-gradient(circle at top left, rgba(110, 142, 251, 0.12), transparent 48%),
        linear-gradient(180deg, rgba(110, 142, 251, 0.08), rgba(255,255,255,0.04));
    border-color: rgba(110, 142, 251, 0.2);
}

.prize-pool.event-card .prize-pool-item.top-1 .prize-rank-mark {
    background: linear-gradient(180deg, rgba(241,196,15,0.26), rgba(241,196,15,0.12));
    border-color: rgba(241, 196, 15, 0.4);
    color: #fff5cf;
}

.prize-pool.event-card .prize-pool-item.top-2 .prize-rank-mark {
    background: linear-gradient(180deg, rgba(192,192,192,0.22), rgba(192,192,192,0.1));
    border-color: rgba(192, 192, 192, 0.3);
    color: #f2f5fa;
}

.prize-pool.event-card .prize-pool-item.top-3 .prize-rank-mark {
    background: linear-gradient(180deg, rgba(205,127,50,0.24), rgba(205,127,50,0.1));
    border-color: rgba(205, 127, 50, 0.28);
    color: #ffe2c2;
}

.prize-pool.event-card .prize-pool-item.top-4 .prize-rank-mark {
    background: linear-gradient(180deg, rgba(110, 142, 251, 0.22), rgba(110, 142, 251, 0.1));
    border-color: rgba(110, 142, 251, 0.28);
    color: #e3ebff;
}

.prize-pool.event-card .prize-place {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.66);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0;
}

.prize-pool.event-card .prize-amount {
    position: relative;
    z-index: 1;
    margin-top: auto;
    width: 100%;
    padding-left: 0;
    font-size: 30px;
    line-height: 1.04;
    text-align: center;
    text-shadow: none;
}

.prize-pool.event-card .top-1 .prize-amount {
    font-size: 32px;
}

.status-card.registration-open.event-card {
    align-items: stretch;
    padding: 0;
    gap: 0;
    border: 1px solid rgba(39, 174, 96, 0.26);
    background:
        radial-gradient(circle at top left, rgba(39, 174, 96, 0.22), transparent 34%),
        radial-gradient(circle at bottom right, rgba(110, 142, 251, 0.12), transparent 38%),
        linear-gradient(145deg, #111a1b, #0b1012 62%);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.34);
}

.status-card.event-card {
    text-align: center;
}

.status-card.event-card .status-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.status-card.event-card .event-kicker {
    align-self: center;
}

.status-card.event-card .status-message {
    margin-left: auto;
    margin-right: auto;
}

.status-card.registration-open.event-card::before {
    background: linear-gradient(120deg, rgba(255,255,255,0.05), transparent 42%);
    animation: none;
    inset: 0;
    width: auto;
    height: auto;
    top: 0;
    left: 0;
}

.status-card.registration-open.event-card .status-content {
    padding: 30px 32px;
}

.status-card.registration-open.event-card .status-title {
    color: #d9ffea;
    font-size: 34px;
    line-height: 1.05;
    margin-bottom: 10px;
}

.status-card.registration-open.event-card .status-message {
    color: rgba(235, 255, 243, 0.76);
    font-size: 15px;
    margin-bottom: 0;
    max-width: 520px;
}

.status-card.registration-open.event-card .status-action {
    min-width: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 26px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    position: relative;
    z-index: 1;
}

.status-card.registration-open.event-card .profile-menu-item.tournament-badge {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}

.status-card.registration-closed.event-card,
.status-card.tournament-active.event-card,
.status-card.tournament-completed.event-card {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 220px;
    padding: 34px;
    background: linear-gradient(145deg, #131922, #0c1017 62%);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.34);
    border-width: 1px;
}

.status-card.registration-closed.event-card::before,
.status-card.tournament-active.event-card::before,
.status-card.tournament-completed.event-card::before {
    background: linear-gradient(120deg, rgba(255,255,255,0.05), transparent 42%);
    animation: none;
    inset: 0;
    width: auto;
    height: auto;
    top: 0;
    left: 0;
}

.status-card.registration-closed.event-card {
    border-color: rgba(231, 76, 60, 0.28);
    background:
        radial-gradient(circle at top center, rgba(231, 76, 60, 0.18), transparent 34%),
        linear-gradient(145deg, #1a1215, #0d0d12 62%);
}

.status-card.registration-closed.event-card .status-title {
    color: #ffd2cb;
}

.status-card.tournament-active.event-card {
    border-color: rgba(52, 152, 219, 0.28);
    background:
        radial-gradient(circle at top center, rgba(52, 152, 219, 0.18), transparent 34%),
        linear-gradient(145deg, #101823, #0b1017 62%);
}

.status-card.tournament-active.event-card .status-title {
    color: #d7eeff;
}

.status-card.tournament-completed.event-card {
    border-color: rgba(142, 154, 175, 0.26);
    background:
        radial-gradient(circle at top center, rgba(142, 154, 175, 0.16), transparent 34%),
        linear-gradient(145deg, #171a21, #0d1016 62%);
}

.status-card.tournament-completed.event-card .status-title {
    color: #eef2ff;
}

.status-card.registration-closed.event-card .status-content,
.status-card.tournament-active.event-card .status-content,
.status-card.tournament-completed.event-card .status-content {
    max-width: 640px;
    position: relative;
    z-index: 1;
}

.status-card.registration-closed.event-card .status-title,
.status-card.tournament-active.event-card .status-title,
.status-card.tournament-completed.event-card .status-title {
    font-size: 34px;
    line-height: 1.05;
    margin-bottom: 10px;
}

.status-card.registration-closed.event-card .status-message,
.status-card.tournament-active.event-card .status-message,
.status-card.tournament-completed.event-card .status-message {
    color: rgba(255,255,255,0.74);
    font-size: 15px;
    margin-bottom: 0;
}

.status-card.tournament-completed.event-card .status-action {
    margin-top: 18px !important;
    display: flex;
    justify-content: center;
}

.homepage-checkin-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    max-width: none;
    padding: 24px 26px;
    border-radius: 24px;
    border: 1px solid rgba(255, 208, 64, 0.2);
    background:
        radial-gradient(circle at top left, rgba(255, 208, 64, 0.12), transparent 30%),
        radial-gradient(circle at bottom right, rgba(39, 174, 96, 0.12), transparent 36%),
        linear-gradient(145deg, #131922, #0d1118 62%);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.homepage-checkin-card.is-scheduled {
    border-color: rgba(110, 142, 251, 0.24);
    background:
        radial-gradient(circle at top left, rgba(110, 142, 251, 0.14), transparent 30%),
        radial-gradient(circle at bottom right, rgba(52, 152, 219, 0.12), transparent 36%),
        linear-gradient(145deg, #121825, #0d1118 62%);
}

.homepage-checkin-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.homepage-checkin-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.homepage-checkin-title {
    font-size: 28px;
    line-height: 1.05;
    font-weight: 800;
    color: #fff3c2;
}

.homepage-checkin-card.is-scheduled .homepage-checkin-title {
    color: #deebff;
}

.homepage-checkin-summary {
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    font-weight: 600;
}

.homepage-checkin-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.homepage-checkin-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 208, 64, 0.38);
    background: linear-gradient(135deg, #ffd451, #ffb400);
    color: #15191f;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(255, 180, 0, 0.2);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
    cursor: pointer;
}

.homepage-checkin-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(255, 180, 0, 0.26);
}

.homepage-checkin-cta:disabled {
    cursor: default;
    opacity: 0.82;
    transform: none;
    box-shadow: none;
}

.homepage-checkin-cta.secondary {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #f4f7ff;
    box-shadow: none;
}

.homepage-checkin-action-pill,
.homepage-checkin-badge,
.homepage-checkin-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 700;
}

.homepage-checkin-action-pill.success {
    color: #d9ffea;
    border-color: rgba(39, 174, 96, 0.32);
    background: rgba(39, 174, 96, 0.16);
}

.homepage-checkin-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.homepage-checkin-badge.open {
    color: #fff3c2;
    border-color: rgba(255, 208, 64, 0.3);
    background: rgba(255, 208, 64, 0.12);
}

.homepage-checkin-badge.scheduled {
    color: #deebff;
    border-color: rgba(110, 142, 251, 0.28);
    background: rgba(110, 142, 251, 0.14);
}

.homepage-checkin-deadline {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 600;
}

.homepage-checkin-counter {
    margin-left: auto;
}

.homepage-checkin-confirmed {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.homepage-checkin-confirmed-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #f2f5ff;
    font-size: 14px;
    font-weight: 700;
}

.homepage-checkin-confirmed-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-content: flex-start;
    max-height: 152px;
    min-height: 48px;
    overflow-y: auto;
    padding-right: 4px;
}

.homepage-checkin-confirmed-list::-webkit-scrollbar {
    width: 8px;
}

.homepage-checkin-confirmed-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.homepage-checkin-player-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    min-height: 44px;
    padding: 6px 14px 6px 8px;
    border-radius: 14px;
    border: 1px solid rgba(39, 174, 96, 0.18);
    background: rgba(24, 40, 33, 0.86);
    color: #e9fff3;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    word-break: break-word;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.homepage-checkin-player-card:hover {
    transform: translateY(-1px);
    border-color: rgba(82, 196, 128, 0.3);
    background: rgba(29, 49, 40, 0.96);
}

.homepage-checkin-player-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.homepage-checkin-player-name {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.homepage-checkin-empty {
    color: rgba(255, 255, 255, 0.52);
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .homepage-checkin-head {
        flex-direction: column;
        align-items: stretch;
    }

    .homepage-checkin-actions {
        justify-content: flex-start;
    }

    .homepage-checkin-cta {
        width: 100%;
        min-width: 0;
    }

    .homepage-checkin-counter {
        margin-left: 0;
    }
}

.completed-showcase {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 28px;
    padding: 30px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top center, rgba(241, 196, 15, 0.12), transparent 24%),
        radial-gradient(circle at bottom right, rgba(110, 200, 255, 0.08), transparent 26%),
        linear-gradient(145deg, rgba(19, 24, 34, 0.98), rgba(9, 12, 18, 0.98));
    border: 1px solid rgba(241, 196, 15, 0.14);
    box-shadow:
        0 26px 52px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.completed-showcase::before,
.completed-showcase::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.completed-showcase::before {
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 22%);
}

.completed-showcase::after {
    inset: -30% auto auto -12%;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(241, 196, 15, 0.12), rgba(241, 196, 15, 0));
    filter: blur(34px);
}

.completed-showcase-header,
.completed-showcase-stage,
.completed-showcase-podium-head,
.completed-showcase-podium,
.completed-showcase-footer {
    position: relative;
    z-index: 1;
}

.completed-showcase-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px 24px;
    align-items: flex-start;
}

.completed-showcase-headline {
    min-width: 0;
}

.completed-showcase-kicker {
    margin-bottom: 8px;
    color: #8e9aaf;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.completed-showcase-title {
    margin: 0;
    color: #fbfcff;
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 900;
    line-height: 0.94;
    letter-spacing: -0.03em;
}

.completed-showcase-copy {
    max-width: 700px;
    margin: 12px 0 0;
    color: #aeb9c9;
    font-size: 13px;
    line-height: 1.62;
}

.completed-showcase-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.completed-showcase-pill {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    color: #eff3f9;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.completed-showcase-pill strong {
    color: #f1c40f;
    margin-right: 8px;
}

.completed-showcase-stage {
    position: relative;
    overflow: hidden;
    padding: 16px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background:
        radial-gradient(circle at 50% 6%, rgba(241, 196, 15, 0.15), transparent 28%),
        linear-gradient(180deg, rgba(9, 13, 19, 0.95), rgba(8, 11, 16, 0.9));
}

.completed-showcase-stage::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -72px;
    width: 660px;
    height: 660px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(241, 196, 15, 0.16) 0%, rgba(241, 196, 15, 0.06) 32%, rgba(241, 196, 15, 0) 72%);
    filter: blur(26px);
    pointer-events: none;
}

.completed-showcase-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 24%),
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 54px,
            rgba(255, 255, 255, 0.015) 54px,
            rgba(255, 255, 255, 0.015) 55px
        );
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), transparent 86%);
    pointer-events: none;
}

.champion-stage-shell {
    position: relative;
    z-index: 1;
    padding: 26px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(241, 196, 15, 0.14), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(110, 200, 255, 0.12), transparent 20%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
        rgba(10, 14, 21, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 24px 54px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    isolation: isolate;
}

.champion-stage-shell::before {
    content: "";
    position: absolute;
    inset: -14% -4% auto;
    height: 180px;
    background: radial-gradient(circle, rgba(241, 196, 15, 0.14), rgba(241, 196, 15, 0));
    filter: blur(28px);
    opacity: 0.8;
    pointer-events: none;
}

.champion-stage-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.05) 42%, transparent 76%);
    transform: translateX(-62%);
    opacity: 0.22;
    animation: championStageSweep 8s ease-in-out infinite;
    pointer-events: none;
}

.champion-stage-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
    gap: 22px;
    align-items: stretch;
}

.champion-stage-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.champion-stage-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.champion-card-badge {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    color: #111;
    background: linear-gradient(135deg, #f1c40f, #d99800);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.champion-card-badge i {
    margin-right: 8px;
    font-size: 13px;
}

.champion-stage-rank {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    color: #f5f7fb;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.champion-stage-identity {
    display: grid;
    grid-template-columns: 184px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

.champion-avatar-shell {
    position: relative;
    width: 184px;
    height: 184px;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.champion-avatar-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 46px;
    background: radial-gradient(circle, rgba(241, 196, 15, 0.22), rgba(241, 196, 15, 0.07) 52%, rgba(241, 196, 15, 0) 78%);
    filter: blur(10px);
}

.champion-avatar-shell::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 40px;
    border: 1px solid rgba(241, 196, 15, 0.34);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 0 28px rgba(241, 196, 15, 0.14);
}

.champion-avatar-glow {
    position: absolute;
    inset: 12px;
    border-radius: 42px;
    background: radial-gradient(circle, rgba(241, 196, 15, 0.28), rgba(241, 196, 15, 0));
    filter: blur(18px);
    opacity: 0.9;
}

.champion-avatar-ring {
    position: absolute;
    inset: 8px;
    border-radius: 42px;
    border: 1px solid rgba(241, 196, 15, 0.22);
    opacity: 0.6;
    animation: championRingPulse 4.8s ease-in-out infinite;
}

.champion-avatar-ring.ring-b {
    inset: -2px;
    border-color: rgba(110, 200, 255, 0.18);
    animation-delay: 1.4s;
}

.champion-crown {
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #111;
    background: linear-gradient(135deg, #f6d24c, #d99800);
    box-shadow: 0 10px 24px rgba(217, 152, 0, 0.28);
    z-index: 3;
}

.champion-crown i {
    font-size: 14px;
}

.champion-avatar,
.prize-list-avatar,
.completed-avatar-fallback {
    width: 140px;
    height: 140px;
    border-radius: 34px;
    object-fit: cover;
    flex-shrink: 0;
}

.completed-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.24), rgba(110, 200, 255, 0.18));
    color: #fff;
    font-size: 36px;
    font-weight: 900;
}

.champion-copy {
    min-width: 0;
    text-align: left;
}

.champion-subtitle {
    color: #8e9aaf;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.champion-name {
    margin: 6px 0 10px;
    color: #fff;
    font-size: clamp(56px, 7vw, 88px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.04em;
    text-shadow:
        0 6px 24px rgba(0, 0, 0, 0.28),
        0 0 28px rgba(255, 255, 255, 0.03);
}

.champion-victory-line {
    max-width: 720px;
    color: #f3d46c;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.5;
    text-shadow: 0 0 18px rgba(241, 196, 15, 0.08);
}

.champion-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.champion-stat {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 13px;
    border-radius: 999px;
    color: #d8e2ef;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 12px;
    font-weight: 700;
}

.champion-caption {
    max-width: 700px;
    margin-top: 14px;
    color: #bfc9d8;
    font-size: 14px;
    line-height: 1.62;
}

.champion-stage-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.champion-stage-prize-card {
    position: relative;
    overflow: hidden;
    padding: 18px 18px 16px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(241, 196, 15, 0.2), transparent 40%),
        linear-gradient(160deg, rgba(33, 26, 7, 0.9), rgba(16, 18, 22, 0.9));
    border: 1px solid rgba(241, 196, 15, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.champion-stage-prize-card::after {
    content: "";
    position: absolute;
    inset: auto 16px 0 16px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(241, 196, 15, 0.34), transparent);
}

.champion-stage-prize-label {
    color: #d5deea;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.champion-stage-prize-value {
    margin-top: 8px;
    color: #f1c40f;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 900;
    line-height: 0.94;
    text-shadow:
        0 0 22px rgba(241, 196, 15, 0.22),
        0 10px 28px rgba(0, 0, 0, 0.28);
}

.champion-stage-prize-note {
    margin-top: 8px;
    color: #b8c4d4;
    font-size: 13px;
    line-height: 1.5;
}

.completed-showcase-overview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.completed-overview-card {
    --overview-accent: rgba(255, 255, 255, 0.28);
    position: relative;
    overflow: hidden;
    min-height: 108px;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.completed-overview-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--overview-accent), transparent);
    opacity: 0.85;
}

.completed-overview-card.accent-gold {
    --overview-accent: rgba(241, 196, 15, 0.92);
}

.completed-overview-card.accent-blue {
    --overview-accent: rgba(110, 200, 255, 0.92);
}

.completed-overview-card.accent-amber {
    --overview-accent: rgba(255, 178, 61, 0.92);
}

.completed-overview-card.accent-slate {
    --overview-accent: rgba(191, 201, 216, 0.82);
}

.completed-overview-label {
    color: #8e9aaf;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.completed-overview-value {
    margin-top: 10px;
    color: #f6f8fb;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.08;
    word-break: break-word;
}

.completed-showcase-podium-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
}

.completed-showcase-podium-title {
    color: #f6f8fb;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.01em;
}

.completed-showcase-podium-copy {
    max-width: 420px;
    color: #8e9aaf;
    font-size: 13px;
    line-height: 1.55;
    text-align: right;
}

.completed-showcase-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.prize-card {
    --prize-accent: rgba(241, 196, 15, 0.72);
    position: relative;
    overflow: hidden;
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 46%),
        rgba(8, 11, 17, 0.56);
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.prize-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--prize-accent), transparent 72%);
    opacity: 0.9;
}

.prize-card.place-2 {
    --prize-accent: rgba(190, 212, 255, 0.92);
}

.prize-card.place-3 {
    --prize-accent: rgba(255, 178, 112, 0.92);
}

.prize-card.place-4 {
    --prize-accent: rgba(141, 227, 181, 0.9);
}

.prize-card-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: #f4f7fb;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.prize-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.prize-list-avatar,
.prize-card .completed-avatar-fallback {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    font-size: 20px;
}

.prize-card-copy {
    min-width: 0;
}

.prize-card-name {
    margin: 0 0 2px;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
}

.prize-card-role {
    color: #8e9aaf;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.prize-card-note {
    color: #b8c4d4;
    font-size: 13px;
    line-height: 1.6;
}

.prize-card-bottom {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.prize-card-prize-label {
    color: #8e9aaf;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.prize-card-prize {
    margin-top: 6px;
    color: #f1c40f;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.05;
}

.completed-showcase-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.completed-showcase-footnote {
    max-width: 540px;
    color: #8e9aaf;
    font-size: 13px;
    line-height: 1.6;
}

.completed-showcase-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    text-decoration: none;
    color: #111;
    background: linear-gradient(135deg, #f1c40f, #d99800);
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 16px 28px rgba(217, 152, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.completed-showcase-link:hover {
    transform: translateY(-1px);
    color: #111;
    box-shadow: 0 18px 30px rgba(217, 152, 0, 0.28);
}

.champion-stage-spark {
    position: absolute;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(241, 196, 15, 0.95), rgba(241, 196, 15, 0));
    opacity: 0.7;
    filter: blur(1px);
    animation: championSparkFloat 5.5s ease-in-out infinite;
    pointer-events: none;
}

.champion-stage-spark.spark-a {
    top: 54px;
    left: calc(50% - 132px);
    width: 12px;
    height: 12px;
}

.champion-stage-spark.spark-b {
    top: 88px;
    left: calc(50% + 118px);
    width: 9px;
    height: 9px;
    animation-delay: 0.8s;
}

.champion-stage-spark.spark-c {
    top: 132px;
    left: calc(50% - 182px);
    width: 7px;
    height: 7px;
    animation-delay: 1.5s;
}

.champion-stage-spark.spark-d {
    top: 182px;
    left: calc(50% + 214px);
    width: 10px;
    height: 10px;
    animation-delay: 2.1s;
}

.champion-stage-spark.spark-e {
    top: 232px;
    left: calc(50% - 290px);
    width: 8px;
    height: 8px;
    animation-delay: 2.8s;
}

@keyframes championSparkFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.38;
    }
    50% {
        transform: translateY(-10px) scale(1.15);
        opacity: 0.82;
    }
}

@keyframes championStageSweep {
    0%, 100% {
        transform: translateX(-62%);
        opacity: 0.14;
    }
    50% {
        transform: translateX(52%);
        opacity: 0.3;
    }
}

@keyframes championRingPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.35;
    }
    50% {
        transform: scale(1.06);
        opacity: 0.75;
    }
}

@media (max-width: 1100px) {
    .completed-showcase-header {
        grid-template-columns: 1fr;
    }

    .event-stage-stack .tournament-header {
        padding-bottom: 24px;
    }

    .event-stage-prize-pool.prize-pool.event-card {
        padding-left: 24px;
        padding-right: 24px;
    }

    .event-stage-prize-pool.prize-pool.event-card::after {
        left: 24px;
        right: 24px;
    }

    .completed-showcase-meta {
        justify-content: flex-start;
    }

    .champion-stage-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .status-card.registration-open.event-card {
        flex-direction: column;
    }

    .event-stage-stack {
        gap: 0;
        border-radius: 24px;
    }

    .event-stage-stack .tournament-header {
        padding-bottom: 22px;
    }

    .event-stage-prize-pool.prize-pool.event-card {
        padding: 18px 20px 18px;
    }

    .event-stage-prize-pool.prize-pool.event-card::after {
        left: 20px;
        right: 20px;
    }

    .status-card.registration-open.event-card .status-action {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.08);
        min-width: 0;
        justify-content: flex-start;
    }

    .completed-showcase {
        padding: 22px;
        gap: 18px;
    }

    .completed-showcase-stage {
        padding: 12px;
    }

    .champion-stage-shell {
        padding: 20px 18px;
    }

    .champion-stage-identity {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .champion-avatar-shell {
        width: 152px;
        height: 152px;
        margin: 0;
    }

    .champion-avatar,
    .completed-avatar-fallback {
        width: 112px;
        height: 112px;
        border-radius: 30px;
    }

    .completed-avatar-fallback {
        font-size: 32px;
    }

    .champion-name {
        font-size: clamp(46px, 12vw, 68px);
    }

    .completed-showcase-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .completed-showcase-podium {
        grid-template-columns: 1fr;
    }

    .completed-showcase-podium-head,
    .completed-showcase-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .completed-showcase-podium-copy {
        text-align: left;
    }

    .champion-stage-spark.spark-d,
    .champion-stage-spark.spark-e {
        display: none;
    }
}

@media (max-width: 640px) {
    .completed-showcase {
        padding: 18px;
        border-radius: 24px;
    }

    .completed-showcase-title {
        font-size: clamp(28px, 10vw, 40px);
    }

    .completed-showcase-copy,
    .champion-caption,
    .prize-card-note,
    .completed-showcase-footnote {
        font-size: 12px;
    }

    .champion-victory-line {
        font-size: 14px;
    }

    .completed-showcase-overview {
        grid-template-columns: 1fr;
    }

    .completed-overview-card {
        min-height: 92px;
    }

    .completed-overview-value {
        font-size: 20px;
    }

    .champion-stage-topline {
        align-items: flex-start;
    }

    .champion-card-badge,
    .champion-stage-rank,
    .completed-showcase-pill {
        min-height: 36px;
        font-size: 11px;
    }

    .champion-stage-spark.spark-a,
    .champion-stage-spark.spark-b,
    .champion-stage-spark.spark-c {
        display: none;
    }
}

.bracket-container {
    --round-column-min: 220px;
    --round-column-max: 258px;
    --round-column-gap: 14px;
    --final-lane-width: 180px;
    --final-lane-gap: 10px;
    --lobby-card-padding: 12px;
    --final-rail-width: 336px;
    position: relative;
    padding: 22px 22px 18px;
    border-radius: 22px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-gutter: auto;
    touch-action: pan-x pan-y pinch-zoom;
    background:
        linear-gradient(180deg, rgba(18, 22, 30, 0.96), rgba(11, 14, 20, 0.92)),
        radial-gradient(circle at top left, rgba(241, 196, 15, 0.08), transparent 30%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    scrollbar-width: none;
    scrollbar-color: auto;
}

.bracket-container.is-scrollable {
    cursor: grab;
    scrollbar-gutter: stable both-edges;
    scrollbar-width: thin;
    scrollbar-color: rgba(241, 196, 15, 0.78) rgba(255, 255, 255, 0.07);
}

.bracket-container.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.bracket-container.is-dragging,
.bracket-container.is-dragging * {
    user-select: none;
}

.bracket-container::-webkit-scrollbar {
    height: 0;
}

.bracket-container.is-scrollable::-webkit-scrollbar {
    height: 14px;
}

.bracket-container.is-scrollable::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.bracket-container.is-scrollable::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(241, 196, 15, 0.72), rgba(110, 142, 251, 0.72));
    border: 2px solid rgba(10, 12, 15, 0.65);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.bracket-container.is-scrollable::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, rgba(241, 196, 15, 0.95), rgba(110, 142, 251, 0.95));
}

.bracket {
    width: max-content;
    min-width: 100%;
    padding-bottom: 6px;
}

.main-brackets {
    min-width: 0;
}

@media (max-width: 768px) {
    .bracket-container {
        padding: 12px 10px 16px;
    }
}

@media (min-width: 769px) {
    .upper-row,
    .lower-row,
    .final-row {
        grid-template-columns: repeat(var(--round-layout-slot-count, 1), minmax(calc(var(--round-column-min) + 8px), calc(var(--round-column-max) + 8px))) !important;
    }

    .round-column,
    .final-round-column:not(.embedded-middle-final-round-column) {
        min-width: var(--round-column-min) !important;
        max-width: var(--round-column-max) !important;
    }

    .final-row-middle .final-round-column.embedded-middle-final-round-column {
        min-width: clamp(var(--round-column-max), calc(var(--round-column-max) + 84px), calc(100vw - 180px)) !important;
        width: clamp(var(--round-column-max), calc(var(--round-column-max) + 84px), calc(100vw - 180px)) !important;
        max-width: clamp(var(--round-column-max), calc(var(--round-column-max) + 84px), calc(100vw - 180px)) !important;
    }

}

.bracket-container.is-auth-locked {
    position: relative;
}

.bracket-container.is-auth-locked .bracket {
    filter: blur(10px) saturate(0.72) brightness(0.62);
    transform: scale(1.015);
    transform-origin: center top;
    pointer-events: none;
    user-select: none;
}

.bracket-container.is-auth-locked .bracket-connections {
    opacity: 0.74;
}

.bracket-auth-lock {
    position: absolute;
    inset: 0;
    z-index: 18;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 4vw, 32px);
    background:
        radial-gradient(circle at center, rgba(5, 8, 14, 0.26), rgba(5, 8, 14, 0.72)),
        linear-gradient(180deg, rgba(6, 9, 15, 0.56), rgba(6, 9, 15, 0.82));
    backdrop-filter: blur(1.5px);
}

.bracket-auth-lock-card {
    width: min(620px, 100%);
    padding: clamp(22px, 4vw, 34px);
    border-radius: 24px;
    border: 1px solid rgba(241, 196, 15, 0.26);
    background:
        radial-gradient(circle at top right, rgba(241, 196, 15, 0.14), transparent 45%),
        linear-gradient(165deg, rgba(17, 23, 35, 0.97), rgba(10, 14, 22, 0.98));
    box-shadow:
        0 28px 54px rgba(0, 0, 0, 0.46),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    text-align: center;
}

.bracket-auth-lock-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(241, 196, 15, 0.28);
    background: rgba(241, 196, 15, 0.12);
    color: #f6e6a4;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bracket-auth-lock-title {
    margin: 14px 0 8px;
    color: #f7f9fd;
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.12;
    font-weight: 900;
}

.bracket-auth-lock-text {
    margin: 0 auto;
    max-width: 520px;
    color: #b4c0d4;
    font-size: 15px;
    line-height: 1.6;
}

.bracket-auth-lock-btn {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 24px;
    border-radius: 14px;
    border: 1px solid rgba(241, 196, 15, 0.4);
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.96), rgba(220, 150, 18, 0.94));
    color: #14100a;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.03em;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.bracket-auth-lock-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.bracket-auth-lock-btn:focus-visible {
    outline: 2px solid rgba(241, 196, 15, 0.7);
    outline-offset: 2px;
}

.bracket-auth-lock-btn i {
    font-size: 16px;
}

@media (max-width: 768px) {
    .bracket-auth-lock {
        padding: 16px;
    }

    .bracket-auth-lock-card {
        border-radius: 18px;
        padding: 20px 16px;
    }

    .bracket-auth-lock-title {
        margin-top: 12px;
        font-size: clamp(21px, 7vw, 28px);
    }

    .bracket-auth-lock-text {
        font-size: 14px;
        line-height: 1.5;
    }

    .bracket-auth-lock-btn {
        width: 100%;
    }
}
.prestart-stage {
    margin-top: 10px;
}

.prestart-stage-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    padding: 30px 32px;
    border: 1px solid rgba(241, 196, 15, 0.18);
    background:
        radial-gradient(circle at top right, rgba(241, 196, 15, 0.08), transparent 34%),
        linear-gradient(145deg, rgba(20, 24, 34, 0.96), rgba(12, 16, 24, 0.98));
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.prestart-stage-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(241, 196, 15, 0.24);
    background: rgba(241, 196, 15, 0.08);
    color: #ffe08a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.prestart-stage-card h2 {
    margin: 18px 0 10px;
    color: #fff5d3;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 0.98;
}

.prestart-stage-card p {
    max-width: 760px;
    margin: 0;
    color: rgba(229, 233, 246, 0.76);
    font-size: 17px;
    line-height: 1.7;
}

.prestart-stage-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1.35fr) repeat(3, minmax(180px, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.prestart-stage-summary,
.prestart-stage-stat {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 16, 24, 0.68);
    padding: 24px 26px;
}

.prestart-stage-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 168px;
}

.prestart-stage-summary-label,
.prestart-stage-stat-label {
    color: #8ea5ef;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.prestart-stage-summary-value {
    margin-top: 14px;
    color: #fff4cc;
    font-size: clamp(24px, 2.2vw, 34px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.prestart-stage-summary-meta {
    margin-top: 12px;
    color: rgba(229, 233, 246, 0.72);
    font-size: 15px;
    line-height: 1.6;
}

.prestart-stage-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 168px;
}

.prestart-stage-stat strong {
    margin-top: 14px;
    color: #ffffff;
    font-size: clamp(28px, 2.8vw, 42px);
    font-weight: 900;
    line-height: 1.05;
}

@media (max-width: 1100px) {
    .prestart-stage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .prestart-stage {
        margin-top: 10px;
    }

    .prestart-stage-card {
        padding: 24px 18px;
        border-radius: 24px;
    }

    .prestart-stage-grid {
        grid-template-columns: 1fr;
    }

    .prestart-stage-summary,
    .prestart-stage-stat {
        min-height: auto;
    }
}
