/* ═══ События сезона: день сборов, Winter Cup, сезонный календарь, дневник (events.js) ═══ */

/* ── календарь: осень и зима ── */
#calendar { position: relative; overflow: hidden; }
#calendar > .cal-sea-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; opacity: .85; }
#calendar.cal-season-autumn { background-image: radial-gradient(circle at 100% 0%, rgba(251, 146, 60, .14), transparent 45%), radial-gradient(circle at 0% 100%, rgba(220, 38, 38, .07), transparent 40%); }
#calendar.cal-season-winter { background-image: radial-gradient(circle at 100% 0%, rgba(147, 197, 253, .22), transparent 48%), radial-gradient(circle at 0% 100%, rgba(186, 230, 253, .25), transparent 45%); }
.cal-day.camp.camp-autumn { color: #7c2d12; background: linear-gradient(135deg, #ffedd5, #fed7aa 60%, #fdba74); box-shadow: inset 0 0 0 1.5px #fb923c; }
.cal-day.camp.camp-autumn:hover { background: linear-gradient(135deg, #f97316, #c2410c); color: #fff; }
.cal-day.camp.camp-winter { color: #0c4a6e; background: linear-gradient(135deg, #f0f9ff, #e0f2fe 60%, #bae6fd); box-shadow: inset 0 0 0 1.5px #7dd3fc; }
.cal-day.camp.camp-winter:hover { background: linear-gradient(135deg, #38bdf8, #1d4ed8); color: #fff; }
.cal-day.camp.cup { box-shadow: inset 0 0 0 1.5px #facc15, 0 0 0 0 transparent; background: linear-gradient(135deg, #eff6ff, #dbeafe 55%, #fef3c7); color: #1e3a8a; }
.cal-day.camp.cup:hover { background: linear-gradient(135deg, #1d4ed8, #0f172a); color: #fde68a; }
.cal-day.camp.camp-s { border-top-left-radius: 14px; border-bottom-left-radius: 14px; }
.cal-day.camp.camp-e { border-top-right-radius: 14px; border-bottom-right-radius: 14px; }
.cal-day.camp .cal-ev { font-size: .62rem; }

/* ── плашка события в «Календаре матчей и событий» ── */
.lgs-hero--ev { position: relative; overflow: hidden; isolation: isolate; }
.lgs-sea-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.lgs-hero--ev > *:not(.lgs-hero-bg):not(.lgs-sea-fx):not(.sea-scene):not(.sea-light) { position: relative; z-index: 1; }
.lgs-hero--ev.lgs-ev-camp.sea-autumn { background: radial-gradient(circle at 85% 10%, rgba(253, 186, 116, .45), transparent 45%), linear-gradient(135deg, #7c2d12, #c2410c 45%, #9a3412 70%, #451a03); }
.lgs-hero--ev.lgs-ev-camp.sea-winter { background: radial-gradient(circle at 85% 10%, rgba(186, 230, 253, .5), transparent 45%), linear-gradient(135deg, #0c4a6e, #1e40af 55%, #0f172a); }
.lgs-hero--ev.lgs-ev-cup { background: radial-gradient(circle at 80% 0%, rgba(250, 204, 21, .3), transparent 42%), radial-gradient(circle at 0% 100%, rgba(125, 211, 252, .35), transparent 50%), linear-gradient(135deg, #0f172a, #1e3a8a 50%, #0c4a6e); }
.lgs-cup-t { font: 900 2rem/1 var(--font-display, inherit) !important; letter-spacing: .06em; color: #fff; text-shadow: 0 2px 18px rgba(147, 197, 253, .55); }
.lgs-cup-t em { font-style: normal; background: linear-gradient(180deg, #fef08a, #f59e0b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lgs-cup-ic { background: linear-gradient(135deg, rgba(250, 204, 21, .3), rgba(255, 255, 255, .1)) !important; box-shadow: inset 0 0 0 1px rgba(253, 230, 138, .55) !important; }
.lgs-cup-info { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.lgs-cup-info span { padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, .12); color: #e0f2fe; font-size: .78rem; }
.lgs-cup-info b { color: #fde68a; }
.lgs-cup-teams { display: flex; gap: 10px; margin: 6px 0 2px; }
.lgs-cup-teams span { display: grid; justify-items: center; font-size: 1.5rem; line-height: 1; }
.lgs-cup-teams small { font-size: .62rem; color: #bae6fd; margin-top: 3px; }
.lgs-meet { display: flex; align-items: center; gap: 12px; margin: 10px 0 4px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .13); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); color: #fff; }
.lgs-meet > span { font-size: 1.4rem; }
.lgs-meet div { flex: 1; min-width: 0; }
.lgs-meet b { display: block; font: 800 .92rem var(--font-body, inherit); }
.lgs-meet small { color: rgba(255, 255, 255, .8); font-size: .76rem; }
.lgs-meet a { flex: none; color: #fff; font: 700 .78rem var(--font-body, inherit); padding: 6px 10px; border-radius: 99px; background: rgba(255, 255, 255, .16); text-decoration: none; }
.lgs-row.is-ev.sea-autumn .lgs-ev-tag { background: #ffedd5; color: #9a3412; }
.lgs-row.is-ev.sea-winter .lgs-ev-tag, .lgs-row.is-cup .lgs-ev-tag { background: #e0f2fe; color: #075985; }
.lgs-row.is-cup .lgs-vs b { background: linear-gradient(90deg, #1e3a8a, #0369a1); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── окно дня / турнира ── */
#modal[data-ev] { max-width: 760px; }
.evd { display: grid; gap: 14px; }
.evd-hero { position: relative; overflow: hidden; isolation: isolate; padding: 20px 20px 16px; border-radius: 22px; color: #fff; background: linear-gradient(135deg, #1e3a8a, #0f172a); }
.evd.sea-autumn .evd-hero { background: radial-gradient(circle at 90% 0%, rgba(253, 186, 116, .5), transparent 45%), linear-gradient(135deg, #7c2d12, #c2410c 50%, #431407); }
.evd.sea-winter .evd-hero { background: radial-gradient(circle at 90% 0%, rgba(186, 230, 253, .55), transparent 45%), linear-gradient(135deg, #0c4a6e, #1e40af 55%, #0f172a); }
.evd-cup .evd-hero { background: radial-gradient(circle at 85% 0%, rgba(250, 204, 21, .32), transparent 42%), radial-gradient(circle at 0% 100%, rgba(125, 211, 252, .4), transparent 50%), linear-gradient(135deg, #0f172a, #1e3a8a 50%, #0c4a6e); }
.evd-hero--plain { background: linear-gradient(135deg, #2563eb, #1e3a8a); }
.evd-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.evd-kick { font: 700 .78rem var(--font-body, inherit); letter-spacing: .04em; color: rgba(255, 255, 255, .85); }
.evd-big { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 2px; }
.evd-big b { font: 900 2.2rem/1 var(--font-display, inherit); }
.evd-big span { font: 700 1rem var(--font-body, inherit); opacity: .85; }
.evd-date { font: 600 .95rem var(--font-body, inherit); color: rgba(255, 255, 255, .92); }
.evd-date em { font-style: normal; padding: 2px 8px; border-radius: 99px; background: rgba(255, 255, 255, .2); font-weight: 800; }
.evd-days { display: flex; gap: 6px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.evd-days::-webkit-scrollbar { display: none; }
.evd-days button { flex: none; display: grid; justify-items: center; width: 46px; padding: 6px 0; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .13); color: #fff; font: 800 1rem var(--font-display, inherit); cursor: pointer; }
.evd-days button small { font: 700 .58rem var(--font-body, inherit); opacity: .75; }
.evd-days button.on { background: #fff; color: #9a3412; }
.evd.sea-winter .evd-days button.on { color: #1e40af; }
.evd-days button.is-today:not(.on) { box-shadow: inset 0 0 0 2px #fde68a; }
.evd-cup-t { margin: 8px 0 4px; font: 900 2.6rem/1 var(--font-display, inherit); letter-spacing: .07em; text-shadow: 0 2px 20px rgba(147, 197, 253, .6); }
.evd-cup-t em { font-style: normal; background: linear-gradient(180deg, #fef08a, #f59e0b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.evd-cup-t i { font-style: normal; font-size: 2rem; margin-left: 10px; vertical-align: 4px; }
.evd-cup-teams { display: flex; gap: 14px; margin-top: 12px; }
.evd-cup-teams span { display: grid; justify-items: center; font-size: 1.8rem; line-height: 1; }
.evd-cup-teams small { font: 700 .66rem var(--font-body, inherit); color: #bae6fd; margin-top: 4px; }
.evd-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; align-items: start; }
.evd-col { display: grid; gap: 14px; }
@media (max-width: 680px) { .evd-grid { grid-template-columns: 1fr; } .evd-big b { font-size: 1.9rem; } .evd-cup-t { font-size: 2.1rem; } }
.evd-card { padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: 0 1px 0 rgba(15, 23, 42, .04), inset 0 0 0 1px #e2e8f0; }
.evd-card p { margin: 6px 0 10px; font-size: .9rem; line-height: 1.45; }
.evd-card small { color: #64748b; }
.evd-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.evd-h b { font: 800 1rem var(--font-display, inherit); color: #0f172a; }
.evd-h small { font-size: .74rem; color: #94a3b8; }
.evd-row { display: flex; gap: 8px; flex-wrap: wrap; }
.evd-meet { display: flex; gap: 12px; align-items: flex-start; background: linear-gradient(135deg, #fff7ed, #ffedd5); box-shadow: inset 0 0 0 1.5px #fdba74; }
.evd-meet .evd-ic { font-size: 1.8rem; }
.evd-meet b { display: block; font: 800 1.05rem var(--font-display, inherit); color: #7c2d12; }
.evd-meet small { display: block; margin: 3px 0 6px; color: #9a3412; font-size: .82rem; }
.evd-meet a { font: 700 .82rem var(--font-body, inherit); color: #c2410c; }
.evd-note { padding: 10px 14px; border-radius: 14px; background: #f8fafc; color: #334155; font-size: .86rem; line-height: 1.45; }
.evd-plan { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; position: relative; }
.evd-plan::before { content: ''; position: absolute; left: 50px; top: 8px; bottom: 8px; width: 2px; background: #f1f5f9; }
.evd-plan li { display: flex; gap: 14px; align-items: flex-start; padding: 7px 0; position: relative; }
.evd-plan time { flex: none; width: 40px; font: 800 .82rem var(--font-body, inherit); color: #c2410c; text-align: right; padding-top: 1px; }
.evd.sea-winter .evd-plan time { color: #1d4ed8; }
.evd-plan li::after { content: ''; position: absolute; left: 47px; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: #fb923c; box-shadow: 0 0 0 3px #fff; }
.evd.sea-winter .evd-plan li::after { background: #60a5fa; }
.evd-plan li.is-go::after { background: #16a34a; }
.evd-plan div { padding-left: 8px; }
.evd-plan b { display: block; font: 700 .9rem var(--font-body, inherit); color: #0f172a; }
.evd-plan small { font-size: .78rem; color: #64748b; }
.evd-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: .9rem; color: #334155; }
.evd-ask textarea { width: 100%; resize: vertical; min-height: 62px; border: 0; border-radius: 12px; padding: 10px 12px; background: #f1f5f9; font: 500 .9rem var(--font-body, inherit); outline: none; }
.evd-ask textarea:focus { box-shadow: inset 0 0 0 1.5px #3b82f6; background: #fff; }
.evd-ask { padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px #e2e8f0; }
.evd-ask-a { display: flex; justify-content: flex-end; margin-top: 8px; }
.evd-life { padding: 16px; border-radius: 20px; background: linear-gradient(180deg, #fffbeb, #fff); box-shadow: inset 0 0 0 1px #fde68a; }
.evd.sea-winter .evd-life { background: linear-gradient(180deg, #f0f9ff, #fff); box-shadow: inset 0 0 0 1px #bae6fd; }

/* ── дневник ── */
.lf-empty { padding: 14px 4px; color: #64748b; font-size: .88rem; line-height: 1.5; }
.lf-comp { display: grid; gap: 8px; padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px -12px rgba(15, 23, 42, .35), inset 0 0 0 1px #e2e8f0; }
.lf-comp textarea { width: 100%; resize: vertical; min-height: 70px; border: 0; outline: none; font: 500 .92rem/1.45 var(--font-body, inherit); background: none; }
.lf-att { display: flex; gap: 8px; flex-wrap: wrap; }
.lf-att:empty { display: none; }
.lf-a { position: relative; display: grid; justify-items: center; gap: 2px; width: 74px; padding: 6px; border-radius: 12px; background: #f1f5f9; font-size: 1.4rem; }
.lf-a img { width: 62px; height: 46px; object-fit: cover; border-radius: 8px; }
.lf-a small { font-size: .6rem; color: #64748b; max-width: 66px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lf-a button { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; background: #64748b; color: #fff; font: 800 .7rem/1 system-ui; cursor: pointer; }
.lf-bar { display: flex; align-items: center; gap: 6px; }
.lf-btn { width: 40px; height: 40px; border-radius: 12px; border: 0; display: grid; place-items: center; background: #f1f5f9; font-size: 1.1rem; cursor: pointer; }
.lf-btn:hover { background: #e2e8f0; }
.lf-btn.on { background: #fee2e2; animation: lfPulse 1s ease-in-out infinite; }
@keyframes lfPulse { 50% { box-shadow: 0 0 0 5px rgba(239, 68, 68, .18); } }
.lf-rec { display: inline-flex; align-items: center; gap: 6px; font: 800 .84rem var(--font-body, inherit); color: #dc2626; }
.lf-rec[hidden] { display: none; }
.lf-rec i { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; }
.lf-sp { flex: 1; }
.lf-list { display: grid; gap: 10px; margin-top: 12px; }
.lf-e { padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px #e2e8f0; }
.lf-e p { margin: 0 0 8px; font-size: .92rem; line-height: 1.5; color: #1e293b; white-space: normal; word-break: break-word; }
.lf-e footer { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-size: .74rem; color: #94a3b8; }
.lf-del { border: 0; background: none; cursor: pointer; opacity: .6; font-size: .95rem; }
.lf-del:hover { opacity: 1; }
.lf-media { display: grid; gap: 6px; grid-template-columns: repeat(3, 1fr); margin: 4px 0; }
.lf-media.n1 { grid-template-columns: 1fr; } .lf-media.n2 { grid-template-columns: 1fr 1fr; }
.lf-ph { border: 0; padding: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: #e2e8f0; cursor: zoom-in; }
.lf-media.n1 .lf-ph { aspect-ratio: 4 / 3; }
.lf-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lf-vid { border-radius: 12px; overflow: hidden; background: #0f172a; aspect-ratio: 1; }
.lf-media.n1 .lf-vid { aspect-ratio: 16 / 9; }
.lf-vid video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lf-aud { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.lf-aud audio { flex: 1; height: 36px; }
.lf-file { display: inline-block; margin: 4px 6px 0 0; font-size: .84rem; }
.lf-more { display: grid; place-items: center; border-radius: 12px; background: #0f172a; color: #fff; font: 800 1rem var(--font-display, inherit); }
.lf-chip { font-size: .78rem; color: #64748b; }
/* вкладка в «Дневнике» */
.lf-tab-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin: 4px 0 14px; }
.lf-tab-h b { display: block; font: 800 1.1rem var(--font-display, inherit); color: #0f172a; }
.lf-tab-h small { color: #64748b; font-size: .82rem; }
.lf-tab-a { display: flex; gap: 8px; flex-wrap: wrap; }
.lf-plates { display: grid; gap: 12px; }
.lf-plate { display: flex; gap: 14px; align-items: flex-start; width: 100%; padding: 14px 16px; border: 0; border-radius: 20px; text-align: left; cursor: pointer; font: inherit; color: #0f172a; background: #fff; box-shadow: 0 10px 26px -18px rgba(15, 23, 42, .5), inset 0 0 0 1px #e2e8f0; transition: transform .15s; }
.lf-plate:hover { transform: translateY(-2px); }
.lf-plate.sea-autumn { background: linear-gradient(135deg, #fff7ed, #ffedd5 70%, #fed7aa); box-shadow: 0 10px 26px -18px rgba(194, 65, 12, .6), inset 0 0 0 1px #fdba74; }
.lf-plate.sea-winter { background: linear-gradient(135deg, #f0f9ff, #e0f2fe 70%, #dbeafe); box-shadow: 0 10px 26px -18px rgba(30, 64, 175, .6), inset 0 0 0 1px #93c5fd; }
.lf-pl-ic { flex: none; width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06); }
.lf-pl-t { flex: 1; min-width: 0; display: grid; gap: 4px; }
.lf-pl-t b { font: 800 1rem var(--font-display, inherit); }
.lf-pl-t small { color: #64748b; font-size: .8rem; }
.lf-pl-t em { font-style: normal; font-size: .86rem; color: #334155; line-height: 1.4; }
.lf-pl-t .lf-media { grid-template-columns: repeat(4, 1fr); max-width: 320px; }
.lf-pl-t .lf-media .lf-ph, .lf-pl-t .lf-media .lf-vid { aspect-ratio: 1; }
.lf-pl-c { display: flex; gap: 8px; flex-wrap: wrap; }
.lf-pl-c i { font-style: normal; font-size: .74rem; color: #64748b; }
.lf-pick { display: grid; gap: 8px; }
.lf-pick-r { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; border-radius: 16px; background: #f8fafc; text-align: left; cursor: pointer; font: inherit; }
.lf-pick-r:hover { background: #eff6ff; }
.lf-pick-r.sea-autumn { background: #fff7ed; } .lf-pick-r.sea-winter { background: #f0f9ff; }
.lf-pick-r > span { font-size: 1.4rem; }
.lf-pick-r div { flex: 1; } .lf-pick-r b { display: block; font: 800 .95rem var(--font-body, inherit); color: #0f172a; } .lf-pick-r small { color: #64748b; font-size: .8rem; }
.lf-pick-r i { font-style: normal; font: 800 1.2rem var(--font-display, inherit); color: #f97316; }
/* «Кому написать» из карточки игрока */
.fas-wr { display: grid; gap: 8px; }
.fas-wr-b { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 0; border-radius: 14px; background: #f1f5f9; cursor: pointer; text-align: left; font: inherit; }
.fas-wr-b b { flex: 1; } .fas-wr-b small { color: #64748b; }
#playersGrid .player-avatar, .fas-pl-head .player-avatar { cursor: zoom-in; }
@media (prefers-reduced-motion: reduce) { .cal-sea-fx, .lgs-sea-fx, .evd-fx { display: none; } }
#calendar.cal-season-autumn .lg-camp { background: linear-gradient(135deg, #ffedd5, #fdba74); box-shadow: inset 0 0 0 1.5px #fb923c; }
#calendar.cal-season-winter .lg-camp { background: linear-gradient(135deg, #f0f9ff, #bae6fd); box-shadow: inset 0 0 0 1.5px #7dd3fc; }
.lf-media--sm { display: grid !important; grid-template-columns: repeat(4, 56px) !important; gap: 6px; margin-top: 4px; }
.lf-media--sm .lf-ph, .lf-media--sm .lf-more { width: 56px; height: 56px; aspect-ratio: auto; border-radius: 10px; display: grid; place-items: center; overflow: hidden; background: #e2e8f0; }
.lf-ph--v { font-size: 1.3rem; background: #0f172a !important; }

/* ═══ v3: спокойный фон «как было» + еле заметный лес, который качается ═══ */
.sea-scene { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(70px, 34%, 150px); z-index: 0; pointer-events: none; }
.sea-scene .sc-tree { transform-box: fill-box; transform-origin: 50% 100%; animation: scSway var(--t, 7s) ease-in-out var(--dl, 0s) infinite alternate; }
@keyframes scSway { from { transform: rotate(calc(var(--a, 1.6) * -1deg)); } to { transform: rotate(calc(var(--a, 1.6) * 1deg)); } }
@media (prefers-reduced-motion: reduce) { .sea-scene * { animation: none !important; } }
.lgs-hero--ev.lgs-ev-camp.sea-autumn, .evd.sea-autumn .evd-hero { background: radial-gradient(ellipse 80% 90% at 50% 38%, #f97316 0%, #ea580c 38%, #c2410c 72%, #9a3412 100%); }
.lgs-hero--ev.lgs-ev-camp.sea-winter, .evd.sea-winter:not(.evd-cup) .evd-hero { background: radial-gradient(ellipse 80% 90% at 50% 38%, #3b82f6 0%, #2563eb 40%, #1e40af 74%, #1e3a8a 100%); }
.lgs-hero--ev.lgs-ev-cup, .evd-cup .evd-hero { background: radial-gradient(ellipse 80% 90% at 50% 36%, #2f6ae6 0%, #1d4ed8 42%, #1e3a8a 76%, #172554 100%); }
.lgs-hero--ev .lgs-sea-fx, .evd-fx { z-index: 1 !important; }
.lgs-hero--ev > *:not(.lgs-hero-bg):not(.lgs-sea-fx):not(.sea-scene):not(.sea-light) { position: relative; z-index: 2; }
.evd-hero > *:not(.evd-fx):not(.sea-scene):not(.sea-light) { position: relative; z-index: 2; }
.evd-hero > .shr-btn--hero { position: absolute !important; top: 14px; right: 14px; }
.evd-hero { min-height: 190px; }

/* ── календарь: без падающих частиц — в каждом дне сборов тихо качается свой листик / мерцает снежинка ── */
.cal-day.cup::before { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 35%, rgba(253, 224, 71, .55) 50%, transparent 65%) -150% 0 / 250% 100% no-repeat; animation: calGlint 5s ease-in-out infinite; }
.cal-day.cup:nth-child(2n)::before { animation-delay: -1.6s; }
@keyframes calLeaf { 0%, 100% { transform: rotate(-14deg) translateY(0); } 50% { transform: rotate(12deg) translateY(-1.5px); } }
@keyframes calFlake { 0%, 100% { transform: rotate(0) scale(.9); opacity: .55; } 50% { transform: rotate(60deg) scale(1.05); opacity: 1; } }
@keyframes calGlint { 0%, 55% { background-position: -150% 0; } 85%, 100% { background-position: 150% 0; } }
#calendar > .cal-sea-fx { display: none !important; }
@media (prefers-reduced-motion: reduce) { .cal-day.camp::after, .cal-day.cup::before { animation: none; } }

/* «Дальше в календаре» на телефоне: ничего не уезжает вбок, длинные названия переносятся */
.lgs-scroll, .lgs-scroll.is-long { overflow-x: hidden; touch-action: pan-y; }
.lgs-list, .lgs-row, .lgs-teams { min-width: 0; }
.lgs-row.is-ev .lgs-vs b { white-space: normal; overflow-wrap: anywhere; }
.lgs-row.is-ev .lgs-teams small { overflow-wrap: anywhere; }
.lgs-ics--go { font-weight: 800; }
.lgs-ics--go i { font-style: normal; font-size: 1.15rem; line-height: 1; }
.lgs-ics--go i.lgs-chev { display: block; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--ic-chev) center / contain no-repeat; mask: var(--ic-chev) center / contain no-repeat; }
@media (max-width: 640px) { .lgs-ics--go span { display: none; } }
/* Winter Cup: зимний Ереван — чуть выше леса, прожекторы мягко дышат, окна мерцают */
.sea-scene.is-yvn { height: clamp(120px, 58%, 250px); }
.is-yvn .yv-glow { animation: yvGlow 6s ease-in-out infinite; }
.is-yvn .yv-beams { animation: yvBeam 9s ease-in-out infinite alternate; transform-box: view-box; transform-origin: 600px 240px; }
.is-yvn .yv-lt { animation: yvLt 4s ease-in-out var(--dl, 0s) infinite; }
.is-yvn .yv-hat { transform-box: fill-box; transform-origin: 20% 90%; animation: yvHat 5s ease-in-out infinite; }
@keyframes yvGlow { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes yvBeam { from { opacity: .55; transform: skewX(-3deg); } to { opacity: 1; transform: skewX(3deg); } }
@keyframes yvLt { 0%, 100% { opacity: .9; } 45% { opacity: .35; } }
@keyframes yvHat { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(4deg); } }
.sea-scene.is-yvn { height: clamp(140px, 66%, 290px); }
@media (max-width: 600px) { .sea-scene.is-yvn { height: 52%; opacity: .7; } }

/* ═══ v4 ═══ */
/* календарь: листья и снег копятся кучками внизу дней (seasonfx.js) — иконки дней поверх слоя */
#calendar > .cal-pile-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.cal-day.camp .cal-ev { z-index: 3; font-size: .7rem; left: 3px; top: 2px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.18)); }
.cal-day.cup .cal-ev { font-size: .74rem; }
/* плашка: не «просто оранжевая» — глубокий тёплый вечер, солнечный свет сверху справа, мягкие блики */
.lgs-hero--ev.lgs-ev-camp.sea-autumn, .evd.sea-autumn .evd-hero {
  background: radial-gradient(ellipse 34% 48% at 80% 6%, rgba(255, 236, 196, .55), rgba(255, 200, 120, .16) 50%, transparent 72%),
    radial-gradient(ellipse 90% 42% at 62% 100%, rgba(255, 170, 70, .55), rgba(232, 110, 40, .2) 50%, transparent 75%),
    linear-gradient(180deg, #2a1018 0%, #4a1a1c 28%, #7a2c18 58%, #b4511c 82%, #d9792c 100%); }
.sea-autumn .sea-scene .sc-far { fill: #3a1410; opacity: .5; }
.sea-autumn .sea-scene .sc-near { fill: #1f0a08; opacity: .82; }
.sea-autumn .sea-scene .sc-hill { fill: #5a2016; opacity: .45; }
.lgs-hero--ev.lgs-ev-camp.sea-winter, .evd.sea-winter:not(.evd-cup) .evd-hero {
  background: radial-gradient(ellipse 55% 75% at 82% -5%, rgba(219, 234, 254, .5), transparent 70%), linear-gradient(158deg, #0b1d4d 0%, #1e3a8a 40%, #2563eb 85%, #3b82f6 100%); }
.lgs-hero--ev.lgs-ev-cup, .evd-cup .evd-hero {
  background: radial-gradient(ellipse 50% 70% at 50% 110%, rgba(253, 230, 138, .32), transparent 70%), radial-gradient(ellipse 55% 75% at 85% -5%, rgba(219, 234, 254, .4), transparent 70%), linear-gradient(160deg, #0b1d4d 0%, #172f7a 45%, #1e40af 80%, #2557d6 100%); }
.lgs-hero--ev[data-sea]:not([data-sea=""]) .lgs-hero-bg i { border-color: rgba(255, 236, 200, .1); }
/* свет: лучи из угла медленно покачиваются, тёплые блики плывут */
.sea-light { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.sea-light b { position: absolute; top: -40%; right: 6%; width: 22%; height: 170%; transform-origin: 50% 0; border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 236, 200, .2), rgba(255, 236, 200, 0) 75%); filter: blur(6px); animation: slRay 14s ease-in-out infinite alternate; }
.sea-light b:nth-child(2) { right: 22%; width: 12%; animation-duration: 18s; animation-delay: -5s; opacity: .8; }
.sea-light b:nth-child(3) { right: 34%; width: 16%; animation-duration: 22s; animation-delay: -9s; opacity: .55; }
.sea-light i { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 150, .5), rgba(255, 214, 150, 0) 70%); animation: slBokeh var(--d, 16s) ease-in-out var(--dl, 0s) infinite alternate; }
.sea-light.is-cold b { background: linear-gradient(180deg, rgba(219, 234, 254, .18), rgba(219, 234, 254, 0) 75%); }
.sea-light.is-cold i { background: radial-gradient(circle, rgba(191, 219, 254, .42), rgba(191, 219, 254, 0) 70%); }
@keyframes slRay { from { transform: rotate(24deg); } to { transform: rotate(34deg); } }
@keyframes slBokeh { from { transform: translate(0, 0) scale(1); opacity: .5; } to { transform: translate(18px, -14px) scale(1.15); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sea-light * { animation: none !important; } }
/* листья летят поверх содержимого плашки (не размываются за плашками таймера) */
.lgs-hero--ev .lgs-sea-fx, .evd-fx { z-index: 4 !important; }

/* ═══ v5: осень — солнечная поляна (как на референсе: свет сквозь листву, золото, ковёр из листьев) ═══ */
.lgs-hero--ev.lgs-ev-camp.sea-autumn, .evd.sea-autumn .evd-hero, .evm-c.sea-autumn .evm-top {
  background:
    radial-gradient(ellipse 20% 30% at 56% 6%, rgba(255, 253, 240, .98), rgba(255, 240, 190, .8) 38%, rgba(255, 220, 140, 0) 100%),
    radial-gradient(ellipse 52% 60% at 56% 10%, rgba(255, 228, 156, .75), rgba(255, 210, 120, .2) 55%, transparent 75%),
    radial-gradient(ellipse 70% 9% at 52% 73%, rgba(255, 196, 110, .5), transparent 80%),
    radial-gradient(ellipse 15% 28% at 9% 38%, rgba(236, 92, 38, .7), transparent 70%),
    radial-gradient(ellipse 16% 32% at 27% 52%, rgba(150, 142, 62, .62), transparent 70%),
    radial-gradient(ellipse 13% 28% at 44% 56%, rgba(196, 160, 66, .55), transparent 70%),
    radial-gradient(ellipse 18% 30% at 74% 54%, rgba(128, 118, 52, .58), transparent 70%),
    radial-gradient(ellipse 12% 26% at 93% 48%, rgba(186, 92, 34, .55), transparent 70%),
    linear-gradient(180deg, #f4cd78 0%, #e9ae4e 26%, #d29540 46%, #bf7c34 60%, #a85524 72%, #84341a 86%, #64240f 100%) !important; }
.sea-scene.is-glade { height: 100% !important; top: 0; opacity: 1 !important; }
.sea-scene.is-glade canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sea-scene.is-glade .gl-br { animation: glSway 9s ease-in-out infinite alternate; will-change: transform; }
.sea-scene.is-glade .gl-br--r { transform-origin: 100% 0; }
.sea-scene.is-glade .gl-br--l { transform-origin: 0 0; animation-duration: 11s; animation-delay: -4s; }
@keyframes glSway { from { transform: rotate(-.8deg); } to { transform: rotate(1deg); } }
/* лучи солнца — из точки над центром, вниз-влево, как в кадре */
.lgs-hero--ev.sea-autumn .sea-light b, .evd.sea-autumn .sea-light b, .evm-c.sea-autumn .sea-light b {
  top: 2%; left: 54%; right: auto; width: 9%; height: 150%; transform-origin: 50% 0; filter: blur(10px);
  background: linear-gradient(180deg, rgba(255, 246, 214, .5), rgba(255, 236, 190, .14) 55%, rgba(255, 236, 190, 0) 85%); animation-name: glRay; }
.lgs-hero--ev.sea-autumn .sea-light b:nth-child(2), .evd.sea-autumn .sea-light b:nth-child(2), .evm-c.sea-autumn .sea-light b:nth-child(2) { width: 5%; left: 56%; opacity: .8; }
.lgs-hero--ev.sea-autumn .sea-light b:nth-child(3), .evd.sea-autumn .sea-light b:nth-child(3), .evm-c.sea-autumn .sea-light b:nth-child(3) { width: 7%; left: 58%; opacity: .6; }
@keyframes glRay { from { transform: rotate(32deg); opacity: .7; } to { transform: rotate(44deg); opacity: 1; } }
.sea-autumn .sea-light i { background: radial-gradient(circle, rgba(255, 244, 205, .55), rgba(255, 230, 170, 0) 70%); }
/* текст на светлом — мягкая тень для читаемости */
.lgs-hero--ev.sea-autumn, .evd.sea-autumn .evd-hero, .evm-c.sea-autumn .evm-top { text-shadow: 0 1px 2px rgba(80, 30, 5, .55), 0 2px 14px rgba(110, 45, 8, .45); }
.lgs-hero--ev.sea-autumn .lgs-hero-kick, .lgs-hero--ev.sea-autumn .lgs-ev-ic { background: rgba(90, 38, 10, .32); border-color: rgba(255, 240, 210, .4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lgs-hero--ev.sea-autumn .lgs-hero-bg { opacity: 0; }

/* ═══ окно дня с несколькими событиями ═══ */
.evm { display: grid; gap: 12px; }
.evm-head b { display: block; font-size: 1.05rem; } .evm-head em { font-style: normal; color: var(--primary, #2563eb); }
.evm-head small { color: var(--text-secondary, #64748b); font-size: .8rem; }
.evm-c { border-radius: 18px; overflow: hidden; background: var(--bg-card, #fff); box-shadow: 0 0 0 1px rgba(15, 23, 42, .08), 0 8px 22px -16px rgba(15, 23, 42, .4); }
.evm-top { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 12px; min-height: 92px; padding: 16px; color: #fff; background: linear-gradient(135deg, #1e3a8a, #0f172a); }
.evm-top > :not(.sea-scene):not(.sea-light) { position: relative; z-index: 2; }
.evm-top b { font-size: 1.02rem; display: block; } .evm-top small { opacity: .9; font-size: .78rem; }
.evm-top em { font-style: normal; color: #fde68a; }
.evm-c.sea-winter .evm-top { background: radial-gradient(ellipse 50% 70% at 50% 110%, rgba(253, 230, 138, .32), transparent 70%), linear-gradient(160deg, #0b1d4d, #1e40af 80%, #2557d6); }
.evm-top--plain { background: linear-gradient(135deg, #2563eb, #1e3a8a); min-height: 0; }
.evm-ic { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; font-size: 1.35rem; border-radius: 13px; background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.evm-line { padding: 10px 16px 0; font-size: .86rem; color: var(--text-primary, #0f172a); }
.evm-teams { display: flex; flex-wrap: wrap; gap: 6px; } .evm-teams span { padding: 3px 8px; border-radius: 999px; background: #eff6ff; font-size: .78rem; }
.evm-plan { list-style: none; margin: 8px 16px 0; padding: 0; display: grid; gap: 4px; font-size: .82rem; }
.evm-plan li { display: grid; grid-template-columns: 64px 1fr; gap: 8px; } .evm-plan time { font-weight: 700; color: #c2410c; font-variant-numeric: tabular-nums; }
.evm-plan small { color: var(--text-secondary, #64748b); }
.evm-c.sea-winter .evm-plan time { color: #1d4ed8; }
.evm-go { display: block; width: calc(100% - 24px); margin: 12px; padding: 10px 12px; border: 0; border-radius: 12px; background: #f1f5f9; color: var(--primary, #2563eb); font: inherit; font-weight: 700; font-size: .84rem; text-align: left; cursor: pointer; }
.evm-go:hover { background: #e2e8f0; }
.evm-sub { font-weight: 800; font-size: .84rem; margin: 4px 2px -4px; }
.evm-games { position: static !important; width: auto !important; max-width: none !important; box-shadow: none !important; padding: 0 !important; background: none !important; }
.cal-day.multi::after { content: ''; position: absolute; right: 5px; bottom: 5px; width: 6px; height: 6px; border-radius: 50%; background: #2563eb; box-shadow: 0 0 0 2px #fff; z-index: 3; }
@media (prefers-reduced-motion: reduce) { .sea-scene.is-glade .gl-br { animation: none; } }

/* ═══ v6: плашка осенних сборов — тёплый золотой вечер, читаемый текст, ковёр листьев полосой внизу ═══ */
.lgs-hero--ev.lgs-ev-camp.sea-autumn, .evd.sea-autumn .evd-hero, .evm-c.sea-autumn .evm-top {
  background:
    radial-gradient(ellipse 34% 52% at 86% -4%, rgba(255, 246, 214, .92), rgba(255, 222, 140, .55) 35%, rgba(255, 200, 110, 0) 72%),
    radial-gradient(ellipse 60% 60% at 80% 10%, rgba(255, 196, 96, .45), transparent 70%),
    radial-gradient(ellipse 22% 40% at 6% 30%, rgba(214, 74, 28, .55), transparent 70%),
    radial-gradient(ellipse 18% 34% at 58% 70%, rgba(150, 132, 52, .38), transparent 70%),
    radial-gradient(ellipse 16% 30% at 34% 62%, rgba(196, 150, 60, .32), transparent 70%),
    linear-gradient(165deg, #c4691f 0%, #b0561a 30%, #974316 58%, #7a3212 82%, #5a220c 100%) !important; }
.lgs-hero--ev.sea-autumn, .evd.sea-autumn .evd-hero, .evm-c.sea-autumn .evm-top { text-shadow: 0 1px 2px rgba(70, 22, 4, .45); }
.lgs-hero--ev.sea-autumn .lgs-sea-fx, .evd.sea-autumn .evd-fx { z-index: 1 !important; }
.lgs-hero--ev.sea-autumn .lgs-cd-b { background: rgba(80, 28, 6, .28); border-color: rgba(255, 228, 180, .3); backdrop-filter: none; -webkit-backdrop-filter: none; }
.lgs-hero--ev.sea-autumn .lgs-meet { background: rgba(80, 28, 6, .32); box-shadow: inset 0 0 0 1px rgba(255, 228, 180, .28); }
.lgs-hero--ev.sea-autumn .lgs-hero-ghost { background: rgba(80, 28, 6, .42); border-color: rgba(255, 228, 180, .42); }
.lgs-hero--ev.sea-autumn .lgs-hero-ghost:hover { background: rgba(80, 28, 6, .58); }
.lgs-hero--ev.sea-autumn .lgs-hero-grp { padding: 5px 10px; border-radius: 999px; background: rgba(80, 28, 6, .34); color: #fff; }
.lgs-hero--ev.sea-autumn { padding-bottom: clamp(40px, 6vw, 64px) !important; }
.sea-autumn .sea-light b { left: auto !important; right: 12%; top: -6%; }

/* ═══ v7: Winter Cup в календаре — праздничные дни: тёмная хвоя, золото, гирлянда (рисует seasonfx.js) ═══ */
.cal-day.cup::before { content: none !important; animation: none !important; }
.cal-day.camp.cup { background: radial-gradient(circle at 50% 30%, rgba(253, 224, 71, .16), transparent 60%), linear-gradient(155deg, #1d5a43 0%, #144634 55%, #0e3528 100%) !important;
  box-shadow: inset 0 0 0 1.5px #e9c45a !important; color: #fde68a !important; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
.cal-day.camp.cup:hover { background: radial-gradient(circle at 50% 30%, rgba(253, 224, 71, .26), transparent 60%), linear-gradient(155deg, #23694e, #175039 55%, #10402f) !important; color: #fff3c4 !important; }
#calendar.cal-season-winter .lg-camp { background: linear-gradient(135deg, #1d5a43, #0e3528); box-shadow: inset 0 0 0 1.5px #e9c45a; }

/* ═══ v7: Winter Cup — праздничная ночь (бордо и золото вместо синего), новогодний Ереван тихим силуэтом ═══ */
.lgs-hero--ev.lgs-ev-cup, .evd-cup .evd-hero, .evm-c.evm-cup .evm-top {
  background: radial-gradient(ellipse 45% 60% at 50% 105%, rgba(255, 196, 92, .32), transparent 70%),
    radial-gradient(ellipse 40% 55% at 88% -6%, rgba(255, 228, 170, .28), transparent 70%),
    radial-gradient(ellipse 30% 45% at 6% 10%, rgba(244, 63, 94, .18), transparent 70%),
    linear-gradient(165deg, #2a0a12 0%, #4a1020 38%, #6b1626 72%, #7d1e2a 100%) !important; }
.sea-scene.is-yvn { opacity: 1 !important; }
.is-yvn .yv-far { fill: #fff; opacity: .05; }
.is-yvn .yv-city { fill: #ffe9d6; opacity: .1; }
.is-yvn .yv-snow { fill: #fff; opacity: .42; }
.is-yvn .yv-hat { fill: #ef4444; opacity: .75; }
.is-yvn .yv-lt { fill: #ffd27a; opacity: .45; }
.is-yvn .yv-ground { fill: #fff; opacity: .16; }
.is-yvn .yv-w { fill: none; stroke: #ffe9d6; stroke-opacity: .22; stroke-width: 1; }
.is-yvn .yv-tree { fill: #0f5132; opacity: .55; } .is-yvn .yv-trunk { fill: #3b1d12; opacity: .5; }
.is-yvn .yv-star { fill: #fcd34d; filter: drop-shadow(0 0 6px rgba(252, 211, 77, .9)); animation: yvStar 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.is-yvn .yv-b circle { fill: var(--c); }
.is-yvn .yv-b .yv-bg { opacity: .28; }
.is-yvn .yv-b { animation: yvTw var(--d, 2s) ease-in-out var(--dl, 0s) infinite; }
@keyframes yvTw { 0%, 100% { opacity: .3; } 45% { opacity: 1; } 60% { opacity: .85; } }
@keyframes yvStar { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.12); opacity: 1; } }
.is-yvn .yv-beams, .is-yvn .yv-glow { display: none; }
.evd-cup-teams small { color: #fde7c2; }
.evd-cup-t { text-shadow: 0 2px 20px rgba(252, 211, 77, .45); }
@media (prefers-reduced-motion: reduce) { .is-yvn .yv-b, .is-yvn .yv-star { animation: none; } }

/* фон календаря — всегда один, без сезонных градиентов */
#calendar.cal-season-autumn, #calendar.cal-season-winter, #calendar.cal-season-summer { background-image: none !important; }

/* ═══ v9: Winter Cup — вечерний Ереван: закатное небо, тёмные силуэты под снегом, тёплые окна, разноцветные гирлянды ═══ */
.lgs-hero--ev.lgs-ev-cup, .evd-cup .evd-hero, .evm-c.evm-cup .evm-top {
  background: radial-gradient(ellipse 60% 34% at 55% 100%, rgba(255, 176, 110, .75), rgba(240, 130, 100, .25) 55%, transparent 80%),
    radial-gradient(ellipse 30% 40% at 86% 8%, rgba(255, 236, 200, .18), transparent 70%),
    linear-gradient(180deg, #17142f 0%, #2c2250 30%, #5a3866 58%, #a85d6e 82%, #e39a78 100%) !important; }
.is-yvn .yv-far { fill: #c4a3c4; opacity: .28; }
.is-yvn .yv-city { fill: #231a36; opacity: .82; }
.is-yvn .yv-snow { fill: #fff; opacity: .78; }
.is-yvn .yv-lt { fill: #ffd27a; opacity: .9; filter: drop-shadow(0 0 3px rgba(255, 210, 122, .8)); }
.is-yvn .yv-ground { fill: #f4eefa; opacity: .55; }
.is-yvn .yv-w { stroke: #f5e6ff; stroke-opacity: .3; }
.is-yvn .yv-tree { fill: #14402f; opacity: .9; } .is-yvn .yv-trunk { fill: #2a1a14; opacity: .8; }
.is-yvn .yv-b .yv-bg { opacity: .4; }
.is-yvn .yv-hat { opacity: .95; }
.sea-scene.is-yvn { height: clamp(140px, 70%, 300px) !important; }
@media (max-width: 600px) { .sea-scene.is-yvn { height: 56% !important; } }
/* Winter Cup в календаре — те же вечерние тона */
.cal-day.camp.cup { background: radial-gradient(ellipse 80% 45% at 50% 100%, rgba(255, 170, 110, .45), transparent 75%), linear-gradient(180deg, #221c42 0%, #3b2a5c 55%, #6e4566 100%) !important;
  box-shadow: inset 0 0 0 1.5px #e9c45a !important; color: #fde68a !important; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.cal-day.camp.cup:hover { background: radial-gradient(ellipse 80% 45% at 50% 100%, rgba(255, 180, 120, .6), transparent 75%), linear-gradient(180deg, #2a2350, #47336b 55%, #7d4e70) !important; color: #fff3c4 !important; }
#calendar.cal-season-winter .lg-camp { background: linear-gradient(180deg, #2c2250, #6e4566); box-shadow: inset 0 0 0 1.5px #e9c45a; }

/* окно дня сборов / турнира: «Вопрос тренеру» — отдельной широкой карточкой внизу */
.evd > .evd-ask { margin-top: 14px; }
.evd > .evd-ask textarea { min-height: 84px; }

/* ═══ списки игр и событий («Дальше в календаре», «Матчи · обе группы»): без сдвига при наведении и без обрезанных теней ═══ */
.lgs-row, .fas-res { box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: #fff !important; border: 1.5px solid #e6ecf5 !important; }
.lgs-row:hover, .lgs-scroll .lgs-row:hover, .fas-res:hover, .result-card.fas-res:hover { transform: none !important; border-color: var(--blue-200, #bfdbfe) !important; box-shadow: none !important; background: #f8fbff !important; }
.lgs-row:active, .fas-res:active { transform: none !important; background: #f1f6ff !important; }
.lgs-row.is-live { box-shadow: inset 4px 0 0 #ef4444 !important; }
html.lb-inapp .lgs-row { background: #fff !important; }
/* тег события — маленький, по размеру текста (как «FAS» и группы), а не на всю ширину */
.lgs-ev-tag { justify-self: start; align-self: flex-start; width: fit-content; max-width: max-content; }
.is-yvn .yv-city { color: #231a36; }

/* ═══ без тяжёлых цветных теней под большими плашками: они рисовали тёмные горизонтальные полосы между блоками ═══ */
.lgs-hero, .lgs-hero--ev, .news-featured, .cmp-hero, .mx-team, .rr-hero, .tg-soon, .cmp-venue-ph, .cmp-map-w, .cmp-map-card, .rl-card, .rv-poster, .mx-ld, .tgx-post, .pg-map-wrap, .cmp-card, .oa-t {
  box-shadow: 0 10px 24px -20px rgba(15, 23, 42, .22) !important; }
.lgs-hero.is-live { box-shadow: 0 10px 24px -20px rgba(15, 23, 42, .22), inset 0 0 0 1px rgba(255, 255, 255, .08) !important; }
.player-card.fas-player.is-cap { box-shadow: inset 0 0 0 1.5px rgba(214, 158, 46, .45) !important; }
/* липкие заголовки дней в списке — того же цвета, что и сам блок, без серых полос */
#leagueSchedule.lg-sched { background: #fff !important; }
.lgs-scroll .lgs-day { background: linear-gradient(180deg, #fff 72%, rgba(255, 255, 255, 0)) !important; }
/* липкая полоса вкладок раздела — без тени-линии снизу */
.hub-bar, .hub-bar.is-stuck { box-shadow: none !important; }
.hub-dock > .hub-bar, .hub-dock-strip { box-shadow: none !important; }
.nav.scrolled { box-shadow: none !important; }

/* окна событий: все карточки и кнопки в одном виде — одинаковые отступы, кнопки слева, на телефоне — во всю ширину */
.evd-card, .evd-ask { padding: 16px 18px !important; border-radius: 18px !important; background: #fff !important; box-shadow: inset 0 0 0 1px #e2e8f0 !important; }
.evd-ask-a { justify-content: flex-start !important; margin-top: 10px !important; }
.evd-card .evd-row, .evd-ask-a { gap: 8px; }
.evd-card .btn, .evd-ask .btn { min-height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 700; }
.evd-card p { margin: 6px 0 10px; }
@media (max-width: 680px) {
  .evd-card .evd-row .btn, .evd-ask-a .btn, .evd-card > .evd-row > .btn { flex: 1 1 100%; justify-content: center; width: 100%; }
}
/* Winter Cup: «через N дней» не разрывается, подписи стран читаются поверх города */
.evd-date em, .lgs-hero-meta em { white-space: nowrap; display: inline-block; }
.evd-cup-teams small, .lgs-hero--ev.lgs-ev-cup .lgs-cup-teams small { margin-top: 4px; padding: 2px 7px; border-radius: 99px; background: rgba(20, 16, 42, .62); color: #fff !important; font-weight: 700; }
@media (max-width: 600px) { .evd-cup .sea-scene.is-yvn { height: 46% !important; opacity: .8; } .evd-cup-teams { gap: 8px; flex-wrap: wrap; } }

/* ═══ события лиги: окно и цвета; старт чемпионата U13 девочек — тот же зелёный, что и у возобновления лиги ═══ */
.evd-hero--lg { background: radial-gradient(ellipse 50% 70% at 88% -10%, rgba(134, 239, 172, .35), transparent 70%), linear-gradient(150deg, #065f46, #047857 55%, #0f766e) !important; }
.cal-day.event.ev-league, .cal-day.event.ev-girls { background: linear-gradient(135deg, #ecfdf5, #d1fae5) !important; box-shadow: inset 0 0 0 1.5px #6ee7b7 !important; color: #065f46 !important; }
.evm-lg.lg-league .evm-top--plain, .evm-lg.lg-girls .evm-top--plain { background: linear-gradient(135deg, #047857, #0f766e); }

/* ═══ сборка 264: плашка события — одна строка действий: «Расписание» + квадратики (инфо, напомнить, поделиться) ═══ */
.lgs-hero--ev .lgs-hero-act { flex-wrap: nowrap; align-items: center; }
.lgs-hero--ev .lgs-hero-act .btn { flex: 1 1 auto !important; min-width: 0; min-height: 48px; gap: 8px; }
.lgs-hero--ev .lgs-hero-act .btn .lbi-ic { width: 20px; height: 20px; }
.lgs-hero--ev .lgs-hero-act .lgs-shr { flex: none; width: 48px; height: 48px; min-width: 48px; }
.lgs-shr .lbi-ic { width: 22px; height: 22px; }
/* точка сбора: адрес — отдельной строкой, ссылкой на карту со значком метки */
.lgs-meet b { line-height: 1.3; }
.lgs-meet-addr { display: inline-flex; align-items: center; gap: 5px; margin: 4px 0 2px; color: #fff; font: 700 .9rem var(--font-body, inherit); text-decoration: none; }
.lgs-meet-addr .lbi-ic { width: 17px; height: 17px; flex: none; }
.lgs-meet-addr u { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 3px; }
.lgs-meet-addr:hover u { text-decoration-color: #fff; }
.lgs-meet small { display: block; }
/* следующая игра: одна кнопка «Все игры сезона ›» + квадратики «календарь» и «напомнить» */
.lgs-hero-act.is-row { flex-wrap: nowrap; align-items: center; }
.lgs-hero-act.is-row .btn { flex: 1 1 auto !important; min-width: 0; min-height: 48px; gap: 8px; }
.lgs-hero-act.is-row .lgs-shr { flex: none; width: 48px; height: 48px; min-width: 48px; }
.lgs-chev { display: inline-block; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: var(--ic-chev) center / contain no-repeat; mask: var(--ic-chev) center / contain no-repeat; }
/* окно «Добавить в календарь»: значки — иконки, синие */
.lgs-subm-btn i .lbi-ic { width: 24px; height: 24px; color: #2563eb; }
.lgs-subm-btn i { display: grid; place-items: center; width: 28px; }
.evd-h .luc-ic { width: 18px; height: 18px; vertical-align: -3px; margin-right: 2px; }
.lgs-sub .luc-ic { width: 16px; height: 16px; vertical-align: -3px; }
/* плашка игры: дата, время, место — иконки Lucide; «← К ближайшей игре» — наша стрелка */
.lgs-hero-meta .luc-ic { width: 17px; height: 17px; vertical-align: -3px; opacity: .9; }
.lgs-chev--back { transform: scaleX(-1); }
.result-icon.up .luc-ic { width: 16px; height: 16px; }
.lgs-meet-addr .luc-ic { width: 17px; height: 17px; flex: none; }
.lgs-subm-btn i .luc-ic { width: 24px; height: 24px; color: #2563eb; }
.lgs-ics .luc-ic { width: 18px; height: 18px; flex: none; }
.lgs-more { display: inline-flex; align-items: center; gap: 4px; }
.lgs-more .lgs-chev { width: 16px; height: 16px; }
.lb-venue .luc-ic { width: 14px; height: 14px; vertical-align: -2px; }

/* ═══ летние сборы: бассейн (poolfx.js рисует небо, бортик, воду и число дня поверх клетки) ═══ */
#calendar > .cal-pool-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
#calendar.cal-season-summer { background-image: radial-gradient(circle at 0% 0%, rgba(253, 224, 71, .16), transparent 45%), radial-gradient(circle at 100% 100%, rgba(56, 189, 248, .12), transparent 50%); }
.cal-day.camp.camp-summer { color: transparent !important; background: linear-gradient(#2b8de6, #8fd3ff 46%, #e7eef5 46%, #22d3ee 52%, #0369a1) !important; box-shadow: inset 0 0 0 1.5px rgba(14, 116, 180, .45) !important; overflow: hidden; }
.cal-day.camp.camp-summer:hover { box-shadow: inset 0 0 0 2px #0ea5e9 !important; }
.cal-day.camp.camp-summer .cal-ev, .cal-day.camp.camp-summer::before, .cal-day.camp.camp-summer::after { display: none !important; }
#calendar.cal-season-summer .lg-camp { background: linear-gradient(#2b8de6, #8fd3ff 46%, #e7eef5 46%, #22d3ee 54%, #0369a1); box-shadow: inset 0 0 0 1.5px rgba(14, 116, 180, .45); }
/* окно дня сборов и плашки: летнее небо, солнце с лучами, бассейн внизу — без полос и лишних линий */
.evd.sea-summer .evd-hero, .evm-c.sea-summer .evm-top, .lgs-hero--ev.lgs-ev-camp.sea-summer {
  background: linear-gradient(180deg, #3f9ae6 0%, #8fcdf6 60%, #dcf0fb 74%, #20c4ea 82%, #0a8fd0 100%) !important; }
/* лето: внизу шапки — бассейн (poolfx.js рисует небо, базу, воду и всё, что плавает) */
.evd.sea-summer .evd-hero { padding-bottom: 104px !important; }
.evm-c.sea-summer .evm-top, .lgs-hero--ev.lgs-ev-camp.sea-summer { padding-bottom: 84px !important; }
.sea-scene.is-pool { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; overflow: hidden; pointer-events: none; z-index: 0 !important; border-radius: inherit; }
.sea-scene.is-pool > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.evd.sea-summer .evd-days button.on { color: #0369a1; }
.evd.sea-summer .evd-hero, .evm-c.sea-summer .evm-top { text-shadow: 0 1px 3px rgba(8, 47, 90, .45); }
.lf-plate.sea-summer { background: linear-gradient(135deg, #f0f9ff, #e0f2fe 70%, #bae6fd); }
.lf-pick-r.sea-summer { background: #f0f9ff; }
.lgs-row.is-ev.sea-summer .lgs-ev-tag { background: #e0f2fe; color: #075985; }
