/* Default coat, screens from the v2 spec. Other coats are untouched. Spin math is untouched. */
:is(html:not([data-look]), html[data-look="ios"]) .home-top{                         /* (v4.21: the logo on the content's edge, and clear of an iPhone's notch) */
  box-sizing:border-box; height:calc(var(--sp-h-topbar) + env(safe-area-inset-top, 0px)); padding:env(safe-area-inset-top, 0px) 0 0;
  background:rgba(14,12,13,.85); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px)}
:is(html:not([data-look]), html[data-look="ios"]) .home-brand{gap:10px; padding:0; font:800 15px/1 var(--sp-font); letter-spacing:.14em; text-transform:uppercase; color:var(--sp-ivory)}
:is(html:not([data-look]), html[data-look="ios"]) .home-brand img{width:30px; height:30px}
:is(html:not([data-look]), html[data-look="ios"]) .home-sec h2{font:700 26px/32px var(--sp-font); color:var(--sp-ivory)}
/* a wheel on Home: the row is the card, the star and ⋯ inside it (v4.21: they stood outside a glowing card) */
:is(html:not([data-look]), html[data-look="ios"]) .home-row{margin:4px 0; padding-right:4px; border-radius:16px; background:var(--sp-surface); border:1px solid var(--sp-border); box-shadow:var(--sp-shadow-card)}
:is(html:not([data-look]), html[data-look="ios"]) .home-row.now{background:var(--sp-surface-3); border-color:color-mix(in srgb, var(--sp-primary) 70%, var(--sp-border))}
:is(html:not([data-look]), html[data-look="ios"]) .home-wheel{min-height:72px; padding:0 12px; border-radius:15px; background:none}
@media (hover:hover){ :is(html:not([data-look]), html[data-look="ios"]) .home-wheel:hover{background:transparent} :is(html:not([data-look]), html[data-look="ios"]) .home-row:hover{background:var(--sp-surface-2)} :is(html:not([data-look]), html[data-look="ios"]) .home-row.now:hover{background:var(--sp-surface-3)} }
:is(html:not([data-look]), html[data-look="ios"]) .home-wheel.now .home-tx b{color:var(--sp-ivory)}
:is(html:not([data-look]), html[data-look="ios"]) .home-more{color:var(--sp-text-secondary)}
:is(html:not([data-look]), html[data-look="ios"]) .home-tx b{color:var(--sp-ivory); font:600 14px/1.25 var(--sp-font)}
:is(html:not([data-look]), html[data-look="ios"]) .home-tx small{color:var(--sp-text-secondary); font-size:12px}
:is(html:not([data-look]), html[data-look="ios"]) .home-art{width:48px; height:48px; border-radius:50%; background:var(--sp-primary); color:var(--sp-ivory)}
:is(html:not([data-look]), html[data-look="ios"]) .home-empty{color:var(--sp-text-secondary); font:500 14px/20px var(--sp-font)}

:is(html:not([data-look]), html[data-look="ios"]) .win-modal{
  background:var(--sp-surface); border:1px solid var(--sp-border); border-radius:20px; box-shadow:var(--sp-shadow-panel)}
:is(html:not([data-look]), html[data-look="ios"]) .win-name{color:var(--sp-ivory); font:700 30px/1.15 var(--sp-font)}
:is(html:not([data-look]), html[data-look="ios"]) .win-stat,:is(html:not([data-look]), html[data-look="ios"]) .win-note{
  background:var(--sp-surface-2); color:var(--sp-text); border:1px solid var(--sp-border)}
:is(html:not([data-look]), html[data-look="ios"]) .win-watch .pill-btn{
  height:42px; border-radius:14px; background:var(--sp-surface-2); color:var(--sp-text); border:1px solid var(--sp-border-strong)}

:is(html:not([data-look]), html[data-look="ios"]) .hist-list{
  background:var(--sp-surface); border:1px solid var(--sp-border); border-radius:16px}
:is(html:not([data-look]), html[data-look="ios"]) .hist-day{
  background:var(--sp-surface); color:var(--sp-text-secondary); letter-spacing:var(--sp-ls-caps); text-transform:uppercase; font:600 12px/16px var(--sp-font)}
:is(html:not([data-look]), html[data-look="ios"]) .hist-row{min-height:64px; align-items:center; color:var(--sp-text)}
:is(html:not([data-look]), html[data-look="ios"]) .hist-row b{color:var(--sp-ivory); font-weight:600}
:is(html:not([data-look]), html[data-look="ios"]) .hist-row + .hist-row{border-top:1px solid var(--sp-border)}

:is(html:not([data-look]), html[data-look="ios"]) .set-group{
  background:var(--sp-surface); border:1px solid var(--sp-border); border-radius:16px; padding:4px 14px; box-shadow:var(--sp-shadow-card)}
:is(html:not([data-look]), html[data-look="ios"]) .set-row{min-height:56px}
:is(html:not([data-look]), html[data-look="ios"]) .set-help{color:var(--sp-text-secondary); font-size:12px}

:is(html:not([data-look]), html[data-look="ios"]) :is(input[type="text"], input[type="search"], input[type="email"], textarea){
  background:var(--sp-surface); color:var(--sp-text); border:1px solid var(--sp-border); border-radius:12px; min-height:44px}
:is(html:not([data-look]), html[data-look="ios"]) :is(input[type="text"], input[type="search"], input[type="email"], textarea):focus{
  border-color:var(--sp-primary); box-shadow:0 0 0 3px rgba(168,86,107,.25); outline:none}

:is(html:not([data-look]), html[data-look="ios"]) .switch{width:39px; height:23px}
:is(html:not([data-look]), html[data-look="ios"]) .switch i{border-radius:12px; background:var(--sp-surface-3); border:1px solid var(--sp-border-strong)}
:is(html:not([data-look]), html[data-look="ios"]) .switch i::after{top:2px; left:2px; width:17px; height:17px; background:var(--sp-ivory)}
:is(html:not([data-look]), html[data-look="ios"]) .switch input:checked + i{background:var(--sp-success); border-color:transparent}
:is(html:not([data-look]), html[data-look="ios"]) .switch input:checked + i::after{transform:translateX(16px)}

:is(html:not([data-look]), html[data-look="ios"]) .seg{
  min-height:40px; border-radius:20px; background:var(--sp-surface); border:1px solid var(--sp-border); padding:2px}
:is(html:not([data-look]), html[data-look="ios"]) .seg button{height:36px; border-radius:18px; color:var(--sp-text); font-weight:600}
:is(html:not([data-look]), html[data-look="ios"]) .seg button.on,
:is(html:not([data-look]), html[data-look="ios"]) .seg button.active{background:var(--sp-ivory); color:var(--sp-bg); font-weight:700; box-shadow:none}

:is(html:not([data-look]), html[data-look="ios"]) .row{min-height:39px; border-radius:10px}
:is(html:not([data-look]), html[data-look="ios"]) .row:nth-child(odd){background:var(--sp-surface)}
:is(html:not([data-look]), html[data-look="ios"]) .row .nm{color:var(--sp-text)}

:is(html:not([data-look]), html[data-look="ios"]) .stage-wrap{background-image:var(--sp-grad-spotlight); background-repeat:no-repeat}
:is(html:not([data-look]), html[data-look="ios"]) .slot-reels{box-shadow:var(--sp-glow-slot)}
:is(html:not([data-look]), html[data-look="ios"]) #wheel{filter:drop-shadow(0 0 28px rgba(168,86,107,.28))}

/* desktop: the columns sit with the wheel and reach down to the bottom of the window, and the wheel takes the height that is left when
   everything above and below it has its place: a laptop gets a smaller wheel and tighter gaps, a tall monitor the full 560 px, and nothing
   runs under the edge of the window (Martin, 21 Oct: on a laptop the wheel went under the edge and the side panels ended half way down).
   The left rail is wide enough for a full question ("What music shall we put on?"); the right one fits "Artists" plus its count.
   (css/app.css --wheel-room: the height the wheel can have.) */
@media (min-width:1280px){
  :is(html:not([data-look]), html[data-look="ios"]) body.rail-pin main{
    grid-template-columns:minmax(360px, 440px) minmax(460px, 600px) minmax(370px, 440px);
    justify-content:center; align-items:start; gap:40px; width:auto; max-width:none; margin-inline:auto}
  :is(html:not([data-look]), html[data-look="ios"]) .wheel-wrap{
    width:min(100%, 560px, max(260px, var(--wheel-room)))}
  /* the slot machine by the same measure (its Spin button under it is measured with the rest) */
  :is(html:not([data-look]), html[data-look="ios"]) .slot-art{
    --hcap:max(280px, calc(var(--wheel-room) - 4px))}
  :is(html:not([data-look]), html[data-look="ios"]) #title{width:min(48vw, 720px); font-size:24px}
  /* (the side columns reach down to the bottom of the window: css/app.css) */
  :is(html:not([data-look]), html[data-look="ios"]) .panel{overflow:hidden}
  :is(html:not([data-look]), html[data-look="ios"]) .panel .roster{min-height:0}
}
/* a narrower computer screen (1280–1440 px): narrower gaps and margins, so the right column does not run past the edge of the window
   (360 + 480 + 340 + two gaps of 40 + the margins was 1316 px; a scroll bar takes some 15 px more). The right column is 370–440 px since
   v4.22.44 and the wheel's 460–600 (Martin, 2026-10-22 11:28, a laptop with "Resulta…" and "Excus…" in the tabs: "more dynamic, so that it
   does not happen to a text, above all a heading … there is still room to widen the whole panel a little to the sides"). */
@media (min-width:1280px) and (max-width:1439.98px){
  :is(html:not([data-look]), html[data-look="ios"]) body.rail-pin main{
    grid-template-columns:minmax(344px, 440px) minmax(460px, 600px) minmax(370px, 440px); gap:24px; padding-inline:20px}
}
@media (max-width:600px){
  :is(html:not([data-look]), html[data-look="ios"]) .wheel-wrap{width:min(100%, calc(100vw - 40px))}
}

/* the list tabs are the spec's Options / Preview, not the ivory mode switch */
@media (min-width:1280px){
  :is(html:not([data-look]), html[data-look="ios"]) .panel .seg.tabs{
    display:flex; width:100%; box-sizing:border-box; min-height:40px; border-radius:14px;
    background:var(--sp-surface-2); border:1px solid var(--sp-border); padding:3px; gap:2px}
  /* (each tab as wide as its words, the room left shared out – the four were equal, and "Resultados 4" was cut to "Resulta…" while
     "Historial" had room to spare: v4.22.44) */
  :is(html:not([data-look]), html[data-look="ios"]) .panel .seg.tabs .tab{
    flex:1 1 auto; min-width:0; height:34px; padding:0 6px; border:0; border-radius:11px;
    background:transparent; color:var(--sp-text-secondary); font-weight:600; font-size:12.5px; overflow:hidden; box-shadow:none}
  :is(html:not([data-look]), html[data-look="ios"]) .panel .seg.tabs .tab > span:not(.badge){min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
  :is(html:not([data-look]), html[data-look="ios"]) .panel .seg.tabs .tab .badge{flex:none; margin-left:3px; overflow:visible; text-overflow:clip}
  :is(html:not([data-look]), html[data-look="ios"]) .panel .seg.tabs .tab.active,
  :is(html:not([data-look]), html[data-look="ios"]) .panel .seg.tabs .tab.on{
    background:var(--sp-surface-3); color:var(--sp-ivory); font-weight:700; box-shadow:none}
}

:is(html:not([data-look]), html[data-look="ios"]) .confetti{position:absolute; left:0; right:0; top:0; height:260px; overflow:hidden; pointer-events:none}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i{
  position:absolute; top:-12px; width:4px; height:8px; border-radius:1px; opacity:0;
  background:var(--sp-primary); animation:sp-fall 1.6s ease-out 1 forwards}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(3n){height:4px; border-radius:50%; background:var(--sp-ivory)}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(3n+1){background:var(--sp-primary-light)}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(3n+2){background:var(--sp-sage)}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(5n){background:var(--sp-warning)}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(1){left:6%}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(2){left:12%}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(3){left:18%}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(4){left:24%}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(5){left:30%}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(6){left:36%}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(7){left:42%}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(8){left:48%}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(9){left:54%}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(10){left:60%}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(11){left:66%}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(12){left:72%}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(13){left:78%}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(14){left:84%}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(15){left:90%}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(16){left:9%}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(17){left:21%}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(18){left:33%}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(19){left:45%}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(20){left:57%}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(21){left:69%}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(22){left:81%}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(23){left:15%}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(24){left:75%}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(odd){animation-delay:.05s}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i:nth-child(3n){animation-duration:1.35s}
@keyframes sp-fall{to{transform:translateY(240px) rotate(180deg); opacity:.6}}
@media (prefers-reduced-motion:reduce){
  :is(html:not([data-look]), html[data-look="ios"]) .confetti i{animation:none; top:40px; opacity:.6}
}

:is(html:not([data-look]), html[data-look="ios"]) .slot-lamp{background:radial-gradient(circle closest-side, rgba(231,201,140,.95), rgba(231,201,140,0))}
:is(html:not([data-look]), html[data-look="ios"]) .slot.win .slot-reels{box-shadow:var(--sp-glow-slot)}


/* ======================================================================================================
   v4.21 – design review of 20 Oct: the whole page in one coat (the v2 kit in design/). Default coat only.
   ====================================================================================================== */

/* ---- the first page: the brand's wheel, the kit's type, line drawings, Sign in at the right ---- */
:is(html:not([data-look]), html[data-look="ios"]) .intro{background:transparent}
:is(html:not([data-look]), html[data-look="ios"]) .intro-brand{gap:10px; font:800 15px/1 var(--sp-font); letter-spacing:.14em; text-transform:uppercase; color:var(--sp-ivory)}
:is(html:not([data-look]), html[data-look="ios"]) .intro-logo{background-image:url(../design/brand/svg/spinkolach_symbol.svg)}
:is(html:not([data-look]), html[data-look="ios"]) .intro-top #introSignIn{margin-left:auto; color:var(--sp-text)}
:is(html:not([data-look]), html[data-look="ios"]) .intro-h1{font-family:var(--sp-font); font-weight:800; letter-spacing:-.03em; color:var(--sp-ivory)}
:is(html:not([data-look]), html[data-look="ios"]) .intro-lead{color:var(--sp-text-secondary)}
:is(html:not([data-look]), html[data-look="ios"]) .intro-disc{filter:drop-shadow(0 0 40px rgba(168,86,107,.32))}
:is(html:not([data-look]), html[data-look="ios"]) .intro-pin{width:24px; height:30px; top:-10px; filter:drop-shadow(0 2px 4px rgba(0,0,0,.5));
  background:radial-gradient(circle at 50% 30%, var(--sp-ivory) 0 3px, transparent 3.6px), var(--sp-grad-primary);
  clip-path:polygon(50% 100%, 4% 6%, 10% 0, 90% 0, 96% 6%)}
:is(html:not([data-look]), html[data-look="ios"]) .intro-can li::before{background:var(--sp-primary-light)}
:is(html:not([data-look]), html[data-look="ios"]) :is(.intro-foot, .home-foot){border-top-color:var(--sp-border)}
:is(html:not([data-look]), html[data-look="ios"]) .intro-cats a{color:var(--sp-text-secondary)}
:is(html:not([data-look]), html[data-look="ios"]) .intro-cats a:hover{color:var(--sp-ivory)}

/* the ready wheels (first page, Home): a card with a line drawing on its tile, as the kit's category cards */
:is(html:not([data-look]), html[data-look="ios"]) .ready-btn{min-height:68px; padding:10px 14px 10px 10px; background:var(--sp-surface); border:1px solid var(--sp-border);
  border-radius:var(--sp-radius-card); transition:background var(--sp-dur-fast), border-color var(--sp-dur-fast)}
@media (hover:hover){ :is(html:not([data-look]), html[data-look="ios"]) .ready-btn:hover{background:var(--sp-surface-2); border-color:var(--sp-border-strong)} }
:is(html:not([data-look]), html[data-look="ios"]) .ready-btn:active{background:var(--sp-surface-3)}
:is(html:not([data-look]), html[data-look="ios"]) .ready-ic{display:grid; place-items:center; width:46px; height:46px; border-radius:12px; background:var(--sp-surface-2); color:var(--sp-text); font-size:24px}
:is(html:not([data-look]), html[data-look="ios"]) .ready-ic.line-art svg{width:52%; height:52%}
:is(html:not([data-look]), html[data-look="ios"]) .ready-btn b{color:var(--sp-ivory); font:600 16px/1.25 var(--sp-font)}
:is(html:not([data-look]), html[data-look="ios"]) .ready-btn small{color:var(--sp-text-secondary); font:400 13px/1.35 var(--sp-font)}
/* the first page's six squares (css/app.css .ready-row.tiles): the drawing's tile a little smaller */
:is(html:not([data-look]), html[data-look="ios"]) .ready-row.tiles .ready-btn{height:138px; min-height:0; padding:12px}
:is(html:not([data-look]), html[data-look="ios"]) .ready-row.tiles .ready-ic{width:34px; height:34px; border-radius:10px}
:is(html:not([data-look]), html[data-look="ios"]) .ready-row.tiles .ready-ic.line-art svg{width:55%; height:55%}
:is(html:not([data-look]), html[data-look="ios"]) .ready-row.tiles .ready-btn b{font-size:15px}
:is(html:not([data-look]), html[data-look="ios"]) .ready-row.tiles .ready-btn small{font-size:12.5px}

/* who it is for: line drawings on the tiles, as Home's rows */
:is(html:not([data-look]), html[data-look="ios"]) .intro .sit-tab{background:var(--sp-surface); border:1px solid var(--sp-border); color:var(--sp-ivory); font:600 16px/1.2 var(--sp-font); gap:12px}
@media (hover:hover){ :is(html:not([data-look]), html[data-look="ios"]) .intro .sit-tab:hover{background:var(--sp-surface-2); border-color:var(--sp-border-strong)} }
:is(html:not([data-look]), html[data-look="ios"]) .intro .sit-tab.on{box-shadow:none; border-color:var(--sp-primary); background:var(--sp-surface-3)}
:is(html:not([data-look]), html[data-look="ios"]) .intro .sit-tab-ic.line-art{display:grid; place-items:center; flex:none; width:40px; height:40px; border-radius:10px; background:var(--sp-surface-2); color:var(--sp-text)}
:is(html:not([data-look]), html[data-look="ios"]) .intro .sit-tab-ic.line-art svg{width:55%; height:55%}
:is(html:not([data-look]), html[data-look="ios"]) .intro .sit-tile{background:var(--sp-surface); border:1px solid var(--sp-border)}

/* a phone: Next stays in reach at the bottom while the page scrolls under it */
@media (max-width:699px){
  :is(html:not([data-look]), html[data-look="ios"]) .intro-next{position:sticky; bottom:calc(12px + env(safe-area-inset-bottom, 0px)); z-index:3; width:100%;
    box-shadow:0 -14px 22px 14px rgba(14,12,13,.96)}
}

/* ---- the header: the brand once. The stock name "Spinkolach" is the wordmark's; a wheel with a name of its own shows that name
   (a phone: the mark and the name, as the kit's top bar) – js/controls.js sets .title-stock ---- */
:is(html:not([data-look]), html[data-look="ios"]) .wordmark b{color:var(--sp-ivory)}
:is(html:not([data-look]), html[data-look="ios"]) .wordmark small{color:var(--sp-text-secondary)}
:is(html:not([data-look]), html[data-look="ios"]) .brand.title-stock :is(#title, .title-show){display:none}
:is(html:not([data-look]), html[data-look="ios"]) #title{color:var(--sp-ivory)}
@media (max-width:640px){
  :is(html:not([data-look]), html[data-look="ios"]) .brand:not(.title-stock) .wordmark{display:none}
  :is(html:not([data-look]), html[data-look="ios"]) .brand.title-stock .wordmark b{font-size:15px; letter-spacing:.14em}
}
/* a computer: "Set up your wheel" is the left column's New wheel and its questions – one way in, not two */
:is(html:not([data-look]), html[data-look="ios"]) body.rail-pin .setup-row{display:none}
:is(html:not([data-look]), html[data-look="ios"]) .share-btn,
:is(html:not([data-look]), html[data-look="ios"]) .clear-btn{height:36px; padding:0 14px; border-radius:var(--sp-radius-pill); font:600 13.5px/1 var(--sp-font)}

/* ---- the result: the brand's light behind the winner, one main button, the day once, confetti that falls and goes ---- */
:is(html:not([data-look]), html[data-look="ios"]) .stage{background:var(--sp-bg)}
:is(html:not([data-look]), html[data-look="ios"]) .aurora i:nth-child(1){--c:var(--sp-primary)}
:is(html:not([data-look]), html[data-look="ios"]) .aurora i:nth-child(2){--c:var(--sp-primary-dark); opacity:.75}
:is(html:not([data-look]), html[data-look="ios"]) .aurora i:nth-child(3){--c:var(--sp-warning); opacity:.18}
:is(html:not([data-look]), html[data-look="ios"]) .spot{background:radial-gradient(50% 60% at 50% 0%, rgba(244,236,231,.12), transparent 70%)}
:is(html:not([data-look]), html[data-look="ios"]) .floor{background:linear-gradient(180deg, rgba(244,236,231,0), rgba(244,236,231,.05))}
/* the day: a quiet tile in the coat's colours (it was a white iOS tile, the brightest thing on the card) */
:is(html:not([data-look]), html[data-look="ios"]) .day-card{background:var(--sp-surface-2); border:1px solid var(--sp-border); box-shadow:var(--sp-shadow-sm)}
:is(html:not([data-look]), html[data-look="ios"]) .cal{background:var(--sp-surface-3); border:1px solid var(--sp-border-strong); box-shadow:none}
:is(html:not([data-look]), html[data-look="ios"]) .cal-m{color:var(--sp-primary-light); font-weight:700}
:is(html:not([data-look]), html[data-look="ios"]) .cal-d{color:var(--sp-ivory); font-weight:700}
:is(html:not([data-look]), html[data-look="ios"]) .day-label{color:var(--sp-text-secondary)}
:is(html:not([data-look]), html[data-look="ios"]) .day-name{color:var(--sp-ivory)}
:is(html:not([data-look]), html[data-look="ios"]) .win-stat{background:color-mix(in srgb, var(--sp-warning) 12%, var(--sp-surface-2)); color:var(--sp-warning); border:1px solid color-mix(in srgb, var(--sp-warning) 22%, transparent)}
:is(html:not([data-look]), html[data-look="ios"]) .joke{background:var(--sp-surface-2); color:var(--sp-text)}
:is(html:not([data-look]), html[data-look="ios"]) .joke:hover{background:var(--sp-surface-3)}
:is(html:not([data-look]), html[data-look="ios"]) .joke svg{color:var(--sp-primary-light)}
:is(html:not([data-look]), html[data-look="ios"]) .move{color:var(--sp-text-secondary)}
/* the confetti falls round the crown and the name, and is gone when it lands (it stayed in a row at the foot of the picture) */
:is(html:not([data-look]), html[data-look="ios"]) .win-modal .modal-body{position:relative}
:is(html:not([data-look]), html[data-look="ios"]) .confetti{height:200px}
:is(html:not([data-look]), html[data-look="ios"]) .confetti i{animation-name:sp-fall-out}
@keyframes sp-fall-out{0%{opacity:0} 12%{opacity:1} 70%{opacity:.9} 100%{transform:translateY(190px) rotate(200deg); opacity:0}}

/* ---- Home: Your lists in the kit's chips and buttons ---- */
:is(html:not([data-look]), html[data-look="ios"]) .list-sel{gap:8px; margin:0 0 12px}
:is(html:not([data-look]), html[data-look="ios"]) .list-chip{height:var(--sp-h-chip); padding:0 14px; border-radius:var(--sp-radius-pill); background:var(--sp-surface); border:1px solid var(--sp-border); color:var(--sp-text); font:600 13.5px/1 var(--sp-font); cursor:pointer}
:is(html:not([data-look]), html[data-look="ios"]) .list-chip:hover{background:var(--sp-surface-2)}
:is(html:not([data-look]), html[data-look="ios"]) .list-chip.on{background:var(--sp-ivory); border-color:transparent; color:var(--sp-bg)}
:is(html:not([data-look]), html[data-look="ios"]) .list-chip.add{width:var(--sp-h-chip); padding:0; font-size:18px; color:var(--sp-text-secondary)}
:is(html:not([data-look]), html[data-look="ios"]) #homeCrew .home-empty{margin:0 0 10px; color:var(--sp-text)}
.crew-acts{display:flex; flex-wrap:wrap; gap:8px; margin:0 0 14px}
.crew-acts:not(:has(> :not([hidden]))){display:none}
:is(html:not([data-look]), html[data-look="ios"]) .crew-acts .btn{height:40px; padding:0 16px; border-radius:var(--sp-radius-pill); font-size:14px}
:is(html:not([data-look]), html[data-look="ios"]) .btn.ghost.danger{color:var(--sp-error); border-color:color-mix(in srgb, var(--sp-error) 35%, var(--sp-border))}
:is(html:not([data-look]), html[data-look="ios"]) .btn.ghost.danger:hover{background:color-mix(in srgb, var(--sp-error) 12%, var(--sp-surface-2)); color:var(--sp-error)}
:is(html:not([data-look]), html[data-look="ios"]) #homeCrew .ready-row{margin-top:4px}

/* ---- layout: no hard edges, nothing cut in half ---- */
/* the light behind the wheel fades out inside its box (a fixed-size spot at the corner showed the box's edge as a rectangle) */
:is(html:not([data-look]), html[data-look="ios"]) .stage-wrap{background-image:radial-gradient(closest-side at 50% 42%, rgba(168,86,107,.16), rgba(168,86,107,0))}
/* the side panel's help keeps its two lines whole (the list above it gives way instead) */
:is(html:not([data-look]), html[data-look="ios"]) .panel .help{flex:none; color:var(--sp-text-secondary)}
/* the left column's list fades out at its foot instead of ending on half a row */
:is(html:not([data-look]), html[data-look="ios"]) .rail-scroll{-webkit-mask-image:linear-gradient(180deg, #000 calc(100% - 28px), transparent); mask-image:linear-gradient(180deg, #000 calc(100% - 28px), transparent); padding-bottom:20px}
/* the left column's quick ways as the kit's ghost buttons, not four boxes with a dark cell each */
:is(html:not([data-look]), html[data-look="ios"]) .rail-cuts{display:flex; flex-wrap:wrap; gap:8px}
:is(html:not([data-look]), html[data-look="ios"]) .rail-cut{flex:0 1 auto; min-height:38px; gap:8px; padding:0 14px 0 11px; border-radius:var(--sp-radius-pill); background:var(--sp-surface-2);
  border:1px solid var(--sp-border); color:var(--sp-text); font:600 13.5px/1.2 var(--sp-font)}
@media (hover:hover){ :is(html:not([data-look]), html[data-look="ios"]) .rail-cut:hover{background:var(--sp-surface-3); color:var(--sp-ivory)} }
:is(html:not([data-look]), html[data-look="ios"]) .rail-cut-ic{width:auto; align-self:center; background:none; color:var(--sp-text-secondary)}
:is(html:not([data-look]), html[data-look="ios"]) .rail-cut-ic svg{width:17px; height:17px}
:is(html:not([data-look]), html[data-look="ios"]) .rail-cut-t{display:block; white-space:nowrap}
/* (v4.22.29: New wheel first – a wide wine pill, the first thing to do; the link, how it works and the settings beside each other under it) */
:is(html:not([data-look]), html[data-look="ios"]) .rail-cuts{flex-direction:column; flex-wrap:nowrap}
:is(html:not([data-look]), html[data-look="ios"]) .rail-cut.rail-cut-main{flex:none; justify-content:center; gap:10px; min-height:52px; padding:0 18px; border-color:rgba(197,121,137,.6);
  background:linear-gradient(180deg, rgba(197,121,137,.42) 0%, rgba(168,86,107,.30) 100%); color:var(--sp-ivory, #F4ECE7); font:700 16px/1.2 var(--sp-font);
  box-shadow:0 6px 18px rgba(168,86,107,.18)}      /* (lightly wine: Martin, 21 Oct 21:52) */
@media (hover:hover){ :is(html:not([data-look]), html[data-look="ios"]) .rail-cut.rail-cut-main:hover{background:linear-gradient(180deg, rgba(209,142,157,.50) 0%, rgba(168,86,107,.38) 100%); color:var(--sp-ivory, #F4ECE7)} }
:is(html:not([data-look]), html[data-look="ios"]) .rail-cut.rail-cut-main .rail-cut-ic{width:auto; background:none; color:var(--sp-ivory, #F4ECE7)}
:is(html:not([data-look]), html[data-look="ios"]) .rail-cut.rail-cut-main .rail-cut-ic svg{width:20px; height:20px}
:is(html:not([data-look]), html[data-look="ios"]) .rail-cuts-row .rail-cut{flex-direction:column; justify-content:center; gap:5px; min-height:60px; padding:8px 4px; border-radius:14px}
:is(html:not([data-look]), html[data-look="ios"]) .rail-cuts-row .rail-cut-t{white-space:normal; text-align:center; font-size:12.5px; line-height:1.15}
:is(html:not([data-look]), html[data-look="ios"]) .rail-lead{color:var(--sp-text-secondary)}
:is(html:not([data-look]), html[data-look="ios"]) .rail{background:var(--sp-surface); border:1px solid var(--sp-border)}

/* a phone: the wheel's screen sits in the middle of the room it has, and Options / Results / Stats are one segmented row (the kit's tabs) */
html[data-app][data-screen="wheel"]:is(:not([data-look]), [data-look="ios"]) main{align-content:center}
html[data-app][data-look="ios"][data-screen="wheel"] .phone-jumps{flex-wrap:nowrap; gap:2px; width:min(100%, 340px); margin:6px auto 0; padding:3px; box-sizing:border-box;
  background:var(--sp-surface); border:1px solid var(--sp-border); border-radius:14px}
html[data-app][data-look="ios"] .phone-jumps button{flex:1 1 0; min-width:0; height:38px; padding:0 8px; border:0; border-radius:11px; background:transparent;
  color:var(--sp-text-secondary); font:600 14px/1 var(--sp-font); cursor:pointer; -webkit-tap-highlight-color:transparent}
html[data-app][data-look="ios"] .phone-jumps button:active{background:var(--sp-surface-3); color:var(--sp-ivory)}
:is(html:not([data-look]), html[data-look="ios"]) .home-about-top h2 img{content:url(../design/brand/svg/spinkolach_symbol.svg)}     /* (the official mark, as in the header) */

/* ---- the tools (coin flip, split into groups): the kit's sheet ---- */
:is(html:not([data-look]), html[data-look="ios"]) .tool-overlay{background:rgba(8,6,7,.72); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px)}
:is(html:not([data-look]), html[data-look="ios"]) .tool-dialog{width:min(440px, 100%); box-sizing:border-box; padding:18px 20px 22px; background:var(--sp-surface);
  border:1px solid var(--sp-border); border-radius:24px; box-shadow:var(--sp-shadow-panel)}
html[data-app]:is(:not([data-look]), [data-look="ios"]) .tool-dialog{width:100%; border-width:1px 0 0; border-radius:24px 24px 0 0}
:is(html:not([data-look]), html[data-look="ios"]) .tool-head h2{font:700 20px/1.2 var(--sp-font); color:var(--sp-ivory)}
:is(html:not([data-look]), html[data-look="ios"]) .tool-lead{color:var(--sp-text-secondary); font:400 14.5px/1.45 var(--sp-font)}
:is(html:not([data-look]), html[data-look="ios"]) .tool-names{background:var(--sp-bg); border-color:var(--sp-border); border-radius:12px; color:var(--sp-text)}
:is(html:not([data-look]), html[data-look="ios"]) .tool-overlay .tool-mode{background:var(--sp-bg); border-color:var(--sp-border)}
:is(html:not([data-look]), html[data-look="ios"]) .tool-overlay .tool-mode button{color:var(--sp-text-secondary); font-family:var(--sp-font)}
:is(html:not([data-look]), html[data-look="ios"]) .tool-overlay .tool-mode button.on{background:var(--sp-ivory); color:var(--sp-bg)}
:is(html:not([data-look]), html[data-look="ios"]) .coin3d-side{color:var(--sp-ivory); font-family:var(--sp-font)}
:is(html:not([data-look]), html[data-look="ios"]) .coin3d-side.is-heads{color:var(--sp-warning)}

/* the header with a wheel's own name: the field leaves room for the podium and the buttons (v4.21: the name took 48vw and pushed the
   buttons under it); should they still wrap, they keep to the right */
@media (min-width:1280px){
  :is(html:not([data-look]), html[data-look="ios"]) #title{width:min(30vw, 440px)}
}
:is(html:not([data-look]), html[data-look="ios"]) .top-actions{margin-left:auto}
:is(html:not([data-look]), html[data-look="ios"]) .tool-row{color:var(--sp-text); font-family:var(--sp-font)}
:is(html:not([data-look]), html[data-look="ios"]) .tool-err{color:var(--sp-error)}
/* a baby name's facts and the share choice in the default look (js/names.js, js/winner.js) */
:is(html:not([data-look]), html[data-look="ios"]) .win-facts{background:var(--sp-surface-2); border:1px solid var(--sp-border)}
:is(html:not([data-look]), html[data-look="ios"]) .nf-lines li{color:var(--sp-text); font-family:var(--sp-font)}
:is(html:not([data-look]), html[data-look="ios"]) .nf-meaning{color:var(--sp-text-secondary)}
:is(html:not([data-look]), html[data-look="ios"]) .nf-spark polyline{stroke:var(--sp-warning)}
:is(html:not([data-look]), html[data-look="ios"]) .nf-spark circle{fill:var(--sp-warning)}
:is(html:not([data-look]), html[data-look="ios"]) .share-choice{background:var(--sp-surface); border:1px solid var(--sp-border); box-shadow:var(--sp-shadow-panel)}
:is(html:not([data-look]), html[data-look="ios"]) .share-choice .share-h{color:var(--sp-ivory); font-family:var(--sp-font)}
