/* Desktop-only presentation. Remove this stylesheet and its adapter to restore v99. */
@media screen and (min-width: 1024px) {
  html body { background-color: #e4e6de; }
  body[data-analysis-style="toned"] .panel[data-analysis-tone] { background: #fafbf7; border-color: #d8ded1; box-shadow: 0 5px 22px #233b2e08; }
  .bird-overview-grid { grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 28px; align-items: start; }
  #speciesStory .species-cards { grid-template-columns: 1fr; gap: 7px; }
  #speciesStory .species-card { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; column-gap: 12px; align-items: center; padding: 9px 13px; border-radius: 12px; background: #fff; min-height: 66px; }
  #speciesStory .species-card[aria-pressed="true"] { background: #edf3e7; border-color: #7e9676; box-shadow: inset 3px 0 #345a42; }
  #speciesStory .species-sprite { grid-column: 1; grid-row: 1 / 3; width: 48px; margin: 0; }
  #speciesStory .species-card-name { grid-column: 2; grid-row: 1; text-align: left; font-size: .88rem; }
  #speciesStory .species-counts { grid-column: 3; grid-row: 1 / 3; display: flex; align-items: center; gap: 12px; margin: 0; }
  #speciesStory .species-observed { font-size: 1.35rem; line-height: 1.1; }
  #speciesStory .species-observed small { font-size: .62rem; }
  #speciesStory .species-felled { font-size: .7rem; }
  #speciesStory .species-card-foot { grid-column: 2; grid-row: 2; margin: 2px 0 0; padding: 0; border: 0; font-size: .67rem; }
  #speciesStory .species-card-foot > span:last-child { display: none; }
  #speciesStory .species-trip-list { margin-top: 16px; }
  .bird-overview-grid > .bird-podium { margin: 0; padding: 0 0 0 26px; border-top: 0; border-left: 1px solid #d8ded1; }
  #birdPodium .podium-scene { --crew-width: min(100%, 400px); --crew-person: 166px; --crew-dog: 198px; --bird-size: 82px; gap: 16px; }
  #birdPodium .podium-crew-art { height: 238px; }
  #birdPodium .podium-sondre, #birdPodium .podium-kristine { bottom: 54px; }
  #birdPodium .podium-crew-caption { font-size: .72rem; }
  #birdPodium .podium-step { height: 112px; background: #e7e5cc; box-shadow: inset 0 3px #a99b54; border-radius: 10px 10px 4px 4px; }
  #birdPodium .podium-rank-2 .podium-step { height: 94px; background: #e5ebe2; box-shadow: inset 0 3px #a9b7a2; }
  #birdPodium .podium-rank-3 .podium-step { height: 80px; background: #f0e6d9; box-shadow: inset 0 3px #c2a27c; }
  #birdPodium .podium-many .podium-steps { grid-template-columns: repeat(3,minmax(0,1fr)); row-gap: 18px; }
  .trend-panel .form-line { stroke: #315c45; stroke-width: 3; }
  .trend-panel .form-fill { fill: #6c956c22; }
  .trend-panel .form-dot { stroke: #315c45; }
  .trend-panel .form-grid { stroke: #dce3d8; }
  .trend-panel .form-trip-detail { background: #e9f0e3; border: 1px solid #d2deca; border-radius: 12px; padding: 16px; }
  #dataQualitySummary { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 15px 18px; background: #f5f7ef; border: 1px solid #d8dfce; border-radius: 12px; }
  #dataQualitySummary[hidden] { display: none; }
  #dataQualitySummary .quality-summary-copy { flex: 1; min-width: 250px; }
  #dataQualitySummary .desktop-quality-toggle { border: 1px solid #bccbb4; background: #fff; color: #294735; border-radius: 9px; padding: 10px 14px; min-height: 44px; font: inherit; cursor: pointer; }
  #dataQualitySummary .desktop-quality-toggle:focus-visible { outline: 3px solid #6b885d; outline-offset: 3px; }
  #dataQualitySummary .quality-summary-actions { width: 100%; }
  #dataQualitySummary[data-desktop-collapsed="true"] .quality-summary-actions { display: none; }
  #leftyCompanion { width: 94px; right: 12px; }
  #leftyCompanion .lefty-nameplate { font-size: .65rem; }
}

/* Tydelege kortflatar: shared desktop surface, with the existing data and controls. */
@media screen and (min-width: 1024px) {
  #top > .hero .hero-visual { min-height: 280px; }
  #top > .hero .hero-heading { padding: 28px 36px; }
  #top > .hero h1 { font-size: clamp(2.2rem, 3.4vw, 3.1rem); }
  #top > .hero .hero-story { margin-top: 16px; }

  #seasonOverview .stats-grid { gap: 15px; align-items: stretch; }
  #seasonOverview .stats-grid > .stat-card {
    --ink: #193528;
    --muted: #50614b;
    --line: #d5dccd;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 304px;
    padding: 20px 18px 0;
    background: #fffefa;
    color: #193528;
    border: 1px solid #b8c2b1;
    border-radius: 13px;
    box-shadow: 0 2px 3px #20372b0a, 0 8px 18px #20372b0b;
  }
  #seasonOverview .stat-card > .stat-icon {
    position: absolute;
    top: 20px;
    right: 18px;
    width: 43px;
    height: 32px;
    margin: 0;
    justify-content: flex-end;
  }
  #seasonOverview .stat-icon .stat-detail-art { max-width: 43px; max-height: 32px; }
  #seasonOverview .stat-card > p {
    min-height: 37px;
    margin: 0 0 9px;
    padding-right: 51px;
    color: #334b37;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
  }
  #seasonOverview .stat-card > strong {
    margin: 0 0 8px;
    color: #193528;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.05em;
    font-variant-numeric: lining-nums tabular-nums;
    overflow-wrap: normal;
  }
  #seasonOverview .stat-card > #totalTime { font-size: 29px; min-height: 40px; }
  #seasonOverview .stat-card > strong small { font-size: 14px; font-weight: 500; letter-spacing: 0; color: #50614b; }
  #seasonOverview .stat-card .stat-foot {
    margin-top: 0;
    font-size: 12px;
    line-height: 1.55;
    color: #50614b;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
  }
  #seasonOverview .stat-card .everest-equivalent { margin: 1px 0 7px; padding: 0; border: 0; gap: 1px; }
  #seasonOverview .everest-equivalent strong { margin: 0; font-size: 13px; color: #345b3c; }
  #seasonOverview .everest-equivalent span { font-size: 12px; color: #50614b; }
  #seasonOverview .shooting-meter { margin: 3px 0 10px; background: #e5e9df; flex-shrink: 0; }
  #seasonOverview .stat-card[data-shooting-band] > strong { color: var(--shot-accent); }

  #seasonOverview .stat-card .stat-comparison { margin-top: auto; padding-top: 15px; }
  #seasonOverview .stat-card .stat-change { min-height: 44px; padding: 10px 0; font-size: 12px; color: #50614b; }
  #seasonOverview .stat-card .stat-change.up { color: #3c6b36; }
  #seasonOverview .stat-card .stat-change.down { color: #a1453b; }
  #seasonOverview .stat-card .stat-change::after { color: #50614b; }
  #seasonOverview .stat-card .stat-comparison-details { padding-bottom: 12px; color: #193528; border-color: #d5dccd; }
  #seasonOverview .stat-card .stat-comparison-values dt span,
  #seasonOverview .stat-card .stat-comparison-basis,
  #seasonOverview .stat-card .stat-comparison-note { color: #50614b; }
  #seasonOverview .stat-card .stat-comparison-values > div { border-color: #c6d2bf; }

  #seasonOverview .stat-card .stat-trips-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-shrink: 0;
    align-self: stretch;
    min-height: 47px;
    margin: 0 -18px;
    padding: 12px 18px;
    border: 0;
    border-top: 1px solid #d5dccd;
    border-radius: 0 0 12px 12px;
    background: #f3f5ee;
    color: #274a32;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
  }
  #seasonOverview .stat-card .stat-comparison[hidden] + .stat-trips-link { margin-top: auto; }
  #seasonOverview .stat-card .stat-trips-link::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); margin-right: 2px; }
  #seasonOverview .stat-card .stat-trips-link:enabled:hover { background: #e6eddf; }
  #seasonOverview .stat-card .stat-trips-link:disabled { opacity: 1; color: #697264; }
  #seasonOverview .stat-card .stat-trips-link:disabled::after { display: none; }
  #seasonOverview .stat-card:focus-within { border-color: #46643e; }
  #seasonOverview .stat-card .stat-trips-link:focus-visible,
  #seasonOverview .stat-card .stat-change:focus-visible { outline: 2px solid #46643e; outline-offset: 3px; }
}
