/* S my selections «the family board» — Figma 2306:250995 (desktop) · 2306:251375 (mobile) · S3A 2306:251276 · S3B 2306:251290 ·
   S3C 2306:251296 (spec/S.md). New tokens: BOARD gradient top→bottom rgb(43,38,32)→rgb(33,29,24) · TOTALBG #231E19 ·
   CHIPDARK #0F0C09@.92 · SCRIM #080605@.92. Cards = the homepage card «as is» (site.css .card; flips by site.js). */
.s-page[data-state="loading"] [data-s-full],.s-page[data-state="loading"] [data-s-empty]{visibility:hidden}
.s-page [hidden]{display:none!important}
.s-page[data-state="empty"] [data-s-full]{display:none!important} .s-page[data-state="empty"] [data-s-empty][hidden]{display:block!important}
.s2{height:calc(300 * var(--u))} .s3k{height:calc(70 * var(--u))} .s4{height:calc(420 * var(--u))} .s5{height:calc(240 * var(--u))}
.s3{height:calc(var(--h, var(--s-h, 1100)) * var(--u))} .s3.shared{height:calc(var(--h, var(--s-h, 1100)) * var(--u))}
.s3b{height:calc(600 * var(--u))} .s3c-h{height:calc(200 * var(--u))} .s3c-f{height:calc(110 * var(--u))}
.s-zone{position:relative}
.s-chip{display:inline-flex;align-items:center;justify-content:center;white-space:pre;color:var(--ivory);box-shadow:inset 0 0 0 1px rgba(187,169,146,.35);transition:box-shadow .2s,color .2s,background .2s}
.s-chip b{font-weight:400}
.s-chip.on,.s-chip[aria-pressed="true"]{background:rgba(240,217,178,.14);box-shadow:inset 0 0 0 1px var(--gold);color:var(--gold)}
.s-chip:disabled{opacity:.45;cursor:default}
.s-chip:not(:disabled):hover{box-shadow:inset 0 0 0 1px var(--gold)}
/* the board */
.s-board{height:calc(var(--bh, var(--s-bh, 1010)) * var(--u));background:linear-gradient(to bottom,rgb(43,38,32),rgb(33,29,24));border-radius:2px;overflow:hidden}
.s-rail{position:absolute;left:0;width:100%;height:1px;top:calc(var(--y) * var(--u));background:rgba(240,217,178,.45)}
.s-hang{position:absolute;left:calc(var(--x) * var(--u));top:calc(var(--y) * var(--u));width:1px;height:calc(24 * var(--u));background:rgba(240,217,178,.6)}
.s-slot{position:absolute;left:calc(var(--x) * var(--u));top:calc(var(--y) * var(--u));width:calc(300 * var(--u));transition:left .3s cubic-bezier(.4,0,.2,1),top .3s cubic-bezier(.4,0,.2,1)}
.s-slot.dragging{transition:none;z-index:10;cursor:grabbing}
.s-slot.dragging .card{box-shadow:0 calc(18 * var(--u)) calc(40 * var(--u)) rgba(0,0,0,.55);border-radius:calc(25 * var(--u))}
.s-board[data-s-board="d"] .s-slot .card{cursor:grab}
.s-rm{position:absolute;left:0;top:calc(392 * var(--u));font-family:var(--mont);font-size:calc(8.5 * var(--uf) * var(--tk,1));letter-spacing:.04em;line-height:normal;color:var(--taupe);white-space:pre}
.s-rm .ar{font-family:var(--ar);font-size:.95em;letter-spacing:0}
.s-rm:hover{color:var(--gold)}
.s-heart{position:absolute;left:calc(14 * var(--u));top:calc(14 * var(--u));width:calc(50 * var(--u));height:calc(50 * var(--u));border-radius:50%;z-index:3;
  background:rgba(15,12,9,.92);color:var(--gold);font-family:var(--ar);font-size:calc(22 * var(--uf) * var(--tk,1));line-height:1;display:flex;align-items:center;justify-content:center}
.s-heart.on{color:#e05a4f}
.s-hint{position:absolute;left:calc(var(--x) * var(--u));top:calc(var(--y) * var(--u));font-family:var(--ar);font-size:calc(11.5 * var(--uf) * var(--tk,1));line-height:calc(18 * var(--uf));color:var(--taupe);white-space:nowrap;pointer-events:none}
/* totals */
.s-tot{background:#231e19;border-radius:calc(14 * var(--u))}
.s-strike{text-decoration:line-through;text-decoration-thickness:1px}
.s-total{display:flex;align-items:baseline;gap:calc(26 * var(--u));line-height:1}
.s-total .n{font-size:calc(72 * var(--uf) * var(--tk,1))} .s-total .k{font-size:calc(24 * var(--uf) * var(--tk,1))}
.b-gold[aria-busy="true"]{opacity:.6;pointer-events:none}
/* S3A window */
.s-win-st{height:max(100vh,calc(1000 * var(--u)))}
.s-wbox{background:#1f1b17;border-radius:calc(14 * var(--u))}
.s-wlink{background:#120f0c;box-shadow:inset 0 0 0 1px rgba(240,217,178,.4)}
.s-wurl{position:absolute;left:calc(20 * var(--u));top:0;width:calc(540 * var(--u));height:100%;border:0;outline:0;background:transparent;color:var(--ivory);padding:0;
  font-size:calc(13 * var(--uf) * var(--tk,1));letter-spacing:.04em;text-overflow:ellipsis}
.s-wcopy{position:absolute;right:calc(20 * var(--u));top:0;height:100%;white-space:pre}
.s-wcopy:hover{color:var(--ivory)}
.s-wx{font-size:calc(30 * var(--uf) * var(--tk,1))}
@media (max-width: 760px){
  .sm-top{height:calc(297 * var(--m))} .sm-top.shared{height:calc(297 * var(--m))}
  .sm-col{height:calc(var(--h, var(--s-mh, 483.2)) * var(--m));--k:1.14}
  .sm-rail{left:calc(195 * var(--m));top:0;width:1px;height:100%;background:rgba(240,217,178,.45);opacity:.6}
  .sm-board{position:absolute;inset:0}
  .sm-board .s-slot{width:calc(342 * var(--m))}
  .sm-board .s-rm{left:auto;right:0;top:calc(443 * var(--m));font-size:calc(8.5 * var(--m) * var(--tk,1));letter-spacing:.04em}
  .sm-board .s-heart{left:calc(14 * var(--m) * 1.14);top:calc(14 * var(--m) * 1.14);width:calc(50 * var(--m) * 1.14);height:calc(50 * var(--m) * 1.14);font-size:calc(22 * var(--m) * 1.14 * var(--tk,1))}
  .sm-tail{height:calc(470 * var(--m))} .sm-tail-s{height:calc(40 * var(--m))} .sm-tail-s.sm-tail-add{height:calc(90 * var(--m))}
  /* S52 B-014: the board scrolls under the fixed phone header from the first pixel (no hero here) — the header keeps its ground */
  /* C38: the phone band has no ground on any page (was: .page-selections .hdr-m) */
  .sm-empty{height:calc(380 * var(--m))}
  .s-tot{border-radius:calc(14 * var(--m))}
  .s-total.m{gap:calc(10 * var(--m))}
  .s-total.m .n{font-size:calc(52 * var(--m) * var(--tk,1))} .s-total.m .k{font-size:calc(18 * var(--m) * var(--tk,1))}
  .s-win-st{height:100vh}
  .s-wbox{left:calc(12 * var(--m))!important;top:calc(120 * var(--m))!important;width:calc(366 * var(--m))!important;height:calc(470 * var(--m))!important}
  .s-wbox > *{--sc:.47}
  .s-wbox .s-wlink,.s-wbox .b-gold,.s-wbox .ta-r,.s-wbox p.w{left:calc(18 * var(--m))!important;width:calc(330 * var(--m))!important}
  .s-wbox > p.nw{left:calc(18 * var(--m))!important}
  .s-wbox .s-wurl{width:calc(196 * var(--m));font-size:calc(11 * var(--m) * var(--tk,1))}
  .s-wbox .f-news{font-size:calc(22 * var(--m) * var(--tk,1))}
  .s-wx{left:calc(330 * var(--m))!important;top:calc(10 * var(--m))!important}
}
@media (prefers-reduced-motion: reduce){ .s-slot,.s-chip{transition:none} }
