/* ═══ «Тренерская» (coach.js) и данные клуба на сайте (club.js) ═══ */
:root { --cr-bg: #f3f6fc; --cr-card: #fff; --cr-line: rgba(200, 210, 230, .7); --cr-blue: #2563eb; --cr-navy: #0f172a; --cr-muted: #64748b; --cr-orange: #f97316; }

/* вход */
.cr-entry { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 10px; margin-right: 8px; border: 0; border-radius: 14px; cursor: pointer;
  font: 700 .82rem var(--font-body, inherit); color: #fff; background: linear-gradient(135deg, #fb923c, #f97316 55%, #ea580c); box-shadow: 0 8px 18px -10px rgba(234, 88, 12, .85); }
.cr-entry i { font-style: normal; font-size: 1.05rem; }
.cr-entry:hover { transform: translateY(-1px); }
.cr-entry[hidden] { display: none; }
@media (max-width: 1100px) { .cr-entry span { display: none; } .cr-entry { padding: 0; width: 40px; justify-content: center; } }
@media (max-width: 760px) { .cr-entry { display: none !important; } }
.cr-entry2[hidden] { display: none; }

/* оболочка */
html.cr-open { overflow: hidden; }
.cr { position: fixed; inset: 0; z-index: 2600; background: rgba(15, 23, 42, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .2s; }
.cr.show { opacity: 1; pointer-events: auto; }
.cr-in { position: absolute; inset: 14px; display: grid; grid-template-columns: 236px minmax(0, 1fr); border-radius: 26px; overflow: hidden; background: var(--cr-bg); box-shadow: 0 30px 90px -20px rgba(15, 23, 42, .6);
  transform: translateY(12px) scale(.99); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.cr.show .cr-in { transform: none; }
.cr-side { display: flex; flex-direction: column; gap: 6px; padding: 18px 12px; color: #fff; background: radial-gradient(140% 90% at 0% 0%, #3b82f6 0%, #2563eb 48%, #1d4ed8 100%); }
.cr-brand { display: flex; gap: 10px; align-items: center; padding: 4px 8px 16px; }
.cr-brand i { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-style: normal; font-size: 1.4rem; background: linear-gradient(135deg, #fb923c, #ea580c); box-shadow: 0 8px 18px -10px rgba(234, 88, 12, .9); }
.cr-brand b { display: block; font: 800 1.1rem var(--font-display, inherit); } .cr-brand small { opacity: .7; font-size: .72rem; }
.cr-nav { display: flex; flex-direction: column; gap: 3px; }
.cr-nav button, .cr-link { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 13px; background: none; color: rgba(255, 255, 255, .82); font: 600 .9rem var(--font-body, inherit); cursor: pointer; text-align: left; }
.cr-nav button i { font-style: normal; width: 22px; text-align: center; }
.cr-nav button:hover, .cr-link:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.cr-nav button.on { background: #fff; color: #1d4ed8; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); }
.cr-nav em, .cr-link em { margin-left: auto; font-style: normal; font: 800 .7rem var(--font-body, inherit); min-width: 20px; padding: 1px 6px; border-radius: 8px; background: var(--cr-orange); color: #fff; text-align: center; }
.cr-nav em:empty, .cr-link em:empty { display: none; }
.cr-side-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .14); }
.cr-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.cr-top { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--cr-line); background: rgba(255, 255, 255, .7); }
.cr-title { flex: 1; min-width: 0; } .cr-title b { display: block; font: 800 1.35rem var(--font-display, inherit); color: var(--cr-navy); } .cr-title small { color: var(--cr-muted); font-size: .8rem; }
.cr-grp { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: #e8eef9; } .cr-grp[hidden] { display: none; }
.cr-grp button { padding: 8px 14px; border: 0; border-radius: 11px; background: none; font: 700 .82rem var(--font-body, inherit); color: #475569; cursor: pointer; }
.cr-grp button.on { background: #fff; color: var(--cr-blue); box-shadow: 0 4px 12px -6px rgba(37, 99, 235, .5); }
.cr-x { flex: none; width: 40px; height: 40px; border: 0; border-radius: 14px; display: grid; place-items: center; background: #e8eef9; color: #334155; cursor: pointer; }
.cr-x.sm { width: 32px; height: 32px; border-radius: 11px; }
.cr-x:hover { background: #dbe4f5; }
.cr-body { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 18px 22px 40px; display: flex; flex-direction: column; gap: 14px; }

/* карточки и элементы */
.cr-card { background: var(--cr-card); border-radius: 20px; padding: 16px 18px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 30px -18px rgba(15, 23, 42, .25); min-width: 0; }
.cr-card.is-off { background: #fff7ed; } .cr-card.is-arch { opacity: .6; }
.cr-card-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 10px; font: 800 .98rem var(--font-display, inherit); color: var(--cr-navy); }
.cr-card-h .cr-muted { font: 500 .8rem var(--font-body, inherit); }
.cr-right { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.cr-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cr-grid2.wide { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
.cr-muted { color: var(--cr-muted); font-size: .84rem; }
.cr-big { font: 800 1.12rem var(--font-display, inherit); color: var(--cr-navy); margin: 2px 0 4px; }
.cr-row { margin: 8px 0 2px; } .cr-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; } .cr-acts.top { margin: 0; }
.cr-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 0; border-radius: 12px; background: #eef2fa; color: #1e293b; font: 700 .82rem var(--font-body, inherit); cursor: pointer; white-space: nowrap; }
.cr-btn:hover { background: #e2e8f5; } .cr-btn:disabled { opacity: .6; cursor: default; }
.cr-btn.pri { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; box-shadow: 0 8px 18px -10px rgba(29, 78, 216, .9); }
.cr-btn.warn { background: #fff1e6; color: #c2410c; } .cr-btn.warn:hover { background: #ffe4d1; }
.cr-btn.ok { background: #dcfce7; color: #15803d; }
.cr-btn.sm { padding: 6px 10px; font-size: .76rem; border-radius: 10px; }
.cr-icon { width: 30px; height: 30px; border: 0; border-radius: 10px; background: #f1f5f9; color: #475569; cursor: pointer; }
.cr-icon.warn { color: #c2410c; background: #fff1e6; }
.cr-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 9px; background: #eef2fa; color: #334155; font: 700 .74rem var(--font-body, inherit); white-space: nowrap; }
.cr-pill.ok { background: #dcfce7; color: #15803d; } .cr-pill.no { background: #fff1e6; color: #c2410c; }
.cr-tag { display: inline-block; padding: 2px 8px; border-radius: 8px; font: 800 .68rem var(--font-body, inherit); text-transform: uppercase; letter-spacing: .03em; background: #eef2fa; color: #334155; }
.cr-tag.off { background: #fee2d5; color: #c2410c; } .cr-tag.mv { background: #fef3c7; color: #a16207; } .cr-tag.ex { background: #dbeafe; color: #1d4ed8; } .cr-tag.ok { background: #dcfce7; color: #15803d; }
.cr-live, .cr-today { padding: 2px 8px; border-radius: 8px; font: 800 .68rem var(--font-body, inherit); text-transform: uppercase; }
.cr-live { background: #dcfce7; color: #15803d; } .cr-today { background: #dbeafe; color: #1d4ed8; }
.cr-li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #f1f5f9; }
.cr-li:first-of-type { border-top: 0; }
.cr-li > div:first-child { flex: 1; min-width: 0; } .cr-li b { color: var(--cr-navy); font-size: .9rem; } .cr-li small { display: block; color: var(--cr-muted); font-size: .76rem; }
.cr-li-r { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.cr-prog { position: relative; width: 90px; height: 8px; border-radius: 6px; background: #eef2fa; overflow: hidden; }
.cr-prog i { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: linear-gradient(90deg, #22c55e, #16a34a); }
.cr-prog.big { width: 100%; height: 26px; border-radius: 10px; margin: 6px 0 10px; } .cr-prog.big span { position: relative; display: block; text-align: center; font: 700 .76rem/26px var(--font-body, inherit); color: #14532d; }
.cr-hint { margin: 10px 0 0; color: var(--cr-muted); font-size: .76rem; }
.cr-empty { padding: 40px 20px; text-align: center; color: var(--cr-muted); background: #fff; border-radius: 20px; }
.cr-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cr-q { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px; border: 0; border-radius: 18px; background: #fff; cursor: pointer; font: 700 .86rem var(--font-body, inherit); color: var(--cr-navy); box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .3); }
.cr-q i { font-style: normal; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: #eff6ff; font-size: 1.1rem; }
.cr-q:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -18px rgba(37, 99, 235, .45); }

/* таблицы */
.cr-tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .84rem; }
.cr-tbl th { padding: 6px 6px; text-align: center; color: var(--cr-muted); font: 700 .7rem var(--font-body, inherit); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.cr-tbl td { padding: 5px 6px; text-align: center; border-top: 1px solid #f1f5f9; }
.cr-tbl .l { text-align: left; } .cr-tbl td.w { width: 40%; }
.cr-tbl input, .cr-tbl select, .cr-f input, .cr-f select, .cr-f textarea, .cr-note-add textarea { width: 100%; padding: 8px 10px; border: 1px solid #dde4f0; border-radius: 11px; background: #fff; font: 500 .86rem var(--font-body, inherit); color: var(--cr-navy); }
.cr-tbl input:focus, .cr-tbl select:focus, .cr-f input:focus, .cr-f select:focus, .cr-f textarea:focus, .cr-note-add textarea:focus { outline: 0; border-color: #93c5fd; box-shadow: 0 0 0 3px rgba(59, 130, 246, .15); }
.cr-tpl td:nth-child(2) { width: 110px; } .cr-tpl td:nth-child(3) { width: 84px; } .cr-tpl td:nth-child(1) { width: 150px; } .cr-tpl td:last-child { width: 40px; }
.cr-tbl-wrap { overflow-x: auto; }
.cr-att-t th button { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 6px; border: 0; border-radius: 9px; background: none; color: var(--cr-muted); font: 700 .68rem var(--font-body, inherit); cursor: pointer; }
.cr-att-t th button b { color: var(--cr-navy); font-size: .74rem; white-space: nowrap; } .cr-att-t th button:hover { background: #eef2fa; }
.cr-att-t th.off button b, .cr-att-t td.off { color: #cbd5e1; text-decoration: line-through; }
.cr-att { width: 32px; height: 32px; border: 0; border-radius: 10px; background: #f1f5f9; color: #fff; font: 900 .95rem var(--font-body, inherit); cursor: pointer; }
.cr-att:hover { background: #e2e8f0; } .cr-att.on { background: linear-gradient(135deg, #22c55e, #16a34a); } .cr-att.self { background: #86efac; color: #14532d; }
.cr-att-t td.pct { font: 800 .86rem var(--font-body, inherit); white-space: nowrap; } .cr-att-t td.pct small { display: block; font: 600 .66rem var(--font-body, inherit); color: var(--cr-muted); }
.cr-att-t td.pct.hi { color: #15803d; } .cr-att-t td.pct.mid { color: #a16207; } .cr-att-t td.pct.lo { color: #c2410c; }
.cr-att-t tr.tot td { font-weight: 800; color: var(--cr-navy); }
.cr-pl { display: flex; align-items: center; gap: 8px; border: 0; background: none; padding: 0; font: 600 .86rem var(--font-body, inherit); color: var(--cr-navy); cursor: pointer; text-align: left; white-space: nowrap; }
.cr-pl:hover { color: var(--cr-blue); }
.cr-num { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 5px; margin-right: 6px; border-radius: 7px; background: #eef2fa; color: var(--cr-blue); font: 800 .72rem var(--font-body, inherit); }
.cr-num.big { min-width: 42px; height: 42px; border-radius: 14px; font-size: 1rem; margin: 0; background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; }

/* расписание */
.cr-occ { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 10px 0; border-top: 1px solid #f1f5f9; }
.cr-occ-d b { color: var(--cr-navy); font-size: .9rem; } .cr-occ-d small { display: block; color: var(--cr-muted); font-size: .76rem; } .cr-occ-d em { display: block; font-size: .76rem; color: #a16207; }
.cr-occ-s { grid-column: 1; } .cr-occ-a { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.cr-occ.is-off .cr-occ-d b { text-decoration: line-through; color: #94a3b8; }

/* игроки */
.cr-players { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.cr-pcard { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 0; border-radius: 20px; background: #fff; text-align: left; cursor: pointer; box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .3); font: inherit; color: inherit; }
.cr-pcard:hover { box-shadow: 0 16px 34px -16px rgba(37, 99, 235, .4); transform: translateY(-1px); }
.cr-pc-top { display: flex; gap: 10px; align-items: center; } .cr-pc-top b { display: block; color: var(--cr-navy); font-size: .95rem; } .cr-pc-top small { color: var(--cr-muted); font-size: .76rem; }
.cr-pc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; } .cr-pc-stats span { padding: 6px 4px; border-radius: 11px; background: #f6f8fd; text-align: center; font-size: .66rem; color: var(--cr-muted); }
.cr-pc-stats b { display: block; font: 800 .95rem var(--font-display, inherit); color: var(--cr-navy); }
.cr-dots { display: flex; gap: 4px; } .cr-dots i { width: 12px; height: 12px; border-radius: 4px; background: #e2e8f0; } .cr-dots i.on { background: #22c55e; }
.cr-pc-foot { font-size: .76rem; color: #334155; }
.cr-pd h4 { margin: 16px 0 6px; font: 800 .82rem var(--font-body, inherit); letter-spacing: .08em; text-transform: uppercase; color: var(--cr-blue); } .cr-pd h4 small { text-transform: none; letter-spacing: 0; color: var(--cr-muted); font-weight: 600; }
.cr-pd-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cr-pd-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.cr-pd-stats div { padding: 10px 6px; border-radius: 14px; background: #f6f8fd; text-align: center; } .cr-pd-stats b { display: block; font: 800 1.1rem var(--font-display, inherit); color: var(--cr-navy); } .cr-pd-stats span { font-size: .68rem; color: var(--cr-muted); }
.cr-note-add { display: flex; gap: 8px; align-items: flex-end; margin-bottom: 8px; }
.cr-note { position: relative; padding: 10px 40px 10px 12px; margin-top: 6px; border-radius: 13px; background: #fffbeb; box-shadow: inset 0 0 0 1px #fde68a; }
.cr-note p { margin: 0 0 2px; font-size: .86rem; color: #422006; white-space: pre-wrap; } .cr-note small { color: #a16207; font-size: .7rem; } .cr-note .cr-icon { position: absolute; top: 8px; right: 8px; }

/* задания */
.cr-task-body { margin: -4px 0 6px; color: #334155; font-size: .86rem; white-space: pre-wrap; }
.cr-task-t select { width: 96px; }

/* матчи */
.cr-f4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cr-call-sum { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 8px; }
.cr-call { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; }
.cr-call-p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 12px; background: #f6f8fd; cursor: pointer; font-size: .84rem; }
.cr-call-p b { flex: 1; min-width: 0; color: var(--cr-navy); font-weight: 600; } .cr-call-p em { font-style: normal; font-weight: 900; } .cr-call-p small { width: 100%; color: var(--cr-muted); font-size: .72rem; }
.cr-call-p.s-yes { background: #dcfce7; } .cr-call-p.s-no { background: #fff1e6; } .cr-call-p.s-maybe { background: #fef9c3; } .cr-call-p.s-invited { background: #eff6ff; }

/* новости */
.cr-news h3 { margin: 0 0 4px; font: 800 1.05rem var(--font-display, inherit); color: var(--cr-navy); } .cr-news p { margin: 0 0 6px; color: #334155; font-size: .88rem; white-space: pre-wrap; }
.cr-news.urgent { box-shadow: inset 4px 0 0 #f97316, 0 10px 30px -18px rgba(15, 23, 42, .25); } .cr-news.announce { box-shadow: inset 4px 0 0 #3b82f6, 0 10px 30px -18px rgba(15, 23, 42, .25); }

/* диалоги */
.cr-dlg { position: fixed; inset: 0; z-index: 2700; display: grid; place-items: center; padding: 16px; background: rgba(15, 23, 42, .35); }
.cr-dlg-box { width: min(520px, 100%); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; border-radius: 22px; background: #fff; box-shadow: 0 30px 80px -20px rgba(15, 23, 42, .6); }
.cr-dlg-box.wide { width: min(760px, 100%); }
.cr-dlg-h { display: flex; align-items: center; gap: 10px; padding: 16px 18px 6px; } .cr-dlg-h b { flex: 1; font: 800 1.08rem var(--font-display, inherit); color: var(--cr-navy); }
.cr-dlg-b { padding: 6px 18px 10px; overflow: auto; font-size: .9rem; color: #334155; } .cr-dlg-b p { margin: 6px 0 10px; }
.cr-dlg-f { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; padding: 10px 18px 16px; border-top: 1px solid #f1f5f9; }
.cr-f { display: flex; flex-direction: column; gap: 5px; margin: 8px 0; font: 700 .76rem var(--font-body, inherit); color: #475569; } .cr-f small { font-weight: 500; color: var(--cr-muted); }
.cr-f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .cr-f3 { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: 10px; }
.cr-chk { display: flex; align-items: center; gap: 8px; margin: 10px 0 4px; font: 600 .84rem var(--font-body, inherit); color: #334155; cursor: pointer; } .cr-chk.mt { margin-top: 28px; }
.cr-chk input { width: 18px; height: 18px; accent-color: var(--cr-blue); }
.cr-chips { display: flex; flex-wrap: wrap; gap: 6px; max-height: 190px; overflow: auto; padding: 2px; }
.cr-chip { display: inline-flex; } .cr-chip[hidden] { display: none; } .cr-chip input { display: none; }
.cr-chip span { padding: 6px 10px; border-radius: 10px; background: #f1f5f9; font: 600 .78rem var(--font-body, inherit); color: #334155; cursor: pointer; }
.cr-chip input:checked + span { background: #dbeafe; color: #1d4ed8; box-shadow: inset 0 0 0 1.5px #3b82f6; }
.cr-seg { display: flex; gap: 4px; padding: 4px; border-radius: 13px; background: #eef2fa; margin-bottom: 4px; }
.cr-seg button { flex: 1; padding: 9px 8px; border: 0; border-radius: 10px; background: none; font: 700 .82rem var(--font-body, inherit); color: #475569; cursor: pointer; }
.cr-seg button.on { background: #fff; color: var(--cr-navy); box-shadow: 0 4px 12px -6px rgba(15, 23, 42, .3); }
.cr-seg.sm button { padding: 7px 8px; font-size: .76rem; } .cr-seg button.s-yes { background: #dcfce7; color: #15803d; } .cr-seg button.s-no { background: #fff1e6; color: #c2410c; } .cr-seg button.s-maybe { background: #fef9c3; color: #a16207; }

/* для семей — «От тренера» в кабинете */
.cr-fam { margin: 0 0 16px; padding: 14px 16px; border-radius: 20px; background: linear-gradient(135deg, #eff6ff, #fff); box-shadow: inset 0 0 0 1px #bfdbfe; }
.cr-fam-h { margin-bottom: 8px; font: 800 .95rem var(--font-display, inherit); color: var(--cr-navy); }
.cr-fam-c { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #dbeafe; }
.cr-fam-c:first-of-type { border-top: 0; }
.cr-fam-c > div:first-child { flex: 1 1 260px; min-width: 0; } .cr-fam-c b { color: var(--cr-navy); font-size: .9rem; } .cr-fam-c small { display: block; color: var(--cr-muted); font-size: .78rem; } .cr-fam-c p { margin: 4px 0 0; font-size: .82rem; color: #334155; white-space: pre-wrap; }
.cr-fam-c .cr-seg { flex: 0 1 320px; margin: 0; }

/* телефон и планшет */
@media (max-width: 1024px) {
  .cr-in { inset: 0; border-radius: 0; grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .cr-side { flex-direction: row; align-items: center; gap: 8px; padding: calc(10px + env(safe-area-inset-top)) 10px 10px; overflow-x: auto; scrollbar-width: none; }
  .cr-side::-webkit-scrollbar { display: none; }
  .cr-brand { padding: 0 6px 0 0; } .cr-brand div { display: none; } .cr-brand i { width: 36px; height: 36px; }
  .cr-nav { flex-direction: row; gap: 4px; } .cr-nav button { width: auto; padding: 8px 11px; white-space: nowrap; font-size: .8rem; }
  .cr-side-foot { margin: 0; padding: 0; border: 0; } .cr-link { width: auto; white-space: nowrap; padding: 8px 11px; font-size: .8rem; }
  .cr-top { flex-wrap: wrap; padding: 12px 14px; } .cr-title b { font-size: 1.1rem; }
  .cr-body { padding: 12px 12px calc(30px + env(safe-area-inset-bottom)); }
  .cr-grid2, .cr-grid2.wide { grid-template-columns: 1fr; }
  .cr-f4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cr-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cr-grp { order: 3; width: 100%; } .cr-grp button { flex: 1; }
  .cr-pd-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cr-f2, .cr-f3, .cr-f4 { grid-template-columns: 1fr; }
  .cr-dlg { place-items: end center; padding: 0; } .cr-dlg-box, .cr-dlg-box.wide { width: 100%; border-radius: 22px 22px 0 0; max-height: 92dvh; padding-bottom: env(safe-area-inset-bottom); }
  .cr-occ { grid-template-columns: 1fr; } .cr-occ-a { grid-column: 1; grid-row: auto; justify-content: flex-start; }
  .cr-tpl thead { display: none; } .cr-tpl tr { display: grid; grid-template-columns: 1fr 1fr 70px 40px; gap: 6px; padding: 8px 0; border-top: 1px solid #f1f5f9; }
  .cr-tpl td { border: 0; padding: 0; width: auto !important; } .cr-tpl td:nth-child(4) { grid-column: 1 / -1; grid-row: 2; }
}

/* ═══ сайт: новости клуба и изменения расписания (club.js) ═══ */
.club-news { margin: 0 0 22px; } .club-news[hidden] { display: none; }
.club-news-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.club-news-head b { font: 800 1.05rem var(--font-display, inherit); color: var(--text-primary, #0f172a); }
.club-news-all { border: 0; background: none; color: var(--blue-600, #2563eb); font: 700 .86rem var(--font-body, inherit); cursor: pointer; }
.club-news-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.club-news-card { position: relative; padding: 16px 18px; border-radius: 20px; background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px rgba(200, 210, 230, .6), 0 12px 30px -20px rgba(15, 23, 42, .35); cursor: pointer; }
.club-news-card:hover { box-shadow: inset 0 0 0 1px rgba(59, 130, 246, .4), 0 16px 34px -18px rgba(37, 99, 235, .4); }
.club-news-card.is-urgent { background: #fff7ed; box-shadow: inset 0 0 0 1.5px #fdba74, 0 12px 30px -20px rgba(249, 115, 22, .5); }
.club-news-card.is-announce { box-shadow: inset 4px 0 0 #3b82f6, inset 0 0 0 1px rgba(200, 210, 230, .6), 0 12px 30px -20px rgba(15, 23, 42, .35); }
.club-news-card.is-big { cursor: default; margin-bottom: 12px; }
.club-news-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: .74rem; color: var(--text-muted, #64748b); }
.club-news-tag { font-weight: 800; color: var(--blue-600, #2563eb); } .is-urgent .club-news-tag { color: #c2410c; }
.club-news-top time { margin-left: auto; }
.club-news-card h3 { margin: 0 0 6px; font: 800 1rem/1.3 var(--font-display, inherit); color: var(--text-primary, #0f172a); }
.club-news-card p { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--text-secondary, #475569); white-space: pre-wrap; }
.club-news-by { display: block; margin-top: 8px; font-size: .74rem; color: var(--text-muted, #64748b); }
.club-changes { padding: 14px 16px; border-radius: 20px; margin-top: 12px; }
.club-changes-h { margin-bottom: 6px; font: 800 .92rem var(--font-display, inherit); color: #9a3412; }
.club-ch { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; padding: 7px 0; border-top: 1px solid rgba(200, 210, 230, .5); font-size: .84rem; color: var(--text-secondary, #475569); }
.club-ch:first-of-type { border-top: 0; } .club-ch small { width: 100%; color: var(--text-muted, #64748b); font-size: .76rem; }
.club-ch-tag { padding: 2px 8px; border-radius: 8px; font: 800 .66rem var(--font-body, inherit); text-transform: uppercase; background: #dbeafe; color: #1d4ed8; }
.club-ch.is-off .club-ch-tag { background: #fee2d5; color: #c2410c; } .club-ch.is-moved .club-ch-tag { background: #fef3c7; color: #a16207; }
.cal-day.training-off { background: repeating-linear-gradient(135deg, rgba(249, 115, 22, .12) 0 4px, transparent 4px 8px); color: #c2410c; text-decoration: line-through; }
/* посещаемость: имя игрока не уезжает при прокрутке вбок */
.cr-att-t th.l, .cr-att-t td.l { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 6px 0 8px -8px rgba(15, 23, 42, .25); }
/* кабинет: вход в Тренерскую — в наших цветах (оранжевый акцент), отдельно от «Выйти» */
.lbp .lbp-coachbtn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px 0 12px; border: 0; border-radius: 14px; cursor: pointer;
  font: 800 .84rem var(--font-body, inherit); color: #fff; background: linear-gradient(135deg, #fb923c, #f97316 55%, #ea580c); box-shadow: 0 10px 22px -12px rgba(234, 88, 12, .9); transition: transform .15s, box-shadow .15s; }
.lbp .lbp-coachbtn:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(234, 88, 12, .9); }
.lbp .lbp-coachbtn i { font-style: normal; font-size: 1.05rem; }
.lbp .lbp-coachbtn[hidden], .lbp .lbp-coachrow[hidden] { display: none !important; }
.lbp .lbp-head-btns .lbp-coachbtn { margin-right: 4px; }
.lbp .lbp-coachrow { display: none; }
@media (max-width: 759px) {
  .lbp .lbp-head-btns .lbp-coachbtn { display: none !important; }
  .lbp .lbp-coachrow { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 12px; padding: 11px 14px; border: 0; border-radius: 16px; cursor: pointer; text-align: left;
    color: #fff; background: linear-gradient(135deg, #fb923c, #f97316 55%, #ea580c); box-shadow: 0 12px 26px -14px rgba(234, 88, 12, .95), inset 0 1px 0 rgba(255, 255, 255, .25); font: inherit; }
  .lbp .lbp-coachrow i { font-style: normal; font-size: 1.4rem; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .2); flex: none; }
  .lbp .lbp-coachrow span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .lbp .lbp-coachrow b { font: 800 .98rem var(--font-display, inherit); color: #fff; margin: 0 !important; }
  .lbp .lbp-coachrow small { font-size: .74rem; color: rgba(255, 255, 255, .88) !important; margin: 0 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lbp .lbp-coachrow em { font-style: normal; font-size: 1.2rem; font-weight: 800; }
  /* «Выйти» и крестик — с запасом, чтобы не задеть случайно */
  .lbp .lbp-head-btns { gap: 14px !important; }
  .lbp .lbp-coachrow { grid-column: 1 / -1; grid-row: 4; }
  .lbp .lbp-who > b, .lbp .lbp-who > small { margin-right: 112px !important; }
}

/* ═══ «Люди» — все аккаунты сайта ═══ */
.cr-pp-kpi { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.cr-pp-k { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 14px 12px; border: 0; border-radius: 18px; background: #fff; cursor: pointer; text-align: left; font: inherit; color: var(--cr-navy);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 30px -18px rgba(15, 23, 42, .25); transition: transform .15s, box-shadow .15s; }
.cr-pp-k:hover { transform: translateY(-2px); }
.cr-pp-k i { font-style: normal; font-size: 1.1rem; }
.cr-pp-k b { font: 800 1.6rem/1.1 var(--font-display, inherit); }
.cr-pp-k span { font-size: .74rem; color: var(--cr-muted); font-weight: 600; }
.cr-pp-k.on { box-shadow: inset 0 0 0 2px var(--cr-blue), 0 10px 30px -18px rgba(37, 99, 235, .5); }
.cr-pp-inv { margin-bottom: 14px; padding: 12px 16px; border-radius: 16px; background: #fff7ed; color: #9a3412; font-size: .84rem; line-height: 1.45; box-shadow: inset 0 0 0 1px #fed7aa; }
.cr-pp-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cr-pp-q { flex: 1 1 240px; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border-radius: 13px; background: #f5f8fd; color: #94a3b8; box-shadow: inset 0 0 0 1.5px #e2e8f2; }
.cr-pp-q:focus-within { box-shadow: inset 0 0 0 1.5px var(--cr-blue), 0 0 0 4px rgba(37, 99, 235, .12); color: var(--cr-blue); }
.cr-pp-q input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 500 .9rem var(--font-body, inherit); color: var(--cr-navy); }
#crPS { height: 42px; padding: 0 12px; border: 1px solid #dde4f0; border-radius: 13px; background: #fff; font: 600 .84rem var(--font-body, inherit); color: var(--cr-navy); }
.cr-pp-bar .cr-btn { height: 42px; }
.cr-pp-chips { display: flex; gap: 6px; margin: 12px 0 4px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.cr-pp-chips::-webkit-scrollbar { display: none; }
.cr-ppc { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 7px 12px; border: 0; border-radius: 11px; background: #f1f5f9; color: #334155; font: 700 .78rem var(--font-body, inherit); cursor: pointer; white-space: nowrap; transition: background .15s; }
.cr-ppc:hover { background: #e2e8f0; }
.cr-ppc.on { background: #dbeafe; color: #1d4ed8; box-shadow: inset 0 0 0 1.5px #3b82f6; }
.cr-pp-chips .cr-ppc em { font-style: normal; opacity: .6; margin-left: 2px; }
.cr-pp-cnt { margin: 6px 2px 8px; font-size: .76rem; color: var(--cr-muted); }
.cr-pp-head, .cr-pp-row { display: grid; grid-template-columns: 44px minmax(0, 1.7fr) minmax(0, .9fr) minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .8fr); gap: 12px; align-items: center; }
.cr-pp-head { padding: 0 12px 8px; font: 700 .66rem var(--font-body, inherit); text-transform: uppercase; letter-spacing: .06em; color: #94a3b8; border-bottom: 1px solid #eef2f8; }
.cr-pp-row { width: 100%; padding: 10px 12px; border: 0; border-bottom: 1px solid #f1f4f9; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; border-radius: 14px; transition: background .15s; }
.cr-pp-row:hover { background: #f5f8fe; }
.cr-pp-row.is-new { background: linear-gradient(90deg, #fff7ed, transparent 70%); }
.cr-pp-ava { width: 44px; height: 44px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, hsl(var(--h) 70% 58%), hsl(calc(var(--h) + 40) 70% 46%)); color: #fff; font: 800 .9rem var(--font-display, inherit); }
.cr-pp-ava img { width: 100%; height: 100%; object-fit: cover; }
.cr-pp-ava.lg { width: 72px; height: 72px; border-radius: 22px; font-size: 1.4rem; }
.cr-pp-main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cr-pp-main b { display: flex; align-items: center; gap: 6px; min-width: 0; font: 700 .92rem var(--font-body, inherit); color: var(--cr-navy); }
.cr-pp-n { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-pp-me, .cr-pp-newb { flex: none; }
.cr-pp-main small { font-size: .78rem; color: var(--cr-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-pp-me, .cr-pp-newb { font-style: normal; font: 800 .6rem var(--font-body, inherit); text-transform: uppercase; letter-spacing: .05em; padding: 2px 6px; border-radius: 6px; vertical-align: 2px; background: #e2e8f0; color: #475569; }
.cr-pp-newb { background: var(--cr-orange); color: #fff; }
.cr-pp-role { display: flex; align-items: center; gap: 6px; }
.cr-pp-r { display: inline-block; padding: 3px 9px; border-radius: 8px; font: 800 .7rem var(--font-body, inherit); background: #eef2fa; color: #334155; white-space: nowrap; }
.cr-pp-r.r-admin { background: #1d4ed8; color: #fff; } .cr-pp-r.r-coach { background: #ffedd5; color: #c2410c; } .cr-pp-r.r-parent { background: #f3e8ff; color: #7e22ce; } .cr-pp-r.r-player { background: #dbeafe; color: #1d4ed8; }
.cr-pp-g { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font: 800 .66rem var(--font-body, inherit); background: #fff; color: #475569; box-shadow: inset 0 0 0 1px #e2e8f0; }
.cr-pp-stc { min-width: 0; }
.cr-pp-st { display: inline-block; max-width: 100%; font-size: .78rem; color: var(--cr-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.cr-pp-st.ok { color: #15803d; } .cr-pp-st.wait { color: #b45309; font-weight: 700; } .cr-pp-st.warn { color: #c2410c; }
.cr-pp-dt { font-size: .8rem; color: var(--cr-navy); font-weight: 600; white-space: nowrap; }
.cr-pp-dt small { display: none; }
/* карточка в диалоге */
.cr-pp-card { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cr-pp-card > div { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.cr-pp-card b { font: 800 1.2rem var(--font-display, inherit); color: var(--cr-navy); }
.cr-pp-ask { margin-bottom: 14px; padding: 12px 14px; border-radius: 14px; background: #fffbeb; color: #92400e; font-size: .86rem; box-shadow: inset 0 0 0 1px #fde68a; }
.cr-pp-ask .cr-acts { margin-top: 8px; }
.cr-pp-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 16px; margin: 0 0 14px; font-size: .86rem; }
.cr-pp-dl dt { color: var(--cr-muted); }
.cr-pp-dl dd { margin: 0; color: var(--cr-navy); font-weight: 600; overflow-wrap: anywhere; }
.cr-pp-dl a { color: var(--cr-blue); }
.cr-pp-copy { margin-left: 6px; padding: 2px 8px; border: 0; border-radius: 7px; background: #eef2fa; color: #334155; font: 700 .7rem var(--font-body, inherit); cursor: pointer; }
.cr-pp-rolebox { padding-top: 12px; border-top: 1px solid #eef2f8; }
.cr-pp-rolebox > b { display: block; margin-bottom: 8px; color: var(--cr-navy); font-size: .9rem; }
.cr-pp-roles { display: flex; flex-wrap: wrap; gap: 6px; }
.cr-pp-roles .cr-ppc[disabled] { opacity: .4; cursor: not-allowed; }

@media (max-width: 1180px) {
  .cr-pp-kpi { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cr-pp-head, .cr-pp-row { grid-template-columns: 44px minmax(0, 1.6fr) minmax(0, .9fr) minmax(0, 1.3fr) minmax(0, .9fr); }
  .cr-pp-head span:nth-child(6), .cr-pp-row .cr-pp-dt:last-child { display: none; }
}
/* телефон и узкий планшет: карточки вместо таблицы */
@media (max-width: 760px) {
  .cr-pp-kpi { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cr-pp-k { padding: 10px; border-radius: 14px; }
  .cr-pp-k b { font-size: 1.25rem; }
  .cr-pp-k span { font-size: .66rem; line-height: 1.2; }
  .cr-pp.cr-card { padding: 12px; }
  .cr-pp-head { display: none; }
  .cr-pp-row { grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: 'a m r' 'a s s' 'a d d'; gap: 4px 10px; padding: 12px 6px; align-items: start; }
  .cr-pp-row .cr-pp-ava { grid-area: a; }
  .cr-pp-main { grid-area: m; } .cr-pp-role { grid-area: r; } .cr-pp-stc { grid-area: s; }
  .cr-pp-row .cr-pp-dt { grid-area: d; display: inline; font-size: .74rem; font-weight: 500; color: var(--cr-muted); }
  .cr-pp-row .cr-pp-dt:last-child { display: inline; grid-area: auto; grid-column: 2 / 4; margin-top: -2px; }
  .cr-pp-dt small { display: inline; margin-right: 4px; }
  .cr-pp-dt small::after { content: ':'; }
  .cr-pp-st { white-space: normal; }
  .cr-pp-bar .cr-pp-q { flex-basis: 100%; }
  #crPS { flex: 1; }
  .cr-pp-dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .cr-pp-dl dd { margin-bottom: 8px; }
}
.lbp .lbp-role.lbp-role--coach { background: linear-gradient(135deg, #fb923c, #ea580c); box-shadow: none; }

/* ═══ ссылки в новостях: YouTube прямо на сайте, остальные — превью ═══ */
.cn-link { color: #2563eb; font-weight: 700; text-decoration: none; word-break: break-word; }
.cn-link:hover { text-decoration: underline; }
.cn-media { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.cn-yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #0b1220; cursor: pointer; isolation: isolate; }
.cn-yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s, filter .3s; }
.cn-yt::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.65)); z-index: 0; }
.cn-yt:hover img { transform: scale(1.04); filter: brightness(1.05); }
.cn-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 20px; display: grid; place-items: center;
  color: #fff; background: linear-gradient(135deg, #fb923c, #ea580c); box-shadow: 0 12px 30px -8px rgba(234, 88, 12, .8); transition: transform .2s; }
.cn-play svg { width: 30px; height: 30px; margin-left: 3px; }
.cn-yt:hover .cn-play { transform: scale(1.08); }
.cn-yt-t { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 12px; color: #fff; font: 700 .9rem/1.3 var(--font-body, inherit); text-shadow: 0 1px 4px rgba(0,0,0,.5); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cn-yt.is-playing { cursor: default; }
.cn-yt.is-playing::after { display: none; }
.cn-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.cn-yt--sm { margin: 2px 0 12px; border-radius: 14px; }
.cn-yt--sm .cn-play { width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 15px; }
.cn-yt--sm .cn-play svg { width: 22px; height: 22px; }
.cn-yt--sm .cn-yt-t { font-size: .8rem; left: 10px; right: 10px; bottom: 8px; }
.cn-lp { display: flex; align-items: stretch; gap: 0; min-height: 76px; border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; background: #f8fafd;
  box-shadow: inset 0 0 0 1px rgba(200, 210, 230, .8); transition: box-shadow .15s, transform .15s; }
.cn-lp:hover { box-shadow: inset 0 0 0 1.5px #3b82f6; transform: translateY(-1px); }
.cn-lp-img { flex: 0 0 32%; max-width: 180px; min-height: 76px; background: #e2e8f0 center / cover no-repeat; }
.cn-lp-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 10px 14px; border-left: 3px solid #f97316; }
.cn-lp.has-img .cn-lp-tx { border-left: 0; }
.cn-lp-tx small { font: 700 .66rem var(--font-body, inherit); text-transform: uppercase; letter-spacing: .06em; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cn-lp-tx b { font: 800 .9rem/1.3 var(--font-body, inherit); color: var(--text-primary, #0f172a); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cn-lp-tx em { font-style: normal; font-size: .8rem; line-height: 1.4; color: #64748b; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cn-lp--sm { min-height: 60px; margin: 2px 0 12px; }
.cn-lp--sm .cn-lp-img { min-height: 60px; flex-basis: 30%; }
.cn-lp--sm .cn-lp-tx { padding: 8px 12px; }
.cn-lp--sm .cn-lp-tx b { font-size: .82rem; }
.cr-news .cn-media { max-width: 560px; }

/* правка из ленты на сайте — только тренер и админ */
body > .cr-dlg { z-index: 9500; }
.cn-tools { display: inline-flex; gap: 4px; flex: none; }
.club-news-top .cn-tools { order: 5; margin-left: 4px; }
.cn-tools button { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 10px; display: grid; place-items: center; cursor: pointer; background: #eef2fa; color: #1d4ed8; transition: background .15s, transform .15s; }
.cn-tools button svg { width: 16px; height: 16px; }
.cn-tools button:hover { background: #dbeafe; transform: translateY(-1px); }
.cn-tools button.del { background: #fff1e6; color: #ea580c; }
.cn-tools button.del:hover { background: #ffedd5; }
.cn-tools button.txt { width: auto; padding: 0 10px; font: 700 .74rem var(--font-body, inherit); color: #1d4ed8; }
.cn-tools.sm button { width: 26px; height: 26px; border-radius: 8px; }
.cn-tools.sm button.txt { width: auto; }
.club-ch .cn-tools { order: 9; margin-left: auto; align-self: center; }
/* значок «смотреть» — как в «Медиа»: оранжевый треугольник контуром, ровно по центру, без подложки */
.cn-play, .cn-yt--sm .cn-play { left: 0; top: 0; right: 0; bottom: 0; width: auto; height: auto; margin: 0; border-radius: 0; display: grid; place-items: center;
  background: none; box-shadow: none; filter: drop-shadow(0 0 .5px rgba(0, 0, 0, .5)) drop-shadow(0 1px 3px rgba(0, 0, 0, .45)); pointer-events: none; }
.cn-play svg { display: none; }
.cn-play::after { content: ''; display: block; width: 58px; height: 58px; background: #f97316;
  -webkit-mask: var(--ic-play-o) center / contain no-repeat; mask: var(--ic-play-o) center / contain no-repeat; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.cn-yt--sm .cn-play::after { width: 46px; height: 46px; }
.cn-yt:hover .cn-play { transform: none; }
.cn-yt:hover .cn-play::after { transform: scale(1.12); }
/* вкладка «Уведомления» */
.cr-pu-st { margin: 4px 0 12px; padding: 10px 12px; border-radius: 12px; font-size: .86rem; line-height: 1.45; }
.cr-pu-st.ok { background: #ecfdf5; color: #166534; } .cr-pu-st.warn { background: #fff7ed; color: #9a3412; }
.cr-pu-list .cr-li.is-mine { background: #f0f7ff; border-radius: 12px; padding-left: 8px; padding-right: 8px; }
.cr-pu-err { color: #c2410c; }
.lbp .lbp-link .cs-btn[hidden] { display: none !important; }

/* календарь: сборы и события клуба */
.cal-day.camp { position: relative; border: 0; font: inherit; font-weight: 800; cursor: pointer; color: #065f46; background: linear-gradient(135deg, #d1fae5, #a7f3d0); box-shadow: inset 0 0 0 1.5px #6ee7b7; }
.cal-day.camp:hover { background: #10b981; color: #fff; }
.cal-day.camp.today { background: var(--blue-600, #2563eb); color: #fff; box-shadow: 0 0 0 2px #10b981; }
.cal-day.event { position: relative; border: 0; font: inherit; cursor: pointer; box-shadow: inset 0 0 0 1.5px #a5b4fc; background: #eef2ff; color: #3730a3; font-weight: 700; }
.cal-ev { position: absolute; left: 2px; top: 1px; font-size: .55rem; font-style: normal; line-height: 1; }
.cal-legend .lg-camp { display: inline-block; width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, #d1fae5, #a7f3d0); box-shadow: inset 0 0 0 1.5px #6ee7b7; vertical-align: -2px; }

/* «Календарь матчей и событий»: событие клуба в синей панели и в списке */
.lgs-hero--ev .lgs-ev-main { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; margin: 14px 0 6px; }
.lgs-ev-ic { flex: none; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-style: normal; font-size: 2rem; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.lgs-ev-main b { display: block; font: 800 1.5rem/1.15 var(--font-display, inherit); color: #fff; }
.lgs-ev-main small { display: block; margin-top: 4px; color: rgba(255, 255, 255, .82); font-size: .86rem; }
.lgs-ev-main p { margin: 6px 0 0; color: rgba(255, 255, 255, .9); font-size: .86rem; }
.lgs-hero--ev.lgs-ev-camp { background: linear-gradient(135deg, #047857, #0f766e 55%, #1e3a8a); }
.lgs-cd-cap { position: relative; z-index: 1; margin-top: -4px; color: rgba(255, 255, 255, .75); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.lgs-row.is-ev .lgs-time { font-size: 1.3rem; }
.lgs-row.is-ev .lgs-vs b { font-size: .98rem; }
.lgs-ev-tag { display: inline-block; padding: 2px 8px; border-radius: 6px; font: 800 .66rem var(--font-body, inherit); text-transform: uppercase; letter-spacing: .05em; background: #d1fae5; color: #065f46; }
.lgs-ev-tag.k-meeting, .lgs-ev-tag.k-other, .lgs-ev-tag.k-match_prep { background: #eef2ff; color: #3730a3; }
.lgs-ev-tag.k-extra { background: #dbeafe; color: #1d4ed8; }

/* ═══ Тренировка: результаты, отчёт ═══ */
.cr-ts-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 10px; }
.cr-ts-chips::-webkit-scrollbar { display: none; }
.cr-ts-att { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.cr-ts-att .cr-muted { width: 100%; }
.cr-ts-p { padding: 7px 11px; border: 0; border-radius: 11px; background: #f1f5f9; color: #475569; font: 700 .8rem var(--font-body, inherit); cursor: pointer; transition: background .15s, color .15s; }
.cr-ts-p.on { background: #dcfce7; color: #15803d; box-shadow: inset 0 0 0 1.5px #86efac; }
.cr-res-t th { white-space: normal; min-width: 82px; vertical-align: bottom; }
.cr-res-t th small { display: block; font-weight: 500; text-transform: none; letter-spacing: 0; color: #94a3b8; font-size: .64rem; }
.cr-res-t td input, .cr-res-t td select { width: 74px; text-align: center; padding: 8px 6px; font-weight: 700; transition: box-shadow .2s, background .2s; }
.cr-res-t td input.hi { background: #ecfdf5; color: #15803d; } .cr-res-t td input.mid { background: #fffbeb; color: #b45309; } .cr-res-t td input.lo { background: #fff1f2; color: #be123c; }
.cr-res-t td input.saved { box-shadow: 0 0 0 3px rgba(34, 197, 94, .35); }
.cr-res-t tr.tot td { font-weight: 800; color: var(--cr-navy); font-size: .78rem; }
.cr-stars { display: flex; gap: 2px; } .cr-stars button { border: 0; background: none; font-size: 1.6rem; line-height: 1; color: #e2e8f0; cursor: pointer; padding: 2px; }
.cr-stars button.on { color: #f59e0b; }
.cr-ps.done { opacity: .9; } .cr-ps.cancelled, .cr-ps.missed { opacity: .6; }
.cr-ps-rep { color: #475569 !important; margin-top: 3px; }
.cr-ps-stat { display: flex; flex-wrap: wrap; gap: 6px; }
.cr-ptr td small { color: #94a3b8; font-size: .7rem; }
.cr-ptr b.up { color: #16a34a; } .cr-ptr b.down { color: #dc2626; }
.cr-spark { vertical-align: middle; }
.cr-pd h4 .cr-btn { margin-left: 8px; vertical-align: middle; }
.cr-rep { font-size: .9rem; line-height: 1.5; color: var(--cr-navy); }
.cr-rep-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; padding-bottom: 8px; margin-bottom: 12px; border-bottom: 3px solid #f97316; }
.cr-rep h3 { margin: 0 0 2px; font: 800 1.2rem var(--font-display, inherit); }
.cr-rep h4 { margin: 14px 0 4px; font: 800 .92rem var(--font-display, inherit); }
.cr-rep .pre { white-space: pre-wrap; margin: 0; }
.cr-rep ul { margin: 6px 0; padding-left: 18px; }

/* ═══ Журнал действий и аналитика ═══ */
.cr-jr { display: flex; flex-direction: column; }
.cr-jr-day { margin: 14px 0 4px; font: 800 .7rem var(--font-body, inherit); text-transform: uppercase; letter-spacing: .08em; color: #94a3b8; }
.cr-jr-r { display: grid; grid-template-columns: 46px 26px minmax(0, 1fr); gap: 6px; align-items: start; padding: 8px 4px; border-bottom: 1px solid #f1f5f9; font-size: .86rem; }
.cr-jr-t { color: #94a3b8; font-variant-numeric: tabular-nums; font-size: .78rem; padding-top: 1px; }
.cr-jr-ic { text-align: center; }
.cr-jr-r b { color: var(--cr-navy); } .cr-jr-r span { color: #334155; overflow-wrap: anywhere; }
.cr-jr-r small { display: block; color: #94a3b8; font-size: .72rem; }
.cr-jr-r.t-login_fail, .cr-jr-r.t-denied { background: #fff7ed; border-radius: 10px; }
.cr-jr-r.t-error { background: #fef2f2; border-radius: 10px; }
.cr-st-bars { display: flex; align-items: flex-end; gap: 3px; height: 160px; padding-top: 6px; }
.cr-st-bars > div { position: relative; flex: 1; min-width: 6px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.cr-st-bars i { display: block; width: 100%; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #60a5fa, #2563eb); }
.cr-st-bars s { position: absolute; bottom: 16px; left: 20%; right: 20%; border-radius: 3px; background: #f97316; text-decoration: none; }
.cr-st-bars small { height: 16px; font-size: .58rem; color: #94a3b8; }
.cr-st-bars > div > i { margin-bottom: 16px; }
.cr-st-leg { display: flex; gap: 14px; margin-top: 6px; font-size: .74rem; color: #64748b; }
.cr-st-leg i, .cr-st-leg s { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; background: #2563eb; text-decoration: none; }
.cr-st-leg s { background: #f97316; }
.cr-st-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 40px; gap: 8px; align-items: center; padding: 5px 0; font-size: .84rem; }
.cr-st-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-st-row i { height: 8px; border-radius: 4px; background: #eef2fa; overflow: hidden; } .cr-st-row i b { display: block; height: 100%; background: linear-gradient(90deg, #3b82f6, #f97316); }
.cr-st-row em { font-style: normal; font-weight: 800; text-align: right; color: var(--cr-navy); }

/* ═══ «Админка» в кабинете ═══ */
.cr-adm { --cr-navy: #0f172a; --cr-muted: #64748b; --cr-blue: #2563eb; --cr-orange: #f97316; color: #0f172a; }
.cr-adm-nav { position: sticky; top: 0; z-index: 3; display: flex; gap: 6px; padding: 4px 0 12px; overflow-x: auto; scrollbar-width: none; background: var(--bg-primary, #f6f8fc); }
.cr-adm-nav::-webkit-scrollbar { display: none; }
.cr-adm-nav button { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 0; border-radius: 13px; background: #fff; color: #334155; font: 700 .84rem var(--font-body, inherit); cursor: pointer; box-shadow: 0 1px 2px rgba(15, 23, 42, .06); }
.cr-adm-nav button i { font-style: normal; }
.cr-adm-nav button.on { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; }
.cr-adm-nav .cr-adm-open { margin-left: auto; width: 38px; justify-content: center; padding: 0; font-size: 1rem; }
.cr-adm .cr-card { margin-bottom: 12px; }
.cr-adm .cr-pp-kpi { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cr-adm .cr-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }

/* ═══ Тренерская на телефоне: нижняя панель как в приложении ═══ */
.cr-more { display: none; }
@media (max-width: 760px) {
  .cr-in { grid-template-rows: minmax(0, 1fr); }
  .cr-main { padding-bottom: calc(66px + env(safe-area-inset-bottom)); min-height: 0; }
  .cr-top { padding-top: calc(12px + env(safe-area-inset-top)); }
  .cr-side { position: fixed; left: 0; right: 66px; bottom: 0; z-index: 6; flex-direction: row; align-items: stretch; gap: 0; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); overflow: visible;
    border-radius: 0; box-shadow: 0 -12px 30px -14px rgba(15, 23, 42, .45); }
  .cr-brand, .cr-side-foot { display: none; }
  .cr-nav { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
  .cr-nav button { position: relative; flex-direction: column; justify-content: center; gap: 2px; padding: 6px 2px; font-size: .64rem; border-radius: 12px; white-space: nowrap; overflow: hidden; }
  .cr-nav button i { font-size: 1.2rem; width: auto; }
  .cr-nav button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .cr-nav button:nth-child(n+5) { display: none; }
  .cr-nav em { position: absolute; top: 2px; right: 10%; margin: 0; min-width: 16px; padding: 0 4px; font-size: .6rem; }
  .cr-more { position: fixed; right: 0; bottom: 0; z-index: 7; width: 66px; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    border: 0; color: #fff; background: #1d4ed8; font: 700 .64rem var(--font-body, inherit); cursor: pointer; box-shadow: 0 -12px 30px -14px rgba(15, 23, 42, .45); }
  .cr-more i { font-style: normal; font-size: 1.2rem; line-height: 1.2; }
  .cr.more-open .cr-side { right: 0; top: auto; max-height: 82dvh; flex-direction: column; overflow-y: auto; padding: 18px 12px calc(76px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; }
  .cr.more-open .cr-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .cr.more-open .cr-nav button { display: flex; padding: 12px 4px; font-size: .72rem; background: rgba(255, 255, 255, .08); }
  .cr.more-open .cr-nav button.on { background: #fff; }
  .cr.more-open .cr-side-foot { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .18); }
  .cr.more-open .cr-link { width: 100%; padding: 12px; font-size: .86rem; }
  .cr.more-open .cr-main::after { content: ''; position: fixed; inset: 0; z-index: 5; background: rgba(15, 23, 42, .45); }
  .cr.more-open .cr-more { background: #f97316; }
  .cr-res-t td input, .cr-res-t td select { width: 62px; }
}
.cr-fam-p { margin: 4px 0; white-space: pre-wrap; font-size: .86rem; color: #334155; }
.cr-st-bars > div > i { margin-bottom: 0; }
@media (max-width: 760px) {
  .cr-side, .cr-more { height: calc(64px + env(safe-area-inset-bottom)); box-sizing: border-box; }
  .cr.more-open .cr-side { height: auto; }
  .cr-li.cr-ps { flex-wrap: wrap; }
  .cr-li.cr-ps > div:first-child { flex: 1 1 100%; }
  .cr-li.cr-ps .cr-li-r { width: 100%; justify-content: flex-start; }
}

/* ═══ сборка 264: иконки Phosphor; на телефоне — плавающая панель, как нижнее меню сайта, только синяя ═══ */
.cr-nav .cr-ns { display: none; }
.cr-nav button i .lbi-ic, .cr-link .lbi-ic, .cr-adm-nav i .lbi-ic { width: 20px; height: 20px; }
.cr-link { gap: 10px; }
.cr-brand i .lbi-ic { width: 26px; height: 26px; }
@media (max-width: 760px) {
  .cr-main { padding-bottom: calc(90px + env(safe-area-inset-bottom)) !important; }
  .cr:not(.more-open) .cr-side { left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); height: 64px !important; padding: 6px 70px 6px 6px; border-radius: 22px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important; box-shadow: 0 12px 30px -10px rgba(29, 78, 216, .65); }
  .cr .cr-nav button { gap: 3px; padding: 6px 2px; border-radius: 16px; font: 600 .62rem var(--font-body, inherit); letter-spacing: .01em; color: rgba(255, 255, 255, .78); }
  .cr .cr-nav button i { font-size: 1.15rem; line-height: 1; }
  .cr .cr-nav button i .lbi-ic { width: 22px; height: 22px; }
  .cr .cr-nav button.on { background: #fff; color: #1d4ed8; box-shadow: none; }
  .cr .cr-nav .cr-nl { display: none; } .cr .cr-nav .cr-ns { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .cr:not(.more-open) .cr-more { right: 18px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 58px; height: 52px !important; padding: 0; border-radius: 16px; background: rgba(255, 255, 255, .14); box-shadow: none; z-index: 8; }
  .cr-more i .lbi-ic { width: 22px; height: 22px; }
  .cr.more-open .cr-side { left: 0; bottom: 0; }
  .cr.more-open .cr-nav .cr-nl { display: block; } .cr.more-open .cr-nav .cr-ns { display: none; }
  .cr.more-open .cr-more { right: 18px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 58px; height: 52px !important; border-radius: 16px; }
}
.cr-q i { color: #2563eb; } .cr-q i .lbi-ic { width: 20px; height: 20px; }
/* иконки Тренерской — Lucide (те же размеры, что были) */
.cr-nav button i .luc-ic, .cr-link .luc-ic, .cr-adm-nav i .luc-ic, .cr-q i .luc-ic { width: 20px; height: 20px; }
.cr-brand i .luc-ic { width: 26px; height: 26px; }
.cr-more i .luc-ic { width: 22px; height: 22px; }
@media (max-width: 760px) { .cr .cr-nav button i .luc-ic { width: 22px; height: 22px; } }
