/* vibe-themes v6 — board + submit CTAs */
.th-page {
  width: min(1100px, calc(100% - 40px));
}
.th-block {
  background: var(--surface, #111113);
  border: 1px solid var(--line, rgba(255,255,255,0.06));
  border-radius: 20px;
  padding: 20px 20px 18px;
}
.th-block-head h2 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}
.th-block-head p,
.th-page > .note {
  margin: 0 0 12px;
  color: var(--muted, #a1a1aa);
  font-weight: 600;
  line-height: 1.45;
  max-width: 46rem;
}
.th-block-head a,
.th-form a {
  color: inherit;
}
.th-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 4px;
}
.th-card-art img {
  width: 100%;
  height: 134px;
  object-fit: cover;
  display: block;
}
.th-card {
  background: var(--bg, #0a0a0a);
  border: 1px solid var(--line, rgba(255,255,255,0.06));
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
}
.th-card-art {
  position: relative;
  height: 118px;
  overflow: hidden;
  background: #111;
}
.th-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.th-card-body {
  padding: 14px 14px 8px;
  display: grid;
  gap: 6px;
}
.th-card-body h3 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}
.th-credit {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted, #a1a1aa);
}
.th-credit a {
  color: var(--mint, #14f195);
  text-decoration: none;
}
.th-credit a:hover { text-decoration: underline; }
.th-card-body p {
  margin: 0;
  color: var(--muted, #a1a1aa);
  font-weight: 600;
  line-height: 1.4;
  font-size: 0.94rem;
}
.th-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 14px 14px;
}
.th-card-foot .note { margin: 0; }
.th-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 8px;
  margin: 16px 0 2px;
  padding: 4px 0 2px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.th-pager-sep {
  color: var(--muted, #a1a1aa);
  opacity: 0.7;
  user-select: none;
}
.th-pager-num {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted, #a1a1aa);
  min-width: 1.6em;
  min-height: 36px;
  padding: 4px 6px;
  font: inherit;
  font-size: 1.05rem;
  cursor: pointer;
  border-radius: 10px;
}
.th-pager-num:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.th-pager-num.on {
  color: #0b0b10;
  background: linear-gradient(90deg, var(--purple, #8b5cf6) 12%, var(--cyan, #22d3ee) 88%);
}
.th-cta-row,
.th-cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 16px 0 0;
}
.th-cta-bar {
  margin: 18px 0 0;
  padding: 14px 0 2px;
  justify-content: center;
}
.th-form { margin-top: 4px; }
.th-form code {
  font-size: 0.86em;
}
.overlay.th-done {
  z-index: 95;
}
.th-done-sheet {
  width: min(420px, 100%);
  padding: 22px 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.th-done-vee {
  width: min(220px, 72vw);
  height: auto;
  margin: 0 0 6px;
  filter: drop-shadow(0 14px 28px rgba(124, 58, 237, 0.38));
  animation: th-vee-hi 1.8s ease-in-out infinite;
}
@keyframes th-vee-hi {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-8px) rotate(4deg); }
}
.th-done-sheet h2 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  letter-spacing: -0.04em;
}
.th-done-sheet p {
  margin: 0 0 18px;
  color: var(--muted, #a1a1aa);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.5;
  max-width: 28em;
}
.th-done-sheet .cat-actions {
  margin: 0;
  justify-content: center;
}
.th-done-sheet .btn { min-width: 140px; }

@media (prefers-reduced-motion: reduce) {
  .th-done-vee { animation: none; }
}

@media (max-width: 767px) {
  .th-page { width: min(1100px, calc(100% - 20px)); }
  .th-grid { grid-template-columns: 1fr; }
  .th-card-art { height: 96px; }
  .th-form .wiz-socials { grid-template-columns: 1fr; }
  .th-form input,
  .th-form textarea,
  .th-form button { min-height: 44px; }
}
