:root{--oc-accent:#e0313f;--oc-accent-dark:#1565c0;--oc-accent-soft:#e3f2fd;--oc-bg:#ffffff;--oc-bar:#f5f5f5;--oc-line:#e0e0e0;--oc-line-soft:#eeeeee;--oc-text:#212121;--oc-text-2:#616161;--oc-text-3:#9e9e9e;--oc-radius:14px}
*{box-sizing:border-box}
html,body{margin:0}
body.eav{background:#eef3f8;color:#212121;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;-webkit-font-smoothing:antialiased}
.eav-top{background:#10233f;color:#fff;padding:calc(14px + env(safe-area-inset-top)) 16px 14px}
.eav-brand{display:flex;align-items:center;gap:12px;max-width:760px;margin:0 auto}
.eav-brand img{border-radius:10px;background:#fff}
.eav-brand small{display:block;font-size:11px;letter-spacing:.14em;color:#9fd0ff;font-weight:800}
.eav-brand h1{margin:2px 0 0;font-size:22px;font-weight:700}
.eav-tabs{position:sticky;top:0;z-index:5;display:flex;gap:6px;overflow-x:auto;padding:10px 12px;background:#10233f;justify-content:center}
.eav-tabs button{flex:1 1 0;max-width:240px;min-height:44px;padding:8px 10px;border:0;border-radius:999px;background:#1d4d78;color:#dbeaf7;font:inherit;font-size:14px;font-weight:700;white-space:nowrap;cursor:pointer}
.eav-tabs button.on{background:#fff;color:#10233f}
main{max-width:760px;margin:0 auto;padding:12px 12px 24px}
html body.eav dialog#trainLive.eav-panel{position:static;display:block;width:100%;max-width:none;max-height:none;margin:0;padding:0;border:0!important;box-shadow:none!important;background:transparent!important;overflow:visible}
html body.eav #trainLive>section{background:#fff;border-radius:16px;padding:16px;margin:0 0 12px;box-shadow:0 1px 2px #0000000f,0 4px 14px #0000000d}
html body.eav #trainLive .train-dialog-actions{text-align:center;margin:6px 0 0}
html body.eav #trainLive .train-dialog-actions a{display:inline-block;padding:10px 16px;border-radius:12px;background:#fff;color:#1565c0;text-decoration:none;font-weight:700;font-size:14px;min-height:0}
html body.eav #trainLive input,html body.eav #trainLive select{width:100%;min-height:44px;padding:8px 12px;border:1px solid #cfd8e3;border-radius:10px;font:inherit;font-size:16px;background:#fff;color:#212121}
html body.eav #trainLive button{font:inherit;cursor:pointer}
html body.eav #trainLive .train-find-form button{min-height:44px;border:0;border-radius:10px;background:#e0313f;color:#fff;font-weight:700;font-size:16px}
html body.eav #trainLive p{font-size:14px;line-height:1.45;margin:6px 0;font-weight:400}
html body.eav #trainLive h3{font-size:18px;margin:0 0 8px}
.eav-note{font-size:12px;color:#607080;text-align:center;margin:10px 8px}
.dev-credit{margin:18px auto 8px}
html body.eav header.eav-top{background:#10233f!important;color:#fff!important;border:0!important;box-shadow:none!important;position:static!important}
html body.eav header.eav-top h1{color:#fff!important}
html body.eav main{background:transparent!important}
html body.eav{background:#eef3f8!important}
/* accesso con codice */
body.eav-locked #tabs,body.eav-locked main{display:none!important}
.eav-gate{display:flex;justify-content:center;padding:28px 16px 40px}
.eav-gate[hidden]{display:none}
.eav-gate-box{width:100%;max-width:380px;background:#fff;border-radius:18px;padding:24px 20px;text-align:center;box-shadow:0 4px 18px #0000001a}
.eav-gate-box img{border-radius:14px}
.eav-gate-box h2{margin:10px 0 6px;font-size:22px;color:#10233f}
.eav-gate-box p{margin:6px 0 14px;font-size:15px;line-height:1.4;color:#455a64}
.eav-gate-box p.err{color:#c62828;font-weight:700}
.eav-gate-box form{display:grid;gap:10px}
.eav-gate-box input{min-height:52px;border:1px solid #cfd8e3;border-radius:12px;font:inherit;font-size:22px;letter-spacing:.12em;text-align:center;text-transform:uppercase}
.eav-gate-box button{min-height:50px;border:0;border-radius:12px;background:#e0313f;color:#fff;font:inherit;font-size:17px;font-weight:700}
.eav-gate-box button:disabled{opacity:.6}
.eav-gate-small{font-size:12px!important;color:#78909c!important}
.eav-help{display:flex;align-items:center;gap:12px;max-width:380px;margin:16px auto 4px;padding:12px 16px;border-radius:14px;background:#25d366;color:#fff!important;text-decoration:none;text-align:left;box-shadow:0 2px 8px #25d36640}
.eav-help[hidden]{display:none}
.eav-help-ico{font-size:26px;line-height:1}
.eav-help b{display:block;font-size:16px}
.eav-help small{display:block;font-size:12px;opacity:.92}
/* pulsanti in alto: Installa · Aggiorna · Bug */
.eav-brand{flex-wrap:nowrap}
.eav-actions{margin-left:auto;display:flex;gap:6px}
.eav-act{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:52px;min-height:48px;padding:4px 6px;border:0;border-radius:12px;background:#1d4d78;color:#fff;font:inherit;cursor:pointer}
.eav-act[hidden]{display:none}
.eav-act:disabled{opacity:.6}
.eav-act-ico{font-size:18px;line-height:1}
.eav-act small{font-size:10px;font-weight:700;letter-spacing:.02em;color:#dbeaf7}
@media (max-width:420px){.eav-brand h1{font-size:18px}.eav-brand img{width:34px;height:34px}.eav-act{min-width:46px}}
dialog.eav-bug{width:min(420px,calc(100vw - 32px));border:0;border-radius:18px;padding:18px;box-shadow:0 10px 40px #0005;color:#212121}
dialog.eav-bug::backdrop{background:#0008}
dialog.eav-bug h3{margin:0 0 6px;font-size:19px;color:#10233f}
dialog.eav-bug p{font-size:14px;line-height:1.45;color:#455a64;margin:6px 0 10px}
dialog.eav-bug img{display:block;width:100%;max-height:42vh;object-fit:contain;border:1px solid #dde3ea;border-radius:10px;background:#eef3f8}
dialog.eav-bug img[hidden]{display:none}
dialog.eav-bug textarea{width:100%;margin-top:10px;padding:10px;border:1px solid #cfd8e3;border-radius:10px;font:inherit;font-size:16px;resize:vertical}
dialog.eav-bug button{min-height:46px;border:0;border-radius:12px;padding:0 16px;font:inherit;font-weight:700;font-size:15px;background:#e0313f;color:#fff;cursor:pointer}
.eav-bug-row{display:flex;gap:8px;margin-top:10px}.eav-bug-row .eav-bug-send{flex:1;background:#1565c0}.eav-bug-row .eav-bug-cancel{background:#eceff1;color:#37474f}
.eav-bug-status{font-weight:700;color:#2e7d32!important}
.eav-toast{position:fixed;left:50%;bottom:calc(20px + env(safe-area-inset-bottom));transform:translateX(-50%);background:#10233f;color:#fff;padding:12px 18px;border-radius:12px;font-size:14px;font-weight:600;z-index:50;box-shadow:0 6px 20px #0004;max-width:calc(100vw - 32px)}
html body.eav .eav-act{background:#1d4d78!important;color:#fff!important;border:0!important}
html body.eav .eav-act small{color:#e3f0fb!important;opacity:1!important}
html body.eav dialog.eav-bug .eav-bug-send{background:#1565c0!important;color:#fff!important}
html body.eav dialog.eav-bug .eav-bug-cancel{background:#eceff1!important;color:#37474f!important}
/* Partenze: stazioni preferite */
.train-board-head{display:flex;align-items:center;gap:8px}.train-board-head h3{flex:1;min-width:0}
html body.eav #trainLive .train-board-star{flex:none!important;width:44px!important;height:44px!important;border:1px solid #cfd8e3!important;border-radius:50%!important;background:#fff!important;color:#90a4ae!important;font-size:24px!important;line-height:1!important;padding:0!important}
html body.eav #trainLive .train-board-star.on{color:#f9a825!important;border-color:#f9a825!important;background:#fff8e1!important}
.train-board-favs{display:flex;gap:6px;overflow-x:auto;padding:2px 0 8px;scrollbar-width:none}
.train-board-favs::-webkit-scrollbar{display:none}
html body.eav #trainLive .train-board-fav{flex:none!important;min-height:36px!important;padding:6px 12px!important;border:1px solid #ffe082!important;border-radius:999px!important;background:#fffdf5!important;color:#5d4037!important;font-size:13px!important;font-weight:700!important;white-space:nowrap!important}
html body.eav #trainLive .train-board-fav.on{background:#f9a825!important;border-color:#f9a825!important;color:#fff!important}
.train-board-favs-hint{color:#78909c;font-size:12px}

/* Stazioni preferite: griglia a tessere */
html body #trainLive .train-board-favs{display:block!important;overflow:visible!important;padding:0 0 10px!important}
html body #trainLive .tbf-top{display:flex;align-items:center;justify-content:space-between;margin:2px 0 8px}
html body #trainLive .tbf-title{font-size:13px;font-weight:800;color:#8d6e00;letter-spacing:.02em}
html body #trainLive .tbf-edit{min-height:32px!important;padding:4px 12px!important;border:0!important;border-radius:999px!important;background:#fff3cd!important;color:#8d6e00!important;font-size:12px!important;font-weight:800!important}
html body #trainLive .tbf-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
@media (min-width:600px){html body #trainLive .tbf-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
html body #trainLive .tbf-tile{display:flex!important;align-items:center;gap:10px;min-height:58px!important;margin:0!important;padding:8px 10px!important;border:1px solid #e3e9f0!important;border-radius:14px!important;background:#fff!important;color:#1b2a3a!important;text-align:left!important;box-shadow:0 1px 3px #0000000f!important;cursor:pointer;transition:transform .12s,box-shadow .12s;font:inherit!important;width:100%}
html body #trainLive .tbf-tile:active{transform:scale(.97)}
html body #trainLive .tbf-tile.on{border-color:#f9a825!important;background:linear-gradient(135deg,#fffaf0,#fff3cd)!important;box-shadow:0 0 0 2px #f9a82566,0 3px 10px #f9a8252e!important}
html body #trainLive .tbf-av{position:relative;flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;color:#fff;font-weight:900;font-size:14px;letter-spacing:.03em;box-shadow:inset 0 -2px 0 #0000001f}
html body #trainLive .tbf-tile.on .tbf-av::after{content:'★';position:absolute;top:-7px;right:-7px;font-size:12px;color:#f9a825;text-shadow:0 0 2px #fff}
html body #trainLive .tbf-tx{display:flex;flex-direction:column;min-width:0;flex:1}
html body #trainLive .tbf-tx b{font-size:14px!important;font-weight:800;line-height:1.2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
html body #trainLive .tbf-tx small{font-size:11px!important;color:#78909c!important;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #trainLive .tbf-more{justify-content:center!important;border-style:dashed!important;border-color:#f9a825!important;background:#fffdf5!important;color:#8d6e00!important;font-weight:800!important;font-size:14px!important}
html body #trainLive .tbf-less{grid-column:1/-1;min-height:34px!important;border:0!important;background:transparent!important;color:#8d6e00!important;font-size:12px!important;font-weight:800!important}
html body #trainLive .tbf-grid.editing .tbf-tile{cursor:default;animation:tbf-wiggle .5s ease-in-out infinite alternate;flex-wrap:nowrap}
html body #trainLive .tbf-grid.editing .tbf-tile:nth-child(2n){animation-delay:.25s}
@keyframes tbf-wiggle{from{transform:rotate(-.6deg)}to{transform:rotate(.6deg)}}
@media (prefers-reduced-motion:reduce){html body #trainLive .tbf-grid.editing .tbf-tile{animation:none}}
html body #trainLive .tbf-ctl{display:flex;flex-direction:column;gap:3px;flex:none}
html body #trainLive .tbf-mv,html body #trainLive .tbf-del{width:28px!important;height:22px!important;min-height:0!important;padding:0!important;border:0!important;border-radius:7px!important;background:#eef3f8!important;color:#455a64!important;font-size:11px!important;line-height:22px!important}
html body #trainLive .tbf-mv:disabled{opacity:.3}
html body #trainLive .tbf-del{background:#ffebee!important;color:#c62828!important;font-weight:900!important}
html body #trainLive .tbf-grid.editing{grid-template-columns:1fr!important}
html body #trainLive .tbf-grid.editing .tbf-tile{min-height:52px!important}
html body #trainLive .tbf-grid.editing .tbf-ctl{flex-direction:row;gap:6px}
html body #trainLive .tbf-grid.editing .tbf-mv,html body #trainLive .tbf-grid.editing .tbf-del{width:36px!important;height:36px!important;line-height:36px!important;font-size:14px!important;border-radius:10px!important}
/* Treni preferiti */
html body #trainLive .train-find-favs{margin:4px 0 10px!important}
html body #trainLive .train-find-favs[hidden]{display:none!important}
html body #trainLive .tbf-av-train{font-size:19px!important}
html body #trainLive .tf-star{float:right;margin:0 0 6px 10px!important;min-height:36px!important;padding:6px 12px!important;border:1px solid #cfd8e3!important;border-radius:999px!important;background:#fff!important;color:#546e7a!important;font:inherit!important;font-size:13px!important;font-weight:800!important;white-space:nowrap;cursor:pointer}
html body #trainLive .tf-star.on{border-color:#f9a825!important;background:#fff8e1!important;color:#8d6e00!important}
@media (max-width:380px){html body #trainLive .tf-star{float:none;display:block;margin:0 0 8px!important}}
html body #trainLive .train-find-favs .tbf-tx small{white-space:normal!important;line-height:1.25}
/* schede: 4 pulsanti, su smartphone icona sopra e testo sotto */
.eav-tabs button{display:flex;align-items:center;justify-content:center;gap:6px;position:relative}
.eav-tabs .tab-ico{font-size:16px;line-height:1}
.eav-tabs button.has-badge::after{content:attr(data-badge);position:absolute;top:2px;right:8px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#e53935;color:#fff;font-size:11px;font-weight:800;line-height:18px;box-shadow:0 0 0 2px #10233f}
@media (max-width:600px){
 .eav-tabs{gap:4px;padding:8px 8px}
 .eav-tabs button{flex-direction:column;gap:2px;min-height:52px;padding:6px 2px;border-radius:14px;font-size:11px;white-space:normal;line-height:1.1}
 .eav-tabs .tab-ico{font-size:18px}
 .eav-tabs button.has-badge::after{top:3px;right:6px}
}
/* banner promemoria sciopero */
.sc-banner{display:flex;align-items:center;gap:12px;width:100%;padding:10px 16px;border:0;background:#fff3e0;color:#5d2b00;font:inherit;text-align:left;cursor:pointer;border-bottom:3px solid #fb8c00}
.sc-banner[hidden]{display:none}
.sc-b-ico{font-size:24px}
.sc-b-tx{display:flex;flex-direction:column;max-width:760px}
.sc-b-tx b{font-size:15px}.sc-b-tx small{font-size:12px;color:#8a4b12}
@media (min-width:760px){.sc-banner{justify-content:center}}
/* scheda Scioperi */
html body.eav #trainLive .eav-strikes .sc-hint{color:#607080}
.sc-filters{display:flex;gap:6px;margin:8px 0 12px}
html body.eav #trainLive .sc-filter{flex:1;min-height:40px;border:1px solid #cfd8e3!important;border-radius:999px!important;background:#fff!important;color:#37474f!important;font-weight:800!important;font-size:14px!important}
html body.eav #trainLive .sc-filter.on{background:#10233f!important;border-color:#10233f!important;color:#fff!important}
.sc-group{margin:14px 0 6px;font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:#78909c}
.sc-empty{color:#2e7d32;font-weight:700}
.sc-card{border:1px solid #e3e9f0;border-radius:14px;background:#fff;margin:0 0 8px;overflow:hidden}
.sc-card>summary{display:flex;align-items:center;gap:12px;padding:10px 12px;cursor:pointer;list-style:none}
.sc-card>summary::-webkit-details-marker{display:none}
.sc-cal{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;width:54px;min-height:58px;border-radius:12px;background:#eef3f8;color:#10233f;line-height:1.05}
.sc-cal b{font-size:20px;font-weight:900}.sc-cal small{font-size:11px;text-transform:uppercase;font-weight:700;color:#607d8b}
.sc-soon .sc-cal,.sc-now .sc-cal{background:#fff3e0;color:#e65100}
.sc-now .sc-cal{background:#ffebee;color:#c62828}
.sc-revoked .sc-cal,.sc-rev .sc-cal{background:#e8f5e9;color:#2e7d32}
.sc-past{opacity:.72}
.sc-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.sc-tags{display:flex;flex-wrap:wrap;gap:5px}
.sc-tags>span{font-size:11px;font-weight:800;padding:2px 8px;border-radius:999px;background:#eceff1;color:#455a64}
.sc-kind-treni{background:#e3f2fd!important;color:#1565c0!important}.sc-kind-bus{background:#f3e5f5!important;color:#6a1b9a!important}
.sc-soon .sc-state{background:#fff3e0!important;color:#e65100!important}.sc-now .sc-state{background:#c62828!important;color:#fff!important}
.sc-rev .sc-state,.sc-revoked .sc-state{background:#2e7d32!important;color:#fff!important}
.sc-revoked .sc-title{text-decoration:line-through;text-decoration-color:#2e7d3299}
.sc-title{font-size:14px;font-weight:700;line-height:1.3;color:#1b2a3a}
.sc-time{font-size:12px;color:#546e7a}
.sc-arrow{flex:none;font-size:24px;color:#b0bec5;transition:transform .2s}
.sc-card[open] .sc-arrow{transform:rotate(90deg)}
.sc-detail{padding:0 14px 14px;border-top:1px solid #eef2f6;font-size:14px;line-height:1.5;color:#263238}
.sc-revoked-box{margin:12px 0;padding:12px;border-radius:12px;background:#e8f5e9;border:1px solid #a5d6a7}
.sc-revoked-box strong{display:block;color:#1b5e20;font-size:15px;margin-bottom:4px}
.sc-ok{margin:12px 0;padding:10px 12px;border-radius:12px;background:#e8f5e9;color:#1b5e20;font-weight:700}
.sc-body{margin-top:10px;overflow-wrap:anywhere}
.sc-body p{margin:6px 0}
.sc-table{overflow-x:auto;margin:8px 0;-webkit-overflow-scrolling:touch}
.sc-table table{border-collapse:collapse;font-size:12px;min-width:100%}
.sc-table td,.sc-table th{border:1px solid #dde3ea;padding:4px 6px;text-align:left;white-space:nowrap}
.sc-table tr:nth-child(even) td{background:#f7f9fb}
.sc-link{display:inline-block;margin-top:10px;font-weight:800;color:#1565c0}
.sc-pub{display:block;margin-top:6px;color:#90a4ae;font-size:12px}
.sc-note{font-size:12px;color:#78909c;text-align:center}
html body #trainLive .tb-kind{color:#c62828!important;font-weight:800!important}
/* categoria accanto all'orario (solo Napoli ⇄ Sorrento) */
html body #trainLive .train-board-row .tb-cat{display:inline-block;align-self:flex-start;margin:0 0 3px;padding:2px 6px;border-radius:6px;font-style:normal;font-size:10px;font-weight:900;line-height:1.15;letter-spacing:.02em;text-transform:uppercase;color:#fff;white-space:nowrap}
html body #trainLive .tb-cat-ce{background:#c62828}
html body #trainLive .tb-cat-dd{background:#ef6c00}
html body #trainLive .tb-cat-d{background:#1565c0}
html body #trainLive .tb-cat-n{background:#00897b}
/* filtri scioperi: le sezioni del sito EAV */
.sc-filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px!important}
@media (min-width:640px){.sc-filters{grid-template-columns:repeat(4,minmax(0,1fr))}}
html body.eav #trainLive .sc-filter{display:flex;align-items:center;gap:6px;min-height:44px!important;padding:6px 10px!important;border-radius:12px!important;font-size:13px!important;text-align:left;line-height:1.2}
.sc-f-ico{flex:none;font-size:16px}
.sc-kind-funivia{background:#fff8e1!important;color:#8d6e00!important}
/* colori di linea EAV: Sorrento azzurro · Torre Annunziata viola · Poggiomarino verde · Sarno rosa · Baiano giallo */
html body.organized #trainLive .train-board-list button.train-board-row.has-line,html body #trainLive .train-board-list button.train-board-row.has-line{border-left:5px solid var(--line)!important;padding-left:8px!important;border-radius:6px 0 0 6px}
html body #trainLive .train-find-head.has-line{border-left-color:var(--line)!important}
html body #trainLive .tb-cat-n{background:#7b1fa2!important}
html body #trainLive .train-line-chips button.train-line-chip[style*="--line"]::before{content:'';display:inline-block;width:10px;height:10px;margin-right:6px;border-radius:50%;background:var(--line);vertical-align:0}
html body #trainLive .train-line-chips button.train-line-chip.on[style*="--line"]{background:var(--line)!important;border-color:var(--line)!important;color:var(--ink,#fff)!important}
html body #trainLive .train-line-chips button.train-line-chip.on[style*="--line"]::before{background:var(--ink,#fff)}
/* Linea live: treni del colore della loro linea, ritardo come bordo */
html body #trainLive .train-line-track[style*="--line"] .train-line-rail{border-color:var(--line)!important}
html body #trainLive .train-line-track[style*="--line"] .train-line-station .tick{background:var(--line)!important;opacity:.55}
html body #trainLive .train-line-track[style*="--line"] .train-line-station.end .tick{opacity:1}
html body #trainLive .train-line-track button.train-line-badge.lc{background:var(--line)!important;color:var(--ink,#fff)!important;border:3px solid transparent!important}
html body #trainLive .train-line-track button.train-line-badge.lc.slow{border-color:#ef6c00!important}
html body #trainLive .train-line-track button.train-line-badge.lc.late{border-color:#c62828!important}
html body #trainLive .train-line-track button.train-line-badge.lc.wait{background:#fff!important;color:var(--line)!important;border:2px dashed var(--line)!important;outline:0!important}
html body #trainLive .train-line-track button.train-line-badge .bd{font-size:11px;font-weight:800;opacity:.95}
html body #trainLive .train-line-track button.train-line-badge.lc.moving::after{background:var(--line)!important}
html body #trainLive .train-line-row .num.lc{color:var(--line)!important}
html body #trainLive .train-line-legend .lg{display:inline-block;width:14px;height:10px;border-radius:3px;background:#90a4ae;border:3px solid;vertical-align:-1px;margin:0 2px}
html body #trainLive .train-line-legend .lg-slow{border-color:#ef6c00}html body #trainLive .train-line-legend .lg-late{border-color:#c62828}
html body #trainLive .train-line-row small.tb-kind{color:var(--oc-text-2,#546e7a)!important;font-weight:600!important}
/* 🕒 Orario Napoli ⇄ Sorrento */
html body.eav #trainLive .eav-timetable .tt-hint{color:#607080}
.tt-seg{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:8px 0}
html body.eav #trainLive .tt-btn{min-height:44px;border:1px solid #cfd8e3!important;border-radius:12px!important;background:#fff!important;color:#37474f!important;font-weight:800!important;font-size:14px!important}
html body.eav #trainLive .tt-btn.on{background:#10233f!important;border-color:#10233f!important;color:#fff!important}
.tt-from-lab{display:flex;flex-direction:column;gap:4px;margin:6px 0 8px}
.tt-lab{font-size:12px;font-weight:800;color:#607d8b;text-transform:uppercase;letter-spacing:.05em}
.tt-kinds{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}.tt-kinds[hidden]{display:none}
html body.eav #trainLive .tt-kind{min-height:34px;padding:4px 12px!important;border:1px solid #cfd8e3!important;border-radius:999px!important;background:#fff!important;color:#37474f!important;font-size:12px!important;font-weight:800!important}
html body.eav #trainLive .tt-kind.on{background:#37474f!important;border-color:#37474f!important;color:#fff!important}
html body.eav #trainLive .tt-kind.tt-k-ce.on{background:#c62828!important;border-color:#c62828!important}
html body.eav #trainLive .tt-kind.tt-k-dd.on{background:#ef6c00!important;border-color:#ef6c00!important}
html body.eav #trainLive .tt-kind.tt-k-d.on{background:#1565c0!important;border-color:#1565c0!important}
.tt-run{border:1px solid #e3e9f0;border-left:5px solid var(--line,#90a4ae);border-radius:12px;background:#fff;margin:0 0 8px;overflow:hidden}
.tt-run.next{border-color:#f9a825;border-left-color:var(--line,#f9a825);box-shadow:0 0 0 2px #f9a82555}
.tt-run>summary{display:flex;align-items:center;gap:12px;padding:10px 12px;cursor:pointer;list-style:none}
.tt-run>summary::-webkit-details-marker{display:none}
.tt-time{flex:none;display:flex;flex-direction:column;align-items:center;min-width:58px}
.tt-time b{font-size:20px;font-variant-numeric:tabular-nums;color:#10233f}
.tt-in{font-size:11px;font-weight:800;color:#e65100;white-space:nowrap}
.tt-mid{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.tt-top{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.tt-badge{display:inline-block;padding:2px 6px;border-radius:6px;font-style:normal;font-size:10px;font-weight:900;text-transform:uppercase;color:#fff}
.tt-k-ce{background:#c62828}.tt-k-dd{background:#ef6c00}.tt-k-d{background:#1565c0}.tt-k-bus{background:#37474f}
.tt-num{font-size:12px;color:#546e7a;font-weight:700}
.tt-via{font-size:10px;font-weight:900;padding:1px 6px;border-radius:6px;background:#e8f5e9;color:#2e7d32}
.tt-arr{font-size:14px;font-weight:700;color:#1b2a3a}
.tt-meta{font-size:12px;color:#78909c}
.tt-arrow{flex:none;font-size:22px;color:#b0bec5;transition:transform .2s}.tt-run[open] .tt-arrow{transform:rotate(90deg)}
.tt-stops{list-style:none;margin:0;padding:4px 14px 10px 14px;border-top:1px solid #eef2f6}
.tt-stops li{display:grid;grid-template-columns:52px 1fr;column-gap:10px;padding:5px 0;border-bottom:1px dashed #eef2f6;font-size:14px}
.tt-stops li.before{opacity:.45}
.tt-stops li.here{font-weight:900;color:#10233f}
.tt-st-time{font-variant-numeric:tabular-nums;font-weight:700}
.tt-st-where{grid-column:2;font-size:11px;color:#78909c}
.tt-via-note{margin:0 14px 10px;font-size:13px;color:#2e7d32}
html body.eav #trainLive .tt-follow{margin:0 14px 12px;min-height:40px;padding:6px 14px!important;border:0!important;border-radius:10px!important;background:#e0313f!important;color:#fff!important;font-weight:800!important}
.tt-empty{color:#607d8b}.tt-note{font-size:12px;color:#78909c;text-align:center}
/* bus live */
.tt-live{margin:0 0 14px;padding:12px;border-radius:14px;background:#eceff1}
.tt-live-h{margin:0 0 8px;font-size:15px;color:#263238}
.tt-live-empty{margin:0;font-size:14px;color:#455a64}
.tt-live-card{background:#fff;border-radius:12px;padding:10px 12px;margin:0 0 8px;border-left:5px solid #37474f}
.tt-live-top{display:flex;justify-content:space-between;gap:8px;font-size:14px}.tt-live-arr{color:#546e7a;font-size:13px;white-space:nowrap}
.tt-live-where{margin:4px 0 8px;font-size:14px;font-weight:700;color:#e65100}
.tt-live-bar{position:relative;height:8px;border-radius:4px;background:#cfd8dc;margin:14px 10px 4px}
.tt-live-done{position:absolute;left:0;top:0;bottom:0;border-radius:4px;background:#37474f}
.tt-live-bus{position:absolute;top:50%;transform:translate(-50%,-55%);font-size:24px;transition:left 1s linear}
.tt-live-ends{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#78909c}
.tt-live-next{display:block;margin-top:6px;font-size:12px;color:#455a64}
.tt-live-note{display:block;font-size:11px;color:#78909c}
@media (max-width:600px){.eav-tabs button{font-size:10px}}
/* Orario · proposta C: linea disegnata */
.tt-line{position:relative;margin:6px 0 4px;padding:4px 0 4px 30px;--c:#039be5}
.tt-line:before{content:'';position:absolute;left:12px;top:14px;bottom:14px;width:5px;border-radius:3px;background:var(--c)}
html body.eav #trainLive .tt-line .tt-st{position:relative;display:flex!important;flex-wrap:wrap;align-items:center;gap:2px 10px;width:100%;min-height:36px!important;margin:0!important;padding:6px 8px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#263238!important;font-size:15px!important;font-weight:500!important;text-align:left!important}
.tt-line .tt-st:before{content:'';position:absolute;left:-24px;top:50%;width:13px;height:13px;margin-top:-8px;border-radius:50%;background:#fff;border:3px solid var(--c)}
html body.eav #trainLive .tt-line .tt-st.dim .tt-st-lab{color:#9aa7b1}
.tt-line .tt-st.dim:before{opacity:.45}
html body.eav #trainLive .tt-line .tt-st.on{background:#fff8e1!important;font-weight:900!important;color:#10233f!important}
.tt-line .tt-st.on:before{width:17px;height:17px;left:-26px;margin-top:-10px;background:#f9a825;border-color:#f9a825}
.tt-st-lab{flex:1 1 auto;min-width:0}
.tt-st-next{margin-left:auto;font-size:13px;font-weight:900;color:#e65100;white-space:nowrap}
.tt-st-veh{flex-basis:100%;font-size:12px;font-weight:900;color:var(--c)}
.tt-line[style*='#37474f'] .tt-st-veh{color:#5e35b1}
html body.eav #trainLive .tt-line .tt-gap{display:block;margin:0!important;min-height:28px!important;padding:2px 8px!important;border:0!important;background:transparent!important;color:#78909c!important;font-size:12px!important;font-weight:700!important;text-align:left}
.tt-line-info{margin:2px 0 10px;font-size:12px;color:#546e7a}
html body.eav #trainLive .tt-dirs .tt-btn.on{background:#f9a825!important;border-color:#f9a825!important;color:#10233f!important}
/* Orario · proposta D: icone grandi */
.tt-tiles{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0 10px}
html body.eav #trainLive .tt-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:92px!important;border:0!important;border-radius:18px!important;background:#eef3f8!important;color:#37474f!important;font-weight:900!important;font-size:15px!important}
.tt-tile i{font-style:normal;font-size:36px;line-height:1}
html body.eav #trainLive .tt-tile.on{background:#10233f!important;color:#fff!important}
html body.eav #trainLive .tt-tile.bus.on{background:#37305e!important}
.tt-route{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;background:#fff8e1;border-radius:16px;padding:10px 12px;margin:0 0 10px}
.tt-end{display:flex;flex-direction:column;align-items:center;min-width:0}.tt-end small{font-size:11px;font-weight:800;color:#8d6e00;text-transform:uppercase;letter-spacing:.06em}.tt-end b{font-size:18px;color:#10233f}
html body.eav #trainLive .tt-swap{width:48px;height:48px;min-height:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#f9a825!important;color:#10233f!important;font-size:24px!important;font-weight:900!important;line-height:1}
.tt-search{position:relative;margin:0 0 10px}
html body.eav #trainLive .tt-q{width:100%;min-height:50px;padding:10px 14px;border:2px solid #cfd8e3;border-radius:14px;font:inherit;font-size:17px;background:#fff;color:#1b2a3a}
html body.eav #trainLive .tt-q:focus{border-color:#e0313f;outline:0}
.tt-sug{position:absolute;left:0;right:0;top:100%;z-index:20;margin-top:4px;background:#fff;border:1px solid #dde3ea;border-radius:12px;box-shadow:0 8px 24px #0002;overflow:hidden}.tt-sug[hidden]{display:none}
html body.eav #trainLive .tt-sug-i{display:block;width:100%;min-height:44px!important;margin:0!important;padding:8px 14px!important;border:0!important;border-bottom:1px solid #eef2f6!important;border-radius:0!important;background:#fff!important;color:#1b2a3a!important;text-align:left;font-size:15px!important;font-weight:600!important}
html body.eav #trainLive .tt-big{display:flex;align-items:center;gap:14px;width:100%;margin:0 0 12px!important;padding:14px 16px!important;border:0!important;border-radius:18px!important;background:#10233f!important;color:#fff!important;text-align:left}
html body.eav #trainLive .tt-big.bus{background:#37305e!important}.tt-big[hidden]{display:none!important}
.tt-big-time{font-size:36px;font-weight:900;font-variant-numeric:tabular-nums;line-height:1}
.tt-big-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.tt-big-info strong{font-size:16px}.tt-big-info small{font-size:13px;opacity:.88}
.tt-big-go{font-size:28px;opacity:.7}
.tt-line-info .tt-live{margin-top:0}
/* D: scelta stazione più chiara + griglia orari */
.tt-q-lab{display:block;margin:0 0 4px;font-size:13px;font-weight:900;color:#10233f}
.tt-search .tt-q-arrow{position:absolute;right:14px;bottom:15px;color:#e0313f;font-size:14px;cursor:pointer}
html body.eav #trainLive .tt-q{padding-right:36px;font-weight:700;border-color:#e0313f}
.tt-sug{max-height:320px;overflow-y:auto}
html body.eav #trainLive .tt-sug-i.on{background:#fff8e1!important;font-weight:900!important}
.tt-times{margin:0 0 12px}.tt-times-h{margin:0 0 8px;font-size:14px;color:#10233f}
.tt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(68px,1fr));gap:6px}
html body.eav #trainLive .tt-chip{position:relative;min-height:40px!important;margin:0!important;padding:4px 6px!important;border:1px solid #cfd8e3!important;border-radius:10px!important;background:#fff!important;color:#10233f!important;font-variant-numeric:tabular-nums}
.tt-chip b{font-size:15px}
.tt-chip i{position:absolute;top:4px;right:4px;width:7px;height:7px;border-radius:50%}.tt-chip i.k-ce{background:#c62828}.tt-chip i.k-dd{background:#ef6c00}.tt-chip i.k-d{background:#1565c0}
html body.eav #trainLive .tt-chip.next{background:#f9a825!important;border-color:#f9a825!important}
html body.eav #trainLive .tt-chip.past{opacity:.4}
.tt-times-leg{display:block;margin-top:6px;font-size:11px;color:#78909c}
/* ---- Orario · vista B (pillole compatte) ---- */
.tt-pill{display:flex;gap:4px;padding:4px;margin:8px 0 10px;border-radius:999px;background:#eef3f8}
html body.eav #trainLive .tt-pill .tt-btn{flex:1;min-height:44px!important;margin:0!important;border:0!important;border-radius:999px!important;background:transparent!important;color:#546e7a!important;font-size:15px!important}
html body.eav #trainLive .tt-pill .tt-btn.on{background:#fff!important;color:#10233f!important;box-shadow:0 1px 4px #0002}
.tt-dir{display:flex;align-items:center;gap:10px;border:2px solid #10233f;border-radius:16px;padding:8px 8px 8px 14px;margin:0 0 12px}
.tt-dir-road{flex:1;min-width:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tt-dir-road b{font-size:17px;color:#10233f}
.tt-dir-ar{font-size:22px;font-weight:900;color:#f9a825;line-height:1}
html body.eav #trainLive .tt-dir-sw{flex:none;min-height:40px!important;margin:0!important;padding:4px 12px!important;border:0!important;border-radius:10px!important;background:#10233f!important;color:#fff!important;font-size:13px!important;font-weight:800!important}
.tt-from-h{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px;padding:10px 12px;border:2px solid #039be5;border-radius:14px;background:#f1f9ff;font-size:15px;font-weight:900;color:#10233f;cursor:pointer}
.tt-from-t{min-width:0}.tt-from-t b{color:#0277bd}
.tt-from-all{flex:none;padding:6px 12px;border-radius:999px;background:#039be5;color:#fff;font-size:13px;font-weight:900;white-space:nowrap}
.tt-chipbar{margin:-4px 0 12px}
.tt-chipnav{display:none!important}
.tt-chips{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.tt-chipbar:not(.all){display:none}
html body.eav #trainLive .tt-chipst{min-height:42px!important;margin:0!important;padding:6px 10px!important;border:1px solid #cfd8e3!important;border-radius:10px!important;background:#fff!important;color:#263238!important;font-size:14px!important;font-weight:700!important;line-height:1.2;text-align:left!important;white-space:normal;overflow-wrap:anywhere}
html body.eav #trainLive .tt-chipst.on{background:#039be5!important;border-color:#039be5!important;color:#fff!important;font-weight:900!important}
html body.eav #trainLive .tt-past{display:block;width:100%;min-height:38px!important;margin:0 0 8px!important;padding:4px 10px!important;border:1px dashed #b0bec5!important;border-radius:10px!important;background:#f5f7fa!important;color:#546e7a!important;font-size:13px!important;font-weight:800!important}
/* su PC le fermate vanno sempre a capo: si vedono tutte insieme */
@media (min-width:760px){.tt-chipbar,.tt-chipbar:not(.all){display:block;margin-top:0}.tt-chips{display:flex;flex-wrap:wrap}html body.eav #trainLive .tt-chipst{border-radius:999px!important;white-space:nowrap}.tt-from-h{border:0;background:none;padding:0;margin:0 0 6px;font-size:13px;cursor:default;pointer-events:none}.tt-from-all{display:none}}
/* Treni / Bus notturni: scelta ben visibile (attivo pieno e colorato, l'altro bianco con bordo) */
.tt-pill{gap:6px;padding:5px;background:#dde6ef;border:2px solid #10233f}
html body.eav #trainLive .tt-pill .tt-btn{min-height:50px!important;background:#fff!important;color:#10233f!important;font-size:16px!important;font-weight:900!important;border:1px solid #b8c6d4!important}
html body.eav #trainLive .tt-pill .tt-btn.on{background:#10233f!important;border-color:#10233f!important;color:#fff!important;box-shadow:0 3px 8px #10233f55}
html body.eav #trainLive .tt-pill .tt-btn.on:nth-child(2){background:#37305e!important;border-color:#37305e!important;box-shadow:0 3px 8px #37305e55}
html body.eav #trainLive .tt-pill .tt-btn.on::after{content:' ✓'}
/* ---- 💶 Biglietto ---- */
@media (max-width:600px){.eav-tabs{gap:3px;padding:8px 6px}.eav-tabs button{font-size:10.5px;padding:6px 1px;min-width:0}}
html body.eav #trainLive .eav-fares h3{margin:0 0 4px}
.eav-fares[hidden]{display:none!important}
.bf-pick{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:2px solid #039be5;border-radius:14px;background:#f1f9ff;cursor:pointer;color:#10233f}
.bf-pick.open{background:#e1f3fd}
.bf-pick-t{display:flex;flex-direction:column;min-width:0}
.bf-pick-t small{font-size:11px;font-weight:900;color:#607d8b;text-transform:uppercase;letter-spacing:.06em}
.bf-pick-t b{font-size:18px}.bf-com{font-size:12px;color:#607d8b}
.bf-cambia{flex:none;padding:6px 12px;border-radius:999px;background:#039be5;color:#fff;font-size:13px;font-weight:900;white-space:nowrap}
.bf-swap-w{display:flex;justify-content:center;margin:-6px 0;position:relative;z-index:1}
html body.eav #trainLive .bf-swap{width:40px;height:40px;min-height:0!important;margin:0!important;padding:0!important;border:3px solid #fff!important;border-radius:50%!important;background:#f9a825!important;color:#10233f!important;font-size:20px!important;font-weight:900!important;line-height:1}
.bf-list{margin:6px 0 4px;padding:10px;border:1px solid #dde3ea;border-radius:14px;background:#fff;box-shadow:0 6px 18px #0001}
html body.eav #trainLive .bf-q{width:100%;min-height:46px;padding:8px 12px;border:2px solid #cfd8e3;border-radius:12px;font:inherit;font-size:16px;margin:0 0 8px}
html body.eav #trainLive .bf-q:focus{border-color:#039be5;outline:0}
.bf-group{margin:0 0 10px}
.bf-group h4{margin:0 0 6px;padding-left:8px;border-left:5px solid var(--lc);font-size:13px;color:#37474f}
.bf-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}
html body.eav #trainLive .bf-st{min-height:40px!important;margin:0!important;padding:6px 10px!important;border:1px solid #cfd8e3!important;border-left:4px solid var(--lc)!important;border-radius:10px!important;background:#fff!important;color:#263238!important;font-size:14px!important;font-weight:700!important;line-height:1.2;text-align:left!important;overflow-wrap:anywhere}
html body.eav #trainLive .bf-st.on{background:#039be5!important;border-color:#039be5!important;color:#fff!important}
.bf-price{margin:14px 0 8px;padding:14px 16px;border-radius:18px;background:linear-gradient(135deg,#10233f,#1e5a8c);color:#fff}
.bf-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px}
.bf-f{background:#f9a825;color:#10233f;font-weight:900;border-radius:8px;padding:3px 10px;font-size:13px}
.bf-ok{font-size:12px;font-weight:800;padding:3px 8px;border-radius:8px;background:#2e7d32}
.bf-ok.est{background:#ffffff26}
.bf-big{font-size:44px;font-weight:900;line-height:1.1;margin:8px 0 0;font-variant-numeric:tabular-nums}
.bf-sub{opacity:.88;font-size:13px}
.bf-two{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.bf-two div{background:#ffffff1f;border-radius:12px;padding:8px 10px;display:flex;flex-direction:column}
.bf-two b{font-size:21px}.bf-two small{font-size:11.5px;opacity:.9}
.bf-why{font-size:13px;color:#455a64;margin:6px 0 10px}
.bf-warn{margin:12px 0;padding:10px 12px;border-radius:12px;background:#fff3e0;color:#8a4b12;font-weight:700}
.bf-acc{border:1px solid #e3e9f0;border-radius:12px;margin:0 0 10px;background:#fff}
.bf-acc>summary{padding:12px;font-weight:900;cursor:pointer;color:#10233f}
.bf-tab{width:100%;border-collapse:collapse;font-size:14px}
.bf-tab th,.bf-tab td{padding:7px 10px;border-top:1px solid #eef2f6;text-align:right;font-variant-numeric:tabular-nums}
.bf-tab th{font-size:12px;color:#607d8b}.bf-tab td:first-child,.bf-tab th:first-child{text-align:left;font-weight:700;color:#37474f}
.bf-tips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}
.bf-tips span{background:#eef3f8;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700;color:#37474f}
@media (min-width:760px){.bf-grid{grid-template-columns:repeat(4,1fr)}.bf-big{font-size:52px}}
/* il tema piatto toglie i gradienti: sfondo pieno e testo bianco forzati */
html body.eav #trainLive .bf-price{background:#10233f!important;color:#fff!important}
html body.eav #trainLive .bf-price *{color:#fff}
html body.eav #trainLive .bf-price .bf-f{color:#10233f!important;background:#f9a825!important}
html body.eav #trainLive .bf-price .bf-two div{background:#ffffff26!important}
html body.eav #trainLive .bf-price .bf-ok{background:#2e7d32!important}
html body.eav #trainLive .bf-price .bf-ok.est{background:#ffffff33!important}
.bf-in{padding:0 12px 12px}.bf-in ul{margin:4px 0 8px;padding-left:18px;font-size:13px;color:#37474f}.bf-in li{margin:3px 0}
.bf-alert{margin:0 0 8px;padding:10px 12px;border-radius:10px;background:#ffebee;color:#b71c1c;font-weight:800;font-size:13px}
.bf-ce>summary{color:#b71c1c}
.bf-links{display:flex;flex-wrap:wrap;gap:6px}
html body.eav #trainLive .bf-links a{display:inline-block;padding:6px 10px;border-radius:999px;background:#e3f2fd;color:#0d47a1;font-size:12px;font-weight:800;text-decoration:none}
.bf-buy{display:flex;gap:10px;align-items:flex-start;padding:8px 0;border-bottom:1px solid #eef2f6}
.bf-buy-i{font-size:22px;line-height:1}.bf-buy b{display:block;font-size:14px;color:#10233f}.bf-buy small{font-size:12.5px;color:#546e7a}
.bf-tur>summary{color:#00695c}
.bf-sub-acc{border:1px solid #e3e9f0;border-radius:10px;margin:0 0 8px;background:#fafcfe}
.bf-sub-acc>summary{padding:10px 12px;font-weight:800;font-size:14px;color:#10233f;cursor:pointer}
.bf-sub-acc .bf-tab{margin:0 0 6px}
html body.eav #trainLive .bf-src{display:inline-block;font-size:12px;color:#546e7a;text-decoration:underline}
.bf-tab td:not(:first-child){white-space:nowrap}.bf-sub-acc .bf-tab td{padding:7px 8px}
.bf-orari{margin:4px 0 8px}
.bf-or{padding:6px 0;border-bottom:1px dashed #e3e9f0}.bf-or b{display:block;font-size:13px;color:#10233f;margin-bottom:4px}
.bf-or-h{display:flex;flex-wrap:wrap;gap:4px}.bf-or-h span{padding:3px 7px;border-radius:7px;background:#e0f2f1;color:#004d40;font-size:12.5px;font-weight:800;font-variant-numeric:tabular-nums}
.bf-or-h span small{display:block;font-size:10px;font-weight:700;color:#00695c;line-height:1.1}
.bf-or-h span{text-align:center;min-width:52px}
.bf-fresh{margin:0 0 8px;padding:8px 10px;border-radius:10px;background:#fff8e1;color:#6d4c00;font-size:12.5px;font-weight:700}
/* ---- 🚄 FS / Italo ---- */
.eav-fs[hidden]{display:none!important}
html body.eav #trainLive .fs-k.on{background:var(--c,#37474f)!important;border-color:var(--c,#37474f)!important;color:#fff!important}
.fs-list{margin:6px 0}
.fs-row{display:grid;grid-template-columns:60px 1fr auto;gap:4px 10px;align-items:center;padding:10px 12px;margin:0 0 8px;border:1px solid #e3e9f0;border-left:6px solid var(--c);border-radius:12px;background:#fff}
.fs-row.off{opacity:.55}.fs-row.off .fs-dest{text-decoration:line-through}
.fs-time{display:flex;flex-direction:column;align-items:center}.fs-time b{font-size:19px;color:#10233f;font-variant-numeric:tabular-nums}
.fs-late{font-size:11px;font-weight:900;color:#d84315}.fs-ok{font-size:10.5px;font-weight:800;color:#2e7d32}
.fs-mid{min-width:0;display:flex;flex-direction:column;gap:2px}.fs-top{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.fs-badge{font-style:normal;font-size:10.5px;font-weight:900;color:#fff;background:var(--c);border-radius:6px;padding:2px 6px;text-transform:uppercase}
.fs-num{font-size:12px;font-weight:800;color:#546e7a}.fs-dest{font-size:15px;color:#1b2a3a;overflow-wrap:anywhere}
.fs-bin{display:flex;flex-direction:column;align-items:center;min-width:44px;padding:4px 6px;border-radius:10px;background:#eef3f8}.fs-bin small{font-size:10px;color:#607d8b}.fs-bin b{font-size:18px;color:#10233f}
.fs-conn{grid-column:1/-1;margin-top:4px;padding:6px 10px;border-radius:10px;background:#e8f5e9;color:#1b5e20;font-size:12.5px;line-height:1.35}
.fs-conn b{font-size:14px}.fs-conn.tight{background:#fff3e0;color:#8a4b12}
/* smartphone: le schede vanno su due righe (5 per riga), così restano grandi */
@media (max-width:600px){
 .eav-tabs{display:grid!important;grid-template-columns:repeat(5,1fr);gap:4px;padding:8px 6px;overflow:visible}
 .eav-tabs button{min-width:0;width:100%;min-height:54px;font-size:10.5px;padding:6px 1px;line-height:1.15;white-space:normal!important}
 .eav-tabs .tab-ico{font-size:20px}
}
/* app ferma per tutti: schermata "in aggiornamento" */
.eav-gate.manut .eav-gate-box{border-top:6px solid #f9a825}
.eav-gate.manut .eav-gate-box h2{color:#8d6e00}
.eav-gate.manut .eav-gate-box p{color:#37474f;font-size:16px}
.eav-gate-box form[hidden]{display:none}
/* 🔎 ricerca treno FS/Italo */
.fs-search{display:flex;gap:6px;margin:8px 0 10px}
html body.eav #trainLive .fs-q{flex:1;min-width:0;min-height:46px;padding:8px 12px;border:2px solid #e0313f;border-radius:12px;font:inherit;font-size:16px}
html body.eav #trainLive .fs-go{flex:none;min-height:46px!important;margin:0!important;padding:0 16px!important;border:0!important;border-radius:12px!important;background:#e0313f!important;color:#fff!important;font-weight:900!important}
.fs-found{position:relative;margin:0 0 12px;padding:12px;border:2px solid var(--c,#e0313f);border-radius:14px;background:#fff}
.fs-found>.fs-top{margin:0 30px 8px 0}.fs-found>.fs-top b{font-size:17px;color:#10233f}
html body.eav #trainLive .fs-x{position:absolute;top:8px;right:8px;width:30px;height:30px;min-height:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#eef3f8!important;color:#37474f!important;font-weight:900!important}
.fs-hit{border-top:1px solid #eef2f6;padding:8px 0 4px}
.fs-hit-h{display:block;font-size:11px;font-weight:900;color:#607d8b;letter-spacing:.05em;margin-bottom:6px}
.fs-hit-g{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:6px}
.fs-hit-g>div{background:#f5f7fa;border-radius:10px;padding:6px 8px;min-width:0}.fs-hit-g small{display:block;font-size:10.5px;color:#78909c}.fs-hit-g b{font-size:14px;color:#10233f;overflow-wrap:anywhere}
.fs-hit-g .late b{color:#d84315}.fs-hit-g .ok b{color:#2e7d32}.fs-hit-g .bin{background:#10233f}.fs-hit-g .bin small{color:#b0c4d8}.fs-hit-g .bin b{color:#fff;font-size:18px}
.fs-hit-st{margin:8px 0 2px;font-weight:800;color:#10233f}.fs-hit-stops{margin:4px 0;font-size:12.5px;color:#546e7a}
@media (max-width:420px){.fs-hit-g{grid-template-columns:1fr 1fr}}
/* scelta stazione FS: nome, posizione e treni che ci passano */
.fs-st{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0 6px}
html body.eav #trainLive .fs-st-b{display:flex;align-items:flex-start;gap:10px;min-height:0!important;margin:0!important;padding:10px 12px!important;border:2px solid #cfd8e3!important;border-radius:14px!important;background:#fff!important;color:#10233f!important;text-align:left!important;font:inherit!important;cursor:pointer}
html body.eav #trainLive .fs-st-b.on{border-color:#10233f!important;background:#10233f!important;color:#fff!important;box-shadow:0 3px 10px #10233f44}
.fs-st-b>i{font-style:normal;font-size:26px;line-height:1.1}
.fs-st-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.fs-st-t b{font-size:15.5px;font-weight:900}
.fs-st-t small{font-size:11.5px;line-height:1.3;opacity:.85}
.fs-st-t .fs-st-chi{font-weight:800;opacity:1;color:#1565c0}
.fs-st-b.on .fs-st-t .fs-st-chi{color:#ffd54f}
.fs-st-ok{flex:none;font-weight:900;font-size:18px}
.fs-st-note{margin:0 0 10px;font-size:12px;color:#546e7a;line-height:1.35}
@media (max-width:520px){.fs-st{grid-template-columns:1fr}}
.fs-pa{margin-top:0}
.fs-sum{margin:0 0 6px;padding:8px 10px;border-radius:10px;background:#e3f2fd;color:#0d47a1;font-weight:900;font-size:14px}
/* scelta del treno EAV su cui si viaggia */
.fs-mio{margin:0 0 10px;padding:10px;border:2px solid #039be5;border-radius:14px;background:#f1f9ff}
.fs-mio-h{margin:4px 0 8px;font-size:14px;color:#10233f}
.fs-mio-card{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:10px;border-radius:12px;background:#fff;border:1px solid #cfd8e3}
.fs-mio-card b{flex:1 1 100%;font-size:16px;color:#10233f}.fs-mio-card span{flex:1;font-size:13.5px;color:#37474f}
.fs-mio-list{display:grid;grid-template-columns:1fr 1fr;gap:6px;max-height:340px;overflow:auto;margin-top:8px}
html body.eav #trainLive .fs-mio-i{display:grid;grid-template-columns:auto 1fr;gap:0 8px;align-items:center;min-height:0!important;margin:0!important;padding:8px 10px!important;border:1px solid #cfd8e3!important;border-left:5px solid var(--c)!important;border-radius:10px!important;background:#fff!important;color:#263238!important;text-align:left!important;font:inherit!important}
.fs-mio-i b{grid-row:span 2;font-size:17px;color:#10233f;font-variant-numeric:tabular-nums}.fs-mio-i span{font-size:13px;font-weight:800}.fs-mio-i small{font-size:11px;color:#607d8b}
.fs-rit{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:8px 0 2px}.fs-rit small{flex:1 1 100%;font-size:12px;color:#546e7a;font-weight:700}
html body.eav #trainLive .fs-rit-b{min-height:34px!important;margin:0!important;padding:4px 10px!important;border:1px solid #cfd8e3!important;border-radius:999px!important;background:#fff!important;color:#37474f!important;font-size:12.5px!important;font-weight:800!important}
html body.eav #trainLive .fs-rit-b.on{background:#d84315!important;border-color:#d84315!important;color:#fff!important}
html body.eav #trainLive .fs-rit-b.on:first-of-type{background:#2e7d32!important;border-color:#2e7d32!important}
.fs-conn.no{background:#ffebee;color:#b71c1c}
@media (min-width:760px){.fs-mio-list{grid-template-columns:repeat(3,1fr)}}
.fs-live{margin:8px 0 0;padding:8px 10px;border-radius:10px;background:#e8f5e9;color:#1b5e20;font-weight:800;font-size:13px}
.fs-live.late{background:#fff3e0;color:#bf360c}
.fs-calc{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 10px;margin:8px 0 0;padding:8px 10px;border-radius:10px;background:#fff3e0;border:1px dashed #ffb74d}
.fs-calc small{font-size:12px;font-weight:800;color:#8a4b12}.fs-calc b{font-size:17px;color:#bf360c;font-variant-numeric:tabular-nums}
.fs-exp{font-size:11px;font-weight:900;color:#bf360c}
.fs-via{font-size:12.5px;font-weight:700;color:#546e7a}
html body.eav #trainLive .fs-corsa .tt-kind.on{background:#10233f!important;border-color:#10233f!important}
/* FS: scelta modo + proposte EAV dopo un treno FS */
.fs-modo{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 10px}
html body.eav #trainLive .fs-modo-b{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px!important;min-height:0!important;margin:0!important;padding:10px 12px!important;border:2px solid #cfd8e3!important;border-radius:14px!important;background:#fff!important;color:#10233f!important;text-align:left!important;box-shadow:none!important}
html body.eav #trainLive .fs-modo-b i{font-style:normal;font-size:20px;line-height:1.2}
html body.eav #trainLive .fs-modo-b b{font-size:14.5px;font-weight:900;line-height:1.2}
html body.eav #trainLive .fs-modo-b small{font-size:12px;font-weight:700;color:#546e7a;line-height:1.25}
html body.eav #trainLive .fs-modo-b.on{background:#10233f!important;border-color:#10233f!important;color:#fff!important}
html body.eav #trainLive .fs-modo-b.on small{color:#cfe3f5}
.fs-lab{display:block;font-size:10.5px;font-weight:900;text-transform:uppercase;letter-spacing:.03em;color:#78909c}
.fs-row.tap{cursor:pointer}.fs-row.tap:hover{border-color:#90a4ae}
.fs-row.sel{outline:3px solid #10233f;outline-offset:-1px;background:#eef5fb}
.fs-row .fs-conn{grid-column:1/-1}
.fs-prop{display:grid;gap:8px;margin:10px 0 4px}
.fs-prop-i{display:grid;grid-template-columns:64px 1fr;gap:4px 10px;align-items:center;padding:10px 12px;border-radius:12px;border:1px solid #c8e6c9;border-left:6px solid #2e7d32;background:#f1f8e9}
.fs-prop-i.tight{border-color:#ffe0b2;border-left-color:#ef6c00;background:#fff8e1}
.fs-prop-i.no{border-color:#ffcdd2;border-left-color:#c62828;background:#ffebee;opacity:.8}
.fs-prop-i.best{border:3px solid #2e7d32;border-left-width:8px;box-shadow:0 2px 10px rgba(46,125,50,.18);opacity:1}
.fs-prop-i.best.tight{border-color:#ef6c00}
.fs-prop-i .fs-time b{font-size:19px}
.fs-prop-st{display:block;margin-top:3px;font-size:13px;font-weight:900;color:#1b5e20}
.fs-prop-i.tight .fs-prop-st{color:#bf360c}.fs-prop-i.no .fs-prop-st{color:#b71c1c}
@media (max-width:380px){html body.eav #trainLive .fs-modo-b b{font-size:13.5px}}
/* tester con app in pausa */
.eav-test-bar{position:sticky;top:0;z-index:60;padding:8px 14px;background:#5e35b1;color:#fff;font-size:13px;font-weight:800;line-height:1.3;text-align:center;box-shadow:0 2px 8px rgba(0,0,0,.2)}
html body.eav .eav-gate-box .eav-gate-tester{width:100%;min-height:44px;margin:4px 0 8px;border:1px dashed #7e57c2;background:#f3effa;color:#4527a0;font-size:14.5px;font-weight:800}
.eav-gate-box .eav-gate-tester[hidden]{display:none}
/* 🧭 Dove vado */
.rt-form{display:grid;gap:10px;margin:10px 0 12px}
.rt-coppia{display:grid;grid-template-columns:1fr;gap:6px;position:relative}
.rt-field{position:relative}
.rt-lab{display:block;margin:0 0 4px;font-size:13px;font-weight:800;color:#455a64}
html body.eav #trainLive .rt-in{min-height:50px!important;font-size:17px!important;font-weight:700!important;color:#10233f!important;border:2px solid #cfd8e3!important;border-radius:12px!important}
html body.eav #trainLive .rt-in:focus{border-color:#e0313f!important;outline:0!important}
.rt-sug{position:absolute;left:0;right:0;top:100%;z-index:20;max-height:300px;overflow:auto;margin-top:4px;padding:6px;border:1px solid #cfd8e3;border-radius:12px;background:#fff;box-shadow:0 8px 24px #0000002e}
.rt-sug[hidden]{display:none}
.rt-sug-h{display:block;margin:8px 6px 4px;font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;color:#78909c}
html body.eav #trainLive .rt-sug-i{display:block!important;width:100%!important;min-height:40px!important;margin:0!important;padding:8px 10px 8px 14px!important;border:0!important;border-left:4px solid var(--c,#90a4ae)!important;border-radius:8px!important;background:transparent!important;color:#263238!important;font-size:15px!important;font-weight:600!important;text-align:left!important}
html body.eav #trainLive .rt-sug-i:hover,html body.eav #trainLive .rt-sug-i.on{background:#eef5fb!important}
.rt-sug-none{margin:8px;color:#78909c}
html body.eav #trainLive .rt-swap{justify-self:end!important;width:44px!important;height:44px!important;min-height:0!important;margin:-4px 4px -4px 0!important;padding:0!important;border:2px solid #cfd8e3!important;border-radius:50%!important;background:#fff!important;color:#10233f!important;font-size:20px!important;font-weight:900!important;line-height:1!important}
.rt-ora-w{display:flex;gap:8px;align-items:center}
html body.eav #trainLive .rt-time{flex:1 1 auto!important;min-height:48px!important;font-size:18px!important;font-weight:800!important;color:#10233f!important}
html body.eav #trainLive .rt-now{flex:none!important;min-height:48px!important;padding:0 16px!important;border:2px solid #cfd8e3!important;border-radius:12px!important;background:#fff!important;color:#10233f!important;font-weight:800!important}
html body.eav #trainLive .rt-now.on{background:#10233f!important;border-color:#10233f!important;color:#fff!important}
.rt-out{display:grid;gap:10px}
.rt-domani{margin:0;padding:8px 12px;border-radius:10px;background:#ede7f6;color:#4527a0;font-weight:800}
.rt-card{border:1px solid #dbe4ee;border-radius:14px;background:#fff;overflow:hidden}
.rt-card.first{border:2px solid #e0313f;box-shadow:0 2px 12px #e0313f24}
html body.eav #trainLive .rt-head{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:6px 12px!important;width:100%!important;min-height:0!important;margin:0!important;padding:12px 14px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#10233f!important;text-align:left!important}
.rt-h-time{display:flex;align-items:baseline;gap:8px}.rt-h-time b{font-size:24px;font-variant-numeric:tabular-nums;color:#10233f}.rt-arrow{color:#90a4ae;font-weight:900}
.rt-h-info{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.rt-h-info span{padding:3px 9px;border-radius:999px;font-size:12.5px;font-weight:800;background:#eceff1;color:#37474f}
.rt-h-info .rt-first{background:#e0313f;color:#fff}.rt-h-info .rt-cambi{background:#fff3e0;color:#bf360c}.rt-h-info .rt-cambi.dir{background:#e8f5e9;color:#1b5e20}
.rt-steps{list-style:none;margin:0;padding:4px 14px 14px;display:grid;gap:0}
.rt-steps[hidden]{display:none}
.rt-step{display:grid;grid-template-columns:62px 1fr;gap:10px;align-items:start;padding:8px 0 8px 12px;border-left:4px solid var(--c,#90a4ae);margin-left:6px;position:relative}
.rt-step.sale::before,.rt-step.scende::before{content:"";position:absolute;left:-9px;top:12px;width:14px;height:14px;border-radius:50%;background:#fff;border:3px solid var(--c,#90a4ae)}
.rt-step.cambio{border-left:4px dashed #b0bec5;background:#f7fafd;border-radius:0 10px 10px 0}
.rt-step.cambio.rischio{background:#fff3e0}
.rt-st-time b{font-size:18px;font-variant-numeric:tabular-nums;color:#10233f}.rt-st-time small{display:block;font-size:11.5px;font-weight:800}
.rt-late{color:#d84315}
.rt-st-txt{display:flex;flex-direction:column;gap:2px;font-size:14px;color:#37474f;line-height:1.35}
.rt-st-txt strong{font-size:15px;color:#10233f}
.rt-dir{font-size:13px;color:#546e7a}.rt-line{font-size:12px;font-weight:800;color:#78909c}
.rt-live{font-size:12.5px;font-weight:800;color:#2e7d32}.rt-live.late{color:#d84315}
.rt-step.cambio .rt-st-txt{font-weight:700;color:#455a64}
@media (min-width:760px){
 .rt-coppia{grid-template-columns:1fr 48px 1fr;align-items:end}
 html body.eav #trainLive .rt-swap{justify-self:center!important;margin:0 0 3px!important;transform:rotate(90deg)!important}
 .rt-form{grid-template-columns:1fr 260px;align-items:end}
 .rt-out{grid-template-columns:1fr 1fr;align-items:start}
 .rt-out>p{grid-column:1/-1}
}
/* ritardi in tempo reale: Orario e Dove vado */
.tt-time small.tt-late{display:block;font-size:11.5px;font-weight:900;color:#d84315}
.tt-rit{display:block;font-size:12px;font-weight:800;color:#2e7d32}.tt-rit.late{color:#d84315}
.rt-st-time small.rt-sched{color:#78909c;font-weight:700;white-space:nowrap}
.rt-live.wait{color:#78909c}
.rt-h-info .rt-conrit{background:#fff3e0;color:#d84315}
.rt-bin{display:inline-block;align-self:flex-start;margin:3px 0 1px;padding:3px 10px;border-radius:8px;background:#e3f2fd;color:#0d47a1;font-size:15px;font-weight:900}
.rt-bin.wait{background:#eceff1;color:#607d8b;font-weight:700}
/* binario grande sulla riga dell'orario (Dove vado) */
.rt-h-time{flex:1 1 auto;flex-wrap:nowrap}
.rt-h-bin{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;flex:none;width:62px;height:62px;margin-left:auto;border-radius:50%;background:#0d47a1;color:#fff;line-height:1;box-shadow:0 2px 8px #0d47a140}
.rt-h-bin small{font-size:11px;font-weight:900;color:#e3f2fd;letter-spacing:.06em}
.rt-h-bin b{font-size:27px!important;font-weight:900;color:#fff!important;margin-top:1px}
.rt-h-bin.wait{background:#eceff1;color:#607d8b;box-shadow:none;border:2px dashed #b0bec5}.rt-h-bin.wait small{color:#607d8b}.rt-h-bin.wait b{color:#90a4ae!important;font-size:22px!important}
html body.eav #trainLive .rt-head{flex-direction:column!important;align-items:stretch!important}
/* Segnala un problema (al posto di WhatsApp) */
html body.eav button.eav-help{width:100%;border:0;font:inherit;cursor:pointer;background:#1565c0;color:#fff!important;box-shadow:0 2px 8px #1565c033}
html body.eav button.eav-help:hover{background:#0d47a1}
/* avviso app non ufficiale */
.eav-note b{color:#37474f}
.eav-note a{color:#1565c0;font-weight:700}
/* installa l'app anche dalla schermata di accesso/aggiornamento */
html body.eav .eav-gate-box button.eav-gate-install{width:100%;min-height:46px;margin:12px 0 0;border:2px solid #1565c0;border-radius:12px;background:#fff;color:#1565c0;font:inherit;font-size:15.5px;font-weight:800;cursor:pointer}
/* 💶 prezzo in Dove vado */
.rt-price{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;align-items:center;padding:12px 14px;border-radius:14px;background:#e8f5e9;border:1px solid #c8e6c9}
.rt-price-main small{display:block;font-size:12px;font-weight:800;color:#2e7d32}
.rt-price-main b{display:block;font-size:30px;line-height:1.05;color:#1b5e20;font-variant-numeric:tabular-nums;white-space:nowrap}
.rt-price-info{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center;font-size:12.5px}
.rt-price-f{padding:2px 8px;border-radius:999px;background:#1b5e20;color:#fff;font-weight:800}
.rt-price-ok{font-weight:800;color:#2e7d32}.rt-price-ok.est{color:#8d6e00}
.rt-price-alt{flex-basis:100%;color:#455a64;font-weight:700}
html body.eav #trainLive .rt-price-more{grid-column:1/-1;justify-self:start;min-height:0!important;margin:0!important;padding:6px 12px!important;border:1px solid #a5d6a7!important;border-radius:10px!important;background:#fff!important;color:#1b5e20!important;font-size:13px!important;font-weight:800!important}
@media (min-width:760px){.rt-out>.rt-price{grid-column:1/-1}}
/* 🏛️ Da visitare */
.lg-cats{margin:6px 0 10px}
.lg-list{display:grid;gap:14px}
.lg-group{display:grid;gap:8px}
.lg-st{margin:4px 0 0;font-size:14px;font-weight:900;color:#10233f}
.lg-card{border:1px solid #dbe4ee;border-radius:14px;background:#fff;overflow:hidden}
.lg-card.open{border:2px solid #e0313f}
html body.eav #trainLive .lg-head{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;min-height:0!important;margin:0!important;padding:12px 14px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#10233f!important;text-align:left!important}
.lg-h-t{flex:1;min-width:0}
.lg-h-t small{display:block;font-size:11.5px;font-weight:800;color:#78909c}
.lg-h-t b{display:block;font-size:16.5px;line-height:1.25;color:#10233f}
.lg-meta{display:flex;flex-wrap:wrap;gap:4px 8px;margin-top:4px}
.lg-meta span{font-size:12px;font-weight:800;padding:2px 8px;border-radius:999px;background:#eceff1;color:#455a64}
.lg-state.on{background:#e8f5e9;color:#1b5e20}.lg-state.soon{background:#fff3e0;color:#bf360c}.lg-state.off{background:#ffebee;color:#b71c1c}
.lg-arrow{font-size:24px;color:#90a4ae;transition:transform .2s}.lg-card.open .lg-arrow{transform:rotate(90deg)}
.lg-body{padding:0 14px 14px}
.lg-cosa{margin:0 0 10px;font-size:14.5px;line-height:1.45;color:#37474f}
.lg-row{display:grid;grid-template-columns:28px 1fr;gap:8px;padding:7px 0;border-top:1px solid #eef2f5}
.lg-ico{font-size:18px;line-height:1.3}
.lg-row small{display:block;font-size:11.5px;font-weight:800;color:#78909c}
.lg-row span{font-size:14px;line-height:1.4;color:#263238}
.lg-warn{margin:8px 0;padding:8px 10px;border-radius:10px;background:#fff8e1;color:#8d6e00;font-size:13px;font-weight:700}
.lg-az{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 6px}
html body.eav #trainLive .lg-go{min-height:44px!important;margin:0!important;padding:8px 14px!important;border:0!important;border-radius:12px!important;background:#1565c0!important;color:#fff!important;font-weight:800!important;font-size:14px!important}
.lg-link{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border:1px solid #cfd8e3;border-radius:12px;background:#fff;color:#1565c0;font-weight:800;font-size:14px;text-decoration:none}
.lg-src{display:block;font-size:11px;color:#90a4ae}
/* ⭐ in Dove vado */
.rt-visit{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:12px 14px;border-radius:14px;background:#fffde7;border:1px solid #fff59d}
.rt-visit b{flex-basis:100%;color:#5d4037;font-size:14px}
html body.eav #trainLive .rt-visit-i{min-height:40px!important;margin:0!important;padding:6px 12px!important;border:1px solid #ffe082!important;border-radius:999px!important;background:#fff!important;color:#5d4037!important;font-weight:800!important;font-size:13px!important}
@media (min-width:760px){.lg-group{grid-template-columns:1fr 1fr}.lg-st{grid-column:1/-1}.lg-card.open{grid-column:1/-1}.rt-out>.rt-visit{grid-column:1/-1}}
/* 🏛️ Da visitare · foto */
.lg-photo{position:relative;overflow:hidden;background:linear-gradient(135deg,#10233f,#e0313f);cursor:pointer}
.lg-photo img{display:block;width:100%;height:100%;object-fit:cover}
.lg-photo.card{height:150px}
.lg-photo.big{height:220px}
.lg-photo.noimg::before{content:attr(data-emoji);position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:54px;opacity:.9}
.lg-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0000 55%,#0008);pointer-events:none}
.lg-credit{position:absolute;right:6px;bottom:5px;z-index:2;max-width:70%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:1px 6px;border-radius:6px;background:#0007;color:#fff!important;font-size:10px;text-decoration:none}
.lg-cat{position:absolute;left:8px;top:8px;z-index:2;padding:3px 9px;border-radius:999px;background:#fffe;color:#10233f;font-size:12px;font-weight:800;box-shadow:0 1px 4px #0003}
.lg-photo.hero{height:190px;margin:-16px -16px 10px;border-radius:16px 16px 0 0;cursor:default}
.lg-photo.hero::after{background:linear-gradient(180deg,#0000 20%,#000b)}
.lg-hero-t{position:absolute;left:16px;right:16px;bottom:22px;z-index:2;color:#fff}
html body.organized .lg-hero-t h3{margin:0;color:#fff!important;font-size:24px;font-weight:700!important;text-shadow:0 2px 8px #0008!important}
.lg-hero-t p{margin:4px 0 0;font-size:14px;color:#f1f5f9;text-shadow:0 1px 6px #0009}
.lg-card{box-shadow:0 2px 10px #10233f14}
.lg-st{display:flex;align-items:center;gap:8px}
.lg-st i{display:block;width:12px;height:12px;border-radius:50%;background:var(--c,#607d8b);box-shadow:0 0 0 3px color-mix(in srgb,var(--c,#607d8b) 25%,transparent)}
.lg-st small{margin-left:auto;font-size:11.5px;font-weight:700;color:#78909c}
@media (min-width:760px){.lg-photo.card{height:170px}.lg-photo.big{height:340px}.lg-photo.hero{height:260px}}
/* 📍 Dove sono · 🚆 Sono sul treno */
html body.eav #trainLive .rt-gps{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 12px}
html body.eav #trainLive .rt-gps-b{min-height:48px!important;margin:0!important;padding:8px 10px!important;border:2px solid #10233f!important;border-radius:12px!important;background:#fff!important;color:#10233f!important;font-size:15px!important;font-weight:800!important}
html body.eav #trainLive .rt-gps-b:last-child{background:#10233f!important;color:#fff!important}
html body.eav #trainLive .rt-sono{display:block;width:max-content;min-height:40px!important;margin:8px 0 0!important;padding:6px 14px!important;border:0!important;border-radius:999px!important;background:var(--c,#10233f)!important;color:#fff!important;font-size:14px!important;font-weight:800!important}
.rt-auto{margin:0;padding:8px 12px;border-radius:10px;background:#e3f2fd;color:#0d47a1;font-size:13.5px;font-weight:700}
html body.eav dialog.vg{--c:#1565c0;width:min(560px,100vw);max-width:100vw;max-height:100dvh;margin:auto;padding:0 16px 16px;border:0;border-radius:18px;background:#f4f7fa;color:#1f2d3a;box-shadow:0 20px 60px rgba(0,0,0,.35);overflow:auto;font:15px/1.4 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
html body.eav dialog.vg::backdrop{background:rgba(10,20,30,.55)}
@media (max-width:640px){html body.eav dialog.vg{width:100vw;height:100dvh;max-height:100dvh;border-radius:0;margin:0}}
.vg-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 -16px 10px;padding:12px 16px;background:var(--c);color:#fff}
.vg-head small{display:block;font-size:11px;font-weight:900;letter-spacing:.06em;opacity:.85}
.vg-head b{display:block;font-size:17px;line-height:1.25}
html body.eav .vg button,html body.eav .vg .vg-btn{font:inherit!important;cursor:pointer!important}
html body.eav .vg .vg-close{flex:none!important;min-height:38px!important;padding:0 14px!important;border:1px solid rgba(255,255,255,.6)!important;border-radius:10px!important;background:transparent!important;color:#fff!important;font-weight:800!important}
.vg-gps{margin:0 0 10px;padding:8px 12px;border-radius:10px;background:#fff3e0;color:#8d4a00;font-size:13.5px;font-weight:700}
.vg-gps.on{background:#e8f5e9;color:#1b5e20}
.vg-big{margin:0 0 10px;padding:16px;border-radius:16px;background:#fff;border:3px solid var(--c);text-align:center}
.vg-big small{display:block;font-size:13px;font-weight:900;color:#546e7a;letter-spacing:.03em}
.vg-big b{display:block;margin:4px 0;font-size:28px;line-height:1.15;color:#10233f}
.vg-big.here{background:#2e7d32;border-color:#2e7d32}.vg-big.here small,.vg-big.here b{color:#fff}
.vg-tra{display:inline-block;margin-top:2px;padding:3px 10px;border-radius:999px;background:#eceff1;color:#263238;font-weight:800;font-size:14px}
.vg-dest{display:grid;gap:2px;margin:0 0 10px;padding:12px 14px;border-radius:14px;background:#fff;border:1px solid #dbe4ee;border-left:6px solid #2e7d32}
.vg-dest small{font-size:12px;font-weight:900;color:#2e7d32}.vg-dest b{font-size:20px;color:#10233f}.vg-dest span{color:#455a64;font-size:14px;font-weight:600}
.vg-dest.vicino{background:#fff8e1;border-left-color:#f57c00;animation:vgPulse 1.4s ease-in-out infinite}
@keyframes vgPulse{50%{box-shadow:0 0 0 6px rgba(245,124,0,.25)}}
.vg-cambio{display:grid;gap:4px;margin:0 0 10px;padding:12px 14px;border-radius:14px;background:#e3f2fd;border:1px solid #90caf9}
.vg-cambio b{color:#0d47a1}.vg-cambio span{color:#37474f;font-size:14px}
html body.eav .vg .vg-next{justify-self:start!important;min-height:44px!important;margin-top:4px!important;padding:0 16px!important;border:0!important;border-radius:12px!important;background:#1565c0!important;color:#fff!important;font-weight:800!important}
.vg-stops{list-style:none;margin:0 0 12px;padding:4px 0;border-radius:14px;background:#fff;border:1px solid #dbe4ee}
.vg-stops li{position:relative;display:grid;grid-template-columns:52px 1fr auto;gap:8px;align-items:center;padding:7px 12px 7px 30px}
.vg-stops li::before{content:"";position:absolute;left:12px;top:0;bottom:0;width:4px;background:var(--c)}
.vg-stops li::after{content:"";position:absolute;left:8px;top:50%;width:12px;height:12px;margin-top:-6px;border-radius:50%;background:#fff;border:2px solid var(--c)}
.vg-stops li.done{opacity:.45}.vg-stops li.now{background:#e3f2fd;font-weight:800}.vg-stops li.now::after{background:var(--c);width:16px;height:16px;left:6px;margin-top:-8px}
.vg-stops li.dest{font-weight:800;color:#1b5e20}.vg-stops li.dest::after{border-color:#2e7d32;background:#2e7d32}
.vg-t{font-variant-numeric:tabular-nums;color:#546e7a;font-weight:700}.vg-star{font-size:14px}
html body.eav .vg .vg-star{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:40px!important;height:40px!important;min-height:0!important;margin:-6px -6px -6px 0!important;padding:0!important;border:1px solid #ffe082!important;border-radius:999px!important;background:#fff8e1!important;font-size:18px!important;line-height:1!important;box-shadow:0 1px 3px rgba(0,0,0,.12)!important;animation:vgStar 2.4s ease-in-out 2}
html body.eav .vg .vg-star:active{transform:scale(.92)}
@keyframes vgStar{0%,100%{transform:scale(1)}50%{transform:scale(1.15)}}
.vg-stops li:has(.vg-star-list)::after{top:22px}
.vg-star-list{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px;padding:2px 0 4px}
.vg-legenda{margin:0 0 6px!important;font-size:12.5px;color:#795548;font-weight:600}
.vg-az{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}
html body.eav .vg .vg-btn{flex:1 1 160px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:46px!important;padding:0 14px!important;border:2px solid #cfd8e3!important;border-radius:12px!important;background:#fff!important;color:#10233f!important;font-weight:800!important;text-decoration:none!important;text-align:center!important}
html body.eav .vg .vg-btn.vg-pri{background:#10233f!important;border-color:#10233f!important;color:#fff!important}
html body.eav .vg .vg-btn.vg-stop{border-color:#ef9a9a!important;color:#b71c1c!important}
.vg-note{margin:6px 0 0;color:#607d8b;font-size:12.5px}
.vg-cand{display:grid;gap:8px;margin:0 0 12px}
html body.eav .vg .vg-cand-i{display:grid!important;gap:2px!important;width:100%!important;min-height:52px!important;padding:8px 12px!important;border:1px solid #cfd8e3!important;border-left:6px solid var(--c,#90a4ae)!important;border-radius:12px!important;background:#fff!important;color:#1f2d3a!important;text-align:left!important}
html body.eav .vg .vg-cand-i b{font-size:16px!important}.vg-cand-i small{color:#607d8b!important}
html body.eav .vg .vg-cand-i.pref{border-color:#2e7d32!important;border-left-color:#2e7d32!important;background:#e8f5e9!important}
.vg-man{display:flex;gap:8px;margin:0 0 8px}
.vg-man input{flex:1;min-width:0;min-height:46px;padding:0 12px;border:2px solid #cfd8e3;border-radius:12px;background:#fff;color:#1f2d3a;font:inherit}
html body.eav .vg .vg-man button{min-height:46px!important;padding:0 18px!important;border:0!important;border-radius:12px!important;background:#10233f!important;color:#fff!important;font-weight:800!important}
html body.eav .vg-resume{position:fixed!important;left:50%!important;bottom:calc(16px + env(safe-area-inset-bottom))!important;transform:translateX(-50%)!important;z-index:50!important;min-height:50px!important;padding:0 20px!important;border:0!important;border-radius:999px!important;background:#2e7d32!important;color:#fff!important;font:800 15px system-ui,sans-serif!important;box-shadow:0 8px 24px rgba(0,0,0,.3)!important;cursor:pointer!important}
.vg-part{margin:0 0 10px;padding:12px 14px;border-radius:14px;background:#fff;border:1px solid #dbe4ee}
.vg-part>b{display:block;margin:0 0 6px;color:#10233f}
.vg-part ul{list-style:none;margin:0;padding:0}
.vg-part li{display:grid;grid-template-columns:58px 1fr auto;grid-template-rows:auto auto;gap:0 8px;align-items:center;padding:7px 0 7px 10px;border-left:4px solid var(--c);border-bottom:1px solid #eef2f6}
.vg-part li:last-child{border-bottom:0}
.vg-part .vg-t{grid-row:1/3;display:grid;line-height:1.1}.vg-part .vg-t b{font-size:18px;color:#10233f}.vg-part .vg-t s{font-size:12px;color:#90a4ae}
.vg-part .vg-n{grid-row:1/3;display:grid;min-width:0}.vg-part .vg-n small{color:#607d8b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vg-rit{justify-self:end;font-size:12px;font-weight:800;color:#2e7d32}.vg-rit.late{color:#c62828}
.vg-tra2{justify-self:end;font-size:12px;color:#546e7a;font-weight:700}
.vg-part li.vg-vuoto{display:block;border:0;color:#607d8b}
.vg .rt-visit{margin:0 0 10px}
html body.eav .vg .rt-visit-i{min-height:40px!important;padding:6px 12px!important;border:1px solid #ffe082!important;border-radius:999px!important;background:#fff!important;color:#5d4037!important;font-weight:800!important;font-size:13px!important;text-align:left!important}
.vg-altre{display:grid;gap:6px;margin:0 0 10px}.vg-altre>b{color:#10233f;font-size:14px}
/* 🏛️ Da visitare · v2: file da scorrere, schede pulite, dettaglio a tutto schermo */
.eav-luoghi .lg-photo.hero{height:150px;margin-bottom:12px}
.lx-chipbar{display:flex;gap:8px;overflow-x:auto;margin:0 -16px 14px;padding:2px 16px 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.lx-chipbar::-webkit-scrollbar{display:none}
html body.eav #trainLive .lx-f{flex:none!important;min-height:38px!important;margin:0!important;padding:0 14px!important;border:1px solid #d5dee8!important;border-radius:999px!important;background:#fff!important;color:#37474f!important;font-size:14px!important;font-weight:700!important;white-space:nowrap!important;box-shadow:none!important}
html body.eav #trainLive .lx-f.on{background:#10233f!important;border-color:#10233f!important;color:#fff!important}
.lx-sec-cat{margin:0 0 18px}
.lx-h{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 0 8px}
.lx-h h4{margin:0;font-size:17px;font-weight:800;color:#10233f}
html body.eav #trainLive .lx-all{flex:none!important;min-height:0!important;margin:0!important;padding:4px 0!important;border:0!important;background:none!important;color:#1565c0!important;font-size:13.5px!important;font-weight:800!important;box-shadow:none!important}
.lx-row-c{display:grid;grid-auto-flow:column;grid-auto-columns:68%;gap:12px;overflow-x:auto;margin:0 -16px;padding:2px 16px 8px;scroll-snap-type:x mandatory;scroll-padding:0 16px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.lx-row-c::-webkit-scrollbar{display:none}
.lx-row-c>.lx-card{scroll-snap-align:start}
.lx-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 16px}
html body.eav #trainLive .lx-card{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:16px!important;background:#fff!important;color:#1f2d3a!important;text-align:left!important;overflow:hidden!important;box-shadow:0 2px 10px rgba(18,58,92,.10)!important;font:inherit!important;cursor:pointer}
html body.eav #trainLive .lx-card:active{transform:scale(.98)}
.lx-card .lg-photo.lx-ph{height:150px;border-radius:0}
.lx-grid .lx-card .lg-photo.lx-ph{height:120px}
.lx-card .lg-photo::after{background:linear-gradient(180deg,#0000 45%,#000a)}
.lx-name{position:absolute;left:10px;right:10px;bottom:8px;z-index:2;color:#fff;font-size:15.5px;font-weight:800;line-height:1.2;text-shadow:0 1px 6px #0009;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lx-meta{display:grid;gap:3px;padding:8px 10px 10px}
.lx-sta{display:flex;align-items:center;gap:6px;min-width:0;font-size:12.5px;font-weight:700;color:#455a64;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lx-sta i{flex:none;width:9px;height:9px;border-radius:50%;background:var(--c,#607d8b)}
.lx-sub{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:12.5px;font-weight:700;color:#607d8b}
.lx-st{padding:0!important;background:none!important;font-size:12.5px}
.lx-st.on{color:#2e7d32}.lx-st.soon{color:#e65100}.lx-st.off{color:#c62828}
.lx-crediti{margin:6px 0 0;padding:10px 12px;border-radius:12px;background:#f4f7fa;color:#607d8b;font-size:12.5px}
.lx-crediti summary{cursor:pointer;font-weight:800;color:#455a64}
.lx-crediti ul{margin:4px 0 0;padding-left:18px}.lx-crediti a{color:#546e7a}
/* dettaglio */
html body.eav dialog.lx-sheet{width:min(620px,100vw)!important;max-width:100vw!important;max-height:92dvh!important;margin:auto!important;padding:0!important;border:0!important;border-radius:20px!important;background:#fff!important;color:#1f2d3a!important;overflow:auto!important;box-shadow:0 20px 60px rgba(0,0,0,.4)!important;font:15px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif!important}
html body.eav dialog.lx-sheet::backdrop{background:rgba(10,20,30,.6)}
@media (max-width:640px){html body.eav dialog.lx-sheet{width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;margin:0!important}}
.lx-sheet .lg-photo.lx-big{height:260px;cursor:default}
.lx-sheet .lg-photo.lx-big::after{background:linear-gradient(180deg,#0005 0,#0000 30%,#0000 70%,#0007)}
html body.eav .lx-sheet .lx-x{position:absolute!important;top:calc(10px + env(safe-area-inset-top))!important;right:10px!important;z-index:3!important;width:40px!important;height:40px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:rgba(0,0,0,.55)!important;color:#fff!important;font-size:18px!important;font-weight:800!important;cursor:pointer}
.lx-cat{position:absolute;left:12px;top:calc(12px + env(safe-area-inset-top));z-index:3;padding:4px 10px;border-radius:999px;background:#fffe;color:#10233f;font-size:12.5px;font-weight:800}
.lx-body{padding:16px 18px 8px}
html body .lx-sheet .lx-title{margin:0 0 8px!important;font-size:24px!important;line-height:1.2!important;font-weight:800!important;color:#10233f!important}
.lx-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.lx-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:#eef2f6;color:#37474f;font-size:13px;font-weight:700}
.lx-chip.lx-sta i{width:9px;height:9px}
.lx-cosa{margin:0 0 14px;font-size:15.5px;line-height:1.55;color:#37474f}
.lx-info{display:grid;gap:2px;margin:0 0 10px;padding:4px 12px;border-radius:14px;background:#f4f7fa}
.lx-row{display:grid;grid-template-columns:30px 1fr;gap:8px;padding:10px 0;border-bottom:1px solid #e3e9f0}
.lx-row:last-child{border-bottom:0}
.lx-ico{font-size:19px;line-height:1.35}
.lx-row small{display:block;font-size:11.5px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:#78909c}
.lx-row p{margin:2px 0 0;font-size:14.5px;line-height:1.45;color:#263238}
.lx-src{display:block;margin:0 0 6px;font-size:11.5px;color:#90a4ae}
.lx-az{position:sticky;bottom:0;display:flex;gap:8px;padding:12px 18px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e3e9f0}
html body.eav .lx-sheet .lx-go{flex:1 1 auto!important;min-height:50px!important;margin:0!important;padding:0 14px!important;border:0!important;border-radius:14px!important;background:#1565c0!important;color:#fff!important;font-size:15.5px!important;font-weight:800!important;cursor:pointer}
html body.eav .lx-sheet .lx-sec{flex:none;display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 14px;border:1px solid #cfd8e3;border-radius:14px;background:#fff;color:#10233f;font-size:14px;font-weight:800;text-decoration:none;white-space:nowrap}
@media (min-width:760px){
 .lx-row-c{grid-auto-flow:row;grid-template-columns:repeat(3,1fr);overflow:visible;margin:0;padding:0 0 4px}
 .lx-grid{grid-template-columns:repeat(3,1fr)}
 html body.eav #trainLive .lx-all{display:none!important}
 .lx-grid .lx-card .lg-photo.lx-ph{height:150px}
 .lx-chipbar{flex-wrap:wrap;overflow:visible;margin:0 0 16px;padding:0}
 .eav-luoghi .lg-photo.hero{height:200px}
 .lx-sheet .lg-photo.lx-big{height:340px}}
/* 🟢/🔴 connessione */
.eav-net{display:inline-flex;align-items:center;gap:5px;margin-left:8px;padding:1px 7px 1px 5px;border-radius:999px;background:rgba(255,255,255,.12);vertical-align:1px;letter-spacing:.04em}
.eav-net i{width:9px;height:9px;border-radius:50%;background:#43d17a;box-shadow:0 0 0 2px rgba(67,209,122,.3)}
.eav-net b{font-size:10px;font-weight:800;color:#c8f5d8}
.eav-net.off i{background:#ff5252;box-shadow:0 0 0 2px rgba(255,82,82,.35);animation:eavNet 1.2s ease-in-out infinite}
.eav-net.off b{color:#ffc9c9}
@keyframes eavNet{50%{opacity:.35}}
.eav-offline{display:grid;gap:2px;padding:10px 16px;background:#c62828;color:#fff;text-align:center}
.eav-offline[hidden]{display:none}
.eav-offline b{font-size:15px}.eav-offline span{font-size:13px;opacity:.95}
/* 🏛️ Da visitare · per paese */
.lx-seg{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:0 0 10px;padding:4px;border-radius:14px;background:#e8eef4}
html body.eav #trainLive .lx-seg-b{min-height:42px!important;margin:0!important;padding:0 8px!important;border:0!important;border-radius:11px!important;background:transparent!important;color:#455a64!important;font-size:15px!important;font-weight:800!important;box-shadow:none!important}
html body.eav #trainLive .lx-seg-b.on{background:#fff!important;color:#10233f!important;box-shadow:0 1px 4px rgba(18,58,92,.18)!important}
html body.eav #trainLive .lx-town{display:grid!important;grid-template-columns:48px 1fr auto!important;gap:10px!important;align-items:center!important;width:100%!important;min-height:0!important;margin:0 0 8px!important;padding:0!important;border:0!important;background:none!important;color:inherit!important;text-align:left!important;box-shadow:none!important;font:inherit!important;cursor:pointer}
.lx-town{display:grid;grid-template-columns:48px 1fr auto;gap:10px;align-items:center;margin:0 0 8px}
.lx-town .lg-photo.lx-av{width:48px;height:48px;border-radius:50%;box-shadow:0 0 0 2px #fff,0 2px 6px rgba(0,0,0,.2)}
.lx-town .lg-photo.lx-av::after{display:none}
.lx-town .lg-photo.noimg::before{font-size:22px}
.lx-town-t{display:grid;min-width:0}
.lx-town-t b{font-size:18px;font-weight:800;color:#10233f;line-height:1.2}
.lx-town-t small{font-size:13px;color:#607d8b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lx-town-n{font-size:13px;font-weight:800;color:#1565c0;white-space:nowrap}
div.lx-town .lx-town-n{color:#78909c}
.lx-town-az{display:grid;gap:8px;margin:0 0 16px}
html body.eav #trainLive .lx-town-go{min-height:48px!important;margin:0!important;padding:0 14px!important;border:0!important;border-radius:14px!important;background:#1565c0!important;color:#fff!important;font-size:15px!important;font-weight:800!important}
/* 🕒 Quando parti: adesso (live) o programmato */
.rt-seg{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:14px;background:#e8eef4}
html body.eav #trainLive .rt-seg-b{min-height:44px!important;margin:0!important;padding:0 8px!important;border:0!important;border-radius:11px!important;background:transparent!important;color:#455a64!important;font-size:15px!important;font-weight:800!important;box-shadow:none!important}
html body.eav #trainLive .rt-seg-b.on{background:#fff!important;color:#10233f!important;box-shadow:0 1px 4px rgba(18,58,92,.18)!important}
html body.eav #trainLive .rt-seg-b:first-child.on{color:#1b5e20!important}
.rt-giorni{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 8px}
html body.eav #trainLive .rt-g{min-height:44px!important;margin:0!important;padding:0 16px!important;border:2px solid #cfd8e3!important;border-radius:12px!important;background:#fff!important;color:#10233f!important;font-weight:800!important;box-shadow:none!important}
html body.eav #trainLive .rt-g.on{background:#10233f!important;border-color:#10233f!important;color:#fff!important}
html body.eav #trainLive .rt-date{flex:1 1 150px!important;min-width:0!important;min-height:44px!important;margin:0!important;padding:0 10px!important;border:2px solid #cfd8e3!important;border-radius:12px!important;background:#fff!important;color:#10233f!important;font-size:16px!important;font-weight:700!important}
.rt-dalle{flex:none;font-weight:800;color:#455a64;font-size:14px}
.rt-progbox{display:grid;gap:4px;padding:12px 14px;border-radius:14px;background:#ede7f6;border:1px solid #d1c4e9}
.rt-progbox b{color:#4527a0;font-size:15px}.rt-progbox span{color:#4a4a6a;font-size:13.5px}
.rt-progbox .rt-fest{color:#8d4a00;font-weight:700}
.rt-out>.rt-progbox{grid-column:1/-1}
html body.eav .lx-sheet .lx-prog{flex:1 1 auto!important;min-height:50px!important;margin:0!important;padding:0 12px!important;border:2px solid #1565c0!important;border-radius:14px!important;background:#fff!important;color:#1565c0!important;font-size:15px!important;font-weight:800!important;cursor:pointer}
html body.eav .lx-sheet .lx-sec.lx-ico-b{width:50px;padding:0;font-size:20px}
html body.eav #trainLive .rt-strike{display:block!important;width:100%!important;min-height:0!important;margin:4px 0 0!important;padding:8px 10px!important;border:1px solid #ef9a9a!important;border-radius:10px!important;background:#ffebee!important;color:#b71c1c!important;font-size:13.5px!important;font-weight:800!important;text-align:left!important;box-shadow:none!important}
@media (min-width:760px){
 .rt-form{grid-template-columns:1fr!important}
 .rt-ora{display:grid;grid-template-columns:auto 320px;gap:6px 12px;align-items:center}
 .rt-ora>.rt-lab{grid-column:1/-1}
 .rt-ora>.rt-seg{grid-column:1/2;max-width:420px}
 .rt-ora>.rt-giorni{grid-column:1/2;margin:0}
 .rt-ora>.rt-ora-w{grid-column:2/3;grid-row:3}
}
.rt-altri{display:grid;gap:8px}
.rt-out>.rt-altri{grid-column:1/-1}
html body.eav #trainLive .rt-altri-b{min-height:48px!important;margin:0!important;padding:0 14px!important;border:2px solid #1565c0!important;border-radius:14px!important;background:#fff!important;color:#1565c0!important;font-size:15px!important;font-weight:800!important;box-shadow:none!important}
/* 🚆 treni già partiti: "Sei già salito?" */
.rt-incorsa{display:grid;gap:8px;padding:12px 14px;border-radius:14px;background:#e8f5e9;border:1px solid #a5d6a7}
.rt-out>.rt-incorsa{grid-column:1/-1}
.rt-incorsa>b{color:#1b5e20;font-size:15px}
.rt-ic{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-radius:12px;background:#fff;border-left:5px solid var(--c)}
.rt-ic-t{display:grid;min-width:0}.rt-ic-t strong{color:#10233f}.rt-ic-t span{font-size:13px;color:#455a64}
html body.eav #trainLive .rt-incorsa .rt-sono{margin:0!important}
.vg-sub{display:block;margin:4px 0 2px;font-size:13.5px;color:#455a64}
/* ⚠️ treno sbagliato */
.vg-sbagliato{display:grid;gap:6px;margin:0 0 12px;padding:12px 14px;border-radius:14px;background:#fff3e0;border:2px solid #fb8c00}
.vg-sbagliato b{color:#bf360c;font-size:17px}.vg-sbagliato span{color:#4e342e;font-size:14.5px;line-height:1.45}.vg-sbagliato small{color:#6d4c41}
html body.eav .vg .vg-cand-i.no{border-left-color:#fb8c00!important;background:#fff8e1!important}
html body.eav .vg .vg-btn.vg-check{flex:none;width:100%;margin:0 0 10px;border-color:#fb8c00;color:#bf360c}
/* 🌍 lingua */
html body.eav .eav-lang .eav-act-ico{font-size:20px}
html body.eav dialog.eav-lang-dlg{width:min(340px,92vw)!important;padding:18px 16px 14px!important;border:0!important;border-radius:18px!important;background:#fff!important;color:#1f2d3a!important;box-shadow:0 20px 60px rgba(0,0,0,.35)!important;font:15px system-ui,-apple-system,"Segoe UI",Roboto,sans-serif!important}
html body.eav dialog.eav-lang-dlg::backdrop{background:rgba(10,20,30,.55)}
html body.eav .eav-lang-dlg h3{margin:0 0 12px!important;font-size:18px!important;color:#10233f!important;font-weight:800!important}
html body.eav .eav-lang-dlg .eav-lang-i{display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;min-height:52px!important;margin:0 0 8px!important;padding:0 14px!important;border:2px solid #dbe4ee!important;border-radius:14px!important;background:#fff!important;color:#1f2d3a!important;font-size:17px!important;font-weight:700!important;text-align:left!important;cursor:pointer}
html body.eav .eav-lang-dlg .eav-lang-i span{font-size:26px}
html body.eav .eav-lang-dlg .eav-lang-i.on{border-color:#1565c0!important;background:#e3f2fd!important}
html body.eav .eav-lang-dlg .eav-lang-x{position:absolute!important;top:10px!important;right:10px!important;width:36px!important;height:36px!important;min-height:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#eef2f6!important;color:#37474f!important;font-size:16px!important;cursor:pointer}
.eav-lang-tip{position:fixed;left:12px;right:12px;bottom:calc(14px + env(safe-area-inset-bottom));z-index:60;display:flex;flex-wrap:wrap;align-items:center;gap:8px;max-width:520px;margin:0 auto;padding:12px 14px;border-radius:16px;background:#10233f;color:#fff;box-shadow:0 10px 30px rgba(0,0,0,.35);font:600 15px system-ui,sans-serif}
.eav-lang-tip span{flex:1 1 100%}
html body.eav .eav-lang-tip button{flex:1 1 auto;min-height:44px;margin:0;padding:0 14px;border:0;border-radius:12px;background:#fff;color:#10233f;font:800 15px system-ui,sans-serif;cursor:pointer}
html body.eav .eav-lang-tip button.no{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.5)}
/* 🔑 schede per collega / pubblico */
html body.eav .eav-tabs button[hidden]{display:none!important}
html body.eav .eav-tabs .eav-key{background:transparent;border:1px dashed rgba(255,255,255,.45);color:#dbeaf7}
body.eav:not([data-schede~="fare"]) .rt-price-more{display:none!important}
html body.eav dialog.eav-key-dlg{width:min(360px,92vw)!important;padding:20px 16px 16px!important;border:0!important;border-radius:18px!important;background:#fff!important;color:#1f2d3a!important;box-shadow:0 20px 60px rgba(0,0,0,.35)!important;font:15px system-ui,-apple-system,"Segoe UI",Roboto,sans-serif!important}
html body.eav dialog.eav-key-dlg::backdrop{background:rgba(10,20,30,.55)}
html body.eav .eav-key-dlg h3{margin:0 40px 10px 0!important;font-size:19px!important;color:#10233f!important;font-weight:800!important}
.eav-key-msg{margin:0 0 12px;line-height:1.4}.eav-key-msg.err{color:#c62828;font-weight:700}
.eav-key-small{margin:10px 0 0;font-size:12.5px;color:#607d8b}
.eav-key-dlg form{display:flex;gap:8px}
html body.eav .eav-key-dlg input{flex:1 1 auto!important;min-width:0!important;min-height:48px!important;margin:0!important;padding:0 12px!important;border:2px solid #dbe4ee!important;border-radius:12px!important;background:#fff!important;color:#1f2d3a!important;font:700 17px ui-monospace,monospace!important;letter-spacing:1px;text-transform:uppercase}
html body.eav .eav-key-dlg input:focus{border-color:#1565c0!important;outline:0}
html body.eav .eav-key-dlg form button,html body.eav .eav-key-dlg .eav-key-ok{flex:none!important;min-height:48px!important;margin:0!important;padding:0 18px!important;border:0!important;border-radius:12px!important;background:#1565c0!important;color:#fff!important;font:800 16px system-ui,sans-serif!important;cursor:pointer}
html body.eav .eav-key-dlg .eav-key-ok{width:100%!important;margin-top:8px!important}
html body.eav .eav-key-dlg form button:disabled{opacity:.6}
html body.eav .eav-key-dlg .eav-key-x{position:absolute!important;top:12px!important;right:12px!important;width:36px!important;height:36px!important;min-height:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#eef2f6!important;color:#37474f!important;font-size:16px!important;cursor:pointer}
.eav-key-new{margin:0 0 6px;padding:0;list-style:none;display:grid;gap:6px}
.eav-key-new li{padding:10px 12px;border-radius:12px;background:#e8f5e9;color:#1b5e20;font-weight:800}
body.eav:not([data-schede~="strike"]) .sc-banner{display:none!important}
/* 🚆 Torna al viaggio: pulsante fisso mentre si gira nell'app durante il viaggio */
html body.eav .vg-pill{position:fixed!important;left:12px!important;right:12px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;z-index:55!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px!important;max-width:520px!important;min-height:56px!important;margin:0 auto!important;padding:9px 18px 9px 52px!important;border:0!important;border-radius:18px!important;background:#2e7d32!important;color:#fff!important;font:800 16px system-ui,sans-serif!important;text-align:left!important;box-shadow:0 10px 28px rgba(0,0,0,.35)!important;cursor:pointer!important}
html body.eav .vg-pill[hidden]{display:none!important}
html body.eav .vg-pill::before{content:"↩";position:absolute;left:14px;top:50%;width:28px;height:28px;margin-top:-14px;border-radius:50%;background:rgba(255,255,255,.22);font-size:17px;line-height:28px;text-align:center}
html body.eav .vg-pill small{font:600 13px system-ui,sans-serif;opacity:.95;line-height:1.3}
body.eav.vg-con-pill{padding-bottom:92px}
body.eav.vg-con-pill .eav-lang-tip{bottom:calc(84px + env(safe-area-inset-bottom))}
/* 🧭 Dove vado semplificata: passi numerati, treno in evidenza, il resto sotto */
.rt-intro{margin:2px 0 6px!important}
.rt-lab .rt-n{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin-right:7px;border-radius:50%;background:#10233f;color:#fff;font-size:12.5px;font-weight:800;vertical-align:1px}
#trainLive .eav-route .rt-lab{font-size:14.5px;color:#10233f}
.rt-mete{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:-2px 0 2px}
.rt-mete-l{flex-basis:100%;font-size:12.5px;font-weight:700;color:#607d8b}
html body.eav #trainLive .rt-meta{min-height:36px!important;margin:0!important;padding:4px 12px!important;border:1px solid #bbdefb!important;border-radius:999px!important;background:#e3f2fd!important;color:#0d47a1!important;font-size:13.5px!important;font-weight:700!important;cursor:pointer}
.rt-sez{grid-column:1/-1;margin:6px 0 -2px;font-size:15px;font-weight:800;color:#10233f}
.rt-out>.rt-card.first{grid-column:1/-1}
details.rt-incorsa{display:block;padding:0;background:#f1f8e9;border:1px solid #c5e1a5}
details.rt-incorsa>summary{padding:12px 14px;cursor:pointer;font-weight:800;color:#33691e;font-size:14px;list-style-position:inside}
details.rt-incorsa[open]{padding-bottom:10px}
details.rt-incorsa>.rt-ic{margin:0 10px 8px}
.rt-out>.rt-price{grid-column:1/-1;padding:10px 14px}
.rt-price-main b{font-size:24px}
.rt-oppure{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:14px 0 4px;padding-top:12px;border-top:1px dashed #cfd8e3}
.rt-opp-l{font-size:13px;font-weight:800;color:#607d8b;margin-right:2px}
html body.eav #trainLive .rt-opp-b{flex:1 1 140px!important;min-height:44px!important;margin:0!important;padding:6px 12px!important;border:2px solid #10233f!important;border-radius:12px!important;background:#fff!important;color:#10233f!important;font-size:14.5px!important;font-weight:800!important;cursor:pointer}
details.rt-nota{margin:10px 0 0;font-size:12.5px;color:#607d8b}
details.rt-nota>summary{cursor:pointer;font-weight:700;text-align:center;list-style:none}
details.rt-nota>summary::-webkit-details-marker{display:none}
details.rt-nota>p{margin:6px 0 0;line-height:1.45;text-align:center}
/* altri orari: righe compatte (orari, binario e avvisi sulla stessa riga) */
html body.eav #trainLive .rt-card:not(.first) .rt-head{display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;padding:10px 14px!important;gap:6px 10px!important}
.rt-card:not(.first) .rt-h-info{grid-column:1/-1;grid-row:2}
.rt-card:not(.first) .rt-h-time{flex:0 1 auto}
.rt-card:not(.first) .rt-h-time b{font-size:19px}
.rt-card:not(.first) .rt-h-bin{grid-column:2;grid-row:1;width:auto;height:30px;margin-left:0;padding:0 10px;flex-direction:row;gap:5px;border-radius:999px;box-shadow:none}
.rt-card:not(.first) .rt-h-bin small{font-size:10.5px}.rt-card:not(.first) .rt-h-bin b{font-size:16px!important;margin:0}
.rt-card:not(.first) .rt-h-bin.wait{display:none}
.rt-card:not(.first) .rt-h-info span{padding:2px 8px;font-size:12px}
/* scheda Orario: sotto il nome "Napoli – Sorrento" (c'è solo quella linea) */
.eav-tabs button.con-sub{display:grid!important;grid-template-columns:auto auto;justify-content:center;align-items:center;column-gap:6px;row-gap:1px}
.eav-tabs .tab-sub{grid-column:1/-1;font-size:10.5px;font-weight:700;line-height:1.1;opacity:.85;text-align:center;white-space:nowrap}
@media (max-width:600px){
 .eav-tabs button.con-sub{grid-template-columns:auto;justify-items:center}
 .eav-tabs .tab-sub{font-size:8.5px;white-space:nowrap;letter-spacing:-.1px}
}
/* 🚄 FS/Italo in stile Trenitalia: stazione, linguette Partenze · Arrivi · Coincidenze, tabellone a righe */
.fs-intro{margin:2px 0 8px!important}
.fs-staz{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0 0 10px}
html body.eav #trainLive .fs-staz-b{display:grid!important;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:8px;align-items:center;min-height:0!important;margin:0!important;padding:8px 10px!important;border:2px solid #cfd8e3!important;border-radius:12px!important;background:#fff!important;color:#10233f!important;text-align:left!important;cursor:pointer}
.fs-staz-b>i{grid-row:1/3;font-style:normal;font-size:20px}
.fs-staz-b>b{font-size:14px;font-weight:900;line-height:1.15}
.fs-staz-b>small{font-size:11px;font-weight:700;opacity:.75;line-height:1.2}
html body.eav #trainLive .fs-staz-b.on{border-color:#10233f!important;background:#10233f!important;color:#fff!important}
.fs-tabs{display:flex;margin:0 0 10px;border-bottom:2px solid #e3e9f0}
html body.eav #trainLive .fs-tab{flex:1 1 0!important;min-height:44px!important;margin:0 0 -2px!important;padding:6px 4px!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;background:transparent!important;color:#607d8b!important;font-size:15px!important;font-weight:800!important;cursor:pointer}
html body.eav #trainLive .fs-tab.on{color:#c8102e!important;border-bottom-color:#c8102e!important}
.fs-search-s{margin:0 0 10px!important}
html body.eav #trainLive .fs-search-s .fs-q{min-height:42px;border:1px solid #cfd8e3;font-size:15px;background:#f7f9fb}
html body.eav #trainLive .fs-search-s .fs-go{min-height:42px!important;background:#10233f!important}
.fs-cats{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none;padding-bottom:2px;margin:0 0 8px}
.fs-cats::-webkit-scrollbar{display:none}
.fs-cats .tt-kind{flex:none}
.fs-row{grid-template-columns:58px 1fr auto;padding:9px 12px}
.fs-row .fs-dest{font-size:15.5px;font-weight:800}
.fs-row .fs-top{gap:5px}
.fs-bin.wait b{color:#b0bec5}
@media (min-width:760px){.fs-list{display:grid;grid-template-columns:1fr 1fr;column-gap:10px}.fs-list>p{grid-column:1/-1}}
/* ===== stile app: testata sottile e barra delle schede in basso (telefono) ===== */
.eav-brand h1{margin:0;font-size:20px;font-weight:800;letter-spacing:-.01em}
.eav-brand small{letter-spacing:.02em;font-size:12px;font-weight:700;color:#9fd0ff}
.eav-bnav{display:none}
@media (max-width:760px){
 .eav-top{padding:calc(8px + env(safe-area-inset-top)) 12px 8px}
 .eav-brand{gap:10px}
 .eav-brand img{width:34px;height:34px}
 .eav-brand h1{font-size:18px}
 .eav-brand small{font-size:11px}
 .eav-actions{gap:4px}
 html body.eav .eav-act{min-width:40px;min-height:40px;width:40px;height:40px;padding:0;border-radius:12px}
 html body.eav .eav-act small{display:none}
 #tabs.eav-tabs{display:none!important}
 .sc-banner{padding:7px 12px;gap:8px;border-bottom-width:2px}
 .sc-b-ico{font-size:18px}.sc-b-tx b{font-size:13.5px}.sc-b-tx small{font-size:11px}
 .eav-bnav{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;position:fixed;left:0;right:0;bottom:0;z-index:40;padding:4px 4px calc(4px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dfe6ee;box-shadow:0 -4px 18px rgba(18,58,92,.10)}
 html body.eav .eav-bn{position:relative;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;min-width:0!important;min-height:54px!important;margin:0!important;padding:4px 2px!important;border:0!important;border-radius:12px!important;background:transparent!important;color:#5f7386!important;font:inherit!important;cursor:pointer}
 html body.eav .eav-bn[hidden]{display:none!important}
 .eav-bn-ico{font-size:21px;line-height:1;filter:grayscale(.6);opacity:.85}
 .eav-bn-lab{font-size:11px;font-weight:700;line-height:1.1;text-align:center;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 html body.eav .eav-bn.on{color:#10233f!important}
 .eav-bn.on .eav-bn-ico{filter:none;opacity:1;transform:translateY(-1px)}
 .eav-bn.on .eav-bn-lab{font-weight:900}
 .eav-bn.on::before{content:"";position:absolute;top:0;left:28%;right:28%;height:3px;border-radius:0 0 3px 3px;background:#e0313f}
 .eav-bn.has-badge::after{content:attr(data-badge);position:absolute;top:2px;left:55%;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:#e53935;color:#fff;font-size:10.5px;font-weight:800;line-height:17px;text-align:center}
 body.eav.has-bnav{padding-bottom:calc(70px + env(safe-area-inset-bottom))}
 html body.eav.has-bnav .vg-pill{bottom:calc(74px + env(safe-area-inset-bottom))!important}
 body.eav.has-bnav .eav-lang-tip{bottom:calc(74px + env(safe-area-inset-bottom))}
 body.eav.has-bnav.vg-con-pill .eav-lang-tip{bottom:calc(146px + env(safe-area-inset-bottom))}
 body.eav.has-bnav.vg-con-pill{padding-bottom:calc(140px + env(safe-area-inset-bottom))}
}
/* menu "Altro": foglio dal basso */
html body.eav dialog.eav-altro{position:fixed;inset:auto 0 0 0;width:100%;max-width:560px;max-height:85vh;margin:0 auto;padding:0 0 calc(10px + env(safe-area-inset-bottom))!important;border:0!important;border-radius:20px 20px 0 0!important;background:#fff!important;color:#1f2d3a!important;box-shadow:0 -10px 40px rgba(0,0,0,.3)!important;overflow:auto}
html body.eav dialog.eav-altro::backdrop{background:rgba(10,20,30,.5)}
.eav-altro-h{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 6px}
.eav-altro-t{font-size:18px;font-weight:900;color:#10233f}
html body.eav .eav-altro-x{width:36px!important;height:36px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#eef2f6!important;color:#37474f!important;font-size:16px!important;cursor:pointer}
.eav-altro-l{display:grid;padding:4px 10px 6px}
html body.eav .eav-altro-i{display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;min-height:62px!important;margin:0!important;padding:8px 8px!important;border:0!important;border-bottom:1px solid #eef2f6!important;border-radius:0!important;background:transparent!important;color:#1f2d3a!important;text-align:left!important;cursor:pointer}
html body.eav .eav-altro-i:last-child{border-bottom:0!important}
html body.eav .eav-altro-i.on{background:#eef5fb!important;border-radius:12px!important}
.eav-altro-ico{display:inline-flex;align-items:center;justify-content:center;flex:none;width:42px;height:42px;border-radius:12px;background:#eef3f8;font-size:21px}
.eav-altro-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.eav-altro-txt b{font-size:15.5px;font-weight:800;color:#10233f}
.eav-altro-txt small{font-size:12.5px;color:#607d8b;line-height:1.3}
.eav-altro-go{flex:none;font-size:22px;color:#b0bec5}
.eav-altro-badge{flex:none;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#e53935;color:#fff;font-style:normal;font-size:12px;font-weight:800;line-height:22px;text-align:center}
html body.eav .eav-altro-i.key .eav-altro-ico{background:#fff8e1}
html body.eav .eav-top .eav-brand small{color:#9fd0ff!important}
/* Viaggio: partenza e arrivo in un unico riquadro (come le app dei treni) */
.rt-recenti{display:flex;flex-wrap:wrap;gap:6px;margin:-2px 0 2px}
html body.eav #trainLive .rt-rec{min-height:36px!important;margin:0!important;padding:4px 12px!important;border:1px solid #cfd8e3!important;border-radius:999px!important;background:#fff!important;color:#10233f!important;font-size:13.5px!important;font-weight:700!important;cursor:pointer}
@media (max-width:760px){
 .rt-coppia{grid-template-columns:1fr 46px!important;gap:8px 8px!important;padding:12px;border:1px solid #dfe6ee;border-radius:16px;background:#f6f9fc}
 .rt-coppia>.rt-field:first-child{grid-column:1;grid-row:1}
 .rt-coppia>.rt-field:last-child{grid-column:1;grid-row:2}
 html body.eav #trainLive .rt-coppia>.rt-swap{grid-column:2!important;grid-row:1/3!important;align-self:center!important;justify-self:center!important;margin:18px 0 0!important;background:#fff!important}
 #trainLive .eav-route .rt-coppia .rt-in{background:#fff}
}
/* 🕘 Quando passa */
.ps-form{display:grid;gap:12px;margin:8px 0 12px}
.ps-field{position:relative}
.ps-ora{display:grid;grid-template-columns:1fr auto;gap:6px 10px;align-items:center}
.ps-ora>.rt-lab{grid-column:1/-1;margin:0}
.ps-ora>.rt-time{grid-column:1;max-width:160px;min-height:46px;padding:6px 10px;border:2px solid #cfd8e3;border-radius:12px;font:inherit;font-size:17px;font-weight:800}
.ps-chips{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px}
html body.eav #trainLive .ps-chip{min-height:36px!important;margin:0!important;padding:4px 12px!important;border:1px solid #cfd8e3!important;border-radius:999px!important;background:#fff!important;color:#10233f!important;font-size:13.5px!important;font-weight:800!important;cursor:pointer}
html body.eav #trainLive .ps-chip.on{background:#10233f!important;border-color:#10233f!important;color:#fff!important}
.ps-tf{display:flex;gap:6px}.ps-tf .rt-in{flex:1;min-width:0}
html body.eav #trainLive .ps-go{flex:none;min-height:46px!important;margin:0!important;padding:0 18px!important;border:0!important;border-radius:12px!important;background:#e0313f!important;color:#fff!important;font-weight:800!important;cursor:pointer}
html body.eav #trainLive .ps-x{min-height:0!important;margin:6px 0 0!important;padding:4px 10px!important;border:0!important;background:transparent!important;color:#c62828!important;font-size:13px!important;font-weight:800!important;cursor:pointer}
.ps-out{display:grid;gap:10px}
.ps-h{margin:4px 0 0;font-size:15px;font-weight:800;color:#10233f}
.ps-dirs{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none}.ps-dirs .tt-kind{flex:none}
.ps-list{display:grid;gap:6px}
html body.eav #trainLive .ps-row{display:grid!important;grid-template-columns:62px 1fr auto;align-items:center;gap:10px;width:100%!important;min-height:58px!important;margin:0!important;padding:8px 12px!important;border:1px solid #e3e9f0!important;border-left:6px solid var(--c)!important;border-radius:12px!important;background:#fff!important;color:#1f2d3a!important;text-align:left!important;cursor:pointer}
.ps-time{display:flex;flex-direction:column;align-items:center}.ps-time b{font-size:20px;font-weight:900;color:#10233f;font-variant-numeric:tabular-nums}
.ps-era{font-size:11px;color:#90a4ae;text-decoration:line-through}
.ps-mid{min-width:0;display:flex;flex-direction:column;gap:2px}.ps-mid b{font-size:15px;color:#10233f}.ps-mid small{font-size:12.5px;color:#607d8b}
.ps-tag{font-size:12px;font-weight:800;color:#2e7d32;white-space:nowrap}.ps-tag.late{color:#d84315}
.ps-card{padding:14px;border:2px solid var(--c);border-radius:16px;background:#fff;display:grid;gap:6px}
.ps-card-t{font-size:17px;color:#10233f}.ps-card-s{font-size:13px;color:#607d8b}
.ps-live{margin:0;font-size:13px;font-weight:800;color:#2e7d32}.ps-live.late{color:#d84315}
.ps-warn{margin:0;font-weight:700;color:#8d4a00}
.ps-big{display:grid;justify-items:start;gap:2px;padding:12px 14px;border-radius:14px;background:#e3f2fd}
.ps-big small{font-size:13px;font-weight:800;color:#1565c0}.ps-big b{font-size:34px;line-height:1.05;font-weight:900;color:#0d47a1;font-variant-numeric:tabular-nums}
.ps-late{font-size:13px;font-weight:800;color:#d84315}.ps-dir{font-size:13px;color:#455a64;font-weight:700}
.ps-fermate summary{cursor:pointer;font-weight:800;color:#10233f;padding:4px 0}
.ps-stops{list-style:none;margin:6px 0 0;padding:0;display:grid}
.ps-stops li{display:flex;gap:12px;padding:5px 4px;border-bottom:1px solid #eef2f6;font-size:14px}
.ps-stops li.on{background:#fff8e1;font-weight:900;border-radius:8px}
.ps-t{font-variant-numeric:tabular-nums;font-weight:800;color:#455a64;min-width:44px}
html body.eav #trainLive .ps-dove{justify-self:start;min-height:42px!important;margin:4px 0 0!important;padding:0 14px!important;border:2px solid #10233f!important;border-radius:12px!important;background:#fff!important;color:#10233f!important;font-weight:800!important;cursor:pointer}
@media (min-width:760px){.ps-form{grid-template-columns:1fr 1fr;align-items:start}.ps-treno{grid-column:1/-1}}
.ps-big.gia{background:#eceff1}.ps-big.gia small{color:#546e7a}.ps-big.gia b{color:#455a64}
.ps-dom{font-size:13.5px;font-weight:800;color:#1565c0}
.ps-nota{margin:0;padding:8px 12px;border-radius:12px;background:#fff8e1;color:#6d4c00;font-size:13px;font-weight:600}
.ps-via{align-self:flex-start;padding:1px 8px;border-radius:999px;background:#ede7f6;color:#4527a0;font-size:11.5px;font-weight:800}
/* 🗺️ Mappa delle linee */
.mp-svg{display:block;width:100%;max-width:560px;height:auto;margin:6px auto 4px;padding:6px;border-radius:16px;background:#f6f9fc;border:1px solid #e3e9f0;box-sizing:border-box}
.mp-line{fill:none;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;opacity:.45}
.mp-line.on{stroke-width:9;opacity:1}
.mp-hit{fill:none;stroke:transparent;stroke-width:22;cursor:pointer}
.mp-bus{fill:none;stroke:#90a4ae;stroke-width:3;stroke-dasharray:6 6}
.mp-bus-t{font:700 11px system-ui,sans-serif;fill:#78909c}
.mp-pt circle{fill:#fff;stroke:#10233f;stroke-width:3}
.mp-pt text{font:800 11.5px system-ui,sans-serif;fill:#10233f;paint-order:stroke;stroke:#f6f9fc;stroke-width:3px}
.mp-chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 10px}
html body.eav #trainLive .mp-chip{display:inline-flex!important;align-items:center;gap:7px;min-height:38px!important;margin:0!important;padding:4px 12px!important;border:2px solid #dfe6ee!important;border-radius:999px!important;background:#fff!important;color:#10233f!important;font-size:13px!important;font-weight:800!important;cursor:pointer}
.mp-chip i{width:14px;height:14px;border-radius:50%;background:var(--c)}
html body.eav #trainLive .mp-chip.on{border-color:var(--c)!important;background:color-mix(in srgb,var(--c) 12%,#fff)!important}
.mp-h{margin:4px 0 6px;font-size:15px;font-weight:800;color:#10233f}
.mp-nota{margin:0 0 8px;padding:8px 12px;border-radius:12px;background:#fff8e1;color:#6d4c00;font-size:13px;font-weight:700}
.mp-list{list-style:none;margin:0;padding:0}
.mp-st{position:relative}
.mp-st::before{content:"";position:absolute;left:21px;top:0;bottom:0;width:6px;background:var(--c)}
.mp-st:first-child::before{top:50%}.mp-st:last-child::before{bottom:calc(100% - 27px)}
html body.eav #trainLive .mp-st-b{position:relative;display:flex!important;align-items:center;gap:12px;width:100%!important;min-height:54px!important;margin:0!important;padding:6px 8px 6px 10px!important;border:0!important;border-radius:12px!important;background:transparent!important;color:#1f2d3a!important;text-align:left!important;cursor:pointer}
.mp-dot{flex:none;width:16px;height:16px;margin-left:3px;border-radius:50%;background:#fff;border:4px solid var(--c);box-sizing:border-box;z-index:1}
.mp-st.capo .mp-dot{width:22px;height:22px;margin-left:0;background:var(--c)}
.mp-st-n{flex:1;min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:6px}.mp-st-n b{font-size:15px}
.mp-st.capo .mp-st-n b{font-size:16px;font-weight:900}
.mp-cambi{display:inline-flex;gap:3px}.mp-cambi i{width:11px;height:11px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #cfd8e3}
.mp-star{font-size:14px}.mp-go{color:#90a4ae;font-size:13px}
.mp-st.open>.mp-st-b{background:#eef5fb!important}
.mp-az{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 10px 44px}
html body.eav #trainLive .mp-a{min-height:40px!important;margin:0!important;padding:4px 12px!important;border:2px solid #10233f!important;border-radius:12px!important;background:#fff!important;color:#10233f!important;font-size:13.5px!important;font-weight:800!important;cursor:pointer}
.mp-info{flex-basis:100%;font-size:12.5px;color:#546e7a;font-weight:700}
@media (min-width:760px){.mp-list{columns:2;column-gap:20px}.mp-st{break-inside:avoid}}
.mp-vesuvio{fill:#c9b29b;opacity:.55}
.mp-vesuvio-t{font:800 12px system-ui,sans-serif;fill:#8d6e63;font-style:italic}
/* schede in alto (PC): se non entrano tutte si scorre partendo dalla prima */
.eav-tabs{justify-content:safe center}
.ps-filtro{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;padding:8px 12px;border-radius:12px;background:#ede7f6;color:#4527a0;font-size:13px;font-weight:700}
html body.eav #trainLive .ps-filtro-x{min-height:32px!important;margin:0 0 0 auto!important;padding:2px 12px!important;border:0!important;border-radius:999px!important;background:#4527a0!important;color:#fff!important;font-size:12.5px!important;font-weight:800!important;cursor:pointer}
/* percorso con i colori della mappa: verde via Scafati, rosso via Ottaviano */
.ps-via.sc{background:#e6f4ea;color:#1e7b34}
.ps-via.ot{background:#fdecea;color:#c62828}
/* direzioni evidenziate con il colore della linea */
html body.eav #trainLive .ps-dirc{display:inline-flex!important;align-items:center;gap:7px;border:2px solid var(--c)!important;background:color-mix(in srgb,var(--c) 10%,#fff)!important;color:#1f2d3a!important;font-weight:800!important}
.ps-dirc i{flex:none;width:12px;height:12px;border-radius:50%;background:var(--c)}
html body.eav #trainLive .ps-dirc.on{background:var(--c)!important;color:#fff!important}
.ps-dirc.on i{background:#fff}
/* scheda Bus notturni: niente scelta treni/bus (ci sono solo i bus) */
.eav-timetable .tt-modes,.eav-timetable .tt-tiles,.eav-timetable>.tt-pill{display:none!important}
/* in viaggio: fermata attuale/ultima e prossima insieme */
.vg-due{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:8px}
.vg-due span{padding:4px 12px;border-radius:999px;background:#eef3f8;color:#37474f;font-size:13.5px;font-weight:800}
/* pulsante Maps (navigazione) nella scheda del luogo */
html body.eav .lx-sheet .lx-maps{display:inline-flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:1px!important;flex:none!important;width:64px!important;min-height:50px!important;margin:0!important;padding:2px 0!important;border:2px solid #dadce0!important;border-radius:14px!important;background:#fff!important;color:#1a73e8!important;font:800 11.5px system-ui,sans-serif!important;text-decoration:none!important}
/* 🚌 Orari bus EAV */
.bs-q{width:100%;margin:6px 0 8px}
.bs-aree{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none;margin:0 0 8px}.bs-aree .tt-kind{flex:none}
html body.eav #trainLive .bs-area{display:inline-flex!important;align-items:center;gap:6px}
.bs-area i{width:11px;height:11px;border-radius:50%;background:var(--c)}
.bs-list{display:grid;gap:6px}
html body.eav #trainLive .bs-card{display:flex!important;align-items:center;gap:12px;width:100%!important;min-height:60px!important;margin:0 0 6px!important;padding:8px 12px!important;border:1px solid #e3e9f0!important;border-left:6px solid var(--c,#546e7a)!important;border-radius:14px!important;background:#fff!important;color:#1f2d3a!important;text-align:left!important;cursor:pointer}
.bs-num{flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:46px;height:36px;padding:0 8px;border-radius:10px;background:var(--c,#546e7a);color:#fff;font-weight:900;font-size:15px}
.bs-nott{--c:#311b92}
.bs-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.bs-txt b{font-size:15px;color:#10233f}.bs-txt small{font-size:12.5px;color:#607d8b}
.bs-go{color:#90a4ae;font-size:20px}
html body.eav #trainLive .bs-back{min-height:36px!important;margin:0 0 8px!important;padding:2px 12px!important;border:1px solid #cfd8e3!important;border-radius:999px!important;background:#fff!important;color:#10233f!important;font-weight:800!important;font-size:13.5px!important;cursor:pointer}
.bs-head{display:flex;align-items:center;gap:12px;margin:0 0 10px}.bs-head b{display:block;font-size:17px;color:#10233f}.bs-head small{font-size:12.5px;color:#607d8b}
.bs-dirs{margin:0 0 8px}
.bs-sel{width:100%;min-height:46px;margin:2px 0 8px;padding:6px 10px;border:2px solid #cfd8e3;border-radius:12px;font:inherit;font-size:16px;background:#fff;color:#1f2d3a}
.bs-corse{display:grid;gap:6px}
.bs-corsa{border:1px solid #e3e9f0;border-left:6px solid var(--c);border-radius:12px;background:#fff;overflow:hidden}
.bs-corsa.next{border-color:var(--c);box-shadow:0 0 0 2px color-mix(in srgb,var(--c) 35%,transparent)}
.bs-corsa.past{opacity:.55}
html body.eav #trainLive .bs-corsa-h{display:grid!important;grid-template-columns:64px 1fr auto;align-items:center;gap:10px;width:100%!important;min-height:56px!important;margin:0!important;padding:8px 12px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#1f2d3a!important;text-align:left!important;cursor:pointer}
.bs-t{display:flex;flex-direction:column;align-items:center}.bs-t b{font-size:20px;font-weight:900;color:#10233f;font-variant-numeric:tabular-nums}
.bs-tra{font-size:11px;font-weight:800;color:#e65100}
.bs-m{min-width:0;display:flex;flex-direction:column;gap:2px}.bs-m b{font-size:14.5px;color:#10233f}.bs-m small{font-size:12px;color:#607d8b}
.bs-corsa .ps-stops{margin:0 12px 10px}
.bs-note{margin:10px 0 0;font-size:13px;color:#455a64}.bs-note summary{cursor:pointer;font-weight:800;color:#10233f}.bs-note p{margin:6px 0 0}
.bs-pdf{display:inline-block;margin:10px 0 0;font-weight:800;color:#1565c0}
@media (min-width:760px){.bs-list{grid-template-columns:1fr 1fr;column-gap:10px}.bs-list>p{grid-column:1/-1}}
/* 👥 ritardo dai passeggeri */
.vg-crowd{margin:10px 0;padding:12px 14px;border-radius:14px;background:#e3f2fd;border:1px solid #bbdefb;display:grid;gap:6px}
.vg-crowd b{color:#0d47a1;font-size:15px}
.vg-crowd-t{color:#37474f;font-size:13px;line-height:1.35}
.vg-crowd-b{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
html body.eav dialog.vg .vg-btn.vg-crowd-si{background:#1565c0!important;border-color:#1565c0!important;color:#fff!important}
.vg-crowd-ok{margin:8px 0 0;padding:8px 12px;border-radius:10px;background:#e8f5e9;color:#1b5e20;font-size:13px;font-weight:700}
html body.eav dialog.vg .vg-link{border:0!important;background:none!important;padding:0!important;min-height:0!important;color:#1565c0!important;font:inherit!important;font-weight:700!important;text-decoration:underline!important;cursor:pointer;box-shadow:none!important}
/* ➡️ la prossima fermata lampeggia (piano, per non stancare la vista) */
@keyframes vgBlink{0%,100%{opacity:1}50%{opacity:.25}}
.vg-blink{animation:vgBlink 1.1s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.vg-blink{animation-duration:2.4s}}
/* 🛤️ Linea live: due binari. Si viaggia a sinistra: chi parte da Napoli sta sul binario di sopra, chi va verso Napoli su quello di sotto */
html body.organized #trainLive .train-line-track{height:252px!important}
html body.organized #trainLive .train-line-rail{top:56px!important;height:16px!important}
html body.organized #trainLive .train-line-station .tick{height:36px!important}
html body.organized #trainLive .train-line-station .name{top:74px!important}
html body.organized #trainLive .train-line-track button.train-line-badge.up{top:16px!important}
html body.organized #trainLive .train-line-track button.train-line-badge.down{top:88px!important}
html body.organized #trainLive .train-line-track button.train-line-badge.up.moving::after{top:auto!important;bottom:-8px!important}
html body.organized #trainLive .train-line-track button.train-line-badge.down.moving::after{bottom:auto!important;top:-9px!important}
/* 🗺️ Mappa treni live: schema della rete in stile "mappa dei treni", si scorre di lato */
.mp-geo{overflow-x:auto;overflow-y:hidden;margin:6px 0 4px;border-radius:16px;background:#fff;border:1px solid #e3e9f0;-webkit-overflow-scrolling:touch;cursor:grab;scrollbar-width:thin}
.mp-geo:active{cursor:grabbing}
.mp-svg.mp-rete{display:block;width:auto;max-width:none;height:auto;margin:0;padding:0;border:0;border-radius:0;background:transparent;user-select:none;-webkit-user-select:none}
.mp-seg{stroke-width:6;stroke-linecap:round;opacity:.55}
.mp-seg.on{stroke-width:7;opacity:1}
.mp-rete .mp-hit{stroke-width:20}
.mp-rete .mp-pt circle{fill:#fff;stroke:#1d2733;stroke-width:2.5}
.mp-rete .mp-pt.big circle{fill:#1d2733;stroke:#fff;stroke-width:2}
.mp-rete .mp-pt.open circle{fill:#ffd54f;stroke:#1d2733}
.mp-rete .mp-pt text{font:800 12.5px system-ui,sans-serif;fill:#1d2733;paint-order:stroke;stroke:#fff;stroke-width:3px}
.mp-rete .mp-pt.big text{font-weight:900}
.mp-rete .mp-tick{stroke:#1d2733;stroke-width:1;opacity:.35}
.mp-rete text.mp-napoli{font:900 17px system-ui,sans-serif;fill:#1d2733}
.mp-rete text.mp-napoli2{font:700 12px system-ui,sans-serif;fill:#1d2733}
.mp-capo-t{font:900 16px system-ui,sans-serif;letter-spacing:.5px}
.mp-capo-t.small{font:800 12px system-ui,sans-serif}
.mp-tr{transition:transform 3s linear}
.mp-tr rect{fill:var(--c);stroke:#fff;stroke-width:2;filter:drop-shadow(0 1px 2px rgba(0,0,0,.35))}
.mp-tr.slow rect{stroke:#ef6c00;stroke-width:3}
.mp-tr.late rect{stroke:#c62828;stroke-width:3}
.mp-tr text{font:900 12.5px system-ui,sans-serif;fill:var(--ink,#fff);pointer-events:none;letter-spacing:.2px}
.mp-legenda{display:flex;flex-wrap:wrap;gap:4px 14px;margin:4px 2px 0;font-size:12.5px;color:#546e7a;font-weight:700}
.mp-live-info{margin:4px 2px 10px;font-size:12.5px;color:#607d8b}
@media (prefers-reduced-motion:reduce){.mp-tr{transition:none}}
.mp-geo-w{position:relative}
.mp-zoom{position:absolute;right:8px;bottom:8px;display:flex;gap:6px}
html body.eav #trainLive .mp-z{width:40px!important;height:40px!important;min-height:0!important;margin:0!important;padding:0!important;border:1px solid #cfd8e3!important;border-radius:12px!important;background:#fff!important;font-size:16px!important;box-shadow:0 1px 4px rgba(0,0,0,.15)}
/* ⛶ Mappa live a schermo intero */
html body.eav #trainLive .eav-mappa.mp-full{position:fixed!important;inset:0!important;z-index:10050!important;margin:0!important;padding:0!important;max-width:none!important;width:100vw!important;height:100vh!important;height:100dvh!important;border-radius:0!important;background:#fff;display:flex!important;flex-direction:column;overflow:hidden}
.eav-mappa.mp-full>:not(.mp-geo-w){display:none!important}
.eav-mappa.mp-full .mp-geo-w{flex:1;display:flex;min-height:0}
.eav-mappa.mp-full .mp-geo{flex:1;margin:0;border:0;border-radius:0;display:flex;align-items:center;overflow:auto}
.eav-mappa.mp-full .mp-svg.mp-rete{margin:auto 0}
.eav-mappa.mp-full .mp-zoom{top:max(10px,env(safe-area-inset-top));bottom:auto;right:max(10px,env(safe-area-inset-right))}
body.mp-full-on .eav-bnav{display:none!important}
.mp-gira{display:none}
@media (orientation:portrait){.eav-mappa.mp-full .mp-gira{display:block;position:absolute;left:12px;right:12px;bottom:max(14px,env(safe-area-inset-bottom));margin:0;padding:10px 14px;border-radius:12px;background:rgba(18,58,92,.92);color:#fff;font-size:14px;font-weight:800;text-align:center;pointer-events:none}}
html body.eav #trainLive .mp-z.mp-full-b{background:#10233f!important;color:#fff!important;border-color:#10233f!important}
/* 📍 zone della mappa + gesti */
.mp-geo{touch-action:pan-x pan-y}
.mp-zoom{top:8px;bottom:auto!important}
.mp-zone{display:flex;gap:6px;overflow-x:auto;padding:6px 2px 2px;scrollbar-width:none}
.mp-zone::-webkit-scrollbar{display:none}
html body.eav #trainLive .mp-zona{flex:none;min-height:36px!important;margin:0!important;padding:4px 12px!important;border:1px solid #cfd8e3!important;border-radius:999px!important;background:#fff!important;color:#10233f!important;font-size:13px!important;font-weight:800!important;white-space:nowrap}
html body.eav #trainLive .mp-zona.tutta{background:#10233f!important;color:#fff!important;border-color:#10233f!important}
.eav-mappa.mp-full .mp-geo-w{flex-direction:column}
.eav-mappa.mp-full .mp-zone{flex:none;padding:6px max(10px,env(safe-area-inset-left)) max(6px,env(safe-area-inset-bottom))}
.eav-mappa.mp-full .mp-svg.mp-rete{flex:none}
/* 🏷️ scheda del treno toccato */
.mp-card{position:absolute;left:8px;top:8px;z-index:3;max-width:min(360px,calc(100% - 170px));display:grid;gap:4px;padding:10px 34px 10px 12px;border-radius:14px;background:#fff;border-left:6px solid var(--c,#10233f);box-shadow:0 3px 14px rgba(0,0,0,.25);font-size:13.5px;color:#1d2733}
.mp-card[hidden]{display:none}
.mp-card b{font-size:15px}
.mp-card-st{font-weight:700}
.mp-card-r{font-weight:800;color:#2e7d32}.mp-card-r.slow{color:#ef6c00}.mp-card-r.late{color:#c62828}
html body.eav #trainLive .mp-card-x{position:absolute;top:4px;right:4px;width:30px!important;height:30px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;font-size:16px!important;color:#607d8b!important}
html body.eav #trainLive .mp-card-go{justify-self:start;min-height:34px!important;margin:4px 0 0!important;padding:2px 12px!important;border:0!important;border-radius:10px!important;background:var(--c,#10233f)!important;color:#fff!important;font-weight:800!important;font-size:13px!important}
@media (max-width:520px){.mp-card{left:6px;right:6px;top:auto;bottom:58px;max-width:none}}
/* 🚄 FS/Italo: Partenze · Arrivi · Coincidenze ben evidenti (pulsanti a segmenti) */
html body.eav #trainLive .fs-tabs{gap:4px;margin:4px 0 12px;padding:4px;border:0;border-radius:16px;background:#eef2f6;box-shadow:inset 0 0 0 1px #dfe6ee}
html body.eav #trainLive .fs-tab{min-height:48px!important;margin:0!important;border:0!important;border-radius:12px!important;color:#37474f!important;font-size:15px!important;font-weight:800!important;transition:background .15s,color .15s}
html body.eav #trainLive .fs-tab.on{background:#c8102e!important;color:#fff!important;box-shadow:0 2px 8px rgba(200,16,46,.35)!important}
@media (max-width:380px){html body.eav #trainLive .fs-tab{font-size:13.5px!important}}
html body.eav #trainLive .fs-tab{display:flex!important;align-items:center;justify-content:center;gap:7px;white-space:nowrap}
.fs-tab-i{font-size:18px;line-height:1}
@media (max-width:520px){html body.eav #trainLive .fs-tab{flex-direction:column;gap:2px;min-height:58px!important;font-size:14px!important}.fs-tab-i{font-size:20px}}

/* =====================================================================
   🎨 NUOVO STILE (Proposta 2): blu notte, rosso EAV, card morbide
   ===================================================================== */
html body.eav{background:#f4f6fa!important;color:#10233f!important;font-family:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif!important}
html body.eav header.eav-top{background:#10233f!important}
.eav-tabs{background:#10233f!important}
.eav-tabs button{background:rgba(255,255,255,.08)!important;color:#d7e1ee!important}
.eav-tabs button.on{background:#e0313f!important;color:#fff!important;box-shadow:0 4px 12px rgba(224,49,63,.35)!important}
html body.eav #trainLive>section{border-radius:24px!important;padding:18px!important;box-shadow:0 2px 10px rgba(16,35,63,.06),0 10px 30px rgba(16,35,63,.05)!important}
html body.eav #trainLive h3{font-size:20px!important;font-weight:800!important;letter-spacing:-.01em!important;color:#10233f!important}
/* 📱 barra in basso "galleggiante" */
@media (max-width:760px){
 .eav-bnav{left:10px!important;right:10px!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;padding:6px!important;border:0!important;border-radius:24px!important;background:#10233f!important;box-shadow:0 10px 26px rgba(16,35,63,.35)!important}
 html body.eav .eav-bn{color:#b9c6d8!important;min-height:52px!important;border-radius:18px!important;background:transparent!important}
 .eav-bn-ico{filter:none!important;opacity:.9!important}
 html body.eav .eav-bn.on{color:#fff!important;background:#e0313f!important}
 .eav-bn.on::before{display:none!important}
 .eav-bn.has-badge::after{border:2px solid #10233f!important}
 body.eav.has-bnav{padding-bottom:calc(92px + env(safe-area-inset-bottom))!important}
 html body.eav.has-bnav .vg-pill{bottom:calc(92px + env(safe-area-inset-bottom))!important}
 body.eav.has-bnav .eav-lang-tip{bottom:calc(92px + env(safe-area-inset-bottom))!important}
}
/* 🏠 Home */
html body.eav #trainLive>section.eav-home{background:transparent!important;box-shadow:none!important;padding:0!important;margin:0 0 12px!important}
.hm-hero{position:relative!important;height:200px!important;margin:-12px -12px 0!important;background:#10233f!important;color:#fff!important;overflow:hidden!important;border-radius:0 0 30px 30px!important}
.hm-art{position:absolute!important;left:0!important;bottom:0!important;width:100%!important;height:200px!important}
.hm-sole{fill:#ffb547!important;opacity:.9!important}.hm-monte{fill:#1f3a63!important}.hm-monte2{fill:#3a5a8a!important}.hm-mare{fill:#1b4f8a!important}.hm-mare2{fill:#2a6bb0!important;opacity:.8!important}
.hm-hero-t{position:relative!important;display:flex!important;flex-direction:column!important;gap:4px!important;padding:18px 20px!important}
.hm-ciao{font-size:15px!important;font-weight:600!important;color:#c9d6e3!important}
.hm-dove{font-size:28px!important;font-weight:800!important;line-height:1.1!important;letter-spacing:-.02em!important;max-width:220px!important}
.hm-cerca{position:relative!important;margin:-58px 2px 0!important;padding:10px!important;border-radius:26px!important;background:#fff!important;box-shadow:0 14px 34px rgba(16,35,63,.18)!important;display:flex!important;flex-direction:column!important;gap:10px!important}
.hm-riga{display:flex!important;align-items:center!important;gap:8px!important}
.hm-campi{flex:1!important;min-width:0!important;display:flex!important;flex-direction:column!important}
.hm-campo{display:flex!important;align-items:center!important;gap:12px!important;padding:10px 10px!important;cursor:text!important}
.hm-campo.da{border-bottom:1px solid #edf0f5!important}
.hm-dot{flex:none!important;width:34px!important;height:34px!important;border-radius:17px!important;background:#e9eef8!important;position:relative!important}
.hm-dot::after{content:""!important;position:absolute!important;inset:11px!important;border-radius:50%!important;border:3px solid #10233f!important;box-sizing:border-box!important}
.hm-campo.a .hm-dot{background:#fde8ea!important}.hm-campo.a .hm-dot::after{border:0!important;background:#e0313f!important}
.hm-campo-t{flex:1!important;min-width:0!important;display:flex!important;flex-direction:column!important}
.hm-campo-t small{font-size:12px!important;font-weight:700!important;color:#5a6b80!important}
html body.eav #trainLive .hm-campo-t input{width:100%!important;min-height:30px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;font:800 17px/1.2 inherit!important;font-family:inherit!important;color:#10233f!important;outline:0!important}
.hm-campo-t input::placeholder{color:#9aa7b6!important;font-weight:600!important}
html body.eav #trainLive .hm-swap{flex:none!important;width:48px!important;height:48px!important;min-height:0!important;margin:0 4px 0 0!important;padding:0!important;border:0!important;border-radius:24px!important;background:#10233f!important;color:#fff!important;font-size:22px!important;font-weight:800!important;box-shadow:0 4px 10px rgba(16,35,63,.25)!important}
.hm-chips{display:flex!important;gap:8px!important;flex-wrap:wrap!important;padding:0 4px!important}
html body.eav #trainLive .hm-chip{min-height:40px!important;margin:0!important;padding:0 14px!important;border:0!important;border-radius:20px!important;background:#f1f4f9!important;color:#10233f!important;font-size:14px!important;font-weight:700!important}
.hm-err{margin:0 6px!important;color:#c62828!important;font-size:13.5px!important;font-weight:700!important}
html body.eav #trainLive .hm-vai{min-height:56px!important;margin:0 4px 4px!important;border:0!important;border-radius:18px!important;background:#e0313f!important;color:#fff!important;font-size:17px!important;font-weight:800!important;box-shadow:0 8px 18px rgba(224,49,63,.35)!important}
.hm-recenti{display:flex!important;gap:8px!important;overflow-x:auto!important;padding:14px 2px 2px!important;scrollbar-width:none!important}
.hm-recenti::-webkit-scrollbar{display:none!important}
html body.eav #trainLive .hm-rec{flex:none!important;min-height:38px!important;margin:0!important;padding:0 14px!important;border:1px solid #e1e7ef!important;border-radius:19px!important;background:#fff!important;color:#10233f!important;font-size:13.5px!important;font-weight:700!important;white-space:nowrap!important}
.hm-sez{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:10px!important;margin:20px 4px 10px!important}
.hm-sez-t{display:flex!important;flex-direction:column!important;font-size:17px!important;font-weight:800!important}
.hm-sez-t b{font-size:13px!important;font-weight:700!important;color:#5a6b80!important}
.hm-staz{font-size:18px!important;font-weight:800!important}
.hm-sez-solo{margin:20px 4px 10px!important}
.hm-cambia{position:relative!important;display:inline-flex!important;align-items:center!important;min-height:36px!important;padding:0 14px!important;border-radius:18px!important;background:#fff!important;border:1px solid #e1e7ef!important;font-size:13px!important;font-weight:800!important;color:#e0313f!important;overflow:hidden!important}
.hm-cambia select{position:absolute!important;inset:0!important;opacity:0!important;width:100%!important;cursor:pointer!important}
.hm-treni{display:flex!important;gap:10px!important;overflow-x:auto!important;padding:2px 2px 6px!important;scroll-snap-type:x mandatory!important;scrollbar-width:none!important}
.hm-treni::-webkit-scrollbar{display:none!important}
html body.eav #trainLive .hm-treno{flex:none!important;width:156px!important;min-height:0!important;margin:0!important;padding:14px 14px 14px 18px!important;border:0!important;border-radius:22px!important;background:#fff!important;color:#10233f!important;text-align:left!important;display:flex!important;flex-direction:column!important;gap:4px!important;position:relative!important;overflow:hidden!important;box-shadow:0 2px 10px rgba(16,35,63,.07)!important;scroll-snap-align:start!important}
.hm-treno::before{content:""!important;position:absolute!important;left:0!important;top:0!important;bottom:0!important;width:6px!important;background:var(--c)!important}
.hm-t-ora{font-size:26px!important;font-weight:800!important;letter-spacing:-.02em!important}
.hm-t-dest{font-size:15px!important;font-weight:800!important;line-height:1.2!important}
.hm-t-num{font-size:12px!important;font-weight:700!important;color:#5a6b80!important}
.hm-t-stato{align-self:flex-start!important;margin-top:2px!important;padding:3px 9px!important;border-radius:999px!important;background:#eef2f7!important;color:#41526a!important;font-size:12px!important;font-weight:800!important}
.hm-t-stato.tardi{background:#fff0e0!important;color:#a14b00!important}
.hm-vuoto{margin:4px!important;color:#5a6b80!important;font-weight:600!important}
html body.eav #trainLive .hm-link{min-height:40px!important;margin:6px 0 0!important;padding:0 6px!important;border:0!important;background:transparent!important;color:#e0313f!important;font-size:14px!important;font-weight:800!important}
.hm-tiles{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
html body.eav #trainLive .hm-tile{position:relative!important;min-height:92px!important;margin:0!important;padding:12px 6px!important;border:0!important;border-radius:22px!important;background:#fff!important;color:#10233f!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;box-shadow:0 2px 10px rgba(16,35,63,.06)!important}
.hm-tile-i{width:44px!important;height:44px!important;border-radius:14px!important;background:#f1f4f9!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:23px!important}
.hm-tile-l{font-size:13.5px!important;font-weight:800!important;text-align:center!important;line-height:1.15!important}
.hm-badge{position:absolute!important;top:8px!important;right:10px!important;min-width:20px!important;height:20px!important;padding:0 5px!important;border-radius:10px!important;background:#e0313f!important;color:#fff!important;font-size:12px!important;font-style:normal!important;font-weight:800!important;line-height:20px!important;text-align:center!important}
.hm-gite{display:flex!important;gap:12px!important;overflow-x:auto!important;padding:2px 2px 6px!important;scroll-snap-type:x mandatory!important;scrollbar-width:none!important}
.hm-gite::-webkit-scrollbar{display:none!important}
.hm-gita{flex:none!important;width:230px!important;border-radius:24px!important;overflow:hidden!important;background:#fff!important;cursor:pointer!important;scroll-snap-align:start!important;box-shadow:0 2px 10px rgba(16,35,63,.07)!important}
.hm-gita .lg-photo.hm-gita-f{height:140px!important;margin:0!important;border-radius:0!important}
.hm-gita-t{display:flex!important;flex-direction:column!important;gap:3px!important;padding:10px 14px 14px!important}
.hm-gita-t b{font-size:15px!important;font-weight:800!important}
.hm-gita-t small{font-size:12.5px!important;font-weight:700!important;color:#5a6b80!important}
.hm-ad{margin:16px 2px 0!important;min-height:100px!important;border-radius:20px!important;background:#fff!important}
@media (min-width:761px){
 .hm-hero{margin:0!important;height:230px!important;border-radius:30px!important}.hm-art{height:230px!important}
 .hm-dove{font-size:34px!important;max-width:none!important}.hm-hero-t{padding:26px 30px!important}
 .hm-cerca{margin:-70px 30px 0!important}
 .hm-tiles{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
/* ☀️ meteo nella Home */
.hm-wx{position:absolute;top:14px;right:16px;display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;align-items:center;column-gap:4px;color:#fff;text-align:right;max-width:46%}
.hm-wx[hidden]{display:none}
.hm-wx-i{grid-row:1/3;width:58px;height:58px}
.hm-wx-t{font-size:30px;font-weight:800;line-height:1;letter-spacing:-.02em}
.hm-wx-d{grid-column:2;font-size:11.5px;font-weight:700;color:#c9d6e3;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-sole circle{fill:#ffb547}.wx-sole line{stroke:#ffb547;stroke-width:3.5;stroke-linecap:round}
.wx-luna{fill:#f3e3a6}
.wx-nuvola{fill:#ffffff}.wx-nuvola.grigia{fill:#c3cfdd}
.wx-goccia{stroke:#7cc4ff;stroke-width:3.5;stroke-linecap:round}
.wx-neve{fill:#ffffff}
.wx-linea{stroke:#c3cfdd;stroke-width:3.5;stroke-linecap:round}
.wx-lampo{fill:#ffd23f}
@media (min-width:761px){.hm-wx{top:24px;right:30px}.hm-wx-i{width:72px;height:72px}.hm-wx-t{font-size:38px}}
@media (max-width:760px){
 .hm-wx{top:12px;right:12px;max-width:128px;column-gap:2px;row-gap:0}
 .hm-wx-i{grid-row:1;width:42px;height:42px}
 .hm-wx-t{font-size:26px}
 .hm-wx-d{grid-column:1/3;font-size:11px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-align:right}
 .hm-dove{max-width:240px}
}
/* il testo non va mai sotto il meteo: lascio a destra lo spazio del riquadro meteo */
@media (max-width:760px){.hm-hero-t{padding-right:146px!important}.hm-dove{max-width:none!important}}
@media (min-width:761px){.hm-hero-t{padding-right:300px!important}}
/* 🚆 Viaggio: "Sono già sul treno" / viaggio in corso, in alto */
.rt-bordo{margin:4px 0 14px}
html body.eav #trainLive .rt-bordo-go{width:100%!important;min-height:76px!important;margin:0!important;padding:12px 16px!important;border:0!important;border-radius:22px!important;background:#10233f!important;color:#fff!important;display:flex!important;align-items:center!important;gap:14px!important;text-align:left!important;box-shadow:0 8px 20px rgba(16,35,63,.25)!important}
.rt-bordo-i{flex:none;width:48px;height:48px;border-radius:16px;background:#e0313f;display:flex;align-items:center;justify-content:center;font-size:24px}
.rt-bordo-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.rt-bordo-go .rt-bordo-t b{font-size:17px;font-weight:800}
.rt-bordo-go .rt-bordo-t small{font-size:12.5px;font-weight:600;color:#c9d6e3;line-height:1.3}
.rt-bordo-x{font-size:26px;color:#c9d6e3}
.rt-bordo.attivo{padding:14px 16px;border-radius:22px;background:#fff;border:2px solid var(--c);box-shadow:0 6px 18px rgba(16,35,63,.12);display:flex;flex-direction:column;gap:8px}
.rt-bordo-h{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.rt-bordo.attivo small{font-size:12px;font-weight:800;color:#5a6b80}
.rt-bordo.attivo .rt-bordo-t b{font-size:17px;font-weight:800;color:#10233f}
.rt-bordo-p{font-size:14px;font-weight:700;color:#10233f}
.rt-bordo-r{flex:none;padding:5px 12px;border-radius:999px;background:#e3f6ee;color:#13734a;font-size:14px;font-weight:800}
.rt-bordo-r.slow{background:#fff0e0;color:#a14b00}.rt-bordo-r.late{background:#fde8ea;color:#b71c1c}
.rt-bordo-f{font-size:12px!important;font-weight:700!important;color:#13734a!important}
html body.eav #trainLive .rt-bordo-b{align-self:flex-start;min-height:42px!important;margin:0!important;padding:0 16px!important;border:0!important;border-radius:14px!important;background:#e0313f!important;color:#fff!important;font-weight:800!important;font-size:14px!important}
/* avviso breve (es. viaggio terminato da solo) */
.vg-toast{position:fixed;left:50%;bottom:calc(100px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:10100;max-width:min(92vw,460px);padding:12px 18px;border-radius:16px;background:#10233f;color:#fff;font-size:14.5px;font-weight:700;line-height:1.35;box-shadow:0 10px 26px rgba(16,35,63,.35);transition:opacity .6s}
.vg-toast.via{opacity:0}
.eav-note-min{text-align:center}

/* ⬇️ Installa: sempre visibile in alto, piccolo pulsante rosso con la scritta "Installa app" */
html body.eav .eav-act.eav-act-inst{background:#e0313f!important;color:#fff!important;flex-direction:row!important;align-self:center!important;width:auto!important;min-width:0!important;min-height:30px!important;height:30px!important;padding:0 10px!important;border-radius:15px!important;white-space:nowrap!important}
html body.eav .eav-act.eav-act-inst .eav-act-ico{display:none!important}
html body.eav .eav-act.eav-act-inst small{display:inline!important;font-size:12px!important;font-weight:800!important;color:#fff!important}
html body.eav .eav-act.eav-act-inst[hidden]{display:none!important}
html body.eav .eav-act.eav-act-inst small{text-transform:none!important;letter-spacing:0!important}
/* telefono: i 4 tasti tondi in alto, "Installa app" sotto di loro a destra (non schiaccia il titolo) */
@media (max-width:760px){html body.eav .eav-actions{flex-wrap:wrap!important;justify-content:flex-end!important;width:172px!important;flex:none!important;row-gap:6px!important}html body.eav .eav-act.eav-act-inst{order:9!important;height:28px!important;min-height:28px!important;font-size:11px!important}html body.eav .eav-act.eav-act-inst small{font-size:11.5px!important}}
@media (max-width:760px){html body.eav main{overflow-x:clip!important}}

/* 🚌 bus: ricerca Da → A, Maps, "passa da" */
.bs-cerca{margin:4px 0 12px;padding:12px;border-radius:16px;background:#f4f6fa;border:1px solid #e1e7ef}
.bs-cerca-t{display:block;font-size:16px;color:#10233f;margin:0 0 6px}
.bs-cerca .rt-lab{display:block;margin:0 0 6px}.bs-cerca .rt-lab span{display:block;font-size:13px;font-weight:800;color:#455a64;margin:0 0 3px}.bs-cerca .rt-in{width:100%}
.bs-cerca-az{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 8px}
.bs-maps{display:inline-flex;align-items:center;min-height:38px;padding:0 12px;border-radius:19px;background:#fff;border:1px solid #cfd8e3;color:#10233f!important;font-weight:800;font-size:13.5px;text-decoration:none}
.bs-cerca-r{display:grid;gap:6px}
.bs-passa{color:#37474f!important;font-weight:700}
.bs-corsa .ps-stops li{display:flex;align-items:center;gap:8px}.bs-corsa .ps-stops li>span:nth-child(2){flex:1}
.bs-st-map{flex:none;text-decoration:none;font-size:16px;padding:2px 6px;border-radius:8px}
html[data-theme="dark"] .bs-cerca{background:#16233a;border-color:#2a3a55}
html[data-theme="dark"] .bs-cerca-t,html[data-theme="dark"] .bs-cerca .rt-lab span{color:#e6edf6}
html[data-theme="dark"] .bs-maps{background:#1d2b44;border-color:#34476a;color:#e6edf6!important}
html[data-theme="dark"] .bs-passa{color:#c9d6e6!important}

/* 📱↻ schermo intero col telefono in verticale: la mappa è girata di 90° (le misure le mette eav-mappa.js) */
html body.eav #trainLive .eav-mappa.mp-full.mp-ruota{inset:auto!important;transform:rotate(90deg);transform-origin:0 0}
.eav-mappa.mp-full.mp-ruota .mp-gira{display:none!important}
.eav-mappa.mp-full.mp-ruota .mp-geo{touch-action:none}
.eav-mappa.mp-full.mp-ruota .mp-zone{flex-wrap:wrap;overflow:visible;padding:4px max(10px,env(safe-area-inset-top)) 6px}
html body.eav #trainLive .eav-mappa.mp-full.mp-ruota .mp-zona{min-height:32px!important;padding:2px 10px!important;font-size:12.5px!important}
.eav-mappa.mp-full.mp-ruota .mp-card{left:8px;right:auto;top:8px;bottom:auto;max-width:380px}

/* 🚉 PC: tabellone partenze e arrivi della stazione toccata sulla mappa */
dialog.mp-tab{width:min(980px,94vw);max-height:88vh;overflow:auto;padding:0;border:0;border-radius:22px;background:#fff;color:#10233f;box-shadow:0 24px 70px rgba(10,20,40,.45);font-family:inherit}
dialog.mp-tab::backdrop{background:rgba(10,20,40,.55)}
.mp-tab-h{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px 4px}
.mp-tab-h h3{margin:0;font-size:24px;font-weight:800}
html body.eav dialog.mp-tab .mp-tab-x{width:40px;height:40px;min-height:0;padding:0;border:0;border-radius:50%;background:#eef2f7;color:#10233f;font-size:18px;cursor:pointer}
.mp-tab-sub{margin:0 22px 12px;font-size:13px;color:#5a6b80;font-weight:600}
.mp-tab-cols{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:0 22px}
.mp-tab-c{background:#10233f;border-radius:16px;padding:12px;color:#fff;min-height:160px}
.mp-tab-c h4{margin:2px 4px 8px;font-size:16px;font-weight:800;color:#fff}
html body.eav dialog.mp-tab .mp-tab-r{display:grid;grid-template-columns:62px 62px 1fr 40px 80px;align-items:center;gap:6px;width:100%;min-height:42px;margin:0;padding:4px 8px;border:0;border-top:1px solid rgba(255,255,255,.08);border-radius:0;background:transparent;color:#fff;text-align:left;font:inherit;font-size:14px;cursor:pointer}
html body.eav dialog.mp-tab .mp-tab-r:hover{background:rgba(255,255,255,.07)}
html body.eav dialog.mp-tab .mp-tab-hd{min-height:28px;border-top:0;cursor:default;font-size:11.5px;font-weight:800;color:#9fb3cc;text-transform:uppercase;letter-spacing:.04em}
html body.eav dialog.mp-tab .mp-tab-hd:hover{background:transparent}
.mp-tab-ora{display:flex;flex-direction:column;line-height:1.1}.mp-tab-ora b{font-size:17px;font-variant-numeric:tabular-nums;color:#ffd54f}.mp-tab-ora small{font-size:12px;font-weight:800;color:#ff8a80}
.mp-tab-n{font-weight:800;color:#cfe1f5}.mp-tab-d{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mp-tab-b{text-align:center;font-weight:800;background:rgba(255,255,255,.12);border-radius:8px;padding:2px 0}
.mp-tab-s{font-size:12.5px;font-weight:800;color:#81c784;text-align:right}.mp-tab-s.slow{color:#ffb74d}.mp-tab-s.late{color:#ff8a80}
.mp-tab-vuoto{margin:8px 4px;font-size:14px;color:#c7d3e2}
.mp-tab-az{display:flex;flex-wrap:wrap;gap:8px;padding:14px 22px 20px}
html[data-theme="dark"] dialog.mp-tab{background:#121c2c;color:#e6edf6}
html[data-theme="dark"] .mp-tab-c{background:#0b1422}
html[data-theme="dark"] body.eav dialog.mp-tab .mp-tab-x{background:#22324a;color:#e6edf6}
html[data-theme="dark"] .mp-tab-sub{color:#9fb3cc}
html body.eav dialog.mp-tab .mp-tab-r{background:transparent!important;color:#fff!important;box-shadow:none!important;border-radius:0!important;min-height:42px!important;padding:4px 8px!important;margin:0!important;border:0!important;border-top:1px solid rgba(255,255,255,.08)!important;font-size:14px!important;font-weight:400!important}
html body.eav dialog.mp-tab .mp-tab-r:hover{background:rgba(255,255,255,.08)!important}
html body.eav dialog.mp-tab .mp-tab-hd,html body.eav dialog.mp-tab .mp-tab-hd:hover{background:transparent!important;border-top:0!important;min-height:28px!important;font-size:11.5px!important;font-weight:800!important;color:#9fb3cc!important}
html body.eav dialog.mp-tab .mp-tab-x{width:40px!important;height:40px!important;min-height:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#eef2f7!important;color:#10233f!important;box-shadow:none!important}
html body.eav dialog.mp-tab .mp-tab-az .mp-a{min-height:42px!important;padding:0 16px!important;margin:0!important;border:1px solid #cfd8e3!important;border-radius:21px!important;background:#fff!important;color:#10233f!important;font-size:14px!important;font-weight:800!important;box-shadow:none!important}
html body.eav dialog.mp-tab .mp-tab-az .mp-a:hover{border-color:#e0313f!important;color:#e0313f!important}
html[data-theme="dark"] body.eav dialog.mp-tab .mp-tab-x{background:#22324a!important;color:#e6edf6!important}
html[data-theme="dark"] body.eav dialog.mp-tab .mp-tab-az .mp-a{background:#1d2b44!important;border-color:#34476a!important;color:#e6edf6!important}

/* 🚉 tabellone come pannello a sinistra (non copre tutta la mappa: si clicca un'altra stazione e cambia) */
html body.eav dialog.mp-tab{position:fixed!important;inset:0 auto 0 0!important;margin:0!important;width:min(460px,94vw)!important;height:100vh!important;height:100dvh!important;max-height:none!important;border-radius:0 22px 22px 0!important;z-index:10060!important;overflow:auto!important;animation:mpTabIn .22s ease-out;box-shadow:12px 0 40px rgba(10,20,40,.35)!important}
html body.eav dialog.mp-tab.subito{animation:none}
@keyframes mpTabIn{from{transform:translateX(-100%)}to{transform:none}}
html body.eav dialog.mp-tab .mp-tab-cols{grid-template-columns:1fr!important;gap:12px!important;padding:0 16px!important}
html body.eav dialog.mp-tab .mp-tab-h{padding:16px 16px 2px!important}
html body.eav dialog.mp-tab .mp-tab-sub{margin:0 16px 10px!important}
html body.eav dialog.mp-tab .mp-tab-az{padding:12px 16px 18px!important}
html body.eav dialog.mp-tab .mp-tab-r{grid-template-columns:56px 58px 1fr 36px 72px!important}
.mp-tab-c{min-height:0!important}

/* 🚉 solo partenze: pannello più stretto; la mappa (e la pagina) si spostano a destra del pannello */
html body.eav dialog.mp-tab{width:420px!important}
@media (min-width:900px){
 body.eav.mp-tab-on{padding-left:420px!important}
 html body.eav.mp-tab-on #trainLive .eav-mappa.mp-full{left:420px!important;width:calc(100vw - 420px)!important}
}

/* logo DR System Code nascosto (si rimette togliendo hidden in index.html) */
html body.eav .dev-credit[hidden]{display:none!important}

/* 🚆 linee Flegree sotto la mappa: si scorre di lato come la mappa delle Vesuviane */
.mp-fl-box{margin:14px 0 6px}
html body.eav #trainLive .mp-fl-geo{display:block;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;border-radius:14px}
html body.eav #trainLive svg.mp-fl{max-width:none!important;flex:none;display:block}
.mp-fl .mp-pt text{font-size:12.5px;font-weight:700;fill:#10233f}
.mp-fl .mp-pt circle{fill:#fff;stroke:#10233f;stroke-width:3}
html[data-theme="dark"] .mp-fl .mp-pt text{fill:#e6edf6}
html[data-theme="dark"] .mp-fl .mp-pt circle{fill:#0b1422;stroke:#e6edf6}
/* avviso nuovo indirizzo trackgo.it (solo sul vecchio dominio) */
html body.eav .tg-sposta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:8px 12px 0;padding:10px 12px;border-radius:14px;background:#e3f2fd;border:1px solid #90caf9;color:#0d2a4f}
html body.eav .tg-sposta span{flex:1 1 220px;display:flex;flex-direction:column;gap:2px;min-width:0}
html body.eav .tg-sposta b{font-size:15px}
html body.eav .tg-sposta small{font-size:12.5px;color:#36506f}
html body.eav .tg-sposta a{flex:0 0 auto;padding:9px 14px;border-radius:999px;background:#1565c0;color:#fff!important;font-weight:800;text-decoration:none;white-space:nowrap}
@media (min-width:900px){html body.eav .tg-sposta{max-width:1100px;margin:10px auto 0}}
/* Viaggio: numero del treno in evidenza, col colore della linea */
html body.eav #trainLive .rt-prendi{display:flex!important;align-items:center;flex-wrap:wrap;gap:8px}
html body.eav #trainLive .rt-num{display:inline-block;padding:3px 12px;border-radius:999px;background:var(--c,#1565c0);color:#fff!important;font-size:19px;font-weight:900;letter-spacing:.5px;line-height:1.25;box-shadow:0 2px 6px rgba(0,0,0,.18);font-variant-numeric:tabular-nums}
html body.eav #trainLive .rt-h-treno{display:inline-flex;align-items:center;gap:6px;font-weight:800;font-size:14px;color:inherit}
html body.eav #trainLive .rt-h-treno .rt-num{font-size:15px;padding:2px 10px}
html body.eav #trainLive .rt-h-dest{white-space:nowrap}
html body.eav #trainLive .rt-h-info .rt-h-treno{padding:2px 10px 2px 2px!important;gap:6px;background:#eceff1;color:#263238}
html body.eav #trainLive .rt-h-info .rt-h-treno .rt-h-dest{padding:0!important;background:none!important;color:inherit;font-size:13px}
html body.eav #trainLive .rt-h-info .rt-h-treno .rt-num{padding:2px 10px!important;font-size:14.5px!important;background:var(--c,#1565c0)!important;color:#fff!important}
/* Da visitare: titolo in un riquadro scuro in basso sulla foto, sempre leggibile */
html body.eav #trainLive .lg-hero-t{left:12px!important;right:auto!important;bottom:12px!important;max-width:calc(100% - 24px);padding:10px 16px 11px!important;border-radius:16px;background:rgba(16,35,63,.78)!important;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:0 4px 16px rgba(0,0,0,.3);border:1px solid rgba(255,255,255,.18)}
html body.eav #trainLive .lg-hero-t h3{color:#fff!important;font-weight:900!important;font-size:24px!important;line-height:1.15;text-shadow:none!important}
html body.eav #trainLive .lg-hero-t p{margin-top:3px!important;color:#dbe7f5!important;font-weight:600!important;font-size:13.5px!important;text-shadow:none!important}
@media (min-width:900px){html body.eav #trainLive .lg-hero-t{left:20px!important;bottom:20px!important}html body.eav #trainLive .lg-hero-t h3{font-size:28px!important}}
/* avviso "dati copiati dalla vecchia app" */
.tg-ok{position:fixed;left:12px;right:12px;bottom:96px;margin:0 auto;z-index:9999;max-width:520px;padding:12px 16px;border-radius:14px;background:#1b5e20;color:#fff;font-weight:700;font-size:14.5px;box-shadow:0 6px 20px rgba(0,0,0,.3);text-align:center}
/* 📨 Richiedi il codice (riquadro Accesso colleghi) */
html body.eav dialog.eav-key-dlg{max-height:92vh!important;overflow:auto!important}
.eav-key-req{margin-top:14px;padding-top:12px;border-top:1px solid #e3e9ef}
.eav-key-req-t{margin:0 0 8px;font-weight:800;color:#10233f}
html body.eav .eav-key-dlg .eav-key-req-b{width:100%!important;min-height:46px!important;margin:0!important;border:2px solid #1565c0!important;border-radius:12px!important;background:#fff!important;color:#1565c0!important;font:800 15.5px system-ui,sans-serif!important;cursor:pointer}
html body.eav .eav-key-dlg form.eav-key-req-f{display:grid!important;gap:10px;margin-top:4px}
.eav-key-req-l{display:grid;gap:4px}
.eav-key-req-l span{font-size:13px;font-weight:700;color:#37474f}
html body.eav .eav-key-dlg .eav-key-req-l input{width:100%!important;min-height:44px!important;text-transform:none}
.eav-key-req-ok{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.35;color:#37474f}
html body.eav .eav-key-dlg .eav-key-req-ok input{flex:none!important;width:20px!important;min-width:20px!important;height:20px!important;min-height:20px!important;margin:1px 0 0!important;padding:0!important;accent-color:#1565c0}
.eav-key-req-ok a{color:#1565c0;font-weight:700}
html body.eav .eav-key-dlg form.eav-key-req-f .eav-key-req-send{width:100%!important}
html body.eav .eav-key-dlg form.eav-key-req-f .eav-key-msg{margin:0}
/* 🔄 aggiornamento rimandato: avviso piccolo sopra la barra in basso, non copre niente di importante */
html body.eav .eav-upd-pill{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(92px + env(safe-area-inset-bottom,0px));z-index:9998;max-width:calc(100vw - 24px);min-height:0!important;padding:8px 14px!important;border:0!important;border-radius:999px!important;background:#1565c0!important;color:#fff!important;font:700 13.5px system-ui,sans-serif!important;box-shadow:0 4px 14px rgba(0,0,0,.3)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;width:auto!important}
@media (min-width:900px){html body.eav .eav-upd-pill{bottom:24px}}
