﻿:root {
    --bg-void: #050308;
    --acid-red: #ff275d;
    --acid-cyan: #4ef5ff;
    --acid-lime: #c6ff48;
    --acid-gold: #ffd65b;
    --paper: #fff7dd;
}

* {
    box-sizing: border-box;
    cursor: url("/cursor.png"), auto;
}

*::before,
*::after {
    cursor: url("/cursor.png"), auto;
}

html.has-custom-cursor,
html.has-custom-cursor *,
html.has-custom-cursor *::before,
html.has-custom-cursor *::after {
    cursor: none !important;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    overflow-x: hidden;
    background:
        linear-gradient(rgba(14, 0, 20, 0.24), rgba(4, 2, 6, 0.74)),
        url("/surreal_bg.jpg") center top / cover fixed no-repeat;
    color: var(--paper);
    font-family: "Comic Sans MS", "Trebuchet MS", cursive, sans-serif;
    transition:
        transform 2.6s ease,
        filter 2.6s ease,
        background-color 2.6s ease,
        color 2.6s ease;
    transform-origin: center center;
}

img {
    display: block;
    max-width: 100%;
}

.ui-element {
    transition:
        opacity 2.4s ease,
        transform 2.4s ease,
        filter 2.4s ease,
        color 2.4s ease,
        text-shadow 2.4s ease,
        background 2.4s ease;
}

.weirdcore-page > section,
.floating-logo,
.floating-guy,
.tracking-eye,
.game-orb,
.game-orb__thumb,
.yt-drop,
.yt-drop__preview,
.road-surface__img,
.board-item,
.hero-portals,
.section-heading {
    transition:
        transform 2.6s ease,
        filter 2.6s ease,
        opacity 2.6s ease;
}

button,
a {
    color: inherit;
    text-decoration: none;
    cursor: url("/cursor.png"), auto;
}

.cursor-trails {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
}

.cursor-avatar {
    position: fixed;
    left: 0;
    top: 0;
    width: 34px;
    height: 34px;
    margin-left: -4px;
    margin-top: -4px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.86);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.18));
    transition:
        opacity 140ms ease,
        transform 90ms linear,
        filter 180ms ease;
}

.cursor-avatar.is-visible {
    opacity: 1;
}

.cursor-avatar.is-hovering {
    transform: translate3d(0, 0, 0) scale(1.08);
    filter: drop-shadow(0 0 14px rgba(255, 220, 120, 0.28));
}

.dev-scan-indicator,
.dev-matrix-canvas {
    position: fixed;
    pointer-events: none;
}

.dev-scan-indicator {
    left: 0;
    top: 0;
    width: 86px;
    height: 86px;
    margin-left: -43px;
    margin-top: -43px;
    border-radius: 999px;
    z-index: 9997;
    opacity: 0;
    transform: scale(0.86);
    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.dev-scan-indicator.is-visible {
    opacity: 1;
    transform: scale(1);
}

.dev-scan-indicator::before,
.dev-scan-indicator::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.dev-scan-indicator::before {
    background:
        conic-gradient(from -90deg,
        rgba(90, 255, 110, 0.92) 0deg,
        rgba(90, 255, 110, 0.92) calc(var(--scan-progress, 0) * 1turn),
        rgba(90, 255, 110, 0.08) 0);
    filter: drop-shadow(0 0 16px rgba(90, 255, 110, 0.32));
    mask: radial-gradient(circle at center, transparent 58%, #000 60%);
    -webkit-mask: radial-gradient(circle at center, transparent 58%, #000 60%);
}

.dev-scan-indicator::after {
    inset: 12px;
    border: 1px solid rgba(110, 255, 140, 0.42);
    background:
        radial-gradient(circle at center, rgba(5, 16, 8, 0.72), rgba(5, 16, 8, 0.18)),
        linear-gradient(135deg, rgba(95, 255, 120, 0.16), transparent);
    box-shadow:
        0 0 18px rgba(90, 255, 110, 0.18),
        inset 0 0 16px rgba(90, 255, 110, 0.12);
}

.dev-scan-indicator__label {
    position: absolute;
    left: 50%;
    top: calc(100% + 0.55rem);
    transform: translateX(-50%);
    color: #9bffb5;
    font-family: "Courier New", monospace;
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-shadow:
        1px 0 0 rgba(0, 255, 85, 0.35),
        -1px 0 0 rgba(188, 255, 210, 0.26);
    white-space: nowrap;
    animation: dev-scan-glitch 640ms steps(2, end) infinite;
}

.dev-matrix-canvas {
    inset: 0;
    z-index: 9994;
    opacity: 0;
    transition: opacity 420ms ease;
    mix-blend-mode: screen;
}

body.dev-mode-active .dev-matrix-canvas {
    opacity: 0.5;
}

.cursor-trail {
    position: fixed;
    width: 16px;
    height: 16px;
    margin-left: -8px;
    margin-top: -8px;
    border-radius: 40% 60% 55% 45%;
    background: linear-gradient(135deg, rgba(255, 41, 93, 0.95), rgba(78, 245, 255, 0.95));
    mix-blend-mode: screen;
    opacity: 0;
    filter: blur(0.3px) drop-shadow(0 0 12px rgba(78, 245, 255, 0.4));
    transform: rotate(0deg) scale(0.4);
    transition: opacity 180ms linear;
}

.lang-toggle {
    position: fixed;
    top: 1.2rem;
    right: 1.4rem;
    z-index: 95;
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(213, 235, 255, 0.56);
    border-radius: 16px 10px 20px 12px;
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.42), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(173, 211, 243, 0.26) 46%, rgba(78, 123, 182, 0.26) 100%),
        rgba(22, 39, 69, 0.76);
    color: #eef8ff;
    font-size: 0.9rem;
    box-shadow:
        0 10px 22px rgba(7, 20, 46, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -10px 18px rgba(58, 92, 141, 0.18);
    backdrop-filter: blur(8px);
}

.music-toggle {
    position: fixed;
    top: 1.2rem;
    right: 8.8rem;
    z-index: 95;
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(209, 233, 255, 0.54);
    border-radius: 12px 18px 14px 22px;
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.42), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(171, 210, 241, 0.25) 46%, rgba(73, 116, 175, 0.26) 100%),
        rgba(20, 37, 68, 0.76);
    color: #eef8ff;
    font-size: 0.9rem;
    box-shadow:
        0 10px 22px rgba(7, 20, 46, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -10px 18px rgba(53, 90, 140, 0.18);
    backdrop-filter: blur(8px);
}

.back-toggle {
    position: fixed;
    top: 1.2rem;
    left: 1.4rem;
    z-index: 95;
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(213, 235, 255, 0.56);
    border-radius: 14px 20px 16px 24px;
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.42), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(173, 211, 243, 0.26) 46%, rgba(78, 123, 182, 0.26) 100%),
        rgba(22, 39, 69, 0.76);
    color: #eef8ff;
    font-size: 0.9rem;
    box-shadow:
        0 10px 22px rgba(7, 20, 46, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -10px 18px rgba(58, 92, 141, 0.18);
    backdrop-filter: blur(8px);
}

.lang-toggle strong {
    font-size: 0.82rem;
    color: #fff5c9;
    text-shadow: 0 1px 0 rgba(67, 90, 126, 0.55);
}

.music-toggle strong {
    font-size: 0.82rem;
    color: #d9f5ff;
    text-shadow: 0 1px 0 rgba(67, 90, 126, 0.55);
}

.back-toggle strong {
    font-size: 0.82rem;
    color: #fff5c9;
    text-shadow: 0 1px 0 rgba(67, 90, 126, 0.55);
}

.music-toggle.is-muted strong {
    color: #ffd8e2;
}

.glitch-float {
    animation: glitch-float 2.6s steps(2, end) infinite, lang-drift 6s ease-in-out infinite;
}

.weirdcore-page {
    position: relative;
    z-index: 2;
}

.hero-zone,
.games-zone,
.youtube-zone {
    position: relative;
    min-height: 100vh;
    padding: 6rem 6vw;
}

.hero-zone {
    overflow: hidden;
}

.hero-zone::before,
.hero-zone::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-zone::before {
    background:
        radial-gradient(circle at 16% 22%, rgba(255, 39, 93, 0.18), transparent 24%),
        radial-gradient(circle at 82% 18%, rgba(78, 245, 255, 0.16), transparent 26%),
        radial-gradient(circle at 50% 76%, rgba(198, 255, 72, 0.14), transparent 30%);
    animation: aura-drift 18s linear infinite;
}

.hero-zone::after {
    background: radial-gradient(circle at center, transparent 42%, rgba(0, 0, 0, 0.45) 100%);
}

.bead-rain {
    position: absolute;
    inset: 0 0 auto;
    height: 36vh;
    pointer-events: none;
}

.bead-rain__strand {
    position: absolute;
    top: -1.5vh;
    width: 28vw;
    min-width: 180px;
    transform-origin: top center;
    filter: drop-shadow(0 0 14px rgba(255, 214, 91, 0.42));
}

.bead-rain__strand--a { left: -1vw; animation: beads-sway-a 6s ease-in-out infinite; }
.bead-rain__strand--b { left: 36vw; animation: beads-sway-b 7.2s ease-in-out infinite; }
.bead-rain__strand--c { right: -3vw; animation: beads-sway-c 5.8s ease-in-out infinite; }

.floating-logo,
.floating-guy,
.cat-sphere,
.tracking-eye {
    position: absolute;
    user-select: none;
}

.logo-primary {
    top: 12%;
    left: 62%;
    width: clamp(120px, 15vw, 220px);
    animation: logo-orbit-a 13s ease-in-out infinite;
    filter: drop-shadow(0 0 22px rgba(78, 245, 255, 0.46));
}

.logo-secondary {
    top: 52%;
    left: 10%;
    width: clamp(80px, 10vw, 150px);
    opacity: 0.82;
    animation: logo-orbit-b 16s ease-in-out infinite;
}

.floating-guy {
    left: 3%;
    bottom: 6%;
    width: clamp(180px, 18vw, 300px);
    transform-origin: center bottom;
    animation: guy-float 17s linear infinite, guy-breathe 4.4s ease-in-out infinite;
}

.cat-sphere {
    top: -6vh;
    right: 4%;
    width: clamp(110px, 13vw, 200px);
    animation: cat-flight 15s linear infinite;
}

.tracking-eye {
    width: clamp(100px, 14vw, 220px);
    transform-style: preserve-3d;
    perspective: 1200px;
    animation: eye-hover 5s ease-in-out infinite;
}

.eye-a { top: 10%; left: 6%; }
.eye-b { top: 20%; right: 8%; }
.eye-c { top: 48%; right: 17%; }
.eye-d { top: 67%; left: 22%; }
.eye-e { top: 74%; right: 38%; width: clamp(88px, 11vw, 170px); }

.tracking-eye__ball {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 90ms linear;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
}

.tracking-eye__img {
    width: 100%;
}

.hero-copy {
    position: relative;
    z-index: 4;
    width: min(860px, 78vw);
    padding-top: 15vh;
}

.hero-kicker,
.hero-bio,
.hero-noise,
.section-heading p,
.road-copy p,
.game-orb p {
    margin: 0;
}

.hero-kicker {
    color: var(--acid-gold);
    font-size: clamp(1rem, 1.7vw, 1.4rem);
    letter-spacing: 0.24em;
    text-shadow: 2px 0 0 rgba(255, 39, 93, 0.45), -2px 0 0 rgba(78, 245, 255, 0.5);
    animation: jitter-text 2.2s steps(2, end) infinite;
}

.hero-title {
    margin: 1rem 0;
    font-size: clamp(2.5rem, 6vw, 6.8rem);
    line-height: 0.92;
    text-transform: uppercase;
    color: var(--acid-red);
    text-shadow:
        4px 0 0 rgba(78, 245, 255, 0.72),
        -4px 0 0 rgba(198, 255, 72, 0.4),
        0 0 30px rgba(255, 39, 93, 0.52);
    animation: jitter-text 1.4s steps(2, end) infinite, title-wave 8s ease-in-out infinite;
}

.hero-title span {
    display: block;
}

.hero-bio {
    margin-top: 1rem;
    color: #fff2ad;
    font-size: clamp(1.25rem, 2vw, 1.9rem);
    letter-spacing: 0.16em;
    animation: bio-pulse 4s ease-in-out infinite;
}

.hero-noise {
    margin-top: 1rem;
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.18);
    animation: subtitle-shift 6s ease-in-out infinite;
}

.chaos-panel,
.chaos-progress,
.chaos-progress__meta,
.chaos-events,
.chaos-cat-shell {
    display: grid;
    gap: 0.85rem;
}

.chaos-panel {
    max-width: 38rem;
    margin-top: 1.4rem;
    padding: 1.2rem 1.3rem;
    border: 1px solid rgba(220, 238, 255, 0.24);
    border-radius: 26px 20px 34px 24px;
    background:
        radial-gradient(circle at 16% 14%, rgba(255, 255, 255, 0.2), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(169, 203, 232, 0.08) 34%, rgba(16, 28, 51, 0.92));
    box-shadow:
        0 24px 54px rgba(10, 24, 44, 0.28),
        0 0 20px rgba(190, 220, 241, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.chaos-panel__eyebrow,
.chaos-panel__text,
.chaos-cat-copy {
    margin: 0;
}

.chaos-panel__eyebrow {
    color: #f4dfb3;
    letter-spacing: 0.18em;
    font-size: 0.88rem;
}

.chaos-panel__title {
    margin: 0;
    font-size: clamp(1.5rem, 2.6vw, 2.35rem);
    line-height: 1.02;
}

.chaos-progress__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
}

.chaos-progress__meta span {
    text-align: right;
    color: #d6f3ff;
}

.chaos-progress__track {
    overflow: hidden;
    height: 16px;
    border-radius: 999px;
    border: 1px solid rgba(220, 238, 255, 0.24);
    background: rgba(10, 22, 42, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.chaos-progress__fill {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ff8aa6 0%, #f4dfb3 52%, #d6f3ff 100%);
    box-shadow: 0 0 18px rgba(255, 132, 160, 0.3);
    transition: width 2.6s ease;
}

.chaos-events {
    grid-template-columns: repeat(auto-fit, minmax(140px, max-content));
}

.chaos-events__pill {
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(220, 238, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    color: #f8fbff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

.chaos-secret-link {
    width: fit-content;
}

.road-zone {
    position: relative;
    min-height: 220vh;
}

.road-zone__sticky {
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 3rem 0;
}

.road-copy {
    position: absolute;
    top: 12%;
    left: 7%;
    z-index: 4;
    max-width: 34rem;
}

.road-copy h2,
.section-heading h2 {
    margin: 0 0 0.6rem;
    color: var(--acid-cyan);
    font-size: clamp(2rem, 4vw, 4.8rem);
    line-height: 0.95;
    text-transform: uppercase;
    text-shadow: 3px 0 0 rgba(255, 39, 93, 0.56), 0 0 24px rgba(78, 245, 255, 0.26);
    animation: jitter-text 1.8s steps(2, end) infinite;
}

.road-surface {
    position: relative;
    width: 100vw;
    height: min(72vh, 760px);
    overflow: hidden;
}

.road-surface__img {
    position: absolute;
    inset: 0;
    width: 100vw;
    height: 100%;
    object-fit: cover;
}

.road-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.36)),
        radial-gradient(circle at center, transparent 44%, rgba(0, 0, 0, 0.28) 100%);
}

.road-trail {
    position: absolute;
    left: 10%;
    --trail-shift: 0px;
    z-index: 2;
    max-width: min(42vw, 520px);
    padding: 0.45rem 0.8rem;
    color: rgba(255, 243, 196, 0.92);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: clamp(0.9rem, 1.4vw, 1.25rem);
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
    background: rgba(10, 0, 14, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    opacity: 0;
    transform: translate3d(var(--trail-shift), 26px, 0) rotate(-4deg) scale(0.94);
    transition: opacity 220ms ease, transform 220ms ease;
}

.road-trail.is-visible {
    opacity: 1;
    transform: translate3d(var(--trail-shift), 0, 0) rotate(-4deg) scale(1);
}

.road-trail--a {
    top: 28%;
}

.road-trail--b {
    top: 43%;
    left: 18%;
    transform: translate3d(var(--trail-shift), 26px, 0) rotate(3deg) scale(0.94);
}

.road-trail--b.is-visible {
    transform: translate3d(var(--trail-shift), 0, 0) rotate(3deg) scale(1);
}

.road-trail--c {
    top: 59%;
    left: 28%;
    max-width: min(48vw, 620px);
    transform: translate3d(var(--trail-shift), 26px, 0) rotate(-2deg) scale(0.94);
}

.road-trail--c.is-visible {
    transform: translate3d(var(--trail-shift), 0, 0) rotate(-2deg) scale(1);
}

.walker {
    position: absolute;
    left: 5%;
    bottom: 13%;
    width: clamp(170px, 16vw, 300px);
    transform: translateX(var(--walk-x, 0px)) translateY(var(--walk-y, 0px)) rotate(var(--walk-tilt, 0deg));
    transition: transform 80ms linear;
    z-index: 3;
}

.walker__sprite {
    width: 100%;
    transform-origin: center bottom;
    animation: walk-wobble 0.62s steps(2, end) infinite;
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.42));
}

.games-zone {
    display: grid;
    align-content: center;
    gap: 2rem;
}

.section-heading {
    position: relative;
    z-index: 3;
    max-width: 50rem;
}

.section-heading p {
    color: #fff2ad;
    font-size: clamp(1rem, 1.5vw, 1.35rem);
    letter-spacing: 0.14em;
    animation: subtitle-shift 5.8s ease-in-out infinite;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
    perspective: 1200px;
}

.game-grid--walkin {
    align-items: start;
}

.game-grid--walkin .game-orb {
    opacity: 0;
    pointer-events: none;
    filter: blur(8px) brightness(0.72) saturate(0.86);
    animation: none;
}

.game-orb {
    position: relative;
    display: block;
    min-height: 280px;
    padding: 1.45rem 1.45rem 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px 40px 30px 34px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(16, 5, 24, 0.88), rgba(10, 3, 16, 0.74));
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.28),
        0 0 18px rgba(78, 245, 255, 0.08),
        inset 0 0 24px rgba(255, 255, 255, 0.04);
    animation: orb-float 7s ease-in-out infinite;
    transition: filter 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.game-orb::before {
    content: "";
    position: absolute;
    inset: 10px auto 10px 10px;
    width: 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--acid-cyan), rgba(255, 39, 93, 0.18));
    opacity: 0.7;
}

.game-orb:nth-child(2n) {
    animation-delay: -2.1s;
}

.games-zone.is-dropping .game-orb {
    animation: none;
}

.game-orb.is-dropping {
    animation: game-walk-in 1100ms cubic-bezier(.22,1,.22,1) forwards;
}

.game-orb.is-landed {
    opacity: 1;
    pointer-events: auto;
    filter: none;
    animation: orb-float 7.2s ease-in-out infinite;
}

.game-orb.is-voidborn {
    opacity: 0;
    filter: blur(8px) brightness(0.72) saturate(0.86);
}

.game-orb:hover,
.game-orb:focus-within {
    transform: translateY(-4px);
    box-shadow:
        0 20px 42px rgba(0, 0, 0, 0.34),
        0 0 22px rgba(78, 245, 255, 0.12),
        inset 0 0 24px rgba(255, 255, 255, 0.05);
    filter: saturate(1.08);
}

.game-orb__thumb {
    width: clamp(86px, 9vw, 130px);
    margin-bottom: 1rem;
    border-radius: 18px 24px 18px 18px;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.2);
}

.game-orb__meta {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: rgba(255, 214, 91, 0.88);
    font-size: 0.9rem;
    letter-spacing: 0.24em;
}

.game-orb h3 {
    margin: 0 0 0.8rem;
    color: var(--paper);
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    text-shadow: 2px 0 0 rgba(255, 39, 93, 0.4), -2px 0 0 rgba(78, 245, 255, 0.45);
}

.game-orb p {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(0.95rem, 1.35vw, 1.15rem);
    line-height: 1.35;
}

.youtube-zone {
    padding-bottom: 12rem;
    min-height: 96vh;
}

.youtube-pile {
    position: relative;
    min-height: 68vh;
    margin-top: 4rem;
}

.yt-drop {
    position: absolute;
    left: 50%;
    top: -40vh;
    width: clamp(260px, 25vw, 380px);
    padding: 1rem;
    border-radius: 26px;
    background: rgba(12, 6, 18, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    transform: translate3d(-50%, -120vh, 0) rotate(-9deg);
    opacity: 0;
}

.youtube-zone.is-active .yt-drop {
    opacity: 1;
}

.youtube-zone.is-active .yt-drop--1 { animation: yt-fall-1 1.3s cubic-bezier(.19,1,.22,1) forwards; }
.youtube-zone.is-active .yt-drop--2 { animation: yt-fall-2 1.45s 0.12s cubic-bezier(.19,1,.22,1) forwards; }
.youtube-zone.is-active .yt-drop--3 { animation: yt-fall-3 1.55s 0.2s cubic-bezier(.19,1,.22,1) forwards; }
.youtube-zone.is-active .yt-drop--4 { animation: yt-fall-4 1.7s 0.28s cubic-bezier(.19,1,.22,1) forwards; }
.youtube-zone.is-active .yt-drop--5 { animation: yt-fall-5 1.5s 0.16s cubic-bezier(.19,1,.22,1) forwards; }
.youtube-zone.is-active .yt-drop--6 { animation: yt-fall-6 1.75s 0.34s cubic-bezier(.19,1,.22,1) forwards; }

.yt-drop__logo {
    width: 110px;
    margin-bottom: 0.9rem;
}

.yt-drop__preview {
    width: 100%;
    border-radius: 18px;
}

.vhs-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    pointer-events: none;
    mix-blend-mode: screen;
}

.vhs-overlay > div {
    position: absolute;
    inset: 0;
}

.vhs-overlay__rgb {
    background: linear-gradient(90deg, rgba(255, 36, 92, 0.12), transparent 28%, rgba(78, 245, 255, 0.12) 68%, transparent);
    animation: rgb-sear 180ms steps(2, end) infinite;
}

.vhs-overlay__scanlines {
    background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.08) 0, rgba(255,255,255,0.08) 1px, rgba(0,0,0,0.14) 2px, rgba(0,0,0,0.14) 4px);
    opacity: 0.5;
}

.vhs-overlay__noise {
    background:
        linear-gradient(transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%),
        radial-gradient(circle at 14% 24%, rgba(255,255,255,0.08), transparent 18%),
        radial-gradient(circle at 78% 62%, rgba(255,255,255,0.08), transparent 16%);
    opacity: 0.18;
    animation: noise-flicker 120ms steps(2, end) infinite;
}

.vhs-overlay__tracking {
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.24) 50%, transparent 54%);
    opacity: 0.18;
    animation: tracking-roll 7s linear infinite;
}

.vhs-overlay__vignette {
    background: radial-gradient(circle at center, transparent 46%, rgba(0, 0, 0, 0.54) 100%);
}

.chaos-cat-shell {
    justify-items: center;
}

.chaos-cat-button {
    padding: 0;
    border: 0;
    background: transparent;
    transition: transform 240ms ease, filter 240ms ease;
}

.chaos-cat-button.is-hit {
    transform: scale(0.94) rotate(-4deg);
    filter: saturate(1.16) brightness(1.06);
}

.chaos-cat-button:disabled {
    pointer-events: none;
}

.chaos-cat-copy {
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-align: center;
}

body.chaos-red-sky {
    background:
        linear-gradient(rgba(93, 0, 11, 0.36), rgba(32, 0, 0, 0.82)),
        url("/surreal_bg.jpg") center top / cover fixed no-repeat;
    filter: saturate(1.08) hue-rotate(-18deg);
}

body.chaos-red-sky .hero-zone::before {
    background:
        radial-gradient(circle at 16% 22%, rgba(255, 0, 60, 0.32), transparent 24%),
        radial-gradient(circle at 82% 18%, rgba(255, 90, 120, 0.22), transparent 26%),
        radial-gradient(circle at 50% 76%, rgba(130, 0, 22, 0.2), transparent 30%);
}

body.chaos-red-eyes .tracking-eye__ball,
body.chaos-red-eyes .schizo-bot__eye {
    filter: drop-shadow(0 0 18px rgba(255, 0, 51, 0.8)) saturate(1.4) hue-rotate(-20deg);
}

body.chaos-upside-down {
    transform: rotate(180deg);
}

body.chaos-glitch-text,
body.chaos-glitch-text input,
body.chaos-glitch-text textarea,
body.chaos-glitch-text button,
body.chaos-glitch-text a {
    font-family: "Impact", "Courier New", monospace;
    letter-spacing: 0.08em;
    text-shadow:
        2px 0 0 rgba(255, 0, 64, 0.55),
        -2px 0 0 rgba(78, 245, 255, 0.55),
        0 0 10px rgba(255, 255, 255, 0.15);
}

body.dev-mode-active .weirdcore-page {
    transform: rotate(1deg) scale(1.01);
    transform-origin: center center;
    transition: transform 1.4s ease;
}

body.dev-mode-active h1,
body.dev-mode-active h2,
body.dev-mode-active h3,
body.dev-mode-active p,
body.dev-mode-active a,
body.dev-mode-active span,
body.dev-mode-active label {
    animation: dev-text-glitch 120ms steps(2, end) infinite;
    text-shadow:
        2px 0 0 rgba(27, 255, 80, 0.65),
        -2px 0 0 rgba(140, 255, 196, 0.34),
        0 0 12px rgba(125, 255, 168, 0.12);
}

body.dev-mode-active img[data-dev-wireframe='true'] {
    filter: grayscale(1) contrast(1.12) brightness(0.92) saturate(0.2);
}

@keyframes glitch-float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-1px, 1px); }
    50% { transform: translate(2px, -1px); }
    75% { transform: translate(-2px, 2px); }
}

@keyframes dev-scan-glitch {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.94; }
    25% { transform: translateX(calc(-50% - 1px)) translateY(1px); opacity: 1; }
    50% { transform: translateX(calc(-50% + 1px)) translateY(-1px); opacity: 0.88; }
    75% { transform: translateX(calc(-50% - 2px)) translateY(0); opacity: 0.98; }
}

@keyframes dev-text-glitch {
    0%, 100% { transform: translate(0, 0); }
    20% { transform: translate(-1px, 0); }
    40% { transform: translate(1px, -1px); }
    60% { transform: translate(2px, 1px); }
    80% { transform: translate(-1px, -1px); }
}

@keyframes lang-drift {
    0%, 100% { rotate: -2deg; }
    50% { rotate: 2deg; }
}

@keyframes aura-drift {
    0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
    50% { transform: translate3d(-2%, 3%, 0) rotate(180deg) scale(1.08); }
    100% { transform: translate3d(0, 0, 0) rotate(360deg) scale(1); }
}

@keyframes beads-sway-a {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(5deg) translateY(1vh); }
}

@keyframes beads-sway-b {
    0%, 100% { transform: rotate(4deg); }
    50% { transform: rotate(-5deg) translateY(1.5vh); }
}

@keyframes beads-sway-c {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(6deg) translateY(1vh); }
}

@keyframes logo-orbit-a {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-8deg) scale(1); }
    50% { transform: translate3d(-4vw, 2vh, 0) rotate(10deg) scale(1.08); }
}

@keyframes logo-orbit-b {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(3deg) scale(0.96); }
    50% { transform: translate3d(6vw, -4vh, 0) rotate(-9deg) scale(1.08); }
}

@keyframes guy-float {
    0% { transform: translate3d(0, 0, 0) rotate(-8deg); }
    33% { transform: translate3d(14vw, -2vh, 0) rotate(4deg); }
    66% { transform: translate3d(8vw, -7vh, 0) rotate(-5deg); }
    100% { transform: translate3d(0, 0, 0) rotate(-8deg); }
}

@keyframes guy-breathe {
    0%, 100% { scale: 0.96 1.05; }
    50% { scale: 1.08 0.92; }
}

@keyframes cat-flight {
    0% { transform: translate3d(0, -10vh, 0) rotate(0deg) scale(0.8); opacity: 0; }
    10% { opacity: 1; }
    50% { transform: translate3d(-48vw, 22vh, 0) rotate(180deg) scale(1.1); }
    100% { transform: translate3d(-88vw, 64vh, 0) rotate(360deg) scale(0.72); opacity: 0.2; }
}

@keyframes eye-hover {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes jitter-text {
    0%, 100% { transform: translate(0, 0); }
    20% { transform: translate(-2px, 1px); }
    40% { transform: translate(3px, -1px); }
    60% { transform: translate(-3px, -2px); }
    80% { transform: translate(2px, 2px); }
}

@keyframes title-wave {
    0%, 100% { rotate: -2deg; }
    50% { rotate: 2deg; }
}

@keyframes bio-pulse {
    0%, 100% { opacity: 0.82; transform: scale(0.99); }
    50% { opacity: 1; transform: scale(1.03); }
}

@keyframes subtitle-shift {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(8px); }
}

@keyframes walk-wobble {
    0%, 100% { transform: translateY(0) rotate(-5deg) scaleY(1); }
    50% { transform: translateY(-8px) rotate(6deg) scaleY(0.96); }
}

@keyframes orb-float {
    0%, 100% { transform: translateY(0) rotate(-2deg) scale(1); }
    50% { transform: translateY(-12px) rotate(3deg) scale(1.02); }
}

@keyframes game-walk-in {
    0% {
        opacity: 0;
        filter: blur(10px) brightness(0.7);
        transform: translate3d(var(--drop-x), var(--drop-y), 0) rotate(var(--drop-rot)) scale(0.82);
    }

    35% {
        opacity: 1;
        filter: blur(2px) brightness(0.9);
        transform: translate3d(calc(var(--drop-x) * 0.32), 8px, 0) rotate(calc(var(--drop-rot) * 0.38)) scale(0.94);
    }

    58% {
        transform: translate3d(calc(var(--drop-x) * 0.14), -6px, 0) rotate(calc(var(--drop-rot) * -0.1)) scale(0.98);
    }

    78% {
        opacity: 1;
        filter: blur(0) brightness(1);
        transform: translate3d(0, 10px, 0) rotate(calc(var(--drop-rot) * 0.06)) scale(1.02);
    }

    100% {
        opacity: 1;
        filter: blur(0) brightness(1);
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }
}

@keyframes rgb-sear {
    0% { transform: translateX(0); opacity: 0.46; }
    50% { transform: translateX(2px); opacity: 0.72; }
    100% { transform: translateX(-2px); opacity: 0.46; }
}

@keyframes noise-flicker {
    0% { opacity: 0.1; transform: translateY(0); }
    100% { opacity: 0.24; transform: translateY(2px); }
}

@keyframes tracking-roll {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes yt-fall-1 {
    0% { transform: translate3d(-50%, -120vh, 0) rotate(-16deg); }
    72% { transform: translate3d(-155%, 42vh, 0) rotate(10deg); }
    84% { transform: translate3d(-155%, 38vh, 0) rotate(2deg); }
    100% { transform: translate3d(-155%, 40vh, 0) rotate(4deg); }
}

@keyframes yt-fall-2 {
    0% { transform: translate3d(-50%, -120vh, 0) rotate(14deg); }
    74% { transform: translate3d(-88%, 52vh, 0) rotate(-10deg); }
    86% { transform: translate3d(-88%, 46vh, 0) rotate(-4deg); }
    100% { transform: translate3d(-88%, 48vh, 0) rotate(-6deg); }
}

@keyframes yt-fall-3 {
    0% { transform: translate3d(-50%, -120vh, 0) rotate(-8deg); }
    70% { transform: translate3d(-6%, 44vh, 0) rotate(12deg); }
    82% { transform: translate3d(-6%, 39vh, 0) rotate(4deg); }
    100% { transform: translate3d(-6%, 41vh, 0) rotate(6deg); }
}

@keyframes yt-fall-4 {
    0% { transform: translate3d(-50%, -120vh, 0) rotate(18deg); }
    72% { transform: translate3d(70%, 52vh, 0) rotate(-12deg); }
    84% { transform: translate3d(70%, 46vh, 0) rotate(-5deg); }
    100% { transform: translate3d(70%, 48vh, 0) rotate(-7deg); }
}

@keyframes yt-fall-5 {
    0% { transform: translate3d(-50%, -120vh, 0) rotate(-22deg); }
    72% { transform: translate3d(126%, 40vh, 0) rotate(10deg); }
    84% { transform: translate3d(126%, 35vh, 0) rotate(3deg); }
    100% { transform: translate3d(126%, 37vh, 0) rotate(6deg); }
}

@keyframes yt-fall-6 {
    0% { transform: translate3d(-50%, -120vh, 0) rotate(20deg); }
    72% { transform: translate3d(10%, 58vh, 0) rotate(-12deg); }
    84% { transform: translate3d(10%, 52vh, 0) rotate(-4deg); }
    100% { transform: translate3d(10%, 54vh, 0) rotate(-6deg); }
}

.hero-portals {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 1.8rem;
}

.hero-user-state {
    display: inline-flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.9rem 1.1rem;
    border-radius: 22px;
    background: rgba(9, 4, 16, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.05), 0 0 20px rgba(78, 245, 255, 0.12);
}

.hero-user-state span {
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.18em;
    font-size: 0.78rem;
}

.hero-user-state strong {
    color: var(--acid-gold);
    font-size: 1rem;
    text-shadow: 2px 0 0 rgba(255, 39, 93, 0.35), -2px 0 0 rgba(78, 245, 255, 0.35);
}

.hero-logout-form {
    margin: 0;
}

.account-link-orb,
.account-submit {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 62px;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(214, 236, 255, 0.58);
    border-radius: 999px 24px 999px 30px;
    background:
        radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.46), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(184, 220, 246, 0.28) 42%, rgba(93, 143, 197, 0.28) 70%, rgba(55, 95, 151, 0.26) 100%),
        rgba(24, 42, 74, 0.84);
    color: #f3fbff;
    font-family: "Trebuchet MS", "Verdana", "Tahoma", sans-serif;
    font-size: clamp(0.95rem, 1.25vw, 1.12rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 1px 0 rgba(60, 87, 122, 0.55);
    box-shadow:
        0 12px 24px rgba(6, 18, 43, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -10px 16px rgba(55, 92, 148, 0.18);
    transform: skewX(-6deg);
    transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.account-link-orb span,
.account-submit span {
    transform: skewX(6deg);
}

.account-link-orb:hover,
.account-link-orb:focus-visible,
.account-submit:hover,
.account-submit:focus-visible {
    transform: translateY(-2px) skewX(-6deg) scale(1.01);
    filter: saturate(1.08) brightness(1.03);
    box-shadow:
        0 16px 28px rgba(6, 18, 43, 0.28),
        0 0 16px rgba(178, 225, 255, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.48),
        inset 0 -12px 18px rgba(66, 104, 159, 0.2);
    animation: button-warp 900ms steps(2, end) infinite;
}

.account-link-orb--ghost {
    background:
        radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.42), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(198, 230, 250, 0.24) 42%, rgba(108, 156, 205, 0.22) 70%, rgba(60, 101, 151, 0.2)),
        rgba(22, 39, 69, 0.8);
}

.game-detail-body {
    background:
        linear-gradient(rgba(14, 0, 20, 0.34), rgba(4, 2, 6, 0.82)),
        url("/surreal_bg.jpg") center center / cover fixed no-repeat;
}

.game-detail-shell {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: 8rem 6vw 5rem;
    overflow: hidden;
}

.game-detail-eye {
    top: 10%;
    right: 8%;
    width: clamp(140px, 16vw, 230px);
}

.game-detail-card {
    width: min(980px, 92vw);
    margin: 0 auto;
    padding: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 34px 18px 40px 16px;
    background:
        linear-gradient(135deg, rgba(255, 39, 93, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(8, 4, 20, 0.92), rgba(10, 8, 20, 0.78));
    box-shadow:
        0 26px 60px rgba(0, 0, 0, 0.34),
        0 0 28px rgba(78, 245, 255, 0.12),
        inset 0 0 28px rgba(255, 255, 255, 0.04);
}

.game-detail-kicker {
    margin: 0 0 0.55rem;
    color: var(--acid-lime);
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.game-detail-title {
    margin: 0;
    font-size: clamp(2rem, 4.3vw, 4.2rem);
    line-height: 0.92;
    text-shadow: 4px 0 0 rgba(255, 39, 93, 0.36), -4px 0 0 rgba(78, 245, 255, 0.4);
}

.game-detail-accent {
    margin: 0.85rem 0 1.5rem;
    color: var(--acid-gold);
    font-size: clamp(1rem, 1.7vw, 1.35rem);
}

.game-detail-layout {
    display: grid;
    grid-template-columns: minmax(220px, 360px) 1fr;
    gap: 1.5rem;
    align-items: center;
}

.game-detail-image {
    width: 100%;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 24px rgba(255, 39, 93, 0.18);
}

.game-detail-copy {
    display: grid;
    gap: 1.15rem;
}

.game-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.game-detail-copy p {
    margin: 0;
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
}

.cat-end-zone {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 42vh;
    padding: 2rem 1rem 7rem;
}

.cat-end-button__img {
    width: clamp(180px, 24vw, 300px);
    animation: cat-end-float 3.6s ease-in-out infinite;
    cursor: url("/cursor.png"), auto;
    user-select: none;
    transition: transform 160ms ease, filter 160ms ease;
}

.cat-end-button__img:hover,
.cat-end-button__img:focus-visible {
    transform: translateY(-6px) rotate(-2deg) scale(1.03);
    filter: saturate(1.18) drop-shadow(0 0 22px rgba(78, 245, 255, 0.22));
}

.schizo-bot {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 97;
    width: min(420px, calc(100vw - 2rem));
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px 18px 32px 20px;
    background:
        linear-gradient(135deg, rgba(255, 39, 93, 0.16), transparent 26%),
        linear-gradient(180deg, rgba(6, 1, 14, 0.94), rgba(10, 6, 20, 0.86));
    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.35),
        0 0 26px rgba(78, 245, 255, 0.14),
        inset 0 0 20px rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.schizo-launcher {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 96;
    width: 68px;
    height: 68px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background:
        radial-gradient(circle at 40% 30%, rgba(78, 245, 255, 0.28), transparent 48%),
        rgba(8, 1, 16, 0.86);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.28),
        0 0 20px rgba(78, 245, 255, 0.14),
        inset 0 0 18px rgba(255, 255, 255, 0.05);
}

.schizo-launcher[hidden] {
    display: none;
}

.schizo-launcher__img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.schizo-launcher__icon {
    width: 28px;
    height: 28px;
    color: var(--paper);
}

.schizo-bot::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.04) 0, rgba(255,255,255,0.04) 1px, transparent 2px, transparent 4px);
    opacity: 0.45;
    pointer-events: none;
}

.schizo-bot__header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    margin-bottom: 0.7rem;
}

.schizo-bot__title,
.schizo-bot__subtitle {
    margin: 0;
}

.schizo-bot__title {
    color: var(--acid-gold);
    letter-spacing: 0.18em;
    font-size: 0.86rem;
}

.schizo-bot__subtitle {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
}

.schizo-bot__close {
    min-width: 38px;
    min-height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 39, 93, 0.16);
    color: var(--paper);
    font-family: inherit;
}

.schizo-bot__eye-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 0.8rem;
}

.schizo-bot__eye {
    width: clamp(110px, 18vw, 170px);
    animation: schizo-eye-float 4.8s ease-in-out infinite;
    filter: drop-shadow(0 0 18px rgba(78, 245, 255, 0.2));
}

.schizo-bot__log {
    display: grid;
    gap: 0.6rem;
    max-height: 220px;
    overflow-y: auto;
    margin-bottom: 0.8rem;
    padding-right: 0.3rem;
}

.schizo-bot__thinking {
    margin-bottom: 0.75rem;
    color: var(--acid-gold);
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    animation: error-blink 0.9s steps(2, end) infinite;
}

.schizo-bot__line {
    padding: 0.6rem 0.8rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--paper);
    line-height: 1.35;
    font-size: 0.95rem;
}

.schizo-bot__line--user {
    border: 1px solid rgba(255, 39, 93, 0.24);
}

.schizo-bot__line--bot {
    border: 1px solid rgba(78, 245, 255, 0.24);
}

.schizo-bot__form {
    display: grid;
    gap: 0.7rem;
}

.schizo-bot__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.schizo-bot__input {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 2px solid rgba(78, 245, 255, 0.88);
    border-radius: 20px 12px 22px 10px;
    background: rgba(5, 1, 15, 0.82);
    color: var(--paper);
    font-family: "Comic Sans MS", "Trebuchet MS", cursive, sans-serif;
    font-size: 0.98rem;
    box-shadow: 0 0 18px rgba(78, 245, 255, 0.16), inset 0 0 16px rgba(78, 245, 255, 0.05);
}

.schizo-bot__input:focus,
.schizo-bot__input.is-typing {
    animation: input-jitter 120ms steps(2, end) 3;
    outline: none;
}

.schizo-bot__submit {
    justify-self: start;
}

.schizo-bot__agreement {
    min-height: 48px;
}

.support-admin {
    display: grid;
    grid-template-columns: minmax(250px, 320px) 1fr;
    gap: 1.4rem;
    margin-top: 1rem;
}

.support-admin__list,
.support-admin__detail {
    display: grid;
    gap: 1rem;
}

.support-admin__items,
.support-admin__messages {
    display: grid;
    gap: 0.8rem;
    max-height: 60vh;
    overflow-y: auto;
}

.support-admin__conversation {
    display: grid;
    gap: 0.35rem;
    text-align: left;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(198, 225, 250, 0.28);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(162, 198, 235, 0.08)),
        rgba(24, 40, 68, 0.58);
    color: #eef8ff;
    font-family: inherit;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 8px 18px rgba(7, 18, 39, 0.16);
}

.support-admin__conversation.is-active {
    border-color: rgba(174, 217, 255, 0.56);
    box-shadow:
        0 10px 20px rgba(8, 22, 46, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.support-admin__conversation strong {
    color: #fff0be;
    font-size: 0.84rem;
}

.support-admin__conversation span {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.3;
}

.support-admin__conversation em {
    color: #d5f5ff;
    font-style: normal;
    font-size: 0.82rem;
}

.support-dataset {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.6rem;
}

.dataset-row {
    display: grid;
    gap: 0.55rem;
    padding: 0.7rem;
    border: 1px solid rgba(78, 245, 255, 0.16);
    border-radius: 18px;
    background: rgba(8, 11, 31, 0.52);
}

.dataset-row__meta {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    color: rgba(255, 244, 172, 0.82);
}

.dataset-row__text {
    margin: 0;
}

.dataset-row__delete {
    justify-self: start;
    border: 1px solid rgba(206, 228, 249, 0.44);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(188, 214, 240, 0.2) 42%, rgba(91, 125, 171, 0.2)),
        rgba(35, 56, 93, 0.62);
    color: #f2f8ff;
    border-radius: 999px 18px 999px 18px;
    padding: 0.45rem 0.9rem;
    font: inherit;
    letter-spacing: 0.12em;
    cursor: pointer;
    text-shadow: 0 1px 0 rgba(59, 84, 118, 0.5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        0 6px 14px rgba(8, 18, 42, 0.16);
}

.dataset-row__delete:hover {
    transform: translateY(-1px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(196, 220, 243, 0.24) 42%, rgba(99, 135, 182, 0.24)),
        rgba(41, 63, 101, 0.68);
}

.support-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1rem 0 1.4rem;
}

.support-stat-card {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
}

.support-stat-card strong {
    color: var(--acid-gold);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.support-stat-card span {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.25;
}

.agreement-copy {
    display: grid;
    gap: 1.2rem;
}

.agreement-copy p {
    margin: 0;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
}

@keyframes schizo-eye-float {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-8px) rotate(3deg); }
}

.account-body {
    background:
        linear-gradient(rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.66)),
        url("/surreal_bg.jpg") center center / cover fixed no-repeat;
}

.account-body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(40, 255, 223, 0.12), rgba(255, 0, 111, 0.16)),
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.16), transparent 28%),
        radial-gradient(circle at 80% 15%, rgba(74, 255, 160, 0.13), transparent 24%),
        rgba(5, 0, 10, 0.36);
    mix-blend-mode: screen;
    filter: invert(1) hue-rotate(150deg) saturate(1.8) contrast(1.15);
    opacity: 0.48;
}

.account-shell {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: 8rem 6vw 5rem;
    overflow: hidden;
}

.account-logo {
    top: 9%;
    left: 74%;
    width: clamp(120px, 14vw, 210px);
}

.account-cat {
    top: 4%;
    right: 8%;
    width: clamp(90px, 10vw, 160px);
    opacity: 0.85;
}

.account-eye {
    top: 18%;
    left: 9%;
    width: clamp(160px, 18vw, 260px);
    z-index: 3;
}

.account-lore {
    position: absolute;
    z-index: 2;
    max-width: min(300px, 28vw);
    color: var(--paper);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.3;
    text-shadow: 2px 0 0 rgba(255, 39, 93, 0.35), -2px 0 0 rgba(78, 245, 255, 0.4);
    animation: lore-float 7.5s ease-in-out infinite, jitter-text 2.4s steps(2, end) infinite;
}

.account-lore--left {
    top: 18%;
    right: 9%;
    transform: rotate(-7deg);
}

.account-lore--right {
    left: 6%;
    bottom: 14%;
    transform: rotate(6deg);
}

.account-portal-wrap {
    position: relative;
    z-index: 4;
    width: min(760px, 92vw);
    margin: 0 auto;
}

.account-noise-title {
    margin-bottom: 1.6rem;
    text-align: center;
}

.account-noise-title p {
    margin: 0 0 0.5rem;
    color: var(--acid-lime);
    letter-spacing: 0.24em;
    animation: jitter-text 2.4s steps(2, end) infinite;
}

.account-noise-title h1 {
    margin: 0;
    color: var(--paper);
    font-size: clamp(2rem, 4.5vw, 4.4rem);
    line-height: 0.94;
    text-shadow: 4px 0 0 rgba(255, 39, 93, 0.38), -4px 0 0 rgba(78, 245, 255, 0.4);
    animation: title-boil 4.8s ease-in-out infinite;
}

.account-portal {
    display: grid;
    gap: 1.2rem;
    padding: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 34px 18px 42px 20px;
    background:
        linear-gradient(135deg, rgba(255, 39, 93, 0.12), transparent 32%),
        linear-gradient(180deg, rgba(5, 1, 15, 0.92), rgba(10, 5, 20, 0.82));
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.34),
        inset 0 0 32px rgba(255, 255, 255, 0.05),
        0 0 24px rgba(78, 245, 255, 0.14);
    backdrop-filter: blur(10px);
    transform: rotate(-0.8deg);
}

.account-portal--register {
    transform: rotate(0.9deg);
}

.form-row {
    display: grid;
    gap: 0.55rem;
}

.chaos-label {
    color: var(--paper);
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.28rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 2px 0 0 rgba(255, 39, 93, 0.4), -2px 0 0 rgba(78, 245, 255, 0.4);
}

.weird-input {
    width: 100%;
    padding: 1rem 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px 12px 22px 10px;
    background: rgba(5, 1, 15, 0.74);
    color: var(--paper);
    font-size: 1.02rem;
    font-family: "Comic Sans MS", "Trebuchet MS", cursive, sans-serif;
    box-shadow: inset 0 0 14px rgba(255, 255, 255, 0.05), 0 0 14px rgba(255, 255, 255, 0.04);
    outline: none;
    transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.weird-input--cyan {
    border-color: rgba(78, 245, 255, 0.9);
    box-shadow: 0 0 18px rgba(78, 245, 255, 0.2), inset 0 0 16px rgba(78, 245, 255, 0.05);
}

.weird-input--magenta {
    border-color: rgba(255, 39, 93, 0.92);
    box-shadow: 0 0 18px rgba(255, 39, 93, 0.2), inset 0 0 16px rgba(255, 39, 93, 0.05);
}

.weird-input--lime {
    border-color: rgba(198, 255, 72, 0.9);
    box-shadow: 0 0 18px rgba(198, 255, 72, 0.2), inset 0 0 16px rgba(198, 255, 72, 0.05);
}

.weird-input:focus,
.weird-input.is-typing {
    animation: input-jitter 120ms steps(2, end) 3;
    transform: scale(1.01);
}

.weird-error-inline,
.weird-errors {
    color: #ff516f;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: 2px 0 0 rgba(255, 255, 255, 0.12), 0 0 18px rgba(255, 81, 111, 0.32);
    animation: error-blink 0.9s steps(2, end) infinite;
}

.weird-errors {
    font-size: clamp(1.1rem, 1.7vw, 1.55rem);
    line-height: 1.2;
    padding: 0.8rem 1rem;
    border: 2px dashed rgba(255, 81, 111, 0.72);
    background: rgba(35, 0, 8, 0.56);
}

.weird-errors ul {
    margin: 0;
    padding-left: 1.25rem;
}

.weird-error-inline {
    font-size: 0.92rem;
}

.account-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

@keyframes input-jitter {
    0% { transform: translateX(-2px) rotate(-0.7deg); }
    50% { transform: translateX(2px) rotate(0.7deg); }
    100% { transform: translateX(-1px) rotate(-0.3deg); }
}

@keyframes error-blink {
    0%, 100% { opacity: 1; filter: saturate(1); }
    50% { opacity: 0.55; filter: saturate(1.5); }
}

@keyframes button-warp {
    0%, 100% { clip-path: inset(0 0 0 0); }
    40% { clip-path: inset(2% 0 1% 0); }
    70% { clip-path: inset(1% 0 3% 0); }
}

@keyframes lore-float {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50% { transform: translateY(-12px) rotate(4deg); }
}

@keyframes title-boil {
    0%, 100% { transform: translateY(0) skewX(0deg); }
    35% { transform: translateY(-3px) skewX(-2deg); }
    65% { transform: translateY(2px) skewX(2deg); }
}

@keyframes cat-end-float {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-10px) rotate(3deg); }
}

@media (max-width: 900px) {
    .hero-zone,
    .games-zone,
    .youtube-zone {
        padding: 5rem 1.2rem;
    }

    .hero-copy {
        width: 92vw;
        padding-top: 18vh;
    }

    .game-grid {
        grid-template-columns: 1fr;
    }

    .road-copy {
        position: static;
        margin: 0 1rem 1rem;
    }

    .road-zone__sticky {
        display: block;
    }

    .road-surface {
        height: 56vh;
    }

    .tracking-eye {
        width: clamp(90px, 22vw, 150px);
    }

    .lang-toggle {
        right: 0.8rem;
        top: 0.8rem;
    }

    .music-toggle {
        right: 7.7rem;
        top: 0.8rem;
    }

    .back-toggle {
        left: 0.8rem;
        top: 0.8rem;
    }

    .account-shell {
        padding-top: 7rem;
    }

    .account-eye {
        top: 10%;
        left: 2%;
        width: 130px;
    }

    .account-lore {
        max-width: 72vw;
        font-size: 0.95rem;
    }

    .account-lore--left {
        top: 14%;
        right: 3%;
    }

    .account-lore--right {
        left: 3%;
        bottom: 8%;
    }

    .hero-portals,
    .account-links,
    .game-detail-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .game-detail-layout {
        grid-template-columns: 1fr;
    }

    .schizo-bot {
        right: 0.8rem;
        bottom: 0.8rem;
        width: min(360px, calc(100vw - 1.6rem));
    }

    .schizo-launcher {
        right: 0.8rem;
        bottom: 0.8rem;
    }

    .schizo-bot__actions,
    .support-admin {
        grid-template-columns: 1fr;
    }

    .support-stats {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 2010 XP Dreamcore / Frutiger Aero Global Tone Override */
:root {
    --bg-void: #0b1323;
    --acid-red: #c895b6;
    --acid-cyan: #9fd6ee;
    --acid-lime: #cfdfb8;
    --acid-gold: #efd6a8;
    --paper: #f2f7fb;
}

body,
.game-detail-body,
.account-page-body {
    background:
        linear-gradient(rgba(24, 39, 68, 0.2), rgba(8, 12, 22, 0.72)),
        url("/surreal_bg.jpg") center top / cover fixed no-repeat;
    color: var(--paper);
    font-family: "Trebuchet MS", "Verdana", "Tahoma", sans-serif;
}

.cursor-trail {
    background: linear-gradient(135deg, rgba(235, 247, 255, 0.94), rgba(155, 197, 231, 0.92));
    filter: blur(0.35px) drop-shadow(0 0 10px rgba(175, 211, 238, 0.22));
}

.hero-zone::before {
    background:
        radial-gradient(circle at 16% 22%, rgba(183, 208, 235, 0.16), transparent 24%),
        radial-gradient(circle at 82% 18%, rgba(226, 240, 249, 0.14), transparent 26%),
        radial-gradient(circle at 50% 76%, rgba(236, 231, 194, 0.11), transparent 30%);
}

.bead-rain__strand {
    filter: drop-shadow(0 0 10px rgba(242, 219, 173, 0.26));
}

.logo-primary {
    filter: drop-shadow(0 0 16px rgba(179, 215, 240, 0.24));
}

.tracking-eye__ball {
    filter: drop-shadow(0 0 14px rgba(227, 236, 245, 0.14));
}

.hero-kicker,
.game-orb__meta,
.game-detail-accent,
.game-detail-kicker,
.support-admin__conversation strong {
    color: #f4dfb3;
    text-shadow: 1px 0 0 rgba(151, 190, 223, 0.24), -1px 0 0 rgba(240, 230, 208, 0.18);
}

.hero-title {
    color: #e7f1fb;
    text-shadow:
        3px 0 0 rgba(152, 191, 224, 0.26),
        -3px 0 0 rgba(241, 228, 201, 0.18),
        0 0 18px rgba(197, 222, 242, 0.12);
}

.hero-bio {
    color: #f6e8c4;
}

.hero-noise,
.section-heading p,
.road-copy p,
.game-orb p,
.game-detail-copy p,
.agreement-card p,
.agreement-card li {
    color: rgba(241, 246, 251, 0.88);
    text-shadow: 0 0 8px rgba(219, 230, 240, 0.08);
}

.section-heading h2 {
    color: #e3f2fc;
    text-shadow: 2px 0 0 rgba(154, 191, 223, 0.24), 0 0 16px rgba(219, 234, 245, 0.1);
}

.road-overlay {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.28)),
        radial-gradient(circle at center, transparent 44%, rgba(0, 0, 0, 0.22) 100%);
}

.road-trail {
    color: rgba(244, 231, 196, 0.92);
    background: rgba(18, 28, 46, 0.32);
    border: 1px solid rgba(222, 235, 247, 0.12);
}

.game-orb {
    border: 1px solid rgba(218, 237, 255, 0.26);
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.2), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(162, 196, 225, 0.08) 34%, rgba(19, 32, 58, 0.84));
    box-shadow:
        0 16px 34px rgba(12, 24, 45, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -10px 18px rgba(76, 110, 153, 0.12);
}

.game-orb::before {
    background: linear-gradient(180deg, rgba(233, 245, 255, 0.88), rgba(135, 176, 214, 0.46));
}

.game-orb:hover,
.game-orb:focus-within {
    box-shadow:
        0 20px 42px rgba(12, 24, 45, 0.28),
        0 0 16px rgba(190, 218, 239, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    filter: saturate(1.02) brightness(1.02);
}

.game-orb__thumb {
    box-shadow: 0 0 12px rgba(234, 241, 247, 0.14);
}

.game-orb h3,
.game-detail-title {
    text-shadow: 1px 0 0 rgba(154, 191, 223, 0.22), -1px 0 0 rgba(238, 228, 206, 0.16);
}

.lang-toggle,
.music-toggle,
.account-link-orb,
.account-submit,
.dataset-row__delete,
.support-admin__conversation,
.support-stat-card,
.game-detail-card,
.schizo-bot,
.account-card,
.account-panel {
    backdrop-filter: blur(10px);
}

.lang-toggle,
.music-toggle {
    border-color: rgba(214, 235, 255, 0.56);
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.42), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(175, 212, 243, 0.26) 46%, rgba(82, 125, 182, 0.26) 100%),
        rgba(24, 42, 74, 0.78);
    box-shadow:
        0 10px 22px rgba(8, 22, 48, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -10px 18px rgba(58, 92, 141, 0.18);
}

.back-toggle {
    border-color: rgba(214, 235, 255, 0.56);
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.42), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(175, 212, 243, 0.26) 46%, rgba(82, 125, 182, 0.26) 100%),
        rgba(24, 42, 74, 0.78);
    box-shadow:
        0 10px 22px rgba(8, 22, 48, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -10px 18px rgba(58, 92, 141, 0.18);
}

.lang-toggle strong,
.music-toggle strong {
    text-shadow: 0 1px 0 rgba(67, 90, 126, 0.48);
}

.back-toggle strong {
    text-shadow: 0 1px 0 rgba(67, 90, 126, 0.48);
}

.account-link-orb,
.account-submit {
    border: 1px solid rgba(215, 236, 255, 0.58);
    background:
        radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.46), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(184, 220, 246, 0.28) 42%, rgba(93, 143, 197, 0.28) 70%, rgba(55, 95, 151, 0.26) 100%),
        rgba(24, 42, 74, 0.84);
    color: #f3fbff;
    font-family: "Trebuchet MS", "Verdana", "Tahoma", sans-serif;
    text-shadow: 0 1px 0 rgba(60, 87, 122, 0.55);
    box-shadow:
        0 12px 24px rgba(6, 18, 43, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -10px 16px rgba(55, 92, 148, 0.18);
    transform: skewX(-6deg);
}

.account-link-orb span,
.account-submit span {
    transform: skewX(6deg);
}

.account-link-orb:hover,
.account-link-orb:focus-visible,
.account-submit:hover,
.account-submit:focus-visible {
    transform: translateY(-2px) skewX(-6deg) scale(1.01);
    filter: saturate(1.06) brightness(1.03);
    box-shadow:
        0 16px 28px rgba(6, 18, 43, 0.28),
        0 0 14px rgba(188, 221, 243, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.48),
        inset 0 -12px 18px rgba(66, 104, 159, 0.2);
}

.account-link-orb--ghost {
    background:
        radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.42), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(198, 230, 250, 0.24) 42%, rgba(108, 156, 205, 0.22) 70%, rgba(60, 101, 151, 0.2)),
        rgba(22, 39, 69, 0.8);
}

.game-detail-card,
.account-card,
.account-panel,
.schizo-bot {
    border-color: rgba(220, 238, 255, 0.24);
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(169, 203, 232, 0.06) 34%, rgba(16, 28, 51, 0.9));
    box-shadow:
        0 24px 54px rgba(10, 24, 44, 0.28),
        0 0 20px rgba(190, 220, 241, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.support-admin__conversation,
.support-stat-card,
.dataset-row {
    border-color: rgba(205, 229, 250, 0.28);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(164, 199, 235, 0.08)),
        rgba(24, 40, 68, 0.58);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 8px 18px rgba(7, 18, 39, 0.16);
}

.support-admin__conversation.is-active {
    border-color: rgba(179, 219, 252, 0.56);
    box-shadow:
        0 10px 20px rgba(8, 22, 46, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.dataset-row__meta,
.support-admin__conversation em,
.music-toggle strong {
    color: #d6f3ff;
}

.dataset-row__delete {
    border: 1px solid rgba(207, 228, 249, 0.44);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(188, 214, 240, 0.2) 42%, rgba(91, 125, 171, 0.2)),
        rgba(35, 56, 93, 0.62);
    color: #f2f8ff;
    text-shadow: 0 1px 0 rgba(59, 84, 118, 0.5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        0 6px 14px rgba(8, 18, 42, 0.16);
}

.schizo-bot__line {
    background: rgba(236, 245, 252, 0.05);
}

.schizo-bot__line--user {
    border: 1px solid rgba(201, 166, 193, 0.2);
}

.schizo-bot__line--bot {
    border: 1px solid rgba(177, 213, 241, 0.22);
}

.schizo-bot__input,
.weird-input {
    border-color: rgba(191, 219, 243, 0.72);
    background: rgba(16, 28, 51, 0.76);
    color: var(--paper);
    font-family: "Trebuchet MS", "Verdana", "Tahoma", sans-serif;
    box-shadow: 0 0 12px rgba(190, 220, 241, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.weird-input--cyan,
.schizo-bot__input {
    border-color: rgba(176, 213, 243, 0.82);
}

.weird-input--magenta {
    border-color: rgba(205, 173, 199, 0.76);
}

.weird-input:focus,
.weird-input.is-typing,
.schizo-bot__input:focus,
.schizo-bot__input.is-typing {
    box-shadow: 0 0 14px rgba(185, 217, 241, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vhs-overlay__rgb {
    background: linear-gradient(90deg, rgba(163, 194, 227, 0.08), transparent 28%, rgba(233, 241, 247, 0.08) 68%, transparent);
}

.vhs-overlay__scanlines {
    background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.06) 0, rgba(255,255,255,0.06) 1px, rgba(0,0,0,0.12) 2px, rgba(0,0,0,0.12) 4px);
}

.vhs-overlay__noise {
    opacity: 0.14;
}

.telegram-hub,
.social-zone {
    position: relative;
    min-height: 100vh;
    padding: 6rem 6vw;
}

.social-page {
    display: grid;
    gap: 1.5rem;
    padding: 2rem 0 3rem;
}

.social-page__hero {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 1.4rem;
    align-items: start;
}

.telegram-grid,
.social-grid,
.achievement-grid,
.moderation-list {
    display: grid;
    gap: 1.4rem;
}

.telegram-grid,
.social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.achievement-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 2rem;
}

.telegram-panel,
.social-compose,
.feed-card,
.achievement-card,
.moderation-item,
.moderation-card,
.layout-topbar {
    border: 1px solid rgba(220, 238, 255, 0.24);
    border-radius: 28px 20px 34px 22px;
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(169, 203, 232, 0.06) 34%, rgba(16, 28, 51, 0.9));
    box-shadow:
        0 24px 54px rgba(10, 24, 44, 0.28),
        0 0 20px rgba(190, 220, 241, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

.telegram-panel,
.social-compose,
.moderation-card {
    padding: 1.5rem;
}

.telegram-panel h3,
.social-compose h3,
.achievement-card h3 {
    margin-top: 0;
}

.telegram-copy {
    color: rgba(241, 246, 251, 0.88);
    line-height: 1.45;
}

.telegram-copy--tiny {
    font-size: 0.92rem;
}

.telegram-profile,
.achievement-card__body,
.social-compose__form,
.feed-card,
.moderation-item {
    display: grid;
    gap: 0.8rem;
}

.telegram-profile em,
.feed-card__meta em,
.feed-card__meta span,
.moderation-item__meta em,
.moderation-item__meta span {
    color: #d6f3ff;
    font-style: normal;
}

.telegram-logout {
    margin-top: 1rem;
}

.ton-connect-slot {
    min-height: 52px;
}

.achievement-card {
    overflow: hidden;
}

.achievement-card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.achievement-card__body {
    padding: 1.1rem;
}

.achievement-card__prices,
.achievement-card__actions,
.feed-card__meta,
.feed-card__actions,
.moderation-item__meta,
.layout-topbar,
.layout-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.achievement-card__prices {
    color: #f4dfb3;
}

.achievement-card__actions {
    align-items: stretch;
}

.achievement-card__actions .account-submit,
.achievement-card__actions .account-link-orb {
    flex: 1 1 180px;
    justify-content: center;
}

.achievement-card__actions .account-submit[disabled],
.achievement-card__actions .account-link-orb[disabled] {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(0.2);
}

.achievement-card__owned,
.moderation-item__badge {
    color: #f6e8c4;
}

.social-compose__textarea {
    min-height: 160px;
    resize: vertical;
}

.social-compose__select,
.social-compose__textarea {
    width: 100%;
}

.feed-list {
    display: grid;
    gap: 1rem;
}

.feed-card__text,
.moderation-item__text {
    margin: 0;
    line-height: 1.5;
}

.feed-card--heavy {
    padding: 1.3rem 1.4rem;
}

.feed-card__text--heavy {
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.7;
    color: #f6fbff;
}

.feed-card__actions {
    align-items: stretch;
}

.feed-card__actions .account-link-orb {
    flex: 1 1 140px;
    justify-content: center;
}

.feed-comments,
.feed-comment-form,
.profile-actions {
    display: grid;
    gap: 0.8rem;
}

.feed-comments {
    margin-top: 0.6rem;
}

.feed-comment {
    padding: 0.85rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(220, 238, 255, 0.16);
}

.feed-comment span {
    display: block;
    margin-top: 0.2rem;
    color: #d6f3ff;
}

.feed-comment p {
    margin: 0.55rem 0 0;
    line-height: 1.5;
}

.feed-card__achievement {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.8rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    width: fit-content;
}

.feed-card__achievement img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
}

.profile-card,
.profile-edit,
.profile-linking,
.profile-card__header,
.profile-card__identity,
.profile-linking__code,
.feed-card__meta--with-avatar,
.feed-card__meta-copy {
    display: grid;
    gap: 0.85rem;
}

.profile-card__header {
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    margin-bottom: 1rem;
}

.profile-card__avatar,
.feed-card__avatar {
    width: 92px;
    height: 92px;
    border-radius: 26px;
    object-fit: cover;
    border: 1px solid rgba(220, 238, 255, 0.24);
    box-shadow:
        0 14px 28px rgba(10, 24, 44, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.feed-card__avatar {
    width: 54px;
    height: 54px;
    border-radius: 18px;
}

.profile-card__avatar--fallback,
.feed-card__avatar--fallback {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.34), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(169, 203, 232, 0.1) 34%, rgba(16, 28, 51, 0.94));
    color: #f8fbff;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
}

.feed-card__avatar--fallback {
    font-size: 1.2rem;
}

.profile-card__identity strong {
    font-size: 1.4rem;
}

.profile-card__identity span,
.profile-card__identity em {
    color: #d6f3ff;
    font-style: normal;
}

.profile-linking__code {
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
}

.profile-linking__code strong {
    color: #f4dfb3;
}

.profile-linking__code span {
    font-size: 1.6rem;
    letter-spacing: 0.18em;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

.feed-card__meta--with-avatar {
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
}

.layout-shell {
    padding: 1.4rem;
}

.layout-topbar {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    margin-bottom: 1.2rem;
}

.board-shell {
    min-height: auto;
}

.board-card,
.board-toolbar,
.board-toolbar__block,
.board-canvas-wrap {
    display: grid;
    gap: 1rem;
}

.board-mobile-actions {
    display: none;
    margin-top: 1rem;
}

.board-thread-toggle.is-active {
    filter: saturate(1.15) brightness(1.04);
    box-shadow:
        0 16px 28px rgba(6, 18, 43, 0.28),
        0 0 18px rgba(176, 14, 39, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.48),
        inset 0 -12px 18px rgba(66, 104, 159, 0.2);
}

.board-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.4rem;
}

.board-toolbar__block {
    align-content: start;
}

.board-toolbar__block label,
.board-status {
    color: #d6f3ff;
    letter-spacing: 0.08em;
    font-size: 0.88rem;
    text-transform: uppercase;
}

.board-note-input {
    min-height: 120px;
    resize: vertical;
}

.board-sticker-picker,
.board-tenor-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
    gap: 0.8rem;
}

.board-sticker-option,
.board-tenor-result {
    padding: 0.6rem;
    border: 1px solid rgba(215, 236, 255, 0.42);
    border-radius: 22px;
    background:
        radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.35), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(188, 214, 240, 0.14) 42%, rgba(91, 125, 171, 0.16)),
        rgba(35, 56, 93, 0.62);
    color: #f2f8ff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 10px 18px rgba(8, 18, 42, 0.16);
    transition: transform 180ms ease, filter 180ms ease;
}

.board-sticker-option:hover,
.board-tenor-result:hover {
    transform: translateY(-2px);
    filter: saturate(1.08);
}

.board-sticker-option img,
.board-tenor-result img {
    width: 100%;
    height: 92px;
    object-fit: cover;
    border-radius: 16px;
}

.board-sticker-option span {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.84rem;
}

.board-tenor-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.8rem;
}

.board-canvas-wrap {
    position: relative;
    min-height: 960px;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 36px;
    overflow: auto;
    background:
        radial-gradient(circle at 16% 14%, rgba(255, 255, 255, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(63, 47, 26, 0.55), rgba(34, 22, 10, 0.74)),
        url("/surreal_bg.jpg") center center / cover no-repeat;
    border: 1px solid rgba(231, 208, 177, 0.26);
    box-shadow:
        inset 0 0 80px rgba(0, 0, 0, 0.28),
        0 24px 54px rgba(10, 24, 44, 0.22);
}

.board-canvas,
.board-threads {
    position: absolute;
    left: 0;
    top: 0;
    min-width: 100%;
    min-height: 100%;
}

.board-threads {
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.board-thread-line {
    stroke: rgba(176, 14, 39, 0.9);
    stroke-width: 4;
    stroke-linecap: round;
    filter: drop-shadow(0 0 6px rgba(120, 0, 22, 0.55));
}

.board-canvas {
    z-index: 2;
    touch-action: pan-y pinch-zoom;
}

.board-item {
    position: absolute;
    width: clamp(124px, 18vw, 170px);
    min-height: 120px;
    padding: 1rem 0.9rem 0.85rem;
    border-radius: 20px;
    cursor: grab;
    user-select: none;
    box-shadow:
        0 16px 28px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: transform 180ms ease, box-shadow 180ms ease;
    -webkit-user-drag: none;
    touch-action: pan-y pinch-zoom;
}

.board-item.is-dragging {
    cursor: grabbing;
    transform: scale(1.04) rotate(-1.5deg);
    z-index: 20;
}

.board-item.is-thread-armed {
    outline: 3px solid rgba(176, 14, 39, 0.9);
    transform: scale(1.03) rotate(-1deg);
    z-index: 21;
}

.board-item--note {
    background: linear-gradient(180deg, rgba(255, 241, 166, 0.96), rgba(230, 194, 110, 0.92));
    color: #2d1c05;
    font-family: "Comic Sans MS", "Trebuchet MS", cursive, sans-serif;
    transform: rotate(-2deg);
}

.board-item--sticker,
.board-item--gif,
.board-item--photo {
    background: rgba(28, 18, 13, 0.88);
    transform: rotate(1.5deg);
}

.board-item__note {
    white-space: pre-wrap;
    line-height: 1.4;
    font-size: 1rem;
}

.board-item__image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 14px;
    border: 3px solid rgba(240, 228, 201, 0.9);
    pointer-events: none;
    -webkit-user-drag: none;
}

.board-item__report {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: rgba(131, 9, 31, 0.92);
    color: #fff7dd;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
    z-index: 3;
}

.layout-main {
    min-height: calc(100vh - 120px);
}

.moderation-shell {
    min-height: auto;
}

.moderation-item {
    padding: 1rem;
}

@media (max-width: 900px) {
    .telegram-hub,
    .social-zone {
        padding: 5rem 1.2rem;
    }

    .social-page__hero {
        grid-template-columns: 1fr;
    }

    .profile-card__header,
    .feed-card__meta--with-avatar {
        grid-template-columns: 1fr;
    }

    .telegram-grid,
    .social-grid {
        grid-template-columns: 1fr;
    }

    .layout-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .layout-nav {
        justify-content: stretch;
    }

    .board-toolbar {
        grid-template-columns: 1fr;
    }

    .board-mobile-actions {
        display: block;
    }

    .board-tenor-search {
        grid-template-columns: 1fr;
    }

    .board-canvas-wrap {
        min-height: 760px;
    }
}

@media (max-width: 700px) {
    .board-shell {
        display: none !important;
    }

    html,
    body {
        overflow-x: clip;
    }

    .weirdcore-page {
        overflow-x: clip;
    }

    body {
        background:
            linear-gradient(rgba(12, 18, 30, 0.22), rgba(8, 12, 22, 0.82)),
            radial-gradient(circle at top, rgba(226, 241, 252, 0.08), transparent 38%),
            url("/surreal_bg.jpg") center top / cover no-repeat;
        background-attachment: scroll;
    }

    .hero-zone,
    .games-zone,
    .youtube-zone,
    .telegram-hub,
    .social-zone {
        min-height: auto;
        padding: 5.6rem 1rem 2.4rem;
    }

    .hero-zone {
        padding-top: 6.4rem;
    }

    .hero-copy {
        width: 100%;
        padding-top: 17vh;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-title {
        font-size: clamp(2.15rem, 13vw, 4.2rem);
        line-height: 0.96;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .hero-kicker,
    .hero-bio,
    .hero-noise,
    .section-heading p,
    .road-copy p,
    .game-orb p {
        font-size: 0.92rem;
        line-height: 1.45;
    }

    .hero-portals,
    .account-links,
    .game-detail-actions {
        gap: 0.75rem;
    }

    .floating-guy {
        width: min(28vw, 126px);
        left: -3%;
        bottom: 1%;
        opacity: 0.72;
    }

    .logo-primary {
        top: 5%;
        left: auto;
        right: -6%;
        width: min(28vw, 116px);
        opacity: 0.78;
    }

    .logo-secondary,
    .eye-d,
    .eye-e,
    .bead-rain__strand--c {
        display: none;
    }

    .tracking-eye {
        width: min(27vw, 120px);
    }

    .eye-a {
        top: 14%;
        left: -3%;
    }

    .eye-b {
        top: 18%;
        right: -4%;
    }

    .eye-c {
        top: 54%;
        right: 4%;
    }

    .road-zone {
        min-height: auto;
        padding-top: 0;
        padding-bottom: 1rem;
    }

    .road-zone__sticky {
        position: relative;
        min-height: auto;
        display: grid;
        gap: 0.9rem;
        padding: 0 0 1.4rem;
        place-items: stretch;
    }

    .road-copy {
        margin: 0 0 1rem;
        padding: 0 0.2rem;
    }

    .road-copy h2,
    .section-heading h2 {
        font-size: clamp(1.7rem, 10vw, 2.8rem);
    }

    .road-surface {
        width: 100%;
        height: min(52vh, 380px);
        border-radius: 28px;
        overflow: hidden;
        margin: 0 auto;
        box-shadow:
            inset 0 0 40px rgba(0, 0, 0, 0.2),
            0 16px 36px rgba(9, 20, 39, 0.22);
    }

    .road-surface__img {
        width: 100%;
    }

    .road-trail {
        left: 6%;
        max-width: min(72vw, 270px);
        font-size: 0.72rem;
        letter-spacing: 0.09em;
        padding: 0.34rem 0.56rem;
    }

    .road-trail--b {
        left: 12%;
    }

    .road-trail--c {
        left: 18%;
        max-width: min(68vw, 252px);
    }

    .walker {
        left: 3%;
        width: min(30vw, 118px);
        bottom: 6%;
    }

    .game-grid {
        gap: 1rem;
    }

    .game-orb {
        min-height: 0;
        padding: 1rem 1rem 1rem 1.1rem;
        border-radius: 24px;
    }

    .game-orb__thumb {
        width: min(34vw, 112px);
    }

    .youtube-pile {
        display: grid;
        gap: 1rem;
        min-height: auto;
        margin-top: 2rem;
        width: 100%;
        overflow: hidden;
    }

    .yt-drop,
    .youtube-zone.is-active .yt-drop {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        padding: 0.75rem;
        opacity: 1;
        transform: none;
        animation: none !important;
        max-width: 100%;
        min-width: 0;
        margin: 0;
    }

    .chaos-cat-shell {
        gap: 0.55rem;
    }

    .chaos-cat-button,
    .cat-end-button__img {
        width: min(62vw, 280px);
        height: min(62vw, 280px);
    }

    .board-shell {
        padding: 0 1rem 2rem;
    }

    .board-card {
        padding: 1rem;
    }

    .board-canvas-wrap {
        min-height: 540px;
        padding: 0.5rem;
        border-radius: 24px;
        overflow: auto;
    }

    .board-item {
        width: 118px;
        min-height: 92px;
        padding: 0.7rem 0.62rem 0.62rem;
        border-radius: 16px;
    }

    .board-item__image {
        height: 82px;
        border-width: 2px;
    }

    .board-item__note {
        font-size: 0.82rem;
        line-height: 1.3;
    }

    .board-item__report {
        width: 24px;
        height: 24px;
        top: 0.28rem;
        right: 0.28rem;
    }
}

@media (max-width: 520px) {
    body {
        background:
            linear-gradient(rgba(10, 16, 26, 0.34), rgba(8, 10, 18, 0.9)),
            radial-gradient(circle at top, rgba(218, 236, 249, 0.08), transparent 34%),
            url("/surreal_bg.jpg") center top / 180% auto no-repeat;
    }

    .lang-toggle,
    .music-toggle,
    .back-toggle {
        top: auto;
        bottom: 0.7rem;
        padding: 0.6rem 0.72rem;
        font-size: 0.72rem;
        gap: 0.16rem;
        max-width: calc(50vw - 1rem);
    }

    .music-toggle {
        right: 5.7rem;
    }

    .lang-toggle {
        right: 0.7rem;
    }

    .back-toggle {
        left: 0.7rem;
    }

    .lang-toggle strong,
    .music-toggle strong,
    .back-toggle strong {
        font-size: 0.7rem;
    }

    .hero-zone {
        padding-top: 5.8rem;
    }

    .hero-copy {
        padding-top: 14vh;
        padding-right: 0.2rem;
    }

    .hero-title {
        font-size: clamp(1.95rem, 12vw, 3.2rem);
        letter-spacing: 0.01em;
    }

    .hero-kicker,
    .hero-bio,
    .hero-noise {
        max-width: 100%;
    }

    .floating-guy,
    .logo-primary,
    .tracking-eye {
        display: none;
    }

    .youtube-zone {
        padding-bottom: 1.6rem;
    }

    .youtube-pile {
        gap: 0.8rem;
    }

    .hero-portals .account-link-orb,
    .account-links .account-link-orb,
    .game-detail-actions .account-link-orb,
    .hero-portals .account-submit,
    .account-links .account-submit {
        width: 100%;
        justify-content: center;
    }

    .road-surface {
        height: 280px;
        border-radius: 22px;
    }

    .road-trail {
        max-width: min(66vw, 220px);
        font-size: 0.6rem;
        letter-spacing: 0.06em;
        padding: 0.28rem 0.44rem;
    }

    .road-trail--a {
        top: 20%;
    }

    .road-trail--b {
        top: 38%;
    }

    .road-trail--c {
        top: 56%;
    }

    .walker {
        width: min(28vw, 96px);
        bottom: 4%;
    }

    .game-orb h3 {
        font-size: 1.1rem;
    }

    .game-orb p {
        font-size: 0.86rem;
    }

    .section-heading p {
        font-size: 0.84rem;
    }

    .board-card,
    .account-card,
    .telegram-panel,
    .social-compose,
    .moderation-card {
        padding: 0.95rem;
    }

    .board-sticker-picker,
    .board-tenor-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .board-canvas-wrap {
        min-height: 460px;
        overflow: auto;
    }

    .board-item {
        width: 104px;
        min-height: 84px;
    }

    .board-item__image {
        height: 72px;
    }

    .board-item__note {
        font-size: 0.76rem;
    }

    .board-status {
        font-size: 0.72rem;
    }

    .cursor-avatar,
    .cursor-trails,
    .dev-scan-indicator {
        display: none !important;
    }
}
