/* #614 (B): the natal wheel as a zoomable board (same controls and limits as the Tarot reading board). Day/Night via the page tokens. */
.bc-page .bc-board-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-block: 0 10px; }
.bc-page .bc-board-btn { min-inline-size: 44px; min-block-size: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); font: inherit; font-weight: 650; font-size: 1.05rem; cursor: pointer; }
.bc-page .bc-board-btn:hover:not(:disabled) { border-color: var(--gold); }
.bc-page .bc-board-btn:disabled { opacity: .45; cursor: default; }
.bc-page .bc-board-btn:focus-visible, .bc-page .bc-wheel-viewport:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.bc-page .bc-board-fit { font-size: .9rem; }
.bc-page .bc-board-status { color: var(--muted); font-size: .8rem; min-inline-size: 4.5em; }
.bc-page .bc-board-help { margin-block: 8px 12px; }
/* The viewport clips and owns pointer gestures (pan / pinch); vertical page scrolling stays available outside it, as on the Tarot board. */
.bc-page .bc-wheel-viewport { position: relative; inline-size: 100%; max-inline-size: 680px; margin-inline: auto; aspect-ratio: 1; max-block-size: 82vh; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab;
  /* The frame of the Reading Deck table (18px corners, a 1px gold edge, an inner rim and a soft shadow) so it is plain that the area inside zooms and drags;
     the surface is the site's own palette, not the deck's green: Day = warm parchment with a soft light, Night = a deep blue-violet gradient with a gentle glow
     and a few stars (the Daily Horoscope / Crystal Ball night). */
  --bc-edge: #b6a076;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 50% 46%, rgba(255, 250, 236, .95), rgba(255, 250, 236, 0) 62%),
    linear-gradient(180deg, #f3e9d2 0%, #e9ddc2 100%);
  border: 1px solid color-mix(in srgb, var(--bc-edge) 65%, var(--line));
  box-shadow: inset 0 0 0 5px color-mix(in srgb, var(--bc-edge) 17%, transparent), inset 0 14px 45px rgba(30, 28, 24, .10), 0 3px 12px rgba(15, 17, 19, .045); }
html[data-theme="dark"] .bc-page .bc-wheel-viewport {
  --bc-edge: #d8b37a;
  background:
    radial-gradient(circle at 12% 14%, #f5dcc1 0 1px, transparent 1.4px),
    radial-gradient(circle at 86% 20%, #d1a86f 0 1px, transparent 1.4px),
    radial-gradient(circle at 70% 88%, #f5dcc1 0 .8px, transparent 1.2px),
    radial-gradient(circle at 9% 80%, #d1a86f 0 .8px, transparent 1.2px),
    radial-gradient(ellipse at 50% 46%, rgba(140, 112, 214, .36), rgba(140, 112, 214, .10) 46%, transparent 70%),
    linear-gradient(165deg, #1d1a45 0%, #14122e 55%, #0f0e24 100%);
  box-shadow: inset 0 0 0 5px color-mix(in srgb, var(--bc-edge) 22%, transparent), inset 0 14px 45px rgba(8, 6, 28, .45), 0 3px 14px rgba(5, 4, 20, .35); }
.bc-page .bc-wheel-viewport.is-panning { cursor: grabbing; }
/* RC3.1 (owner, /ar/birth-chart): the board's pan/zoom maths is physical (transform-origin 0 0, translate from the LEFT of the frame), so the stage is anchored with `left`, not `inset-inline-start`:
   in RTL the logical start is the RIGHT edge and the wheel was pushed out of the frame. */
.bc-page .bc-wheel-stage { position: absolute; inset-block-start: 0; left: 0; inline-size: 600px; block-size: 600px; transform-origin: 0 0; will-change: transform; }
.bc-page .bc-wheel-stage .bc-chart-mount { inline-size: 100%; max-inline-size: none; block-size: 100%; margin: 0; }
.bc-page .bc-wheel-stage .natal-wheel { filter: none; }
@media (prefers-reduced-motion: reduce) { .bc-page .bc-wheel-stage { transition: none; will-change: auto; } }
