/* Fisheries hub explorer. Loaded only on /fisheries/ when sg_fisheries_map_enabled is 1. */
.sg-fm { --h0: #eef2f6; --h1: #c3d1df; --h2: #8aa4bf; --h3: #46698e; --h4: #14263d; margin: 4px 0 8px; }
.sg-fm-regions { margin: 0 0 16px; }
.sg-fm [hidden] { display: none !important; }
.sg-fm .sr, .sg-fm-table .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sg-fm-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.sg-fm-head h2 { margin: 12px 0 4px; }
.sg-fm-note { margin: 0; color: var(--slate); font-size: 14px; line-height: 20px; }
.sg-fm-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--featured-fill); color: var(--brass-deep); font-weight: 600; font-size: 13px; }
.sg-fm-note a, .sg-fm-key a { color: var(--harbor); font-weight: 600; }
.sg-fm-filters { background: #fff; border: 1px solid #e3d6bb; border-top: 3px solid var(--brass); border-radius: 12px; padding: 4px 24px; margin: 16px 0 20px; box-sizing: border-box; width: 100%; min-width: 0; }
.sg-fm-row { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: 8px 16px; padding: 16px 0; min-width: 0; }
.sg-fm-row + .sg-fm-row { border-top: 1px solid var(--mist); }
.sg-fm-row-month .sg-fm-lab { align-self: start; padding-top: 40px; }
.sg-fm-lab { font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.sg-fm-slider { --thumb: 24px; --p: 0; position: relative; padding-top: 38px; min-width: 0; }
.sg-fm-mpill { position: absolute; z-index: 2; top: 0; left: clamp(44px, calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--p)), calc(100% - 44px)); transform: translateX(-50%); margin: 0; background: var(--navy); color: #fff; font: 600 14px/20px Inter, system-ui, sans-serif; letter-spacing: 0; text-transform: none; padding: 4px 12px; border-radius: 999px; white-space: nowrap; pointer-events: none; }
.sg-fm-mpill::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: var(--navy); transform: translateX(-50%) rotate(45deg); border-radius: 2px; z-index: -1; }
.sg-fm-slider input[type=range] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 24px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; cursor: pointer; accent-color: var(--navy); }
.sg-fm-slider input[type=range]:focus-visible { outline: 3px solid var(--brass); outline-offset: 4px; border-radius: 12px; }
.sg-fm-slider input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(to right, var(--navy) 0 calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--p)), #c9d1d9 0); }
.sg-fm-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: var(--thumb); height: var(--thumb); margin-top: -8px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); box-sizing: border-box; box-shadow: 0 1px 4px rgba(20, 38, 61, .3); }
.sg-fm-slider input[type=range]::-moz-range-track { height: 8px; border: 0; border-radius: 4px; background: linear-gradient(to right, var(--navy) 0 calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--p)), #c9d1d9 0); }
.sg-fm-slider input[type=range]::-moz-range-thumb { width: var(--thumb); height: var(--thumb); border-radius: 50%; background: #fff; border: 3px solid var(--navy); box-sizing: border-box; box-shadow: 0 1px 4px rgba(20, 38, 61, .3); }
.sg-fm-ticks { display: block; position: relative; height: 30px; margin: 6px 0 0; padding: 0; font-size: 12px; color: var(--slate); }
.sg-fm-ticks button { position: absolute; top: 0; left: calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--i) / 11); transform: translateX(-50%); margin: 0; padding: 9px 0 0; border: 0; border-radius: 0; background: none; box-shadow: none; width: auto; min-width: 0; max-width: none; color: inherit; font: inherit; font-weight: 500; line-height: 16px; text-transform: none; letter-spacing: 0; cursor: pointer; }
.sg-fm-ticks button::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 6px; background: #9aa5b1; }
.sg-fm-ticks .s { display: none; }
.sg-fm-ticks button.cur { color: var(--navy); }
.sg-fm-ticks button.cur b { font-weight: 700; }
.sg-fm-show { display: flex; align-items: center; gap: 10px 20px; flex-wrap: wrap; min-width: 0; }
.sg-fm-explain { margin: 0; flex: 1 1 320px; color: var(--slate); font-size: 13px; line-height: 19px; }
.sg-fm-explain b { color: var(--ink); font-weight: 600; }
.sg-fm-filters .sg-fm-chips { margin: 0; }
.sg-fm-layer { display: inline-flex; border: 1px solid var(--navy); border-radius: 10px; overflow: hidden; }
.sg-fm-layer button { font: 600 14px/20px Inter, system-ui, sans-serif; padding: 10px 14px; min-height: 44px; border: 0; background: #fff; color: var(--navy); cursor: pointer; }
.sg-fm-layer button[aria-checked=true] { background: var(--navy); color: #fff; }
.sg-fm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.sg-fm-chip { font: 600 14px/20px Inter, system-ui, sans-serif; padding: 7px 14px; min-height: 36px; border: 1px solid var(--brass); border-radius: 999px; background: #fff; color: var(--navy); cursor: pointer; }
.sg-fm-chip:hover { background: var(--bone); }
.sg-fm-chip[aria-pressed=true] { background: var(--navy); border-color: var(--navy); color: #fff; }
.sg-fm-chip:focus-visible, .sg-fm-layer button:focus-visible, .sg-fm-rbtn:focus-visible, .sg-fm-x:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.sg-fm-body { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 24px; align-items: start; }
.sg-fm-mapwrap { position: relative; min-width: 0; }
.sg-fm-map { display: block; width: 100%; height: auto; aspect-ratio: 538 / 354; overflow: hidden; }
.sg-fm-r { cursor: pointer; outline: none; }
.sg-fm-r path { fill: var(--h0); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; transition: fill .15s; }
.sg-fm-r[data-lv="1"] path { fill: var(--h1); } .sg-fm-r[data-lv="2"] path { fill: var(--h2); }
.sg-fm-r[data-lv="3"] path { fill: var(--h3); } .sg-fm-r[data-lv="4"] path { fill: var(--h4); }
.sg-fm-r[data-lv=none] path { fill: url(#sg-fm-hatch); }
.sg-fm-r:hover path { stroke: var(--brass-light); stroke-width: 2.4; }
.sg-fm-r:focus-visible path, .sg-fm-r[aria-expanded=true] path { stroke: var(--brass); stroke-width: 3.2; }
.sg-fm-r:focus-visible, .sg-fm-r[aria-expanded=true] { filter: drop-shadow(0 2px 4px rgba(20, 38, 61, .35)); }
.sg-fm-labels { pointer-events: none; }
.sg-fm-t text { font: 600 9.5px Inter, system-ui, sans-serif; fill: var(--navy); text-anchor: middle; paint-order: stroke; stroke: rgba(255, 255, 255, .75); stroke-width: 2.4px; stroke-linejoin: round; }
.sg-fm-t .sg-fm-n { font-size: 12.5px; }
.sg-fm-t[data-lv="3"] text, .sg-fm-t[data-lv="4"] text { fill: #fff; stroke: rgba(20, 38, 61, .7); }
.sg-fm-tip { position: absolute; z-index: 3; max-width: 260px; padding: 10px 12px; background: var(--navy); color: #fff; border-radius: 8px; font-size: 13px; line-height: 18px; pointer-events: none; box-shadow: 0 6px 18px rgba(20, 38, 61, .25); }
.sg-fm-tip b { display: block; font-size: 14px; margin-bottom: 2px; }
.sg-fm-tip ul { margin: 4px 0 0; padding-left: 16px; }
.sg-fm-legend { display: flex; flex-wrap: wrap; align-items: center; align-content: flex-start; gap: 4px 14px; margin: 10px 0 0; font-size: 13px; line-height: 18px; color: var(--slate); height: 44px; overflow: hidden; }
.sg-fm-legend b { flex-basis: 100%; color: var(--ink); font-weight: 600; }
.sg-fm-legend .sw { display: inline-flex; align-items: center; gap: 6px; }
.sg-fm-legend i { display: inline-block; width: 22px; height: 14px; border-radius: 3px; border: 1px solid rgba(20, 38, 61, .25); }
.sg-fm-legend i.none { background: repeating-linear-gradient(45deg, #f4f5f6 0 3px, #b9c2cc 3px 5px); }
.sg-fm-src { margin: 4px 0 0; font-size: 12px; color: var(--slate); }
.sg-fm-panel { position: relative; border: 1px solid var(--mist); border-top: 3px solid var(--brass); border-radius: 12px; background: #fff; }
.sg-fm-pin { padding: 16px 18px; }
.sg-fm-pin h3 { margin: 0 0 4px; font-size: 20px; line-height: 26px; color: var(--navy); }
.sg-fm-pin h4 { margin: 12px 0 4px; font-size: 13px; line-height: 18px; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); }
.sg-fm-pin p { margin: 0 0 8px; font-size: 14px; line-height: 20px; }
.sg-fm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sg-fm-rbtn { width: 100%; display: flex; justify-content: space-between; gap: 10px; align-items: center; text-align: left; font: 600 14px/18px Inter, system-ui, sans-serif; color: var(--navy); background: var(--paper); border: 1px solid var(--mist); border-radius: 8px; padding: 6px 12px; min-height: 44px; cursor: pointer; }
.sg-fm-list { gap: 4px; }
.sg-fm-rbtn:hover { border-color: var(--brass); }
.sg-fm-rbtn b { font-weight: 600; }
.sg-fm-rbtn .sn { display: none; }
.sg-fm-rbtn span { font-weight: 500; color: var(--slate); font-size: 13px; white-space: nowrap; }
.sg-fm-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 26px; line-height: 1; color: var(--navy); cursor: pointer; border-radius: 8px; }
.sg-fm-x:hover { background: var(--mist); }
.sg-fm-dl { padding-right: 40px; }
.sg-fm-fl { list-style: none; margin: 0; padding: 0; }
.sg-fm-fl li { padding: 6px 0; border-top: 1px solid var(--mist); font-size: 14px; line-height: 20px; }
.sg-fm-fl li:first-child { border-top: 0; }
.sg-fm-fl a { color: var(--navy); font-weight: 600; }
.sg-fm-fl small { display: block; color: var(--slate); font-size: 13px; }
.sg-fm-badge { display: inline-block; margin-left: 4px; padding: 0 8px; border-radius: 999px; font-size: 12px; line-height: 20px; font-weight: 600; background: var(--mist); color: var(--ink); vertical-align: 1px; }
.sg-fm-badge.typ { background: var(--navy); color: #fff; }
.sg-fm-badge.some { background: var(--h1); color: var(--navy); }
.sg-fm-go { display: flex; margin: 10px 0 4px; justify-content: center; min-height: 44px; align-items: center; }
.sg-fm-mchips { display: flex; flex-wrap: wrap; gap: 6px; }
.sg-fm-mchips a { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border: 1px solid var(--brass); border-radius: 999px; color: var(--navy); font-size: 13px; font-weight: 600; text-decoration: none; }
.sg-fm-mchips a:hover { background: var(--bone); }
.sg-fm-scrim { display: none; }
.sg-fm-now { margin: 28px 0 0; }
.sg-fm-now h2, .sg-fm-all h2 { margin: 24px 0 4px; }
.sg-fm-sub { margin: 0 0 14px; color: var(--slate); font-size: 14px; line-height: 20px; }
.sg-fm-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; height: 212px; }
.sg-fm-nc { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--mist); border-top: 3px solid var(--brass); border-radius: 12px; padding: 14px; height: 212px; box-sizing: border-box; overflow: hidden; }
.sg-fm-nc .k { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brass-deep); }
.sg-fm-nc h3 { font-family: Inter, system-ui, sans-serif; font-size: 16px; line-height: 22px; margin: 6px 0 4px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-width: 0; }
.sg-fm-nc p:not(.w) { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-width: 0; overflow-wrap: anywhere; }
.sg-fm-nc h3 a { color: var(--navy); text-decoration: none; }
.sg-fm-nc h3 a:hover { text-decoration: underline; }
.sg-fm-nc p { margin: 0; font-size: 13px; line-height: 18px; color: var(--slate); }
.sg-fm-nc .w { margin-top: auto; padding-top: 10px; color: var(--ink); font-weight: 600; }
.sg-fm-nc .w a { color: var(--harbor); }
.sg-fm-nc.some { border-top-color: var(--h2); }
.sg-fm-empty { grid-column: 1 / -1; align-self: center; padding: 18px; border: 1px dashed var(--h2); border-radius: 12px; color: var(--slate); font-size: 14px; }
.sg-fm-cal { margin: 28px 0 0; border: 1px solid var(--mist); border-radius: 12px; background: #fff; overflow: hidden; max-width: 100%; }
.sg-fm-cal > summary { list-style: none; cursor: pointer; padding: 14px 18px; min-height: 24px; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.sg-fm-cal > summary::-webkit-details-marker { display: none; }
.sg-fm-cal > summary::before { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); transition: transform .15s; }
.sg-fm-cal[open] > summary::before { transform: rotate(45deg); }
.sg-fm-cal > summary:focus-visible { outline: 3px solid var(--brass); outline-offset: -3px; border-radius: 12px; }
.sg-fm-calbar { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 0 18px 12px; }
.sg-fm-calbar label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; }
.sg-fm-calbar select { font: 500 14px/20px Inter, system-ui, sans-serif; color: var(--ink); min-height: 44px; padding: 8px 10px; border: 1px solid #c9d0cc; border-radius: 8px; background: #fff; min-width: 180px; text-transform: none; letter-spacing: 0; }
.sg-fm-calwrap { overflow-x: auto; padding: 0 18px; }
.sg-fm-calwrap:focus-visible { outline: 3px solid var(--brass); }
.sg-fm-table { width: 100%; border-collapse: separate; border-spacing: 3px; font-size: 13px; }
.sg-fm-table caption { text-align: left; color: var(--slate); padding: 0 0 6px; }
.sg-fm-table thead th { font-weight: 600; color: var(--slate); padding: 2px 0; text-align: center; }
.sg-fm-table thead th:first-child { text-align: left; }
.sg-fm-table abbr { text-decoration: none; }
.sg-fm-table tbody th { text-align: left; font-weight: 600; padding: 4px 8px 4px 0; width: 34%; line-height: 18px; }
.sg-fm-table tbody th a { color: var(--navy); }
.sg-fm-table tbody th small { display: block; font-weight: 400; color: var(--slate); font-size: 12px; }
.sg-fm-table td { height: 26px; min-width: 28px; background: var(--h0); border-radius: 4px; }
.sg-fm-table td.typ { background: var(--navy); }
.sg-fm-table td.some { background: repeating-linear-gradient(45deg, var(--h1) 0 4px, #e3e9f0 4px 7px); }
.sg-fm-table .cur { box-shadow: inset 0 0 0 2px var(--brass); }
.sg-fm-table thead th.cur { box-shadow: none; color: var(--navy); border-bottom: 3px solid var(--brass); }
.sg-fm-table tr.rg th { padding-top: 12px; color: var(--slate); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.sg-fm-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 18px 16px; margin: 0; font-size: 13px; color: var(--slate); }
.sg-fm-key .k { display: inline-block; width: 22px; height: 14px; border-radius: 3px; background: var(--h0); border: 1px solid rgba(20, 38, 61, .2); }
.sg-fm-key .k.typ { background: var(--navy); }
.sg-fm-key .k.some { background: repeating-linear-gradient(45deg, var(--h1) 0 4px, #e3e9f0 4px 7px); }
.sg-fm-all { margin-top: 28px; min-width: 0; }
.sg-fm-allbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin: 24px 0 16px; }
.sg-fm-allbar h2 { margin: 0 0 4px; }
.sg-fm-count { margin: 0; font-size: 14px; line-height: 20px; color: var(--slate); }
.sg-fm-all .seg { height: 40px; }
.sg-fm-all.is-list .sg-fm-guides { display: flex; flex-direction: column; border: 1px solid var(--brass); border-radius: 12px; background: #fff; overflow: hidden; }
.sg-fm-all.is-list .sg-fg { display: grid; grid-template-columns: 120px minmax(0, 1fr) 210px 230px 104px; grid-template-areas: "photo main tags mo go"; gap: 6px 20px; align-items: center; padding: 12px 16px 12px 12px; background: #fff; border: 0; border-radius: 0; }
.sg-fm-all.is-list .sg-fg + .sg-fg { border-top: 1px solid #ece6d8; }
.sg-fg-photo { grid-area: photo; position: relative; display: block; line-height: 0; }
.sg-fg-photo img { width: 120px; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 8px; display: block; background: var(--mist); }
.sg-fg-reg { display: none; }
.sg-fg-main { grid-area: main; min-width: 0; }
.sg-fg-main h3 { margin: 0; font: 600 16px/22px Inter, system-ui, sans-serif; overflow-wrap: anywhere; }
.sg-fg-main h3 a { color: var(--navy); text-decoration: none; }
.sg-fg-main h3 a:hover { text-decoration: underline; }
.sg-fm-all .sv-reg { margin: 2px 0 0; font-size: 13px; line-height: 18px; color: var(--slate); overflow-wrap: anywhere; }
.sg-fm-all .sg-fc-tags { grid-area: tags; min-width: 0; }
.sg-fg-mo { grid-area: mo; min-width: 0; }
.sg-fm-all .sg-fc-bar { margin-top: 0; }
.sg-fm-all .sg-fc-when { margin: 6px 0 0; }
.sg-fg-go { grid-area: go; justify-self: end; display: inline-flex; align-items: center; box-sizing: border-box; min-height: 36px; padding: 0 12px; border: 1px solid #c9d6dd; border-radius: 8px; background: #fff; color: var(--navy); font-size: 13px; font-weight: 700; line-height: 18px; text-decoration: none; white-space: nowrap; }
.sg-fg-go:hover { background: var(--mist); text-decoration: none; }
.sg-fm-all.is-grid .sg-fm-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; border: 0; background: none; overflow: visible; border-radius: 0; }
.sg-fm-all.is-grid .sg-fg { display: flex; flex-direction: column; align-items: stretch; height: 100%; min-width: 0; background: #fff; border: 1px solid var(--mist); border-top: 3px solid var(--brass); border-radius: 12px; overflow: hidden; padding: 0 0 16px; }
.sg-fm-all.is-grid .sg-fg-photo { aspect-ratio: 16 / 9; background: var(--mist); }
.sg-fm-all.is-grid .sg-fg-photo img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.sg-fm-all.is-grid .sg-fg-reg { display: block; position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); box-sizing: border-box; background: rgba(20, 38, 61, .88); color: #fff; font-size: 12px; line-height: 18px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-fm-all.is-grid .sg-fg-main, .sg-fm-all.is-grid .sg-fc-tags, .sg-fm-all.is-grid .sg-fg-mo { padding-left: 16px; padding-right: 16px; }
.sg-fm-all.is-grid .sg-fg-main { margin-top: 14px; }
.sg-fm-all.is-grid .sg-fg-main h3 { font-size: 18px; line-height: 24px; }
.sg-fm-all.is-grid .sg-fc-tags { margin-top: 10px; }
.sg-fm-all.is-grid .sg-fg-mo { margin-top: 12px; }
.sg-fm-all.is-grid .sg-fg-go { justify-self: start; align-self: flex-start; margin: 12px 16px 0; }
.sg-fc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mist); border-top: 3px solid var(--brass); border-radius: 12px; padding: 16px; }
.sg-fc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sg-fc-sp, .sg-fc-tt { font-size: 12px; line-height: 20px; font-weight: 600; padding: 0 8px; border-radius: 999px; }
.sg-fc-sp { background: var(--featured-fill); color: var(--brass-deep); }
.sg-fc-tt { background: var(--mist); color: var(--ink); }
.sg-fc h4 { margin: 10px 0 2px; font-size: 18px; line-height: 24px; }
.sg-fc h4 a { color: var(--navy); text-decoration: none; }
.sg-fc h4 a:hover { text-decoration: underline; }
.sg-fc-place { margin: 0 0 12px; color: var(--slate); font-size: 14px; line-height: 20px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-width: 0; overflow-wrap: anywhere; }
.sg-fc-bar { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; margin-top: auto; }
.sg-fc-bar i { display: flex; flex-direction: column; align-items: center; gap: 3px; font-style: normal; }
.sg-fc-bar i::before { content: ""; display: block; width: 100%; height: 10px; border-radius: 2px; background: var(--h0); }
.sg-fc-bar i.typ::before { background: var(--navy); }
.sg-fc-bar i.some::before { background: repeating-linear-gradient(45deg, var(--h1) 0 3px, #e3e9f0 3px 5px); }
.sg-fc-bar b { font-size: 10px; line-height: 12px; font-weight: 600; color: var(--slate); }
.sg-fc-bar i.cur b { color: var(--navy); font-weight: 600; }
.sg-fc-bar i.cur::before { box-shadow: 0 0 0 2px var(--brass); }
.sg-fc-when { margin: 8px 0 0; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink); }
.sg-fc-foot { display: flex; justify-content: space-between; gap: 8px; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--mist); font-size: 13px; line-height: 18px; color: var(--slate); }
.sg-fc-foot a { color: var(--harbor); font-weight: 600; }
@media (max-width: 980px) {
  .sg-fm-filters { padding: 4px 16px; }
  .sg-fm-row { grid-template-columns: minmax(0, 1fr); padding: 14px 0; }
  .sg-fm-row-month .sg-fm-lab { padding-top: 0; }
  .sg-fm-ticks .l { display: none; }
  .sg-fm-ticks .s { display: inline; }
  .sg-fm-chipwrap { position: relative; margin: 0 -16px; }
  .sg-fm-filters .sg-fm-chips { flex-wrap: nowrap; overflow-x: auto; min-width: 0; margin: 0; padding: 0 16px 2px; scrollbar-width: none; }
  .sg-fm-chipwrap::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 28px; background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff); pointer-events: none; }
  .sg-fm-explain { flex-basis: 100%; }
  .sg-fm-chip { flex: 0 0 auto; min-height: 44px; }
  .sg-fm-all.is-list .sg-fg { grid-template-columns: 88px minmax(0, 1fr); grid-template-areas: "photo main" "tags tags" "mo mo" "go go"; padding: 12px; gap: 10px 12px; }
  .sg-fm-all.is-list .sg-fg-photo img { width: 88px; }
  .sg-fm-all.is-list .sg-fg-go { justify-self: start; min-height: 44px; }
  .sg-fm-all.is-grid .sg-fm-guides { grid-template-columns: 1fr; }
  .sg-fm-mchips a { min-height: 44px; }
  .sg-fm-body { grid-template-columns: 1fr; gap: 12px; }
  .sg-fm-t .sg-fm-l { display: none; }
  .sg-fm-t .sg-fm-n { font-size: 17px; transform: translateY(-6px); }
  .sg-fm-panel { border: 0; background: none; border-radius: 0; }
  .sg-fm-pin { position: static; padding: 0; overflow: visible; }
  .sg-fm-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-fm-rbtn { font-size: 13px; padding: 6px 10px; flex-direction: column; align-items: flex-start; gap: 0; }
  .sg-fm-rbtn .fn { display: none; }
  .sg-fm-rbtn .sn { display: block; }
  .sg-fm-rbtn span { font-size: 12px; }
  .sg-fm-detail { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; max-height: 74vh; overflow: auto; background: #fff; border-top: 3px solid var(--brass); border-radius: 16px 16px 0 0; padding: 18px var(--content-pad) 24px; box-shadow: 0 -10px 30px rgba(20, 38, 61, .25); overscroll-behavior: contain; }
  .sg-fm-detail::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: #c9d0cc; margin: -8px auto 10px; }
  .sg-fm-scrim { display: block; position: fixed; inset: 0; z-index: 59; background: rgba(20, 38, 61, .45); }
  .sg-fm-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--content-pad)); padding: 0 var(--content-pad) 6px; scrollbar-width: thin; }
  .sg-fm-cards { height: 206px; }
  .sg-fm-now h2 { min-height: 80px; }
  .sg-fm-nc { flex: 0 0 248px; height: 200px; scroll-snap-align: start; }
  .sg-fm-legend { height: 64px; }
  .sg-fm-empty { flex: 1 0 100%; }
  .sg-fm-allbar { align-items: stretch; flex-direction: column; }
  .sg-fm-all .seg { display: flex; width: 100%; box-sizing: border-box; }
  .sg-fm-all .seg button { flex: 1; justify-content: center; }
  .sg-fm-calbar select { min-width: 0; width: 100%; }
  .sg-fm-calbar label { flex: 1 1 140px; }
  .sg-fm-calwrap { padding: 0 8px; }
  .sg-fm-table { min-width: 560px; }
  .sg-fm-table tbody th { position: sticky; left: 0; background: #fff; z-index: 1; width: 150px; min-width: 150px; }
}
@media (prefers-reduced-motion: reduce) { .sg-fm * { transition: none !important; } }
