/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji';
    --spacing: 0.25rem;
    --container-md: 28rem;
    --container-xl: 36rem;
    --container-3xl: 48rem;
    --container-4xl: 56rem;
    --container-5xl: 64rem;
    --container-6xl: 72rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --text-5xl: 3rem;
    --text-5xl--line-height: 1;
    --font-weight-bold: 700;
    --tracking-widest: 0.1em;
    --leading-relaxed: 1.625;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--f-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji');
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden='until-found'])) {
    display: none !important;
  }
}
@layer utilities {
  .pointer-events-none {
    pointer-events: none;
  }
  .collapse {
    visibility: collapse;
  }
  .visible {
    visibility: visible;
  }
  .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;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .sticky {
    position: sticky;
  }
  .inset-0 {
    inset: calc(var(--spacing) * 0);
  }
  .inset-x-0 {
    inset-inline: calc(var(--spacing) * 0);
  }
  .top-0 {
    top: calc(var(--spacing) * 0);
  }
  .right-\[1\.5vw\] {
    right: 1.5vw;
  }
  .bottom-\[1\.5vw\] {
    bottom: 1.5vw;
  }
  .left-0 {
    left: calc(var(--spacing) * 0);
  }
  .isolate {
    isolation: isolate;
  }
  .z-30 {
    z-index: 30;
  }
  .z-40 {
    z-index: 40;
  }
  .z-50 {
    z-index: 50;
  }
  .z-\[55\] {
    z-index: 55;
  }
  .z-\[60\] {
    z-index: 60;
  }
  .z-\[70\] {
    z-index: 70;
  }
  .col-span-2 {
    grid-column: span 2 / span 2;
  }
  .mx-auto {
    margin-inline: auto;
  }
  .my-3 {
    margin-block: calc(var(--spacing) * 3);
  }
  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }
  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }
  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }
  .ml-auto {
    margin-left: auto;
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .inline-block {
    display: inline-block;
  }
  .inline-flex {
    display: inline-flex;
  }
  .inline-grid {
    display: inline-grid;
  }
  .list-item {
    display: list-item;
  }
  .table {
    display: table;
  }
  .size-8 {
    width: calc(var(--spacing) * 8);
    height: calc(var(--spacing) * 8);
  }
  .h-1 {
    height: calc(var(--spacing) * 1);
  }
  .h-2 {
    height: calc(var(--spacing) * 2);
  }
  .h-3 {
    height: calc(var(--spacing) * 3);
  }
  .h-4 {
    height: calc(var(--spacing) * 4);
  }
  .h-5 {
    height: calc(var(--spacing) * 5);
  }
  .h-6 {
    height: calc(var(--spacing) * 6);
  }
  .h-7 {
    height: calc(var(--spacing) * 7);
  }
  .h-20 {
    height: calc(var(--spacing) * 20);
  }
  .h-28 {
    height: calc(var(--spacing) * 28);
  }
  .h-40 {
    height: calc(var(--spacing) * 40);
  }
  .h-\[0\.3vw\] {
    height: 0.3vw;
  }
  .h-\[0\.8vw\] {
    height: 0.8vw;
  }
  .h-\[2\.6vw\] {
    height: 2.6vw;
  }
  .h-\[2\.8vw\] {
    height: 2.8vw;
  }
  .h-\[2vw\] {
    height: 2vw;
  }
  .h-\[4px\] {
    height: 4px;
  }
  .h-\[5vw\] {
    height: 5vw;
  }
  .h-\[6vw\] {
    height: 6vw;
  }
  .h-\[12vh\] {
    height: 12vh;
  }
  .h-\[18vh\] {
    height: 18vh;
  }
  .h-\[20px\] {
    height: 20px;
  }
  .h-\[26px\] {
    height: 26px;
  }
  .h-\[26vh\] {
    height: 26vh;
  }
  .h-dvh {
    height: 100dvh;
  }
  .h-full {
    height: 100%;
  }
  .max-h-40 {
    max-height: calc(var(--spacing) * 40);
  }
  .max-h-80 {
    max-height: calc(var(--spacing) * 80);
  }
  .max-h-\[min\(40dvh\,280px\)\] {
    max-height: min(40dvh, 280px);
  }
  .max-h-\[min\(50dvh\,360px\)\] {
    max-height: min(50dvh, 360px);
  }
  .min-h-0 {
    min-height: calc(var(--spacing) * 0);
  }
  .min-h-5 {
    min-height: calc(var(--spacing) * 5);
  }
  .min-h-\[4\.4vw\] {
    min-height: 4.4vw;
  }
  .min-h-\[40dvh\] {
    min-height: 40dvh;
  }
  .min-h-\[44px\] {
    min-height: 44px;
  }
  .min-h-\[64px\] {
    min-height: 64px;
  }
  .min-h-dvh {
    min-height: 100dvh;
  }
  .w-3 {
    width: calc(var(--spacing) * 3);
  }
  .w-4 {
    width: calc(var(--spacing) * 4);
  }
  .w-5 {
    width: calc(var(--spacing) * 5);
  }
  .w-6 {
    width: calc(var(--spacing) * 6);
  }
  .w-7 {
    width: calc(var(--spacing) * 7);
  }
  .w-56 {
    width: calc(var(--spacing) * 56);
  }
  .w-\[1\.5em\] {
    width: 1.5em;
  }
  .w-\[1\.6vw\] {
    width: 1.6vw;
  }
  .w-\[2\.4em\] {
    width: 2.4em;
  }
  .w-\[2\.6vw\] {
    width: 2.6vw;
  }
  .w-\[2\.8vw\] {
    width: 2.8vw;
  }
  .w-\[2vw\] {
    width: 2vw;
  }
  .w-\[3em\] {
    width: 3em;
  }
  .w-\[3vw\] {
    width: 3vw;
  }
  .w-\[5vw\] {
    width: 5vw;
  }
  .w-\[6vw\] {
    width: 6vw;
  }
  .w-\[20px\] {
    width: 20px;
  }
  .w-\[20vw\] {
    width: 20vw;
  }
  .w-\[26px\] {
    width: 26px;
  }
  .w-\[32vw\] {
    width: 32vw;
  }
  .w-\[44\%\] {
    width: 44%;
  }
  .w-\[64vw\] {
    width: 64vw;
  }
  .w-\[340px\] {
    width: 340px;
  }
  .w-\[400px\] {
    width: 400px;
  }
  .w-fit {
    width: fit-content;
  }
  .w-full {
    width: 100%;
  }
  .max-w-3xl {
    max-width: var(--container-3xl);
  }
  .max-w-4xl {
    max-width: var(--container-4xl);
  }
  .max-w-5xl {
    max-width: var(--container-5xl);
  }
  .max-w-6xl {
    max-width: var(--container-6xl);
  }
  .max-w-\[11rem\] {
    max-width: 11rem;
  }
  .max-w-\[30vw\] {
    max-width: 30vw;
  }
  .max-w-\[70vw\] {
    max-width: 70vw;
  }
  .max-w-\[140px\] {
    max-width: 140px;
  }
  .max-w-\[min\(90vw\,360px\)\] {
    max-width: min(90vw, 360px);
  }
  .max-w-full {
    max-width: 100%;
  }
  .max-w-md {
    max-width: var(--container-md);
  }
  .max-w-xl {
    max-width: var(--container-xl);
  }
  .min-w-0 {
    min-width: calc(var(--spacing) * 0);
  }
  .min-w-40 {
    min-width: calc(var(--spacing) * 40);
  }
  .min-w-\[44px\] {
    min-width: 44px;
  }
  .min-w-\[120px\] {
    min-width: 120px;
  }
  .min-w-\[220px\] {
    min-width: 220px;
  }
  .min-w-\[340px\] {
    min-width: 340px;
  }
  .min-w-\[400px\] {
    min-width: 400px;
  }
  .flex-1 {
    flex: 1;
  }
  .shrink {
    flex-shrink: 1;
  }
  .shrink-0 {
    flex-shrink: 0;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .resize {
    resize: both;
  }
  .resize-none {
    resize: none;
  }
  .list-decimal {
    list-style-type: decimal;
  }
  .list-disc {
    list-style-type: disc;
  }
  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-rows-\[auto_1fr\] {
    grid-template-rows: auto 1fr;
  }
  .grid-rows-\[auto_auto_1fr\] {
    grid-template-rows: auto auto 1fr;
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-nowrap {
    flex-wrap: nowrap;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .place-items-center {
    place-items: center;
  }
  .content-center {
    align-content: center;
  }
  .content-end {
    align-content: flex-end;
  }
  .content-start {
    align-content: flex-start;
  }
  .items-center {
    align-items: center;
  }
  .items-end {
    align-items: flex-end;
  }
  .items-start {
    align-items: flex-start;
  }
  .items-stretch {
    align-items: stretch;
  }
  .justify-around {
    justify-content: space-around;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .justify-end {
    justify-content: flex-end;
  }
  .justify-items-center {
    justify-items: center;
  }
  .gap-1 {
    gap: calc(var(--spacing) * 1);
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  .gap-5 {
    gap: calc(var(--spacing) * 5);
  }
  .gap-\[0\.8vw\] {
    gap: 0.8vw;
  }
  .gap-\[1\.2vw\] {
    gap: 1.2vw;
  }
  .gap-\[1\.5vh\] {
    gap: 1.5vh;
  }
  .gap-\[1vw\] {
    gap: 1vw;
  }
  .gap-\[2px\] {
    gap: 2px;
  }
  .gap-\[2vh\] {
    gap: 2vh;
  }
  .gap-\[2vw\] {
    gap: 2vw;
  }
  .gap-\[3px\] {
    gap: 3px;
  }
  .gap-\[8px\] {
    gap: 8px;
  }
  .gap-\[10px\] {
    gap: 10px;
  }
  .gap-\[16px\] {
    gap: 16px;
  }
  .gap-\[44px\] {
    gap: 44px;
  }
  .gap-x-\[6px\] {
    column-gap: 6px;
  }
  .gap-y-\[3px\] {
    row-gap: 3px;
  }
  .self-start {
    align-self: flex-start;
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .overflow-auto {
    overflow: auto;
  }
  .overflow-hidden {
    overflow: hidden;
  }
  .overflow-x-auto {
    overflow-x: auto;
  }
  .overflow-x-hidden {
    overflow-x: hidden;
  }
  .overflow-y-auto {
    overflow-y: auto;
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-2 {
    border-style: var(--tw-border-style);
    border-width: 2px;
  }
  .border-b-2 {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 2px;
  }
  .border-l-4 {
    border-left-style: var(--tw-border-style);
    border-left-width: 4px;
  }
  .border-l-\[6px\] {
    border-left-style: var(--tw-border-style);
    border-left-width: 6px;
  }
  .border-accent {
    border-color: var(--c-accent);
  }
  .border-success {
    border-color: var(--c-success);
  }
  .border-surface-2 {
    border-color: var(--c-surface-2);
  }
  .border-warning {
    border-color: var(--c-warning);
  }
  .bg-accent {
    background-color: var(--c-accent);
  }
  .bg-accent-text {
    background-color: var(--c-accent-text);
  }
  .bg-bg {
    background-color: var(--c-bg);
  }
  .bg-bg\/80 {
    background-color: var(--c-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--c-bg) 80%, transparent);
    }
  }
  .bg-bronze {
    background-color: var(--c-bronze);
  }
  .bg-copper {
    background-color: var(--c-copper);
  }
  .bg-danger\/20 {
    background-color: var(--c-danger);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--c-danger) 20%, transparent);
    }
  }
  .bg-danger\/25 {
    background-color: var(--c-danger);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--c-danger) 25%, transparent);
    }
  }
  .bg-gold {
    background-color: var(--c-gold);
  }
  .bg-gold\/25 {
    background-color: var(--c-gold);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--c-gold) 25%, transparent);
    }
  }
  .bg-success {
    background-color: var(--c-success);
  }
  .bg-success\/25 {
    background-color: var(--c-success);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--c-success) 25%, transparent);
    }
  }
  .bg-surface {
    background-color: var(--c-surface);
  }
  .bg-surface-2 {
    background-color: var(--c-surface-2);
  }
  .bg-surface-3 {
    background-color: var(--c-surface-3);
  }
  .bg-team-0 {
    background-color: var(--c-team-0);
  }
  .bg-team-1 {
    background-color: var(--c-team-1);
  }
  .bg-team-2 {
    background-color: var(--c-team-2);
  }
  .bg-team-3 {
    background-color: var(--c-team-3);
  }
  .bg-team-4 {
    background-color: var(--c-team-4);
  }
  .bg-team-5 {
    background-color: var(--c-team-5);
  }
  .bg-team-6 {
    background-color: var(--c-team-6);
  }
  .bg-team-7 {
    background-color: var(--c-team-7);
  }
  .bg-warning {
    background-color: var(--c-warning);
  }
  .\!p-3 {
    padding: calc(var(--spacing) * 3) !important;
  }
  .p-1 {
    padding: calc(var(--spacing) * 1);
  }
  .p-2 {
    padding: calc(var(--spacing) * 2);
  }
  .p-3 {
    padding: calc(var(--spacing) * 3);
  }
  .p-4 {
    padding: calc(var(--spacing) * 4);
  }
  .p-6 {
    padding: calc(var(--spacing) * 6);
  }
  .p-\[0\.6vw\] {
    padding: 0.6vw;
  }
  .p-\[1\.5vw\] {
    padding: 1.5vw;
  }
  .p-\[1vw\] {
    padding: 1vw;
  }
  .p-\[3px\] {
    padding: 3px;
  }
  .p-\[6px\] {
    padding: 6px;
  }
  .\!px-2 {
    padding-inline: calc(var(--spacing) * 2) !important;
  }
  .px-1 {
    padding-inline: calc(var(--spacing) * 1);
  }
  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }
  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }
  .px-\[0\.8vw\] {
    padding-inline: 0.8vw;
  }
  .px-\[1\.2vw\] {
    padding-inline: 1.2vw;
  }
  .px-\[1\.4vw\] {
    padding-inline: 1.4vw;
  }
  .py-1 {
    padding-block: calc(var(--spacing) * 1);
  }
  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }
  .py-\[0\.3vw\] {
    padding-block: 0.3vw;
  }
  .py-\[0\.6vw\] {
    padding-block: 0.6vw;
  }
  .pt-1 {
    padding-top: calc(var(--spacing) * 1);
  }
  .pt-6 {
    padding-top: calc(var(--spacing) * 6);
  }
  .pt-\[max\(0\.5rem\,env\(safe-area-inset-top\)\)\] {
    padding-top: max(0.5rem, env(safe-area-inset-top));
  }
  .pt-\[max\(0\.75rem\,env\(safe-area-inset-top\)\)\] {
    padding-top: max(0.75rem, env(safe-area-inset-top));
  }
  .pr-3 {
    padding-right: calc(var(--spacing) * 3);
  }
  .pb-2 {
    padding-bottom: calc(var(--spacing) * 2);
  }
  .pb-6 {
    padding-bottom: calc(var(--spacing) * 6);
  }
  .pb-8 {
    padding-bottom: calc(var(--spacing) * 8);
  }
  .pb-10 {
    padding-bottom: calc(var(--spacing) * 10);
  }
  .pb-24 {
    padding-bottom: calc(var(--spacing) * 24);
  }
  .pl-5 {
    padding-left: calc(var(--spacing) * 5);
  }
  .pl-6 {
    padding-left: calc(var(--spacing) * 6);
  }
  .text-center {
    text-align: center;
  }
  .text-left {
    text-align: left;
  }
  .font-mono {
    font-family: var(--f-mono);
  }
  .font-pixel {
    font-family: var(--f-pixel);
  }
  .font-ui {
    font-family: var(--f-ui);
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .text-3xl {
    font-size: var(--text-3xl);
    line-height: var(--tw-leading, var(--text-3xl--line-height));
  }
  .text-4xl {
    font-size: var(--text-4xl);
    line-height: var(--tw-leading, var(--text-4xl--line-height));
  }
  .text-base {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }
  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }
  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .text-\[1\.1vw\] {
    font-size: 1.1vw;
  }
  .text-\[1\.2vw\] {
    font-size: 1.2vw;
  }
  .text-\[1\.3vw\] {
    font-size: 1.3vw;
  }
  .text-\[1\.4vw\] {
    font-size: 1.4vw;
  }
  .text-\[1\.6vw\] {
    font-size: 1.6vw;
  }
  .text-\[1\.8vw\] {
    font-size: 1.8vw;
  }
  .text-\[2\.2vw\] {
    font-size: 2.2vw;
  }
  .text-\[2\.4vw\] {
    font-size: 2.4vw;
  }
  .text-\[2\.5vw\] {
    font-size: 2.5vw;
  }
  .text-\[2\.6vw\] {
    font-size: 2.6vw;
  }
  .text-\[2vw\] {
    font-size: 2vw;
  }
  .text-\[3\.2vw\] {
    font-size: 3.2vw;
  }
  .text-\[3\.4vw\] {
    font-size: 3.4vw;
  }
  .text-\[3\.6vw\] {
    font-size: 3.6vw;
  }
  .text-\[3vw\] {
    font-size: 3vw;
  }
  .text-\[4vw\] {
    font-size: 4vw;
  }
  .text-\[5vw\] {
    font-size: 5vw;
  }
  .text-\[7vw\] {
    font-size: 7vw;
  }
  .text-\[9vw\] {
    font-size: 9vw;
  }
  .text-\[10px\] {
    font-size: 10px;
  }
  .text-\[11px\] {
    font-size: 11px;
  }
  .text-\[12px\] {
    font-size: 12px;
  }
  .text-\[14px\] {
    font-size: 14px;
  }
  .text-\[15px\] {
    font-size: 15px;
  }
  .text-\[15vw\] {
    font-size: 15vw;
  }
  .text-\[16px\] {
    font-size: 16px;
  }
  .text-\[18px\] {
    font-size: 18px;
  }
  .text-\[20px\] {
    font-size: 20px;
  }
  .text-\[56px\] {
    font-size: 56px;
  }
  .leading-none {
    --tw-leading: 1;
    line-height: 1;
  }
  .leading-relaxed {
    --tw-leading: var(--leading-relaxed);
    line-height: var(--leading-relaxed);
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .tracking-widest {
    --tw-tracking: var(--tracking-widest);
    letter-spacing: var(--tracking-widest);
  }
  .whitespace-pre {
    white-space: pre;
  }
  .whitespace-pre-wrap {
    white-space: pre-wrap;
  }
  .text-accent {
    color: var(--c-accent);
  }
  .text-accent-text {
    color: var(--c-accent-text);
  }
  .text-danger {
    color: var(--c-danger);
  }
  .text-gold {
    color: var(--c-gold);
  }
  .text-muted {
    color: var(--c-muted);
  }
  .text-success {
    color: var(--c-success);
  }
  .text-team-0 {
    color: var(--c-team-0);
  }
  .text-team-1 {
    color: var(--c-team-1);
  }
  .text-team-2 {
    color: var(--c-team-2);
  }
  .text-team-3 {
    color: var(--c-team-3);
  }
  .text-team-4 {
    color: var(--c-team-4);
  }
  .text-team-5 {
    color: var(--c-team-5);
  }
  .text-team-6 {
    color: var(--c-team-6);
  }
  .text-team-7 {
    color: var(--c-team-7);
  }
  .text-warning {
    color: var(--c-warning);
  }
  .uppercase {
    text-transform: uppercase;
  }
  .italic {
    font-style: italic;
  }
  .line-through {
    text-decoration-line: line-through;
  }
  .underline {
    text-decoration-line: underline;
  }
  .accent-\[var\(--c-accent\)\] {
    accent-color: var(--c-accent);
  }
  .opacity-40 {
    opacity: 40%;
  }
  .opacity-50 {
    opacity: 50%;
  }
  .opacity-60 {
    opacity: 60%;
  }
  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-pixel {
    --tw-shadow: var(--pixel-shadow);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .outline-2 {
    outline-style: var(--tw-outline-style);
    outline-width: 2px;
  }
  .outline-\[3px\] {
    outline-style: var(--tw-outline-style);
    outline-width: 3px;
  }
  .outline-\[4px\] {
    outline-style: var(--tw-outline-style);
    outline-width: 4px;
  }
  .outline-accent {
    outline-color: var(--c-accent);
  }
  .outline-gold {
    outline-color: var(--c-gold);
  }
  .blur {
    --tw-blur: blur(8px);
    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,);
  }
  .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, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, visibility, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .\[text-shadow\:0_0\.2vw_0_var\(--c-border\)\] {
    text-shadow: 0 0.2vw 0 var(--c-border);
  }
  .sm\:col-span-2 {
    @media (width >= 40rem) {
      grid-column: span 2 / span 2;
    }
  }
  .sm\:block {
    @media (width >= 40rem) {
      display: block;
    }
  }
  .sm\:inline {
    @media (width >= 40rem) {
      display: inline;
    }
  }
  .sm\:grid-cols-2 {
    @media (width >= 40rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .sm\:grid-cols-4 {
    @media (width >= 40rem) {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
  .sm\:text-2xl {
    @media (width >= 40rem) {
      font-size: var(--text-2xl);
      line-height: var(--tw-leading, var(--text-2xl--line-height));
    }
  }
  .sm\:text-xl {
    @media (width >= 40rem) {
      font-size: var(--text-xl);
      line-height: var(--tw-leading, var(--text-xl--line-height));
    }
  }
  .md\:order-last {
    @media (width >= 48rem) {
      order: 9999;
    }
  }
  .md\:col-span-2 {
    @media (width >= 48rem) {
      grid-column: span 2 / span 2;
    }
  }
  .md\:size-16 {
    @media (width >= 48rem) {
      width: calc(var(--spacing) * 16);
      height: calc(var(--spacing) * 16);
    }
  }
  .md\:grid-cols-2 {
    @media (width >= 48rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .md\:text-3xl {
    @media (width >= 48rem) {
      font-size: var(--text-3xl);
      line-height: var(--tw-leading, var(--text-3xl--line-height));
    }
  }
  .md\:text-5xl {
    @media (width >= 48rem) {
      font-size: var(--text-5xl);
      line-height: var(--tw-leading, var(--text-5xl--line-height));
    }
  }
  .md\:text-sm {
    @media (width >= 48rem) {
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
    }
  }
  .md\:text-xl {
    @media (width >= 48rem) {
      font-size: var(--text-xl);
      line-height: var(--tw-leading, var(--text-xl--line-height));
    }
  }
  .lg\:col-span-3 {
    @media (width >= 64rem) {
      grid-column: span 3 / span 3;
    }
  }
  .lg\:block {
    @media (width >= 64rem) {
      display: block;
    }
  }
  .lg\:flex {
    @media (width >= 64rem) {
      display: flex;
    }
  }
  .lg\:hidden {
    @media (width >= 64rem) {
      display: none;
    }
  }
  .lg\:max-h-\[45\%\] {
    @media (width >= 64rem) {
      max-height: 45%;
    }
  }
  .lg\:grid-cols-2 {
    @media (width >= 64rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .lg\:grid-cols-3 {
    @media (width >= 64rem) {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  .lg\:border-t-2 {
    @media (width >= 64rem) {
      border-top-style: var(--tw-border-style);
      border-top-width: 2px;
    }
  }
  .lg\:border-surface-2 {
    @media (width >= 64rem) {
      border-color: var(--c-surface-2);
    }
  }
  .lg\:pb-0 {
    @media (width >= 64rem) {
      padding-bottom: calc(var(--spacing) * 0);
    }
  }
  .lg\:pl-56 {
    @media (width >= 64rem) {
      padding-left: calc(var(--spacing) * 56);
    }
  }
  .\[\&\>\*\]\:min-w-0 {
    &>* {
      min-width: calc(var(--spacing) * 0);
    }
  }
}
[data-theme="floresta"] {
  color-scheme: dark;
  --c-bg: #16241a;
  --c-surface: #213427;
  --c-surface-2: #2e4a35;
  --c-surface-3: #3b5e44;
  --c-border: #0b140e;
  --c-text: #eef6e4;
  --c-muted: #b4cbaf;
  --c-accent: #9be15d;
  --c-accent-text: #10200c;
  --c-accent-2: #f2c14e;
  --c-success: #5fd38a;
  --c-warning: #f2b441;
  --c-danger: #ff9a88;
  --c-sky-1: #2f7fb8;
  --c-sky-2: #bfe6c8;
  --c-team-0: #ff5d5d;
  --c-team-1: #ff9f43;
  --c-team-2: #ffe14d;
  --c-team-3: #5be37d;
  --c-team-4: #3fd8e8;
  --c-team-5: #5b8cff;
  --c-team-6: #b17bff;
  --c-team-7: #ff7ac8;
  --bg-tile: url("/assets/sprites/themes/floresta/bg.png");
  --scene-img: url("/assets/sprites/themes/floresta/scene.png");
}
[data-theme="masmorra"] {
  color-scheme: dark;
  --c-bg: #1c1a26;
  --c-surface: #2a2738;
  --c-surface-2: #3a364d;
  --c-surface-3: #4a4562;
  --c-border: #0c0b13;
  --c-text: #efeaf7;
  --c-muted: #bdb5d2;
  --c-accent: #ff9a3c;
  --c-accent-text: #24120a;
  --c-accent-2: #7ad7f0;
  --c-success: #6bdc8f;
  --c-warning: #ffd24a;
  --c-danger: #ff7b7b;
  --c-sky-1: #14121f;
  --c-sky-2: #4a3b63;
  --c-team-0: #ff5d5d;
  --c-team-1: #ff9f43;
  --c-team-2: #ffe14d;
  --c-team-3: #5be37d;
  --c-team-4: #3fd8e8;
  --c-team-5: #5b8cff;
  --c-team-6: #b17bff;
  --c-team-7: #ff7ac8;
  --bg-tile: url("/assets/sprites/themes/masmorra/bg.png");
  --scene-img: url("/assets/sprites/themes/masmorra/scene.png");
}
[data-theme="oceano"] {
  color-scheme: dark;
  --c-bg: #0f2236;
  --c-surface: #17344e;
  --c-surface-2: #21486a;
  --c-surface-3: #2c5d85;
  --c-border: #071019;
  --c-text: #e8f6ff;
  --c-muted: #a9cde4;
  --c-accent: #3fd0e0;
  --c-accent-text: #06222a;
  --c-accent-2: #ffa282;
  --c-success: #57e0a0;
  --c-warning: #ffd166;
  --c-danger: #ff98a4;
  --c-sky-1: #3a9bd8;
  --c-sky-2: #cdeefa;
  --c-team-0: #ff5d5d;
  --c-team-1: #ff9f43;
  --c-team-2: #ffe14d;
  --c-team-3: #5be37d;
  --c-team-4: #3fd8e8;
  --c-team-5: #5b8cff;
  --c-team-6: #b17bff;
  --c-team-7: #ff7ac8;
  --bg-tile: url("/assets/sprites/themes/oceano/bg.png");
  --scene-img: url("/assets/sprites/themes/oceano/scene.png");
}
[data-theme="deserto"] {
  color-scheme: light;
  --c-bg: #f3e2b8;
  --c-surface: #fbeec9;
  --c-surface-2: #ecd49a;
  --c-surface-3: #dfc080;
  --c-border: #4a2c14;
  --c-text: #3a2410;
  --c-muted: #6b4b2a;
  --c-accent: #9e350a;
  --c-accent-text: #fff6e6;
  --c-accent-2: #0c5f63;
  --c-success: #18581f;
  --c-warning: #744600;
  --c-danger: #9c1f16;
  --c-sky-1: #f08a4b;
  --c-sky-2: #fbe3a8;
  --c-team-0: #c62828;
  --c-team-1: #d4580a;
  --c-team-2: #8f6a00;
  --c-team-3: #2a8a3a;
  --c-team-4: #00838f;
  --c-team-5: #1f5fd1;
  --c-team-6: #7b3fc4;
  --c-team-7: #c2185b;
  --bg-tile: url("/assets/sprites/themes/deserto/bg.png");
  --scene-img: url("/assets/sprites/themes/deserto/scene.png");
}
[data-theme="neve"] {
  color-scheme: light;
  --c-bg: #d9e8f5;
  --c-surface: #f4f9fd;
  --c-surface-2: #c5daed;
  --c-surface-3: #adc6e0;
  --c-border: #1c2f4a;
  --c-text: #14233a;
  --c-muted: #3f5a7a;
  --c-accent: #1d4fb0;
  --c-accent-text: #ffffff;
  --c-accent-2: #a3124a;
  --c-success: #115a30;
  --c-warning: #744600;
  --c-danger: #b71c1c;
  --c-sky-1: #8fb8e6;
  --c-sky-2: #eef6fd;
  --c-team-0: #c62828;
  --c-team-1: #d4580a;
  --c-team-2: #8f6a00;
  --c-team-3: #2a8a3a;
  --c-team-4: #00838f;
  --c-team-5: #1f5fd1;
  --c-team-6: #7b3fc4;
  --c-team-7: #c2185b;
  --bg-tile: url("/assets/sprites/themes/neve/bg.png");
  --scene-img: url("/assets/sprites/themes/neve/scene.png");
}
[data-theme="noite"] {
  color-scheme: dark;
  --c-bg: #0b0b1e;
  --c-surface: #16163a;
  --c-surface-2: #232356;
  --c-surface-3: #31317a;
  --c-border: #03030c;
  --c-text: #f1eeff;
  --c-muted: #b9b2e8;
  --c-accent: #ffd84d;
  --c-accent-text: #1a1400;
  --c-accent-2: #ff7ad9;
  --c-success: #5af0a8;
  --c-warning: #ffb347;
  --c-danger: #ff7a98;
  --c-sky-1: #05050f;
  --c-sky-2: #2a2670;
  --c-team-0: #ff5d5d;
  --c-team-1: #ff9f43;
  --c-team-2: #ffe14d;
  --c-team-3: #5be37d;
  --c-team-4: #3fd8e8;
  --c-team-5: #5b8cff;
  --c-team-6: #b17bff;
  --c-team-7: #ff7ac8;
  --bg-tile: url("/assets/sprites/themes/noite/bg.png");
  --scene-img: url("/assets/sprites/themes/noite/scene.png");
}
[data-theme="campus"] {
  color-scheme: light;
  --c-bg: #e8f0da;
  --c-surface: #fcfbf4;
  --c-surface-2: #dbe7c8;
  --c-surface-3: #c6d8ad;
  --c-border: #2b3a1c;
  --c-text: #1b2813;
  --c-muted: #465836;
  --c-accent: #2c6a10;
  --c-accent-text: #ffffff;
  --c-accent-2: #9c3a22;
  --c-success: #17642b;
  --c-warning: #7f4b00;
  --c-danger: #a01e18;
  --c-sky-1: #6db8ee;
  --c-sky-2: #e4f4ff;
  --c-team-0: #c62828;
  --c-team-1: #d4580a;
  --c-team-2: #8f6a00;
  --c-team-3: #2a8a3a;
  --c-team-4: #00838f;
  --c-team-5: #1f5fd1;
  --c-team-6: #7b3fc4;
  --c-team-7: #c2185b;
  --bg-tile: url("/assets/sprites/themes/campus/bg.png");
  --scene-img: url("/assets/sprites/campus/poster.png");
}
@font-face {
  font-family: "Press Start 2P";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/vendor/fonts/PressStart2P-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Pixelify Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/vendor/fonts/PixelifySans-latin.woff2") format("woff2");
}
:root {
  --f-pixel: "Press Start 2P", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --f-ui: "Pixelify Sans", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --f-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --c-gold: #ffd23f;
  --c-silver: #d5dde8;
  --c-bronze: #c4863a;
  --c-copper: #d9573b;
  --c-platinum: #8fe8d8;
  --c-diamond: #8ec3ff;
  --frame: 0 -2px 0 0 var(--c-border), 0 2px 0 0 var(--c-border), -2px 0 0 0 var(--c-border), 2px 0 0 0 var(--c-border);
  --pixel-shadow: var(--frame), 0 6px 0 0 var(--c-border);
  --pixel-shadow-pressed: var(--frame), 0 2px 0 0 var(--c-border);
  --pixel-shadow-inset: inset 0 0 0 2px var(--c-border), inset 0 4px 0 0 rgb(0 0 0 / .18);
  --cm-bg: var(--c-bg);
  --cm-text: var(--c-text);
  --cm-gutter: var(--c-surface-2);
  --cm-selection: var(--c-surface-3);
  --cm-cursor: var(--c-accent-2);
  --cm-keyword: var(--c-accent-2);
  --cm-string: var(--c-success);
  --cm-number: var(--c-warning);
  --cm-comment: var(--c-muted);
  --hi: rgb(255 255 255 / .28);
  --lo: rgb(0 0 0 / .26);
}
@layer base {
  html {
    background: var(--c-bg);
    color: var(--c-text);
    -webkit-text-size-adjust: 100%;
  }
  body {
    min-height: 100dvh;
    font-family: var(--f-ui);
    font-size: 1.0625rem;
    line-height: 1.45;
    background-color: var(--c-bg);
    background-image: var(--bg-tile);
    background-size: 64px 64px;
    image-rendering: pixelated;
  }
  h1, h2, h3 {
    font-family: var(--f-pixel);
    line-height: 1.5;
  }
  code, pre, kbd, samp, textarea.font-mono, .font-mono {
    font-family: var(--f-mono);
  }
  img, canvas {
    image-rendering: pixelated;
  }
  :focus-visible {
    outline: 3px solid var(--c-accent-2);
    outline-offset: 3px;
  }
  ::selection {
    background: var(--c-accent);
    color: var(--c-accent-text);
  }
  [hidden] {
    display: none !important;
  }
}
@layer components {
  .panel-pixel {
    background: var(--c-surface);
    border: 0;
    border-radius: 0;
    padding: 1rem;
    box-shadow: var(--pixel-shadow), inset 0 3px 0 0 var(--hi);
  }
  .panel-pixel--inset {
    background-color: var(--c-surface-2);
    background-image: url("/assets/sprites/ui/dither.png");
    background-size: 8px 8px;
    box-shadow: var(--pixel-shadow-inset);
  }
  .btn-pixel {
    --face: var(--c-accent);
    --ink: var(--c-accent-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 44px;
    min-width: 44px;
    padding: .55rem 1rem;
    margin-bottom: 4px;
    font-family: var(--f-pixel);
    font-size: .72rem;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    background: var(--face);
    color: var(--ink);
    border: 0;
    border-radius: 0;
    cursor: pointer;
    box-shadow: var(--pixel-shadow), inset 0 3px 0 0 var(--hi), inset 0 -4px 0 0 var(--lo);
    transition: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
  }
  .btn-pixel:hover {
    filter: brightness(1.08);
  }
  .btn-pixel:active, .btn-pixel[aria-pressed="true"]:not(.btn-pixel--ghost) {
    transform: translateY(4px);
    margin-bottom: 0;
    box-shadow: var(--pixel-shadow-pressed), inset 0 3px 0 0 var(--lo);
  }
  .btn-pixel[disabled], .btn-pixel[aria-disabled="true"] {
    opacity: .55;
    cursor: not-allowed;
    filter: grayscale(.4);
  }
  .btn-pixel--accent {
    --face: var(--c-accent);
    --ink: var(--c-accent-text);
  }
  .btn-pixel.secondary {
    --face: var(--c-surface-3);
    --ink: var(--c-text);
  }
  .btn-pixel--danger, .btn-pixel.danger {
    --face: var(--c-danger);
    --ink: #1a0a0a;
  }
  .btn-pixel--ghost {
    --face: transparent;
    --ink: var(--c-text);
    box-shadow: var(--frame);
    margin-bottom: 0;
  }
  .btn-pixel--ghost:active {
    transform: translateY(2px);
    box-shadow: var(--frame);
  }
  .btn-pixel--lg {
    min-height: 56px;
    padding: .8rem 1.4rem;
    font-size: .9rem;
  }
  .input-pixel {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: .5rem .75rem;
    font-family: var(--f-ui);
    font-size: 1.0625rem;
    color: var(--c-text);
    background: var(--c-bg);
    border: 0;
    border-radius: 0;
    box-shadow: var(--pixel-shadow-inset);
  }
  .input-pixel::placeholder {
    color: var(--c-muted);
    opacity: 1;
  }
  .input-pixel:focus {
    outline: 3px solid var(--c-accent-2);
    outline-offset: 1px;
  }
  select.input-pixel {
    appearance: none;
    padding-right: 2rem;
    background-image: linear-gradient(45deg, transparent 50%, var(--c-text) 50%), linear-gradient(135deg, var(--c-text) 50%, transparent 50%);
    background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
    background-size: 6px 6px;
    background-repeat: no-repeat;
  }
  .badge-pixel {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 24px;
    padding: .15rem .5rem;
    font-family: var(--f-pixel);
    font-size: .58rem;
    line-height: 1.4;
    letter-spacing: .02em;
    color: var(--c-text);
    background: var(--c-surface-3);
    box-shadow: var(--frame);
  }
  .badge-pixel--accent {
    background: var(--c-accent);
    color: var(--c-accent-text);
  }
  .badge-pixel--gold {
    background: var(--c-gold);
    color: #2a1a00;
  }
  .badge-pixel--success {
    background: var(--c-success);
    color: #06210f;
  }
  .badge-pixel--danger {
    background: var(--c-danger);
    color: #240606;
  }
  .card-mission {
    position: relative;
    display: grid;
    gap: .35rem;
    min-height: 44px;
    padding: 1rem 1rem 1rem 1.25rem;
    color: var(--c-text);
    text-decoration: none;
    background: var(--c-surface);
    box-shadow: var(--pixel-shadow), inset 6px 0 0 0 var(--c-accent);
  }
  a.card-mission:active, button.card-mission:active {
    transform: translateY(3px);
    box-shadow: var(--pixel-shadow-pressed), inset 6px 0 0 0 var(--c-accent);
  }
  .card-mission--solved {
    box-shadow: var(--pixel-shadow), inset 6px 0 0 0 var(--c-success);
  }
  .card-mission--solved::after {
    content: "✓";
    position: absolute;
    top: .5rem;
    right: .75rem;
    font-family: var(--f-pixel);
    color: var(--c-success);
  }
  .card-mission--locked {
    background-image: url("/assets/sprites/ui/dither.png");
    background-size: 8px 8px;
    color: var(--c-muted);
    cursor: not-allowed;
    box-shadow: var(--pixel-shadow), inset 6px 0 0 0 var(--c-surface-3);
  }
  .xp-bar {
    --v: 0;
    position: relative;
    height: 22px;
    background: var(--c-bg);
    box-shadow: var(--pixel-shadow-inset);
  }
  .xp-bar::before {
    content: "";
    position: absolute;
    inset: 4px;
    width: calc((100% - 8px) * var(--v) / 100);
    background: var(--c-accent);
    box-shadow: inset 0 3px 0 0 var(--hi);
    -webkit-mask: repeating-linear-gradient(90deg, #000 0 8px, transparent 8px 10px);
    mask: repeating-linear-gradient(90deg, #000 0 8px, transparent 8px 10px);
  }
  .timer-pixel {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    padding: .4rem .8rem;
    font-family: var(--f-pixel);
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
    color: var(--c-text);
    background: var(--c-bg);
    box-shadow: var(--pixel-shadow-inset);
  }
  .timer-pixel--danger {
    color: var(--c-danger);
    animation: blink 1s steps(2, jump-none) infinite;
  }
  .toast-pixel {
    pointer-events: auto;
    width: 100%;
    max-width: 24rem;
    padding: .75rem 1rem;
    font-size: 1rem;
    color: var(--c-text);
    background: var(--c-surface-2);
    box-shadow: var(--pixel-shadow), inset 6px 0 0 0 var(--c-accent-2);
  }
  .toast-pixel--success {
    box-shadow: var(--pixel-shadow), inset 6px 0 0 0 var(--c-success);
  }
  .toast-pixel--error {
    box-shadow: var(--pixel-shadow), inset 6px 0 0 0 var(--c-danger);
  }
  .tabs-pixel {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .tabs-pixel > * {
    min-height: 44px;
    padding: .5rem .9rem;
    font-family: var(--f-pixel);
    font-size: .68rem;
    color: var(--c-muted);
    background: var(--c-surface);
    border: 0;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: var(--frame);
  }
  .tabs-pixel > [aria-selected="true"], .tabs-pixel > [aria-current] {
    color: var(--c-accent-text);
    background: var(--c-accent);
  }
  .stars {
    display: inline-flex;
    gap: 2px;
    color: var(--c-gold);
    font-size: 1.1rem;
    line-height: 1;
    text-shadow: 1px 0 0 var(--c-border), -1px 0 0 var(--c-border), 0 1px 0 var(--c-border), 0 -1px 0 var(--c-border);
  }
  .stars__off {
    color: var(--c-surface-3);
  }
  .sprite {
    image-rendering: pixelated;
    width: 32px;
    height: 32px;
    flex: none;
  }
  .sprite--lg {
    width: 64px;
    height: 64px;
  }
  .sprite--sm {
    width: 24px;
    height: 24px;
  }
  .anim-pop {
    animation: pop .4s steps(5) both;
  }
  .anim-coin {
    animation: coin .9s steps(8) infinite;
  }
  .anim-float-up {
    animation: float-up 1.4s steps(10) both;
  }
  .anim-shake {
    animation: shake .45s steps(8) both;
  }
  .anim-bob {
    animation: bob 1.6s steps(2, jump-none) infinite;
  }
  .anim-blink {
    animation: blink 1.2s steps(2, jump-none) infinite;
  }
  .scene-host {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(var(--c-sky-1), var(--c-sky-2));
  }
  .scene-host::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--scene-img) center bottom / cover no-repeat;
    image-rendering: pixelated;
  }
  .scene-host.is-3d::before {
    opacity: 0;
    transition: opacity .3s steps(3);
  }
  .scene-host canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
    opacity: 0;
  }
  .scene-host.is-3d canvas {
    opacity: 1;
    transition: opacity .3s steps(3);
  }
  .scene-host::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: url("/assets/sprites/ui/scanlines.png") 0 0 / 4px 4px;
    opacity: .6;
  }
  .scene-host > .scene-content {
    position: relative;
    z-index: 3;
  }
  .logo-pixel {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--f-pixel);
    line-height: 1.2;
    color: var(--c-gold);
    text-decoration: none;
    text-shadow: 3px 0 0 var(--c-border), -3px 0 0 var(--c-border), 0 3px 0 var(--c-border), 0 -3px 0 var(--c-border), 3px 3px 0 var(--c-border), -3px 3px 0 var(--c-border), 3px -3px 0 var(--c-border), -3px -3px 0 var(--c-border), 0 6px 0 var(--c-border);
  }
  .logo-pixel img {
    width: 32px;
    height: 32px;
    flex: none;
  }
  .logo-stack {
    display: grid;
    gap: .35rem;
  }
  .logo-sub {
    font-family: var(--f-ui);
    font-size: .8rem;
    line-height: 1.1;
    letter-spacing: .02em;
    color: #fff;
    text-shadow: 2px 0 0 var(--c-border), -2px 0 0 var(--c-border), 0 2px 0 var(--c-border), 0 -2px 0 var(--c-border);
  }
  .text-outline {
    text-shadow: 2px 0 0 var(--c-border), -2px 0 0 var(--c-border), 0 2px 0 var(--c-border), 0 -2px 0 var(--c-border), 2px 2px 0 var(--c-border), -2px 2px 0 var(--c-border);
  }
  .hero {
    min-height: 210px;
    display: grid;
    align-content: start;
    padding: 1rem;
    padding-top: max(1rem, env(safe-area-inset-top));
  }
  @media (min-width: 768px) {
    .hero {
      min-height: 440px;
    }
  }
  .hero--short {
    min-height: 330px;
  }
  .hero--short > .scene-content {
    display: grid;
    align-content: space-between;
    min-height: 290px;
  }
  @media (min-width: 768px) {
    .hero--short {
      min-height: 360px;
    }
    .hero--short > .scene-content {
      min-height: 320px;
    }
  }
  .mode-card {
    --tone: var(--c-accent);
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: .25rem .9rem;
    min-height: 88px;
    padding: 1rem;
    padding-top: 1.35rem;
    color: var(--c-text);
    text-decoration: none;
    text-align: left;
    border: 0;
    cursor: pointer;
    background: var(--c-surface);
    box-shadow: var(--pixel-shadow), inset 0 3px 0 0 var(--hi);
    font-family: inherit;
  }
  .mode-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 8px;
    background: var(--tone);
  }
  .mode-card:hover {
    background: var(--c-surface-2);
  }
  .mode-card:active {
    transform: translateY(4px);
    box-shadow: var(--pixel-shadow-pressed);
  }
  .mode-card__title {
    font-family: var(--f-pixel);
    font-size: .72rem;
    line-height: 1.5;
  }
  .mode-card__desc {
    grid-column: 2;
    font-size: .95rem;
    color: var(--c-muted);
    line-height: 1.3;
  }
  .mode-card .sprite {
    grid-row: span 2;
    width: 56px;
    height: 56px;
  }
  .mode-card--soon {
    background-image: url("/assets/sprites/ui/dither.png");
    background-size: 8px 8px;
  }
  .mode-card--soon .sprite {
    filter: grayscale(.5);
  }
  .mode-card[data-tone="1"] {
    --tone: var(--c-team-1);
  }
  .mode-card[data-tone="2"] {
    --tone: var(--c-team-2);
  }
  .mode-card[data-tone="3"] {
    --tone: var(--c-team-3);
  }
  .mode-card[data-tone="4"] {
    --tone: var(--c-team-4);
  }
  .mode-card[data-tone="5"] {
    --tone: var(--c-team-5);
  }
  .mode-card[data-tone="6"] {
    --tone: var(--c-team-6);
  }
  .mode-card[data-tone="7"] {
    --tone: var(--c-team-7);
  }
  .mode-card .badge-pixel {
    position: absolute;
    top: -10px;
    right: .6rem;
    z-index: 2;
    transform: rotate(3deg);
  }
  .how-step {
    display: grid;
    justify-items: center;
    gap: .5rem;
    padding: .9rem .5rem;
    text-align: center;
    background: var(--c-surface);
    box-shadow: var(--pixel-shadow);
    animation: pop .4s steps(5) both;
  }
  .how-step:nth-child(2) {
    animation-delay: .15s;
  }
  .how-step:nth-child(3) {
    animation-delay: .3s;
  }
  .how-step b {
    font-family: var(--f-pixel);
    font-size: .62rem;
    line-height: 1.5;
    font-weight: 400;
    color: var(--c-accent-2);
  }
  .how-step span {
    font-size: .95rem;
    line-height: 1.25;
    color: var(--c-muted);
  }
  .nav-pixel {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 40;
    display: flex;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--c-surface);
    box-shadow: 0 -4px 0 0 var(--c-border);
  }
  .nav-pixel a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 60px;
    padding: 4px 2px;
    font-family: var(--f-pixel);
    font-size: .5rem;
    line-height: 1.4;
    color: var(--c-muted);
    text-decoration: none;
  }
  .nav-pixel a .sprite {
    width: 28px;
    height: 28px;
    opacity: .75;
  }
  .nav-pixel a[aria-current="page"] {
    color: var(--c-accent-text);
    background: var(--c-accent);
    box-shadow: inset 0 4px 0 0 var(--hi);
  }
  .nav-pixel a[aria-current="page"] .sprite {
    opacity: 1;
    animation: bob 1.2s steps(2, jump-none) infinite;
  }
  @media (min-width: 1024px) {
    .nav-pixel {
      inset: 0 auto 0 0;
      width: 14rem;
      flex-direction: column;
      justify-content: flex-start;
      gap: 6px;
      padding: 1rem .75rem;
      box-shadow: 4px 0 0 0 var(--c-border);
    }
    .nav-pixel a {
      flex: none;
      flex-direction: row;
      justify-content: flex-start;
      gap: .75rem;
      padding: .5rem .75rem;
      min-height: 52px;
      font-size: .62rem;
    }
  }
  .theme-switcher {
    position: relative;
  }
  .theme-pop {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    z-index: 60;
    width: min(19rem, calc(100vw - 1.5rem));
    display: grid;
    gap: .75rem;
  }
  @media (max-width: 639px) {
    .theme-switcher {
      position: static;
    }
    .theme-pop {
      position: fixed;
      left: .75rem;
      right: .75rem;
      top: calc(env(safe-area-inset-top) + 64px);
      width: auto;
    }
  }
  .theme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
  }
  .theme-swatch {
    display: grid;
    justify-items: center;
    gap: .3rem;
    min-height: 44px;
    padding: .3rem;
    cursor: pointer;
    font: inherit;
    font-size: .85rem;
    color: var(--c-text);
    background: var(--c-surface-2);
    border: 0;
    box-shadow: var(--frame);
  }
  .theme-swatch[aria-pressed="true"] {
    background: var(--c-accent);
    color: var(--c-accent-text);
  }
  .theme-chip {
    position: relative;
    width: 100%;
    height: 34px;
    background: var(--c-bg);
    box-shadow: inset 0 0 0 2px var(--c-border);
  }
  .theme-chip::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 4px;
    bottom: 4px;
    width: 33%;
    background: var(--c-accent);
  }
  .theme-chip::after {
    content: "";
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    width: 33%;
    background: var(--c-surface-3);
    box-shadow: inset 0 -6px 0 0 var(--c-accent-2);
  }
  .theme-row {
    display: flex;
    gap: .5rem;
  }
  .theme-row > * {
    flex: 1;
    font-size: .6rem;
  }
  .podium {
    position: relative;
    min-height: 220px;
    overflow: hidden;
  }
  .podium canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
  }
  .podium-label {
    position: absolute;
    transform: translate(-50%, -100%);
    text-align: center;
    pointer-events: none;
    font-size: clamp(.95rem, 2.4vw, 2.6rem);
    line-height: 1.2;
    max-width: 30vw;
    text-shadow: 2px 2px 0 var(--c-bg);
  }
  .podium-label small {
    font-size: .8em;
  }
  .podium-label b {
    display: block;
    font-family: var(--f-pixel);
    font-size: clamp(.6rem, 1.6vw, 1.8rem);
    font-weight: 400;
    color: var(--c-gold);
  }
  .podium--2d {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    padding: 1rem;
  }
  .podium--2d .podium-label {
    position: static;
    transform: none;
    display: grid;
    align-content: end;
    gap: .25rem;
    width: 30%;
    max-width: 30vw;
  }
  .podium--2d .podium-label::after {
    content: "";
    display: block;
    background: var(--blk, var(--c-accent));
    box-shadow: var(--frame);
    height: var(--h, 40px);
  }
  .celebrate-layer {
    position: fixed;
    inset: 0;
    z-index: 90;
    pointer-events: none;
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
  }
  .lb {
    min-height: 22rem;
  }
  .lb-body {
    display: grid;
    gap: .75rem;
  }
  .lb-empty {
    display: grid;
    justify-items: center;
    gap: .75rem;
    padding: 1.5rem .5rem;
    text-align: center;
  }
  .lb-podium {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    list-style: none;
    padding: .5rem 0 0;
    margin: 0;
  }
  .lb-step {
    flex: 1;
    max-width: 9rem;
    display: grid;
    justify-items: center;
    gap: .15rem;
    text-align: center;
    animation: lb-in .4s steps(4) both;
  }
  .lb-step b {
    font-family: var(--f-pixel);
    font-size: .6rem;
    font-weight: 400;
  }
  .lb-step small {
    color: var(--c-muted);
    font-size: .9rem;
  }
  .lb-name {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .lb-block {
    display: block;
    width: 100%;
    box-shadow: var(--frame), inset 0 4px 0 0 var(--hi);
  }
  .lb-step--1 .lb-block {
    height: 64px;
    background: var(--c-gold);
  }
  .lb-step--1 b {
    color: var(--c-gold);
    text-shadow: 1px 1px 0 var(--c-border);
  }
  .lb-step--2 .lb-block {
    height: 44px;
    background: var(--c-bronze);
  }
  .lb-step--3 .lb-block {
    height: 30px;
    background: var(--c-copper);
  }
  .medal {
    width: 32px;
    height: 32px;
    flex: none;
    image-rendering: pixelated;
  }
  .medal--lg {
    width: 48px;
    height: 48px;
  }
  .medal--pod {
    width: clamp(32px, 4.5vw, 72px);
    height: clamp(32px, 4.5vw, 72px);
  }
  .lb-step .medal {
    margin-bottom: -2px;
  }
  .lb-av {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: var(--c-team-0);
    box-shadow: var(--frame);
  }
  .lb-av--0 {
    background: var(--c-team-0);
  }
  .lb-av--1 {
    background: var(--c-team-1);
  }
  .lb-av--2 {
    background: var(--c-team-2);
  }
  .lb-av--3 {
    background: var(--c-team-3);
  }
  .lb-av--4 {
    background: var(--c-team-4);
  }
  .lb-av--5 {
    background: var(--c-team-5);
  }
  .lb-av--6 {
    background: var(--c-team-6);
  }
  .lb-av--7 {
    background: var(--c-team-7);
  }
  .lb-step--1 .lb-av {
    width: 52px;
    height: 52px;
  }
  .lb-av--sm {
    width: 32px;
    height: 32px;
  }
  .lb-av--sm .sprite {
    width: 24px;
    height: 24px;
  }
  .lb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
  }
  .lb-row {
    display: grid;
    grid-template-columns: 3rem auto 1fr auto;
    align-items: center;
    gap: .6rem;
    min-height: 44px;
    padding: .25rem .6rem;
    background: var(--c-surface-2);
    box-shadow: var(--frame);
    animation: lb-in .4s steps(4) both;
  }
  .lb-row b {
    font-family: var(--f-pixel);
    font-size: .6rem;
    font-weight: 400;
    color: var(--c-muted);
  }
  .lb-pts {
    font-family: var(--f-pixel);
    font-size: .65rem;
    font-variant-numeric: tabular-nums;
  }
  .lb-me {
    position: sticky;
    bottom: .5rem;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .5rem;
    min-height: 44px;
    padding: .5rem .75rem;
    background: var(--c-accent);
    color: var(--c-accent-text);
    box-shadow: var(--pixel-shadow);
  }
  .lb-me b {
    font-family: var(--f-pixel);
    font-size: .65rem;
    font-weight: 400;
  }
  .lb-hid {
    opacity: .85;
  }
  .lb-link {
    margin-left: auto;
    color: var(--c-accent-text);
    text-decoration: underline;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  @media (max-width: 1023px) {
    .lb[data-lb-nav] .lb-me {
      bottom: 4.75rem;
    }
  }
  .pad-safe-top {
    padding-top: max(.75rem, env(safe-area-inset-top));
  }
  .vh-fill {
    min-height: 100dvh;
  }
}
@keyframes pop {
  0% {
    transform: scale(.4);
    opacity: 0;
  }
  60% {
    transform: scale(1.15);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes coin {
  0% {
    transform: translateY(0) scaleX(1);
  }
  25% {
    transform: translateY(-6px) scaleX(.5);
  }
  50% {
    transform: translateY(-8px) scaleX(.1);
  }
  75% {
    transform: translateY(-4px) scaleX(.5);
  }
  100% {
    transform: translateY(0) scaleX(1);
  }
}
@keyframes float-up {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateY(-56px);
    opacity: 0;
  }
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}
@keyframes lb-in {
  0% {
    transform: translateY(12px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes bob {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-3px);
  }
}
@keyframes blink {
  0% {
    opacity: 1;
  }
  100% {
    opacity: .25;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
body > header:not(.scene-host) {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--c-surface);
  box-shadow: 0 4px 0 0 var(--c-border), inset 0 -4px 0 0 var(--lo), inset 0 3px 0 0 var(--hi);
  margin-bottom: 8px;
}
body > header:not(.scene-host) h1 {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .95rem;
  line-height: 1.4;
  color: var(--c-text);
  text-shadow: 2px 2px 0 var(--c-border);
}
body > header:not(.scene-host) h1::before {
  content: "";
  flex: none;
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  background: url("/assets/sprites/icons/logo.png") center / contain no-repeat;
}
.panel-pixel > h2:first-child, form.panel-pixel > h2:first-child, section.panel-pixel > h2:first-child {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  line-height: 1.6;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.panel-pixel > h2:first-child::before, form.panel-pixel > h2:first-child::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background: var(--c-accent);
  box-shadow: var(--frame), 4px 4px 0 0 var(--c-accent-2);
  margin-right: 4px;
}
.panel-pixel h3 {
  font-size: .7rem;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--c-accent-2);
}
.panel-pixel label > span:first-child {
  font-size: .95rem;
  color: var(--c-muted);
}
:focus-visible {
  outline: 4px solid var(--c-accent-2);
  outline-offset: 3px;
}
.input-pixel:focus {
  outline: 4px solid var(--c-accent-2);
  outline-offset: 0;
}
.btn-pixel {
  position: relative;
  overflow: hidden;
}
.btn-pixel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 24%;
  transform: skewX(-20deg);
  pointer-events: none;
  background: rgb(255 255 255 / .35);
  opacity: 0;
}
@media (hover: hover) {
  .btn-pixel:hover::after {
    animation: shine .6s steps(8) 1;
  }
}
.btn-pixel:focus-visible::after {
  animation: shine .6s steps(8) 1;
}
.btn-pixel--lg::after {
  animation: shine 3.2s steps(16) 1.2s infinite;
}
@keyframes shine {
  0% {
    left: -40%;
    opacity: 1;
  }
  60% {
    left: 130%;
    opacity: 1;
  }
  100% {
    left: 130%;
    opacity: 0;
  }
}
.enter-stagger > * {
  animation: enter .45s steps(5) both;
}
.enter-stagger > *:nth-child(2) {
  animation-delay: .06s;
}
.enter-stagger > *:nth-child(3) {
  animation-delay: .12s;
}
.enter-stagger > *:nth-child(4) {
  animation-delay: .18s;
}
.enter-stagger > *:nth-child(5) {
  animation-delay: .24s;
}
.enter-stagger > *:nth-child(n+6) {
  animation-delay: .3s;
}
@keyframes enter {
  0% {
    transform: translateY(16px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.hero-fx {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.hero-fx .cloud {
  position: absolute;
  background: center / contain no-repeat;
  image-rendering: pixelated;
  opacity: .9;
  animation: drift 60s linear infinite;
}
.hero-fx .cloud--a {
  top: 18%;
  left: -20%;
  width: 96px;
  height: 24px;
  background-image: url("/assets/sprites/fx/cloud-a.png");
}
.hero-fx .cloud--b {
  top: 42%;
  left: -30%;
  width: 70px;
  height: 25px;
  background-image: url("/assets/sprites/fx/cloud-b.png");
  animation-duration: 90s;
  animation-delay: -30s;
  opacity: .7;
}
.hero-fx .cloud--c {
  top: 8%;
  left: -25%;
  width: 70px;
  height: 25px;
  background-image: url("/assets/sprites/fx/cloud-b.png");
  animation-duration: 120s;
  animation-delay: -70s;
  opacity: .55;
}
@keyframes drift {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(100vw + 40vw));
  }
}
.hero-fx .spark {
  position: absolute;
  width: 16px;
  height: 20px;
  background: url("/assets/sprites/fx/sparkle.png") center / contain no-repeat;
  image-rendering: pixelated;
  animation: twinkle 2.4s steps(4) infinite;
}
.hero-fx .spark:nth-of-type(4) {
  left: 12%;
  top: 30%;
}
.hero-fx .spark:nth-of-type(5) {
  left: 82%;
  top: 24%;
  animation-delay: -.8s;
}
.hero-fx .spark:nth-of-type(6) {
  left: 66%;
  top: 62%;
  animation-delay: -1.6s;
}
.hero-fx .spark:nth-of-type(7) {
  left: 28%;
  top: 58%;
  animation-delay: -.4s;
}
@keyframes twinkle {
  0% {
    transform: scale(.4);
    opacity: 0;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(.4);
    opacity: 0;
  }
}
.hero-edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12px;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--c-bg) 0 12px, transparent 12px 24px) 0 0 / 100% 6px no-repeat, linear-gradient(var(--c-bg), var(--c-bg)) 0 6px / 100% 6px no-repeat;
}
.logo-word span {
  display: inline-block;
  animation: bob 2.4s steps(2, jump-none) infinite;
  animation-delay: calc(var(--i, 0) * .14s);
}
.logo-word span:nth-child(1) {
  --i: 0;
}
.logo-word span:nth-child(2) {
  --i: 1;
}
.logo-word span:nth-child(3) {
  --i: 2;
}
.logo-word span:nth-child(4) {
  --i: 3;
}
.logo-word span:nth-child(5) {
  --i: 4;
}
.logo-word span:nth-child(6) {
  --i: 5;
}
.logo-word span:nth-child(7) {
  --i: 6;
}
.mode-card {
  transition: transform .12s steps(2);
  overflow: visible;
}
.mode-card::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--tone) 0 6px, transparent 6px 12px);
  opacity: .55;
}
@media (hover: hover) {
  .mode-card:hover {
    transform: translateY(-4px);
  }
  .mode-card:hover .sprite {
    animation: bob .6s steps(2, jump-none) infinite;
  }
}
.mode-card:active {
  transform: translateY(4px);
}
.mode-card--soon::before {
  background: repeating-linear-gradient(90deg, var(--tone) 0 8px, var(--c-surface-3) 8px 16px);
}
.mode-card .sprite {
  background: var(--c-surface-2);
  box-shadow: var(--frame);
  padding: 4px;
  width: 72px;
  height: 72px;
  padding: 4px;
  box-sizing: border-box;
}
.hud {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.hud-avatar {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  background: var(--c-surface-2);
  box-shadow: var(--frame), inset 0 4px 0 0 var(--hi);
}
.hud-avatar .sprite {
  width: 56px;
  height: 56px;
}
.hud-level {
  position: absolute;
  right: -8px;
  bottom: -8px;
  min-width: 28px;
  padding: 2px 4px;
  text-align: center;
  font-family: var(--f-pixel);
  font-size: .6rem;
  color: var(--c-accent-text);
  background: var(--c-gold);
  box-shadow: var(--frame);
}
.hud-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 28px;
  padding: 2px 8px;
  font-family: var(--f-pixel);
  font-size: .6rem;
  background: var(--c-bg);
  box-shadow: var(--frame);
}
.chip img {
  width: 20px;
  height: 20px;
  image-rendering: pixelated;
}
.empty-state {
  display: grid;
  justify-items: center;
  gap: .75rem;
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--c-muted);
}
.empty-state .sprite {
  width: 64px;
  height: 64px;
}
.toast-pixel {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.toast-pixel::before {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  background: url("/assets/sprites/icons/info.png") center / contain no-repeat;
  image-rendering: pixelated;
}
.toast-pixel--success::before {
  background-image: url("/assets/sprites/icons/check.png");
}
.toast-pixel--error::before {
  background-image: url("/assets/sprites/icons/cross.png");
}
.lb {
  background-image: linear-gradient(var(--c-surface), var(--c-surface));
}
.lb-step--1 .lb-av {
  box-shadow: var(--frame), 0 0 0 4px var(--c-gold);
}
.lb-block {
  display: grid;
  place-items: start center;
  padding-top: 4px;
  font-family: var(--f-pixel);
  font-size: .8rem;
  color: var(--c-accent-text);
}
.lb-step--1 .lb-block::after {
  content: "1";
}
.lb-step--2 .lb-block::after {
  content: "2";
}
.lb-step--3 .lb-block::after {
  content: "3";
}
.lb-row:nth-child(even) {
  background: var(--c-surface-3);
}
.lb-row.is-up {
  animation: flash .8s steps(4) 1;
}
@keyframes flash {
  0%, 50% {
    background: var(--c-accent);
  }
  100% {
    background: inherit;
  }
}
.lb.is-static .lb-step, .lb.is-static .lb-row {
  animation: none;
}
.nav-pixel a {
  transition: none;
}
.nav-pixel a:active {
  transform: translateY(2px);
}
.panel-pixel > h2:has(img)::before {
  display: none;
}
:root {
  --nav-w: 14rem;
}
html.nav-collapsed {
  --nav-w: 4.5rem;
}
.nav-toggle {
  display: none;
}
@media (min-width: 1024px) {
  .nav-pixel {
    width: var(--nav-w);
    transition: width .2s steps(4);
    overflow: hidden;
  }
  body:has([data-bottom-nav]) {
    padding-left: var(--nav-w);
    padding-bottom: 0;
    transition: padding-left .2s steps(4);
  }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .5rem;
    min-height: 44px;
    padding: .25rem .6rem;
    margin-bottom: 4px;
    font-family: var(--f-pixel);
    font-size: .7rem;
    color: var(--c-muted);
    background: var(--c-surface-2);
    border: 0;
    cursor: pointer;
    box-shadow: var(--frame);
  }
  .nav-toggle:hover {
    color: var(--c-text);
  }
  .nav-toggle .chev {
    font-size: .9rem;
    color: var(--c-accent-2);
  }
  html.nav-collapsed .nav-toggle {
    justify-content: center;
  }
  html.nav-collapsed .nav-toggle .nav-toggle-label, html.nav-collapsed .nav-pixel a > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  html.nav-collapsed .nav-pixel a {
    justify-content: center;
    padding: .5rem 0;
  }
  .nav-pixel a > span {
    white-space: nowrap;
  }
}
@media (max-width: 1023px) {
  body:has([data-bottom-nav]) {
    padding-bottom: calc(6rem + env(safe-area-inset-bottom));
  }
}
.fx-linked-root {
  container-type: inline-size;
}
.fx-linked {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
@container (min-width: 720px) {
  .fx-linked {
    grid-template-columns: minmax(0, 5fr) minmax(0, 3fr);
  }
}
.fx-h {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: .4rem;
}
.fx-chart {
  background: #fff;
  color: #1f2a44;
  border: 1px solid #d9dce5;
  padding: 12px;
  text-align: center;
}
.fx-chart .fx-svg {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
.fx-chart text {
  font: 14px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  fill: #1f2a44;
}
.fx-pill .fx-shape {
  fill: #8cc63f;
}
.fx-pill text {
  fill: #fff;
  font-weight: 600;
}
.fx-io .fx-shape, .fx-proc .fx-shape, .fx-call .fx-shape {
  fill: #ece9fb;
  stroke: #8f86d6;
  stroke-width: 1.5;
}
.fx-dec .fx-shape {
  fill: #1f2a44;
}
.fx-dec text {
  fill: #fff;
}
.fx-bar {
  stroke: #8f86d6;
  stroke-width: 1.5;
}
.fx-multi {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1.25rem 2rem;
}
.fx-chart-item {
  display: grid;
  justify-items: center;
  gap: .35rem;
  min-width: 0;
}
.fx-fn-title {
  font: 600 .85rem ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: #1f2a44;
  padding: .15rem .5rem;
  border: 1px solid transparent;
}
.fx-fn-title.is-fn {
  background: #eef6e2;
  border-color: #8cc63f;
}
.fx-fn-title.is-called {
  background: #fff3d6;
  border-color: #f5a623;
  box-shadow: 0 0 0 2px #f5a623;
}
.fx-edge {
  fill: none;
  stroke: #4a4f5c;
  stroke-width: 1.5;
  stroke-linejoin: miter;
}
.fx-head {
  fill: #4a4f5c;
}
.fx-chart text.fx-label {
  font-size: 13px;
  fill: #4a4f5c;
}
.fx-block[role="button"] {
  cursor: pointer;
  outline: none;
}
.fx-block.is-selected .fx-shape {
  stroke: #f5a623;
  stroke-width: 3.5;
  filter: drop-shadow(0 2px 3px rgba(31, 42, 68, .35));
}
.fx-block:focus-visible .fx-shape {
  stroke: #f5a623;
  stroke-width: 3;
}
@media (prefers-reduced-motion: no-preference) {
  .fx-shape {
    transition: stroke-width .15s linear;
  }
}
.fx-code {
  background: #f7f8fb;
  color: #1f2a44;
  border: 1px solid #d9dce5;
  padding: 8px 0;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.55;
  overflow-x: auto;
}
.fx-line {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  border-left: 6px solid transparent;
  padding: 1px 10px 1px 0;
  cursor: pointer;
  outline: none;
}
.fx-line .fx-src {
  white-space: pre-wrap;
  word-break: normal;
  overflow-wrap: break-word;
  padding-left: 4ch;
  text-indent: -4ch;
}
.fx-line .fx-ln {
  color: #8a90a2;
  text-align: right;
  padding-right: .8rem;
  user-select: none;
}
.fx-line.fx-k-io, .fx-line.fx-k-proc {
  border-left-color: #8f86d6;
}
.fx-line.fx-k-dec {
  border-left-color: #1f2a44;
}
.fx-line.fx-k-fn {
  border-left-color: #8cc63f;
}
.fx-line.fx-k-term {
  border-left-color: #8f86d6;
}
.fx-line.fx-blank {
  cursor: default;
  pointer-events: none;
  min-height: 1.55em;
}
.fx-line.fx-blank:hover {
  background: transparent;
}
.fx-line:hover {
  background: #eef0f6;
}
.fx-line.is-selected {
  background: #fff3d6;
  box-shadow: inset 0 0 0 2px #f5a623;
}
.fx-line:focus-visible {
  box-shadow: inset 0 0 0 2px #f5a623;
}
.fx-kw {
  color: #2e7d32;
  font-weight: 600;
}
.fx-str {
  color: #b45309;
}
.fx-num {
  color: #1565c0;
}
.fx-fn {
  color: #8a6d00;
}
.fx-com {
  color: #8a90a2;
}
.fx-pre {
  background: #f7f8fb;
  color: #1f2a44;
  border: 1px solid #d9dce5;
  padding: 8px 12px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  white-space: pre;
  overflow-x: auto;
}
.clean {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
.clean p + p {
  margin-top: .6rem;
}
.acad-main {
  overflow-x: clip;
}
.acad-head {
  display: grid;
  gap: 1rem;
}
.acad-head__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.acad-sub {
  color: var(--c-muted);
  font-size: 1.05rem;
}
.acad-sums {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
}
.acad-sum {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem;
  background: var(--c-surface-2);
  box-shadow: var(--frame);
  min-width: 0;
}
.acad-sum small {
  display: block;
  font-size: .8rem;
  line-height: 1.2;
  color: var(--c-muted);
}
.acad-sum b {
  font-family: var(--f-pixel);
  font-size: .7rem;
  font-weight: 400;
}
.acad-mission {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--c-surface);
  box-shadow: var(--pixel-shadow), inset 8px 0 0 0 var(--c-gold);
}
.acad-mission__text {
  flex: 1 1 14rem;
  display: grid;
  gap: .25rem;
}
.acad-mission__text b {
  font-family: var(--f-pixel);
  font-size: .7rem;
  font-weight: 400;
  color: var(--c-accent-2);
  text-transform: uppercase;
}
.acad-track {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 3.25rem;
  display: grid;
  gap: 1.25rem;
}
.acad-track::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 1rem;
  bottom: 1rem;
  width: 8px;
  background: var(--c-surface-3);
  box-shadow: var(--frame);
}
.acad-fill {
  position: absolute;
  left: 1.1rem;
  top: 1rem;
  width: 8px;
  height: calc((100% - 2rem) * var(--p, 0));
  background: var(--c-accent);
  box-shadow: inset 0 0 0 2px var(--c-border);
  z-index: 1;
}
.acad-node {
  position: relative;
}
.acad-dot {
  position: absolute;
  left: -52px;
  top: 1rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  z-index: 2;
  font-size: 1.15rem;
  background: var(--c-surface-2);
  box-shadow: var(--frame), inset 0 3px 0 0 var(--hi);
}
.acad-node--done .acad-dot {
  background: var(--c-success);
  color: var(--c-accent-text);
}
.acad-node--current .acad-dot, .acad-node--open .acad-dot {
  background: var(--c-accent);
  color: var(--c-accent-text);
  animation: bob 1.2s steps(2, jump-none) infinite;
}
.acad-node--locked .acad-dot {
  background-image: url("/assets/sprites/ui/dither.png");
  background-size: 8px 8px;
}
.acad-card {
  --tone: var(--c-surface-3);
  display: grid;
  gap: .75rem;
  padding: 1rem 1rem 1rem 1.25rem;
  color: var(--c-text);
  text-decoration: none;
  background: var(--c-surface);
  box-shadow: var(--pixel-shadow), inset 6px 0 0 0 var(--tone);
  transition: transform .12s steps(2);
  min-width: 0;
}
.acad-card--done {
  --tone: var(--c-success);
}
.acad-card--current {
  --tone: var(--c-accent);
}
.acad-card--open {
  --tone: var(--c-accent-2);
}
.acad-card--locked {
  color: var(--c-muted);
  background-image: url("/assets/sprites/ui/dither.png");
  background-size: 8px 8px;
  cursor: not-allowed;
}
.acad-card--locked .acad-card__icon {
  filter: grayscale(1);
  opacity: .6;
}
@media (hover: hover) {
  a.acad-card:hover {
    transform: translateY(-4px);
  }
}
a.acad-card:active {
  transform: translateY(3px);
}
.acad-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
}
.acad-num {
  font-family: var(--f-pixel);
  font-size: .65rem;
  padding: 4px 6px;
  color: var(--c-accent-text);
  background: var(--tone);
  box-shadow: var(--frame);
}
.acad-card--locked .acad-num {
  color: var(--c-text);
}
.acad-card__title {
  flex: 1 1 10rem;
  font-size: .75rem;
  line-height: 1.5;
  text-transform: uppercase;
  min-width: 0;
}
.acad-state--done {
  background: var(--c-success);
  color: var(--c-accent-text);
}
.acad-state--current, .acad-state--open {
  background: var(--c-accent);
  color: var(--c-accent-text);
}
.acad-card__body {
  display: flex;
  gap: .85rem;
  align-items: center;
}
.acad-card__icon {
  flex: none;
  width: 72px;
  height: 72px;
  padding: 4px;
  background: var(--c-surface-2);
  box-shadow: var(--frame);
}
.acad-card__desc {
  font-size: 1.05rem;
  line-height: 1.4;
}
.acad-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
}
.acad-progress {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .75rem;
}
.acad-progress .xp-bar {
  min-width: 0;
}
.acad-pct {
  font-family: var(--f-pixel);
  font-size: .65rem;
  font-weight: 400;
  min-width: 3.2em;
  text-align: right;
}
.acad-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1rem;
}
.acad-seal {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
}
.acad-seal--off .sprite {
  filter: grayscale(1);
  opacity: .5;
}
.acad-unlock {
  font-size: .95rem;
  color: var(--c-accent-2);
}
.acad-card--locked .acad-unlock {
  color: var(--c-muted);
}
.acad-layout {
  display: grid;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .acad-layout {
    grid-template-columns: minmax(0, 1fr) 20rem;
    align-items: start;
  }
  .acad-side {
    position: sticky;
    top: 5rem;
  }
}
.acad-col {
  display: grid;
  gap: 1rem;
  min-width: 0;
}
.acad-back {
  justify-self: start;
}
.acad-h2 {
  font-size: .8rem;
  text-transform: uppercase;
}
.acad-secs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .75rem;
}
.acad-sec {
  background: var(--c-surface);
  box-shadow: var(--pixel-shadow);
  min-width: 0;
}
.acad-sec[data-state="current"] {
  box-shadow: var(--pixel-shadow), inset 6px 0 0 0 var(--c-accent);
}
.acad-sec[data-state="done"] {
  box-shadow: var(--pixel-shadow), inset 6px 0 0 0 var(--c-success);
}
.acad-sec__head {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: .75rem;
  width: 100%;
  min-height: 56px;
  padding: .5rem 1rem .5rem 1.25rem;
  text-align: left;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}
.acad-sec__head:disabled {
  cursor: not-allowed;
  color: var(--c-muted);
}
.acad-sec[data-state="locked"] {
  background-image: url("/assets/sprites/ui/dither.png");
  background-size: 8px 8px;
}
.acad-sec__n {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  font-family: var(--f-pixel);
  font-size: .7rem;
  color: var(--c-accent-text);
  background: var(--c-surface-3);
  box-shadow: var(--frame);
}
.acad-sec[data-state="done"] .acad-sec__n {
  background: var(--c-success);
}
.acad-sec[data-state="current"] .acad-sec__n {
  background: var(--c-accent);
}
.acad-sec__t {
  font-size: 1.05rem;
  min-width: 0;
}
.acad-sec__body {
  display: grid;
  gap: 1rem;
  padding: .25rem 1rem 1rem 1.25rem;
}
.acad-block {
  display: grid;
  gap: .75rem;
  padding: 1rem;
  min-width: 0;
  background: var(--c-bg);
  box-shadow: var(--pixel-shadow-inset);
}
.acad-block__h {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  text-transform: uppercase;
}
.acad-linked {
  min-width: 0;
}
.acad-skeleton {
  display: grid;
  gap: .75rem;
  padding: 1rem;
  background: #fff;
  color: #4a4f5c;
  min-height: 12rem;
}
.acad-linked-status {
  font-family: system-ui, sans-serif;
  font-size: .95rem;
}
.acad-skel-chart {
  display: grid;
  justify-items: center;
  gap: .6rem;
}
.acad-skel-chart i {
  display: block;
  width: 8rem;
  height: 1.6rem;
  background: #e3e6ee;
}
.acad-skel-chart i:nth-child(odd) {
  width: 11rem;
}
.acad-order {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .acad-order {
    grid-template-columns: 1fr 1fr;
  }
}
.acad-slots, .acad-pieces {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .5rem;
}
.acad-slots li {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .75rem;
  border: 2px dashed var(--c-muted);
}
.acad-slots span {
  font-family: var(--f-pixel);
  font-size: .65rem;
  color: var(--c-muted);
}
.fc {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: .55rem 1rem;
  font: 1rem/1.3 system-ui, -apple-system, "Segoe UI", sans-serif;
  text-align: center;
  color: #1f2430;
  background: #ece9fb;
  border: 2px solid #8f86d6;
}
.fc--pill {
  border-radius: 999px;
  background: #8cc63f;
  border-color: #6ea62c;
  color: #10260a;
}
.fc--para {
  border: 0;
  clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%);
  background: #ece9fb;
}
.acad-opts {
  display: grid;
  gap: .5rem;
  border: 0;
  padding: 0;
  margin: 0;
}
.acad-opt {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 44px;
  padding: .4rem .75rem;
  cursor: pointer;
  font: 1rem system-ui, sans-serif;
  background: var(--c-surface-2);
  box-shadow: var(--frame);
}
.acad-opt input {
  width: 20px;
  height: 20px;
  accent-color: var(--c-accent);
}
.acad-opt:has(input:checked) {
  background: var(--c-accent);
  color: var(--c-accent-text);
}
.acad-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}
.acad-msg {
  font: 1rem system-ui, sans-serif;
}
.acad-gain {
  position: absolute;
  left: .5rem;
  top: -1.6rem;
  font-family: var(--f-pixel);
  font-size: .8rem;
  color: var(--c-gold);
  text-shadow: 2px 2px 0 var(--c-border);
  pointer-events: none;
}
.acad-side {
  display: grid;
  gap: 1rem;
  min-width: 0;
}
.acad-side__line {
  font-size: .95rem;
}
.acad-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}
.acad-thumbs i {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--c-surface-3) url("/assets/sprites/ui/dither.png") 0 0 / 8px 8px;
  box-shadow: var(--frame);
}
@media (max-width: 479px) {
  .acad-sum {
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
  }
  .acad-sum small {
    font-size: .72rem;
  }
}
.fx-scroll {
  overflow-x: auto;
}
.fx-scroll-wrap {
  position: relative;
}
.fx-scroll-wrap.has-more::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 28px;
  pointer-events: none;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
}
.fx-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 0;
  margin-bottom: 6px;
}
.fx-hint {
  font: 12px system-ui, sans-serif;
  color: #6a7080;
}
.fx-toggle {
  margin-left: auto;
  font: 600 12px system-ui, sans-serif;
  color: #1f2a44;
  background: #fff;
  border: 1px solid #8f86d6;
  padding: 6px 10px;
  min-height: 36px;
  cursor: pointer;
}
.fx-toggle[aria-pressed="true"] {
  background: #ece9fb;
}
.slides {
  display: grid;
  gap: .5rem;
}
.slides-h {
  font-size: .65rem;
  text-transform: uppercase;
}
.slides-strip {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding: 4px 4px 8px;
}
.slides-thumb {
  flex: none;
  width: 128px;
  min-height: 72px;
  padding: 0;
  display: grid;
  place-items: center;
  background: var(--c-surface-3);
  border: 0;
  cursor: pointer;
  box-shadow: var(--frame);
  color: var(--c-text);
  font-family: var(--f-pixel);
  font-size: .8rem;
}
.slides-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  image-rendering: auto;
}
.slides-note {
  font: .95rem system-ui, sans-serif;
  color: var(--c-muted);
}
.slides-open {
  overflow: hidden;
}
.slides-veil {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: .75rem;
  background: rgb(0 0 0 / .8);
}
.slides-modal {
  display: grid;
  gap: .5rem;
  width: min(100%, 64rem);
  max-height: 100%;
  padding: .75rem;
  background: var(--c-surface);
  box-shadow: var(--pixel-shadow);
}
.slides-modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.slides-count {
  font-family: var(--f-pixel);
  font-size: .7rem;
}
.slides-modal__stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .5rem;
}
.slides-modal__img {
  min-width: 0;
  display: grid;
  place-items: center;
  background: var(--c-bg);
  min-height: 8rem;
}
.slides-big {
  display: block;
  max-width: 100%;
  max-height: 70dvh;
  width: auto;
  height: auto;
  image-rendering: auto;
}
.acad-hintbox {
  display: grid;
  gap: .5rem;
  justify-items: start;
}
.acad-warn {
  font: .95rem system-ui, sans-serif;
  color: var(--c-warning);
}
.acad-hints {
  margin: 0;
  padding-left: 1.2rem;
  list-style: disc;
}
.acad-revisit {
  color: var(--c-muted);
}
.acad-reading {
  color: var(--c-muted);
}
.acad-acts {
  display: grid;
  gap: 1rem;
}
.acad-act__wrap {
  display: grid;
  gap: .35rem;
}
.acad-act__h {
  font-family: var(--f-pixel);
  font-size: .65rem;
  color: var(--c-accent-2);
}
.acad-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--pixel-shadow), inset 8px 0 0 0 var(--c-gold);
}
.acad-badge b {
  font-family: var(--f-pixel);
  font-size: .7rem;
  font-weight: 400;
  color: var(--c-gold);
}
.act-root {
  display: grid;
  gap: .9rem;
  color: var(--c-text);
}
.act-statement {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}
.act-note {
  font-family: system-ui, sans-serif;
  font-size: .85rem;
  color: var(--c-muted);
}
.act-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.act-feedback {
  padding: .75rem 1rem;
  background: #fff;
  color: #1f2a44;
  border: 1px solid #d9dce5;
  border-left-width: 6px;
  font-family: system-ui, sans-serif;
}
.act-feedback--ok {
  border-left-color: #2e9e5b;
}
.act-feedback--no {
  border-left-color: #d64545;
}
.act-feedback--warn {
  border-left-color: #f5a623;
}
.act-feedback-title {
  font-weight: 700;
}
.act-explain {
  margin-top: .4rem;
  line-height: 1.5;
}
.act-root.is-solved .act-statement {
  opacity: .9;
}
.act-sort {
  display: grid;
  gap: .5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.act-item {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) 44px;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .4rem .5rem;
  background: #fff;
  color: #1f2a44;
  border: 1px solid #d9dce5;
  cursor: pointer;
  outline: none;
  touch-action: pan-y;
}
.act-item .act-num {
  font: 700 .8rem system-ui, sans-serif;
  color: #6a7080;
  text-align: center;
}
.act-item .act-body {
  min-width: 0;
  display: grid;
  justify-items: center;
}
.act-order--ordenar_python .act-body, .act-order--ordenar_lista .act-body {
  justify-items: stretch;
}
.act-grip {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  color: #6a7080;
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.act-item:focus-visible, .act-item.is-selected {
  box-shadow: 0 0 0 3px #f5a623;
}
.act-item.is-grabbed {
  box-shadow: 0 0 0 3px #1f78c1;
  background: #eef6ff;
}
.act-item.is-dragging {
  position: relative;
  z-index: 5;
  box-shadow: 0 6px 14px rgba(31, 42, 68, .35);
  opacity: .95;
  cursor: grabbing;
}
.act-item.is-wrong, .act-link-card.is-wrong, .act-option.is-wrong, .act-blank.is-wrong {
  box-shadow: 0 0 0 3px #d64545;
}
.act-item.is-locked {
  cursor: default;
}
.act-item.is-locked .act-grip {
  opacity: .35;
  cursor: default;
}
.act-text {
  font-family: system-ui, sans-serif;
  line-height: 1.4;
}
.act-shape {
  position: relative;
  display: inline-block;
  isolation: isolate;
  padding: .55rem 1.1rem;
  font: 14px/1.35 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #1f2a44;
  text-align: center;
  max-width: 100%;
}
.act-shape::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #ece9fb;
  border: 1.5px solid #8f86d6;
}
.act-shape--io::before {
  transform: skewX(-14deg);
}
.act-shape--io {
  padding-inline: 1.6rem;
}
.act-shape--dec {
  color: #fff;
  padding: 1.2rem 2.2rem;
}
.act-shape--dec::before {
  background: #1f2a44;
  border: 0;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.act-shape--fn::before, .act-shape--term::before {
  background: #8cc63f;
  border: 0;
  border-radius: 999px;
}
.act-shape--fn, .act-shape--term {
  color: #fff;
  font-weight: 600;
  padding-inline: 1.4rem;
}
.act-shape--call {
  padding-inline: 1.6rem;
}
.act-shape--call::before {
  background: linear-gradient(#8f86d6, #8f86d6) 9px 0 / 1.5px 100% no-repeat, linear-gradient(#8f86d6, #8f86d6) calc(100% - 9px) 0 / 1.5px 100% no-repeat, #ece9fb;
}
.act-shape-text {
  display: inline;
}
.act-code {
  font: 14px/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: #f7f8fb;
  color: #1f2a44;
  border-left: 6px solid #8f86d6;
  padding: .35rem .6rem;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}
.act-code.fx-k-dec {
  border-left-color: #1f2a44;
}
.act-blanks {
  display: grid;
  gap: .75rem;
}
.act-blank-card {
  display: grid;
  gap: .25rem;
}
.act-side {
  font: .7rem system-ui, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.act-blank {
  display: inline-block;
  width: 7ch;
  min-width: 5ch;
  min-height: 36px;
  margin: 0 .2rem;
  padding: .15rem .4rem;
  font: inherit;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  color: #1f2a44;
  background: #fff;
  border: 2px solid #8f86d6;
  text-align: center;
}
.act-blank:focus {
  outline: 3px solid #f5a623;
  outline-offset: 1px;
}
.act-shape--dec .act-blank {
  color: #1f2a44;
}
.act-question {
  font: 600 1rem system-ui, sans-serif;
}
.act-options {
  display: grid;
  gap: .5rem;
}
.act-option {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 48px;
  padding: .5rem .75rem;
  text-align: left;
  font: 1rem/1.4 system-ui, sans-serif;
  color: #1f2a44;
  background: #fff;
  border: 1px solid #d9dce5;
  cursor: pointer;
}
.act-option .act-mark {
  width: 22px;
  height: 22px;
  flex: none;
  border: 2px solid #8f86d6;
  border-radius: 50%;
  background: #fff;
}
.act-option[role="checkbox"] .act-mark {
  border-radius: 3px;
}
.act-option.is-selected {
  background: #ece9fb;
  border-color: #8f86d6;
}
.act-option.is-selected .act-mark {
  background: #8f86d6;
  box-shadow: inset 0 0 0 4px #fff;
}
.act-option:focus-visible {
  outline: 3px solid #f5a623;
}
.act-option:disabled {
  cursor: default;
  opacity: .85;
}
.act-example {
  margin-bottom: .75rem;
}
.act-ligar {
  position: relative;
  display: grid;
  gap: .5rem 1.25rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}
.act-ligar--wide {
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 3rem;
}
.act-col {
  display: grid;
  gap: .5rem;
  min-width: 0;
}
.act-col--right {
  align-content: center;
}
.act-link-card {
  position: relative;
  display: grid;
  gap: .25rem;
  justify-items: center;
  min-height: 44px;
  padding: .4rem;
  background: #fff;
  color: #1f2a44;
  border: 1px solid #d9dce5;
  border-left: 6px solid var(--pair, transparent);
  cursor: pointer;
  outline: none;
}
.act-link-card .act-code {
  width: 100%;
}
.act-link-card.is-selected, .act-link-card:focus-visible {
  box-shadow: 0 0 0 3px #f5a623;
}
.act-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font: 700 .75rem system-ui, sans-serif;
  color: #fff;
  border-radius: 50%;
  background: #8f86d6;
}
.act-links {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}
.act-link, .act-rubber {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}
.act-rubber {
  stroke: #f5a623;
  stroke-dasharray: 6 5;
}
.act-ligar--wide .fx-chart {
  padding: 8px;
}
.act-ligar--wide .fx-block.act-target {
  cursor: pointer;
}
.act-ligar--wide .fx-block.is-paired .fx-shape {
  stroke: var(--pair);
  stroke-width: 3.5;
}
.act-ligar--wide .fx-block.is-wrong .fx-shape {
  stroke: #d64545;
  stroke-width: 4;
}
.act-ligar--wide .fx-block.act-inert {
  opacity: .55;
  cursor: default;
  pointer-events: none;
}
.act-ligar.is-locked .act-link-card, .act-ligar.is-locked .fx-block {
  cursor: default;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .act-item {
    transition: box-shadow .12s linear;
  }
}
@media (max-width: 639px) {
  .slides-modal__stage {
    grid-template-columns: 1fr 1fr;
  }
  .slides-modal__img {
    grid-column: 1 / -1;
    order: -1;
  }
}
[data-theme="campus"] .scene-host {
  background: linear-gradient(var(--cs1, #6db8ee), var(--cs2, #e4f4ff));
}
[data-theme="campus"] .scene-host::before {
  background: var(--scene-img) center top / auto 100% no-repeat, linear-gradient(to bottom, transparent 18%, #86b850 18%);
  image-rendering: pixelated;
}
.campus-hs {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.campus-hs__btn {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  padding: .25rem .6rem .25rem .35rem;
  white-space: nowrap;
  cursor: pointer;
  font-family: var(--f-pixel);
  font-size: .55rem;
  line-height: 1.3;
  color: var(--c-text);
  background: var(--c-surface);
  border: 0;
  box-shadow: var(--pixel-shadow), inset 0 3px 0 0 var(--hi);
  will-change: transform;
}
.campus-hs__btn .sprite {
  width: 24px;
  height: 24px;
}
.campus-hs__btn small {
  font-family: var(--f-ui);
  font-size: .75rem;
  color: var(--c-muted);
}
.campus-hs__btn.is-active, .campus-hs__btn:focus-visible {
  background: var(--c-accent);
  color: var(--c-accent-text);
  outline: 4px solid var(--c-accent-2);
  outline-offset: 2px;
  z-index: 2;
}
.campus-hs__btn.is-active small {
  color: var(--c-accent-text);
}
.campus-hs__btn.is-soon {
  opacity: .88;
}
@media (max-width: 639px) {
  [data-theme="campus"] .hero:not(.hero--short) {
    min-height: 270px;
  }
  .campus-hs__btn span, .campus-hs__btn small {
    display: none;
  }
  .campus-hs__btn {
    min-width: 44px;
    justify-content: center;
    padding: .25rem;
  }
  .campus-hs__btn.is-active span {
    display: inline;
  }
}
.campus-confirm {
  position: absolute;
  left: .75rem;
  right: .75rem;
  bottom: 1.25rem;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  padding: .75rem;
  background: var(--c-surface);
  box-shadow: var(--pixel-shadow);
  font-family: var(--f-ui);
}
.campus-confirm b {
  flex: 1 1 100%;
  font-family: var(--f-pixel);
  font-size: .65rem;
  font-weight: 400;
}
[data-theme="campus"] .hero--short {
  min-height: 420px;
}
[data-theme="campus"] .hero--short > .scene-content {
  min-height: 380px;
}
@media (min-width: 768px) {
  [data-theme="campus"] .hero--short {
    min-height: 470px;
  }
  [data-theme="campus"] .hero--short > .scene-content {
    min-height: 430px;
  }
}
[data-theme="campus"] .scene-host > .scene-content {
  pointer-events: none;
}
[data-theme="campus"] .scene-host > .scene-content > * {
  pointer-events: auto;
}
.campus-hs__btn {
  transform: translate(0, 0);
}
[data-theme="campus"] .scene-host {
  margin-bottom: .5rem;
  overflow: hidden;
  contain: paint;
}
.extra-sub {
  color: var(--c-muted);
  font-size: 1.05rem;
}
.extra-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .extra-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.extra-card {
  --tone: var(--c-accent);
  position: relative;
  display: grid;
  gap: .75rem;
  padding: 1.25rem 1rem 1rem;
  color: var(--c-text);
  text-decoration: none;
  background: var(--c-surface);
  box-shadow: var(--pixel-shadow), inset 0 8px 0 0 var(--tone);
  transition: transform .12s steps(2);
  min-width: 0;
}
.extra-card[data-tone="1"] {
  --tone: var(--c-team-0);
}
.extra-card[data-tone="4"] {
  --tone: var(--c-team-4);
}
@media (hover: hover) {
  .extra-card:hover {
    transform: translateY(-4px);
  }
}
.extra-card:active {
  transform: translateY(3px);
}
.extra-card__top {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-top: .35rem;
}
.extra-card__icon {
  flex: none;
  width: 72px;
  height: 72px;
  padding: 4px;
  background: var(--c-surface-2);
  box-shadow: var(--frame);
}
.extra-card__title {
  font-size: 1rem;
  text-transform: uppercase;
}
.extra-card__tag {
  font-size: 1rem;
  color: var(--c-accent-2);
}
.extra-card__desc {
  font-size: 1.02rem;
  line-height: 1.4;
}
.extra-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  min-height: 32px;
}
.extra-stats .chip small {
  font-family: var(--f-ui);
  font-size: .8rem;
  color: var(--c-muted);
}
.extra-note {
  font-size: .95rem;
  color: var(--c-muted);
}
.extra-card__cta {
  justify-self: start;
}
.extra-rules {
  margin: 0;
  padding-left: 1.2rem;
  list-style: square;
  display: grid;
  gap: .4rem;
}
.extra-teacher label > span {
  font-size: .95rem;
  color: var(--c-muted);
}
.extra-check {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 44px;
}
.extra-check input {
  width: 22px;
  height: 22px;
  accent-color: var(--c-accent);
}
.pk-root {
  display: grid;
  gap: .6rem;
}
.pk-table {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 6.4;
  max-height: 72dvh;
  margin-inline: auto;
  container-type: inline-size;
}
@media (min-width: 768px) {
  .pk-table {
    aspect-ratio: 16 / 10;
    max-height: 70dvh;
  }
}
.pk-felt {
  position: absolute;
  inset: 5% 2%;
  background: var(--c-success);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--c-success) 42%, #0b2a14);
  }
  box-shadow: inset 0 0 0 4px var(--c-success);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--c-success) 60%, #0b2a14);
  }
  clip-path: polygon(18% 0, 82% 0, 82% 3%, 92% 3%, 92% 9%, 97% 9%, 97% 18%, 100% 18%, 100% 82%, 97% 82%, 97% 91%, 92% 91%, 92% 97%, 82% 97%, 82% 100%, 18% 100%, 18% 97%, 8% 97%, 8% 91%, 3% 91%, 3% 82%, 0 82%, 0 18%, 3% 18%, 3% 9%, 8% 9%, 8% 3%, 18% 3%);
}
.pk-felt::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 6px);
}
.pk-center {
  position: absolute;
  left: 50%;
  top: 38%;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: .35rem;
  width: 92%;
}
.pk-board {
  display: flex;
  gap: 3px;
  justify-content: center;
}
.pk-pot {
  display: grid;
  justify-items: center;
  gap: .1rem;
  color: #fff;
  font: 600 .75rem system-ui, sans-serif;
  text-shadow: 0 1px 0 #000a;
}
.pk-sidepots {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .65rem;
  opacity: .9;
}
.pk-seats {
  position: absolute;
  inset: 0;
}
.pk-seat {
  position: absolute;
  transform: translate(-50%, -50%);
  width: clamp(64px, 19cqw, 108px);
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 3px;
  background: var(--c-surface);
  color: var(--c-text);
  box-shadow: var(--frame, 0 0 0 2px var(--c-border));
  font: 600 .68rem system-ui, sans-serif;
  z-index: 2;
}
.pk-seat.is-me {
  outline: 2px solid var(--c-accent);
}
.pk-seat.is-turn {
  outline: 3px solid #f5a623;
  z-index: 3;
}
.pk-seat.is-folded {
  opacity: .5;
}
.pk-seat.is-away {
  filter: grayscale(.6);
}
.pk-seat.is-empty {
  background: transparent;
  box-shadow: none;
  min-height: 44px;
}
.pk-seat-top {
  display: flex;
  align-items: center;
  gap: 3px;
  max-width: 100%;
}
.pk-av {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
}
.pk-av .sprite {
  width: 18px;
  height: 18px;
  image-rendering: pixelated;
}
.pk-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 7ch;
}
.pk-badge {
  display: inline-grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  background: #fff;
  color: #1f2a44;
  font: 700 .6rem system-ui;
  box-shadow: 0 0 0 1px #1f2a44;
}
.pk-tag {
  font-size: .6rem;
  padding: 0 3px;
  background: var(--c-surface-2);
}
.pk-tag--allin {
  background: var(--c-danger);
  color: var(--c-accent-text);
}
.pk-seatcards {
  display: flex;
  gap: 2px;
}
.pk-sit {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  background: var(--c-surface);
  color: var(--c-accent);
  border: 0;
  cursor: pointer;
  box-shadow: var(--frame, 0 0 0 2px var(--c-border));
  font: 700 1rem system-ui;
}
.pk-sit small {
  font-size: .55rem;
}
.pk-empty {
  color: rgba(255,255,255,.35);
}
.pk-bet {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.pk-timer {
  display: block;
  width: 100%;
  height: 4px;
  background: var(--c-border);
}
.pk-timer-fill {
  display: block;
  height: 100%;
  background: var(--c-accent);
}
.pk-timer-fill.is-danger {
  background: var(--c-danger);
}
.pk-turnline {
  min-height: 1.4rem;
  text-align: center;
  font: 600 .85rem system-ui, sans-serif;
  color: var(--c-muted);
}
.pk-turnline.is-mine {
  color: var(--c-accent);
}
.pk-turnline.is-danger {
  color: var(--c-danger);
}
.pk-fly {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}
.pk-chip--fly {
  position: absolute;
  left: 0;
  top: 0;
}
.pk-chipwrap {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
}
.pk-chips {
  display: inline-flex;
  flex-direction: column-reverse;
  align-items: center;
  min-width: 16px;
}
.pk-chip {
  display: block;
  width: 16px;
  height: 16px;
  margin-top: -11px;
  image-rendering: pixelated;
}
.pk-chip:first-child {
  margin-top: 0;
}
.pk-chip--c1 {
  background: #f2efe4;
}
.pk-chip--c2 {
  background: #c23b3b;
}
.pk-chip--c3 {
  background: #2f6fbd;
}
.pk-chip--c4 {
  background: #2e9e5b;
}
.pk-chip--c5 {
  background: #1f2a44;
}
.pk-amt {
  font: 700 .68rem system-ui, sans-serif;
}
.pk-bet .pk-amt, .pk-pot .pk-amt {
  color: #fff;
  text-shadow: 0 1px 0 #000a;
}
.pk-card {
  position: relative;
  display: inline-block;
  flex: none;
  background: #f7f3e6;
  color: #1f2a44;
  box-shadow: 0 0 0 2px #1f2a44, 0 3px 0 2px #1f2a44;
  image-rendering: pixelated;
  font-family: var(--f-pixel, monospace);
}
.pk-card.is-red {
  color: #c23b3b;
}
.pk-card--xl {
  width: 96px;
  height: 128px;
}
.pk-card--lg {
  width: 48px;
  height: 64px;
}
.pk-card--md {
  width: 48px;
  height: 64px;
}
.pk-card--sm {
  width: 24px;
  height: 32px;
}
.pk-card--xs {
  width: 24px;
  height: 32px;
}
.pk-card--sprite {
  background: none;
  box-shadow: none;
}
.pk-sprite {
  display: block;
  image-rendering: pixelated;
  width: 100%;
  height: 100%;
}
.pk-card--xl:not(.pk-card--sprite) .pk-rank {
  font-size: 16px;
}
.pk-rank {
  position: absolute;
  left: 3px;
  top: 3px;
  font-weight: 700;
  line-height: 1;
  font-size: 13px;
}
.pk-card--md .pk-rank {
  font-size: 10px;
}
.pk-card--sm .pk-rank {
  font-size: 8px;
}
.pk-card--xs .pk-rank {
  font-size: 7px;
  left: 1px;
  top: 1px;
}
.pk-suit {
  image-rendering: pixelated;
}
.pk-suit--small {
  position: absolute;
  left: 3px;
  top: 19px;
  width: 10px;
  height: auto;
}
.pk-suit--big {
  position: absolute;
  left: 50%;
  top: 56%;
  width: 28px;
  height: auto;
  transform: translate(-50%, -50%);
}
.pk-card--md .pk-suit--small {
  top: 14px;
  width: 8px;
}
.pk-card--md .pk-suit--big {
  width: 20px;
}
.pk-card--sm .pk-suit--small, .pk-card--sm .pk-suit--big, .pk-card--xs .pk-suit--big {
  display: none;
}
.pk-card--sm .pk-rank {
  font-size: 10px;
}
.pk-card--xs .pk-suit--small {
  top: 10px;
  left: 1px;
  width: 6px;
}
.pk-card--back {
  background: #2f4a8a;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.22) 0 2px, transparent 2px 5px), repeating-linear-gradient(-45deg, rgba(255,255,255,.12) 0 2px, transparent 2px 5px);
}
.pk-back-mark {
  position: absolute;
  inset: 22% 24%;
  background: #f7f3e6;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  opacity: .85;
}
.pk-card--slot {
  background: transparent;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.28);
}
.pk-me {
  display: grid;
  justify-items: center;
  gap: .25rem;
  min-height: 100px;
}
.pk-hole {
  display: flex;
  gap: .5rem;
}
.pk-hole.is-folded {
  opacity: .45;
}
.pk-hole-info {
  font: .8rem system-ui, sans-serif;
  color: var(--c-muted);
  min-height: 1.1rem;
}
.pk-actions {
  display: grid;
  gap: .5rem;
  padding: .5rem;
  background: var(--c-surface);
  box-shadow: var(--frame, 0 0 0 2px var(--c-border));
}
.pk-actions:not(.is-mine) {
  opacity: .75;
}
.pk-quickrow {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}
.pk-quickrow .pk-slider {
  flex: 1 1 100%;
}
.pk-quick {
  min-height: 44px;
  padding-inline: .6rem;
}
.pk-raise-out {
  margin-left: auto;
  font: 700 1rem var(--f-pixel, monospace);
  color: var(--c-accent);
}
.pk-slider {
  width: 100%;
  min-height: 44px;
  accent-color: var(--c-accent);
}
.pk-btnrow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(5.75rem, 1fr));
  gap: .4rem;
}
.pk-btn {
  min-height: 52px;
  font-size: .72rem;
  padding-inline: .4rem;
  min-width: 0;
  white-space: normal;
  text-wrap: balance;
}
.pk-hint {
  text-align: center;
  font: .9rem system-ui, sans-serif;
  color: var(--c-muted);
}
.pk-log {
  list-style: none;
  margin: 0;
  padding: .4rem .6rem;
  display: grid;
  gap: 2px;
  background: var(--c-surface);
  font: .75rem system-ui, sans-serif;
  color: var(--c-muted);
  min-height: 3rem;
}
.pk-log li:last-child {
  color: var(--c-text);
  font-weight: 600;
}
.pk-dialog {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, .55);
}
.pk-dialog > .panel-pixel {
  width: min(26rem, 100%);
}
@media (min-width: 768px) {
  .pk-center {
    top: 51%;
  }
  .pk-root {
    grid-template-columns: minmax(0, 1fr) 20rem;
    align-items: start;
  }
  .pk-root .pk-table {
    grid-column: 1;
    grid-row: 1 / span 4;
  }
  .pk-seat {
    font-size: .8rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pk-seat, .pk-card {
    transition: none;
  }
}
.bit-layout {
  display: grid;
  gap: .6rem;
  --rh: 2.25rem;
}
.bit-side, .bit-board, .bit-ctl {
  padding: .5rem;
}
.bit-board {
  position: relative;
}
.bit-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
  margin: 0;
}
.bit-stats div {
  display: grid;
  gap: .25rem;
  text-align: center;
  min-width: 0;
}
.bit-stats dt {
  font-size: .75rem;
  color: var(--c-muted);
}
.bit-stats dd {
  margin: 0;
  font-family: var(--f-pixel);
  font-size: .8rem;
  color: var(--c-accent-2);
}
.bit-btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin-top: .6rem;
}
.bit-btns .btn-pixel {
  padding: .4rem .25rem;
  font-size: .55rem;
}
.bit-note {
  font-size: .9rem;
  color: var(--c-muted);
  margin: 0;
}
.bit-head, .bit-row {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)) 3.6rem;
  gap: 2px;
}
.bit-head {
  margin-bottom: 4px;
}
.bit-head__w {
  text-align: center;
  font-family: var(--f-pixel);
  font-size: .5rem;
  line-height: 1.6;
  color: var(--c-muted);
  overflow: hidden;
}
.bit-stage__rows {
  position: relative;
  overflow: hidden;
  height: calc(var(--cap, 7) * var(--rh));
  background: var(--c-bg);
  box-shadow: var(--pixel-shadow-inset);
}
.bit-danger {
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--rh);
  background: repeating-linear-gradient(135deg, var(--c-danger) 0 8px, var(--c-surface) 8px 16px);
  opacity: .55;
}
.bit-row {
  position: absolute;
  inset: 0 2px auto 2px;
  height: calc(var(--rh) - 4px);
  will-change: transform;
}
.bit-row.is-active {
  outline: 3px solid var(--c-accent-2);
  outline-offset: 1px;
  z-index: 2;
}
.bit-row.is-danger:not(.is-active) .bit-val {
  color: var(--c-danger);
}
.bit-row.is-cleared {
  opacity: 0;
}
.bit-cell, .bit-val {
  display: grid;
  place-items: center;
  background: var(--c-surface-3);
  box-shadow: inset 0 3px 0 0 var(--hi), inset 0 -3px 0 0 var(--lo);
  font-family: var(--f-pixel);
  font-size: .7rem;
  color: var(--c-muted);
}
.bit-cell::before {
  content: "0";
}
.bit-cell.is-on {
  background: var(--c-accent);
  color: var(--c-accent-text);
}
.bit-cell.is-on::before {
  content: "1";
}
.bit-cell.is-cursor {
  outline: 3px solid var(--c-accent-2);
  outline-offset: -3px;
}
.bit-row[data-kind="d2b"].is-active .bit-cell {
  cursor: pointer;
}
.bit-val {
  background: var(--c-surface-2);
  color: var(--c-text);
  font-size: .8rem;
}
.bit-row.is-active .bit-val {
  color: var(--c-accent-2);
}
.bit-void {
  background: transparent;
}
.bit-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}
.bit-px {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--c-accent-2);
  animation: bit-burst .55s steps(6) both;
}
.bit-px:nth-child(3n) {
  background: var(--c-accent);
}
.bit-px:nth-child(3n+1) {
  background: var(--c-text);
}
@keyframes bit-burst {
  to {
    transform: translate(var(--dx), var(--dy));
    opacity: 0;
  }
}
.bit-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  background: var(--c-text);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--c-text) 82%, transparent);
  }
  text-align: center;
  color: var(--c-bg);
}
.bit-ctl {
  display: grid;
  gap: .6rem;
}
.bit-now {
  margin: 0;
  text-align: left;
  font-family: var(--f-pixel);
  font-size: .8rem;
  color: var(--c-accent-2);
}
.bit-line {
  display: grid;
  grid-template-columns: 1fr 5.5rem;
  gap: .5rem;
  align-items: center;
}
.bit-line:has(.bit-input[hidden]) {
  grid-template-columns: 1fr;
}
.bit-ctl {
  gap: .4rem;
}
.bit-input {
  text-align: center;
  font-family: var(--f-pixel);
  font-size: 1.1rem;
}
.bit-numpad {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .4rem;
}
.bit-key {
  padding: .3rem;
  font-size: .8rem;
}
.bit-switches {
  display: flex;
  gap: .3rem;
  justify-content: center;
}
.bit-sw {
  flex: 1 1 0;
  max-width: 3.4rem;
  min-height: 56px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: .2rem 0;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font-family: var(--f-pixel);
  background: var(--c-surface-3);
  color: var(--c-muted);
  box-shadow: var(--frame), inset 0 3px 0 0 var(--hi), inset 0 -3px 0 0 var(--lo);
}
.bit-sw b {
  font-size: .9rem;
  font-weight: 400;
}
.bit-sw small {
  font-size: .5rem;
}
.bit-sw[aria-pressed="true"] {
  background: var(--c-accent);
  color: var(--c-accent-text);
}
.bit-sw.is-cursor {
  outline: 3px solid var(--c-accent-2);
  outline-offset: 2px;
}
.bit-ok {
  width: 100%;
}
.bit-intro, .bit-result {
  display: grid;
  gap: .8rem;
}
.bit-howto {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: .4rem;
  list-style: square;
}
.bit-over {
  display: grid;
  gap: 1rem;
}
.bit-big {
  margin: 0;
  font-family: var(--f-pixel);
  font-size: 2rem;
  color: var(--c-accent-2);
}
.bit-stats--res {
  grid-template-columns: repeat(3, 1fr);
}
.bit-top {
  margin: .6rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .3rem;
}
.bit-top__row {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: .5rem;
  align-items: center;
  min-height: 36px;
  padding: 0 .5rem;
  background: var(--c-surface-2);
}
.bit-top__row.is-me {
  background: var(--c-accent);
  color: var(--c-accent-text);
}
@media (min-width: 640px) {
  .bit-layout {
    --rh: 3rem;
  }
  .bit-cell {
    font-size: .9rem;
  }
  .bit-head__w {
    font-size: .6rem;
  }
}
@media (min-width: 900px) {
  .bit-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
  }
  .bit-board {
    grid-column: 1;
    grid-row: 1;
  }
  .bit-ctl {
    grid-column: 1;
    grid-row: 2;
  }
  .bit-side {
    grid-column: 2;
    grid-row: 1 / span 2;
    position: sticky;
    top: 1rem;
  }
  .bit-stats {
    grid-template-columns: 1fr 1fr;
  }
  .bit-btns {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bit-px {
    animation: none;
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-tracking {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-tracking: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}
