/* SHOP as a place (place.js + place-world.mjs, the spots in shop/index.html WS_PLACE): a moonlit temple-store of
   black stone over still water. The shop's blocks stand in the photos: no card boxes, no grey panels; the words read
   off the stone with the room's own shadow around each letter. Only html.wp-place / html.wp-flow change anything; the
   plain page (wp-still, MOTION OFF) is the shop exactly as it was. */

/* the place's canvas exists only for the place: on the plain page it takes no room */
html:not(.wp-place) canvas.world3d[data-place]{display:none}

/* every part of the shop stays in its own spot: the category choice walks there (shop/place.js), it never hides a spot */
html:is(.wp-place, .wp-flow) .wp-spot [data-shop-panel][hidden]{display:block!important}
html:is(.wp-place, .wp-flow) .wp-spot section[data-shop-panel]{margin:0;padding:0;min-height:0;background:none;border:0;box-shadow:none}

/* the shop's own sky, dust, contour and chapter pill stand down behind the photo world (one WebGL context; as on
   /dreamers/ and /triptuner/) */
.wp-place .cosmic-atmosphere,.wp-flow .cosmic-atmosphere,.wp-place .world-scene-field,.wp-flow .world-scene-field,
.wp-place .section-dust,.wp-flow .section-dust,.wp-place .river-contour,.wp-flow .river-contour,
.wp-place .chapter-nav,.wp-flow .chapter-nav,.wp-place .mobile-dock,.wp-flow .mobile-dock{display:none!important}
html.wp-place body::after,html.wp-place body::before,html.wp-flow body::after,html.wp-flow body::before{display:none}
html.wp-place,html.wp-place body,html.wp-flow,html.wp-flow body{background:#05060a}

/* ---------- type set in the place: a little larger than the page's, silver on stone ---------- */
html.wp-place .wp-pin{color:#eef1f6;font-size:17px}
html.wp-place .wp-pin p{font-size:16.5px;line-height:1.5}
html.wp-place .wp-pin :is(h2, h3){text-wrap:balance}

/* no boxes: a card's own frame and fill give way to the stone behind it */
html.wp-place .wp-pin :is(.shop-product, .free-tool-card, .ticket-pace-card, .researcher-card, .freq-quick, .shop-future-grid > *, .shop-exclusive-list > *){
  background:none!important;border-color:rgba(214,226,255,.16)!important;box-shadow:none!important;backdrop-filter:none!important}

/* ---------- the hall: the shop's name over the dark doorway, the choices on the walkway, the ways on the plinths ---------- */
html.wp-place .shop-mast-pin{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;overflow:visible}
html.wp-place .shop-mast-pin .shop-masthead{margin:0;text-align:center}
html.wp-place .shop-mast-pin .shop-masthead-actions{justify-content:center;margin-top:18px}
html.wp-place .shop-walk-pin{display:flex;align-items:center;justify-content:center;overflow:visible}
html.wp-place .shop-walk-pin .shop-categories{margin:0;width:100%}

/* the plinths: a way on, set where it stands. At rest it reads as something to press (a lit edge, an arrow); on hover
   the light comes up under it */
html.wp-place .wp-hub{display:flex;flex-direction:column;gap:14px;justify-content:flex-end;overflow:visible}
html.wp-place .wp-go{all:unset;box-sizing:border-box;cursor:pointer;display:block;padding:14px 18px 14px 16px;border-left:2px solid rgba(214,226,255,.55);
  background:linear-gradient(90deg,rgba(150,170,230,.16),rgba(150,170,230,0) 85%);transition:background .25s,border-color .25s,transform .25s}
html.wp-place .wp-go .wp-k{display:block;font:600 12px/1.2 Rajdhani,system-ui,sans-serif;letter-spacing:.24em;color:rgba(214,226,255,.75);text-transform:uppercase}
html.wp-place .wp-go .wp-t{display:block;margin-top:6px;font:700 clamp(20px,1.55vw,28px)/1.05 Orbitron,Rajdhani,system-ui,sans-serif;letter-spacing:.06em;color:#fff;text-transform:uppercase}
html.wp-place .wp-go .wp-t::after{content:" →";font-family:Rajdhani,system-ui,sans-serif;opacity:.8}
html.wp-place .wp-go:hover, html.wp-place .wp-go:focus-visible{border-left-color:#fff;background:linear-gradient(90deg,rgba(170,190,255,.34),rgba(170,190,255,0) 90%);transform:translateX(4px)}
html.wp-place .wp-go:focus-visible{outline:1px solid #fff;outline-offset:3px}
html.wp-place .wp-hub.right{align-items:flex-end}
html.wp-place .wp-hub.right .wp-go{text-align:right;border-left:0;border-right:2px solid rgba(214,226,255,.55);padding:14px 16px 14px 18px;
  background:linear-gradient(270deg,rgba(150,170,230,.16),rgba(150,170,230,0) 85%)}
html.wp-place .wp-hub.right .wp-go:hover, html.wp-place .wp-hub.right .wp-go:focus-visible{border-right-color:#fff;background:linear-gradient(270deg,rgba(170,190,255,.34),rgba(170,190,255,0) 90%);transform:translateX(-4px)}

/* a spot you are not at shows nothing, even where one of its blocks sets visibility:visible on itself (the shop's
   reveal effects do): the engine hides its pins by visibility, this hides the spot itself */
html.wp-place .wp-spot:not(.seen){opacity:0}

/* the site header over the place: no black bar, a soft dark fade so its links read */
html.wp-place .site-header{background:linear-gradient(rgba(3,4,8,.78),rgba(3,4,8,0))!important;border-bottom:0!important}

/* the ways on stay inside their plinth's space: the label wraps, never runs off the screen */
html.wp-place .wp-hub .wp-go{max-width:100%;white-space:normal}
html.wp-place .wp-hub .wp-go .wp-t{font-size:clamp(17px,1.25vw,23px);line-height:1.15}

/* the category choices on the walkway: words cut into the stone, no boxes; lit edge under the one you are on */
html.wp-place .shop-walk-pin .shop-categories{display:flex;justify-content:center;gap:clamp(10px,1.4vw,26px);border:0;background:none;padding:0}
html.wp-place .shop-walk-pin .shop-categories button{background:linear-gradient(rgba(150,170,230,0),rgba(150,170,230,.14))!important;border:0!important;border-bottom:2px solid rgba(214,226,255,.45)!important;
  box-shadow:none!important;border-radius:0!important;padding:12px 14px!important;min-width:0;flex:1 1 0;cursor:pointer;transition:background .25s,border-color .25s,transform .25s}
html.wp-place .shop-walk-pin .shop-categories button:hover, html.wp-place .shop-walk-pin .shop-categories button:focus-visible{background:linear-gradient(rgba(170,190,255,0),rgba(170,190,255,.32))!important;border-bottom-color:#fff!important;transform:translateY(-3px)}
html.wp-place .shop-walk-pin .shop-categories button[aria-pressed="true"]{border-bottom-color:#fff!important}

/* ---------- type that fits the spot: every block measures its own pin (a narrow alcove reads as well as a wide wall) ---------- */
html.wp-place .wp-pin{container-type:inline-size}
html.wp-place .wp-pin :is(h2, .section-head h2, .freq-mark){font-size:clamp(24px,8.5cqi,58px)!important;line-height:1!important;letter-spacing:.01em;overflow-wrap:normal;word-break:normal;hyphens:none}
html.wp-place .wp-pin h3{font-size:clamp(17px,5.2cqi,26px)!important;line-height:1.1!important}
html.wp-place .wp-pin :is(.eyebrow, .section-head > span, .kick){font-size:12px!important;letter-spacing:.22em}
/* a narrow spot: two-column cards become one column (the film above, the words under it) */
@container (max-width: 560px){
  .wp-pin :is(article, .shop-product, .free-tool-card, .shop-future-grid, .free-tool-grid, .freq-quick, .shop-exclusive-list){display:block!important;grid-template-columns:none!important}
  .wp-pin :is(article, .free-tool-card) > *{width:auto!important;max-width:100%!important;margin-bottom:14px}
  .wp-pin p{font-size:15.5px!important}
}

/* ---------- the gates: the arches are the doors; the words and the way in stand in them (no box, no preview) ---------- */
html.wp-place .wp-pin .freq-door{background:none!important;border:0!important;box-shadow:none!important;min-height:0!important;height:auto!important;aspect-ratio:auto!important;overflow:visible!important;padding:0!important}
html.wp-place .wp-pin .freq-door .freq-world, html.wp-place .wp-pin .freq-door .freq-ticker{display:none!important}
html.wp-place .wp-pin .freq-door-copy{position:static!important;transform:none!important;padding:0 0 22px!important;text-align:center}
html.wp-place .wp-pin .freq-door .freq-mark{display:flex;flex-direction:column;align-items:center;gap:6px}
html.wp-place .wp-pin .freq-door .freq-logo{width:min(100%,360px)!important;height:auto!important}
html.wp-place .wp-pin .freq-door .freq-word{font-size:clamp(20px,6.5cqi,40px)!important;letter-spacing:.32em}
html.wp-place .wp-pin .freq-enter{font-size:15px!important;padding:14px 22px!important}
html.wp-place .wp-pin .freq-quick{border-top:1px solid rgba(214,226,255,.22)!important;padding-top:14px!important}

/* ---------- the court: the games keep their own play area, framed by nothing but the stone ---------- */
html.wp-place .wp-pin :is(.maze-game, .duel-game, .gift-game){background:rgba(4,6,10,.42)!important;border-color:rgba(214,226,255,.14)!important;box-shadow:none!important}
html.wp-place .wp-pin .freq-door::after, html.wp-place .wp-pin .freq-door::before{display:none!important}
html.wp-place .wp-pin .freq-door :is(.ws-door-still, .ws-door-scan){display:none!important}
html.wp-place .wp-pin .freq-door-copy{min-height:0!important;height:auto!important;padding:4px 0 24px!important}
html.wp-place .wp-pin .freq-door .freq-mark, html.wp-place .wp-pin .freq-door p:has(.freq-word){font-size:clamp(22px,7cqi,44px)!important}
/* forms sit on the stone: their fields keep a quiet edge, the form itself has no slab */
html.wp-place .wp-pin :is(form, .shop-request-form){background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
html.wp-place .wp-pin :is(input, select, textarea){background:rgba(4,6,10,.5)!important;border:1px solid rgba(214,226,255,.28)!important;color:#eef1f6!important;font-size:15px!important}
html.wp-place .wp-pin :is(.freq-quick, .shop-exclusive-list, .shop-future-grid) :is(article, li, .quick-row, > div){background:none!important;box-shadow:none!important}

/* ================= one idea per view: the plate's own objects carry the content ================= */

/* ---------- the gates: the quick-buy lists read as lines of words, no table rules ---------- */
html.wp-place .gate-pin .freq-quick{border:0!important;background:none!important;padding:0!important}
html.wp-place .gate-pin .freq-quick li{grid-template-columns:minmax(0,1fr) auto auto!important;grid-template-areas:"n p b" "k k k";gap:2px 14px!important;border:0!important;padding:10px 0!important;align-items:center}
html.wp-place .gate-pin .freq-quick li > :nth-child(1){grid-area:n;font:700 16px/1.15 Orbitron,Rajdhani,sans-serif!important;letter-spacing:.05em}
html.wp-place .gate-pin .freq-quick li > :nth-child(2){grid-area:k;font-size:13px!important;letter-spacing:.08em;opacity:.72;white-space:normal}
html.wp-place .gate-pin .freq-quick li > :nth-child(3){grid-area:p;font-size:15px!important;white-space:nowrap}
html.wp-place .gate-pin .freq-quick li > :nth-child(4){grid-area:b}
html.wp-place .gate-pin .freq-quick :is(button, a.button){font-size:13px!important;padding:10px 16px!important;white-space:nowrap}

/* ---------- the sound room: TANTRA's name on the far wall, one track on each plinth, the ways in on the water ---------- */
html.wp-place .tantra-head{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;overflow:visible}
html.wp-place .tantra-head .section-head{display:flex!important;flex-direction:column;align-items:center;gap:6px;margin:0;text-align:center}
html.wp-place .tantra-head .section-head h2{font-size:clamp(34px,10cqi,72px)!important;letter-spacing:.12em}
html.wp-place .tantra-head .section-head p{margin:0;font-size:16px}
html.wp-place .wp-pin .exclusive-track.record-fallback{display:flex!important}
html.wp-place .tantra-tracks{overflow:visible}
html.wp-place .tantra-tracks .shop-exclusive-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 2%;align-items:end;height:100%;margin:0}
html.wp-place .tantra-tracks .exclusive-track{position:relative;align-self:end}
html.wp-place .tantra-tracks .exclusive-track{flex-direction:column;align-items:center;gap:8px;width:100%;text-align:center;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important}
html.wp-place .tantra-tracks .sound-info h3{font-size:clamp(15px,8.5cqi,21px)!important;margin:0}
html.wp-place .tantra-tracks .sound-info p{font-size:12px!important;letter-spacing:.16em;opacity:.75;margin:4px 0 0}
html.wp-place .tantra-tracks .exclusive-stream-wrap{width:100%}
html.wp-place .tantra-tracks audio{width:100%;height:38px}
html.wp-place .tantra-tracks .exclusive-purchase{display:flex;align-items:center;justify-content:center;gap:14px}
html.wp-place .tantra-tracks .exclusive-purchase strong{font:700 20px/1 Orbitron,Rajdhani,sans-serif}
html.wp-place .tantra-tracks .exclusive-purchase .button{font-size:14px!important;padding:11px 18px!important}
html.wp-place .tantra-tracks .exclusive-track::after{content:"";position:absolute;left:50%;bottom:-6px;width:42%;height:2px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,rgba(214,226,255,.55),transparent)}
html.wp-place .wp-pin .record-room{display:none!important}
html.wp-place .tantra-water{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 22px;text-align:center;overflow:visible}
html.wp-place .tantra-water > p{margin:0;flex:1 1 100%}
html.wp-place .tantra-water > p:has([data-cloud-room-entry]){flex:0 0 auto}
html.wp-place .tantra-water .shop-exclusive-note, html.wp-place .tantra-water .shop-status{font-size:14.5px!important;opacity:.85}
html.wp-place .tantra-water .shop-booth-open{order:-1}
html.wp-place .tantra-water > p:has([data-cloud-room-entry]){order:-1}
html.wp-place .tantra-water .wp-go{border-left:2px solid rgba(214,226,255,.55)}

/* the booth, full view on demand: the booth's own room in a dialog over the place */
.shop-booth-dialog{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:clamp(56px,7vh,72px) clamp(12px,3vw,40px) 24px;border:0;
  background:rgba(3,4,8,.96);color:#eef1f6;overflow:auto;box-sizing:border-box}
.shop-booth-dialog::backdrop{background:rgba(0,0,0,.7)}
/* prepared ahead (place.js): laid out exactly as when open, but off-screen and inert, so opening is one step */
.shop-booth-dialog.is-prepared:not([open]){display:block;transform:translate3d(-300vw,0,0);pointer-events:none}
.shop-booth-dialog .record-room{display:block!important;max-width:1280px;margin:0 auto}
.shop-booth-close{position:fixed;top:16px;right:20px;z-index:2;font:700 14px/1 Orbitron,Rajdhani,sans-serif;letter-spacing:.14em;color:#fff;background:rgba(10,12,18,.8);
  border:1px solid rgba(214,226,255,.45);border-radius:999px;padding:12px 18px;cursor:pointer}
.shop-booth-close:hover,.shop-booth-close:focus-visible{background:rgba(170,190,255,.25);border-color:#fff}

/* ---------- the cistern: BETWEEN WORLDS, its film large on the wet wall, its words and price across the water ---------- */
html.wp-place .bw-film{overflow:visible}
html.wp-place .bw-film .shop-media{display:flex!important;flex-direction:row;align-items:flex-end;gap:16px;height:100%;margin:0;background:none!important;border:0!important}
html.wp-place .bw-film .shop-reel{order:-1;flex:0 0 auto;height:100%;max-height:72vh;aspect-ratio:9/16;width:auto!important;margin:0!important;background:none!important;border:1px solid rgba(214,226,255,.22)!important;box-shadow:0 30px 60px rgba(0,0,0,.55)!important;border-radius:3px!important;overflow:hidden}
html.wp-place .bw-film .shop-reel video{width:100%;height:100%;object-fit:cover;background:#05060a}
html.wp-place .bw-film .shop-cover{flex:0 1 32%;min-width:0;align-self:flex-end;background:none!important;border:1px solid rgba(214,226,255,.3)!important;border-radius:3px!important;padding:0!important}
html.wp-place .bw-film .shop-cover img{width:100%;height:auto;display:block}
html.wp-place .bw-film .shop-cover > span{font-size:11px!important}
html.wp-place .bw-copy{display:flex;flex-direction:column;justify-content:center}
html.wp-place .bw-copy .shop-product-copy h2{font-size:clamp(28px,11cqi,60px)!important}
html.wp-place .bw-copy .shop-price strong{font:700 clamp(30px,9cqi,46px)/1 Orbitron,Rajdhani,sans-serif}
html.wp-place .bw-copy audio{width:100%}

/* ---------- the alcoves: one app per alcove. Its name stands on its altar; the one chosen stands in the fog ---------- */
html.wp-place .alcove-pin{display:flex;align-items:flex-end;justify-content:center;overflow:visible}
html.wp-place .alcove-label{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:6px;width:100%;padding:12px 8px 14px;text-align:center;
  border-bottom:2px solid rgba(214,226,255,.5);background:linear-gradient(rgba(150,170,230,0),rgba(150,170,230,.16));transition:background .25s,border-color .25s,transform .25s}
html.wp-place .alcove-label b{font:700 clamp(15px,13cqi,24px)/1.05 Orbitron,Rajdhani,sans-serif;letter-spacing:.06em;color:#fff}
html.wp-place .alcove-label span{font:600 clamp(12px,9cqi,16px)/1 Rajdhani,sans-serif;letter-spacing:.18em;color:rgba(214,226,255,.85)}
html.wp-place .alcove-label:hover, html.wp-place .alcove-label:focus-visible{background:linear-gradient(rgba(170,190,255,0),rgba(170,190,255,.36));border-bottom-color:#fff;transform:translateY(-3px)}
html.wp-place .alcove-label[aria-pressed="true"]{border-bottom-color:#fff;background:linear-gradient(rgba(170,190,255,0),rgba(170,190,255,.3))}
html.wp-place .alcove-label[aria-pressed="true"] b::after{content:" ●";font-size:.5em;vertical-align:middle;opacity:.9}
html.wp-place .alcove-stage > section{display:none!important}
html[data-shop-alcove="heal"].wp-place .alcove-stage > #heal,
html[data-shop-alcove="ticket-pace"].wp-place .alcove-stage > #ticket-pace,
html[data-shop-alcove="researcher"].wp-place .alcove-stage > #researcher,
html[data-shop-alcove="programming-desk"].wp-place .alcove-stage > #programming-desk{display:block!important}
html.wp-place .alcove-stage article{display:grid!important;grid-template-columns:minmax(0,.55fr) minmax(0,2fr);gap:0 30px;align-items:start;background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
html.wp-place .alcove-stage article > div:not(.shop-media){columns:2;column-gap:30px}
html.wp-place .alcove-stage article > div > *{break-inside:avoid}
html.wp-place .alcove-stage .shop-media{display:flex!important;flex-direction:column;gap:10px;margin:0;max-height:none}
html.wp-place .alcove-stage .shop-media > *{margin:0!important;max-height:none}
html.wp-place .alcove-stage .shop-media img{width:100%;height:auto;max-height:16vh;object-fit:cover;border-radius:3px}
html.wp-place .alcove-stage .shop-reel{max-height:12vh}
html.wp-place .alcove-stage .shop-reel video{width:100%;max-height:12vh;object-fit:cover}
html.wp-place .wp-pin.alcove-stage h2{font-size:clamp(22px,2.6cqi,32px)!important;margin:2px 0 8px!important}
html.wp-place .alcove-stage h2 br{display:none}
html.wp-place .wp-pin.alcove-stage p{font-size:15px!important;line-height:1.45!important;margin:0 0 8px!important}
html.wp-place .alcove-stage .shop-status{font-size:13px!important;opacity:.8}
html.wp-place .alcove-stage .shop-specs{margin:0 0 8px}
html.wp-place .alcove-stage .shop-price{margin:0 0 8px}
html.wp-place .alcove-stage .shop-price strong{font:700 clamp(22px,2.6cqi,32px)/1 Orbitron,Rajdhani,sans-serif}
html.wp-place .alcove-stage .button{display:inline-flex;margin:0 10px 8px 0!important;font-size:13.5px!important;padding:11px 18px!important}
html.wp-place .alcove-stage .shop-tool-art{background:none!important;border:0!important}
html.wp-place .alcove-stage{padding:2% 3%!important}

/* ---------- the court: the games named on the round table; the one chosen stands over it, no panel ---------- */
html.wp-place .court-table{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;text-align:center;overflow:visible}
html.wp-place .court-choose{display:flex;justify-content:center;gap:clamp(8px,1.2vw,20px);width:100%}
html.wp-place .court-choose button{all:unset;box-sizing:border-box;cursor:pointer;flex:1 1 0;padding:12px 10px;font:700 clamp(13px,1vw,17px)/1.1 Orbitron,Rajdhani,sans-serif;letter-spacing:.08em;color:#fff;text-align:center;
  border-bottom:2px solid rgba(214,226,255,.5);background:linear-gradient(rgba(150,170,230,0),rgba(150,170,230,.16));transition:background .25s,border-color .25s,transform .25s}
html.wp-place .court-choose button:hover, html.wp-place .court-choose button:focus-visible{background:linear-gradient(rgba(170,190,255,0),rgba(170,190,255,.36));border-bottom-color:#fff;transform:translateY(-3px)}
html.wp-place .court-choose button[aria-pressed="true"]{border-bottom-color:#fff;background:linear-gradient(rgba(170,190,255,0),rgba(170,190,255,.3))}
html.wp-place .court-table .shop-gift-intro{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px;margin:0}
html.wp-place .court-table .shop-gift-intro p{margin:0;font-size:15px!important}
html.wp-place .court-table .shop-gift-intro .maze-jump{display:none!important}
html.wp-place .court-game > :is(#maze-game, #duel-game, #gift-game){display:none!important}
html[data-shop-game="maze-game"].wp-place .court-game > #maze-game,
html[data-shop-game="duel-game"].wp-place .court-game > #duel-game,
html[data-shop-game="gift-game"].wp-place .court-game > #gift-game{display:block!important}
html.wp-place .wp-pin :is(.maze-game, .duel-game, .gift-game){background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important}
html.wp-place .court-game :is(.duel-stage, .gift-game-instrument){border-radius:4px;overflow:hidden}
html.wp-place .court-game .maze-top{display:block!important}
html.wp-place .court-game .maze-tag{display:inline-block;margin-top:8px}
html.wp-place .court-free .free-tool-card{border:0!important;border-left:2px solid rgba(214,226,255,.3)!important;padding:4px 0 4px 14px!important;margin:0 0 22px!important}
html.wp-place .court-free :is(.tool-wave, .tool-cubes){display:none!important}

/* ---------- the lectern: the call on the lectern, the form on the dark wall, what's next by the door ---------- */
html.wp-place .lectern-head{display:flex;align-items:center;justify-content:center;text-align:center;overflow:visible}
html.wp-place .lectern-head .section-head{display:block!important;margin:0}
html.wp-place .lectern-form .field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
html.wp-place .lectern-form label{display:block;font:600 13px/1.3 Rajdhani,sans-serif;letter-spacing:.14em;margin:0 0 12px}
html.wp-place .lectern-form :is(input, select, textarea){width:100%;margin-top:6px;box-sizing:border-box}
html.wp-place .lectern-form textarea{height:84px!important;min-height:0!important}
html.wp-place .lectern-form label{margin-bottom:10px!important}
html.wp-place .lectern-next .shop-future-card{background:none!important;border:0!important;border-left:2px solid rgba(214,226,255,.35)!important;box-shadow:none!important;padding:4px 0 4px 16px!important;margin:0 0 22px!important;min-height:0!important}
html.wp-place .lectern-next footer{margin-top:18px;font-size:13px}

/* ---------- the safe frame (Clover: text left, centre or right, never in random places) ---------- */
html.wp-place .wp-pin[data-anchor="r"] :is(.freq-door-copy, .freq-mark, .shop-product-copy, .section-head){text-align:right!important;align-items:flex-end!important}
html.wp-place .wp-pin[data-anchor="r"] .freq-door .freq-mark{align-items:flex-end}
html.wp-place .wp-pin[data-anchor="l"] :is(.freq-door-copy, .freq-mark){text-align:left!important;align-items:flex-start!important}
html.wp-place .wp-pin[data-anchor="l"] .freq-door .freq-mark{align-items:flex-start}
html.wp-place .wp-pin[data-anchor="r"] :is(.shop-specs, .shop-actions, .shop-price, .freq-quick h3){justify-content:flex-end!important}
html.wp-place .wp-pin[data-anchor="r"] .freq-quick li{grid-template-areas:"n p b" "k k k"}
html.wp-place .wp-pin[data-anchor="r"] .freq-quick li > :nth-child(2){text-align:right}
html.wp-place .lectern-next .shop-future-card{border-left:0!important;border-right:2px solid rgba(214,226,255,.35)!important;padding:4px 16px 4px 0!important}
html.wp-place .lectern-form .section-head{display:block!important;margin:0 0 18px;text-align:center}
html.wp-place .lectern-form form{text-align:left}
html.wp-place .court-game{text-align:center}
html.wp-place .court-game :is(.maze-top, .duel-heading, .gift-game-top){justify-content:center!important;text-align:center}
html.wp-place .court-game .maze-game > p, html.wp-place .court-game .maze-status{margin-left:auto!important;margin-right:auto!important}
html.wp-place .bw-copy .shop-preview-label{display:block}

/* ---------- bigger text everywhere in the place: body at least 15px, small labels at least 12px ---------- */
html.wp-place .wp-pin :is(p, li, dd, .shop-status, .shop-description, .free-tool-note){font-size:max(15px, 1em)}
html.wp-place .wp-pin :is(small, .eyebrow, .shop-specs span, .freq-row-kind, label, dt, figcaption, .shop-price span){font-size:max(12px, 1em)!important}

/* ---------- the mouse: every product, poster and option answers the pointer ---------- */
html.wp-place .wp-pin :is(.button, button:not(.wp-go):not(.alcove-label), a.text-link){transition:transform .22s cubic-bezier(.2,.7,.2,1),box-shadow .22s,filter .22s}
html.wp-place .wp-pin :is(.button, button:not(.wp-go):not(.alcove-label)):hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(0,0,0,.45),0 0 18px rgba(170,190,255,.22);filter:brightness(1.12)}
html.wp-place .wp-pin :is(.shop-cover, .shop-reel, .shop-tool-art, .exclusive-track){transition:transform .3s cubic-bezier(.2,.7,.2,1),filter .3s}
html.wp-place .wp-pin :is(.shop-cover, .shop-reel, .shop-tool-art):hover{transform:translateY(-4px) scale(1.015);filter:brightness(1.1)}
html.wp-place .tantra-tracks .exclusive-track:hover{transform:translateY(-4px)}
html.wp-place .tantra-tracks .exclusive-track:hover::after{background:linear-gradient(90deg,transparent,#fff,transparent)}
html.wp-place .wp-pin :is(h2, h3){transition:text-shadow .4s}
html.wp-place .wp-pin:hover :is(h2){text-shadow:0 0 28px rgba(190,205,255,.35),0 1px 2px rgba(0,0,0,.7)}
html.wp-place .wp-pin :is(form, audio, .record-room, canvas){transition:none}
@media (prefers-reduced-motion: reduce){html.wp-place .wp-pin *{transition:none!important;transform:none!important}}
html.wp-place .shop-walk-pin .shop-categories button :is(span, small, i){font-size:max(12px, .8em)!important}
html.wp-place .shop-walk-pin .shop-categories button > :first-child{font-size:12px!important}
html.wp-place .tantra-water :is(.shop-exclusive-note, .shop-status){font-size:15.5px!important}
html.wp-place .wp-pin :is(.shop-cover > span, .shop-reel figcaption span, [data-sound-label], .free-tool-bundle-label, .maze-kicker, .maze-tag, .shop-future-status, .duel-eyebrow, .gift-kicker, .duel-chip){font-size:12.5px!important}
html.wp-place .wp-pin .play-free-games .button, html.wp-place .wp-pin .play-free .button{font-size:13px!important}

/* the court: PLAY TO FREE's call on the left wall, the free tools down the right wall, the game on the table between */
html.wp-place .court-free-head .section-head{display:block!important}
html.wp-place .court-free-head .section-head h2{font-size:clamp(28px,11cqi,54px)!important}
html.wp-place .court-free-head .section-head p{margin-top:14px}
html.wp-place .court-free-tools .free-tool-grid{display:block!important}
html.wp-place .court-free-tools .free-tool-card{border-left:0!important;border-right:2px solid rgba(214,226,255,.3)!important;padding:4px 14px 4px 0!important;text-align:right}
html.wp-place .court-free-tools :is(.play-free-games, .free-tool-actions){justify-content:flex-end!important;display:flex;flex-wrap:wrap;gap:8px}
html.wp-place .wp-pin.alcove-stage{padding-left:0!important;padding-right:0!important}
/* until the first frame of the place is drawn, the hall's own photograph stands behind it (never a black frame) */
html.wp-place body{background:#05060a url("/assets/worlds/shop/hall/photo.jpg") center / cover no-repeat fixed}

/* ---------- the phone (wp-flow): the same choices, one column ---------- */
html.wp-flow .wp-pin .record-room{display:none!important}
html.wp-flow .wp-pin .exclusive-track.record-fallback{display:flex!important;flex-direction:column;gap:8px;margin:0 0 18px}
html.wp-flow .wp-go{display:block;padding:12px 14px;margin:0 0 10px;border-left:2px solid rgba(214,226,255,.55);background:linear-gradient(90deg,rgba(150,170,230,.16),rgba(150,170,230,0) 85%);color:#fff;text-align:left;width:100%;box-sizing:border-box;font:inherit;cursor:pointer}
html.wp-flow .wp-go .wp-k{display:block;font:600 12px/1.2 Rajdhani,system-ui,sans-serif;letter-spacing:.22em;opacity:.8}
html.wp-flow .wp-go .wp-t{display:block;margin-top:5px;font:700 16px/1.15 Orbitron,Rajdhani,system-ui,sans-serif;letter-spacing:.05em}
html.wp-flow .wp-go .wp-t::after{content:" →"}
html.wp-flow .alcove-pin{display:none!important}
html.wp-flow .alcove-stage > section{display:block!important;margin:0 0 28px}
html.wp-flow .court-choose{display:none}
html.wp-flow .court-game > :is(#maze-game, #duel-game, #gift-game){display:block!important;margin:0 0 28px}

/* ---------- the court: one idea at a time (the games on the table, or the free tools they unlock) ---------- */
html.wp-place .court-free-head{display:flex!important;flex-direction:column}
html.wp-place .court-free-head .court-free-open{order:9;align-self:flex-start;margin-top:26px}
html.wp-place .court-free-tools .court-games-open{align-self:flex-end;margin:0 0 22px auto}
html.wp-place .court-free-tools > *, html.wp-place :is(.court-table, .court-game) > *{transition:opacity .5s cubic-bezier(.2,.7,.2,1),visibility 0s linear 0s}
html.wp-place:not([data-shop-court="free"]) .court-free-tools > *,
html.wp-place[data-shop-court="free"] :is(.court-table, .court-game) > *{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .4s,visibility 0s linear .4s}
html.wp-flow .court-open{display:none!important}

/* ---------- the gates: three of each list at rest, the whole list on demand ---------- */
html.wp-place .gate-pin{display:flex!important;flex-direction:column}
/* (the control stays at the foot of the gate's block, always in reach; the block scrolls behind it when open) */
html.wp-place .gate-pin > *{flex-shrink:0}
html.wp-place .gate-pin > .shop-more{order:9;position:sticky;bottom:0;z-index:2;align-self:flex-start;background:rgba(6,9,14,.82);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
/* (the engine's +16 % inside blocks is kept off where a block's own title is built to its width: the gate doors, TANTRA) */
html.wp-place .wp-pin:is(.gate-pin, .tantra-head){--wp-zoom:1}
html.wp-place .gate-pin .freq-mark{max-width:100%;box-sizing:border-box}
/* (a custom site, asked for below the templates, opens with the whole list) */
html.wp-place .gate-pin:not(.wp-open) .ws-custom{display:none}
html.wp-flow .wp-pin .wp-go.court-open{display:none!important}
/* the music player (clover-ambient.js) docks on the right edge above the basket bar (its own safe-area hook), in a
   right gutter the blocks keep, so no words ever pass under it (as on COLLEKTER) */
html.wp-flow .ca-safe-area{padding-bottom:calc(env(safe-area-inset-bottom) + 76px);padding-left:calc(100vw - 64px)}
html.wp-flow .wp-host .wp-pin{padding-right:60px}
html.wp-place .wp-pin.tantra-head h2{font-size:clamp(30px,2.6vw,44px)!important}

/* the sound room: each plinth shows its own price, so the heading keeps its name only (the words stay in the page) */
html.wp-place .tantra-head .section-head > p{display:none}
/* the cistern: the film stands on the wall showing its own frame until it plays */
html.wp-place .bw-film video.shop-reel-film{opacity:1!important}

/* the plain page never shows on the way in: until the place is built its blocks wait (a large page can paint before
   DOMContentLoaded, when the place builds); wp-place is set in the head, so the plain page itself is untouched */
html.wp-place:not(.wp-built) :is(main, body > section, body > footer){visibility:hidden}
html.wp-place .gate-pin:not(.wp-open) .freq-quick li:nth-child(n+4){display:none!important}
html.wp-place .shop-more{all:unset;box-sizing:border-box;cursor:pointer;display:inline-flex;align-items:baseline;gap:12px;margin-top:10px;padding:10px 16px;border:1px solid rgba(214,226,255,.42);
  font:700 13px/1 Orbitron,Rajdhani,sans-serif;letter-spacing:.14em;color:#fff;background:rgba(4,6,8,.3);transition:border-color .3s,background-color .3s,transform .4s cubic-bezier(.2,.7,.2,1)}
html.wp-place .shop-more .shop-more-k{font:600 12px/1 Rajdhani,sans-serif;letter-spacing:.22em;opacity:.75}
html.wp-place .shop-more::after{content:"↓";transition:transform .4s cubic-bezier(.2,.7,.2,1)}
html.wp-place .shop-more[aria-expanded="true"]::after{transform:rotate(180deg)}
html.wp-place .shop-more:hover,html.wp-place .shop-more:focus-visible{border-color:#fff;background:rgba(255,255,255,.12);transform:translateY(-2px)}
html.wp-place .gate-pin[data-anchor="r"] > .shop-more{align-self:flex-end}
html.wp-flow .shop-more{display:none!important}
@media (prefers-reduced-motion:reduce){html.wp-place .shop-more,html.wp-place .shop-more::after{transition:none}}

/* ---------- polish: the hall on one axis. The spiral over the name, the line under it, the two sections and the
   basket centred under that; the ways on the plinths keep above the walkway; each choice on the walkway reads on one
   line, the number, the name and the line under it on one left edge ---------- */
html.wp-place .shop-mast-pin .shop-masthead{display:flex;flex-direction:column;align-items:center;gap:8px}
html.wp-place .shop-mast-pin .shop-brand{display:flex;flex-direction:column;align-items:center;gap:6px}
html.wp-place .shop-mast-pin .shop-brand > div{display:flex;flex-direction:column;align-items:center}
html.wp-place .shop-mast-pin .shop-signature{margin:0;width:auto;height:auto}
html.wp-place .shop-mast-pin .shop-signature img{width:auto;height:clamp(56px,7.5vh,78px)}
html.wp-place .shop-mast-pin .eyebrow{white-space:nowrap}
html.wp-place .shop-mast-pin .shop-masthead > p{margin:0;max-width:none;text-align:center;text-wrap:balance}
html.wp-place .shop-mast-pin .shop-masthead-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:12px}
html.wp-place .hall-hub{justify-content:flex-start;gap:8px}
html.wp-place .hall-hub .wp-go{padding-block:10px}
html.wp-place .shop-walk-pin .shop-categories button{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;text-align:left;
  font:700 clamp(13px,1vw,16px)/1.1 Orbitron,Rajdhani,system-ui,sans-serif!important;letter-spacing:.04em;white-space:nowrap}
html.wp-place .shop-walk-pin .shop-categories button > span{font:600 12px/1 Rajdhani,system-ui,sans-serif;letter-spacing:.2em;opacity:.7;margin:0}
html.wp-place .shop-walk-pin .shop-categories button small{font:600 13px/1.35 Rajdhani,system-ui,sans-serif;letter-spacing:.04em;white-space:normal;margin:0}
html.wp-place .wp-pin p{text-wrap:pretty}
html.wp-place .shop-mast-pin .shop-masthead-actions .button{font-size:13px;padding:11px 18px;min-height:44px}
html.wp-place .shop-mast-pin .shop-signature img{height:clamp(48px,6vh,64px)}
/* the gates: the word under DREAMERS starts (or ends) on the block's edge, not centred under the mark; the long eyebrow
   breaks evenly; the line asking for a custom site waits behind THE WHOLE LIST so the button never sits on it */
html.wp-place .gate-pin .freq-door .freq-word{padding-left:0}
html.wp-place .gate-pin.wp-a-r .freq-door .freq-word{margin-right:-.32em}
html.wp-place .gate-pin .eyebrow{text-wrap:balance}
html.wp-place .gate-pin:not(.wp-open) .ws-custom-row{display:none}

/* ---------- polish, phone: the header gets a dark fade so text scrolling under it never collides with it; headings
   wrap (never run out of their card); every control at least 44px; the spot index fades at its edge (it scrolls) ---------- */
@media (max-width:760px){
html.wp-flow .site-header{z-index:70!important;background:linear-gradient(rgba(3,4,8,.94),rgba(3,4,8,.82) 62%,rgba(3,4,8,0))!important}
html.wp-flow .wp-pin :is(h1,h2,h3,h4){white-space:normal!important;overflow-wrap:break-word}
html.wp-flow .wp-pin h2:has(br){font-size:clamp(20px,6vw,26px)!important}
html.wp-flow .wp-pin :is(h2,h3){text-wrap:balance}
html.wp-flow .header-actions :is(button,a){min-width:44px;min-height:44px}
html.wp-flow .wp-pin :is(button,.button,input,select,textarea):not([type=checkbox]):not([type=radio]){min-height:44px}
html.wp-flow .wp-pin .freq-row-name{display:inline-flex;align-items:center;min-height:44px}
html.wp-flow .wp-pin :is(.freq-row-kind, .freq-note){font-size:13px!important}
}

/* polish: one easing family. Every move on these controls eases out on the same curve as the arrivals */
html.wp-place :is(.wp-go, .shop-more, .shop-categories button, .alcove-label, .court-choose button, .ck-hub a, .ticket-portal img){transition-timing-function:cubic-bezier(.2,.7,.2,1)}

/* polish, phone: the last taps under 44px (the spot index, the motion switch, text links, the film buttons) */
@media (max-width:760px){
html.wp-flow .header-actions :is(button,a){min-width:44px!important}
html.wp-flow .wp-pin .text-link{display:inline-flex;align-items:center;min-height:44px}
html.wp-flow .wp-pin button[aria-label^="Watch"]{min-width:44px}
}
/* polish, phone: a quick-buy row reads across the screen. Name and price on one line, the line about it under them at
   full width, the button under that on the left edge (no five-line column squeezed beside the button) */
@media (max-width:760px){
html.wp-flow .wp-pin .freq-quick li{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"n p" "k k" "b b";gap:4px 12px!important;align-items:center;text-align:left}
html.wp-flow .wp-pin .freq-quick li > :nth-child(1){grid-area:n}
html.wp-flow .wp-pin .freq-quick li > :nth-child(2){grid-area:k;white-space:normal;text-align:left}
html.wp-flow .wp-pin .freq-quick li > :nth-child(3){grid-area:p;white-space:nowrap;text-align:right}
html.wp-flow .wp-pin .freq-quick li > :nth-child(4){grid-area:b;justify-self:start;margin-top:4px}
}
@media (max-width:760px){html.wp-flow .wp-go .wp-k{white-space:normal}html.wp-flow .wp-pin .freq-row-name{min-width:44px}}
/* polish, phone: the three tracks on the same left edge as the room's heading (not centred under it) */
@media (max-width:760px){
html.wp-flow .tantra-tracks .exclusive-track{text-align:left;align-items:flex-start}
html.wp-flow .tantra-tracks :is(.sound-info, .sound-info *){text-align:left}
html.wp-flow .tantra-tracks .exclusive-purchase{justify-content:flex-start}
}

/* ---------- alignment round (23 Nov) ---------- */
/* a framed link-button keeps its own padding: the place's letter-space pass gives a centred link an inline padding-left
   (its letter-spacing), which on a framed button wiped the left padding and set the label on its left edge. A
   flex button centres its label whatever its text-align, so "left" here only keeps that pass off it */
html:is(.wp-place,.wp-flow) .wp-host :is(a.button, a.btn){text-align:left}
/* the header's MOTION switch as tall as its neighbours */
html.wp-place .header-actions .motion-toggle{min-height:44px}
/* a way on with a long name wraps inside its frame instead of running out of it */
html:is(.wp-place,.wp-flow) .wp-hub .wp-go{max-width:100%}
html:is(.wp-place,.wp-flow) .wp-go .wp-t{white-space:normal;overflow-wrap:break-word}
/* the hall's ways on never squeeze (their names overflowed the frames at 1280x800): they keep their height, the type
   steps down on shorter screens; the five choices on the walkway take a size that fits their frame at 1280 */
html.wp-place .hall-hub .wp-go{flex-shrink:0}
html.wp-place .hall-hub .wp-go .wp-t{font-size:clamp(15px,2.35vh,23px)}
html.wp-place .shop-walk-pin .shop-categories button{font-size:clamp(12px,.95vw,16px)!important}
/* the cistern on a short laptop screen: the words start below the header (never centred past both ends), the cover keeps a readable size */
html.wp-place .bw-copy{justify-content:safe center}
html.wp-place .bw-film .shop-cover{flex:0 0 auto;width:clamp(110px,22cqi,190px)}
html.wp-place .bw-film .shop-reel{max-height:min(72vh,calc((100cqi - clamp(110px,22cqi,190px) - 16px) * 16 / 9))}   /* the film stays 9:16, the cover beside it */
html.wp-place .bw-copy .eyebrow{text-wrap:balance}
@media (min-width:900px) and (max-height:860px){
  html.wp-place .bw-copy .shop-product-copy h2{font-size:clamp(26px,8.5cqi,50px)!important}
  html.wp-place .bw-copy :is(p,.shop-specs,.shop-price,.shop-actions,label){margin-block:0 8px!important}
}
/* a price sits in its column: the amount on its own line, its terms under it, on the column's own edge */
html:is(.wp-place,.wp-flow) .wp-pin .shop-price{display:flex!important;flex-direction:column;align-items:flex-start;gap:6px}
html.wp-place .wp-pin[data-anchor="r"] .shop-price{align-items:flex-end;text-align:right}
