/* Shared light theme for all secondary pages. Map tiles and film rendering stay independent. */
.subpage{--ink:#f6f7f3;--ink-2:#fff;--panel:#fff;--panel-2:#eef2eb;--cream:#25332f;--amber:#b84927;--rust:#b84927;--muted:#64716a;--line:#dce1d9;--radius:10px;--disp:"Segoe UI",system-ui,sans-serif;--amber-soft:#f6ece3}
.subpage h1,.subpage h2,.subpage h3,.subpage .panel-title{color:#25332f;text-shadow:none;text-transform:none;letter-spacing:-.02em;font-weight:700}
.subpage .legal{padding:42px 20px 64px}.subpage .legal p,.subpage .legal li,.subpage .detail-head .desc-text,.subpage .check{color:#42534b}
.subpage .legal h2{color:#284b3e;border-color:#dce1d9}
.subpage .legal a,.subpage .hintbox a,.subpage .check a{color:#9a3d20;text-decoration:underline}
.subpage .detail-hero{background:#eaf0e7;border-bottom:1px solid #dce1d9}.subpage .detail-hero::before{display:none}
.subpage .detail-head{padding:32px 20px}.subpage .detail-head .rider-line{color:#64716a;text-transform:none;letter-spacing:0}
.subpage .panel,.subpage .login-card,.subpage .info-chip,.subpage .stat-chip,.subpage .photo-item,.subpage .photo-card{background:#fff;border:1px solid #dce1d9;border-radius:12px;box-shadow:0 5px 18px #25332f08}
.subpage .info-chip b,.subpage .stat-chip b,.subpage .hint b,.subpage .rider,.subpage .photo-item .meta b{color:#25332f}
.subpage .btn,.subpage .mini,.subpage .spd,.subpage .follow-btn{font-family:var(--body);text-transform:none;letter-spacing:0;border-radius:8px;box-shadow:none}
.subpage .btn-primary,.subpage .spd.active,.subpage .follow-btn.on,.subpage .play-btn{background:#284b3e;color:#fff;border-color:#284b3e;box-shadow:none}
.subpage .btn-ghost,.subpage .mini,.subpage .spd,.subpage .follow-btn{background:#fff;color:#284b3e;border:1px solid #bdcbbc}
.subpage .btn-ghost:hover,.subpage .mini:hover,.subpage .spd:hover,.subpage .follow-btn:hover{background:#eaf0e7;color:#25332f;border-color:#284b3e}
.subpage .mini.del{color:#a12e23;border-color:#d89e96}.subpage .mini.del:hover{background:#fbeae7}
.subpage .field input,.subpage .field textarea,.subpage .login-card input,.subpage .bar input,.subpage .bar select,.subpage .mt-style-switch select{background:#fff;color:#25332f;border-color:#bdcbbc;border-radius:8px}
.subpage .field label{color:#42534b;font-weight:600;text-transform:none;letter-spacing:0}
.subpage .check,.subpage .hintbox,.subpage .legal .free-note{background:#eaf0e7;border-color:#bdcbbc;border-radius:8px;color:#42534b}
.subpage .msg.ok{color:#215830;background:#edf6ed}.subpage .msg.err,.subpage #loginMsg{color:#a12e23!important;background:#fff2ef}
.subpage .map-wrap{border:1px solid #bdcbbc;border-radius:12px;box-shadow:none}
.subpage .player-bar,.subpage .mt-style-switch{background:#f6f7f3f5;border-color:#bdcbbc;box-shadow:none}.subpage .time-label{color:#25332f}
.subpage .leaflet-bar a{background:#fff!important;color:#25332f!important;border-color:#bdcbbc!important}
.subpage .leaflet-control-attribution{background:#fffffff2!important;color:#42534b!important}.subpage .leaflet-control-attribution a{color:#284b3e!important}
.subpage .profile{background:#fff;border-color:#dce1d9}.subpage .free-service{color:#42534b}
.subpage .upload-wrap h1::after,.subpage .legal h1::after{height:3px;width:64px;background:#b84927}
.subpage .site-footer .tread{display:none}.subpage .site-footer{padding-top:28px}
.subpage table{max-width:100%}.subpage .admin-wrap{overflow-x:auto}
@media(max-width:640px){.subpage .panel{padding:18px 14px}.subpage .detail-head h1{font-size:30px}.subpage .player-row{gap:6px;flex-wrap:wrap}.subpage .time-label{font-size:14px;min-width:65px}.subpage .legal h1{font-size:32px;overflow-wrap:anywhere}}

/* Wetter entlang der Route (Tour-Seite) */
.weather-controls{display:flex;flex-wrap:wrap;gap:14px;align-items:end;justify-content:space-between;margin:4px 0 16px}
.weather-controls .btn small{display:block;font-size:11px;opacity:.75;font-weight:500;letter-spacing:0}
.weather-hour{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:650;color:#4f6056}
.weather-hour select{min-height:40px;border:1px solid #d7ded5;background:#fafbf8;border-radius:6px;padding:6px 10px;font:inherit;font-size:14px;color:#25332f}
.weather-strip{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.weather-card{border:1px solid #dce1d9;border-radius:12px;background:#fafbf8;padding:12px 14px}
.weather-card.wet{border-color:#b84927;background:#fdf3ee}
.weather-when{font-size:12px;font-weight:700;color:#a6552e;letter-spacing:.03em;text-transform:uppercase}
.weather-icon{font-size:30px;line-height:1.2;margin:6px 0 2px}
.weather-temp{font-size:22px;font-weight:800;color:#25332f}
.weather-text{font-size:12.5px;color:#52635a;line-height:1.45;margin-top:4px}

/* Streckenmeldungen */
.report-list{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:8px}
.report-list li{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:baseline;border-left:3px solid #b84927;background:#fdf6f2;border-radius:8px;padding:9px 12px;font-size:14px}
.report-list .report-icon{font-size:18px}
.report-list .report-meta{flex-basis:100%;color:#7d8b83;font-size:12px}

/* Kartenmarker der Streckenmeldungen */
.report-pin span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff;border:2px solid #b84927;font-size:16px;line-height:1;box-shadow:0 2px 6px rgba(0,0,0,.28)}

/* Belag (Asphalt / Schotter / unbefestigt / unbekannt) */
.surface-bar{display:flex;height:26px;border-radius:8px;overflow:hidden;border:1px solid #dce1d9;background:#f4f6f2;margin:6px 0 12px}
.surface-bar .seg{display:flex;align-items:center;justify-content:center;font-size:11.5px;font-weight:700;color:#25332f;white-space:nowrap;overflow:hidden}
.surface-bar .seg.asphalt{background:#284b3e;color:#f5f1e8}
.surface-bar .seg.schotter{background:#c4572f;color:#fff}
.surface-bar .seg.unbefestigt{background:#8a6d3b;color:#fff}
.surface-bar .seg.unbekannt{background:#d7ded5}
.surface-legend{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:13px;color:#3f5049;margin-bottom:6px}
.surface-legend .surface-chip{display:inline-flex;align-items:center;gap:6px}
.surface-legend .surface-chip i{width:12px;height:12px;border-radius:3px;display:inline-block;background:#d7ded5}
.surface-legend .surface-chip i.asphalt{background:#284b3e}
.surface-legend .surface-chip i.schotter{background:#c4572f}
.surface-legend .surface-chip i.unbefestigt{background:#8a6d3b}

/* Teilen-Leiste auf der Tour-Seite */
.share-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:16px 0 4px}
.share-bar .share-label{font-size:13px;font-weight:650;color:#4f6056}

/* Diskussion unter der Tour */
.count-badge{display:inline-block;min-width:26px;padding:1px 8px;border-radius:999px;background:#eef4ea;color:#284b3e;font-size:14px;font-weight:700;vertical-align:middle}
.comment-list{list-style:none;margin:14px 0 18px;padding:0;display:grid;gap:12px}
.comment{border:1px solid #dce1d9;border-radius:10px;background:#fafbf8;padding:12px 14px}
.comment-head{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;font-size:14px}
.comment-head span{color:#7d8b83;font-size:12.5px}
.comment-report{margin-left:auto;border:0;background:none;color:#8d8f8b;font:inherit;font-size:12px;cursor:pointer;text-decoration:underline}
.comment-report:hover{color:#a12e23}
.comment-text{margin:6px 0 0;font-size:14.5px;line-height:1.5;color:#25332f;white-space:pre-wrap;overflow-wrap:anywhere}
.comment-empty{color:#64716a;font-size:14px;padding:14px;border:1px dashed #becdc0;border-radius:10px}
.comment-form-wrap{margin:0 0 8px}
.comment-form-wrap summary{cursor:pointer;font-weight:650;color:#284b3e;padding:8px 0}
.comment-form{display:grid;gap:10px;max-width:640px;margin-top:8px}
.comment-form input[type=text],.comment-form textarea{width:100%;padding:10px 12px;border:1px solid #d1dbd2;border-radius:8px;font:inherit;font-size:14.5px;margin-top:6px;background:#fff}
.captcha-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.captcha-row img{border:1px solid #d1dbd2;border-radius:6px}
.captcha-row input{width:120px;padding:9px 11px;border:1px solid #d1dbd2;border-radius:8px;font:inherit}

/* Gruppengröße: Balken + Bewertungsknöpfe */
.group-typical{font-size:16px;margin:6px 0 12px;color:#25332f}
.group-typical b{color:#284b3e}
.group-bars{display:grid;gap:8px;margin-bottom:14px;max-width:620px}
.group-row{display:grid;grid-template-columns:130px 1fr 34px;gap:10px;align-items:center;font-size:13.5px;color:#3f5049}
.group-row[data-empty]{color:#8d9a92}
.group-track{height:12px;border-radius:6px;background:#eef1ec;overflow:hidden}
.group-fill{display:block;height:100%;background:#284b3e;border-radius:6px}
.group-row[data-empty] .group-fill{background:#d7ded5}
.group-votes{text-align:right;font-variant-numeric:tabular-nums;font-weight:700}

/* Geschätzte Fahrzeit: gestrichelter Rahmen, damit sie nicht wie eine Messung aussieht */
.info-chip.est{border-style:dashed;color:#4f6056}

/* Tourenverlauf: Dialog mit Straßenarten und Abbiegehinweisen */
.roadbook-dialog{max-width:760px;width:min(760px,94vw);max-height:86vh;overflow:auto;border:1px solid #becdc0;border-radius:12px;padding:22px;color:#25332f}
.roadbook-dialog::backdrop{background:rgba(14,26,21,.55)}
.roadbook-dialog h2{margin:0 0 4px;font-size:22px}
.roadbook-bar{display:flex;height:22px;border-radius:6px;overflow:hidden;border:1px solid #dce1d9;background:#f4f6f2;margin:10px 0 8px}
.roadbook-bar .seg{display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:#fff;white-space:nowrap;overflow:hidden}
.roadbook-bar .autobahn{background:#243b53}
.roadbook-bar .schnellstrasse{background:#3b5c76}
.roadbook-bar .bundesstrasse{background:#b84927}
.roadbook-bar .landesstrasse{background:#c98a3d}
.roadbook-bar .kreisstrasse{background:#8a8f52}
.roadbook-bar .ortsstrasse{background:#5c7a68}
.roadbook-bar .weg{background:#8a6d3b}
.roadbook-bar .sonstige,.roadbook-bar .unbekannt{background:#b9c3b9;color:#25332f}
.roadbook-legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;color:#3f5049;margin-bottom:12px}
.roadbook-legend i{display:inline-block;width:11px;height:11px;border-radius:3px;margin-right:5px;background:#b9c3b9}
.roadbook-legend i.autobahn{background:#243b53}.roadbook-legend i.schnellstrasse{background:#3b5c76}
.roadbook-legend i.bundesstrasse{background:#b84927}.roadbook-legend i.landesstrasse{background:#c98a3d}
.roadbook-legend i.kreisstrasse{background:#8a8f52}.roadbook-legend i.ortsstrasse{background:#5c7a68}
.roadbook-legend i.weg{background:#8a6d3b}
.roadbook-list{max-height:46vh;overflow:auto;margin:0 0 14px}
.roadbook-table{width:100%;border-collapse:collapse;font-size:13.5px}
.roadbook-table th{text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#7d8b83;border-bottom:1px solid #dce1d9;padding:6px 8px}
.roadbook-table td{padding:6px 8px;border-bottom:1px solid #eef1ec;vertical-align:top}
.roadbook-table td:first-child{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;color:#52635a}
.roadbook-table tr.turn td:nth-child(2){font-weight:700;color:#a6552e}
.roadbook-table tr.start td:nth-child(2){font-weight:700}

/* Sehenswürdigkeiten entlang der Route */
.sights-list{list-style:none;margin:12px 0 14px;padding:0;display:grid;gap:8px}
.sight{display:grid;grid-template-columns:74px 1fr;gap:10px;border-left:3px solid #284b3e;background:#fafbf8;border-radius:8px;padding:9px 12px}
.sight-km{font-size:12.5px;font-weight:700;color:#a6552e;white-space:nowrap;padding-top:1px}
.sight-body{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline;font-size:14.5px}
.sight-body b{font-weight:700}
.sight-body a{color:#25332f;text-decoration:none;border-bottom:1px solid #c9d3c9}
.sight-body a:hover{color:#a6552e;border-color:#a6552e}
.sight-kind{font-size:12.5px;color:#52635a}
.sight-links{display:flex;gap:10px;font-size:12px;color:#7d8b83;margin-left:auto}
.sight-links a{color:#284b3e}
@media (max-width:560px){.sight{grid-template-columns:1fr}.sight-links{margin-left:0}}

/* Tankstellen: Lücken-Hinweis und Kraftstoff-Chips */
.fuel-gap{margin:6px 0 12px;padding:10px 12px;border-radius:8px;background:#eef4ea;border-left:3px solid #284b3e;font-size:14px}
.fuel-chip{display:inline-block;padding:1px 8px;border-radius:999px;background:#eef1ec;color:#284b3e;font-size:11.5px;font-weight:650}

/* Auswahl-Kästchen an Sehenswürdigkeiten/Tankstellen */
.sight.selectable{grid-template-columns:auto 74px 1fr}
.sight.selectable input[type=checkbox]{width:17px;height:17px;margin:2px 0 0;accent-color:#284b3e;cursor:pointer}
@media (max-width:560px){.sight.selectable{grid-template-columns:auto 1fr}}

/* Aufklappbare POI-Bereiche (Sehenswürdigkeiten, Tankstellen) */
.poi-details > summary.panel-title{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;margin:0}
.poi-details > summary.panel-title::-webkit-details-marker{display:none}
.poi-details > summary.panel-title::before{content:"▸";font-size:18px;color:#7d8b83;transition:transform .15s;display:inline-block}
.poi-details[open] > summary.panel-title::before{transform:rotate(90deg)}
.poi-details > summary.panel-title:hover::before{color:#284b3e}
.poi-details[open] > summary.panel-title{margin-bottom:10px}
.poi-details > .poi-body{padding-top:2px}

/* Straßenarten im Verlauf (Tour-Seite und Planer) */
.road-types-list{list-style:none;margin:0;padding:0;display:grid;gap:4px;font-size:13.5px;color:#3f5049}
.road-types-list li{display:flex;align-items:center;gap:8px;padding:3px 0;border-bottom:1px solid #eef1ec}
.road-types-list li:last-child{border-bottom:0}
.road-types-list li > span:first-child{min-width:112px;color:#7d8b83;font-variant-numeric:tabular-nums;font-size:12.5px}
.road-types-list i{width:10px;height:10px;border-radius:2px;display:inline-block;background:#b9c3b9}
.road-types-list i.autobahn{background:#243b53}.road-types-list i.schnellstrasse{background:#3b5c76}
.road-types-list i.bundesstrasse{background:#b84927}.road-types-list i.landesstrasse{background:#c98a3d}
.road-types-list i.kreisstrasse{background:#8a8f52}.road-types-list i.ortsstrasse{background:#5c7a68}
.road-types-list i.weg{background:#8a6d3b}
.road-types-list small{color:#7d8b83}
.road-types-list li.more{color:#7d8b83;font-size:12.5px}

/* Straßenarten-Liste auf der Tour-Seite ebenfalls scrollbar halten */
.road-types-list{max-height:280px;overflow-y:auto}

/* Maut-Hinweis im Straßenarten-Bereich der Tour-Seite */
.road-types-toll{margin:4px 0 10px;padding:8px 12px;border-radius:8px;background:#fdf3ee;
  border-left:3px solid #b84927;font-size:13.5px;color:#8d3a1c}
.road-types-toll.free{background:#eef4ea;border-left-color:#284b3e;color:#2f5a44}
