.sw { display: grid; gap: 20px; align-items: start; }
@media (min-width: 860px) { .sw { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.sw-stage { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.sw-wheel { position: relative; width: min(100%, 440px); aspect-ratio: 1; }
.sw-wheel canvas { width: 100%; height: 100%; display: block; border-radius: 50%; box-shadow: 0 8px 28px rgba(2, 96, 162, .18); touch-action: manipulation; }
.sw-pointer { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 0; height: 0;
  border-left: 18px solid transparent; border-right: 18px solid transparent; border-top: 34px solid #9D0207; filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); z-index: 2; }
.sw-hub { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 22%; aspect-ratio: 1; border-radius: 50%;
  border: 5px solid #fff; background: #0260A2; color: #fff; font: 800 clamp(.8rem, 3.2vw, 1.05rem)/1 inherit; letter-spacing: .04em; cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,.25); }
.sw-hub:hover { background: #014f86; }
.sw-hub:disabled, [data-sw-spin]:disabled { cursor: progress; opacity: .85; }
.sw-result { text-align: center; padding: 12px 18px; border-radius: 14px; background: #fff; border: 2px solid #0260A2; min-width: 60%; }
.sw-result .sw-result-label { display: block; font-size: .85rem; color: var(--ink-2, #5b6675); }
.sw-result .sw-result-value { display: block; font-size: clamp(1.3rem, 5vw, 1.8rem); font-weight: 800; color: #9D0207; word-break: break-word; }
.sw-history { border: 1px solid var(--line, #e2e7ee); border-radius: 12px; padding: 10px 14px; background: #fff; margin-top: 12px; }
.sw-history-head { display: flex; justify-content: space-between; align-items: center; }
.sw-history h3 { margin: 0; font-size: .95rem; }
.sw-history ol { margin: 8px 0 0; padding-left: 1.4rem; max-height: 220px; overflow: auto; }
@media (prefers-reduced-motion: reduce) { .sw-wheel canvas { transition: none; } }
