/* COLLEKTER as a place (place.js + place-world.mjs, the spots in tickets/index.html WS_PLACE): a wet night street of
   old stone, the doors, a wall of posters, a lit ticket window, a roped queue, a back room, a stair to a violet door.
   The page's blocks stand in the photos: no cards floating, no panels. Only html.wp-place / html.wp-flow change
   anything; the plain page (wp-still, MOTION OFF) is COLLEKTER exactly as it was. */

html:not(.wp-place) canvas.world3d[data-place]{display:none}

/* every face of the centre stays shown in its own spot (tickets/place.js keeps hidden/inert off them) */
html:is(.wp-place, .wp-flow) .wp-spot [data-universe-pane][hidden]{display:block!important}
html:is(.wp-place, .wp-flow) .wp-spot .universe-pane{height:auto!important;max-height:none!important;overflow:visible!important;padding:0!important}

/* the page's own sky, orbits, stars, dust and chapter pill stand down behind the photo world (one WebGL context) */
.wp-place .universe-atmosphere,.wp-flow .universe-atmosphere,.wp-place .section-dust,.wp-flow .section-dust,
.wp-place .world-scene-field,.wp-flow .world-scene-field,.wp-place .cosmic-atmosphere,.wp-flow .cosmic-atmosphere,
.wp-place .chapter-nav,.wp-flow .chapter-nav,.wp-place .mobile-dock,.wp-flow .mobile-dock,
.wp-place .universe-center,.wp-flow .universe-center,.wp-place .universe-turn-hint,.wp-flow .universe-turn-hint{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:#04060a}
html.wp-place .site-header{background:linear-gradient(rgba(2,4,8,.8),rgba(2,4,8,0))!important;border-bottom:0!important}
html.wp-place .wp-spot:not(.seen){opacity:0}

/* ---------- type: techno caps for names, silver on wet stone, a little larger than the page ---------- */
html.wp-place .wp-pin{color:#eaf0f7;font-size:17px;container-type:inline-size}
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;font-family:Orbitron,Rajdhani,system-ui,sans-serif;text-transform:uppercase;letter-spacing:.03em}
html.wp-place .wp-pin h2{font-size:clamp(24px,8cqi,52px)!important;line-height:1.02!important}
html.wp-place .wp-pin h2 em{font-style:normal;color:#b9c8ff}
html.wp-place .wp-pin h3{font-size:clamp(16px,5cqi,24px)!important;line-height:1.12!important}
html.wp-place .wp-pin .eyebrow{font:600 12px/1.3 Rajdhani,system-ui,sans-serif!important;letter-spacing:.24em;color:rgba(210,222,255,.78)}

/* ---------- the doors: COLLEKTER over the roofline, the ways on under the lamps ---------- */
html.wp-place .ck-home-pin{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;overflow:visible}
html.wp-place .ck-home-pin #universe-home{display:flex!important;flex-direction:column;align-items:center;gap:6px}
html.wp-place .ck-home-pin .ticket-portal{margin:0}
html.wp-place .ck-home-pin .ticket-portal img{width:min(100%,250px);height:auto;display:block;margin-inline:auto}
html.wp-place .ck-home-pin .universe-tagline{font:700 15px/1.2 Orbitron,Rajdhani,sans-serif;letter-spacing:.3em;margin:6px 0 0}
html.wp-place .ck-home-pin .universe-manifesto{font:600 13px/1.2 Rajdhani,sans-serif;letter-spacing:.32em;opacity:.8;margin:0}
html.wp-place .ck-home-pin .ticket-intro{font-size:16.5px;margin:10px 0 0}
html.wp-place .ck-home-pin .universe-home-actions{display:flex;gap:18px;align-items:center;justify-content:center;margin-top:14px}
html.wp-place .ck-home-pin .universe-home-actions .button{font-size:15px;padding:14px 22px}

/* the ways on (as in the shop): a lit edge and an arrow at rest, the light comes up on hover */
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;max-width:100%;white-space:normal;padding:14px 18px 14px 16px;border-left:2px solid rgba(210,222,255,.55);
  background:linear-gradient(90deg,rgba(140,160,235,.16),rgba(140,160,235,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(210,222,255,.75);text-transform:uppercase}
html.wp-place .wp-go .wp-t{display:block;margin-top:6px;font:700 clamp(17px,1.25vw,23px)/1.15 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(165,185,255,.34),rgba(165,185,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(210,222,255,.55);padding:14px 16px 14px 18px;
  background:linear-gradient(270deg,rgba(140,160,235,.16),rgba(140,160,235,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(165,185,255,.34),rgba(165,185,255,0) 90%);transform:translateX(-4px)}

/* ---------- the poster wall: each gathering is pasted onto a poster in the wall's own perspective; the blank posters
   beside it wait for the next nights ---------- */
html.wp-place .ck-wall-pin{display:flex;align-items:stretch;gap:3%;padding:3% 2%!important;overflow:visible}
html.wp-place .ck-wall-pin .universe-field{display:contents!important}
html.wp-place .ck-wall-pin > .ck-slot, html.wp-place .ck-wall-pin .universe-event{flex:1 1 0!important;min-width:0}
html.wp-place .ck-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;color:rgba(18,22,30,.78);
  font:700 clamp(10px,2.2cqi,15px)/1.2 Orbitron,Rajdhani,sans-serif;letter-spacing:.14em;text-shadow:none}
html.wp-place .ck-slot span{font:600 clamp(9px,1.8cqi,12px)/1 Rajdhani,sans-serif;letter-spacing:.22em}
html.wp-place .ck-wall-pin .universe-event{position:static!important;transform:none!important;animation:none!important;width:auto!important;left:auto;top:auto;display:flex}
html.wp-place .ck-wall-pin .universe-event>a{transform:none!important;flex:1;display:flex;flex-direction:column;border-radius:0;background:#e9e7e1;border:0;box-shadow:0 2px 0 rgba(0,0,0,.25),0 12px 24px rgba(0,0,0,.45);color:#0b0d12;transition:filter .25s,box-shadow .25s}
html.wp-place .ck-wall-pin .universe-event img{aspect-ratio:3/4;flex:1 1 auto;min-height:0;object-fit:cover;opacity:1;filter:saturate(.9) contrast(1.05)}
html.wp-place .ck-wall-pin .universe-event .universe-event-copy{padding:8% 7% 9%}
html.wp-place .ck-wall-pin .universe-event a:hover, html.wp-place .ck-wall-pin .universe-event a:focus-visible{filter:brightness(1.12);box-shadow:0 0 0 3px #fff,0 0 34px rgba(190,205,255,.55),0 12px 24px rgba(0,0,0,.45)}
html.wp-place .ck-wall-pin .universe-event h3{font:800 clamp(13px,3.2cqi,22px)/1.05 Orbitron,Rajdhani,sans-serif!important;letter-spacing:.02em;text-transform:uppercase;color:#0b0d12;text-shadow:none;margin:6px 0}
html.wp-place .ck-wall-pin .universe-event time{font:700 clamp(10px,2cqi,13px)/1.3 Rajdhani,sans-serif;letter-spacing:.18em;color:#3a3f4a}
html.wp-place .ck-wall-pin .universe-event p{font:600 clamp(10px,2cqi,13px)/1.35 Rajdhani,sans-serif;color:#2b2f38;letter-spacing:.06em;text-transform:uppercase;text-shadow:none}
html.wp-place .ck-wall-pin .universe-card-arrow{background:#0b0d12}
html.wp-place .ck-wall-pin .universe-card-arrow svg{stroke:#fff}

/* finding a night: on the cobbles, the fields on a dark wet fill with a quiet edge */
html.wp-place .ck-find-pin .universe-discovery{position:static!important;transform:none!important;display:flex;flex-direction:column;gap:12px;width:auto;margin:0}
html.wp-place .ck-find-pin .universe-periods button{font:700 14px/1 Rajdhani,sans-serif;letter-spacing:.2em;padding:11px 16px;cursor:pointer}
html.wp-place .ck-find-pin .universe-search{background:rgba(4,6,10,.62)!important;border:1px solid rgba(210,222,255,.3)!important;box-shadow:none!important}
html.wp-place .ck-find-pin input{font-size:16px!important;color:#eaf0f7!important}
html.wp-place .ck-find-pin .universe-empty{position:static!important;transform:none!important;margin-top:14px;text-align:left}
html.wp-place .ck-bottom-pin{overflow:visible}
html.wp-place .ck-bottom-pin .universe-bottom{position:static!important;transform:none!important;display:flex;justify-content:flex-end;align-items:center;gap:18px;width:auto;margin:0}
html.wp-place .ck-bottom-pin [data-field-pause]{display:none!important}

/* ---------- the window: one night up close, beside the lit glass ---------- */
html.wp-place .ck-window-pin .ck-window{display:flex;flex-direction:column;gap:12px}
html.wp-place .ck-window-pin .ck-window .wp-go{margin-top:10px;align-self:flex-start}
html.wp-place .ck-window-pin .universe-event-detail{display:flex;flex-direction:column;gap:12px}
html.wp-place .ck-window-pin .universe-event-detail img{width:100%;max-height:22vh;object-fit:cover;border-radius:2px;order:1}
html.wp-place .ck-window-pin .universe-event-detail > small:first-of-type{order:2;margin-top:-6px}
html.wp-place .ck-window-pin .universe-event-detail .ticket-preview-facts{order:3;display:flex;gap:28px;margin:0}
html.wp-place .ck-window-pin .universe-event-detail .ticket-preview-facts dt{font:600 12px/1.3 Rajdhani,sans-serif;letter-spacing:.22em;color:rgba(210,222,255,.75)}
html.wp-place .ck-window-pin .universe-event-detail .ticket-preview-facts dd{margin:4px 0 0;font-size:16px}
html.wp-place .ck-window-pin .universe-event-detail .button{order:4}
html.wp-place .ck-window-pin .universe-event-detail > small:last-of-type{order:5;margin-top:-4px}
html.wp-place .ck-window-pin .universe-event-detail .modal-copy{order:6;margin:4px 0 0}
html.wp-place .ck-window-pin .universe-event-detail .ticket-setup-note{order:7;margin:0}
html.wp-place .ck-window-pin .ck-window h2{font-size:clamp(22px,7cqi,40px)!important}
html.wp-place .ck-window-pin .universe-event-detail .button{align-self:flex-start;font-size:15px;padding:14px 22px}

/* ---------- workspaces: forms sit on the stone, their fields keep a quiet edge, no slabs ---------- */
html.wp-place .wp-pin .ticket-workspace{background:none!important;border:0!important;box-shadow:none!important}
html.wp-place .wp-pin :is(input, select, textarea){background:rgba(4,6,10,.55)!important;border:1px solid rgba(210,222,255,.28)!important;color:#eaf0f7!important;font-size:15px!important}
html.wp-place .wp-pin .ticket-roadmap{display:flex;flex-direction:column;gap:18px}
html.wp-place .wp-pin .ticket-roadmap article{background:none!important;border:0!important;border-left:2px solid rgba(210,222,255,.4)!important;box-shadow:none!important;padding:4px 0 4px 16px!important}
html.wp-place .wp-pin .ticket-roadmap article span{font:600 12px/1.3 Rajdhani,sans-serif;letter-spacing:.22em;color:rgba(210,222,255,.75)}
html.wp-place .wp-pin .ticket-section-head{display:block!important;margin-bottom:18px}
@container (max-width: 560px){ .wp-pin p{font-size:15.5px!important} }

/* the organiser sign-in: its labels and note read at the room's size */
html.wp-place .wp-pin .ticket-login label, html.wp-place .wp-pin .ticket-login :is(.field-label, small){font:600 13.5px/1.3 Rajdhani,sans-serif!important;letter-spacing:.16em}
html.wp-place .wp-pin .ticket-login :is(p, .ticket-login-note){font-size:15.5px!important}
html.wp-place .wp-pin .ticket-login :is(button, .button){font-size:14px!important;padding:12px 20px!important}
html.wp-place .wp-pin .ticket-login h2, html.wp-place .wp-pin .ticket-login h3{font-size:clamp(20px,5cqi,30px)!important}

/* ---------- the safe frame, bigger text, the mouse ---------- */
html.wp-place .ck-find-pin .universe-discovery{align-items:flex-start}
html.wp-place .ck-find-pin .universe-bottom{justify-content:flex-start!important;margin-top:14px!important}
html.wp-place .ck-find-pin .universe-bottom [data-event-count]{font-size:13px!important;letter-spacing:.2em}
html.wp-place .ck-find-pin .universe-date span{font-size:12px!important}
html.wp-place .wp-pin :is(p, li, dd){font-size:max(15px, 1em)}
html.wp-place .wp-pin :is(small, .eyebrow, label, dt, .ticket-partner){font-size:max(12px, 1em)!important}
html.wp-place .wp-pin :is(.button, button:not(.wp-go)){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)):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(h1, h2){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 .ck-home-pin .ticket-portal img{transition:filter .4s}
html.wp-place .ck-home-pin:hover .ticket-portal img{filter:drop-shadow(0 0 18px rgba(190,205,255,.35))}
@media (prefers-reduced-motion: reduce){html.wp-place .wp-pin *{transition:none!important;transform:none!important}}
html.wp-place .wp-pin [data-field-pause]{display:none!important}
html.wp-place .ck-home-pin [data-center-signin]{font-size:14px!important;letter-spacing:.2em}
html.wp-place .ck-slot span{font-size:12.5px!important}
html.wp-place .wp-pin :is(.universe-privacy, .ticket-login-action a, .text-link){font-size:13px!important}
html.wp-place .wp-pin :is(.ticket-login-step, [class*="step"] span, .roadmap-count, .universe-step-nav span){font-size:12.5px!important}
html.wp-place .wp-pin :is(.ticket-login button, .universe-step-nav button, .ticket-roadmap button){font-size:13px!important}
html.wp-place .wp-pin a:is([href]){font-size:max(13px, 1em)}
/* until the first frame of the place is drawn, the doors' own photograph stands behind it (never a black frame) */
html.wp-place body{background:#04060a url("/assets/worlds/collekter/approach/photo.jpg") center / cover no-repeat fixed}

/* ---------- the phone (wp-flow) ---------- */
html.wp-flow .wp-go{all:unset;box-sizing:border-box;display:block;width:100%;padding:12px 14px;margin:0 0 10px;border-left:2px solid rgba(210,222,255,.55);background:linear-gradient(90deg,rgba(140,160,235,.16),rgba(140,160,235,0) 85%);color:#fff;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 .ck-slot{display:none}
html.wp-flow .universe-field{position:static!important;height:auto!important;opacity:1!important;display:grid;grid-template-columns:1fr 1fr;gap:12px;pointer-events:auto}
html.wp-flow .universe-event{position:static!important;transform:none!important;animation:none!important;width:auto!important}
html.wp-flow .universe-center{display:none!important}
html.wp-flow [data-universe-pane][hidden]{display:block!important}
/* the header stays fixed on the phone: every spot starts below it */
html.wp-flow .wp-spot{padding-top:88px}
html.wp-flow .wp-spot:first-child{padding-top:0}
/* the music player (clover-ambient.js) docks on the right edge above the spot index (its own safe-area hook), in the
   right gutter the index already keeps for it; the blocks keep the same gutter, so no words ever pass under it */
html.wp-flow .ca-safe-area{padding-bottom:calc(env(safe-area-inset-bottom) + 50px);padding-left:calc(100vw - 64px)}
html.wp-flow .wp-host .wp-pin{padding-right:60px}
/* the poster wall on the phone: the search and the UPCOMING / PAST choice first, then the posters (none above the search) */
html.wp-flow .wp-spot:has(.ck-wall-pin){display:flex;flex-direction:column}
html.wp-flow .wp-spot .ck-wall-pin{order:2}
/* (the search, the dates and the count are absolutely placed on the plain page: in the phone column they flow in order) */
html.wp-flow .ck-find-pin > :is(#discover, .universe-bottom, .universe-empty){position:static!important;inset:auto!important;transform:none!important;margin:0 0 14px}

/* polish: no last word left alone on a line; on a phone the doors' block keeps the player's gutter on both sides, so
   the mark, the lines and the buttons stand on the screen's centre */
html.wp-place .wp-pin p{text-wrap:pretty}
@media (max-width:760px){html.wp-flow .wp-host .ck-home-pin{padding-left:60px}}

/* ---------- 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-host .wp-pin:not(.ck-home-pin) :is(.section-head, h2, h3, p, span, small){text-align:left}
html.wp-flow .wp-host .wp-pin:not(.ck-home-pin) :is(.button, .text-link){align-self:flex-start}
html.wp-flow .wp-pin input[type=date]{min-width:44px}
}

/* 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}
}

/* ---------- 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}
html.wp-place .ck-wall-pin .universe-event h3{font-size:clamp(11px,2.5cqi,19px)!important;overflow-wrap:anywhere}   /* one long word (HARDGROUND) stays on its poster */
