*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}/*
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
*//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: "Bricolage Grotesque", system-ui, -apple-system, Segoe UI, Roboto, sans-serif; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
  /* Bricolage Grotesque (SIL Open Font License, see public/fonts/OFL.txt).
     Self-hosted so the game works without Google Fonts. */
  @font-face {
    font-family: "Bricolage Grotesque";
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url("../fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }

  @font-face {
    font-family: "Bricolage Grotesque";
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
         text-size-adjust: 100%;
  }

  body {
  --tw-bg-opacity: 1;
  background-color: rgb(255 106 77 / var(--tw-bg-opacity, 1));
  font-family: "Bricolage Grotesque", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    min-height: 100dvh;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior-y: none;
}

  button,
  label,
  [role="button"] {
    touch-action: manipulation;
  }

  /* 16px minimum stops iOS Safari from zooming into focused fields */
  input,
  textarea,
  select {
    font-size: 16px;
  }

  :focus-visible {
    outline: 3px solid #2B1740;
    outline-offset: 3px;
  }

  ::-moz-selection {
  --tw-bg-opacity: 1;
  background-color: rgb(255 212 94 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
}

  ::selection {
  --tw-bg-opacity: 1;
  background-color: rgb(255 212 94 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
}

  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
.\!container {
  width: 100% !important;
}
.container {
  width: 100%;
}
@media (min-width: 100px) {

  .\!container {
    max-width: 100px !important;
  }

  .container {
    max-width: 100px;
  }
}
@media (min-width: 425px) {

  .\!container {
    max-width: 425px !important;
  }

  .container {
    max-width: 425px;
  }
}
@media (min-width: 640px) {

  .\!container {
    max-width: 640px !important;
  }

  .container {
    max-width: 640px;
  }
}
@media (min-width: 768px) {

  .\!container {
    max-width: 768px !important;
  }

  .container {
    max-width: 768px;
  }
}
@media (min-width: 1024px) {

  .\!container {
    max-width: 1024px !important;
  }

  .container {
    max-width: 1024px;
  }
}
@media (min-width: 1280px) {

  .\!container {
    max-width: 1280px !important;
  }

  .container {
    max-width: 1280px;
  }
}
@media (min-width: 1536px) {

  .\!container {
    max-width: 1536px !important;
  }

  .container {
    max-width: 1536px;
  }
}
  /* ---------- Page frame ---------- */

  /* Full-height page that respects the iPhone notch and home indicator */
  .app {
  display: flex;
  width: 100%;
  flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: max(0.75rem, env(safe-area-inset-top));
    padding-right: max(1rem, env(safe-area-inset-right));
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    padding-left: max(1rem, env(safe-area-inset-left));
}

  /* Column used on phones; host screens widen it with .app-inner--wide */
  .app-inner {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  width: 100%;
  max-width: 28rem;
  flex: 1 1 0%;
  flex-direction: column;
}

  .app-inner--wide {
  max-width: 72rem;
}

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

  .icon-btn {
  display: grid;
  height: 3rem;
  width: 3rem;
  flex-shrink: 0;
  place-items: center;
  border-radius: 9999px;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 2px 0 0 #2B1740;
  --tw-shadow-colored: 0 2px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 100ms;
}

  .icon-btn:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

  .icon-btn:active {
  --tw-translate-y: 2px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

  .icon-btn svg {
  height: 1.5rem;
  width: 1.5rem;
}

  /* Language switch (i18n.js): an icon button showing the target language code */
  .lang-btn {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.025em;
}

  /* Game PIN shown in the top bar */
  .pin-badge {
  display: inline-flex;
  height: 3rem;
  align-items: center;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(43 23 64 / var(--tw-bg-opacity, 1));
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 800;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
  letter-spacing: 0.18em;
  --tw-text-opacity: 1;
  color: rgb(255 212 94 / var(--tw-text-opacity, 1));
}

  /* ---------- Wordmark: the logo is a speech bubble ---------- */

  .wordmark {
  position: relative;
  display: inline-block;
  --tw-rotate: -3deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  border-radius: 1.75rem;
  border-width: 3px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 0.5rem;
  padding-top: 0.25rem;
  font-size: 3rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 8px 0 0 #2B1740;
  --tw-shadow-colored: 0 8px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

  @media (min-width: 640px) {

  .wordmark {
    font-size: 3.75rem;
    line-height: 1;
  }
}

  /* Tail: a solid plum triangle hanging from the bubble, like its shadow */
  .wordmark::after {
    content: "";
    position: absolute;
    height: 0px;
    width: 0px;
    left: 16%;
    top: 100%;
    border-left: 0.75rem solid transparent;
    border-right: 0.75rem solid transparent;
    border-top: 1.6rem solid #2B1740;
    transform: skewX(-22deg);
  }

  .wordmark--sm::after {
    border-left-width: 0.5rem;
    border-right-width: 0.5rem;
    border-top-width: 1rem;
  }

  /* ---------- Speech bubble (questions, answers) ---------- */

  .bubble {
  position: relative;
  border-radius: 1.5rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  line-height: 1.375;
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 4px 0 0 #2B1740;
  --tw-shadow-colored: 0 4px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

  .bubble::after {
    content: "";
    position: absolute;
    height: 0px;
    width: 0px;
    left: 1.75rem;
    top: 100%;
    border-left: 0.6rem solid transparent;
    border-right: 0.6rem solid transparent;
    border-top: 1.1rem solid #2B1740;
    transform: skewX(-22deg);
  }

  .bubble--right::after {
    left: auto;
    right: 1.75rem;
    transform: skewX(22deg);
  }

  /* Selectable bubble: hide the radio, style the label */
  input:checked + label .bubble,
  input:checked + .bubble {
  --tw-bg-opacity: 1;
  background-color: rgb(255 79 140 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

  input:focus-visible + label .bubble,
  input:focus-visible + .bubble {
    outline: 3px solid #2B1740;
    outline-offset: 3px;
  }

  /* ---------- Buttons ---------- */

  .btn {
  display: inline-flex;
  min-height: 56px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 1rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 4px 0 0 #2B1740;
  --tw-shadow-colored: 0 4px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 100ms;
}

  .btn:active:not(:disabled) {
  --tw-translate-y: 3px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  --tw-shadow: 0 2px 0 0 #2B1740;
  --tw-shadow-colored: 0 2px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

  .btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  --tw-shadow: 0 2px 0 0 #2B1740;
  --tw-shadow-colored: 0 2px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

  .btn-primary {
  --tw-bg-opacity: 1;
  background-color: rgb(255 212 94 / var(--tw-bg-opacity, 1));
}

  .btn-primary:hover:not(:disabled) {
  --tw-bg-opacity: 1;
  background-color: rgb(245 190 44 / var(--tw-bg-opacity, 1));
}

  .btn-secondary {
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
}

  .btn-secondary:hover:not(:disabled) {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

  .btn-pink {
  --tw-bg-opacity: 1;
  background-color: rgb(255 79 140 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

  .btn-pink:hover:not(:disabled) {
  --tw-bg-opacity: 1;
  background-color: rgb(232 51 111 / var(--tw-bg-opacity, 1));
}

  .btn-block {
  width: 100%;
}

  .btn-lg {
  min-height: 68px;
  font-size: 1.5rem;
  line-height: 2rem;
}

  /* ---------- Fields ---------- */

  .\!field {
  display: block;
  min-height: 56px;
  width: 100%;
  border-radius: 1rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 2px 0 0 #2B1740;
  --tw-shadow-colored: 0 2px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

  .\!field::-moz-placeholder {
  font-weight: 500;
  color: rgb(43 23 64 / 0.4);
}

  .\!field::placeholder {
  font-weight: 500;
  color: rgb(43 23 64 / 0.4);
}

  .\!field:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(255 212 94 / var(--tw-ring-opacity, 1));
}

  .field {
  display: block;
  min-height: 56px;
  width: 100%;
  border-radius: 1rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 2px 0 0 #2B1740;
  --tw-shadow-colored: 0 2px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

  .field::-moz-placeholder {
  font-weight: 500;
  color: rgb(43 23 64 / 0.4);
}

  .field::placeholder {
  font-weight: 500;
  color: rgb(43 23 64 / 0.4);
}

  .field:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(255 212 94 / var(--tw-ring-opacity, 1));
}

  .\!field {
    -webkit-text-fill-color: currentColor !important;
  }

  .field {
    -webkit-text-fill-color: currentColor;
  }

  .\!field:-webkit-autofill,
  .\!field:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 100px #FFF7F0 inset !important;
    -webkit-transition: background-color 0s 600000s, color 0s 600000s !important;
    transition: background-color 0s 600000s, color 0s 600000s !important;
  }

  .field:-webkit-autofill,
  .field:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 100px #FFF7F0 inset;
    -webkit-transition: background-color 0s 600000s, color 0s 600000s;
    transition: background-color 0s 600000s, color 0s 600000s;
  }

  .\!field:-webkit-autofill,
  .\!field:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 100px #FFF7F0 inset !important;
    -webkit-transition: background-color 0s 600000s, color 0s 600000s !important;
    transition: background-color 0s 600000s, color 0s 600000s !important;
  }

  .field--pin {
  text-align: center;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 800;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
  letter-spacing: 0.5em;
}

  .field--pin::-moz-placeholder {
  letter-spacing: 0em;
}

  .field--pin::placeholder {
  letter-spacing: 0em;
}

  /* ---------- Panels ---------- */

  .panel {
  border-radius: 1.75rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  padding: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 8px 0 0 #2B1740;
  --tw-shadow-colored: 0 8px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

  .panel--plum {
  --tw-bg-opacity: 1;
  background-color: rgb(43 23 64 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 247 240 / var(--tw-text-opacity, 1));
}

  .panel-title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

  .\!muted {
  color: rgb(43 23 64 / 0.7);
}

  .muted {
  color: rgb(43 23 64 / 0.7);
}

  /* ---------- Lobby: join address, PIN and QR code (host screen) ----------
     The plum panel is a size container: the QR code sits beside the text when
     the panel is wide enough, below the PIN otherwise (phone-width hosts, or
     browsers without container queries). The PIN row always spans the panel. */

  .lobby-join {
    container-type: inline-size;
  }

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

  .lobby-qr {
  margin: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  justify-self: center;
}

  /* Light card: dark plum modules on milk, quiet zone included in the SVG */
  .lobby-qr-code {
  display: block;
  border-radius: 1rem;
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  padding: 0.5rem;
    width: 15rem;
    max-width: 100%;
}

  .lobby-qr-code svg {
  display: block;
  height: auto;
  width: 100%;
    aspect-ratio: 1;
}

  .lobby-qr-caption {
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  --tw-text-opacity: 1;
  color: rgb(255 247 240 / var(--tw-text-opacity, 1));
}

  @container (min-width: 36rem) {
    .lobby-join-grid--qr {
      grid-template-columns: minmax(0, 1fr) auto;
      -moz-column-gap: 2rem;
           column-gap: 2rem;
    }

    .lobby-join-grid--qr .lobby-join-text {
      grid-column: 1;
      grid-row: 1;
      align-self: center;
    }

    .lobby-join-grid--qr .lobby-qr {
      grid-column: 2;
      grid-row: 1;
      align-self: start;
    }

    .lobby-join-grid--qr .lobby-join-pin {
      grid-column: 1 / -1;
    }
  }

  @container (min-width: 44rem) {
    .lobby-qr-code {
      width: 17.5rem;
    }
  }

  /* ---------- Segmented control (Classic / Premium) ---------- */

  .segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  border-radius: 1rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(246 230 218 / var(--tw-bg-opacity, 1));
  padding: 0.25rem;
}

  .segmented input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

  .segmented label {
  display: flex;
  min-height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

  .segmented input:checked + label {
  --tw-bg-opacity: 1;
  background-color: rgb(43 23 64 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 247 240 / var(--tw-text-opacity, 1));
}

  .segmented input:focus-visible + label {
    outline: 3px solid #2B1740;
    outline-offset: 2px;
  }

  /* ---------- Range slider (rounds, volume) ---------- */

  .range {
    -webkit-appearance: none;
    -moz-appearance: none;
         appearance: none;
    height: 0.75rem;
    width: 100%;
    cursor: pointer;
    border-radius: 9999px;
    border-width: 2px;
    --tw-border-opacity: 1;
    border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
    --tw-bg-opacity: 1;
    background-color: rgb(246 230 218 / var(--tw-bg-opacity, 1));
  }

  .range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 1.75rem;
    width: 1.75rem;
    border-radius: 9999px;
    border-width: 2.5px;
    --tw-border-opacity: 1;
    border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
    --tw-bg-opacity: 1;
    background-color: rgb(255 212 94 / var(--tw-bg-opacity, 1));
    --tw-shadow: 0 2px 0 0 #2B1740;
    --tw-shadow-colored: 0 2px 0 0 var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  }

  .range::-moz-range-thumb {
  height: 1.5rem;
  width: 1.5rem;
  border-radius: 9999px;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 212 94 / var(--tw-bg-opacity, 1));
}

  /* ---------- Players ---------- */

  .chip {
  display: flex;
  height: 2.75rem;
  min-width: 0px;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 212 94 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 0.25rem;
  font-weight: 700;
}

  .chip-name {
  min-width: 0px;
  flex: 1 1 0%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

  .chip-remove {
  display: grid;
  height: 2rem;
  width: 2rem;
  flex-shrink: 0;
  place-items: center;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(43 23 64 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 247 240 / var(--tw-text-opacity, 1));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

  .chip-remove:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(255 79 140 / var(--tw-bg-opacity, 1));
}

  /* Button whose label can be long (e.g. "Rejoin as <name>"): wraps on several lines */
  .btn-wrap {
  height: auto;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  text-align: center;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

  /* Inline message inside a panel (e.g. nobody left to rejoin in this game) */
  .callout {
  border-radius: 1rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 212 94 / var(--tw-bg-opacity, 1));
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  line-height: 1.375;
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 2px 0 0 #2B1740;
  --tw-shadow-colored: 0 2px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

  /* Big choice rows (rejoin a game: pick your name) */
  .choice-option {
  display: flex;
  min-height: 56px;
  cursor: pointer;
  align-items: center;
  border-radius: 1rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  --tw-shadow: 0 2px 0 0 #2B1740;
  --tw-shadow-colored: 0 2px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

  input:checked + label > .choice-option {
  --tw-bg-opacity: 1;
  background-color: rgb(43 23 64 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 247 240 / var(--tw-text-opacity, 1));
}

  input:focus-visible + label > .choice-option {
    outline: 3px solid #2B1740;
    outline-offset: 3px;
  }

  /* ---------- Toast (error messages) ---------- */

  .toast {
  position: fixed;
  left: 0px;
  right: 0px;
  z-index: 50;
  margin-left: auto;
  margin-right: auto;
  width: -moz-max-content;
  width: max-content;
  max-width: calc(100% - 2rem);
  border-radius: 1rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(43 23 64 / var(--tw-bg-opacity, 1));
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(255 247 240 / var(--tw-text-opacity, 1));
    /* just below the top bar, so it never hides the home / rules buttons */
    top: calc(max(0.75rem, env(safe-area-inset-top)) + 3.75rem);
    box-shadow: 0 4px 0 0 #FF4F8C;
}

  /* ---------- Rules sheet ---------- */

  .\!sheet {
  position: fixed;
  inset: 0px;
  z-index: 40;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow-y: auto;
  background-color: rgb(43 23 64 / 0.7);
  --tw-backdrop-blur: blur(4px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

  @media (min-width: 640px) {

  .\!sheet {
    align-items: center;
    padding: 1.5rem;
  }
}

  .sheet {
  position: fixed;
  inset: 0px;
  z-index: 40;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow-y: auto;
  background-color: rgb(43 23 64 / 0.7);
  --tw-backdrop-blur: blur(4px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

  @media (min-width: 640px) {

  .sheet {
    align-items: center;
    padding: 1.5rem;
  }
}

  .sheet-card {
  width: 100%;
  border-top-left-radius: 1.75rem;
  border-top-right-radius: 1.75rem;
  border-width: 2.5px;
  border-bottom-width: 0px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  padding: 1.5rem;
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
}

  @media (min-width: 640px) {

  .sheet-card {
    max-width: 36rem;
    border-radius: 1.75rem;
    border-bottom-width: 2.5px;
    --tw-shadow: 0 8px 0 0 #2B1740;
    --tw-shadow-colored: 0 8px 0 0 var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  }
}

  .sheet-card {
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }

  .steps {
    counter-reset: step;
  }

  .steps > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}

  .steps li {
    counter-increment: step;
    display: flex;
    gap: 0.75rem;
    line-height: 1.375;
  }

  .steps li::before {
    content: counter(step);
    display: grid;
    height: 1.75rem;
    width: 1.75rem;
    flex-shrink: 0;
    place-items: center;
    border-radius: 9999px;
    --tw-bg-opacity: 1;
    background-color: rgb(255 79 140 / var(--tw-bg-opacity, 1));
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 800;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  }

  /* ---------- Countdown ---------- */

  .timer {
  display: grid;
  height: 4rem;
  width: 4rem;
  place-items: center;
  border-radius: 9999px;
  border-width: 3px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 212 94 / var(--tw-bg-opacity, 1));
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 800;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
  --tw-shadow: 0 4px 0 0 #2B1740;
  --tw-shadow-colored: 0 4px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
  /* Empty list message, e.g. the lobby before anyone joins */
  [data-empty]:empty::before {
    content: attr(data-empty);
    grid-column: 1 / -1;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
    color: rgb(43 23 64 / 0.6);
  }
  /* ----- Sound controls (host top bars, filled by audio.js) ----- */

  .sound {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

  @media (min-width: 640px) {

  .sound {
    gap: 0.75rem;
  }
}

  /* The slider and the effects toggle only show where there is room */
  .sound-range {
  display: none;
  width: 6rem;
}
  .phase-votes.sound-range {
  display: none;
}
  @media (min-width: 640px) {

  .sound-range {
    display: block;
  }
}
  @media (min-width: 1024px) {

  .sound-range {
    width: 9rem;
  }
}

  .sound-sfx {
  display: none;
}

  .phase-votes.sound-sfx {
  display: none;
}

  @media (min-width: 768px) {

  .sound-sfx {
    display: grid;
  }
}

  .sound-sfx[aria-pressed="false"] {
  --tw-bg-opacity: 1;
  background-color: rgb(246 230 218 / var(--tw-bg-opacity, 1));
  color: rgb(43 23 64 / 0.6);
}

  /* Browser blocked autoplay: a clear call to action until the first tap */
  .sound-unlock {
  display: none;
  height: 3rem;
  align-items: center;
  white-space: nowrap;
  border-radius: 9999px;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 212 94 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 800;
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 2px 0 0 #2B1740;
  --tw-shadow-colored: 0 2px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 100ms;
}
  .phase-votes.sound-unlock {
  display: none;
}
  .sound-unlock:active {
  --tw-translate-y: 2px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

  .sound[data-state="locked"] .sound-unlock {
  display: none;
}

  .phase-votes.sound[data-state="locked"] .sound-unlock {
  display: none;
}

  @media (min-width: 640px) {

  .sound[data-state="locked"] .sound-unlock {
    display: inline-flex;
  }
}

  .sound[data-state="locked"] .sound-range,
  .sound[data-state="locked"] .sound-sfx {
  display: none;
}

  .phase-votes.sound[data-state="locked"] .sound-range,.phase-votes
  .sound[data-state="locked"] .sound-sfx {
  display: none;
}

  .sound[data-state="locked"] .sound-btn {
  --tw-bg-opacity: 1;
  background-color: rgb(255 212 94 / var(--tw-bg-opacity, 1));
    animation: sound-nudge 1.6s ease-in-out infinite;
}

  .sound[data-state="muted"] .sound-range {
  opacity: 0.4;
}

  @keyframes sound-nudge {
    0%,
    100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.08);
    }
  }

  /* ----- Game stage: phase caption, countdown, question, reveals ----- */

  .stage {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  padding-top: 1.5rem;
}

  @media (min-width: 640px) {

  .stage {
    padding-top: 2rem;
  }
}

  @media (min-width: 1024px) {

  .stage {
    gap: 2rem;
  }
}

  .stage-head {
  display: flex;
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

  .stage-phase {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

  @media (min-width: 640px) {

  .stage-phase {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

  @media (min-width: 1024px) {

  .stage-phase {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

  .stage-timer {
  flex-shrink: 0;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

  @media (min-width: 1024px) {

  .stage-timer {
    height: 6rem;
    width: 6rem;
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

  .stage-timer.is-urgent {
  --tw-bg-opacity: 1;
  background-color: rgb(255 79 140 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    animation: stage-pulse 1s ease-in-out infinite;
}

  /* Before the question: a big centred countdown */
  .stage[data-phase="ready"] {
  justify-content: center;
}

  .stage[data-phase="ready"] .stage-head {
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
}

  .stage[data-phase="ready"] .stage-timer {
  height: 9rem;
  width: 9rem;
  border-width: 3.5px;
  font-size: 4.5rem;
  line-height: 1;
  --tw-shadow: 0 8px 0 0 #2B1740;
  --tw-shadow-colored: 0 8px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

  @media (min-width: 640px) {

  .stage[data-phase="ready"] .stage-timer {
    height: 11rem;
    width: 11rem;
    font-size: 6rem;
    line-height: 1;
  }
}

  .stage[data-phase="ready"] .stage-zone {
  display: none;
}

  .phase-votes.stage[data-phase="ready"] .stage-zone {
  display: none;
}

  .stage-zone {
  display: flex;
  width: 100%;
  flex: 1 1 0%;
  flex-direction: column;
  gap: 2rem;
}

  @media (min-width: 640px) {

  .stage-zone {
    gap: 2.5rem;
  }
}

  /* The question is the hero: a large bubble readable from across the room */
  .stage-question {
  position: relative;
  border-radius: 1.5rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  line-height: 1.375;
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 4px 0 0 #2B1740;
  --tw-shadow-colored: 0 4px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
  .stage-question::after {
    content: "";
    position: absolute;
    height: 0px;
    width: 0px;
    left: 1.75rem;
    top: 100%;
    border-left: 0.6rem solid transparent;
    border-right: 0.6rem solid transparent;
    border-top: 1.1rem solid #2B1740;
    transform: skewX(-22deg);
  }
  .stage-question {
  border-radius: 2rem;
  border-width: 3px;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  --tw-shadow: 0 8px 0 0 #2B1740;
  --tw-shadow-colored: 0 8px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
  @media (min-width: 640px) {

  .stage-question {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}
  .stage-question::after {
    left: 3rem;
    border-left-width: 0.9rem;
    border-right-width: 0.9rem;
    border-top-width: 1.9rem;
  }
  input:checked + label .stage-question,
  input:checked + .stage-question {
  --tw-bg-opacity: 1;
  background-color: rgb(255 79 140 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
  input:focus-visible + label .stage-question,
  input:focus-visible + .stage-question {
    outline: 3px solid #2B1740;
    outline-offset: 3px;
  }
  .vote-option .stage-question {
  min-height: 56px;
  overflow-wrap: break-word;
  font-size: 1.25rem;
  line-height: 1.75rem;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 100ms;
}
  .vote-option:hover .stage-question {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
  .vote-option:active .stage-question {
  --tw-translate-y: 2px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  --tw-shadow: 0 2px 0 0 #2B1740;
  --tw-shadow-colored: 0 2px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
  input:checked + .vote-option .stage-question {
  --tw-bg-opacity: 1;
  background-color: rgb(255 79 140 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
  .vote-option.is-own .stage-question,
  .vote-option.is-own:hover .stage-question,
  .vote-option.is-own:active .stage-question {
  --tw-translate-y: 0px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  border-style: dashed;
  --tw-bg-opacity: 1;
  background-color: rgb(246 230 218 / var(--tw-bg-opacity, 1));
  color: rgb(43 23 64 / 0.6);
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
  .vote-option.is-own .stage-question::after {
  display: none;
}
  .phase-votes.vote-option.is-own .stage-question::after {
  display: none;
}
  .stage-question {
  --tw-rotate: -1deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  align-self: flex-start;
}
  @media (min-width: 640px) {

  .stage-question {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }
}
  @media (min-width: 1024px) {

  .stage-question {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}
  .stage-question {
    max-width: 100%;
    animation: stage-pop 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.25) both;
  }

  .stage-question-text {
  font-weight: 800;
  letter-spacing: -0.025em;
    font-size: clamp(1.75rem, 1rem + 3.6vw, 4.25rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
    transition: font-size 0.3s ease;
}

  /* While answers and votes are revealed the question steps back a little */
  .stage[data-phase="answers"] .stage-question-text,
  .stage[data-phase="voting"] .stage-question-text,
  .stage[data-phase="votes"] .stage-question-text {
    font-size: clamp(1.25rem, 0.9rem + 1.6vw, 2.25rem);
  }

  @media (min-width: 640px) {

  .stage[data-phase="answers"] .stage-question,
  .stage[data-phase="voting"] .stage-question,
  .stage[data-phase="votes"] .stage-question {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

  @media (min-width: 1024px) {

  .stage[data-phase="answers"] .stage-question,
  .stage[data-phase="voting"] .stage-question,
  .stage[data-phase="votes"] .stage-question {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }
}

  /* Answer: a butter bubble replying from the right */
  .stage-answer {
  position: relative;
  border-radius: 1.5rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  line-height: 1.375;
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 4px 0 0 #2B1740;
  --tw-shadow-colored: 0 4px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
  .stage-answer::after {
    content: "";
    position: absolute;
    height: 0px;
    width: 0px;
    left: 1.75rem;
    top: 100%;
    border-left: 0.6rem solid transparent;
    border-right: 0.6rem solid transparent;
    border-top: 1.1rem solid #2B1740;
    transform: skewX(-22deg);
    left: auto;
    right: 1.75rem;
    transform: skewX(22deg);
  }
  .stage-answer {
  border-radius: 2rem;
  border-width: 3px;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  --tw-shadow: 0 8px 0 0 #2B1740;
  --tw-shadow-colored: 0 8px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
  @media (min-width: 640px) {

  .stage-answer {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}
  .stage-answer::after {
    left: 3rem;
    border-left-width: 0.9rem;
    border-right-width: 0.9rem;
    border-top-width: 1.9rem;
  }
  input:checked + label .stage-answer,
  input:checked + .stage-answer {
  --tw-bg-opacity: 1;
  background-color: rgb(255 79 140 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
  input:focus-visible + label .stage-answer,
  input:focus-visible + .stage-answer {
    outline: 3px solid #2B1740;
    outline-offset: 3px;
  }
  .vote-option .stage-answer {
  min-height: 56px;
  overflow-wrap: break-word;
  font-size: 1.25rem;
  line-height: 1.75rem;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 100ms;
}
  .vote-option:hover .stage-answer {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
  .vote-option:active .stage-answer {
  --tw-translate-y: 2px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  --tw-shadow: 0 2px 0 0 #2B1740;
  --tw-shadow-colored: 0 2px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
  input:checked + .vote-option .stage-answer {
  --tw-bg-opacity: 1;
  background-color: rgb(255 79 140 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
  .vote-option.is-own .stage-answer,
  .vote-option.is-own:hover .stage-answer,
  .vote-option.is-own:active .stage-answer {
  --tw-translate-y: 0px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  border-style: dashed;
  --tw-bg-opacity: 1;
  background-color: rgb(246 230 218 / var(--tw-bg-opacity, 1));
  color: rgb(43 23 64 / 0.6);
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
  .vote-option.is-own .stage-answer::after {
  display: none;
}
  .phase-votes.vote-option.is-own .stage-answer::after {
  display: none;
}
  .stage-answer {
  --tw-rotate: 1deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  align-self: flex-end;
  --tw-bg-opacity: 1;
  background-color: rgb(255 212 94 / var(--tw-bg-opacity, 1));
}
  @media (min-width: 640px) {

  .stage-answer {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }
}
  .stage-answer {
    max-width: min(100%, 52rem);
  }

  /* bubble--lg resets the tail to the left: put it back on the right */
  .stage-answer::after {
    left: auto;
    right: 3rem;
    transform: skewX(22deg);
  }

  .stage-answer:not(.invisible) {
    animation: stage-pop 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.25) both;
  }

  .stage-answer-text {
  font-weight: 800;
  letter-spacing: -0.025em;
    font-size: clamp(1.5rem, 0.9rem + 3vw, 3.5rem);
    line-height: 1.1;
    overflow-wrap: anywhere;
}

  /* Votes reveal: the answer turns pink and gets its author */
  .stage[data-phase="votes"] .stage-answer {
  --tw-bg-opacity: 1;
  background-color: rgb(255 79 140 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

  .stage-credit {
  margin-top: -0.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  align-self: flex-end;
    max-width: 100%;
}

  .stage-author {
  min-width: 0px;
  border-radius: 1.5rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(43 23 64 / var(--tw-bg-opacity, 1));
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  --tw-text-opacity: 1;
  color: rgb(255 247 240 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 4px 0 0 #2B1740;
  --tw-shadow-colored: 0 4px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

  @media (min-width: 640px) {

  .stage-author {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

  @media (min-width: 1024px) {

  .stage-author {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

  .stage-author {
    overflow-wrap: anywhere;
  }

  .stage-votes {
  display: grid;
  height: 4rem;
  min-width: 4rem;
  flex-shrink: 0;
  place-items: center;
  border-radius: 9999px;
  border-width: 3px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 800;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
  --tw-text-opacity: 1;
  color: rgb(255 79 140 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 4px 0 0 #2B1740;
  --tw-shadow-colored: 0 4px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

  @media (min-width: 1024px) {

  .stage-votes {
    height: 5rem;
    min-width: 5rem;
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

  /* Nothing to reveal yet: keep the layout compact */
  .stage[data-phase="answering"] .stage-answer,
  .stage[data-phase="voting"] .stage-answer,
  .stage:not([data-phase="votes"]) .stage-credit {
  display: none;
}
  .phase-votes.stage[data-phase="answering"] .stage-answer,.phase-votes
  .stage[data-phase="voting"] .stage-answer,.phase-votes
  .stage:not([data-phase="votes"]) .stage-credit {
  display: none;
}

  @keyframes stage-pop {
    from {
      opacity: 0;
      transform: translateY(12px) scale(0.96);
    }
  }

  @keyframes stage-pulse {
    50% {
      transform: scale(1.08);
    }
  }

  /* ----- Final scores ----- */

  .podium-page {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  width: 100%;
  max-width: 42rem;
  flex: 1 1 0%;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding-bottom: 1rem;
  padding-top: 1.5rem;
}

  @media (min-width: 640px) {

  .podium-page {
    padding-top: 2.5rem;
  }
}

  /* Big screen: winner on the left, ranking on the right, all above the fold */
  @media (min-width: 1024px) {
    .podium-page {
    display: grid;
    max-width: 72rem;
    grid-template-columns: 1fr 1.1fr;
    align-content: center;
    align-items: flex-start;
    -moz-column-gap: 4rem;
         column-gap: 4rem;
    row-gap: 1.5rem;
  }

    .podium-head {
    grid-row: span 2 / span 2;
    align-self: center;
    padding-bottom: 2rem;
  }

  }

  .podium-head {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

  .podium-kicker {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

  @media (min-width: 640px) {

  .podium-kicker {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

  /* Winner: a plum speech bubble with the name in butter */
  .podium-winner {
  position: relative;
  width: calc(100% - 1rem);
  max-width: 32rem;
  --tw-rotate: -2deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  border-radius: 2rem;
  border-width: 3px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(43 23 64 / var(--tw-bg-opacity, 1));
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 1.75rem;
  padding-top: 1.5rem;
  --tw-text-opacity: 1;
  color: rgb(255 247 240 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 8px 0 0 #2B1740;
  --tw-shadow-colored: 0 8px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
  @media (min-width: 640px) {

  .podium-winner {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

  .podium-winner::after {
    content: "";
    position: absolute;
    height: 0px;
    width: 0px;
    left: 18%;
    top: 100%;
    border-left: 0.9rem solid transparent;
    border-right: 0.9rem solid transparent;
    border-top: 1.9rem solid #2B1740;
    transform: skewX(-22deg);
  }

  .podium-winner-label {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
}

  @media (min-width: 640px) {

  .podium-winner-label {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

  .podium-winner-name {
  margin-top: 0.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  --tw-text-opacity: 1;
  color: rgb(255 212 94 / var(--tw-text-opacity, 1));
    font-size: clamp(2.25rem, 1.2rem + 5vw, 4.5rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
}

  .podium-winner-points {
  margin-top: 1rem;
  display: inline-flex;
  height: 2.5rem;
  align-items: center;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(255 79 140 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 800;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

  .podium-table {
  width: 100%;
}

  .podium-again {
  margin-top: auto;
  max-width: 28rem;
}

  @media (min-width: 1024px) {

  .podium-again {
    margin-top: 0px;
    max-width: none;
  }
}

  /* Score table: each row is a pill */
  .score-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  text-align: left;
    border-spacing: 0 0.625rem;
}

  .score-table th {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-bottom: 0px;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 700;
  color: rgb(43 23 64 / 0.7);
}

  .score-table th:first-child {
  width: 4rem;
  text-align: center;
}

  @media (min-width: 640px) {

  .score-table th:first-child {
    width: 5rem;
  }
}

  .score-table th:last-child {
  width: 5rem;
  padding-right: 1.25rem;
  text-align: right;
}

  @media (min-width: 640px) {

  .score-table th:last-child {
    width: 6rem;
  }
}

  .score-row td {
  border-top-width: 2.5px;
  border-bottom-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
}

  @media (min-width: 640px) {

  .score-row td {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

  .score-row td {
    box-shadow: 0 3px 0 0 #2B1740;
  }

  .score-row td:first-child {
  border-top-left-radius: 9999px;
  border-bottom-left-radius: 9999px;
  border-left-width: 2.5px;
  text-align: center;
}

  .score-row td:last-child {
  border-top-right-radius: 9999px;
  border-bottom-right-radius: 9999px;
  border-right-width: 2.5px;
  padding-right: 1.25rem;
  text-align: right;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 800;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}

  .score-row.is-winner td {
  --tw-bg-opacity: 1;
  background-color: rgb(255 212 94 / var(--tw-bg-opacity, 1));
}

  .score-name {
    overflow-wrap: anywhere;
  }

  .score-rank-badge {
  display: inline-grid;
  height: 2.25rem;
  width: 2.25rem;
  place-items: center;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(43 23 64 / var(--tw-bg-opacity, 1));
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 800;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
  --tw-text-opacity: 1;
  color: rgb(255 247 240 / var(--tw-text-opacity, 1));
}

  .score-row.is-winner .score-rank-badge {
  --tw-bg-opacity: 1;
  background-color: rgb(255 79 140 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
  /* Column under the top bar; the action bar sticks to the bottom (thumb reach) */
  .phone-screen {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  padding-top: 1.5rem;
}
  @media (min-width: 640px) {

  .phone-screen {
    padding-top: 2.5rem;
  }
}

  .phone-screen--center {
  align-items: center;
  justify-content: center;
  padding-bottom: 4rem;
  text-align: center;
}

  .phone-intro {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

  .phone-title {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

  /* Action bar: stays visible above the on-screen keyboard and the home indicator */
  .thumb-bar {
  position: sticky;
  bottom: 0px;
  z-index: 10;
  margin-top: auto;
  --tw-bg-opacity: 1;
  background-color: rgb(255 106 77 / var(--tw-bg-opacity, 1));
  padding-top: 1rem;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    /* absorbs the bottom padding of .app so the bar sits flush with the viewport */
    margin-bottom: calc(-1 * max(1rem, env(safe-area-inset-bottom)));
}

  /* ----- Prompt: the answer field is a speech bubble being filled in ----- */

  .answer-bubble {
  position: relative;
  margin-bottom: 2.5rem;
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  border-radius: 2rem;
  border-width: 3px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  --tw-shadow: 0 8px 0 0 #2B1740;
  --tw-shadow-colored: 0 8px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
    min-height: 10rem;
    max-height: 26rem;
}

  .answer-bubble::after {
    content: "";
    position: absolute;
    height: 0px;
    width: 0px;
    left: 2.5rem;
    top: 100%;
    border-left: 0.8rem solid transparent;
    border-right: 0.8rem solid transparent;
    border-top: 1.6rem solid #2B1740;
    transform: skewX(-22deg);
  }

  .answer-bubble:focus-within {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(255 212 94 / var(--tw-ring-opacity, 1));
}

  .answer-field {
  display: block;
  width: 100%;
  flex: 1 1 0%;
  resize: none;
  border-radius: 2rem;
  background-color: transparent;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 0.5rem;
  padding-top: 1.25rem;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 600;
  line-height: 1.375;
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
}

  .answer-field::-moz-placeholder {
  font-weight: 500;
  color: rgb(43 23 64 / 0.4);
}

  .answer-field::placeholder {
  font-weight: 500;
  color: rgb(43 23 64 / 0.4);
}

  .answer-field:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

  .answer-field {
    font-size: 1.5rem;
    -webkit-text-fill-color: currentColor;
  }

  .answer-count {
  align-self: flex-end;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 700;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
  color: rgb(43 23 64 / 0.5);
}

  .answer-count.is-near-limit {
  --tw-text-opacity: 1;
  color: rgb(232 51 111 / var(--tw-text-opacity, 1));
}

  /* Short viewport (keyboard open, small phones): give the room to the answer */
  @media (max-height: 640px) {
    .phone-screen {
    padding-top: 1rem;
  }

    .phone-intro {
    margin-bottom: 1rem;
  }

    .phone-intro .muted {
    display: none;
  }
.phase-votes.phone-intro .muted {
  display: none;
}

    .phone-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

    .answer-bubble {
    margin-bottom: 2rem;
      min-height: 7.5rem;
  }

    .phone-intro .\!muted {
    display: none;
  }
.phase-votes.phone-intro .\!muted {
  display: none;
}
  }

  /* ----- Vote: anonymous answers as selectable speech bubbles ----- */

  .vote-list {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  padding-bottom: 2rem;
}

  .vote-option {
  display: block;
  cursor: pointer;
}

  .vote-option .bubble {
  min-height: 56px;
  overflow-wrap: break-word;
  font-size: 1.25rem;
  line-height: 1.75rem;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 100ms;
}

  .vote-option:hover .bubble {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

  .vote-option:active .bubble {
  --tw-translate-y: 2px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  --tw-shadow: 0 2px 0 0 #2B1740;
  --tw-shadow-colored: 0 2px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

  /* the checked state wins over hover */
  input:checked + .vote-option .bubble {
  --tw-bg-opacity: 1;
  background-color: rgb(255 79 140 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

  /* The player's own answer: visible but not selectable */
  .vote-option.is-own {
  cursor: not-allowed;
}

  .vote-option.is-own .bubble,
  .vote-option.is-own:hover .bubble,
  .vote-option.is-own:active .bubble {
  --tw-translate-y: 0px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  border-style: dashed;
  --tw-bg-opacity: 1;
  background-color: rgb(246 230 218 / var(--tw-bg-opacity, 1));
  color: rgb(43 23 64 / 0.6);
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

  .vote-option.is-own .bubble::after {
  display: none;
}

  .phase-votes.vote-option.is-own .bubble::after {
  display: none;
}

  .own-tag {
  margin-bottom: 0.5rem;
  display: inline-flex;
  height: 1.75rem;
  align-items: center;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(43 23 64 / var(--tw-bg-opacity, 1));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 800;
  --tw-text-opacity: 1;
  color: rgb(255 212 94 / var(--tw-text-opacity, 1));
}

  /* ----- Waiting: a speech bubble "typing" ----- */

  .wait-bubble {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 2rem;
  border-width: 3px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
  --tw-shadow: 0 8px 0 0 #2B1740;
  --tw-shadow-colored: 0 8px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

  .wait-bubble::after {
    content: "";
    position: absolute;
    height: 0px;
    width: 0px;
    left: 2rem;
    top: 100%;
    border-left: 0.8rem solid transparent;
    border-right: 0.8rem solid transparent;
    border-top: 1.6rem solid #2B1740;
    transform: skewX(-22deg);
  }

  .typing-dot {
  display: block;
  height: 1rem;
  width: 1rem;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(43 23 64 / var(--tw-bg-opacity, 1));
    animation: typing-dot 1.4s ease-in-out infinite;
}

  .typing-dot:nth-child(2) {
    animation-delay: 0.2s;
  }

  .typing-dot:nth-child(3) {
    animation-delay: 0.4s;
  }

  @keyframes typing-dot {
    0%,
    60%,
    100% {
      transform: translateY(0);
      opacity: 0.35;
    }
    30% {
      transform: translateY(-0.45rem);
      opacity: 1;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .typing-dot {
      animation: none;
      opacity: 1;
    }
  }
  .skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

  .skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 50;
  border-radius: 0.75rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 212 94 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-weight: 700;
}

  .admin-kicker {
  display: inline-flex;
  height: 2rem;
  align-items: center;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(43 23 64 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  --tw-text-opacity: 1;
  color: rgb(255 212 94 / var(--tw-text-opacity, 1));
}

  .admin-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  -moz-column-gap: 1.25rem;
       column-gap: 1.25rem;
  row-gap: 0.75rem;
  padding-bottom: 1.5rem;
  padding-top: 1.75rem;
}

  @media (min-width: 640px) {

  .admin-head {
    padding-top: 2.25rem;
  }
}

  .admin-wordmark {
  border-radius: 1.25rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  --tw-shadow: 0 4px 0 0 #2B1740;
  --tw-shadow-colored: 0 4px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

  @media (min-width: 640px) {

  .admin-wordmark {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

  .admin-user {
  min-width: 0px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
}

  .admin-code {
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  border-radius: 1rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(43 23 64 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(255 212 94 / var(--tw-text-opacity, 1));
}

  @media (min-width: 640px) {

  .admin-code {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

  .admin-steps-2 {
    counter-reset: step 1;
  }

  .admin-summary {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

  /* ----- Compact controls ----- */

  .btn-sm {
  min-height: 44px;
  white-space: nowrap;
  border-radius: 0.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 1rem;
  line-height: 1.5rem;
  --tw-shadow: 0 2px 0 0 #2B1740;
  --tw-shadow-colored: 0 2px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

  .btn-sm svg {
  height: 1.25rem;
  width: 1.25rem;
  flex-shrink: 0;
}

  .btn-sm:active:not(:disabled) {
  --tw-translate-y: 2px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

  .icon-btn--sm {
  height: 2.5rem;
  width: 2.5rem;
}

  .icon-btn--sm svg {
  height: 1.25rem;
  width: 1.25rem;
}

  .icon-btn--danger:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(255 79 140 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

  .field-label {
  margin-bottom: 0.5rem;
  display: block;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

  .field--area {
  min-height: 6.5rem;
  resize: vertical;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  line-height: 1.375;
}

  .field--search {
  padding-left: 3rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

  .field--search::-webkit-search-cancel-button {
  cursor: pointer;
}

  .admin-search-icon {
  pointer-events: none;
  position: absolute;
  left: 1rem;
  top: 50%;
  height: 1.25rem;
  width: 1.25rem;
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  color: rgb(43 23 64 / 0.6);
}

  .\!field[aria-invalid="true"] {
  --tw-border-opacity: 1;
  border-color: rgb(232 51 111 / var(--tw-border-opacity, 1));
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-color: rgb(255 79 140 / 0.3);
}

  .field[aria-invalid="true"] {
  --tw-border-opacity: 1;
  border-color: rgb(232 51 111 / var(--tw-border-opacity, 1));
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-color: rgb(255 79 140 / 0.3);
}

  .field-error {
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(232 51 111 / var(--tw-text-opacity, 1));
}

  .form-error {
  border-radius: 1rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 79 140 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

  .char-count {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
  color: rgb(43 23 64 / 0.5);
}

  .char-count.is-near-limit {
  --tw-text-opacity: 1;
  color: rgb(232 51 111 / var(--tw-text-opacity, 1));
}

  .file-field {
  display: block;
  width: 100%;
  cursor: pointer;
  border-radius: 1rem;
  border-width: 2.5px;
  border-style: dashed;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(246 230 218 / var(--tw-bg-opacity, 1));
  padding: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
}

  .file-field::file-selector-button {
  margin-right: 0.75rem;
  cursor: pointer;
  border-radius: 0.75rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 212 94 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
}

  /* Segmented control with 3 options and counters */
  .segmented--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

  /* phones: the counter goes under the label (three labels + counters don't fit in a row) */
  .segmented--3 label {
  flex-direction: column;
  gap: 0px;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 1rem;
  line-height: 1.5rem;
}
  @media (min-width: 640px) {

  .segmented--3 label {
    flex-direction: row;
    gap: 0.375rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0px;
    padding-bottom: 0px;
  }
}

  .segmented--3 .seg-count {
  font-size: 0.75rem;
  line-height: 1rem;
  line-height: 1;
}

  @media (min-width: 640px) {

  .segmented--3 .seg-count {
    font-size: 0.875rem;
    line-height: 1.25rem;
    line-height: 1.5;
  }
}

  .seg-count {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 800;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
  opacity: 0.6;
}

  .seg-count:empty {
  display: none;
}

  .phase-votes.seg-count:empty {
  display: none;
}

  /* ----- Tabs ----- */

  /* 2 x 2 on phones (4 tabs with counters don't fit in one row), one row from sm */
  .admin-tabs {
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  border-radius: 1rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  padding: 0.25rem;
  --tw-shadow: 0 4px 0 0 #2B1740;
  --tw-shadow-colored: 0 4px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
  @media (min-width: 640px) {

  .admin-tabs {
    grid-auto-flow: column;
    grid-template-columns: none;
  }
}
  .admin-tabs {
    grid-auto-columns: 1fr;
  }

  .admin-tab {
  display: flex;
  min-height: 48px;
  min-width: 0px;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  border-radius: 0.75rem;
  padding-left: 0.375rem;
  padding-right: 0.375rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

  @media (min-width: 640px) {

  .admin-tab {
    gap: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

  .admin-tab:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(246 230 218 / var(--tw-bg-opacity, 1));
}

  .admin-tab[aria-selected="true"] {
  --tw-bg-opacity: 1;
  background-color: rgb(43 23 64 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 247 240 / var(--tw-text-opacity, 1));
}

  .admin-tab:focus-visible {
    outline-offset: -1px;
  }

  .tab-count {
  display: inline-grid;
  height: 1.5rem;
  min-width: 1.5rem;
  place-items: center;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(255 212 94 / var(--tw-bg-opacity, 1));
  padding-left: 0.375rem;
  padding-right: 0.375rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 800;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
}

  .tab-count:empty {
  display: none;
}

  .phase-votes.tab-count:empty {
  display: none;
}

  .admin-panels:focus {
    outline: none;
  }

  /* ----- Questions toolbar ----- */

  .admin-toolbar {
  display: grid;
  gap: 1.25rem;
}

  @media (min-width: 1024px) {

  .admin-toolbar {
    grid-template-columns: 1fr auto;
    align-items: flex-end;
  }
}

  .admin-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

  @media (min-width: 640px) {

  .admin-actions {
    display: flex;
    flex-wrap: wrap;
  }
}

  @media (min-width: 1024px) {

  .admin-actions {
    grid-column: span 2 / span 2;
  }
}

  .admin-actions .btn {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

  .admin-filter {
  min-width: 0px;
}

  @media (min-width: 1024px) {

  .admin-filter {
    width: 26rem;
  }
}

  /* ----- Question cards ----- */

  .q-list {
  display: grid;
  gap: 1.25rem;
}

  @media (min-width: 1024px) {

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

  .q-list[aria-busy="true"] {
  opacity: 0.6;
}

  .q-card {
  display: flex;
  min-width: 0px;
  flex-direction: column;
  gap: 0.75rem;
  border-radius: 1.5rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  padding: 1rem;
  --tw-shadow: 0 4px 0 0 #2B1740;
  --tw-shadow-colored: 0 4px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

  @media (min-width: 640px) {

  .q-card {
    padding: 1.25rem;
  }
}

  .q-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

  .q-card-actions {
  display: flex;
  gap: 0.5rem;
}

  .q-text {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
  line-height: 1.375;
}

  @media (min-width: 640px) {

  .q-text {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

  .q-text {
    overflow-wrap: anywhere;
  }

  .q-answers {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem;
  border-top-width: 2px;
  border-style: dashed;
  border-color: rgb(43 23 64 / 0.2);
  padding-top: 0.75rem;
}

  .q-answers-label {
  display: inline-flex;
  height: 1.75rem;
  align-items: center;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(43 23 64 / var(--tw-bg-opacity, 1));
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  --tw-text-opacity: 1;
  color: rgb(255 247 240 / var(--tw-text-opacity, 1));
}

  .q-answer-list {
  display: flex;
  min-width: 0px;
  flex: 1 1 0%;
  flex-wrap: wrap;
  gap: 0.5rem;
}

  .q-answer {
  min-width: 0px;
  border-radius: 1rem;
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 212 94 / var(--tw-bg-opacity, 1));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  line-height: 1.375;
    overflow-wrap: anywhere;
}

  .q-answer--none {
  border-style: dashed;
  --tw-bg-opacity: 1;
  background-color: rgb(246 230 218 / var(--tw-bg-opacity, 1));
  color: rgb(43 23 64 / 0.6);
}

  .q-empty {
  text-align: center;
}

  @media (min-width: 1024px) {

  .q-empty {
    grid-column: span 2 / span 2;
  }
}

  .badge {
  display: inline-flex;
  height: 1.75rem;
  flex-shrink: 0;
  align-items: center;
  white-space: nowrap;
  border-radius: 9999px;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 800;
}

  .badge--classic {
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
}

  .badge--premium {
  --tw-bg-opacity: 1;
  background-color: rgb(255 79 140 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

  .badge--phase {
  --tw-bg-opacity: 1;
  background-color: rgb(43 23 64 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 212 94 / var(--tw-text-opacity, 1));
}

  .badge--lobby {
  --tw-bg-opacity: 1;
  background-color: rgb(255 212 94 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
}

  .badge--scores {
  --tw-bg-opacity: 1;
  background-color: rgb(34 201 147 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
}

  .badge--voting {
  --tw-bg-opacity: 1;
  background-color: rgb(255 79 140 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

  /* ----- List head ("518 questions" + per page) and pager ----- */

  .list-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  -moz-column-gap: 1rem;
       column-gap: 1rem;
  row-gap: 0.5rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

  .per-page {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

  /* Compact pages above the list (icons + "2 / 26"), between the count and "Per page" */
  /* phone: a full row under "518 questions · Per page"; wider screens: between them */
  .pager.pager--top {
  order: 9999;
  width: 100%;
  justify-content: space-between;
  gap: 0.375rem;
  padding-bottom: 0px;
}
  @media (min-width: 640px) {

  .pager.pager--top {
    order: 0;
    margin-left: auto;
    width: auto;
    justify-content: flex-end;
  }
}

  .pager--top .pager-info {
  min-width: 4.5rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 800;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}

  .per-page-label {
  white-space: nowrap;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

  /* First / previous on the left, "Page 2 of 26" in the middle, next / last on the right.
     Phones: icon-only buttons (44px), the labels come back from sm. */
  .pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 1rem;
}

  .pager-group {
  display: flex;
  flex-shrink: 0;
  gap: 0.5rem;
}

  .pager-icon {
  width: 2.75rem;
  padding-left: 0px;
  padding-right: 0px;
}

  .pager-step {
  width: 2.75rem;
  padding-left: 0px;
  padding-right: 0px;
}

  @media (min-width: 640px) {

  .pager-step {
    width: auto;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

  .pager-step-label {
  display: none;
}

  .phase-votes.pager-step-label {
  display: none;
}

  @media (min-width: 640px) {

  .pager-step-label {
    display: inline;
  }
}

  .pager-info {
  display: flex;
  min-width: 0px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.25;
}

  .pager-page {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 800;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}

  .pager-range {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
  color: rgb(43 23 64 / 0.6);
}

  /* ----- Sheets -----
     The backdrop never scrolls: the card is a column (head / scrolling body / actions)
     no taller than the screen, so there is one scrollbar at most, inside the card. */

  .admin-sheet {
  overflow: hidden;
    overscroll-behavior: contain;
}

  .admin-sheet-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0px;
}

  @media (min-width: 640px) {

  .admin-sheet-card {
    max-width: 42rem;
  }
}

  .admin-sheet-card {
    max-height: calc(100vh - 2.5rem);
    max-height: calc(100dvh - 2.5rem);
  }

  @media (min-width: 640px) {
    .admin-sheet.sheet {
    padding: 1rem;
  }

    .admin-sheet-card {
      max-height: calc(100vh - 2rem);
      max-height: calc(100dvh - 2rem);
    }
    .admin-sheet.\!sheet {
    padding: 1rem;
  }
    .admin-sheet-card--narrow {
    max-width: 32rem;
  }
  }

  .admin-sheet--confirm {
  z-index: 50;
}

  .sheet-head {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

  .admin-sheet-card > .sheet-head {
  margin: 0px;
  flex-shrink: 0;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 0.75rem;
  padding-top: 1.5rem;
}

  @media (min-width: 640px) {

  .admin-sheet-card > .sheet-head {
    padding-bottom: 0.5rem;
    padding-top: 1.25rem;
  }
}

  /* room for the focus ring (ring-4) of the first and last fields */
  .admin-sheet-body {
  min-height: 0px;
  flex: 1 1 auto;
  overflow-y: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 1.5rem;
  padding-top: 0.375rem;
    overscroll-behavior: contain;
}

  .admin-sheet-body--top {
  padding-top: 1.5rem;
}

  .admin-sheet-body::-webkit-scrollbar-track {
    margin-block: 0.5rem;
  }

  .sheet-actions {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.75rem;
}

  @media (min-width: 640px) {

  .sheet-actions {
    flex-direction: row;
    justify-content: flex-end;
  }
}

  /* Actions always visible under the scrolling body; a row on phones too */
  .admin-sheet-foot {
  flex-shrink: 0;
  flex-direction: row;
  flex-wrap: nowrap;
  border-top-width: 2px;
  border-style: dashed;
  border-color: rgb(43 23 64 / 0.2);
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 1rem;
}
  @media (min-width: 640px) {

  .admin-sheet-foot {
    padding-top: 0.875rem;
  }
}
  .admin-sheet-foot {
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }

  @media (min-width: 640px) {
    .admin-sheet-foot {
      padding-bottom: 1rem;
    }
  }

  .admin-sheet-foot .btn {
  min-width: 0px;
  flex: 1 1 0%;
  padding-left: 1rem;
  padding-right: 1rem;
}

  @media (min-width: 640px) {

  .admin-sheet-foot .btn {
    flex: none;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

  /* the head has a close button: no second "Close" on phones */
  .admin-sheet-foot .admin-foot-close {
  display: none;
}
  .phase-votes.admin-sheet-foot .admin-foot-close {
  display: none;
}
  @media (min-width: 640px) {

  .admin-sheet-foot .admin-foot-close {
    display: inline-flex;
  }
}

  .admin-sheet-foot .btn-wrap {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

  @media (min-width: 640px) {

  .admin-sheet-foot .btn-wrap {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

  .admin-sheet-foot .btn svg {
  height: 1.5rem;
  width: 1.5rem;
  flex-shrink: 0;
}

  .has-sheet {
  overflow: hidden;
}

  #confirmQuote {
    overflow-wrap: anywhere;
  }

  /* ----- Import report ----- */

  .import-report {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: 1.5rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(246 230 218 / var(--tw-bg-opacity, 1));
  padding: 1rem;
}

  .import-report[aria-busy="true"] {
  opacity: 0.6;
}

  .import-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

  @media (min-width: 640px) {

  .import-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

  .import-stat--info {
  border-style: dashed;
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
}

  .import-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 1rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  text-align: center;
}

  .import-stat--ok {
  --tw-bg-opacity: 1;
  background-color: rgb(34 201 147 / var(--tw-bg-opacity, 1));
}

  .import-stat--warn {
  --tw-bg-opacity: 1;
  background-color: rgb(255 212 94 / var(--tw-bg-opacity, 1));
}

  .import-stat--error {
  --tw-bg-opacity: 1;
  background-color: rgb(255 79 140 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

  .import-stat-value {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 800;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
  line-height: 1;
}

  .import-stat-label {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

  .import-details summary {
  cursor: pointer;
  border-radius: 0.75rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-weight: 800;
}

  /* no inner scrolling: the sheet body is the only scroller (long lists are collapsed) */
  .import-lines {
  margin-top: 0.5rem;
}
  .import-lines > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));
}
  .import-lines {
  font-size: 1rem;
  line-height: 1.5rem;
}

  .import-lines li {
  display: flex;
  gap: 0.5rem;
  line-height: 1.375;
    overflow-wrap: anywhere;
}

  .import-line-no {
  display: inline-flex;
  height: 1.5rem;
  flex-shrink: 0;
  align-items: center;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(43 23 64 / var(--tw-bg-opacity, 1));
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 800;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
  --tw-text-opacity: 1;
  color: rgb(255 247 240 / var(--tw-text-opacity, 1));
}

  .import-line-body {
  display: flex;
  min-width: 0px;
  flex-direction: column;
  gap: 0.25rem;
}

  /* "Col. 6 category" + "unknown category « sportt » (…)" */
  .import-issue {
  display: flex;
  min-width: 0px;
  flex-wrap: wrap;
  align-items: baseline;
  -moz-column-gap: 0.5rem;
       column-gap: 0.5rem;
  row-gap: 0.125rem;
}

  .import-col {
  display: inline-flex;
  height: 1.5rem;
  flex-shrink: 0;
  align-items: center;
  gap: 0.25rem;
  border-radius: 9999px;
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 800;
}

  .import-col code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 700;
}

  .import-msg {
  min-width: 0px;
  font-weight: 600;
}

  .import-value {
  margin-top: 0.25rem;
  display: inline-block;
  max-width: 100%;
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(43 23 64 / var(--tw-bg-opacity, 1));
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(255 212 94 / var(--tw-text-opacity, 1));
    overflow-wrap: anywhere;
}

  .import-note {
  border-radius: 0.75rem;
  border-width: 2px;
  border-style: dashed;
  border-color: rgb(43 23 64 / 0.4);
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
}

  /* Whole file refused (separator, encoding, mostly invalid lines…) */
  .import-fatal {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-radius: 1rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 79 140 / var(--tw-bg-opacity, 1));
  padding: 1rem;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 2px 0 0 #2B1740;
  --tw-shadow-colored: 0 2px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

  .import-fatal-title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

  .import-fatal-list {
  display: flex;
  list-style-type: disc;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 1.25rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 700;
  line-height: 1.375;
}

  .import-fatal-list *::marker {
  color: rgb(255 255 255 / 0.7);
}

  .import-fatal-list::marker {
  color: rgb(255 255 255 / 0.7);
}

  .import-fatal-list .import-value {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
}

  /* ----- Import: expected format ----- */

  .import-help {
  border-radius: 1.5rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(246 230 218 / var(--tw-bg-opacity, 1));
}

  .import-help-summary {
  display: flex;
  cursor: pointer;
  list-style-type: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 1.25rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

  .import-help-summary::-webkit-details-marker {
    display: none;
  }

  .import-help-chevron {
  height: 1.25rem;
  width: 1.25rem;
  flex-shrink: 0;
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

  .import-help[open] .import-help-chevron {
  --tw-rotate: 180deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

  .import-help-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top-width: 2px;
  border-style: dashed;
  border-color: rgb(43 23 64 / 0.2);
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 1rem;
  padding-top: 0.75rem;
}

  /* One column per row: number, CSV name, description (below the name on phones) */
  .csv-cols {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

  .csv-cols li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  align-items: baseline;
  -moz-column-gap: 0.75rem;
       column-gap: 0.75rem;
  row-gap: 0.25rem;
}

  @media (min-width: 640px) {

  .csv-cols li {
    grid-template-columns: 1.5rem 6.5rem 1fr;
  }
}

  .csv-col-no {
  display: grid;
  height: 1.5rem;
  width: 1.5rem;
  place-items: center;
  align-self: flex-start;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(43 23 64 / var(--tw-bg-opacity, 1));
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 800;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
  --tw-text-opacity: 1;
  color: rgb(255 247 240 / var(--tw-text-opacity, 1));
}

  @media (min-width: 640px) {

  .csv-col-no {
    grid-row: span 1 / span 1;
  }
}

  .csv-col-no {
    grid-row: span 2;
  }

  .csv-col-name {
  justify-self: start;
  border-radius: 0.375rem;
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 212 94 / var(--tw-bg-opacity, 1));
  padding-left: 0.375rem;
  padding-right: 0.375rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
}

  .csv-col-desc {
  grid-column-start: 2;
  font-size: 1rem;
  line-height: 1.5rem;
  line-height: 1.375;
}

  @media (min-width: 640px) {

  .csv-col-desc {
    grid-column-start: 3;
    grid-row-start: 1;
  }
}

  .csv-cats {
  margin-top: 0.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

  .csv-cat {
  border-radius: 0.375rem;
  border-width: 2px;
  border-color: rgb(43 23 64 / 0.3);
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  padding-left: 0.375rem;
  padding-right: 0.375rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
}

  .import-rules {
  list-style-type: disc;
}

  .import-rules > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}

  .import-rules {
  padding-left: 1.25rem;
  font-size: 1rem;
  line-height: 1.5rem;
  line-height: 1.375;
}

  .import-rules *::marker {
  color: rgb(43 23 64 / 0.5);
}

  .import-rules::marker {
  color: rgb(43 23 64 / 0.5);
}

  .import-example {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

  /* each CSV line is a block; a long line wraps with a hanging indent */
  .admin-code--example {
  max-height: 14rem;
  overflow-y: auto;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  font-size: 0.875rem;
  line-height: 1.25rem;
  line-height: 1.625;
}
  @media (min-width: 640px) {

  .admin-code--example {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}

  .admin-code--example:focus-visible {
    outline: 3px solid #2B1740;
    outline-offset: 2px;
  }

  .code-line {
  display: block;
  white-space: pre-wrap;
    padding-left: 1.25em;
    text-indent: -1.25em;
    overflow-wrap: anywhere;
}

  .code-line + .code-line {
  margin-top: 0.375rem;
  border-top-width: 1px;
  border-style: dashed;
  border-color: rgb(255 212 94 / 0.3);
  padding-top: 0.375rem;
}

  /* ----- Duplicates ----- */

  .dup-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-radius: 1.5rem;
  border-width: 2.5px;
  border-style: dashed;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  padding: 0.75rem;
}

  .dup-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 1rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  padding: 0.75rem;
  --tw-shadow: 0 2px 0 0 #2B1740;
  --tw-shadow-colored: 0 2px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

  .dup-none {
  border-radius: 1rem;
  --tw-bg-opacity: 1;
  background-color: rgb(34 201 147 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
}

  /* ----- Live games ----- */

  .game-list {
  display: grid;
  gap: 1.25rem;
}

  @media (min-width: 768px) {

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

  @media (min-width: 1280px) {

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

  .game-list:empty::before {
  border-radius: 1.75rem;
  border-width: 2.5px;
  border-style: dashed;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  background-color: rgb(255 247 240 / 0.6);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

  .game-card {
  display: flex;
  min-width: 0px;
  flex-direction: column;
  gap: 1rem;
  border-radius: 1.75rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  padding: 1.25rem;
  --tw-shadow: 0 8px 0 0 #2B1740;
  --tw-shadow-colored: 0 8px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

  .game-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

  .game-pin {
  height: 2.75rem;
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1.75rem;
}

  .game-meta {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: rgb(43 23 64 / 0.7);
}

  .game-round {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 800;
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
}

  .game-players {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

  .game-player {
  display: flex;
  height: 2.75rem;
  min-width: 0px;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 212 94 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  font-weight: 700;
  max-width: 100%;
  padding-right: 0.25rem;
}

  .game-player.is-offline {
  border-style: dashed;
  --tw-bg-opacity: 1;
  background-color: rgb(246 230 218 / var(--tw-bg-opacity, 1));
  color: rgb(43 23 64 / 0.7);
}

  .game-player.is-bot {
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
}

  .game-player-tag {
  flex-shrink: 0;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

  .game-player-points {
  display: grid;
  height: 2rem;
  min-width: 2rem;
  flex-shrink: 0;
  place-items: center;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(43 23 64 / var(--tw-bg-opacity, 1));
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 800;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
  --tw-text-opacity: 1;
  color: rgb(255 247 240 / var(--tw-text-opacity, 1));
}

  .game-card-foot {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  border-top-width: 2px;
  border-style: dashed;
  border-color: rgb(43 23 64 / 0.2);
  padding-top: 1rem;
}

  /* ----- Activity log ----- */

  .log-list {
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
}

  @media (min-width: 640px) {

  .log-list {
    padding: 0.75rem;
  }
}

  .log-row {
  display: grid;
  -moz-column-gap: 1rem;
       column-gap: 1rem;
  row-gap: 0.125rem;
  border-radius: 1rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

  @media (min-width: 640px) {

  .log-row {
    grid-template-columns: 11rem 11rem 1fr auto;
    align-items: baseline;
  }
}

  .log-row + .log-row {
  border-top-width: 2px;
  border-style: dashed;
  border-color: rgb(43 23 64 / 0.15);
}

  .log-row.is-failed .log-action {
  --tw-text-opacity: 1;
  color: rgb(232 51 111 / var(--tw-text-opacity, 1));
}

  .log-time {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
  color: rgb(43 23 64 / 0.6);
}

  .log-action {
  font-weight: 800;
}

  .log-detail {
  min-width: 0px;
  font-weight: 600;
    overflow-wrap: anywhere;
}

  .log-who {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: rgb(43 23 64 / 0.6);
}

  @media (min-width: 640px) {

  .log-who {
    text-align: right;
  }
}

  .log-who {
    overflow-wrap: anywhere;
  }

  .admin-toast {
  pointer-events: none;
}

  /* ----- Questions: filters, tags, review ----- */

  .admin-filters {
  display: grid;
  gap: 1rem;
}

  @media (min-width: 640px) {

  .admin-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

  @media (min-width: 1024px) {

  .admin-filters {
    grid-column: span 2 / span 2;
  }
}

  /* Real <select> (keyboard, screen readers, phone pickers) dressed like the fields: no native
     arrow, a butter "sticker" chevron, the same border / shadow / focus ring as .field */
  .field--select {
  cursor: pointer;
  appearance: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 3.5rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
    -webkit-appearance: none;
    -moz-appearance: none;
    color-scheme: light;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='14' fill='%23FFD45E' stroke='%232B1740' stroke-width='2.5'/%3E%3Cpath d='m10.5 13.5 5.5 5.5 5.5-5.5' fill='none' stroke='%232B1740' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.875rem;
}

  .field--select:hover:not(:disabled) {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

  .field--select:focus {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

  .field--select::-ms-expand {
    display: none;
  }

  /* the open list (when the browser lets us style it) */
  .field--select option {
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
}

  .field--select option:checked {
  --tw-bg-opacity: 1;
  background-color: rgb(255 212 94 / var(--tw-bg-opacity, 1));
  font-weight: 700;
}

  /* Small select (per page) */
  .field--compact {
  min-height: 44px;
  width: auto;
  border-radius: 0.75rem;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 1rem;
  padding-right: 2.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 800;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
    background-position: right 0.5rem center;
    background-size: 1.625rem;
}

  .\!field:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

  .field:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

  /* ----- Scrollbars: thin, rounded plum thumb on a clear track (page, sheets, lists, code) ----- */

  html:has(> body.admin)::-webkit-scrollbar,
  .admin ::-webkit-scrollbar {
    width: 12px;
    height: 12px;
  }

  html:has(> body.admin)::-webkit-scrollbar-track,
  .admin ::-webkit-scrollbar-track,
  html:has(> body.admin)::-webkit-scrollbar-corner,
  .admin ::-webkit-scrollbar-corner {
    background: transparent;
  }

  html:has(> body.admin)::-webkit-scrollbar-thumb,
  .admin ::-webkit-scrollbar-thumb {
    min-height: 2.5rem;
    border: 3px solid transparent;
    border-radius: 9999px;
    background-color: rgb(43 23 64 / 0.4);
    background-clip: padding-box;
  }

  html:has(> body.admin)::-webkit-scrollbar-thumb:hover,
  .admin ::-webkit-scrollbar-thumb:hover {
    background-color: rgb(43 23 64 / 0.62);
  }

  html:has(> body.admin)::-webkit-scrollbar-thumb:active,
  .admin ::-webkit-scrollbar-thumb:active {
    background-color: rgb(43 23 64 / 0.78);
  }

  /* on the plum code blocks: a butter thumb */
  .admin .admin-code::-webkit-scrollbar-thumb {
    background-color: rgb(255 212 94 / 0.45);
  }

  .admin .admin-code::-webkit-scrollbar-thumb:hover {
    background-color: rgb(255 212 94 / 0.7);
  }

  /* Firefox (no ::-webkit-scrollbar). Chrome 121+ would drop the rules above for any element
     with scrollbar-width / scrollbar-color, hence the @supports. */
  @supports not selector(::-webkit-scrollbar) {
    html:has(> body.admin),
    .admin,
    .admin * {
      scrollbar-width: thin;
      scrollbar-color: rgb(43 23 64 / 0.4) transparent;
    }

    .admin .admin-code {
      scrollbar-color: rgb(255 212 94 / 0.5) transparent;
    }
  }

  .q-badges {
  display: flex;
  min-width: 0px;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
}

  .badge--lang {
  --tw-bg-opacity: 1;
  background-color: rgb(43 23 64 / var(--tw-bg-opacity, 1));
  letter-spacing: 0.05em;
  --tw-text-opacity: 1;
  color: rgb(255 212 94 / var(--tw-text-opacity, 1));
}

  .badge--cat {
  border-width: 2px;
  border-style: dashed;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(246 230 218 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
}

  .badge--pending {
  --tw-bg-opacity: 1;
  background-color: rgb(255 212 94 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
}

  .badge--rejected {
  background-color: rgb(43 23 64 / 0.15);
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
  text-decoration-line: line-through;
  text-decoration-thickness: 2px;
}

  .q-meta {
  margin-top: -0.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  -moz-column-gap: 0.375rem;
       column-gap: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: rgb(43 23 64 / 0.6);
}

  .q-card-foot {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  border-top-width: 2px;
  border-style: dashed;
  border-color: rgb(43 23 64 / 0.2);
  padding-top: 0.75rem;
}

  .q-card-foot .btn {
  flex: 1 1 0%;
}

  @media (min-width: 640px) {

  .q-card-foot .btn {
    flex: none;
  }
}

  .ai-off {
  border-radius: 1.5rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 212 94 / var(--tw-bg-opacity, 1));
  padding: 1rem;
}

  @keyframes pulse {

  50% {
    opacity: .5;
  }
}

  #generateForm[aria-busy="true"] .sheet-actions .btn-primary {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

  /* ----- Settings (premium code) ----- */

  /* 5 tabs on phones: the last one takes the whole third row */
  .admin-tab:last-child:nth-child(odd) {
  grid-column: span 2 / span 2;
}
  @media (min-width: 640px) {

  .admin-tab:last-child:nth-child(odd) {
    grid-column: span 1 / span 1;
  }
}

  .settings-card {
  display: flex;
  max-width: 48rem;
  flex-direction: column;
  gap: 1.25rem;
}

  .settings-card[aria-busy="true"] {
  opacity: 0.6;
}

  .settings-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

  .premium-code-box {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  border-radius: 1.5rem;
  border-width: 2.5px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 212 94 / var(--tw-bg-opacity, 1));
  padding: 1rem;
  --tw-shadow: 0 4px 0 0 #2B1740;
  --tw-shadow-colored: 0 4px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

  @media (min-width: 640px) {

  .premium-code-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
  }
}

  .premium-code {
  min-width: 0px;
  -webkit-user-select: all;
     -moz-user-select: all;
          user-select: all;
  text-align: center;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 800;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
  letter-spacing: -0.025em;
}

  @media (min-width: 640px) {

  .premium-code {
    text-align: left;
    font-size: 3rem;
    line-height: 1;
  }
}

  .premium-code {
    overflow-wrap: anywhere;
  }

  .premium-off {
  border-radius: 1.5rem;
  border-width: 2.5px;
  border-style: dashed;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(246 230 218 / var(--tw-bg-opacity, 1));
  padding: 1rem;
}

  .settings-meta {
  margin-top: -0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: rgb(43 23 64 / 0.6);
}

  .settings-meta:empty {
  display: none;
}

  .phase-votes.settings-meta:empty {
  display: none;
}

  .settings-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top-width: 2px;
  border-style: dashed;
  border-color: rgb(43 23 64 / 0.2);
  padding-top: 1rem;
}

  @media (min-width: 640px) {

  .settings-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

  .settings-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

  @media (min-width: 640px) {

  .settings-row {
    flex-direction: row;
  }
}

  .settings-row .field {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

  @media (min-width: 640px) {

  .settings-row .field {
    flex: 1 1 0%;
  }
}

  .settings-row .\!field {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

  @media (min-width: 640px) {

  .settings-row .\!field {
    flex: 1 1 0%;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.pointer-events-none {
  pointer-events: none;
}
.visible {
  visibility: visible;
}
.invisible {
  visibility: hidden;
}
.collapse {
  visibility: collapse;
}
.static {
  position: static;
}
.fixed {
  position: fixed;
}
.relative {
  position: relative;
}
.col-span-2 {
  grid-column: span 2 / span 2;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.-mt-1 {
  margin-top: -0.25rem;
}
.-mt-2 {
  margin-top: -0.5rem;
}
.mb-0 {
  margin-bottom: 0px;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-5 {
  margin-bottom: 1.25rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-12 {
  margin-top: 3rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-7 {
  margin-top: 1.75rem;
}
.mt-9 {
  margin-top: 2.25rem;
}
.block {
  display: block;
}
.inline {
  display: inline;
}
.flex {
  display: flex;
}
.table {
  display: table;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.h-20 {
  height: 5rem;
}
.h-4 {
  height: 1rem;
}
.max-h-72 {
  max-height: 18rem;
}
.w-16 {
  width: 4rem;
}
.w-4 {
  width: 1rem;
}
.w-full {
  width: 100%;
}
.min-w-0 {
  min-width: 0px;
}
.max-w-\[18rem\] {
  max-width: 18rem;
}
.max-w-\[19rem\] {
  max-width: 19rem;
}
.max-w-md {
  max-width: 28rem;
}
.flex-1 {
  flex: 1 1 0%;
}
.border-collapse {
  border-collapse: collapse;
}
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.place-items-center {
  place-items: center;
}
.items-start {
  align-items: flex-start;
}
.items-center {
  align-items: center;
}
.items-baseline {
  align-items: baseline;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-10 {
  gap: 2.5rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-5 {
  gap: 1.25rem;
}
.gap-6 {
  gap: 1.5rem;
}
.overflow-y-auto {
  overflow-y: auto;
}
.rounded-2xl {
  border-radius: 1rem;
}
.border {
  border-width: 1px;
}
.bg-butter {
  --tw-bg-opacity: 1;
  background-color: rgb(255 212 94 / var(--tw-bg-opacity, 1));
}
.p-7 {
  padding: 1.75rem;
}
.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.pb-10 {
  padding-bottom: 2.5rem;
}
.pb-2 {
  padding-bottom: 0.5rem;
}
.pt-2 {
  padding-top: 0.5rem;
}
.pt-8 {
  padding-top: 2rem;
}
.text-center {
  text-align: center;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-5xl {
  font-size: 3rem;
  line-height: 1;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.font-bold {
  font-weight: 700;
}
.font-extrabold {
  font-weight: 800;
}
.font-semibold {
  font-weight: 600;
}
.tabular-nums {
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}
.leading-snug {
  line-height: 1.375;
}
.leading-tight {
  line-height: 1.25;
}
.tracking-tight {
  letter-spacing: -0.025em;
}
.text-butter {
  --tw-text-opacity: 1;
  color: rgb(255 212 94 / var(--tw-text-opacity, 1));
}
.text-plum {
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
}
.text-plum\/70 {
  color: rgb(43 23 64 / 0.7);
}
.underline {
  text-decoration-line: underline;
}
.decoration-pink {
  text-decoration-color: #FF4F8C;
}
.decoration-\[3px\] {
  text-decoration-thickness: 3px;
}
.underline-offset-4 {
  text-underline-offset: 4px;
}
.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.outline {
  outline-style: solid;
}
.ring {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
  /* Hide scrollbar for Chrome, Safari and Opera */
  .no-scrollbar::-webkit-scrollbar {
    display: none;
  }

  /* Hide scrollbar for IE, Edge and Firefox */
  .no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
.\[overflow-wrap\:anywhere\] {
  overflow-wrap: anywhere;
}

/* ==========================================================================
   Punchline design system
   Palette: plum (ink), coral (stage), butter (actions), pink (votes),
   milk (surfaces), mint (done). One family: Bricolage Grotesque.
   Signature: speech bubbles with a plum outline and a hard "sticker" shadow.
   ========================================================================== */

/* ---------- Host screens (game, scores) ---------- */

/* ---------- Phone screens (prompt, vote, waiting) ---------- */

/* ---------- Admin ---------- */
/* Back office (/admin, public/admin): same bubbles, outlines and sticker shadows */

/* ---------- Feedback animations ---------- */
/* Error toasts drop in with a springy overshoot, shake "nope" and stay slightly tilted;
   notices drop in with a soft bounce; both pop out (scale down + fade). The field whose value
   was refused shakes with a pink outline pulse. Plain CSS (no layer): these rules come after the
   base reduced-motion rule and override it with a simple fade. */

.toast--error-in {
  animation: toast-nope 0.85s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

.toast--notice-in {
  animation: toast-drop 0.7s cubic-bezier(0.25, 0.9, 0.35, 1) both;
}

.toast--out {
  animation: toast-pop-out 0.32s cubic-bezier(0.5, 0, 0.75, 0) both;
}

@keyframes toast-nope {
  0% {
    opacity: 0;
    transform: translate(0, -1.75rem) rotate(0deg) scale(0.85);
  }
  24% {
    opacity: 1;
    transform: translate(0, 0.4rem) rotate(0deg) scale(1.05);
  }
  36% {
    transform: translate(0, -0.1rem) rotate(0deg) scale(0.99);
  }
  46% {
    transform: translate(-10px, 0) rotate(-3deg) scale(1);
  }
  56% {
    transform: translate(9px, 0) rotate(2deg) scale(1);
  }
  66% {
    transform: translate(-6px, 0) rotate(-3deg) scale(1);
  }
  76% {
    transform: translate(4px, 0) rotate(-0.5deg) scale(1);
  }
  88% {
    transform: translate(-1px, 0) rotate(-2deg) scale(1);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(var(--toast-tilt, -1.5deg)) scale(1);
  }
}

@keyframes toast-drop {
  0% {
    opacity: 0;
    transform: translate(0, -1.5rem) rotate(0deg) scale(0.96);
  }
  55% {
    opacity: 1;
    transform: translate(0, 0.3rem) rotate(0deg) scale(1.01);
  }
  78% {
    transform: translate(0, -0.12rem) rotate(0deg) scale(1);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
}

@keyframes toast-pop-out {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(var(--toast-tilt, 0deg)) scale(1);
  }
  30% {
    opacity: 1;
    transform: translate(0, 0) rotate(var(--toast-tilt, 0deg)) scale(1.06);
  }
  100% {
    opacity: 0;
    transform: translate(0, 0) rotate(var(--toast-tilt, 0deg)) scale(0.55);
  }
}

/* Refused field: "translate" (not transform) so the field keeps its own transforms */
.field-shake {
  animation:
    field-nope 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both,
    field-alarm 0.9s ease-out both;
}

.vote-list.field-shake {
  border-radius: 1.75rem;
}

@keyframes field-nope {
  10%,
  90% {
    translate: -1px 0;
  }
  20%,
  80% {
    translate: 3px 0;
  }
  30%,
  50%,
  70% {
    translate: -7px 0;
  }
  40%,
  60% {
    translate: 7px 0;
  }
  100% {
    translate: 0 0;
  }
}

@keyframes field-alarm {
  0% {
    outline: 4px solid rgb(255 79 140 / 0.95);
    outline-offset: 2px;
  }
  60% {
    outline: 4px solid rgb(255 79 140 / 0.6);
    outline-offset: 5px;
  }
  100% {
    outline: 4px solid rgb(255 79 140 / 0);
    outline-offset: 9px;
  }
}

@keyframes feedback-fade-in {
  from {
    opacity: 0;
  }
}

@keyframes feedback-fade-out {
  to {
    opacity: 0;
  }
}

/* ----- Big screen: clock of the reveals and of the votes ----- */

.phase-clock {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.75rem;
}

.phase-clock-label {
  max-width: 8rem;
  text-align: right;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: rgb(43 23 64 / 0.75);
}

@media (min-width: 640px) {

  .phase-clock-label {
    max-width: 11rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 1024px) {

  .phase-clock-label {
    max-width: 17rem;
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

/* the answer countdown and this clock share the spot next to the phase caption */
.stage:is([data-phase="answers"], [data-phase="voting"], [data-phase="votes"]) .stage-timer:not(.timer--phase),
.stage:is([data-phase="ready"], [data-phase="answering"]) .phase-clock {
  display: none;
}

/* votes received / awaited, next to the time left to vote: a pill readable from the sofa */
.phase-votes {
  display: inline-flex;
  height: 3rem;
  flex-shrink: 0;
  align-items: center;
  border-radius: 9999px;
  border-width: 3px;
  --tw-border-opacity: 1;
  border-color: rgb(43 23 64 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 800;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
  --tw-text-opacity: 1;
  color: rgb(43 23 64 / var(--tw-text-opacity, 1));
  --tw-shadow: 0 2px 0 0 #2B1740;
  --tw-shadow-colored: 0 2px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
@media (min-width: 1024px) {

  .phase-votes {
    height: 4rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

/* this section is outside the Tailwind layers, so its display rules beat the .hidden utility:
   without this, the votes counter stayed on screen after the votes ("Next question in 1/2") */
.phase-votes.hidden {
  display: none;
}

/* waiting for the server (time left not known yet): milk + pink, breathing */
.timer--phase.is-waiting {
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 240 / var(--tw-bg-opacity, 1));
  font-size: 1.25rem;
  line-height: 1.75rem;
  --tw-text-opacity: 1;
  color: rgb(255 79 140 / var(--tw-text-opacity, 1));
}
@media (min-width: 1024px) {

  .timer--phase.is-waiting {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}
.timer--phase.is-waiting {
  animation: phase-wait 1.8s ease-in-out infinite;
}

/* Phone, vote page: small countdown next to the title */
.vote-timer {
  height: 3rem;
  width: 3rem;
  flex-shrink: 0;
  border-width: 2.5px;
  font-size: 1.25rem;
  line-height: 1.75rem;
  --tw-shadow: 0 2px 0 0 #2B1740;
  --tw-shadow-colored: 0 2px 0 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.vote-timer.is-urgent {
  --tw-bg-opacity: 1;
  background-color: rgb(255 79 140 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  animation: stage-pulse 1s ease-in-out infinite;
}

@keyframes phase-wait {
  50% {
    transform: scale(1.06) rotate(-3deg);
  }
}

/* How long the current answer stays on screen */
.reveal-bar {
  margin-top: 1.25rem;
  display: block;
  height: 0.5rem;
  width: 100%;
  overflow: hidden;
  border-radius: 9999px;
  background-color: rgb(43 23 64 / 0.15);
}
@media (min-width: 640px) {

  .reveal-bar {
    margin-top: 1.5rem;
  }
}

.reveal-bar::after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(43 23 64 / var(--tw-bg-opacity, 1));
  transform: scaleX(0);
  transform-origin: left center;
}

.reveal-bar.is-running::after {
  animation: reveal-drain var(--reveal-ms, 7000ms) linear both;
}

.stage[data-phase="votes"] .reveal-bar {
  background-color: rgb(255 255 255 / 0.3);
}

.stage[data-phase="votes"] .reveal-bar::after {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

@keyframes reveal-drain {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  /* no movement: a plain fade */
  .toast--error-in,
  .toast--notice-in {
    animation: feedback-fade-in 0.25s ease-out both !important;
    transform: none !important;
  }

  .toast--out {
    animation: feedback-fade-out 0.25s ease-in both !important;
  }

  /* the field does not move, the outline pulse stays */
  .field-shake {
    animation: field-alarm 0.9s ease-out both !important;
  }

  .timer--phase.is-waiting,
  .vote-timer.is-urgent {
    animation: none !important;
  }

  /* information, not decoration: the bar keeps draining (no movement of the layout) */
  .reveal-bar.is-running::after {
    animation-duration: var(--reveal-ms, 7000ms) !important;
  }
}

@media (min-width: 640px) {

  .sm\:col-span-1 {
    grid-column: span 1 / span 1;
  }

  .sm\:block {
    display: block;
  }

  .sm\:inline {
    display: inline;
  }

  .sm\:hidden {
    display: none;
  }

  .sm\:h-24 {
    height: 6rem;
  }

  .sm\:w-20 {
    width: 5rem;
  }

  .sm\:max-w-sm {
    max-width: 24rem;
  }

  .sm\:flex-1 {
    flex: 1 1 0%;
  }

  .sm\:flex-none {
    flex: none;
  }

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

  .sm\:justify-start {
    justify-content: flex-start;
  }

  .sm\:gap-3 {
    gap: 0.75rem;
  }

  .sm\:pt-12 {
    padding-top: 3rem;
  }

  .sm\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .sm\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .sm\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }
}

@media (min-width: 1024px) {

  .lg\:mb-0 {
    margin-bottom: 0px;
  }

  .lg\:grid {
    display: grid;
  }

  .lg\:grid-cols-\[1\.45fr_1fr\] {
    grid-template-columns: 1.45fr 1fr;
  }

  .lg\:items-start {
    align-items: flex-start;
  }

  .lg\:p-10 {
    padding: 2.5rem;
  }

  .lg\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}
