/* Cruising grounds: the explorer's second view, a nautical chart in the blueprint's gold ink on deep navy.
   Builds on yacht-explorer.css (the .yx shell, columns, cards and tokens). Chart strokes are sized in
   var(--sw) and lettering in var(--tk), both set by areas.js from the zoom, so lines stay hairlines on
   screen however far in the camera flies. */

.ca { --ca-ease: cubic-bezier(0.2, 0.8, 0.2, 1); }
.ca button { min-height: 0; }
.ca .yx-group__btn:hover { background: none; }
.ca .yx-side__handle:hover { background: none; }
.ca-search { margin-top: 14px; }

/* ---------- the chart ---------- */
.ca-stage { overflow: hidden; }
.ca-svg {
  --ca-land: rgba(201, 169, 106, 0.065);
  --ca-coast: rgba(214, 186, 128, 0.92);
  --ca-shelf: rgba(110, 205, 210, 0.085);
  --ca-depth: rgba(201, 169, 106, 0.42);
  --ca-grat: rgba(201, 169, 106, 0.11);
  --ca-rhumb: rgba(201, 169, 106, 0.06);
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.ca-svg[data-lens="engineer"] {
  --ca-land: rgba(170, 200, 255, 0.06);
  --ca-coast: rgba(205, 220, 255, 0.85);
  --ca-shelf: rgba(140, 180, 255, 0.09);
  --ca-depth: rgba(170, 200, 255, 0.4);
  --ca-grat: rgba(170, 200, 255, 0.14);
  --ca-rhumb: rgba(170, 200, 255, 0.07);
}
.ca-svg[data-lens="owner"] {
  --ca-land: rgba(255, 205, 160, 0.06);
  --ca-shelf: rgba(255, 180, 130, 0.07);
}

.ca-grat { fill: none; stroke: var(--ca-grat); stroke-width: calc(var(--sw, 1) * 0.8); transition: stroke 1.2s; }
.ca-grat.is-5, .ca-grat.is-1 { display: none; }
.ca-svg.z-region .ca-grat.is-5 { display: inline; stroke-width: calc(var(--sw, 1) * 0.55); }
.ca-svg.z-close .ca-grat.is-1 { display: inline; stroke-width: calc(var(--sw, 1) * 0.4); opacity: 0.6; }
.ca-grat.is-eq { stroke: rgba(201, 169, 106, 0.3); stroke-dasharray: calc(var(--tk, 1) * 10) calc(var(--tk, 1) * 4) calc(var(--tk, 1) * 2) calc(var(--tk, 1) * 4); }
.ca-grat.is-tropic { stroke: rgba(201, 169, 106, 0.2); stroke-dasharray: calc(var(--tk, 1) * 6) calc(var(--tk, 1) * 6); }

.ca-rhumb { fill: none; stroke: var(--ca-rhumb); stroke-width: calc(var(--sw, 1) * 0.6); }
.ca-rhumb.is-wind { stroke-width: calc(var(--sw, 1) * 0.8); opacity: 1.6; stroke-dasharray: calc(var(--tk, 1) * 16) calc(var(--tk, 1) * 6); }

/* Land, the coast, and two depth contours offshore (see areas.js for how the masks cut them). */
.ca-land { fill: var(--ca-land); transition: fill 1.2s; }
.ca-coast { fill: none; stroke: var(--ca-coast); stroke-width: var(--sw, 1); stroke-linejoin: round; stroke-linecap: round; transition: stroke 1.2s; }
.ca-shelf { fill: none; stroke: var(--ca-shelf); stroke-width: calc(var(--tk, 1) * 26); stroke-linejoin: round; transition: stroke 1.2s; }
.ca-depth { fill: none; stroke: var(--ca-depth); stroke-linejoin: round; }
.ca-depth.is-1 { stroke-width: calc(var(--tk, 1) * 14); }
.ca-depth.is-2 { stroke-width: calc(var(--tk, 1) * 30); opacity: 0.6; stroke-dasharray: calc(var(--tk, 1) * 7) calc(var(--tk, 1) * 5); }
.ca-depth__cut.is-7 { stroke-width: calc(var(--tk, 1) * 12.8); stroke-linejoin: round; }
.ca-depth__cut.is-15 { stroke-width: calc(var(--tk, 1) * 28.8); stroke-linejoin: round; }
/* Out at the whole world the contours would only smudge the coast. */
.ca-svg:not(.z-region) .ca-depth.is-2 { display: none; }
.ca-svg.is-narrow:not(.z-region) .ca-depths { display: none; }

.ca-sea {
  fill: rgba(201, 169, 106, 0.5);
  font: italic 500 calc(var(--tk, 1) * 14px)/1 var(--lux-serif, Georgia, serif);
  letter-spacing: 0.08em;
  pointer-events: none;
}
.ca-sea.is-t1 { font: 600 calc(var(--tk, 1) * 10.5px)/1 -apple-system, "Segoe UI", sans-serif; letter-spacing: 0.5em; text-transform: uppercase; fill: rgba(201, 169, 106, 0.42); }
.ca-sea.is-t2, .ca-sea.is-t3 { display: none; }
.ca-svg.z-region .ca-sea.is-t2 { display: inline; }
.ca-svg.z-close .ca-sea.is-t3 { display: inline; font-size: calc(var(--tk, 1) * 12.5px); }
.ca-svg.z-close .ca-sea.is-t1 { opacity: 0.6; }

/* Compass roses: drawn in screen pixels (their group is scaled by areas.js). */
.ca-rose { pointer-events: none; }
.ca-rose__card circle, .ca-rose__card path { fill: none; stroke: rgba(201, 169, 106, 0.5); stroke-width: 0.9; }
.ca-rose__card .is-fine { stroke-width: 0.55; opacity: 0.75; }
.ca-rose__card > path:not(.is-fine):not(.is-north) { fill: rgba(6, 10, 19, 0.55); }
.ca-rose__card .is-north { fill: rgba(246, 231, 193, 0.7); stroke: none; }
.ca-rose__n { fill: rgba(201, 169, 106, 0.8); font: 600 10px/1 -apple-system, "Segoe UI", sans-serif; letter-spacing: 0.1em; }
.ca-svg[data-lens="engineer"] .ca-rose__card circle, .ca-svg[data-lens="engineer"] .ca-rose__card path { stroke: rgba(170, 200, 255, 0.5); }

/* ---------- the grounds ---------- */
.ca-heat { fill: url(#ca-heat); stroke: none; opacity: calc(var(--heat, 0) * 0.95); pointer-events: none; transition: opacity 0.9s ease; }
.ca-svg.is-open .ca-heat { opacity: calc(var(--heat, 0) * 0.5); }

.ca-area { cursor: pointer; outline: none; }
.ca-area__hit { fill: rgba(201, 169, 106, 0.015); stroke: none; transition: fill 0.3s; }
.ca-area:hover .ca-area__hit, .ca-area.is-hover .ca-area__hit, .ca-area:focus-visible .ca-area__hit { fill: rgba(201, 169, 106, 0.1); }
.ca-svg.z-region .ca-area:hover .ca-area__hit, .ca-svg.z-region .ca-area.is-hover .ca-area__hit { fill: url(#ca-hatch); }
.ca-area.is-active .ca-area__hit { fill: transparent; }
.ca-area.is-dim { opacity: 0.42; }
.ca-area.is-dim:hover, .ca-area.is-dim.is-hover { opacity: 0.9; }
.ca-area__dot { pointer-events: none; transition: opacity 0.4s; }
.ca-area__core { fill: var(--yx-line); }
.ca-area__ring { fill: none; stroke: var(--yx-bright); stroke-width: 1.1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.ca-area.is-season .ca-area__core { fill: var(--yx-bright); }
.ca-area.is-season .ca-area__ring { animation: ca-pulse 2.6s ease-out infinite; }
.ca-area.is-active .ca-area__dot, .ca-area.is-dim .ca-area__dot { opacity: 0; }
@keyframes ca-pulse { 0% { transform: scale(0.8); opacity: 0.9; } 100% { transform: scale(3.4); opacity: 0; } }

/* ---------- passages between the seasons ---------- */
.ca-route { opacity: 0; pointer-events: none; transition: opacity 0.9s ease; }
.ca-route.is-on { opacity: calc(0.45 + var(--flow, 0) * 0.55); }
.ca-svg[data-lens="captain"] .ca-route:not(.is-on) { opacity: 0.3; }
.ca-route__base {
  fill: none;
  stroke: rgba(246, 231, 193, 0.55);
  stroke-width: calc(var(--sw, 1) * 0.9);
  stroke-dasharray: calc(var(--tk, 1) * 1.2) calc(var(--tk, 1) * 4.5);
  stroke-linecap: round;
}
.ca-route__flow {
  fill: none;
  stroke: var(--yx-bright);
  stroke-width: calc(var(--sw, 1) * 1.35);
  stroke-dasharray: calc(var(--tk, 1) * 14) calc(var(--tk, 1) * 10);
  stroke-linecap: round;
  opacity: 0;
  transition: opacity 0.6s;
}
.ca-route.is-on .ca-route__flow { opacity: 0.9; }
.ca-route__yacht { fill: #fff; stroke: rgba(246, 231, 193, 0.35); stroke-width: calc(var(--sw, 1) * 3); }
.ca-route:not(.is-on) .ca-route__yacht { display: none; }

/* ---------- marks: drawn in screen pixels (their groups are scaled by areas.js) ---------- */
.ca-marks > g { pointer-events: none; transition: opacity 0.5s ease; }
.ca-marina__halo { fill: rgba(5, 9, 18, 0.6); }
.ca-marina__ring { fill: rgba(201, 169, 106, 0.14); stroke: var(--yx-bright); stroke-width: 1; transition: fill 0.2s; }
.ca-marina__dot { fill: var(--yx-bright); }
.ca-svg:not(.z-region) .ca-marina__halo { display: none; }
.ca-svg:not(.z-region) .ca-marina__ring { stroke-width: 0.8; }
.ca-svg:not(.z-region) .ca-marina.is-minor:not(.is-hot) { display: none; }
.ca-marina.is-hot .ca-marina__ring { fill: var(--yx-bright); stroke: #fff; }
.ca-marina.is-hot { filter: drop-shadow(0 0 6px rgba(246, 231, 193, 0.9)); }
.ca-svg:not([data-lens="captain"]) .ca-marina:not(.is-here) { opacity: 0; }
.ca-svg[data-lens="captain"].is-open .ca-marina:not(.is-here) { opacity: 0.35; }

.ca-show__mark { fill: rgba(6, 10, 19, 0.8); stroke: var(--yx-line); stroke-width: 1.1; }
.ca-show__core { fill: var(--yx-line); }
.ca-show__pulse { fill: none; stroke: var(--yx-bright); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.ca-show.is-lit .ca-show__mark { fill: var(--yx-bright); stroke: #fff; }
.ca-show.is-lit .ca-show__core { fill: #0b1220; }
.ca-show.is-lit .ca-show__pulse { animation: ca-pulse 2.2s ease-out infinite; }
.ca-show.is-lit { filter: drop-shadow(0 0 5px rgba(246, 231, 193, 0.75)); }
.ca-show:not(.is-lit) { opacity: 0.7; }
.ca-svg.is-open .ca-show:not(.is-here):not(.is-lit) { opacity: 0.25; }

.ca-fleet, .ca-based { opacity: 0; }
.ca-svg[data-lens="owner"] .ca-fleet { opacity: 1; }
.ca-svg[data-lens="owner"].is-open .ca-fleet { opacity: 0.35; }
.ca-fleet__pool { fill: url(#ca-pool); }
.ca-fleet__ring { fill: none; stroke: #ffe2b5; stroke-width: 1; opacity: 0.85; }
.ca-fleet__ring.is-fine { stroke-width: 0.7; stroke-dasharray: 2 3; opacity: 0.6; }
.ca-svg[data-lens="engineer"] .ca-based { opacity: 1; }
.ca-based__ring { fill: rgba(140, 180, 255, 0.05); stroke: #bcd3ff; stroke-width: 1; }
.ca-based__ring.is-1 { stroke-dasharray: 4 3; fill: none; }
.ca-based__ring.is-2 { stroke-dasharray: 1 3; stroke-linecap: round; fill: none; stroke-width: 1.4; }
.ca-based__cross { fill: none; stroke: #fff; stroke-width: 1.2; }

/* The open ground's frame. */
.ca-frame { opacity: 0; pointer-events: none; transition: opacity 0.5s; }
.ca-frame.is-on { opacity: 1; }
.ca-frame__box { fill: none; stroke: rgba(246, 231, 193, 0.28); stroke-width: var(--sw, 1); stroke-dasharray: calc(var(--sw, 1) * 2) calc(var(--sw, 1) * 4); }
.ca-frame__ticks { fill: none; stroke: var(--yx-bright); stroke-width: calc(var(--sw, 1) * 1.8); stroke-linecap: square; }
.ca-frame__name { fill: var(--yx-line); font: 600 calc(var(--tk, 1) * 10px)/1 -apple-system, "Segoe UI", sans-serif; letter-spacing: 0.22em; text-transform: uppercase; }

/* ---------- the neatline, in screen pixels over the chart ---------- */
.ca-neat { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ca-neat__line { fill: none; stroke: rgba(201, 169, 106, 0.55); stroke-width: 1; }
.ca-neat__line.is-fine { stroke-width: 0.6; opacity: 0.55; }
.ca-neat__bar { fill: rgba(201, 169, 106, 0.42); }
.ca-neat__tick { fill: none; stroke: rgba(201, 169, 106, 0.6); stroke-width: 1; }
.ca-neat__deg text { fill: rgba(201, 169, 106, 0.78); font: 600 9.5px/1 -apple-system, "Segoe UI", sans-serif; letter-spacing: 0.06em; }

/* ---------- names over the chart ---------- */
.ca-labels { position: absolute; inset: 0; pointer-events: none; }
.ca-leaders { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transition: opacity 0.25s; }
.ca-leader { fill: none; stroke: rgba(246, 231, 193, 0.4); stroke-width: 1; stroke-dasharray: 2 3; }
.ca-labels.is-moving .ca-leaders, .ca-labels.is-moving .ca-pill, .ca-labels.is-moving .ca-tag { opacity: 0; }
.ca-pill {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px 6px 9px;
  border: 1px dashed rgba(201, 169, 106, 0.4);
  border-radius: 999px;
  background: rgba(7, 11, 21, 0.8);
  color: #b9c0cc;
  font: 600 12.5px/1 -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
  transition: border-color 0.2s, background 0.2s, color 0.2s, opacity 0.25s;
}
.ca-pill[hidden], .ca-pin[hidden], .ca-pill__count[hidden] { display: none; }
.ca-pill__dot { width: 7px; height: 7px; border: 1.5px solid var(--yx-line); border-radius: 50%; }
.ca-pill__count { color: var(--yx-line); font-size: 11.5px; font-style: normal; font-weight: 500; }
.ca-pill.is-season { border-style: solid; border-color: var(--yx-line); color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); }
.ca-pill.is-season .ca-pill__dot { background: var(--yx-line); box-shadow: 0 0 8px rgba(201, 169, 106, 0.8); }
.ca .ca-pill:hover, .ca .ca-pill.is-hover { z-index: 2; border-style: solid; border-color: var(--yx-bright); background: var(--yx-line); color: #0b1220; }
.ca .ca-pill:hover .ca-pill__count, .ca .ca-pill.is-hover .ca-pill__count { color: rgba(11, 18, 32, 0.7); }
.ca .ca-pill:hover .ca-pill__dot, .ca .ca-pill.is-hover .ca-pill__dot { border-color: #0b1220; background: #0b1220; box-shadow: none; }
.ca-pin {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--yx-line);
  border-radius: 50%;
  background: rgba(7, 11, 21, 0.85);
  color: var(--yx-bright);
  font: 700 12px/1 -apple-system, "Segoe UI", sans-serif;
  pointer-events: auto;
  cursor: pointer;
}
.ca-pin.is-season { background: var(--yx-line); color: #0b1220; box-shadow: 0 0 0 4px rgba(201, 169, 106, 0.2); }
.ca .ca-pin:hover, .ca .ca-pin.is-hover { background: var(--yx-bright); color: #0b1220; }
.ca-tag {
  position: absolute;
  left: 0;
  top: 0;
  padding: 4px 8px;
  border: 1px solid rgba(201, 169, 106, 0.2);
  border-radius: 8px;
  background: rgba(7, 11, 21, 0.8);
  color: #c9cfda;
  font: 500 11.5px/1.35 -apple-system, "Segoe UI", sans-serif;
  white-space: nowrap;
  pointer-events: none;
  animation: ca-fade 0.35s backwards;
  transition: opacity 0.2s;
}
@keyframes ca-fade { from { opacity: 0; } }
.ca-tag b { color: #fff; font-weight: 600; }
.ca-tag i { color: var(--yx-line); font-style: normal; font-weight: 700; }
.ca-tag.is-show { border-color: var(--yx-line); }
.ca-tag.is-show b { color: var(--yx-bright); }
.ca-tag.is-fleet { border-color: rgba(255, 226, 181, 0.4); }
.ca-tag.is-fleet b { color: #ffe2b5; font: 500 15px/1 var(--lux-serif, Georgia, serif); }
.ca-tag.is-based { border-color: rgba(188, 211, 255, 0.4); }
.ca-tag.is-based i { color: #bcd3ff; }
.ca-tag.is-marina { padding: 3px 7px; font-size: 11px; }

/* ---------- overlays: key plan, title block and scale, the season ---------- */
.ca-keyplan {
  display: grid;
  gap: 5px;
  width: 210px;
  padding: 8px 10px;
  border: 1px solid var(--yx-hair);
  border-radius: 12px;
  background: var(--yx-glass);
  backdrop-filter: blur(10px);
  color: var(--yx-line);
  font: 600 11px/1 -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 0.16em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  pointer-events: auto;
  animation: ca-fade 0.4s 0.3s backwards;
  transition: border-color 0.2s;
}
.ca-keyplan[hidden] { display: none; }
.ca .ca-keyplan:hover { border-color: var(--yx-line); background: var(--yx-glass); color: var(--yx-bright); }
.ca-keyplan svg { display: block; width: 100%; height: 74px; }
.ca-key__coast { fill: rgba(201, 169, 106, 0.18); stroke: rgba(201, 169, 106, 0.75); stroke-width: 110; stroke-linejoin: round; }
.ca-key__area { fill: rgba(246, 231, 193, 0.45); stroke: var(--yx-bright); stroke-width: 260; }

.ca-cartouche {
  position: absolute;
  z-index: 5;
  right: calc(var(--sup-w) + 36px);
  bottom: 30px;
  display: grid;
  justify-items: end;
  gap: 10px;
  pointer-events: none;
  transition: right 0.45s var(--ca-ease), opacity 0.3s;
}
.ca.has-suppliers .ca-cartouche .ca-tblock { display: none; }
.ca-tblock { width: 260px; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.35)); }
.ca-tblock svg { display: block; width: 100%; height: auto; }
.ca-tb__lines { fill: none; stroke: rgba(201, 169, 106, 0.55); stroke-width: 0.8; }
.ca-scale { display: grid; grid-template-columns: auto; justify-items: end; gap: 4px; color: var(--yx-line); font: 600 10px/1 -apple-system, "Segoe UI", sans-serif; letter-spacing: 0.1em; }
.ca-scale__bar {
  display: block;
  height: 6px;
  border: 1px solid rgba(201, 169, 106, 0.75);
  background: repeating-linear-gradient(90deg, rgba(201, 169, 106, 0.7) 0 25%, transparent 25% 50%);
  transition: width 0.2s;
}
.ca-scale__ratio { color: var(--yx-mute); font-weight: 500; letter-spacing: 0.04em; }

.ca-season {
  position: absolute;
  z-index: 6;
  left: calc(var(--find-w) + 30px);
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100% - var(--find-w) - var(--sup-w) - 60px);
  padding: 7px 20px 7px 7px;
  border: 1px solid var(--yx-hair);
  border-radius: 70px;
  background: var(--yx-glass);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: left 0.45s var(--ca-ease), opacity 0.3s, bottom 0.4s var(--ca-ease);
}
.ca-season__body { display: grid; gap: 3px; min-width: 0; }
.ca-season__kicker { margin: 0; color: var(--yx-line); font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.ca-season__month { margin: 0; color: #fff; font-family: var(--lux-serif); font-size: 30px; font-weight: 500; line-height: 1; }
.ca-season__note { margin: 0; max-width: 240px; color: #c9cfda; font-size: 12px; line-height: 1.35; }
.ca-season__ctl { display: flex; align-items: center; gap: 6px; margin-top: 5px; }
.ca .ca-season__btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--yx-hair);
  border-radius: 50%;
  background: transparent;
  color: var(--yx-bright);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}
.ca .ca-season__btn:hover { border-color: var(--yx-line); background: var(--yx-line); color: #0b1220; }
.ca-season__play svg { width: 14px; height: 14px; fill: currentColor; }
.ca-season__play .yx-i-pause { display: none; }
.ca-season__play[aria-pressed="true"] .yx-i-play { display: none; }
.ca-season__play[aria-pressed="true"] .yx-i-pause { display: inline; }
.ca .ca-season__play[aria-pressed="true"] { border-color: var(--yx-line); background: var(--yx-line); color: #0b1220; box-shadow: 0 0 18px rgba(201, 169, 106, 0.45); }
.ca-season__legend { margin-left: 6px; color: var(--yx-mute); font-size: 10.5px; letter-spacing: 0.03em; }

/* The season dial: months round the rim, the fleet's year as heat rings, shows as ticks on their dates. */
.ca-dial { flex: none; width: 116px; height: 116px; overflow: visible; cursor: pointer; touch-action: none; outline: none; }
.ca-dial__rim { fill: rgba(5, 9, 18, 0.6); stroke: var(--yx-line); stroke-width: 1.2; }
.ca-dial__rim.is-fine { fill: none; stroke-width: 0.6; opacity: 0.6; }
.ca-dial:focus-visible .ca-dial__rim:not(.is-fine) { stroke: var(--yx-bright); stroke-width: 3; }
.ca-dial__hit { fill: transparent; transition: fill 0.2s; }
.ca-dial__seg:hover .ca-dial__hit { fill: rgba(201, 169, 106, 0.16); }
.ca-dial__seg.is-now .ca-dial__hit { fill: rgba(201, 169, 106, 0.3); }
.ca-dial__seg text { fill: var(--yx-line); font: 700 12px/1 -apple-system, "Segoe UI", sans-serif; pointer-events: none; }
.ca-dial__seg.is-now text { fill: #fff; }
.ca-dial__heat path { fill: var(--yx-line); fill-opacity: calc(0.07 + var(--v, 0) * 0.85); transition: fill-opacity 0.6s; }
.ca-dial__ring-name + .ca-dial__heat path { fill: #9fe0d0; }
.ca-dial__heat path.is-now { stroke: #fff; stroke-width: 1.4; }
.ca-dial__show { stroke: rgba(201, 169, 106, 0.6); stroke-width: 1.6; stroke-linecap: round; }
.ca-dial__show.is-lit { stroke: #fff; stroke-width: 3; }
.ca-dial__needle { pointer-events: none; }
.ca-dial__needle path, .ca-dial__needle circle { fill: var(--yx-bright); opacity: 0.92; }
.ca-dial__hub { fill: rgba(5, 9, 18, 0.94); stroke: rgba(201, 169, 106, 0.4); stroke-width: 1; }
.ca-dial__month { fill: #fff; font: 500 17px/1 var(--lux-serif, Georgia, serif); pointer-events: none; }
.ca-dial__ring-name { display: none; }

/* ---------- the left column: grounds in season first ---------- */
.ca-list .yx-groups + .yx-tree__group { margin-top: 20px; }
.ca .ca-row .yx-group__btn { grid-template-columns: 22px 1fr auto 16px; padding-bottom: 8px; }
.ca .ca-num {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--yx-hair);
  color: var(--yx-mute);
  font-size: 11px;
  font-weight: 700;
}
.ca .ca-row.is-key .ca-num { border-color: var(--yx-line); background: var(--yx-line); color: #0b1220; box-shadow: 0 0 10px rgba(201, 169, 106, 0.5); }
.ca-row:not(.is-key) .yx-group__name { color: #c9cfda; }
.ca-row__heat { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; margin: 0 44px 11px 46px; }
.ca-row__heat i { display: block; height: 5px; border-radius: 1px; background: var(--yx-line); opacity: calc(0.1 + var(--v, 0) * 0.9); }
.ca-row__heat i.is-now { box-shadow: 0 0 0 1px #fff; }

/* ---------- the right column: one ground ---------- */
.ca-detail .yx-sup__title { margin-bottom: 4px; }
.ca-places { margin: 0 0 14px; color: var(--yx-mute); font-size: 12.5px; letter-spacing: 0.03em; line-height: 1.4; }
.ca-strip { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; margin: 0 0 8px; }
.ca .ca-strip__m {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--yx-mute);
  cursor: pointer;
}
.ca .ca-strip__m:hover { background: none; color: #fff; }
.ca-strip__m i {
  display: block;
  width: 100%;
  height: 34px;
  border-radius: 3px;
  background: linear-gradient(to top, var(--yx-line) calc(var(--v, 0) * 100%), rgba(201, 169, 106, 0.08) 0);
  opacity: 0.55;
  transition: opacity 0.2s;
}
.ca-strip__m.is-on i { opacity: 1; }
.ca-strip__m:hover i { opacity: 1; box-shadow: 0 0 0 1px var(--yx-hair); }
.ca-strip__m.is-now i { box-shadow: 0 0 0 1.5px #fff; }
.ca-strip__m small { font-size: 10px; font-weight: 600; }
.ca-strip__m.is-on small { color: var(--yx-text); }
.ca-strip__m.is-now small { color: #fff; }
.ca-season-text { margin: 0 0 12px; color: #c9cfda; font-size: 13px; line-height: 1.4; }
.ca-blurb { margin: 0 0 18px; color: var(--yx-text); font-family: var(--lux-serif); font-size: 19px; line-height: 1.32; }
.ca-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 20px; }
.ca-fact { display: grid; align-content: start; gap: 3px; min-width: 0; padding: 10px; border: 1px solid var(--yx-faint); border-radius: 12px; background: rgba(255, 255, 255, 0.02); }
.ca-fact strong { color: var(--yx-bright); font-family: var(--lux-serif); font-size: 28px; font-weight: 500; line-height: 1; }
.ca-fact span { color: var(--yx-text); font-size: 11.5px; line-height: 1.25; }
.ca-fact a { color: var(--yx-line); font-size: 12px; text-decoration: none; overflow-wrap: anywhere; }
.ca-fact a:hover { color: var(--yx-bright); text-decoration: underline; }
.ca-fact small { color: var(--yx-mute); font-size: 10.5px; line-height: 1.3; }
.ca-sec { display: grid; gap: 8px; margin: 0 0 20px; }
.ca-links { display: grid; gap: 10px; margin: 0 0 20px; }
.ca-sec .ca-links { margin: 4px 0 0; }
.ca-link { color: var(--yx-line); font-size: 13px; text-decoration: none; }
.ca-link:hover { color: var(--yx-bright); text-decoration: underline; }
.ca-marinas { display: grid; gap: 6px; }
.ca-marina-row {
  display: grid;
  gap: 4px;
  padding: 9px 12px 10px;
  border: 1px solid var(--yx-faint);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.ca-marina-row:hover { border-color: var(--yx-line); background: rgba(201, 169, 106, 0.08); }
.ca-marina-row__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; color: #fff; font-size: 14px; font-weight: 600; }
.ca-marina-row__name small { color: var(--yx-mute); font-size: 11.5px; font-weight: 400; }
.ca-marina-row__limits { color: var(--yx-line); font-size: 12px; font-variant-numeric: tabular-nums; }
.ca-loa { display: block; height: 3px; overflow: hidden; border-radius: 2px; background: rgba(201, 169, 106, 0.12); }
.ca-loa i { display: block; height: 100%; background: var(--yx-line); }
.ca-show-row {
  display: grid;
  gap: 2px;
  padding: 9px 12px;
  border-left: 2px solid var(--yx-line);
  border-radius: 0 10px 10px 0;
  background: rgba(201, 169, 106, 0.05);
  text-decoration: none;
  transition: background 0.2s;
}
.ca-show-row:hover { background: rgba(201, 169, 106, 0.14); }
.ca-show-row.is-on { border-left-color: #fff; background: rgba(201, 169, 106, 0.16); }
.ca-show-row__when { color: var(--yx-line); font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.ca-show-row__name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: #fff; font-size: 14px; font-weight: 600; }
.ca-show-row small { color: var(--yx-mute); font-size: 12px; }
.ca-counts { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.ca-counts li { display: flex; align-items: center; gap: 6px; }
.ca-counts__main {
  display: grid;
  flex: 1;
  grid-template-columns: 1fr auto 14px;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 9px 10px 9px 12px;
  border: 1px solid var(--yx-faint);
  border-radius: 10px;
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.ca-counts__main:hover { border-color: var(--yx-line); background: rgba(201, 169, 106, 0.1); }
.ca-counts__main em { color: var(--yx-line); font-style: normal; font-variant-numeric: tabular-nums; }
.ca-counts__main .yx-sub__chev { width: 14px; height: 14px; }
.ca-counts__page {
  flex: none;
  padding: 6px 10px;
  border: 1px solid var(--yx-hair);
  border-radius: 999px;
  color: var(--yx-bright);
  font-size: 11.5px;
  text-decoration: none;
  white-space: nowrap;
}
.ca-counts__page:hover { border-color: var(--yx-line); background: rgba(201, 169, 106, 0.12); }
.ca-companies .yx-cards { margin: 6px 0 4px; }
.ca-honest { margin-top: 6px; padding-top: 10px; border-top: 1px dashed var(--yx-faint); }
.ca-detail .yx-sup__all { margin-top: 2px; }

/* ---------- the crawlable list below the chart ---------- */
.ca-index__lead { max-width: 780px; margin: -14px 0 36px; color: #55575c; font-size: 16px; line-height: 1.55; }
.ca-index__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 36px 40px; }
.ca-index__area { padding-top: 16px; border-top: 1px solid var(--lux-rule, #e8e3d6); scroll-margin-top: 90px; }
.ca-index__area.is-selected { border-top: 2px solid var(--lux-gold, #c9a96a); }
.ca-index__area h3 { margin: 0 0 6px; font-family: var(--lux-serif); font-size: 27px; font-weight: 500; line-height: 1.1; }
.ca-index__area h3 a { color: inherit; text-decoration: none; }
.ca-index__area h3 a:hover { text-decoration: underline; text-decoration-color: var(--lux-gold, #c9a96a); }
.ca-index__season { margin: 0; color: var(--lux-ink, #0b1220); font-size: 14px; font-weight: 600; }
.ca-index__places { margin: 3px 0 10px; color: #8a6a2c; font-size: 13px; }
.ca-index__area > p:not([class]) { margin: 0; color: #3a3c40; font-size: 14.5px; line-height: 1.5; }
.ca-index__facts { display: grid; gap: 12px; margin: 14px 0 0; }
.ca-index__facts dt { color: var(--lux-text-mute, #6e6e73); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.ca-index__facts dd { margin: 3px 0 0; font-size: 14px; line-height: 1.5; }
.ca-index__facts ul { margin: 0; padding: 0; list-style: none; line-height: 1.75; }
.ca-index__facts small { color: var(--lux-text-mute, #6e6e73); }
.ca-index__facts a, .ca-index__note a { color: inherit; text-decoration: underline; text-decoration-color: rgba(201, 169, 106, 0.7); text-underline-offset: 3px; }
.ca-index__note { max-width: 860px; margin: 44px 0 0; color: #6e6e73; font-size: 13.5px; line-height: 1.6; }
.ca-index__switch { margin: 18px 0 0; }
.ca-index__switch a { color: inherit; font-weight: 600; }

/* ---------- narrower screens ---------- */
@media (max-width: 1500px) {
  .ca.has-suppliers .ca-season__note, .ca.has-suppliers .ca-season__legend { display: none; }
}
@media (max-width: 1300px) {
  .ca.has-suppliers .ca-keyplan { display: none; }
  .ca-tblock { width: 230px; }
}
@media (max-width: 1100px) {
  .ca-tblock { display: none; }
  .ca-season__legend { display: none; }
}
/* Tablets: with a ground open, the list steps aside so the chart keeps some room. */
@media (min-width: 761px) and (max-width: 1100px) {
  .ca.has-suppliers { --find-w: 0px; }
  .ca.has-suppliers .yx-side { display: none; }
}

@media (max-width: 760px) {
  .ca .yx-title { font-size: 20px; }
  .ca-search { margin-top: 10px; }
  .ca .yx-supcol { height: 58%; transition: transform 0.45s var(--ca-ease), visibility 0s 0.45s, height 0.4s var(--ca-ease); }
  .ca .yx-supcol.is-tall { height: 88%; }
  .ca.has-suppliers .yx-supcol { transition-delay: 0s; }
  .ca-detail .ca-sheet-handle { width: calc(100% + 32px); margin: -12px -16px 6px; }
  .ca-detail .yx-sup__title { font-size: 28px; }
  .ca-facts { gap: 6px; }
  .ca-fact { padding: 8px; }
  .ca-fact strong { font-size: 24px; }
  .ca-cartouche, .ca-keyplan { display: none !important; }
  .ca-season {
    left: 10px;
    right: 10px;
    bottom: calc(52% + 8px);
    gap: 10px;
    max-width: none;
    padding: 5px 8px 5px 5px;
    border-radius: 40px;
  }
  .ca.has-suppliers .ca-season { bottom: calc(58% + 8px); }
  .ca:has(.yx-side.is-tall) .ca-season, .ca:has(.yx-supcol.is-tall) .ca-season { opacity: 0; pointer-events: none; }
  .ca-dial { width: 54px; height: 54px; }
  .ca-dial__seg text, .ca-dial__show, .ca-dial__month { display: none; }
  .ca-season__body { flex: 1; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 8px; row-gap: 2px; }
  .ca-season__kicker, .ca-season__legend { display: none; }
  .ca-season__month { grid-column: 1; font-size: 21px; }
  .ca-season__note { grid-column: 1; max-width: none; overflow: hidden; font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
  .ca-season__ctl { grid-column: 2; grid-row: 1 / span 2; margin: 0; gap: 4px; }
  .ca .ca-season__btn { width: 30px; height: 30px; }
  .ca-row__heat { margin-right: 40px; }
  .ca-index__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ca-area.is-season .ca-area__ring, .ca-show.is-lit .ca-show__pulse { animation: none; }
}

/* Marinas in the open ground, and their name tags, open the marina's page. */
.ca-marks > g.ca-marina.is-here { pointer-events: auto; cursor: pointer; }
.ca-tag.is-marina { pointer-events: auto; cursor: pointer; }
.ca-tag.is-marina:hover { color: #fff; border-color: var(--yx-bright); }
