/* Türkmenistanyň Karate Federasiýasy — esasy stil
   Kompýuter (>= 900px): çepde agaç + tablisa. Telefon: kartlar. */

:root {
  --green: #0f6e56;
  --green-d: #085041;
  --green-l: #e1f5ee;
  --green-m: #9fe1cb;
  --bg: #f6f7f5;
  --surface: #ffffff;
  --text: #1d2420;
  --muted: #5f6b65;
  --line: #e2e6e3;
  --line-2: #cfd6d2;
  --gold: #b7860b;   --gold-bg: #fbf1d6;
  --silver: #6b7280; --silver-bg: #eef0f2;
  --bronze: #a0522d; --bronze-bg: #f8e7dc;
  --red: #b42318;    --red-bg: #fdecea;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 40, 30, .06), 0 1px 3px rgba(16, 40, 30, .05);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.55 var(--font); color: var(--text); background: var(--bg); }
img { max-width: 100%; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 1.6rem; line-height: 1.25; margin: 0 0 .25rem; }
h2, .h2 { font-size: 1.15rem; margin: 1.75rem 0 .75rem; display: flex; align-items: center; gap: .4rem; }
.h3 { font-size: 1rem; margin: 1.25rem 0 .5rem; }
.muted { color: var(--muted); }
.sm { font-size: .85rem; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.grow { flex: 1; min-width: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }
:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }

.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 520px; }
.wrap.narrow-wide { max-width: 900px; }
main { min-height: 60vh; padding-bottom: 3rem; }

/* ---------- Ýokarky panel ---------- */
.top { background: var(--green); color: #fff; position: sticky; top: 0; z-index: 5; }
.top-in { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; font-weight: 600; min-width: 0; }
.brand:hover { text-decoration: none; }
.logo { width: 56px; height: 56px; border-radius: 50%; flex: none; object-fit: contain; }
img.logo { box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); background: #fff; }
.logo-txt { display: grid; place-items: center; color: var(--green); font-size: .72rem; font-weight: 800; letter-spacing: .02em; border: 3px solid #f2b705; }
.brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mainnav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.mainnav > a { color: var(--green-m); padding: .5rem .7rem; border-radius: 8px; display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.mainnav > a:hover, .mainnav > a[aria-current] { color: #fff; background: rgba(255, 255, 255, .12); text-decoration: none; }
.langs { display: inline-flex; margin-left: .5rem; border: 1px solid rgba(255, 255, 255, .3); border-radius: 8px; overflow: hidden; }
.langs a { color: var(--green-m); padding: .3rem .55rem; font-size: .8rem; font-weight: 600; }
.langs a.on { background: #fff; color: var(--green); }
.langs a:hover { text-decoration: none; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: #fff; padding: .5rem; cursor: pointer; font-size: 1.3rem; }

.subnav { background: var(--green-d); }
.subnav-in { display: flex; gap: .25rem; align-items: center; overflow-x: auto; min-height: 44px; }
.subnav a, .linkbtn { color: var(--green-m); padding: .45rem .7rem; border-radius: 8px; display: inline-flex; gap: .35rem; align-items: center; white-space: nowrap; font-size: .9rem; }
.subnav a[aria-current], .subnav a:hover { color: #fff; background: rgba(255, 255, 255, .1); text-decoration: none; }
.who-am-i { margin-left: auto; display: flex; align-items: center; }
.linkbtn { background: none; border: 0; cursor: pointer; font: inherit; font-size: .9rem; }
.linkbtn:hover { color: #fff; }
.inline { display: inline; margin: 0; }

/* ---------- Baş sahypa ---------- */
.hero { background: linear-gradient(180deg, var(--green) 0%, var(--green-d) 100%); color: #fff; padding: 2.5rem 0 4rem; }
.hero h1 { font-size: 2rem; }
.hero p { color: var(--green-m); max-width: 640px; margin: .25rem 0 1.25rem; }
.hero-search { display: flex; gap: .5rem; max-width: 560px; }
.hero-search input { flex: 1; border: 0; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: -2.25rem; }
.is-admin .stats { margin-top: 1rem; }
.stat { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem 1.1rem; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .75rem; color: var(--text); }
.stat .ic { grid-row: span 2; width: 2.2rem; height: 2.2rem; padding: .45rem; border-radius: 10px; background: var(--green-l); color: var(--green); align-self: center; }
.stat strong { font-size: 1.5rem; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .85rem; }
a.stat:hover { text-decoration: none; outline: 2px solid var(--green-m); }
.sec { margin-top: 1.5rem; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.sec-h a { display: inline-flex; align-items: center; gap: .2rem; font-size: .9rem; white-space: nowrap; }
.two { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1.5rem; }

.regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.region { border-radius: var(--radius); padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .2rem; color: var(--text); border: 1px solid transparent; transition: transform .12s, border-color .12s; }
.region:hover { text-decoration: none; transform: translateY(-2px); border-color: currentColor; }
.region .ic { width: 1.5rem; height: 1.5rem; }
.region strong { font-size: 1.05rem; margin-top: .3rem; }
.region span { font-size: .82rem; opacity: .85; }
.r0 { background: #e1f5ee; color: #085041; } .r1 { background: #eaf3de; color: #27500a; } .r2 { background: #e6f1fb; color: #0c447c; }
.r3 { background: #faeeda; color: #633806; } .r4 { background: #faece7; color: #712b13; } .r5 { background: #eeedfe; color: #3c3489; }
.r6 { background: #fbeaf0; color: #72243e; }

/* ---------- Agaç (çep tarap) ---------- */
.browse { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 1.5rem; align-items: start; padding-top: 1.25rem; }
.side { position: sticky; top: 88px; max-height: calc(100vh - 104px); overflow: auto; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: .5rem; }
.tree { font-size: .9rem; }
.tree-h { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: .4rem .6rem; }
.tree details > summary { list-style: none; cursor: pointer; display: flex; align-items: center; border-radius: 8px; }
.tree details > summary::-webkit-details-marker { display: none; }
.tree details > summary::before { content: ""; width: 1.4rem; height: 1.6rem; flex: none; background: center / 10px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6b65' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E"); transition: transform .12s; }
.tree details[open] > summary::before { transform: rotate(90deg); }
.tree a { display: block; color: var(--text); padding: .3rem .5rem; border-radius: 8px; flex: 1; }
.tree a:hover { background: var(--bg); text-decoration: none; }
.tree a.act { background: var(--green-l); color: var(--green-d); font-weight: 600; }
.tree .lv2 { margin-left: 1rem; }
.tree a.leaf { padding-left: 1.9rem; }
.tree a.lv3 { margin-left: 2.4rem; display: flex; gap: .35rem; align-items: center; color: var(--muted); }
.tree a.lv3.act { color: var(--green-d); }

/* ---------- Umumy bölekler ---------- */
.crumbs { font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: .15rem; margin: .25rem 0 1rem; }
.crumbs .ic { width: .85em; height: .85em; }
.head { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0 1rem; }
.head-row { justify-content: space-between; flex-wrap: wrap; }
.head-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--green-l); color: var(--green); display: grid; place-items: center; flex: none; }
.head-ic .ic { width: 26px; height: 26px; }
.head p { margin: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .55rem 1rem; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: inherit; font-weight: 500; cursor: pointer; white-space: nowrap; }
.btn:hover { text-decoration: none; border-color: var(--green); color: var(--green); }
.btn-primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-d); color: #fff; }
.btn-light { background: #fff; color: var(--green); border-color: #fff; }
.btn-danger { color: var(--red); border-color: #f1b8b3; }
.btn-danger:hover { background: var(--red-bg); color: var(--red); border-color: var(--red); }
.btn-sm { padding: .35rem .7rem; font-size: .88rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--green); border-color: var(--green); }
.icon-btn.danger:hover { color: var(--red); border-color: var(--red); }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }

input, select, textarea { font: inherit; color: var(--text); background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: .55rem .75rem; width: 100%; min-height: 42px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--green-m); border-color: var(--green); }
input[type=checkbox] { width: auto; min-height: 0; accent-color: var(--green); }
input[type=file] { padding: .4rem; background: var(--bg); }

.panel { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; margin: 1rem 0; }
.empty { color: var(--muted); background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 1.25rem; text-align: center; }
.notice { text-align: center; padding: 3rem 1rem; }
.notice .ic { width: 3rem; height: 3rem; color: var(--muted); }

.flash { display: flex; gap: .5rem; align-items: flex-start; padding: .75rem 1rem; border-radius: 10px; margin: 1rem 0; }
.flash ul { margin: 0; padding-left: 1rem; }
.flash-ok { background: var(--green-l); color: var(--green-d); }
.flash-err { background: var(--red-bg); color: var(--red); }

/* ---------- Tablisa ---------- */
.tbl-wrap { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th { text-align: left; font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: .7rem .9rem; border-bottom: 1px solid var(--line); background: #fafbfa; }
.tbl td { padding: .6rem .9rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: #fafcfb; }
.who { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); font-weight: 500; }
.who:hover span { color: var(--green); }

/* ---------- Awatar ---------- */
.av { border-radius: 50%; object-fit: cover; flex: none; background: var(--bg); }
.av-txt { display: inline-grid; place-items: center; font-weight: 700; color: #fff; background: hsl(var(--h), 45%, 42%); }
.av-sm { width: 34px; height: 34px; font-size: .75rem; }
.av-md { width: 56px; height: 56px; font-size: 1rem; }
.av-lg { width: 72px; height: 72px; font-size: 1.2rem; }
.av-xl { width: 128px; height: 152px; border-radius: 14px; font-size: 2.2rem; }

/* ---------- Kartlar ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--text); }
.card:hover { text-decoration: none; outline: 2px solid var(--green-m); }
.pcard { padding: 1rem .75rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .25rem; }
.pcard .av { margin-bottom: .35rem; }
.pcard strong { font-size: .92rem; line-height: 1.25; }
.pcard small { color: var(--muted); font-size: .8rem; }
.cards-list { grid-template-columns: 1fr; }
.rowcard { display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem; }
.rowcard small { display: block; color: var(--muted); font-size: .82rem; }
.rc-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--green-l); color: var(--green); display: grid; place-items: center; flex: none; }

.list { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.list li + li { border-top: 1px solid var(--line); }
.list a, .li-row { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; color: var(--text); }
.list a:hover { background: #fafcfb; text-decoration: none; }
.list small { display: block; color: var(--muted); font-size: .82rem; }
.list .date { font-size: .8rem; color: var(--muted); white-space: nowrap; min-width: 5.5rem; }

/* ---------- Medallar ---------- */
.mds { display: inline-flex; gap: 4px; }
.md { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; display: inline-grid; place-items: center; font-size: .78rem; font-weight: 700; }
.md-1 { background: var(--gold-bg); color: var(--gold); } .md-2 { background: var(--silver-bg); color: var(--silver); } .md-3 { background: var(--bronze-bg); color: var(--bronze); }
.pl { display: inline-flex; align-items: center; gap: .25rem; padding: .2rem .6rem; border-radius: 20px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.pl-1 { background: var(--gold-bg); color: var(--gold); } .pl-2 { background: var(--silver-bg); color: var(--silver); }
.pl-3 { background: var(--bronze-bg); color: var(--bronze); } .pl-n { background: var(--bg); color: var(--text); } .pl-x { background: var(--bg); color: var(--muted); font-weight: 400; }
.lvl { font-size: .78rem; padding: .15rem .55rem; border-radius: 20px; background: var(--bg); white-space: nowrap; }
.lvl-world { background: #eeedfe; color: #3c3489; } .lvl-continental { background: #e6f1fb; color: #0c447c; } .lvl-international { background: #faeeda; color: #633806; }
.lvl-national { background: var(--green-l); color: var(--green-d); } .lvl-regional { background: #eaf3de; color: #27500a; }

/* ---------- Profil ---------- */
.profile { display: flex; gap: 1.5rem; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; align-items: flex-start; }
.tag { display: inline-block; font-size: .78rem; background: var(--green-l); color: var(--green-d); padding: .15rem .6rem; border-radius: 20px; margin-bottom: .35rem; }
.bio { white-space: normal; max-width: 60ch; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem 1.25rem; margin: 1rem 0 .5rem; }
.facts dt { font-size: .78rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
.kpis { display: grid; grid-template-columns: repeat(2, 90px); gap: 8px; }
.kpis-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 12px; }
.kpi { background: var(--bg); border-radius: 10px; padding: .6rem; text-align: center; }
.kpi strong { display: block; font-size: 1.4rem; line-height: 1.2; }
.kpi span { font-size: .75rem; color: var(--muted); }
.k-gold { background: var(--gold-bg); color: var(--gold); } .k-silver { background: var(--silver-bg); color: var(--silver); } .k-bronze { background: var(--bronze-bg); color: var(--bronze); }
.k-gold span, .k-silver span, .k-bronze span { color: inherit; }
.lock-note { display: inline-flex; gap: .2rem; align-items: center; font-size: .75rem; background: #fef6dd; color: #7a5a00; padding: .1rem .45rem; border-radius: 6px; margin-left: .3rem; }

.docs { margin-top: 1.5rem; background: #fffbea; border: 1px solid #f1dc9a; border-radius: var(--radius); padding: .25rem 1.25rem 1.25rem; }
.docs .h2 { margin-top: 1rem; color: #7a5a00; }
.doc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.doc { display: flex; align-items: center; gap: .6rem; background: #fff; border-radius: 10px; padding: .7rem .9rem; }
.doc-dot { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--bg); color: #b8c0bb; }
.doc-dot.on { background: var(--green-l); color: var(--green); }

/* ---------- Süzgüçler, sahypalar ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 0 0 1rem; }
.filters label { flex: 0 1 190px; }
.filters .f-q { flex: 1 1 240px; }
.filters .chk { flex: none; }
.chk { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; font-size: .92rem; }
.pager { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 1rem; }
.pager a { min-width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); color: var(--text); }
.pager a[aria-current] { background: var(--green); color: #fff; }

/* ---------- Formalar ---------- */
.form .fld, .fld { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .9rem; }
.fld > span { font-size: .85rem; font-weight: 500; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
.span2 { grid-column: span 2; }
.form-photo { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.25rem; align-items: center; margin-bottom: 1rem; }
.form-photo .av { grid-row: span 2; }
.form-photo .fld { margin: 0; }
.docs-box { border: 1px solid #f1dc9a; background: #fffbea; border-radius: var(--radius); padding: .5rem 1rem .25rem; margin: .5rem 0 1rem; }
.docs-box legend { font-weight: 600; color: #7a5a00; padding: 0 .4rem; display: flex; gap: .3rem; align-items: center; }
.doc-cur { display: flex; gap: .75rem; align-items: center; margin: 0 0 .3rem; color: var(--green); }
.form-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.danger-zone { margin: 1.5rem 0; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.add-result { display: grid; grid-template-columns: 2fr 1.5fr 1fr auto; gap: .75rem; align-items: end; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.add-result .fld { margin: 0; }
.auth { margin-top: 3rem; }
.auth-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--green-l); color: var(--green); display: grid; place-items: center; margin-bottom: .75rem; }
.auth-ic .ic { width: 24px; height: 24px; }

.reg summary { cursor: pointer; font-size: 1.05rem; }
.row-form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: flex-end; margin: .5rem 0; }
.row-form .fld { margin: 0; flex: 1 1 150px; }
.row-form .fld-sm { flex: 0 1 110px; }
.row-form .fld-xs { flex: 0 1 70px; }
.row-form .icon-btn { height: 42px; width: 42px; }
.row-wrap { display: flex; gap: .5rem; align-items: flex-end; border-bottom: 1px dashed var(--line); padding-bottom: .5rem; }
.row-wrap .row-form { flex: 1; margin: .25rem 0; }
.row-wrap > .inline .icon-btn, .row-wrap > .muted { margin-bottom: .3rem; }
.row-wrap > .inline .icon-btn { height: 42px; width: 42px; }
.row-form.add { background: var(--green-l); padding: .75rem; border-radius: 10px; }
.row-title { width: 100%; }
.checks { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .3rem; }
.checks li { display: flex; gap: .4rem; align-items: flex-start; }
.checks .ok { color: var(--green); } .checks .bad { color: var(--red); }
.langs-inline a { padding: .1rem .4rem; border-radius: 6px; }
.langs-inline a.on { background: var(--green); color: #fff; }

.foot { border-top: 1px solid var(--line); background: var(--surface); padding: 1.25rem 0; font-size: .85rem; }
.foot-in { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Kompýuter / telefon ---------- */
.only-mob { display: none; }

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

@media (max-width: 899px) {
  .only-desk { display: none !important; }
  .only-mob { display: grid; }
  ul.only-mob { display: block; }
  .browse { display: block; padding-top: .5rem; }
  .top-in { min-height: 60px; }
  .logo { width: 44px; height: 44px; }
  .brand-name { font-size: .88rem; white-space: normal; line-height: 1.2; }
  .top-in { padding-top: 6px; padding-bottom: 6px; }
  .menu-btn { display: block; }
  .mainnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--green-d); flex-direction: column; align-items: stretch; padding: .5rem 16px 1rem; box-shadow: 0 8px 16px rgba(0, 0, 0, .15); }
  .mainnav.open { display: flex; }
  .mainnav > a { padding: .75rem .5rem; }
  .langs { margin: .5rem 0 0; align-self: flex-start; }
  .hero { padding: 1.75rem 0 3.5rem; }
  .hero h1 { font-size: 1.45rem; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .profile { flex-direction: column; align-items: center; text-align: center; }
  .profile .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: left; }
  .kpis-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-list { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .span2 { grid-column: auto; }
  .add-result { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .filters label { flex: 1 1 45%; }
  .who-am-i { margin-left: 0; }
  .head { margin-top: .75rem; }
  h1 { font-size: 1.35rem; }
  .av-xl { width: 112px; height: 132px; }
  .tbl td, .tbl th { padding: .55rem .6rem; }
}

/* ---------- Baş sahypanyň slaýderi ---------- */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
.page-home main { padding-bottom: 0; min-height: 0; display: flex; flex-direction: column; }
.page-home .slider, .page-home .hero-empty { flex: 1 0 auto; }
/* Ýokarky panel baş sahypada suratyň üstünde aç-açan durýar */
.page-home .top { position: absolute; left: 0; right: 0; top: 0; z-index: 20;
  background: linear-gradient(180deg, rgba(4, 18, 13, .78) 0%, rgba(4, 18, 13, .35) 60%, rgba(4, 18, 13, 0) 100%); }
.page-home .mainnav > a { color: rgba(255, 255, 255, .85); }

.slider { --gold-hi: #e2c15a; position: relative; overflow: hidden; isolation: isolate; color: #fff; outline: none;
  background: radial-gradient(ellipse at 30% 40%, #0f3d2e 0%, #06140f 70%); height: 100vh; height: 100svh; min-height: 560px; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.slide.on { opacity: 1; z-index: 1; }
.sl-bg { position: absolute; inset: -40px; background-position: center; background-size: cover; background-repeat: no-repeat;
  filter: blur(28px) brightness(.5) saturate(1.15); }
/* Kompýuterde surat bütin ekrany tutýar we ýuwaşlyk bilen ýakynlaşýar */
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; transform: scale(1.04); }
.slide.on img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
/* Animasiýaly surat käbir enjamlarda ýazgylaryň üstünde çekilmez ýaly — her gatlak öz GPU gatlagynda */
.hero-shade, .hero-content, .hero-ctrl { transform: translateZ(0); will-change: transform; }

.hero-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 18, 13, .85) 0%, rgba(4, 18, 13, .55) 36%, rgba(4, 18, 13, .08) 68%, rgba(4, 18, 13, 0) 100%),
    linear-gradient(0deg, rgba(4, 18, 13, .9) 0%, rgba(4, 18, 13, 0) 42%); }
.hero-content { position: absolute; z-index: 3; left: 0; right: 0; bottom: 128px; }
.hero-content .wrap > * { max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: .8rem; font-size: .76rem; font-weight: 700; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold-hi); animation: rise .9s .1s both; }
.eyebrow::before { content: ""; width: 40px; height: 2px; background: var(--gold-hi); }
.hero-title { font-size: clamp(2.1rem, 4.4vw, 3.8rem); line-height: 1.04; font-weight: 800; letter-spacing: -.025em;
  margin: 1rem 0 1.1rem; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); animation: rise .9s .2s both; }
.hero-lead { font-size: 1.1rem; line-height: 1.6; color: rgba(255, 255, 255, .82); margin: 0 0 2rem; max-width: 520px; animation: rise .9s .32s both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; animation: rise .9s .44s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.btn-gold { background: linear-gradient(135deg, #ecd06e 0%, #c99a28 55%, #b3841a 100%); color: #1f1602; border: 0; font-weight: 700;
  padding: .9rem 1.5rem; border-radius: 12px; box-shadow: 0 10px 30px rgba(201, 154, 40, .35); }
.btn-gold:hover { color: #1f1602; filter: brightness(1.08); }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .4); font-weight: 600;
  padding: .9rem 1.5rem; border-radius: 12px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .18); color: #fff; border-color: #fff; }
.btn-gold .ic, .btn-glass .ic { width: 1.15em; height: 1.15em; }

.hero-ctrl { position: absolute; z-index: 3; left: 0; right: 0; bottom: 44px; }
.hero-ctrl .wrap { display: flex; align-items: center; gap: 1.25rem; }
.sl-count { font-variant-numeric: tabular-nums; font-size: .9rem; letter-spacing: .1em; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.sl-count b { color: #fff; font-size: 1.3rem; font-weight: 700; margin-right: .15rem; }
.sl-progress { flex: 0 1 280px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.sl-progress i { display: block; height: 100%; width: 0; background: var(--gold-hi); }
.sl-progress i.run { animation: slprog 5s linear forwards; }
.slider.paused .sl-progress i.run { animation-play-state: paused; }
@keyframes slprog { to { width: 100%; } }
.sl-nav { margin-left: auto; display: flex; gap: .6rem; }
.sl-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .38); background: rgba(255, 255, 255, .06);
  color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.sl-btn:hover { background: rgba(255, 255, 255, .18); border-color: #fff; transform: translateY(-1px); }
.sl-btn .ic { width: 20px; height: 20px; }

.upload-box { display: flex; gap: 1rem; align-items: flex-end; flex-wrap: wrap; }
.upload-box .fld { flex: 1 1 320px; margin: 0; }
.slide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 1rem; }
.slide-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.slide-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg); }
.slide-card-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: .5rem; padding: .6rem .75rem; }
.slide-card-bar .fld { margin: 0; width: 90px; }

/* Telefon: surat kesilmeýär (doly görünýär), ýazgylar onuň aşagynda */
@media (max-width: 899px) {
  .page-home .top { background: linear-gradient(180deg, rgba(4, 18, 13, .9) 0%, rgba(4, 18, 13, .5) 70%, rgba(4, 18, 13, 0) 100%); }
  .slider { min-height: 640px; }
  .slide img { top: 70px; bottom: auto; height: calc(100% - 70px - 330px); min-height: 240px; object-fit: contain; object-position: center; transform: none; }
  .slide.on img { animation: none; }
  .hero-shade { background: linear-gradient(0deg, rgba(4, 18, 13, .96) 0%, rgba(4, 18, 13, .85) 30%, rgba(4, 18, 13, 0) 52%); }
  .hero-content { bottom: 96px; }
  .eyebrow { font-size: .68rem; letter-spacing: .2em; }
  .eyebrow::before { width: 26px; }
  .hero-title { font-size: 1.65rem; margin: .7rem 0 .7rem; }
  .hero-lead { font-size: .95rem; margin-bottom: 1.25rem; }
  .hero-cta .btn { flex: 1 1 0; padding: .8rem 1rem; }
  .hero-ctrl { bottom: 28px; }
  .hero-ctrl .wrap { gap: .9rem; }
  .sl-progress { flex: 1 1 auto; }
  .sl-btn { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
  .slide.on img, .eyebrow, .hero-title, .hero-lead, .hero-cta { animation: none; }
}

@media print {
  .top, .foot, .side, .filters, .btn, .docs { display: none !important; }
  body { background: #fff; }
}

/* =====================================================================
   PREMIUM TEMA — bütin saýt üçin (garaňky ýaşyl + altyn)
   ===================================================================== */
:root {
  --green: #0b4a37; --green-d: #062a1f; --green-l: #e8f2ec; --green-m: #a9d8c2;
  --gold-2: #e2c15a; --gold-3: #c99a28; --ink: #0f1f19;
  --bg: #f6f5f0; --surface: #ffffff; --line: #e7e3d8; --line-2: #d8d3c4;
  --text: #18231e; --muted: #5f6b64;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 31, 25, .04), 0 8px 24px rgba(15, 31, 25, .06);
  --shadow-lg: 0 2px 6px rgba(15, 31, 25, .06), 0 20px 44px rgba(15, 31, 25, .12);
}
body { background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
body:not(.page-home) {
  background:
    radial-gradient(1100px 520px at 105% -8%, rgba(201, 154, 40, .10), transparent 60%),
    radial-gradient(900px 520px at -8% 0%, rgba(11, 74, 55, .08), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
/* "Turkmenistan Sport" nyşany — baş sahypadan başga ähli sahypalaryň fonunda */
body:not(.page-home)::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: url("watermark.png") center 60% / min(58vw, 640px) no-repeat;
  opacity: .085;
}
main, .foot { position: relative; z-index: 1; }
::selection { background: rgba(226, 193, 90, .35); }

/* ---- Ýokarky panel ---- */
.top { background: linear-gradient(180deg, #062a1f 0%, #0a3a2b 100%);
  box-shadow: 0 1px 0 rgba(226, 193, 90, .28), 0 10px 30px rgba(4, 18, 13, .18); }
.page-home .top { box-shadow: none; }
.brand-name { font-weight: 700; letter-spacing: .005em; }
.mainnav > a { position: relative; color: rgba(255, 255, 255, .74); font-weight: 500; border-radius: 10px; }
.mainnav > a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.mainnav > a[aria-current] { color: var(--gold-2); background: transparent; }
.mainnav > a[aria-current]::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: 1px; height: 2px;
  border-radius: 2px; background: var(--gold-2); }
.langs { border-color: rgba(226, 193, 90, .35); border-radius: 10px; }
.langs a { color: rgba(255, 255, 255, .7); }
.langs a.on { background: var(--gold-2); color: #1f1602; }
.subnav { background: #041d15; border-top: 1px solid rgba(255, 255, 255, .05); }
.subnav a { color: rgba(255, 255, 255, .68); }
.subnav a[aria-current] { color: var(--gold-2); background: rgba(226, 193, 90, .09); }

/* ---- Sahypa sözbaşylary ---- */
.crumbs { font-size: .8rem; margin-top: .5rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--green); }
.crumbs > span { color: var(--gold-3); font-weight: 600; }
.head { margin: 1.75rem 0 1.4rem; gap: 1.1rem; }
.head h1 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.head p { margin-top: .2rem; }
.head-ic { width: 58px; height: 58px; border-radius: 18px; color: var(--gold-2);
  background: linear-gradient(140deg, #0e5a43 0%, #062a1f 100%);
  box-shadow: 0 10px 22px rgba(6, 42, 31, .25), inset 0 0 0 1px rgba(226, 193, 90, .35); }
h1, h2, .h2, .h3 { color: var(--ink); }
.h2 { font-size: 1.18rem; font-weight: 750; letter-spacing: -.01em; margin-top: 2rem; }
.h2::before { content: ""; width: 4px; height: 1.1em; border-radius: 2px; flex: none; margin-right: .2rem;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-3)); }

/* ---- Kartlar, paneller, tablisalar ---- */
.panel, .tbl-wrap, .list, .card, .side, .profile, .stat, .region, .doc, .slide-card {
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel, .tbl-wrap, .list, .card, .side, .stat { background: rgba(255, 255, 255, .95); }
.card, .region, .stat, .slide-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover, a.stat:hover { outline: none; transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(201, 154, 40, .55); }
.pcard strong { font-weight: 700; }
.tbl th { background: #faf8f2; color: #7c745f; font-size: .7rem; letter-spacing: .09em; border-bottom-color: var(--line); }
.tbl td { border-bottom-color: #efece4; }
.tbl tbody tr { transition: background .15s; }
.tbl tbody tr:hover { background: #fbf7ea; }
.who span { font-weight: 600; }
.list a:hover { background: #fbf7ea; }
.list .date { color: var(--gold-3); font-weight: 600; }
.empty { background: rgba(255, 255, 255, .75); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.stat .ic { background: linear-gradient(140deg, #0e5a43, #062a1f); color: var(--gold-2); border-radius: 12px; }
.stat strong { font-weight: 800; letter-spacing: -.02em; }

/* ---- Welaýat kartlary ---- */
.regions { gap: 14px; }
.regions .region { position: relative; overflow: hidden; background: rgba(255, 255, 255, .96); color: var(--ink); padding: 1.25rem 1.3rem 1.15rem; }
.regions .region::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--gold-2), var(--gold-3)); opacity: .9; }
.regions .region .ic { width: 38px; height: 38px; padding: 9px; border-radius: 12px; color: var(--gold-2); background: linear-gradient(140deg, #0e5a43, #062a1f); }
.regions .region strong { font-size: 1.08rem; font-weight: 750; margin-top: .65rem; }
.regions .region span { color: var(--muted); opacity: 1; }
.regions .region:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(201, 154, 40, .6); }

/* ---- Çep agaç ---- */
.side { padding: .65rem; background: rgba(255, 255, 255, .95); }
.tree-h { color: var(--gold-3); font-weight: 700; letter-spacing: .1em; }
.tree a:hover { background: #f6f3ea; }
.tree a.act { background: linear-gradient(90deg, rgba(201, 154, 40, .16), rgba(201, 154, 40, .03)); color: var(--green-d);
  box-shadow: inset 3px 0 0 var(--gold-3); }

/* ---- Awatarlar we profil ---- */
.av-md, .av-lg { box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(201, 154, 40, .45); }
.av-xl { border-radius: 20px; box-shadow: 0 0 0 4px #fff, 0 0 0 5px rgba(201, 154, 40, .55), var(--shadow-lg); }
.profile { padding: 1.6rem; background: linear-gradient(135deg, rgba(255, 255, 255, .98) 0%, rgba(251, 248, 239, .98) 100%); }
.profile h1 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -.02em; }
.tag { background: rgba(201, 154, 40, .13); color: #7a5b10; font-weight: 700; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .7rem; }
.facts dt { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #8a836f; }
.facts dd { font-weight: 600; }
.kpi { border: 1px solid var(--line); background: #fff; border-radius: 14px; }
.kpi strong { font-weight: 800; }
.k-gold { background: linear-gradient(160deg, #fdf5dc, #f6e5b3); border-color: #ecd9a0; }
.k-silver { background: linear-gradient(160deg, #f5f6f8, #e7e9ed); border-color: #dcdfe4; }
.k-bronze { background: linear-gradient(160deg, #fbeee5, #f2d9c8); border-color: #e9cbb5; }
.md-1 { background: linear-gradient(160deg, #fbefc8, #f2d98f); color: #7a5600; }
.pl-1 { background: linear-gradient(160deg, #fbefc8, #f2d98f); color: #6d4c00; }

/* ---- Düwmeler, formalar ---- */
.btn { border-radius: 12px; font-weight: 600; transition: background .18s, border-color .18s, color .18s, box-shadow .18s, transform .18s; }
.btn-primary { background: linear-gradient(140deg, #0f5d45 0%, #073426 100%); border-color: #073426; color: #fff; box-shadow: 0 8px 18px rgba(7, 52, 38, .22); }
.btn-primary:hover { background: linear-gradient(140deg, #127055 0%, #08402f 100%); color: #fff; border-color: #08402f; transform: translateY(-1px); }
.icon-btn { border-radius: 10px; }
input, select, textarea { border-radius: 12px; border-color: var(--line-2); background: #fff; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(201, 154, 40, .22); border-color: var(--gold-3); }
.fld > span { color: #3d4842; }
.filters { background: rgba(255, 255, 255, .9); border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem; box-shadow: var(--shadow); }
.pager a { border: 1px solid var(--line); border-radius: 10px; }
.pager a[aria-current] { background: linear-gradient(140deg, #0f5d45, #073426); border-color: #073426; }
.flash { border-radius: 12px; border: 1px solid transparent; }
.flash-ok { border-color: #bfe0cf; }
.flash-err { border-color: #f3c3be; }

/* ---- Giriş sahypasy ---- */
.auth { position: relative; overflow: hidden; padding: 2rem 1.75rem 1.75rem; }
.auth::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--gold-3), var(--gold-2), var(--gold-3)); }
.auth-ic { width: 60px; height: 60px; border-radius: 18px; color: var(--gold-2); background: linear-gradient(140deg, #0e5a43, #062a1f); box-shadow: 0 10px 22px rgba(6, 42, 31, .25); }
.auth h1 { font-weight: 800; letter-spacing: -.02em; }

/* ---- Resminamalar bölümi ---- */
.docs, .docs-box { background: linear-gradient(160deg, #fffaf0, #fbf1d9); border-color: #ecd9a0; }

/* ---- Footer ---- */
.foot { background: linear-gradient(180deg, #062a1f 0%, #041a13 100%); color: rgba(255, 255, 255, .62); border-top: 1px solid rgba(226, 193, 90, .3); padding: 2.2rem 0 1.6rem; font-size: .88rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem 3rem; align-items: start; }
.foot-brand { display: flex; align-items: center; gap: .9rem; }
.foot-brand img, .foot-brand .logo-txt { width: 52px; height: 52px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(226, 193, 90, .5); flex: none; }
.foot-brand strong { display: block; color: #fff; font-size: 1rem; font-weight: 700; line-height: 1.3; }
.foot-brand span { color: rgba(255, 255, 255, .55); font-size: .82rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; justify-content: flex-end; }
.foot-links a { color: rgba(255, 255, 255, .75); }
.foot-links a:hover { color: var(--gold-2); text-decoration: none; }
.foot-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 1.1rem; font-size: .8rem; color: rgba(255, 255, 255, .45); }
.foot-bottom .gold { color: var(--gold-2); }

@media (max-width: 899px) {
  body:not(.page-home)::before { background-size: 88vw; background-position: center 55%; }
  .mainnav > a[aria-current]::after { left: .5rem; right: auto; width: 24px; bottom: 6px; }
  .head-ic { width: 48px; height: 48px; border-radius: 14px; }
  .profile { padding: 1.25rem; }
  .filters { padding: .6rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
  .regions { grid-template-columns: 1fr; gap: 10px; }
  .regions .region { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; padding: .85rem 1rem .85rem 1.15rem; }
  .regions .region .ic { grid-row: span 2; }
  .regions .region strong { margin: 0; font-size: 1rem; }
  .regions .region span { font-size: .8rem; }
}

/* ---- Baş sahypa: federasiýanyň ady altyn ---- */
.slider .hero-title { margin-top: 0; color: #e8c766;
  text-shadow: 0 1px 0 rgba(120, 85, 10, .55), 0 3px 22px rgba(0, 0, 0, .65), 0 0 2px rgba(0, 0, 0, .35); }
.slider .hero-cta { margin-top: 1.8rem; }
/* "Peýda bolmak" animasiýasy käbir brauzerlerde ýazgyny gizlin galdyrýar — aýyrdyk */
.hero-title, .hero-cta, .eyebrow, .hero-lead { animation: none; }
.hero-content .wrap > .hero-title { max-width: 860px; }
.foot-bottom { border-top: 0; padding-top: 0; }
.foot-grid { grid-template-columns: 1fr auto; align-items: center; }
.foot-bottom { grid-column: auto; }

/* ---- Täzelikler ---- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.news-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; color: var(--text); }
.news-card:hover { text-decoration: none; }
.nc-img { aspect-ratio: 16 / 10; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(ellipse at 30% 30%, #0f5d45, #062a1f); }
.nc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-card:hover .nc-img img { transform: scale(1.05); }
.nc-img .nc-ph { width: 76px; height: 76px; object-fit: contain; border-radius: 50%; opacity: .95; box-shadow: 0 0 0 3px rgba(226, 193, 90, .5); }
.nc-body { padding: 1.05rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .45rem; }
.nc-date { color: var(--gold-3); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nc-title { font-size: 1.1rem; font-weight: 750; line-height: 1.35; color: var(--ink); margin: 0; }
.nc-text { color: var(--muted); font-size: .92rem; margin: 0; }
.article { max-width: 860px; margin: 0 auto; }
.article h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: .4rem 0 1rem; }
.article-img { border-radius: var(--radius); overflow: hidden; margin: 0 0 1.5rem; box-shadow: var(--shadow-lg); }
.article-img img { display: block; width: 100%; max-height: 560px; object-fit: cover; }
.article-body { font-size: 1.05rem; line-height: 1.85; background: rgba(255, 255, 255, .96); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.9rem; box-shadow: var(--shadow); }
.article-back { margin-top: 1.5rem; }
.news-admin-img { width: 96px; height: 60px; object-fit: cover; border-radius: 8px; display: block; background: #062a1f; }

@media (max-width: 899px) {
  .news-grid { grid-template-columns: 1fr; }
  .article-body { padding: 1.2rem 1.25rem; font-size: 1rem; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* ---- Tälimçi hasaplary, tassyklama ---- */
.badge-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: .2rem;
  border-radius: 10px; background: var(--gold-2); color: #1f1602; font-size: .72rem; font-weight: 800; }
.pend { display: inline-flex; align-items: center; gap: .25rem; padding: .18rem .55rem; border-radius: 20px; font-size: .74rem; font-weight: 600;
  background: #fff4d6; color: #8a5a00; border: 1px solid #f0d58a; white-space: nowrap; }
.pend .ic { width: .95em; height: .95em; }
.icon-btn.ok:hover { color: #0f6e56; border-color: #0f6e56; background: #e8f5ee; }
.flash-warn { background: #fff7e0; color: #7a5200; border-color: #f0d58a; }
a.flash-warn { text-decoration: none; justify-content: flex-start; }
a.flash-warn:hover { background: #fff0c7; }
a.flash-warn .ic:last-child { margin-left: auto; }
.account-box { border-left: 4px solid var(--gold-3); }
.account-line { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.account-line .ic { color: var(--green); }
.head .av-lg { flex: none; }

/* ---- Telefon: baş sahypanyň suraty bütin ekrany tutýan fon (kompýuterdäki ýaly) ---- */
@media (max-width: 899px) {
  .slider { min-height: 560px; }
  .slide img { inset: 0; top: 0; bottom: 0; height: 100%; min-height: 0; object-fit: cover; object-position: center 40%; transform: scale(1.04); }
  .slide.on img { animation: kenburns 9s ease-out forwards; }
  .hero-shade { background:
      linear-gradient(0deg, rgba(4, 18, 13, .94) 0%, rgba(4, 18, 13, .6) 28%, rgba(4, 18, 13, .12) 52%, rgba(4, 18, 13, 0) 66%),
      linear-gradient(180deg, rgba(4, 18, 13, .6) 0%, rgba(4, 18, 13, 0) 16%); }
  .hero-ctrl { display: none; }
  .hero-content { bottom: 44px; }
  .slider .hero-title { font-size: 1.75rem; }
}
@media (max-width: 899px) and (prefers-reduced-motion: reduce) {
  .slide.on img { animation: none; transform: none; }
}

/* ---- Ýaryşa hasaba alyş ---- */
.pl-ok { background: #e3f4ea; color: #0f6e56; }
.pl-fail { background: #fde8e6; color: #b42318; }
.lvl-district { background: #f3efe6; color: #6b5a2e; }
.reg-box { border: 1px solid var(--line); background: #faf8f2; border-radius: 12px; padding: .5rem 1rem .25rem; margin: .5rem 0 1rem; }
.reg-box legend { font-weight: 700; color: var(--green-d); padding: 0 .4rem; display: flex; gap: .3rem; align-items: center; }
.reg-box .chk { margin: .4rem 0 .8rem; font-weight: 600; }
.wkf-add { background: #faf8f2; border: 1px solid var(--line); border-radius: 12px; padding: 1rem; margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .6rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .85rem; border: 1px solid var(--line-2); border-radius: 20px; background: #fff; cursor: pointer; font-size: .9rem; }
.chip:has(input:checked) { border-color: var(--gold-3); background: #fff8e4; }
.custom-cat summary { cursor: pointer; color: var(--green); font-weight: 600; margin: 1rem 0 .5rem; }
.reg-list { display: grid; gap: 12px; }
.reg-card { padding: 1rem 1.1rem; }
.reg-card:hover { transform: none; }
.reg-who { display: flex; gap: .85rem; align-items: center; }
.reg-who small { display: block; color: var(--muted); font-size: .84rem; }
.reg-entry { display: flex; gap: .6rem; align-items: center; padding: .55rem .75rem; margin-top: .6rem; background: #faf8f2; border: 1px solid var(--line); border-radius: 10px; font-size: .92rem; }
.reg-add { display: flex; gap: .5rem; align-items: center; margin-top: .75rem; }
.reg-add label { min-width: 0; }
.reg-add select { min-height: 38px; }
.weigh-form { display: inline-flex; gap: .35rem; align-items: center; }
.weigh-form input { width: 74px; min-height: 34px; padding: .3rem .5rem; }
.weigh-form .icon-btn { width: 32px; height: 32px; }
.reg-status { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; padding: .85rem 1rem; margin-bottom: 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.reg-status.is-open { border-left: 4px solid #0f6e56; }
.reg-status .ic { color: var(--gold-3); }
.cat-block { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: .6rem; overflow: hidden; }
.cat-block summary { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; cursor: pointer; font-weight: 600; list-style: none; }
.cat-block summary::-webkit-details-marker { display: none; }
.cat-block .list { border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }
@media (max-width: 899px) {
  .reg-add { flex-direction: column; align-items: stretch; }
}
@media print {
  .no-print, .top, .subnav, .foot, .flash, .crumbs, .stats { display: none !important; }
  body::before { display: none !important; }
  .tbl-wrap { box-shadow: none; border: 1px solid #ccc; }
  .tbl th, .tbl td { padding: .3rem .5rem; }
  .weigh-form input { border: 0; width: 50px; }
  .weigh-form .icon-btn { display: none; }
}

/* ---- Çekilişik: setka ---- */
.draw-rules { align-items: flex-start; font-size: .9rem; background: #f6f3ea; color: #4d4532; border-color: var(--line); }
.draw-rules .ic { color: var(--gold-3); }
.b-legend { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .85rem; color: var(--muted); }
.b-dot { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.b-dot.aka { background: #d62828; } .b-dot.ao { background: #1d4ed8; }
.bracket-wrap { overflow-x: auto; padding: .5rem 0 1rem; -webkit-overflow-scrolling: touch; }
.bracket { display: flex; gap: 28px; min-width: max-content; }
.b-round { display: flex; flex-direction: column; width: 230px; }
.b-round-h { text-align: center; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-3);
  padding: .35rem 0 .7rem; border-bottom: 2px solid var(--line); margin-bottom: .4rem; }
.b-matches { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 10px; }
.b-match { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.b-match::after { content: ""; position: absolute; right: -29px; top: 50%; width: 28px; border-top: 2px solid var(--line-2); }
.b-round:last-child .b-match::after { display: none; }
.b-no { position: absolute; left: -1px; top: -1px; font-size: .62rem; font-weight: 700; color: #fff; background: var(--green-d); padding: 1px 6px; border-radius: 0 0 8px 0; z-index: 1; }
.b-slot { display: flex; align-items: center; gap: .4rem; min-height: 40px; padding: .35rem .6rem .35rem .75rem; border-left: 5px solid transparent; font-size: .86rem; }
.b-slot + .b-slot { border-top: 1px solid #efece4; }
.b-aka { border-left-color: #d62828; }
.b-ao { border-left-color: #1d4ed8; }
.b-name { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-reg { font-size: .7rem; color: var(--muted); white-space: nowrap; max-width: 80px; overflow: hidden; text-overflow: ellipsis; }
.b-empty .b-name { color: transparent; }
.b-bye { background: repeating-linear-gradient(135deg, #faf8f2, #faf8f2 6px, #f3f0e7 6px, #f3f0e7 12px); border-left-color: var(--line-2); }
.b-bye .b-name { color: var(--muted); font-weight: 500; font-style: italic; }
.b-seed { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; font-size: .66rem; font-weight: 800;
  background: linear-gradient(160deg, #fbefc8, #f2d98f); color: #6d4c00; }
.print-only { display: none; }
@media (max-width: 899px) {
  .b-round { width: 200px; }
  .bracket { gap: 22px; }
  .b-match::after { right: -23px; width: 22px; }
}
@media print {
  .print-only { display: block; }
  .bracket-wrap { overflow: visible; }
  .bracket { gap: 18px; }
  .b-round { width: 180px; }
  .b-match { box-shadow: none; break-inside: avoid; }
  .b-slot { min-height: 30px; font-size: .75rem; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .b-match::after { right: -19px; width: 18px; }
}

/* ---- Duşuşyklar: netije girizmek, ýeňijiler, podium ---- */
.b-score { min-width: 20px; text-align: center; font-weight: 800; font-size: .8rem; color: var(--ink); }
.b-win { background: #f3faf6; }
.b-win .b-name { font-weight: 800; color: var(--ink); }
.b-lose .b-name, .b-lose .b-reg { color: #a29d8f; font-weight: 500; }
.b-lose .b-score { color: #a29d8f; }
.b-match.is-done { border-color: #cfe5d8; }
.b-method { font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-3); padding: .15rem .75rem .3rem; border-top: 1px dashed var(--line); }
.rep-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.rep-col { display: flex; flex-direction: column; gap: 10px; }
.rep-col .b-match::after { display: none; }
.podium { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: .5rem 0 1.5rem; }
.pod { border-radius: 14px; padding: 1rem 1.1rem; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .15rem; }
.pod strong { font-size: 1.05rem; }
.pod small { color: var(--muted); }
.pod-place { display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.pod-gold { background: linear-gradient(160deg, #fff8e1, #f6e2a6); border-color: #ecd690; } .pod-gold .pod-place { color: #8a6400; }
.pod-silver { background: linear-gradient(160deg, #f7f8fa, #e4e7ec); border-color: #d9dde3; } .pod-silver .pod-place { color: #5b6270; }
.pod-bronze { background: linear-gradient(160deg, #fdf1e8, #f0d5c2); border-color: #e7c7b0; } .pod-bronze .pod-place { color: #8a4b22; }

.bout-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 14px; }
.bout-card { padding: 1rem; }
.bout-card:hover { transform: none; }
.bout-h { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-3); margin-bottom: .6rem; }
.bout-sides { display: grid; grid-template-columns: 1fr auto 1fr; gap: .6rem; align-items: stretch; }
.bout-side { display: flex; flex-direction: column; gap: .35rem; padding: .7rem; border-radius: 12px; min-width: 0; }
.bout-side.aka { background: #fdf0f0; border: 1px solid #f3c9c9; }
.bout-side.ao { background: #eef3fe; border: 1px solid #c9d6f6; }
.bout-side strong { font-size: .98rem; line-height: 1.25; overflow-wrap: anywhere; }
.bout-side small { color: var(--muted); font-size: .78rem; }
.bout-side input { min-height: 38px; text-align: center; font-weight: 700; }
.bout-tag { font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.aka .bout-tag { color: #c1121f; } .ao .bout-tag { color: #1d4ed8; }
.bout-vs { align-self: center; font-weight: 800; color: #a29d8f; font-size: .85rem; }
.btn-win-aka, .btn-win-ao { color: #fff; border: 0; min-height: 48px; font-size: .95rem; }
.btn-win-aka { background: linear-gradient(140deg, #e03131, #b01a1a); }
.btn-win-ao { background: linear-gradient(140deg, #2f6fed, #1d4ed8); }
.btn-win-aka:hover, .btn-win-ao:hover { color: #fff; filter: brightness(1.08); }
.bout-method { display: flex; gap: .5rem; align-items: center; margin-top: .7rem; font-size: .85rem; color: var(--muted); }
.bout-method select { min-height: 36px; flex: 1; }
.txt-aka { color: #c1121f; } .txt-ao { color: #1d4ed8; }
@media (max-width: 899px) {
  .bout-list { grid-template-columns: 1fr; }
  .bout-sides { grid-template-columns: 1fr 1fr; }
  .bout-vs { display: none; }
}
@media print {
  .bout-list, .podium .pod-place .ic { display: none; }
  .b-win { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---- Milli reýting ---- */
.rk-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 .9rem; }
.seg { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px; box-shadow: var(--shadow); }
.seg a { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem 1rem; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: .88rem; text-decoration: none; white-space: nowrap; }
.seg a:hover { color: var(--ink); text-decoration: none; }
.seg a[aria-current] { background: linear-gradient(140deg, var(--green), #0b3a2a); color: #fff; }
.seg a[aria-current] .ic { color: var(--gold-2); }
.seg-view { margin-left: auto; }
.rk-group { display: flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--ink); margin: .2rem 0 .8rem; }
.rk-group .ic { color: var(--gold-3); }
.rk { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 .4rem; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-weight: 800; font-size: .92rem; color: var(--ink); }
.rk-1 { background: linear-gradient(160deg, #fff3c4, #e9c45a); border-color: #d9b44a; color: #6b4b00; }
.rk-2 { background: linear-gradient(160deg, #f6f7f9, #cfd4dc); border-color: #bfc5ce; color: #3f4652; }
.rk-3 { background: linear-gradient(160deg, #fbe7d8, #dca27b); border-color: #cf946c; color: #6d3714; }
.w-rk { width: 64px; }
.rk-tbl td { vertical-align: middle; }
.rk-top { background: #fffdf5; }
.rk-pts { font-weight: 800; font-size: 1.05rem; color: var(--green); display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.rk-pts small { font-size: .68rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.rk-pt { font-weight: 700; color: var(--green); }
.rk-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.rk-list li + li { border-top: 1px solid var(--line); }
.rk-list a { display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; color: var(--text); text-decoration: none; }
.rk-list .grow { min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.rk-list strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-list small { color: var(--muted); font-size: .8rem; }
.rk-card { display: flex; align-items: center; gap: .9rem; margin: 14px 0 4px; padding: .9rem 1.1rem; border-radius: 14px; background: linear-gradient(140deg, #0f4733, #0b3a2a); color: #fff; text-decoration: none; box-shadow: var(--shadow); }
.rk-card:hover { text-decoration: none; filter: brightness(1.06); }
.rk-card .grow { display: flex; flex-direction: column; min-width: 0; }
.rk-card small { color: rgba(255, 255, 255, .7); }
.rk-card .rk-pts { color: var(--gold-2); }
.rk-card .rk-pts small { color: rgba(255, 255, 255, .65); }
.rk-card > .ic { color: rgba(255, 255, 255, .6); }
.rk-rules { margin-top: 1.5rem; padding: 1rem 1.2rem; }
.rk-rules summary { cursor: pointer; display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--ink); list-style: none; }
.rk-rules summary::-webkit-details-marker { display: none; }
.rk-rules summary .ic { color: var(--gold-3); }
.rk-rules p { color: var(--muted); margin: .8rem 0; }
.rk-rules:hover { transform: none; }
[data-autosubmit].js-auto button[type=submit] { display: none; }
@media (max-width: 899px) {
  .seg-view { margin-left: 0; }
  .rk-bar .seg { flex: 1 1 auto; }
  .rk-bar .seg a { flex: 1; justify-content: center; padding: .5rem .6rem; }
  .only-desk-cell { display: none; }
  .rk-card { margin-top: 12px; }
}

/* ---- Toparlar (toparlaýyn kata / kumite) ---- */
.team-card { padding: 0; }
.team-card > summary { display: flex; align-items: center; gap: .6rem; padding: .9rem 1.1rem; cursor: pointer; list-style: none; }
.team-card > summary::-webkit-details-marker { display: none; }
.team-card > summary .grow { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.team-card > summary > .ic { color: var(--muted); transition: transform .2s; }
.team-card[open] > summary > .ic { transform: rotate(180deg); }
.team-card[open] > summary { border-bottom: 1px solid var(--line); }
.team-card > .reg-entry { margin: .6rem 1.1rem 0; }
.team-entry .grow { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.team-entry small { color: var(--muted); }
.team-add { padding: .9rem 1.1rem 1.1rem; display: grid; gap: .7rem; }
.team-pick { display: flex; flex-wrap: wrap; gap: .45rem; }
.team-pick .chip small { margin-left: .15rem; }
.team-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.team-foot .is-ok { color: var(--green); }
.team-foot .is-bad { color: #b42318; }
.av-team { display: inline-grid; place-items: center; background: linear-gradient(140deg, var(--green), #0b3a2a); color: var(--gold-2); }
.av-team .ic { width: 18px; height: 18px; }
.team-mem { list-style: none; margin: .35rem 0 0 2.6rem; padding: 0; font-size: .86rem; display: grid; gap: .15rem; }
.team-names { display: block; margin-top: .15rem; }
.team-names a { color: var(--ink); }
@media (max-width: 899px) {
  .seg-ev { flex-wrap: wrap; border-radius: 16px; }
  .seg-ev a { flex: 1 1 45%; }
  .team-mem { margin-left: 0; }
}

/* ---- Baş sahypa: ýakynlaşýan ýaryş we yza sanaýyş ---- */
.hero-next { margin-top: 1.6rem; max-width: 560px; padding: 1.1rem 1.25rem 1.2rem; border-radius: 18px;
  background: rgba(8, 32, 23, .58); border: 1px solid rgba(233, 196, 90, .35);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 18px 40px rgba(0, 0, 0, .3); color: #fff; }
.hn-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.hn-eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.hn-badge { font-size: .72rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; background: rgba(46, 160, 98, .25); color: #b7f0cf; border: 1px solid rgba(120, 220, 160, .4); white-space: nowrap; }
.hn-name { display: block; margin: .45rem 0 .2rem; font-size: 1.45rem; font-weight: 800; line-height: 1.2; color: #fff; text-decoration: none; }
.hn-name:hover { color: var(--gold-2); text-decoration: none; }
.hn-meta { display: flex; align-items: center; gap: .4rem; margin: 0; color: rgba(255, 255, 255, .78); font-size: .9rem; }
.hn-meta .ic { color: var(--gold-2); }
.hn-label { margin: .9rem 0 .5rem; font-size: .82rem; color: rgba(255, 255, 255, .8); }
.hn-today { font-weight: 800; color: var(--gold-2); font-size: 1rem; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.cd-box { display: flex; flex-direction: column; align-items: center; padding: .55rem .3rem .45rem; border-radius: 12px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.cd-box b { font-size: 1.9rem; font-weight: 800; line-height: 1.05; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.cd-box small { margin-top: .15rem; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.hn-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
@media (max-width: 899px) {
  .hero-next { margin-top: 1.1rem; padding: .9rem 1rem 1rem; border-radius: 16px; }
  .hn-name { font-size: 1.2rem; }
  .cd-box b { font-size: 1.5rem; }
  .hn-label { margin-top: .7rem; }
}

/* ---- Ýakynlaşýan ýaryş: suratyň aşagynda (suratyň üstüni ýapmaýar) ---- */
.next-sec { position: relative; z-index: 2; padding: 1.75rem 0 2.25rem; }
.next-sec .hero-next { max-width: none; margin: 0; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) auto; align-items: center; gap: 1.25rem 2rem;
  padding: 1.4rem 1.6rem; background: linear-gradient(135deg, #0f4733 0%, #0b3a2a 55%, #082c20 100%);
  border: 1px solid rgba(233, 196, 90, .35); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 16px 36px rgba(8, 44, 32, .22); }
.next-sec .hn-info { min-width: 0; }
.next-sec .hn-head { justify-content: flex-start; flex-wrap: wrap; }
.next-sec .hn-timer .hn-label { margin-top: 0; }
.next-sec .hn-actions { margin-top: 0; flex-direction: column; align-items: stretch; }
@media (max-width: 899px) {
  .next-sec { padding: 1.1rem 0 1.5rem; }
  .next-sec .hero-next { grid-template-columns: 1fr; gap: .9rem; padding: 1rem; }
  .next-sec .hn-actions { flex-direction: row; }
  .next-sec .hn-actions .btn { flex: 1; justify-content: center; }
}

/* ---- Ýazylanlaryň sany we kategoriýa boýunça ýazmak ---- */
.reg-counts { margin: 1rem 0 1.5rem; }
.rc-total { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.2rem; margin-bottom: .9rem; border-radius: 14px;
  background: linear-gradient(135deg, #0f4733, #0b3a2a); color: #fff; }
.rc-total strong { font-size: 2.2rem; line-height: 1; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.rc-total small { color: rgba(255, 255, 255, .7); }
.rc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.rc-item { display: flex; align-items: center; gap: .8rem; padding: .75rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.rc-item .grow { display: flex; flex-direction: column; min-width: 0; }
.rc-num { display: flex; flex-direction: column; align-items: flex-end; }
.rc-num b { font-size: 1.5rem; line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; }
.rc-num small { font-size: .72rem; color: var(--muted); }
.reg-step { display: flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--ink); }
.reg-step .ic { color: var(--gold-3); }
.cat-pick a { gap: .8rem; }
.cp-age { min-width: 74px; padding: .3rem .55rem; border-radius: 8px; background: #fff8e4; border: 1px solid #ecd690; color: #6b4b00; font-weight: 800; font-size: .82rem; text-align: center; white-space: nowrap; }
.cat-pick .grow { display: flex; flex-direction: column; min-width: 0; }
.cat-pick small { color: var(--muted); font-size: .8rem; }
.cat-pick a > .ic { color: var(--muted); }
.cat-head { margin: .4rem 0 .8rem; }
.cat-head .h2 { margin: .8rem 0 .2rem; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.pick { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; cursor: pointer; }
.pick .grow { display: flex; flex-direction: column; min-width: 0; }
.pick small { color: var(--muted); font-size: .78rem; }
.pick input { width: 20px; height: 20px; accent-color: var(--green); flex: none; }
.pick:has(input:checked) { border-color: var(--gold-3); background: #fff8e4; }
.pick:has(input:disabled) { opacity: .5; cursor: not-allowed; }
@media (max-width: 899px) {
  .pick-grid { grid-template-columns: 1fr; }
  .rc-grid { grid-template-columns: 1fr; }
  .team-foot .btn { flex: 1; justify-content: center; }
}

/* ===== Premium UI: tassyklama penjiresi ===== */
html.ui-lock, html.ui-lock body { overflow: hidden; }
.ui-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; }
.ui-backdrop { position: absolute; inset: 0; background: rgba(4, 22, 16, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .18s; }
.ui-dialog { position: relative; width: 100%; max-width: 420px; padding: 1.6rem 1.5rem 1.3rem; text-align: center; border-radius: 22px;
  background: linear-gradient(180deg, #fffdf7 0%, #fff 60%); border: 1px solid rgba(201, 154, 40, .35);
  box-shadow: 0 30px 70px rgba(4, 22, 16, .35); transform: translateY(14px) scale(.97); opacity: 0; transition: transform .2s ease, opacity .18s; }
.ui-modal.on .ui-backdrop { opacity: 1; }
.ui-modal.on .ui-dialog { transform: none; opacity: 1; }
.ui-dialog-ic { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; margin-bottom: .7rem;
  background: linear-gradient(140deg, #fff3c4, #e9c45a); color: #6b4b00; box-shadow: 0 8px 18px rgba(201, 154, 40, .3); }
.ui-dialog-ic .ic { width: 26px; height: 26px; }
.ui-modal.is-danger .ui-dialog-ic { background: linear-gradient(140deg, #ffe3e0, #f3a59c); color: #8f1d14; box-shadow: 0 8px 18px rgba(180, 35, 24, .25); }
.ui-dialog h2 { margin: 0 0 .35rem; font-size: 1.2rem; color: var(--ink); }
.ui-dialog p { margin: 0 0 1.3rem; color: var(--muted); line-height: 1.5; }
.ui-dialog-btns { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.ui-dialog-btns .btn { justify-content: center; min-height: 46px; font-weight: 700; }
.ui-dialog .btn-danger, .ui-dialog .btn-danger:hover, .ui-dialog .btn-danger:focus { background: linear-gradient(140deg, #d92d20, #a3170e); color: #fff; border: 0; box-shadow: 0 8px 18px rgba(180, 35, 24, .28); }
.ui-dialog .btn-danger:hover { filter: brightness(1.07); }
.ui-dialog h2 { display: block; text-align: center; }
.ui-dialog .ui-cancel { background: #fff; border: 1px solid var(--line-2); color: var(--ink); }
@media (max-width: 899px) {
  .ui-modal { place-items: end center; padding: 0; }
  .ui-dialog { max-width: none; border-radius: 24px 24px 0 0; padding: 1.5rem 1.2rem calc(1.2rem + env(safe-area-inset-bottom)); transform: translateY(100%); }
  .ui-dialog-btns { grid-template-columns: 1fr; }
  .ui-dialog-btns .ui-ok { order: -1; }
}

/* ===== Premium UI: saýlaw sanawy ===== */
.cs { position: relative; width: 100%; }
.cs-native { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; pointer-events: none; }
.cs-trigger { display: flex; align-items: center; justify-content: space-between; gap: .5rem; width: 100%; min-height: 42px; padding: .55rem .8rem .55rem .9rem;
  font: inherit; text-align: left; color: var(--text); background: #fff; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 31, 25, .04); transition: border-color .15s, box-shadow .15s; }
.cs-trigger:hover { border-color: var(--gold-3); }
.cs-trigger:focus-visible, .cs-trigger[aria-expanded="true"] { outline: none; border-color: var(--gold-3); box-shadow: 0 0 0 3px rgba(201, 154, 40, .22); }
.cs-trigger[aria-expanded="true"] > .ic { transform: rotate(180deg); }
.cs-trigger > .ic { flex: none; width: 18px; height: 18px; color: var(--gold-3); transition: transform .2s; }
.cs-trigger:disabled { opacity: .55; cursor: not-allowed; }
.cs-val { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-ph { color: var(--muted); }
.cs-err .cs-trigger { border-color: #d92d20; box-shadow: 0 0 0 3px rgba(217, 45, 32, .18); animation: cs-shake .35s; }
@keyframes cs-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.cs-pop { position: fixed; inset: 0; z-index: 990; pointer-events: none; }
.cs-pop .cs-panel { position: fixed; pointer-events: auto; display: flex; flex-direction: column; min-width: 220px; max-width: min(460px, calc(100vw - 16px));
  background: #fff; border: 1px solid rgba(201, 154, 40, .35); border-radius: 14px; box-shadow: 0 22px 50px rgba(4, 22, 16, .22);
  overflow: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .15s, transform .15s; }
.cs-pop.is-up .cs-panel { transform: translateY(6px); }
.cs-pop.on .cs-panel { opacity: 1; transform: none; }
.cs-list { overflow-y: auto; padding: .35rem; overscroll-behavior: contain; }
.cs-group { padding: .65rem .7rem .3rem; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-3); }
.cs-opt { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .62rem .75rem; border-radius: 10px; cursor: pointer; color: var(--text); line-height: 1.3; }
.cs-opt:hover { background: #f6f3e8; }
.cs-opt.is-sel { background: linear-gradient(140deg, #0f4733, #0b3a2a); color: #fff; font-weight: 700; }
.cs-opt.is-sel .ic { color: var(--gold-2); width: 18px; height: 18px; flex: none; }
.cs-opt.is-ph:not(.is-sel) { color: var(--muted); }
.cs-opt.is-dis { opacity: .45; cursor: not-allowed; }
.cs-search { display: flex; align-items: center; gap: .5rem; padding: .55rem .75rem; border-bottom: 1px solid var(--line); }
.cs-search .ic { color: var(--muted); width: 18px; height: 18px; flex: none; }
.cs-search input { border: 0; padding: .3rem 0; min-height: 0; background: transparent; outline: none; box-shadow: none; }
.cs-empty { margin: 0; padding: 1rem; text-align: center; color: var(--muted); }

/* Telefonda: aşakdan çykýan panel */
.cs-pop.is-sheet { pointer-events: auto; }
.cs-backdrop { position: absolute; inset: 0; background: rgba(4, 22, 16, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .18s; }
.cs-pop.is-sheet.on .cs-backdrop { opacity: 1; }
.cs-pop.is-sheet .cs-panel { left: 0; right: 0; bottom: 0; top: auto; max-width: none; max-height: 78vh; border-radius: 24px 24px 0 0; border-bottom: 0;
  padding-bottom: env(safe-area-inset-bottom); transform: translateY(100%); transition: transform .22s ease, opacity .15s; }
.cs-pop.is-sheet.on .cs-panel { transform: none; }
.cs-head { position: relative; display: flex; align-items: center; justify-content: center; padding: 1.1rem 3rem .8rem; border-bottom: 1px solid var(--line); }
.cs-head strong { font-size: 1rem; color: var(--ink); text-align: center; }
.cs-grab { position: absolute; top: 7px; left: 50%; width: 42px; height: 4px; margin-left: -21px; border-radius: 4px; background: var(--line-2); }
.cs-x { position: absolute; right: .6rem; top: 50%; transform: translateY(-40%); display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f3f1ea; color: var(--ink); cursor: pointer; }
.cs-pop.is-sheet .cs-list { padding: .5rem .6rem 1rem; }
.cs-pop.is-sheet .cs-opt { padding: .9rem 1rem; font-size: 1rem; }

/* ===== Baş sahypa: bildiriş bölüminiň fony (ak däl) ===== */
.next-sec { background:
    radial-gradient(1200px 300px at 15% 0%, rgba(226, 193, 90, .14), transparent 60%),
    linear-gradient(180deg, #0a3527 0%, #072a1f 100%);
  border-top: 1px solid rgba(226, 193, 90, .3); }
.next-sec .hero-next { background: linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
  border: 1px solid rgba(226, 193, 90, .4); box-shadow: 0 18px 40px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .06); }
.page-home .foot { border-top-color: rgba(226, 193, 90, .18); }

/* ===== Premium UI 2: ähli meýdanlar ===== */
input[type=text], input[type=search], input[type=number], input[type=password], input[type=tel], input[type=email], textarea, .dp-input {
  border-radius: 12px; border: 1px solid var(--line-2); background: #fff; box-shadow: 0 1px 2px rgba(15, 31, 25, .04);
  transition: border-color .15s, box-shadow .15s; }
input[type=text]:hover, input[type=search]:hover, input[type=number]:hover, input[type=password]:hover, input[type=tel]:hover, textarea:hover { border-color: #c8b98a; }
input:focus, textarea:focus { outline: none !important; border-color: var(--gold-3) !important; box-shadow: 0 0 0 3px rgba(201, 154, 40, .22) !important; }
input::placeholder, textarea::placeholder { color: #9aa39e; }
input[type=number] { -moz-appearance: textfield; }
input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; }
textarea { line-height: 1.5; resize: vertical; }
.fld > span:first-child { font-weight: 600; color: var(--ink); }

/* Belgi (checkbox) */
input[type=checkbox] { -webkit-appearance: none; appearance: none; flex: none; width: 20px; height: 20px; min-height: 0; padding: 0; margin: 0;
  border: 1.5px solid var(--line-2); border-radius: 6px; background: #fff; cursor: pointer; display: inline-grid; place-items: center;
  transition: background .15s, border-color .15s; vertical-align: middle; box-shadow: none; }
input[type=checkbox]::after { content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .15s; }
input[type=checkbox]:checked { background: linear-gradient(140deg, #0f4733, #0b3a2a); border-color: #0b3a2a; }
input[type=checkbox]:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
input[type=checkbox]:hover { border-color: var(--gold-3); }
input[type=checkbox]:focus-visible { box-shadow: 0 0 0 3px rgba(201, 154, 40, .25) !important; }
input[type=checkbox]:disabled { opacity: .45; cursor: not-allowed; }
.chk { display: inline-flex; align-items: center; gap: .55rem; cursor: pointer; font-weight: 500; }

/* Senenama meýdany */
.dp { position: relative; display: flex; align-items: center; width: 100%; }
.dp-input { width: 100%; min-height: 42px; padding: .55rem 2.8rem .55rem .9rem; font: inherit; color: var(--text); letter-spacing: .02em; cursor: pointer; }
.dp-btn { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 34px; height: 34px;
  border: 0; border-radius: 9px; background: #fff8e4; color: var(--gold-3); cursor: pointer; }
.dp-btn:hover { background: #f6e7b6; }
.dp-btn .ic { width: 18px; height: 18px; }
.dp-panel { width: 320px; padding: .8rem; }
.dp-top { display: flex; align-items: center; gap: .35rem; margin-bottom: .6rem; }
.dp-nav { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; }
.dp-nav:hover { border-color: var(--gold-3); color: var(--gold-3); }
.dp-ttl { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .3rem; height: 36px; border: 0; border-radius: 10px;
  background: #f6f3e8; color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; }
.dp-ttl .ic { width: 15px; height: 15px; color: var(--gold-3); transition: transform .2s; }
.dp-ttl.on { background: linear-gradient(140deg, #0f4733, #0b3a2a); color: #fff; }
.dp-ttl.on .ic { color: var(--gold-2); transform: rotate(180deg); }
.dp-wd, .dp-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.dp-wd span { text-align: center; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: .3rem 0; }
.dp-wd span:nth-child(n+6) { color: #b42318; }
.dp-day { aspect-ratio: 1; border: 0; border-radius: 10px; background: transparent; font: inherit; font-weight: 600; color: var(--text); cursor: pointer; }
.dp-day:hover:not(:disabled) { background: #f6f3e8; }
.dp-day.is-today { box-shadow: inset 0 0 0 1.5px var(--gold-3); color: #6b4b00; }
.dp-day.is-val { background: linear-gradient(140deg, #0f4733, #0b3a2a); color: #fff; box-shadow: 0 4px 10px rgba(11, 58, 42, .3); }
.dp-day:disabled { color: #c9ccc8; cursor: not-allowed; }
.dp-years { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; max-height: 260px; overflow-y: auto; padding-right: 2px; overscroll-behavior: contain; }
.dp-months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dp-cell { padding: .7rem .3rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-weight: 600; color: var(--text); cursor: pointer; }
.dp-cell:hover:not(:disabled) { border-color: var(--gold-3); background: #fffaf0; }
.dp-cell.is-sel { background: linear-gradient(140deg, #0f4733, #0b3a2a); border-color: transparent; color: #fff; }
.dp-cell.is-val:not(.is-sel) { border-color: var(--gold-3); color: #6b4b00; }
.dp-cell:disabled { opacity: .35; cursor: not-allowed; }
.dp-foot { display: flex; justify-content: space-between; gap: .5rem; margin-top: .7rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.dp-foot .btn { min-height: 36px; }
.dp-clear { color: #b42318; }
.cs-pop.is-sheet .dp-panel { width: auto; padding: 0 .9rem 1rem; }
.cs-pop.is-sheet .dp-top { margin-top: .8rem; }
.cs-pop.is-sheet .dp-day { font-size: 1.02rem; }
.cs-pop.is-sheet .dp-years { max-height: 46vh; }

/* Faýl ýüklemek */
.fu { position: relative; display: flex; align-items: center; gap: .85rem; width: 100%; padding: .85rem 1rem; border: 1.5px dashed #d6c48c; border-radius: 14px;
  background: linear-gradient(180deg, #fffdf6, #fff); transition: border-color .15s, background .15s; }
.fu:hover, .fu.is-drag { border-color: var(--gold-3); background: #fff8e4; }
.fu input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 1; }
.fu-ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(140deg, #fff3c4, #e9c45a); color: #6b4b00; }
.fu-ic .ic { width: 22px; height: 22px; }
.fu-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.fu-txt strong { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fu-txt small { color: var(--muted); font-size: .8rem; }
.fu.has-file { border-style: solid; border-color: #9fd3b8; background: #f3faf6; }
.fu.has-file .fu-ic { background: linear-gradient(140deg, #0f4733, #0b3a2a); color: var(--gold-2); }
.fu-x { position: relative; z-index: 2; display: grid; place-items: center; flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #fff; color: #b42318; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); cursor: pointer; }

/* Parol */
.pw { position: relative; width: 100%; }
.pw input { padding-right: 2.9rem; }
.pw-eye { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; }
.pw-eye:hover { background: #f6f3e8; color: var(--ink); }
.pw-eye.on { color: var(--gold-3); background: #fff8e4; }

/* Barlag habarlary */
.is-invalid, .is-invalid .dp-input, .is-invalid .cs-trigger, input.is-invalid, textarea.is-invalid { border-color: #d92d20 !important; }
.fu.is-invalid { border-color: #d92d20; background: #fff6f5; }
.fld-err { display: flex; align-items: center; gap: .35rem; margin-top: .35rem; font-size: .82rem; font-weight: 600; color: #b42318; animation: err-in .2s ease; }
.fld-err .ic { width: 15px; height: 15px; flex: none; }
@keyframes err-in { from { opacity: 0; transform: translateY(-3px); } }
.fu-x[hidden] { display: none; }
.fld > span.fld-err, .fld-err { color: #b42318; font-size: .82rem; font-weight: 600; }
.form-photo > .fld { min-width: 0; }
@media (max-width: 899px) {
  .form-photo { grid-template-columns: 1fr; justify-items: center; }
  .form-photo .av { grid-row: auto; }
  .form-photo > .fld, .form-photo > .chk { width: 100%; justify-self: stretch; }
}
.dp-nav[hidden] { display: grid; visibility: hidden; }

/* ---- Baş sahypa: täzelikler (doly görünýär) ---- */
.page-home .hero-cta:empty { display: none; }
.home-news { padding: .5rem 0 3rem; background: linear-gradient(180deg, #072a1f 0%, #06241b 100%); }
.hn-title { display: flex; align-items: center; gap: .55rem; margin: 0 0 1.1rem; font-size: 1.35rem; color: #fff; }
.hn-title .ic { color: var(--gold-2); }
.hnews { display: grid; gap: 18px; }
.hnews-item { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); overflow: hidden; border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)); border: 1px solid rgba(226, 193, 90, .3);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25); color: #fff; }
.hnews-item.no-img { grid-template-columns: 1fr; }
.hnews-img { margin: 0; min-height: 100%; background: #04170f; }
.hnews-img img { display: block; width: 100%; height: 100%; max-height: 360px; object-fit: cover; }
.hnews-body { padding: 1.4rem 1.6rem; }
.hnews-date { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--gold-2); }
.hnews-date .ic { width: 15px; height: 15px; }
.hnews-body h3 { margin: .45rem 0 .7rem; font-size: 1.3rem; line-height: 1.3; color: #fff; }
.hnews-text { color: rgba(255, 255, 255, .82); line-height: 1.7; font-size: .98rem; }
@media (max-width: 899px) {
  .hnews-item { grid-template-columns: 1fr; }
  .hnews-img img { max-height: 260px; }
  .hnews-body { padding: 1.1rem 1.1rem 1.3rem; }
  .hnews-body h3 { font-size: 1.12rem; }
  .home-news { padding-bottom: 2rem; }
}
