/*! tailwindcss v4.2.2 | 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";
--font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
--spacing: 0.25rem;
--container-md: 28rem;
--container-6xl: 72rem;
--text-sm: 0.875rem;
--text-sm--line-height: calc(1.25 / 0.875);
--text-lg: 1.125rem;
--text-lg--line-height: calc(1.75 / 1.125);
--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;
--text-6xl: 3.75rem;
--text-6xl--line-height: 1;
--text-7xl: 4.5rem;
--text-7xl--line-height: 1;
--text-8xl: 6rem;
--text-8xl--line-height: 1;
--tracking-wide: 0.025em;
--default-font-family: var(--font-sans);
--default-mono-font-family: var(--font-mono);
--color-ground: oklch(0.15 0.05 295);
--color-ground-deep: oklch(0.12 0.04 295);
--color-card: oklch(0.22 0.07 295);
--color-card-2: oklch(0.28 0.08 295);
--color-line: oklch(0.38 0.1 295);
--color-ink: oklch(0.95 0.02 300);
--color-mute: oklch(0.80 0.06 300);
--color-accent: oklch(0.72 0.19 50);
--color-accent-hover: oklch(0.77 0.17 55);
--color-accent-shadow: oklch(0.45 0.13 45);
--color-accent-ink: oklch(0.2 0.05 45);
--color-secondary: oklch(0.70 0.16 255);
--color-lime: oklch(0.90 0.2 125);
--color-danger: oklch(0.68 0.2 22);
--font-display: "Creepster", "Arial Black", system-ui, sans-serif;
--font-body: "DM Sans", system-ui, sans-serif;
}
}
@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;
}
::-webkit-calendar-picker-indicator {
line-height: 1;
}
:-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 {
.mx-auto {
margin-inline: auto;
}
.mt-2 {
margin-top: calc(var(--spacing) * 2);
}
.mt-3 {
margin-top: calc(var(--spacing) * 3);
}
.mt-4 {
margin-top: calc(var(--spacing) * 4);
}
.mt-6 {
margin-top: calc(var(--spacing) * 6);
}
.mt-8 {
margin-top: calc(var(--spacing) * 8);
}
.mt-10 {
margin-top: calc(var(--spacing) * 10);
}
.flex {
display: flex;
}
.grid {
display: grid;
}
.inline-block {
display: inline-block;
}
.h-16 {
height: calc(var(--spacing) * 16);
}
.min-h-screen {
min-height: 100vh;
}
.max-w-6xl {
max-width: var(--container-6xl);
}
.max-w-md {
max-width: var(--container-md);
}
.flex-1 {
flex: 1;
}
.flex-col {
flex-direction: column;
}
.place-items-center {
place-items: center;
}
.items-center {
align-items: center;
}
.justify-center {
justify-content: center;
}
.gap-6 {
gap: calc(var(--spacing) * 6);
}
.rounded {
border-radius: 0.25rem;
}
.border-t {
border-top-style: var(--tw-border-style);
border-top-width: 1px;
}
.border-b {
border-bottom-style: var(--tw-border-style);
border-bottom-width: 1px;
}
.border-line\/60 {
border-color: color-mix(in srgb, oklch(0.38 0.1 295) 60%, transparent);
@supports (color: color-mix(in lab, red, red)) {
border-color: color-mix(in oklab, var(--color-line) 60%, transparent);
}
}
.px-4 {
padding-inline: calc(var(--spacing) * 4);
}
.px-5 {
padding-inline: calc(var(--spacing) * 5);
}
.py-2 {
padding-block: calc(var(--spacing) * 2);
}
.py-12 {
padding-block: calc(var(--spacing) * 12);
}
.py-24 {
padding-block: calc(var(--spacing) * 24);
}
.text-center {
text-align: center;
}
.font-display {
font-family: var(--font-display);
}
.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-5xl {
font-size: var(--text-5xl);
line-height: var(--tw-leading, var(--text-5xl--line-height));
}
.text-6xl {
font-size: var(--text-6xl);
line-height: var(--tw-leading, var(--text-6xl--line-height));
}
.text-7xl {
font-size: var(--text-7xl);
line-height: var(--tw-leading, var(--text-7xl--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));
}
.tracking-wide {
--tw-tracking: var(--tracking-wide);
letter-spacing: var(--tracking-wide);
}
.text-ink {
color: var(--color-ink);
}
.text-mute {
color: var(--color-mute);
}
.underline {
text-decoration-line: underline;
}
.underline-offset-4 {
text-underline-offset: 4px;
}
.hover\:text-ink {
&:hover {
@media (hover: hover) {
color: var(--color-ink);
}
}
}
.hover\:text-lime {
&:hover {
@media (hover: hover) {
color: var(--color-lime);
}
}
}
.active\:text-ink {
&:active {
color: var(--color-ink);
}
}
.active\:text-lime {
&:active {
color: var(--color-lime);
}
}
.md\:px-8 {
@media (width >= 48rem) {
padding-inline: calc(var(--spacing) * 8);
}
}
.md\:text-7xl {
@media (width >= 48rem) {
font-size: var(--text-7xl);
line-height: var(--tw-leading, var(--text-7xl--line-height));
}
}
.md\:text-8xl {
@media (width >= 48rem) {
font-size: var(--text-8xl);
line-height: var(--tw-leading, var(--text-8xl--line-height));
}
}
}
html {
background: var(--color-ground);
scroll-padding-top: 80px;
}
body {
overflow-x: clip;
font-family: var(--font-body);
font-size: 17px;
color: var(--color-ink);
background: radial-gradient(900px 600px at 10% -5%, oklch(0.70 0.16 255 / 0.18), transparent 60%), radial-gradient(800px 600px at 95% 10%, oklch(0.60 0.2 300 / 0.20), transparent 60%), var(--color-ground);
}
body.no-scroll {
overflow: hidden;
}
::selection {
background: var(--color-accent);
color: var(--color-accent-ink);
}
.stars::before {
content: "";
position: fixed;
inset: 0;
z-index: -1;
pointer-events: none;
background-image: radial-gradient(oklch(0.85 0.06 280 / 0.14) 1px, transparent 1.2px);
background-size: 30px 30px;
-webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 25%, transparent 80%);
mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 25%, transparent 80%);
}
.title-glow {
background: linear-gradient(180deg, oklch(0.82 0.1 250) 15%, var(--color-secondary) 55%, oklch(0.64 0.2 295));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
:where(a, button):focus-visible {
outline: 3px solid var(--color-lime);
outline-offset: 3px;
}
.tab {
display: inline-flex;
align-items: center;
gap: 8px;
min-height: 48px;
padding: 10px 16px;
white-space: nowrap;
border: 2px solid var(--color-line);
border-bottom-width: 4px;
border-radius: 14px;
background: var(--color-card);
font-weight: 700;
color: var(--color-mute);
transition: transform .1s, background-color .15s;
}
.tab:hover {
background: var(--color-card-2);
color: var(--color-ink);
}
.tab:active {
transform: translateY(2px);
border-bottom-width: 2px;
}
.tab[aria-pressed="true"] {
border-color: var(--color-accent);
color: var(--color-ink);
background: oklch(0.72 0.19 50 / 0.16);
}
.unit {
border-radius: 18px;
padding: 18px 20px;
background: oklch(0.70 0.16 255 / 0.16);
border: 2px solid oklch(0.70 0.16 255 / 0.45);
}
.node-wrap {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
width: 120px;
margin: 0 auto;
}
.node {
--sh: oklch(0.18 0.05 295);
width: 76px;
height: 70px;
border-radius: 50%;
display: grid;
place-items: center;
font-size: 28px;
font-weight: 700;
box-shadow: 0 7px 0 var(--sh);
transition: transform .1s, box-shadow .1s;
}
.node:not(:disabled):hover {
transform: translateY(-2px);
box-shadow: 0 9px 0 var(--sh);
}
.node:not(:disabled):active {
transform: translateY(5px);
box-shadow: 0 2px 0 var(--sh);
}
.node-current {
--sh: var(--color-accent-shadow);
background: var(--color-accent);
color: var(--color-accent-ink);
width: 88px;
height: 80px;
font-size: 32px;
}
.node-done {
--sh: oklch(0.55 0.15 130);
background: var(--color-lime);
color: oklch(0.2 0.06 130);
}
.node-locked {
background: var(--color-card-2);
color: var(--color-mute);
cursor: not-allowed;
}
.node-ring {
padding: 7px;
border-radius: 50%;
border: 4px solid oklch(0.72 0.19 50 / 0.45);
}
.node-label {
margin-top: 14px;
font-size: 14px;
font-weight: 700;
color: var(--color-mute);
text-align: center;
}
.start-bubble {
position: absolute;
top: -50px;
left: 50%;
transform: translateX(-50%);
white-space: nowrap;
pointer-events: none;
background: var(--color-accent);
color: var(--color-accent-ink);
font-weight: 700;
font-size: 14px;
letter-spacing: .08em;
text-transform: uppercase;
padding: 8px 14px;
border-radius: 12px;
animation: bob 1.6s ease-in-out infinite;
}
.start-bubble::after {
content: "";
position: absolute;
left: 50%;
bottom: -7px;
transform: translateX(-50%);
border: 8px solid transparent;
border-bottom: 0;
border-top-color: var(--color-accent);
}
@keyframes bob {
50% {
transform: translate(-50%, -6px);
}
}
.opt {
width: 100%;
display: flex;
align-items: center;
gap: 14px;
text-align: left;
min-height: 60px;
padding: 14px 18px;
border: 2px solid var(--color-line);
border-bottom-width: 4px;
border-radius: 16px;
background: var(--color-card);
font-weight: 700;
font-size: 17px;
color: var(--color-ink);
transition: transform .1s, background-color .15s, border-color .15s;
}
.opt:hover {
background: var(--color-card-2);
}
.opt:active {
transform: translateY(2px);
border-bottom-width: 2px;
}
.opt[aria-pressed="true"] {
border-color: var(--color-secondary);
background: oklch(0.70 0.16 255 / 0.18);
}
.opt:disabled {
cursor: default;
}
.opt-key {
flex: none;
width: 30px;
height: 30px;
display: grid;
place-items: center;
border: 2px solid var(--color-line);
border-radius: 8px;
font-size: 14px;
color: var(--color-mute);
}
.word {
display: inline-flex;
align-items: center;
min-height: 48px;
padding: 8px 14px;
border: 2px solid var(--color-line);
border-bottom-width: 4px;
border-radius: 12px;
background: var(--color-card);
font-weight: 700;
font-size: 17px;
color: var(--color-ink);
transition: transform .1s;
}
.word:hover {
background: var(--color-card-2);
}
.word:active {
transform: translateY(2px);
border-bottom-width: 2px;
}
.word.used {
visibility: hidden;
}
.answer-area {
min-height: 72px;
display: flex;
flex-wrap: wrap;
align-content: flex-start;
gap: 8px;
padding: 10px 0;
border-top: 2px solid var(--color-line);
border-bottom: 2px solid var(--color-line);
}
.code-box {
font-family: var(--font-mono);
font-size: 15px;
line-height: 1.7;
background: var(--color-ground-deep);
border: 2px solid var(--color-line);
border-radius: 14px;
padding: 16px 18px;
white-space: pre;
overflow-x: auto;
color: oklch(0.88 0.05 300);
}
.btn-main {
display: inline-flex;
justify-content: center;
align-items: center;
min-height: 52px;
padding: 12px 32px;
border-radius: 16px;
background: var(--color-accent);
color: var(--color-accent-ink);
font-weight: 700;
letter-spacing: .06em;
text-transform: uppercase;
box-shadow: 0 4px 0 var(--color-accent-shadow);
transition: transform .1s, box-shadow .1s, background-color .15s;
}
.btn-main:hover:not(:disabled) {
background: var(--color-accent-hover);
}
.btn-main:active:not(:disabled) {
transform: translateY(3px);
box-shadow: 0 1px 0 var(--color-accent-shadow);
}
.btn-main:disabled {
background: var(--color-card-2);
color: var(--color-mute);
box-shadow: 0 4px 0 var(--color-card);
cursor: not-allowed;
}
.fb-ok {
background: oklch(0.90 0.2 125 / 0.12);
}
.fb-ok #fb-title {
color: var(--color-lime);
}
.fb-ok .btn-main {
background: var(--color-lime);
color: oklch(0.2 0.06 130);
box-shadow: 0 4px 0 oklch(0.55 0.15 130);
}
.fb-bad {
background: oklch(0.68 0.2 22 / 0.14);
}
.fb-bad #fb-title {
color: var(--color-danger);
}
.fb-bad .btn-main {
background: var(--color-danger);
color: oklch(0.18 0.05 22);
box-shadow: 0 4px 0 oklch(0.42 0.15 22);
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation: none !important;
transition: none !important;
scroll-behavior: auto !important;
}
}
@property --tw-border-style {
syntax: "*";
inherits: false;
initial-value: solid;
}
@property --tw-tracking {
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-border-style: solid;
--tw-tracking: initial;
}
}
}