/* ===== build 55: YO's secret tests (Home card, the three tests, the reveal) and "Where did you find it?" on a YO card.
   Same B look as builds 50-54: hairlines, pills, one ruby touch. Colours only from tokens.css (--b-*). Existing screens
   unchanged. ===== */

/* Home: YO's secret test (same box as YO's mission) */
.sx-home-w:empty{display:none}
.sx-home{margin:4px 16px 12px;padding:14px;border:1px solid var(--b-hair);border-radius:16px;background:var(--b-yo);color:var(--b-ink)}
.sx-home .sx-line{margin-top:8px}
.sx-home .dw-q{margin:6px 0 2px;font-size:13.5px;font-weight:600;color:var(--b-dim)}
.sx-home .wk-go .ic{stroke:currentColor}

/* the screen */
.sx{display:flex;flex-direction:column}
.sx-hero.col{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:4px 0 10px}
.sx-yo{flex:none;width:118px;height:132px}
.sx-yo.sm{width:84px;height:94px}
.sx-yo .yo-svg{width:100%;height:100%;display:block}
.sx-tag{margin:2px 0 0;font:600 11.5px/1.3 var(--body);letter-spacing:.06em;text-transform:uppercase;color:var(--b-rt)}
.sx-h{margin:6px 0 2px;font:700 22px/1.25 var(--body);letter-spacing:-.01em;color:var(--b-ink);text-align:center;outline:none}
.sx-hero .sub{margin:4px 0 0}
.sx-cite{margin:2px 0 0;font-size:13px;line-height:1.35;color:var(--b-dim)}
.sx-acts{padding:14px 0 0}
.sx .msg:empty{margin:0}
.sx .hint.center{text-align:center}
.sx > .sub{margin:4px 0 0;text-align:center}

/* agree first */
.sx-rules{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.sx-rules li{display:flex;gap:10px;align-items:flex-start;font-size:14.5px;line-height:1.42;color:var(--b-ink)}
.sx-rules .ic{flex:none;width:18px;height:18px;margin-top:2px;stroke:var(--b-rt);stroke-width:2.4}

/* the list of tests */
.sx-list{list-style:none;margin:10px 0 0;padding:0}
.sx-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--b-hair)}
.sx-row:last-child{border-bottom:0}
.sx-num{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;border:1px solid var(--b-hot);color:var(--b-rt);font:700 14px/1 var(--body)}
.sx-num .ic{width:16px;height:16px;stroke:var(--b-rt);stroke-width:2.6}
.sx-rt{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.sx-rt b{font:700 15px/1.3 var(--body);color:var(--b-ink)}
.sx-rt small{font-size:12.5px;line-height:1.35;color:var(--b-dim)}
.sx-go{flex:none}

/* the anchor number */
.sx-wheel-w{display:flex;justify-content:center;padding:10px 0 4px}
.sx-wheel{display:grid;place-items:center;width:132px;height:132px;margin:0;border-radius:50%;border:3px dashed var(--b-ol);font:700 44px/1 var(--body);color:var(--b-ink);font-variant-numeric:tabular-nums}
.sx-wheel.on{border:3px solid var(--b-hot);color:var(--b-rt)}
.sx-said{margin:12px 0 0;font:600 14px/1.35 var(--body);text-align:center;color:var(--b-dim)}
.sx-q{margin:10px 0 0;font:700 17px/1.38 var(--body);text-align:center;color:var(--b-ink);outline:none}
.sx-pick{margin:8px 0 0;font:700 15px/1.3 var(--body);text-align:center;color:var(--b-rt)}
.sx-two{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px 0 0}
.sx-two .pill-o{width:100%}
.sx-gform{display:flex;flex-direction:column;padding:16px 0 0}
.sx-gform .xlbl{margin:0 0 4px}
.sx-grow{display:flex;align-items:flex-end;gap:8px}
.sx-grow .ln{flex:1;min-width:0;margin:0;font-size:20px}
.sx-pct{flex:none;padding:0 4px 10px;font:700 20px/1 var(--body);color:var(--b-dim)}
.sx-gform .pill-w{margin-top:12px}

/* the honest die */
.sx-prize-l{margin:8px 0 0;font:600 14px/1.35 var(--body);text-align:center;color:var(--b-rt)}
.sx-die-w{display:flex;justify-content:center;padding:14px 0 2px}
.sx-die{width:112px;height:112px}
.sx-die-f{width:100%;height:100%;display:block}
.sx-die-b{fill:var(--b-surf);stroke:var(--b-hot);stroke-width:3}
.sx-pip{fill:var(--b-ink)}
.sx-die.spin{animation:sxShake .16s linear infinite}
@keyframes sxShake{0%{transform:rotate(-8deg)}50%{transform:rotate(8deg)}100%{transform:rotate(-8deg)}}
.sx-ask .hint{margin:12px 0 0;text-align:center}
.sx-dq{margin:14px 0 8px;text-align:center}
.sx-six{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}
.sx-six .pill-o{width:100%;min-width:0;padding:0;height:48px;font-size:18px}

/* the marshmallow box */
.sx-gift-w{display:flex;justify-content:center;padding:8px 0 0}
.sx-gift{width:120px;height:120px;display:block}
.sx-clock{margin:6px 0 0;font:700 44px/1.1 var(--body);text-align:center;color:var(--b-ink);font-variant-numeric:tabular-nums}
.sx-q + .hint{margin:8px 0 0}

/* the reveal */
.sx-name{font-size:24px}
.sx-sec{padding:12px 0;border-bottom:1px solid var(--b-hair)}
.sx-sec .xlbl{margin:0 0 4px}
.sx-p{margin:0;font-size:15px;line-height:1.5;color:var(--b-ink)}
.sx-truth{margin-top:8px;font-weight:700;color:var(--b-rt)}
.sx-you{margin:0;font:700 16px/1.4 var(--body);color:var(--b-ink)}
.sx-kind{margin:12px 0 0;font:600 13.5px/1.45 var(--body);color:var(--b-dim)}
.sx-prize{display:flex;gap:10px;align-items:flex-start;margin:12px 0 0;padding:12px 14px;border:1px solid var(--b-hair);border-radius:14px;background:var(--b-yo);font-size:14px;line-height:1.42;color:var(--b-ink)}
.sx-prize .ic{flex:none;width:18px;height:18px;margin-top:1px;stroke:var(--b-rt)}
.sx-world{margin-top:14px;padding:6px 14px 14px;border:1px solid var(--b-hair);border-radius:16px;background:var(--b-yo)}
.sx-world .xlbl{margin:10px 0 4px;color:var(--b-rt)}
.sx-world .sub.left{margin:0;font-size:13.5px;text-align:start}
.sx-stat{margin:4px 0 0;font:700 15px/1.4 var(--body);color:var(--b-ink)}
.sx-bars{list-style:none;display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin:10px 0 0;padding:0}
.sx-bars li{display:flex;flex-direction:column;align-items:center;gap:3px}
.sx-bar{display:flex;align-items:flex-end;width:100%;height:64px;border-radius:6px;background:var(--b-surf)}
.sx-bar i{display:block;width:100%;border-radius:6px;background:var(--b-ol)}
.sx-bars li.six .sx-bar i{background:var(--b-hot)}
.sx-bars b{font:700 12px/1.2 var(--body);color:var(--b-ink)}
.sx-bars small{font-size:12px;line-height:1.2;color:var(--b-dim)}
.sx-add{margin-top:14px}
.sx-add:empty{display:none}
.sx-addt{margin:0;font:700 16px/1.35 var(--body);color:var(--b-ink)}
.sx-add .sub.left{margin:4px 0 0;font-size:13.5px}
.sx-add .check{margin-top:4px}
.sx-img{margin-top:16px}
.sx-prev{display:grid;place-items:center;min-height:120px;border-radius:14px;overflow:hidden;background:var(--b-surf)}
.sx-prev img{display:block;width:100%;height:auto;aspect-ratio:4/5}
.sx-prev .sub{margin:0;padding:20px;font-size:13px}
.sx-end{padding-bottom:8px}
.sx-save .ic,.sx-end .ic{stroke:currentColor}

/* YO page row and owner's Numbers */
.sx-yorow{display:flex;align-items:center;justify-content:space-between;gap:10px;text-decoration:none;color:var(--b-ink)}
.sx-yorow .yo-num .ic{width:16px;height:16px;stroke:currentColor}
.sx-yorow > .ch{flex:none;width:18px;height:18px;stroke:var(--b-dim)}
.sx-stats{margin-top:4px}

/* "Where did you find it?" on a found YO card */
.dk-where{display:flex;flex-direction:column;margin:14px 0 0;padding:12px 14px 14px;border:1px solid var(--b-hair);border-radius:16px}
.dk-where .xlbl{margin:0 0 2px}
.dk-where .sub.left{margin:0 0 6px;font-size:13px}
.dk-where .msg{margin:8px 0 0}

@media (prefers-reduced-motion:reduce){.sx-die.spin{animation:none}}
