.paafu-wrap { width: min(780px, calc(100vw - 48px)); aspect-ratio: 900 / 1060; margin: auto; }
.paafu-options { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px 14px; }
.paafu-options .menu-description { flex: 1 1 260px; }

/* Rocks */
.paafu-point { cursor: pointer; outline: none; }
.paafu-point .hit { fill: transparent; }
.paafu-point .rock {
  fill: url(#rockStone);
  stroke: #2b2620;
  stroke-width: 1.3;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.55));
  transition: stroke 0.15s ease;
}
.paafu-point .shine { fill: rgba(255, 255, 255, 0.22); pointer-events: none; }
.tint .rock.rising  { fill: url(#rockRise); }
.tint .rock.setting { fill: url(#rockSet); }

.paafu-point .ring { fill: none; stroke-width: 2.2; opacity: 0; pointer-events: none; transition: opacity 0.15s ease; }
.paafu-point.selected .ring { opacity: 1; stroke: var(--gold); }
.paafu-point.partner .ring  { opacity: 1; stroke: var(--pink); stroke-dasharray: 4 3; }
.paafu-point:hover .rock { stroke: var(--gold); stroke-width: 2; }
.paafu-point:focus-visible .ring { opacity: 1; stroke: #fff; }

/* Labels */
.paafu-label {
  fill: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  dominant-baseline: central;
  paint-order: stroke;
  stroke: rgba(6, 16, 29, 0.92);
  stroke-width: 3px;
  stroke-linejoin: round;
}
.paafu-point.selected .paafu-label { fill: var(--gold); }
.paafu-point.partner .paafu-label  { fill: var(--pink); }
.names-off .paafu-label { display: none; }

.paafu-outer-main { fill: var(--gold); font-family: 'Cinzel', serif; font-size: 30px; font-weight: 800; text-anchor: middle; letter-spacing: 0.06em; }
.paafu-outer-sub  { fill: var(--muted); font-family: 'Cinzel', serif; font-size: 18px; text-anchor: middle; letter-spacing: 0.14em; text-transform: uppercase; }

/* Canoe (matches the Polynesian app's waʻa colors) */
.canoe-hull, .canoe-float { fill: #9a671d; stroke: #f0bd55; stroke-width: 2; vector-effect: non-scaling-stroke; }
.canoe-booms line { stroke: #d49a36; stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }

/* Chord to the partner rock */
#chordLayer line { stroke: rgba(214, 140, 255, 0.55); stroke-width: 1.5; stroke-dasharray: 5 5; }

/* Legend dots */
.dot.rise { background: #e3c176; }
.dot.set  { background: #8fbfe0; }
.dot.mid  { background: #a89f8c; }
.dot.partner { background: var(--pink); }

/* Inspector extras */
.partner-box { margin-top: 8px; }
.partner-btn {
  margin-top: 4px; border: 1px solid rgba(214, 140, 255, 0.4); border-radius: 999px;
  background: rgba(214, 140, 255, 0.1); color: var(--pink); font-weight: 700;
  padding: 6px 14px; cursor: pointer; font-size: 0.88rem;
}
.partner-btn:disabled { cursor: default; opacity: 0.6; border-style: dashed; }