/* MyWsM Explore (Lee, 1 Dec 2026) */
.wsmx-body { padding-top: 1.6rem; padding-bottom: 3rem; }
.wsmx-section { margin: 0 0 2.4rem; }
.wsmx-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wsmx-sec-head h2 small { font-size: .55em; font-weight: 600; color: var(--wsm-text-muted, #5f6368); margin-left: .4rem; }
.wsmx-see-all { font-weight: 700; color: var(--wsm-blue, #1d4ed8); text-decoration: none; white-space: nowrap; }
.wsmx-see-all:hover { text-decoration: underline; }
.wsmx-item { position: relative; display: flex; flex-direction: column; }
.wsmx-item > .card { flex: 1; }
.wsmx-dist-float { position: absolute; top: 10px; left: 10px; z-index: 2; background: #0d1b3e; color: #fff; font: 700 12px/1 system-ui, sans-serif; padding: 5px 8px; border-radius: 999px; }

/* Today in Weston */
.wsmx-today { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; background: #0d1b3e; color: #fff; border-radius: 14px; padding: 10px 16px; margin: 0 0 1.6rem; font-size: .93rem; }
.wsmx-today[hidden] { display: none; }
.wsmx-today-label { font-weight: 800; color: var(--wsm-yellow, #FFD100); text-transform: uppercase; letter-spacing: .04em; font-size: .78rem; }
.wsmx-today-bits { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.wsmx-tb { white-space: nowrap; }
.wsmx-flood { background: #b91c1c; padding: 2px 8px; border-radius: 6px; white-space: normal; }
.wsmx-flood.lvl-3 { background: #b45309; }

/* Toolbar, tabs, open now list */
.wsmx-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 1.6rem; }
.wsmx-locate { display: inline-flex; align-items: center; gap: 6px; }
.wsmx-locate-note { color: var(--wsm-text-muted, #5f6368); font-size: .92rem; }
.wsmx-showall { font-size: .92rem; display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.wsmx-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: .6rem 0 1rem; }
.wsmx-tab { border: 2px solid var(--wsm-border, #e3e7ef); background: #fff; border-radius: 999px; padding: 7px 14px; font-weight: 700; cursor: pointer; color: #0d1b3e; }
.wsmx-tab.is-on { background: #0d1b3e; border-color: #0d1b3e; color: #fff; }
.wsmx-tab span { font-weight: 600; opacity: .75; }
.wsmx-places { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wsmx-places[hidden], .wsmx-place[hidden] { display: none; }
.wsmx-place { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name dist" "meta call" "open call"; gap: 2px 10px; background: #fff; border: 1px solid var(--wsm-border, #e3e7ef); border-radius: 12px; padding: 12px 14px; }
.wsmx-place-name { grid-area: name; font-weight: 800; color: #0d1b3e; text-decoration: none; }
.wsmx-place-name:hover { text-decoration: underline; }
.wsmx-place-meta { grid-area: meta; color: var(--wsm-text-muted, #5f6368); font-size: .88rem; }
.wsmx-place-open { grid-area: open; font-size: .86rem; font-weight: 700; }
.wsmx-place-open.is-open { color: #15803d; }
.wsmx-place-open.is-closed { color: #b45309; }
.wsmx-place .wsmx-dist { grid-area: dist; font-size: .82rem; font-weight: 700; color: #0d1b3e; text-align: right; }
.wsmx-place-call { grid-area: call; align-self: end; justify-self: end; width: 36px; height: 36px; border-radius: 50%; background: var(--wsm-yellow, #FFD100); color: #0d1b3e; display: grid; place-items: center; text-decoration: none; font-size: 1.1rem; }

/* Lists of free places and walks */
.wsmx-free-list { margin: 0; padding: 0; list-style: none; counter-reset: wsmx; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wsmx-free-list li { counter-increment: wsmx; background: #fff; border: 1px solid var(--wsm-border, #e3e7ef); border-radius: 12px; padding: 14px 16px 14px 54px; position: relative; display: flex; flex-direction: column; gap: 4px; }
.wsmx-free-list li::before { content: counter(wsmx); position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--wsm-yellow, #FFD100); color: #0d1b3e; font-weight: 800; display: grid; place-items: center; }
.wsmx-free-list strong { color: #0d1b3e; }
.wsmx-free-list span { color: var(--wsm-text-muted, #5f6368); font-size: .93rem; }
.wsmx-free-list a { font-weight: 700; font-size: .9rem; color: var(--wsm-blue, #1d4ed8); text-decoration: none; }

/* More ideas */
.wsmx-more-ideas { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--wsm-border, #e3e7ef); }
.wsmx-more-ideas span { font-weight: 800; color: #0d1b3e; margin-right: 4px; }
.wsmx-more-ideas a { background: #f1f4fa; border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: .9rem; color: #0d1b3e; text-decoration: none; }
.wsmx-more-ideas a:hover { background: var(--wsm-yellow, #FFD100); }

/* Map */
.wsmx-map-tools { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 0 0 12px; }
.wsmx-map-pick { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; }
.wsmx-map-pick select { padding: 8px 10px; border-radius: 8px; border: 1px solid var(--wsm-border, #d6dbe6); max-width: 70vw; }
.wsmx-map-count { color: var(--wsm-text-muted, #5f6368); font-size: .92rem; }
.wsmx-mapbox { height: 70vh; min-height: 420px; border-radius: 16px; overflow: hidden; border: 1px solid var(--wsm-border, #e3e7ef); z-index: 0; }
.wsmx-maplink { margin: 0 0 14px; }

/* Listing extras */
.wsmx-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 1rem 0; }
.wsmx-badge { background: #eef6ee; color: #14532d; border: 1px solid #cfe7cf; border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: .88rem; text-decoration: none; }
.wsmx-badge:hover { background: #dcfce7; }
.wsmx-order { margin: 1rem 0 1.4rem; }
.wsmx-offers { margin: 1.6rem 0; }
.wsmx-offer { border: 2px dashed var(--wsm-yellow-dark, #e0b800); background: #fffbea; border-radius: 12px; padding: 12px 16px; margin: 0 0 10px; display: flex; flex-direction: column; gap: 3px; }
.wsmx-offer strong { font-size: 1.05rem; color: #0d1b3e; }
.wsmx-offer small { color: var(--wsm-text-muted, #5f6368); }
.wsmx-menu { margin: 1.6rem 0; }
.wsmx-menu h3 { margin: 1.2rem 0 .4rem; font-size: 1.05rem; color: #0d1b3e; text-transform: uppercase; letter-spacing: .04em; }
.wsmx-menu ul { list-style: none; margin: 0; padding: 0; }
.wsmx-menu li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px dotted #d6dbe6; }
.wsmx-menu-name small { display: block; color: var(--wsm-text-muted, #5f6368); font-size: .86rem; }
.wsmx-menu-price { font-weight: 800; white-space: nowrap; color: #0d1b3e; }
.wsmx-feature-ticks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 14px; }
.wsmx-feature-ticks label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.wsmx-offer-edit { border-top: 1px solid var(--wsm-border, #e3e7ef); padding-top: 10px; margin-top: 10px; }
.wsmx-closed { margin: 0 0 1.4rem; }

/* Deals */
.wsmx-deals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 2rem; }
.wsmx-deal { display: grid; grid-template-columns: 110px 1fr; gap: 14px; background: #fff; border: 2px dashed var(--wsm-yellow-dark, #e0b800); border-radius: 14px; padding: 14px; }
.wsmx-deal-img img { width: 110px; height: 110px; object-fit: cover; border-radius: 10px; display: block; }
.wsmx-deal h2 { font-size: 1.15rem; margin: .2rem 0; }
.wsmx-deal p { margin: 0 0 4px; }
.wsmx-deal-biz { font-weight: 700; font-size: .88rem; color: var(--wsm-blue, #1d4ed8); text-decoration: none; }
.wsmx-deal small { color: var(--wsm-text-muted, #5f6368); }

/* Search suggestions */
.wsmx-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 10000; background: #fff; border-radius: 12px; box-shadow: 0 14px 40px rgba(13, 27, 62, .25); overflow: hidden; text-align: left; max-height: 70vh; overflow-y: auto; }
.wsmx-suggest[hidden] { display: none; }
.wsmx-sg { display: grid; grid-template-columns: 76px 1fr; grid-template-areas: "type title" "type sub"; gap: 0 10px; padding: 9px 14px; color: #0d1b3e; text-decoration: none; border-bottom: 1px solid #eef1f6; }
.wsmx-sg:hover, .wsmx-sg.is-sel { background: #fff8d6; }
.wsmx-sg-type { grid-area: type; align-self: center; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #5f6368; }
.wsmx-sg-title { grid-area: title; font-weight: 700; }
.wsmx-sg-sub { grid-area: sub; font-size: .84rem; color: #5f6368; }
.wsmx-sg-all { display: block; font-weight: 700; color: var(--wsm-blue, #1d4ed8); }
.wsmx-sg-fix { padding: 9px 14px; background: #f1f4fa; font-size: .92rem; color: #0d1b3e; }
.wsmx-sg-fix a { color: var(--wsm-blue, #1d4ed8); }
.wsmx-fixed-search { background: #fff8d6; border: 1px solid #f2d675; border-radius: 10px; padding: 10px 14px; margin-top: 1rem; margin-bottom: 1rem; }

@media (max-width: 760px) {
  .wsmx-places, .wsmx-free-list, .wsmx-deals { grid-template-columns: 1fr; }
  .wsmx-deal { grid-template-columns: 80px 1fr; }
  .wsmx-deal-img img { width: 80px; height: 80px; }
  .wsmx-mapbox { height: 62vh; }
  .wsmx-sg { grid-template-columns: 1fr; grid-template-areas: "title" "sub"; }
  .wsmx-sg-type { display: none; }
}

/* Fuel prices */
.wsmx-fuel-best { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 1.4rem; }
.wsmx-fuel-tile { background: #0d1b3e; color: #fff; border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.wsmx-fuel-tile span { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--wsm-yellow, #FFD100); }
.wsmx-fuel-tile strong { font-size: 2.2rem; line-height: 1.1; }
.wsmx-fuel-tile em { font-style: normal; opacity: .85; font-size: .92rem; }
.wsmx-fuel-table-wrap { overflow-x: auto; border: 1px solid var(--wsm-border, #e3e7ef); border-radius: 14px; background: #fff; }
.wsmx-fuel-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.wsmx-fuel-table th { text-align: left; padding: 10px 12px; background: #f1f4fa; color: #0d1b3e; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.wsmx-fuel-table td { padding: 10px 12px; border-top: 1px solid #eef1f6; vertical-align: middle; }
.wsmx-fuel-table td small { display: block; color: var(--wsm-text-muted, #5f6368); font-size: .82rem; }
.wsmx-fuel-table .num { text-align: right; white-space: nowrap; }
.wsmx-fuel-p { font-weight: 800; font-size: 1.05rem; color: #0d1b3e; }
.wsmx-fuel-table tr.is-best td { background: #ecfdf3; }
.wsmx-fuel-table tr.is-best .wsmx-fuel-p::after { content: ' Cheapest'; display: block; font-size: .68rem; font-weight: 800; color: #15803d; text-transform: uppercase; }
.wsmx-fuel-table tr[hidden] { display: none; }
.wsmx-fuel-when { font-size: .84rem; color: var(--wsm-text-muted, #5f6368); white-space: nowrap; }
.wsmx-fuel-table a { font-weight: 700; color: var(--wsm-blue, #1d4ed8); text-decoration: none; }
.wsmx-fuel-note { margin-top: 1rem; }
@media (max-width: 760px) { .wsmx-fuel-best { grid-template-columns: 1fr 1fr; } .wsmx-fuel-tile strong { font-size: 1.7rem; } .wsmx-fuel-when { display: none; } .wsmx-fuel-table th:nth-child(4) { display: none; } }

/* Tide times */
.wsmx-tide-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; margin: 0 0 1.8rem; align-items: stretch; }
.wsmx-tide-scene { border-radius: 20px; overflow: hidden; min-height: 260px; background: #38bdf8; box-shadow: 0 10px 30px rgba(13,27,62,.18); }
.wsmx-tide-scene svg { display: block; width: 100%; height: 100%; min-height: 260px; }
.wsmx-wave { animation: wsmx-wave 3.2s linear infinite; }
.wsmx-wave.a { animation-duration: 5s; animation-direction: reverse; }
@keyframes wsmx-wave { from { transform: translateX(0); } to { transform: translateX(-50px); } }
.wsmx-gull { animation: wsmx-gull 22s linear infinite; }
@keyframes wsmx-gull { 0% { transform: translate(-40px, 70px); } 50% { transform: translate(400px, 40px); } 100% { transform: translate(840px, 80px); } }
.wsmx-star { animation: wsmx-twinkle 3s ease-in-out infinite alternate; }
.wsmx-star:nth-child(3n) { animation-delay: 1.4s; }
@keyframes wsmx-twinkle { from { opacity: .25; } to { opacity: .9; } }
.wsmx-post-n { paint-order: stroke; stroke: rgba(13,27,62,.55); stroke-width: 3px; }
@media (prefers-reduced-motion: reduce) { .wsmx-wave, .wsmx-gull, .wsmx-star, .wsmx-tide-now-state .arrow, .wsmx-tide-chart .nowdot { animation: none; } }
.wsmx-tide-now { background: #0d1b3e; color: #fff; border-radius: 20px; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.wsmx-tide-now-state { display: flex; gap: 14px; align-items: center; font-size: 1.25rem; line-height: 1.25; }
.wsmx-tide-now-state b { color: var(--wsm-yellow, #FFD100); }
.wsmx-tide-now-state small { display: block; font-size: .9rem; opacity: .85; margin-top: 4px; }
.wsmx-tide-now-state .arrow { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; background: #0ea5e9; animation: wsmx-bob 1.8s ease-in-out infinite; }
.wsmx-tide-now-state.down .arrow { background: #c9a66b; animation-name: wsmx-bob-d; }
@keyframes wsmx-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes wsmx-bob-d { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.wsmx-tide-bar { height: 10px; border-radius: 99px; background: rgba(255,255,255,.15); overflow: hidden; }
.wsmx-tide-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #0ea5e9, var(--wsm-yellow, #FFD100)); }
.wsmx-tide-bar-t { display: flex; justify-content: space-between; font-size: .8rem; opacity: .8; margin-top: -6px; }
.wsmx-tide-next { display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.07); border-radius: 12px; padding: 10px 12px; }
.wsmx-tide-next .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #0ea5e9; font-size: .95rem; flex: 0 0 auto; }
.wsmx-tide-next.is-low .ico { background: #c9a66b; }
.wsmx-tide-next b { display: block; font-size: 1.05rem; }
.wsmx-tide-next small { opacity: .8; }
.wsmx-tide-tips p { margin: 0 0 4px; font-size: .9rem; opacity: .92; }
.wsmx-tide-tips b { color: var(--wsm-yellow, #FFD100); }
.wsmx-tide-chart { background: #fff; border: 1px solid var(--wsm-border, #e3e7ef); border-radius: 16px; padding: 10px 8px 4px; }
.wsmx-tide-chart svg { display: block; width: 100%; height: auto; touch-action: pan-y; cursor: crosshair; }
.wsmx-tide-chart .night { fill: #0d1b3e; opacity: .07; }
.wsmx-tide-chart .grid { stroke: #eef1f6; stroke-width: 1; }
.wsmx-tide-chart .ylab { font-size: 11px; fill: #64748b; text-anchor: end; }
.wsmx-tide-chart .xlab { font-size: 11px; fill: #64748b; text-anchor: middle; }
.wsmx-tide-chart .curve { fill: none; stroke: #0284c7; stroke-width: 3; stroke-linejoin: round; }
.wsmx-tide-chart .pt { stroke: #fff; stroke-width: 2; }
.wsmx-tide-chart .pt.high { fill: #0284c7; }
.wsmx-tide-chart .pt.low { fill: #a16207; }
.wsmx-tide-chart .evlab { font-size: 12.5px; font-weight: 800; text-anchor: middle; fill: #0d1b3e; paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.wsmx-tide-chart .now { stroke: #ef4444; stroke-width: 2; stroke-dasharray: 4 4; }
.wsmx-tide-chart .nowdot { fill: #ef4444; stroke: #fff; stroke-width: 3; animation: wsmx-pulse 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes wsmx-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
.wsmx-tide-chart .hl { stroke: #0d1b3e; stroke-width: 1; opacity: .5; }
.wsmx-tide-chart .hc { fill: #0d1b3e; }
.wsmx-tide-chart .ht { font-size: 13px; font-weight: 800; text-anchor: middle; fill: #0d1b3e; paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.wsmx-tide-key { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .85rem; color: var(--wsm-text-muted, #5f6368); margin: .6rem 0 0; }
.wsmx-tide-key .k-high { color: #0284c7; font-weight: 700; }
.wsmx-tide-key .k-low { color: #a16207; font-weight: 700; }
.wsmx-tide-key .k-night::before { content: ""; display: inline-block; width: 14px; height: 10px; background: rgba(13,27,62,.12); border-radius: 3px; margin-right: 5px; }
.wsmx-tide-key .k-now::before { content: ""; display: inline-block; width: 10px; height: 10px; background: #ef4444; border-radius: 50%; margin-right: 5px; }
.wsmx-tide-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.wsmx-tide-day { background: #fff; border: 2px solid var(--wsm-border, #e3e7ef); border-radius: 16px; padding: 14px; cursor: pointer; transition: transform .15s, border-color .15s, box-shadow .15s; display: flex; flex-direction: column; gap: 8px; }
.wsmx-tide-day:hover, .wsmx-tide-day:focus { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(13,27,62,.1); outline: none; }
.wsmx-tide-day.is-on { border-color: #0284c7; }
.wsmx-tide-day header { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.wsmx-tide-day header strong { display: block; font-size: 1.1rem; color: #0d1b3e; }
.wsmx-tide-day header small { color: var(--wsm-text-muted, #5f6368); font-size: .82rem; }
.wsmx-moon { font-size: 1.7rem; line-height: 1; }
.wsmx-tide-kind { align-self: flex-start; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 9px; border-radius: 99px; background: #e0f2fe; color: #075985; }
.wsmx-tide-day.kind-spring .wsmx-tide-kind { background: #fef3c7; color: #92400e; }
.wsmx-tide-day.kind-neap .wsmx-tide-kind { background: #f1f5f9; color: #475569; }
.wsmx-tide-day ul { list-style: none; margin: 0; padding: 0; }
.wsmx-tide-day li { display: grid; grid-template-columns: 22px 42px 1fr auto; align-items: center; padding: 5px 0; border-top: 1px solid #f1f4f9; font-size: .95rem; }
.wsmx-tide-day li .ico { font-size: .75rem; }
.wsmx-tide-day li.is-high .ico, .wsmx-tide-day li.is-high .what { color: #0284c7; }
.wsmx-tide-day li.is-low .ico, .wsmx-tide-day li.is-low .what { color: #a16207; }
.wsmx-tide-day li .what { font-weight: 700; font-size: .85rem; }
.wsmx-tide-day li time { font-weight: 800; color: #0d1b3e; }
.wsmx-tide-day li .h { color: var(--wsm-text-muted, #5f6368); font-size: .88rem; }
.wsmx-tide-range { height: 6px; border-radius: 99px; background: #eef1f6; overflow: hidden; }
.wsmx-tide-range span { display: block; height: 100%; background: linear-gradient(90deg, #a16207, #0284c7); border-radius: 99px; }
.wsmx-tide-range-t { color: var(--wsm-text-muted, #5f6368); font-size: .8rem; margin-top: -4px; }
.wsmx-tide-day footer { font-size: .85rem; color: var(--wsm-text-muted, #5f6368); }
.wsmx-cam { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #0d1b3e; box-shadow: 0 10px 30px rgba(13,27,62,.18); }
.wsmx-cam iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wsmx-cam-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: #0d1b3e; }
.wsmx-cam-play img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; transition: opacity .2s; }
.wsmx-cam-play:hover img { opacity: 1; }
.wsmx-cam-live { position: absolute; top: 14px; left: 14px; background: #ef4444; color: #fff; font-weight: 800; font-size: .8rem; padding: 4px 10px; border-radius: 6px; letter-spacing: .05em; }
.wsmx-cam-btn { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; background: var(--wsm-yellow, #FFD100); color: #0d1b3e; display: grid; place-items: center; font-size: 2rem; padding-left: 6px; box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: transform .15s; }
.wsmx-cam-play:hover .wsmx-cam-btn { transform: scale(1.08); }
.wsmx-cam-credit { font-size: .85rem; color: var(--wsm-text-muted, #5f6368); margin: .5rem 0 0; }
.wsmx-cam-credit a { font-weight: 700; color: var(--wsm-blue, #1d4ed8); }
.wsmx-tide-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.wsmx-tide-facts > div { background: #f1f7fd; border-radius: 16px; padding: 16px 18px; }
.wsmx-tide-facts > div > span { font-size: 2rem; }
.wsmx-tide-facts h3 { margin: .3rem 0 .4rem; font-size: 1.05rem; color: #0d1b3e; }
.wsmx-tide-facts p { margin: 0; font-size: .93rem; }
.wsmx-tide-facts [data-wsmx-bus] { display: block; margin-top: .5rem; font-weight: 700; color: #075985; }
.wsmx-tide-safety { display: flex; gap: 16px; align-items: flex-start; background: #fff7ed; border: 2px solid #fdba74; border-radius: 16px; padding: 18px 20px; margin: 1.8rem 0; }
.wsmx-tide-safety-ico { font-size: 2rem; line-height: 1; }
.wsmx-tide-safety h2 { margin: 0 0 .3rem; font-size: 1.2rem; color: #9a3412; }
.wsmx-tide-safety p { margin: 0; }
.wsmx-tide-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1rem; }
.wsmx-tide-links a { background: #fff; border: 2px solid var(--wsm-border, #e3e7ef); border-radius: 99px; padding: 8px 16px; font-weight: 700; color: #0d1b3e; text-decoration: none; }
.wsmx-tide-links a:hover { border-color: #0d1b3e; }
.wsmx-tide-soon { display: flex; gap: 16px; align-items: center; background: #e0f2fe; border-radius: 18px; padding: 20px 22px; margin: 0 0 1.6rem; }
.wsmx-tide-soon-ico { font-size: 2.6rem; }
.wsmx-tide-soon h2 { margin: 0 0 .3rem; font-size: 1.3rem; }
.wsmx-tide-soon p { margin: 0; }
@media (max-width: 900px) { .wsmx-tide-top { grid-template-columns: 1fr; } .wsmx-tide-scene, .wsmx-tide-scene svg { min-height: 200px; } }
/* Tide top: scene full width, the now panel below in two columns */
.wsmx-tide-top { grid-template-columns: 1fr; }
.wsmx-tide-scene { min-height: 0; aspect-ratio: 800 / 320; }
.wsmx-tide-scene svg { min-height: 0; }
.wsmx-tide-now { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: row dense; gap: 12px 28px; align-content: start; }
.wsmx-tide-now > .wsmx-tide-now-state, .wsmx-tide-now > .wsmx-tide-bar, .wsmx-tide-now > .wsmx-tide-bar-t { grid-column: 1; }
.wsmx-tide-now > .wsmx-tide-next, .wsmx-tide-now > .wsmx-tide-tips { grid-column: 2; }
.wsmx-tide-now > .wsmx-tide-bar-t { margin-top: 0; }
@media (max-width: 700px) { .wsmx-tide-scene { aspect-ratio: 800 / 420; } .wsmx-tide-now { grid-template-columns: 1fr; } .wsmx-tide-now > * { grid-column: 1 !important; } }
.wsmx-tide-now { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.wsmx-tide-now-l, .wsmx-tide-now-r { display: flex; flex-direction: column; gap: 12px; }
.wsmx-tide-now-l .wsmx-tide-bar { margin-top: 6px; }
.wsmx-tide-now-l .wsmx-tide-bar-t { margin-top: -4px; }
@media (max-width: 700px) { .wsmx-tide-now { grid-template-columns: 1fr; } }
/* Lee 1 Dec: cam at the top, centred last rows and headings */
.wsmx-tide-top { gap: 10px; }
.wsmx-cam-top .wsmx-cam-live { pointer-events: none; }
.wsmx-tide-top .wsmx-cam-credit { margin: -2px 0 8px; }
.wsmx-tide-days { display: flex; flex-wrap: wrap; justify-content: center; }
.wsmx-tide-day { flex: 0 0 calc((100% - 56px) / 5); min-width: 0; }
@media (max-width: 1100px) { .wsmx-tide-day { flex-basis: calc((100% - 28px) / 3); } }
@media (max-width: 760px) { .wsmx-tide-day { flex-basis: calc((100% - 14px) / 2); } }
@media (max-width: 460px) { .wsmx-tide-day { flex-basis: 100%; } }
.wsmx-tide-facts > div > span:first-child { display: block; text-align: center; }
.wsmx-tide-facts h3 { text-align: center; }
.wsmx-tide-links { justify-content: center; }
/* Today in Weston, spaced out (Lee, 1 Dec 2026) */
.wsmx-today { gap: 10px 24px; padding: 12px 22px; }
.wsmx-today-label { flex: 0 0 auto; padding-right: 22px; border-right: 1px solid rgba(255,255,255,.18); line-height: 1.2; }
.wsmx-today-bits { flex: 1 1 auto; justify-content: space-around; align-items: center; gap: 10px 18px; }
.wsmx-tb { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.wsmx-tb .i { font-size: 1.35rem; line-height: 1; }
.wsmx-tb small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; opacity: .7; font-weight: 700; line-height: 1.2; }
.wsmx-tb b { display: block; font-size: 1.02rem; line-height: 1.25; }
a.wsmx-tb:hover b { color: var(--wsm-yellow, #FFD100); }
.wsmx-flood { display: inline-block; }
@media (max-width: 700px) { .wsmx-today-label { border-right: 0; padding-right: 0; flex-basis: 100%; } .wsmx-today-bits { justify-content: space-between; } }
@media (max-width: 700px) { .wsmx-today-bits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; width: 100%; } .wsmx-today-bits .wsmx-flood { grid-column: 1 / -1; } }
@media (max-width: 700px) { .wsmx-today-bits .wsmx-tb { white-space: normal; min-width: 0; } .wsmx-today-bits .wsmx-tb > span:last-child { min-width: 0; } }
/* Fuel trend (Lee, 1 Dec 2026) */
.wsmx-fuel-chg { display: block; margin-top: 4px; font-size: .82rem; font-weight: 700; }
.wsmx-fuel-chg.down { color: #4ade80; } .wsmx-fuel-chg.up { color: #fca5a5; } .wsmx-fuel-chg.same { color: rgba(255,255,255,.7); font-weight: 600; }
.wsmx-fuel-chart { background: #fff; border: 1px solid var(--wsm-border, #e3e7ef); border-radius: 16px; padding: 10px 8px 4px; }
.wsmx-fuel-chart svg { display: block; width: 100%; height: auto; }
.wsmx-fuel-chart .g { stroke: #eef1f6; } .wsmx-fuel-chart .yl { font-size: 11px; fill: #64748b; text-anchor: end; }
.wsmx-fuel-chart .xl { font-size: 11px; fill: #64748b; } .wsmx-fuel-chart .xl.end { text-anchor: end; }
.wsmx-fuel-chart polyline { fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.wsmx-fuel-chart .e10 { stroke: #16a34a; } .wsmx-fuel-chart .b7 { stroke: #0d1b3e; }
.wsmx-tide-key .k-e10 { color: #16a34a; font-weight: 700; } .wsmx-tide-key .k-b7 { color: #0d1b3e; font-weight: 700; }
.wsmx-fuel-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wsmx-fuel-chart { margin: 0; }
.wsmx-fuel-chart figcaption { padding: 6px 10px 0; font-size: .92rem; color: var(--wsm-text-muted, #5f6368); }
.wsmx-fuel-chart figcaption strong { color: #0d1b3e; margin-right: 6px; }
@media (max-width: 760px) { .wsmx-fuel-charts { grid-template-columns: 1fr; } }
/* Beach page (Lee, 1 Dec 2026) */
.wsmx-beach-cams { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 .4rem; }
.wsmx-beach-now { margin: 0; }
.wsmx-beach-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wsmx-beach-fact { background: #fff; border: 1px solid var(--wsm-border, #e3e7ef); border-radius: 16px; padding: 16px 18px; }
.wsmx-beach-fact > span { font-size: 1.9rem; display: block; text-align: center; }
.wsmx-beach-fact h3 { text-align: center; margin: .3rem 0 .5rem; font-size: 1.1rem; color: #0d1b3e; }
.wsmx-beach-fact p { margin: 0 0 .4rem; font-size: .94rem; }
.wsmx-beach-fact a { color: var(--wsm-blue, #1d4ed8); font-weight: 700; }
.wsmx-beach-flag { display: block; margin: .5rem 0; font-style: normal; font-weight: 800; font-size: .82rem; padding: 4px 10px; border-radius: 99px; width: fit-content; }
.wsmx-beach-flag.on { background: #fef3c7; color: #92400e; } .wsmx-beach-flag.off { background: #dcfce7; color: #166534; }
.wsmx-bw { list-style: none; margin: 0 0 .5rem; padding: 0; }
.wsmx-bw li { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-top: 1px solid #f1f4f9; }
.wsmx-bw li a { flex: 1; }
.wsmx-bw b { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; padding: 3px 9px; border-radius: 99px; background: #f1f5f9; color: #475569; }
.wsmx-bw .bw-excellent { background: #dcfce7; color: #166534; } .wsmx-bw .bw-good { background: #e0f2fe; color: #075985; }
.wsmx-bw .bw-sufficient { background: #fef3c7; color: #92400e; } .wsmx-bw .bw-poor { background: #fee2e2; color: #991b1b; }
.wsmx-bw-note { font-size: .85rem !important; color: var(--wsm-text-muted, #5f6368); }
.wsmx-faq details { background: #fff; border: 1px solid var(--wsm-border, #e3e7ef); border-radius: 12px; padding: 12px 16px; margin: 0 0 10px; }
.wsmx-faq summary { font-weight: 800; color: #0d1b3e; cursor: pointer; }
.wsmx-faq details p { margin: .6rem 0 0; }
@media (max-width: 760px) { .wsmx-beach-cams, .wsmx-beach-facts { grid-template-columns: 1fr; } }
/* Roadworks (Lee, 1 Dec 2026) */
.wsmx-rw-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 1rem; }
.wsmx-rw-summary div { background: #0d1b3e; color: #fff; border-radius: 14px; padding: 14px; text-align: center; }
.wsmx-rw-summary strong { display: block; font-size: 2rem; color: var(--wsm-yellow, #FFD100); line-height: 1.1; }
.wsmx-rw-summary span { font-size: .85rem; opacity: .85; }
.wsmx-rwmap { height: 380px; border-radius: 16px; margin: 0 0 1.4rem; }
.wsmx-rw-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; } /* centred rows: a short last row sits in the middle (Lee's rule) */
.wsmx-rw-list > .wsmx-rw { flex: 0 0 calc((100% - 36px) / 4); min-width: 0; box-sizing: border-box; }
@media (max-width: 1100px) { .wsmx-rw-list > .wsmx-rw { flex-basis: calc((100% - 24px) / 3); } }
@media (max-width: 820px) { .wsmx-rw-list > .wsmx-rw { flex-basis: calc((100% - 12px) / 2); } }
@media (max-width: 560px) { .wsmx-rw-list > .wsmx-rw { flex-basis: 100%; } }
.wsmx-rw { background: #fff; border: 1px solid var(--wsm-border, #e3e7ef); border-left: 5px solid #64748b; border-radius: 12px; padding: 12px 14px; }
.wsmx-rw.rw-closure { border-left-color: #dc2626; } .wsmx-rw.rw-lights { border-left-color: #f59e0b; } .wsmx-rw.rw-lane { border-left-color: #2563eb; }
.wsmx-rw h3 { margin: .3rem 0 .2rem; font-size: 1.02rem; color: #0d1b3e; } .wsmx-rw h3 small { font-weight: 600; color: var(--wsm-text-muted, #5f6368); }
.wsmx-rw p { margin: 0 0 .4rem; font-size: .88rem; color: var(--wsm-text-muted, #5f6368); }
.wsmx-rw a { font-weight: 700; font-size: .88rem; color: var(--wsm-blue, #1d4ed8); }
.wsmx-rw-tag { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 2px 8px; border-radius: 99px; background: #f1f5f9; color: #475569; }
.rw-closure .wsmx-rw-tag { background: #fee2e2; color: #991b1b; } .rw-lights .wsmx-rw-tag { background: #fef3c7; color: #92400e; } .rw-lane .wsmx-rw-tag { background: #dbeafe; color: #1e40af; }
.wsmx-rw-long { border-left: 4px solid #f59e0b; } .wsmx-rw-bar { height: 8px; border-radius: 99px; background: #f1f5f9; overflow: hidden; margin: 6px 0 2px; } .wsmx-rw-bar span { display: block; height: 100%; background: linear-gradient(90deg, #f59e0b, #ef4444); border-radius: 99px; } .wsmx-rw-weeks { font-size: .82rem; font-weight: 700; color: #92400e; margin: 0; }
@media (max-width: 760px) { .wsmx-rw-summary { grid-template-columns: 1fr 1fr; } .wsmx-rwmap { height: 300px; } }
.wsmx-beachday { margin: .6rem 0 0; padding: 10px 14px; border-radius: 12px; font-weight: 700; background: #e0f2fe; color: #075985; }
.wsmx-beachday.is-yes { background: #dcfce7; color: #166534; } .wsmx-beachday.is-no { background: #fee2e2; color: #991b1b; } .wsmx-beachday.is-meh { background: #fef3c7; color: #92400e; }
.wsmx-rw[hidden] { display: none; }
.wsmx-rw { position: relative; }
/* Lee 1 Dec: centred beach note with a button, centred More ideas, sunny page */
.wsmx-beachday { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; text-align: center; }
.wsmx-beachday-go { display: inline-block; background: #fff; color: inherit; border-radius: 99px; padding: 6px 14px; font-weight: 800; text-decoration: none; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.wsmx-beachday-go:hover { background: var(--wsm-yellow, #FFD100); color: #0d1b3e; }
.wsmx-more-ideas { justify-content: center; }
.wsmx-sunny-beach { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: linear-gradient(90deg, #fef3c7, #e0f2fe); border-radius: 18px; padding: 18px 22px; margin: 0 0 1.6rem; }
.wsmx-sunny-beach > span { font-size: 2.4rem; }
.wsmx-sunny-beach div { flex: 1 1 260px; }
.wsmx-sunny-beach h2 { margin: 0 0 .2rem; font-size: 1.3rem; }
.wsmx-sunny-beach p { margin: 0; }
/* Live in Weston marquee (Lee, 1 Dec 2026): endless scroll, pauses on hover/touch/focus, still for reduced motion */
.mw-marquee { overflow: hidden; margin: 0 0 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.mw-marquee-track { display: flex; width: max-content; animation: mw-marquee 70s linear infinite; }
.mw-marquee-set { display: flex; gap: 12px; padding-right: 12px; }
.mw-marquee .mw-live { flex: 0 0 180px; }
.mw-marquee:hover .mw-marquee-track, .mw-marquee:focus-within .mw-marquee-track, .mw-marquee.is-held .mw-marquee-track { animation-play-state: paused; }
@keyframes mw-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 600px) { .mw-marquee .mw-live { flex-basis: 140px; } .mw-marquee-track { animation-duration: 55s; } }
@media (prefers-reduced-motion: reduce) {
  .mw-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .mw-marquee-track { animation: none; }
  .mw-marquee-set[aria-hidden] { display: none; }
}
.wsmx-rw-later > summary { display: block; width: max-content; margin: 0 auto 14px; padding: 10px 22px; border-radius: 99px; background: var(--wsm-navy, #0f1b3d); color: #fff; font-weight: 800; cursor: pointer; list-style: none; } .wsmx-rw-later > summary::-webkit-details-marker { display: none; }
/* Train times (2 Dec 2026): a station departure board, dark with amber dot-matrix style text */
.wsmx-board { max-width: 900px; margin: 0 auto 18px; background: #0b1220; border-radius: 16px; padding: 16px 18px 12px; box-shadow: 0 8px 28px rgba(13,27,62,.25); color: #ffcc33; }
.wsmx-board-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid #1f2a44; padding-bottom: 8px; margin-bottom: 6px; }
.wsmx-board-head h2 { color: #fff; margin: 0; font-size: 1.35rem; } .wsmx-board-head h2 small { color: #ffcc33; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-left: 6px; }
.wsmx-board-clock { font: 700 1.5rem/1 ui-monospace, "Courier New", monospace; color: #ffcc33; letter-spacing: .06em; }
.wsmx-board-list { list-style: none; margin: 0; padding: 0; }
.wsmx-train { display: grid; grid-template-columns: 64px 1fr 70px 96px; gap: 10px; align-items: start; padding: 10px 2px; border-bottom: 1px dashed #1f2a44; font-family: ui-monospace, "Courier New", monospace; }
.wsmx-train:last-child { border-bottom: 0; }
.wsmx-train-time { font-weight: 800; font-size: 1.1rem; }
.wsmx-train-dest b { color: #ffe08a; font-size: 1.05rem; } .wsmx-train-dest small { color: #c9a640; }
.wsmx-train-calls, .wsmx-train-op, .wsmx-train-why { display: block; font: .8rem/1.4 system-ui, sans-serif; color: #9fb0cc; margin-top: 3px; }
.wsmx-train-why { color: #fca5a5; }
.wsmx-train-plat { text-align: center; color: #fff; } .wsmx-train-plat b { font-size: 1.15rem; color: #ffcc33; }
.wsmx-train-exp { text-align: right; font-weight: 800; }
.wsmx-train.is-ontime .wsmx-train-exp { color: #4ade80; } .wsmx-train.is-late .wsmx-train-exp { color: #fb923c; } .wsmx-train.is-cancelled .wsmx-train-exp { color: #f87171; }
.wsmx-train.is-cancelled .wsmx-train-dest b, .wsmx-train.is-cancelled .wsmx-train-time { text-decoration: line-through; opacity: .7; }
.wsmx-board-msg { background: #3b2a08; color: #ffe08a; border-radius: 8px; padding: 8px 12px; font: .88rem/1.45 system-ui, sans-serif; margin: 8px 0; }
.wsmx-board-empty { color: #c9d4ea; font-family: system-ui, sans-serif; text-align: center; padding: 18px 0; margin: 0; }
.wsmx-board-foot { margin: 10px 0 0; font: .8rem system-ui, sans-serif; color: #9fb0cc; text-align: center; } .wsmx-board-foot a { color: #ffcc33; }
.wsmx-toolbar .wsmx-tabs { justify-content: center; }
.wsmx-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.wsmx-facts > div { flex: 0 1 280px; background: #fff; border: 1px solid var(--wsm-border, #e3e7ef); border-radius: 12px; padding: 14px 16px; text-align: center; }
.wsmx-facts strong { display: block; color: #0d1b3e; margin-bottom: 4px; } .wsmx-facts span { color: #475569; font-size: .92rem; }
@media (max-width: 600px) { .wsmx-train { grid-template-columns: 52px 1fr 62px; } .wsmx-train-plat { display: none; } .wsmx-board { padding: 12px; } }
.wsmx-toolbar-c { justify-content: center; } .wsmx-toolbar-c .wsmx-tabs { justify-content: center; width: 100%; }

/* Bus times (3 Dec 2026) */
.wsmx-bus-find { max-width: 900px; margin: 0 auto 18px; }
.wsmx-bus-q { flex: 1 1 260px; min-width: 0; padding: 12px 14px; border: 2px solid #d6dbe6; border-radius: 12px; font-size: 1rem; }
.wsmx-bus-note { color: #475569; font-size: .92rem; margin: 6px 0 10px; min-height: 1em; }
.wsmx-bus-stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.wsmx-bus-stops button { width: 100%; text-align: left; background: #fff; border: 1px solid #d6dbe6; border-radius: 12px; padding: 10px 12px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; font: inherit; color: #0d1b3e; }
.wsmx-bus-stops button:hover, .wsmx-bus-stops button:focus { border-color: #1d4ed8; box-shadow: 0 2px 10px rgba(29,78,216,.15); }
.wsmx-bus-stops small { color: #64748b; font-size: .82rem; }
.wsmx-bus-none { color: #64748b; padding: 8px; }
.wsmx-bus { grid-template-columns: 64px 58px 1fr auto !important; }
.wsmx-bus-route { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 30px; padding: 0 6px; border-radius: 8px; background: #ffcc33; color: #0b1220; font: 800 1rem/1 'Barlow Condensed', Barlow, sans-serif; align-self: center; }
.wsmx-bus-live { color: #4ade80; }
.wsmx-bus-count { color: #475569; font-weight: 700; }
.wsmx-busmk { background: none; border: 0; }
.wsmx-busmk b { position: absolute; inset: 4px; display: flex; align-items: center; justify-content: center; background: #ffcc33; color: #0b1220; border: 2px solid #0b1220; border-radius: 50%; font: 800 .72rem/1 Barlow, sans-serif; }
.wsmx-busmk-arrow { position: absolute; inset: 0; display: block; }
.wsmx-busmk-arrow:before { content: ''; position: absolute; left: 50%; top: -3px; margin-left: -5px; border: 5px solid transparent; border-bottom: 7px solid #0b1220; border-top: 0; }
@media (max-width: 600px) { .wsmx-bus { grid-template-columns: 48px 50px 1fr auto !important; } .wsmx-bus-route { min-width: 40px; font-size: .9rem; } }
.wsmx-bus { align-items: center !important; } .wsmx-bus .wsmx-train-dest b { font-family: Barlow, sans-serif; }

/* Bus times v2 (3 Dec 2026): search, stop cards with next buses, map alongside */
.wsmx-bt { max-width: 1200px; margin: 0 auto 24px; }
.wsmx-bt-search { display: flex; gap: 8px; flex-wrap: wrap; background: #fff; border: 2px solid #d6dbe6; border-radius: 16px; padding: 8px; box-shadow: 0 6px 20px rgba(13,27,62,.08); }
.wsmx-bt-search input { flex: 1 1 220px; min-width: 0; border: 0; outline: 0; font-size: 1.1rem; padding: 10px 12px; background: transparent; }
.wsmx-bt-go, .wsmx-bt-me { border: 0; border-radius: 12px; padding: 10px 16px; font: 800 1rem 'Barlow Condensed', Barlow, sans-serif; text-transform: uppercase; letter-spacing: .03em; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.wsmx-bt-go { background: #0d1b3e; color: #fff; }
.wsmx-bt-me { background: #ffcc33; color: #0d1b3e; }
.wsmx-bt-places { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 4px; }
.wsmx-bt-places button { background: #eef2ff; color: #1e3a8a; border: 0; border-radius: 99px; padding: 6px 12px; font-size: .88rem; cursor: pointer; }
.wsmx-bt-places button:hover { background: #dbe4ff; }
.wsmx-bt-status { color: #334155; margin: 8px 2px 14px; min-height: 1.4em; }
.wsmx-bt-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 18px; align-items: start; }
.wsmx-bt-side { position: sticky; top: 90px; }
.wsmx-bt-map { height: 560px; border-radius: 16px; overflow: hidden; border: 1px solid #d6dbe6; }
.wsmx-bt-mapnote { font-size: .85rem; color: #475569; margin: 8px 2px; }
.wsmx-bt-key { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; border-radius: 50%; font: 800 .7rem Barlow, sans-serif; vertical-align: middle; }
.wsmx-bt-key-stop { background: #0d1b3e; color: #fff; }
.wsmx-bt-key-bus { background: #ffcc33; color: #0b1220; border: 2px solid #0b1220; padding: 0 3px; }
.wsmx-bt-list { display: grid; gap: 12px; }
.wsmx-bt-card { background: #fff; border: 1px solid #d6dbe6; border-radius: 16px; padding: 14px 16px 10px; box-shadow: 0 4px 14px rgba(13,27,62,.06); transition: box-shadow .3s; }
.wsmx-bt-card.is-flash { box-shadow: 0 0 0 3px #ffcc33; }
.wsmx-bt-card header { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.wsmx-bt-num { flex: 0 0 30px; height: 30px; border-radius: 50%; background: #0d1b3e; color: #fff; display: flex; align-items: center; justify-content: center; font: 800 .95rem Barlow, sans-serif; }
.wsmx-bt-name { flex: 1; min-width: 0; }
.wsmx-bt-name h3 { margin: 0; font-size: 1.2rem; line-height: 1.2; color: #0d1b3e; }
.wsmx-bt-name p { margin: 2px 0 0; color: #64748b; font-size: .88rem; }
.wsmx-bt-walk { text-align: right; color: #0d1b3e; font-size: .9rem; line-height: 1.2; white-space: nowrap; }
.wsmx-bt-walk small { display: block; color: #64748b; }
.wsmx-bt-deps { list-style: none; margin: 0; padding: 0; }
.wsmx-bt-deps li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid #eef1f6; }
.wsmx-bt-route { display: inline-flex; align-items: center; justify-content: center; height: 32px; border-radius: 8px; background: #ffcc33; color: #0b1220; font: 800 1.05rem/1 'Barlow Condensed', Barlow, sans-serif; }
.wsmx-bt-dest { font-weight: 700; color: #0d1b3e; overflow: hidden; text-overflow: ellipsis; }
.wsmx-bt-dest small { display: block; font-weight: 400; color: #64748b; font-size: .8rem; }
.wsmx-bt-when { text-align: right; font: 800 1.15rem/1.1 'Barlow Condensed', Barlow, sans-serif; color: #0d1b3e; white-space: nowrap; }
.wsmx-bt-when small { display: block; font: 400 .78rem Barlow, sans-serif; color: #64748b; }
.wsmx-bt-when.is-soon { color: #15803d; }
.wsmx-bt-card footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 8px; border-top: 1px solid #eef1f6; font-size: .9rem; }
.wsmx-bt-card footer button { background: none; border: 0; color: #1d4ed8; font-weight: 700; cursor: pointer; padding: 4px 0; }
.wsmx-bt-full { margin-top: 8px; background: #0b1220; border-radius: 12px; padding: 8px 12px; color: #ffcc33; }
.wsmx-bt-none, .wsmx-bt-empty, .wsmx-bt-loading { color: #64748b; margin: 6px 0; }
.wsmx-bt-stopmk { background: none; border: 0; }
.wsmx-bt-stopmk b { display: flex; width: 28px; height: 28px; border-radius: 50%; background: #0d1b3e; color: #fff; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); align-items: center; justify-content: center; font: 800 .85rem Barlow, sans-serif; }
@media (max-width: 900px) {
  .wsmx-bt-grid { grid-template-columns: 1fr; }
  .wsmx-bt-side { position: static; order: 2; }
  .wsmx-bt-map { height: 360px; }
}
@media (max-width: 600px) {
  .wsmx-bt-search input { flex-basis: 100%; }
  .wsmx-bt-go, .wsmx-bt-me { flex: 1; justify-content: center; }
  .wsmx-bt-places { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .wsmx-bt-places button { flex: 0 0 auto; }
  .wsmx-bt-card { padding: 12px 12px 8px; }
  .wsmx-bt-deps li { grid-template-columns: 46px minmax(0, 1fr) auto; }
}
/* Bus cards: bus numbers lead, stop name underneath (Lee, 3 Dec 2026) */
.wsmx-bt-routes { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 6px; }
.wsmx-bt-routes .wsmx-bt-route { height: 30px; min-width: 40px; padding: 0 8px; font-size: 1.05rem; }
.wsmx-bt-card header { align-items: flex-start; }
.wsmx-bt-name h3 { font-size: 1.15rem; }
.wsmx-bt-stopmk b { width: auto; min-width: 28px; height: 26px; padding: 0 6px; border-radius: 13px; white-space: nowrap; font-size: .78rem; }
.wsmx-bt-key-stop { border-radius: 11px; padding: 0 5px; }
/* Bus times v3: From / To journey finder (Lee, 3 Dec 2026) */
.wsmx-bt-plan { display: grid; gap: 8px; background: #fff; border: 2px solid #d6dbe6; border-radius: 18px; padding: 12px; box-shadow: 0 6px 20px rgba(13,27,62,.08); }
.wsmx-bt-field { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wsmx-bt-field label { flex: 0 0 44px; font: 800 .95rem 'Barlow Condensed', Barlow, sans-serif; text-transform: uppercase; color: #64748b; letter-spacing: .04em; }
.wsmx-bt-field input { flex: 1 1 200px; min-width: 0; border: 2px solid #e2e8f0; border-radius: 12px; padding: 11px 12px; font-size: 1.05rem; background: #f8fafc; }
.wsmx-bt-field input:focus { outline: 0; border-color: #1d4ed8; background: #fff; }
.wsmx-bt-field .wsmx-bt-me, .wsmx-bt-field .wsmx-bt-go { flex: 0 0 auto; min-width: 150px; justify-content: center; }
.wsmx-bt-places { align-items: center; }
.wsmx-bt-places span { font-size: .85rem; color: #64748b; margin-right: 2px; }
.wsmx-bt-h { font: 800 1.35rem 'Barlow Condensed', Barlow, sans-serif; text-transform: uppercase; color: #0d1b3e; margin: 6px 0 10px; letter-spacing: .02em; }
.wsmx-bt-journeys { display: grid; gap: 12px; margin-bottom: 22px; }
.wsmx-bt-journeys:empty { display: none; }
.wsmx-bt-j { background: #fff; border: 1px solid #d6dbe6; border-radius: 16px; padding: 14px 16px; box-shadow: 0 4px 14px rgba(13,27,62,.06); }
.wsmx-bt-j.is-best { border: 2px solid #ffcc33; box-shadow: 0 8px 24px rgba(255,204,51,.25); }
.wsmx-bt-j header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.wsmx-bt-route.is-big { height: 46px; min-width: 58px; padding: 0 10px; font-size: 1.6rem; border-radius: 10px; }
.wsmx-bt-jh { flex: 1; min-width: 0; }
.wsmx-bt-jh b { display: block; font-size: 1.2rem; color: #0d1b3e; }
.wsmx-bt-jh small { color: #64748b; font-size: .85rem; }
.wsmx-bt-leave { text-align: right; white-space: nowrap; }
.wsmx-bt-leave b { display: block; font: 800 1.2rem 'Barlow Condensed', Barlow, sans-serif; color: #15803d; text-transform: uppercase; }
.wsmx-bt-leave small { color: #64748b; font-size: .85rem; }
.wsmx-bt-steps { list-style: none; margin: 0; padding: 0 0 0 4px; border-left: 3px dotted #cbd5e1; margin-left: 26px; }
.wsmx-bt-steps li { position: relative; padding: 6px 0 6px 18px; color: #1e293b; font-size: .97rem; }
.wsmx-bt-steps li:before { content: ''; position: absolute; left: -10px; top: 11px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 3px solid #94a3b8; }
.wsmx-bt-steps li.is-bus:before, .wsmx-bt-steps li.is-off:before { border-color: #ffcc33; background: #ffcc33; }
.wsmx-bt-steps li.is-there:before { border-color: #15803d; background: #15803d; }
.wsmx-bt-steps small { color: #64748b; }
.wsmx-bt-steps a { font-size: .85rem; font-weight: 700; }
.wsmx-bt-nojourney { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 14px; padding: 14px 16px; color: #7c2d12; }
.wsmx-bt-stopmk.is-board b { background: #ffcc33; color: #0b1220; border-color: #0b1220; }
.wsmx-bt-destmk { background: none; border: 0; }
.wsmx-bt-destmk b { display: flex; width: 30px; height: 30px; align-items: center; justify-content: center; background: #15803d; color: #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); font-size: 15px; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
@media (max-width: 600px) {
  .wsmx-bt-field label { flex-basis: 100%; }
  .wsmx-bt-field .wsmx-bt-me, .wsmx-bt-field .wsmx-bt-go { flex: 1 1 100%; }
  .wsmx-bt-j { padding: 12px; }
  .wsmx-bt-route.is-big { height: 40px; min-width: 50px; font-size: 1.35rem; }
}
