:root {
  --bg: #f3efe6;
  --paper: #fffdf8;
  --ink: #1c1915;
  --muted: #6d655c;
  --line: #e4dccf;
  --accent: #d84a1b;
  --accent-dark: #b33812;
  --forest: #1e4636;
  --forest-soft: #e7f0eb;
  --shadow: 0 18px 40px rgba(40, 28, 16, 0.08);
  --serif: "Literata", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(255, 122, 24, 0.18), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(18, 16, 14, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  min-height: 72px;
  padding: 8px 0;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 26px;
  color: #fff;
}
.logo span:first-child { font-family: var(--serif); }
.logo em {
  font-style: normal;
  color: var(--accent);
  font-weight: 750;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
  justify-content: flex-end;
}
.nav a {
  text-decoration: none;
  color: #d9d0c5;
  font-weight: 700;
  font-size: 14px;
  padding: 7px 12px;
  border-radius: 999px;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav a[aria-current="page"] { color: #fff; background: var(--accent); }
.nav-cta {
  text-decoration: none;
  background: var(--ink);
  color: #fff !important;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
}
.menu-btn {
  display: none;
  margin-left: auto;
  border: 1px solid #3a332c;
  background: #2a241e;
  color: #fff;
  border-radius: 10px;
  padding: 8px 12px;
}

.hero {
  padding: 54px 0 18px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}
.hero h1, .page-title {
  font-family: var(--serif);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-size: clamp(36px, 5vw, 62px);
  margin: 12px 0 14px;
}
.lede {
  max-width: 640px;
  color: var(--muted);
  font-size: 19px;
}

.grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 22px;
  padding-bottom: 48px;
}
.card, .offer, .match, .notice, .rail {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.story {
  display: block;
  text-decoration: none;
  padding: 22px;
  box-shadow: var(--shadow);
}
.story:hover { transform: translateY(-2px); }
.tag {
  display: inline-block;
  background: #f6e2d8;
  color: var(--accent-dark);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 750;
}
.story h2, .side-list h3, .offer h3 {
  font-family: var(--serif);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 12px 0 8px;
}
.meta, .fine { color: var(--muted); font-size: 14px; }
.side-list { padding: 8px; }
.side-list a {
  display: block;
  text-decoration: none;
  padding: 16px;
  border-radius: 16px;
}
.side-list a:hover { background: #f7f1e6; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 740px) 300px;
  gap: 28px;
  padding: 28px 0 64px;
}
.crumb { color: var(--muted); font-size: 14px; }
.crumb a { color: var(--forest); }
.article h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 10px 0 12px;
}
.byline { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.article p { font-size: 18.5px; }
.article h2 {
  font-family: var(--serif);
  font-size: 30px;
  margin: 32px 0 8px;
}
.match { padding: 18px 20px; margin: 22px 0; }
.match-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}
.team { font-family: var(--serif); font-size: 28px; }
.team.away { text-align: right; }
.vs {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: white;
  font-weight: 800;
}
.cta, .offer-link, .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cta, .offer-link {
  margin-top: 8px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 750;
  border-radius: 999px;
  padding: 12px 18px;
}
.cta:hover, .offer-link:hover { background: var(--accent-dark); }
.cta.ghost, .offer-link[aria-disabled="true"] {
  background: #efe6da;
  color: var(--muted);
  pointer-events: none;
}
.rail { padding: 18px; height: fit-content; position: sticky; top: 92px; }
.rail h2 { font-family: var(--serif); font-size: 26px; margin: 0 0 8px; }
.mini-offer {
  display: block;
  text-decoration: none;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.mini-offer strong { display: block; }
.banner {
  margin: 28px 0;
  padding: 22px;
  border-radius: 22px;
  background: var(--forest);
  color: #f4fff8;
}
.banner p { margin: 8px 0 14px; color: #d7ebe1; }
.banner .cta { background: white; color: var(--forest); }

.offers-page { padding: 28px 0 70px; }
.offers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.offer { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.offer .perk { font-size: 22px; font-family: var(--serif); margin: 0; }
.badge {
  align-self: flex-start;
  background: var(--forest-soft);
  color: var(--forest);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
}
.notice { padding: 16px 18px; color: var(--muted); font-size: 14px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
.footer-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--forest); }

.mirror-list { display: flex; flex-direction: column; gap: 12px; margin: 22px 0; }
.mirror-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-decoration: none;
  color: white;
  border-radius: 18px;
  padding: 16px 16px 16px 20px;
  background: linear-gradient(135deg, #ff8a1e 0%, #ff3d00 58%, #d30d00 100%);
  box-shadow: 0 14px 28px rgba(211, 13, 0, 0.28);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.mirror-link-primary {
  padding: 20px 18px 20px 22px;
  background: linear-gradient(135deg, #ffe14a 0%, #ff7a18 32%, #ff2a00 100%);
  box-shadow: 0 18px 36px rgba(255, 90, 20, 0.38);
}
.mirror-copy { display: flex; flex-direction: column; gap: 2px; }
.mirror-link strong { font-size: 20px; letter-spacing: -0.03em; }
.mirror-link-primary strong { font-size: 24px; }
.mirror-copy span { color: rgba(255, 255, 255, 0.88); font-size: 14px; }
.mirror-go {
  flex: none;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 14px;
}
a.mirror-link:hover,
button.mirror-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(211, 13, 0, 0.4);
}
button.mirror-link {
  width: 100%;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.mirror-link-off {
  background: #d9d0c4;
  color: #4a433c;
  box-shadow: none;
  cursor: default;
}
.mirror-link-off .mirror-copy span,
.mirror-link-off .mirror-go { color: #6d655c; background: rgba(255, 255, 255, 0.45); }
.quiet-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--forest);
  font-weight: 750;
}
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: var(--forest); }
.news-block { margin-top: 36px; }
.news-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.news-item:hover strong { color: var(--accent-dark); }
.news-source { margin-top: 8px; }
.rail .cta.ghost { background: transparent; color: var(--forest); border: 1px solid var(--line); margin-top: 8px; }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    flex-direction: column;
  }
  .nav.open { display: flex; background: #1c1915; }
  .grid, .article-layout, .offers, .teams { grid-template-columns: 1fr; }
  .team.away { text-align: left; }
  .rail { position: static; }
  .vs { display: none; }
}

.admin { padding: 28px 0 64px; }
.admin-card, .admin-body .admin section {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  margin-bottom: 16px;
}
.admin-card { max-width: 860px; }
.admin h1, .admin h2 { font-family: var(--serif); letter-spacing: -0.03em; margin: 0 0 8px; }
.admin-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.admin label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 750; color: var(--muted); margin: 12px 0; }
.admin input, .admin textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.admin textarea { min-height: 90px; resize: vertical; }
.admin-row {
  display: grid;
  gap: 8px;
  padding: 12px 0 16px;
  border-top: 1px solid var(--line);
}
.admin-error { color: var(--accent-dark); font-weight: 750; }
.text-btn {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
