/* App dei conduttori — stile «tradizione venatoria» (come il pannello) */
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 600; font-display: swap; src: url(fonts/barlow-semi-condensed-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 700; font-display: swap; src: url(fonts/barlow-semi-condensed-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url(fonts/barlow-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url(fonts/barlow-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 700; font-display: swap; src: url(fonts/barlow-latin-700-normal.woff2) format('woff2'); }
:root { --loden:#33402D; --bosco:#1F2A1B; --carta:#F4EFE3; --surface:#FFFDF7; --linea:#D8CDB4; --ink:#1C1C16; --soft:#4A473B;
  --ottone:#A8813A; --ottone2:#C9A55C; --sangue:#7E2419; --verde:#3D6B35; --serif:'Barlow Semi Condensed', 'Barlow', system-ui, sans-serif; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; scrollbar-width: none; } ::-webkit-scrollbar { width: 0; }
body { background: var(--carta); color: var(--ink); font: 17px/1.5 'Barlow', system-ui, -apple-system, sans-serif; overscroll-behavior-y: none; }
[hidden] { display: none !important; }
svg.i { width: 1.2em; height: 1.2em; fill: currentColor; vertical-align: -.25em; flex: none; }
a { color: var(--loden); }
.pad { padding: 18px 22px; } .pad-x { padding: 0 18px; } .centro { text-align: center; }
.mini { font-size: 14px; color: var(--soft); } .mini.chiaro { color: #cfc6ad; }

/* accesso */
.accesso { background: var(--loden); color: var(--carta); text-align: center; padding: calc(40px + env(safe-area-inset-top)) 24px 24px; border-bottom: 4px double var(--ottone); }
.accesso img { width: 128px; background: #fff; border-radius: 50%; padding: 3px; box-shadow: 0 0 0 3px var(--ottone); }
.accesso .t { font-family: var(--serif); font-size: 31px; font-weight: 700; margin-top: 10px; }
.accesso .s { font-family: var(--serif); font-size: 20px; opacity: .95; }
.lbl { display: block; margin: 12px 0; font-size: 14px; color: var(--soft); text-transform: uppercase; letter-spacing: .6px; }
.lbl input, .lbl select, .lbl textarea { display: block; width: 100%; margin-top: 4px; text-transform: none; letter-spacing: 0; }
input, select, textarea { font: inherit; font-size: 17px; padding: 11px; border: 1.5px solid var(--linea); border-radius: 8px; background: var(--surface); color: var(--ink); }
.note { background: #E5EBD9; border-radius: 8px; padding: 10px 12px; font-size: 16px; } .note.err { background: #F6E6E1; color: var(--sangue); }

/* intestazione e navigazione */
.top { background: var(--loden); color: var(--carta); padding: calc(10px + env(safe-area-inset-top)) 14px 9px; display: flex; align-items: center; gap: 10px; border-bottom: 4px double var(--ottone); position: sticky; top: 0; z-index: 20; }
.top img { width: 42px; height: 42px; background: #fff; border-radius: 50%; padding: 2px; box-shadow: 0 0 0 1.5px var(--ottone2); }
.top b { font-family: var(--serif); font-size: 24px; font-weight: 700; display: block; line-height: 1.1; } .top small { display: block; font-size: 14px; opacity: .95; }
.ver { margin-left: auto; font-size: 14px; color: var(--ottone2); text-align: right; }
.ver-nuovo { display: block; background: var(--ottone2); color: var(--bosco); font-weight: 700; border-radius: 3px; padding: 0 6px; margin-top: 2px; }
#ver.lampeggia { animation: lampeggio .8s ease-in-out 6; } @keyframes lampeggio { 50% { opacity: 0; } }
.avviso { background: #F0E6C7; color: #5b4410; font-size: 15px; padding: 7px 14px; border-bottom: 1px solid var(--ottone); }
main { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.nav { position: fixed; left: 0; right: 0; bottom: 0; display: flex; border-top: 1px solid var(--linea); background: var(--surface); padding-bottom: env(safe-area-inset-bottom); z-index: 20; }
.nav button { flex: 1; background: none; border: 0; font: inherit; font-size: 14px; color: var(--soft); text-transform: uppercase; letter-spacing: .3px; padding: 8px 0 9px; position: relative; cursor: pointer; }
.nav button svg.i { display: block; margin: 0 auto 2px; width: 25px; height: 25px; }
.nav button.on { color: var(--loden); font-weight: 700; } .nav button.on svg.i { color: var(--ottone); }
.pallino { position: absolute; top: 6px; left: 56%; width: 10px; height: 10px; border-radius: 50%; background: var(--sangue); border: 2px solid var(--surface); }

/* stato: medaglia */
.medaglia { display: flex; margin: 22px auto 10px; width: 240px; height: 240px; border-radius: 50%; flex-direction: column; align-items: center; justify-content: center; color: var(--carta); position: relative; border: 0; font: inherit; cursor: pointer; background: radial-gradient(circle at 50% 35%, #4f7f45, var(--verde) 70%); box-shadow: 0 4px 14px rgba(31,42,27,.25); }
.medaglia::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--ottone); box-shadow: inset 0 0 0 5px var(--carta), inset 0 0 0 6.5px var(--ottone); pointer-events: none; }
.medaglia.r { background: radial-gradient(circle at 50% 35%, #97372a, var(--sangue) 70%); } .medaglia.r .cane { opacity: .55; }
.medaglia.attesa { opacity: .6; }
.medaglia:active { transform: scale(.98); }
.medaglia .cane { width: 104px; height: 104px; fill: var(--carta); color: var(--carta); }
.medaglia .t1 { font-family: var(--serif); font-size: 28px; font-weight: 700; letter-spacing: 1.5px; margin-top: 6px; }
.medaglia .t2 { display: block; font-size: 14px; opacity: .92; margin-top: 2px; text-align: center; width: 170px; white-space: normal; line-height: 1.3; }
.fregio { display: flex; align-items: center; gap: 10px; margin: 4px 22px 10px; color: var(--ottone); }
.fregio::before, .fregio::after { content: ""; flex: 1; height: 1px; background: var(--ottone); opacity: .6; }
.btn { font: inherit; font-size: 16.5px; font-weight: 600; border-radius: 8px; padding: 12px 10px; border: 1.5px solid var(--linea); background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; text-decoration: none; }
.btn svg.i { color: var(--loden); font-size: 18px; }
.btn.mini { padding: 7px 13px; font-size: 15px; }
.btn.larga { width: 100%; padding: 14px; font-size: 17px; }
.btn.ok { background: var(--verde); border-color: var(--verde); color: var(--carta); } .btn.ok svg.i { color: var(--carta); }
.btn.no { border: 2px solid var(--sangue); color: var(--sangue); } .btn.no svg.i { color: var(--sangue); }
.btn.grande { font-family: var(--serif); font-size: 23px; font-weight: 700; letter-spacing: 1px; padding: 18px 6px; }
.btn.tratto { border-style: dashed; }
.btn:disabled { opacity: .5; }
.r2 { display: flex; gap: 8px; margin: 0 16px 8px; } .r2 .btn { flex: 1; }
.box { margin: 8px 16px; background: var(--surface); border: 1px solid var(--linea); border-radius: 8px; padding: 11px 13px; font-size: 16px; }
.box p { margin: 6px 0; }
.riga-i { display: flex; align-items: center; gap: 9px; padding: 2px 0; } .riga-i > svg.i { color: var(--ottone); font-size: 18px; }
.sw { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tog { appearance: none; -webkit-appearance: none; width: 44px; height: 26px; border-radius: 13px; background: #bdb5a0; position: relative; padding: 0; border: 0; flex: none; cursor: pointer; }
.tog::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--carta); transition: left .15s; }
.tog:checked { background: var(--verde); } .tog:checked::after { left: 21px; }
.titolo-s { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--bosco); margin-bottom: 4px; }
.riga-l { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eee5d2; font-size: 16px; }
.riga-l:last-child { border: 0; } .riga-l.tocca { cursor: pointer; }
.riga-l .st { font-size: 14px; color: var(--soft); text-align: right; }
.riga-l .st.mia { color: var(--verde); font-weight: 700; } .riga-l .st.att { color: var(--sangue); font-weight: 700; }
.tag { display: inline-block; font-size: 14px; border: 1px solid var(--ottone); color: #7a5d24; border-radius: 3px; padding: 0 5px; margin-left: 5px; text-transform: uppercase; letter-spacing: .5px; }
.vuoto { color: var(--soft); text-align: center; padding: 18px 6px; }

/* schermate intere: richiesta, incarico, freccia */
.pieno { position: fixed; inset: 0; z-index: 40; background: var(--carta); display: flex; flex-direction: column; }
.pieno .scorre { flex: 1; overflow: auto; padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
.allarme { background: var(--sangue); color: var(--carta); padding: calc(14px + env(safe-area-inset-top)) 16px 12px; text-align: center; border-bottom: 4px double var(--ottone2); }
.allarme.verde { background: var(--verde); } .allarme.grigio { background: #5f5a4c; }
.allarme .big { font-family: var(--serif); font-size: 26px; font-weight: 700; letter-spacing: 1px; } .allarme .big svg.i { color: var(--ottone2); margin-right: 6px; }
.allarme .tm { font-size: 15.5px; margin-top: 2px; }
.allarme.suona { animation: pulsa 1s ease-in-out infinite; } @keyframes pulsa { 50% { background: #a33a2b; } }
.mappa-mini { height: 190px; margin: 12px 16px 0; border-radius: 8px; border: 1px solid var(--linea); isolation: isolate; z-index: 0; position: relative; overflow: hidden; }
.pin-r { color: var(--sangue); filter: drop-shadow(0 0 1.5px #fff) drop-shadow(0 1px 2px #0007); } .pin-r svg { width: 30px; height: 30px; fill: currentColor; display: block; }
.dati { margin: 10px 16px; background: var(--surface); border: 1px solid var(--linea); border-radius: 8px; padding: 10px 13px; font-size: 16.5px; line-height: 1.65; }
.dati .r { display: flex; gap: 10px; } .dati .r b { flex: 0 0 116px; color: var(--soft); font-weight: 600; }
.acc { display: flex; gap: 10px; margin: 10px 16px; } .acc .btn { flex: 1; }
.scuro { background: var(--bosco); color: var(--carta); }
.freccia { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 20px; }
.arrow { width: 170px; height: 170px; fill: var(--ottone2); transition: transform .25s; }
.arrow.vecchia { opacity: .35; }
.dist { font-family: var(--serif); font-size: 64px; font-weight: 700; margin-top: 8px; } .dir { font-size: 17px; opacity: .9; }
.scuro .acc { margin: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }

/* finestre e avvisi */
.dlg { position: fixed; inset: 0; background: rgba(31,42,27,.55); display: none; align-items: flex-end; justify-content: center; z-index: 60; } .dlg.on { display: flex; }
.dlg-sheet { position: relative; background: var(--carta); border-radius: 14px 14px 0 0; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); width: 100%; max-width: 520px; max-height: 90vh; overflow: auto; border-top: 4px double var(--ottone); }
.dlg-x { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--linea); background: var(--surface); color: var(--loden); display: flex; align-items: center; justify-content: center; }
#dlgBody { padding-right: 36px; } #dlgBody h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 24px; color: var(--bosco); }
.dlg-az { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; } .dlg-az .btn { flex: 1 1 130px; }
.scelte { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; } .scelte .btn { flex: 1 1 40%; padding: 12px 6px; }
.toast { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--bosco); color: var(--carta); padding: 10px 16px; border-radius: 8px; z-index: 70; font-size: 16px; max-width: 90vw; border: 1px solid var(--ottone); text-align: center; }
html:has(.dlg.on), html:has(.pieno:not([hidden])) { overflow: hidden; }
body:has(#vLogin:not([hidden])) .inst { bottom: calc(12px + env(safe-area-inset-bottom)); }
.suono-bloccato { display: block; margin: 12px auto 0; font: 700 18px 'Barlow', sans-serif; background: #fff; color: var(--sangue, #7E2419); border: 3px solid #fff; border-radius: 8px; padding: 12px 18px; box-shadow: 0 2px 8px #0006; animation: inst-giu 1s ease-in-out infinite; }
.suono-bloccato[hidden] { display: none; }
@keyframes inst-giu { 50% { transform: translateY(4px); } }

.prepara ol { margin: 6px 0 10px 20px; padding: 0; } .prepara li { margin: 6px 0; line-height: 1.45; }
.prepara .ok-t { color: var(--verde, #3D6B35); }
#prepEsito:empty { display: none; } #prepEsito { margin-top: 8px; }

.medaglia.rec { background: radial-gradient(circle at 50% 35%, #c08a2e, #8a5f16 70%); }
.medaglia.rec.vecchio { animation: inst-giu 1.4s ease-in-out infinite; }
.privacy summary { cursor: pointer; } .privacy p { margin: 8px 0; line-height: 1.45; }
.segni-n { align-self: center; color: var(--soft, #4A473B); }
/* 1.7: l'invito a installare non copre mai allarme, incarico e freccia; messaggi dal picchetto */
body:has(.pieno:not([hidden])) .inst, body:has(.pieno:not([hidden])) .inst-freccia { display: none !important; }
.msg-t { font-size: 19px; line-height: 1.45; background: #FBF4E2; border-left: 4px solid var(--ottone); padding: 10px 12px; border-radius: 6px; white-space: pre-wrap; }
.msg-ric { border-left: 4px solid var(--ottone); } .msg-ric .titolo-s { margin-bottom: 4px; }
/* 1.7.1: mentre salva, la medaglia gira e non accetta altri tocchi */
.medaglia.attesa { opacity: 1; pointer-events: none; filter: saturate(.6) brightness(.92); }
.medaglia.attesa::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 4px solid transparent; border-top-color: var(--ottone2); border-right-color: var(--ottone2); animation: med-gira .9s linear infinite; pointer-events: none; }
@keyframes med-gira { to { transform: rotate(360deg); } }
/* 1.8: conferma dei turni, prova generale */
.conferme { padding: 8px 13px; } .conf + .conf { border-top: 1px dashed var(--linea); margin-top: 8px; padding-top: 8px; }
.conf .acc { margin: 8px 0 2px; padding: 0; } .conf .acc .btn { flex: 1; }
.conf.si { color: inherit; } .ok-t { color: #3D6B35; font-weight: 700; } .ok-t svg.i { width: 18px; height: 18px; vertical-align: -3px; color: #3D6B35; }
.no-t { color: var(--sangue); font-weight: 700; }
.allarme.eser { background: #8a5f16; }
.eser-t { margin: 0 0 6px; line-height: 1.45; }
/* 1.9: prima di iniziare (presa visione) */
.pv { padding: 14px 16px calc(20px + env(safe-area-inset-bottom)); } .pv-intro { font-size: 17px; line-height: 1.5; margin: 4px 0 12px; }
.pv-p { display: flex; gap: 12px; background: var(--surface); border: 1px solid var(--linea); border-radius: 8px; padding: 11px 13px; margin: 0 0 10px; line-height: 1.45; font-size: 16px; }
.pv-p svg.i { width: 26px; height: 26px; flex: none; color: var(--loden); margin-top: 2px; }
.pv-piede { flex: none; background: var(--bosco, #1F2A1B); border-top: 3px double var(--ottone); padding: 12px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 6px; box-shadow: 0 -4px 14px rgba(31,42,27,.25); }
.pv-piede .btn.ok { width: 100%; background: #4f8a43; border: 2px solid var(--ottone2); color: #fff; font-size: 24px; padding: 16px 6px; }
.pv-piede .btn.ok svg.i { color: #fff; }
.pv-no { font: inherit; font-size: 15px; background: none; border: 0; color: #d9d2bf; text-decoration: underline; padding: 8px; cursor: pointer; }
/* 1.10: risposta ai messaggi del picchetto */
.dlg-az .btn.msg-si, .dlg-az .btn.msg-no { font-size: 20px; padding: 14px 6px; }
.dlg-az .btn.msg-no { border-color: var(--sangue); color: var(--sangue); }
.dlg-az .btn.msg-testo, .dlg-az .btn.msg-letto { flex-basis: 100%; }
.dlg-az .btn.msg-letto { border: 0; background: none; text-decoration: underline; color: var(--soft); padding: 6px; }
/* 1.10.1: testo della medaglia sempre dentro il cerchio */
.medaglia { padding: 18px 28px; box-sizing: border-box; overflow: hidden; }
.medaglia .t2 { width: 176px; }
.medaglia.rec .cane { width: 88px; height: 88px; }
/* 1.12: scheda Stato più ordinata: fascia in alto con la medaglia, pillole di oggi, conferma compatta, impostazioni in elenco */
.eroe { position: relative; padding: 18px 16px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: linear-gradient(180deg, var(--loden) 0, var(--loden) 120px, var(--carta) 120px); }
.eroe::before { content: ""; position: absolute; left: 0; right: 0; top: 120px; height: 3px; background: var(--ottone); opacity: .55; }
.eroe .medaglia { margin: 0; width: 220px; height: 220px; z-index: 1; box-shadow: 0 0 0 6px var(--carta), 0 8px 22px rgba(31,42,27,.35); }
.eroe .medaglia .t1 { font-size: 29px; }
.eroe-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--linea); border-radius: 999px; padding: 6px 12px; font-size: 15px; line-height: 1.25; }
.chip svg.i { color: var(--ottone); width: 17px; height: 17px; flex: none; }
.btn.pill { border-radius: 999px; padding: 9px 18px; font-size: 16px; background: transparent; border: 1.5px solid var(--loden); color: var(--loden); }
.btn.pill svg.i { color: var(--loden); }
.btn.pill[hidden] { display: none; }
.conferme { border-left: 4px solid var(--ottone); padding: 10px 12px; }
.conferme .conf .riga-i { align-items: flex-start; } .conferme .conf .riga-i > svg.i { margin-top: 3px; }
.conferme .acc { display: flex; gap: 8px; margin: 8px 0 0; padding: 0; } .conferme .acc .btn { flex: 1; padding: 9px 8px; font-size: 15.5px; }
.conferme .conf.si { } .conferme .conf.si .acc .btn { flex: 0 1 auto; padding: 6px 14px; font-size: 14.5px; background: transparent; }
.conferme .conf.si .acc { justify-content: flex-end; margin-top: 4px; }
.lista { padding: 4px 13px 6px; } .lista .titolo-s { margin: 8px 0 2px; }
.lista .riga-l { padding: 11px 0; border-top: 1px solid var(--linea); border-bottom: 0; margin: 0 !important; } .lista .titolo-s + .riga-l { border-top: 0; }
.nota-pos { margin: 6px 22px 14px; text-align: center; }
.lista .titolo-s { font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ottone); }
.conferme .conf.si { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .conferme .conf.si .acc { margin: 0; }
.conferme .ok-t { font-weight: 700; }
.conferme .acc .btn { white-space: nowrap; }
/* 1.12: testata delle schede, schede di richieste e turni, profilo */
.testata { background: var(--loden); color: var(--carta); padding: 16px 18px 14px; border-bottom: 3px solid var(--ottone); margin-bottom: 6px; }
.testata h2 { font-family: var(--serif); font-size: 28px; font-weight: 700; margin: 0; letter-spacing: .5px; line-height: 1.1; }
.testata small { display: block; font-size: 15px; color: #d9d2bf; margin-top: 2px; }
.schede-l { padding: 0 14px; }
.sez-t { font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ottone); margin: 16px 4px 8px; }
.rcard, .tcard { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--linea); border-left: 5px solid var(--linea); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; cursor: pointer; }
.tcard { cursor: default; }
.rc-data { flex: none; width: 44px; text-align: center; line-height: 1.05; } .rc-data b { display: block; font-family: var(--serif); font-size: 26px; color: var(--bosco); } .rc-data span { font-size: 14px; color: var(--soft); text-transform: uppercase; }
.rc-t { flex: 1; min-width: 0; display: flex; flex-direction: column; } .rc-t b { font-size: 17px; } .rc-t span { font-size: 14.5px; color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-st { flex: none; font-size: 14px; font-weight: 700; border-radius: 999px; padding: 4px 10px; background: #eee6d3; color: var(--soft); max-width: 42%; text-align: center; }
.rcard.att { border-left-color: var(--sangue); background: #fbeeea; } .rcard.att .rc-st { background: var(--sangue); color: #fff; }
.rcard.mia { border-left-color: var(--ottone); } .rcard.mia .rc-st { background: var(--ottone); color: #fff; }
.rcard.ok { border-left-color: var(--verde); } .rcard.ok .rc-st { background: #e1ecdc; color: var(--verde); }
.rcard.fatta .rc-st { background: #ece4d1; color: var(--bosco); }
.rcard.grigia { opacity: .85; }
.tcard.oggi { border-left-color: var(--verde); box-shadow: 0 0 0 1.5px var(--verde) inset; } .tcard.oggi .rc-data b { color: var(--verde); }
.tc-cf { flex: none; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; } .tc-cf.ok { color: var(--verde); } .tc-cf.no { color: var(--sangue); } .tc-cf svg.i { width: 16px; height: 16px; }
.vuoto-g { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 34px 20px; color: var(--soft); }
.vuoto-g svg.i { width: 42px; height: 42px; color: var(--ottone); margin-bottom: 6px; } .vuoto-g b { font-size: 18px; color: var(--bosco); }
.centro-az { display: flex; justify-content: center; margin: 12px 16px; }
.profilo { display: flex; align-items: center; gap: 14px; }
.prof-av { flex: none; width: 54px; height: 54px; border-radius: 50%; background: var(--loden); display: grid; place-items: center; box-shadow: 0 0 0 2px var(--ottone2); }
.prof-av svg.i { width: 28px; height: 28px; color: var(--carta); }
.prof-t { display: flex; flex-direction: column; } .prof-t b { font-size: 19px; } .prof-t span { font-size: 15px; color: var(--soft); }
.centro { text-align: center; }
.rc-st { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .prof-az .btn { white-space: nowrap; }
/* 1.12.1: medaglia più armoniosa: un anello d'ottone pulito, contenuto centrato con margini uguali */
.eroe .medaglia { width: 228px; height: 228px; padding: 0; overflow: visible; gap: 0;
  border: 5px solid var(--ottone2); box-shadow: 0 0 0 4px var(--carta), 0 10px 24px rgba(31,42,27,.32); }
.eroe .medaglia::before { inset: 7px; border: 1px solid rgba(244,239,227,.55); box-shadow: none; }
.eroe .medaglia .cane { width: 74px; height: 74px; margin: 0 0 4px; }
.eroe .medaglia.rec .cane { width: 74px; height: 74px; }
.eroe .medaglia .t1 { font-size: 25px; letter-spacing: 1.5px; line-height: 1; margin: 6px 0 0; }
.eroe .medaglia .t2 { width: 150px; font-size: 14px; line-height: 1.3; margin-top: 8px; padding-top: 8px; position: relative; }
.eroe .medaglia .t2::before { content: ""; position: absolute; top: 0; left: 50%; width: 34px; margin-left: -17px; height: 1.5px; background: var(--ottone2); opacity: .9; }
.eroe .medaglia.attesa::after { inset: -14px; }
.prepara .r2 { flex-direction: column; } .prepara .r2 .btn { width: 100%; }
.scheda { max-width: 100vw; overflow-x: clip; }
.foto-sc { display: flex; gap: 8px; margin-top: 4px; } .foto-sc .btn { flex: 1 1 0; text-transform: none; letter-spacing: 0; }

/* 1.15: incidenti stradali */
.inc-tag { display: inline-block; background: #1F4E79; color: #fff; font: 700 13px var(--serif); letter-spacing: 1px; padding: 2px 8px; border-radius: 4px; vertical-align: 1px; }
.rc-t .inc-tag { font-size: 11.5px; padding: 1px 6px; margin-left: 4px; }
