/* =========================================================
   Gaudau.lt – site theme (loaded last on every page)
   Deep-water palette, bobber-orange accent, contour lines,
   multi-page layout: header, page heroes, home blocks, footer.
   ========================================================= */

:root {
  --bg: #06121a;
  --bg-2: #081923;
  --bg-3: #0c2230;
  --surface: #0b1d28;
  --surface-2: #0f2633;
  --surface-3: #12303f;
  --line: rgba(125, 211, 252, 0.12);
  --line-strong: rgba(125, 211, 252, 0.22);
  --text: #d3e4ec;
  --text-strong: #f2fafd;
  --muted: #8aa7b5;

  /* "green" tokens drive every component: lake teal */
  --green: #2dd4bf;
  --green-bright: #5eead4;
  --green-soft: rgba(45, 212, 191, 0.12);
  --green-line: rgba(45, 212, 191, 0.36);

  /* bobber orange accent */
  --lure: #ff8a3d;
  --lure-bright: #ffa766;
  --lure-soft: rgba(255, 138, 61, 0.14);
  --sand: #ffb347;

  --play-bg: rgba(255, 138, 61, 0.95);
  --play-bg-hover: #ffa766;
  --play-text: #1a0d02;
  --overlay-accent: #5eead4;
  --modal-backdrop: rgba(2, 8, 12, 0.78);
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.75);
  --radius: 18px;
  --header-h: 72px;

  --contour: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600' fill='none' stroke='%237dd3fc' stroke-opacity='0.07' stroke-width='1.2'%3E%3Cpath d='M-50 120c80-40 160-40 240 0s160 40 240 0 160-40 240 0'/%3E%3Cpath d='M-50 180c80-50 170-30 250 10s150 30 230-10 170-40 220 0'/%3E%3Cellipse cx='420' cy='380' rx='150' ry='90'/%3E%3Cellipse cx='420' cy='380' rx='110' ry='62'/%3E%3Cellipse cx='420' cy='380' rx='70' ry='36'/%3E%3Cellipse cx='130' cy='460' rx='120' ry='70'/%3E%3Cellipse cx='130' cy='460' rx='76' ry='42'/%3E%3Cpath d='M-50 300c90-30 150 10 220 0s120-50 200-30'/%3E%3C/svg%3E");
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(45, 212, 191, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(56, 189, 248, 0.08), transparent 60%);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', 'Inter', sans-serif;
  letter-spacing: -0.015em;
}

::selection {
  background: var(--lure);
  color: #1a0d02;
}

/* ---------- Buttons ---------- */
.btn {
  gap: 8px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.btn-primary,
.catches-submit {
  background: linear-gradient(135deg, var(--lure), #ff6a2b);
  border-color: transparent;
  color: #1a0d02;
  box-shadow: 0 10px 26px -12px rgba(255, 120, 40, 0.75);
}

.btn-primary:hover,
.catches-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--lure-bright), var(--lure));
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -12px rgba(255, 120, 40, 0.85);
}

.btn-ghost {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  color: var(--text-strong);
}

.btn-ghost:hover {
  border-color: var(--green-line);
  background-color: var(--green-soft);
  color: var(--text-strong);
}

.btn-lg {
  padding: 0.9rem 1.4rem;
  font-size: 1rem;
  border-radius: 14px;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.catches-submit:disabled {
  opacity: 0.7;
  cursor: progress;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: rgba(6, 18, 26, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1280px;
  gap: 18px;
}

.brand {
  text-decoration: none;
  gap: 10px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, #0f3443, #0a2230);
  border: 1px solid var(--green-line);
  color: var(--green-bright);
  box-shadow: inset 0 -8px 16px -10px rgba(255, 138, 61, 0.6);
}

.brand-mark svg {
  width: 26px;
  height: 26px;
}

.brand-mark svg path:last-child {
  stroke: var(--lure);
}

.brand-text strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.brand-text strong span {
  color: var(--lure);
}

.brand-text small {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.site-nav {
  margin-left: auto;
}

.nav-link {
  position: relative;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
}

.nav-link:hover {
  color: var(--text-strong);
  background-color: rgba(255, 255, 255, 0.04);
}

.nav-link.is-active {
  color: var(--text-strong);
  background-color: var(--green-soft);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--lure);
  transform: translateX(-50%);
}

.cm-account-btn {
  border-color: rgba(255, 138, 61, 0.45);
  background-color: var(--lure-soft);
  color: var(--lure-bright);
}

/* Mobile nav: collapse earlier because there are more pages now */
@media (max-width: 1100px) {
  .nav-toggle {
    display: grid;
    order: 3;
    margin-left: 0;
  }

  .cm-account {
    order: 2;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin-left: 0;
    padding: 10px 16px 16px;
    border-bottom: 1px solid var(--line);
    background-color: rgba(6, 18, 26, 0.97);
    box-shadow: var(--shadow);
    max-height: calc(100dvh - var(--header-h) - 8px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-link {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 0.7rem 0.9rem;
    font-size: 0.98rem;
  }

  .nav-link.is-active::after {
    left: 0;
    top: 50%;
    bottom: auto;
    width: 3px;
    height: 20px;
    transform: translateY(-50%);
  }

  .cm-account-btn span,
  .cm-account-name {
    display: none;
  }
}

@media (min-width: 1101px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    flex-direction: row;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    max-height: none;
  }

  .cm-account-btn span,
  .cm-account-name {
    display: inline;
  }
}

/* ---------- Page hero (section pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 6vw, 72px) 20px clamp(54px, 7vw, 88px);
  background:
    var(--contour) right -120px top -80px / 720px auto no-repeat,
    linear-gradient(180deg, rgba(14, 52, 67, 0.55), rgba(6, 18, 26, 0));
  border-bottom: 1px solid transparent;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.82rem;
  color: var(--muted);
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--green-bright);
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lure-bright);
}

.page-kicker svg {
  width: 16px;
  height: 16px;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.06;
  color: var(--text-strong);
}

.page-lede {
  max-width: 680px;
  margin: 14px 0 0;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
  color: var(--text);
}

.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 40px;
  fill: var(--bg);
}

.page-body {
  padding-top: 8px;
}

/* ---------- Home hero ---------- */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 96px) 20px clamp(150px, 16vw, 230px);
  background:
    var(--contour) left -160px top -60px / 820px auto no-repeat,
    radial-gradient(800px 420px at 75% 30%, rgba(45, 212, 191, 0.16), transparent 70%),
    linear-gradient(180deg, #0a2633 0%, #071822 60%, var(--bg) 100%);
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
}

@media (min-width: 960px) {
  .home-hero-inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  }
}

.home-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text-strong);
}

.home-hero h1 .accent {
  color: var(--lure);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.home-hero-lede {
  max-width: 600px;
  margin: 20px 0 0;
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  line-height: 1.6;
  color: var(--text);
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.home-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 4vw, 44px);
  margin: 36px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.home-stats dt {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.home-stats dd {
  margin: 4px 0 0;
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-strong);
}

.home-hero .hero-card {
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(18, 48, 63, 0.92), rgba(9, 27, 37, 0.92));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
}

.hero-card-dot {
  background-color: var(--lure);
  box-shadow: 0 0 0 4px var(--lure-soft);
}

.home-hero-scene {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(120px, 15vw, 220px);
  pointer-events: none;
}

.home-hero-scene svg {
  width: 100%;
  height: 100%;
}

.home-hero-scene .hill { fill: #0a2430; }
.home-hero-scene .water { fill: var(--bg); }
.home-hero-scene .reeds { fill: none; stroke: #134e3a; stroke-width: 4; stroke-linecap: round; }
.home-hero-scene .line { fill: none; stroke: rgba(226, 232, 240, 0.35); stroke-width: 1.2; }
.home-hero-scene .bobber { fill: var(--lure); animation: bob 3.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ---------- Home tiles ---------- */
.home-tiles {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
  margin-top: clamp(-120px, -10vw, -70px);
  position: relative;
  z-index: 2;
  padding-top: 0;
}

.tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(16, 42, 55, 0.95), rgba(10, 29, 40, 0.95));
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tile:hover {
  transform: translateY(-3px);
  border-color: var(--green-line);
  box-shadow: 0 18px 40px -24px rgba(45, 212, 191, 0.5);
}

.tile-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background-color: var(--green-soft);
  color: var(--green-bright);
}

.tile:nth-child(2n) .tile-icon {
  background-color: var(--lure-soft);
  color: var(--lure-bright);
}

.tile-icon svg {
  width: 22px;
  height: 22px;
}

.tile-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.tile-body strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  color: var(--text-strong);
}

.tile-body span {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.4;
}

.tile-arrow {
  margin-left: auto;
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.tile-arrow svg {
  width: 18px;
  height: 18px;
}

.tile:hover .tile-arrow {
  color: var(--lure);
  transform: translateX(3px);
}

@media (min-width: 600px) {
  .home-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
  .home-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Home blocks ---------- */
.home-block {
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(28px, 4vw, 48px);
}

.block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.block-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--text-strong);
}

.block-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-bright);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.block-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.block-link:hover svg {
  transform: translateX(3px);
}

.home-catches {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.home-split {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .home-split {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }
}

.season-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 138, 61, 0.35);
  background:
    var(--contour) right -200px bottom -260px / 600px auto no-repeat,
    linear-gradient(150deg, rgba(255, 138, 61, 0.16), rgba(11, 29, 40, 0.9) 55%);
}

.season-card h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.season-countdown {
  margin: 14px 0 6px;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--lure-bright);
}

.season-note {
  max-width: 420px;
  margin: 0 0 20px;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.55;
}

.season-trophy {
  position: absolute;
  right: -10px;
  bottom: -18px;
  width: 170px;
  height: 170px;
  color: rgba(255, 179, 71, 0.13);
  pointer-events: none;
}

/* Articles on home */
.home-articles {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.home-article {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background-color: var(--surface);
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.home-article:hover {
  transform: translateY(-3px);
  border-color: var(--green-line);
}

.home-article img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.home-article-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 18px;
}

.home-article-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lure-bright);
}

.home-article strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--text-strong);
}

.home-article-excerpt {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-article-meta {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Sponsors strip on home */
.home-sponsor-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-sponsor {
  display: grid;
  place-items: center;
  width: 180px;
  height: 84px;
  padding: 12px;
  border-radius: 14px;
  background-color: #f1f6f8;
  color: #0b1418;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  text-decoration: none;
  overflow: hidden;
}

.home-sponsor img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Join banner */
.join-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 24px;
  border: 1px solid var(--green-line);
  background:
    var(--contour) right -80px center / 520px auto no-repeat,
    linear-gradient(120deg, rgba(45, 212, 191, 0.18), rgba(14, 52, 67, 0.4));
}

.join-banner h2 {
  margin: 0 0 6px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.join-banner p {
  margin: 0;
  max-width: 560px;
  color: var(--text);
}

/* ---------- Components refresh ---------- */
.cm-panel,
.catches-form-panel,
.weather-panel,
.map-toolbar {
  border-radius: var(--radius);
}

.cm-panel {
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
}

.cm-card,
.cm-vcard,
.article-card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cm-card:hover,
.cm-vcard:hover {
  transform: translateY(-3px);
  border-color: var(--green-line);
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.9);
}

.cm-card-weight,
.cm-top-weight {
  color: var(--lure-bright);
}

.cm-tab[aria-selected="true"],
.cm-chip-btn[aria-pressed="true"] {
  background-color: var(--green);
  color: #022c22;
}

.cm-countdown {
  color: var(--lure-bright);
}

.cm-season-banner {
  border-color: rgba(255, 138, 61, 0.35);
  background:
    var(--contour) right -200px center / 620px auto no-repeat,
    linear-gradient(135deg, rgba(255, 138, 61, 0.16), rgba(11, 29, 40, 0.5));
}

.article-card-cat,
.article-page-cat {
  color: var(--lure-bright);
}

/* ---------- Prose (rules page) ---------- */
.prose {
  max-width: 820px;
  font-size: 1.02rem;
  line-height: 1.75;
}

.prose h2 {
  margin: 38px 0 12px;
  font-size: 1.6rem;
  color: var(--text-strong);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.prose ul {
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 8px;
}

.prose li::marker {
  color: var(--lure);
}

.prose-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prose-toc a {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.prose-toc a:hover {
  border-color: var(--green-line);
  color: var(--green-bright);
}

.notfound-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(40px, 6vw, 80px);
  padding: 70px 20px 28px;
  background: linear-gradient(180deg, #0a2230, #061620);
  border-top: 0;
}

.site-footer .wave-top {
  top: -1px;
  bottom: auto;
  fill: var(--bg);
}

.footer-inner {
  display: grid;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 820px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  }
}

.footer-brand p {
  max-width: 360px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h2 {
  margin: 0 0 4px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lure-bright);
}

.footer-col a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.94rem;
}

.footer-col a:hover {
  color: var(--green-bright);
}

.footer-copy {
  max-width: 1280px;
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  text-align: left;
}

/* ---------- Focus ---------- */
.tile:focus-visible,
.home-article:focus-visible,
.block-link:focus-visible,
.footer-col a:focus-visible,
.crumbs a:focus-visible,
.prose-toc a:focus-visible,
.home-sponsor:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--lure);
  outline-offset: 3px;
  border-radius: 10px;
}

@media (prefers-reduced-motion: reduce) {
  .tile,
  .tile-arrow,
  .home-article,
  .cm-card,
  .cm-vcard,
  .btn,
  .block-link svg {
    transition: none;
  }

  .home-hero-scene .bobber {
    animation: none;
  }
}

/* Page hero wave: a thin contour line instead of a filled shape, so it
   never shows a seam against the gradient page background. */
.page-hero .wave {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  height: 28px;
}

.site-footer .wave-top {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.cm-check a {
  color: var(--green-bright);
}

@media (max-width: 1100px) {
  .site-nav,
  .site-nav.is-open {
    background-color: #071822;
  }
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
}

.footer-credit a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-credit a:hover {
  color: var(--lure-bright);
  border-color: var(--lure);
}

.footer-credit a:focus-visible {
  outline: 2px solid var(--lure);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Single video page ---------- */
.video-page {
  padding-top: clamp(20px, 3vw, 32px);
}

.video-layout {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1020px) {
  .video-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}

.video-player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background-color: #000;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}

.video-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-facade {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}

.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.4s ease;
}

.video-facade:hover img {
  opacity: 1;
  transform: scale(1.02);
}

.video-facade-play {
  width: 78px;
  height: 78px;
}

.video-facade-play svg {
  width: 32px;
  height: 32px;
}

.video-facade:focus-visible {
  outline: 3px solid var(--lure);
  outline-offset: -3px;
}

.video-title {
  margin: 20px 0 10px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
  color: var(--text-strong);
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.video-channel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-strong);
  font-weight: 600;
}

.video-channel svg {
  width: 18px;
  height: 18px;
  color: var(--lure);
}

.video-meta .btn {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
}

.video-yt {
  margin-left: auto;
}

.video-desc {
  position: relative;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background-color: var(--surface);
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text);
  overflow-wrap: anywhere;
}

.video-desc a {
  color: var(--green-bright);
}

.video-desc.is-collapsed .video-desc-text {
  max-height: 150px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
  mask-image: linear-gradient(180deg, #000 60%, transparent);
}

.video-desc-toggle {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--green-bright);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* Comments */
.video-comments {
  margin-top: 30px;
}

.video-comments h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.video-comments-count {
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  background-color: var(--lure-soft);
  color: var(--lure-bright);
  font-size: 0.85rem;
}

.comment-form {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.comment-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
}

.comment-form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.comment-as {
  margin: 0;
  font-size: 0.84rem;
}

.comment-chars {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--muted);
}

.comment-form-row .catches-submit {
  width: auto;
  padding-left: 1.3rem;
  padding-right: 1.3rem;
}

.comment-login {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px dashed var(--line-strong);
}

.comment-login p {
  margin: 0 auto 0 0;
  color: var(--muted);
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.comment {
  display: flex;
  gap: 12px;
}

.comment.is-new .comment-main {
  border-color: var(--green-line);
}

.comment-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(145deg, #0f3443, #154a5c);
  color: var(--green-bright);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
}

.comment-main {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background-color: var(--surface);
}

.comment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0 0 4px;
  font-size: 0.86rem;
}

.comment-head strong {
  color: var(--text-strong);
}

.comment-head time {
  color: var(--muted);
  font-size: 0.78rem;
}

.comment-delete {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}

.comment-delete:hover {
  color: var(--danger);
}

.comment-body {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

/* More videos */
.video-aside h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.video-more-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text);
  text-decoration: none;
}

.video-more-item img {
  width: 140px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
}

.video-more-item strong {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--text-strong);
}

.video-more-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
}

.video-more-item:hover strong {
  color: var(--green-bright);
}

.cm-vtitle a {
  color: inherit;
  text-decoration: none;
}

.cm-vtitle a:hover {
  color: var(--green-bright);
}

.video-more-item:focus-visible,
.comment-delete:focus-visible,
.video-desc-toggle:focus-visible,
.cm-vtitle a:focus-visible {
  outline: 2px solid var(--lure);
  outline-offset: 2px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .video-facade img { transition: none; }
}

/* Visually hidden, still read by screen readers */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ---------- Home: competition promo (hero right) ---------- */
.promo-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 30px);
  border-radius: 24px;
  border: 1px solid rgba(255, 138, 61, 0.45);
  background:
    var(--contour) right -220px bottom -240px / 620px auto no-repeat,
    linear-gradient(160deg, rgba(255, 138, 61, 0.22), rgba(13, 36, 48, 0.96) 48%);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 138, 61, 0.08) inset;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background-color: var(--lure);
  color: #1a0d02;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.promo-badge svg {
  width: 14px;
  height: 14px;
}

.promo-card h2 {
  margin: 14px 0 12px;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  line-height: 1.15;
  color: var(--text-strong);
}

.promo-countdown {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background-color: rgba(6, 18, 26, 0.55);
  border: 1px solid var(--line);
}

.promo-countdown-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.promo-countdown strong {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--lure-bright);
}

.promo-rules {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.promo-rules li {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text);
}

.promo-rules strong {
  color: var(--text-strong);
}

.promo-ico {
  flex-shrink: 0;
  font-size: 1.15rem;
  line-height: 1.3;
}

.promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.promo-partner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  width: 100%;
  color: var(--green-bright);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.promo-partner svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.promo-partner svg:last-child {
  margin-left: auto;
  transition: transform 0.2s ease;
}

.promo-partner:hover svg:last-child {
  transform: translateX(3px);
}

/* ---------- Home: how to take part ---------- */
.howto {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.howto li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
}

.howto strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.08rem;
  color: var(--text-strong);
}

.howto li > span:last-child {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.howto-n {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
  border-radius: 10px;
  background-color: var(--lure-soft);
  color: var(--lure-bright);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
}

.prize-invite {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 24px;
  border: 1px solid rgba(255, 179, 71, 0.4);
  background:
    var(--contour) right -120px center / 560px auto no-repeat,
    linear-gradient(120deg, rgba(255, 179, 71, 0.16), rgba(14, 52, 67, 0.45));
}

.prize-invite h2 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.prize-invite p {
  max-width: 620px;
  margin: 0;
  color: var(--text);
  line-height: 1.6;
}

/* ---------- Competition page: rules ---------- */
.rules {
  margin: 8px 0 32px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.rules > h2,
.prizes h2 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.rules-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.rule-card {
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  font-size: 0.93rem;
  line-height: 1.6;
}

.rule-card-wide {
  grid-column: 1 / -1;
}

@media (min-width: 900px) {
  .rule-card-wide {
    grid-column: span 2;
  }
}

.rule-card-accent {
  border-color: rgba(255, 138, 61, 0.45);
  background: linear-gradient(160deg, rgba(255, 138, 61, 0.16), var(--surface));
}

.rule-ico {
  font-size: 1.5rem;
}

.rule-card h3 {
  margin: 6px 0 6px;
  font-size: 1.08rem;
  color: var(--text-strong);
}

.rule-card p {
  margin: 0;
  color: var(--text);
}

.rule-card ul {
  margin: 8px 0 0;
  padding-left: 1.1rem;
  color: var(--text);
}

.rule-card li::marker {
  color: var(--lure);
}

/* ---------- Competition page: prizes + partner form ---------- */
.prizes {
  margin-top: 40px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.prizes-head .cm-muted {
  max-width: 640px;
}

.prize-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  max-width: 720px;
  margin: 22px 0 28px;
}

.prize-place {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 10px;
  border-radius: 16px 16px 6px 6px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, var(--surface-3), var(--surface));
  text-align: center;
}

.prize-place span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
}

.prize-place.p1 { min-height: 190px; border-color: rgba(250, 204, 21, 0.5); }
.prize-place.p2 { min-height: 150px; }
.prize-place.p3 { min-height: 125px; }
.prize-place.p1 span { background-color: #facc15; color: #1a1300; }
.prize-place.p2 span { background-color: #cbd5e1; color: #111827; }
.prize-place.p3 span { background-color: #d97706; color: #1a0e00; }

.prize-place strong {
  color: var(--text-strong);
  font-size: 0.95rem;
}

.prize-place small {
  color: var(--muted);
  font-size: 0.76rem;
}

.partner-invite {
  display: grid;
  gap: 22px;
  padding: clamp(20px, 3vw, 30px);
  border-radius: 22px;
  border: 1px solid var(--green-line);
  background: linear-gradient(160deg, rgba(45, 212, 191, 0.1), var(--surface));
}

@media (min-width: 900px) {
  .partner-invite {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
}

.partner-invite-copy h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.partner-invite-copy p {
  margin: 0 0 10px;
  line-height: 1.6;
}

.partner-invite-copy ul {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.7;
}

.partner-invite-copy li::marker {
  color: var(--green);
}

.partner-ok {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background-color: var(--green-soft);
  border: 1px solid var(--green-line);
  color: var(--text-strong);
  font-weight: 600;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Admin: partner inquiries */
.partner-admin {
  margin-top: 16px;
  border-color: rgba(255, 179, 71, 0.4);
}

.inquiry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.inquiry {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background-color: var(--surface-3);
  font-size: 0.88rem;
}

.inquiry.is-new {
  border-color: rgba(255, 138, 61, 0.5);
}

.inquiry.is-closed {
  opacity: 0.6;
}

.inquiry-head a {
  color: var(--green-bright);
}

.inquiry-date {
  float: right;
  color: var(--muted);
  font-size: 0.78rem;
}

.inquiry-offer {
  margin: 4px 0;
  color: var(--lure-bright);
  font-weight: 600;
}

.inquiry-msg {
  margin: 4px 0;
  white-space: pre-line;
}

.inquiry-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--muted);
}

.inquiry-status select {
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background-color: var(--surface);
  color: var(--text);
  font: inherit;
}

/* Tops coming soon */
.soon-card {
  max-width: 760px;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 22px;
  border: 1px solid rgba(255, 138, 61, 0.35);
  background:
    var(--contour) right -200px center / 560px auto no-repeat,
    linear-gradient(140deg, rgba(255, 138, 61, 0.14), var(--surface));
}

.soon-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
}

.soon-card p {
  line-height: 1.6;
}

.soon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* Upload form additions */
.cm-hint {
  margin: -4px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.cm-sign {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 138, 61, 0.4);
  background-color: var(--lure-soft);
  color: var(--text);
}

.cm-sign a {
  color: var(--green-bright);
}

.promo-partner:focus-visible {
  outline: 2px solid var(--lure);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- Species list (competition page) ---------- */
.species-list {
  margin: 8px 0 32px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.species-list h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.species-groups {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.species-group {
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
}

.species-group h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
  color: var(--text-strong);
}

.species-group h3 small {
  color: var(--lure-bright);
  font-weight: 700;
}

.species-group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.species-group li {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background-color: var(--surface-3);
  font-size: 0.84rem;
  color: var(--text);
}

/* Grouped chips in "Mano rūšys" */
.cm-chip-group + .cm-chip-group {
  margin-top: 14px;
}

.cm-chip-group-title {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.cm-chip-group-title small {
  color: var(--lure-bright);
  letter-spacing: 0;
}

.species-group li:hover {
  border-color: var(--green-line);
}

/* Video: "suggest" button + collapsible form */
.cm-video-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.cm-video-bar .btn svg {
  transition: transform 0.2s ease;
}

.cm-video-bar .btn[aria-expanded="true"] svg {
  transform: rotate(45deg);
}

.cm-video-submit {
  margin-bottom: 16px;
}

/* Footer: the wave IS the footer's top edge (filled shape sits just above
   the footer and shares its colour). */
.site-footer {
  margin-top: clamp(36px, 5vw, 64px);
  padding-top: 34px;
  background-color: #0a2230;
  background-image: linear-gradient(180deg, #0a2230, #061620);
}

.site-footer .wave-top {
  position: absolute;
  left: 0;
  right: 0;
  top: auto;
  bottom: calc(100% - 1px);
  width: 100%;
  height: clamp(28px, 4vw, 48px);
  fill: none;
  stroke: none;
  pointer-events: none;
}

.site-footer .wave-fill {
  fill: #0a2230;
  stroke: none;
}

.site-footer .wave-edge {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

/* =========================================================
   /varzybos – competition page layout
   ========================================================= */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Sticky section navigation */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 150;
  display: flex;
  gap: 6px;
  margin: 0 calc(50% - 50vw) 8px;
  padding: 10px max(20px, calc(50vw - 640px));
  overflow-x: auto;
  scrollbar-width: none;
  background-color: rgba(6, 18, 26, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.subnav::-webkit-scrollbar {
  display: none;
}

.subnav a {
  flex-shrink: 0;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.subnav a:hover {
  border-color: var(--green-line);
  background-color: var(--green-soft);
  color: var(--green-bright);
}

.subnav a:focus-visible {
  outline: 2px solid var(--lure);
  outline-offset: 2px;
}

/* Sections */
.vz-section {
  margin-top: clamp(40px, 6vw, 72px);
  scroll-margin-top: calc(var(--header-h) + 76px);
}

.cm-season-banner + .vz-section,
.subnav + .cm-season-banner {
  margin-top: 20px;
}

.vz-head {
  margin-bottom: 20px;
}

.vz-head h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  color: var(--text-strong);
}

.vz-head .cm-muted {
  max-width: 680px;
  margin: 10px 0 0;
}

/* Steps */
.vz-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.vz-steps li {
  position: relative;
  padding: 22px 20px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
}

.vz-steps li:last-child {
  border-color: rgba(255, 138, 61, 0.45);
  background: linear-gradient(160deg, rgba(255, 138, 61, 0.16), var(--surface));
}

.vz-step-n {
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(125, 211, 252, 0.14);
}

.vz-step-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  border-radius: 14px;
  background-color: var(--lure-soft);
  font-size: 1.4rem;
}

.vz-steps h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: var(--text-strong);
}

.vz-steps p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text);
}

.vz-steps a {
  color: var(--green-bright);
}

.vz-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* Rules: accordion + "liuksas" callout */
.vz-rules {
  display: grid;
  gap: 16px;
  align-items: start;
}

@media (min-width: 960px) {
  .vz-rules {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }
}

.vz-accordion {
  display: grid;
  gap: 8px;
}

.vz-accordion details {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  overflow: hidden;
}

.vz-accordion details[open] {
  border-color: var(--green-line);
}

.vz-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-strong);
  cursor: pointer;
  list-style: none;
}

.vz-accordion summary::-webkit-details-marker {
  display: none;
}

.vz-accordion summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--green-soft);
  color: var(--green-bright);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.vz-accordion details[open] summary::after {
  transform: rotate(45deg);
}

.vz-accordion summary:focus-visible {
  outline: 2px solid var(--lure);
  outline-offset: -2px;
}

.vz-accordion details > div {
  padding: 0 18px 16px;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text);
}

.vz-accordion details p {
  margin: 0 0 10px;
}

.vz-accordion details p:last-child {
  margin-bottom: 0;
}

.vz-accordion ul,
.vz-liuksas ul {
  margin: 0;
  padding-left: 1.15rem;
}

.vz-accordion li::marker,
.vz-liuksas li::marker {
  color: var(--lure);
}

.vz-accordion a {
  color: var(--green-bright);
}

.vz-liuksas {
  padding: clamp(20px, 3vw, 28px);
  border-radius: 22px;
  border: 1px solid rgba(255, 138, 61, 0.5);
  background:
    var(--contour) right -180px bottom -200px / 520px auto no-repeat,
    linear-gradient(160deg, rgba(255, 138, 61, 0.2), rgba(13, 36, 48, 0.96) 60%);
}

.vz-liuksas-ico {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 12px;
  border-radius: 20px;
  background-color: var(--lure);
  font-size: 2.2rem;
  box-shadow: 0 14px 30px -14px rgba(255, 120, 40, 0.9);
}

.vz-liuksas h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  color: var(--text-strong);
}

.vz-liuksas p {
  margin: 0 0 12px;
  line-height: 1.6;
}

.vz-liuksas ul {
  line-height: 1.7;
}

/* Ranking + progress */
.vz-grid {
  display: grid;
  gap: 16px;
  align-items: start;
}

@media (min-width: 960px) {
  .vz-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
  }
}

.vz-board .cm-empty {
  margin: 0;
}

.vz-progress {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vz-progress h3 {
  margin: 0 0 6px;
}

.vz-progress .btn {
  align-self: flex-start;
  margin-top: 12px;
}

.vz-bar {
  height: 12px;
  border-radius: 999px;
  background-color: var(--surface-3);
  overflow: hidden;
}

.vz-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--lure));
  transition: width 0.5s ease;
}

.vz-bar-label {
  margin: 6px 0 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

.vz-bar-label strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  color: var(--text-strong);
}

.vz-groups {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vz-groups li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  font-size: 0.84rem;
}

.vz-g-name {
  color: var(--text);
  font-weight: 600;
}

.vz-g-count {
  color: var(--muted);
}

.vz-g-bar {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 999px;
  background-color: var(--surface-3);
  overflow: hidden;
}

.vz-g-bar i {
  display: block;
  width: 0;
  height: 100%;
  background-color: var(--green);
  transition: width 0.5s ease;
}

/* Species chips: collected ones light up */
.species-group li.is-got {
  border-color: var(--green-line);
  background-color: var(--green-soft);
  color: var(--green-bright);
}

.species-group li.is-got::before {
  content: "✓ ";
}

/* Prizes section inside the new layout */
.vz-section.prizes {
  margin-top: clamp(40px, 6vw, 72px);
}

.vz-section.prizes .prizes-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
}

.page-hero .hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.page-hero .hero-facts li {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background-color: rgba(6, 18, 26, 0.55);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-strong);
}

@media (prefers-reduced-motion: reduce) {
  .vz-bar span, .vz-g-bar i, .vz-accordion summary::after { transition: none; }
}

.vz-board .cm-empty {
  display: grid;
  place-items: center;
  min-height: 260px;
  margin: 0;
  font-size: 0.95rem;
}
