:root{--navy:#091a36;--blue:#102b56;--blue2:#173e74;--gold:#d9ad58;--gold2:#f1cf88;--ink:#17263d;--muted:#627087;--pale:#f3f6fa;--border:#e4e9f0;--white:#fff;--shadow:0 18px 45px rgba(10,31,65,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font:16px/1.55 system-ui,-apple-system,"Segoe UI",Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}img{max-width:100%}.site-shell{min-height:100vh;display:flex;flex-direction:column}main{flex:1}.container{width:min(1180px,calc(100% - 48px));margin-inline:auto}.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.site-header{background:#fff;position:relative;z-index:10;border-bottom:1px solid #e7ebef}.header-inner{min-height:86px;display:flex;align-items:center;gap:32px}.brand{display:flex;align-items:center;gap:12px;min-width:0;flex-shrink:0}.brand img{width:55px;height:55px;object-fit:contain;background:white;border-radius:50%}.brand strong{display:block;font-size:14px;line-height:1.25;color:#112a51}.brand small{display:block;margin-top:3px;font-size:10px;font-weight:800;letter-spacing:.13em;color:#a37126}.main-nav{display:flex;align-items:center;gap:4px;margin-left:auto}.main-nav a{padding:10px 13px;font-size:14px;font-weight:650;color:#506079;border-radius:9px;white-space:nowrap}.main-nav a:hover,.main-nav a[aria-current=page]{background:#eef3fa;color:#112d57}.admin-link{margin-left:8px;border:1px solid #d5deeb;border-radius:9px;padding:9px 14px;font-size:13px;font-weight:700;color:#18395f}.admin-link:hover{background:#f4f7fb}
.hero{background:radial-gradient(circle at 72% 40%,#204b87 0,transparent 35%),linear-gradient(128deg,#0a1c3a 7%,#0c2b57 70%,#123f79);color:#fff;overflow:hidden}.hero-grid{min-height:540px;display:grid;grid-template-columns:1fr 1fr;align-items:center;position:relative}.hero-copy{padding:68px 0 105px;position:relative;z-index:2}.eyebrow,.kicker{display:inline-flex;align-items:center;gap:11px;font-size:12px;letter-spacing:.18em;font-weight:850;color:#bc8b39}.eyebrow{color:var(--gold2)}.eyebrow-line{width:23px;height:1px;background:currentColor}.hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(68px,7vw,106px);font-weight:600;line-height:.94;letter-spacing:-.055em;margin:25px 0 25px}.hero h1 em{font-style:normal;color:var(--gold2)}.hero-year{display:block;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;letter-spacing:.28em;font-size:18px;font-weight:750;color:#e5c67e;margin-top:25px}.hero p{font-size:17px;color:#ccd8e8;max-width:525px;margin:0 0 31px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.button{border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;min-height:49px;border-radius:9px;padding:11px 21px;font-weight:800;font-size:14px;transition:transform .15s,background .15s}.button:hover{transform:translateY(-2px)}.button-gold{background:linear-gradient(135deg,#f1d493,#d7a54e);color:#112340;box-shadow:0 8px 22px rgba(217,173,88,.2)}.button-outline{border-color:#7690b0;color:white;background:rgba(255,255,255,.05)}.button-outline:hover{background:rgba(255,255,255,.12)}.hero-art{height:100%;min-height:500px;display:flex;align-items:center;justify-content:center;position:relative;isolation:isolate}.hero-art:before{content:"";position:absolute;width:475px;height:475px;border:1px solid rgba(246,207,126,.22);border-radius:50%;box-shadow:0 0 0 36px rgba(242,203,126,.035),0 0 0 92px rgba(242,203,126,.025);transform:rotate(-13deg)}.hero-art:after{content:"";position:absolute;width:290px;height:65px;bottom:79px;border-radius:50%;background:#000;filter:blur(30px);opacity:.33;z-index:-1}.art-piece{font-family:Georgia,serif;font-size:clamp(360px,37vw,520px);line-height:1;color:#ecc371;text-shadow:3px 4px 0 #9f6a22,12px 14px 1px #463319,22px 26px 32px rgba(0,0,0,.55);transform:rotate(-7deg) translateY(-8px)}.art-board{position:absolute;bottom:-70px;right:-30%;width:155%;height:210px;transform:perspective(380px) rotateX(58deg) rotate(-8deg);background:conic-gradient(#cda75d 25%,#173462 0 50%,#cda75d 0 75%,#173462 0) 0 0/110px 110px;opacity:.35;mask-image:linear-gradient(to bottom,transparent,#000 55%)}.art-coord{position:absolute;color:#c49d55;letter-spacing:.25em;font-weight:700;font-size:11px}.art-coord.top{top:15%;right:12%}.art-coord.bottom{bottom:18%;left:13%}
.overlap-stats{margin-top:-46px;position:relative;z-index:3;background:#fff;border:1px solid #eaeef4;border-radius:14px;box-shadow:var(--shadow);display:grid;grid-template-columns:repeat(4,1fr);padding:22px 6px}.overlap-stats>div{text-align:center;border-right:1px solid #e9edf4}.overlap-stats>div:last-child{border:0}.overlap-stats strong{display:block;font-family:Georgia,serif;font-size:38px;line-height:1.15;color:#14305d}.overlap-stats span{font-size:13px;color:var(--muted);font-weight:650}.section-pad{padding-top:80px;padding-bottom:80px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:29px}.section-heading h2,.closing-banner h2,.round-summary h2{font-family:Georgia,"Times New Roman",serif;font-weight:600;font-size:clamp(32px,3.2vw,43px);line-height:1.14;color:#102746;margin:8px 0}.section-heading p,.closing-banner p{color:var(--muted);margin:0}.text-link{color:#164a82;font-weight:800;font-size:14px;white-space:nowrap;border-bottom:1px solid #d3a454;padding-bottom:5px}.text-link span{font-size:17px}.fixture-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.fixture-card{background:#fff;border:1px solid var(--border);border-radius:13px;padding:23px 24px;box-shadow:0 8px 26px rgba(18,45,85,.04)}.fixture-tag{color:#a9782c;letter-spacing:.14em;font-weight:850;font-size:11px}.fixture-names{display:flex;align-items:center;gap:12px;justify-content:space-between;min-height:75px}.fixture-names span{font-weight:800;font-size:17px;line-height:1.3;flex:1}.fixture-names span:last-child{text-align:right}.fixture-names b{font:italic 17px Georgia,serif;color:#b09c7d}.fixture-foot{border-top:1px solid var(--border);padding-top:14px;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.fixture-foot strong{font-size:15px}.score-done{color:#154c83}.score-wait{color:#9c7652}.light-section{background:#f4f7fb}.leader-list{background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden}.leader-row{display:grid;grid-template-columns:55px 1fr 90px 125px;align-items:center;gap:16px;padding:17px 22px;border-bottom:1px solid #e8edf3}.leader-row:last-child{border-bottom:0}.leader-place{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#eaf0f8;color:#113464;font-weight:850}.leader-row:first-child .leader-place{background:#f7e8c5;color:#885e1d}.leader-name{font-weight:750}.leader-played{font-size:13px;color:var(--muted)}.leader-row strong{text-align:right;font-size:21px;color:#143360}.leader-row small{font-size:12px;font-weight:600;color:var(--muted)}.closing-banner{margin-top:74px;margin-bottom:74px;padding:43px 50px;background:linear-gradient(110deg,#0d2b56,#164879);border-radius:15px;color:#fff;display:flex;justify-content:space-between;align-items:center;overflow:hidden}.closing-banner h2{color:#fff}.closing-banner p{color:#d4e0ee;max-width:730px}.closing-figure{font-size:130px;line-height:1;color:#d8ae61;opacity:.9}.site-footer{background:#081a35;color:#bac7da}.footer-inner{min-height:75px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:13px}
.page-intro{background:linear-gradient(110deg,#0a1d3b,#123b70);color:#fff;padding:68px 0 66px}.page-intro h1{font:600 clamp(41px,5vw,64px)/1.08 Georgia,"Times New Roman",serif;margin:13px 0 12px}.page-intro p{color:#cddaea;max-width:680px;margin:0}.kicker-gold{color:#e1b864}.content-area{padding-top:36px;padding-bottom:90px}.week-nav{display:flex;gap:8px;overflow:auto;padding:2px 0 18px;scrollbar-width:thin}.week-nav a{white-space:nowrap;min-width:67px;text-align:center;padding:9px 13px;border:1px solid #dce4ee;border-radius:8px;color:#536580;font-weight:750;font-size:13px}.week-nav a[aria-current=page]{background:#12315c;border-color:#12315c;color:#fff}.round-summary{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:17px 0 20px}.round-summary h2{font-size:36px}.round-summary h2 small{font:600 16px system-ui,sans-serif;color:var(--muted);margin-left:12px;white-space:nowrap}.round-counter{background:#f2e6ce;color:#71501d;border-radius:100px;padding:8px 13px;font-size:13px;font-weight:800;white-space:nowrap}.matches-list{border:1px solid #e2e8f1;border-radius:14px;overflow:hidden;background:#fff}.match-row{display:grid;grid-template-columns:36px minmax(0,1fr) 93px minmax(0,1fr) 92px;align-items:center;gap:17px;padding:17px 21px;border-bottom:1px solid #e7ecf2}.match-row:last-child{border:0}.match-row:nth-child(even){background:#f9fbfe}.match-index{font-size:12px;color:#b1843d;font-weight:900}.match-player{min-width:0}.match-player strong{display:block;font-weight:750;line-height:1.3;overflow-wrap:anywhere}.match-black{text-align:right}.piece-label{font-size:10px;color:#7b899e;font-weight:800;letter-spacing:.09em}.match-score{text-align:center;color:#8794a8;font-weight:800;font-size:20px;white-space:nowrap}.match-score.has-score{color:#0c376a}.match-status{font-size:12px;color:#8c7760;text-align:right;white-space:nowrap}.match-status.status-done{color:#29795a}.page-note{font-size:13px;color:var(--muted);margin:20px 0 0}.standings-overview{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:6px 0 24px}.standings-overview h2{font:600 38px Georgia,serif;margin:5px 0;color:#153158}.standings-overview h2 small{font:600 15px system-ui,sans-serif;color:var(--muted)}.progress-track{appearance:none;width:min(45%,470px);height:13px;border:none;border-radius:100px;overflow:hidden;background:#e5ebf3}.progress-track::-webkit-progress-bar{background:#e5ebf3;border-radius:100px}.progress-track::-webkit-progress-value{background:linear-gradient(90deg,#d2a150,#edcf91);border-radius:100px}.progress-track::-moz-progress-bar{background:linear-gradient(90deg,#d2a150,#edcf91);border-radius:100px}.notice{background:#eff5fd;border-left:4px solid #366aa2;padding:16px 20px;border-radius:8px;margin-bottom:19px}.standings-card{background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden;box-shadow:0 8px 28px rgba(17,43,76,.05)}.table-scroll{overflow-x:auto}.standings-table{border-collapse:collapse;width:100%;min-width:700px}.standings-table th,.standings-table td{padding:17px 18px;text-align:center;border-bottom:1px solid #e7ecf2}.standings-table thead th{background:#102b56;color:#fff;font-size:12px;letter-spacing:.05em;font-weight:850}.standings-table tbody tr:last-child td,.standings-table tbody tr:last-child th{border:0}.standings-table tbody tr:nth-child(even){background:#f7f9fc}.standings-table tbody th{text-align:left;font-size:15px;white-space:nowrap}.standings-table tbody td{font-size:14px}.rank-badge{display:inline-grid;place-items:center;width:31px;height:31px;background:#edf2f8;color:#325376;border-radius:8px;font-weight:850}.rank-badge.top-rank{background:#f3e2b9;color:#7c571e}.standings-table .points-cell{font-size:20px;color:#133b6a;font-weight:850}.rules-note{margin-top:25px;padding:21px 23px;background:#f4f7fb;border-radius:11px;color:#3b4e67}.rules-note strong{color:#123056}.rules-note p{margin:4px 0 0;font-size:14px}
.auth-wrap{padding:55px 0 90px}.auth-card{max-width:510px;background:#fff;border:1px solid #e2e8f0;border-radius:15px;box-shadow:var(--shadow);padding:35px;margin-inline:auto}.auth-card label{display:block;font-size:14px;color:#243b5b;font-weight:750;margin-bottom:19px}.auth-card input{display:block;width:100%;border:1px solid #cad5e3;border-radius:9px;padding:13px 14px;margin-top:7px;color:var(--ink);background:#fff}.auth-card input:focus,.admin-game select:focus{outline:3px solid #bfd5ef;outline-offset:1px;border-color:#3f71a4}.wide-button{width:100%;margin-top:5px}.form-help{font-size:13px;color:var(--muted);margin-bottom:0}.form-error,.form-success{padding:13px 16px;border-radius:9px;margin-bottom:20px;font-weight:650;font-size:14px}.form-error{background:#fff0ee;color:#a0382c}.form-success{background:#e7f7ef;color:#1c6b49}.admin-intro{padding:42px 0}.admin-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.admin-heading h1{font-size:47px}.logout-button{border:1px solid #b6c5d9;color:#fff;background:transparent;border-radius:8px;padding:10px 18px;font-weight:700}.logout-button:hover{background:rgba(255,255,255,.12)}.admin-content{padding-top:32px;padding-bottom:90px}.admin-summary{display:flex;align-items:center;gap:12px;padding:17px 20px;background:#eef3f9;border-radius:11px;margin-bottom:19px}.admin-summary strong{font-size:24px;color:#153663}.admin-summary span{color:#536680}.admin-summary a{margin-left:auto;color:#15548d;font-size:13px;font-weight:800;text-decoration:underline;text-underline-offset:3px}.admin-week{border:1px solid #dfe7ef;border-radius:12px;background:#fff;margin:12px 0;overflow:hidden}.admin-week summary{list-style:none;cursor:pointer;padding:17px 21px;display:flex;align-items:center;gap:18px;background:#f8fafc}.admin-week summary::-webkit-details-marker{display:none}.admin-week[open] summary{background:#113462;color:#fff}.admin-week-title{font-weight:850;font-size:17px}.admin-week-title small{font-size:13px;font-weight:550;margin-left:14px;color:#65758b}.admin-week[open] .admin-week-title small{color:#c9d6e7}.admin-week-count{margin-left:auto;font-weight:750;font-size:14px}.detail-chevron{width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:0 3px 5px}.admin-week[open] .detail-chevron{transform:rotate(225deg);margin:5px 3px 0}.admin-game{display:grid;grid-template-columns:28px minmax(0,1fr) 195px;gap:14px;align-items:center;padding:11px 18px;border-top:1px solid #edf0f5}.admin-game:nth-child(even){background:#fbfcfe}.admin-game-number{font-size:12px;color:#bc8c44;font-weight:900}.admin-game-names{display:grid;grid-template-columns:1fr 25px 1fr;align-items:center;gap:6px;font-weight:700;font-size:14px;line-height:1.3}.admin-game-names span{min-width:0}.admin-game-names small{display:block;font-size:10px;color:#8090a4;font-weight:800;letter-spacing:.05em}.admin-game-names .vs-label{font:italic 14px Georgia,serif;color:#a79071;text-align:center}.admin-game label{position:relative}.admin-game select{width:100%;appearance:none;border:1px solid #cbd6e4;border-radius:8px;padding:10px 29px 10px 11px;background:#fff;color:#1d3454;font-size:13px;font-weight:650;cursor:pointer}.admin-game label:after{content:"";position:absolute;right:14px;top:50%;width:7px;height:7px;border-right:1.6px solid #68809d;border-bottom:1.6px solid #68809d;transform:translateY(-65%) rotate(45deg);pointer-events:none}.save-bar{position:sticky;bottom:0;z-index:5;background:rgba(255,255,255,.97);backdrop-filter:blur(9px);box-shadow:0 -9px 30px rgba(12,31,63,.12);border:1px solid #e4eaf0;border-radius:12px;margin-top:20px;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:20px}.save-bar span{font-size:13px;color:#536680}
@media(max-width:950px){.header-inner{flex-wrap:wrap;gap:8px;padding:11px 0}.brand{flex:1}.main-nav{order:3;width:100%;justify-content:space-between;margin:0;overflow:auto}.main-nav a{padding:9px}.hero-grid{grid-template-columns:1fr 42%;min-height:480px}.hero-copy{padding:65px 0 95px}.hero-art{min-height:420px}.art-piece{font-size:360px}.art-board{bottom:0}.match-row{gap:9px;padding:15px 12px}.admin-game{grid-template-columns:25px minmax(0,1fr) 180px}}
@media(max-width:680px){.container{width:min(100% - 32px,1180px)}.site-header{position:relative}.header-inner{min-height:0}.brand img{width:44px;height:44px}.brand strong{font-size:12px}.brand small{font-size:9px;letter-spacing:.07em}.admin-link{font-size:12px;padding:7px 10px}.main-nav{gap:0}.main-nav a{font-size:12px;padding:8px 4px}.hero-grid{display:block;min-height:0}.hero-copy{padding:66px 0 80px}.hero h1{font-size:clamp(57px,15vw,82px);margin:19px 0}.hero p{font-size:15px}.hero-year{font-size:14px;margin-top:20px}.hero-art{position:absolute;right:-150px;bottom:-65px;height:280px;min-height:0;width:280px;opacity:.22;pointer-events:none}.hero-art:before,.hero-art:after,.art-board,.art-coord{display:none}.art-piece{font-size:300px}.hero-actions{position:relative;z-index:3}.button{font-size:13px;min-height:46px;padding:10px 14px}.overlap-stats{grid-template-columns:repeat(2,1fr);margin-top:-23px;padding:6px 0}.overlap-stats>div{padding:11px 3px;border-bottom:1px solid #e9edf4}.overlap-stats>div:nth-child(2){border-right:0}.overlap-stats>div:nth-child(n+3){border-bottom:0}.overlap-stats strong{font-size:29px}.overlap-stats span{font-size:12px}.section-pad{padding-top:57px;padding-bottom:57px}.section-heading{align-items:start;flex-direction:column;gap:12px}.section-heading h2{font-size:32px}.fixture-grid{grid-template-columns:1fr}.fixture-card{padding:19px}.fixture-names span{font-size:15px}.leader-row{grid-template-columns:35px 1fr 75px;gap:9px;padding:13px}.leader-played{display:none}.leader-row strong{font-size:19px}.closing-banner{margin-top:42px;margin-bottom:42px;padding:30px 22px}.closing-banner h2{font-size:29px}.closing-figure{display:none}.footer-inner{min-height:90px;flex-direction:column;justify-content:center;gap:2px;font-size:11px}.page-intro{padding:46px 0}.page-intro h1{font-size:39px}.page-intro p{font-size:15px}.content-area{padding-top:26px;padding-bottom:70px}.round-summary{align-items:start;flex-direction:column;gap:8px}.round-summary h2{font-size:31px}.round-summary h2 small{display:block;margin:5px 0 0;font-size:14px}.match-row{grid-template-columns:20px 1fr auto;grid-template-areas:"num white score" "num black status";gap:6px 8px;padding:16px 12px}.match-index{grid-area:num;align-self:start;margin-top:22px}.match-player{grid-area:white}.match-black{grid-area:black;text-align:left}.match-score{grid-area:score;align-self:center;font-size:17px}.match-status{grid-area:status;align-self:center;font-size:11px}.match-player strong{font-size:14px}.piece-label{font-size:9px}.standings-overview{flex-wrap:wrap;gap:8px}.standings-overview h2{font-size:33px}.progress-track{width:100%}.standings-table{min-width:650px}.standings-table th,.standings-table td{padding:15px 12px}.rules-note{padding:17px}.auth-wrap{padding:30px 0 70px}.auth-card{padding:23px}.admin-heading{align-items:start}.admin-heading h1{font-size:35px}.admin-heading p{font-size:14px}.logout-button{font-size:12px;padding:8px 9px}.admin-summary{flex-wrap:wrap}.admin-summary a{width:100%;margin-left:0}.admin-week summary{padding:14px}.admin-week-title small{display:block;margin-left:0;margin-top:3px}.admin-game{grid-template-columns:18px 1fr;gap:7px;padding:12px}.admin-game-names{grid-column:2;grid-template-columns:1fr 20px 1fr;font-size:13px}.admin-game label{grid-column:2}.admin-game select{font-size:13px}.save-bar{margin-inline:-5px;padding:11px;gap:10px}.save-bar span{font-size:11px}.save-bar .button{white-space:nowrap}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* Толық турнирлік кесте: телефонда көлденең жылжиды. */
.standings-table{min-width:920px}.standings-table thead th{white-space:nowrap}.table-scroll:focus-visible{outline:3px solid #d9ad58;outline-offset:-3px}.table-hint{display:none;color:#627087;font-size:13px;margin:11px 2px 0}
@media(max-width:760px){.table-hint{display:block}}
