@charset "UTF-8";
@font-face {
  font-family: 'Agdasima';
  src: url("../fnt/Agdasima-Regular.woff2") format("woff2"), url("../fnt/Agdasima-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Agdasima';
  src: url("../fnt/Agdasima-Bold.woff2") format("woff2"), url("../fnt/Agdasima-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* Copyright © 2022-now Flac Studio. All rights reserved. https://flac-studio.fr/
<><><><><><><><><><><><><><><><> */
/* easeInOutQuint */
@property --gradient-stop-1 {
  syntax: '<number>';
  initial-value: 0;
  inherits: false;
}

@property --gradient-stop-2 {
  syntax: '<number>';
  initial-value: 25;
  inherits: false;
}

@property --gradient-stop-3 {
  syntax: '<number>';
  initial-value: 50;
  inherits: false;
}

@property --gradient-stop-4 {
  syntax: '<number>';
  initial-value: 75;
  inherits: false;
}

@property --gradient-stop-5 {
  syntax: '<number>';
  initial-value: 100;
  inherits: false;
}

:root {
  --white: #d9d9d9;
  --grey: #9c9c9c;
  --dark-grey: #1d1c1c;
  --blueish-grey: #2b2930;
  --red: #bb2040;
  --light-red: #db3254;
  --green: #145f48;
  --light-green: #2aa048;
  --yellow: #f7c914;
  --orange: #e27c21;
  --purple: #8b3a9f;
  --color-bg-desktop: #443a3c;
  --font-size: 1rem;
  --font-size-s: calc(var(--font-size) * 1);
  --font-size-m: calc(var(--font-size) * 1.25);
  --font-size-l: calc(var(--font-size) * 1.5);
  --font-size-xl: calc(var(--font-size) * 2.25);
  --font-size-xxl: calc(var(--font-size) * 3);
  --line-height: 1.35;
  --border-radius: 5px;
  --spacing: 1rem;
  --spacing-l: calc(var(--spacing) * 2);
  --spacing-text-y: calc(var(--spacing) * 0.55);
}

@media only screen and (min-width: 768px) {
  :root {
    --spacing: 1.25rem;
  }
}

@media only screen and (max-height: 680px) {
  :root {
    --spacing: 0.75rem;
  }
}

html {
  font-size: clamp(16px, calc(1vh + 1vw), 18px);
}

html body {
  display: block;
  position: relative;
  line-height: var(--line-height);
  font-feature-settings: 'kern' 1;
  font-kerning: normal;
  font-family: 'Agdasima', sans-serif;
  background-color: var(--color-bg-desktop);
  transition: background-color 200ms ease-in-out;
  height: 100svh;
}

html body.switch-loading {
  animation: glow-loading 800ms ease-in-out 800ms infinite forwards;
}

@keyframes glow-loading {
  0% {
    background-color: var(--color-bg-desktop);
  }
  50% {
    background-color: #3c4744;
  }
  100% {
    background-color: var(--color-bg-desktop);
  }
}

h2 {
  font-weight: bold;
  margin-bottom: calc(var(--spacing) * 1.5);
  font-size: var(--font-size-l);
}

h3 {
  font-weight: bold;
  margin: var(--spacing-l) 0 var(--spacing) 0;
  font-size: var(--font-size);
}

h4 {
  font-weight: bold;
  font-size: var(--font-size);
}

strong {
  font-weight: bold;
}

hr {
  background-color: var(--blueish-grey);
  border: 1px solid var(--blueish-grey);
  width: 100%;
}

.error-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 200ms ease-out;
}

.error-modal-overlay.show {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.error-modal {
  position: relative;
  background-color: var(--red);
  color: var(--white);
  padding: calc(var(--spacing) * 2);
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: slideIn 300ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes slideIn {
  from {
    transform: scale(0.8) translateY(-20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.error-modal .error-close {
  position: absolute;
  top: calc(var(--spacing) * 0.75);
  right: calc(var(--spacing) * 0.75);
  background: transparent;
  border: none;
  color: var(--white);
  font-size: calc(var(--font-size) * 1.5);
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 200ms ease;
}

.error-modal .error-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.error-modal .error-close:active {
  background-color: rgba(255, 255, 255, 0.3);
}

.error-modal .error-icon {
  font-size: calc(var(--font-size) * 2.5);
  margin-bottom: var(--spacing);
  text-align: center;
}

.error-modal .error-message {
  font-size: var(--font-size-m);
  line-height: var(--line-height);
  text-align: center;
  margin: 0;
  padding-right: calc(var(--spacing) * 1.5);
}

.visually-hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--spacing) * 0.75);
  padding: var(--spacing) var(--spacing) 0 var(--spacing);
  width: 100%;
  box-sizing: border-box;
  transition: all 400ms cubic-bezier(0.86, 0, 0.07, 1);
}

.statistics .site-header {
  flex-direction: row;
  gap: var(--spacing);
  align-items: center;
}

.logo-link {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 8.5rem;
  transition: all 400ms cubic-bezier(0.86, 0, 0.07, 1);
}

.statistics .logo-link {
  width: 10rem;
  max-width: 10rem;
}

.switch-quiz-ongoing .logo-link {
  max-height: 6rem;
}

.switch-quiz-end .logo-link {
  max-height: 6rem;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-tagline {
  font-size: var(--font-size-s);
  font-weight: bold;
  text-align: center;
  margin: 0;
  color: var(--white);
  transition: all 400ms cubic-bezier(0.86, 0, 0.07, 1);
  opacity: 1;
}

.switch-quiz-ongoing .site-tagline {
  opacity: 0.5;
}

.switch-quiz-end .site-tagline {
  opacity: 0.5;
}

.statistics .site-tagline {
  opacity: 0.7;
}

p strong {
  font-weight: bold;
}

.main-container {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 100%;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  overflow-y: auto;
}

@media only screen and (min-width: 768px) {
  .main-container {
    padding: var(--spacing);
  }
}

.main-container.statistics {
  display: block;
}

.main-container .client-container {
  position: relative;
  width: 550px;
  max-width: 100%;
  min-height: 100%;
  height: auto;
}

@media only screen and (min-width: 768px) {
  .main-container .client-container {
    max-width: calc(100vw - (var(--spacing) * 2));
  }
}

.quiz-selection-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quiz-selection-wrapper h2 {
  width: 100%;
  border-top: 2px solid var(--blueish-grey);
  border-bottom: 2px solid var(--blueish-grey);
  padding: var(--spacing-text-y) 0;
}

.quiz-selection-wrapper .quiz-buttons {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 0.5);
  width: 100%;
  max-width: 400px;
}

.quiz-selection-wrapper .quiz-buttons .quiz-select-btn {
  display: block;
  border: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  background-image: url("./../img/button-1.svg");
  color: var(--white);
  text-align: center;
  font-family: 'Agdasima', sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: scale 150ms cubic-bezier(0.86, 0, 0.07, 1), filter 200ms ease-out;
  padding: calc(var(--spacing) * 1.5) var(--spacing);
  text-decoration: none;
  font-size: var(--font-size-l);
}

.quiz-selection-wrapper .quiz-buttons .quiz-select-btn:hover {
  scale: 1.065;
}

.quiz-selection-wrapper .quiz-buttons .quiz-select-btn:active {
  scale: 1;
}

.quiz-selection-wrapper .quiz-buttons .quiz-select-btn:nth-of-type(odd) {
  background-image: url("./../img/button-1.svg");
}

.quiz-selection-wrapper .quiz-buttons .quiz-select-btn:nth-of-type(even) {
  background-image: url("./../img/button-2.svg");
}

.intro-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.intro-wrapper h2 {
  width: 100%;
  border-top: 2px solid var(--blueish-grey);
  border-bottom: 2px solid var(--blueish-grey);
  padding: var(--spacing-text-y) 0;
}

.intro-wrapper .intro-form {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.intro-wrapper .intro-form select,
.intro-wrapper .intro-form label,
.intro-wrapper .intro-form option,
.intro-wrapper .intro-form button {
  cursor: pointer;
  font-family: 'Agdasima', sans-serif;
  font-size: var(--font-size);
}

.intro-wrapper .intro-form .intro-form-labels {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: start;
  text-align: left;
  gap: calc(var(--spacing) * 0.5);
  width: fit-content;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-radius: var(--border-radius);
  padding: var(--spacing);
  box-sizing: border-box;
  margin: 0 var(--spacing) 0 var(--spacing);
}

.intro-wrapper .intro-form .intro-form-labels:nth-of-type(1) {
  background-image: url("../img/rare-bg-1.svg");
  margin-bottom: calc(var(--spacing) * 0.25);
}

.intro-wrapper .intro-form .intro-form-labels:nth-of-type(2) {
  background-image: url("../img/rare-bg-2.svg");
  margin-bottom: calc(var(--spacing) * 0.9);
}

@media only screen and (min-width: 768px) {
  .intro-wrapper .intro-form .intro-form-labels:nth-of-type(2) {
    margin-bottom: calc(var(--spacing) * 0.8);
  }
}

.intro-wrapper .intro-form .intro-form-labels:nth-of-type(3) {
  background-image: url("../img/rare-bg-3.svg");
  padding-bottom: calc(var(--spacing) * 1.5);
}

.intro-wrapper .intro-form .intro-form-labels select {
  background-color: var(--grey);
  border: none;
  color: var(--dark-grey);
  border-radius: var(--border-radius);
  width: calc(10rem + 8vw);
}

@media only screen and (min-width: 768px) {
  .intro-wrapper .intro-form .intro-form-labels select {
    width: calc(10rem + 4vw);
  }
}

.intro-wrapper .intro-form .intro-form-labels .label-symbol-wrapper {
  position: relative;
  height: 100%;
  width: auto;
  flex-shrink: 0;
  margin-right: calc(var(--spacing) * 0.5);
}

.intro-wrapper .intro-form .intro-form-labels .label-symbol-wrapper .label-symbol {
  height: 100%;
  width: auto;
  display: block;
}

.intro-wrapper .intro-form .intro-form-labels .label-info .label-text {
  display: block;
  font-weight: 700;
  margin: 0 0 calc(var(--spacing) * 0.25) 0;
  line-height: inherit;
}

.intro-wrapper .intro-form .button-start {
  display: block;
  border: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  background-image: url("./../img/button-1.svg");
  color: var(--white);
  text-align: center;
  font-family: 'Agdasima', sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: scale 150ms cubic-bezier(0.86, 0, 0.07, 1), filter 200ms ease-out;
  padding: calc(var(--spacing) * 1.25) var(--spacing);
  margin-top: var(--spacing);
  margin-bottom: var(--spacing);
  font-size: var(--font-size-l);
  width: 10rem;
}

.intro-wrapper .intro-form .button-start:hover {
  scale: 1.065;
}

.intro-wrapper .intro-form .button-start:active {
  scale: 1;
}

@media only screen and (min-width: 768px) {
  .intro-wrapper .intro-form .button-start {
    width: 50%;
  }
}

.client-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--spacing);
  padding: var(--spacing);
  box-sizing: border-box;
  border: 1px solid var(--black);
  border-radius: var(--border-radius);
  background-color: var(--dark-grey);
  text-align: center;
  color: var(--white);
}

.client-container .game-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--spacing);
}

.client-container .game-wrapper .progress-bar {
  position: relative;
  height: 1.35rem;
  box-sizing: border-box;
  background-color: var(--dark-grey);
  border-radius: calc(var(--border-radius) * 0.75);
}

.client-container .game-wrapper .progress-bar .score-cursor {
  position: absolute;
  top: -15px;
  bottom: 30%;
  width: 30px;
  left: 0%;
  background-image: url("../img/score-cursor.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-radius: var(--border-radius);
  transition: left 1500ms cubic-bezier(0.86, 0, 0.07, 1);
  z-index: 10;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 0.35rem var(--dark-grey));
}

.client-container .game-wrapper .progress-bar .rounded-wrapper {
  display: flex;
  position: relative;
  border-radius: 1000px;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.client-container .game-wrapper .progress-bar .rounded-wrapper .progress-bar-cell {
  display: inline-block;
  position: relative;
  flex-grow: 1;
  height: 100%;
  background-color: var(--blueish-grey);
  margin-right: 4px;
}

.client-container .game-wrapper .progress-bar .rounded-wrapper .progress-bar-cell:last-of-type {
  margin-right: 0;
}

.client-container .game-wrapper .progress-bar .rounded-wrapper .progress-bar-cell.cell-active {
  background-color: var(--red);
}

.client-container .game-wrapper .bracket-message h2 {
  font-size: var(--font-size-xxl);
  font-weight: bold;
  margin: 0;
}

.client-container .game-wrapper .bracket-message .subtitle {
  font-size: var(--font-size-s);
  margin: 0;
}

.client-container .game-wrapper .progress-bar-captions {
  display: none;
}

.switch-loading.switch-quiz-end .client-container .game-wrapper .progress-bar-captions {
  display: none;
}

.switch-quiz-end .client-container .game-wrapper .progress-bar-captions {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-size-s);
  opacity: 0.6;
}

.switch-quiz-end .client-container .game-wrapper .progress-bar-captions .caption-left,
.switch-quiz-end .client-container .game-wrapper .progress-bar-captions .caption-right {
  font-weight: normal;
}

.client-container .game-wrapper .finish-block {
  display: none;
  width: 600px;
  max-width: 100%;
}

.client-container .game-wrapper .finish-block .loading-message {
  font-size: var(--font-size-l);
}

.switch-quiz-end .client-container .game-wrapper .finish-block {
  display: flex;
  flex-direction: column;
  gap: var(--spacing);
  box-sizing: border-box;
  border: 1px solid var(--black);
  border-radius: var(--border-radius);
}

@media only screen and (min-width: 768px) {
  .switch-quiz-end .client-container .game-wrapper .finish-block {
    padding: 0 var(--spacing) var(--spacing) var(--spacing);
  }
}

.switch-quiz-end .client-container .game-wrapper .finish-block h3 {
  font-weight: bold;
  font-size: var(--font-size-l);
  margin: 0 0 var(--spacing) 0;
}

.switch-quiz-end .client-container .game-wrapper .finish-block .stats-red-flag-pct {
  font-size: var(--font-size-xl);
}

.switch-quiz-end .client-container .game-wrapper .finish-block .stats-red-flag-pct p {
  margin: 0;
  font-size: var(--font-size-l);
}

.switch-quiz-end .client-container .game-wrapper .finish-block .stats-red-flag-pct p strong {
  font-size: var(--font-size-xl);
  background-color: var(--red);
  color: var(--white);
  border-radius: var(--border-radius);
  padding: calc(var(--spacing-text-y) * 0.25) calc(var(--spacing) * 0.85);
}

.switch-quiz-end .client-container .game-wrapper .finish-block .stats-flags {
  flex-direction: row;
  display: flex;
  gap: var(--spacing);
  justify-content: space-around;
  text-transform: uppercase;
  margin-top: var(--spacing);
}

.switch-quiz-end .client-container .game-wrapper .finish-block .stats-flags li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.switch-quiz-end .client-container .game-wrapper .finish-block .stats-flags li p {
  font-size: calc(var(--font-size) * 0.75);
  margin: 0;
}

.switch-quiz-end .client-container .game-wrapper .finish-block .stats-flags li p strong {
  font-size: calc(var(--font-size) * 1);
}

.switch-quiz-end .client-container .game-wrapper .finish-block .stats-flags li .img-flag {
  width: 3.5rem;
}

.switch-quiz-end .client-container .game-wrapper .finish-block .stats-rare-section {
  text-align: left;
}

.switch-quiz-end .client-container .game-wrapper .finish-block .stats-rare-section h3 {
  margin-bottom: calc(var(--spacing) * 0.5);
}

.switch-quiz-end .client-container .game-wrapper .finish-block .stats-rare-section .subtitle {
  margin: 0 0 var(--spacing) 0;
}

.switch-quiz-end .client-container .game-wrapper .finish-block .stats-rare-section .sample-size {
  text-align: center;
  margin: var(--spacing) 0 0 0;
  font-size: var(--font-size-s);
}

.switch-quiz-end .client-container .game-wrapper .finish-block .stats-rare-section .stats-rare {
  display: flex;
  flex-direction: column;
}

.switch-quiz-end .client-container .game-wrapper .finish-block .stats-rare-section .stats-rare li {
  display: flex;
  gap: var(--spacing);
  text-align: left;
  justify-content: space-between;
  padding: calc(var(--spacing) * 1) var(--spacing);
  box-sizing: border-box;
  border-radius: var(--border-radius);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  background-color: transparent;
}

.switch-quiz-end .client-container .game-wrapper .finish-block .stats-rare-section .stats-rare li:nth-of-type(1) {
  background-image: url("../img/rare-bg-1.svg");
}

.switch-quiz-end .client-container .game-wrapper .finish-block .stats-rare-section .stats-rare li:nth-of-type(2) {
  background-image: url("../img/rare-bg-2.svg");
  margin-bottom: calc(var(--spacing) * 0.9);
  padding-top: calc((var(--spacing) * 2.5) - 2vw);
}

@media only screen and (min-width: 768px) {
  .switch-quiz-end .client-container .game-wrapper .finish-block .stats-rare-section .stats-rare li:nth-of-type(2) {
    margin-bottom: calc(var(--spacing) * 0.8);
    padding-top: calc(var(--spacing) * 1.35);
  }
}

.switch-quiz-end .client-container .game-wrapper .finish-block .stats-rare-section .stats-rare li:nth-of-type(3) {
  background-image: url("../img/rare-bg-3.svg");
  padding-bottom: calc((var(--spacing) * 3) - 2vw);
}

@media only screen and (min-width: 768px) {
  .switch-quiz-end .client-container .game-wrapper .finish-block .stats-rare-section .stats-rare li:nth-of-type(3) {
    padding-bottom: calc(var(--spacing) * 1.5);
  }
}

.switch-quiz-end .client-container .game-wrapper .finish-block .stats-rare-section .stats-rare li .question {
  font-size: var(--font-size-s);
}

.switch-quiz-end .client-container .game-wrapper .finish-block .stats-rare-section .stats-rare li .answer {
  font-size: var(--font-size-m);
}

.switch-quiz-end .client-container .game-wrapper .finish-block .stats-rare-section .stats-rare li .humor-message {
  font-size: var(--font-size-s);
  opacity: 0.6;
}

.switch-quiz-end .client-container .game-wrapper .finish-block .stats-rare-section .stats-rare li .rarity-pct {
  background-color: var(--red);
  padding: calc(var(--spacing-text-y) * 0.5) calc(var(--spacing) * 0.5);
  width: fit-content;
  height: fit-content;
  border-radius: var(--border-radius);
}

.switch-quiz-end .client-container .game-wrapper .finish-block .stats-rare-section .stats-rare li em {
  color: var(--light-green);
  font-weight: bold;
}

.client-container .game-wrapper .finish-block .stats-subscores {
  margin-top: calc(var(--spacing) * 2);
  text-align: left;
}

.client-container .game-wrapper .finish-block .stats-subscores h3 {
  margin-bottom: calc(var(--spacing) * 0.5);
}

.client-container .game-wrapper .finish-block .stats-subscores .spider-chart-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  background-color: rgba(29, 28, 28, 0.3);
  border-radius: var(--border-radius);
}

.client-container .game-wrapper .finish-block .stats-subscores .spider-chart-container canvas {
  position: relative;
  width: 100%;
  height: 100%;
}

.client-container .game-wrapper .finish-block .stats-public-link {
  display: block;
  text-align: center;
  margin-top: calc(var(--spacing) * 1.5);
  font-size: var(--font-size);
  color: var(--white);
  opacity: 0.6;
  transition: opacity 200ms ease;
  text-decoration: underline;
}

.client-container .game-wrapper .finish-block .stats-public-link:hover {
  opacity: 1;
}

.client-container .game-wrapper .finish-block .share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  gap: calc(var(--spacing) * 0.85);
  min-width: 60%;
  width: fit-content;
  margin: calc(var(--spacing) * 2) auto 0 auto;
  padding: calc(var(--spacing-text-y) * 1.25) var(--spacing);
  font-size: var(--font-size-l);
  border: none;
  background-color: var(--red);
  background-repeat: no-repeat;
  border-radius: var(--border-radius);
  color: var(--white);
  text-align: center;
  font-family: 'Agdasima', sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: scale 150ms cubic-bezier(0.86, 0, 0.07, 1), filter 200ms ease-out;
}

.client-container .game-wrapper .finish-block .share-btn:hover {
  scale: 1.065;
}

.client-container .game-wrapper .finish-block .share-btn:active {
  scale: 1;
}

.client-container .game-wrapper .finish-block .share-btn p {
  width: fit-content;
}

.client-container .game-wrapper .finish-block .share-btn .share-icon {
  height: 1.75rem;
  width: auto;
}

.client-container .game-wrapper .finish-block .share-btn.take-quiz-btn {
  text-decoration: none;
}

.client-container .game-wrapper .finish-block .share-btn.copied {
  filter: brightness(1.3) hue-rotate(100deg) saturate(1.5);
  scale: 1.05;
}

.client-container .game-wrapper .question-block {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing);
  border: 1px solid var(--black);
  border-radius: var(--border-radius);
  padding: var(--spacing);
  box-sizing: border-box;
}

.client-container .game-wrapper .question-block .prompt {
  font-size: var(--font-size-l);
  width: 400px;
  max-width: 100%;
  line-height: 1.15;
}

.client-container .game-wrapper .question-block .button-container {
  display: flex;
  flex-direction: column;
  gap: calc(5vh - var(--spacing) * 2);
  padding: var(--spacing);
  box-sizing: border-box;
  border: 1px solid var(--black);
  border-radius: var(--border-radius);
  height: fit-content;
  width: 100%;
  margin-bottom: calc(var(--spacing) * 1.5);
}

.client-container .game-wrapper .question-block .button-container .button-answer {
  display: block;
  border: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  background-image: url("./../img/button-1.svg");
  color: var(--white);
  text-align: center;
  font-family: 'Agdasima', sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: scale 150ms cubic-bezier(0.86, 0, 0.07, 1), filter 200ms ease-out;
  padding: calc(var(--spacing) * 1.25);
  box-sizing: border-box;
  width: 100%;
  font-size: var(--font-size-m);
  line-height: 1.5;
  background-image: none;
}

.client-container .game-wrapper .question-block .button-container .button-answer:hover {
  scale: 1.065;
}

.client-container .game-wrapper .question-block .button-container .button-answer:active {
  scale: 1;
}

.client-container .game-wrapper .question-block .button-container .button-answer:nth-of-type(3) {
  margin-top: 0.65vh;
}

.client-container .game-wrapper .question-block .button-container .button-answer:nth-of-type(odd) {
  background-image: url("./../img/button-1.svg");
}

.client-container .game-wrapper .question-block .button-container .button-answer:nth-of-type(even) {
  background-image: url("./../img/button-2.svg");
}

.redflag-o-meter {
  pointer-events: none;
  position: absolute;
  opacity: 0;
  transition: opacity 400ms cubic-bezier(0.86, 0, 0.07, 1);
  width: 100%;
  height: 4.5rem;
  bottom: 0;
  left: 0;
  overflow: hidden;
}

.switch-quiz-ongoing .redflag-o-meter {
  opacity: 1;
}

.redflag-o-meter .meter-bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.redflag-o-meter .meter-cursor {
  position: absolute;
  height: 100%;
  width: auto;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: left 100ms ease-out;
  filter: drop-shadow(0 0 1px white);
  z-index: 1;
}

.admin-ui {
  top: 0;
  left: 0;
  padding: 0.75rem var(--spacing);
  font-size: calc(var(--font-size) * 0.75);
  position: fixed;
  width: fit-content;
  height: fit-content;
  background-color: rgba(0, 0, 0, 0.2);
}

.statistics {
  --stats-bg-card: #252424;
  --stats-bg-section: #201f1f;
  --stats-text-primary: #d9d9d9;
  --stats-text-secondary: #a6a6a6;
  --stats-text-muted: gray;
  --stats-border: #373535;
  --stats-accent: #bb2040;
}

.statistics .main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing);
}

@media only screen and (min-width: 768px) {
  .statistics .main-container {
    padding: calc(var(--spacing) * 2);
  }
}

.statistics .client-container {
  max-width: none;
  width: 100%;
  background: #302f2f;
  border: none;
  padding: 0 0.5rem;
}

.stats-header {
  margin-bottom: calc(var(--spacing) * 2);
}

.stats-header h2 {
  font-size: var(--font-size-xl);
  margin-bottom: 0;
  color: var(--stats-text-primary);
}

.stats-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--spacing);
  margin-bottom: calc(var(--spacing) * 2);
}

@media only screen and (min-width: 768px) {
  .stats-summary {
    grid-template-columns: repeat(2, 1fr);
    max-width: 500px;
  }
}

.stats-summary .summary-card {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 0.35);
  background: var(--stats-bg-card);
  border: 1px solid var(--stats-border);
  border-radius: var(--border-radius);
  padding: var(--spacing);
}

.stats-summary .summary-card .summary-label {
  font-size: var(--font-size-s);
  color: var(--stats-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.stats-summary .summary-card .summary-value {
  font-size: var(--font-size-xl);
  font-weight: bold;
  color: var(--stats-accent);
}

.stats-filters-wrapper {
  background: var(--stats-bg-card);
  border: 1px solid var(--stats-border);
  border-radius: var(--border-radius);
  padding: var(--spacing);
}

@media only screen and (min-width: 768px) {
  .stats-filters-wrapper {
    padding: calc(var(--spacing) * 1.5);
  }
}

.stats-filters-wrapper > h3 {
  font-size: var(--font-size-m);
  margin: 0 0 var(--spacing) 0;
  color: var(--stats-text-primary);
}

.stats-filters {
  display: grid;
  gap: var(--spacing);
}

@media only screen and (min-width: 768px) {
  .stats-filters {
    grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--spacing) * 1.25);
  }
}

@media only screen and (min-width: 1200px) {
  .stats-filters {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats-filters .filter-group {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 0.4);
}

.stats-filters .filter-group label {
  font-size: var(--font-size-s);
  color: var(--stats-text-secondary);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: left;
}

.stats-filters .filter-group select {
  font-family: 'Agdasima', sans-serif;
  font-size: var(--font-size);
  padding: calc(var(--spacing) * 0.6) var(--spacing);
  background: var(--dark-grey);
  color: var(--stats-text-primary);
  border: 1px solid var(--stats-border);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: border-color 200ms ease;
}

.stats-filters .filter-group select:hover, .stats-filters .filter-group select:focus {
  border-color: var(--stats-accent);
  outline: none;
}

.stats-filters .filter-group select option {
  background: var(--dark-grey);
  color: var(--stats-text-primary);
}

.stats-filters .filter-actions {
  display: flex;
  gap: calc(var(--spacing) * 0.75);
  align-items: flex-end;
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .stats-filters .filter-actions {
    grid-column: span 2;
  }
}

@media only screen and (min-width: 1200px) {
  .stats-filters .filter-actions {
    grid-column: span 4;
  }
}

.stats-filters .filter-actions .btn-apply,
.stats-filters .filter-actions .btn-reset {
  flex: 1;
  font-family: 'Agdasima', sans-serif;
  font-size: var(--font-size);
  font-weight: bold;
  padding: calc(var(--spacing) * 0.75) var(--spacing);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 200ms ease;
  text-align: center;
  text-decoration: none;
}

.stats-filters .filter-actions .btn-apply {
  background: var(--stats-accent);
  color: var(--white);
  border: none;
}

.stats-filters .filter-actions .btn-apply:hover {
  background: var(--light-red);
  transform: translateY(-1px);
}

.stats-filters .filter-actions .btn-apply:active {
  transform: translateY(0);
}

.stats-filters .filter-actions .btn-reset {
  background: transparent;
  color: var(--stats-text-secondary);
  border: 1px solid var(--stats-border);
}

.stats-filters .filter-actions .btn-reset:hover {
  background: var(--stats-bg-section);
  color: var(--stats-text-primary);
  border-color: var(--stats-text-muted);
}

.stats-section {
  margin-bottom: calc(var(--spacing) * 3);
}

.stats-section > h3 {
  font-size: var(--font-size-l);
  margin: 0 0 var(--spacing) 0;
  color: var(--stats-text-primary);
  padding-bottom: calc(var(--spacing) * 0.5);
  border-bottom: 2px solid var(--stats-border);
}

.stats-table-wrapper {
  margin-bottom: calc(var(--spacing) * 2);
}

.stats-table-wrapper:last-child {
  margin-bottom: 0;
}

.stats-table-wrapper h4 {
  font-size: var(--font-size-m);
  margin: var(--spacing) 0 calc(var(--spacing) * 0.6) 0;
  color: var(--stats-text-primary);
}

.question-selector-wrapper {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 0.5);
  background: var(--stats-bg-card);
  border: 1px solid var(--stats-border);
  border-radius: var(--border-radius);
  padding: var(--spacing);
  margin-bottom: var(--spacing);
}

.question-selector-wrapper label {
  font-size: var(--font-size-s);
  color: var(--stats-text-secondary);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.question-selector-wrapper select {
  font-family: 'Agdasima', sans-serif;
  font-size: var(--font-size);
  padding: calc(var(--spacing) * 0.6) var(--spacing);
  background: var(--dark-grey);
  color: var(--stats-text-primary);
  border: 1px solid var(--stats-border);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: border-color 200ms ease;
}

.question-selector-wrapper select:hover, .question-selector-wrapper select:focus {
  border-color: var(--stats-accent);
  outline: none;
}

.question-selector-wrapper select option {
  background: var(--dark-grey);
  color: var(--stats-text-primary);
}

#question-stats-container .no-selection-message {
  text-align: center;
  color: var(--stats-text-muted);
  font-size: var(--font-size);
  padding: calc(var(--spacing) * 2);
  font-style: italic;
}

.no-data-message {
  text-align: center;
  color: var(--stats-text-muted);
  font-size: var(--font-size);
  padding: calc(var(--spacing) * 2);
  font-style: italic;
}

.statistics table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size);
  background: var(--stats-bg-card);
  border: 1px solid var(--stats-border);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.statistics table caption.visually-hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.statistics table thead {
  background: var(--stats-bg-section);
  border-bottom: 2px solid var(--stats-border);
}

.statistics table thead th {
  padding: calc(var(--spacing) * 0.75) var(--spacing);
  text-align: left;
  font-weight: bold;
  font-size: var(--font-size-s);
  color: var(--stats-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.statistics table thead th:first-child {
  padding-left: calc(var(--spacing) * 1.25);
}

.statistics table thead th:last-child {
  padding-right: calc(var(--spacing) * 1.25);
}

.statistics table tbody tr {
  border-bottom: 1px solid var(--stats-border);
  transition: background 200ms ease;
}

.statistics table tbody tr:hover {
  background: var(--stats-bg-section);
}

.statistics table tbody tr:last-child {
  border-bottom: none;
}

.statistics table tbody tr td {
  padding: calc(var(--spacing) * 0.75) var(--spacing);
  color: var(--stats-text-primary);
}

.statistics table tbody tr td:first-child {
  padding-left: calc(var(--spacing) * 1.25);
  font-weight: bold;
}

.statistics table tbody tr td:last-child {
  padding-right: calc(var(--spacing) * 1.25);
  text-align: right;
  color: var(--stats-accent);
  font-weight: bold;
}

.statistics table tbody tr td:nth-child(2) {
  color: var(--stats-text-secondary);
}

.statistics-public {
  display: block;
}

.statistics-public .client-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.statistics-public .stats-hero {
  text-align: center;
  margin-bottom: calc(var(--spacing) * 3);
}

.statistics-public .stats-hero .counter-big {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: bold;
  color: var(--red);
  display: block;
  margin-bottom: calc(var(--spacing) * 0.25);
}

.statistics-public .stats-hero .tagline {
  font-size: var(--font-size-l);
  opacity: 0.8;
  margin-bottom: var(--spacing);
}

.statistics-public .stats-hero .global-avg {
  font-size: var(--font-size-m);
}

.statistics-public .stats-hero .global-avg strong {
  color: var(--red);
  font-size: var(--font-size-l);
}

.statistics-public .stats-section-pub {
  margin-bottom: calc(var(--spacing) * 3);
  text-align: left;
}

.statistics-public .stats-section-pub h2 {
  font-size: var(--font-size-xl);
  font-weight: bold;
  margin-bottom: calc(var(--spacing) * 0.5);
  padding-bottom: calc(var(--spacing) * 0.5);
  border-bottom: 2px solid var(--red);
}

.statistics-public .stats-section-pub .section-intro {
  opacity: 0.7;
  margin-bottom: var(--spacing);
  font-style: italic;
}

.statistics-public .chart-container-pub {
  position: relative;
  height: 350px;
  background-color: rgba(29, 28, 28, 0.4);
  border-radius: var(--border-radius);
  padding: var(--spacing);
  box-sizing: border-box;
}

@media only screen and (max-width: 768px) {
  .statistics-public .chart-container-pub {
    height: 280px;
  }
}

.statistics-public .demo-cards {
  overflow-x: auto;
  display: grid;
  gap: var(--spacing);
  grid-template-columns: 1fr;
  border-radius: var(--border-radius);
}

@media only screen and (min-width: 768px) {
  .statistics-public .demo-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.statistics-public .demo-cards .demo-card {
  background-color: var(--blueish-grey);
  border-radius: var(--border-radius);
  padding: var(--spacing);
  text-align: center;
}

.statistics-public .demo-cards .demo-card h3 {
  font-weight: bold;
  margin-bottom: calc(var(--spacing) * 0.5);
}

.statistics-public .demo-cards .demo-card .chart-container-demo {
  height: 220px;
  background-color: transparent;
  padding: calc(var(--spacing) * 0.5);
}

@media only screen and (max-width: 768px) {
  .statistics-public .demo-cards .demo-card .chart-container-demo {
    height: 200px;
  }
}

.statistics-public .cta-section {
  text-align: center;
  margin-top: calc(var(--spacing) * 3);
  margin-bottom: calc(var(--spacing) * 2);
}

.statistics-public .cta-section .cta-text {
  font-size: var(--font-size-l);
  margin-bottom: var(--spacing);
}

.statistics-public .cta-section .cta-button {
  display: block;
  border: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  background-image: url("./../img/button-1.svg");
  color: var(--white);
  text-align: center;
  font-family: 'Agdasima', sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: scale 150ms cubic-bezier(0.86, 0, 0.07, 1), filter 200ms ease-out;
  display: inline-block;
  padding: calc(var(--spacing) * 1.25) calc(var(--spacing) * 2);
  font-size: var(--font-size-l);
  text-decoration: none;
  width: auto;
}

.statistics-public .cta-section .cta-button:hover {
  scale: 1.065;
}

.statistics-public .cta-section .cta-button:active {
  scale: 1;
}
