@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* Visvanger — Frontend Styles v1.3 */

:root {
  --ff-teal:        #0D3C69;
  --ff-teal-light:  #E3EEF7;
  --ff-teal-mid:    #388AC8;
  --ff-teal-dark:   #0A2D4F;
  --ff-amber:       #EF9F27;
  --ff-amber-light: #FAEEDA;
  --ff-amber-dark:  #633806;
  --ff-coral:       #D85A30;
  --ff-coral-light: #FAECE7;
  --ff-coral-dark:  #712B13;
  --ff-blue:        #388AC8;

  --ff-bg:        #f4f3f0;
  --ff-surface-1: #f9f8f6;
  --ff-surface-2: #ffffff;
  --ff-text-1:    #1a1a18;
  --ff-text-2:    #5a5a56;
  --ff-text-3:    #6f6f69; /* was #9a9a94 — voldeed niet aan WCAG AA-contrast (2.55-2.83:1 i.p.v. vereiste 4.5:1), zie PageSpeed-toegankelijkheidsmelding 27-08-2026 */
  --ff-border:    rgba(0,0,0,.09);
  --ff-border-s:  rgba(0,0,0,.16);
  --ff-radius:    8px;
  --ff-font:      'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ff-bg:          #131312;
    --ff-surface-1:   #1e1e1c;
    --ff-surface-2:   #272725;
    --ff-text-1:      #f0ede8;
    --ff-text-2:      #a0a09a;
    --ff-text-3:      #8e8e88; /* was #666660 — zelfde contrastprobleem als lichte modus */
    --ff-border:      rgba(255,255,255,.09);
    --ff-border-s:    rgba(255,255,255,.16);
    --ff-teal-light:  #0c2944;
    --ff-teal-dark:   #8FC4EA;
    --ff-amber-light: #2e2008;
    --ff-amber-dark:  #FAC775;
    --ff-coral-light: #2e1008;
    --ff-coral-dark:  #F0997B;
  }
}


  .ff-app *, .ff-app *::before, .ff-app *::after{ box-sizing: border-box; margin: 0; padding: 0; }

  .ff-app{
    font-family: var(--ff-font);
    background: transparent;
    color: var(--ff-text-1);
    padding: 2rem 1.5rem 3rem;
    max-width: 1100px;
    margin: 0 auto;
  }


  /* ── Search bar — FIXED: altijd 1 rij ── */
  .ff-app .ff-search-bar{
    display: flex;
    flex-direction: row;       /* altijd horizontaal */
    align-items: center;
    gap: 6px;
    margin-bottom: 1.25rem;
    flex-wrap: nowrap;         /* nooit wrappen */
  }
  .ff-app .ff-search-wrap{ position: relative; flex: 1 1 0; min-width: 0; }
  .ff-app .ff-search-icon{
    position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
    width: 15px; height: 15px; stroke: var(--ff-text-3); pointer-events: none;
  }
  .ff-app .ff-input{
    width: 100%; height: 42px; padding: 0 12px 0 34px;
    border: 0.5px solid var(--ff-border-s); border-radius: var(--ff-radius);
    background: var(--ff-surface-2); color: var(--ff-text-1);
    font-size: 14px; font-family: var(--ff-font); outline: none;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    transition: border-color .15s, box-shadow .15s;
  }
  .ff-app .ff-input:focus{
    border-color: var(--ff-teal);
    box-shadow: 0 0 0 3px rgba(13,60,105,.12);
  }
  .ff-app .ff-input::placeholder{ color: var(--ff-text-3); }

  .ff-app .ff-btn{
    height: 40px; padding: 0 14px; flex-shrink: 0;
    border: 0.5px solid var(--ff-border-s); border-radius: var(--ff-radius);
    background: var(--ff-surface-2); color: var(--ff-text-1);
    font-size: 14px; font-family: var(--ff-font); cursor: pointer;
    display: flex; align-items: center; gap: 6px; white-space: nowrap;
    transition: background .15s;
    box-shadow: none; text-transform: none; letter-spacing: normal;
  }
  .ff-app .ff-btn:hover{ background: var(--ff-surface-1); }

  /* GPS button — zelfde stijl als Zoeken, klein GPS-icoontje erin */
  .ff-app .ff-btn-gps{
    padding: 0 12px;
    color: var(--ff-text-2);
  }
  .ff-app .ff-btn-gps:hover{ color: var(--ff-text-1); }

  /* Primaire zoekknop — iets meer nadruk */
  .ff-app .ff-btn-search{
    background: var(--ff-teal);
    border-color: var(--ff-teal-dark);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 1px 6px rgba(13,60,105,.35);
  }
  .ff-app .ff-btn-search:hover{
    background: var(--ff-teal-dark);
    box-shadow: 0 3px 10px rgba(13,60,105,.4);
  }

  /* ── States ── */
  .ff-app .ff-loading{
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 14px; padding: 4rem 1rem; color: var(--ff-text-2);
  }
  .ff-app .ff-spinner{
    width: 32px; height: 32px;
    border: 2.5px solid var(--ff-border-s); border-top-color: var(--ff-teal);
    border-radius: 50%; animation: ff-spin .8s linear infinite;
  }
  @keyframes ff-spin { to { transform: rotate(360deg); } }
  .ff-app .ff-loading p{ font-size: 14px; }

  .ff-app .ff-empty{
    text-align: center; padding: 4rem 2rem 5rem; color: var(--ff-text-2);
  }
  .ff-app .ff-empty-icon{
    font-size: 56px; margin-bottom: 16px; display: block;
    filter: drop-shadow(0 4px 12px rgba(13,60,105,.25));
    animation: ff-float 3s ease-in-out infinite;
  }
  @keyframes ff-float{
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
  }
  .ff-app .ff-empty-title{
    font-size: 22px; font-weight: 700; color: var(--ff-text-1);
    margin-bottom: 10px; letter-spacing: -.01em;
  }
  .ff-app .ff-empty-desc{ font-size: 15px; line-height: 1.8; max-width: 340px; margin: 0 auto; }

  .ff-app .ff-error{
    background: var(--ff-coral-light); border: 0.5px solid var(--ff-coral);
    border-radius: var(--ff-radius); padding: .8rem 1rem;
    font-size: 13px; color: var(--ff-coral-dark);
    display: flex; gap: 10px; align-items: flex-start;
  }
  .ff-app .ff-error svg{ width: 15px; height: 15px; stroke: var(--ff-coral); fill: none; flex-shrink: 0; margin-top: 1px; }

  /* ── Hero ── */
  .ff-app .ff-hero{ display: flex; gap: 12px; margin-bottom: 10px; }
  .ff-app .ff-score-card{
    background: var(--ff-score-bg, var(--ff-surface-2));
    border: 0.5px solid var(--ff-score-border, var(--ff-border));
    border-radius: 16px; padding: 1.75rem 1.5rem;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-width: 180px; flex-shrink: 0; gap: 6px;
    box-shadow: 0 2px 12px var(--ff-score-shadow, transparent);
  }
  .ff-app .ff-score-ring{ width: 110px; height: 110px; margin-bottom: 10px; }
  .ff-app .ff-score-num{ font-size: 42px; font-weight: 700; line-height: 1; }
  .ff-app .ff-score-word{ font-size: 16px; font-weight: 600; }

  .ff-app .ff-hero-info{
    background: var(--ff-surface-2); border: 0.5px solid var(--ff-border);
    border-radius: 16px; padding: 1.75rem; flex: 1;
    display: flex; flex-direction: column; justify-content: space-between;
    box-shadow: 0 1px 8px rgba(0,0,0,.05);
  }
  .ff-app .ff-hero-loc{
    font-size: 20px; font-weight: 600;
    display: flex; align-items: center; gap: 6px; margin-bottom: 5px;
  }
  .ff-app .ff-hero-loc svg{ width: 13px; height: 13px; stroke: var(--ff-text-3); fill: none; flex-shrink: 0; }
  .ff-app .ff-hero-meta{ font-size: 15px; color: var(--ff-text-2); margin-bottom: 12px; }
  .ff-app .ff-hero-desc{ font-size: 16px; color: var(--ff-text-2); line-height: 1.7; margin-bottom: 16px; flex: 1; }

  /* Luchtdruk — FIXED: geen klikbaar uiterlijk, pijl alleen als tekst ── */
  .ff-app .ff-pbar-row{ display: flex; align-items: center; gap: 8px; }
  .ff-app .ff-pbar-lbl{ font-size: 12px; color: var(--ff-text-3); min-width: 68px; }
  .ff-app .ff-pbar{ flex: 1; height: 5px; background: var(--ff-bg); border-radius: 3px; overflow: hidden; }
  .ff-app .ff-pbar-fill{ height: 100%; border-radius: 3px; transition: width .5s ease; }
  .ff-app .ff-pbar-val{
    font-size: 13px; font-weight: 500; min-width: 135px; text-align: right;
    cursor: default;   /* geen pointer/hand cursor */
    user-select: none; /* niet selecteerbaar → ziet er niet clickable uit */
  }

  /* ── Metrics ── */
  .ff-app .ff-metrics{
    display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 12px; margin-bottom: 22px;
  }
  .ff-app .ff-metric{
    background: var(--ff-surface-2); border: 0.5px solid var(--ff-border);
    border-left: 3px solid var(--ff-metric-accent, var(--ff-border));
    border-radius: 12px; padding: 1.1rem 1.25rem;
    box-shadow: 0 1px 6px rgba(0,0,0,.04);
    transition: transform .15s, box-shadow .15s;
  }
  .ff-app .ff-metric:hover{
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
  }
  .ff-app .ff-metric .m-ic{ font-size: 22px; margin-bottom: 8px; }
  .ff-app .ff-metric .m-val{ font-size: 28px; font-weight: 600; line-height: 1; }
  .ff-app .ff-metric .m-unit{ font-size: 13px; color: var(--ff-text-3); font-weight: 400; }
  .ff-app .ff-metric .m-lbl{ font-size: 13px; color: var(--ff-text-2); margin-top: 4px; }

  /* ── Section heading ── */
  .ff-app .ff-section-head{
    font-size: 17px; font-weight: 700; text-transform: none;
    letter-spacing: -.01em; color: var(--ff-text-1);
    margin: 2.75rem 0 1.1rem;
    display: flex; align-items: center; gap: 12px;
  }
  .ff-app .ff-section-head::after{
    content: ''; flex: 1; height: 1px;
    background: var(--ff-border);
  }

  /* ── Uur-navigatie ── */






  /* -- Nav pijlknoppen -- */
  .ff-app .ff-nav-arrow{
    width: 28px; height: 28px; flex-shrink: 0;
    border: 0.5px solid var(--ff-border-s); border-radius: 6px;
    background: var(--ff-surface-2); color: var(--ff-text-2);
    font-size: 15px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--ff-font); transition: background .15s, color .15s;
    padding: 0; line-height: 1; box-shadow: none; text-transform: none;
  }
  .ff-app .ff-nav-arrow:hover{ background: var(--ff-surface-1); color: var(--ff-text-1); }
  .ff-app .ff-nav-arrow:disabled{ opacity: .3; cursor: default; }

  /* -- Timeline: scrollbare staafgrafiek in 1 rij -- */
  .ff-app .ff-timeline-wrap{
    background: var(--ff-surface-2); border: 0.5px solid var(--ff-border);
    border-radius: 12px; overflow: hidden; margin-bottom: 8px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,.04), 0 1px 6px rgba(0,0,0,.05);
  }
  .ff-app .ff-timeline-scroll{
    display: flex; flex-direction: row;
    align-items: center;
    overflow-x: auto; overflow-y: hidden;
    padding: 14px 8px;
    gap: 4px;
    scrollbar-width: none;
  }
  .ff-app .ff-timeline-scroll::-webkit-scrollbar{ display: none; }

  .ff-app .ff-tcell{
    flex: 0 0 64px;
    display: flex; flex-direction: column;
    align-items: center;
    padding: 10px 0;
    border-radius: 8px;
    position: relative;
    transition: background .15s, transform .15s, box-shadow .15s;
  }
  .ff-app .ff-tcell.best{
    background: #E1F5EE;
    padding: 16px 0;
    border-radius: 12px;
    border: 1.5px solid #5DCAA5;
    transform: translateY(-3px);
  }
  .ff-app .ff-tcell.now{
    background: var(--ff-teal-light);
    border: 1.5px solid var(--ff-teal-mid);
    padding: 16px 0;
    border-radius: 12px;
    transform: translateY(-3px);
  }
  .ff-app .ff-tcell.best.now{
    /* Nu domineert altijd over Top */
    background: var(--ff-teal-light);
    border: 1.5px solid var(--ff-teal-mid);
  }

  .ff-app .ff-tcell-bar-wrap{
    width: 36px; height: 72px;
    background: transparent;
    border-radius: 4px; overflow: hidden;
    display: flex; align-items: flex-end;
    margin-bottom: 5px; flex-shrink: 0;
  }
  .ff-app .ff-tcell-fill{
    width: 100%; min-height: 3px;
    border-radius: 4px 4px 0 0;
    transition: height .4s ease;
  }

  .ff-app .ff-tcell-score{ font-size: 16px; font-weight: 700; line-height: 1; margin-bottom: 4px; }
  .ff-app .ff-tcell-icon{ font-size: 16px; line-height: 1; margin-bottom: 4px; }
  .ff-app .ff-tcell-time{ font-size: 13px; color: var(--ff-text-3); line-height: 1; }

  .ff-app .ff-tcell-badge{
    position: absolute; top: 3px;
    font-size: 8px; font-weight: 700;
    padding: 1px 4px; border-radius: 3px; line-height: 1.5;
  }
  .ff-app .ff-tcell-badge.top{ right: 3px; background: #1D9E75; color: #fff; }
  .ff-app .ff-tcell-badge.now{ left: 3px;  background: var(--ff-teal-mid); color: #fff; }

  .ff-app .ff-chart-legend{
    display: flex; gap: 14px; flex-wrap: wrap;
  }
  .ff-app .ff-legend-item{ display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--ff-text-3); }
  .ff-app .ff-legend-dot{ width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

  /* ── Tips ── */
  .ff-app .ff-tips{
    background: var(--ff-surface-2); border: 0.5px solid var(--ff-border);
    border-radius: 12px; overflow: hidden; margin-bottom: 22px;
  }
  .ff-app .ff-tip{
    display: flex; align-items: baseline; gap: 12px;
    padding: 1rem 1.25rem; border-bottom: 0.5px solid var(--ff-border);
    font-size: 15px; line-height: 1.7;
    transition: background .12s;
  }
  .ff-app .ff-tip:hover{ background: var(--ff-surface-1); }
  .ff-app .ff-tip:last-child{ border-bottom: none; }
  .ff-app .ff-tip-ic{
    font-size: 18px; flex-shrink: 0;
    width: 24px; text-align: center;
    line-height: 1.7; /* matcht de line-height van de tekst */
  }
  .ff-app .ff-tip-text{ color: var(--ff-text-2); flex: 1; }
  .ff-app .ff-tip-text strong{ color: var(--ff-text-1); font-weight: 600; }

  /* ── Species — meer soorten ── */
  .ff-app .ff-species{
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
    gap: 12px; margin-bottom: 22px;
  }
  .ff-app .ff-species-card{
    background: var(--ff-surface-2); border: 0.5px solid var(--ff-border);
    border-radius: 14px; overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .15s, box-shadow .15s;
  }
  .ff-app .ff-species-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
  }
  /* Klikbare variant (naar de vissoort-pagina) — zelfde uiterlijk als de kaart,
     plus subtiele hint dat er meer informatie achter zit */
  a.ff-species-card--link{
    text-decoration: none; color: inherit; cursor: pointer;
    position: relative;
    padding-bottom: 4px; /* ruimte voor de hover-pijl onderin */
  }
  a.ff-species-card--link:hover{
    border-color: var(--ff-teal-mid);
  }
  a.ff-species-card--link::after{
    content: '→'; position: absolute; right: 12px; bottom: 10px;
    font-size: 13px; color: var(--ff-teal-mid); opacity: 0;
    transition: opacity .15s, transform .15s; transform: translateX(-4px);
  }
  a.ff-species-card--link:hover::after{
    opacity: 1; transform: translateX(0);
  }
  .ff-app .ff-species-img{
    width: 100%; height: 100px; overflow: hidden;
    background: var(--ff-surface-1);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 36px;
  }
  .ff-app .ff-species-img img{
    width: 100%; height: 100%; object-fit: cover;
    display: block; border: none; margin: 0; padding: 0;
    transition: transform .3s ease;
  }
  .ff-app .ff-species-card:hover .ff-species-img img{ transform: scale(1.05); }
  .ff-app .ff-species-body{ padding: 1rem 1.1rem; flex: 1; }
  .ff-app .ff-species-top{
    display: flex; align-items: baseline;
    justify-content: space-between; gap: 6px; margin-bottom: 7px;
  }
  .ff-app .ff-sn{ font-size: 15px; font-weight: 700; }
  .ff-app .ff-species-score{ font-size: 15px; font-weight: 700; flex-shrink: 0; }
  .ff-app .ff-sa{ font-size: 12px; font-weight: 700; color: var(--ff-text-2); margin-top: 8px; }
  .ff-app .ff-sa-detail{ font-size: 14px; color: var(--ff-text-2); margin-top: 4px; line-height: 1.55; }
  .ff-app .ff-species-bar{ height: 3px; border-radius: 2px; margin-bottom: 4px; background: var(--ff-bg); overflow: hidden; }
  .ff-app .ff-species-bar-fill{ height: 100%; border-radius: 2px; }

  /* ── Extra info cards ── */
  .ff-app .ff-extra-row{
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px;
  }
  .ff-app .ff-info-card{
    background: var(--ff-surface-2); border: 0.5px solid var(--ff-border);
    border-radius: 14px; padding: 1.25rem 1.5rem;
  }
  .ff-app .ff-info-head{ font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ff-text-3); margin-bottom: 8px; }
  .ff-app .ff-info-row{
    display: flex; justify-content: space-between; align-items: flex-start;
    padding: 6px 0; border-bottom: 0.5px solid var(--ff-border);
    font-size: 14px; gap: 8px;
  }
  .ff-app .ff-info-row:last-child{ border-bottom: none; padding-bottom: 0; }
  .ff-app .ff-info-lbl{ color: var(--ff-text-2); flex-shrink: 0; }
  .ff-app .ff-info-val{ font-weight: 500; text-align: right; }

  /* ── Technique card — uitgebreid ── */
  .ff-app .ff-technique-card{
    background: var(--ff-surface-2); border: 0.5px solid var(--ff-border);
    border-radius: 14px; padding: 1.25rem 1.5rem; margin-bottom: 22px;
  }
  .ff-app .ff-tech-head{ font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ff-text-3); margin-bottom: 12px; }
  .ff-app .ff-tech-row{
    display: flex; gap: 14px; padding: 13px 0;
    border-bottom: 0.5px solid var(--ff-border); align-items: flex-start;
  }
  .ff-app .ff-tech-row:last-child{ border-bottom: none; padding-bottom: 0; }
  .ff-app .ff-tech-ic{ font-size: 19px; flex-shrink: 0; width: 26px; text-align: center; margin-top: 1px; }
  .ff-app .ff-tech-body{ flex: 1; }
  .ff-app .ff-tech-label{ font-size: 15px; font-weight: 600; color: var(--ff-text-1); margin-bottom: 4px; }
  .ff-app .ff-tech-desc{ font-size: 14px; color: var(--ff-text-2); line-height: 1.6; }

  /* ── Cache badge (admin) ── */
  .ff-app .ff-cache-badge{
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 11px; font-weight: 600; padding: 3px 8px;
    border-radius: 4px; margin-top: 8px;
  }
  .ff-app .ff-cache-hit{ background: #dcfce7; color: #166534; }
  .ff-app .ff-cache-miss{ background: #fef9c3; color: #854d0e; }

  /* ── Footer ── */
  .ff-app .ff-footer{
    font-size: 12px; color: var(--ff-text-3); text-align: center;
    padding-top: .75rem; border-top: 0.5px solid var(--ff-border); margin-top: .5rem;
  }

  /* ══════════════════════════════════════════
     Responsive — tablet (≤900px) en mobiel (≤600px)
     ══════════════════════════════════════════ */

  /* Tablet: iets compacter, layout blijft grotendeels gelijk */
  @media (max-width: 900px) {
    .ff-app .ff-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .ff-app .ff-species { grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); }
  }

  /* Mobiel: app verdicht zich tot één kolom, knoppen/tekst schalen mee */
  @media (max-width: 600px) {
    .ff-app{ padding: 1.25rem 1rem 2.5rem; }

    /* Zoekbalk: input op volle breedte, knoppen eronder naast elkaar */
    .ff-app .ff-search-bar{ flex-wrap: wrap; gap: 8px; }
    .ff-app .ff-search-wrap{ flex: 1 1 100%; order: -1; }
    .ff-app .ff-btn-gps,
    .ff-app .ff-btn-search{ flex: 1; justify-content: center; }

    /* Hero: score-kaart en info-kaart onder elkaar */
    .ff-app .ff-hero{ flex-direction: column; gap: 10px; }
    .ff-app .ff-score-card{
      flex-direction: row; min-width: unset;
      gap: 18px; padding: 1.1rem 1.25rem;
    }
    .ff-app .ff-score-ring{ width: 64px; height: 64px; margin-bottom: 0; flex-shrink: 0; }
    .ff-app .ff-score-num{ font-size: 30px; }
    .ff-app .ff-score-word{ font-size: 14px; }
    .ff-app .ff-hero-info{ padding: 1.25rem; }
    .ff-app .ff-hero-loc{ font-size: 17px; }
    .ff-app .ff-hero-meta{ font-size: 13px; }
    .ff-app .ff-hero-desc{ font-size: 14px; }

    /* Metrics: 2 kolommen blijft prettig leesbaar op smal scherm */
    .ff-app .ff-metrics{ grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
    .ff-app .ff-metric{ padding: .9rem 1rem; }
    .ff-app .ff-metric .m-val{ font-size: 22px; }
    .ff-app .ff-metric .m-ic{ font-size: 18px; margin-bottom: 6px; }

    /* Tijdsbalk: kleinere cellen zodat er meer in beeld past */
    .ff-app .ff-tcell{ flex: 0 0 52px; padding: 8px 0; }
    .ff-app .ff-tcell.best,
    .ff-app .ff-tcell.now{ padding: 13px 0; }
    .ff-app .ff-tcell-bar-wrap{ width: 28px; height: 56px; }
    .ff-app .ff-tcell-score{ font-size: 14px; }
    .ff-app .ff-tcell-time{ font-size: 11px; }

    /* Soorten: 2 kolommen op mobiel, foto's blijven goed leesbaar */
    .ff-app .ff-species{ grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
    .ff-app .ff-species-img{ height: 80px; font-size: 28px; }
    .ff-app .ff-species-body{ padding: .8rem .9rem; }
    .ff-app .ff-sn{ font-size: 14px; }
    .ff-app .ff-sa{ font-size: 11px; }
    .ff-app .ff-sa-detail{ display: none; } /* tip-tekst verbergen, te veel op klein scherm */

    /* Extra info-kaarten: onder elkaar i.p.v. naast elkaar */
    .ff-app .ff-extra-row{ grid-template-columns: 1fr; gap: 8px; }
    .ff-app .ff-info-card,
    .ff-app .ff-technique-card{ padding: 1rem 1.1rem; }

    /* Tips: iets compacter padding */
    .ff-app .ff-tip{ padding: .85rem 1rem; font-size: 14px; }

    /* Section heads iets dichter op elkaar */
    .ff-app .ff-section-head{ font-size: 15px; margin: 2rem 0 .85rem; }
  }

  /* Zeer smal (oude/kleine telefoons): nog iets verder verdichten */
  @media (max-width: 380px) {
    .ff-app{ padding: 1rem .75rem 2rem; }
    .ff-app .ff-species{ grid-template-columns: 1fr; }
    .ff-app .ff-metrics{ grid-template-columns: 1fr 1fr; gap: 6px; }
    .ff-app .ff-score-card{ padding: 1rem; gap: 14px; }
    .ff-app .ff-score-ring{ width: 56px; height: 56px; }
    .ff-app .ff-score-num{ font-size: 26px; }
  }
