/* Editorial-football redesign for the playable index. Loaded last by index.html. */
:root {
  color-scheme: light;
  --color-bg: #f2ede5;
  --color-surface: #fffdf7;
  --color-text: #171717;
  --color-muted: #5e5a50;
  --color-border: #171717;
  --color-primary: #16a34a;
  --color-primary-strong: #0f7a3c;
  --color-amateur: #16a34a;
  --color-profesional: #2563eb;
  --color-crack: #d7a700;
  --color-correct: #16a34a;
  --color-wrong: #dc2626;
  --color-warning: #f2b705;
  --paper: #f2ede5;
  --paper-deep: #e4dac6;
  --chalk: #fffdf7;
  --ink: #171717;
  --line: #171717;
  --red: #dc2626;
  --blue: #2563eb;
  --green: #16a34a;
  --yellow: #facc15;
  --purple: #6d5df6;
  --shadow-panel: 6px 6px 0 var(--line);
  --shadow-panel-lg: 9px 9px 0 var(--line);
  --shadow-panel-soft: 4px 4px 0 rgba(23, 23, 23, 0.22);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font-main: Inter, ui-rounded, "Arial Rounded MT Bold", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --color-bg: #171611;
  --color-surface: #26231b;
  --color-text: #fff7e8;
  --color-muted: #c7bcaa;
  --color-border: #050505;
  --color-primary: #22c55e;
  --color-primary-strong: #86efac;
  --color-crack: #facc15;
  --paper: #171611;
  --paper-deep: #2d281f;
  --chalk: #fff7e8;
  --ink: #fff7e8;
  --line: #050505;
  --shadow-panel: 6px 6px 0 #050505;
  --shadow-panel-lg: 9px 9px 0 #050505;
}

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

html {
  overflow-x: clip;
  background: var(--paper);
}

body.game-app {
  min-width: 320px;
  min-height: 100svh;
  overflow-x: clip;
  color: var(--color-text);
  font-family: var(--font-main);
  font-weight: 750;
  background:
    radial-gradient(circle at 14% 8%, rgba(56, 189, 248, 0.2), transparent 24%),
    linear-gradient(115deg, rgba(37, 99, 235, 0.13), transparent 42%),
    linear-gradient(245deg, rgba(14, 165, 233, 0.1), transparent 34%),
    var(--paper);
  font-synthesis: none;
}

body.game-app[data-trivia-mode="general"] {
  --color-primary: #2563eb;
  --color-primary-strong: #1d4ed8;
  --mode-accent: #2563eb;
  --mode-accent-2: #0ea5e9;
  --mode-soft: #dbeafe;
  --paper: #eef5ff;
  --paper-deep: #dbeafe;
}

body.game-app[data-trivia-mode="mundial"] {
  --color-primary: #0c8f45;
  --color-primary-strong: #056033;
  --mode-accent: #0c8f45;
  --mode-accent-2: #facc15;
  --mode-soft: #e9f7d8;
  background:
    linear-gradient(rgba(23, 23, 23, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 23, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 82% 12%, rgba(250, 204, 21, 0.28), transparent 22%),
    linear-gradient(115deg, rgba(22, 163, 74, 0.18), transparent 42%),
    var(--paper);
  background-size: 32px 32px, 32px 32px, auto, auto, auto;
}

[data-theme="dark"] body.game-app[data-trivia-mode="general"] {
  background:
    radial-gradient(circle at 14% 8%, rgba(56, 189, 248, 0.13), transparent 24%),
    linear-gradient(115deg, rgba(37, 99, 235, 0.16), transparent 42%),
    linear-gradient(245deg, rgba(14, 165, 233, 0.12), transparent 34%),
    var(--paper);
}

[data-theme="dark"] body.game-app[data-trivia-mode="mundial"] {
  background:
    linear-gradient(rgba(255, 247, 232, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 247, 232, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 82% 12%, rgba(250, 204, 21, 0.14), transparent 22%),
    linear-gradient(115deg, rgba(34, 197, 94, 0.13), transparent 42%),
    var(--paper);
  background-size: 32px 32px, 32px 32px, auto, auto, auto;
}

body.game-app:has(.game-panel:not([hidden])) {
  height: auto;
  min-height: 100svh;
  overflow-y: auto;
}

body.game-app:has(.game-panel:not([hidden])) .app-shell {
  height: auto;
  min-height: 100svh;
  grid-template-rows: auto auto auto;
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible,
.playtype-option:focus-within,
.mode-option:focus-within {
  outline: 4px solid #18a8ff;
  outline-offset: 4px;
}

.game-app .app-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(1120px, 100%);
  min-height: 100svh;
  padding: clamp(10px, 2.2vw, 24px);
}

.game-app main,
.game-app .hero-copy,
.game-app .start-panel,
.game-app .game-panel,
.game-app .result-panel,
.game-app .result-layout,
.game-app .question-card,
.game-app .answer-panel,
.game-app .score-grid,
.game-app .score-grid article,
.game-app .share-card,
.game-app .result-summary,
.game-app .discovery-stack,
.game-app .youtube-card,
.game-app .tatuia-card,
.game-app .seo-content,
.game-app .faq-section,
.game-app .faq-grid article {
  min-width: 0;
}

.game-app .emoji-icon {
  width: 1.16em;
  height: 1.16em;
  object-fit: contain;
  vertical-align: -0.18em;
}

.game-app .site-header {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: auto;
  margin: 0 0 clamp(10px, 2vw, 18px);
  padding: 8px 0 12px;
  background: transparent;
  backdrop-filter: blur(10px);
}

.game-app .brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  text-decoration: none;
}

.game-app .brand-logo {
  width: 48px;
  height: 38px;
  flex: 0 0 auto;
  padding: 5px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--chalk);
  box-shadow: 3px 3px 0 var(--line);
}

.game-app .brand span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.game-app .brand strong,
.game-app .brand small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-app .brand strong {
  font-size: 0.95rem;
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
}

.game-app .brand small {
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.game-app .header-actions {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
}

.game-app .theme-toggle,
.game-app .sound-toggle {
  display: inline-grid;
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  place-items: center;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--chalk);
  box-shadow: 3px 3px 0 var(--line);
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.game-app .theme-toggle:hover,
.game-app .sound-toggle:hover {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--line);
  transform: none;
}

.game-app [data-theme-label],
.game-app [data-sound-label] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.game-app .hero {
  display: block;
  min-height: auto;
  padding: 0;
}

.game-app .hero[hidden],
.game-app .game-panel[hidden],
.game-app .result-panel[hidden],
.game-app .achievement-strip[hidden],
.game-app .answer-panel[hidden],
.game-app .contact-modal[hidden] {
  display: none;
}

.game-app .start-panel {
  position: relative;
  display: grid;
  gap: clamp(13px, 2.4vw, 18px);
  width: 100%;
  overflow: visible;
  padding: clamp(14px, 2.5vw, 22px);
  border: 3px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  background:
    repeating-linear-gradient(135deg, rgba(23, 23, 23, 0.025) 0 1px, transparent 1px 12px),
    var(--chalk);
  box-shadow: var(--shadow-panel-lg);
  backdrop-filter: none;
}

.game-app .hero-copy {
  display: grid;
  justify-items: start;
  gap: 8px;
  width: 100%;
  padding: 0;
  text-align: left;
}

.game-app .eyebrow,
.game-app .panel-heading h2,
.game-app .playtype-grid legend,
.game-app .mode-grid legend,
.game-app .score-grid span,
.game-app .progress-copy,
.game-app .game-mode,
.game-app .share-kicker,
.game-app .result-summary h2,
.game-app .youtube-copy h2,
.game-app .tatuia-card-copy h2,
.game-app .contact-card h2 {
  letter-spacing: 0;
  text-transform: uppercase;
}

.game-app .eyebrow {
  margin: 0;
  color: var(--color-primary-strong);
  font-size: clamp(0.68rem, 2vw, 0.78rem);
  font-weight: 1000;
  line-height: 1.1;
}

.game-app h1,
.game-app h2,
.game-app h3,
.game-app p {
  margin: 0;
}

.game-app h1 {
  max-width: 12ch;
  color: var(--color-text);
  font-size: clamp(2.4rem, 13vw, 5.8rem);
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 0.88;
  text-transform: uppercase;
}

.game-app .title-ball {
  width: 0.72em;
  height: 0.72em;
  margin-right: 0.08em;
  vertical-align: 0.02em;
}

.game-app .hero-lead {
  max-width: 58rem;
  color: var(--color-muted);
  font-size: clamp(0.94rem, 2.2vw, 1.14rem);
  font-weight: 850;
  line-height: 1.34;
}

.game-app .trivia-switcher {
  display: grid;
  width: min(100%, 640px);
  gap: 8px;
  margin-top: 4px;
}

.game-app .trivia-switcher-link {
  display: grid;
  gap: 2px;
  min-height: 62px;
  align-content: center;
  padding: 10px 12px;
  border: 3px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--color-text);
  background: var(--chalk);
  box-shadow: 4px 4px 0 var(--line);
  text-decoration: none;
  transition: background-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.game-app .trivia-switcher-link strong {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

.game-app .trivia-switcher-link .emoji-icon {
  width: 1.12em;
  height: 1.12em;
}

.game-app .trivia-switcher-link:hover,
.game-app .trivia-switcher-link:focus-visible {
  background: color-mix(in srgb, var(--mode-accent-2) 28%, var(--chalk));
  box-shadow: 5px 5px 0 var(--line);
  transform: translate(-1px, -1px);
}

.game-app .trivia-switcher-link.is-active {
  color: #171717;
  background: color-mix(in srgb, var(--mode-accent) 22%, var(--chalk));
  box-shadow: 5px 5px 0 var(--mode-accent);
}

.game-app .trivia-switcher-link:not(.trivia-switcher-worldcup) {
  background: #dbeafe;
}

.game-app .trivia-switcher-worldcup {
  background: #e5f7d4;
}

body.game-app[data-trivia-mode="mundial"] .trivia-switcher-link:not(.trivia-switcher-worldcup) {
  background: #dbeafe;
}

body.game-app[data-trivia-mode="mundial"] .trivia-switcher-worldcup.is-active {
  background: #dff4c3;
  box-shadow: 5px 5px 0 var(--mode-accent);
}

body.game-app[data-trivia-mode="general"] .trivia-switcher-link.is-active {
  background: #bfdbfe;
  box-shadow: 5px 5px 0 var(--mode-accent);
}

.game-app .trivia-switcher-link strong {
  font-size: clamp(0.9rem, 3vw, 1.04rem);
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
}

.game-app .trivia-switcher-link span {
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.1;
}

.game-app .trivia-switcher-link.is-active span {
  color: var(--color-text);
}

.game-app .panel-heading {
  display: none;
}

.game-app .playtype-grid,
.game-app .mode-grid {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.game-app .playtype-grid {
  grid-template-columns: 1fr;
}

.game-app .mode-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.game-app .playtype-grid legend,
.game-app .mode-grid legend {
  margin-bottom: 8px;
  color: var(--color-text);
  font-size: 0.74rem;
  font-weight: 1000;
  line-height: 1;
}

.game-app .playtype-option,
.game-app .mode-option {
  position: relative;
  min-width: 0;
  border: 2px solid var(--line);
  color: var(--color-text);
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.game-app .playtype-option:hover,
.game-app .mode-option:hover {
  box-shadow: 4px 4px 0 var(--line);
  transform: none;
}

.game-app .playtype-option input,
.game-app .mode-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.game-app .playtype-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px;
  border-radius: var(--radius-md);
  background: #fff8ea;
}

.game-app .playtype-classic {
  --playtype-color: var(--red);
}

.game-app .playtype-penalties {
  --playtype-color: var(--purple);
}

.game-app .playtype-category {
  --playtype-color: var(--blue);
}

.game-app .playtype-option:has(input:checked) {
  border-color: var(--line);
  background: color-mix(in srgb, var(--playtype-color) 18%, var(--chalk));
  box-shadow: 4px 4px 0 var(--playtype-color);
}

.game-app .playtype-option:has(input:checked)::after,
.game-app .mode-option:has(input:checked)::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: currentColor;
}

.game-app .playtype-icon {
  width: 38px;
  height: 38px;
  padding: 6px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--chalk);
  box-shadow: 2px 2px 0 var(--line);
}

.game-app .playtype-copy,
.game-app .mode-option {
  min-width: 0;
}

.game-app .playtype-title,
.game-app .mode-title {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.34em;
  font-size: clamp(0.78rem, 2.5vw, 1rem);
  font-weight: 1000;
  line-height: 1.05;
}

.game-app .playtype-copy small,
.game-app .mode-option small {
  display: block;
  min-width: 0;
  margin-top: 2px;
  overflow-wrap: anywhere;
  color: var(--color-muted);
  font-size: clamp(0.58rem, 1.7vw, 0.74rem);
  font-weight: 850;
  line-height: 1.12;
}

.game-app .mode-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
  align-content: center;
  justify-items: start;
  min-height: 58px;
  padding: 10px 9px;
  border-radius: var(--radius-md);
  background: var(--chalk);
  text-align: left;
}

.game-app .mode-option.mode-amateur {
  --mode-color: var(--color-amateur);
  background: color-mix(in srgb, var(--color-amateur) 14%, var(--chalk));
}

.game-app .mode-option.mode-profesional {
  --mode-color: var(--color-profesional);
  background: color-mix(in srgb, var(--color-profesional) 13%, var(--chalk));
}

.game-app .mode-option.mode-crack {
  --mode-color: var(--color-crack);
  background: color-mix(in srgb, var(--color-crack) 21%, var(--chalk));
}

.game-app .mode-option:has(input:checked) {
  border-color: var(--line);
  box-shadow: 4px 4px 0 var(--mode-color);
}

.game-app .mode-option:has(input:checked) .mode-title::after {
  content: "";
}

.game-app .mode-option:has(input:checked) small {
  color: var(--color-text);
}

.game-app .category-field {
  display: grid;
  gap: 6px;
  color: var(--color-text);
  font-weight: 900;
}

.game-app .category-field[hidden] {
  display: none;
}

.game-app .category-field span {
  font-size: 0.76rem;
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
}

.game-app .category-field select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--color-text);
  background: var(--chalk);
  box-shadow: 3px 3px 0 var(--line);
}

.game-app .category-field small {
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.game-app .player-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.game-app .name-field,
.game-app .team-field {
  display: grid;
  gap: 5px;
  color: var(--color-text);
}

.game-app .name-field span,
.game-app .team-field span {
  font-size: 0.76rem;
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
}

.game-app .name-field input,
.game-app .team-field input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  background: var(--chalk);
  box-shadow: 2px 2px 0 rgba(23, 23, 23, 0.22);
  font-weight: 850;
}

.game-app .name-field input::placeholder,
.game-app .team-field input::placeholder {
  color: color-mix(in srgb, var(--color-muted) 74%, transparent);
}

.game-app .button-row,
.game-app .result-actions,
.game-app .contact-actions {
  display: grid;
  gap: 8px;
}

.game-app .button,
.game-app .footer-contact {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 0.44em;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 1.05;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: normal;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.game-app .button {
  min-height: 50px;
  padding: 8px 14px;
}

.game-app .button-primary {
  color: #ffffff;
  background: var(--color-primary);
  box-shadow: 4px 4px 0 var(--line);
}

.game-app .button-secondary {
  color: var(--color-text);
  background: var(--chalk);
  box-shadow: 3px 3px 0 var(--line);
}

.game-app .button:hover:not(:disabled),
.game-app .footer-contact:hover {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--line);
  filter: none;
  transform: none;
}

.game-app .button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.game-app .button-compact {
  min-height: 38px;
  padding: 7px 11px;
  border-radius: 10px;
}

.game-app .start-status,
.game-app .result-status {
  min-height: 1.25em;
  color: var(--color-primary-strong);
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1.3;
}

.game-app .game-panel {
  display: grid;
  gap: 10px;
  min-height: auto;
  height: auto;
  overflow: visible;
  align-content: start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.game-app .game-topline,
.game-app .result-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.game-app .topline-status {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
}

.game-app .game-mode {
  display: inline-flex;
  max-width: 100%;
  min-height: 38px;
  align-items: center;
  gap: 0.34em;
  overflow: hidden;
  padding: 8px 11px;
  border: 2px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--mode-color, var(--color-amateur));
  box-shadow: 3px 3px 0 var(--line);
  font-size: 0.72rem;
  font-weight: 1000;
  line-height: 1;
  text-shadow: none;
  white-space: nowrap;
}

.game-app .score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  order: 2;
}

.game-app .score-grid article {
  display: grid;
  gap: 2px;
  min-height: 46px;
  justify-items: start;
  padding: 8px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--chalk);
  box-shadow: 3px 3px 0 rgba(23, 23, 23, 0.18);
  opacity: 1;
}

.game-app .score-grid article:nth-child(4) {
  display: none;
}

.game-app .score-grid span {
  color: var(--color-muted);
  font-size: 0.56rem;
  font-weight: 1000;
  line-height: 1;
}

.game-app .score-grid strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--color-text);
  font-size: clamp(0.9rem, 4vw, 1.16rem);
  font-weight: 1000;
  line-height: 1;
}

.game-app .progress-block {
  display: grid;
  gap: 7px;
  order: 3;
}

.game-app .progress-copy {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 1000;
  line-height: 1.05;
}

.game-app .progress-copy span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-app .progress-track {
  height: 12px;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--chalk);
  box-shadow: 2px 2px 0 rgba(23, 23, 23, 0.2);
}

.game-app .progress-track span {
  display: block;
  height: 100%;
  border-radius: 0;
  background: var(--mode-color, var(--color-primary));
  transition: width 180ms ease;
}

.game-app .question-card {
  display: grid;
  gap: 13px;
  order: 4;
  overflow: visible;
  padding: clamp(14px, 3vw, 22px);
  border: 3px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--chalk);
  box-shadow: var(--shadow-panel-lg);
  backdrop-filter: none;
}

.game-app .question-card h2 {
  max-width: 28ch;
  color: var(--color-text);
  font-size: clamp(1.45rem, 7vw, 3rem);
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 0.98;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.game-app .game-timer {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 11px;
  border: 2px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: color-mix(in srgb, var(--red) 18%, var(--chalk));
  box-shadow: 3px 3px 0 var(--red);
  font-size: 0.8rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.game-app .game-timer[hidden] {
  display: none;
}

.game-app .game-timer strong {
  color: var(--color-text);
  font-size: 1.12em;
}

.game-app .options-grid {
  display: grid;
  gap: 8px;
}

.game-app .option-button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 9px;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--color-text);
  background: #fff9ed;
  box-shadow: 3px 3px 0 rgba(23, 23, 23, 0.18);
  text-align: left;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.game-app .option-button:hover:not(:disabled) {
  border-color: var(--line);
  background: color-mix(in srgb, var(--mode-color, var(--color-primary)) 18%, var(--chalk));
  box-shadow: 5px 5px 0 var(--mode-color, var(--color-primary));
  transform: none;
}

.game-app .option-button:disabled {
  cursor: not-allowed;
}

.game-app .option-letter {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 10px;
  color: var(--color-text);
  background: var(--yellow);
  box-shadow: 2px 2px 0 var(--line);
  font-weight: 1000;
}

.game-app .option-text {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--color-text);
  font-size: clamp(0.88rem, 2.4vw, 1rem);
  font-weight: 900;
  line-height: 1.18;
}

.game-app .option-button.is-selected {
  box-shadow: 4px 4px 0 var(--mode-color, var(--color-primary));
}

.game-app .option-button.is-correct {
  border-color: var(--line);
  background: color-mix(in srgb, var(--color-correct) 18%, var(--chalk));
  box-shadow: 5px 5px 0 var(--color-correct);
}

.game-app .option-button.is-wrong {
  border-color: var(--line);
  background: color-mix(in srgb, var(--color-wrong) 15%, var(--chalk));
  box-shadow: 5px 5px 0 var(--color-wrong);
}

.game-app .option-button.is-correct .option-letter {
  color: #ffffff;
  background: var(--color-correct);
}

.game-app .option-button.is-wrong .option-letter {
  color: #ffffff;
  background: var(--color-wrong);
}

.game-app .option-result {
  justify-self: end;
  max-width: min(9rem, 42vw);
  padding: 6px 8px;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 999px;
  color: var(--color-text);
  background: var(--chalk);
  font-size: 0.62rem;
  font-weight: 1000;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  text-align: center;
  white-space: normal;
}

.game-app .answer-panel {
  display: grid;
  gap: 10px;
  order: 5;
  padding: 12px;
  border: 3px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--chalk);
  box-shadow: var(--shadow-panel);
}

.game-app .answer-panel.is-correct {
  background: color-mix(in srgb, var(--color-correct) 15%, var(--chalk));
  box-shadow: 6px 6px 0 var(--color-correct);
}

.game-app .answer-panel.is-wrong {
  background: color-mix(in srgb, var(--color-wrong) 13%, var(--chalk));
  box-shadow: 6px 6px 0 var(--color-wrong);
}

.game-app .answer-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.game-app .answer-copy strong {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.36em;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 1000;
  line-height: 1.16;
  text-transform: uppercase;
}

.game-app .answer-panel p {
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.game-app .answer-panel .answer-explanation {
  color: var(--color-muted);
}

.game-app .achievement-strip {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--color-text);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--line);
}

.game-app .achievement-strip strong,
.game-app .achievement-strip span {
  color: var(--color-text);
  font-weight: 1000;
  line-height: 1.1;
}

.game-app .achievement-strip strong {
  font-size: 0.86rem;
  text-transform: uppercase;
}

.game-app .achievement-strip span {
  font-size: 0.8rem;
}

.game-app .result-panel {
  display: grid;
  gap: 14px;
  min-height: auto;
  overflow: visible;
  align-content: start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.game-app .result-layout {
  display: grid;
  gap: 16px;
  align-items: start;
  justify-items: center;
}

.game-app .result-summary {
  display: grid;
  width: 100%;
  gap: 11px;
  padding: 14px;
  border: 3px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--chalk);
  box-shadow: var(--shadow-panel);
}

.game-app .result-summary h2 {
  max-width: 18ch;
  color: var(--color-text);
  font-size: clamp(1.55rem, 8vw, 2.9rem);
  font-weight: 1000;
  line-height: 0.96;
}

.game-app .result-copy {
  color: var(--color-muted);
  font-size: 0.96rem;
  font-weight: 850;
  line-height: 1.34;
}

.game-app .share-card,
.game-app .share-card.mode-amateur,
.game-app .share-card.mode-profesional,
.game-app .share-card.mode-crack {
  --card-main: var(--color-amateur);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 12px;
  width: min(100%, 360px);
  min-width: 0;
  aspect-ratio: 9 / 16;
  min-height: auto;
  overflow: hidden;
  padding: 18px;
  border: 3px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  background:
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--card-main) 12%, transparent) 0 2px, transparent 2px 18px),
    linear-gradient(180deg, color-mix(in srgb, var(--card-main) 22%, var(--chalk)) 0 24%, var(--chalk) 24% 100%);
  box-shadow: var(--shadow-panel-lg);
}

.game-app .share-card.mode-profesional {
  --card-main: var(--color-profesional);
}

.game-app .share-card.mode-crack {
  --card-main: var(--color-crack);
}

.game-app .share-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 0;
  border: 2px solid color-mix(in srgb, var(--line) 18%, transparent);
  border-radius: 11px;
  pointer-events: none;
}

.game-app .share-card-top,
.game-app .share-card-body,
.game-app .share-podium,
.game-app .share-challenge {
  position: relative;
  z-index: 1;
}

.game-app .share-card-top {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.game-app .share-brand {
  display: inline-flex;
  min-width: 0;
  max-width: 58%;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  color: var(--color-text);
  font-size: 0.68rem;
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.game-app .share-brand::after {
  display: none;
}

.game-app .share-brand img {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  padding: 3px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--chalk);
}

.game-app .share-brand span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-app .share-mode {
  display: grid;
  max-width: 42%;
  min-height: 32px;
  place-items: center;
  padding: 6px 8px;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 999px;
  color: var(--color-text);
  background: var(--chalk);
  box-shadow: 2px 2px 0 var(--line);
  font-size: 0.58rem;
  font-weight: 1000;
  line-height: 1.05;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.game-app .share-ball {
  position: absolute;
  top: 58px;
  right: 18px;
  z-index: 1;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 3px solid var(--line);
  border-radius: 50%;
  background: var(--chalk);
  box-shadow: 4px 4px 0 var(--line);
}

.game-app .share-ball .emoji-icon {
  width: 48px;
  height: 48px;
}

.game-app .share-card-body {
  display: grid;
  align-self: stretch;
  align-content: center;
  gap: 8px;
  min-width: 0;
  padding-top: 42px;
}

.game-app .share-kicker {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 0.28em;
  padding: 6px 8px;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 999px;
  color: var(--color-text);
  background: var(--yellow);
  font-size: 0.58rem !important;
  font-weight: 1000;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-app .share-card-body p,
.game-app .share-card-body strong,
.game-app .share-card-body span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.game-app .share-card-body p {
  max-width: 9ch;
  color: var(--color-text);
  font-size: clamp(1.8rem, 10vw, 2.35rem);
  font-weight: 1000;
  line-height: 0.9;
  text-transform: uppercase;
}

.game-app .share-card-body p.is-long {
  font-size: clamp(1.5rem, 8vw, 1.9rem);
}

.game-app .share-card-body p.is-very-long {
  font-size: clamp(1.18rem, 6.2vw, 1.48rem);
  line-height: 0.95;
}

.game-app .share-card-body strong {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 9px 10px;
  overflow: hidden;
  border: 3px solid var(--line);
  border-radius: 999px;
  color: var(--color-text);
  background: var(--chalk);
  box-shadow: 4px 4px 0 var(--card-main);
  font-size: clamp(1.45rem, 8vw, 2rem);
  font-weight: 1000;
  line-height: 0.96;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.game-app .share-loros,
.game-app .share-achievement {
  width: fit-content;
  max-width: 100%;
  padding: 6px 8px;
  border: 2px solid var(--line);
  border-radius: 999px;
  color: var(--color-text);
  background: color-mix(in srgb, var(--card-main) 16%, var(--chalk));
  font-size: 0.72rem !important;
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
}

.game-app .share-achievement.is-long {
  font-size: 0.66rem !important;
  line-height: 1.12;
}

.game-app .share-podium {
  display: flex;
  align-items: end;
  gap: 6px;
  height: 56px;
}

.game-app .share-podium span {
  flex: 1;
  border: 2px solid var(--line);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: color-mix(in srgb, var(--card-main) 24%, var(--chalk));
}

.game-app .share-podium span:nth-child(1) {
  height: 54%;
}

.game-app .share-podium span:nth-child(2) {
  height: 100%;
}

.game-app .share-podium span:nth-child(3) {
  height: 72%;
}

.game-app .share-challenge {
  display: grid;
  gap: 5px;
  max-width: 100%;
  color: var(--color-text);
  font-size: 0.8rem;
  font-weight: 1000;
  line-height: 1.1;
  text-transform: uppercase;
}

.game-app .share-cta {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.2em;
  font-size: 1.08rem;
  line-height: 1;
}

.game-app .share-link {
  width: fit-content;
  max-width: 100%;
  padding: 6px 8px;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 999px;
  color: var(--color-text);
  background: var(--yellow);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-app .contact-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(23, 23, 23, 0.58);
  backdrop-filter: blur(4px);
}

.game-app .contact-card {
  position: relative;
  display: grid;
  gap: 12px;
  width: min(100%, 430px);
  padding: 18px;
  border: 3px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  background: var(--chalk);
  box-shadow: var(--shadow-panel-lg);
}

.game-app .contact-card h2 {
  max-width: 16ch;
  color: var(--color-text);
  font-size: clamp(1.6rem, 8vw, 2.6rem);
  font-weight: 1000;
  line-height: 0.95;
}

.game-app .contact-copy {
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.36;
}

.game-app .contact-email {
  padding: 10px 12px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  background: color-mix(in srgb, var(--color-primary) 15%, var(--chalk));
  box-shadow: 3px 3px 0 var(--color-primary);
  font-size: 0.96rem;
  font-weight: 1000;
  overflow-wrap: anywhere;
}

.game-app .contact-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 10px;
  color: var(--color-text);
  background: var(--chalk);
  box-shadow: 2px 2px 0 var(--line);
  font-size: 1.2rem;
  font-weight: 1000;
  cursor: pointer;
}

.game-app .contact-close:hover {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--line);
}

.game-app .seo-content,
.game-app .faq-section,
.game-app .discovery-stack {
  display: grid;
  gap: 16px;
  margin: clamp(22px, 5vw, 34px) 0 0;
}

.game-app .seo-content,
.game-app .faq-section {
  padding: 0;
  border: 3px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--chalk);
  box-shadow: var(--shadow-panel);
}

.game-app .info-disclosure summary {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  color: var(--color-text);
  cursor: pointer;
  font-size: clamp(1rem, 2.6vw, 1.16rem);
  font-weight: 1000;
  line-height: 1;
  list-style: none;
  text-transform: uppercase;
}

.game-app .info-disclosure summary::-webkit-details-marker {
  display: none;
}

.game-app .info-disclosure summary::after {
  content: "+";
  display: grid;
  width: 30px;
  height: 30px;
  margin-left: auto;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--mode-soft);
  box-shadow: 2px 2px 0 var(--line);
}

.game-app .info-disclosure[open] summary::after {
  content: "-";
}

.game-app .info-disclosure > section {
  padding: 0 clamp(14px, 3vw, 22px) clamp(16px, 3vw, 22px);
}

body.game-app:has(.game-panel:not([hidden])) .seo-content,
body.game-app:has(.game-panel:not([hidden])) .faq-section,
body.game-app:has(.game-panel:not([hidden])) .discovery-stack,
body.game-app:has(.result-panel:not([hidden])) .seo-content,
body.game-app:has(.result-panel:not([hidden])) .faq-section,
body.game-app:has(.result-panel:not([hidden])) .discovery-stack {
  display: none;
}

.game-app .seo-copy,
.game-app .faq-heading {
  display: grid;
  gap: 8px;
}

.game-app .seo-content h2,
.game-app .faq-section h2 {
  color: var(--color-text);
  font-size: clamp(1.45rem, 5vw, 2.45rem);
  font-weight: 1000;
  line-height: 0.98;
  text-transform: uppercase;
}

.game-app .seo-content p,
.game-app .faq-grid p {
  color: var(--color-muted);
  font-size: clamp(0.9rem, 2.4vw, 1rem);
  font-weight: 850;
  line-height: 1.42;
}

.game-app .seo-content a {
  color: var(--color-primary-strong);
  font-weight: 1000;
}

.game-app .faq-grid {
  display: grid;
  gap: 10px;
}

.game-app .faq-grid article {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--paper) 46%, var(--chalk));
  box-shadow: 3px 3px 0 var(--line);
}

.game-app .faq-grid h3 {
  color: var(--color-text);
  font-size: clamp(0.98rem, 2.8vw, 1.1rem);
  font-weight: 1000;
  line-height: 1.06;
}

.game-app .youtube-card,
.game-app .tatuia-card {
  display: grid;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 3px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--chalk);
  box-shadow: var(--shadow-panel);
}

.game-app .youtube-card {
  color: var(--color-text);
  background:
    repeating-linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0 2px, transparent 2px 18px),
    var(--chalk);
}

.game-app .tatuia-card {
  grid-template-columns: auto minmax(0, 1fr);
}

.game-app .youtube-copy,
.game-app .tatuia-card-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.game-app .youtube-copy h2,
.game-app .tatuia-card-copy h2 {
  color: var(--color-text);
  font-size: clamp(1.2rem, 5vw, 2rem);
  font-weight: 1000;
  line-height: 0.98;
}

.game-app .youtube-copy p,
.game-app .tatuia-card-copy p {
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.34;
}

.game-app .youtube-card .eyebrow {
  color: var(--red);
}

.game-app .button-youtube {
  width: fit-content;
  color: #ffffff;
  background: var(--red);
}

.game-app .button-tatuia {
  color: #ffffff;
  background: var(--color-primary);
}

.game-app .app-extra-trigger {
  width: 100%;
  color: var(--color-text);
  background: var(--chalk);
  box-shadow: 4px 4px 0 var(--line);
}

.game-app .app-extra-trigger:hover {
  color: var(--ink);
  background: var(--yellow);
}

.game-app .app-extra-socials {
  display: grid;
  gap: 9px;
}

.game-app .app-extra-socials[hidden] {
  display: none;
}

.game-app .app-extra-socials p {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 1000;
  line-height: 1.18;
  text-align: center;
}

.game-app .app-extra-social-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.game-app .app-social-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 7px 8px;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  color: #ffffff;
  box-shadow: 3px 3px 0 var(--line);
  font-size: 0.72rem;
  font-weight: 1000;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.game-app .app-social-button:hover {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--line);
}

.game-app .app-extra-video {
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 4px 4px 0 var(--line);
}

.game-app .video-embed {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  background: #111111;
  box-shadow: 4px 4px 0 var(--line);
}

.game-app .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.game-app .tatuia-card-logo {
  width: 64px;
  height: 48px;
  padding: 6px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--chalk);
  box-shadow: 3px 3px 0 var(--line);
}

.game-app .tatuia-card .button-tatuia {
  grid-column: 1 / -1;
}

.game-app .site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(18px, 4vw, 30px);
  padding: 16px 0 8px;
  border-top: 3px solid var(--line);
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.35;
}

.game-app .site-footer strong {
  color: var(--color-text);
}

.game-app .footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.game-app .footer-socials a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 2px solid var(--line);
  border-radius: 999px;
  color: var(--color-text);
  background: var(--chalk);
  box-shadow: 2px 2px 0 var(--line);
  font-weight: 1000;
  text-decoration: none;
  text-transform: uppercase;
}

.game-app .footer-socials a:hover {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--line);
}

.game-app .footer-contact {
  display: inline;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  box-shadow: none;
  font-size: inherit;
  line-height: inherit;
  text-decoration: underline;
}

[data-theme="dark"] .game-app .start-panel,
[data-theme="dark"] .game-app .question-card,
[data-theme="dark"] .game-app .answer-panel,
[data-theme="dark"] .game-app .result-summary,
[data-theme="dark"] .game-app .contact-card,
[data-theme="dark"] .game-app .youtube-card,
[data-theme="dark"] .game-app .tatuia-card,
[data-theme="dark"] .game-app .seo-content,
[data-theme="dark"] .game-app .faq-section,
[data-theme="dark"] .game-app .faq-grid article,
[data-theme="dark"] .game-app .score-grid article,
[data-theme="dark"] .game-app .option-button,
[data-theme="dark"] .game-app .playtype-option,
[data-theme="dark"] .game-app .mode-option,
[data-theme="dark"] .game-app .category-field select,
[data-theme="dark"] .game-app .name-field input,
[data-theme="dark"] .game-app .team-field input,
[data-theme="dark"] .game-app .theme-toggle,
[data-theme="dark"] .game-app .sound-toggle,
[data-theme="dark"] .game-app .button-secondary,
[data-theme="dark"] .game-app .footer-socials a {
  background-color: var(--color-surface);
}

[data-theme="dark"] .game-app .button:hover:not(:disabled),
[data-theme="dark"] .game-app .theme-toggle:hover,
[data-theme="dark"] .game-app .sound-toggle:hover,
[data-theme="dark"] .game-app .footer-socials a:hover {
  color: #171717;
  background: var(--yellow);
}

@media (min-width: 520px) {
  .game-app .playtype-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-app .trivia-switcher {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-app .player-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-app .contact-actions {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 760px) {
  .game-app .app-shell {
    padding: 18px 28px 24px;
  }

  .game-app .start-panel {
    gap: 16px;
    padding: 22px;
  }

  .game-app .mode-option {
    justify-items: start;
    min-height: 64px;
    padding: 12px;
  }

  .game-app .playtype-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .game-app .game-panel {
    gap: 12px;
  }

  .game-app .score-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .game-app .score-grid article:nth-child(4) {
    display: grid;
  }

  .game-app .question-card {
    gap: 16px;
  }

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

  .game-app .answer-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .game-app .result-layout {
    grid-template-columns: minmax(300px, 0.7fr) minmax(0, 0.9fr);
    gap: 24px;
  }

  .game-app .result-summary {
    align-self: start;
    padding: 18px;
  }

  .game-app .result-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .game-app .youtube-card {
    grid-template-columns: minmax(0, 0.78fr) minmax(340px, 1fr);
    padding: 18px;
  }

  .game-app .tatuia-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 16px;
  }

  .game-app .tatuia-card .button-tatuia {
    grid-column: auto;
    white-space: nowrap;
  }
}

@media (min-width: 980px) {
  .game-app .site-header {
    margin-bottom: 18px;
  }

  .game-app .start-panel {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.1fr);
    align-items: start;
  }

  .game-app .hero-copy {
    grid-row: 1 / span 4;
    align-content: start;
    padding-right: 10px;
  }

  .game-app .playtype-grid,
  .game-app .mode-grid,
  .game-app .category-field,
  .game-app .player-fields,
  .game-app .button-row,
  .game-app .start-status {
    grid-column: 2;
  }

  .game-app h1 {
    max-width: 8.2ch;
    font-size: clamp(3.8rem, 6.8vw, 5.6rem);
  }
}

@media (max-width: 640px) {
  .game-app .app-shell {
    padding: 10px;
  }

  .game-app .site-header {
    gap: 8px;
    margin-bottom: 8px;
    padding-bottom: 8px;
  }

  .game-app .brand-logo {
    width: 42px;
    height: 34px;
  }

  .game-app .brand strong {
    font-size: 0.82rem;
  }

  .game-app .brand small {
    font-size: 0.6rem;
  }

  .game-app .theme-toggle,
  .game-app .sound-toggle {
    width: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 10px;
  }

  .game-app .start-panel {
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    box-shadow: 5px 5px 0 var(--line);
  }

  .game-app h1 {
    max-width: 10ch;
    font-size: clamp(2.15rem, 13vw, 3.6rem);
  }

  .game-app .hero-lead {
    font-size: 0.88rem;
    line-height: 1.28;
  }

  .game-app .mode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .game-app .playtype-grid {
    gap: 7px;
  }

  .game-app .playtype-option {
    min-height: 54px;
    padding: 8px;
  }

  .game-app .playtype-icon {
    width: 32px;
    height: 32px;
    padding: 5px;
  }

  .game-app .mode-option {
    min-height: 54px;
    padding: 8px 5px;
  }

  .game-app .mode-title {
    font-size: clamp(0.68rem, 3vw, 0.86rem);
  }

  .game-app .mode-title .emoji-icon {
    width: 1em;
    height: 1em;
  }

  .game-app .mode-option small {
    font-size: 0.54rem;
  }

  .game-app .name-field input,
  .game-app .team-field input {
    min-height: 40px;
  }

  .game-app .button {
    min-height: 46px;
    padding: 7px 11px;
  }

  .game-app .game-panel {
    gap: 8px;
  }

  .game-app .button-compact,
  .game-app .game-mode {
    min-height: 34px;
    padding: 7px 9px;
  }

  .game-app .score-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .game-app .score-grid article {
    min-height: 38px;
    padding: 6px;
  }

  .game-app .score-grid article:nth-child(4) {
    display: none;
  }

  .game-app .score-grid span {
    font-size: 0.52rem;
  }

  .game-app .score-grid strong {
    font-size: 0.82rem;
  }

  .game-app .progress-copy {
    font-size: 0.6rem;
  }

  .game-app .question-card {
    gap: 10px;
    padding: 12px;
    box-shadow: 5px 5px 0 var(--line);
  }

  .game-app .question-card h2 {
    font-size: clamp(1.28rem, 7.2vw, 1.95rem);
  }

  .game-app .option-button {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 52px;
    padding: 8px;
  }

  .game-app .option-letter {
    width: 30px;
    height: 30px;
  }

  .game-app .option-result {
    max-width: min(8rem, 34vw);
    padding: 5px 6px;
    font-size: 0.54rem;
  }

  .game-app .answer-panel {
    max-height: none;
    overflow: visible;
    padding: 10px;
  }

  .game-app .answer-panel p {
    font-size: 0.78rem;
  }

  .game-app .result-layout {
    gap: 12px;
  }

  .game-app .result-summary {
    order: 2;
    padding: 12px;
  }

  .game-app .share-card {
    order: 1;
    width: min(100%, 304px);
    padding: 16px;
    box-shadow: 5px 5px 0 var(--line);
  }

  .game-app .share-ball {
    top: 58px;
    right: 16px;
    width: 60px;
    height: 60px;
  }

  .game-app .share-ball .emoji-icon {
    width: 38px;
    height: 38px;
  }

  .game-app .share-card-body {
    padding-top: 34px;
  }

  .game-app .share-card-body strong {
    font-size: 1.46rem;
  }

  .game-app .share-podium {
    height: 50px;
  }

  .game-app .discovery-stack {
    gap: 12px;
  }

  .game-app .youtube-card,
  .game-app .tatuia-card {
    padding: 12px;
    border-radius: 14px;
    box-shadow: 5px 5px 0 var(--line);
  }

  .game-app .tatuia-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .game-app .tatuia-card-logo {
    width: 54px;
    height: 42px;
  }
}

@media (max-width: 380px) {
  .game-app .mode-grid {
    grid-template-columns: 1fr;
  }

  .game-app .mode-option {
    min-height: 48px;
  }

  .game-app .score-grid {
    grid-template-columns: 1fr 1fr;
  }

  .game-app .score-grid article:nth-child(3) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-app *,
  .game-app *::before,
  .game-app *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
