/* Valkoinen Suomi — sivukohtaiset tyylit modernist-tokenien päälle */
:root {
  --vs-ink: var(--color-text, #201e1d);
  --vs-bg: var(--color-bg, #f3f2f2);
  --vs-accent: var(--color-accent, #ec3013);
  --vs-rule: var(--color-divider, #201e1d);
}

html {
  overflow-x: clip;
}
body {
  margin: 0;
  background: #fff;
  color: var(--vs-ink);
  font-family: var(--font-body, Archivo, Helvetica, Arial, sans-serif);
  line-height: 1.5;
  overflow-x: clip;
  max-width: 100vw;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  width: 100%;
}

/* Lehtimäinen 2-palsta */
.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
  margin: 18px 0 36px;
}
.main-col {
  min-width: 0;
}
.side-col {
  min-width: 0;
}
.sidebar {
  position: sticky;
  top: 12px;
  display: grid;
  gap: 16px;
}
.side-box {
  border: 1px solid #e2e2e2;
  background: #fff;
  padding: 12px 14px 14px;
}
.side-box h2 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--vs-rule);
  padding-bottom: 6px;
}
.side-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.side-list li {
  border-bottom: 1px solid #eee;
  padding: 8px 0;
}
.side-list li:last-child {
  border-bottom: 0;
}
.side-list a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.35;
  display: block;
}
.side-list a:hover {
  color: var(--vs-accent);
}
.side-list .side-meta {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: #757575;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.side-list.numbered {
  counter-reset: side-n;
}
.side-list.numbered li {
  counter-increment: side-n;
  padding-left: 1.6rem;
  position: relative;
}
.side-list.numbered li::before {
  content: counter(side-n);
  position: absolute;
  left: 0;
  top: 8px;
  font-weight: 800;
  color: var(--vs-accent);
  font-size: 0.95rem;
}
.side-teaser {
  display: grid;
  grid-template-columns: 1fr 64px;
  gap: 10px;
  align-items: start;
}
.side-teaser img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  display: block;
  background: #ddd;
}
.side-weather {
  background: #f3f7fb;
  border-color: #d5e3f0;
}
.side-weather h2 a {
  color: inherit;
  text-decoration: none;
}
.weather-side-now {
  margin: 0;
  font-size: 1.15rem;
}
.weather-side-desc {
  margin: 4px 0 8px;
  font-size: 13px;
  color: #444;
}
.weather-side-facts {
  margin: 0;
  padding-left: 1.1em;
  font-size: 13px;
}
.weather-more {
  margin: 10px 0 0;
  font-size: 12px;
}
.weather-allow {
  appearance: none;
  border: 1px solid var(--vs-rule);
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 10px;
  cursor: pointer;
}
.story-stack {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
.story-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 14px;
  align-items: start;
}
.story-row.no-media {
  grid-template-columns: minmax(0, 1fr);
}
.story-row .card-media {
  margin: 0;
}
.story-row .media-frame,
.story-row .card-media {
  aspect-ratio: 4 / 3;
}
.story-row .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-row .card-title {
  font-size: 1.05rem;
}
.hero.lead-story {
  margin-top: 0;
}
.hero.lead-story > .card-kicker::before {
  content: none;
}

.ticker {
  display: flex;
  background: var(--vs-accent);
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ticker-live {
  background: #a80115;
  padding: 8px 14px;
  font-weight: 700;
}
.ticker-text {
  padding: 8px 16px;
}

.masthead {
  padding: 18px 0 0;
  border-bottom: 3px double var(--vs-rule);
  overflow-x: clip;
  max-width: 100%;
}
.masthead-inner {
  padding-bottom: 8px;
}
.brand {
  text-decoration: none;
  color: inherit;
  display: block;
  text-align: center;
  margin-bottom: 14px;
}
.mail-view { border: 1px solid var(--vs-rule, #ccc); padding: 12px 16px; margin: 12px 0 24px; max-width: 78ch; }
.mail-view h2 { font-size: 18px; margin: 0 0 8px; }
.mail-view h3 { font-size: 14px; margin: 14px 0 6px; text-transform: uppercase; letter-spacing: 0.03em; }
.mail-view label { display: block; margin: 8px 0; }
.mail-view input, .mail-view textarea { width: 100%; box-sizing: border-box; }
.mail-original { white-space: pre-wrap; word-break: break-word; background: rgba(0,0,0,0.04); padding: 8px; max-height: 260px; overflow: auto; font-size: 13px; }
.mail-badge { display: inline-block; background: #b00020; color: #fff; font-size: 11px; font-weight: 700; padding: 1px 6px; letter-spacing: 0.04em; }
.owner-report {
  border: 1px solid var(--vs-rule, #ccc);
  padding: 12px 16px;
  margin: 12px 0 24px;
  max-width: 78ch;
}
.owner-report h2 { font-size: 20px; margin: 0 0 10px; }
.owner-report h3 { font-size: 16px; margin: 18px 0 6px; text-transform: uppercase; letter-spacing: 0.03em; }
.owner-report ul { margin: 6px 0 10px 18px; padding: 0; }
.owner-report li { margin: 4px 0; }
.brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 22px);
}
.brand-flag {
  height: clamp(26px, 4.4vw, 50px);
  width: auto;
  flex: 0 0 auto;
}
.brand-name {
  font-family: var(--font-heading, Archivo, Helvetica, Arial, sans-serif);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 52px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1;
}
.brand-tag {
  font-size: 12px;
  color: #5a5a5a;
  margin-top: 6px;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: safe center;
  align-items: center;
  gap: 14px 18px;
  padding: 10px 0 12px;
  border-top: 1px solid #e2e2e2;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  max-width: 100%;
}
.site-nav > a {
  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  white-space: nowrap;
}
.site-nav > a:hover,
.site-nav > a.nav-active {
  border-bottom-color: var(--vs-accent);
}
.site-nav > a.nav-weather {
  text-transform: none;
  letter-spacing: 0;
  border: 1px solid #e2e2e2;
  border-radius: 999px;
  padding: 4px 10px 4px;
  font-size: 12px;
}
.site-nav > a.nav-weather:hover,
.site-nav > a.nav-weather.nav-active {
  border-color: var(--vs-accent);
  border-bottom-color: var(--vs-accent);
}

/* Alakategoriat: keskitetty rivi (desktop), sivuttaisscroll jos ei mahdu */
.site-nav-sub {
  border-top: 1px solid #e8e8e8;
  background: #fafafa;
  max-width: 100%;
  overflow-x: clip;
}
.site-nav-sub-inner {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  max-width: 100%;
}
.site-nav-sub-track {
  display: flex;
  flex-wrap: nowrap;
  justify-content: safe center;
  align-items: center;
  gap: 8px 18px;
  padding: 10px 0 12px;
  width: max-content;
  min-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}
.site-nav-sub a {
  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.site-nav-sub a:hover,
.site-nav-sub a.nav-active {
  border-bottom-color: var(--vs-accent);
  color: var(--vs-accent);
}
[data-weather-compact] {
  font-weight: 700;
  letter-spacing: 0.02em;
}
.weather-temp {
  font-variant-numeric: tabular-nums;
}
.weather-place {
  color: #666;
  font-weight: 600;
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero {
  margin: 22px 0;
  padding: 0 0 16px;
  border: 2px solid var(--vs-rule);
  overflow: hidden;
}
.hero h1,
.card-title {
  font-family: var(--font-heading, Archivo, Helvetica, Arial, sans-serif);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0.2em 0;
}
.hero h1 {
  font-size: clamp(22px, 3.5vw, 36px);
}
.card-title {
  font-size: 1.15rem;
}
.card-title a {
  color: inherit;
  text-decoration: none;
}
.card-title a:hover {
  color: #5a5a5a;
}
.card-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vs-accent);
}
.card-body,
.lead {
  color: #333;
}
.card-meta {
  font-size: 12px;
  color: #757575;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-block {
  margin: 28px 0 36px;
  padding-top: 12px;
  border-top: 2px solid var(--vs-rule);
}
.section-title {
  margin: 0 0 14px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  align-items: stretch;
}
.card {
  border: 1px solid #e2e2e2;
  padding: 0 0 12px;
  background: var(--vs-bg);
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}
.card > .card-kicker,
.card > .card-title,
.card > .card-body,
.card > .card-meta,
.hero > .card-kicker,
.hero > .card-title,
.hero > .card-body,
.hero > .card-meta {
  padding: 0 14px;
  margin: 0 0 6px;
}
.hero > .card-kicker {
  padding-top: 12px;
}
.card > .card-kicker {
  padding-top: 10px;
}
.card-media,
.story-hero {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #ececec;
}
.card-media {
  margin: 0 0 8px;
}
.media-frame {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #e4e4e4;
}
.hero .media-frame,
.story-hero .media-frame {
  aspect-ratio: 16 / 9;
}
.card-media img,
.story-hero img,
.story-inline img,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.card-media.is-face img,
.story-hero.is-face img,
.media-frame.is-face img {
  object-position: center top;
}
.story-hero {
  margin: 12px 0 20px;
}
.story-glossary {
  margin: 0 0 20px;
  padding: 12px 16px;
  border: 1px solid #e2e2e2;
  background: #fafafa;
}
.story-glossary h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}
.story-glossary dl {
  margin: 0;
}
.story-glossary dt {
  font-weight: 600;
}
.story-glossary dd {
  margin: 0 0 8px;
  color: #444;
}
.story-hero figcaption,
.story-inline figcaption,
.card-media figcaption {
  font-size: 11px;
  color: #757575;
  padding: 6px 2px 0;
  letter-spacing: 0.02em;
  pointer-events: none;
}
.story-inline {
  margin: 1.1rem 0 1.4rem;
}
.story-inline .media-frame {
  aspect-ratio: 16 / 9;
}
.story-tldr {
  margin: 0 0 1.1rem;
  padding-left: 1.15rem;
}
.story-tldr li {
  margin: 0 0 6px;
}
.story-open-q {
  margin: 1.4rem 0 0;
  padding: 12px 14px;
  background: #f4f4f4;
  border-left: 3px solid #222;
}
.story-open-q h2 {
  font-size: 0.95rem;
  margin: 0 0 8px;
}
.story-open-q ul {
  margin: 0;
  padding-left: 1.1rem;
}
.story-open-q li {
  margin: 0 0 6px;
}

.enrich-box {
  margin: 28px 0;
  padding: 16px 18px;
  border: 1px solid #e2e2e2;
  background: #fafafa;
}
.enrich-box h2 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}
.enrich-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.enrich-table th,
.enrich-table td {
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid #e8e8e8;
  vertical-align: top;
}
.enrich-table th {
  width: 28%;
  color: #555;
  font-weight: 600;
}
.enrich-standings-table th,
.enrich-standings-table td {
  width: auto;
}
.enrich-highlight {
  background: #fff3f0;
  font-weight: 600;
}
.boxscore-goals {
  margin: 10px 0 0;
  padding-left: 18px;
}
.watch-note {
  display: block;
  color: #555;
  font-size: 13px;
  margin-top: 2px;
}
.enrich-source {
  margin: 10px 0 0;
  font-size: 12px;
  color: #757575;
}
.enrich-source a {
  color: inherit;
}
.section-title a {
  color: inherit;
  text-decoration: none;
}
.section-title a:hover {
  color: #5a5a5a;
}
.hero .card-media {
  margin: 0 0 10px;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin: 20px 0 28px;
}
.staff-card {
  border: 1px solid #e2e2e2;
  background: var(--vs-bg);
  padding: 16px;
}
.staff-card h2 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}
.staff-role {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--vs-accent);
}
.staff-bio {
  margin: 0;
  font-size: 0.95rem;
  color: #333;
}
.staff-editor {
  border: 2px solid var(--vs-rule);
  padding: 18px;
  margin-bottom: 8px;
}
.story h1 {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.15;
}
.story-body p {
  max-width: 42rem;
  margin: 0.9rem 0;
}
.sources {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 2px solid var(--vs-rule);
}
.site-footer {
  margin: 40px auto 24px;
  padding-top: 16px;
  border-top: 2px solid var(--vs-rule);
  font-size: 12px;
  color: #666;
}
.story-footnotes {
  font-size: 12px;
  color: #555;
  padding-left: 1.2em;
}
.story-source,
.story-correction {
  font-size: 13px;
  color: #444;
}
.story-correction {
  border-left: 3px solid var(--vs-accent);
  padding-left: 10px;
}
.story-related {
  margin: 24px 0;
}
.story-body h2 {
  font-size: 1.15rem;
  margin: 1.2em 0 0.4em;
}
.haku-results {
  list-style: none;
  padding: 0;
}
.haku-results li {
  margin: 0 0 8px;
}
.front-important {
  margin: 20px 0 28px;
}
.empty {
  color: #757575;
}

.engagement {
  margin: 28px 0;
  padding-top: 18px;
  border-top: 2px solid var(--vs-rule);
  max-width: 42rem;
}
.engagement-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.eng-btn {
  appearance: none;
  border: 1px solid var(--vs-rule);
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  cursor: pointer;
}
.eng-btn:hover {
  border-color: var(--vs-accent);
  color: var(--vs-accent);
}
.comments h2 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.comment-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.comment-list > li,
.comment-thread {
  border-bottom: 1px solid #e2e2e2;
  padding: 10px 0;
}
.comment-list time {
  font-size: 12px;
  color: #757575;
  margin-left: 8px;
}
.comment-list p {
  margin: 6px 0 0;
}
.comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 8px;
}
.eng-link {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #555;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.eng-link:hover,
.eng-link[aria-pressed="true"] {
  color: var(--vs-accent);
}
.eng-link:disabled {
  opacity: 0.55;
  cursor: default;
}
.comment-replies {
  margin-top: 8px;
  padding-left: 14px;
  border-left: 2px solid #e8e8e8;
}
.comment-reply-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.comment-reply {
  border-bottom: 1px solid #eee;
  padding: 8px 0;
}
.comment-reply:last-child {
  border-bottom: 0;
}
.reply-hint {
  margin: 0;
  font-size: 13px;
  color: #555;
}
.comment-form {
  display: grid;
  gap: 10px;
}
.comment-form label {
  display: grid;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
}
.comment-form input,
.comment-form textarea {
  font: inherit;
  padding: 8px 10px;
  border: 1px solid #ccc;
  width: 100%;
  box-sizing: border-box;
}
.eng-status {
  margin: 0;
  font-size: 0.92rem;
}
.eng-status.eng-error {
  color: #a80115;
}
.cf-turnstile {
  min-height: 0;
}

.byline-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.byline-link:hover {
  color: var(--vs-accent);
}

.admin-wrap .admin-article-form {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #e2e2e2;
  background: var(--vs-bg);
}

/* Responsiivisuus */
@media (max-width: 960px) {
  .page-shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .story-row {
    grid-template-columns: 110px minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .wrap {
    padding: 0 14px;
  }
  .story-row {
    grid-template-columns: 1fr;
  }
  .ticker {
    font-size: 11px;
  }
  .ticker-live {
    flex: 0 0 auto;
    padding: 8px 10px;
  }
  .ticker-text {
    padding: 8px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-name {
    font-size: clamp(22px, 8vw, 36px);
  }
  .site-nav {
    gap: 10px 14px;
    font-size: 12px;
    padding-bottom: 8px;
  }
  .site-nav {
    justify-content: flex-start;
  }
  .site-nav-sub-track {
    justify-content: flex-start;
    padding: 8px 0 10px;
    gap: 8px 12px;
  }
  .site-nav-sub a {
    font-size: 11px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero {
    padding: 0 0 12px;
  }
  .hero .card-media {
    margin: 0 0 8px;
  }
  .engagement-actions {
    flex-direction: column;
  }
  .eng-btn {
    width: 100%;
  }
  .staff-grid {
    grid-template-columns: 1fr;
  }
}

.enrich-next-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 600;
}
.watch-list {
  margin: 0;
  padding-left: 1.1em;
}
.watch-list li {
  margin: 6px 0;
}

.tv-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 12px 0 16px;
}
.tv-weeks {
  display: flex;
  gap: 8px;
}
.tv-week,
.tv-ch {
  border: 1px solid #e2e2e2;
  background: #fff;
  cursor: pointer;
  font: inherit;
}
.tv-week {
  padding: 8px 14px;
}
.tv-week.is-active,
.tv-ch.is-active {
  border-color: #111;
  background: #111;
  color: #fff;
}
.tv-search-label {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: auto;
  font-size: 14px;
}
.tv-search {
  min-width: 220px;
  padding: 8px 10px;
  border: 1px solid #ddd;
}
.tv-channels {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 8px;
  margin: 0 0 20px;
}
.tv-ch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  text-align: left;
}
.tv-ch-logo {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}
.tv-ch-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  background: #fff;
}
.tv-ch-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: #f0f0f0;
  color: #333;
  z-index: 0;
}
.tv-ch-logo img {
  position: relative;
  z-index: 1;
}
.tv-ch-name {
  flex: 1;
  font-size: 13px;
  line-height: 1.2;
}
.tv-ch-count {
  font-size: 11px;
  opacity: 0.7;
}
.tv-sched-head h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}
.tv-sched-head p {
  font-size: 12px;
  color: #666;
}
.tv-days {
  display: grid;
  gap: 16px;
}
.tv-day h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 4px;
}
.tv-day ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tv-day li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f2f2f2;
}
.tv-day time {
  font-variant-numeric: tabular-nums;
  color: #444;
  font-size: 13px;
}
.tv-day .tv-gap {
  display: block;
  color: #888;
  font-style: italic;
  border: 0;
}
.tv-day p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #555;
}

@media (min-width: 721px) and (max-width: 960px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.saa-page h2 {
  margin: 24px 0 10px;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.saa-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 8px 0 16px;
}
.saa-search-label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
}
.saa-search-label input {
  padding: 8px 10px;
  border: 1px solid #ddd;
  min-width: 180px;
}
.saa-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.saa-city {
  border: 1px solid #e2e2e2;
  background: #fff;
  font: inherit;
  font-size: 12px;
  padding: 6px 10px;
  cursor: pointer;
}
.saa-city.is-active {
  background: #111;
  color: #fff;
  border-color: #111;
}
.saa-now-temp {
  margin: 0;
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.saa-now-place {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}
.saa-now-desc {
  margin: 4px 0 12px;
  color: #444;
}
.saa-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}
.saa-metric {
  border: 1px solid #e8e8e8;
  background: #fafafa;
  padding: 10px;
}
.saa-metric span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #666;
}
.saa-metric strong {
  font-size: 1.05rem;
}
.saa-hourly,
.saa-season {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.saa-chip {
  flex: 0 0 92px;
  border: 1px solid #e8e8e8;
  padding: 8px;
  background: #fff;
  font-size: 12px;
}
.saa-chip strong,
.saa-chip em {
  display: block;
}
.saa-chip em {
  color: #666;
  font-style: normal;
}
.saa-daily {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.saa-day {
  border: 1px solid #e8e8e8;
  padding: 10px;
  background: #fff;
  font-size: 13px;
}
.saa-day h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
}
.saa-day p {
  margin: 3px 0;
}
.saa-day-icon {
  font-size: 1.4rem;
}
.saa-radar-frame iframe {
  width: 100%;
  height: 420px;
  border: 1px solid #e2e2e2;
}
.saa-radar-src,
.saa-season-note,
.saa-foot {
  font-size: 12px;
  color: #666;
}
.weather-geo-hint {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.4;
}
.weather-geo-link {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--vs-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.weather-geo-status {
  margin: 6px 0 0;
  font-size: 12px;
  color: #555;
}

.pelit-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 12px;
}
.pelit-tabs button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #e2e2e2;
  background: #fff;
  font: inherit;
  cursor: pointer;
}
.pelit-tabs button.is-active {
  background: #111;
  color: #fff;
  border-color: #111;
}
.pelit-help,
.pelit-status {
  font-size: 14px;
  color: #444;
}
.pelit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.pelit-actions button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #111;
  background: #fff;
  font: inherit;
  cursor: pointer;
}
.sdk-grid,
.ws-grid,
.mine-grid,
.mem-grid {
  display: grid;
  gap: 2px;
  width: min(100%, 420px);
  margin: 0 auto;
}
.sdk-grid {
  grid-template-columns: repeat(9, minmax(0, 1fr));
}
.ws-grid,
.mine-grid {
  grid-template-columns: repeat(var(--n, 10), minmax(0, 1fr));
  width: min(100%, 520px);
}
.mem-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 360px);
}
.sdk-cell,
.ws-cell,
.mine-cell,
.mem-card,
.futo-cell,
.nono-cell {
  min-height: 36px;
  min-width: 0;
  font-size: 16px;
  text-align: center;
  border: 1px solid #ccc;
  background: #fff;
  padding: 0;
  box-sizing: border-box;
}
.sdk-cell.is-given {
  background: #f0f0f0;
  font-weight: 700;
}
.sdk-cell.is-wrong,
.futo-cell.is-wrong {
  background: #ffe4e0;
}
.sdk-cell.is-ok {
  background: #e8f6ea;
}
.sdk-grid .sdk-cell:nth-child(3n) {
  border-right-width: 2px;
  border-right-color: #111;
}
.sdk-grid .sdk-cell:nth-child(n + 19):nth-child(-n + 27),
.sdk-grid .sdk-cell:nth-child(n + 46):nth-child(-n + 54) {
  border-bottom-width: 2px;
  border-bottom-color: #111;
}
.ws-cell.is-pick,
.ws-words .is-found {
  background: #111;
  color: #fff;
}
.ws-words {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 12px 0 0;
  margin: 0;
}
.ws-words li {
  border: 1px solid #ddd;
  padding: 6px 10px;
}
.futo-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(28px, 48px));
  gap: 4px;
  align-items: center;
  justify-content: center;
}
.futo-op {
  text-align: center;
  font-weight: 700;
}
.nono-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.nono {
  border-collapse: collapse;
  margin: 0 auto;
}
.nono th {
  font-size: 11px;
  font-weight: 600;
  padding: 4px;
  vertical-align: bottom;
}
.nono-cell {
  width: 32px;
  height: 32px;
}
.nono-cell[data-st="1"] {
  background: #111;
  color: #111;
}
.mine-cell.is-open {
  background: #eee;
}
.mine-cell.is-boom {
  background: #c00;
  color: #fff;
}
.mem-card {
  min-height: 64px;
  font-size: 28px;
}
.mem-card.is-open,
.mem-card.is-done {
  background: #f7f7f7;
}

@media (max-width: 720px) {
  .sdk-cell,
  .ws-cell,
  .mine-cell,
  .nono-cell {
    min-height: 32px;
  }
  .saa-radar-frame iframe {
    height: 280px;
  }
}

.consent-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--vs-paper, #fff);
  color: var(--vs-ink, #111);
  border: 2px solid var(--vs-ink, #111);
  padding: 14px 16px;
  z-index: 2000;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  max-height: 80vh;
  overflow: auto;
}
.consent-banner h2 { font-size: 16px; margin: 0 0 6px; }
.consent-banner p { font-size: 13px; margin: 6px 0; line-height: 1.45; }
.consent-row { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; }
.consent-row input { margin-top: 4px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.consent-btn { flex: 1 1 140px; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }

.story-followup { margin: 8px 0; padding: 6px 10px; border-left: 3px solid var(--vs-accent); background: rgba(0, 0, 0, 0.04); font-size: 14px; }
.story-followup a { color: inherit; }

/* Juuri nyt -ticker: tuoreimmat uutiset linkkeinä, yksi näkyvissä kerrallaan */
.ticker-text a.ticker-item { color: inherit; text-decoration: none; display: none; }
.ticker-text a.ticker-item.is-active { display: inline; }
.ticker-text a.ticker-item:hover, .ticker-text a.ticker-item:focus-visible { text-decoration: underline; }
.side-box[hidden] { display: none; }
