.ov-config select,.ov-fields input{ width:100%; min-width:0; }
.ov-config .ov-toggle{ display:flex; align-items:center; gap:9px; }
.ov-config .ov-toggle input{ width:21px; min-height:21px; accent-color:#ffcf6a; }
.ov-count,.ov-fact,.ov-saved{ margin:0; color:#ebe7ff; }
.ov-roulette{ display:grid; justify-items:center; gap:12px; max-width:680px; margin:0 auto; text-align:center; }
.ov-dial{
  position:relative; display:grid; place-items:center; width:min(100%,340px); aspect-ratio:1;
  container-type:inline-size;
}
.ov-wheel{
  position:absolute; inset:0; border:4px solid #ffd982; border-radius:50%;
  background:repeating-conic-gradient(from -9deg,#623d9f 0 18deg,#225a93 18deg 36deg,#147460 36deg 54deg,#8c3a72 54deg 72deg);
  box-shadow:0 9px 23px #09051a99; transition:transform .7s cubic-bezier(.18,.8,.26,1);
}
.ov-wheel.is-spinning{ animation:ov-spin 1.45s linear infinite; }
.ov-wheel span{
  position:absolute; inset:50% auto auto 50%; font-weight:800; font-size:clamp(12px,6cqw,21px);
  transform:translate(-50%,-50%) rotate(var(--position)) translateY(-40cqw);
}
@keyframes ov-spin{ to{ transform:rotate(360deg); } }
.ov-pointer{ position:absolute; z-index:2; top:-3px; width:25px; height:29px; background:#ffdf88; clip-path:polygon(0 0,100% 0,50% 100%); }
.ov-current,.ov-roundLetter{
  display:grid; place-items:center; border:2px solid #ffd982; border-radius:19px; background:#1e183e;
  color:#fff2bd; font-size:clamp(28px,7vw,60px); font-weight:800; line-height:1;
}
.ov-current{ position:relative; width:38%; aspect-ratio:1; border-radius:50%; }
.ov-rouletteStatus{ margin:0; font-size:clamp(16px,2vw,23px); font-weight:700; }
.ov-catch{ width:min(100%,300px); }
.ov-choices{ display:grid; width:100%; grid-template-columns:repeat(auto-fit,minmax(42px,1fr)); gap:6px; }
.ov-choices button{
  min-height:44px; border:1px solid #acb7ff; border-radius:9px; color:#fff; background:#2f4282;
  font-size:19px; font-weight:800; cursor:pointer;
}
.ov-writing,.ov-reveal{ display:grid; gap:12px; }
.ov-strip{ display:flex; align-items:center; gap:12px; }
.ov-strip h2{ margin:0; }
.ov-roundLetter{ width:66px; height:62px; flex:none; }
.ov-submitted{ font-weight:800; }
.ov-revealLetter{ color:#ffe49f; font-size:24px; font-weight:800; }
.ov-fact{ padding:8px 11px; border:1px solid #7567ad; border-radius:11px; background:#211a40; }
.ov-categoryList,.ov-fields{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr)); gap:8px;
}
.ov-categoryList{ list-style:none; margin:0; padding:0; }
.ov-categoryList li{
  padding:12px 10px; border:1px solid #828fe5; border-radius:10px; background:#26356d; font-weight:800;
}
.ov-sheet{ display:grid; gap:12px; }
.ov-fields label{ display:grid; gap:4px; min-width:0; font-weight:700; }
.ov-fields input:read-only{ opacity:.8; }
.ov-saved{ min-height:1.4em; font-size:14px; }
.ov-results{
  display:grid; align-items:start; grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));
  gap:11px; max-height:53vh; overflow:auto; padding:3px;
}
.ov-result{ min-width:0; padding:10px; border:1px solid #7f8bd3; border-radius:14px; background:#191432; }
.ov-result header{ display:flex; align-items:center; gap:7px; }
.ov-result h3{ margin:0; overflow-wrap:anywhere; }
.ov-delta{ margin-left:auto; color:#ffdc83; font-size:23px; animation:ov-points .5s ease-out both; }
@keyframes ov-points{ from{ transform:translateY(7px) scale(.8); opacity:0; } }
.ov-result ul{ display:grid; gap:4px; margin:8px 0; padding:0; list-style:none; }
.ov-result li{ display:grid; grid-template-columns:minmax(70px,1fr) minmax(0,1.2fr) auto; align-items:center; gap:6px; padding:5px 7px; border-radius:8px; background:#292344; }
.ov-result li span{ overflow-wrap:anywhere; }
.ov-result li b{ min-width:1.3em; text-align:right; }
.ov-result li.ov-unique{ background:#17483e; }
.ov-result li.ov-shared{ background:#283d78; }
.ov-result li:is(.ov-invalid,.ov-letter){ background:#532842; }
.ov-result footer{ color:#ffe5a6; font-size:13px; font-weight:700; }
.play .ov-dial{ width:min(76vw,280px); }
.play .ov-results{ grid-template-columns:1fr; }
@media(prefers-reduced-motion:reduce){
  .ov-wheel,.ov-wheel.is-spinning,.ov-delta{ animation:none; transition:none; }
}
