/* =====================================================
   STATISTIK – dark design matching global system
   ===================================================== */

body.statistik-page {
  margin: 0;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 6%,  rgba(31, 122, 76, 0.18), rgba(31, 122, 76, 0) 38%),
    radial-gradient(circle at 90% 5%,  rgba(205, 33, 42, 0.16), rgba(205, 33, 42, 0) 40%),
    #0f0f0f;
  color: #e6e6e6;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* =====================================================
   MAIN WRAPPER
   ===================================================== */
.stat-main {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(40px, 7vh, 90px) clamp(16px, 4vw, 32px) 80px;
  box-sizing: border-box;
}

/* =====================================================
   HERO
   ===================================================== */
.stat-hero {
  text-align: center;
  margin-bottom: clamp(32px, 5vh, 56px);
  animation: statfadeup 700ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.stat-hero-icon {
  display: block;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  margin-bottom: 14px;
  filter: drop-shadow(0 0 18px rgba(31, 122, 76, 0.45));
}

.stat-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.14;
  color: #ffffff;
}

.stat-hero-lead {
  margin: 0 auto;
  max-width: 560px;
  font-size: clamp(0.98rem, 2.2vw, 1.1rem);
  color: #a0a0a0;
  line-height: 1.72;
}

/* =====================================================
   SCOPE SELECTOR
   ===================================================== */
.stat-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: clamp(28px, 4vh, 44px);
  animation: statfadeup 700ms 80ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.stat-scope-btn {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #c8c8c8;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
  font-family: inherit;
}

.stat-scope-btn:hover {
  background: rgba(31, 122, 76, 0.18);
  border-color: rgba(31, 122, 76, 0.4);
  color: #e6e6e6;
}

.stat-scope-btn.aktiv {
  background: rgba(31, 122, 76, 0.28);
  border-color: rgba(31, 122, 76, 0.6);
  color: #ffffff;
}

/* =====================================================
   LOADING / ERROR
   ===================================================== */
.stat-status {
  text-align: center;
  padding: 48px 16px;
  color: #888;
  font-size: 1rem;
}

.stat-status--error {
  color: #e75454;
}

/* =====================================================
   SECTIONS
   ===================================================== */
.stat-sections {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-subsection {
  margin: 8px 2px 0;
  padding: 8px 2px 0;
}

.stat-subsection-label {
  margin: 0 0 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(238, 238, 238, 0.62);
}

.stat-subsection-title {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.16rem);
  font-weight: 800;
  color: #f6f6f6;
  letter-spacing: -0.01em;
}

/* =====================================================
   RANDOM STATISTIK NAVIGATION
   ===================================================== */
.stat-random-nav {
  background: linear-gradient(135deg, rgba(31, 122, 76, 0.12), rgba(31, 122, 76, 0.06));
  border: 1px solid rgba(31, 122, 76, 0.25);
  border-radius: 18px;
  padding: 20px 24px;
  margin-bottom: 24px;
  animation: statfadeup 700ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.stat-random-nav-content {
  text-align: center;
}

.stat-random-nav-label {
  margin: 0 0 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #9ef0b0;
  letter-spacing: 0.05em;
}

.stat-random-nav-link {
  display: inline-block;
  font-size: 0.98rem;
  font-weight: 600;
  color: #9ef0b0;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid rgba(158, 240, 176, 0);
  transition: border-color 240ms ease, color 240ms ease;
  margin: 0;
}

.stat-random-nav-link:hover {
  color: #c4f5d4;
  border-bottom-color: rgba(158, 240, 176, 0.4);
}

.stat-random-nav-desc {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: rgba(160, 160, 160, 0.85);
  line-height: 1.5;
}

/* =====================================================
   CARD
   ===================================================== */
.stat-card {
  background: linear-gradient(145deg, rgba(29, 29, 29, 0.96), rgba(20, 20, 20, 0.93));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 34px) clamp(20px, 4vw, 34px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
  position: relative;
  overflow: hidden;
  animation: statfadeup 700ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
  transition:
    box-shadow 340ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 340ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.045) 0%,
    rgba(255, 255, 255, 0.008) 40%,
    rgba(255, 255, 255, 0) 65%
  );
  pointer-events: none;
}

.stat-card:nth-child(1) { animation-delay: 60ms; }
.stat-card:nth-child(2) { animation-delay: 120ms; }
.stat-card:nth-child(3) { animation-delay: 180ms; }
.stat-card:nth-child(4) { animation-delay: 240ms; }
.stat-card:nth-child(5) { animation-delay: 300ms; }
.stat-card:nth-child(6) { animation-delay: 360ms; }

.stat-card--green { border-color: rgba(31, 122, 76, 0.32); }

.stat-fact-small {
  margin: -6px 0 14px;
  font-size: 0.82rem;
  color: rgba(241,241,241,0.65);
  letter-spacing: 0.01em;
}
.stat-card--red   { border-color: rgba(205, 33, 42, 0.28); }
.stat-card--gold  { border-color: rgba(205, 160, 40, 0.32); }
.stat-card--blue  { border-color: rgba(60, 130, 220, 0.28); }
.stat-card--purple { border-color: rgba(130, 60, 220, 0.32); }
.stat-card--orange { border-color: rgba(220, 110, 30, 0.32); }

/* --- Ovanliga kombinationer --- */
.stat-kombo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.18) transparent;
}
.stat-kombo-list::-webkit-scrollbar { width: 4px; }
.stat-kombo-list::-webkit-scrollbar-track { background: transparent; }
.stat-kombo-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 2px; }
.stat-kombo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(220, 110, 30, 0.08);
  border: 1px solid rgba(220, 110, 30, 0.2);
  border-radius: 10px;
  padding: 10px 14px;
}
.stat-kombo-par {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.stat-kombo-ing {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(220, 110, 30, 0.18);
  border: 1px solid rgba(220, 110, 30, 0.3);
  color: #ffd0a0;
  white-space: nowrap;
}
.stat-kombo-plus {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
}
.stat-kombo-count {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,200,140,0.75);
  white-space: nowrap;
  flex-shrink: 0;
}

/* --- DNA grid --- */
.stat-dna-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  max-height: 560px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.18) transparent;
}
.stat-dna-grid::-webkit-scrollbar { width: 4px; }
.stat-dna-grid::-webkit-scrollbar-track { background: transparent; }
.stat-dna-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 2px; }
.stat-dna-item {
  background: rgba(130, 60, 220, 0.08);
  border: 1px solid rgba(130, 60, 220, 0.22);
  border-radius: 12px;
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.15s;
}
.stat-dna-item:hover {
  background: rgba(130, 60, 220, 0.16);
  border-color: rgba(130, 60, 220, 0.42);
  transform: translateY(-1px);
}
.stat-dna-namn {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1px;

/* Kombo link wrapper */
.stat-kombo-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  text-decoration: none;
  color: inherit;
}
.stat-kombo-item--link {
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
  padding: 0;
}
.stat-kombo-item--link .stat-kombo-link {
  padding: 10px 14px;
}
.stat-kombo-item--link:hover {
  background: rgba(220, 110, 30, 0.16);
  border-color: rgba(220, 110, 30, 0.38);
}
}
.stat-dna-sub {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(241,241,241,0.5);
  letter-spacing: 0.01em;
}
.stat-dna-profil {
  font-size: 0.78rem;
  color: rgba(200, 170, 255, 0.85);
  font-style: italic;
  line-height: 1.4;
}
.stat-dna-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}
.stat-dna-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(130, 60, 220, 0.18);
  border: 1px solid rgba(130, 60, 220, 0.3);
  color: #e0d0ff;
}
.stat-dna-pct {
  font-size: 0.67rem;
  font-weight: 400;
  opacity: 0.65;
}

.stat-card-label {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: #f1f1f1;
  background: rgba(31, 122, 76, 0.22);
  border: 1px solid rgba(31, 122, 76, 0.32);
}

.stat-card--red .stat-card-label {
  background: rgba(205, 33, 42, 0.18);
  border-color: rgba(205, 33, 42, 0.3);
}

.stat-card--gold .stat-card-label {
  background: rgba(205, 160, 40, 0.18);
  border-color: rgba(205, 160, 40, 0.3);
}

.stat-card--blue .stat-card-label {
  background: rgba(60, 130, 220, 0.14);
  border-color: rgba(60, 130, 220, 0.28);
}

.stat-card--purple .stat-card-label {
  background: rgba(130, 60, 220, 0.16);
  border-color: rgba(130, 60, 220, 0.3);
}

.stat-card--orange .stat-card-label {
  background: rgba(220, 110, 30, 0.16);
  border-color: rgba(220, 110, 30, 0.3);
}

.stat-card h2 {
  margin: 0 0 18px;
  font-size: clamp(1.12rem, 2.6vw, 1.36rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.015em;
  line-height: 1.28;
}

/* =====================================================
   STAT GRID (overview numbers)
   ===================================================== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
}

.stat-num-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
}

.stat-num-value {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-num-label {
  font-size: 0.76rem;
  color: #888;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* =====================================================
   PRICE HIGHLIGHT ROWS
   ===================================================== */
.stat-pris-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-pris-row:last-child { border-bottom: none; }

.stat-pris-label {
  flex: 1;
  font-size: 0.92rem;
  color: #a0a0a0;
}

.stat-pris-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-pris-sub {
  font-size: 0.8rem;
  color: #666;
}

/* =====================================================
   TEXT / CONTROLS
   ===================================================== */
.stat-text {
  margin: 0 0 12px;
  color: #b8b8b8;
  font-size: 0.95rem;
  line-height: 1.7;
}

.stat-text:last-child {
  margin-bottom: 0;
}

.stat-text--highlight {
  margin-top: 14px;
  color: #e9f7ee;
}

.stat-compare-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.stat-inline-scope {
  margin: 0 0 14px;
}

.stat-inline-select-wrap {
  position: relative;
}

.stat-inline-select-wrap::after {
  content: "▾";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8fbfa6;
  font-size: 0.86rem;
  pointer-events: none;
}

.stat-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #e8e8e8;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  outline: none;
  color-scheme: dark;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.stat-select--inline {
  background: linear-gradient(145deg, rgba(31, 122, 76, 0.2), rgba(25, 25, 25, 0.92));
  border-color: rgba(31, 122, 76, 0.4);
  color: #eef7f1;
  font-weight: 700;
  padding-right: 32px;
}

.stat-select:focus {
  border-color: rgba(31, 122, 76, 0.65);
  box-shadow: 0 0 0 2px rgba(31, 122, 76, 0.18);
}

.stat-select option {
  background: #121617;
  color: #f4f7f5;
}

.stat-select option:checked {
  background: #1d3f2d;
  color: #ffffff;
}

.stat-select option:hover {
  background: #29553d;
  color: #ffffff;
}

.stat-compare-result {
  margin-top: 6px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  color: #eef3ef;
}

.stat-compare-place {
  color: #ffffff;
  font-weight: 700;
}

.stat-compare-kpi {
  color: #9ef0b0;
  font-weight: 800;
}

/* =====================================================
   RANKING LIST
   ===================================================== */
.stat-rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.18) transparent;
}
.stat-rank-list::-webkit-scrollbar { width: 4px; }
.stat-rank-list::-webkit-scrollbar-track { background: transparent; }
.stat-rank-list::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.18);
  border-radius: 4px;
}

.stat-rank-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-rank-item:last-child { border-bottom: none; }

.stat-rank-pos {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #888;
  flex-shrink: 0;
}

.stat-rank-pos--1 {
  background: rgba(205, 160, 40, 0.2);
  border-color: rgba(205, 160, 40, 0.4);
  color: #f0c040;
}

.stat-rank-pos--2 {
  background: rgba(180, 180, 180, 0.12);
  border-color: rgba(180, 180, 180, 0.3);
  color: #c0c0c0;
}

.stat-rank-pos--3 {
  background: rgba(180, 100, 40, 0.14);
  border-color: rgba(180, 100, 40, 0.3);
  color: #cd7f32;
}

.stat-rank-namn {
  flex: 1;
  font-size: 0.93rem;
  color: #d0d0d0;
  font-weight: 600;
  line-height: 1.3;
}

.stat-rank-link {
  color: inherit;
  text-decoration: none;
}

.stat-rank-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.stat-rank-namn-sub {
  display: block;
  font-size: 0.76rem;
  font-weight: 400;
  color: #666;
}

.stat-rank-pris {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
}

.stat-bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.18) transparent;
}
.stat-bullet-list::-webkit-scrollbar { width: 4px; }
.stat-bullet-list::-webkit-scrollbar-track { background: transparent; }
.stat-bullet-list::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.18);
  border-radius: 4px;
}

.stat-bullet-item {
  color: #d4d4d4;
  font-size: 0.93rem;
  line-height: 1.55;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-fakta-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.stat-fakta-counter {
  font-size: 0.8rem;
  color: #9da8a0;
  letter-spacing: 0.02em;
}

.stat-fakta-next {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(31, 122, 76, 0.45);
  background: linear-gradient(145deg, rgba(31, 122, 76, 0.35), rgba(25, 25, 25, 0.95));
  color: #dff5e8;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 160ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.stat-fakta-next:hover {
  transform: translateX(1px);
  border-color: rgba(31, 122, 76, 0.75);
  box-shadow: 0 0 0 2px rgba(31, 122, 76, 0.18);
}

/* =====================================================
   INGREDIENT LIST
   ===================================================== */
.stat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.stat-tag {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: #b0b0b0;
}

.stat-tag-count {
  margin-left: 5px;
  font-size: 0.72rem;
  color: #666;
}

/* =====================================================
   INFO BUTTON & POPUP
   ===================================================== */
.stat-info-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #888;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
  z-index: 2;
  font-family: inherit;
  line-height: 1;
  flex-shrink: 0;
}

.stat-info-btn:hover {
  background: rgba(31, 122, 76, 0.22);
  border-color: rgba(31, 122, 76, 0.5);
  color: #ffffff;
}

.stat-info-popup {
  position: fixed;
  z-index: 9999;
  max-width: 300px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 14px 16px;
  color: #c0c0c0;
  font-size: 0.85rem;
  line-height: 1.65;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
}

.stat-info-popup.hidden {
  display: none;
}

/* =====================================================
   SCOPE TITLE
   ===================================================== */
.stat-scope-title {
  text-align: center;
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 22px;
  letter-spacing: 0.03em;
}

/* =====================================================
   ANIMATION
   ===================================================== */
@keyframes statfadeup {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* Prevent horizontal overflow globally on this page */
html,
body.statistik-page {
  overflow-x: hidden;
  max-width: 100%;
  overscroll-behavior-x: none;
}

@media (max-width: 520px) {
  .stat-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-compare-controls {
    grid-template-columns: 1fr;
  }

  .stat-scope {
    gap: 7px;
  }

  .stat-scope-btn {
    padding: 7px 13px;
    font-size: 0.8rem;
  }

  .stat-card {
    padding: 18px 16px;
  }

  .stat-info-popup {
    max-width: calc(100vw - 32px);
  }

  .stat-pris-row {
    flex-wrap: wrap;
    gap: 4px 10px;
  }

  .stat-pris-label {
    width: 100%;
    flex: none;
  }

  .stat-rank-pris {
    font-size: 0.88rem;
  }

  .stat-bullet-item {
    font-size: 0.88rem;
  }
}

/* Extra guardrails for very small screens */
@media (max-width: 400px) {
  .stat-main {
    padding-left: 10px;
    padding-right: 10px;
  }

  .stat-card {
    border-radius: 16px;
    padding: 16px 12px;
  }

  .stat-hero h1 {
    font-size: 1.6rem;
  }

  .stat-pris-label,
  .stat-pris-varde,
  .stat-bullet-item,
  .stat-rank-name {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}
