/* Temizlenmiş CSS: Sadece kullanılanlar bırakıldı */
:root {
    --bg-color: #000;
}

* {
    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;
}

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: fixed;
    bottom: 16px;
    left: 16px;
    top: auto;
    max-width: 360px;
    max-height: 360px;
    width: auto;
    height: auto;
    z-index: 1000;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: none;
    display: block;
}
.corner-system {
    position: fixed;
    right: 0;
    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: 12px;
    right: 12px;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-switch {
    display: flex;
    gap: 4px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 3px;
}

.lang-btn {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-family: Tahoma, "Segoe UI", sans-serif;
}

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

.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: 86px;
    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;
}

.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: 11px;
    line-height: 1.15;
    text-align: center;
    word-break: break-word;
    max-width: 100%;
}

.desktop-social {
    position: fixed;
    left: 14px;
    bottom: 14px;
    z-index: 1500;
    pointer-events: auto;
}

.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: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;
}

.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: 11px;
}

.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-layer {
    position: fixed;
    inset: 0;
    z-index: 1800;
    pointer-events: none;
}

.win-window {
    position: absolute;
    width: min(460px, calc(100vw - 120px));
    min-width: 280px;
    max-width: 520px;
    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-titlebar {
    height: 28px;
    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: 12px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.win-close {
    width: 21px;
    height: 21px;
    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;
}

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

.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: 12px 14px;
    max-height: min(52vh, 420px);
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.5;
    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;
}

.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: 768px) {
    .mobile-view {
        display: none !important;
    }

    .corner-logo {
        left: 100px;
    }
}

@media (max-width: 767px) {
    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,
    body.mode-studio .studio-bg .corner-system {
        display: none !important;
    }

    .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;
        background: #000;
        scrollbar-width: auto;
        scrollbar-color: #808080 #1a1a1a;
    }

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

    .mobile-studio-scroll::-webkit-scrollbar-track {
        background: #1a1a1a;
        border-top: 1px solid #404040;
    }

    .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;
    }

    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(40px, 11vw, 58px);
        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;
    }

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

    .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: 72px;
        height: 84px;
        flex-shrink: 0;
        padding: 2px 2px 0;
        gap: 0;
        touch-action: manipulation;
        display: grid;
        grid-template-rows: 44px 36px;
        justify-items: center;
        align-items: center;
    }

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

    .file-label {
        font-size: 10px;
        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);
        font-size: 14px;
    }

    .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;
    }
} 