*{box-sizing:border-box}body{margin:0;font-family:Assistant,Arial,sans-serif;background:#090909;color:#fff;direction:rtl}a{color:inherit}.wrap{max-width:1180px;margin:auto;padding:20px}.hero,.card{background:linear-gradient(135deg,#151515,#050505);border:1px solid #2b2b2b;border-radius:18px;padding:22px;margin:18px 0;box-shadow:0 10px 35px rgba(0,0,0,.35)}.logo{max-width:220px;display:block;margin:0 auto 12px}.hero{text-align:center}.hero h1{font-size:42px;margin:10px 0;color:#fff}.hero p{color:#ddd;font-size:19px}.nav{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:15px}.btn,button{display:inline-block;background:#c40000;color:#fff;text-decoration:none;border:0;border-radius:12px;padding:11px 18px;font-weight:800;font-size:16px;cursor:pointer}.btn:hover,button:hover{background:#f00000}.secondary{background:#222}.success{background:#1d8b3d}.danger{background:#b00000}.ghost{background:transparent;border:1px solid #555}.small{font-size:13px;padding:7px 10px;border-radius:8px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:15px}.stat{background:#111;border:1px solid #333;border-radius:15px;padding:18px;text-align:center}.stat strong{font-size:32px;color:#ffd65a;display:block}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.full{grid-column:1/-1}label{display:block;margin-bottom:6px;font-weight:800}input,select,textarea{width:100%;padding:12px;border-radius:10px;border:1px solid #333;background:#111;color:#fff;font-family:Assistant,Arial}textarea{min-height:90px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:760px}th,td{padding:11px;border-bottom:1px solid #333;text-align:right}th{color:#ffd65a;background:#111}.notice{background:#173d21;border:1px solid #2ea44f;color:#fff;padding:12px;border-radius:12px;margin:12px 0}.error{background:#451616;border-color:#c40000}.thumb{width:55px;height:55px;object-fit:cover;border-radius:50%;border:2px solid #333}.pill{display:inline-block;border-radius:999px;padding:5px 10px;background:#333;font-size:13px}.status-open{background:#1d8b3d}.status-running{background:#c47b00}.status-finished{background:#333}.match{display:grid;grid-template-columns:1fr auto 1fr;gap:15px;align-items:center;text-align:center;background:#111;border:1px solid #333;border-radius:16px;padding:18px;margin:14px 0}.vs{font-size:24px;font-weight:900;color:#ffd65a}.player-box strong{font-size:22px}.live-title{font-size:34px;text-align:center;color:#ffd65a}footer{text-align:center;color:#aaa;padding:30px}@media(max-width:700px){.hero h1{font-size:30px}.match{grid-template-columns:1fr}.vs{font-size:18px}.wrap{padding:12px}}
.tournament-image{max-width:360px;width:100%;border-radius:18px;margin:12px auto;display:block;border:1px solid #333}.status-draft{background:#555}.status-full{background:#8b5b1d}.status-archived{background:#333}.status-open{background:#1d8b3d}.status-running{background:#c47b00}.status-finished{background:#222}

/* Player Card / HeadShot ID */
.player-id-pill{display:inline-block;padding:6px 10px;border:1px dashed #ffd65a;border-radius:10px;color:#ffd65a;font-weight:900;letter-spacing:.5px;background:#111}.player-card-hero{background:radial-gradient(circle at top,#252525,#050505 62%);border:1px solid #333;border-radius:22px;padding:26px;margin:18px 0;box-shadow:0 18px 45px rgba(0,0,0,.45)}.player-card-top{text-align:center}.player-card-logo{max-width:170px;display:block;margin:0 auto 10px}.player-card-label{display:inline-block;border:1px solid #c40000;color:#fff;border-radius:999px;padding:7px 18px;font-weight:900;letter-spacing:2px;background:#111}.player-card-main{display:grid;grid-template-columns:180px 1fr 230px;gap:24px;align-items:center;margin-top:22px}.player-photo-big{width:170px;height:170px;object-fit:cover;border-radius:24px;border:3px solid #ffd65a;box-shadow:0 10px 30px rgba(0,0,0,.5)}.player-photo-placeholder{width:170px;height:170px;border-radius:24px;border:3px solid #ffd65a;display:flex;align-items:center;justify-content:center;font-size:52px;font-weight:900;color:#ffd65a;background:#111}.player-card-info h1{font-size:46px;margin:0 0 8px}.player-number{font-size:28px;color:#ffd65a;font-weight:900;letter-spacing:1px}.player-stars{font-size:26px;color:#ffd65a;margin:8px 0}.player-card-info p{font-size:18px;color:#ddd}.player-qr-box{text-align:center;background:#fff;color:#111;border-radius:18px;padding:14px}.player-qr-box img{width:170px;height:170px;display:block;margin:auto}.player-qr-box small{font-weight:900}.player-stats{margin:18px 0}@media(max-width:800px){.player-card-main{grid-template-columns:1fr;text-align:center}.player-photo-big,.player-photo-placeholder{margin:auto}.player-card-info h1{font-size:34px}.player-qr-box{max-width:230px;margin:auto}}

/* Bracket Engine V2.0 */
.round-title{
    margin:30px 0 14px;
    padding:10px 14px;
    border-right:4px solid #e00000;
    background:rgba(255,255,255,.04);
    border-radius:12px;
}
.bracket-round{
    display:grid;
    grid-template-columns:1fr;
    gap:18px;
}
.bracket-match{
    border:1px solid rgba(255,255,255,.14);
    background:rgba(0,0,0,.22);
    border-radius:18px;
    padding:16px;
}
.match-meta{
    color:#ffd85a;
    font-weight:900;
    margin-bottom:12px;
}
.match-form{
    margin-top:14px;
    padding-top:14px;
    border-top:1px solid rgba(255,255,255,.12);
}
.ammo-pill{
    display:inline-block;
    margin-top:8px;
    padding:6px 10px;
    border-radius:999px;
    background:#1e1e1e;
    border:1px solid #ffd85a;
    color:#ffd85a;
    font-weight:900;
}
.winner-box{
    border-color:#ffd85a!important;
    box-shadow:0 0 0 1px rgba(255,216,90,.35), 0 0 24px rgba(255,216,90,.12);
}
.bye-box{
    text-align:center;
    padding:20px;
    border:1px dashed #ffd85a;
    border-radius:16px;
}
.bye-box strong{display:block;font-size:24px;color:#ffd85a;margin-bottom:8px;}
.bye-box span{display:block;font-weight:900;margin-bottom:8px;}
.champion-card-admin{text-align:center;}
.live-wrap{max-width:1400px;}
.live-hero{text-align:center;}
.live-match-card{text-align:center;}
.live-title{font-size:44px;font-weight:900;color:#ffd85a;text-align:center;letter-spacing:2px;margin-bottom:10px;}
.live-round{text-align:center;font-size:22px;margin-bottom:22px;color:#fff;}
.live-match{align-items:stretch;}
.live-player{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;}
.live-player strong{font-size:34px;}
.live-player-photo{width:140px;height:140px;object-fit:cover;border-radius:22px;border:2px solid rgba(255,255,255,.2);}
.live-vs{font-size:46px;color:#e00000;font-weight:900;display:flex;align-items:center;justify-content:center;}
.ammo-big{font-size:30px;color:#ffd85a;font-weight:900;}
.live-winner-screen{text-align:center;}
.live-winner-screen h1{font-size:54px;color:#ffd85a;}
@media(max-width:800px){.live-player strong{font-size:24px}.live-title{font-size:32px}.live-vs{font-size:32px}.live-player-photo{width:110px;height:110px}}

/* Quick Registration V2.3 */
.quick-registration-card{border-color:rgba(255,216,90,.38);background:linear-gradient(135deg,#17130a,#060606 60%)}
.quick-registration-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}
.quick-registration-head h2{margin:0 0 6px;color:#ffd65a}
.quick-registration-head p{margin:0;color:#ddd}
.quick-spots{min-width:145px;text-align:center;background:#111;border:1px solid #4a4020;border-radius:15px;padding:12px}
.quick-spots strong{display:block;font-size:30px;color:#ffd65a}
.quick-checks{display:flex;gap:12px;flex-wrap:wrap;padding:12px;background:#0d0d0d;border:1px solid #2f2f2f;border-radius:12px}
.quick-check{display:flex;align-items:center;gap:8px;margin:0;padding:8px 11px;background:#171717;border-radius:10px;cursor:pointer}
.quick-check input{width:auto;margin:0;accent-color:#c40000}
.quick-player-found{background:#152d1c}
.quick-registration-form small{display:block;color:#aaa;margin-top:5px}
@media(max-width:700px){.quick-registration-head{display:block}.quick-spots{margin-top:14px;width:100%}.quick-checks{display:grid;grid-template-columns:1fr}}
