/* Путь карьеры и погода. */
.weather-chip{display:inline-flex;align-items:center;gap:6px}
.weather-chip i{font-style:normal;color:var(--lime)}
.modal-preview .preview-conditions{flex-wrap:wrap}

.tactical-episode svg{background:#236349!important}
.ep-kit-number{font:800 10px Arial,sans-serif}
.ep-role-tag{font:800 11px Arial,sans-serif}
.ep57-route{opacity:.58;transition:opacity .16s,stroke-width .16s}
.ep57-route[data-route="pass"]{stroke-dasharray:8 5}
.ep57-route[data-route="run"]{stroke-dasharray:3 5}
.ep57-route[data-route="block"]{stroke-dasharray:5 5}
.episode-panel:has(.action-options button:is(:hover,:focus-visible)) .ep57-route{opacity:.18}
 .episode-panel:has(.action-options button:nth-child(1):is(:hover,:focus-visible)) .ep57-route:nth-child(1),
 .episode-panel:has(.action-options button:nth-child(2):is(:hover,:focus-visible)) .ep57-route:nth-child(2),
 .episode-panel:has(.action-options button:nth-child(3):is(:hover,:focus-visible)) .ep57-route:nth-child(3),
 .episode-panel:has(.action-options button:nth-child(4):is(:hover,:focus-visible)) .ep57-route:nth-child(4){opacity:1;stroke-width:3.7}
@media(max-width:700px) and (max-height:700px){
 .live-match-modal .episode-overview .tactical-episode{display:block;flex:none;height:clamp(88px,17dvh,116px)!important}
}
@media(max-width:410px) and (max-height:630px){
 .has-episode .live-match-modal .live-score{min-height:54px;margin:0}
 .has-episode .live-match-modal .live-score .club-badge.large{width:21px;height:22px}
 .has-episode .live-match-modal .live-score-center strong{font-size:27px!important}
 .has-episode .live-match-modal .live-status-row{margin:3px 0}
 .has-episode .live-match-modal #live-status{display:none}
 .has-episode .live-match-modal .live-player-rating{min-height:24px;height:24px;margin:2px 0 5px}
 .has-episode .live-match-modal .live-player-rating>b{font-size:19px}
 .live-match-modal .episode-panel{gap:6px;padding:7px}
 .live-match-modal .episode-overview{gap:4px}
 .live-match-modal .episode-overview h2{font-size:17px!important}
 .live-match-modal .episode-overview .moment-description{font-size:10px;line-height:1.25;order:1}
 .live-match-modal .episode-overview .tactical-episode{height:clamp(88px,17dvh,105px)!important}
 .live-match-modal .episode-panel .action-options{grid-auto-rows:minmax(56px,auto);gap:5px}
 .live-match-modal .episode-panel .action-options button{min-height:56px;padding:6px 7px 6px 9px}
 .live-match-modal .episode-panel .action-options:has(button:nth-child(4)) button{min-height:80px}
}
@media(pointer:coarse) and (min-width:560px) and (max-width:1100px) and (max-height:600px){
 .live-match-modal .episode-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.03fr);grid-template-rows:minmax(0,1fr);align-items:stretch;gap:9px;padding:8px}
 .live-match-modal .episode-overview{display:flex;flex-direction:column;grid-column:1;grid-row:1;min-height:0;gap:4px;overflow:auto}
 .live-match-modal .episode-overview h2{font-size:clamp(16px,2.7vw,22px)!important;overflow-wrap:anywhere}
 .live-match-modal .episode-overview .moment-description{margin:0;font-size:10px}
 .live-match-modal .episode-overview .tactical-episode{display:block!important;flex:1 0 84px;min-height:84px;height:auto!important;max-height:none!important}
 .live-match-modal .episode-decisions{display:flex;grid-column:2;grid-row:1;align-self:stretch;min-height:0;overflow:auto}
 .live-match-modal .episode-panel .action-options{align-content:center;gap:5px}
 .live-match-modal .episode-panel .action-options button{height:auto;min-height:44px;padding:7px 8px;gap:5px;flex-direction:row;align-items:center}
 .live-match-modal .episode-panel .action-options b{font-size:12px;overflow-wrap:anywhere}
 .live-match-modal .episode-panel .action-options .action-outcome{font-size:10px}
 .live-match-modal .episode-panel .action-options em{min-width:39px;font-size:21px}
 .live-match-modal .episode-panel .action-options button>svg{display:none}
 .live-match-modal .episode-panel:has(button:nth-child(4)){grid-template-rows:minmax(0,1fr)}
 .live-match-modal .episode-panel .action-options:has(button:nth-child(4)){grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(4,minmax(0,1fr));grid-auto-rows:auto;align-content:stretch;min-height:0}
 .live-match-modal .episode-panel .action-options:has(button:nth-child(4)) button{min-height:48px;height:auto;flex-direction:row;align-items:center;justify-content:space-between;padding:4px 6px}
 .live-match-modal .episode-panel .action-options:has(button:nth-child(4)) button .action-outcome{display:none}
}

.story57{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:18px;align-items:start}
.story-col{display:grid;gap:18px;min-width:0}
.story-panel{padding:18px 20px}
.story-panel .section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.story-panel h3{margin:0}
.streak-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.streak-tile{display:flex;flex-direction:column;gap:3px;padding:12px 10px;border:1px solid #ffffff14;border-radius:6px;background:#ffffff08;text-align:center}
.streak-tile b{font-size:30px;line-height:1;color:#f2f5f7}
.streak-tile span{font-size:11px;color:#c3d2de;line-height:1.25}
.streak-tile small{font-size:10px;color:var(--muted)}
.streak-tile.hot{border-color:#d0fa5b66;background:#d0fa5b12}.streak-tile.hot b{color:var(--lime)}
.goal-list{display:grid;gap:12px}
.story57 .goal-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;align-items:center;padding:12px 14px;border:1px solid #ffffff14;border-radius:6px;background:#ffffff08;overflow-wrap:anywhere}
.story57 .goal-row.done{border-color:#d0fa5b66;background:#d0fa5b10}
.story57 .goal-row b{display:block;font-size:14px}.story57 .goal-row small{display:block;margin-top:2px;color:var(--muted);font-size:12px}
.goal-meter{grid-column:1/-1;height:6px;border-radius:99px;background:#ffffff14;overflow:hidden}
.goal-meter i{display:block;height:100%;width:var(--pct);background:linear-gradient(90deg,#8fc02f,var(--lime))}
.story57 .goal-row em{font-style:normal;font-size:12px;color:#c3d2de}
.goal-reward{justify-self:end;font-size:12px;font-weight:800;color:var(--lime)}
.rel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.rel-card{display:flex;flex-direction:column;gap:7px;padding:12px;border:1px solid #ffffff14;border-radius:6px;background:#ffffff08}
.rel-card.high{border-color:#d0fa5b55}.rel-card.low{border-color:#ff6b6b55}
.rel-top{display:flex;justify-content:space-between;gap:4px 8px;align-items:baseline;flex-wrap:wrap}
.rel-top b{font-size:14px}.rel-top span{font-size:11px;color:var(--muted)}
.rel-bar{height:6px;border-radius:99px;background:#ffffff14;overflow:hidden}
.rel-bar i{display:block;height:100%;width:var(--pct);background:#6fb7e8}
.rel-card.high .rel-bar i{background:var(--lime)}.rel-card.low .rel-bar i{background:#ff6b6b}
.rel-card small{font-size:11px;line-height:1.35;color:var(--muted)}
.news-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.news-list li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:start;padding:10px 12px;border-left:3px solid #6fb7e8;border-radius:4px;background:#ffffff08;overflow-wrap:anywhere}
.news-list li span{font-size:10px;font-weight:800;letter-spacing:.8px;text-transform:uppercase;color:#6fb7e8;padding-top:2px;min-width:74px}
.news-list li p{margin:0;font-size:13px;line-height:1.4}.news-list li small{font-size:11px;color:var(--muted)}
.news-list li.news-achievement,.news-list li.news-goal{border-left-color:var(--lime)}.news-list li.news-achievement span,.news-list li.news-goal span{color:var(--lime)}
.news-list li.news-good{border-left-color:#7de2a6}.news-list li.news-good span{color:#7de2a6}
.news-list li.news-streak{border-left-color:#ffb454}.news-list li.news-streak span{color:#ffb454}
.achievement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.achievement{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 12px;border:1px solid #ffffff10;border-radius:6px;background:#ffffff06;opacity:.55;overflow-wrap:anywhere}
.achievement.unlocked{opacity:1;border-color:#d0fa5b55;background:#d0fa5b0e}
.achievement i{font-style:normal;font-size:20px;color:var(--muted)}.achievement.unlocked i{color:var(--lime)}
.achievement b{display:block;font-size:13px}.achievement small{display:block;font-size:11px;color:var(--muted);line-height:1.3}
.achievement em{font-style:normal;font-size:11px;font-weight:800;color:var(--lime)}
@media(max-width:1000px){.story57{grid-template-columns:1fr}}
@media(max-width:560px){.streak-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rel-grid,.achievement-grid{grid-template-columns:1fr}.news-list li{grid-template-columns:1fr}.news-list li span{min-width:0}}
@media(max-width:380px){.story-panel{padding:13px}.story57 .goal-row{padding:10px}.story57 .section-heading{gap:8px}}
