/* v2: the configured pool in every block, deck and finish details, cutaway, service-area map,
   3-step lead form, LED strip that lights up like a fuse, heater glow. */

/* --- "Your pool" summary (strips, calculator, final section, popup, thank-you) --- */
.cfg { display: grid; gap: 10px; margin-top: 10px; }
.cfg-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cfg-chips span { padding: 7px 11px; border-radius: 999px; font: 600 13px/1 var(--f-body); background: rgba(255,255,255,.12); color: inherit; white-space: nowrap; }
.cfg-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.cfg-price b { font: 700 24px/1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cfg-price span { font: 500 14.5px/1.2 var(--f-body); opacity: .82; }
.cfg-price i { font-style: normal; font-weight: 700; color: #39E0D2; }
.cfg-price small { flex-basis: 100%; font: 500 12.5px/1.3 var(--f-body); opacity: .65; }
.back .cfg { margin-top: 10px; }
.back .cfg-price b { color: #fff; }
.back-l > div:last-child { min-width: 0; }
.back-pic { width: 150px; height: 96px; }

/* light backgrounds */
.calc-cfg, .l3-cfg { color: #16262B; }
.calc-cfg .cfg-chips span, .l3-cfg .cfg-chips span { background: rgba(10,116,128,.09); color: #0A5C66; }
.calc-cfg .cfg-price i, .l3-cfg .cfg-price i { color: #0A7480; }
.calc-cfg { padding: 16px 18px; margin-bottom: 6px; border-radius: 18px; background: rgba(10,116,128,.06); border: 1px solid rgba(10,116,128,.14); }
.calc-cfg .cfg { margin-top: 8px; }
.calc-cfg .cfg-price b { font-size: 20px; }
.calc-cfg-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.calc-cfg-h small { font: 600 11px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: rgba(22,38,43,.6); }
.calc-cfg-h a, .mine-edit { font: 600 13.5px/1 var(--f-body); color: #0A7480; text-decoration: none; border-bottom: 1px solid rgba(10,116,128,.35); padding-bottom: 2px; }
.mine .cfg { margin-top: 0; }
.mine .cfg-price b { color: #39E0D2; font-size: 26px; }
.mine-edit { justify-self: start; color: #39E0D2; border-color: rgba(57,224,210,.4); }

/* --- Deck and finish details --- */
.md { display: grid; grid-template-columns: 200px 1fr; gap: 20px; margin-top: 16px; padding: 18px; border-radius: 22px; background: #fff; box-shadow: 0 14px 34px rgba(22,38,43,.08); border: 1px solid rgba(22,38,43,.08); animation: mdIn .35s ease; }
@keyframes mdIn { from { opacity: 0; transform: translateY(6px); } }
.md-pic { position: relative; display: grid; grid-auto-flow: column; gap: 6px; border-radius: 16px; overflow: hidden; aspect-ratio: 1; }
.md-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.md-t b { display: block; font: 700 22px/1.1 var(--f-display); letter-spacing: -.02em; color: #16262B; }
.md-t em { display: inline-block; margin-top: 8px; padding: 6px 10px; border-radius: 999px; background: rgba(10,116,128,.1); color: #0A5C66; font: 700 12.5px/1 var(--f-body); font-style: normal; }
.md-t p { margin: 12px 0 10px; font: 500 15px/1.5 var(--f-body); color: rgba(22,38,43,.78); }
.md-t ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.md-t li { padding: 6px 10px 6px 26px; border-radius: 999px; background: #F3F1EA; font: 600 12.5px/1 var(--f-body); color: #16262B; position: relative; }
.md-t li::before { content: ""; position: absolute; left: 10px; top: 50%; width: 9px; height: 5px; margin-top: -4px; border: solid #0A7480; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.md-t small { display: block; margin-top: 12px; font: 500 12.5px/1.45 var(--f-body); color: rgba(22,38,43,.6); }
.mat figure { cursor: pointer; }

/* --- Cutaway --- */
.cut { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: 40px; align-items: center; margin-top: 56px; padding: 34px; border-radius: 30px; background: #fff; box-shadow: 0 20px 50px rgba(22,38,43,.08); }
.cut h3 { margin: 6px 0 18px; font: 700 30px/1.1 var(--f-display); letter-spacing: -.03em; color: #16262B; }
.cut ol { margin: 0; padding: 0; list-style: none; counter-reset: c; display: grid; gap: 12px; }
.cut li { counter-increment: c; position: relative; padding-left: 40px; font: 500 14px/1.4 var(--f-body); color: rgba(22,38,43,.72); }
.cut li::before { content: counter(c); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #0A7480; color: #fff; font: 700 13px/1 var(--f-body); }
.cut li b { display: block; font: 700 15.5px/1.3 var(--f-body); color: #16262B; margin-bottom: 2px; }
.cut-n { margin: 18px 0 0; font: 500 12.5px/1.4 var(--f-body); color: rgba(22,38,43,.55); }
.cut-pic { position: relative; margin: 0; }
.cut-pic img { width: 100%; display: block; }
.cut-pic i { position: absolute; width: 28px; height: 28px; margin: -14px; border-radius: 50%; display: grid; place-items: center; background: #0A7480; color: #fff; font: 700 13px/1 var(--f-body); font-style: normal; box-shadow: 0 0 0 5px rgba(255,255,255,.75), 0 6px 14px rgba(0,0,0,.25); }

/* --- Service area map --- */
.map { position: relative; }
.lmap { width: 100%; height: 100%; min-height: 440px; border-radius: 26px; overflow: hidden; z-index: 0; }
.lmap-legend { position: absolute; left: 14px; bottom: 14px; z-index: 500; display: flex; align-items: center; gap: 9px; max-width: calc(100% - 28px); padding: 9px 13px; border-radius: 12px; background: rgba(255,255,255,.94); box-shadow: 0 6px 18px rgba(0,0,0,.12); font: 600 12.5px/1.3 var(--f-body); color: #16262B; }
.lmap-legend i { flex: none; width: 16px; height: 12px; border-radius: 3px; background: rgba(20,162,177,.3); border: 1.5px solid #0A7480; }
.lmap-pin i { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: #0A7480; box-shadow: 0 0 0 5px rgba(10,116,128,.25); }
.lmap-pin b { position: absolute; left: 14px; top: -11px; padding: 4px 8px; border-radius: 8px; background: #16262B; color: #fff; font: 700 11.5px/1 var(--f-body); white-space: nowrap; }
.lmap-city { font: 600 12px/1 var(--f-body); color: #16262B; white-space: nowrap; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; transform: translate(6px, -6px); }

/* --- Popup: the pool can be changed right there --- */
.modal-side { justify-content: flex-end; gap: 10px; }
.modal-side .cfg { margin-top: 0; }
.modal-side .cfg-chips span { background: rgba(255,255,255,.16); }
.modal-side .cfg-price b { font-size: 30px; color: #39E0D2; }
.m-ctl { display: grid; gap: 8px; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.08); }
.m-ctl .sws button { width: 40px; height: 30px; border-radius: 9px; }
.m-ctl .sws button[aria-pressed="true"] { box-shadow: 0 0 0 2px #0c1218, 0 0 0 4px #39E0D2; }
.m-ctl .seg { background: rgba(255,255,255,.1); align-self: start; }
.m-ctl .seg button { color: rgba(255,255,255,.75); }
.m-ctl .seg button[aria-pressed="true"] { background: #fff; color: #0c1218; }
.m-tog { display: flex; gap: 6px; }
.m-ctl .chips button { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.25); }
.m-ctl .chips button[aria-pressed="true"] { background: #39E0D2; color: #06222A; border-color: transparent; }
.m-note { margin: 0; font: 500 12.5px/1.4 var(--f-body); color: rgba(255,255,255,.6); }
.modal-box { max-height: calc(100vh - 32px); }
.modal-side { min-height: 560px; overflow: auto; }

/* --- Lead form in 3 steps --- */
.lead3 { align-content: start; }
.lead3 .step { display: none; gap: 12px; }
.lead3 .step.on { display: grid; animation: mdIn .3s ease; }
.lead3 h3 { margin: 0; font: 700 28px/1.1 var(--f-display); letter-spacing: -.03em; color: #16262B; }
.lead3 p.sub2 { margin: 0 0 4px; font: 500 15px/1.45 var(--f-body); color: rgba(22,38,43,.7); }
.lead3 label small { margin-left: 6px; font: 500 11px/1 var(--f-body); letter-spacing: 0; text-transform: none; color: rgba(22,38,43,.45); }
.lead3 label { grid-template-columns: auto 1fr; }
.lead3 label input { grid-column: 1 / -1; }
.l3-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.l3-bars { display: flex; gap: 5px; flex: 1; }
.l3-bars i { flex: 1; height: 4px; border-radius: 2px; background: rgba(22,38,43,.1); transition: background .3s ease; }
.l3-bars i.on { background: #0A7480; }
.l3-n { font: 600 12px/1 var(--f-body); color: rgba(22,38,43,.55); white-space: nowrap; }
.lead3 .q { margin-top: 4px; font: 600 11.5px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: rgba(22,38,43,.6); }
.pick { display: flex; flex-wrap: wrap; gap: 7px; }
.pick button { all: unset; cursor: pointer; padding: 11px 14px; border-radius: 12px; border: 1.5px solid rgba(22,38,43,.14); background: #FBFAF6; font: 600 14px/1 var(--f-body); color: #16262B; transition: border-color .15s ease, background .15s ease; }
.pick button:hover { border-color: rgba(10,116,128,.5); }
.pick button.on { background: #0A7480; border-color: #0A7480; color: #fff; }
.ways { display: grid; gap: 10px; }
.ways button { all: unset; cursor: pointer; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 4px; align-items: center; padding: 16px; border-radius: 16px; border: 1.5px solid rgba(22,38,43,.14); background: #FBFAF6; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.ways button svg { grid-row: 1 / 3; width: 44px; height: 44px; padding: 10px; box-sizing: border-box; border-radius: 12px; background: rgba(10,116,128,.1); fill: none; stroke: #0A7480; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ways button b { font: 700 16.5px/1.2 var(--f-body); color: #16262B; }
.ways button span { font: 500 13.5px/1.35 var(--f-body); color: rgba(22,38,43,.65); }
.ways button:hover { border-color: rgba(10,116,128,.5); }
.ways button.on { border-color: #0A7480; background: rgba(10,116,128,.07); box-shadow: 0 0 0 3px rgba(10,116,128,.14); }
.ways button.on svg { background: #0A7480; stroke: #fff; }
.l3-other { all: unset; cursor: pointer; justify-self: start; font: 600 13px/1 var(--f-body); color: rgba(22,38,43,.6); border-bottom: 1px dashed rgba(22,38,43,.35); padding-bottom: 2px; }
.l3-ok { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #0A7480; }
.l3-ok svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.l3-cfg { padding: 14px 16px; border-radius: 16px; background: rgba(10,116,128,.06); margin-top: 6px; }
.l3-cfg .cfg-price b { font-size: 20px; }
.lead3 .cta-hot { margin-top: 6px; }
#lead .lead3 { min-height: 520px; }

/* --- LED strip on the deck edge, and the heater glow --- */
#contour { pointer-events: none; opacity: 0; transition: opacity .4s ease; }
.night #contour { opacity: 1; }
#contour path, #ledCage { stroke-linecap: round; }
.spark { fill: #fff; opacity: 0; filter: url(#ledGlow); }
#cageLed { transition: opacity .2s ease; }
#heat { display: none; opacity: 0; transition: opacity 1.4s ease; mix-blend-mode: soft-light; pointer-events: none; overflow: hidden; }   /* masked to the water by led.js */
#heat i { position: absolute; left: 2330px; top: 730px; width: 3000px; height: 3000px; margin: -1500px 0 0 -1500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,96,40,1), rgba(255,120,50,.8) 22%, rgba(255,140,60,.45) 45%, rgba(255,150,70,0) 70%);
  transform: scale(.05); transition: transform 4s cubic-bezier(.2,.7,.2,1); }
#heat.on { opacity: .9; }
#heat.on i { transform: scale(1); }
#temp { transition: opacity .6s ease; }

@media (max-width: 1100px) { .cut { grid-template-columns: 1fr; } .md { grid-template-columns: 1fr; } }

.pr-card i, .hook-t b i { font-style: normal; font-weight: 700; }
/* the calculator card is dark */
.calc-cfg { color: #fff; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.calc-cfg .cfg-chips span { background: rgba(255,255,255,.1); color: #fff; }
.calc-cfg .cfg-price i { color: #39E0D2; }
.calc-cfg-h small { color: rgba(255,255,255,.6); }
.calc-cfg-h a { color: #39E0D2; border-color: rgba(57,224,210,.4); }
/* popup: the live picture stays behind the darkening gradient, the text on top reads clearly */
.modal-side { isolation: isolate; }
.modal-side .modal-pic { z-index: -2; }
.modal-side::before { z-index: -1; background: linear-gradient(180deg, rgba(6,11,20,.1), rgba(6,11,20,.78) 38%, rgba(6,11,20,.96) 62%); }
.cfg-price small { text-transform: none; letter-spacing: 0; }

/* --- What you get: cross-section or the pool from above --- */
.inc-pic.view-cut { background: #fff; }
.inc-pic.view-cut .live, .inc-pic.view-top .inc-cut { display: none; }
.inc-pic .inc-cut { display: block; width: 100%; height: auto; margin-top: 30px; }
.inc-tabs { position: absolute; left: 16px; top: 14px; z-index: 3; display: flex; gap: 3px; padding: 3px; border-radius: 13px; background: rgba(22,38,43,.08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.view-top .inc-tabs { background: rgba(251,250,246,.75); }
.inc-tabs button { all: unset; cursor: pointer; padding: 8px 13px; border-radius: 10px; font: 600 13.5px/1 var(--f-body); color: rgba(22,38,43,.7); white-space: nowrap; }
.inc-tabs button[aria-pressed="true"] { background: #16262B; color: #fff; }
.view-cut .dot:not(.opt) { background: #0A7480; color: #fff; } .view-cut .dot:not(.opt)::before { background: #0A7480; }
.dot { transition: left .5s cubic-bezier(.2,.8,.2,1), top .5s cubic-bezier(.2,.8,.2,1), transform .2s ease; }

/* --- Deck and finish showcase: full-width strips of macro shots --- */
html { overflow-x: clip; }
.mx { width: 100vw; margin: 72px 0 0 calc(50% - 50vw); }
.mx-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; max-width: min(1240px, calc(100vw - 48px)); margin: 0 auto 22px; }
.mx-h h3 { margin: 6px 0 0; font: 700 clamp(30px, 3vw, 44px)/1 var(--f-display); letter-spacing: -.035em; color: #16262B; }
.mx-h > p { margin: 0; max-width: 440px; font: 500 15.5px/1.5 var(--f-body); color: rgba(22,38,43,.68); }
.mx-strip { display: flex; gap: 6px; height: min(76vh, 640px); min-height: 460px; padding: 0 6px; }
.mx-i { position: relative; flex: 1; min-width: 0; overflow: hidden; border-radius: 22px; cursor: pointer; outline: none; transition: flex .7s cubic-bezier(.2,.8,.2,1); background: #222; }
.mx-i.on, .mx-strip:hover .mx-i:hover { flex: 4.2; }
.mx-strip:hover .mx-i:not(:hover) { flex: 1; }
.mx-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); transition: transform 1.4s cubic-bezier(.2,.8,.2,1), filter .6s ease; filter: saturate(.92) brightness(.92); }
.mx-i.on .mx-bg, .mx-i:hover .mx-bg { transform: scale(1.12); filter: none; }
.mx-i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,14,18,0) 35%, rgba(8,14,18,.55) 70%, rgba(8,14,18,.85)); pointer-events: none; }
.mx-i:focus-visible { box-shadow: inset 0 0 0 3px #39E0D2; }
.mx-v { position: absolute; left: 50%; bottom: 28px; z-index: 2; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl; font: 700 22px/1 var(--f-display); letter-spacing: -.01em; color: #fff; white-space: nowrap; transition: opacity .3s ease; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.mx-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 30px 32px; color: #fff; opacity: 0; transform: translateY(14px); transition: opacity .35s ease, transform .5s cubic-bezier(.2,.8,.2,1); pointer-events: none; max-width: 560px; }
.mx-i.on .mx-v, .mx-strip:hover .mx-i:hover .mx-v { opacity: 0; }
.mx-strip:hover .mx-i.on:not(:hover) .mx-v { opacity: 1; }
.mx-i.on .mx-info, .mx-strip:hover .mx-i:hover .mx-info { opacity: 1; transform: none; transition-delay: .25s; pointer-events: auto; }
.mx-strip:hover .mx-i.on:not(:hover) .mx-info { opacity: 0; transition-delay: 0s; }
.mx-info b { display: block; font: 700 clamp(30px, 2.8vw, 42px)/1 var(--f-display); letter-spacing: -.035em; }
.mx-info em { display: inline-block; margin-top: 12px; padding: 7px 12px; border-radius: 999px; background: rgba(57,224,210,.18); color: #7FF3E7; font: 700 13px/1 var(--f-body); font-style: normal; backdrop-filter: blur(6px); }
.mx-info p { margin: 14px 0 12px; font: 500 15.5px/1.5 var(--f-body); color: rgba(255,255,255,.86); }
.mx-info ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mx-info li { padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); font: 600 12.5px/1 var(--f-body); }
.mx-s { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.mx-s img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; box-shadow: 0 0 0 2px rgba(255,255,255,.4); }
.mx-s small { max-width: 160px; font: 500 12px/1.35 var(--f-body); color: rgba(255,255,255,.7); }
.mx-pick { display: inline-flex; align-items: center; margin-top: 18px; height: 44px; padding: 0 20px; border-radius: 13px; background: linear-gradient(180deg, #5BF0E2, #2FD3C4); color: #06222A; font: 700 15px/1 var(--f-body); }
.mx-pick.on { background: rgba(255,255,255,.16); color: #fff; }

/* --- Popup: the same calculator as on the first screen + labeled rows with what each choice costs --- */
.modal-box { width: min(1120px, 100%); grid-template-columns: 1.2fr 1fr; }
.modal-side { justify-content: flex-start; padding: 0; gap: 0; }
.modal-side::before { display: none; }
.modal-side .modal-pic { position: relative !important; inset: auto; height: 150px; flex: none; z-index: 0; }
.modal-side .modal-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,11,20,0) 40%, #0b121c); }
.ms { display: grid; gap: 14px; padding: 0 26px 24px; margin-top: -40px; position: relative; z-index: 2; }
.mq { display: grid; gap: 8px; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.mq-l { font: 600 11px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.mq-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.mq-mo b { font: 700 44px/.9 var(--f-display); letter-spacing: -.04em; color: #39E0D2; font-variant-numeric: tabular-nums; }
.mq-mo small { margin-left: 4px; font: 500 15px/1 var(--f-body); color: rgba(255,255,255,.7); letter-spacing: 0; text-transform: none; }
.mq-r { display: grid; justify-items: end; gap: 8px; }
.mq-down { display: flex; align-items: center; gap: 7px; }
.mq-down > span { font: 600 10.5px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.modal-side .seg { background: rgba(255,255,255,.1); }
.modal-side .seg button { color: rgba(255,255,255,.78); }
.modal-side .seg button[aria-pressed="true"] { background: #fff; color: #0c1218; }
.mq-sum { font: 500 13.5px/1 var(--f-body); color: rgba(255,255,255,.7); white-space: nowrap; }
.mq-sum b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.mq-more { font: 500 12.5px/1.3 var(--f-body); color: rgba(255,255,255,.6); } .mq-more b { color: #fff; } .mq-more:empty { display: none; }
.ms-rows { display: grid; border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.ms-row { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 6px; align-items: center; padding: 12px 16px; border-top: 1px solid rgba(255,255,255,.08); }
.ms-row:first-child { border-top: 0; }
.ms-row .cap { grid-row: 1 / 3; align-self: start; padding-top: 10px; font: 700 11px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ms-c { display: flex; flex-wrap: wrap; gap: 6px; }
.ms-row em { font: 600 12.5px/1.2 var(--f-body); font-style: normal; color: #7FF3E7; }
.ms-row em.dim { color: rgba(255,255,255,.35); }
.ms .sws button { width: 42px; height: 32px; border-radius: 9px; }
.ms .sws button[aria-pressed="true"] { box-shadow: 0 0 0 2px #0c1218, 0 0 0 4px #39E0D2; }
.ms .seg button { display: inline-flex; align-items: center; gap: 6px; }
.ms .seg button i { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.ms .chips { gap: 6px; flex-wrap: wrap; }
.ms .chips button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 10px; color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.22); font-size: 13px; }
.ms .chips button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.ms .chips button[aria-pressed="true"] { background: #39E0D2; color: #06222A; border-color: transparent; }
.ms .m-note { font-size: 12px; }
.modal-side { background: #0b121c; }
.modal-side .mq-more b { font: inherit; font-weight: 700; color: #fff; letter-spacing: 0; }
.modal-side .mq-sum b { font: 700 20px/1 var(--f-display); letter-spacing: -.02em; color: #fff; }
.modal-side .mq-mo b { font: 700 44px/.9 var(--f-display); letter-spacing: -.04em; color: #39E0D2; }
.led-tip { pointer-events: none; }

/* --- Popup v3: whole pool on top (alive), a compact calculator and a plaque like on the first screen --- */
.modal-box { width: min(1060px, 100%); grid-template-columns: 1.08fr 1fr; }
.modal .modal-side { display: flex; flex-direction: column; gap: 14px; padding: 20px 22px 18px; min-height: 0; background: #0b121c; overflow: auto; }
.modal-side .mp { position: relative; flex: none; }
.modal-side .modal-pic { position: relative !important; inset: auto !important; width: 100%; height: auto; aspect-ratio: 1550 / 786; border-radius: 16px; overflow: hidden; z-index: 0; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.modal-side .modal-pic::after { display: none; }
.m-shim { position: absolute; left: 0; top: 0; width: 2560px; height: 1440px; mix-blend-mode: overlay; opacity: .45; pointer-events: none; }
.mp .modal-g { position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 6px 10px; font-size: 12px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); background: rgba(40,14,30,.72); }
.mq2 { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0 2px; }
.mq2-mo small { display: block; margin-bottom: 6px; font: 600 10.5px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.modal-side .mq2-mo b { font: 700 40px/.9 var(--f-display); letter-spacing: -.04em; color: #39E0D2; font-variant-numeric: tabular-nums; }
.mq2-mo i { margin-left: 4px; font: 500 14px/1 var(--f-body); font-style: normal; color: rgba(255,255,255,.65); }
.mq2-r { display: grid; justify-items: end; gap: 7px; }
.modal-side .mq-sum b { font: 700 17px/1 var(--f-display); }
.modal-side .seg button { padding: 6px 9px; font-size: 12.5px; }
.pl { display: grid; gap: 6px; }
.pl-r { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 6px 10px 6px 12px; border-radius: 14px; background: rgba(255,255,255,.06); }
.pl-r .cap { flex: none; width: 52px; font: 700 10.5px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.pl-r em { font: 600 12.5px/1 var(--f-body); font-style: normal; color: rgba(255,255,255,.75); white-space: nowrap; }
.pl .sws { gap: 5px; }
.pl .sws button { width: 34px; height: 26px; border-radius: 8px; }
.pl .sws button[aria-pressed="true"] { box-shadow: 0 0 0 2px #0b121c, 0 0 0 3.5px #39E0D2; }
.pl .seg button { display: inline-flex; align-items: center; gap: 5px; }
.pl .seg button i { width: 9px; height: 9px; border-radius: 50%; }
.pl .chips { display: flex; flex-wrap: wrap; gap: 5px; }
.pl .chips button { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 9px; font-size: 12.5px; color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.2); }
.pl .chips button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.pl .chips button[aria-pressed="true"] { background: #39E0D2; color: #06222A; border-color: transparent; }
.pl-w { align-items: flex-start; } .pl-w .cap { padding-top: 9px; }
.modal-side .m-note { margin: 0; font: 500 12px/1.4 var(--f-body); color: rgba(255,255,255,.5); }
.modal-side .m-note b { font: inherit; font-weight: 700; color: rgba(255,255,255,.8); }
.mp .modal-g { top: 10px; bottom: auto; }
