/*
Theme Name: UhadniKoľko
Theme URI: https://uhadnikolko.sk
Author: Local Team
Description: Moderna tema pre hadanky uhadnikolko.sk.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: uhadnikolko
*/

:root {
  --bg-top: #f7efe5;
  --bg-mid: #ffe4b6;
  --bg-bottom: #fefefe;
  --brand-violet: #7b2cff;
  --brand-indigo: #1a104a;
  --brand-gold: #ffbe24;
  --ink-900: #1a1e1b;
  --ink-700: #2f3a34;
  --ink-500: #475248;
  --paper: #fffdf8;
  --line: #e4dbc9;
  --accent: #1d8f6b;
  --shadow-soft: 0 12px 40px rgba(35, 44, 37, 0.12);
  --shadow-card: 0 18px 45px rgba(28, 34, 29, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sora", "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(circle at 78% 12%, rgba(123, 44, 255, 0.12) 0 14%, transparent 42%),
    radial-gradient(circle at 74% 72%, rgba(255, 162, 0, 0.15) 0 12%, transparent 46%),
    radial-gradient(circle at 8% 9%, rgba(255, 255, 255, 0.72) 0 15%, transparent 42%),
    radial-gradient(circle at 92% 20%, rgba(191, 246, 226, 0.55) 0 11%, transparent 38%),
    radial-gradient(circle at 20% 78%, rgba(255, 214, 158, 0.44) 0 13%, transparent 40%),
    linear-gradient(170deg, var(--bg-top) 0%, var(--bg-mid) 42%, var(--bg-bottom) 100%);
  min-height: 100vh;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-wrap {
  position: relative;
  overflow: hidden;
}

.site-wrap::before,
.site-wrap::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}

.site-wrap::before {
  width: 360px;
  height: 360px;
  background: linear-gradient(140deg, rgba(255, 193, 104, 0.23), rgba(28, 173, 130, 0.2));
  top: -120px;
  right: -100px;
  animation: driftA 16s ease-in-out infinite alternate;
}

.site-wrap::after {
  width: 420px;
  height: 420px;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.5), rgba(54, 92, 80, 0.12));
  bottom: -180px;
  left: -140px;
  animation: driftB 18s ease-in-out infinite alternate;
}

@keyframes driftA {
  from {
    transform: translateY(0) translateX(0);
  }
  to {
    transform: translateY(24px) translateX(-20px);
  }
}

@keyframes driftB {
  from {
    transform: translateY(0) translateX(0);
  }
  to {
    transform: translateY(-18px) translateX(28px);
  }
}

.container {
  width: min(1180px, calc(100% - 2.4rem));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.topbar {
  padding: 0.5rem 0;
}

.topbar__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
  font-family: "Syne", "Franklin Gothic Medium", "Trebuchet MS", sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand__dot {
  width: 0;
  height: 0;
  border-radius: 50%;
  background: transparent;
}

.brand--logo {
  padding: 0.2rem 0.3rem;
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 8px 22px rgba(22, 17, 52, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.page {
  padding: 3rem 0 4rem;
}

.page__panel {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 28px;
  padding: 3rem;
  box-shadow: 0 28px 70px rgba(8, 6, 18, 0.12);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.page__header {
  margin-bottom: 1.75rem;
}

.page__header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
}

.page__content {
  color: var(--ink-700);
}

.page__content p,
.page__content ul,
.page__content ol,
.page__content table {
  margin: 0 0 1.5rem;
}

.site-footer {
  padding: 1.6rem 0 2rem;
  background: linear-gradient(180deg, rgba(12, 9, 28, 0.94) 0%, rgba(18, 13, 36, 0.98) 100%);
  border-top: 1px solid rgba(255, 184, 0, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.site-footer p {
  margin: 0;
  color: rgba(245, 240, 255, 0.82);
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
}

.site-footer__brand {
  font-size: 1rem;
  font-weight: 700;
}

.site-footer__links {
  font-size: 0.95rem;
  color: rgba(245, 240, 255, 0.72);
}

.site-footer a {
  color: #ffd45a;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.brand--logo:hover,
.brand--logo:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 12px 26px rgba(27, 17, 58, 0.25),
    0 0 0 1px rgba(123, 44, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.brand__logo {
  display: block;
  width: clamp(112px, 12vw, 148px);
  max-width: 148px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(20, 13, 47, 0.25));
}

.time-badge {
  border-radius: 999px;
  background: linear-gradient(145deg, var(--brand-indigo), #2b1a72);
  color: #fff3cc;
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.time-badge--cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.35rem;
  border: 1px solid rgba(255, 212, 0, 0.9);
  background: linear-gradient(135deg, #ffd400 0%, #fcb201 45%, #fe5d00 100%);
  box-shadow: 0 14px 30px rgba(254, 93, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: #09040d;
  font-family: "Syne", "Franklin Gothic Medium", "Trebuchet MS", sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.time-badge--cta:hover,
.time-badge--cta:focus {
  color: #09040d;
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(254, 93, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.time-badge--cta:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.92);
  outline-offset: 4px;
}

.topbar__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(30, 46, 39, 0.14);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
}

.topbar__home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(29, 82, 66, 0.25);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(238, 247, 243, 0.88));
  color: #173c30;
  text-decoration: none;
  font-weight: 700;
  padding: 0.46rem 0.92rem 0.46rem 0.6rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 6px 16px rgba(31, 57, 48, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.topbar__home-icon {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(170deg, #ffffff, #dff0e7);
  border: 1px solid rgba(20, 84, 66, 0.24);
  color: #0f5a45;
}

.topbar__home-icon svg {
  width: 0.92rem;
  height: 0.92rem;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.topbar__home-label {
  line-height: 1;
}

.topbar__home:hover,
.topbar__home:focus-visible {
  border-color: rgba(16, 93, 71, 0.42);
  transform: translateY(-1px) scale(1.01);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 10px 20px rgba(23, 58, 47, 0.22);
}

.hero {
  padding: 1.4rem 0 2.4rem;
}

.hero__panel {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 28px;
  padding: clamp(1.4rem, 2vw, 2.1rem);
  box-shadow: var(--shadow-soft);
}

.hero__kicker {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: #1e4034;
  color: #ecfff8;
  border-radius: 999px;
  font-size: 0.79rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: "Syne", "Franklin Gothic Medium", "Trebuchet MS", sans-serif;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1;
  margin: 0.9rem 0 0.7rem;
}

.hero p {
  max-width: 60ch;
  color: var(--ink-700);
  margin: 0 0 1.4rem;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.chip {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  font-size: 0.9rem;
}

.daily {
  padding: 1rem 0 1.6rem;
}

.daily__panel {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.daily__main,
.daily__side {
  padding: 1.3rem;
}

.daily__main {
  border-right: 1px solid var(--line);
}

.daily__side {
  display: flex;
  flex-direction: column;
}

.daily h2,
.schedule h2,
.categories h2 {
  margin: 0 0 0.4rem;
  font-family: "Syne", "Franklin Gothic Medium", "Trebuchet MS", sans-serif;
  line-height: 1.1;
}

.daily__question {
  margin-top: 1rem;
  background: linear-gradient(165deg, #f4fbf7, #e2f8ef);
  border: 1px solid #c7ead8;
  border-radius: 18px;
  padding: 1rem;
}

.daily__question strong {
  display: block;
  margin-bottom: 0.4rem;
  color: #1d624c;
}

.daily__side strong {
  display: block;
  margin-bottom: 0.3rem;
}

.daily__hook {
  margin: 0 0 0.8rem;
  font-weight: 600;
  color: #19382d;
}

.daily__meta {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.daily__meta span {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.86rem;
}

.daily__start {
  display: flex;
  justify-content: center;
  margin: 2.4rem 0 0;
}

.daily__start-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  max-width: 100%;
  min-height: 68px;
  padding: 0.9rem 2rem;
  border: 1px solid rgba(255, 212, 0, 0.9);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd400 0%, #fcb201 45%, #fe5d00 100%);
  box-shadow: 0 16px 34px rgba(254, 93, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.38);
  color: #01000b;
  font-family: "Syne", "Franklin Gothic Medium", "Trebuchet MS", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.daily__start-button:hover,
.daily__start-button:focus {
  color: #01000b;
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(254, 93, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.daily__start-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.92);
  outline-offset: 4px;
}

.daily__answer {
  margin-top: 1rem;
  background: linear-gradient(180deg, #fff9ec, #fff4de);
  border: 1px solid #e7cf9c;
  border-radius: 16px;
  padding: 0.9rem 1rem;
}

.daily__answer h3 {
  margin: 0 0 0.4rem;
}

.daily__answer p {
  margin: 0.25rem 0;
}

.daily__link {
  display: inline-block;
  margin-top: 0.4rem;
  font-weight: 600;
  color: #144f3d;
}

.recent {
  padding: 0.2rem 0 1.8rem;
}

.recent h2 {
  margin: 0 0 0.7rem;
  font-family: "Syne", "Franklin Gothic Medium", "Trebuchet MS", sans-serif;
}

.recent__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.recent-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  box-shadow: 0 6px 20px rgba(30, 41, 35, 0.1);
}

.recent-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.recent-card p {
  margin: 0;
  color: var(--ink-700);
}

.recent-card__meta {
  margin-top: 0.55rem;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--ink-500);
}

.leaderboard-home {
  padding: 0.2rem 0 1.5rem;
}

.next-riddle {
  padding: 0.1rem 0 2.2rem;
}

.next-riddle__panel {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 6px 20px rgba(30, 41, 35, 0.1);
  text-align: center;
}

.next-riddle__panel p {
  margin: 0 0 0.65rem;
  font-weight: 600;
}

.next-riddle__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

.next-riddle__mode-btn {
  border: 1px solid #d5c9af;
  background: #fff8e9;
  color: #2e3b34;
  border-radius: 999px;
  padding: 0.58rem 0.95rem;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.next-riddle__mode-btn:hover,
.next-riddle__mode-btn:focus-visible {
  transform: translateY(-1px);
  border-color: #bbab8c;
  box-shadow: 0 6px 14px rgba(45, 62, 54, 0.14);
}

.next-riddle__mode-btn.is-active {
  background: linear-gradient(135deg, #1f7c60, #2ea37b);
  border-color: transparent;
  color: #ffffff;
}

.next-riddle__picker {
  display: none;
  margin: 0.35rem auto 0;
  width: min(560px, 100%);
  border-radius: 14px;
  border: 1px solid #eadfc9;
  background: rgba(255, 255, 255, 0.86);
  padding: 0.72rem;
}

.next-riddle__picker.is-visible {
  display: block;
}

.next-riddle__picker strong {
  display: block;
  margin-bottom: 0.42rem;
  font-size: 0.94rem;
}

.next-riddle__difficulty-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.next-riddle__button {
  display: inline-block;
  padding: 0.62rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, #1e7e60, #2ca179);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(27, 112, 85, 0.28);
}

.next-riddle__button:hover,
.next-riddle__button:focus-visible {
  transform: translateY(-1px);
}

.next-riddle__error {
  margin: 0.8rem 0 0;
  color: #b04343;
  font-weight: 600;
}

.uhk-top10 {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  box-shadow: 0 6px 20px rgba(30, 41, 35, 0.1);
}

.daily__side .uhk-top10 {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-bottom: 0;
}

.daily__side .uhk-top10__list {
  flex: 1;
  max-height: none;
  min-height: 390px;
}

.uhk-top10 h3 {
  margin: 0 0 0.55rem;
  font-family: "Syne", "Franklin Gothic Medium", "Trebuchet MS", sans-serif;
}

.uhk-top10__list {
  margin: 0;
  padding-left: 1.2rem;
  max-height: 290px;
  overflow: auto;
}

.uhk-top10__list li {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  margin: 0.25rem 0;
}

.uhk-top10__name {
  color: var(--ink-700);
}

.uhk-top10__points {
  color: #175f49;
}

.quiz-play {
  padding: 0.2rem 0 1.6rem;
}

.quiz-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.quiz-card__question {
  margin: 0 0 0.8rem;
  font-size: 1.12rem;
  font-weight: 600;
}

.quiz-card__options {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}

.quiz-option {
  border: 1px solid #d7cfbf;
  background: #fffef9;
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
  font-size: 0.98rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.quiz-option span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #b8ad98;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.quiz-option.is-correct {
  border-color: #c8ab5b;
  color: #2f2508;
  background: linear-gradient(135deg, #f7e59b 0%, #e8bf56 52%, #fcefc5 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 4px 12px rgba(133, 103, 35, 0.26);
}

.quiz-option.is-correct.is-reveal-hit {
  animation: correctPulse 900ms cubic-bezier(0.22, 0.61, 0.36, 1) 1;
}

.quiz-option.is-correct.is-reveal-hit::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    112deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 38%,
    rgba(255, 255, 255, 0.86) 50%,
    rgba(255, 255, 255, 0.18) 62%,
    transparent 100%
  );
  transform: translateX(-120%);
  animation: goldSweep 920ms ease-out 1;
}

.quiz-option.is-wrong {
  border-color: #d56b6b;
  background: #fff0f0;
}

.quiz-card__countdown {
  display: grid;
  gap: 0.2rem;
  place-items: center;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #fff7e6 100%);
  border: 1px solid #dfcfae;
  border-radius: 14px;
  padding: 0.8rem 0.7rem;
  margin-bottom: 0.6rem;
}

.quiz-card__countdown-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #76633c;
}

.quiz-card__countdown-value {
  font-family: "Syne", "Franklin Gothic Medium", "Trebuchet MS", sans-serif;
  font-size: clamp(1.55rem, 6vw, 2.3rem);
  line-height: 1;
  color: #1f1d17;
}

.quiz-card__status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.quiz-card__status span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem 0.58rem;
  font-size: 0.84rem;
}

.quiz-card__feedback {
  margin: 0 0 0.6rem;
  font-weight: 600;
}

.quiz-card__feedback.is-success {
  color: #1f7a49;
}

.quiz-card__feedback.is-error {
  color: #b04343;
}

.quiz-card__feedback.is-neutral {
  color: #495650;
}

.quiz-card__reveal {
  display: none;
  margin-top: 0.5rem;
  border-radius: 14px;
  border: 1px solid #c8b573;
  padding: 0.9rem;
  background: linear-gradient(130deg, #f9e9a8 0%, #e9be53 48%, #fff2c8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.quiz-card__reveal.is-visible {
  display: block;
  animation: revealRise 540ms cubic-bezier(0.22, 0.61, 0.36, 1) both, revealGlow 1.4s ease-out both;
}

.quiz-card__reveal h3 {
  margin: 0 0 0.35rem;
}

.quiz-card__reveal p {
  margin: 0.2rem 0;
}

.quiz-card.is-revealed .quiz-card__countdown {
  border-color: #d5bc7f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 6px 14px rgba(166, 132, 53, 0.2);
}

.quiz-card.is-revealed .quiz-card__countdown-value {
  animation: countdownDone 420ms ease-out 1;
}

@keyframes revealRise {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes revealGlow {
  0% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 0 0 rgba(233, 190, 83, 0);
  }
  45% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 0 0 5px rgba(233, 190, 83, 0.25);
  }
  100% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 0 0 rgba(233, 190, 83, 0);
  }
}

@keyframes goldSweep {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}

@keyframes correctPulse {
  0% {
    transform: scale(0.995);
  }
  45% {
    transform: scale(1.012);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes countdownDone {
  0% {
    transform: scale(0.96);
  }
  65% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

.taxonomy-hero {
  padding: 0.2rem 0 1.4rem;
}

.taxonomy-hero__panel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 220px;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
  color: #f6fff9;
}

.taxonomy-hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 16, 13, 0.22) 0%, rgba(6, 16, 13, 0.72) 84%),
    var(--taxonomy-bg);
  background-size: cover;
  background-position: center;
}

.taxonomy-hero__panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  background: var(--taxonomy-accent, #17ab80);
}

.taxonomy-hero__panel > * {
  position: relative;
  z-index: 1;
}

.taxonomy-hero__kicker {
  margin: 0;
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.38);
  font-size: 0.8rem;
}

.taxonomy-hero h1 {
  margin: 0.65rem 0 0.35rem;
  font-family: "Syne", "Franklin Gothic Medium", "Trebuchet MS", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.taxonomy-list {
  padding: 0.2rem 0 2.4rem;
}

.taxonomy-list__head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
}

.taxonomy-list__head h2 {
  margin: 0 0 0.9rem;
  font-family: "Syne", "Franklin Gothic Medium", "Trebuchet MS", sans-serif;
}

.riddle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.riddle-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  padding: 0.9rem;
  box-shadow: 0 6px 20px rgba(30, 41, 35, 0.1);
}

.riddle-card h3 {
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.riddle-card__hook {
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.riddle-card__question {
  margin: 0 0 0.55rem;
  color: var(--ink-700);
}

.riddle-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--ink-500);
}

.riddle-card__meta span {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.taxonomy-list__pagination ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 0;
  padding: 0;
}

.taxonomy-list__pagination a,
.taxonomy-list__pagination span {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
}

.schedule {
  padding: 0.6rem 0 2rem;
}

.schedule__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.schedule__item {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  padding: 0.8rem;
  box-shadow: 0 6px 20px rgba(30, 41, 35, 0.1);
}

.schedule__item span {
  display: block;
  font-size: 0.86rem;
  color: var(--ink-500);
}

.categories {
  padding: 0.2rem 0 3.4rem;
}

.categories__lead {
  color: var(--ink-700);
  margin-top: 0;
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.category-card {
  position: relative;
  min-height: 220px;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  overflow: hidden;
  color: #f8fff9;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-card);
  transform: translateY(24px);
  opacity: 0;
  animation: reveal 0.8s ease forwards;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 16, 12, 0.16) 0%, rgba(7, 16, 12, 0.78) 84%),
    var(--category-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: transform 280ms ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: var(--card-accent, #17aa83);
}

.category-card:hover::before,
.category-card:focus-visible::before {
  transform: scale(1.08);
}

.category-card:hover,
.category-card:focus-visible {
  transform: translateY(-2px);
}

.category-card__content {
  position: relative;
  z-index: 2;
  padding: 1rem;
}

.category-card__title {
  font-family: "Syne", "Franklin Gothic Medium", "Trebuchet MS", sans-serif;
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

.category-card__desc {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  color: rgba(244, 253, 248, 0.88);
}

.category-card:nth-child(2) {
  animation-delay: 0.08s;
}

.category-card:nth-child(3) {
  animation-delay: 0.16s;
}

.category-card:nth-child(4) {
  animation-delay: 0.22s;
}

.category-card:nth-child(5) {
  animation-delay: 0.28s;
}

.category-card:nth-child(6) {
  animation-delay: 0.34s;
}

.category-card:nth-child(7) {
  animation-delay: 0.4s;
}

.category-card:nth-child(8) {
  animation-delay: 0.46s;
}

.category-card:nth-child(9) {
  animation-delay: 0.52s;
}

.category-card:nth-child(10) {
  animation-delay: 0.58s;
}

.category-card:nth-child(11) {
  animation-delay: 0.64s;
}

.category-card:nth-child(12) {
  animation-delay: 0.7s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer {
  padding: 0.8rem 0 1.8rem;
  color: var(--ink-500);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .daily__panel {
    grid-template-columns: 1fr;
  }

  .daily__main {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .daily__side .uhk-top10__list {
    max-height: 320px;
    min-height: 0;
  }

  .schedule__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recent__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .riddle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quiz-card__countdown-value {
    font-size: clamp(1.45rem, 7.4vw, 2.05rem);
  }
}

@media (max-width: 680px) {
  .container {
    width: min(1180px, calc(100% - 1.4rem));
  }

  .topbar__row {
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
  }

  .brand--logo {
    padding: 0.18rem 0.25rem;
  }

  .brand__logo {
    width: min(42vw, 120px);
    max-width: 120px;
  }

  .topbar__actions {
    margin-left: auto;
    width: auto;
    flex-direction: row;
    align-items: center;
    padding: 0.2rem;
  }

  .topbar__home {
    width: auto;
    justify-content: flex-start;
    font-size: 0.95rem;
    padding: 0.44rem 0.78rem 0.44rem 0.52rem;
  }

  .home .topbar__row {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
  }

  .home .brand--logo {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 0;
  }

  .home .brand__logo {
    width: min(84vw, 240px);
    max-width: 240px;
  }

  .home .time-badge {
    margin: 0 auto;
    text-align: center;
  }

  .single-uhk_riddle .topbar__row {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.95rem;
  }

  .single-uhk_riddle .brand--logo {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 0;
  }

  .single-uhk_riddle .brand__logo {
    width: min(84vw, 240px);
    max-width: 240px;
  }

  .single-uhk_riddle .topbar__actions {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    padding: 0;
  }

  .single-uhk_riddle .topbar__home {
    justify-content: center;
  }

  .schedule__grid,
  .recent__grid,
  .riddle-grid,
  .categories__grid {
    grid-template-columns: 1fr;
  }

  .taxonomy-list__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 9.2vw, 2.4rem);
  }

  .chip {
    font-size: 0.82rem;
  }

  .category-card {
    min-height: 200px;
  }

  .quiz-option {
    font-size: 0.94rem;
  }

  .next-riddle__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .next-riddle__mode-btn,
  .next-riddle__button {
    width: 100%;
    text-align: center;
  }

  .daily__start-button {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Global dark theme overrides requested by client */
:root {
  --bg-top: #01000b;
  --bg-mid: #01000b;
  --bg-bottom: #01000b;
  --ink-900: #faf9fa;
  --ink-700: #faf9fa;
  --ink-500: #faf9fa;
  --paper: rgba(12, 10, 24, 0.92);
  --line: rgba(252, 178, 1, 0.32);
  --accent: #fcb201;
}

body {
  background: #01000b;
  color: #faf9fa;
}

.site-wrap::before,
.site-wrap::after {
  display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #fcb201;
}

p,
li,
label,
small,
strong,
em,
span {
  color: #faf9fa;
}

a {
  color: #fcb201;
}

.brand--logo {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  line-height: 0;
}

.brand__logo {
  filter: none;
}

.hero__panel,
.daily__panel,
.daily__question,
.daily__answer,
.recent-card,
.uhk-top10,
.quiz-card,
.next-riddle__panel,
.next-riddle__picker,
.riddle-card,
.schedule__item,
.quiz-card__countdown,
.quiz-option,
.taxonomy-list__pagination a,
.taxonomy-list__pagination span,
.daily__meta span,
.quiz-card__status span,
.riddle-card__meta span,
.chip,
.topbar__actions,
.topbar__home,
.topbar__home-icon {
  background: rgba(14, 11, 30, 0.92);
  color: #faf9fa;
  border-color: rgba(252, 178, 1, 0.35);
}

.time-badge {
  background: #fcb201;
  color: #01000b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 10px 26px rgba(252, 178, 1, 0.18);
}

.topbar__home-icon svg {
  color: #fcb201;
}

/* Orange highlight for correct answer + countdown */
.quiz-option.is-correct {
  border-color: #fe5d00;
  color: #fff6ee;
  background: linear-gradient(135deg, #ff944d 0%, #fe5d00 52%, #c93f00 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 4px 14px rgba(254, 93, 0, 0.35);
}

.quiz-option.is-correct span {
  border-color: #ffd0b2;
  color: #fff6ee;
}

.quiz-card__countdown {
  border-color: #fe5d00;
}

.quiz-card__countdown-label,
.quiz-card__countdown-value {
  color: #fe5d00;
}

.quiz-card.is-revealed .quiz-card__countdown {
  border-color: #fe5d00;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 6px 16px rgba(254, 93, 0, 0.28);
}

.quiz-card__reveal {
  border: 1px solid #fe5d00;
  background: linear-gradient(130deg, #ff9f63 0%, #fe5d00 50%, #c43b00 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 26px rgba(254, 93, 0, 0.18);
}

.quiz-card__reveal h3,
.quiz-card__reveal p {
  color: #fff6ee;
}

/* Green only when the player actually guessed correctly. */
.quiz-card.is-answered-correct .quiz-option.is-correct {
  border-color: #22c55e;
  color: #f0fff6;
  background: linear-gradient(135deg, #4ade80 0%, #16a34a 52%, #087a2b 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 4px 14px rgba(34, 197, 94, 0.35);
}

.quiz-card.is-answered-correct .quiz-option.is-correct span {
  border-color: #bbf7d0;
  color: #f0fff6;
}

.quiz-card.is-answered-correct .quiz-card__reveal {
  border-color: #22c55e;
  background: linear-gradient(130deg, #4ade80 0%, #16a34a 50%, #087a2b 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 6px 16px rgba(34, 197, 94, 0.28);
}

.quiz-card.is-answered-correct .quiz-card__reveal h3,
.quiz-card.is-answered-correct .quiz-card__reveal p {
  color: #f0fff6;
}

.quiz-card.is-answered-wrong .quiz-card__reveal {
  border-color: #ff4d4f;
  background: linear-gradient(130deg, #ff8d8f 0%, #ff4d4f 44%, #c81e1e 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 14px 30px rgba(255, 77, 79, 0.24);
}

.quiz-card.is-answered-wrong .quiz-card__reveal h3,
.quiz-card.is-answered-wrong .quiz-card__reveal p {
  color: #fff4f4;
}

/* ─── CAROUSEL ──────────────────────────────────────────────────── */

.categories {
  padding-bottom: 4rem;
}

.uhk-carousel-wrap {
  position: relative;
}

.uhk-carousel__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.uhk-carousel__viewport {
  flex: 1;
  overflow: hidden;
}

.uhk-carousel__track {
  display: flex;
  gap: 16px;
  will-change: transform;
  /* transition injected by JS */
}

/* Override the stagger-reveal animation on carousel slides */
.uhk-carousel__slide,
.uhk-carousel__clone {
  flex-shrink: 0;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: box-shadow 220ms ease !important;
}

.uhk-carousel__btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #FFD700;
  background: rgba(10, 8, 32, 0.88);
  color: #FFD700;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  z-index: 2;
}

.uhk-carousel__btn:hover,
.uhk-carousel__btn:focus-visible {
  background: rgba(255, 215, 0, 0.18);
  transform: scale(1.1);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.uhk-carousel__btn:focus-visible {
  outline: 2px solid #FFD700;
  outline-offset: 3px;
}

.uhk-carousel__dots {
  display: none;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.uhk-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  padding: 0;
  transition: background 200ms ease, transform 200ms ease;
}

.uhk-carousel__dot.is-active {
  background: #FFD700;
  transform: scale(1.3);
}

@media (max-width: 680px) {
  .uhk-carousel__btn {
    display: none !important;
  }
  .uhk-carousel-wrap {
    padding-bottom: 1.75rem;
  }
}

/* ─── END CAROUSEL ───────────────────────────────────────────────── */

/* ─── RULES BOX ──────────────────────────────────────────────────── */

.uhk-rules {
  border: 1px solid rgba(255, 215, 0, 0.2);
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 215, 0, 0.05);
  margin: 0.9rem 0 1rem;
}

.uhk-rules__title {
  color: #FFD700;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
}

.uhk-rules__list {
  color: #fff;
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
  padding-left: 18px;
}

.uhk-rules__list li {
  margin: 0;
}

/* ─── HERO PANEL (replaces .daily) ───────────────────────────────── */

.uhk-hero-panel {
  padding: 1.6rem 0 2rem;
}

.uhk-hero-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* ── Left column ─────────────────────────────────────────────────── */

.uhk-hero-panel__left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.uhk-start-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1.15rem 1.5rem;
  background: linear-gradient(135deg, #FFD700, #FFA500, #FF8C00);
  color: #1a1a2e;
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 14px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 22px rgba(255, 165, 0, 0.38);
}

.uhk-start-btn:hover,
.uhk-start-btn:focus-visible {
  transform: scale(1.05);
  box-shadow: 0 7px 30px rgba(255, 165, 0, 0.55);
  color: #1a1a2e;
}

.uhk-hero-panel__map {
  min-height: 80px;
}

.uhk-hero-panel__login-cta {
  background: rgba(14, 11, 30, 0.92);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.uhk-hero-panel__login-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.uhk-hero-panel__login-btn,
.uhk-hero-panel__auth-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.65rem 1.5rem;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1a1a2e;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 3px 14px rgba(255, 165, 0, 0.32);
  margin-top: 0.75rem;
}

.uhk-hero-panel__login-btn:hover,
.uhk-hero-panel__auth-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 5px 20px rgba(255, 165, 0, 0.48);
  color: #1a1a2e;
}

/* ── Right column — leaderboard ──────────────────────────────────── */

.uhk-hero-panel__right {
  height: 100%;
}

.uhk-lb-hero {
  background: rgba(10, 8, 32, 0.88);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 14px;
  padding: 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.uhk-lb-hero__title {
  color: #FFD700;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem;
  flex-shrink: 0;
}

/* #1 — always visible, gold highlighted */
.uhk-lb-hero__first {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 2px solid #FFD700;
  border-radius: 10px;
  margin-bottom: 0.85rem;
  background: rgba(255, 215, 0, 0.07);
  flex-shrink: 0;
}

.uhk-lb-hero__rank {
  color: #FFD700;
  font-size: 1.1rem;
  font-weight: 800;
  min-width: 26px;
}

.uhk-lb-hero__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #FFD700;
  flex-shrink: 0;
}

.uhk-lb-hero__info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.uhk-lb-hero__name {
  color: #FFD700;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.uhk-lb-hero__level {
  color: rgba(255, 215, 0, 0.6);
  font-size: 0.75rem;
}

.uhk-lb-hero__streak {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  flex-shrink: 0;
}

.uhk-lb-hero__pts {
  color: #FFD700;
  font-weight: 700;
  font-size: 0.92rem;
  flex-shrink: 0;
}

.uhk-lb-hero__empty {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin: 0;
}

/* ── Auto-scroll ticker for #2–#20 ──────────────────────────────── */

.uhk-lb-ticker {
  overflow: hidden;
  flex: 1;
  min-height: calc(3 * 56px);
}

.uhk-lb-ticker__track {
  will-change: transform;
}

.uhk-lb-ticker__item {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  padding: 0 2px;
}

.uhk-lb-ticker__rank {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  font-weight: 600;
  min-width: 26px;
}

.uhk-lb-ticker__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 215, 0, 0.3);
  flex-shrink: 0;
}

.uhk-lb-ticker__info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.uhk-lb-ticker__name {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.uhk-lb-ticker__level {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
}

.uhk-lb-ticker__streak {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  flex-shrink: 0;
}

.uhk-lb-ticker__pts {
  color: #FFD700;
  font-weight: 700;
  font-size: 0.88rem;
  flex-shrink: 0;
}

/* ── Responsive ──────────────────────────────────────────────────── */

@media (max-width: 980px) {
  .uhk-hero-panel__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .uhk-start-btn {
    font-size: 1.1rem;
    padding: 1rem 1.25rem;
  }
}

@media (max-width: 680px) {
  .uhk-hero-panel__grid {
    grid-template-columns: 1fr;
  }

  .uhk-lb-ticker {
    min-height: calc(4 * 56px);
  }

  .uhk-hero-panel__right,
  .uhk-lb-hero {
    height: auto;
  }
}

/* ─── END HERO PANEL ─────────────────────────────────────────────── */

/* ─── DARK THEME FILL-INS ────────────────────────────────────────── */

/* Wrong-answer option: light pink overrides the dark base — fix it */
.quiz-option.is-wrong {
  background: rgba(255, 77, 79, 0.12);
  border-color: rgba(255, 77, 79, 0.55);
  color: #ffe0e0;
}

.quiz-option.is-wrong span {
  border-color: rgba(255, 77, 79, 0.5);
  color: #ff9393;
}

/* Letter-circle base colours on dark background */
.quiz-option span {
  border-color: rgba(252, 178, 1, 0.4);
  color: rgba(250, 249, 250, 0.6);
}

/* Feedback text — hardcoded dark colours are invisible on dark bg */
.quiz-card__feedback.is-neutral {
  color: rgba(250, 249, 250, 0.5);
}

.quiz-card__feedback.is-success {
  color: #4ade80;
}

.quiz-card__feedback.is-error {
  color: #ff6b6b;
}

/* Top-10 widget: points column was dark green on dark background */
.uhk-top10__points {
  color: #fcb201;
}

/* Next-riddle mode buttons: light beige buttons on dark background */
.next-riddle__mode-btn {
  background: rgba(14, 11, 30, 0.92);
  color: #faf9fa;
  border-color: rgba(252, 178, 1, 0.35);
}

/* ─── END DARK THEME FILL-INS ────────────────────────────────────── */
