:root { --ink:#1f2937; --muted:#6b7280; --line:#e3e7ec; --bg:#f3f5f7; --card:#fff; --ok:#15803d; --ok-bg:#e8f6ec; --warn:#b45309; --warn-bg:#fef3c7; --bad:#b91c1c; --bad-bg:#fdecec; --acc:#1d6fb8; --sel:#e8590c; }
* { box-sizing:border-box; }
body { margin:0; font:15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color:var(--ink); background:var(--bg); }
a { color:var(--acc); }
h1, h2, h3 { margin:0; line-height:1.25; }
.fr-wrap { max-width:1180px; margin:0 auto; padding:0 16px; }
.fr-card { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:18px 20px; min-width:0; }
.fr-card h2 { font-size:18px; margin-bottom:4px; }
.fr-sub { color:var(--muted); font-size:13px; margin:0 0 12px; }

.fr-top { background:#fff; border-bottom:1px solid var(--line); }
.fr-top .fr-wrap { display:flex; align-items:center; gap:16px; min-height:56px; }
.fr-brand { font-size:17px; font-weight:700; }
.fr-brand span { color:var(--muted); font-weight:400; }
.fr-lang { margin-left:auto; display:flex; gap:2px; flex:none; }
.fr-lang a { padding:4px 9px; border-radius:6px; text-decoration:none; color:var(--muted); font-size:13px; font-weight:600; }
.fr-lang a:hover { background:var(--bg); }
.fr-lang a.on { background:var(--ink); color:#fff; }

.fr-hero { display:grid; grid-template-columns:minmax(0, 5fr) minmax(0, 7fr); gap:16px; margin:20px 0 16px; }
.fr-status { display:flex; align-items:center; gap:12px; padding:14px 16px; border-radius:10px; }
.fr-status b { font-size:21px; line-height:1.2; }
.fr-dot { width:14px; height:14px; border-radius:50%; flex:none; background:currentColor; box-shadow:0 0 0 5px color-mix(in srgb, currentColor 18%, transparent); }
.fr-status.fr-ok { background:var(--ok-bg); color:var(--ok); }
.fr-status.fr-bad { background:var(--bad-bg); color:var(--bad); }
.fr-status.fr-unk { background:var(--bg); color:var(--muted); }
.fr-note { margin:10px 0 0; font-weight:600; }
.fr-status + .fr-sub, .fr-note + .fr-sub { margin:8px 0 0; }
.fr-warn { margin:10px 0 0; padding:8px 12px; border-radius:8px; background:var(--warn-bg); color:#92400e; font-size:14px; }
.fr-facts { margin:12px 0 0; padding:0; list-style:none; }
.fr-facts li { display:flex; justify-content:space-between; gap:12px; padding:8px 0; border-top:1px solid var(--line); }
.fr-facts li span:first-child { color:var(--muted); white-space:nowrap; }
.fr-facts small { display:block; font-size:12px; font-weight:400; color:var(--muted); }
.fr-facts li span:last-child { text-align:right; font-weight:600; }
.fr-src { margin:10px 0 0; }
.fr-c-ok { color:var(--ok); } .fr-c-warn { color:var(--warn); } .fr-c-bad { color:var(--bad); }

.fr-mapbox { display:flex; flex-direction:column; min-height:360px; }
.fr-map { flex:1; min-height:300px; border:1px solid var(--line); border-radius:12px; background:#dfe7ee; z-index:0; }
.fr-where { margin:8px 2px 0; font-size:14px; min-height:21px; }
.fr-where .m { color:var(--muted); }
.fr-ship { background:none; border:0; }
.fr-ship svg { width:100%; height:100%; filter:drop-shadow(0 1px 1px rgba(0,0,0,.35)); }
.fr-ramp span { display:block; width:12px; height:12px; background:var(--ink); border:2px solid #fff; border-radius:2px; box-shadow:0 0 0 1px var(--ink); }
.leaflet-tooltip.fr-lbl { background:rgba(255,255,255,.9); border:0; box-shadow:none; font-weight:600; font-size:13px; padding:1px 5px; }
.leaflet-tooltip.fr-lbl::before { display:none; }

.fr-ad { margin:16px 0; min-height:100px; text-align:center; }

.fr-row3 { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:16px; margin:16px 0; }
.fr-dir { font-weight:600; font-size:14px; }
.fr-times { display:grid; grid-template-columns:repeat(6, 1fr); gap:6px; margin:6px 0 14px; }
.fr-times:last-child { margin-bottom:0; }
.fr-times span { text-align:center; padding:5px 0; border-radius:6px; background:var(--bg); font-variant-numeric:tabular-nums; font-size:14px; }
.fr-times span.past { color:#b6bcc4; }
.fr-times span.next { background:var(--ink); color:#fff; font-weight:700; }
.fr-flag { display:inline-block; width:18px; height:12px; vertical-align:-1px; margin-right:6px; border-radius:2px; }
.fr-fl-bg { background:linear-gradient(#fff 0 33%, #00966e 33% 66%, #d62612 66%); box-shadow:0 0 0 1px #ccc; }
.fr-fl-ro { background:linear-gradient(to right, #002b7f 0 33%, #fcd116 33% 66%, #ce1126 66%); }
.fr-level { font-size:30px; font-weight:700; }
.fr-scale { position:relative; height:8px; border-radius:4px; margin:10px 0 6px; background:linear-gradient(to right, #ef4444 0 20%, #f59e0b 20% 35%, #22c55e 35%); }
.fr-scale i { position:absolute; top:-5px; width:4px; height:18px; margin-left:-2px; background:var(--ink); border-radius:2px; }
.fr-scale-lbl { display:flex; justify-content:space-between; gap:8px; font-size:12px; color:var(--muted); }
.fr-two { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.fr-two a { text-decoration:none; color:var(--muted); font-size:13px; }
.fr-two a:hover { color:var(--acc); }
.fr-thumb { display:block; width:100%; height:110px; object-fit:cover; border-radius:8px; margin:0 0 4px; background:#dde3e9; }

.fr-row3b { display:grid; grid-template-columns:minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr); gap:16px; margin:16px 0; align-items:start; }
.fr-pr { width:100%; border-collapse:collapse; }
.fr-pr td { padding:7px 0; border-top:1px solid var(--line); vertical-align:top; }
.fr-pr tr:first-child td { border-top:0; }
.fr-pr td:last-child { padding-left:12px; text-align:right; font-weight:600; font-variant-numeric:tabular-nums; white-space:nowrap; }
.fr-fix { margin-top:12px; padding:0; border:0; background:none; font:inherit; font-size:13px; color:var(--muted); text-decoration:underline; cursor:pointer; }
.fr-fix:hover { color:var(--acc); }

.fr-foot { padding:20px 0 40px; color:var(--muted); font-size:13px; }

.fr-dlg { width:min(480px, calc(100% - 32px)); padding:0; border:0; border-radius:12px; box-shadow:0 10px 40px rgba(0,0,0,.25); color:var(--ink); }
.fr-dlg::backdrop { background:rgba(17,24,39,.5); }
.fr-dlg form { position:relative; padding:20px; }
.fr-dlg h2 { font-size:18px; margin:0 30px 12px 0; }
.fr-dlg label { display:block; margin:10px 0 4px; font-size:14px; color:var(--muted); }
.fr-dlg textarea { width:100%; padding:9px 10px; border:1px solid #cfd5dc; border-radius:8px; font:inherit; resize:vertical; }
.fr-files input { display:block; margin:0 0 6px; font-size:14px; max-width:100%; }
.fr-x { position:absolute; top:10px; right:12px; width:32px; height:32px; border:0; background:none; font-size:26px; line-height:1; color:var(--muted); cursor:pointer; }
.fr-r { margin:10px 0 0; font-size:14px; }
.fr-r.ok { color:var(--ok); } .fr-r.err { color:var(--bad); }
.fr-actions { margin-top:14px; text-align:right; }
.fr-btn { padding:10px 22px; border:0; border-radius:8px; background:var(--ink); color:#fff; font:inherit; font-weight:600; cursor:pointer; }
.fr-btn:disabled { opacity:.5; cursor:default; }

@media (max-width:900px) {
	.fr-hero, .fr-row3, .fr-row3b { grid-template-columns:1fr !important; }
	.fr-mapbox { min-height:0; }
	.fr-map { flex:none; height:300px; }
}
@media (max-width:480px) {
	.fr-top .fr-wrap { flex-wrap:wrap; gap:4px 12px; padding-top:8px; padding-bottom:8px; }
	.fr-brand { font-size:16px; }
	.fr-brand span { display:none; }
	.fr-card { padding:16px; }
	.fr-times { grid-template-columns:repeat(4, 1fr); }
	.fr-status b { font-size:19px; }
}

.fr-lvl { margin:14px 0 4px; }
.fr-lvl-head { display:flex; justify-content:space-between; gap:12px; }
.fr-lvl-head span { color:var(--muted); }
.fr-lvl .fr-scale { margin:8px 0 5px; }
.fr-row3 { grid-template-columns:minmax(0, 3fr) minmax(0, 2fr); }
.fr-times span.off { color:#c4c9cf; background:none; text-decoration:line-through; }
.fr-wx { border-top:1px solid var(--line); }
.fr-wx summary { display:flex; justify-content:space-between; gap:12px; padding:8px 0; cursor:pointer; list-style:none; color:var(--muted); }
.fr-wx summary::-webkit-details-marker { display:none; }
.fr-wx summary span:last-child { color:var(--ink); font-weight:600; }
.fr-wx summary em { font-style:normal; }
.fr-wx[open] summary em { display:none; }
.fr-chev { display:inline-block; width:7px; height:7px; margin:0 3px 3px 10px; border:solid var(--muted); border-width:0 2px 2px 0; transform:rotate(45deg); transition:transform .15s; vertical-align:middle; }
.fr-wx[open] .fr-chev { transform:translateY(3px) rotate(-135deg); }
.fr-wx summary:hover .fr-chev { border-color:var(--ink); }
.fr-wx .fr-facts { margin:0; }
.fr-wx .fr-facts li { padding:6px 0 6px 12px; }
.fr-wx + .fr-src { border-top:1px solid var(--line); padding-top:10px; }
.fr-scale::before, .fr-scale::after { content:""; position:absolute; top:-3px; bottom:-3px; width:2px; background:#fff; }
.fr-scale::before { left:20%; } .fr-scale::after { left:35%; }
.fr-ticks { position:relative; height:16px; font-size:12px; font-weight:600; color:var(--ink); }
.fr-ticks span { position:absolute; top:0; transform:translateX(-50%); white-space:nowrap; }
.fr-ticks span:last-child { transform:translateX(-4px); }
.fr-legend { display:flex; flex-wrap:wrap; gap:2px 14px; margin-top:4px; font-size:12px; color:var(--muted); }
.fr-legend span::before { content:""; display:inline-block; width:8px; height:8px; margin-right:5px; border-radius:2px; }
.fr-legend .b::before { background:#ef4444; } .fr-legend .w::before { background:#f59e0b; } .fr-legend .o::before { background:#22c55e; }

.fr-menu { background:#fff; border-bottom:1px solid var(--line); }
.fr-menu .fr-wrap { display:flex; gap:4px; overflow-x:auto; scrollbar-width:none; }
.fr-menu .fr-wrap::-webkit-scrollbar { display:none; }
.fr-menu a { flex:none; padding:10px 12px; color:var(--muted); text-decoration:none; font-size:14px; font-weight:600; border-bottom:2px solid transparent; margin-bottom:-1px; }
.fr-menu a:hover { color:var(--ink); }
.fr-menu a.on { color:var(--ink); border-bottom-color:var(--ink); }
.fr-menu .fr-m-map { display:none; }
html { scroll-behavior:smooth; }
@media (max-width:900px) {
	.fr-menu { position:sticky; top:0; z-index:1100; }
	.fr-menu.fr-float { box-shadow:0 2px 8px rgba(0,0,0,.08); }
	.fr-menu .fr-m-map { display:block; }
	.fr-menu .fr-wrap { padding:0 8px; gap:0; }
	.fr-menu a { padding:10px 10px; }
	#now, #map, #schedule, #v360, #prices { scroll-margin-top:52px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

.fr-row3 { grid-template-columns:1fr; }
@media (min-width:901px) { .fr-times { grid-template-columns:repeat(12, 1fr); } }
.fr-last { margin:16px 0; }
@media (min-width:901px) { .fr-last .fr-thumb { height:200px; } }

.fr-lang { position:relative; margin-left:auto; flex:none; }
.fr-lang summary { display:flex; align-items:center; gap:6px; padding:5px 10px; border:1px solid var(--line); border-radius:8px; cursor:pointer; list-style:none; font-size:13px; font-weight:700; color:var(--ink); user-select:none; }
.fr-lang summary::-webkit-details-marker { display:none; }
.fr-lang summary::after { content:""; width:6px; height:6px; margin:0 1px 3px 2px; border:solid var(--muted); border-width:0 2px 2px 0; transform:rotate(45deg); }
.fr-lang[open] summary::after { transform:translateY(3px) rotate(-135deg); }
.fr-lang summary:hover { border-color:#c5ccd4; }
.fr-globe { width:15px; height:15px; border:1.6px solid var(--muted); border-radius:50%; position:relative; }
.fr-globe::before { content:""; position:absolute; inset:-1.6px 3.5px; border:1.6px solid var(--muted); border-radius:50%; }
.fr-globe::after { content:""; position:absolute; left:0; right:0; top:50%; border-top:1.6px solid var(--muted); margin-top:-.8px; }
.fr-lang ul { position:absolute; right:0; top:calc(100% + 6px); z-index:1200; min-width:190px; margin:0; padding:6px; list-style:none; background:#fff; border:1px solid var(--line); border-radius:10px; box-shadow:0 8px 24px rgba(0,0,0,.12); }
.fr-lang li a { display:flex; gap:10px; padding:7px 10px; border-radius:6px; color:var(--ink); text-decoration:none; font-size:14px; font-weight:400; background:none; }
.fr-lang li a b { width:24px; color:var(--muted); font-size:12px; font-weight:700; padding-top:1px; }
.fr-lang li a:hover { background:var(--bg); }
.fr-lang li a.on { background:var(--ink); color:#fff; }
.fr-lang li a.on b { color:#cbd2d9; }
@media (max-width:480px) { .fr-top .fr-wrap { flex-wrap:nowrap; } .fr-brand { font-size:15px; } }
.fr-facts small { white-space:nowrap; }

.fr-scale { background:linear-gradient(to right, #ef4444 0 var(--z), #f59e0b var(--z) var(--c), #22c55e var(--c)); }
.fr-scale::before { left:var(--z); } .fr-scale::after { left:var(--c); }
.fr-scale::before, .fr-scale::after { width:1.5px; margin-left:-.75px; }
.fr-ticks span:first-child { transform:translateX(-100%); padding-right:1px; }
.fr-ticks span:last-child { transform:none; padding-left:2px; }

.fr-fg { flex:none; width:24px; height:16px; border-radius:2px; box-shadow:0 0 0 1px rgba(0,0,0,.14); display:block; }
.fr-lang summary { padding:7px 9px; gap:7px; }
.fr-lang li a { align-items:center; gap:11px; }
.fr-lang li a.on .fr-fg { box-shadow:0 0 0 1px rgba(255,255,255,.5); }

.fr-row3 #history { margin-top:0; }
.fr-hday { border-top:1px solid var(--line); padding:10px 0 12px; }
.fr-hday:first-child { border-top:0; padding-top:0; }
.fr-hhead { display:flex; align-items:baseline; gap:8px; width:100%; padding:0 0 8px; border:0; background:none; font:inherit; color:var(--ink); text-align:left; cursor:pointer; }
.fr-hhead span { color:var(--muted); font-size:13px; }
.fr-hhead em { margin-left:auto; font-style:normal; font-size:13px; color:var(--muted); }
.fr-hhead .fr-chev { margin:0 3px 3px 4px; align-self:center; }
.fr-hday.open .fr-chev { transform:translateY(3px) rotate(-135deg); }
.fr-hbar { position:relative; height:22px; border-radius:5px; overflow:hidden; background:#e9edf1 linear-gradient(to right, transparent calc(25% - .5px), #fff calc(25% - .5px) calc(25% + .5px), transparent calc(25% + .5px) calc(50% - .5px), #fff calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px) calc(75% - .5px), #fff calc(75% - .5px) calc(75% + .5px), transparent calc(75% + .5px)); }
.fr-hbar i { position:absolute; top:0; bottom:0; min-width:2px; }
.fr-hbar .tb { background:#e8590c; } .fr-hbar .to { background:#1d6fb8; }
.fr-hbar .nd { background:repeating-linear-gradient(135deg, #f3f5f7 0 4px, #dfe4ea 4px 8px); }
.fr-hbar .fu { background:#fff; box-shadow:inset 0 0 0 1px var(--line); }
.fr-hbar .nowm { width:2px; min-width:2px; margin-left:-1px; background:var(--ink); }
.fr-hticks { display:flex; justify-content:space-between; margin-top:3px; font-size:11px; color:var(--muted); font-variant-numeric:tabular-nums; }
.fr-hlist { display:none; margin:10px 0 0; padding:0; list-style:none; }
.fr-hday.open .fr-hlist { display:block; }
.fr-hlist li { display:flex; align-items:center; gap:10px; padding:6px 0; border-top:1px solid var(--line); font-size:14px; }
.fr-hlist li span { flex:none; width:8px; height:8px; border-radius:2px; }
.fr-hlist .tb { background:#e8590c; } .fr-hlist .to { background:#1d6fb8; }
.fr-hlist b { flex:none; min-width:104px; font-variant-numeric:tabular-nums; font-weight:600; }
.fr-hlist em { font-style:normal; color:var(--muted); min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.fr-hlist small { margin-left:auto; flex:none; color:var(--muted); font-size:12px; }
.fr-hleg { margin-top:10px; }
.fr-hleg .tb::before { background:#e8590c; } .fr-hleg .to::before { background:#1d6fb8; }
.fr-hleg .nd::before { background:repeating-linear-gradient(135deg, #f3f5f7 0 2px, #cfd5dc 2px 4px); box-shadow:0 0 0 1px var(--line); }
#history { scroll-margin-top:52px; }

.fr-hbar .gap { display:flex; align-items:center; justify-content:center; overflow:hidden; background:#dde2e8; }
.fr-hbar .gap span { font-size:11px; font-weight:600; color:#5b6470; white-space:nowrap; }
.fr-hleg .id::before { background:#dde2e8; }
.fr-legend [hidden] { display:none; }

.fr-menu { position:sticky; top:0; z-index:1100; }
.fr-menu.fr-float { box-shadow:0 2px 8px rgba(0,0,0,.08); }
#now, #map, #schedule, #history, #v360, #prices { scroll-margin-top:56px; }

.fr-hbar .live { animation:fr-pulse 1.4s ease-in-out infinite; }
@keyframes fr-pulse { 50% { opacity:.45; } }
@media (prefers-reduced-motion:reduce) { .fr-hbar .live { animation:none; } }

.fr-hbar { background:#fff; box-shadow:inset 0 0 0 1px var(--line); }
.fr-hbar .tr { background:#1d6fb8; z-index:1; }
.fr-hbar .so { background:#a9dbb8; min-width:0; }
.fr-hbar .sb { background:#f7dc7c; min-width:0; }
.fr-hbar .gap { background:#e3e7ec; }
.fr-hbar .fu { background:#fff; box-shadow:none; }
.fr-hbar .nowm { z-index:2; }
.fr-hlist .tr { background:#1d6fb8; }
.fr-hleg .tr::before { background:#1d6fb8; } .fr-hleg .so::before { background:#a9dbb8; } .fr-hleg .sb::before { background:#f7dc7c; }
.fr-hleg .id::before { background:#e3e7ec; }

.fr-hbar .so, .fr-hleg .so::before { background:#f0deb0; }
.fr-hbar .sb, .fr-hleg .sb::before { background:#e2a07e; }
.fr-hbar .gap, .fr-hleg .id::before { background:#e4e8ee; }
.fr-hbar .gap span { color:#59636f; }

.fr-fc { margin:10px 0 0; padding:8px 12px; border-radius:10px; font-size:.92rem; background:#eef4fa; color:#2d4a66; }
.fr-fc.l1 { background:#fdf3d4; color:#6b4e00; }
.fr-fc.l2 { background:#fde3cc; color:#7a3a00; }
.fr-fc.l3 { background:#f9d6d6; color:#8a1c1c; }
.fr-fcbox { margin-top:12px; }
.fr-fch { font-size:.85rem; color:var(--muted, #5b6b7b); margin-bottom:6px; }
.fr-fcbars { display:flex; gap:2px; height:56px; align-items:flex-end; padding-bottom:16px; position:relative; }
.fr-fcbars i { flex:1; height:100%; display:flex; align-items:flex-end; position:relative; font-style:normal; }
.fr-fcbars b { display:block; width:100%; border-radius:2px 2px 0 0; background:#bcd3ea; }
.fr-fcbars .l1 b { background:#f2c94c; } .fr-fcbars .l2 b { background:#f2994a; } .fr-fcbars .l3 b { background:#d64545; }
.fr-fcbars span { position:absolute; top:100%; left:0; font-size:.7rem; color:var(--muted, #5b6b7b); margin-top:2px; }
.fr-fcleg { display:flex; flex-wrap:wrap; gap:4px 12px; font-size:.78rem; color:var(--muted, #5b6b7b); margin-top:4px; }
.fr-fcleg span::before { content:''; display:inline-block; width:10px; height:10px; border-radius:2px; margin-right:4px; vertical-align:-1px; background:#bcd3ea; }
.fr-fcleg .l1::before { background:#f2c94c; } .fr-fcleg .l2::before { background:#f2994a; } .fr-fcleg .l3::before { background:#d64545; }
.fr-fcbox .fr-fc { margin:0 0 8px; }

.fr-vdlg { width:min(1100px, 96vw); height:min(760px, 86vh); max-width:none; max-height:none; padding:0; border:0; border-radius:12px; overflow:hidden; background:#000; }
.fr-vdlg::backdrop { background:rgba(10, 20, 30, .75); }
.fr-vdlg iframe { display:block; width:100%; height:100%; border:0; }
.fr-vx { position:absolute; top:8px; right:8px; z-index:2; width:40px; height:40px; border:0; border-radius:50%; background:rgba(255,255,255,.92); color:#1f2937; font-size:26px; line-height:40px; padding:0; cursor:pointer; box-shadow:0 1px 4px rgba(0,0,0,.3); }
.fr-vx:hover { background:#fff; }
@media (max-width:600px) { .fr-vdlg { width:100vw; height:100dvh; max-height:100dvh; border-radius:0; } }

.fr-wnd { margin-top:14px; }
.fr-wscale { position:relative; height:8px; border-radius:4px; margin:8px 0 5px; background:linear-gradient(to right, #22c55e 0 56.25%, #facc15 56.25% 68.75%, #f97316 68.75% 81.25%, #ef4444 81.25%); }
.fr-wscale i { position:absolute; top:-5px; width:4px; height:18px; margin-left:-2px; background:var(--ink); border-radius:2px; }
.fr-wticks span, .fr-wticks span:first-child { transform:translateX(-50%); padding:0; }
.fr-wticks span:last-child { transform:translateX(-100%); }

.fr-scale.fr-scale-n { background:#cbd5e1; }
.fr-scale.fr-scale-n::before, .fr-scale.fr-scale-n::after { display:none; }
.fr-lines { margin:6px 0 0; }
.fr-lines a { margin:0 6px; }
.fr-hrow { display:flex; align-items:center; gap:8px; }
.fr-hrow + .fr-hrow { margin-top:4px; }
.fr-hrow > .fr-hbar, .fr-hrow > .fr-hticks { flex:1; min-width:0; }
.fr-hship { flex:none; width:52px; font-size:11px; font-weight:600; color:var(--muted); text-align:right; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
