/* SPDX-License-Identifier: LicenseRef-LiberUnda-Freeware
   Copyright (C) 2026 Christophe Nutoni. All rights reserved.
   The welcome of a new station (mock-ups of 21/11/2026, white lacquer): the language first, then
   « Welcome to the studio ». Light whatever the skin: it is the first thing seen. */
.wl { position: fixed; inset: 0; z-index: 10060; overflow: auto; background: #F4F4F1; color: #17191D; font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased;
  --c1: #4C9EFF; --c4: #3DD58E; --c7: #EA9A5B; --c9: #C46BFF; --soft: #5B616B; --faint: #8B919A;
  --spectrum: linear-gradient(90deg, #4C9EFF, #42C3B3, #3DD68C, #C8AF4D, #F2A33A, #D782AD, #C46BFF); }
.wl[hidden] { display: none; }
.wl * { box-sizing: border-box; }
.wl .halo { position: fixed; inset: -20% -10% auto; height: 90%; background: radial-gradient(60% 55% at 50% 35%, #fff 0%, transparent 70%); pointer-events: none; }
.wl .rings { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.wl .rings .ring { fill: none; stroke: rgba(40,55,75,.07); }
.wl .rings .pulse { fill: none; stroke: rgba(76,158,255,.28); stroke-width: 1.2; opacity: 0; animation: wl-pulse 6s cubic-bezier(.2,.6,.3,1) infinite; }
.wl .rings .pulse.b { animation-delay: 3s; stroke: rgba(196,107,255,.22); }
@keyframes wl-pulse { 0% { opacity: .9; } 100% { opacity: 0; } }
.wl .logo svg { height: 100%; width: auto; overflow: visible; }
.wl .logo g rect { transform-box: fill-box; transform-origin: center; animation: wl-breathe 2.6s ease-in-out infinite; }
@keyframes wl-breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.72); } }
.wl main { position: relative; min-height: 100%; }

/* 1 · The language. */
.wl .lang-step { display: grid; place-items: center; padding: 30px; }
.wl .box { width: min(760px, 100%); text-align: center; }
.wl .lang-step .logo { height: 52px; display: flex; justify-content: center; margin-bottom: 34px; }
.wl .hello { position: relative; height: 78px; margin: 0 0 6px; }
.wl .hello span { position: absolute; inset: 0; font: 500 64px/78px var(--sans); letter-spacing: -.045em; opacity: 0; transform: translateY(10px); transition: opacity .7s, transform .7s; }
.wl .hello span.on { opacity: 1; transform: none; }
.wl .hello b, .wl h1 span { font-weight: 500; background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.wl .ask { margin: 0 0 30px; color: var(--soft); font-size: 18px; min-height: 27px; }
.wl .langs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 30px; }
.wl .lang { position: relative; border: 0; border-radius: 18px; padding: 18px 16px 16px; background: rgba(255,255,255,.62); box-shadow: 0 30px 60px -36px rgba(30,40,60,.4), 0 0 0 1px #fff inset; cursor: pointer; text-align: left; font: inherit; color: inherit; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.wl .lang:hover { transform: translateY(-4px); }
.wl .lang b { display: block; font: 600 20px var(--sans); letter-spacing: -.02em; }
.wl .lang small { font: 500 11px var(--mono); letter-spacing: .14em; color: var(--faint); text-transform: uppercase; }
.wl .lang .tick { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: #fff; background: #17191D; opacity: 0; transform: scale(.6); transition: .25s; }
.wl .lang[aria-checked="true"] { background: #fff; box-shadow: 0 30px 60px -30px rgba(30,40,60,.45), 0 0 0 2px #17191D inset; }
.wl .lang[aria-checked="true"] .tick { opacity: 1; transform: none; }
.wl .cont { position: relative; font: 600 17px var(--sans); border: 0; border-radius: 999px; padding: 15px 34px; background: #17191D; color: #fff; cursor: pointer; }
.wl .sys { margin-top: 14px; font-size: 13px; color: var(--faint); }

/* 2 · Welcome to the studio. */
.wl .home-step { display: grid; grid-template-rows: auto 1fr auto; padding: 28px 44px 26px; }
.wl .wl-top { display: flex; align-items: center; justify-content: space-between; }
.wl .wl-top .logo { height: 24px; display: flex; }
.wl .wl-chip { font: 500 11px var(--mono); letter-spacing: .14em; color: var(--faint); text-transform: uppercase; }
.wl .hero { align-self: center; justify-self: center; width: min(1080px, 100%); text-align: center; padding: 30px 0; }
.wl .glow { width: 240px; height: 6px; margin: 0 auto 26px; border-radius: 3px; background: var(--spectrum); filter: blur(6px); opacity: .55; }
.wl .eyebrow { font: 500 12px var(--mono); letter-spacing: .22em; color: var(--faint); text-transform: uppercase; }
.wl h1 { margin: 12px 0 10px; font: 500 64px/1.02 var(--sans); letter-spacing: -.045em; }
.wl .lede { margin: 0 auto 44px; max-width: 560px; color: var(--soft); font-size: 19px; }
.wl .choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: center; gap: 22px; text-align: left; }
.wl .card { position: relative; display: block; border: 0; font: inherit; color: inherit; text-align: left; border-radius: 22px; padding: 22px 24px; cursor: pointer;
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F4F2 55%, #E6E8E5 100%);
  box-shadow: 0 1px 0 #fff inset, 0 -2px 0 rgba(0,0,0,.05) inset, 0 40px 70px -36px rgba(40,50,70,.45), 0 2px 4px rgba(40,50,70,.08); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.wl .card::before { content: ""; position: absolute; left: 14px; right: 14px; top: 6px; height: 40%; border-radius: 16px 16px 40px 40px; background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,0)); pointer-events: none; }
.wl .card:hover, .wl .card:focus-visible { transform: translateY(-6px); outline: none; }
.wl .object { position: relative; height: 140px; border-radius: 14px; background: #0E1014; display: grid; place-items: center; margin-bottom: 18px; overflow: hidden; box-shadow: inset 0 2px 8px rgba(0,0,0,.6), 0 1px 0 #fff; }
.wl .card h2 { margin: 0 0 4px; font: 500 21px var(--sans); letter-spacing: -.02em; }
.wl .card p { margin: 0; color: var(--soft); font-size: 14.5px; }
.wl .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font: 500 11px var(--mono); letter-spacing: .1em; color: var(--faint); text-transform: uppercase; }
.wl .go { font: 700 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #17191D; padding: 10px 14px; border-radius: 10px; background: linear-gradient(180deg, #FFFFFF, #E4E6E3); box-shadow: 0 1px 0 #fff inset, 0 3px 8px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.06); display: inline-flex; align-items: center; gap: 8px; }
.wl .go::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3DD68C; box-shadow: 0 0 8px #3DD68C; }
/* The beam of light round a card or a button on hover, in the colours of the wave. */
@property --wl-beam { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.wl .card::after, .wl .lang::after, .wl .cont::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 2.5px; pointer-events: none;
  background: conic-gradient(from var(--wl-beam), transparent 0deg 240deg, #4C9EFF 285deg, #3DD68C 312deg, #F2A33A 336deg, #C46BFF 356deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  filter: drop-shadow(0 0 5px rgba(76,158,255,.55)); opacity: 0; transition: opacity .35s; }
.wl .card:hover::after, .wl .card:focus-visible::after, .wl .lang:hover::after, .wl .lang:focus-visible::after, .wl .cont:hover::after, .wl .cont:focus-visible::after { opacity: 1; animation: wl-beam 2.6s linear infinite; }
@keyframes wl-beam { to { --wl-beam: 360deg; } }
.wl .lang:focus-visible, .wl .cont:focus-visible { outline: none; }
/* The tour: the studio clock, its seconds lighting up. */
.wl .clock { width: 108px; height: 108px; position: relative; }
.wl .clock i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: #3A3F47; }
.wl .clock i.on { background: #FF3B30; box-shadow: 0 0 6px rgba(255,59,48,.8); }
.wl .clock b { position: absolute; inset: 0; display: grid; place-items: center; font: 600 22px var(--mono); color: #FF3B30; text-shadow: 0 0 10px rgba(255,59,48,.35); }
/* My station: four channel faders, caps in the colours of the log. */
.wl .faders { display: flex; gap: 18px; align-items: flex-end; height: 100px; }
.wl .fader { position: relative; width: 6px; height: 96px; border-radius: 3px; background: #22262C; box-shadow: inset 0 1px 2px rgba(0,0,0,.5); }
.wl .fader span { position: absolute; left: 50%; width: 30px; height: 16px; margin-left: -15px; border-radius: 4px; background: linear-gradient(180deg,#FFFFFF,#D9DCE0); box-shadow: 0 4px 8px rgba(0,0,0,.22); transition: bottom .6s cubic-bezier(.2,.8,.2,1); }
.wl .fader span::after { content: ""; position: absolute; left: 4px; right: 4px; top: 7px; height: 2px; border-radius: 1px; background: var(--cap); }
.wl .card:hover .fader:nth-child(1) span { bottom: 70px !important; } .wl .card:hover .fader:nth-child(2) span { bottom: 52px !important; }
.wl .card:hover .fader:nth-child(3) span { bottom: 76px !important; } .wl .card:hover .fader:nth-child(4) span { bottom: 40px !important; }
.wl .migrate { justify-self: center; margin-top: 30px; display: inline-flex; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; border-radius: 999px; background: rgba(255,255,255,.62); border: 1px solid #fff; font-size: 14px; color: var(--soft); }
.wl .migrate[hidden] { display: none; }
.wl .migrate button { font: inherit; color: #17191D; font-weight: 600; border: 0; cursor: pointer; padding: 6px 12px; border-radius: 999px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.07); }
.wl .foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 500 11px var(--mono); letter-spacing: .12em; color: var(--faint); text-transform: uppercase; }
.wl .foot button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--soft); background: none; border: 0; padding: 4px 6px; border-radius: 6px; cursor: pointer; }
.wl .foot button:hover, .wl .foot button:focus-visible { color: #17191D; background: rgba(255,255,255,.7); }
@media (max-width: 760px) { .wl .langs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wl h1, .wl .hello span { font-size: 44px; } .wl .home-step { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { .wl *, .wl *::after { animation: none !important; transition: none !important; } }

/* The demo: a record turning under an ON AIR light; the install screen; the DEMO bar on air. */
.wl .vinyl { width: 104px; height: 104px; border-radius: 50%; background: repeating-radial-gradient(circle, #16181C 0 1px, #23262B 1px 3px); box-shadow: 0 10px 20px rgba(0,0,0,.25); display: grid; place-items: center; animation: wl-spin 6s linear infinite; animation-play-state: paused; position: relative; }
.wl .card:hover .vinyl { animation-play-state: running; }
.wl .vinyl::after { content: ""; width: 36px; height: 36px; border-radius: 50%; background: conic-gradient(#4C9EFF, #42C3B3, #3DD68C, #C8AF4D, #EA9A5B, #D782AD, #C46BFF, #4C9EFF); box-shadow: 0 0 0 3px #0E0F12; }
.wl .vinyl::before { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #E8EAED; z-index: 1; }
@keyframes wl-spin { to { transform: rotate(360deg); } }
.wl .onair { position: absolute; top: 14px; right: 14px; font: 700 9.5px var(--mono); letter-spacing: .18em; color: #fff; background: #FF3B30; padding: 4px 7px; border-radius: 5px; box-shadow: 0 0 14px rgba(255,59,48,.55); }
.wl .demo-step { display: grid; place-items: center; padding: 30px; }
.wl .demo-step .box { width: min(640px, 100%); }
.wl .demo-step h1 { font-size: 48px; }
.wl .demo-step .lede { margin-bottom: 30px; }
.wl .bar { height: 8px; border-radius: 4px; background: rgba(0,0,0,.08); overflow: hidden; }
.wl .bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--spectrum); transition: width .4s; }
.wl .demo-step .meta { margin-top: 10px; }
.wl .err { color: #C0392B; margin-top: 18px; }
.wl .err[hidden], .wl .back[hidden] { display: none; }
.wl .back { margin-top: 18px; }
.wl-demo { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(242,163,58,.45); background: rgba(242,163,58,.12); color: var(--text); font-size: 13px; }
.wl-demo b { font: 700 11px var(--mono); letter-spacing: .16em; color: #F2A33A; }
.wl-demo .sp { flex: 1; }

/* Your studio (22/11/2026): the form, dark in Settings › Studio, light in the welcome. */
.vs-rows { display: grid; gap: 10px; }
.vs-row { display: grid; grid-template-columns: 44px minmax(220px, 1fr) minmax(220px, 320px); gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line, #2A313B); background: rgba(127,127,127,.06); }
.vs-ic { width: 40px; height: 40px; border-radius: 10px; background: #0E1014; display: grid; place-items: center; font-size: 20px; }
.vs-row b { display: block; }
.vs-row small { display: block; color: var(--muted, #8B95A1); font-size: 12.5px; line-height: 1.35; }
.vs-ctl select { width: 100%; padding: 8px 10px; border-radius: 8px; }
.vs-air { font-weight: 600; }
.vs-listen { padding: 6px 12px; border-radius: 8px; cursor: pointer; }
.vs-meter { height: 8px; border-radius: 4px; background: rgba(127,127,127,.25); overflow: hidden; margin-top: 8px; }
.vs-meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #3DD68C, #C8AF4D 80%, #F2A33A); transition: width .05s; }
.vs-rule { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; font-size: 13px; color: #C9A45A; border: 1px solid rgba(242,163,58,.35); background: rgba(242,163,58,.08); }
.vs-said { min-height: 1.2em; margin: 6px 0 0; color: #3DD68C; font-size: 13px; }
.wl .studio-step { display: grid; place-items: center; padding: 30px; }
.wl .studio-step .box { width: min(920px, 100%); text-align: left; }
.wl .studio-step .eyebrow, .wl .studio-step h1, .wl .studio-step .lede { text-align: center; }
.wl .studio-step h1 { font-size: 46px; }
.wl .studio-step .lede { margin-bottom: 24px; }
.wl .vs-row { border: 0; background: linear-gradient(180deg, #FFFFFF 0%, #F3F4F2 55%, #E6E8E5 100%); box-shadow: 0 1px 0 #fff inset, 0 24px 50px -30px rgba(40,50,70,.45); }
.wl .vs-row small { color: #5B616B; }
.wl .vs-ctl select, .wl .vs-listen { border: 1px solid #D6D9DD; background: #fff; color: #17191D; font: 500 14px var(--sans); }
.wl .vs-rule { color: #5B4310; background: #FFF6E5; border-color: #F2D7A6; }
.wl .studio-step .cont { display: block; margin: 22px auto 0; }

/* The tour, now in Help: said under the two doors (24/11/2026). */
.wl .tour-line { margin: 18px 0 0; text-align: center; color: #8B929C; font-size: 13px; }
.wl .tour-line button { background: none; border: 0; color: #9CC4FF; cursor: pointer; font: inherit; text-decoration: underline; }
/* Here is what I found (26/11/2026): ▶ per device, found / shared / not plugged in, the sound check. */
.vs-line { display: flex; gap: 8px; align-items: center; }
.vs-line select { flex: 1; min-width: 0; }
.vs-beep { width: 34px; height: 34px; flex: none; border-radius: 8px; cursor: pointer; border: 1px solid var(--line, #2A313B); background: rgba(127,127,127,.1); color: inherit; }
.vs-beep:disabled { opacity: .4; cursor: default; }
.vs-pill { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 700; border-radius: 10px; padding: 1px 9px; }
.vs-pill.ok { background: rgba(61,214,140,.16); color: #2FBF78; }
.vs-pill.w { background: rgba(242,163,58,.16); color: #D28A1E; }
.vs-pill.no { background: rgba(255,90,95,.14); color: #E5484D; }
.vs-more { margin: 12px 0 0; font-size: 13px; color: var(--muted, #8B95A1); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.vs-check, .vs-steps button { padding: 6px 12px; border-radius: 8px; cursor: pointer; border: 1px solid var(--line, #2A313B); background: rgba(127,127,127,.1); color: inherit; font: inherit; }
.vs-steps { padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line, #2A313B); background: rgba(127,127,127,.06); }
.vs-steps h3 { margin: 4px 0 6px; font-size: 18px; }
.vs-step { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #8B95A1); }
.vs-dev { margin: 0 0 10px; }
.vs-steps .vs-yes { background: linear-gradient(#34c06a,#1f9a4c); border-color: #1f9a4c; color: #fff; }
.wl .vs-beep, .wl .vs-check, .wl .vs-steps button:not(.vs-yes) { border-color: #D6D9DD; background: #fff; color: #17191D; }
.wl .vs-steps { border: 0; background: linear-gradient(180deg, #FFFFFF 0%, #F3F4F2 55%, #E6E8E5 100%); box-shadow: 0 24px 50px -30px rgba(40,50,70,.45); }
.wl .vs-more { color: #5B616B; }
/* A card plugged in or out (app.js devWatch). */
.dev-toast { position: fixed; right: 18px; bottom: 18px; z-index: 9000; max-width: 440px; display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #161B22; color: #E8EAED; border: 1px solid #2C3542; box-shadow: 0 12px 30px rgba(0,0,0,.45); font-size: 13px; }
.dev-toast b { display: block; margin-bottom: 2px; }
.dev-toast small { color: #9AA2AD; display: block; }
.dev-toast .row { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.dev-toast button { padding: 5px 11px; border-radius: 7px; cursor: pointer; border: 1px solid #2C3542; background: #1A212B; color: #DFE3E8; font: 600 12px var(--sans, sans-serif); }
.dev-toast button.go { background: linear-gradient(#34c06a,#1f9a4c); border-color: #1f9a4c; color: #fff; }

/* Leave the sound check, at every step. */
.vs-leave { float:right; border:0; background:none; color:inherit; opacity:.7; font:inherit; text-decoration:underline; cursor:pointer; padding:0; }
.vs-leave:hover { opacity:1; }
