/* fun-go — il meteo per i funghi.
   Sistema visivo di Esca (fondo a gradiente, card "glass", semaforo, Plex Mono per i dati),
   ricavato dal suo styles.css con UNA regola: il blu diventa verde bosco. Generato il 2026-09-21
   da esca/app/web/static/styles.css; in coda le poche aggiunte proprie di fun-go.
   Font self-hostati (static/fonts/): nessuna richiesta a terzi, come in Esca. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;   
  src: url('/static/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/static/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/static/fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/static/fonts/ibm-plex-mono-600-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/static/fonts/ibm-plex-mono-700-latin.woff2') format('woff2');
}
:root {
  --ink:#25332B; --ink2:#3C4C42; --muted:#5C6D63; --faint:#89978E; --faint2:#99A69D;
  --green:#2E6B4A; --green-strong:#1F5237; --amber:#C68A12; --red:#C0442E;
  --card:rgba(255,255,255,.55); --card-brd:rgba(255,255,255,.6);
  --sun:#FCE4CC;
  --sans:'Plus Jakarta Sans',-apple-system,BlinkMacSystemFont,sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,monospace;
  --shadow:0 10px 30px -14px rgba(24,44,32,.25);
}
* { box-sizing:border-box; }
html, body { margin:0; padding:0; }
body {
  font-family:var(--sans); color:var(--ink);
  background:linear-gradient(180deg,#FCE4CC 0%,#F4E4CB 22%,#E7E7D1 44%,#D6E5D6 70%,#C4DBC8 100%);
  background-attachment:fixed; min-height:100vh; padding:0 0 44px;
  -webkit-font-smoothing:antialiased;
  
  touch-action:manipulation;
}
.hidden { display:none !important; }
.wrap { max-width:1040px; margin:0 auto; padding:0 20px; }
.mono { font-family:var(--mono); font-variant-numeric:tabular-nums; }
.card {
  background:var(--card); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  border:1px solid var(--card-brd); border-radius:26px; box-shadow:var(--shadow);
}
.sec { padding:20px; margin-top:14px; }
.sec-head { display:flex; align-items:baseline; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-bottom:12px; }
.sec-title { font-size:17px; font-weight:800; letter-spacing:-.01em; }
.sec-hint { font-size:12.5px; font-weight:600; color:var(--muted); }
.link { font-size:12.5px; font-weight:700; color:var(--green); text-decoration:none; }
.foot { text-align:center; margin-top:24px; font-size:11.5px; line-height:1.6; color:var(--faint); font-weight:500; }
.btn { margin-top:14px; background:rgba(255,255,255,.7); border:1.5px solid var(--card-brd); border-radius:14px;
  padding:10px 16px; font-family:var(--sans); font-size:13.5px; font-weight:700; color:var(--ink); cursor:pointer; }
.topbar { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; padding-top:22px; padding-bottom:6px; }
.brand { display:flex; align-items:center; gap:9px; text-decoration:none; color:var(--ink); margin-right:auto; }
.top-loc { order:1; }
.topmenu { order:2; }
.brand-name { font-weight:800; font-size:18px; letter-spacing:-.01em; }
.top-loc:empty { display:none; }
.topmenu { display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.menu-btn { display:inline-flex; align-items:center; text-decoration:none; white-space:nowrap;
  background:rgba(255,255,255,.92); border:1px solid rgba(24,44,32,.1); color:var(--ink);
  font-size:12.5px; font-weight:700; padding:9px 16px; border-radius:999px; cursor:pointer;
  box-shadow:0 2px 8px rgba(24,44,32,.08); transition:background .15s, transform .15s, box-shadow .15s; }
.menu-btn:hover { background:#fff; transform:translateY(-1px); box-shadow:0 5px 14px -4px rgba(24,44,32,.2); }
.loc-chip { display:inline-flex; align-items:center; gap:7px; white-space:nowrap; max-width:100%;
  background:rgba(255,255,255,.92); border:1px solid rgba(24,44,32,.1); backdrop-filter:blur(10px);
  padding:9px 16px; border-radius:999px; font-size:12.5px; font-weight:700; color:var(--ink);
  box-shadow:0 2px 8px rgba(24,44,32,.08); cursor:pointer; }
.loc-chip .loc-name { overflow:hidden; text-overflow:ellipsis; }
.loc-chip .sep { width:1px; height:12px; background:rgba(37,51,43,.2); margin:0 3px; flex:none; }
.loc-chip .chg { color:var(--muted); font-weight:600; flex:none; }
.kicker { font-size:12.5px; font-weight:700; color:var(--green); letter-spacing:.08em; text-transform:uppercase; }
.search { display:flex; align-items:center; gap:11px; background:rgba(255,255,255,.7); border:1.5px solid rgba(255,255,255,.8);
  border-radius:999px; padding:11px 12px 11px 18px; margin-top:20px; box-shadow:0 2px 10px rgba(24,44,32,.06); }
.search-row { display:flex; align-items:center; gap:11px; flex:1; min-width:0; }
.search-field { display:flex; align-items:center; gap:11px; flex:1; min-width:0; }
.search input { flex:1; background:transparent; border:none; outline:none; color:var(--ink); font-family:var(--sans);
  
  font-size:16px; font-weight:500; min-width:0; }
.search-key { font-size:11px; font-weight:700; color:#fff; background:var(--ink); border:none; border-radius:999px; padding:9px 16px; flex:none; cursor:pointer; user-select:none; -webkit-tap-highlight-color:transparent; transition:background .12s, transform .12s; }
.search-key:hover { background:var(--ink2); }
.search-key:active { background:var(--ink2); transform:scale(.96); }
.search.busy .search-key { opacity:.4; }
.search-msg { font-size:12.5px; font-weight:600; color:var(--muted); min-height:16px; margin-top:7px; padding-left:4px; }
.steps { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:10px; margin-top:16px; }
.step { display:flex; gap:11px; background:rgba(255,255,255,.5); border-radius:16px; padding:13px 15px; }
.step-n { font-size:12px; font-weight:800; color:var(--green); font-family:var(--mono); }
.step-t { font-size:13.5px; font-weight:700; }
.step-d { font-size:12px; color:var(--muted); font-weight:500; margin-top:2px; line-height:1.35; }
.tech-pill { display:inline-flex; white-space:nowrap; font-size:11.5px; font-weight:700; color:var(--green);
  background:rgba(46,107,74,.12); padding:6px 13px; border-radius:999px; }
.leaflet-container { background:#D6E5D6 !important; font-family:var(--sans) !important; border-radius:16px; }
.leaflet-control-attribution { background:rgba(255,255,255,.6) !important; color:var(--muted) !important; font-size:8px !important; }
.leaflet-control-attribution a { color:var(--green) !important; }
.topbar { position:relative; z-index:20; pointer-events:none; }
.topbar .brand, .topbar .top-loc, .topbar .topmenu, .topbar .method-sel { pointer-events:auto; }
body.map-visible::before, body.has-bgmap::before {
  content:""; position:fixed; top:0; left:0; right:0; height:78px; z-index:15; pointer-events:none;
  background:linear-gradient(180deg, rgba(24,44,32,.30) 0%, rgba(24,44,32,0) 100%); }
body.map-visible .brand-name, body.has-bgmap .brand-name {
  text-shadow:0 0 6px rgba(255,255,255,.95), 0 0 14px rgba(255,255,255,.8); }
.map-overlay { position:fixed; z-index:10; top:92px; left:0; right:0; display:flex; flex-direction:column; align-items:center; gap:10px; padding:0 16px; pointer-events:none; }
.ov-search, .ov-tut, .ov-recents { pointer-events:auto; width:min(560px,100%);
  background:rgba(255,255,255,.94); border:1px solid rgba(24,44,32,.09);
  box-shadow:0 16px 38px -16px rgba(24,44,32,.45); }
.ov-search { padding:14px 18px 13px; }
.ov-search .kicker { display:block; }
.ov-title { font-size:20px; font-weight:800; letter-spacing:-.02em; margin:3px 0 0; }
.ov-search .search { margin-top:11px; background:rgba(24,44,32,.05); border:1px solid rgba(24,44,32,.13); box-shadow:none; }
.ov-search .search:focus-within { border-color:rgba(46,107,74,.5); background:rgba(46,107,74,.05); }
.ov-tut { position:relative; padding:15px 40px 16px 18px; max-height:calc(100vh - 230px); overflow-y:auto; }
.ov-tut .kicker { display:block; margin-bottom:10px; }
.ov-tut .steps { margin-top:0; grid-template-columns:1fr; }
.tut-close { position:absolute; top:11px; right:11px; width:28px; height:28px; display:grid; place-items:center; border:none;
  border-radius:50%; background:rgba(37,51,43,.06); color:var(--muted); cursor:pointer; transition:background .15s, color .15s; }
.tut-close:hover { background:rgba(37,51,43,.12); color:var(--ink); }
.tut-close svg { width:13px; height:13px; }
.map-hint { position:fixed; z-index:30; left:50%; bottom:56px; transform:translateX(-50%); pointer-events:none; max-width:calc(100% - 32px); transition:opacity .18s ease; }
body.pannello-aperto .map-hint { opacity:0; }
.map-hint span { display:inline-block; background:rgba(255,255,255,.9); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  color:var(--muted); font-size:12px; font-weight:600; padding:8px 14px; border-radius:16px; border:1px solid rgba(24,44,32,.06);
  box-shadow:0 6px 18px -6px rgba(24,44,32,.28); white-space:nowrap; }
/* Mirino: dice che la mappa è cliccabile, cosa che il solo cursore a freccia non comunica.
   Solo per chi ha un mouse vero (hover:hover): sul telefono il dito è già il puntatore e
   un'etichetta appiccicata al tocco darebbe solo fastidio. */
@media (hover:hover) and (pointer:fine) {
  #homeMapFull.mirino-attivo { cursor:none; }
  .mirino { position:fixed; z-index:29; pointer-events:none; transform:translate(-50%,-50%);
    opacity:0; transition:opacity .12s; }
  .mirino.si { opacity:1; }
  .mirino-croce { position:absolute; left:50%; top:50%; width:34px; height:34px;
    transform:translate(-50%,-50%); }
  .mirino-croce::before, .mirino-croce::after { content:""; position:absolute; background:var(--green-strong);
    box-shadow:0 0 0 1px rgba(255,255,255,.75); }
  .mirino-croce::before { left:50%; top:0; width:1.5px; height:100%; transform:translateX(-50%); }
  .mirino-croce::after { top:50%; left:0; height:1.5px; width:100%; transform:translateY(-50%); }
  .mirino-anello { position:absolute; left:50%; top:50%; width:15px; height:15px; border-radius:50%;
    transform:translate(-50%,-50%); border:1.5px solid var(--green-strong);
    box-shadow:0 0 0 1px rgba(255,255,255,.75); background:rgba(255,255,255,.12); }
  .mirino-testo { position:absolute; left:26px; top:14px; white-space:nowrap;
    background:rgba(255,255,255,.92); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
    color:var(--ink); font-size:11.5px; font-weight:700; padding:5px 10px; border-radius:14px;
    border:1px solid rgba(24,44,32,.06); box-shadow:0 6px 18px -8px rgba(24,44,32,.4); }
}
@media (prefers-reduced-motion: reduce) {
  .tut-body, .tut-toggle .chev { transition:none; }
  .mirino { transition:none; }
}
@media (max-width:560px) {
  .map-hint span { white-space:normal; text-align:center; }
}
.an-hero { padding:22px 24px; margin-top:14px; }
.an-hero-head { display:flex; align-items:center; justify-content:space-between; gap:10px 12px; flex-wrap:wrap; margin-bottom:16px; }
.an-hero-head .t { font-size:17px; font-weight:800; letter-spacing:-.01em; flex:1 1 auto; min-width:0; }
.badge-best { display:flex; align-items:center; gap:6px; background:rgba(31,82,55,.16); padding:6px 12px; border-radius:16px;
  font-size:12px; font-weight:700; color:var(--green-strong); white-space:nowrap; }
.badge-rank { background:rgba(37,51,43,.07); padding:6px 12px; border-radius:16px; font-size:12px; font-weight:700; color:var(--muted); white-space:nowrap; }
.badge-stagione { display:flex; align-items:center; gap:5px; padding:6px 12px; border-radius:16px;
  font-size:12px; font-weight:700; white-space:nowrap; }
.badge-stagione.on  { background:rgba(46,140,90,.14);  color:#256B47; }
.badge-stagione.off { background:rgba(190,120,20,.14); color:#8A5A0F; }
@keyframes refpulse { 0%,100% { opacity:.35; transform:scale(.8); } 50% { opacity:1; transform:scale(1.15); } }
.an-hero-row { display:flex; align-items:center; gap:26px; flex-wrap:wrap; }
.score-box { display:flex; align-items:flex-start; gap:6px; border-radius:22px; padding:12px 22px 14px; }
.score-box .n { font-family:var(--mono); font-size:72px; font-weight:600; line-height:.82; letter-spacing:-.03em; color:var(--ink); }
.score-box .d { font-family:var(--mono); font-size:16px; font-weight:500; color:var(--faint); margin-top:7px; }
.verdict { flex:1; min-width:240px; }
.verdict .vt { font-size:23px; font-weight:800; letter-spacing:-.01em; }
.verdict .vw { font-size:14.5px; font-weight:700; color:var(--ink2); margin-top:3px; }
.verdict .vw b { color:var(--green); font-weight:700; }
.verdict .vd { font-size:14px; line-height:1.5; color:var(--muted); font-weight:500; margin-top:9px; }
.spstrip { display:flex; gap:7px; overflow-x:auto; overscroll-behavior-x:contain; max-width:100%; margin-top:18px; padding-bottom:2px; }
.spstrip::-webkit-scrollbar { height:0; }
.spchip { flex:none; cursor:pointer; display:flex; align-items:center; gap:8px; padding:8px 13px; border-radius:15px;
  background:rgba(255,255,255,.4); border:1.5px solid rgba(255,255,255,.55); transition:all .15s; }
.spchip.sel { background:rgba(255,255,255,.9); border-color:var(--green); }
.spchip .cdot { width:8px; height:8px; border-radius:50%; flex:none; }
.spchip .cname { font-size:13px; font-weight:700; color:var(--muted); white-space:nowrap; }
.spchip.sel .cname { color:var(--ink); }
.spchip .cscore { font-family:var(--mono); font-size:13.5px; font-weight:700; color:var(--ink); }
.day-sel { display:flex; gap:6px; overflow-x:auto; overscroll-behavior-x:contain; max-width:100%; scroll-snap-type:x proximity; margin-bottom:18px; }
.day-sel::-webkit-scrollbar { height:0; }
.day-chip { flex:0 0 auto; min-width:60px; scroll-snap-align:start; cursor:pointer; border-radius:15px; padding:11px 8px 10px; text-align:center;
  background:rgba(255,255,255,.35); border:1.5px solid rgba(255,255,255,.5); transition:all .15s; }
@media (min-width:600px) {
  .day-sel { display:grid; grid-template-columns:repeat(7,1fr); overflow:visible; }
  .day-chip { min-width:0; padding-left:4px; padding-right:4px; }
}
.day-chip.sel { background:rgba(255,255,255,.85); border-color:var(--green); }
.day-chip .star { font-size:12px; font-weight:700; height:14px; }
.day-chip .dn { font-size:12.5px; font-weight:600; margin-top:1px; }
.day-chip .dp { display:inline-block; border-radius:9px; padding:2px 9px; margin-top:5px; }
.day-chip .dp span { font-family:var(--mono); font-size:19px; font-weight:700; color:var(--ink); letter-spacing:-.02em; }
.chart-wrap { position:relative; }
#chartHit { position:relative; touch-action:none; cursor:crosshair; }
.chart-tip { position:absolute; top:0; transform:translateX(-50%); background:var(--ink); color:#fff; padding:5px 11px;
  border-radius:12px; font-size:12.5px; font-weight:800; white-space:nowrap; pointer-events:none;
  box-shadow:0 6px 16px rgba(24,44,32,.28); z-index:5; }
.legend { display:flex; gap:16px; flex-wrap:wrap; padding:6px 4px 0 44px; }
.legend span { display:flex; align-items:center; gap:6px; font-size:11.5px; font-weight:600; color:var(--muted); }
.legend .lb { display:inline-block; }
.day-windows { margin-top:16px; display:flex; flex-direction:column; gap:8px; }
.win { display:flex; align-items:center; gap:10px 14px; flex-wrap:wrap; background:rgba(255,255,255,.5); border-radius:15px; padding:12px 15px; }
.win-score { border-radius:11px; min-width:46px; height:44px; display:flex; align-items:center; justify-content:center; flex:none; }
.win-score span { font-family:var(--mono); font-size:21px; font-weight:700; color:var(--ink); letter-spacing:-.02em; }
.win-body { flex:1 1 55%; min-width:0; }
.win-time { font-size:14.5px; font-weight:700; }
.win-cond { font-size:12.5px; color:var(--muted); font-weight:500; margin-top:1px; }
.win-note { font-size:12.5px; color:var(--muted); font-weight:600; background:rgba(255,255,255,.5); border-radius:12px; padding:9px 13px; }
.win-note b { color:var(--ink); }
.cond-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:9px; }
.cond { background:rgba(255,255,255,.6); border-radius:15px; padding:12px 13px; display:flex; flex-direction:column; justify-content:center; min-height:64px; }
.cond .k { font-size:11px; color:var(--muted); font-weight:600; line-height:1.2; }
.cond .v { font-family:var(--mono); font-size:18px; font-weight:600; letter-spacing:-.02em; margin-top:5px; line-height:1; white-space:nowrap; }
.cond .v .u { font-size:10px; font-weight:500; color:var(--faint); }
.brk { display:flex; flex-direction:column; gap:12px; }
.brk-row .rl { display:flex; justify-content:space-between; font-size:12.5px; margin-bottom:5px; }
.brk-row .rl .bk { color:var(--ink2); font-weight:600; }
.brk-row .rl .bv { font-family:var(--mono); font-weight:600; color:var(--ink); }
.brk-track { height:6px; background:rgba(37,51,43,.08); border-radius:4px; overflow:hidden; }
.brk-fill { height:100%; border-radius:4px; }
.brk-head { align-items:flex-start; }
.brk-head .head-left { flex:1; min-width:0; }
.brk-head .sec-title { display:block; }
.sp-tag { display:inline-flex; align-items:center; margin-top:8px; background:rgba(255,255,255,.6);
  border:1px solid var(--card-brd); border-radius:999px; padding:4px 11px; font-size:12px; font-weight:700; color:var(--ink2); }
.sp-tag .sp-dot { width:7px; height:7px; border-radius:50%; background:var(--green); margin-right:7px; flex:none; }
.score-badge { flex:none; font-family:var(--mono); font-size:16px; font-weight:700; letter-spacing:-.01em;
  border-radius:11px; padding:2px 11px; line-height:1.35; }
.brk-lead { font-size:13.5px; line-height:1.5; color:var(--muted); font-weight:500; margin:2px 0 4px; }
.brk-lead b { color:var(--ink); font-weight:700; }
.brk-grp { margin-top:18px; padding-top:16px; border-top:1px solid rgba(37,51,43,.09); }
.brk-grp.first { margin-top:16px; }
.brk-grp-h { font-size:11.5px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; color:var(--faint); margin-bottom:14px; }
.fit + .fit { margin-top:15px; }
.fit-h { display:flex; justify-content:space-between; font-size:12.5px; margin-bottom:9px; }
.fit-h .fk { font-weight:600; color:var(--ink2); }
.fit-h .fv { font-family:var(--mono); font-weight:600; color:var(--ink); }
.fit-axis { position:relative; height:20px; }
.fit-track { position:absolute; top:50%; left:0; right:0; height:6px; transform:translateY(-50%); background:rgba(37,51,43,.09); border-radius:4px; }
.fit-band { position:absolute; top:50%; height:6px; transform:translateY(-50%); border-radius:4px; background:rgba(31,82,55,.24); }
.fit-gap { position:absolute; top:50%; height:0; transform:translateY(-50%); border-top:2px dotted rgba(37,51,43,.30); z-index:1; }
.fit-ideal { position:absolute; top:50%; z-index:2; width:2.5px; height:17px; border-radius:2px; background:var(--ink2); transform:translate(-50%,-50%); }
.fit-dot { position:absolute; top:50%; z-index:3; width:13px; height:13px; border-radius:50%; border:2.5px solid #fff; transform:translate(-50%,-50%); box-shadow:0 1px 4px rgba(24,44,32,.35); }
.fit-poles { display:flex; justify-content:space-between; margin-top:4px; }
.fit-poles span { font-size:11px; font-weight:600; color:var(--muted); }
.fit-legend { display:flex; gap:16px; margin-top:15px; flex-wrap:wrap; }
.fit-legend span { display:flex; align-items:center; gap:6px; font-size:11px; font-weight:600; color:var(--muted); }
.fit-legend .lg-band { width:15px; height:6px; border-radius:3px; background:rgba(31,82,55,.24); flex:none; }
.fit-legend .lg-tick { width:2.5px; height:12px; border-radius:2px; background:var(--ink2); flex:none; }
.fit-legend .lg-dot { width:9px; height:9px; border-radius:50%; border:1.5px solid #fff; box-shadow:0 0 0 1px rgba(24,44,32,.18); flex:none; background:var(--green); }
.mods { margin-top:12px; display:flex; flex-direction:column; gap:1px; }
.mods-row { display:flex; justify-content:space-between; align-items:baseline; gap:14px; padding:7px 2px; }
.mods-row + .mods-row { border-top:1px solid rgba(37,51,43,.06); }
.mods-row .mf { font-size:12.5px; font-weight:600; color:var(--muted); }
.mods-row .mj { font-size:12.5px; font-weight:700; color:var(--ink2); margin-left:8px; }
.mods-row .mval { font-size:11.5px; font-weight:500; color:var(--faint); white-space:nowrap; }
#anBody { max-width:640px; margin-left:auto; margin-right:auto; overflow-x:clip; }
.an-cols { display:flex; flex-direction:column; gap:14px; margin-top:14px; }
.an-col { display:flex; flex-direction:column; gap:14px; min-width:0; }
.an-col:empty { display:none; }
.an-cols .sec { margin-top:0; }
@media (min-width:900px) {
  #anBody { max-width:1000px; }
  .an-cols { flex-direction:row; align-items:stretch; gap:16px; }
  .an-col { flex:1 1 0; gap:16px; }
  .an-col:empty { display:flex; }
  .cell-card { flex:1 1 auto; }
  .prey-list { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
}
.sc-grp { margin-top:16px; }
.sc-grp-h { font-size:11.5px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; color:var(--faint); margin-bottom:9px; }
.sc-bio { font-size:13px; line-height:1.5; color:var(--muted); font-weight:500; }
.sc-bio b { color:var(--ink2); font-weight:700; }
.sc-chips { display:flex; gap:7px; flex-wrap:wrap; }
.sc-chip { font-size:11.5px; font-weight:700; color:var(--ink2); background:rgba(255,255,255,.6); border:1px solid var(--card-brd); border-radius:999px; padding:5px 12px; }
.sc-note { font-size:11px; line-height:1.45; color:var(--faint); font-weight:500; margin-top:10px; }
.sc-warn { font-size:12.5px; line-height:1.45; font-weight:600; color:#8A4B12;
  background:rgba(201,143,20,.12); border:1px solid rgba(201,143,20,.34);
  border-radius:12px; padding:10px 12px; margin-top:12px; }
.sc-metrics { display:grid; grid-template-columns:repeat(auto-fit,minmax(148px,1fr)); gap:9px; }
.sc-metric { background:rgba(255,255,255,.55); border:1px solid var(--card-brd); border-radius:12px; padding:9px 11px; min-width:0; }
.sc-metric-k { font-size:10.5px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--faint); }
.sc-metric-v { font-family:var(--mono); font-size:14px; font-weight:700; color:var(--ink2); margin-top:4px; }
.sc-metric-v b { color:var(--green-strong); }
.sc-metric-v .u { font-size:10.5px; font-weight:600; color:var(--faint); margin-left:2px; }
.sc-metric-v .na { font-family:var(--sans,inherit); font-size:12px; font-weight:600; color:var(--muted); }
.sc-metric-v .iucn-alert { color:#B0552A; }
.sc-metric-h { font-size:10px; line-height:1.35; color:var(--faint); font-weight:500; margin-top:4px; }
.prey-chev { flex:none; color:var(--faint2); }
.prey { cursor:pointer; border:1.5px solid rgba(255,255,255,.55); background:rgba(255,255,255,.6); border-radius:16px; padding:12px 14px; transition:all .15s; }
.prey.sel { background:rgba(46,107,74,.09); border-color:var(--green); }
.prey-top { display:flex; align-items:center; gap:12px; }
.prey-badge { border-radius:14px; min-width:48px; height:48px; display:flex; align-items:center; justify-content:center; flex:none; }
.prey-badge span { font-family:var(--mono); font-size:22px; font-weight:700; color:var(--ink); letter-spacing:-.02em; line-height:1; }
.prey-main { flex:1 1 auto; min-width:0; }
.prey-name { font-size:15.5px; font-weight:800; letter-spacing:-.01em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.prey-latin { font-size:11.5px; color:var(--faint); font-style:italic; margin-top:1px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.prey-list { display:flex; flex-direction:column; gap:8px; }
.prey-bar { height:5px; background:rgba(37,51,43,.08); border-radius:3px; overflow:hidden; margin-top:10px; }
.prey-bar > span { display:block; height:100%; border-radius:3px; }
.cell-card { display:flex; flex-direction:column; }
.cell-map { flex:1; min-height:260px; max-height:1000px; border-radius:16px; overflow:hidden; }
.cell-meta { display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
.cell-meta .m { font-size:12px; font-weight:600; color:var(--ink2); background:rgba(255,255,255,.6); padding:6px 11px; border-radius:13px; }
.cell-meta .m.mono { font-family:var(--mono); font-size:11px; font-weight:500; }
.land-title { font-size:22px; font-weight:800; letter-spacing:-.01em; }
.land-sub { font-size:14px; color:var(--muted); font-weight:500; margin-top:6px; line-height:1.5; }
.sk { display:block; background:linear-gradient(90deg,rgba(255,255,255,.35),rgba(255,255,255,.6),rgba(255,255,255,.35));
  background-size:200% 100%; animation:sh 1.3s ease-in-out infinite; border-radius:12px; }
@keyframes sh { 0%{background-position:200% 0;} 100%{background-position:-200% 0;} }
.sk-row { display:flex; justify-content:space-between; gap:10px; margin-bottom:14px; }
.sk-title { width:180px; height:20px; }
.sk-hint { width:90px; height:16px; }
.sk-big { width:100%; height:96px; margin-bottom:14px; }
.sk-chips { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-bottom:14px; }
.sk-chip { height:44px; }
.sk-chart { width:100%; height:200px; }
.sk-note { display:flex; align-items:center; gap:8px; font-size:13px; color:var(--muted); font-weight:600; margin-top:12px; }
.spin { width:14px; height:14px; border:2px solid rgba(37,51,43,.2); border-top-color:var(--green); border-radius:50%; display:inline-block; animation:sp .8s linear infinite; }
@keyframes sp { to { transform:rotate(360deg); } }
@media (max-width:560px) {
  .score-box .n { font-size:60px; }
  .cond-grid { grid-template-columns:repeat(2,1fr); }
  .topbar { padding-top:16px; }
  .menu-btn { padding:8px 13px; font-size:12px; }
  .topmenu { order:1; }
  .top-loc { order:2; flex:1 1 100%; }
  .top-loc .loc-chip { width:100%; }
  .map-overlay { top:78px; }
  .prey-top { gap:10px; }
  .prey-badge { min-width:42px; height:42px; }
  .prey-badge span { font-size:19px; }
  .prey-name { font-size:15px; }
}
.method-sel {
  flex:none; appearance:none; -webkit-appearance:none;
  background:rgba(46,107,74,.10); border:1px solid rgba(46,107,74,.22);
  color:var(--green-strong); font-family:var(--sans); font-size:12px; font-weight:700;
  border-radius:999px; padding:9px 26px 9px 14px; cursor:pointer; line-height:1.1;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231F5237' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 12px center; background-size:9px;
}
.method-sel:focus { outline:none; border-color:var(--green); }
.method-sel-top { order:0; }
.search .method-sel { max-width:170px; }
@media (max-width:599px) {
  .search { --pill-h:44px; background:none; border:none; box-shadow:none; padding:0;
    flex-direction:column; align-items:stretch; gap:8px; }
  .ov-search .search { background:none; border:none; box-shadow:none; padding:0; }
  .search .method-sel { width:100%; max-width:none; height:var(--pill-h); }
  .search-row { flex:none; gap:8px; }
  .search-field { flex:1; height:var(--pill-h); padding:0 14px 0 16px; border-radius:999px;
    background:rgba(255,255,255,.7); border:1.5px solid rgba(255,255,255,.8);
    box-shadow:0 2px 10px rgba(24,44,32,.06); }
  .search-key { height:var(--pill-h); display:flex; align-items:center; padding:0 18px; }
  .ov-search .search-field { background:rgba(24,44,32,.05); border:1px solid rgba(24,44,32,.13); box-shadow:none; }
  .ov-search .search-field:focus-within { border-color:rgba(46,107,74,.5); background:rgba(46,107,74,.05); }
}

/* ======================= aggiunte fun-go ======================= */
/* marchio: un cappello e un gambo, nello stesso quadrato scuro del logo di Esca */
.logo { width:28px; height:28px; border-radius:9px; background:var(--ink); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:0; }
.logo .cap { width:15px; height:8px; border-radius:9px 9px 2px 2px; background:var(--sun); }
.logo .stem { width:5px; height:6px; border-radius:0 0 2px 2px; background:var(--sun); opacity:.85; }

.menu-btn { font-family:var(--sans); }
.menu-btn.on { background:var(--ink); color:#fff; border-color:var(--ink); }

/* mappa piena della home (in Esca: .home-map-full) */
.home-map-full { position:fixed; inset:0; z-index:1; border-radius:0 !important; }
.home-map-full.leaflet-container { border-radius:0 !important; }
.leaflet-top.leaflet-right { top:84px; right:6px; }

/* indice dell'area: il calendario del mese che guida la mappa */
.ov-days-wrap { position:fixed; z-index:10; left:0; right:0; bottom:16px; display:flex; flex-direction:column; align-items:center; gap:10px; padding:0 16px; pointer-events:none; }
.ov-days-wrap .map-hint { position:static; transform:none; max-width:100%; }
.ov-days { pointer-events:auto; width:min(980px,100%); padding:14px 18px 14px;
  background:rgba(255,255,255,.94); border:1px solid rgba(24,44,32,.09); box-shadow:0 16px 38px -16px rgba(24,44,32,.45); }
.ov-days .sec-head { margin-bottom:10px; }
.day-sel.strip { display:flex !important; overflow-x:auto !important; margin-bottom:0; padding-bottom:2px; }
.day-sel.strip .day-chip { flex:0 0 auto; min-width:54px; padding:8px 6px 8px; background:rgba(24,44,32,.035); border-color:rgba(24,44,32,.06); }
.day-sel.strip .day-chip.sel { background:#fff; border-color:var(--green); }
.day-chip.past { opacity:.55; }
.day-chip.today .dn { color:var(--ink) !important; font-weight:800; }
.day-chip .dm { font-size:10px; font-weight:600; color:var(--faint); height:12px; }
.ov-legenda { position:fixed; z-index:10; right:16px; top:92px; width:220px; padding:13px 15px;
  background:rgba(255,255,255,.94); border:1px solid rgba(24,44,32,.09); box-shadow:0 16px 38px -16px rgba(24,44,32,.45); border-radius:18px; }
.ov-legenda .kicker { display:block; margin-bottom:8px; }
.ov-legenda .lg { display:flex; align-items:center; gap:8px; font-size:12px; font-weight:600; color:var(--ink2); margin:4px 0; }
.ov-legenda .lg i { width:11px; height:11px; border-radius:3px; flex:none; }
.ov-legenda p { margin:9px 0 0; font-size:11px; line-height:1.4; color:var(--muted); font-weight:500; }

/* calendario del mese nell'analisi: griglia a settimane, lunedì a sinistra */
.cal { display:grid; grid-template-columns:repeat(7,1fr); gap:6px; margin-bottom:18px; }
.cal-h { font-size:10.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--faint); text-align:center; padding-bottom:2px; }
.cal .day-chip { min-width:0; padding:7px 2px 8px; }
.cal .day-chip .dp span { font-size:17px; }
.cal .vuoto { visibility:hidden; }

/* riga "bosco" della scheda: barra di composizione degli alberi */
.alb-bar { display:flex; height:10px; border-radius:6px; overflow:hidden; background:rgba(37,51,43,.08); }
.alb-bar i { display:block; height:100%; }
.alb-leg { display:flex; gap:6px 14px; flex-wrap:wrap; margin-top:9px; }
.alb-leg span { display:flex; align-items:center; gap:6px; font-size:11.5px; font-weight:600; color:var(--ink2); }
.alb-leg i { width:9px; height:9px; border-radius:3px; flex:none; }
.sc-warn b { color:#7A3E0C; }
.leaflet-image-layer.calore { image-rendering:auto; }

@media (max-width:560px) {
  .ov-days { padding:12px 12px 12px; border-radius:20px; }
  .ov-legenda { top:auto; bottom:150px; right:12px; }
  .cal { gap:4px; }
  .cal .day-chip .dp { padding:1px 5px; }
  .cal .day-chip .dp span { font-size:15px; }
}
