@import url("/image-converter/styles.css?v=1");
/* Spin the wheel */
.wh-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.wh-stage { display: grid; gap: 12px; justify-items: center; }
.wh-box { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; }
#wheel { display: block; width: 100%; height: 100%; border-radius: 50%; cursor: pointer; touch-action: manipulation; }
#wheel:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.wh-pointer { position: absolute; left: 50%; top: -6px; width: 0; height: 0; transform: translateX(-50%);
  border-left: 16px solid transparent; border-right: 16px solid transparent; border-top: 30px solid #f5f5f7;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6)); pointer-events: none; }
.wh-stage .btn.big { max-width: 520px; font-size: 18px; }
.wh-result { min-height: 64px; text-align: center; overflow-wrap: anywhere; max-width: 520px; width: 100%; }
.wh-result .who { font-size: 28px; font-weight: 800; color: var(--text); line-height: 1.2; }
.wh-result .sub { color: var(--muted); font-size: 13px; margin-top: 4px; }
.wh-result .sub button { background: none; border: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; padding: 0 2px; }
.wh-list { display: grid; gap: 10px; min-width: 0; }
.wh-text { width: 100%; min-height: 260px; resize: vertical; font: inherit; line-height: 1.5; }
.wh-tools { flex-wrap: wrap; gap: 8px; align-items: center; }
.wh-odds { margin: 8px 0 0; padding-left: 22px; max-height: 260px; overflow: auto; font-size: 13px; color: var(--muted); }
.wh-odds li { overflow-wrap: anywhere; }
.wh-odds b { color: var(--text); font-weight: 600; }
.wh-history { margin: 4px 0 10px; padding-left: 26px; max-height: 260px; overflow: auto; }
.wh-history li { overflow-wrap: anywhere; padding: 2px 0; }
.wh-history .t { color: var(--muted); font-size: 12px; margin-left: 6px; }
@media (max-width: 760px) { .wh-grid { grid-template-columns: minmax(0, 1fr); } .wh-result .who { font-size: 24px; } }
