
.ovq-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 10px; }
.ovq-pal { display: flex; align-items: center; gap: 10px; flex: 1 1 260px; min-width: 0; }
.ovq-doufu { position: relative; flex: none; display: inline-grid; place-items: center; width: 40px; height: 44px;
  border-radius: 12px; background: color-mix(in oklab, var(--brand) 9%, var(--surface-1));
  border: 1px solid color-mix(in oklab, var(--brand) 26%, var(--border)); }
.ovq-doufu img { display: block; width: 24px; height: auto; }
.ovq-say { position: relative; margin: 0; padding: 6px 12px; max-width: 62ch; line-height: 1.4; color: var(--text-secondary);
  border-radius: 12px; background: var(--surface-1); border: 1px solid var(--border); }
.ovq-say b { color: var(--text-primary); margin-right: 4px; }
#ovQuests .ovq-ren { margin: 0; flex: 0 1 340px; min-width: 0; }
#ovQuests .ovq-ren .il-bar { min-width: 90px; }
.ovq-mk { display: inline-grid; place-items: center; color: var(--brand); }
.ovq-mk svg { display: block; }
.ovq-nav { display: inline-flex; gap: 6px; }
.ovq-nav .btn { min-width: 34px; font-size: 1.05rem; line-height: 1; }
.ovq-nav .btn[hidden] { display: none; }

.ovq-strip { list-style: none; margin: -6px 0 0; padding: 8px 2px 6px; display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(240px, calc((100% - 36px) / 3.5)); gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: thin; }
.ovq-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 10px 12px 12px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface-1); }
.ovq-card[data-st="ready"] { border-color: color-mix(in oklab, var(--brand) 60%, var(--border));
  background: color-mix(in oklab, var(--brand) 7%, var(--surface-1)); }
.ovq-card[data-st="claimed"] { background: transparent; }
.ovq-card[data-st="claimed"] .ovq-t { color: var(--text-secondary); }
.ovq-card:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.ovq-card p { margin: 0; }
.ovq-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ovq-sign { position: relative; flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  color: var(--brand); background: color-mix(in oklab, var(--brand) 12%, transparent); }
.ovq-sign svg { display: block; }
.ovq-k { min-width: 0; flex: 1; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.35; }
.ovq-k > span { display: block; letter-spacing: .04em; text-transform: none; font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; }
.ovq-pay { display: inline-flex; gap: 8px; color: var(--text-secondary); font-size: 12px; }
.ovq-pay > span { display: inline-flex; align-items: center; gap: 3px; }
.ovq-t { font-weight: 650; line-height: 1.3; color: var(--text-primary); overflow-wrap: anywhere; }
.ovq-g { color: var(--text-secondary); line-height: 1.42; overflow-wrap: anywhere; }
.ovq-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.ovq-opt { font-family: var(--font-mono); }
.ovq-ans { line-height: 1.42; color: var(--text-secondary); overflow-wrap: anywhere; padding: 6px 8px; border-radius: 8px;
  background: color-mix(in oklab, var(--text-primary) 4%, transparent); }
.ovq-ans b { color: var(--text-primary); }
.ovq-ans[data-right="1"] { background: color-mix(in oklab, var(--brand) 10%, transparent); }
.ovq-foot { margin-top: auto; padding-top: 4px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.ovq-prog { display: inline-flex; flex-direction: column; gap: 4px; min-width: 0; color: var(--text-muted); }
.ovq-dots { display: inline-flex; gap: 5px; }
.ovq-dots i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--border-strong); }
.ovq-dots i.on { background: var(--brand); border-color: var(--brand); }
.ovq-bar { display: block; width: 96px; height: 5px; border-radius: 3px; background: color-mix(in oklab, var(--text-primary) 10%, transparent); overflow: hidden; }
.ovq-bar i { display: block; height: 100%; background: var(--brand); }
.ovq-seal { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px;
  border-radius: var(--radius-pill); color: var(--text-secondary); border: 1px solid var(--border-strong); }

@media (max-width: 640px) {
  .ovq-strip { grid-auto-columns: 84%; }
  #ovQuests .ovq-ren { order: 3; flex: 1 1 200px; flex-wrap: nowrap; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; }
  #ovQuests .ovq-ren .il-bar { min-width: 0; }
  #ovQuests .ovq-ren .il-ren-n { grid-column: 1 / -1; white-space: normal; }
  .ovq-nav { order: 4; margin-left: auto; }
  .ovq-nav .btn, .ovq-opt, .ovq-card .btn { min-height: 44px; }
  .ovq-nav .btn { min-width: 44px; }
}


@keyframes ovq-hop { 0% { transform: none; } 30% { transform: translateY(-8px) scale(1.05, .96); }
  55% { transform: translateY(0) scale(.97, 1.03); } 78% { transform: translateY(-2px); } 100% { transform: none; } }
@keyframes ovq-spark { from { transform: rotate(var(--a)) translateY(-14px) scale(.4); opacity: 1; }
  to { transform: rotate(var(--a)) translateY(-32px) scale(1); opacity: 0; } }
.ovq-burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; z-index: 2; }
.ovq-burst i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; opacity: 0; background: var(--brand);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
@media (prefers-reduced-motion: no-preference) {
  :root:not([data-motion="still"]) #ovQuests .ovq-hop { animation: ovq-hop .5s ease-out; }
  :root:not([data-motion="still"]) #ovQuests .ovq-burst i { animation: ovq-spark .62s ease-out both; }
}
