.t1q-intro, .t1q-game, .t1q-card {
  border: 2px solid #d1fae5;
  border-radius: 1.5rem;
  background: #fff;
  padding: 1.25rem;
  box-shadow: 5px 5px 0 rgba(5, 150, 105, .12);
}
.t1q-intro { margin-bottom: 1rem; }
.t1q-heading, .t1q-card-title, .t1q-dialog-title { color: #0f172a; font-weight: 800; }
.t1q-heading { font-size: 1.5rem; }
.t1q-copy, .t1q-small { color: #334155; font-weight: 600; line-height: 1.55; }
.t1q-small { font-size: .9rem; margin-top: .5rem; overflow-wrap: anywhere; }
.t1q-notice { margin: 1rem 0; border-left: 4px solid #d97706; padding: .75rem 1rem; color: #713f12; font-weight: 700; }
.t1q-link { color: #065f46; text-decoration: underline; text-underline-offset: 3px; }
.t1q-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1rem; }
@media (min-width: 640px) { .t1q-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .t1q-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.t1q-game { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; border-color: #fcd34d; background: #fffbeb; }
.t1q-card { display: flex; flex-direction: column; gap: .4rem; }
.t1q-card-title { font-size: 1.1rem; overflow-wrap: anywhere; }
.t1q-best { margin-top: .4rem; color: #065f46; font-weight: 800; }
.t1q-btn {
  min-height: 48px;
  min-width: 48px;
  border: 2px solid transparent;
  border-radius: 1rem;
  padding: .7rem 1rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow-wrap: anywhere;
}
.t1q-btn:focus-visible { outline: 3px solid #0f172a; outline-offset: 3px; box-shadow: 0 0 0 6px #6ee7b7; }
.t1q-btn:disabled { opacity: .65; cursor: not-allowed; }
.t1q-primary { color: #fff; background: #047857; }
.t1q-primary:hover:not(:disabled) { background: #065f46; }
.t1q-secondary { width: 100%; margin-top: auto; color: #78350f; background: #fef3c7; border-color: #fcd34d; }
.t1q-secondary:hover { background: #fde68a; }
.t1q-quiet { color: #1e293b; background: #fff; border-color: #cbd5e1; }
.t1q-error { margin-top: 1rem; color: #7f1d1d; font-weight: 800; }
.t1q-player { width: min(96vw, 48rem); max-width: none; max-height: 92vh; padding: 0; border: 0; border-radius: 1.5rem; color: #1e293b; background: #f8fafc; }
.t1q-player::backdrop { background: rgba(15, 23, 42, .82); }
.t1q-dialog-inner { display: grid; gap: 1rem; max-height: 92vh; overflow-y: auto; padding: 1.25rem; }
.t1q-dialog-title { font-size: clamp(1.35rem, 4vw, 1.8rem); line-height: 1.25; overflow-wrap: anywhere; }
.t1q-top, .t1q-tools, .t1q-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.t1q-top { justify-content: space-between; }
.t1q-streak { color: #9a3412; font-weight: 800; }
.t1q-progress { height: 14px; border-radius: 999px; overflow: hidden; background: #cbd5e1; }
.t1q-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #059669, #f59e0b); transition: width .2s ease; }
.t1q-count { color: #475569; font-size: .9rem; font-weight: 800; }
.t1q-question { color: #0f172a; font-size: clamp(1.15rem, 3.8vw, 1.5rem); font-weight: 800; line-height: 1.5; overflow-wrap: anywhere; }
.t1q-options { display: grid; grid-template-columns: 1fr; gap: .65rem; }
.t1q-option { justify-content: flex-start; min-height: 56px; text-align: left; color: #1e293b; background: #fff; border-color: #cbd5e1; }
.t1q-option:hover:not(:disabled) { border-color: #059669; background: #ecfdf5; }
.t1q-option[data-correct="true"] { border-color: #047857; background: #d1fae5; color: #064e3b; }
.t1q-option[data-selected="true"] { border-color: #b45309; background: #fffbeb; }
.t1q-hint { border-left: 4px solid #f59e0b; border-radius: .5rem; padding: .75rem 1rem; color: #713f12; background: #fffbeb; font-weight: 700; line-height: 1.5; }
.t1q-feedback { border-radius: 1rem; padding: 1rem; color: #064e3b; background: #ecfdf5; font-weight: 600; line-height: 1.5; }
.t1q-feedback p { margin-top: .5rem; }
.t1q-feedback[hidden], .t1q-hint[hidden], .t1q-btn[hidden] { display: none; }
.t1q-summary { text-align: center; justify-items: center; }
.t1q-score { color: #92400e; font-size: 1.25rem; font-weight: 900; }
.t1q-unlocked { border: 2px solid #fcd34d; border-radius: 1rem; padding: .75rem; color: #713f12; background: #fffbeb; font-weight: 800; }
.t1q-actions { justify-content: center; }
@media (prefers-reduced-motion: reduce) {
  .t1q-progress span { transition: none; }
}
