/* GetWheelSpinner v9.0 — Yes or No decision tool. Loaded ONLY on /yes-or-no-wheel/ (after v8-play.css, before v81.css).
   Every rule is scoped to body.yn-page or to #yn-* / .yn-* elements that exist only on that page. */

/* a fixed Yes / No tool: the generic option editor is not offered (it would break the 50/50 promise) */
.yn-page .controls-col .yn-editor,.yn-page #opts-card{display:none !important}

/* decision identity: Yes-green to No-red actions (white text >= 4.5:1 on both stops) */
.yn-page #spin-btn,.yn-page #yn-bo3-go{background:linear-gradient(135deg,#15803D,#B91C1C);color:#FFFFFF;border:0}
.yn-page #spin-btn:disabled,.yn-page #yn-bo3-go:disabled{background:rgba(148,163,184,.25);color:rgba(226,232,240,.8)}
html[data-theme="light"] .yn-page #spin-btn:disabled,html[data-theme="light"] .yn-page #yn-bo3-go:disabled{background:#E2E8F0;color:#475569}
.yn-page #spin-btn:focus-visible,.yn-page #yn-bo3-go:focus-visible{outline:3px solid #A5B4FC;outline-offset:3px}

/* mode switch: 44 px targets, neutral ink for the selected mode */
.yn-page .yn-mode{min-height:44px;min-width:44px}
.yn-page .yn-mode[aria-pressed="true"]{background:#F8FAFC;color:#0F172A}
html[data-theme="light"] .yn-page .yn-mode[aria-pressed="true"]{background:#1E293B;color:#FFFFFF}
.yn-page .yn-mode:focus-visible{outline:3px solid #A5B4FC;outline-offset:2px}
.yn-page .yn-q:focus{outline:3px solid #A5B4FC;outline-offset:1px;border-color:#6366F1}
.yn-page.yn-series .yn-mode:disabled{opacity:.6}

/* result: interim Best-of-3 answers are smaller than the final answer */
.yn-page .yn-result.is-interim .yn-answer{font-size:clamp(40px,8vw,60px)}
.yn-page .yn-result.is-spinning .yn-answer{color:rgba(226,232,240,.78)}
html[data-theme="light"] .yn-page .yn-result.is-spinning .yn-answer{color:#475569}
.yn-page .yn-actions button:disabled{opacity:.6;cursor:not-allowed}
.yn-page .yn-result .yn-sub{overflow-wrap:anywhere}
.yn-page .yn-dots{flex-wrap:wrap}
.yn-page .yn-dot{min-height:32px;display:inline-flex;align-items:center;justify-content:center}
.yn-page .yn-dot.is-skip{border-style:dotted;opacity:1;color:rgba(226,232,240,.78)}
html[data-theme="light"] .yn-page .yn-dot{color:#334155}
html[data-theme="light"] .yn-page .yn-dot.is-skip{color:#475569}
.yn-page .yn-actions button[hidden]{display:none}
.yn-page .yn-actions button:focus-visible{outline:3px solid #A5B4FC;outline-offset:2px}

/* "How this decision works" card (right column on desktop, below the result on phones) */
.yn-info{display:flex;flex-direction:column;gap:10px}
.yn-status{font-size:14px;font-weight:700;line-height:1.45;padding:10px 12px;border-radius:12px;border:1px solid rgba(34,197,94,.45);background:rgba(34,197,94,.08)}
.yn-status.is-warn{border-color:rgba(239,68,68,.6);background:rgba(239,68,68,.10)}
.yn-reset{min-height:44px;align-self:flex-start;padding:0 16px}
.yn-reset[hidden]{display:none}
.yn-info-list{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px;font-size:14px;line-height:1.5;color:rgba(226,232,240,.9)}
.yn-info-more{font-size:14px;color:rgba(226,232,240,.9)}
.yn-info-more a{color:#A5B4FC;font-weight:700;text-decoration:underline;text-underline-offset:2px;display:inline-block;padding:6px 0}
html[data-theme="light"] .yn-info-list,html[data-theme="light"] .yn-info-more{color:#334155}
html[data-theme="light"] .yn-info-more a{color:#3730A3}
html[data-theme="light"] .yn-status{color:#14532D;background:#F0FDF4}
html[data-theme="light"] .yn-status.is-warn{color:#7F1D1D;background:#FEF2F2}

@media (prefers-reduced-motion:reduce){.yn-page .yn-pop{animation:none}}
