/* 2.215: палитра Лиги — меняйте цвета здесь, а не по файлу. */
:root {
  --lg-text:#eef5fb; /* основной текст */
  --lg-text-soft:#b4cede; /* подписи */
  --lg-text-muted:#9fb6c9; /* второстепенный текст */
  --lg-line:#526f85; /* рамки */
  --lg-bg:#0b1e2c; /* фон */
  --lg-panel-hi:#183144; /* панель, верх градиента */
  --lg-panel-lo:#0c1c2b; /* панель, низ градиента */
  --lg-cyan:#78f4ff; /* яркая бирюза: рамки и значки */
  --lg-info:#7fd3ff; /* подзаголовки и метки */
  --lg-teal:#7be9f2; /* бирюзовый текст */
  --lg-btn-hi:#48f2fa; /* кнопка, верх */
  --lg-btn-lo:#00b8d5; /* кнопка, низ */
  --lg-on-accent:#04202d; /* текст на бирюзовой кнопке */
  --lg-ok:#64e6ad; /* хорошо: в составе, рост */
  --lg-gold:#ffd23f; /* золото: рейтинг, предупреждение */
  --ease-out:cubic-bezier(.23,1,.32,1); /* 2.216: отклик, появление */
  --ease-in-out:cubic-bezier(.77,0,.175,1); /* 2.216: движение по экрану */
}
/* 2.182: shared League screens. Match controls deliberately use their own layout. */
.league-design { --league-accent:#087f96; }
.league-design .panel { border-radius:16px; box-shadow:0 5px 18px #07162408; }
.league-design .phead h1 { font-size:24px; letter-spacing:.2px; }
.league-design .btn:not(.off),.league-design summary,.league-design .gsub a { min-height:44px; }
.league-design .btn { display:inline-flex; align-items:center; justify-content:center; text-align:center; white-space:normal; }
.league-design .btn:not(.ghost):not(.red):not(.gold):not(.off),.league-design .league-primary { background:#20d5e8; color:#052530; border-color:#20d5e8; font-weight:800; }
@media (hover:hover) and (pointer:fine) { .league-design .btn:hover { filter:brightness(.96); } }   /* 2.216: на телефоне подсветка не «залипает» */
.league-design :is(a,button,summary,input,select):focus-visible { outline:3px solid var(--league-accent); outline-offset:3px; }
.league-design .gtabs { border:1px solid var(--line); border-radius:14px; margin-bottom:16px; }
.league-design .gtabs a.on { color:var(--league-accent); border-bottom-color:var(--league-accent); }
.league-design .gsub { gap:6px; }
.league-design .gsub a { display:flex; align-items:center; justify-content:center; border-radius:9px; padding:8px 12px; }
.league-design .gsub a.on { background:var(--hl); box-shadow:inset 0 -3px var(--league-accent); }
.league-design .ghero { padding:16px; }
.league-design .ghero-name h2 { font-size:24px; }
.league-design .ghero-stats { margin:12px 0; }
.league-explain>summary,.league-chem>summary { display:flex; align-items:center; cursor:pointer; font-weight:600; color:var(--text-2); }
.league-explain>summary::after,.league-chem>summary::after { content:'⌄'; margin-left:auto; }
.league-next .section-title { margin:0 0 10px; }
.league-primary { min-height:52px!important; font-size:17px; }
.league-warning { display:block; background:var(--warn-bg); color:var(--warn); padding:12px; border-radius:10px; margin-bottom:12px; text-decoration:none; }
.league-shortcuts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:12px; }
.league-shortcuts a { display:flex; align-items:center; justify-content:center; min-height:48px; padding:8px 2px; border:1px solid var(--line); border-radius:10px; color:var(--navy); text-decoration:none; font-size:13px; font-weight:700; background:var(--ice); }
.league-design .gcd,.league-design .gnext,.league-design .gstat { border-color:var(--league-accent); background:linear-gradient(130deg,var(--card),var(--hl-2)); }
.league-design .gstat-big { font-size:clamp(22px,6vw,32px); line-height:1.2; }
.league-design .gstat-next { padding:14px; border:1px solid var(--line); border-radius:12px; margin-top:14px; }
.league-design .lcard { min-width:0; }
.league-design .lcard .pc-face { height:68px; object-fit:contain; }
.league-design .lcard .pc-name { font-size:12px; white-space:normal; overflow-wrap:anywhere; line-height:1.25; }
.league-design .lcard .lc-feat { font-size:10px; }
.league-design .lcard .pc-ovr { font-size:23px; }
.league-design .league-chem { margin-top:8px; border-top:1px solid var(--line); }
.league-design .gwallet { padding:14px; border:1px solid var(--line); border-radius:12px; background:var(--card); }
.league-design .gwallet b { font-size:21px; }
.league-design .alot { border-radius:14px; overflow:hidden; }
.league-design .alot-btn { text-align:left; }
.league-design .alot-p b { font-size:21px; }
.league-design .alot-b .b { padding:6px 8px; }
.league-design .auction-filter input,.league-design .auction-filter select { min-height:44px; }
.league-design .league-sell>summary { font-weight:700; color:var(--league-accent); }
@media(prefers-color-scheme:dark) { .league-design { --league-accent:#52dfec; } }
@media(max-width:380px) {
 .league-design .panel { padding:12px; }
 .league-design .gbd-row { gap:5px; }
 .league-design .lcard .pc-face { height:54px; }
 .league-design .lcard .pc-name { font-size:11px; }
 .league-design .lcard .pc-pos { font-size:9px; }
}
/* 2.183 — the approved concept uses a self-contained dark League shell. */
body:has(main.league-design) { background:#06121c; color:var(--lg-text); }
body:has(main.league-design)>.top,body:has(main.league-design)>.tabbar,body:has(main.league-design)>.foot { display:none; }
main.league-design { --ice:#091925; --ice-2:#152b3c; --card:#102334; --navy:#f2f6fb; --text-2:#bccddd; --muted:#a4bbce; --line:#456178; --input:#0c1e2c; --hl:#1d394e; --hl-2:#142f43; --blue:#58e2f0; --league-accent:#22e2ed; --ok:var(--lg-ok); --warn:#ffe084; --warn-bg:#403516; --gold:#e5c266; color-scheme:dark; width:100%; max-width:480px; margin:0 auto; padding:0 12px calc(82px + env(safe-area-inset-bottom)); font-family:Arial,sans-serif; }
.league-design .phead,.league-design>.gcbar,.league-design>.gpre { display:none; }
.league-design .section-title,.league-design h1,.league-design h2,.league-design .gbd-t { font-family:Arial,sans-serif; text-transform:none; letter-spacing:normal; }
.league-design .panel { background:linear-gradient(120deg,#142c3f,#0a1b29); border:1px solid #58748a; border-radius:7px; padding:10px; margin:10px 0; box-shadow:inset 0 1px #d5efff12; }
.lc-brand { height:48px; display:flex; align-items:center; border-bottom:1px solid #57748b; margin:0 -12px; padding:0 14px; background:linear-gradient(100deg,#081725,#122e46); overflow:visible; position:relative; }
.lc-brand>a { color:white; text-decoration:none; font-size:25px; font-style:italic; font-weight:900; letter-spacing:-1px; border-bottom:2px solid #28d6e7; }
.lc-brand>img { height:46px; width:80px; object-fit:contain; margin-left:auto; opacity:.7; }
.lc-menu { margin-left:8px; z-index:100; }
.lc-menu>summary { cursor:pointer; list-style:none; font-size:20px; width:36px; display:grid; place-items:center; }
.lc-menu nav { position:absolute; right:8px; top:45px; background:#0d2333; padding:8px; border:1px solid #6b879b; border-radius:7px; box-shadow:0 8px 28px #000b; }
.lc-menu nav a { display:block; padding:12px; color:white; text-decoration:none; }
.lc-title { font-size:23px; padding:12px 0 14px; margin:0 0 12px; border-bottom:1px solid #365065; font-weight:800; }
.league-design .gtabs { position:fixed!important; top:auto!important; bottom:0; left:50%; transform:translateX(-50%); width:min(100%,480px); margin:0; height:calc(66px + env(safe-area-inset-bottom)); padding:5px 4px env(safe-area-inset-bottom); z-index:80; background:linear-gradient(#102737,#071622); border:0; border-top:1px solid #5c7b90; border-radius:0; display:flex; gap:0; }
.league-design .gtabs>a { flex:1; min-width:0; font:600 11px/1.3 Arial,sans-serif; padding:4px 0; border:0; color:#dce6ef; display:flex; flex-direction:column; align-items:center; gap:4px; }
.league-design .gtabs .gti { background:none; border:0; box-shadow:none; width:25px; height:25px; border-radius:0; color:inherit; }
.league-design .gtabs .gti svg { width:25px; height:25px; }
.league-design .gtabs>a.on { background:linear-gradient(#1b3d4b,#09202e); color:#28e0e8; }
.league-design .gsub { border:1px solid #4c6b83; background:linear-gradient(#1a3449,#102333); border-radius:6px; padding:2px; margin:10px 0 14px; display:flex; gap:2px; position:static!important; overflow-x:auto; }
.league-design .gsub a { min-height:32px; flex:1; font:600 12px Arial,sans-serif; color:#b8cddd; padding:7px 6px; border-radius:4px; white-space:nowrap; }
.league-design .gsub a.on { color:#031c27; background:linear-gradient(#3cf3fb,#00c3df); box-shadow:inset 0 0 0 1px #8ef9ff; }
.league-design .btn { border-radius:6px; font-family:Arial,sans-serif; min-height:44px; }
.league-design .btn:not(.ghost):not(.off):not(.gold):not(.red),.lc-action { background:linear-gradient(var(--lg-btn-hi),var(--lg-btn-lo))!important; color:var(--lg-on-accent)!important; border:1px solid var(--lg-cyan)!important; box-shadow:0 2px 8px #00cde02b; }
.lc-club { display:flex; align-items:center; gap:10px; margin:14px 0 18px; }
.lc-club>.gcrest { flex-shrink:0; width:54px; height:62px; }
.lc-club>div { flex:1; min-width:0; }.lc-club strong { display:block; font-size:18px; overflow-wrap:anywhere; }.lc-club small { display:block; color:#b6c9d8; font-size:12px; margin-top:5px; }
.lc-wallet { padding:8px; border:1px solid #7a9bb2; border-radius:5px; font-size:16px; font-weight:800; color:white; text-decoration:none; white-space:nowrap; }
.lc-match { background:linear-gradient(#07355266,#09273c77),url('/static/league-arena183.png') center/cover; border:1px solid #8ab0cc; border-radius:7px; padding:12px; text-align:center; margin-bottom:12px; min-height:175px; }
.lc-time { display:table; margin:0 auto 15px; padding:5px 16px; font-size:13px; font-weight:800; color:#03232d; background:#32e1eb; border-radius:5px; }
.lc-match>p:last-child { font-size:12px; color:#c4dae9; margin:10px 0 0; }
.lc-versus { display:grid; grid-template-columns:1fr 30px 1fr; align-items:center; gap:10px; }.lc-versus>div { display:flex; flex-direction:column; align-items:center; gap:8px; min-width:0; }.lc-versus b { font-size:15px; overflow-wrap:anywhere; }.lc-versus>strong { font-size:28px; }
.lc-warning { display:flex; justify-content:space-between; padding:9px 10px; border:1px solid #a68d36; border-radius:6px; background:linear-gradient(#544823,#302b1c); color:#ffe594; font-size:12px; text-decoration:none; margin:12px 0; }
.lc-shortcuts { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; margin-bottom:14px; }.lc-shortcuts a { display:flex; flex-direction:column; align-items:center; gap:5px; min-height:66px; padding:8px 3px; border:1px solid #6c8ba1; border-radius:6px; background:linear-gradient(120deg,#1c394e,#0c2030); color:white; text-decoration:none; font-size:12px; font-weight:700; }.lc-shortcuts svg { width:25px; height:25px; stroke:#d4e8f5; fill:none; }.lc-short-icon { font-size:25px; line-height:28px; }
.lc-row { display:flex; align-items:center; min-height:40px; padding:8px 10px; color:#eff5fa; text-decoration:none; font-size:12px; font-weight:700; border:1px solid var(--lg-line); background:linear-gradient(var(--lg-panel-hi),var(--lg-panel-lo)); border-radius:5px; margin:6px 0; }.lc-row>span { margin-left:auto; }
.lc-more { margin:14px 0; border-top:1px solid #3a5366; }.lc-more>summary { color:#a8c3d7; font-size:12px; cursor:pointer; padding:12px 0; }
.league-design:has(.lc-club)>.gfeedback { display:none; }
.league-design .gfirst { font-size:11px; padding:8px; margin:8px 0; }
.league-design .lc-roster-help { font-size:11px; color:#aac1d3; margin:4px 0; }.lc-roster-help>summary { min-height:24px; cursor:pointer; }
.league-design .lcard:not(.role-card) { border:0!important; box-shadow:none!important; border-radius:0; padding:0!important; background:none!important; flex:0 1 32%; width:32%; max-width:125px; }
.lc-jersey { grid-column:1; grid-row:1/4; }.lc-jersey svg { width:36px; height:44px; }
.lc-player-name { grid-column:2; grid-row:1; font-size:10px; font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.lc-player-rating { grid-column:2; grid-row:2; font-size:20px; line-height:20px; }.lc-player-pos { position:absolute; left:10px; bottom:0; font-size:8px; color:#c5d8e6; }.lc-player-state { grid-column:2; grid-row:3; font-size:8px; color:#6eeeb0; }.lc-player-state.reserve { color:#b4c5d2; }.lc-player-state.hurt { color:#ff9494; }
.league-design .league-chem { border:0; margin:0; }.league-design .league-chem>summary { min-height:20px; font-size:9px; color:#9ab3c7; }.league-design .gbd-chem { font-size:11px; }
.league-design .gbd-gk .gbd-e { font-size:11px; }.league-design .gbd-bench { padding:8px; }.league-design .gbd-bench p { font-size:11px; margin:3px 0; }
.league-design .alots { display:flex; flex-direction:column; gap:12px; }
.league-design .alot { position:relative; border:1px solid #67859c; border-radius:7px; background:linear-gradient(110deg,#183246,#0a1d2b); padding:9px; }
.league-design .alot-btn { display:grid; grid-template-columns:74px 1fr; grid-template-rows:auto auto auto auto; gap:4px 10px; width:100%; padding:0; background:none; border:0; color:#fff; text-align:left; }
.league-design .alot-ph { grid-column:1; grid-row:1/5; width:74px; height:94px; margin:0; border:1px solid #526e82; border-radius:4px; overflow:hidden; }.league-design .alot-ph img { width:100%; height:100%; object-fit:cover; }.league-design .alot-r { font-size:19px; padding:2px 5px; background:#dfbe59; color:#101b20; }.league-design .alot-pos { display:none; }
.league-design .alot-n { font-size:16px; font-family:Arial,sans-serif; line-height:1.2; align-self:center; }.league-design .alot-s { font-size:11px; color:var(--lg-text-soft); }.league-design .alot-f { display:none; }.league-design .alot-p { display:flex; align-items:center; flex-wrap:wrap; gap:4px; margin:3px 0; }.league-design .alot-p b { font-size:20px; }.league-design .alot-p small { margin-left:auto; font-size:10px; max-width:100px; color:#d6e5ee; }.league-design .alot-b { font-size:11px; margin:0; }.league-design .alot-b .b { padding:3px; }
.league-design .lc-bid { margin-top:9px; min-height:42px; font-size:15px; }.lc-details { display:block; margin:5px 0 0 auto; min-height:32px; background:none; color:#c4dfed; border:0; cursor:pointer; }
.league-design .gwallet { font-size:11px; padding:12px 9px; border-radius:6px; margin:10px 0; }.league-design .gwallet b { font-size:19px; }.league-design .auction-filter { display:flex; flex-wrap:wrap; gap:6px; margin:10px 0; }.league-design .auction-filter>input { flex:1; min-width:120px; }.lc-filters { position:relative; }.lc-filters>summary { padding:12px; font-size:12px; cursor:pointer; }.lc-filters[open] { flex-basis:100%; }.league-design .auction-filter>.row { width:100%; }.league-design .auction-filter .btn { min-height:32px; font-size:12px; }
.league-design .gtour { margin:8px 0; font-size:11px; }.league-design .gstat { border-color:#8da8ba; background:linear-gradient(#09293c88,#092131aa),url('/static/league-arena183.png') center/cover; text-align:center; padding:14px; }
.league-design .gstat-big { font-size:32px; font-weight:900; }.league-design .gstat-sub { font-size:13px; }.league-design .gstat-next { text-align:center; border:0; padding:8px 0 0; }.league-design .gstat-nt { justify-content:center; }.league-design .gstat-k { font-size:12px; color:#ead284; }.league-design .gstat-next .btn { margin-top:10px; }
.league-design .gcup-st { padding:8px; }.league-design .gser { border-radius:6px; background:#0a1d2d; }.league-design .gser.mine { border:1px solid #45dfeb; background:linear-gradient(#0b354e99,#0b273c99),url('/static/league-arena183.png') center/cover; }.league-design .gser-t { padding:8px; }.league-design .gser-t em { font-size:24px; }
.league-design dialog { color:var(--lg-text); background:#102434; border-color:#7293ac; }.league-design input,.league-design select { color:var(--lg-text); background:#0b1e2d; border-color:#56768d; }.league-design .gsub-stick { top:auto!important; }
@media(min-width:700px) { body:has(main.league-design) { background:radial-gradient(ellipse at top,#183147,#030c14 70%); } main.league-design { box-shadow:0 0 50px #0007; min-height:100vh; background:#06121c; } }
.lc-tournament-menu>summary,.lc-series-details>summary { font-size:11px; color:#b3cbdc; min-height:30px; padding:8px 0; cursor:pointer; }
.lc-series-score { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:10px; padding:14px 8px 4px; }
.lc-series-score>div { display:flex; flex-direction:column; align-items:center; gap:8px; min-width:0; }
.lc-series-score b { font-size:13px; text-align:center; overflow-wrap:anywhere; }.lc-series-score>strong { font-size:36px; font-weight:900; white-space:nowrap; }
.lc-series-caption { font-size:12px; text-align:center; color:#c9dce9; margin:8px 0; }.lc-series-details { padding:0 10px; }
.league-design .gstat-when { color:#e3f0f9; }
main.league-design { gap:0; }
.league-design .gbd-row.d { padding:0; }
.league-design .lcard .pcard-btn::before,.league-design .lcard .pcard-btn::after { display:none; }
.league-design .gtabs .gti { background:transparent!important; box-shadow:none!important; border:0!important; }
.league-design .lc-roster-help { margin:0 0 4px; }
.league-design .panel { gap:8px; }
.league-design .gwallet { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.league-design .gwallet>a,.league-design .gwallet>span { background:none; border:0; padding:0; border-radius:0; font-family:Arial,sans-serif; }
.league-design .gwallet span,.league-design .gwallet small { font-size:11px; }
.league-design .gwallet b { font-family:Arial,sans-serif; }
.league-design .gtabs a.on .gti { color:#27e8ef!important; }
.league-design .gmark { font-size:9px; }
.league-design .lc-series-score .gcrest { width:52px; height:60px; }
.league-design .gstat-next .btn,.league-design .gser .btn { font-family:Arial,sans-serif; }
/* 2.184: concept palette and independent bottom navigation. */
main.league-design { background:linear-gradient(100deg,#071725,#06131e 55%,#081b28); --line:#648397; --card:#122b3e; }
.league-design>.gtabs { display:none!important; }
.lc-brand { background:linear-gradient(90deg,#081825ee,#12304b99),url('/static/league-arena183.png') center 24%/cover; height:46px; }
.lc-brand>img { width:105px; height:46px; object-position:65% 12%; object-fit:cover; opacity:.8; }
.lc-brand>a { font-size:25px; }
.lc-title { font-size:24px; padding:11px 0 13px; margin-bottom:12px; border-bottom-color:#355365; }
.league-design :is(.panel,.alot,.gwallet,.lc-row,.lc-shortcuts a) { border-color:#7393a9; background:linear-gradient(120deg,#1a354b 0%,#102638 45%,var(--lg-bg) 100%); box-shadow:inset 0 1px 0 #e2f7ff12; }
.league-design .section-title { color:#eaf3fa; font-size:14px; border-bottom-color:#466379; }
.lc-jersey svg { width:38px; height:47px; }
.lc-player-name { font:700 11px/17px Arial,sans-serif; }
.lc-player-rating { font:800 21px/23px Arial,sans-serif; }
.lc-player-state { font:600 9px/12px Arial,sans-serif; }
.league-design .league-chem>summary { font-size:10px; min-height:18px; }
.league-design .gsub { border-color:#648296; background:linear-gradient(#19344a,#0d2233); margin:8px 0 12px; }
.league-design .gsub a { font-size:13px; min-height:34px; }
.league-design .gsub a.on { background:linear-gradient(#35f3fa,#00c8e0); border:1px solid #74f7ff; box-shadow:0 0 10px #00e7ed25; padding:6px 5px; }
.league-design .btn:not(.ghost):not(.off):not(.gold):not(.red) { background:linear-gradient(#48f5fb 0%,#16ddec 55%,#00bad3 100%)!important; box-shadow:inset 0 1px #c2ffff80,0 2px 9px #00bfd333; }
.league-design .alot { padding:10px; }
.league-design .alot-n { font:800 17px/1.2 Arial,sans-serif; }
.league-design .alot-s { font:400 12px/1.35 Arial,sans-serif; }
.league-design .alot-r { color:#15212b; background:linear-gradient(#ffe486,#d8ad3c); border-radius:4px; font:800 21px/1 Arial,sans-serif; }
.league-design .alot-p b { font:800 21px/1.2 Arial,sans-serif; }
.lc-match { background-image:linear-gradient(#0c3c5920,#123b5144),url('/static/league-arena183.png'); border-color:#94bed5; }
.lc-club { margin:10px 0 16px; }.lc-club strong { font-size:20px; }.lc-wallet { font-size:18px; background:linear-gradient(#153247,#081b29); }
.lc-shortcuts a { min-height:70px; font-size:13px; }
.lc-row { font-size:13px; min-height:39px; }
.lc-bottom { position:fixed; left:50%; transform:translateX(-50%); bottom:0; width:min(100%,480px); height:calc(70px + env(safe-area-inset-bottom)); padding:0 8px env(safe-area-inset-bottom); background:linear-gradient(#102a3b,#071a28); border-top:1px solid #6d90a7; box-shadow:0 -6px 24px #0004; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); z-index:80; }
.lc-bottom>a { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; min-width:0; min-height:60px; padding:8px 1px; color:#d3e1ed; text-decoration:none; font:600 11px/1.2 Arial,sans-serif; border-radius:0; }
.lc-bottom>a>svg { width:26px; height:26px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.lc-bottom>a.on { color:#2aebf3; background:linear-gradient(180deg,#36ddf32b,#12cbd516); box-shadow:inset 0 2px #4df5fb,0 0 16px #00e4ef12; text-shadow:0 0 12px #1be3f388; }
.lc-bottom>a.on>svg { stroke:#38eff7; filter:drop-shadow(0 0 5px #19e2f5aa); }
.lc-bottom>a.on:first-child>svg { fill:#2aebf3; stroke:#2aebf3; }
.lc-bottom>a:focus-visible { outline:2px solid #89fcff; outline-offset:-3px; }
.lc-nav-dot { position:absolute; top:7px; right:18%; width:7px; height:7px; border-radius:50%; background:#ff5976; box-shadow:0 0 0 2px #0b2131; }
@media(max-width:350px) { .lc-player-name { font-size:10px; }.league-design .lcard .pcard-btn { grid-template-columns:31px minmax(0,1fr); }.lc-jersey svg { width:31px; }.lc-bottom>a { font-size:10px; }.lc-club strong { font-size:17px; } }
/* 2.188: экран клуба по макету — аптечка со счётчиком, иконки строк, итог последнего матча */
.lc-kit-ic { color:#ff6b7a; font-weight:900; }
.lc-kit-n { display:inline-block; margin-left:3px; padding:1px 6px; border-radius:8px; background:#e9415a; color:#fff; font-size:11px; line-height:16px; }
.lc-row-ic { font-style:normal; margin-right:8px; width:18px; text-align:center; }
.lc-row>span { margin-left:auto; }
.lc-res.w { color:var(--lg-ok); }
.lc-res.l { color:#ff8a8a; }
/* 2.188: «Звенья» по макету — энергия звена, связка, «Нужна замена», полоса травмы с «Лечить» */
.lc-badge { display:inline-block; font-style:normal; font-size:11px; font-weight:800; padding:2px 7px; border-radius:6px; margin-left:4px; white-space:nowrap; }
.lc-badge.ok { color:var(--lg-ok); background:#123d33; border:1px solid #2c7a62; }
.lc-badge.mid { color:#ffe084; background:#3d3517; border:1px solid #7a6a2c; }
.lc-badge.chem { color:var(--lg-teal); background:#0f3946; border:1px solid #2a7f90; }
.lc-badge.warn { color:#ffd166; background:#46301a; border:1px solid #a26a2a; }
.lc-injury { display:flex; align-items:center; gap:10px; padding:10px 12px; margin:0 0 12px; border:1px solid #a2414e; border-radius:10px; background:linear-gradient(110deg,#45202b,#1d1a26); }
.lc-injury>div { flex:1; min-width:0; font-size:13px; }
.lc-injury small { display:block; color:#c9b6c0; font-size:11px; margin-top:2px; }
.lc-inj-ic { width:26px; height:26px; border-radius:6px; background:#e9415a; color:#fff; font-weight:900; display:flex; align-items:center; justify-content:center; flex:none; }
.lc-inj-t { color:#ff8a98; font-weight:700; }
.lc-injury .btn { min-height:40px!important; padding:6px 12px; background:#20d5e8; color:#052530; white-space:nowrap; }
/* 2.188: вратарь и тафгай — две ячейки одной высоты вместо строки текста рядом с карточкой */
.lc-gk-row { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.lc-gk-cell { display:flex; flex-direction:column; gap:6px; min-width:0; }
.lc-gk-k { font-size:11px; font-weight:800; color:var(--lg-text-muted); text-transform:uppercase; letter-spacing:.4px; }
.lc-gk-cell>.lcard { width:100%; }
.lc-enf { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; min-height:96px; padding:8px; border:1px solid var(--lg-line); border-radius:10px; background:linear-gradient(var(--lg-panel-hi),var(--lg-panel-lo)); color:var(--lg-text); text-decoration:none; text-align:center; }
.lc-enf-ic { font-size:24px; line-height:1; }
.lc-enf .lc-player-rating { font-size:22px; }
.lc-enf-s { color:var(--lg-text-muted); font-size:11px; }
.lc-enf.empty { border-style:dashed; color:#bccddd; font-size:13px; font-weight:700; }
.lc-enf.empty small { color:#22e2ed; font-size:12px; }
.lc-kit-buy { white-space:nowrap; }
/* 2.188: аукцион по макету — рейтинг в строке имени (портрет чистый), позиция внизу фото, таймер, статус ставки */
.league-design .alot-ph .alot-pos { top:auto; bottom:4px; right:auto; left:50%; transform:translateX(-50%); font-size:10px; padding:1px 6px; }
.league-design .alot-n { display:flex; align-items:center; gap:7px; min-width:0; }
.league-design .alot-n .alot-r { position:static; flex:none; min-width:30px; padding:3px 5px; font-size:16px; line-height:1; border-radius:5px; text-align:center; }
.league-design .alot.r-common .alot-n .alot-r { background:linear-gradient(#cfd8e2,#8d9caa); color:#14212c; }
.league-design .alot.r-rare .alot-n .alot-r { background:linear-gradient(#7fb6ff,#2d6cb5); color:#fff; }
.league-design .alot-rar { font-style:normal; }
.league-design .alot.r-rare .alot-rar { color:#7fb6ff; }
.league-design .alot.r-elite .alot-rar { color:#ffd56b; }
.league-design .alot-left { color:var(--lg-text-muted); }
.league-design .alot-b .b.outbid { background:#4a2e14; color:#ffd166; border:1px solid #a26a2a; }
.league-design .alot-b .b.lead { background:#123d33; color:var(--lg-ok); border:1px solid #2c7a62; }
.league-design .league-sell>summary { justify-content:center; gap:8px; border:1px solid #2a7f90; border-radius:10px; min-height:48px; }
.league-design .league-sell>summary small { color:var(--lg-text-muted); font-weight:400; font-size:11px; }
.league-design .league-sell>summary::after { content:none; }
.lc-plus { font-size:20px; font-weight:900; line-height:1; }
/* 2.188: плей-офф по макету — своя серия крупно, чужие пары строкой */
.lc-stage-chip { display:table; margin:2px auto 0; padding:4px 14px; border-radius:6px; background:linear-gradient(#ffe486,#d8ad3c); color:#15212b; font-size:12px; font-weight:900; }
.lc-series-when { text-align:center; font-size:12px; color:#c9dce9; margin:0 0 8px; }
.lc-pair { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:8px; padding:8px 10px 10px; margin:8px 0; border:1px solid var(--lg-line); border-radius:10px; background:linear-gradient(var(--lg-panel-hi),var(--lg-panel-lo)); color:var(--lg-text); text-decoration:none; }
.lc-pair-k { grid-column:1/-1; font-size:11px; color:var(--lg-text-muted); font-weight:700; }
.lc-pair-t { display:flex; align-items:center; gap:6px; min-width:0; }
.lc-pair-t.r { justify-content:flex-end; text-align:right; }
.lc-pair-t b { font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.lc-pair>strong { font-size:20px; font-weight:900; white-space:nowrap; }
.lc-pair.done { opacity:.8; }
.lc-places-link { margin:4px 0 10px; }
/* 2.188: точнее по макету — клуб */
.lc-club>.gcrest { width:72px; height:82px; }
.lc-club strong { font-size:22px; }
.league-design .lc-match .gcrest { width:64px; height:72px; }
.lc-match .lc-versus b { font-size:16px; }
.lc-match .lc-stage { font-size:13px; color:#d3e4f0; margin:8px 0 0; }
.lc-time { font-size:15px; padding:6px 18px; border-radius:16px; }
.lc-ic { width:22px; height:22px; flex:none; }
.lc-warning { align-items:center; gap:10px; min-height:44px; font-size:15px; padding:8px 12px; }
.lc-warning .lc-ic { color:var(--lg-gold); width:24px; height:24px; }
.lc-warning b { flex:1; font-weight:700; color:#ffe594; }
.lc-warning>span { font-size:20px; }
.league-design .lc-action .lc-ic { width:26px; height:26px; }
.lc-sic { width:28px; height:28px; color:#e8f2fa; }
.lc-kit .lc-sic { color:#ff6b7a; }
.lc-shortcuts a { font-size:14px; }
.lc-row svg.lc-row-ic { width:20px; height:20px; color:#dfe9f2; margin-right:10px; flex:none; }
.lc-row { font-size:14px; min-height:42px; }
/* 2.188: точнее по макету — звенья */
.lc-lh { display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:600; color:#b9cbd9; white-space:nowrap; }
.lc-lh .lc-ic { width:15px; height:15px; }
.lc-lh.chem { color:#4fe3ee; }
.lc-lh.warn { color:var(--lg-gold); font-weight:800; }
.lc-en { display:block; height:5px; width:100%; max-width:56px; margin-top:4px; border-radius:3px; background:#24394b; overflow:hidden; }
.lc-en u { display:block; height:100%; background:linear-gradient(90deg,#2fd27a,var(--lg-ok)); text-decoration:none; }
.lc-en.mid u { background:linear-gradient(90deg,#d9b23a,#ffe084); }
.lc-en.low u { background:linear-gradient(90deg,#d9473a,#ff8a6a); }
svg.lc-inj-ic { width:32px; height:32px; padding:0; background:none; color:#ff5468; }
/* 2.188: точнее по макету — плей-офф */
.lc-stage-chip { margin-top:-2px; padding:5px 22px; clip-path:polygon(9% 0,91% 0,100% 50%,91% 100%,9% 100%,0 50%); border-radius:0; font-size:14px; }
.league-design .lc-series-score .gcrest { width:70px; height:80px; }
.lc-series-score>strong { font-size:48px; }
.lc-series-score b { font-size:16px; }
.lc-series-caption { font-size:14px; }
.lc-series-when { display:flex; align-items:center; justify-content:center; gap:8px; font-size:15px; color:#e6f0f7; }
.lc-series-when .lc-ic { width:18px; height:18px; }
.league-design .lc-open { gap:10px; font-size:18px; min-height:50px; }
.league-design .lc-open .lc-ic { width:20px; height:20px; }
.lc-pair { grid-template-columns:1fr auto 1fr; text-align:center; }
.lc-pair-k { text-align:center; font-size:13px; }
.lc-pair-t { flex-direction:column; gap:4px; }
.lc-pair-t b { font-size:15px; max-width:100%; }
.lc-pair>strong { font-size:30px; }
.lc-final { margin:8px 0; padding:8px 12px 12px; border:1px solid var(--lg-line); border-radius:10px; background:linear-gradient(var(--lg-panel-hi),var(--lg-panel-lo)); }
.lc-final-h { display:flex; align-items:center; justify-content:center; gap:6px; margin:0 0 8px; font-weight:800; font-size:15px; color:var(--lg-gold); }
.lc-final-h .lc-ic { width:18px; height:18px; }
.lc-final-row { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:8px; text-align:center; }
.lc-final-row span { display:flex; flex-direction:column; align-items:center; gap:4px; font-size:13px; color:#c9dce9; }
.lc-final-row svg { width:34px; height:34px; color:#8aa6bb; }
.lc-final-row strong { font-size:22px; color:#8aa6bb; }
/* 2.188: точнее по макету — аукцион */
.lc-wallet2 { display:flex; align-items:center; gap:10px; padding:10px 12px; }
.lc-wallet2>a,.lc-wallet2>span { flex:1; display:flex; align-items:center; gap:6px; min-width:0; color:var(--lg-text); text-decoration:none; }
.lc-wallet2>i { width:1px; align-self:stretch; background:var(--lg-line); }
.lc-wallet2 b { font-size:18px; white-space:nowrap; }
.lc-wallet2 span span,.lc-wallet2 small { font-size:13px; color:var(--lg-text-soft); }
.lc-wallet2 .lc-ic { width:26px; height:26px; }
.lc-search { display:flex; gap:8px; align-items:flex-start; }
.lc-search-f { flex:1; display:flex; align-items:center; gap:8px; min-height:44px; padding:0 12px; border:1px solid var(--lg-line); border-radius:8px; background:#0c1e2c; }
.lc-search-f input { flex:1; min-width:0; border:0!important; background:none!important; min-height:42px; padding:0; color:var(--lg-text); box-shadow:none!important; }
.lc-search-f .lc-ic { width:20px; height:20px; color:var(--lg-text-soft); }
.lc-search .lc-filters>summary { display:flex; align-items:center; justify-content:center; width:46px; min-height:44px; border:1px solid var(--lg-line); border-radius:8px; background:#0c1e2c; list-style:none; }
.lc-search .lc-filters>summary::-webkit-details-marker { display:none; }
.lc-search .lc-filters>summary::after { content:none!important; }
.lc-search .lc-filters[open] { flex-basis:100%; order:3; }
.lc-search { flex-wrap:wrap; }
.lc-search .lc-filters[open]>summary { margin-left:auto; }
.lc-found { margin:6px 0 4px; }
.league-design .alot-p b { display:flex; align-items:center; gap:6px; }
.league-design .alot-p b .lc-ic { width:24px; height:24px; }
.league-design .alot-p small { display:flex; align-items:center; gap:6px; text-align:left; line-height:1.15; }
.league-design .alot-p small .lc-ic { width:22px; height:22px; color:#dfe9f2; }
.league-design .alot-b .b.lead { display:inline-flex; align-items:center; gap:5px; background:none; border:0; color:var(--lg-ok); font-size:14px; }
.league-design .alot-b .b.lead .lc-ic { width:18px; height:18px; }
.lc-outbid { display:flex; align-items:center; justify-content:center; gap:8px; margin:6px 0; padding:8px; border:1px solid #a68d36; border-radius:6px; background:linear-gradient(#544823,#302b1c); color:#ffe594; font-size:14px; font-weight:700; }
.lc-outbid .lc-ic { width:20px; height:20px; }
.league-design .league-sell>summary .lc-ic { width:20px; height:20px; }
.league-design .gwallet.lc-wallet2 { display:flex!important; }
.league-design .gwallet.lc-wallet2>a,.league-design .gwallet.lc-wallet2>span { flex-direction:row!important; align-items:center!important; justify-content:center; padding:0!important; border:0!important; background:none!important; box-shadow:none!important; }
.league-design .auction-filter>.lc-search { width:100%; }
.league-design .lc-search-f { flex-direction:row!important; margin:0; }
.league-design .lc-search-f input[type=search] { width:auto; }
/* 2.188: магазин по макету */
.lc-balance { display:flex; align-items:center; justify-content:center; gap:8px; min-height:46px; margin:10px 0 4px; border:1px solid var(--lg-line); border-radius:8px; background:linear-gradient(var(--lg-panel-hi),var(--lg-panel-lo)); color:var(--lg-text); text-decoration:none; }
.lc-balance b { font-size:22px; }
.lc-balance .lc-ic { width:28px; height:28px; }
.lc-shop-meta { text-align:center; margin:4px 0 8px; }
.lc-divider { display:flex; align-items:center; gap:10px; margin:14px 0 8px; font-weight:800; font-size:15px; color:var(--lg-text); }
.lc-divider::before,.lc-divider::after { content:""; flex:1; height:1px; background:linear-gradient(90deg,transparent,#6c8ba1); }
.lc-divider::after { background:linear-gradient(90deg,#6c8ba1,transparent); }
.lc-packs { display:flex; flex-direction:column; gap:10px; }
.lc-pack { display:flex; gap:12px; align-items:center; padding:10px 12px; border:1px solid var(--lg-line); border-radius:10px; background:linear-gradient(120deg,#1a354b,var(--lg-bg)); }
.lc-pack.r-rare { border-color:#2a8fd0; background:linear-gradient(120deg,#133a5c,var(--lg-bg)); }
.lc-pack.r-elite { border-color:#b08a2a; background:linear-gradient(120deg,#3a2f14,var(--lg-bg)); }
.lc-pack-art { width:62px; height:78px; flex:none; filter:drop-shadow(0 3px 6px #0008); }
.lc-pack-b { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.lc-pack-n { font-size:20px; }
.lc-pack-b small { color:var(--lg-text-soft); font-size:13px; }
.lc-pack-b .gp-gain { font-size:11px; color:var(--lg-teal); }
.lc-pack-buy { display:flex; align-items:center; gap:10px; margin-top:4px; }
.lc-pack-buy>i { width:1px; height:24px; background:var(--lg-line); }
.lc-pack-p { display:flex; align-items:center; gap:5px; font-weight:800; font-size:18px; }
.lc-pack-p .lc-ic { width:24px; height:24px; }
.league-design .lc-pack-btn { margin-left:auto; min-height:38px; padding:6px 16px; border-radius:7px; font-weight:800; font-size:15px; position:static; width:auto; }
.league-design .lc-pack-btn.off { background:#24394b!important; color:var(--lg-text-muted)!important; border:1px solid var(--lg-line); font-size:12px; }
.lc-pos-note { display:flex; align-items:center; gap:10px; margin:8px 0; padding:10px 12px; border:1px solid var(--lg-line); border-radius:8px; background:linear-gradient(var(--lg-panel-hi),var(--lg-panel-lo)); font-size:14px; }
.lc-pos-note .lc-ic { width:24px; height:24px; }
/* 2.188: коллекция по макету — 3 вкладки, карточки по две, рейтинг плашкой в углу, статус */
.lc-seg3 { display:grid!important; grid-template-columns:repeat(3,1fr); }
.lc-seg3 b { margin-left:4px; }
.lc-coll-link { margin:8px 0; }
.league-design .groster .pcards { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:10px; }
.league-design .pcards .pcard .pcard-btn { padding-bottom:8px; }
.league-design .pcards .pcard .pc-top { position:absolute!important; left:auto!important; right:6px; top:6px; z-index:3; padding:2px 6px!important; min-height:0!important; border-radius:6px; background:linear-gradient(#ffe486,#d8ad3c); }
.league-design .pcards .pcard .pc-ovr { color:#15212b; font-size:22px!important; }
.league-design .pcards .pcard .pc-pos { display:none; }
.league-design .pcards .pcard .pc-tags { left:6px; right:auto!important; }
.league-design .pcards .pcard .pc-face { aspect-ratio:1/0.9; object-position:50% 25%; border-top:0; margin-top:6px; }
.league-design .pcards .pcard .pc-name { margin:2px 6px 0; font-size:15px; }
.league-design .pcards .pcard .pc-st { display:none; }
.pc-rar { display:block; font-size:12px; font-weight:700; color:var(--lg-text-soft); }
.pcard.r-rare .pc-rar { color:#4fd0ff; }
.pcard.r-elite .pc-rar { color:#ffd56b; }
.pc-status { display:flex; align-items:center; justify-content:center; gap:5px; margin:6px 8px 0; padding:4px 6px; border-radius:6px; font-size:13px; font-weight:700; }
.pc-status svg { width:16px; height:16px; }
.pc-status.in { color:#cfffe6; background:#16503a; border:1px solid #2fae78; }
.pc-status.res { color:#d6e4ef; background:#1b3043; border:1px solid var(--lg-line); }
.league-design .lc-pack-art { width:72px; height:94px; }
.league-design .lc-pack .lc-pack-btn:not(.off) { background:linear-gradient(var(--lg-btn-hi),var(--lg-btn-lo))!important; color:var(--lg-on-accent)!important; border:1px solid var(--lg-cyan)!important; }
.league-design .lc-pack-n { font-size:22px; }
.league-design .gpos label input:checked+span { background:linear-gradient(var(--lg-btn-hi),var(--lg-btn-lo))!important; color:var(--lg-on-accent)!important; border-color:var(--lg-cyan)!important; }
.league-design .gpos label input:checked+span small { color:#04384a; }
/* 2.188: «За места» по макету */
.gplaces-intro { display:none; }
.gplaces-seg { margin:6px 0 10px; }
.gplaces-card { position:relative; margin:8px 0 12px; padding:6px 10px 10px; border:1px solid #6fb7d6; border-radius:10px; background:linear-gradient(#123049,#0a1c2b); box-shadow:0 0 14px #2fd8ec22; }
.gplaces-card.done { border-color:var(--lg-line); box-shadow:none; }
.gplaces-step,.gplaces-heading p { display:none; }
.lc-prizes { padding:10px 14px; }
.lc-prizes dl { margin:0; }
.lc-prizes dl>div { display:flex; justify-content:space-between; padding:6px 0; border-top:1px solid #ffffff12; font-size:15px; }
.lc-prizes dt { color:#dfe9f2; }
.lc-prizes dd { margin:0; font-weight:800; }
/* 2.188: профиль клуба по макету */
.lc-prof-head .lc-settings { display:flex; align-items:center; gap:6px; padding:8px 10px; border:1px solid #6c8ba1; border-radius:8px; color:var(--lg-text); text-decoration:none; font-size:13px; font-weight:700; white-space:nowrap; }
.lc-prof-head .lc-settings .lc-ic { width:18px; height:18px; }
.lc-prof-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:0 0 12px; }
.lc-prof-stats>span { display:flex; flex-direction:column; align-items:center; gap:2px; padding:10px 4px; border:1px solid var(--lg-line); border-radius:10px; background:linear-gradient(var(--lg-panel-hi),var(--lg-panel-lo)); }
.lc-prof-stats svg { width:24px; height:24px; color:#dfe9f2; }
.lc-prof-stats svg.gold { color:var(--lg-gold); }
.lc-prof-stats small { font-size:13px; color:#dfe9f2; }
.lc-prof-stats b { font-size:26px; line-height:1.1; }
.lc-prof-box { padding:10px 12px; }
.lc-prof-h { margin:0 0 6px; font-weight:800; font-size:16px; }
.lc-prof-m { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:8px; padding:7px 0; border-top:1px solid #ffffff12; color:var(--lg-text); text-decoration:none; }
.lc-prof-m>span { display:flex; align-items:center; gap:6px; min-width:0; }
.lc-prof-m>span.r { justify-content:flex-start; }
.lc-prof-m b { font-size:14px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.lc-prof-m em { font-style:normal; font-weight:900; font-size:16px; padding:3px 10px; border-radius:6px; }
.lc-prof-m em.w { background:#1f9d55; color:#fff; }
.lc-prof-m em.l { background:#d7263d; color:#fff; }
.lc-medals { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; text-align:center; }
.lc-medal { display:flex; flex-direction:column; align-items:center; gap:4px; opacity:.45; }
.lc-medal.got { opacity:1; }
.lc-medal i { font-style:normal; font-size:34px; width:58px; height:58px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:radial-gradient(#e7b86a,#8a5a1e); box-shadow:0 0 0 3px #c99a4a55; }
.lc-medal b { font-size:13px; }
.lc-history>summary { display:flex; align-items:center; justify-content:center; gap:10px; min-height:46px; font-weight:800; font-size:16px; list-style:none; cursor:pointer; }
.lc-history>summary::-webkit-details-marker { display:none; }
.lc-history>summary .lc-ic { width:22px; height:22px; }
/* 2.188: матч в оболочке Лиги — во время управления нижнюю панель Лиги заменяет пульт матча */
.match-focus .lc-bottom { display:none!important; }
.match-focus main.league-design { padding-bottom:calc(var(--gh-dock-height,110px) + 28px); }
.shootout-focus .lc-bottom { display:none!important; }
.lc-match-page .btn:disabled,.lc-match-page button.btn[disabled],.lc-match-page .gh-dock button:disabled { background:#24394b!important; color:var(--lg-text-muted)!important; border-color:#3a5368!important; box-shadow:none!important; }
.match-focus .lc-menu { z-index:5; }
.match-focus .lc-brand { position:relative; z-index:1; }
.league-design .gh-dock { width:min(480px,100%); }

/* 2.189: compact collection controls and comfortable mobile targets. */
.league-design .lc-search input{width:100%;min-height:46px;background:#112a3d;border:1px solid #6c8ba1;border-radius:8px;color:var(--lg-text);padding:10px 12px}
.league-design .lc-filter-panel{margin:8px 0 12px;border:1px solid var(--lg-line);border-radius:8px;padding:0 10px;background:linear-gradient(var(--lg-panel-hi),var(--lg-panel-lo))}
.league-design .lc-filter-panel summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:700}
.league-design [data-roster] [hidden]{display:none!important}
.league-design .lc-pack-btn,.league-design .lc-seg3 a,.league-design .gplaces-seg a{min-height:44px}
.league-design .lc-prof-head>div{flex:1;min-width:120px}
.league-design .lc-prof-head .lc-settings{margin-left:auto;min-height:44px;box-sizing:border-box}
.league-design .pcard.r-common .pc-top{background:linear-gradient(#edf3f7,#98acbb)}
.league-design .pcard.r-rare .pc-top{background:linear-gradient(#b1f7ff,#49c7e6)}

/* 2.190: same concept components on every League screen. */
.league-design{--league-accent:#2aebf3;--lc-panel:linear-gradient(120deg,#19354b,var(--lg-bg));--lc-border:#648296}
.lc-version{display:block;padding:10px 12px;color:#aac3d5;font-size:12px}
.league-design .lc-opponent{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid var(--lc-border);border-radius:8px;background:var(--lc-panel);padding:10px;margin:8px 0}
.league-design .lc-opponent .gcrest{width:38px;height:44px}
.league-design .lc-opponent .gopp-n{min-width:0}
.league-design .lc-opponent .gopp-n b{white-space:normal;overflow-wrap:anywhere;color:var(--lg-text)}
.league-design .lc-opponent .btn{min-height:44px}
.league-design .gdays-s{display:flex;gap:5px;overflow-x:auto;padding:4px 0 10px;scrollbar-width:thin}
.league-design .gdays-s a{flex:1 0 46px;min-height:48px;border:1px solid var(--lc-border);border-radius:7px;background:var(--lc-panel);color:#d7e7f3;display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none}
.league-design .gdays-s a.on{background:linear-gradient(var(--lg-btn-hi),var(--lg-btn-lo));color:var(--lg-on-accent);border-color:var(--lg-cyan)}
.league-design .gdr-res,.league-design .gm-row{border:1px solid var(--lg-line);border-radius:8px;background:var(--lc-panel);margin:8px 0;padding:12px 8px;color:var(--lg-text);min-height:62px}
.league-design .gdr-res.me,.league-design .gm-row.mine{border-color:#48d7ed;box-shadow:0 0 10px #2fd8ec18}
.league-design .gm-score>span,.league-design .gdr-res>b>span{font-weight:900;color:#fff}
.league-design .genf-card{border:1px solid var(--lc-border);border-radius:10px;background:var(--lc-panel);box-shadow:none}
.league-design .genf-title{color:var(--lg-text);text-shadow:none;font-style:normal}
.league-design .genf-tag{color:var(--lg-text-soft);background:transparent;border:0}
.league-design .genf-btn:not(.off){background:linear-gradient(var(--lg-btn-hi),var(--lg-btn-lo));color:var(--lg-on-accent);border:1px solid var(--lg-cyan);min-height:44px}
.league-design .genf-btn.off{background:#24394b;color:var(--lg-text-muted);border:1px solid var(--lg-line)}
.league-design .gasst-shop{background:var(--lc-panel);border:1px solid var(--lc-border);border-radius:10px}
.league-design .gsub a,.league-design .gseg a{min-height:44px;align-items:center;justify-content:center}
.league-design .lc-tournament-menu>summary{color:#c6dce9;padding:10px;border:1px solid var(--lg-line);border-radius:8px;background:var(--lc-panel)}
.league-design .gcat-item,.league-design .glead-i{background:var(--lc-panel);border:1px solid var(--lg-line);border-radius:8px}
.league-design dialog{color:var(--lg-text);background:var(--lg-bg);border:1px solid #648296;border-radius:12px}
.league-design input,.league-design select,.league-design textarea{color:var(--lg-text);background:#112a3d;border-color:#648296}

.league-design:not(.lc-match-page) .btn.red{background:linear-gradient(var(--lg-btn-hi),var(--lg-btn-lo));color:var(--lg-on-accent);border:1px solid var(--lg-cyan);box-shadow:inset 0 1px #c2ffff80,0 2px 9px #00bfd333}
.league-design .gopp-why{color:var(--lg-text-soft);font-size:12px}

.lc-cup-links{display:flex;flex-wrap:wrap;gap:8px 16px;margin:10px 0 14px;font-size:13px}.lc-cup-links a{color:#b8d4e8;padding:6px 0}
.lc-cup-status{display:flex;flex-direction:column;gap:6px;padding:12px;margin:12px 0;border:1px solid #4cbbcf;border-radius:10px;background:linear-gradient(120deg,#153d51,var(--lg-bg))}
.lc-cup-status small{color:#b8d4e8}.lc-cup-status strong{font-size:18px}.lc-cup-status .btn{margin-top:4px}
.league-design .gstandings tr.me{--row:#144552;background:#144552}.league-design .gplaces-seg{display:flex}.league-design .gplaces-seg a{flex:1}
/* 2.194: «Кубок» — главная карточка по этапу недели */
.lc-cup-hero { margin:10px 0 12px; padding:12px 14px 14px; border:1px solid #6fb7d6; border-radius:12px; background:linear-gradient(#0c3c5966,#0a1c2bee),url('/static/league-arena183.png') center/cover; box-shadow:0 0 14px #2fd8ec22; text-align:center; }
.lc-cup-hero.champ { border-color:#d8ad3c; box-shadow:0 0 18px #ffd56b33; }
.lc-cup-hero-k { display:flex; align-items:center; justify-content:center; gap:6px; margin:0 0 6px; font-size:12px; font-weight:800; color:var(--lg-teal); text-transform:uppercase; letter-spacing:.4px; }
.lc-cup-hero-k .lc-ic { width:16px; height:16px; color:var(--lg-gold); }
.lc-cup-hero-big { margin:2px 0; font-size:22px; font-weight:900; color:var(--lg-text); }
.lc-cup-hero-big small { display:block; font-size:13px; font-weight:600; color:var(--lg-text-soft); }
.lc-cup-hero-sub { margin:4px 0; font-size:13px; color:#c9dce9; }
.lc-cup-hero-sub.ok,.lc-cup-hero-ok { color:var(--lg-ok); font-weight:700; }
.lc-cup-hero-sub.bad { color:#ffb36b; }
.lc-cup-hero-trophy { font-size:44px; line-height:1; }
.lc-cup-hero-champ .gchamp2-k { margin:4px 0 0; color:#ffd56b; font-weight:800; }
.lc-cup-hero-next { display:flex; flex-direction:column; gap:6px; margin-top:10px; padding:10px; border:1px solid var(--lg-line); border-radius:10px; background:#0a1e30cc; color:var(--lg-text); text-decoration:none; }
.lc-cup-hero-next>span:first-child { font-size:12px; color:var(--lg-text-muted); }
.lc-cup-hero-next.live>span:first-child { color:#ff8a8a; font-weight:800; }
.lc-cup-hero-next b { display:flex; align-items:center; justify-content:center; gap:8px; font-size:16px; }
.lc-cup-hero-next b small { font-weight:400; color:var(--lg-text-muted); }
.lc-cup-hero-cal { display:inline-flex; align-items:center; gap:6px; margin-top:10px; color:var(--lg-teal); font-weight:700; font-size:14px; text-decoration:none; }
.lc-cup-hero-cal .lc-ic { width:18px; height:18px; }
.lc-cup-rules { margin-top:12px; }
.lc-cup-rules>summary { font-weight:800; cursor:pointer; }
/* 2.195: кубок чемпиона с гравировкой */
.lc-cup-hero-trophy { display:block; margin:2px auto 0; line-height:0; filter:drop-shadow(0 6px 14px #0009); }
.lc-cup-hero-trophy .lc-trophy { display:inline-block; }
.ghall-tr { display:inline-flex; margin-right:6px; vertical-align:middle; }

/* 2.196: the approved compact foil-pack storefront. */
.league-design .lc-packs{gap:9px}
.league-design .lc-pack{gap:12px;padding:7px 10px;border:1px solid #7299b0;border-radius:10px;background:linear-gradient(120deg,#17384d 0%,#0b2131 58%,#061a28 100%);box-shadow:inset 0 1px 7px #b9e8ff12;min-height:102px;box-sizing:border-box}
.league-design .lc-pack.r-rare{border-color:#3daccd;background:linear-gradient(120deg,#10354d,#071d2c)}
.league-design .lc-pack.r-elite{border-color:#a89547;background:linear-gradient(120deg,#283322,#071d2c)}
.lc-foil{position:relative;display:block;flex:none;width:72px;height:96px;transform:skewY(-3deg);filter:drop-shadow(0 2px 3px #0008)}
.lc-foil-wrap{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}
.r-rare .lc-foil-wrap{filter:sepia(1) saturate(5) hue-rotate(145deg)}
.r-elite .lc-foil-wrap{filter:sepia(1) saturate(3.8) hue-rotate(2deg)}
.lc-foil-logo{position:absolute;left:17%;top:27%;width:66%;height:auto;filter:drop-shadow(0 1px 2px #001b)}
.league-design .lc-pack-b{gap:2px}
.league-design .lc-pack-n{font-size:23px;line-height:1.1}
.league-design .lc-pack-b small{font-size:13px;color:#c6dce9}
.league-design .lc-pack-buy{gap:8px;margin-top:5px}
.league-design .lc-pack-p{font-size:18px;white-space:nowrap;gap:3px}
.league-design .lc-pack-p .lc-ic{width:22px;height:22px}
.league-design .lc-pack-buy>i{height:22px}
.league-design .lc-pack-btn{padding:6px 12px;font-size:15px;min-height:40px;white-space:nowrap}
.league-design .lc-pack-btn.off{background:linear-gradient(#8a99a4,#536571)!important;color:#f0f5f8!important;border-color:#a0b5c1;font-size:12px;padding:6px 8px}
.lc-lottery-note{text-align:center;color:var(--lg-text-soft);font-size:13px;margin:10px 0}
@media(max-width:350px){.league-design .lc-pack{gap:8px;padding-inline:8px}.lc-foil{width:60px;height:84px}.league-design .lc-pack-n{font-size:21px}.league-design .lc-pack-btn{font-size:13px;padding-inline:9px}.league-design .lc-pack-p{font-size:16px}.league-design .lc-pack-p .lc-ic{width:19px}}
/* 2.198: в оболочке Лиги переключатели разделов не липнут — к верху экрана прилипает только шапка таблицы */
.league-design .gsub-stick { position:static; box-shadow:none; }
/* 2.199: открытие карточки после покупки — компактно, в один экран */
.lc-reveal { display:flex; flex-direction:column; align-items:center; gap:10px; margin:10px 0 16px; text-align:center; }
.lc-reveal-k { margin:0; font-size:18px; font-weight:900; color:var(--lg-text); }
.lc-reveal.star .lc-reveal-k { color:#ffd56b; }
.lc-reveal-card { width:min(240px,70vw); }
.lc-reveal-card .pcard { width:100%; }
.lc-reveal-card .pcard .pc-st { display:grid!important; }
.lc-reveal-card.shine .pcard-btn { box-shadow:0 0 22px #ffd56b88; }
.lc-reveal-info { margin:0; font-size:14px; color:#c9dce9; }
.lc-reveal-act { display:grid; grid-template-columns:1fr 1fr; gap:8px; width:100%; max-width:360px; }
.lc-reveal-act .btn:nth-child(2) { grid-column:2; }
.lc-reveal-act .btn:last-child { grid-column:1/-1; }
.lc-reveal .lc-reveal-card.pcards { display:block!important; }
@media (prefers-reduced-motion: no-preference) { .lc-reveal-card.flip-in { animation:gflip .7s cubic-bezier(.2,.7,.3,1) both; } }

/* 2.200: auction composition aligned with the approved concept. */
.league-design .alots{gap:10px;margin:10px 0 14px}
.league-design .alot{padding:10px 12px;border:1px solid #668ba2;border-radius:10px;background:linear-gradient(115deg,#1a3549,#0b1f2e);box-shadow:inset 0 1px #d5f4ff18}
.league-design .alot-btn{height:auto;min-height:0;grid-template-columns:96px minmax(0,1fr);grid-template-rows:auto auto auto auto;gap:3px 10px;align-content:start;opacity:1!important;box-shadow:none!important;border:0;border-radius:0;transform:none}
.league-design .alot-ph{grid-row:1/5;width:96px;height:108px;border:0;border-radius:6px;aspect-ratio:auto;background:#081c2a}
.league-design .alot-ph img{object-fit:cover;object-position:center 22%}
.league-design .alot-n{margin:0;white-space:normal;overflow:visible;font:800 19px/1.15 Arial,sans-serif;gap:8px;align-self:start}
.league-design .alot-n>span{min-width:0;overflow-wrap:anywhere}
.league-design .alot .alot-n .alot-r{font:800 23px/1 Arial,sans-serif;min-width:34px;padding:3px 6px;border-radius:5px;background:linear-gradient(#ffe694,#d7a735)!important;color:#14212c!important;box-shadow:inset 0 1px #fff7;box-sizing:border-box}
.league-design .alot-s{font:400 14px/1.25 Arial,sans-serif;white-space:normal;color:#bdd2df;padding-bottom:6px;border-bottom:1px solid #668ba24d}
.league-design .alot.r-rare .alot-rar{color:#5eebec;font-weight:700}
.league-design .alot-p{grid-column:2;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;margin:3px 0 0;justify-content:normal}
.league-design .alot-p b{font:800 25px/1.15 Arial,sans-serif;white-space:nowrap;gap:4px}
.league-design .alot-p b .lc-ic{width:25px;height:25px;flex:none}
.league-design .alot-p small{margin:0;padding-left:10px;border-left:1px solid #718e9f;max-width:none;font:700 13px/1.15 Arial,sans-serif;gap:7px;min-height:30px}
.league-design .alot-left{font-size:11px;color:#d3e1eb;font-weight:400}
.league-design .alot-p small .lc-ic{width:22px;height:22px;flex:none}
.league-design .lc-leading{display:flex;align-items:center;gap:4px;color:#73ecda;font-size:13px;white-space:normal}
.league-design .alot-b{grid-column:2;grid-row:4;font-size:11px;align-self:end;min-height:0}
.league-design .alot-b:empty{display:none}
.league-design .lc-outbid{margin:7px 0 8px;padding:6px 8px;min-height:34px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #b18f43;border-radius:7px;color:#ffe184;background:linear-gradient(#645329,#332c1c);font:700 15px/1.2 Arial,sans-serif}
.league-design .lc-outbid .lc-ic{width:23px;height:23px}
.league-design .lc-bid{margin-top:8px;min-height:40px;border-radius:7px;font:800 19px/1.15 Arial,sans-serif;padding:7px;background:linear-gradient(#45f2fa,#00bfd6)!important;color:var(--lg-on-accent)!important}
.league-design .lc-details{margin:0 0 -3px auto;min-height:28px;font-size:13px;padding:3px 0;color:#d8e7f1}
.league-design .auction-filter{gap:0;margin:12px 0}
.league-design .lc-found:empty{display:none}
.league-design .auction-filter .lc-search input{min-height:42px;font:400 15px Arial,sans-serif;padding-block:9px}
.league-design .lc-wallet2{padding:10px 12px;gap:10px;font:400 13px Arial,sans-serif}
.league-design .lc-wallet2 b{font-size:19px;white-space:nowrap}
.league-design .lc-wallet2 small,.league-design .lc-wallet2 a>span{font-size:12px}
.league-design .lc-wallet2 .lc-ic{width:24px;height:24px;flex:none}
.league-design .league-sell{padding:0;border:1px solid #64b5ca;border-radius:8px;background:linear-gradient(#183246,#0a1e2c);margin:12px 0}
.league-design .league-sell>summary{min-height:44px;display:flex;align-items:center;justify-content:center;gap:10px;font:700 17px Arial,sans-serif;list-style:none}
.league-design .league-sell>summary::-webkit-details-marker{display:none}
.league-design .league-sell>summary small{display:none}
.league-design .league-sell>form{padding:12px}
@media(max-width:360px){.league-design .alot{padding:9px}.league-design .alot-btn{grid-template-columns:78px minmax(0,1fr);gap:3px 8px}.league-design .alot-ph{width:78px;height:99px}.league-design .alot-n{font-size:16px}.league-design .alot-s{font-size:12px}.league-design .alot-p{gap:6px}.league-design .alot-p b{font-size:21px}.league-design .alot-p small{font-size:11px;padding-left:6px;gap:4px}.league-design .alot-p b .lc-ic{width:21px}.league-design .lc-leading{font-size:11px}.league-design .lc-wallet2{padding:8px;gap:6px}.league-design .lc-wallet2 b{font-size:16px}}

.league-design .alot.lead .alot-p{gap:6px}
.league-design .alot.lead .alot-p b{font-size:23px;gap:2px}
.league-design .alot.lead .alot-p b .lc-ic{width:21px}
.league-design .alot.lead .alot-p small{padding-left:6px}
.league-design .lc-leading{font-size:12px;gap:3px}
.league-design .lc-leading .lc-ic{width:18px!important;height:18px!important}
@media(max-width:360px){.league-design .alot.lead .alot-p b{font-size:19px}.league-design .lc-leading{font-size:11px}}

/* 2.208: идущий Кубок недели на странице «Лига» для гостя — карточка-ссылка */
.gcup-guest { display:block; color:inherit; text-decoration:none; }
.gcup-guest .section-title { margin:0 0 4px; }
.gcup-guest p:last-child { margin-bottom:0; color:var(--lg-info); }

/* 2.209: «Спокойный» темп — часы стоят, пока выбирают ход */
.gclk-hold { display:block; font-size:11px; letter-spacing:.04em; color:var(--lg-info); animation:gclkHold .9s var(--ease-in-out) 1; }
@keyframes gclkHold { 50% { opacity:.35; } }
@media (prefers-reduced-motion: reduce) { .gclk-hold { animation:none; } }
.gmini .gclk-hold { display:inline; margin-left:6px; font-size:10px; }
.gh-clk .gclk-hold { display:inline; margin-left:4px; font-style:normal; font-size:10px; }

/* 2.211: заявка — четыре сегмента «Все / В составе / Резерв / Вне заявки» (вместо отдельного блока «Коллекция и отображение») */
.league-design .lc-seg4 { grid-template-columns:repeat(4,1fr); }
.league-design .lc-seg4 a { display:flex; flex-direction:column; gap:1px; padding:4px 2px; font-size:12px; line-height:1.15; text-align:center; }
.league-design .lc-seg4 b { margin-left:0; font-size:13px; }
.lc-view-toggle { margin:8px 0 4px; font-size:13px; }
/* 2.211: на экране клуба четыре плитки — «План» (тактика, схема, штаб) рядом со звеньями */
.league-design .lc-shortcuts { grid-template-columns:repeat(4,1fr); gap:7px; }
.league-design .lc-shortcuts a { font-size:12px; text-align:center; line-height:1.15; padding:8px 2px; }

/* 2.211: «Как играть» — вопросы по темам, ответ по нажатию */
.lc-faq .lc-faq-h { margin:14px 0 6px; font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--lg-info); }
.lc-faq .lc-faq-q { border-top:1px solid #ffffff14; }
.lc-faq .lc-faq-q > summary { padding:10px 22px 10px 0; font-weight:700; cursor:pointer; list-style:none; position:relative; }
.lc-faq .lc-faq-q > summary::-webkit-details-marker { display:none; }
.lc-faq .lc-faq-q > summary::after { content:"›"; position:absolute; right:4px; top:8px; transition:transform .15s; color:var(--lg-info); }
.lc-faq .lc-faq-q[open] > summary::after { transform:rotate(90deg); }
.lc-faq .lc-faq-q > p { margin:0 0 12px; color:#d9e8f2; line-height:1.45; }
/* 2.211: правила кубка — пунктами */
.lc-rules { margin:6px 0 0; padding-left:18px; display:grid; gap:7px; font-size:14px; line-height:1.4; }
.lc-rules li::marker { color:var(--lg-info); }
/* 2.211: контурные иконки в заголовках вместо цветных эмодзи */
.lc-hic { width:18px; height:18px; vertical-align:-3px; margin-right:6px; color:var(--lg-info); flex:none; }
/* 2.213: плашка итога появляется после полёта шайбы */
.gh-ice.gh-fx-run .gh-banner { animation:gh-banner-in .26s ease-out both; animation-delay:var(--gh-fx-delay,600ms); transform-box:fill-box; transform-origin:center; }
@keyframes gh-banner-in { from { opacity:0; transform:scale(.86); } to { opacity:1; transform:scale(1); } }
.gh-scoreline b { display:inline-block; }
@media (prefers-reduced-motion: reduce) { .gh-ice.gh-fx-run .gh-banner { animation:none; } }
/* 2.214: подарки — строкой, как пачки: фольга редкости с бантом, «Бесплатно» вместо цены */
.lc-gifts { margin-bottom:6px; }
.lc-gift-bow { position:absolute; right:-6px; top:-6px; width:26px; height:26px; padding:4px; border-radius:50%; background:#0b2131; border:1px solid var(--lg-cyan); color:var(--lg-cyan); transform:skewY(3deg); }
.lc-gift-free { font-size:15px; color:var(--lg-teal); }
.lc-gift-free .lc-ic { width:20px; height:20px; color:var(--lg-teal); }
.league-design .lc-gift-ex { margin-top:2px; padding:0; font-size:12px; text-align:left; }
.league-design .lc-gift-ex > summary { min-height:0; padding:4px 0 0; color:var(--lg-text-muted); cursor:pointer; text-decoration:underline dotted; text-underline-offset:3px; }
.lc-gift-ex p { margin:4px 0; font-size:12px; color:var(--lg-text-soft); }
