:root {
    --bg-color: #000;
}

body.is-booting .studio-bg,
body.is-booting .desktop-layer,
body.is-booting .mobile-view,
body.is-booting .site-ui,
body.is-booting .desktop-social,
body.is-booting .win-layer,
body.is-booting .corner-logo,
body.is-booting .corner-system {
    visibility: hidden !important;
    pointer-events: none !important;
}

.boot-loader {
    position: fixed;
    inset: 0;
    z-index: 50000;
    display: grid;
    place-items: center;
    background: #000;
}

body:not(.is-booting) .boot-loader {
    display: none;
}

.boot-char {
    width: min(42vw, 240px);
    height: auto;
    object-fit: contain;
    image-rendering: auto;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: auto;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
}

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #000;
}

.studio-bg {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1536px;
    height: 1024px;
    transform: translate(-50%, -50%) scale(var(--scale, 1));
    transform-origin: center center;
    border: none;
    box-sizing: border-box;
}
.studio-bg > img[alt="Studio BG"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}
.studio-up {
    position: absolute;
    top: -1.8%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    pointer-events: none;
    width: auto;
    height: auto;
}
.character-anim {
    position: absolute;
    left: 149px;
    top: 206px;
    width: 171px;
    height: 149px;
    z-index: 11;
    object-fit: contain;
}
.studio-glass {
    position: absolute;
    left: 0;
    top: 0;
    width: 1536px;
    height: 1024px;
    z-index: 12;
    pointer-events: none;
}
.corner-logo {
    position: absolute;
    left: 2%;
    bottom: 2%;
    top: auto;
    right: auto;
    max-width: 360px;
    max-height: 360px;
    width: auto;
    height: auto;
    z-index: 25;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: none;
    display: block;
    pointer-events: none;
    object-fit: contain;
}
.corner-system {
    position: fixed;
    right: 0;
    left: auto;
    bottom: 0;
    z-index: 1000;
    cursor: pointer;
    line-height: 0;
    overflow: visible;
    clip-path: inset(-100% -100% 0 -100%);
}
.corner-system::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 8%;
    width: 85%;
    height: 40%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(112, 180, 255, 0.85) 0%, rgba(80, 140, 255, 0.35) 45%, transparent 70%);
    filter: blur(18px);
    opacity: 0;
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.corner-system:hover::before {
    opacity: 1;
    animation: system-glow 1.2s ease-in-out infinite alternate;
}
.corner-system-bottom {
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    background: none;
    transform-origin: bottom right;
    transition: transform 0.35s ease;
    filter: drop-shadow(0 0 0 transparent);
}
.corner-system:hover .corner-system-bottom {
    transform: scale(1.14) rotate(-7deg);
    filter: drop-shadow(0 10px 18px rgba(100, 170, 255, 0.7));
}
@keyframes system-glow {
    from { opacity: 0.65; transform: translateX(-50%) scale(0.95); }
    to { opacity: 1; transform: translateX(-50%) scale(1.08); }
}
.main-tv-screen {
    position: absolute;
    left: 613px;
    top: 43px;
    width: 853px;
    height: 569px;
    z-index: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-tv-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.small-tv-screen {
    position: absolute;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.small-tv1 { left: 656px; top: 612px; width: 162px; height: 108px; }
.small-tv2 { left: 835px; top: 620px; width: 156px; height: 104px; }
.small-tv3 { left: 1014px; top: 623px; width: 170px; height: 114px; }
.small-tv4 { left: 1218px; top: 635px; width: 177px; height: 119px; }
.small-tv-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.poko {
    position: absolute;
    z-index: 15;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}
.poko1 {
    position: absolute;
    left: 609px;
    bottom: 0;
    width: 418px;
    height: 246px;
    display: flex;
    align-items: flex-end;
}
.poko2 {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 202px;
    height: 293px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}
.poko img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.site-ui {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.lang-switch {
    display: flex;
    gap: 5px;
    background: rgba(0, 0, 0, 0.82);
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 10px;
    padding: 5px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 0 18px rgba(255, 255, 255, 0.28);
}

.lang-btn {
    border: 1px solid transparent;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 9px 14px;
    border-radius: 7px;
    cursor: pointer;
    font-family: Tahoma, "Segoe UI", sans-serif;
}

.lang-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.55);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.desktop-layer {
    position: fixed;
    inset: 0;
    z-index: 1400;
    pointer-events: none;
}

.desk-icon {
    pointer-events: auto;
    position: absolute;
    width: 102px;
    border: 1px solid transparent;
    background: transparent;
    color: #fff;
    cursor: pointer;
    padding: 6px 4px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border-radius: 2px;
    text-shadow: 1px 1px 2px #000, 0 0 4px #000;
    touch-action: none;
    z-index: 1;
}

.desk-icon:hover,
.desk-icon:focus-visible,
.file-icon:hover,
.file-icon:focus-visible {
    background: rgba(10, 60, 160, 0.45);
    border-color: rgba(255, 255, 255, 0.35);
    outline: none;
}

.desk-icon.is-selected,
.file-icon.is-selected {
    background: rgba(10, 60, 160, 0.55);
    border-color: rgba(255, 255, 255, 0.45);
}

.desk-icon.is-dragging {
    opacity: 0.92;
    cursor: grabbing;
    background: rgba(10, 60, 160, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
    transition: none;
}

.desk-icon[hidden] {
    display: none !important;
}

.txt-glyph {
    width: 34px;
    height: 42px;
    background:
        linear-gradient(#fff 0 0) 8px 12px / 18px 2px no-repeat,
        linear-gradient(#fff 0 0) 8px 18px / 18px 2px no-repeat,
        linear-gradient(#fff 0 0) 8px 24px / 12px 2px no-repeat,
        linear-gradient(#1e5bb8 0 0) 0 0 / 100% 10px no-repeat,
        linear-gradient(#f4f4f4 0 0);
    border: 1px solid #2a2a2a;
    box-shadow: 1px 1px 0 #000;
    position: relative;
    flex-shrink: 0;
}

.txt-glyph::after {
    content: 'TXT';
    position: absolute;
    left: 2px;
    top: 1px;
    font-size: 7px;
    font-weight: 700;
    color: #fff;
    font-family: Tahoma, sans-serif;
    letter-spacing: 0.04em;
}

.pc-glyph {
    width: 40px;
    height: 36px;
    background:
        linear-gradient(#3a3a3a 0 0) 8px 30px / 24px 4px no-repeat,
        linear-gradient(#1e90ff 0 0) 4px 4px / 32px 22px no-repeat,
        linear-gradient(#c0c0c0 0 0);
    border: 1px solid #222;
    box-shadow: 1px 1px 0 #000;
    flex-shrink: 0;
}

.bin-glyph {
    width: 34px;
    height: 40px;
    background:
        linear-gradient(#9aa3ad 0 0) 4px 8px / 4px 26px no-repeat,
        linear-gradient(#9aa3ad 0 0) 15px 8px / 4px 26px no-repeat,
        linear-gradient(#9aa3ad 0 0) 26px 8px / 4px 26px no-repeat,
        linear-gradient(#b8c0c8 0 0) 2px 6px / 30px 30px no-repeat,
        linear-gradient(#dfe3e8 0 0) 0 0 / 34px 8px no-repeat;
    border: 1px solid #333;
    box-shadow: 1px 1px 0 #000;
    flex-shrink: 0;
    position: relative;
}

.folder-glyph {
    width: 40px;
    height: 32px;
    background:
        linear-gradient(#e6b422 0 0) 0 10px / 100% 22px no-repeat,
        linear-gradient(#f0c84a 0 0) 0 0 / 18px 12px no-repeat;
    border: 1px solid #5a4200;
    box-shadow: 1px 1px 0 #000;
    flex-shrink: 0;
    border-radius: 1px 3px 2px 2px;
}

.game-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
    image-rendering: auto;
    pointer-events: none;
}

.mp3-glyph {
    width: 34px;
    height: 42px;
    flex-shrink: 0;
    border: 1px solid #2a2a2a;
    box-shadow: 1px 1px 0 #000;
    position: relative;
    background:
        linear-gradient(#fff 0 0) 8px 14px / 18px 2px no-repeat,
        linear-gradient(#fff 0 0) 8px 20px / 14px 2px no-repeat,
        linear-gradient(#fff 0 0) 8px 26px / 10px 2px no-repeat,
        linear-gradient(#6b1d8a 0 0) 0 0 / 100% 10px no-repeat,
        linear-gradient(#f4f4f4 0 0);
}

.mp3-glyph::after {
    content: 'MP3';
    position: absolute;
    left: 2px;
    top: 1px;
    font-size: 7px;
    font-weight: 700;
    color: #fff;
    font-family: Tahoma, sans-serif;
    letter-spacing: 0.04em;
}

.win-window[data-id="pokomp3"] {
    width: min(360px, calc(100vw - 48px));
}

.win-window.mp-win .win-content {
    background: #1a1520;
    border-color: #3a3048 #120e18 #120e18 #3a3048;
    color: #e8e0f0;
    padding: 12px;
}

.win-window.mp-win .win-titlebar {
    background: linear-gradient(90deg, #2a1040, #5a2a7a);
}

.mp-player {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mp-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mp-title {
    font-weight: 700;
    font-size: 14px;
    color: #f0e6ff;
}

.mp-status {
    font-size: 11px;
    color: #9a8ab0;
}

.mp-track {
    height: 12px;
    background: #0e0a14;
    border: 1px solid #4a3a5a;
    cursor: pointer;
    position: relative;
    box-shadow: inset 1px 1px 0 #000;
}

.mp-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #7ad3ff, #c084fc);
    pointer-events: none;
}

.mp-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mp-play {
    width: 36px;
    height: 28px;
    border: 1px solid;
    border-color: #fff #404040 #404040 #fff;
    background: #c0c0c0;
    color: #000;
    font-size: 12px;
    cursor: pointer;
    font-family: Tahoma, sans-serif;
}

.mp-play:active {
    border-color: #404040 #fff #fff #404040;
}

.mp-time {
    font-size: 12px;
    color: #cbb8e0;
    font-variant-numeric: tabular-nums;
}

.desk-icon.has-items .bin-glyph::after {
    content: '';
    position: absolute;
    left: 10px;
    top: 14px;
    width: 14px;
    height: 10px;
    background: #ffeb3b;
    border: 1px solid #333;
}

.file-label {
    font-family: Tahoma, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    word-break: break-word;
    max-width: 100%;
    letter-spacing: 0.01em;
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 0 0 4px #000;
}

.desktop-social {
    position: static;
    left: auto;
    bottom: auto;
    z-index: auto;
    pointer-events: auto;
    padding: 0;
    gap: 10px;
}

.desktop-social .social-btn {
    width: 48px;
    height: 48px;
    border-width: 2px;
}

.desktop-social .social-btn svg {
    width: 22px;
    height: 22px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 8px 0;
}

.social-btn {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.75);
    border: 2px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease, background 0.2s ease;
}

.social-btn svg {
    width: 32px;
    height: 32px;
    display: block;
}

.social-btn[hidden] {
    display: none !important;
}

.social-btn:hover {
    transform: scale(1.08);
    background: rgba(40, 40, 40, 0.95);
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
}

.ctx-menu {
    position: fixed;
    z-index: 3000;
    min-width: 150px;
    background: #fff;
    border: 1px solid #000;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
    padding: 2px;
    font-family: Tahoma, "Segoe UI", sans-serif;
}

.ctx-menu[hidden] {
    display: none !important;
}

.ctx-menu button {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    font-family: Tahoma, "Segoe UI", sans-serif;
}

.ctx-menu button:hover {
    background: #000080;
    color: #fff;
}

.ctx-menu button[hidden] {
    display: none !important;
}

.page-ctx-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px 6px;
    border-bottom: 1px solid #808080;
    margin-bottom: 2px;
    background: #fff;
}

.page-ctx-logo {
    display: block;
    width: auto;
    height: 28px;
    max-width: 140px;
    object-fit: contain;
    pointer-events: none;
}

.recycle-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.recycle-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid #ddd;
}

.recycle-restore {
    border: 1px solid #808080;
    background: #c0c0c0;
    padding: 3px 8px;
    font-size: 11px;
    cursor: pointer;
    font-family: Tahoma, sans-serif;
}

.ev-folders {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.ev-folder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 78px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    padding: 6px 4px;
    font-family: Tahoma, sans-serif;
    font-size: 11px;
    color: #111;
}

.ev-folder:hover {
    background: rgba(0, 0, 128, 0.12);
    border-color: rgba(0, 0, 128, 0.35);
}

.ev-folder .folder-glyph {
    width: 44px;
    height: 34px;
}

.ev-back {
    border: 1px solid #808080;
    background: #c0c0c0;
    padding: 4px 10px;
    margin-bottom: 10px;
    cursor: pointer;
    font-family: Tahoma, sans-serif;
    font-size: 12px;
}

.ev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.ev-thumb {
    border: 1px solid #808080;
    background: #f3f3f3;
    padding: 4px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    font-family: Tahoma, sans-serif;
    font-size: 10px;
    color: #222;
}

.ev-thumb img {
    width: 100%;
    height: 78px;
    object-fit: cover;
    background: #111;
    display: block;
}

.ev-thumb:hover {
    outline: 2px solid #000080;
}

.doc-attach {
    margin: 14px 0 0;
    padding: 0;
}

.doc-img-link {
    display: block;
    width: 100%;
    border: 1px solid #808080;
    background: #f7f7f7;
    padding: 6px;
    cursor: pointer;
    text-align: left;
}

.doc-img-link img {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
    background: #111;
    display: block;
}

.doc-img-caption {
    display: block;
    margin-top: 6px;
    font-family: Tahoma, sans-serif;
    font-size: 12px;
    color: #000080;
    text-decoration: underline;
}

.lightbox {
    display: none !important;
}

.win-window[data-id="img-viewer"] {
    width: min(640px, calc(100vw - 40px));
    max-width: 720px;
}

.win-window[data-id="img-viewer"] .win-content {
    max-height: min(75vh, 640px);
    padding: 8px;
    background: #000;
}

.win-photo {
    width: 100%;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.win-photo img {
    max-width: 100%;
    max-height: min(68vh, 580px);
    object-fit: contain;
    display: block;
}

.pc-explorer {
    font-family: Tahoma, "Segoe UI", sans-serif;
}

.pc-group {
    margin-bottom: 14px;
}

.pc-group-title {
    font-size: 11px;
    font-weight: 700;
    color: #000080;
    border-bottom: 1px solid #c0c0c0;
    margin-bottom: 8px;
    padding-bottom: 3px;
}

.pc-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 6px 4px;
    border: 1px solid transparent;
}

.pc-row:hover {
    background: rgba(0, 0, 128, 0.08);
    border-color: rgba(0, 0, 128, 0.2);
}

.pc-ico {
    font-size: 18px;
    line-height: 1.2;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.pc-meta {
    color: #555;
    font-size: 0.85em;
}

.win-window[data-id="computer"] {
    width: min(480px, calc(100vw - 48px));
}

.win-window[data-id="evidence"] {
    width: min(560px, calc(100vw - 48px));
    max-width: 640px;
}

.win-window[data-id="evidence"] .win-content {
    max-height: min(62vh, 520px);
}

.win-window[data-id="gelslash"],
.win-window[data-id="poshoot"] {
    width: min(700px, calc(100vw - 40px));
    max-width: 740px;
}

.win-window.ps-win,
.win-window[data-id="poshoot"] {
    background: #1a1f2a;
    border-top-color: #3a4558;
    border-left-color: #3a4558;
    border-right-color: #0a0c10;
    border-bottom-color: #0a0c10;
    box-shadow: none;
}

.win-window[data-id="poshoot"] .win-titlebar {
    background: linear-gradient(90deg, #102038, #1a4060);
}

.win-window[data-id="poshoot"] .win-content {
    background: #0b0f16;
    border-color: #222833 #11141a #11141a #222833;
    color: #d7e0ea;
    padding: 10px;
    max-height: min(78vh, 640px);
}

.gel-slash,
.po-shoot {
    position: relative;
}

.gel-slash.is-hit,
.po-shoot.is-hit {
    animation: poko-hit-shake 0.42s ease-out;
}

.gel-slash.is-hit::after,
.po-shoot.is-hit::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 8;
    pointer-events: none;
    border-radius: 4px;
    background: rgba(220, 40, 40, 0.22);
    animation: poko-hit-flash 0.42s ease-out forwards;
}

@keyframes poko-hit-shake {
    0%, 100% { transform: translate(0, 0); }
    15% { transform: translate(-6px, 2px); }
    30% { transform: translate(7px, -3px); }
    45% { transform: translate(-5px, 1px); }
    60% { transform: translate(4px, -2px); }
    75% { transform: translate(-3px, 1px); }
}

@keyframes poko-hit-flash {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

.po-shoot {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ps-hud {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    padding: 2px 4px 8px;
}

.ps-score-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.ps-lives {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.ps-heart {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #2a3344;
    border: 1px solid #445066;
}

.ps-heart.is-on {
    background: radial-gradient(circle at 35% 35%, #ff8a8a, #e03333 70%);
}

.ps-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7f92a8;
}

.ps-score {
    font-size: 22px;
    font-weight: 700;
    color: #9fd0ff;
    font-variant-numeric: tabular-nums;
}

.ps-hint {
    margin: 0;
    color: #8fa3b8;
    font-size: 12px;
    text-align: right;
    line-height: 1.35;
}

.ps-stage {
    position: relative;
}

.ps-canvas {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    border: 1px solid #2a3548;
    cursor: crosshair;
    touch-action: none;
    background: #070b12;
}

.ps-over {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(6, 10, 16, 0.82);
    border-radius: 4px;
    color: #e8eef6;
}

.ps-over[hidden] {
    display: none !important;
}

.ps-over-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.ps-over-score {
    margin: 0;
    font-size: 14px;
    color: #a8bdd0;
}

.ps-retry {
    border: 1px solid #4a6a88;
    background: #1a3048;
    color: #e8eef6;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-family: Tahoma, sans-serif;
}

.ps-retry:hover {
    background: #244060;
}

.ps-controls {
    display: none;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 8px;
}

.ps-btn {
    height: 48px;
    border: 1px solid #3a5068;
    background: #162030;
    color: #e8eef6;
    font-size: 18px;
    font-family: Tahoma, sans-serif;
    border-radius: 6px;
    cursor: pointer;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.ps-btn:active {
    background: #243848;
}

.ps-btn-fire {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: #2a1830;
    border-color: #6a3a78;
}

.shoot-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

@media (max-width: 1023px) {
    .ps-controls {
        display: grid;
    }

    .ps-hint {
        display: none;
    }

    .ps-hud {
        grid-template-columns: 1fr auto;
    }
}

.win-window.gel-win,
.win-window[data-id="gelslash"] {
    background: #1a1f2a;
    border-top-color: #3a4558;
    border-left-color: #3a4558;
    border-right-color: #0a0c10;
    border-bottom-color: #0a0c10;
    box-shadow: none;
}

.win-window[data-id="gelslash"] .win-titlebar {
    background: linear-gradient(90deg, #0d2038, #163556);
}

.win-window[data-id="gelslash"] .win-content {
    background: #0b0f16;
    border-color: #222833 #11141a #11141a #222833;
    color: #d7e0ea;
    padding: 10px;
    max-height: min(70vh, 560px);
}

.gel-slash {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gel-hud {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    padding: 2px 4px 8px;
}

.gel-score-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.gel-lives {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.gel-heart {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #2a3344;
    border: 1px solid #445066;
}

.gel-heart.is-on {
    background: radial-gradient(circle at 35% 35%, #ff8a8a, #e03333 70%);
}

.gel-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7f92a8;
}

.gel-score {
    font-size: 22px;
    font-weight: 700;
    color: #9fd0ff;
    font-variant-numeric: tabular-nums;
}

.gel-hint {
    margin: 0;
    color: #8fa3b8;
    font-size: 12px;
    text-align: right;
    line-height: 1.35;
}

.gel-stage {
    position: relative;
}

.gel-canvas {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    border: 1px solid #2a3548;
    cursor: crosshair;
    touch-action: none;
    background: #0a0e16;
}

.gel-over {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(6, 10, 16, 0.82);
    border-radius: 4px;
    color: #e8eef6;
}

.gel-over[hidden] {
    display: none !important;
}

.gel-over-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.gel-over-score {
    margin: 0;
    color: #9fb4c9;
}

.gel-retry {
    margin-top: 6px;
    border: 1px solid #4a6a88;
    background: #163556;
    color: #dff0ff;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-family: Tahoma, "Segoe UI", sans-serif;
    font-size: 13px;
}

.gel-retry:hover {
    background: #1d456c;
}

.win-layer {
    position: fixed;
    inset: 0;
    z-index: 1800;
    pointer-events: none;
}

.win-window {
    position: absolute;
    width: min(520px, calc(100vw - 120px));
    min-width: 300px;
    max-width: 600px;
    pointer-events: auto;
    background: #c0c0c0;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    border-right: 2px solid #404040;
    border-bottom: 2px solid #404040;
    box-shadow: 2px 2px 0 #000;
    font-family: Tahoma, "Segoe UI", sans-serif;
    --win-font: 15px;
    --win-title-size: 14px;
}

.win-titlebar {
    height: 30px;
    margin: 2px;
    padding: 0 4px 0 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #fff;
    background: linear-gradient(90deg, #000080, #1084d0);
    cursor: move;
    user-select: none;
    touch-action: none;
}

.win-title {
    font-size: var(--win-title-size);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.win-controls {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.win-font-btn,
.win-close {
    width: 22px;
    height: 22px;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #404040;
    border-bottom: 1px solid #404040;
    background: #c0c0c0;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
    font-family: Tahoma, "Segoe UI", sans-serif;
}

.win-font-btn {
    font-size: 13px;
}

.win-font-btn:active,
.win-close:active {
    border-top: 1px solid #404040;
    border-left: 1px solid #404040;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.win-close {
    font-size: 15px;
}

.win-content {
    margin: 0 2px 2px;
    background: #fff;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    color: #111;
    padding: 14px 16px;
    max-height: min(52vh, 420px);
    overflow-y: auto;
    font-size: var(--win-font);
    line-height: 1.55;
    scrollbar-width: auto;
    scrollbar-color: #808080 #dfdfdf;
}

.win-content::-webkit-scrollbar {
    width: 16px;
}

.win-content::-webkit-scrollbar-track {
    background: #dfdfdf;
    border-left: 1px solid #808080;
}

.win-content::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #404040;
    border-bottom: 1px solid #404040;
    min-height: 36px;
}

.win-content::-webkit-scrollbar-thumb:hover {
    background: #d0d0d0;
}

.win-content::-webkit-scrollbar-button {
    display: block;
    height: 16px;
    background: #c0c0c0;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #404040;
    border-bottom: 1px solid #404040;
}

.win-content p {
    margin: 0 0 10px;
}

.win-content ul {
    margin: 0;
    padding-left: 18px;
}

.win-content li {
    margin-bottom: 6px;
}

.menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2100;
}

.side-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 86vw);
    height: 100%;
    background: #0a0a0a;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 2200;
    transform: translateX(105%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.side-menu.is-open {
    transform: translateX(0);
}

.side-menu-inner {
    display: flex;
    flex-direction: column;
    padding: 72px 16px 24px;
    gap: 6px;
}

.menu-item {
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #f2f2f2;
    padding: 12px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-family: Tahoma, "Segoe UI", sans-serif;
    line-height: 1.3;
}

.menu-item:hover,
.menu-item:focus-visible {
    background: rgba(112, 149, 255, 0.18);
    border-color: rgba(112, 149, 255, 0.45);
    outline: none;
}

.popup {
    position: fixed;
    inset: 0;
    z-index: 2300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.65);
}

.popup[hidden],
.menu-backdrop[hidden] {
    display: none !important;
}

.popup-card {
    position: relative;
    width: min(520px, 100%);
    max-height: min(78vh, 640px);
    overflow-y: auto;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 28px 22px 22px;
    color: #eee;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.popup-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.popup-title {
    font-family: Tahoma, "Segoe UI", sans-serif;
    font-size: clamp(20px, 4vw, 26px);
    margin: 0 28px 14px 0;
    color: #fff;
}

.popup-body {
    font-family: Tahoma, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.popup-body p {
    margin: 0 0 12px;
}

.popup-body ul {
    margin: 0;
    padding-left: 18px;
}

.popup-body li {
    margin-bottom: 8px;
}

.page-glitch {
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    background: transparent;
    overflow: hidden;
    mix-blend-mode: screen;
}

.page-glitch.is-on {
    opacity: 0.72;
    visibility: visible;
}

.page-glitch img {
    position: absolute;
    inset: -5%;
    width: 110%;
    height: 110%;
    object-fit: cover;
    opacity: 0.95;
}

.page-glitch.is-on img {
    animation: page-glitch-shake 0.05s steps(2) infinite;
}

.page-glitch.is-on::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.1) 0 1px,
            transparent 1px 3px
        );
    mix-blend-mode: overlay;
    opacity: 0.7;
}

body.is-page-glitching .studio-bg,
body.is-page-glitching .mobile-view {
    animation: page-glitch-jitter 0.045s steps(2) infinite;
}

@keyframes page-glitch-shake {
    0% { transform: translate(0, 0); filter: contrast(1.35) saturate(1.2); }
    50% { transform: translate(-7px, 3px); filter: hue-rotate(40deg) contrast(1.55); }
    100% { transform: translate(5px, -3px); filter: contrast(1.3) hue-rotate(-15deg); }
}

@keyframes page-glitch-jitter {
    0% { filter: none; }
    50% { filter: contrast(1.35) saturate(1.55) hue-rotate(22deg) brightness(1.08); }
    100% { filter: brightness(1.15) contrast(1.2) hue-rotate(-8deg); }
}

.popup-body strong {
    color: #fff;
}

.mobile-view {
    display: none;
}

.mobile-social {
    display: none;
}

.mobile-files-bar {
    display: none;
}

.mobile-lang {
    display: none;
}

@media (min-width: 1024px) {
    .mobile-view {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .page-ctx-menu {
        display: none !important;
    }

    body {
        display: block;
        overflow: hidden;
        align-items: stretch;
        justify-content: flex-start;
        height: 100dvh;
        max-height: 100dvh;
    }

    .studio-bg {
        display: none;
    }

    body.mode-studio .studio-bg {
        display: block !important;
        position: relative;
        left: 0;
        top: 0;
        transform: scale(var(--scale, 1));
        transform-origin: top left;
    }

    body.mode-studio .studio-bg .corner-logo {
        display: none !important;
    }

    body.mode-studio .studio-bg .corner-system {
        display: block !important;
        position: absolute;
        left: 10%;
        right: auto;
        bottom: 0;
        z-index: 40;
        width: auto;
        height: auto;
        max-width: 440px;
        max-height: 440px;
        pointer-events: auto;
        -webkit-tap-highlight-color: transparent;
    }

    body.mode-studio .studio-bg .corner-system-bottom {
        width: 400px;
        height: auto;
        max-width: 100%;
        transform-origin: bottom center;
        transition: none;
        filter: none;
    }

    body.mode-studio .studio-bg .corner-system:hover .corner-system-bottom,
    body.mode-studio .studio-bg .corner-system:active .corner-system-bottom,
    body.mode-studio .studio-bg .corner-system.is-active .corner-system-bottom {
        transform: none;
        filter: none;
    }

    body.mode-studio .studio-bg .corner-system:hover::before,
    body.mode-studio .studio-bg .corner-system:active::before,
    body.mode-studio .studio-bg .corner-system.is-active::before {
        opacity: 0;
        animation: none;
    }

    .desktop-social,
    .site-ui {
        display: none !important;
    }

    .mobile-view {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        overflow: hidden;
        background: #000;
        padding: 0;
    }

    .mobile-stage {
        position: relative;
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    .mobile-scene-toggle {
        position: absolute;
        top: 8px;
        right: 10px;
        z-index: 30;
        width: 44px;
        height: 44px;
        border: 2px solid rgba(255, 255, 255, 0.45);
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.7);
        cursor: pointer;
        display: grid;
        place-items: center;
        padding: 0;
        box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
    }

    .scene-ico {
        display: none;
        width: 22px;
        height: 22px;
    }

    body.mode-studio .scene-ico-reactor {
        display: block;
        background:
            linear-gradient(#ff8a00 0 0) 4px 4px / 14px 14px no-repeat,
            radial-gradient(circle at 50% 40%, #222 0 3px, transparent 4px),
            linear-gradient(#f4a940 0 0);
        border-radius: 50% 50% 45% 45%;
        border: 1px solid #5a2f00;
    }

    body.mode-reactor .scene-ico-studio {
        display: block;
        background:
            linear-gradient(#4da3ff 0 0) 3px 5px / 16px 10px no-repeat,
            linear-gradient(#c0c0c0 0 0);
        border: 1px solid #333;
        box-shadow: inset 0 0 0 1px #fff;
    }

    .mobile-studio-scroll {
        display: block;
        width: 100%;
        flex: 1 1 auto;
        min-height: 0;
        max-height: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        touch-action: none;
        overscroll-behavior-x: contain;
        scroll-behavior: auto;
        cursor: grab;
        background: #000;
        scrollbar-width: thin;
        scrollbar-color: #808080 #c0c0c0;
        will-change: scroll-position;
    }

    .mobile-studio-scroll.is-panning {
        cursor: grabbing;
        user-select: none;
        scroll-snap-type: none;
    }

    .mobile-studio-scroll .studio-bg,
    .mobile-studio-scroll .studio-scale-box {
        pointer-events: none;
    }

    .mobile-studio-scroll .corner-system {
        pointer-events: auto;
    }

    .mobile-studio-scroll::-webkit-scrollbar {
        height: 16px;
    }

    .mobile-studio-scroll::-webkit-scrollbar-track {
        background: #c0c0c0;
        border-top: 1px solid #808080;
        box-shadow: inset 1px 1px 0 #fff;
    }

    .mobile-studio-scroll::-webkit-scrollbar-thumb {
        background: #c0c0c0;
        border-top: 1px solid #fff;
        border-left: 1px solid #fff;
        border-right: 1px solid #404040;
        border-bottom: 1px solid #404040;
        box-shadow: inset -1px -1px 0 #808080, inset 1px 1px 0 #dfdfdf;
        min-width: 40px;
    }

    .studio-pan-bar {
        display: none;
        flex-shrink: 0;
        align-items: center;
        gap: 6px;
        height: 30px;
        padding: 3px 6px;
        background: #c0c0c0;
        border-top: 1px solid #fff;
        box-shadow: inset 0 1px 0 #dfdfdf;
        z-index: 25;
    }

    body.mode-studio .studio-pan-bar {
        display: flex;
    }

    .studio-pan-btn {
        flex-shrink: 0;
        width: 24px;
        height: 22px;
        padding: 0;
        border: 1px solid;
        border-color: #fff #404040 #404040 #fff;
        background: #c0c0c0;
        color: #000;
        font-size: 10px;
        line-height: 1;
        cursor: pointer;
        box-shadow: inset 1px 1px 0 #dfdfdf;
    }

    .studio-pan-btn:active {
        border-color: #404040 #fff #fff #404040;
        box-shadow: inset 1px 1px 0 #808080;
    }

    .studio-pan-track {
        position: relative;
        flex: 1;
        height: 16px;
        background: #fff;
        border: 1px solid;
        border-color: #808080 #fff #fff #808080;
        box-shadow: inset 1px 1px 0 #000;
        overflow: hidden;
    }

    .studio-pan-thumb {
        position: absolute;
        top: 1px;
        left: 0;
        height: calc(100% - 2px);
        min-width: 28px;
        width: 40%;
        background: #c0c0c0;
        border: 1px solid;
        border-color: #fff #404040 #404040 #fff;
        box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #808080;
        pointer-events: none;
    }

    .mobile-stage::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 30px;
        width: 28px;
        pointer-events: none;
        z-index: 20;
        background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.45));
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    body.mode-studio .mobile-stage.is-panable::after {
        opacity: 1;
    }

    body.mode-reactor .mobile-studio-scroll {
        display: none;
    }

    body.mode-reactor .mobile-reactor {
        display: flex;
    }

    body.mode-studio .mobile-reactor {
        display: none;
    }

    .studio-scale-box {
        position: relative;
        overflow: hidden;
    }

    .mobile-header {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 8px;
        padding: 10px 12px;
        flex-shrink: 0;
        position: relative;
        z-index: 20;
        background: #000;
    }

    .mobile-logo {
        width: auto;
        height: clamp(44px, 12.1vw, 64px);
        object-fit: contain;
        justify-self: center;
        grid-column: 2;
    }

    .mobile-social {
        display: flex;
        gap: 12px;
        align-items: center;
        justify-self: start;
        grid-column: 1;
        position: static;
        transform: none;
    }

    .mobile-social .social-btn {
        width: 50px;
        height: 50px;
        border-width: 3px;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15), 0 0 16px rgba(255, 255, 255, 0.3);
        animation: none;
    }

    .mobile-social .social-x {
        background: #111;
        border-color: #fff;
        color: #fff;
    }

    .mobile-social .social-tg {
        background: #229ed9;
        border-color: #7ad3ff;
        color: #fff;
    }

    .mobile-social .social-btn svg {
        width: 24px;
        height: 24px;
    }

    .mobile-lang {
        display: flex;
        justify-self: end;
        grid-column: 3;
        gap: 3px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 8px;
        padding: 3px;
        box-shadow: none;
    }

    .mobile-lang .lang-btn {
        font-size: 11px;
        padding: 6px 7px;
        border: none;
        box-shadow: none;
    }

    .mobile-lang .lang-btn.active {
        border-color: transparent;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.15);
    }

    .mobile-files-bar {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 6px 4px 8px;
        background: rgba(0, 0, 0, 0.85);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        flex-shrink: 0;
        z-index: 15;
    }

    .files-nav {
        flex-shrink: 0;
        width: 36px;
        height: 72px;
        border: 1px solid rgba(255, 255, 255, 0.35);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
        display: grid;
        place-items: center;
        padding: 0;
        animation: files-arrow-nudge 1.4s ease-in-out infinite;
    }

    .files-nav-next {
        animation-delay: 0.7s;
    }

    .files-nav:active {
        background: rgba(255, 255, 255, 0.22);
    }

    @keyframes files-arrow-nudge {
        0%, 100% { transform: translateX(0); opacity: 0.85; }
        50% { transform: translateX(0); opacity: 1; box-shadow: 0 0 12px rgba(255, 255, 255, 0.25); }
    }

    .files-nav-prev {
        animation-name: files-arrow-nudge-left;
    }

    @keyframes files-arrow-nudge-left {
        0%, 100% { transform: translateX(0); opacity: 0.85; }
        50% { transform: translateX(-3px); opacity: 1; }
    }

    .files-nav-next {
        animation-name: files-arrow-nudge-right;
    }

    @keyframes files-arrow-nudge-right {
        0%, 100% { transform: translateX(0); opacity: 0.85; }
        50% { transform: translateX(3px); opacity: 1; }
    }

    .mobile-files-viewport {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }

    .desktop-layer {
        position: relative !important;
        inset: auto !important;
        left: auto !important;
        top: auto !important;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 2px;
        padding: 4px 2px;
        background: transparent;
        border: none;
        z-index: 1;
        pointer-events: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .desktop-layer::-webkit-scrollbar {
        display: none;
    }

    .desk-icon {
        position: relative;
        left: auto !important;
        top: auto !important;
        width: 84px;
        height: 88px;
        flex-shrink: 0;
        padding: 2px 2px 0;
        gap: 0;
        touch-action: manipulation;
        display: grid;
        grid-template-rows: 44px 40px;
        justify-items: center;
        align-items: center;
    }

    .desk-icon > .txt-glyph,
    .desk-icon > .pc-glyph,
    .desk-icon > .bin-glyph,
    .desk-icon > .folder-glyph,
    .desk-icon > .game-icon,
    .desk-icon > .shoot-icon,
    .desk-icon > .mp3-glyph {
        transform: none;
        align-self: center;
        justify-self: center;
        margin: 0;
    }

    .file-label {
        font-size: 12px;
        font-weight: 600;
        line-height: 1.15;
        width: 100%;
        height: 100%;
        max-width: none;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        text-align: center;
        overflow: hidden;
        word-break: break-word;
        hyphens: auto;
    }

    .win-layer {
        display: block;
    }

    .win-window {
        width: calc(100vw - 24px);
        min-width: 0;
        max-width: none;
    }

    .win-content {
        max-height: min(55vh, 420px);
    }

    .menu-toggle {
        display: none;
    }

    .side-menu,
    .menu-backdrop,
    .popup {
        display: none !important;
    }

    .mobile-reactor {
        position: relative;
        width: 100%;
        flex: 1 1 auto;
        min-height: 0;
        display: none;
        justify-content: center;
        align-items: center;
        padding: 8px 12px 16px;
        overflow: hidden;
    }

    body.mode-reactor .mobile-reactor {
        display: flex;
    }

    .mobile-reactor-img {
        width: auto;
        max-width: 100%;
        max-height: 100%;
        height: auto;
        object-fit: contain;
        display: block;
        position: relative;
        z-index: 1;
    }

    .mobile-reactor .character-anim {
        position: absolute;
        left: 50%;
        top: 65%;
        transform: translate(-50%, -50%);
        width: min(42%, 170px);
        height: auto;
        aspect-ratio: 171 / 149;
        object-fit: contain;
        z-index: 2;
        pointer-events: none;
    }
} 