:root{
--bg:#0a0710;--surface:#15101b;--surface2:#1d1426;--surface3:#251433;--line:#33243d;
--text:#fbf8fd;--muted:#b9afbf;--purple:#a758ec;--purple2:#c67eff;--live:#ff4f64;--ok:#56d48a;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;background:radial-gradient(circle at 50% -18rem,rgba(167,88,236,.14),transparent 45rem),var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.5}
a{color:inherit;text-decoration:none}.shell{width:min(1180px,calc(100% - 32px));margin:auto}
.preview-note{background:#7e32ca;color:#fff;font-size:12px}.preview-note .shell{height:30px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.site-header{position:sticky;top:0;z-index:50;border-bottom:1px solid rgba(255,255,255,.07);background:rgba(10,7,16,.94);backdrop-filter:blur(14px)}
.header-row{height:68px;display:flex;align-items:center;gap:22px}.brand{display:flex;align-items:center;gap:10px;font-weight:950;font-size:19px;margin-right:auto}
.logo{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,var(--purple2),#6720ad);box-shadow:0 8px 25px rgba(167,88,236,.3)}
.main-nav{display:flex;gap:17px;font-size:13px;font-weight:780;color:#cbc1d0}.main-nav a{padding:8px 0;border-bottom:2px solid transparent}.main-nav a:hover,.main-nav a.active{color:white;border-color:var(--purple)}
.app-button{padding:9px 14px;border-radius:11px;background:linear-gradient(135deg,var(--purple2),var(--purple));font-size:13px;font-weight:900}
.page{padding:34px 0 65px}.eyebrow{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#d6a5ff;font-weight:900}
h1{font-size:clamp(38px,6vw,68px);line-height:1.02;letter-spacing:-.05em;margin:10px 0 16px}h2{font-size:29px;letter-spacing:-.035em;margin:0}p{color:var(--muted)}
.hero-grid{display:grid;grid-template-columns:1.55fr .85fr;gap:14px}.hero-card{min-height:410px;border:1px solid var(--line);border-radius:23px;padding:30px;display:flex;flex-direction:column;justify-content:flex-end;background:radial-gradient(circle at 80% 10%,rgba(167,88,236,.32),transparent 22rem),linear-gradient(145deg,#21122e,#100c15)}
.hero-card h1{font-size:clamp(34px,5vw,58px)}.hero-card p{font-size:17px;max-width:700px;margin-bottom:0}
.side-stack{display:grid;gap:12px}.story-card,.panel,.match-card{border:1px solid var(--line);background:var(--surface);border-radius:17px}.story-card{padding:18px;transition:.16s}.story-card:hover{transform:translateY(-2px);border-color:#694781}.story-card h3{font-size:18px;line-height:1.2;margin:8px 0}.story-card p{font-size:13px;margin:0}
.meta{font-size:11px;color:#998d9e}.section{padding:34px 0}.section-head{display:flex;justify-content:space-between;gap:16px;align-items:end;margin-bottom:16px}.section-head a{font-size:12px;color:#d4a8fa;font-weight:850}
.story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}
.match-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.match-card{padding:17px}.competition{font-size:11px;color:#a99bad}.match-main{display:flex;justify-content:space-between;gap:12px;margin-top:10px}.teams{font-weight:850}.score{font-size:20px;font-weight:950;color:#fff;white-space:nowrap}.kickoff{font-weight:950;color:#d7a5ff;white-space:nowrap}.pill{display:inline-flex;margin-top:11px;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:950;background:rgba(167,88,236,.13);color:#dbb5fb}.pill.live{background:rgba(255,79,100,.13);color:#ff8996}
.page-intro{max-width:780px;margin-bottom:28px}.page-intro h1{font-size:48px}
.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 20px}.tab{border:1px solid var(--line);background:var(--surface);color:#d8ccdc;border-radius:999px;padding:8px 12px;font:inherit;font-size:12px;font-weight:850;cursor:pointer}.tab.active{background:var(--purple);border-color:var(--purple);color:white}
.matches-list{display:grid;gap:10px}.match-row{display:grid;grid-template-columns:190px 1fr 110px 120px;align-items:center;gap:15px;padding:17px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.match-row[hidden]{display:none}.match-row .match-teams{font-size:17px;font-weight:850}.match-row .match-comp{font-size:12px;color:#a99bad}.match-row .match-status{text-align:right;font-size:11px;font-weight:950;color:#d3a5fa}.match-row .match-result{text-align:right;font-size:20px;font-weight:950}
.content-layout{display:grid;grid-template-columns:1fr 300px;gap:20px}.feed{border-top:1px solid var(--line)}.feed-item{display:grid;grid-template-columns:110px 1fr;gap:14px;padding:17px 0;border-bottom:1px solid var(--line)}.feed-section{font-size:11px;color:#d6a4ff;font-weight:900}.feed-title{font-size:18px;font-weight:850;line-height:1.25}.feed-lead{font-size:13px;color:#aa9eaf;margin-top:5px}
.sidebar{height:max-content;position:sticky;top:115px;padding:18px}.chips{display:flex;flex-wrap:wrap;gap:7px}.chip{border:1px solid var(--line);border-radius:999px;padding:6px 9px;font-size:11px;color:#d6cbdc}
.article{max-width:820px}.article h1{font-size:clamp(36px,6vw,61px)}.article-meta{padding-bottom:18px;border-bottom:1px solid var(--line);color:#9e92a4;font-size:12px}.article-lead{font-size:21px;color:#d2c7d6;margin:25px 0}.article-body p{font-size:18px;color:#e7e0e9;line-height:1.72}.related{margin-top:42px;border-top:1px solid var(--line);padding-top:24px}
.site-footer{border-top:1px solid var(--line);padding:32px 0;color:#9e92a4;font-size:12px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:30px}.footer-grid strong{color:white}.footer-grid p{font-size:12px}.legal{border-top:1px solid var(--line);padding-top:17px;margin-top:24px}
@media(max-width:920px){.main-nav{display:none}.hero-grid,.content-layout{grid-template-columns:1fr}.side-stack{grid-template-columns:1fr 1fr}.story-grid{grid-template-columns:1fr 1fr}.match-strip{grid-template-columns:1fr}.sidebar{position:static}.match-row{grid-template-columns:130px 1fr 90px}}
@media(max-width:620px){.shell{width:calc(100% - 22px)}.preview-note span{display:none}.app-button{display:none}.page{padding-top:22px}.hero-card{min-height:340px;padding:22px}.side-stack,.story-grid{grid-template-columns:1fr}.match-row{grid-template-columns:1fr auto;gap:7px}.match-row .match-comp{grid-column:1}.match-row .match-teams{grid-column:1}.match-row .match-result,.match-row .match-status{grid-column:2}.footer-grid{grid-template-columns:1fr}}

.competition-line{display:flex;align-items:center;gap:8px;min-width:0}
.competition-logo{width:24px;height:24px;object-fit:contain;flex:0 0 auto}
.team-line{display:flex;align-items:center;gap:8px;min-height:27px}
.team-logo{width:24px;height:24px;object-fit:contain;flex:0 0 auto}
.match-row .match-result small{display:block;margin-top:2px;font-size:10px;color:var(--muted);font-weight:750}
.match-status.is-live{color:#ff8593}
.empty-state{padding:24px}
.empty-state h3{margin-top:0}
@media(max-width:620px){
  .competition-logo{width:20px;height:20px}
  .team-logo{width:22px;height:22px}
}

.article-cover{display:block;width:100%;max-height:520px;object-fit:cover;border-radius:18px;margin:22px 0}
.article-sources{margin-top:30px;padding-top:18px;border-top:1px solid rgba(255,255,255,.10)}
.article-sources h3{margin:0 0 10px}
.article-sources ul{margin:0;padding-left:20px}
.article-sources a{color:inherit}

.hero-card{overflow:hidden}
.hero-cover{width:100%;height:280px;object-fit:cover;display:block}
.hero-copy{padding:24px}
.story-cover{width:100%;height:150px;object-fit:cover;border-radius:14px;margin:0 0 14px;display:block}
.article-figure{margin:22px 0}
.article-figure .article-cover{margin:0}
.image-credit{margin-top:8px;font-size:12px;color:var(--muted);line-height:1.45}
.image-credit a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.feed-cover{width:150px;height:92px;object-fit:cover;border-radius:12px;flex:0 0 auto}
@media(max-width:760px){
  .hero-cover{height:210px}
  .feed-cover{width:100%;height:180px}
}

/* Управляемое кадрирование карточек и полное отображение живых фото в статье */
.hero-cover,
.story-cover,
.feed-cover {
  object-fit: cover;
}

.article-cover.is-live-photo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 780px;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
}

@media(max-width:760px){
  .article-cover.is-live-photo{
    max-height:none;
    width:100%;
  }
}


/* Архив новостей */
.news-archive-link{
  margin-top:34px;
}

.archive-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:20px 22px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  background:rgba(255,255,255,.035);
  color:inherit;
  text-decoration:none;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}

.archive-cta:hover{
  transform:translateY(-2px);
  border-color:rgba(196,107,255,.45);
  background:rgba(196,107,255,.07);
}

.archive-cta strong{
  display:block;
  font-size:18px;
}

.archive-cta small{
  display:block;
  margin-top:4px;
  color:var(--muted);
}

.archive-arrow{
  font-size:28px;
  color:#d184ff;
}

.archive-feed{
  display:grid;
  gap:16px;
}

.archive-item{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:20px;
  align-items:center;
  padding:14px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  background:rgba(255,255,255,.025);
  color:inherit;
  text-decoration:none;
}

.archive-cover{
  width:220px;
  height:132px;
  object-fit:cover;
  border-radius:13px;
  display:block;
}

.archive-meta{
  color:var(--muted);
  font-size:12px;
  margin-bottom:7px;
}

.archive-copy h2{
  margin:0 0 8px;
  font-size:22px;
  line-height:1.15;
}

.archive-copy p{
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.archive-back{
  margin-top:28px;
}

.archive-back a{
  color:#d184ff;
}

@media(max-width:760px){
  .archive-item{
    grid-template-columns:1fr;
  }

  .archive-cover{
    width:100%;
    height:190px;
  }
}


/* Исправление ленты /news/: одна горизонтальная карточка = фото + весь текст */
.feed .news-feed-card{
  display:grid;
  grid-template-columns:180px minmax(0,1fr);
  gap:20px;
  align-items:start;
  padding:18px 0;
  width:100%;
}

.feed .news-feed-cover{
  width:180px;
  height:112px;
  margin:0;
  border-radius:13px;
  object-fit:cover;
  display:block;
}

.news-feed-copy{
  min-width:0;
}

.news-feed-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px 12px;
  margin-bottom:8px;
}

.news-feed-meta .feed-section,
.news-feed-meta .meta{
  margin:0;
}

.feed .news-feed-card .feed-title{
  font-size:22px;
  line-height:1.2;
  margin:0 0 8px;
  max-width:none;
}

.feed .news-feed-card .feed-lead{
  font-size:14px;
  line-height:1.55;
  max-width:760px;
}

@media(max-width:760px){
  .feed .news-feed-card{
    grid-template-columns:1fr;
    gap:12px;
    padding:16px 0;
  }

  .feed .news-feed-cover{
    width:100%;
    height:210px;
  }

  .feed .news-feed-card .feed-title{
    font-size:20px;
  }
}


/* /news/: карточка без изображения занимает всю ширину */
.feed .news-feed-card.news-feed-card--no-image{
  grid-template-columns:minmax(0,1fr);
}

.feed .news-feed-card.news-feed-card--no-image .news-feed-copy{
  grid-column:1 / -1;
  width:100%;
}

.feed .news-feed-card.news-feed-card--no-image .feed-title{
  max-width:820px;
}

.feed .news-feed-card.news-feed-card--no-image .feed-lead{
  max-width:820px;
}

/* Страница «О редакции» */
.about-intro{max-width:850px}
.about-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.about-panel{padding:24px}
.about-panel h2,.about-status h2{margin:8px 0 10px;font-size:24px;line-height:1.2}
.about-panel p,.about-status p{margin:0 0 12px;line-height:1.65;color:var(--muted)}
.about-panel p:last-child,.about-status p:last-child{margin-bottom:0}
.about-link{color:#d184ff;text-decoration:none}
.about-link:hover{text-decoration:underline}
.about-status{margin-top:16px;padding:24px}
@media(max-width:760px){.about-grid{grid-template-columns:1fr}}


/* Мобильная навигация — исправленная версия без нативной стрелки details */
.mobile-nav{display:none;position:relative;margin-left:auto;flex:0 0 auto}
.mobile-nav-control{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.mobile-nav-toggle{width:42px;height:42px;padding:0;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:#17111d;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent}
.mobile-nav-toggle span{display:block;width:20px;height:2px;border-radius:999px;background:#fff;flex:0 0 auto}
.mobile-nav-panel{display:none;position:absolute;right:0;top:calc(100% + 10px);width:min(300px,calc(100vw - 22px));padding:8px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:#17111d;box-shadow:0 20px 55px rgba(0,0,0,.55);z-index:120;overflow:hidden}
.mobile-nav-control:checked ~ .mobile-nav-panel{display:flex;flex-direction:column}
.mobile-nav-panel a{display:flex;align-items:center;width:100%;min-height:44px;padding:10px 13px;border-radius:10px;color:#ddd3e2;font-size:15px;line-height:1.2;font-weight:800;white-space:nowrap}
.mobile-nav-panel a + a{margin-top:2px}
.mobile-nav-panel a:hover,.mobile-nav-panel a.active{background:rgba(167,88,236,.16);color:#fff}
.mobile-nav-panel .mobile-nav-app{margin-top:7px;justify-content:center;background:linear-gradient(135deg,var(--purple2),var(--purple));color:#fff}
@media(max-width:920px){.mobile-nav{display:block}}
@media(max-width:620px){.header-row{gap:12px}.brand{font-size:18px;white-space:nowrap}.mobile-nav-toggle{width:40px;height:40px}.mobile-nav-panel{right:0;width:min(290px,calc(100vw - 22px))}}
