

.s3-stage { margin-top: clamp(32px, 4vw, 52px); }
.s3-wrap { position: relative; }
.s3 {
  position: relative; isolation: isolate; overflow: hidden;
  width: 100%; aspect-ratio: 16 / 9; min-height: 420px; max-height: calc(100vh - 96px); max-height: calc(100svh - 96px);
  border-radius: var(--r-xl); background: var(--mist);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
.s3:active { cursor: grabbing; }
@media (max-width: 1060px) { .s3 { aspect-ratio: 4 / 3; } }
@media (max-width: 760px) { .s3 { aspect-ratio: 10 / 13; min-height: 0; border-radius: var(--r-lg); } }


.s3--boat { background: #6fc3f0; }
.s3--house { background: radial-gradient(120% 100% at 50% 0%, #eaf3ff 0%, #eceef2 62%); transition: background 0.6s ease; }
.s3--house.is-night { background: linear-gradient(180deg, #2b2e42 0%, #383b50 55%, #4a3f42 100%); }
.s3--house.is-raining:not(.is-night) { background: linear-gradient(180deg, #7c8494 0%, #97a0ac 55%, #a9ada7 100%); }
.s3--site { background: linear-gradient(180deg, #a6bac5 0%, #cdd6d6 46%, #e7e3d7 100%); }
.s3--site.is-night { background: linear-gradient(180deg, #120d09 0%, #2a1e15 56%, #4a3323 100%); }


.s3-poster, .s3-poster img, .s3-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.s3-poster img { object-fit: cover; }
.s3-poster { z-index: 1; transition: opacity 0.5s ease; }
.s3-canvas { display: block; opacity: 0; transition: opacity 0.5s ease; }
.s3.is-ready .s3-canvas { opacity: 1; }
.s3.is-ready .s3-poster { opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0s linear 0.5s; }   


.s3-labels, .s3-pins { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity 0.4s ease; }
.s3.is-ready .s3-labels, .s3.is-ready .s3-pins { opacity: 1; }
.s3.is-ready.is-moving .s3-labels { opacity: 0; transition-duration: 0.15s; }   
.s3-tag {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px 6px 10px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14), inset 0 0 0 0.5px rgba(0, 0, 0, 0.06);
  font: 600 12.5px/1.2 var(--font); letter-spacing: -0.005em; color: var(--ink); white-space: nowrap; will-change: transform;
}
.s3-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, #0e7490); flex: none; }
.s3-tag--link { pointer-events: auto; cursor: pointer; transition: background-color 0.2s ease, box-shadow 0.2s ease; }
.s3:not(.is-ready) .s3-tag--link, .s3:not(.is-ready) .pin { pointer-events: none; }   
.s3-tag--link:hover, .s3-tag--link.is-on { background: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18), inset 0 0 0 1.5px var(--c); }
.s3--boat:not(.is-inside) .s3-tag[data-group="in"], .s3--boat.is-inside .s3-tag[data-group="out"],
.s3--house:not(.is-roofoff) .s3-tag[data-group="in"], .s3--house.is-roofoff .s3-tag[data-group="out"] { display: none; }


.s3 .pin { position: absolute; left: 0; top: 0; translate: 0 -50%; display: flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; font-family: var(--font); will-change: transform; }
.s3 .pin__dot { width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%; background: #0e7490; border: 2.5px solid #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35); flex: none; transition: transform 0.25s var(--ease); }
.s3 .pin__label { padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); color: var(--ink); font-size: 12.5px; font-weight: 600; line-height: 1.25; white-space: nowrap; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14); transition: opacity 0.18s ease, background-color 0.18s ease, color 0.18s ease; }
.s3 .pin.is-flip .pin__label { position: absolute; right: calc(100% + 12px); }
.s3 .pin.is-compact .pin__label { opacity: 0; pointer-events: none; }
.s3 .pin:hover .pin__dot { transform: scale(1.3); }
.s3 .pin:hover .pin__label { opacity: 1; }
.s3 .pin.is-active .pin__label { opacity: 1; background: var(--ink); color: #fff; }
.s3 .pin.is-active .pin__dot { background: #fff; border-color: var(--ink); }
.s3 .pin:hover { z-index: 5; } .s3 .pin.is-active { z-index: 6; }
.s3.is-night .pin__label { background: rgba(29, 29, 31, 0.86); color: #f5f5f7; }
.s3.is-night .pin.is-active .pin__label { background: #fff; color: var(--ink); }


.s3-bar { position: absolute; z-index: 6; top: 14px; left: 14px; right: 70px; display: flex; flex-wrap: wrap; gap: 8px; pointer-events: none; }
.s3-btn {
  pointer-events: auto; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 15px 0 12px;
  border: 0; border-radius: 999px; color: var(--ink); font: 550 14px/1 var(--font); letter-spacing: -0.01em; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.s3-btn svg { width: 17px; height: 17px; flex: none; }
.s3-btn:active { transform: scale(0.96); }
.s3-btn[aria-pressed="true"] { background: rgba(29, 29, 31, 0.86); color: #fff; box-shadow: var(--glass-drop); }
.s3-btn[aria-pressed="true"]::before { opacity: 0; }
.s3-btn .s3-on, .s3-btn[aria-pressed="true"] .s3-off { display: none; }
.s3-btn[aria-pressed="true"] .s3-on { display: inline; }
.s3-btn:disabled, .s3-round:disabled { opacity: 0.45; cursor: default; }
.s3:not(.is-ready) .s3-bar, .s3:not(.is-ready) .s3-zoom { opacity: 0; visibility: hidden; }
.s3-bar, .s3-zoom { transition: opacity 0.4s ease; }
.s3-zoom { position: absolute; z-index: 6; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 8px; }
.s3-round { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 999px; color: var(--ink); cursor: pointer; transition: transform 0.2s var(--ease); }
.s3-round svg { width: 18px; height: 18px; }
.s3-round:active { transform: scale(0.94); }
@media (max-width: 760px) {
  .s3-bar { top: 10px; left: 10px; right: 10px; gap: 6px; }
  .s3-btn { height: 34px; padding: 0 12px 0 10px; font-size: 13px; }
  .s3-zoom { right: 10px; bottom: 10px; gap: 6px; }
  .s3-round { width: 38px; height: 38px; }
}


.s3-status:empty, .s3.is-ready .s3-status { display: none; }
.s3-status {
  position: absolute; z-index: 5; left: 50%; bottom: 18px; transform: translateX(-50%); margin: 0; max-width: calc(100% - 36px);
  padding: 9px 16px 9px 34px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); color: var(--ink); font-size: 14px; font-weight: 500;
  box-shadow: var(--glass-drop); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.s3-status::before { content: ""; position: absolute; left: 13px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; border: 2px solid rgba(14, 116, 144, 0.25); border-top-color: #0e7490; animation: s3-spin 0.8s linear infinite; }
.s3.is-nogl .s3-status::before, .s3.is-failed .s3-status::before { display: none; }
.s3.is-nogl .s3-status, .s3.is-failed .s3-status { padding-left: 16px; white-space: normal; text-align: center; }
@keyframes s3-spin { to { transform: rotate(360deg); } }
.s3-hint {
  position: absolute; z-index: 5; left: 50%; bottom: 18px; transform: translateX(-50%); margin: 0; max-width: calc(100% - 140px);
  padding: 7px 14px; border-radius: 999px; background: rgba(29, 29, 31, 0.68); color: #fff; font-size: 13px; font-weight: 500; text-align: center;
  pointer-events: none; opacity: 0; transition: opacity 0.4s ease;
}
.s3-hint.is-on { opacity: 1; }
@media (max-width: 760px) { .s3-hint { bottom: 14px; left: 14px; right: 58px; transform: none; max-width: none; } }
.s3-toast {
  position: absolute; z-index: 7; left: 14px; bottom: 14px; margin: 0; max-width: min(420px, calc(100% - 80px));
  padding: 11px 16px; border-radius: 18px; font-size: 14px; line-height: 1.4; color: var(--ink);
  animation: s3-toast-in 0.35s var(--ease) both;
}
.s3-toast b { font-weight: 650; }
@keyframes s3-toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }


.s3-card { color: var(--ink); }
.s3-card--in { position: absolute; z-index: 8; top: 64px; right: 14px; width: clamp(260px, 27%, 340px); max-height: calc(100% - 140px); overflow: auto; padding: 20px 22px 20px; border-radius: 24px; cursor: auto; overscroll-behavior: contain; animation: s3-toast-in 0.4s var(--ease) both; }
.s3-card--below { margin-top: 14px; padding: 20px 22px; border-radius: var(--r-lg); background: var(--mist); position: relative; }
.section--mist .s3-card--below { background: var(--paper); }
.s3-card-h { font-size: 19px; font-weight: 650; letter-spacing: -0.016em; line-height: 1.25; padding-right: 40px; }
.s3-card-p { margin-top: 8px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.s3-card-note { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--hair); font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.s3-card-x { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 999px; background: rgba(0, 0, 0, 0.06); color: var(--ink); cursor: pointer; }
.s3-card-x svg { width: 15px; height: 15px; }
.s3-card-x:hover { background: rgba(0, 0, 0, 0.1); }

.s3-card-nav { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.s3-card-prev { display: grid; place-items: center; flex: none; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 999px; background: rgba(0, 0, 0, 0.06); color: var(--ink); cursor: pointer; transition: transform 0.2s var(--ease), background-color 0.2s ease; }
.s3-card-prev:hover { background: rgba(0, 0, 0, 0.1); }
.s3-card-count { min-width: 3.4em; text-align: center; font-size: 13px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.s3-card-next { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px 0 17px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 14px/1 var(--font); cursor: pointer; white-space: nowrap; transition: transform 0.2s var(--ease), background-color 0.2s ease; }
.s3-card-next:hover { background: #0e7490; }
.s3-card-prev svg, .s3-card-next svg { width: 17px; height: 17px; flex: none; }
.s3-card-prev:active, .s3-card-next:active { transform: scale(0.96); }
.s3-card-prev:focus-visible, .s3-card-next:focus-visible { outline: 2px solid #0e7490; outline-offset: 2px; }
@media (max-width: 760px) { .s3-card--in { display: none !important; } }
@media (min-width: 761px) { .s3-card--below { display: none !important; } }


.s3-stations { margin-top: 22px; }
.s3-stations-h { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-3); margin-bottom: 10px; }
.s3-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.s3-chip { display: inline-flex; align-items: center; height: 36px; padding: 0 15px; border: 0; border-radius: 999px; background: rgba(0, 0, 0, 0.05); color: var(--ink); font: 550 14px/1 var(--font); cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.section--mist .s3-chip { background: rgba(0, 0, 0, 0.06); }
.s3-chip:hover { background: rgba(0, 0, 0, 0.09); }
.s3-chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.s3-chip:disabled { opacity: 0.5; cursor: default; }
.s3-chips-all { display: none; margin-top: 12px; padding: 0; border: 0; background: none; font: inherit; font-weight: 500; cursor: pointer; }
@media (max-width: 760px) {
  .s3-chips:not(.is-all) .s3-more { display: none; }
  .s3-chips-all { display: inline-flex; }
}


.s3-facts { margin-top: clamp(30px, 4vw, 48px); }
.s3-benefits { margin-top: clamp(36px, 5vw, 60px); }
.s3-benefits .fact-icon { display: block; }
.s3-benefits .fact-icon svg { display: block; width: 100%; height: 100%; }


.s3-trip { text-align: left; }
.s3-trip.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.s3-trip .pcard { flex: 0 1 calc((100% - 66px) / 4); min-width: 0; }
.s3-trip .pcard-pic { aspect-ratio: 4 / 5; }
.s3-trip .pcard h3 { font-size: 17px; }
.s3-trip .pcard p { font-size: 14.5px; }
@media (max-width: 860px) {
  .s3-trip.cards { gap: 14px 10px; }
  .s3-trip .pcard { flex-basis: calc((100% - 30px) / 4); }
  .s3-trip .pcard-pic { aspect-ratio: 1; border-radius: var(--r-md); }
  .s3-trip .pcard h3 { margin-top: 8px; font-size: 13.5px; text-align: center; }
  .s3-trip .pcard p { display: none; }
}


.s3--fleet { background: linear-gradient(180deg, #cddfe9 0%, #e2ebe8 58%, #e8e5da 100%); transition: background 0.6s ease; }
.s3--fleet.is-night { background: linear-gradient(180deg, #0a1120 0%, #131b2e 58%, #1b2132 100%); }
.s3-tag.fl-place { padding: 5px 11px 5px 9px; font-size: 12px; }
.s3-tag.fl-truck { pointer-events: auto; cursor: pointer; gap: 5px; padding: 4px 9px 4px 7px; font-size: 11.5px; font-variant-numeric: tabular-nums; transition: background-color 0.2s ease, color 0.2s ease; }
.s3-tag.fl-truck span { display: none; }
.s3-tag.fl-truck b { font-weight: 650; }
.s3-tag.fl-truck:hover, .s3-tag.fl-truck.is-on { background: var(--ink); color: #fff; }
.s3-tag.fl-truck.is-on span { display: inline; }
.s3:not(.is-ready) .fl-truck { pointer-events: none; }
.s3--fleet.is-night .s3-tag:not(.is-on):not(:hover) { background: rgba(29, 29, 31, 0.84); color: #f5f5f7; }
.s3--fleet.is-driving .s3-tag.fl-truck:not(.is-on) { opacity: 0.55; }

.fl-panel { color: var(--ink); font-size: 13.5px; }
.fl-panel:empty { display: none; }
.fl-panel--in { position: absolute; z-index: 7; top: 14px; right: 14px; bottom: 14px; width: clamp(268px, 27%, 330px); display: flex; flex-direction: column; padding: 14px 12px 12px; border-radius: 22px; overflow: hidden; cursor: auto; transition: opacity 0.4s ease; }
.s3:not(.is-ready) .fl-panel--in { opacity: 0; visibility: hidden; }
.fl-panel--below { margin-top: 14px; padding: 16px 14px 14px; border-radius: var(--r-lg); background: var(--paper); }
.fl-head { display: grid; gap: 9px; padding: 0 4px 11px; border-bottom: 1px solid var(--hair); }
.fl-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fl-title b { font-size: 16px; font-weight: 650; letter-spacing: -0.012em; }
.fl-clock { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.fl-clock i { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18); animation: fl-live 1.6s ease-in-out infinite; }
@keyframes fl-live { 50% { opacity: 0.35; } }
.fl-sum { display: flex; flex-wrap: wrap; gap: 6px; }
.fl-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 999px; background: rgba(0, 0, 0, 0.05); font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.fl-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.fl-pill b { color: var(--ink); font-weight: 650; }
.fl-view { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; margin: 0 -4px; padding: 6px 4px 2px; }
.fl-view[hidden] { display: none; }
.fl-list { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; }
.fl-row { display: grid; grid-template-columns: 10px auto minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 8px; row-gap: 5px; align-items: center; width: 100%; padding: 7px 8px 8px; border: 0; border-radius: 12px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background-color 0.2s ease; }
.fl-row:hover { background: rgba(0, 0, 0, 0.045); }
.fl-row[aria-pressed="true"] { background: rgba(14, 116, 144, 0.1); }
.fl-row:focus-visible, .fl-chip:focus-visible, .fl-drive:focus-visible, .fl-back:focus-visible, .fl-all:focus-visible, .fl-pad button:focus-visible { outline: 2px solid #0e7490; outline-offset: 2px; }
.fl-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c, #0e7490); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, #0e7490) 20%, transparent); }
.fl-id { font-size: 13.5px; font-weight: 650; white-space: nowrap; }
.fl-what { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: var(--ink-2); }
.fl-eta { font-size: 12.5px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fl-bar { grid-column: 2 / -1; height: 3px; border-radius: 3px; background: rgba(0, 0, 0, 0.07); overflow: hidden; }
.fl-bar i, .fl-line i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--c, #0e7490); transition: width 0.6s linear; }
.fl-all { display: none; margin: 8px 0 0 8px; padding: 0; border: 0; background: none; color: #0e7490; font: 600 13.5px/1.4 var(--font); cursor: pointer; }
.fl-ticker { display: grid; gap: 5px; margin: 8px 0 0; padding: 10px 4px 0; border-top: 1px solid var(--hair); list-style: none; font-size: 12px; color: var(--ink-2); }
.fl-ticker:empty { display: none; }
.fl-ticker li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: baseline; }
.fl-ticker time { font-weight: 650; color: var(--c); font-variant-numeric: tabular-nums; }
.fl-ticker span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl-dhead { display: flex; align-items: center; gap: 9px; padding: 0 2px; }
.fl-back { display: grid; place-items: center; flex: none; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 999px; background: rgba(0, 0, 0, 0.06); color: var(--ink); cursor: pointer; }
.fl-back:hover { background: rgba(0, 0, 0, 0.1); }
.fl-back svg { width: 16px; height: 16px; }
.fl-dname { font-size: 16px; font-weight: 650; letter-spacing: -0.012em; white-space: nowrap; }
.fl-status { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: var(--c, #0e7490); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }
.fl-route { display: grid; grid-template-columns: auto minmax(30px, 1fr) auto; align-items: center; gap: 9px; margin: 14px 2px 2px; font-size: 12.5px; font-weight: 600; }
.fl-line { height: 4px; border-radius: 4px; background: rgba(0, 0, 0, 0.08); overflow: hidden; --c: #0e7490; }
.fl-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px 12px; margin: 12px 2px 0; font-size: 13px; }
.fl-facts dt { color: var(--ink-3); }
.fl-facts dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.fl-dest-h { margin: 16px 2px 0; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-3); }
.fl-dests { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 2px 0; }
.fl-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px 0 9px; border: 0; border-radius: 999px; background: rgba(0, 0, 0, 0.05); color: var(--ink); font: 550 12.5px/1 var(--font); cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.fl-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.fl-chip:hover { background: rgba(0, 0, 0, 0.09); }
.fl-chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.fl-chip:disabled { opacity: 0.45; cursor: default; }
.fl-drive { display: flex; align-items: center; justify-content: center; gap: 8px; width: calc(100% - 4px); height: 40px; margin: 16px 2px 2px; border: 0; border-radius: 999px; background: #0e7490; color: #fff; font: 600 14px/1 var(--font); cursor: pointer; transition: background-color 0.2s ease, transform 0.2s var(--ease); }
.fl-drive:hover { background: #0b5f76; }
.fl-drive:active { transform: scale(0.98); }
.fl-drive[aria-pressed="true"] { background: var(--ink); }
.fl-drive svg { width: 18px; height: 18px; }
.fl-pad { position: absolute; z-index: 9; left: 14px; right: 14px; bottom: 14px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 10px 12px; pointer-events: none; }
.fl-pad[hidden] { display: none; }
.fl-steer, .fl-pedals { display: flex; align-items: flex-end; gap: 10px; }
.fl-pad button { pointer-events: auto; display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.9); color: var(--ink); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); cursor: pointer; touch-action: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease; }
.fl-pad button svg { width: 24px; height: 24px; }
.fl-pad button.is-on { background: var(--ink); color: #fff; transform: scale(0.95); }
.fl-pad .fl-gas { height: 74px; border-radius: 28px; background: #0e7490; color: #fff; }
.fl-pad .fl-gas.is-on { background: #0b5f76; }
.fl-speedo { justify-self: center; display: grid; place-items: center; min-width: 84px; padding: 8px 14px 7px; border-radius: 18px; background: rgba(29, 29, 31, 0.78); color: #fff; }
.fl-speedo b { font-size: 26px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.fl-speedo small { margin-top: 2px; font-size: 11px; opacity: 0.72; }
.fl-help { grid-column: 1 / -1; grid-row: 1; justify-self: center; margin: 0; padding: 5px 12px; border-radius: 999px; background: rgba(29, 29, 31, 0.62); color: #fff; font-size: 12px; text-align: center; }
.fl-pad > .fl-steer, .fl-pad > .fl-speedo, .fl-pad > .fl-pedals { grid-row: 2; }
@media (pointer: coarse) { .fl-help { display: none; } }
.s3--fleet.is-driving .s3-zoom, .s3--fleet.is-driving .s3-hint { display: none; }
@media (min-width: 761px) {
  .s3--fleet .s3-bar { right: calc(clamp(268px, 27%, 330px) + 28px); }
  .s3--fleet .s3-zoom { right: auto; left: 14px; }
  .s3--fleet .s3-hint { left: calc((100% - clamp(268px, 27%, 330px) - 14px) / 2); }
  .s3--fleet .fl-pad { right: calc(clamp(268px, 27%, 330px) + 28px); }
  .s3--fleet .s3-status { left: calc((100% - clamp(268px, 27%, 330px) - 14px) / 2); }
}
@media (max-width: 760px) {
  .fl-panel--in { display: none !important; }
  .fl-list:not(.is-all) .fl-more { display: none; }
  .fl-all { display: inline-flex; }
  .fl-pad { left: 10px; right: 10px; bottom: 10px; }
  .fl-pad button { width: 54px; height: 54px; }
}
@media (min-width: 761px) { .fl-panel--below { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .fl-clock i { animation: none; } .fl-bar i, .fl-line i { transition: none; } }

@media (prefers-reduced-motion: reduce) {
  .s3-status::before { animation-duration: 2.4s; }
  .s3-toast, .s3-card--in { animation: none; }
}


.s3-options { margin-top: 20px; display: grid; gap: 14px; }
.s3-opt-h { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-3); margin-bottom: 8px; }
.s3-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.s3-opt { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 15px; border: 0; border-radius: 999px; background: rgba(0, 0, 0, 0.05); color: var(--ink); font: 550 14px/1 var(--font); cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.section--mist .s3-opt { background: rgba(0, 0, 0, 0.06); }
.s3-opt:hover { background: rgba(0, 0, 0, 0.09); }
.s3-opt[aria-pressed="true"] { background: var(--ink); color: #fff; }
.s3-opt:disabled { opacity: 0.5; cursor: default; }
.s3-opt:focus-visible { outline: 2px solid #0e7490; outline-offset: 2px; }
.s3-opt i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.s3-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--ink-2); }
.s3-legend span { display: inline-flex; align-items: center; gap: 7px; }
.s3-legend i { width: 11px; height: 11px; border-radius: 3px; background: var(--c); }


.s3--flats { background: linear-gradient(180deg, #c8dceb 0%, #e3ebee 60%, #e9e7df 100%); transition: background 0.6s ease; }
.s3--flats.is-night { background: linear-gradient(180deg, #0a1120 0%, #141c30 60%, #1c2232 100%); }
.wx-head { display: flex; align-items: center; gap: 10px; padding-right: 40px; }
.wx-head .s3-card-h { padding-right: 0; }
.wx-status { padding: 4px 10px; border-radius: 999px; background: var(--c, #22c55e); color: #fff; font-size: 12px; font-weight: 650; white-space: nowrap; }
.wx-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px 14px; margin-top: 12px; font-size: 14px; }
.wx-facts dt { color: var(--ink-3); }
.wx-facts dd { margin: 0; text-align: right; font-weight: 600; }
.wx-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.wx-plan, .wx-ask { display: inline-flex; align-items: center; height: 36px; padding: 0 15px; border: 0; border-radius: 999px; font: 600 14px/1 var(--font); cursor: pointer; transition: background-color 0.2s ease; }
.wx-plan { background: var(--ink); color: #fff; }
.wx-plan:hover { background: #0e7490; }
.wx-ask { background: rgba(0, 0, 0, 0.06); color: var(--ink); }
.wx-ask:hover { background: rgba(0, 0, 0, 0.1); }
.wx-card .s3-card-note { margin-top: 12px; }
.s3-tag.wx-sel { padding: 5px 11px; font-variant-numeric: tabular-nums; background: var(--ink); color: #fff; }
.s3-tag.wx-sel::before { display: none; }
.s3-tag.wx-room { padding: 4px 10px 4px 9px; font-size: 12px; }
.s3-tag.wx-room::before { display: none; }
.s3--flats:not(.is-plan) .wx-room { display: none; }
.s3--flats.is-night .s3-tag.wx-room { background: rgba(29, 29, 31, 0.84); color: #f5f5f7; }


.s3--solar { background: linear-gradient(180deg, #bcd8ee 0%, #e2ecf1 60%, #e9e7de 100%); transition: background 0.6s ease; }
.s3--solar.is-night { background: linear-gradient(180deg, #0a1120 0%, #141c30 60%, #1c2232 100%); }
.sx-card { color: var(--ink); }
.sx-card--in { position: absolute; z-index: 7; top: 14px; right: 14px; width: clamp(256px, 26%, 316px); max-height: calc(100% - 28px); overflow: auto; padding: 16px 18px; border-radius: 22px; cursor: auto; overscroll-behavior: contain; }
.s3:not(.is-ready) .sx-card--in { opacity: 0; visibility: hidden; }
.sx-card--below { margin-top: 14px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--paper); }
.section--mist .sx-card--below { background: var(--paper); }
.s3-sec:not(.section--mist) .sx-card--below { background: var(--mist); }
.sx-kicker { font-size: 12px; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; color: #b7791f; }
.sx-big { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.sx-num b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sx-num span { font-size: 12.5px; color: var(--ink-2); }
.sx-now { display: flex; align-items: baseline; justify-content: space-between; margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.sx-now b { font-size: 16px; color: #b7791f; font-variant-numeric: tabular-nums; }
.sx-chart { margin-top: 6px; }
.sx-chart svg { display: block; width: 100%; height: 64px; }
.sx-area { fill: rgba(245, 158, 11, 0.18); }
.sx-line { fill: none; stroke: #f59e0b; stroke-width: 2; vector-effect: non-scaling-stroke; }
.sx-mark { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.sx-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); margin-top: 2px; font-variant-numeric: tabular-nums; }
.sx-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; margin-top: 12px; font-size: 13px; }
.sx-facts dt { color: var(--ink-3); }
.sx-facts dd { margin: 0; text-align: right; font-weight: 600; }
.sx-card .s3-card-note { font-size: 12.5px; }
@media (min-width: 761px) {
  .s3--solar .s3-bar { right: calc(clamp(256px, 26%, 316px) + 28px); }
  .s3--solar .s3-zoom { right: auto; left: 14px; }
  .s3--solar .s3-hint, .s3--solar .s3-status { left: calc((100% - clamp(256px, 26%, 316px) - 14px) / 2); }
  .sx-card--below { display: none !important; }
}
@media (max-width: 760px) { .sx-card--in { display: none !important; } }


.s3--kitchen { background: linear-gradient(180deg, #ece7df 0%, #e7e2da 60%, #dcd6cc 100%); transition: background 0.6s ease; }
.s3--kitchen.is-night { background: linear-gradient(180deg, #17140f 0%, #211c16 60%, #2a231b 100%); }
.kx-kicker { font-size: 12px; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; color: #0e7490; }
.kx-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px 12px; margin-top: 10px; font-size: 14px; }
.kx-facts dt { color: var(--ink-3); }
.kx-facts dd { margin: 0; text-align: right; font-weight: 600; }
.kx-book { display: flex; align-items: center; justify-content: center; width: 100%; height: 40px; margin-top: 14px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 14px/1 var(--font); cursor: pointer; transition: background-color 0.2s ease; }
.kx-book:hover { background: #0e7490; }
@media (min-width: 761px) {
  .s3--kitchen .s3-bar { right: calc(clamp(256px, 26%, 316px) + 28px); }
  .s3--kitchen .s3-zoom { right: auto; left: 14px; }
  .s3--kitchen .s3-hint, .s3--kitchen .s3-status { left: calc((100% - clamp(256px, 26%, 316px) - 14px) / 2); }
}
