/* Map · Satellite · 3D as three picture circles, top-right of the Play screen (Luke, 2026-10-13; js/view-orbs.js).
   Loads after play-full.css, so these rules win over the old pill switch. Linked like rings (Luke, 2026-10-14): they overlap by
   --vo-lap; the picked one comes to the front at full size, the others sit a little smaller behind it. */
.play.pf { --vo: 48px; --vo-lap: 13px; --vo-pad: 6px; --pf-views: calc(var(--vo) * 3 - var(--vo-lap) * 2 + var(--vo-pad) * 2); }
.play.pf:not(:has(.vo-3d)) { --pf-views: calc(var(--vo) * 2 - var(--vo-lap) + var(--vo-pad) * 2); }

/* the tray behind them (Luke, 2026-10-14): first black glass, then "take the white away… put something in the back to bring it out —
   a white or a cream". Cream from Home's Start-a-round card, with a fine dark grain, so the three pop off the dark map and the photo alike. */
.play.pf .map .views.vo { display: flex; gap: 0; width: auto; padding: var(--vo-pad); border: 0; border-radius: 999px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #F7F3EA, #E4DBC6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(120, 100, 60, .25), 0 10px 22px -8px rgba(0, 0, 0, .65), 0 2px 5px rgba(0, 0, 0, .3);
  -webkit-backdrop-filter: blur(10px) saturate(1.1); backdrop-filter: blur(10px) saturate(1.1); }
.play.pf .map .views.vo > .vo-b { position: relative; z-index: 2; flex: none; width: var(--vo); height: var(--vo); min-width: 0; min-height: 0; padding: 0;
  border: 0; border-radius: 50%; overflow: visible; background: #0E1F16; color: inherit; font-size: 0; line-height: 0;
  box-shadow: 0 0 0 2px #EEE7D6, 0 4px 8px -2px rgba(60, 45, 20, .45);
  transform: scale(.88); filter: saturate(.8) brightness(.9);
  transition: transform 220ms cubic-bezier(.23, 1, .32, 1), box-shadow 180ms cubic-bezier(.23, 1, .32, 1), filter 180ms ease;
  -webkit-tap-highlight-color: transparent; }
.play.pf .map .views.vo > .vo-b + .vo-b { margin-left: calc(var(--vo-lap) * -1); }
.play.pf .map .views.vo > .vo-3d { z-index: 1; }
.play.pf .map .views.vo > .vo-b[aria-pressed="true"] { z-index: 3; transform: none; filter: none; }
.play.pf .map .views.vo > .vo-b:active { transform: scale(.84); }
.play.pf .map .views.vo > .vo-b[aria-pressed="true"]:active { transform: scale(.96); }
.play.pf .map .views.vo > .vo-b:focus-visible { outline: 2px solid #C9A14A; outline-offset: 3px; z-index: 4; }

/* the word on each circle: a small dark tab in the middle of the circle (Luke, 2026-10-14), so it reads over any picture */
.play.pf .vo-l { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); padding: 2px 5px 2px; border-radius: 6px;
  background: rgba(7, 13, 9, .74); color: #F3EEE2; font: 800 9px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); pointer-events: none; }
.play.pf .vo-b[aria-pressed="true"] .vo-l { background: #fff; color: #0F2A1C; }
/* a circle tucked behind the picked one keeps its word clear of the overlap: nudged away from the front circle */
.play.pf .vo-b:has(~ .vo-b[aria-pressed="true"]) .vo-l { left: 36%; }
.play.pf .vo-b[aria-pressed="true"] ~ .vo-b .vo-l { left: 64%; }

/* the picture, clipped to the circle. Sun-lit edge (Luke, 2026-10-13): each circle is a glass lens with the sun overhead, so a bright
   rim and a soft sheen sit on its top edge and the bottom falls into shade, matching the drop shadow under it. Night: moonlight, fainter. */
.play.pf .vo-pic { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; isolation: isolate; }
.play.pf .vo-pic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(118% 62% at 50% -8%, rgba(255, 250, 235, var(--vo-sheen)) 0 34%, rgba(255, 250, 235, 0) 58%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, var(--vo-shade)));
  box-shadow: inset 0 1.5px 0 rgba(255, 248, 228, var(--vo-rim)), inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 -2px 3px rgba(0, 0, 0, .35); }
.play.pf { --vo-sheen: .34; --vo-rim: .85; --vo-shade: .32; }
:root[data-tone="night"] .play.pf { --vo-sheen: .1; --vo-rim: .32; --vo-shade: .42; }

/* no white rings (Luke, 2026-10-14): a cream gap the colour of the tray parts the circles where they overlap; the picked one lifts */
.play.pf .map .views.vo > .vo-b[aria-pressed="true"] { box-shadow: 0 0 0 2px #EEE7D6, 0 8px 14px -3px rgba(40, 30, 10, .6); }

/* Map: the drawn hole in its real-grass colours on the dark ground */
.play.pf .vo-map .vo-pic { background: radial-gradient(circle at 50% 40%, #173A26, #0B1C12 72%); display: grid; place-items: center; }
.play.pf .vo-map .mini-hole { width: 78%; height: 78%; }
.play.pf .vo-map .mini-hole path:nth-of-type(1) { fill: #3E8A47; fill-opacity: 1; }
.play.pf .vo-map .mini-hole path:nth-of-type(2) { fill: #E9DDB4; fill-opacity: 1; }
.play.pf .vo-map .mini-hole path:nth-of-type(3), .play.pf .vo-map .mini-hole circle { fill: #7BD37A; fill-opacity: 1; }

/* Satellite: tiles in a square bigger than the circle, turned so the green is up like the map */
.play.pf .vo-sat-b .vo-pic { background: #24331F; }
.play.pf .vo-sat { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; }
.play.pf .vo-sat img { position: absolute; max-width: none; display: block; }
/* "Terrain" is a longer word than Sat or 3D: a tighter tab, and when it sits in the middle its neighbours' words step further aside,
   so no two tabs touch (Luke's rule: nothing overlaps, no borders touching) */
.play.pf .vo-25d .vo-l { font-size: 8px; letter-spacing: .02em; padding: 2px 4px; }
.play.pf .vo-b:has(+ .vo-25d:not(:last-child)) .vo-l { left: 30%; }
.play.pf .vo-25d:not(:last-child) + .vo-b .vo-l { left: 70%; }
/* the 2.5D circle: the same photo leaning back, as the view itself does */
.play.pf .vo-lean { position: absolute; inset: 0; transform: perspective(70px) rotateX(46deg) scale(1.45); transform-origin: 50% 62%; }

/* 3D: the Scratch planet (cart driving round it), cropped to the ball and turning slowly */
.play.pf .vo-3d .vo-pic { background: #2C7FD6; }
.play.pf .vo-planet { position: absolute; inset: 0; display: block; animation: vo-spin 48s linear infinite; }
.play.pf .vo-planet video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover;
  transform: scale(1.16); transform-origin: 50% 51%; pointer-events: none; }
@keyframes vo-spin { to { transform: rotate(360deg); } }

@media (max-width: 380px) { .play.pf { --vo: 46px; --vo-lap: 12px; } }
@media (prefers-reduced-motion: reduce) { .play.pf .vo-planet { animation: none; } .play.pf .map .views.vo > .vo-b { transition: none; } }
