@font-face{font-family:QuizzolaneBody;src:url('/static/inter.woff2') format('woff2');font-weight:100 900;font-display:swap}@font-face{font-family:QuizzolaneDisplay;src:url('/static/space-grotesk.woff2') format('woff2');font-weight:300 700;font-display:swap}:root{--font-body:QuizzolaneBody;--font-display:QuizzolaneDisplay}
*, ::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: Geist, 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;
}
.\!container {
  width: 100% !important;
}
.container {
  width: 100%;
}
@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;
  }
}
.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;
}
.static {
  position: static;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.bottom-5 {
  bottom: 1.25rem;
}
.left-3 {
  left: 0.75rem;
}
.right-3 {
  right: 0.75rem;
}
.right-8 {
  right: 2rem;
}
.top-4 {
  top: 1rem;
}
.top-8 {
  top: 2rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.my-3 {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.table {
  display: table;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.h-1\.5 {
  height: 0.375rem;
}
.h-16 {
  height: 4rem;
}
.h-2 {
  height: 0.5rem;
}
.h-20 {
  height: 5rem;
}
.h-28 {
  height: 7rem;
}
.h-40 {
  height: 10rem;
}
.min-h-10 {
  min-height: 2.5rem;
}
.min-h-12 {
  min-height: 3rem;
}
.min-h-14 {
  min-height: 3.5rem;
}
.w-1\.5 {
  width: 0.375rem;
}
.w-16 {
  width: 4rem;
}
.w-2 {
  width: 0.5rem;
}
.w-28 {
  width: 7rem;
}
.w-32 {
  width: 8rem;
}
.w-40 {
  width: 10rem;
}
.w-48 {
  width: 12rem;
}
.w-full {
  width: 100%;
}
.max-w-sm {
  max-width: 24rem;
}
.shrink-0 {
  flex-shrink: 0;
}
.grow {
  flex-grow: 1;
}
.scale-50 {
  --tw-scale-x: .5;
  --tw-scale-y: .5;
  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));
}
.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));
}
.scroll-mt-28 {
  scroll-margin-top: 7rem;
}
.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-1\.5 {
  gap: 0.375rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-x-4 {
  -moz-column-gap: 1rem;
       column-gap: 1rem;
}
.gap-y-2 {
  row-gap: 0.5rem;
}
.overflow-hidden {
  overflow: hidden;
}
.whitespace-normal {
  white-space: normal;
}
.rounded-3xl {
  border-radius: 1.5rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.border {
  border-width: 1px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-t {
  border-top-width: 1px;
}
.border-white\/10 {
  border-color: rgb(255 255 255 / 0.1);
}
.border-white\/15 {
  border-color: rgb(255 255 255 / 0.15);
}
.bg-\[\#9B6BF2\] {
  --tw-bg-opacity: 1;
  background-color: rgb(155 107 242 / var(--tw-bg-opacity, 1));
}
.bg-current {
  background-color: currentColor;
}
.bg-gold {
  --tw-bg-opacity: 1;
  background-color: rgb(245 196 81 / var(--tw-bg-opacity, 1));
}
.bg-gold\/10 {
  background-color: rgb(245 196 81 / 0.1);
}
.bg-surface {
  --tw-bg-opacity: 1;
  background-color: rgb(19 27 45 / var(--tw-bg-opacity, 1));
}
.bg-white\/5 {
  background-color: rgb(255 255 255 / 0.05);
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.pb-6 {
  padding-bottom: 1.5rem;
}
.pt-2 {
  padding-top: 0.5rem;
}
.text-center {
  text-align: center;
}
.uppercase {
  text-transform: uppercase;
}
.lowercase {
  text-transform: lowercase;
}
.tracking-widest {
  letter-spacing: 0.1em;
}
.text-gold {
  --tw-text-opacity: 1;
  color: rgb(245 196 81 / var(--tw-text-opacity, 1));
}
.text-ink {
  --tw-text-opacity: 1;
  color: rgb(11 16 32 / var(--tw-text-opacity, 1));
}
.text-muted {
  --tw-text-opacity: 1;
  color: rgb(155 168 195 / var(--tw-text-opacity, 1));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.shadow-2xl {
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-black\/20 {
  --tw-shadow-color: rgb(0 0 0 / 0.2);
  --tw-shadow: var(--tw-shadow-colored);
}
.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);
}
.transition {
  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;
}
.transition-\[transform\2c opacity\2c background-color\] {
  transition-property: transform,opacity,background-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-300 {
  transition-duration: 300ms;
}
.ease-\[cubic-bezier\(0\.22\2c 1\2c 0\.36\2c 1\)\] {
  transition-timing-function: cubic-bezier(0.22,1,0.36,1);
}
:root {
  color-scheme: dark;
  --bg: #0b1020;
  --surface: #131a2e;
  --panel: #101729;
  --line: #263147;
  --text: #e6eaf2;
  --muted: #8c9bb5;
  --gold: #f5c451;
  --tier1: #6b7a99;
  --tier2: #8c9bb5;
  --tier3: #5fb3c9;
  --tier4: #4a8fe7;
  --tier5: #9b6bf2;
  --tier6: #f5c451;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: auto;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body), sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display), sans-serif;
  font-weight: 600;
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
a:hover {
  color: var(--gold);
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
svg {
  flex-shrink: 0;
}
input,
select {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
}
input::-moz-placeholder {
  color: #64728d;
}
input::placeholder {
  color: #64728d;
}
input:focus {
  border-color: var(--gold);
  outline: 0;
}
small {
  font-size: 12px;
  line-height: 16px;
}
button {
  border: 0;
  color: inherit;
  background: none;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -96px;
  padding: 12px 16px;
  background: var(--gold);
  color: var(--bg);
  z-index: 100;
}
.skip-link:focus {
  top: 16px;
}
.v2-header {
  max-width: 1248px;
  padding: 24px 32px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.v2-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display), sans-serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -1px;
  white-space: nowrap;
}
.v2-brand small {
  display: none;
}
.v2-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #f5c45180;
  border-radius: 8px;
  color: var(--gold);
  box-shadow: inset 0 0 0 4px #f5c45108;
  transform: rotate(-12deg);
}
.v2-mark svg {
  transform: rotate(12deg);
}
.v2-desktop-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.v2-desktop-nav a[aria-current='page'] {
  color: var(--gold);
}
.v2-header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.v2-menu-trigger {
  display: none;
}
.locale-switch {
  position: relative;
  flex-shrink: 0;
}
.locale-switch-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
}
.locale-switch-toggle:hover {
  border-color: #f5c45180;
  color: var(--gold);
}
.locale-switch-options {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
  min-width: 176px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 16px 32px #0005;
}
.locale-switch-options[hidden] {
  display: none;
}
.locale-switch-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  min-height: 40px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--muted);
}
.locale-switch-option[aria-current='page'],
.locale-switch-option:hover {
  color: var(--gold);
  background: #f5c45108;
}
.v2-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: 448px;
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  border: 1px solid var(--line);
  padding: 0;
  color: var(--text);
  background: #0b1020f7;
  z-index: 90;
}
.v2-menu::backdrop {
  background: #02050bcc;
  backdrop-filter: blur(8px);
}
.v2-menu-inner {
  padding: 32px;
}
.v2-menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 64px;
}
.v2-menu nav {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}
.v2-menu nav a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 36px;
}
.v2-menu nav small {
  color: var(--muted);
  width: 24px;
}
.v2-menu nav svg {
  margin-left: auto;
}
.contrast-choice {
  margin-top: 32px;
  padding: 16px 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 14px;
}
.contrast-choice small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.toggle-track {
  width: 40px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--gold);
}
.contrast-choice[aria-checked='true'] .toggle-track {
  background: #f5c45120;
  border-color: var(--gold);
}
.v2-container {
  max-width: 1184px;
  margin: auto;
}
.v2-hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 64px 32px 80px;
  max-width: 1248px;
  margin: auto;
}
.eyebrow {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 2px;
  font-weight: 500;
  color: var(--muted);
}
.v2-hero h1 {
  font-size: 72px;
  line-height: 1;
  letter-spacing: -4px;
  margin: 24px 0;
  max-width: 680px;
}
.v2-hero h1 span {
  display: block;
  color: var(--gold);
}
.v2-hero-copy > p:not(.eyebrow) {
  max-width: 448px;
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
}
.v2-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}
.v2-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 12px 16px;
  background: var(--gold);
  color: #0b1020;
  border: 1px solid var(--gold);
  border-radius: 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}
.v2-button:hover {
  background: #ffda78;
  color: #0b1020;
}
.v2-button.secondary {
  color: var(--text);
  background: transparent;
  border-color: var(--line);
}
.v2-button.secondary:hover {
  border-color: var(--muted);
  color: var(--text);
}
.v2-button.wide {
  width: 100%;
}
.text-link,
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}
.text-link:hover,
.text-button:hover {
  color: var(--gold);
}
.v2-micro {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}
.signal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #87c8ad;
  display: inline-block;
}
.v2-rule-numbers {
  display: flex;
  gap: 24px;
  margin-top: 48px;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}
.v2-rule-numbers span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.v2-rule-numbers strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 32px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.v2-hero-panel {
  position: relative;
  min-height: 448px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  overflow: hidden;
}
.v2-panel-heading {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.v2-panel-heading .eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
}
.v2-panel-heading time {
  font-size: 12px;
  color: var(--muted);
}
.v2-hero-panel .ascent-tower {
  display: block;
  width: 100%;
  height: 368px;
}
.v2-panel-bottom {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  background: var(--surface);
}
.v2-panel-bottom b {
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
}
.v2-section {
  max-width: 1248px;
  margin: auto;
  padding: 64px 32px;
}
.v2-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}
.v2-section-heading h2 {
  font-size: 36px;
  line-height: 40px;
  letter-spacing: -1px;
  margin-top: 12px;
}
.v2-section-heading p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  max-width: 448px;
}
.v2-prompt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.v2-prompt-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  box-shadow: 0 1px 0 var(--line);
  font-size: 18px;
  line-height: 28px;
}
.v2-prompt-row > small {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  width: 24px;
}
.v2-prompt-row > svg {
  margin-left: auto;
  color: var(--muted);
}
.v2-prompt-row.locked {
  color: #67758e;
}
.v2-prompt-row small:last-child {
  font-family: var(--font-body);
  width: auto;
  margin-left: auto;
  font-size: 10px;
}
.v2-rules {
  background: var(--panel);
  padding-top: 64px;
  padding-bottom: 64px;
}
.v2-rule-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.v2-rule-top h2 {
  font-size: 48px;
  line-height: 1;
  letter-spacing: -2px;
  margin-top: 16px;
}
.v2-rule-top p:not(.eyebrow) {
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
  margin-top: 24px;
  max-width: 448px;
}
.v2-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
}
.v2-step > span {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 12px;
}
.v2-step h3 {
  font-size: 20px;
  line-height: 28px;
  margin: 16px 0 12px;
}
.v2-step p {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}
.rarity-scale {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.rarity-stop {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
}
.rarity-stop strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  font-variant-numeric: tabular-nums;
}
.rarity-stop strong small {
  font-family: var(--font-body);
  font-size: 10px;
  margin-left: 2px;
}
.rarity-stop > span {
  font-size: 10px;
  line-height: 16px;
  color: var(--muted);
}
.tier-glyph {
  width: 24px;
  height: 24px;
}
.tier-1 {
  --tier: var(--tier1);
  color: var(--tier);
}
.tier-2 {
  --tier: var(--tier2);
  color: var(--tier);
}
.tier-3 {
  --tier: var(--tier3);
  color: var(--tier);
}
.tier-4 {
  --tier: var(--tier4);
  color: var(--tier);
}
.tier-5 {
  --tier: var(--tier5);
  color: var(--tier);
}
.tier-6 {
  --tier: var(--tier6);
  color: var(--tier);
}
.tier-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
}
.tier-label .tier-glyph {
  width: 20px;
  height: 20px;
}
.v2-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.v2-archive-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.v2-archive-card time {
  font-size: 12px;
  color: var(--muted);
}
.v2-archive-card h3 {
  font-size: 20px;
  line-height: 28px;
}
.v2-archive-card p {
  font-size: 12px;
  line-height: 20px;
  color: var(--muted);
}
.v2-archive-card .text-link {
  color: var(--gold);
  margin-top: auto;
}
.v2-endnote {
  padding: 64px 32px;
  text-align: center;
  max-width: 1248px;
  margin: auto;
}
.v2-endnote h2 {
  font-size: 48px;
  line-height: 1;
  letter-spacing: -2px;
  max-width: 680px;
  margin: 16px auto 24px;
}
.v2-footer {
  max-width: 1248px;
  padding: 48px 32px 32px;
  margin: auto;
  box-shadow: 0 -1px 0 var(--line);
}
.v2-footer-top {
  display: flex;
  gap: 48px;
  justify-content: space-between;
}
.v2-footer-top p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
  max-width: 320px;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: start;
  font-size: 12px;
  color: var(--muted);
  max-width: 480px;
}
.v2-footer-bottom {
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 10px;
}
.v2-footer-bottom a {
  display: flex;
  align-items: center;
  gap: 4px;
}
.v2-footer-bottom button {
  font-size: 10px;
}
.disclaimer {
  font-size: 10px;
  line-height: 16px;
  color: var(--muted);
  margin-top: 24px;
  max-width: 800px;
}
.high-contrast {
  --muted: #b6c1d6;
  --line: #53627d;
  --tier1: #c9d1e2;
  --tier2: #ffffff;
  --tier3: #00e5da;
  --tier4: #85b3ff;
  --tier5: #f093ff;
  --tier6: #ffe56c;
}
/* 独立游戏舞台 */
.v2-game-page {
  max-width: 1040px;
  margin: auto;
  padding: 48px 32px 80px;
}
.v2-game-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}
.v2-game-top h1 {
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -1px;
}
.v2-game-top p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}
.v2-mode-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}
.v2-game-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  overflow: hidden;
}
.v2-game-main {
  padding: 40px;
  min-width: 0;
}
.v2-game-rail {
  padding: 24px 16px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  align-items: center;
}
.v2-game-rail .ascent-tower {
  width: 210px;
  height: 280px;
}
.v2-game-rail strong {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
}
.v2-game-rail strong small {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0;
}
.v2-question-track {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}
.v2-question-track span {
  height: 4px;
  flex: 1;
  background: #29344a;
  border-radius: 2px;
}
.v2-question-track span.done {
  background: var(--gold);
}
.v2-question-track span.current {
  background: #a8b6cc;
}
.v2-prompt-title {
  font-size: 36px;
  line-height: 40px;
  letter-spacing: -1px;
  min-height: 96px;
  margin: 16px 0 24px;
}
.v2-time-track {
  height: 4px;
  background: #29344a;
  border-radius: 2px;
  overflow: hidden;
  margin: 16px 0 32px;
}
.v2-time-fill {
  height: 100%;
  background: var(--gold);
  transform-origin: left;
}
.v2-time-fill.urgent {
  background: #ff806b;
}
.v2-timer-label {
  min-height: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}
.v2-timer-last {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  color: #ff806b;
  font-size: 18px;
  font-weight: 600;
}
.v2-answer-label {
  display: block;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--muted);
}
.v2-answer-input {
  width: 100%;
  padding: 16px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 32px;
  border-radius: 8px;
  min-height: 64px;
}
.v2-input-note {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 12px 0 24px;
  font-size: 10px;
  color: var(--muted);
}
.v2-answer-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.v2-answer-actions .v2-button {
  flex: 1;
}
.v2-error {
  font-size: 12px;
  line-height: 20px;
  color: #ff9a86;
  margin: 16px 0;
}
.v2-candidates {
  border: 1px solid #f5c45170;
  border-radius: 12px;
  padding: 16px;
  margin-top: 24px;
  background: #f5c45108;
}
.v2-candidates p {
  font-size: 14px;
  margin-bottom: 12px;
}
.v2-candidates button {
  display: block;
  padding: 8px 0;
  text-align: left;
  color: var(--gold);
  font-size: 14px;
}
.v2-reveal {
  min-height: 368px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.v2-reveal strong,
.v2-reveal-points {
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -3px;
  font-variant-numeric: tabular-nums;
  margin: 24px 0;
}
.v2-reveal h2 {
  font-size: 30px;
  line-height: 36px;
  margin: 16px 0;
}
.v2-reveal p {
  font-size: 12px;
  color: var(--muted);
  max-width: 320px;
}
.v2-prompt-enter {
  animation: prompt-enter 300ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.v2-score-reveal {
  animation: score-reveal 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.v2-reveal-points small {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0;
  display: block;
  margin-top: 16px;
  color: var(--muted);
}
.v2-time-urgent {
  animation: time-urgent 800ms cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.v2-game-bottom {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.v2-game-bottom p {
  color: var(--muted);
  font-size: 12px;
}
.v2-game-bottom .rarity-scale {
  width: 70%;
  max-width: 640px;
}
.v2-game-bottom .rarity-stop {
  padding: 0;
  gap: 4px;
}
.v2-game-bottom .rarity-stop strong {
  font-size: 16px;
  line-height: 24px;
}
.v2-game-bottom .rarity-stop > span {
  font-size: 10px;
}
.v2-idle {
  min-height: 368px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.v2-idle h2 {
  font-size: 36px;
  line-height: 40px;
  letter-spacing: -1px;
  margin: 16px 0;
}
.v2-idle p {
  color: var(--muted);
  font-size: 14px;
  line-height: 24px;
  max-width: 448px;
}
.v2-idle .v2-button {
  align-self: start;
  margin-top: 32px;
}
.v2-alert {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}
/* 结果与内容，全部保留可抓取HTML。 */
.v2-results {
  max-width: 1184px;
  padding: 48px 32px 80px;
  margin: auto;
}
.v2-results-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 24px;
  margin-bottom: 40px;
}
.v2-results-heading h1 {
  font-size: 48px;
  line-height: 1;
  letter-spacing: -2px;
  margin-top: 16px;
}
.v2-result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.v2-total {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  margin-bottom: 32px;
}
.v2-total-score {
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 1;
  letter-spacing: -6px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.v2-total-score small {
  font-size: 24px;
  color: var(--muted);
  letter-spacing: 0;
}
.v2-total .ascent-tower {
  width: 160px;
  height: 224px;
  margin-left: auto;
}
.v2-total p {
  font-size: 12px;
  color: var(--muted);
  margin: 16px 0;
}
.v2-height-bar {
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  margin: 16px 0 8px;
}
.v2-height-bar span {
  display: block;
  background: var(--gold);
  height: 100%;
  border-radius: 2px;
}
.v2-review-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.v2-review-row {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  box-shadow: 0 1px 0 var(--line);
}
.v2-review-row > small {
  font-family: var(--font-display);
  color: var(--muted);
}
.v2-review-row h3 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 8px;
}
.v2-review-row p {
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}
.v2-review-row > strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.v2-share-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  position: sticky;
  top: 24px;
}
.v2-share-panel h2 {
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 8px;
}
.v2-share-panel p {
  font-size: 12px;
  color: var(--muted);
  line-height: 20px;
  margin-bottom: 24px;
}
.v2-share-panel img {
  width: 100%;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin-bottom: 24px;
}
.v2-share-panel .v2-button {
  width: 100%;
  margin-bottom: 16px;
}
.v2-share-panel input {
  width: 100%;
  font-size: 12px;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.v2-share-panel .rarity-scale {
  margin-top: 24px;
}
.v2-share-panel .rarity-stop strong {
  font-size: 18px;
  line-height: 28px;
}
.v2-share-panel .rarity-stop > span {
  display: none;
}
.content-page {
  max-width: 1024px;
  padding: 48px 32px 80px;
  margin: auto;
  min-height: 50vh;
}
.content-page h1 {
  font-size: 48px;
  line-height: 1;
  letter-spacing: -2px;
  margin: 16px 0 24px;
}
.content-page h2 {
  font-size: 30px;
  line-height: 36px;
  margin: 40px 0 16px;
}
.content-page h3 {
  font-size: 20px;
  line-height: 28px;
  margin: 24px 0 12px;
}
.content-page p,
.content-page li {
  color: var(--muted);
  font-size: 14px;
  line-height: 24px;
}
.content-page p {
  margin: 16px 0;
}
.content-page a {
  color: var(--gold);
}
.content-page nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  margin: 24px 0;
}
.content-page ul,
.content-page ol {
  padding-left: 24px;
}
.content-page li {
  margin: 8px 0;
}
.content-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.content-page td,
.content-page th {
  padding: 12px;
  text-align: left;
  border: 1px solid var(--line);
}
.content-page details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin: 12px 0;
}
.content-page summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}
.page-description {
  max-width: 680px;
}
.breadcrumbs {
  font-size: 12px;
  color: var(--muted);
}
.notice {
  padding: 16px 24px;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  font-size: 14px;
  color: var(--muted);
}
.notice a {
  color: var(--gold);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}
.section-heading h2,
.section-heading h3 {
  margin: 0;
}
.related-links {
  padding-top: 24px;
}
.answer-prompt-card,
.rarity-card,
.archive-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  margin: 24px 0;
}
.tier-answer-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 16px 0;
}
.tier-answer-row p {
  margin: 0;
}
.tier-answer-row .tier-label {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 4px;
}
.answer-grid,
.tier-grid,
.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.rarity-card h2 {
  margin-top: 0;
}
.answer-words {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none !important;
  padding: 0 !important;
}
.answer-words li {
  font-size: 12px !important;
  line-height: 20px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin: 0;
}
.points-pill {
  font-size: 12px;
  margin-left: auto;
}
.rarity-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rarity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.archive-card-links,
.month-links,
.archive-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
  font-size: 12px;
}
.review-date-form {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0;
  align-items: center;
}
.review-date-form select {
  padding: 8px 12px;
  border-radius: 8px;
}
.primary-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 16px;
  background: var(--gold);
  color: var(--bg) !important;
  border: 1px solid var(--gold);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}
.editorial-prompt {
  background: var(--panel);
}
.editorial-prompt code {
  overflow-wrap: anywhere;
}
.prose {
  max-width: 800px;
}
.v2-archive-list {
  display: grid;
  gap: 16px;
}
.v2-archive-row {
  display: grid;
  grid-template-columns: 144px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.v2-archive-row time {
  font-size: 12px;
  color: var(--muted);
}
.v2-archive-row h2 {
  font-size: 18px;
  line-height: 28px;
  margin: 0 0 4px;
}
.v2-archive-row p {
  font-size: 12px;
  line-height: 20px;
  margin: 0;
}
.v2-archive-row a {
  font-size: 14px;
  color: var(--gold);
}
.v2-contents {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.v2-contents a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
}
.v2-scores-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.v2-score-column {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: inset 3px 0 0 var(--tier);
}
.v2-score-column ul {
  padding: 0;
  list-style: none;
  margin: 16px 0 0;
}
.v2-score-column li {
  font-size: 14px;
  line-height: 24px;
  padding: 4px 0;
}
.v2-score-column strong {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  gap: 8px;
}
.v2-answer-section {
  margin: 48px 0;
}
.v2-answer-section h2 {
  margin-top: 16px;
}
.v2-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.v2-directory-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.v2-directory-card .tag {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}
.v2-directory-card h2 {
  margin: 16px 0;
  font-size: 24px;
  line-height: 32px;
}
.v2-directory-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  margin: 24px 0;
}
.v2-directory-card dt {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.v2-directory-card dd {
  margin: 4px 0 0;
  color: var(--text);
}
.v2-directory-card a {
  font-size: 14px;
}
.heading-1 {
  font-size: 60px;
  line-height: 1;
}
.heading-2 {
  font-size: 48px;
  line-height: 1;
}
.heading-3 {
  font-size: 36px;
  line-height: 40px;
}
.heading-4 {
  font-size: 30px;
  line-height: 36px;
}
.heading-5 {
  font-size: 24px;
  line-height: 32px;
}
.heading-6 {
  font-size: 20px;
  line-height: 28px;
}
.body-3 {
  font-size: 16px;
  line-height: 24px;
}
.body-6,
.body-5 {
  font-size: 14px;
  line-height: 20px;
}
.caption-2 {
  font-size: 14px;
  line-height: 20px;
}
.caption-3,
.caption-4,
.caption-5,
.button-sm {
  font-size: 12px;
  line-height: 16px;
}
.button-md {
  font-size: 16px;
  line-height: 24px;
}
.button-lg {
  font-size: 18px;
  line-height: 28px;
}
.text-muted {
  color: var(--muted);
}
@keyframes prompt-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes score-reveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes time-urgent {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@media (max-width: 1120px) {
  .v2-desktop-nav {
    display: none;
  }
  .v2-header-actions {
    margin-left: auto;
  }
  .v2-menu-trigger {
    display: grid;
  }
  .v2-hero {
    gap: 40px;
  }
  .v2-hero h1 {
    font-size: 60px;
    letter-spacing: -3px;
  }
  .v2-rule-top {
    gap: 40px;
  }
}
@media (max-width: 767px) {
  .v2-header {
    padding: 16px;
    gap: 16px;
  }
  .v2-brand {
    font-size: 20px;
    line-height: 28px;
    gap: 8px;
  }
  .v2-mark {
    width: 28px;
    height: 28px;
  }
  .v2-header-actions {
    gap: 8px;
  }
  .locale-switch-toggle {
    padding: 8px;
    font-size: 12px;
  }
  .locale-switch-toggle .locale-switch-caret {
    display: none;
  }
  .v2-menu-inner {
    padding: 24px;
  }
  .v2-menu-top {
    margin-bottom: 48px;
  }
  .v2-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 16px 48px;
  }
  .v2-hero h1 {
    font-size: 48px;
    line-height: 1;
    letter-spacing: -2px;
    margin: 16px 0 24px;
  }
  .v2-hero-copy > p:not(.eyebrow) {
    font-size: 16px;
    line-height: 24px;
  }
  .v2-actions {
    gap: 16px;
    margin-top: 24px;
  }
  .v2-actions .v2-button {
    width: 100%;
  }
  .v2-rule-numbers {
    margin-top: 32px;
    gap: 32px;
  }
  .v2-hero-panel {
    min-height: 320px;
  }
  .v2-hero-panel .ascent-tower {
    height: 280px;
  }
  .v2-panel-heading {
    padding: 16px;
  }
  .v2-panel-bottom {
    padding: 12px 16px;
  }
  .v2-section {
    padding: 48px 16px;
  }
  .v2-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
  }
  .v2-section-heading h2 {
    font-size: 30px;
    line-height: 36px;
  }
  .v2-prompt-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .v2-prompt-row {
    font-size: 16px;
    line-height: 24px;
    gap: 16px;
    padding: 16px 0;
  }
  .v2-prompt-row > small {
    width: 20px;
  }
  .v2-rule-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .v2-rule-top h2 {
    font-size: 36px;
    line-height: 40px;
  }
  .rarity-scale {
    gap: 4px;
  }
  .rarity-stop {
    gap: 4px;
  }
  .rarity-stop strong {
    font-size: 20px;
    line-height: 28px;
  }
  .rarity-stop > span {
    font-size: 10px;
    overflow-wrap: anywhere;
  }
  .rarity-stop strong small {
    font-size: 10px;
    display: none;
  }
  .v2-steps {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px;
  }
  .v2-step h3 {
    margin: 8px 0;
  }
  .v2-archive-grid {
    grid-template-columns: 1fr;
  }
  .v2-archive-card {
    padding: 16px;
    gap: 16px;
  }
  .v2-endnote {
    padding: 48px 16px;
  }
  .v2-endnote h2 {
    font-size: 36px;
    line-height: 40px;
  }
  .v2-footer {
    padding: 32px 16px;
  }
  .v2-footer-top {
    flex-direction: column;
    gap: 32px;
  }
  .footer-links {
    gap: 16px;
  }
  .v2-footer-bottom {
    margin-top: 32px;
    flex-wrap: wrap;
    justify-content: start;
    gap: 16px;
  }
  .v2-game-page {
    padding: 32px 16px 48px;
  }
  .v2-game-top {
    gap: 16px;
    margin-bottom: 24px;
  }
  .v2-game-top h1 {
    font-size: 24px;
    line-height: 32px;
  }
  .v2-game-board {
    grid-template-columns: 1fr;
  }
  .v2-game-main {
    padding: 24px 16px;
  }
  .v2-game-rail {
    display: none;
  }
  .v2-prompt-title {
    font-size: 30px;
    line-height: 36px;
    min-height: 96px;
  }
  .v2-question-track {
    margin-bottom: 24px;
  }
  .v2-time-track {
    margin-bottom: 24px;
  }
  .v2-game-bottom {
    align-items: start;
    flex-direction: column;
  }
  .v2-game-bottom .rarity-scale {
    width: 100%;
  }
  .v2-idle {
    min-height: 320px;
  }
  .v2-idle h2 {
    font-size: 30px;
    line-height: 36px;
  }
  .v2-answer-input {
    font-size: 20px;
    line-height: 28px;
    min-height: 60px;
  }
  .v2-results {
    padding: 32px 16px 48px;
  }
  .v2-results-heading {
    margin-bottom: 24px;
  }
  .v2-results-heading h1 {
    font-size: 36px;
    line-height: 40px;
  }
  .v2-result-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .v2-total {
    padding: 24px;
    gap: 16px;
  }
  .v2-total-score {
    font-size: 72px;
    letter-spacing: -4px;
  }
  .v2-total-score small {
    font-size: 18px;
  }
  .v2-total .ascent-tower {
    width: 112px;
    height: 176px;
  }
  .v2-share-panel {
    position: static;
    padding: 16px;
  }
  .v2-review-row {
    gap: 12px;
  }
  .v2-review-row p {
    font-size: 16px;
    line-height: 24px;
  }
  .v2-review-row > strong {
    font-size: 20px;
    line-height: 28px;
  }
  .content-page {
    padding: 32px 16px 48px;
  }
  .content-page h1 {
    font-size: 36px;
    line-height: 40px;
  }
  .content-page h2 {
    font-size: 24px;
    line-height: 32px;
  }
  .content-page h3 {
    font-size: 18px;
    line-height: 28px;
  }
  .content-page table {
    font-size: 12px;
  }
  .content-page th,
  .content-page td {
    padding: 8px;
  }
  .answer-grid,
  .tier-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }
  .tier-answer-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .tier-answer-row .tier-label {
    flex-direction: row;
    justify-content: space-between;
  }
  .v2-archive-row {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 16px;
  }
  .v2-archive-row > time {
    grid-column: 1/-1;
  }
  .v2-scores-grid {
    grid-template-columns: 1fr;
  }
  .v2-directory-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

.v2-time-label {
  display: flex;
  justify-content: space-between;
  min-height: 24px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}
.v2-time-label strong {
  color: #ff7d8a;
  font-variant-numeric: tabular-nums;
}
.v2-game-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
  margin-top: 32px;
}
.v2-flight-notes {
  max-width: 976px;
  margin: 0 auto 64px;
  padding: 24px 32px;
  color: var(--muted);
  font-size: 14px;
}
.v2-flight-notes li {
  padding: 8px 0;
}
.v2-dots {
  display: flex;
  gap: 8px;
}
.v2-dots > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 10px;
  color: var(--muted);
}
.v2-dots .current {
  border-color: var(--gold);
  color: var(--gold);
}
.v2-dots .done {
  background: var(--gold);
  color: var(--bg);
}
.game-error {
  margin: 16px 0;
  padding: 12px 16px;
  border: 1px solid #9e5462;
  border-radius: 8px;
  color: #ffb9c1;
  font-size: 14px;
}
.v2-live-total strong small {
  font-size: 18px;
  color: var(--muted);
  margin-left: 8px;
}
.v2-rail-note {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.v2-share-panel h2 {
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 24px;
}
.v2-share-panel input {
  max-width: 100%;
  width: 100%;
  padding: 12px;
  margin-top: 16px;
  border-radius: 8px;
}
.v2-score-summary {
  display: grid;
  grid-template-columns: 1fr 176px;
  gap: 24px;
  align-items: center;
  padding-bottom: 32px;
}
.v2-score-summary .ascent-tower {
  max-width: 100%;
  height: 272px;
}
.v2-score-summary h2 {
  font-size: 24px;
  line-height: 32px;
}
.v2-review-heading {
  font-size: 20px;
  line-height: 28px;
  margin: 24px 0;
}
.v2-height-bar {
  height: 4px;
  background: var(--line);
  margin-top: 24px;
  border-radius: 999px;
  overflow: hidden;
}
.v2-height-bar span {
  display: block;
  height: 100%;
  background: var(--gold);
  transform-origin: left;
}
.v2-review-prompt {
  font-size: 12px;
  line-height: 20px;
  color: var(--muted);
  margin-bottom: 4px;
}
.v2-review-slot {
  color: var(--muted);
  font-size: 12px;
}
.v2-review-points {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
}
.v2-review-row strong {
  font-size: 16px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.v2-review-row > div {
  min-width: 0;
}
.v2-prompt-title {
  overflow-wrap: anywhere;
}
.v2-review-row > div > p:last-child {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 767px) {
  .v2-score-summary {
    grid-template-columns: 1fr 112px;
    gap: 16px;
  }
  .v2-score-summary .ascent-tower {
    height: 224px;
  }
  .v2-game-top h1 {
    font-size: 24px;
    line-height: 32px;
  }
  .v2-mode-chip {
    font-size: 10px;
    padding: 8px;
  }
  .v2-dots {
    gap: 4px;
  }
  .v2-dots > span {
    width: 20px;
    height: 20px;
  }
  .v2-game-bottom {
    flex-wrap: wrap;
    gap: 8px;
  }
}

.v2-results-heading {
  display: block;
}
.v2-results-heading > p:last-child {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}
.v2-results-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.v2-total-score {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 24px 0;
}
.v2-total-score strong {
  font-weight: 500;
}
.v2-total-score > span {
  font-size: 24px;
  letter-spacing: 0;
  color: var(--muted);
}
.v2-answer-index {
  list-style: none;
  padding: 0 !important;
}
.v2-answer-index li {
  margin: 0;
}
.v2-answer-index .v2-prompt-row {
  height: 100%;
  font-size: 16px;
}
.v2-answer-index span:last-child {
  margin-left: auto;
}
.v2-score-column .tier-label {
  font-size: 12px;
}
.v2-score-column > strong > span {
  white-space: nowrap;
  font-size: 10px;
}
.v2-score-column h2 {
  margin: 0;
}
.v2-review-row .tier-label {
  color: var(--tier);
}
@media (max-width: 767px) {
  .v2-results-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .v2-total-score {
    font-size: 72px;
    gap: 8px;
  }
  .v2-total-score > span {
    font-size: 20px;
  }
  .v2-scores-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .v2-score-column {
    padding: 12px;
  }
  .v2-score-column > strong {
    align-items: start;
    flex-direction: column;
  }
  .v2-score-column li {
    font-size: 12px;
    overflow-wrap: anywhere;
  }
}

.v2-mobile-total {
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--gold);
  display: none;
}
.v2-game-bottom {
  font-size: 10px;
  color: var(--muted);
}
@media (max-width: 767px) {
  .v2-mobile-total {
    display: block;
  }
}

.rarity-stop.tier-1 strong {
  color: var(--muted);
}
.tier-label.tier-1 > span,
.v2-score-column.tier-1 > strong {
  color: var(--muted);
}

/* 第3版：真实纸牌素材、首屏开局、三语共享；只影响 rare-site 与卡桌。 */
.rare-demo-note {
  max-width: 860px;
  margin: 0 auto 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  color: #b8becf;
  font-size: 12px;
  line-height: 18px;
}
.rare-demo-note strong {
  color: var(--gold);
  font-size: 14px;
}
.rare-demo-note p {
  margin: 4px 0;
}
.rare-site {
  min-height: 100dvh;
  position: relative;
  isolation: isolate;
  background: #0b1020;
}
.rare-site .v2-header {
  max-width: 1440px;
  padding: 16px 48px;
  gap: 24px;
  position: relative;
}
.rare-site .v2-brand {
  font-size: 28px;
  letter-spacing: -1.1px;
}
.rare-site .v2-header-actions {
  margin-left: auto;
}
.rare-mode-switch {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid #56607966;
  border-radius: 999px;
  background: #111729cc;
  font-size: 14px;
}
.rare-mode-switch a {
  min-width: 88px;
  padding: 8px 16px;
  text-align: center;
  color: #b9c0d0;
  border-radius: 999px;
}
.rare-mode-switch a[aria-current='page'] {
  color: var(--gold);
  background: #f5c45112;
  box-shadow: inset 0 0 0 1px #f5c451b3;
}
.rare-rules-trigger {
  color: #c3c8d5;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 8px;
  border-radius: 8px;
}
.rare-rules-trigger svg {
  display: none;
}
.rare-game {
  width: 100%;
  padding: 8px 24px 40px;
}
.rare-table {
  max-width: 1024px;
  margin: 0 auto;
  text-align: center;
}
.rare-score {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 5px;
  margin: 8px 0 10px;
  color: var(--gold);
}
.rare-score strong {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
}
.rare-score span {
  font-size: 14px;
}
.rare-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -1.2px;
  margin: 0;
  text-wrap: balance;
}
.rare-title > span:not(.sr-only) {
  font-style: italic;
}
.rare-title b {
  color: var(--gold);
  font-weight: 600;
}
.rare-title svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--gold);
  filter: drop-shadow(0 0 9px #f5c45180);
}
.rare-subtitle {
  color: #b8becf;
  margin: 8px 0 2px;
  font-size: 18px;
  line-height: 28px;
}
.rare-current-card {
  width: min(100%, 760px);
  height: 390px;
  margin: 0 auto;
  position: relative;
  isolation: isolate;
  transform: rotate(-1.6deg);
}
.rare-paper {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  pointer-events: none;
}
.rare-paper > img {
  display: block;
  width: 100%;
  height: 100%;
}
.rare-card-meta {
  position: absolute;
  top: 44px;
  left: 110px;
  right: 110px;
  text-align: center;
  color: #28304b;
  font: 600 22px/32px var(--font-display);
}
.rare-timer {
  position: absolute;
  top: 14px;
  right: 24px;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  color: #f5c451;
  z-index: 3;
  filter: drop-shadow(0 2px 4px #16132e66);
}
.rare-timer::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #24213a;
  z-index: -1;
}
.rare-timer svg {
  position: absolute;
  width: 96px;
  height: 96px;
  transform: rotate(-40deg);
}
.rare-timer strong {
  color: #fffaf2;
  font: 600 36px/1 var(--font-display);
}
.rare-timer.waiting {
  opacity: 0.72;
}
.rare-timer.urgent {
  color: #b83a38;
  animation: rare-urgent 0.7s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate;
}
.rare-face-content {
  position: absolute;
  inset: 92px 40px 20px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  transform: rotate(1.6deg);
}
.rare-face-content h2 {
  color: #101328;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -1.2px;
  font-size: 52px;
  line-height: 1.1;
  max-width: 620px;
  text-wrap: balance;
  margin: 0;
}
.rare-face-content .v2-prompt-title {
  min-height: 0;
  margin: 0;
}
.rare-topic-art {
  width: 380px;
  height: 220px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-top: 6px;
  min-height: 0;
  flex-shrink: 1;
}
.rare-topic-art.mystery {
  width: 104px;
  height: 150px;
  margin-top: 12px;
  transform: rotate(7deg);
}
.rare-face-content.has-notice {
  justify-content: center;
  inset: 76px 56px 32px;
  gap: 16px;
}
.rare-face-content.has-notice h2 {
  font-size: 30px;
  line-height: 36px;
}
.rare-opening-notice {
  color: #353448;
  max-width: 540px;
  font-size: 14px;
  line-height: 22px;
  text-wrap: pretty;
}
.rare-answer-area {
  max-width: 860px;
  margin: 18px auto 0;
  min-height: 105px;
}
.rare-input-row {
  display: flex;
  align-items: center;
  min-height: 76px;
  gap: 8px;
  padding: 6px;
  border: 2px solid #e9bd55;
  border-radius: 22px;
  background: #111526d9;
  box-shadow: 0 0 16px #f5c45120;
}
.rare-input-row:focus-within {
  box-shadow:
    0 0 0 2px #f5c45130,
    0 0 24px #f5c45130;
}
.rare-input-row .rare-answer-input {
  margin: 0;
  min-width: 0;
  flex: 1;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  outline: none;
  box-shadow: none;
  font: 400 26px/36px var(--font-body);
  padding: 10px 20px;
  color: #f2f0f7;
}
.rare-answer-input::-moz-placeholder {
  color: #9298ae;
}
.rare-answer-input::placeholder {
  color: #9298ae;
}
.rare-submit {
  min-height: 60px;
  min-width: 80px;
  border-radius: 16px;
  background: #f5c451;
  color: #111528;
  display: grid;
  place-items: center;
  flex: none;
}
.rare-submit:hover:not(:disabled),
.rare-start:hover:not(:disabled) {
  background: #ffda77;
  transform: translateY(-1px);
}
.rare-submit:active:not(:disabled),
.rare-start:active:not(:disabled) {
  transform: scale(0.98);
}
.rare-start {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  min-height: 74px;
  padding: 16px 24px;
  color: #151427;
  background: #f5c451;
  border: 2px solid #f9d27b;
  border-radius: 20px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
  box-shadow: 0 0 18px #f5c45120;
}
.rare-entry-hint {
  color: #aeb4c6;
  font-size: 14px;
  line-height: 22px;
  margin: 12px 0 0;
}
.rare-collection {
  max-width: 860px;
  margin: 28px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 0 8px 14px;
  list-style: none;
}
.rare-mini-card {
  width: calc((100% - 72px) / 7);
  min-width: 0;
  position: relative;
  transform: rotate(var(--card-angle));
  transform-origin: center bottom;
  flex: 1;
  max-width: 108px;
}
.rare-mini-card > .rare-card-tilt > img {
  display: block;
  width: 100%;
  height: auto;
}
.rare-mini-card.current {
  filter: drop-shadow(0 0 9px #f5c45180);
}
.rare-mini-card.collected {
  animation: rare-collect 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  filter: drop-shadow(0 0 7px var(--card-color));
}
.rare-mini-content {
  position: absolute;
  inset: 12px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  color: #26213a;
  overflow: hidden;
}
.rare-mini-content strong {
  font: 600 26px/1 var(--font-display);
}
.rare-mini-content span {
  max-width: 100%;
  font-size: 11px;
  line-height: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
  max-height: 40px;
  overflow: hidden;
}
.rare-mini-content small {
  font-size: 8px;
  line-height: 10px;
}
.rare-edition-meta {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  color: #8c94ab;
  margin-top: 10px;
}
.rare-reveal {
  position: absolute;
  inset: 70px 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #19152a;
  transform: rotate(1.6deg);
}
.rare-reveal > p {
  font-size: 14px;
  color: #5e5262;
}
.rare-reveal-points {
  font: 600 64px/1 var(--font-display);
  color: #6c4490;
}
.rare-reveal h2 {
  font: 600 30px/36px var(--font-display);
  text-wrap: balance;
}
.rare-reveal > span {
  font-size: 14px;
  color: #5b425f;
}
.rare-reveal-pause {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 74px;
  color: var(--gold);
  font-size: 20px;
}
.rare-candidates {
  margin: 14px auto 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: #111729;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.rare-candidates h3 {
  width: 100%;
  font-size: 16px;
}
.rare-candidates button {
  padding: 8px 12px;
  border: 1px solid #6c658a;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.rare-game-error {
  max-width: 700px;
  margin: 12px auto 0;
}
.rare-below {
  max-width: 960px;
  margin: 30px auto 64px;
  padding: 0 24px;
}
.rare-disclosure {
  border-top: 1px solid #34405a66;
  padding: 20px 0;
  color: #b8bfd1;
}
.rare-disclosure > summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
}
.rare-disclosure > summary > span {
  color: #7d879d;
  font-size: 13px;
  font-weight: 400;
}
.rare-prompt-list {
  margin: 20px 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.rare-prompt-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
}
.rare-prompt-list li > span {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.rare-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 24px 0;
}
.rare-rules h2 {
  font-size: 18px;
  margin: 8px 0;
}
.rare-rules p,
.rare-disclosure > p {
  font-size: 14px;
  line-height: 23px;
}
.rare-rules strong {
  color: var(--gold);
}
.rare-recent-list {
  margin: 16px 0;
}
.rare-recent-list a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #28334a;
  font-size: 14px;
}
.rare-recent-list a > span {
  flex: 1;
  color: #8995ad;
}
.rare-daily-stats {
  color: #828ca3;
  font-size: 12px;
  margin-top: 24px;
}
.rare-rules-dialog {
  width: min(600px, calc(100vw - 32px));
  height: auto;
  max-height: 90dvh;
  padding: 0;
  border: 1px solid #44435d;
  border-radius: 24px;
  background: #111729;
  color: var(--text);
}
.rare-rules-dialog .v2-menu-inner {
  min-height: 0;
  width: 100%;
  padding: 28px;
}
.rare-modal-rules h2 {
  font: 600 24px/30px var(--font-display);
  margin: 16px 0;
}
.rare-modal-rules ol {
  padding-left: 20px;
}
.rare-modal-rules li {
  padding: 8px 0;
}
.rare-modal-rules p {
  color: #a7afc4;
  font-size: 14px;
  line-height: 22px;
}
.rare-modal-rules .rarity-scale {
  margin: 24px 0;
  gap: 6px;
}
.rare-modal-rules .rarity-stop strong {
  font-size: 20px;
}
.rare-modal-rules .rarity-stop > span {
  font-size: 9px;
}
.rare-rules-dialog .contrast-choice {
  margin-top: 24px;
}
@keyframes rare-collect {
  from {
    transform: rotate(var(--card-angle)) rotateY(-75deg) scale(0.9);
    opacity: 0.4;
  }
  to {
    transform: rotate(var(--card-angle)) rotateY(0) scale(1);
    opacity: 1;
  }
}
@keyframes rare-urgent {
  from {
    opacity: 1;
  }
  to {
    opacity: 0.55;
  }
}
@media (max-width: 900px) {
  .rare-site .v2-header {
    padding: 20px 24px;
    gap: 16px;
  }
  .rare-site .v2-brand {
    font-size: 24px;
  }
  .rare-mode-switch {
    position: static;
    transform: none;
    margin: auto;
  }
  .rare-mode-switch a {
    min-width: 64px;
    padding: 8px 10px;
  }
  .rare-current-card {
    width: 100%;
  }
  .rare-title {
    font-size: 36px;
  }
}
@media (max-width: 640px) {
  .rare-site {
    background-size: auto 900px;
  }
  .rare-site .v2-header {
    padding: 16px 16px 64px;
    gap: 12px;
  }
  .rare-site .v2-brand {
    font-size: 22px;
    gap: 8px;
  }
  .rare-site .v2-mark {
    width: 28px;
    height: 28px;
  }
  .rare-site .v2-header-actions {
    gap: 6px;
  }
  .rare-site .locale-switch-toggle {
    padding: 8px;
    gap: 6px;
    font-size: 12px;
  }
  .rare-site .locale-switch-toggle svg {
    width: 16px;
  }
  .rare-rules-trigger {
    padding: 6px;
  }
  .rare-rules-trigger > span {
    display: none;
  }
  .rare-rules-trigger svg {
    display: block;
  }
  .rare-mode-switch {
    position: absolute;
    top: 72px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
  }
  .rare-mode-switch a {
    min-width: 82px;
    padding: 7px 12px;
  }
  .rare-game {
    padding: 10px 14px 24px;
  }
  .rare-score {
    margin: 6px 0;
  }
  .rare-score strong {
    font-size: 26px;
    line-height: 32px;
  }
  .rare-title {
    font-size: 28px;
    line-height: 32px;
    gap: 8px;
    letter-spacing: -0.8px;
  }
  .rare-title svg {
    width: 15px;
    height: 15px;
  }
  .rare-subtitle {
    font-size: 14px;
    line-height: 22px;
    margin: 8px 10px 18px;
  }
  .rare-current-card {
    width: 100%;
    height: 304px;
    transform: rotate(-1.2deg);
  }
  .rare-card-meta {
    top: 24px;
    left: 60px;
    right: 70px;
    font-size: 16px;
    line-height: 24px;
  }
  .rare-timer {
    width: 60px;
    height: 60px;
    top: 10px;
    right: 14px;
  }
  .rare-timer svg {
    width: 60px;
    height: 60px;
  }
  .rare-timer strong {
    font-size: 23px;
  }
  .rare-face-content {
    inset: 72px 26px 22px;
    transform: rotate(1.2deg);
  }
  .rare-face-content h2 {
    font-size: 28px;
    line-height: 30px;
    letter-spacing: -0.6px;
  }
  .rare-topic-art {
    max-width: 100%;
    width: 215px;
    height: 135px;
    margin-top: 4px;
  }
  .rare-topic-art.mystery {
    width: 85px;
    height: 115px;
    margin-top: 8px;
  }
  .rare-face-content.has-notice {
    inset: 72px 28px 30px;
    gap: 10px;
  }
  .rare-face-content.has-notice h2 {
    font-size: 23px;
    line-height: 27px;
  }
  .rare-opening-notice {
    font-size: 12px;
    line-height: 18px;
  }
  .rare-answer-area {
    margin-top: 16px;
    min-height: 88px;
  }
  .rare-start {
    min-height: 62px;
    padding: 12px 16px;
    font-size: 19px;
    line-height: 24px;
    border-radius: 17px;
    gap: 10px;
  }
  .rare-input-row {
    min-height: 64px;
    padding: 5px;
    border-radius: 18px;
  }
  .rare-input-row .rare-answer-input {
    padding: 8px 10px;
    font-size: 20px;
    line-height: 28px;
  }
  .rare-submit {
    min-width: 58px;
    min-height: 50px;
    border-radius: 12px;
  }
  .rare-entry-hint {
    font-size: 11px;
    line-height: 17px;
    margin-top: 9px;
  }
  .rare-collection {
    margin-top: 20px;
    gap: 4px;
    padding: 0 2px 8px;
  }
  .rare-mini-card {
    width: calc((100% - 24px) / 7);
  }
  .rare-mini-content {
    inset: 6px 4px;
    gap: 1px;
  }
  .rare-mini-content strong {
    font-size: 16px;
  }
  .rare-mini-content span {
    font-size: 7px;
    line-height: 8px;
    max-height: 24px;
  }
  .rare-mini-content small {
    display: none;
  }
  .rare-edition-meta {
    font-size: 10px;
    margin-top: 8px;
  }
  .rare-reveal {
    inset: 70px 26px 24px;
    transform: rotate(1.2deg);
  }
  .rare-reveal-points {
    font-size: 52px;
  }
  .rare-reveal h2 {
    font-size: 27px;
    line-height: 30px;
  }
  .rare-below {
    margin-top: 20px;
    padding: 0 20px;
  }
  .rare-disclosure > summary {
    font-size: 14px;
  }
  .rare-disclosure > summary > span {
    font-size: 11px;
  }
  .rare-prompt-list,
  .rare-rules {
    grid-template-columns: 1fr;
  }
  .rare-recent-list a {
    gap: 12px;
    flex-wrap: wrap;
  }
  .rare-recent-list a > span {
    font-size: 12px;
  }
  .rare-site .v2-footer {
    margin-top: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rare-mini-card.collected,
  .rare-timer.urgent {
    animation: none;
  }
  .rare-current-card,
  .rare-face-content,
  .rare-reveal {
    transform: none;
  }
}

.rare-results {
  max-width: 1120px;
  padding-top: 36px;
}
.rare-results .v2-results-heading {
  text-align: center;
}
.rare-results .v2-results-heading h1 {
  font-size: 44px;
  line-height: 1.1;
}
.rare-results .v2-score-summary {
  display: block;
  text-align: center;
  border: 0;
  background: none;
  padding: 20px 0;
}
.rare-results .v2-score-summary h2 {
  font-size: 20px;
}
.rare-results .v2-height-bar {
  max-width: 480px;
  margin: 20px auto 0;
}
.rare-results .rare-collection {
  margin: 20px auto 56px;
}
@media (max-width: 640px) {
  .rare-results .v2-results-heading h1 {
    font-size: 30px;
  }
  .rare-results .v2-score-summary h2 {
    font-size: 16px;
  }
}

/* Keep card motion on the inner face so collection animations retain their pose. */
.rare-scene {
  --scene-offset-x: 0px;
  --scene-offset-y: 0px;
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.rare-scene::before {
  content: '';
  position: absolute;
  inset: -32px;
  background: #0b1020 url('/cards/table-background.webp') center 32px / 1440px 1024px no-repeat;
  transform: translate3d(0, 0, 0);
}

.rare-card-tilt {
  position: relative;
  transform-origin: center;
}

.rare-current-card > .rare-card-tilt {
  height: 100%;
  isolation: isolate;
}

.rare-mini-card > .rare-card-tilt > img {
  display: block;
  width: 100%;
  height: auto;
}

@media (prefers-reduced-motion: no-preference) {
  .rare-scene::before {
    animation: rare-scene-breathe 22s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
    will-change: transform;
  }
}

.rare-site[data-motion-paused='true'] .rare-scene::before {
  animation-play-state: paused;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .rare-scene {
    --scene-offset-x: var(--scene-x, 0px);
    --scene-offset-y: var(--scene-y, 0px);
  }

  .rare-mini-card > .rare-card-tilt,
  .rare-current-card > .rare-card-tilt {
    transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
    transform: perspective(1000px) translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) scale(1);
  }

  .rare-mini-card:hover {
    z-index: 4;
  }

  .rare-mini-card:hover > .rare-card-tilt {
    transform: perspective(1000px) translate3d(0, -14px, 0) rotateX(var(--tilt-x, 0deg))
      rotateY(var(--tilt-y, 0deg)) scale(1.08);
  }

  .rare-current-card:hover > .rare-card-tilt {
    transform: perspective(1000px) translate3d(0, 0, 0) rotateX(var(--tilt-x, 0deg))
      rotateY(var(--tilt-y, 0deg)) scale(1.01);
  }
}

@keyframes rare-scene-breathe {
  from {
    transform: translate3d(
      calc(var(--scene-offset-x, 0px) - 8px),
      calc(var(--scene-offset-y, 0px) - 6px),
      0
    );
  }
  to {
    transform: translate3d(
      calc(var(--scene-offset-x, 0px) + 8px),
      calc(var(--scene-offset-y, 0px) + 6px),
      0
    );
  }
}

@media (max-width: 640px) {
  .rare-scene::before {
    background-size: auto 900px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rare-scene::before {
    animation: none;
    transform: none;
  }

  .rare-mini-card > .rare-card-tilt,
  .rare-current-card > .rare-card-tilt {
    transform: none;
    transition: none;
  }
}

/* Keep the hint control outside the tilting face so its hit area stays steady. */
.rare-current-card > .rare-hint-control {
  position: absolute;
  z-index: 5;
  top: 32px;
  left: 28px;
}

.rare-hint-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 94px;
  max-width: 110px;
  height: 36px;
  padding: 8px;
  border: 1px solid #7e684b80;
  border-radius: 8px;
  background: #ead9b0;
  color: #373044;
  font: 600 12px/16px var(--font-body);
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rare-hint-button::before {
  content: '';
  position: absolute;
  inset: -4px;
}

.rare-hint-button > svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: #756036;
}

.rare-hint-button > span {
  min-width: 0;
}

.rare-hint-button > small {
  color: #62533f;
  font: 500 12px/16px var(--font-body);
  font-variant-numeric: tabular-nums;
}

.rare-hint-button.active {
  border-color: #79603b;
  background: #f5df9e;
}

.rare-hint-button:hover:not(:disabled) {
  background: #f5e5bb;
}

.rare-hint-button:active:not(:disabled) {
  opacity: 0.78;
}

.rare-hint-button:focus-visible {
  outline: 2px solid #24213a;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px #fff7df;
}

.rare-hint-button:disabled {
  cursor: default;
  opacity: 0.56;
}

.rare-face-content.has-game-hint h2 {
  font-size: 42px;
  line-height: 46px;
  letter-spacing: -1px;
  flex: none;
}

.rare-hint-panel {
  width: min(100%, 560px);
  min-width: 0;
  margin-top: 12px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 1px solid #a48d6240;
  border-radius: 8px;
  background: #fbefce;
  color: #353448;
}
.rare-hint-panel[hidden] {
  display: none;
}

.rare-hint-caption {
  margin: 0;
  color: #756342;
  font: 600 12px/16px var(--font-body);
  font-variant-numeric: tabular-nums;
}

.rare-hint-text {
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
  color: #353448;
  font: 400 18px/26px var(--font-body);
  text-wrap: pretty;
  animation: rare-hint-reveal 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rare-hint-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 4px;
}

.rare-hint-dots > span {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #ad9a76;
}

.rare-hint-dots > span.current {
  width: 16px;
  background: #756342;
}

@keyframes rare-hint-reveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rare-hint-nudge {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.64;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .rare-hint-button.nudge:not(.active) {
    animation: rare-hint-nudge 800ms cubic-bezier(0.22, 1, 0.36, 1) 2;
  }
}

@media (max-width: 640px) {
  .rare-current-card > .rare-hint-control {
    top: 24px;
    left: 22px;
  }

  .rare-face-content.has-game-hint h2 {
    font-size: 24px;
    line-height: 26px;
    letter-spacing: -0.6px;
  }

  .rare-hint-panel {
    margin-top: 8px;
    padding: 8px 12px;
    gap: 4px;
  }

  .rare-hint-text {
    font-size: 14px;
    line-height: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rare-hint-button {
    transition: none;
  }

  .rare-hint-panel,
  .rare-hint-text,
  .rare-hint-button.nudge {
    animation: none;
  }
}

.rare-topic-art.rare-topic-icon {
  color: #805936;
}
.rare-face-content .rare-prompt-title {
  overflow-wrap: anywhere;
}
.rare-practice-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}
.rare-practice-actions .rare-entry-hint {
  margin: 0;
  text-align: left;
}
.rare-new-hand {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 4px;
  min-height: 36px;
  padding: 6px 8px;
  border: 1px solid #74819880;
  border-radius: 8px;
  color: #d9dfed;
  font-size: 12px;
  line-height: 20px;
  text-decoration: none;
  transition:
    opacity 240ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.rare-new-hand::before {
  content: '';
  position: absolute;
  inset: -4px;
}
.rare-new-hand:hover {
  color: #f5c451;
  transform: translateY(-1px);
}
.rare-new-hand:active {
  transform: translateY(1px);
}
.rare-new-hand:focus-visible {
  outline: 2px solid #f5c451;
  outline-offset: 3px;
}
.rare-new-hand[aria-disabled='true'] {
  cursor: wait;
  opacity: 0.5;
}
@media (max-width: 640px) {
  .rare-practice-actions {
    margin-top: 9px;
  }
  .rare-new-hand {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rare-new-hand {
    transition: none;
    transform: none;
  }
}

/* A separate decorative layer preserves the selected card artwork and card transforms. */
.game-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  overflow: clip;
  pointer-events: none;
  contain: layout paint;
}

.game-atmosphere__glow {
  position: absolute;
  top: 44%;
  width: min(24vw, 320px);
  height: 32px;
  border-radius: 9999px;
  background: #b78cdf08;
  box-shadow: 0 0 64px 32px #b78cdf24;
  opacity: 0.45;
}

.game-atmosphere__glow--left {
  left: 5%;
  transform: rotate(20deg);
}

.game-atmosphere__glow--right {
  right: 5%;
  background: #edbd6a06;
  box-shadow: 0 0 64px 32px #e7ba661c;
  transform: rotate(-20deg);
}

.game-atmosphere__mote {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 9999px;
  background: #efe0bf;
  box-shadow: 0 0 8px 2px #e8c79024;
  opacity: 0.3;
}

.game-atmosphere__mote:nth-child(3n) {
  background: #cdbce7;
  box-shadow: 0 0 8px 2px #b99be42b;
}

.game-atmosphere__burst {
  --burst-color: #ded1f4;
  --burst-halo: #b69ad659;
  --burst-duration: 900ms;
  position: absolute;
  left: 50%;
  top: 46%;
  width: 0;
  height: 0;
}

.game-atmosphere__burst[data-rare='true'],
.game-atmosphere__burst[data-feedback='complete'] {
  --burst-color: #f5d78f;
  --burst-halo: #eabd5e66;
}

.game-atmosphere__pulse {
  position: absolute;
  left: -96px;
  top: -96px;
  width: 192px;
  height: 192px;
  border: 1px solid var(--burst-color);
  border-radius: 9999px;
  box-shadow:
    0 0 48px 16px var(--burst-halo),
    inset 0 0 32px 8px var(--burst-halo);
  opacity: 0;
}

.game-atmosphere__ray {
  position: absolute;
  left: -2px;
  top: -2px;
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background: var(--burst-color);
  box-shadow: 0 0 12px 2px var(--burst-halo);
  opacity: 0;
}

.game-atmosphere__burst[data-feedback='answer']:not([data-rare='true'])
  .game-atmosphere__ray:nth-of-type(n + 6) {
  display: none;
}

.game-atmosphere__burst[data-feedback='hint'] .game-atmosphere__ray,
.game-atmosphere__burst[data-feedback='timeout'] .game-atmosphere__ray {
  display: none;
}

.game-atmosphere__burst[data-feedback='hint'] {
  --burst-duration: 800ms;
}

.game-atmosphere__burst[data-feedback='timeout'] {
  --burst-color: #9fa7bd;
  --burst-halo: #a7b6d224;
}

.game-atmosphere__trail {
  position: absolute;
  left: -240px;
  top: -160px;
  width: 80px;
  height: 2px;
  border-radius: 9999px;
  background: var(--burst-color);
  box-shadow: 0 0 16px 2px var(--burst-halo);
  transform-origin: right center;
  opacity: 0;
}

.game-atmosphere__trail::after {
  content: '';
  position: absolute;
  right: -2px;
  top: -2px;
  width: 4px;
  height: 4px;
  background: var(--burst-color);
  box-shadow: 0 0 12px 2px var(--burst-halo);
  transform: rotate(45deg);
}

.game-atmosphere__trail--1 {
  left: -32px;
  top: -224px;
  animation-delay: 120ms;
}

.game-atmosphere__trail--2 {
  left: 128px;
  top: -128px;
  animation-delay: 240ms;
}

@media (prefers-reduced-motion: no-preference) {
  /* Keep feedback visible at the paper edge, above its opaque artwork and clear of its text. */
  .rare-site:has(
      > :where(.game-atmosphere[data-paused='false'][data-reduced-motion='false'])
        .game-atmosphere__burst
    )
    .rare-current-card
    > .rare-card-tilt::after {
    --rim-color: #d9b5f0;
    --rim-halo: #b78ce69c;
    --rim-opacity: 0.62;
    content: '';
    position: absolute;
    inset: 16px;
    z-index: 2;
    border: 1px solid var(--rim-color);
    border-radius: 32px;
    box-shadow:
      0 0 0 1px var(--rim-color),
      0 0 32px 8px var(--rim-halo);
    pointer-events: none;
    opacity: 0;
    animation: game-atmosphere-card-rim-a 1100ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .rare-site:has(.game-atmosphere__burst[data-rim-phase='b'])
    .rare-current-card
    > .rare-card-tilt::after {
    animation-name: game-atmosphere-card-rim-b;
  }

  .rare-site:has(
      .game-atmosphere__burst[data-rare='true'],
      .game-atmosphere__burst[data-feedback='complete']
    )
    .rare-current-card
    > .rare-card-tilt::after {
    --rim-color: #f7d88c;
    --rim-halo: #eabd5ea6;
    --rim-opacity: 0.8;
  }

  .rare-site:has(.game-atmosphere__burst[data-feedback='hint'])
    .rare-current-card
    > .rare-card-tilt::after {
    --rim-opacity: 0.45;
  }

  .rare-site:has(.game-atmosphere__burst[data-feedback='timeout'])
    .rare-current-card
    > .rare-card-tilt::after {
    --rim-color: #b7bfd5;
    --rim-halo: #a7b6d259;
    --rim-opacity: 0.3;
  }

  .game-atmosphere__glow {
    animation: game-atmosphere-breathe 18s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  }

  .rare-site[data-music-playing='true'] .game-atmosphere__glow {
    animation-duration: 3s;
  }

  .game-atmosphere__mote {
    animation: game-atmosphere-drift var(--dust-duration) cubic-bezier(0.45, 0, 0.55, 1)
      var(--dust-delay) infinite;
  }

  .game-atmosphere__pulse {
    animation: game-atmosphere-pulse var(--burst-duration) cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .game-atmosphere__ray {
    animation: game-atmosphere-scatter 850ms cubic-bezier(0.22, 1, 0.36, 1) var(--ray-delay) both;
  }

  .game-atmosphere__trail {
    animation-name: game-atmosphere-startrail;
    animation-duration: 1000ms;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    animation-fill-mode: both;
  }
}

.game-atmosphere[data-paused='true'] *,
.game-atmosphere[data-paused='true'] *::after {
  animation-play-state: paused;
}

.game-atmosphere[data-reduced-motion='true'] *,
.game-atmosphere[data-reduced-motion='true'] *::after {
  animation: none;
}

@keyframes game-atmosphere-breathe {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.65;
  }
}

/* Alternating names restart the rim when accepted game events arrive close together. */
@keyframes game-atmosphere-card-rim-a {
  from {
    opacity: 0;
    transform: scale(0.994);
  }
  25% {
    opacity: var(--rim-opacity);
    transform: scale(1.003);
  }
  to {
    opacity: 0;
    transform: scale(1.012);
  }
}

@keyframes game-atmosphere-card-rim-b {
  from {
    opacity: 0;
    transform: scale(0.994);
  }
  25% {
    opacity: var(--rim-opacity);
    transform: scale(1.003);
  }
  to {
    opacity: 0;
    transform: scale(1.012);
  }
}

@keyframes game-atmosphere-drift {
  0%,
  100% {
    transform: translate3d(0, 8px, 0);
    opacity: 0.15;
  }
  50% {
    transform: translate3d(8px, -16px, 0);
    opacity: 0.5;
  }
}

@keyframes game-atmosphere-pulse {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  18% {
    opacity: 0.22;
  }
  to {
    transform: scale(1.7);
    opacity: 0;
  }
}

@keyframes game-atmosphere-scatter {
  from {
    transform: translate3d(0, 0, 0) scale(0.4);
    opacity: 0;
  }
  16% {
    opacity: 0.7;
  }
  to {
    transform: translate3d(var(--ray-x), var(--ray-y), 0) scale(0.2);
    opacity: 0;
  }
}

@keyframes game-atmosphere-startrail {
  from {
    transform: translate3d(-48px, -32px, 0) rotate(28deg) scaleX(0.3);
    opacity: 0;
  }
  18% {
    opacity: 0.6;
  }
  to {
    transform: translate3d(96px, 48px, 0) rotate(28deg) scaleX(0.7);
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .game-atmosphere__glow {
    width: 24vw;
    height: 16px;
    box-shadow: 0 0 32px 16px #b78cdf1f;
  }

  .game-atmosphere__glow--right {
    box-shadow: 0 0 32px 16px #e7ba6619;
  }

  .game-atmosphere__mote:nth-child(n + 9),
  .game-atmosphere__ray:nth-of-type(n + 6),
  .game-atmosphere__trail--2 {
    display: none;
  }

  .game-atmosphere__burst {
    transform: scale(0.7);
  }

  .game-atmosphere__pulse {
    box-shadow:
      0 0 24px 8px var(--burst-halo),
      inset 0 0 16px 4px var(--burst-halo);
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-atmosphere *,
  .game-atmosphere *::after {
    animation: none;
  }

  .game-atmosphere__burst {
    display: none;
  }
}

.rare-sound-toggle {
  position: relative;
  display: inline-flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #56607966;
  border-radius: 10px;
  color: #b9c0d0;
  background: #111729cc;
  transition:
    opacity 300ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.rare-sound-toggle[aria-pressed='true'] {
  color: #f5c451;
  border-color: #f5c45199;
}
.rare-sound-toggle:hover {
  transform: translateY(-2px);
}
.rare-sound-toggle:active {
  transform: scale(0.96);
}
.rare-sound-toggle:focus-visible {
  outline: 2px solid #f5c451;
  outline-offset: 4px;
}
.rare-sound-meter {
  position: absolute;
  bottom: 3px;
  display: flex;
  gap: 2px;
  height: 4px;
  opacity: 0;
}
.rare-sound-meter i {
  width: 2px;
  height: 4px;
  background: currentColor;
  transform: scaleY(0.4);
  transform-origin: bottom;
}
.rare-sound-toggle[data-sound-state='playing'] .rare-sound-meter {
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .rare-sound-toggle[data-sound-state='playing'] .rare-sound-meter i {
    animation: rare-sound-level 1.5s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
  }
  .rare-sound-meter i:nth-child(2) {
    animation-delay: -0.5s;
  }
  .rare-sound-meter i:nth-child(3) {
    animation-delay: -1s;
  }
}
@keyframes rare-sound-level {
  from {
    transform: scaleY(0.25);
  }
  to {
    transform: scaleY(1);
  }
}
@media (max-width: 1100px) and (min-width: 641px) {
  .rare-site .v2-header {
    padding: 16px 24px;
    gap: 16px;
  }
  .rare-site .v2-brand {
    font-size: 24px;
  }
  .rare-mode-switch {
    position: static;
    transform: none;
    margin: auto;
  }
  .rare-mode-switch a {
    min-width: 64px;
    padding: 8px 10px;
  }
  .rare-rules-trigger > span {
    display: none;
  }
  .rare-rules-trigger svg {
    display: block;
  }
  .rare-site .v2-header-actions {
    gap: 8px;
  }
}
@media (max-width: 640px) {
  .rare-sound-toggle {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-radius: 8px;
  }
  .rare-sound-toggle > svg {
    width: 18px;
    height: 18px;
  }
}
@media (max-width: 359px) {
  .rare-site .v2-header {
    padding-left: 12px;
    padding-right: 12px;
    gap: 8px;
  }
  .rare-site .v2-brand {
    font-size: 20px;
    gap: 0;
  }
  .rare-site .v2-brand .v2-mark {
    display: none;
  }
  .rare-site .v2-header-actions {
    gap: 4px;
  }
  .rare-rules-trigger {
    padding: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rare-sound-toggle {
    transition: none;
  }
  .rare-sound-toggle:hover,
  .rare-sound-toggle:active {
    transform: none;
  }
  .rare-sound-toggle .rare-sound-meter i {
    animation: none;
    transform: scaleY(0.75);
  }
}

.rare-late-answer {
  display: inline-flex;
  max-width: 100%;
  min-width: 0;
  vertical-align: baseline;
}

/* Button-Xsm: 12px / 16px, semibold. */
.rare-late-answer-use.button-xsm {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-width: 0;
  min-height: 32px;
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: rgba(245, 196, 81, 0.08);
  color: var(--gold);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1rem;
  text-align: start;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition:
    background-color 300ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rare-late-answer-use.button-xsm:hover {
  background: rgba(245, 196, 81, 0.16);
  border-color: rgba(245, 196, 81, 0.4);
}

.rare-late-answer-use.button-xsm:active {
  background: rgba(245, 196, 81, 0.22);
}

.rare-late-answer-use.button-xsm:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .rare-late-answer-use.button-xsm {
    transition: none;
  }
}

@media (max-width: 359px) {
  .rare-practice-actions:has(.rare-late-answer) {
    margin-top: 0;
  }
}

.hover\:bg-\[\#ffda7b\]:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(255 218 123 / var(--tw-bg-opacity, 1));
}

.hover\:bg-white\/10:hover {
  background-color: rgb(255 255 255 / 0.1);
}

.hover\:bg-white\/5:hover {
  background-color: rgb(255 255 255 / 0.05);
}

.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.focus-visible\:outline-none:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus-visible\:ring-2:focus-visible {
  --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(2px + 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);
}

.focus-visible\:ring-gold:focus-visible {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(245 196 81 / var(--tw-ring-opacity, 1));
}

.focus-visible\:ring-offset-4:focus-visible {
  --tw-ring-offset-width: 4px;
}

.focus-visible\:ring-offset-ink:focus-visible {
  --tw-ring-offset-color: #0B1020;
}

.active\:scale-\[0\.98\]:active {
  --tw-scale-x: 0.98;
  --tw-scale-y: 0.98;
  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));
}

.disabled\:pointer-events-none:disabled {
  pointer-events: none;
}

.disabled\:opacity-40:disabled {
  opacity: 0.4;
}

@media (prefers-reduced-motion: reduce) {

  .motion-reduce\:transform-none {
    transform: none;
  }
}

@media not all and (min-width: 640px) {

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

  .max-sm\:\!leading-8 {
    line-height: 2rem !important;
  }
}

@media (min-width: 640px) {

  .sm\:my-8 {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .sm\:mt-3 {
    margin-top: 0.75rem;
  }

  .sm\:mt-4 {
    margin-top: 1rem;
  }

  .sm\:h-40 {
    height: 10rem;
  }

  .sm\:w-48 {
    width: 12rem;
  }

  .sm\:scale-100 {
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    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));
  }

  .sm\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .sm\:pb-8 {
    padding-bottom: 2rem;
  }

  .sm\:pt-6 {
    padding-top: 1.5rem;
  }
}
