/* Reset & Base */
:root {
    --win-gray: #c0c0c0;
    --win-dark: #808080;
    --win-darker: #404040;
    --win-light: #ffffff;
    --win-blue: #000080;
    --win-text: #000000;
    --mok-accent: #ff0055; /* Streetwear accent */
}

* {
    box-sizing: border-box;
    user-select: none;
    cursor: default;
    cursor: none !important; /* Hide default cursor everywhere */
}

html {
    background: #000;
    height: 100%;
    overflow: hidden;
}

body {
    margin: 0;
    padding: 0;
    background-color: #008080; /* Windows 95/98 Teal */
    /* Grimy urban texture overlay */
    background-image: 
        url('visuals/logos.png'),
        linear-gradient(rgba(0,0,0,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.1) 1px, transparent 1px);
    background-position: center center, 0 0, 0 0;
    background-repeat: no-repeat, repeat, repeat;
    background-size: clamp(150px, 25vw, 400px) auto, 4px 4px, 4px 4px;
    font-family: 'Tahoma', 'Segoe UI', sans-serif;
    font-size: 12px;
    overflow: hidden;
    height: 100vh;
    color: var(--win-text);
    
    /* Görüntü kesilmesini önlemek için transform kaldırıldı */
    transform: none;
    border-radius: 0;
    box-shadow: none;
    
    /* Chromatic Aberration */
    text-shadow: 1px 0 2px rgba(255,0,0,0.4), -1px 0 2px rgba(0,0,255,0.4);
    
    /* Phosphor Tint (Subtle Amber/Green) */
    filter: sepia(0.2) hue-rotate(50deg) contrast(1.1) saturate(1.2);
}

/* --- WINDOWS 9X SCROLLBARS --- */
::-webkit-scrollbar {
    width: 16px;
    height: 16px;
    background: #dfdfdf;
}
::-webkit-scrollbar-button {
    display: block;
    width: 16px;
    height: 16px;
    background-color: #dfdfdf;
    border: 1px inset #fff;
    border-right-color: #808080;
    border-bottom-color: #808080;
}
::-webkit-scrollbar-button:vertical:decrement {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path d="M4 10 l4 -5 l4 5 Z" fill="black"/></svg>');
    background-position: center; background-repeat: no-repeat;
}
::-webkit-scrollbar-button:vertical:increment {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path d="M4 6 l4 5 l4 -5 Z" fill="black"/></svg>');
    background-position: center; background-repeat: no-repeat;
}
::-webkit-scrollbar-button:horizontal:decrement {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path d="M10 4 l-5 4 l5 4 Z" fill="black"/></svg>');
    background-position: center; background-repeat: no-repeat;
}
::-webkit-scrollbar-button:horizontal:increment {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path d="M6 4 l5 4 l-5 4 Z" fill="black"/></svg>');
    background-position: center; background-repeat: no-repeat;
}
::-webkit-scrollbar-button:active {
    border-style: inset;
    background-color: #d0d0d0;
}
::-webkit-scrollbar-thumb {
    background-color: #dfdfdf;
    border: 1px inset #fff;
    border-right-color: #808080;
    border-bottom-color: #808080;
}
::-webkit-scrollbar-track {
    background: repeating-linear-gradient(45deg, #fff 25%, #dfdfdf 25%, #dfdfdf 75%, #fff 75%, #fff);
    background-size: 2px 2px;
}

/* CRT Filter Layer */
#crt-filter {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99999;
    
    /* Scanlines & Vignette */
    background: 
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), /* Scanlines */
        radial-gradient(circle at center, transparent 60%, rgba(0,0,0,0.4) 100%); /* Vignette */
    background-size: 100% 3px, 100% 100%;
    
    /* Flicker */
    animation: crt-flicker 1s infinite;
}

@keyframes crt-flicker {
    0% { opacity: 0.96; }
    50% { opacity: 1; }
    100% { opacity: 0.97; }
}

/* Boot Screen */
#boot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    color: #FFFF00;
    z-index: 10000;
    font-family: 'Courier New', monospace;
    padding: 20px;
    font-size: 14px;
    line-height: 1.4;
    cursor: none;
}

.bios-layout {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.bios-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.energy-star-logo {
    border: 2px solid #FFFF00;
    padding: 5px;
    width: 120px;
    text-align: center;
}

.es-graphic {
    font-style: italic;
    font-weight: bold;
    font-size: 18px;
    border-bottom: 1px solid #FFFF00;
    margin-bottom: 2px;
    background: linear-gradient(to right, #FFFF00 50%, #000 50%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.es-text {
    font-size: 8px;
    font-weight: bold;
}

/* Enhanced BIOS Table */
.bios-table {
    width: 100%;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    margin: 10px 0;
    padding: 5px 0;
}
.bios-row {
    display: flex;
    justify-content: space-between;
}
.bios-key { color: #fff; }
.bios-val { color: #FFFF00; font-weight: bold; }

.bios-details { margin-bottom: 20px; }
.bios-log { min-height: 100px; }
.bios-footer {
    position: fixed;
    bottom: 20px;
    left: 20px;
    font-size: 12px;
}

/* Smooth Boot Fade Out */
.fade-out {
    animation: bootFadeOut 0.2s forwards;
}
@keyframes bootFadeOut {
    0% { opacity: 1; filter: brightness(1); }
    100% { opacity: 0; filter: brightness(0); visibility: hidden; }
}

/* Desktop Icons */
.desktop-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.icon {
    position: absolute; /* Changed from static flex item */
    width: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
    cursor: pointer;
    overflow: hidden; /* Prevent zoomed image from spilling out */
}

.icon:active .icon-img {
    filter: brightness(0.7);
}

.icon-img {
    width: 52px; /* İkon görseli büyütüldü (Mevcut kare içinde daha büyük) */
    height: 52px;
    margin-bottom: 4px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* Fallback colors for missing images */
    background-color: rgba(255,255,255,0.2); 
    border: 1px dashed rgba(255,255,255,0.5);
    transition: filter 0.2s; /* Zoom efekti kaldırıldı, sadece parlaklık geçişi */
}

.icon:hover .icon-img {
    transform: none; /* Zoom iptal edildi */
    filter: brightness(1.2); /* Hafif parlama efekti eklendi */
}

.icon-label {
    background: transparent;
    padding: 2px;
    font-size: 11px;
    /* AAA okunabilirlik için kusursuz siyah kenarlık (stroke) */
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 0px 2px 2px rgba(0,0,0,0.8);
}

.icon:hover .icon-label {
    background: var(--win-blue);
    border: 1px dotted #fff;
    padding: 1px;
}

/* Seçilmiş İkon Stilleri */
.icon.selected .icon-img {
    filter: brightness(0.6) sepia(1) hue-rotate(180deg) saturate(4); /* Mavi seçim filtresi */
}
.icon.selected .icon-label {
    background: var(--win-blue);
    color: #fff;
    border: 1px dotted #fff;
    padding: 1px;
}

/* Sürükleme Seçim Kutusu (Selection Box) */
.selection-box {
    position: fixed;
    background: rgba(0, 0, 128, 0.3);
    border: 1px dotted #fff;
    outline: 1px dotted #000;
    z-index: 8000;
    pointer-events: none;
    display: none;
}

/* Windows */
.window {
    position: absolute;
    background: var(--win-gray);
    border-top: 2px solid var(--win-light);
    border-left: 2px solid var(--win-light);
    border-right: 2px solid var(--win-darker);
    border-bottom: 2px solid var(--win-darker);
    box-shadow: 4px 4px 8px rgba(0,0,0,0.6); /* AAA Derinlik */
    display: flex;
    flex-direction: column;
    padding: 2px;
    min-width: 200px;
    min-height: 150px;
    position: absolute; /* Ensure explicit positioning context */
}

.window.maximized {
    border: none;
}

.title-bar {
    background: linear-gradient(90deg, var(--win-blue), #1084d0);
    color: #fff;
    padding: 2px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    cursor: default;
}

.title-bar-controls {
    display: flex;
    position: relative;
    z-index: 20; /* Fix: Ensure buttons are clickable above resizers */
}

.title-bar-controls button {
    width: 24px; /* Genişletildi */
    height: 20px; /* Yükseltildi */
    background: var(--win-gray);
    border-top: 1px solid var(--win-light);
    border-left: 1px solid var(--win-light);
    border-right: 1px solid var(--win-darker);
    border-bottom: 1px solid var(--win-darker);
    font-size: 11px;
    line-height: 14px;
    margin-left: 4px; /* Aralık arttırıldı */
    font-weight: bold;
}

.title-bar-controls button:active {
    border-top: 1px solid var(--win-darker);
    border-left: 1px solid var(--win-darker);
    border-right: 1px solid var(--win-light);
    border-bottom: 1px solid var(--win-light);
}

.window-body {
    flex: 1;
    margin-top: 0;
    overflow: auto;
    padding: 0; /* İçerik yönetimini alt bileşenlere bırak */
    position: relative;
    /* Scanline Texture */
    background-image: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 3px 100%;
}

/* Window Resizers */
.resizer { position: absolute; z-index: 10; }
.resizer-r { top: 0; right: -4px; width: 6px; height: 100%; cursor: e-resize; }
.resizer-b { bottom: -4px; left: 0; height: 6px; width: 100%; cursor: s-resize; }
.resizer-br { 
    bottom: 0; right: 0; width: 15px; height: 15px; cursor: se-resize; 
    background: linear-gradient(135deg, transparent 50%, var(--win-dark) 50%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
/* Corner grip lines effect */
.resizer-br::after {
    content: ''; position: absolute; right: 2px; bottom: 2px; width: 10px; height: 10px;
    background: repeating-linear-gradient(135deg, transparent, transparent 2px, var(--win-light) 2px, var(--win-light) 3px);
}

/* Taskbar */
#taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 28px;
    background: var(--win-gray);
    border-top: 2px solid var(--win-light);
    display: flex;
    align-items: center;
    padding: 2px;
    z-index: 9000;
}

#start-btn {
    height: 24px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Tahoma', sans-serif;
    font-weight: bold;
    letter-spacing: 0.5px;
    padding: 0 8px 0 4px;
    border-top: 2px solid var(--win-light);
    border-left: 2px solid var(--win-light);
    border-right: 2px solid var(--win-darker);
    border-bottom: 2px solid var(--win-darker);
    background: var(--win-gray);
    color: #000;
    box-shadow: 1px 1px 0 #000;
}

#start-btn img {
    filter: drop-shadow(1px 1px 0 rgba(0,0,0,0.3));
}

#start-btn:active, #start-btn.active {
    border-top: 2px solid var(--win-darker);
    border-left: 2px solid var(--win-darker);
    border-right: 2px solid var(--win-light);
    border-bottom: 2px solid var(--win-light);
    background: #e0e0e0;
}

.taskbar-divider {
    width: 2px;
    height: 20px;
    background: var(--win-dark);
    border-right: 1px solid var(--win-light);
    margin: 0 4px;
}

#task-list {
    flex: 1;
    display: flex;
    gap: 2px;
}

.task-item {
    width: 150px;
    height: 22px;
    background: var(--win-gray);
    border-top: 2px solid var(--win-light);
    border-left: 2px solid var(--win-light);
    border-right: 2px solid var(--win-darker);
    border-bottom: 2px solid var(--win-darker);
    display: flex;
    align-items: center;
    padding-left: 5px;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.task-item.active {
    background: #e0e0e0;
    border-top: 2px solid var(--win-darker);
    border-left: 2px solid var(--win-darker);
    border-right: 2px solid var(--win-light);
    border-bottom: 2px solid var(--win-light);
    font-weight: bold;
}

.system-tray {
    border: 2px solid;
    border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
    padding: 0 8px;
    height: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
}

/* Start Menu */
#start-menu {
    position: absolute;
    bottom: 28px;
    left: 2px;
    width: 200px;
    background: var(--win-gray);
    border-top: 2px solid var(--win-light);
    border-left: 2px solid var(--win-light);
    border-right: 2px solid var(--win-darker);
    border-bottom: 2px solid var(--win-darker);
    display: flex;
    z-index: 9001;
}

.hidden { display: none !important; }

.sidebar {
    width: 25px;
    background: var(--win-blue);
    color: #fff;
    display: flex;
    align-items: flex-end;
    padding-bottom: 10px;
}

.vertical-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-weight: bold;
    font-size: 16px;
    padding: 5px;
}

.menu-items {
    flex: 1;
    padding: 2px;
}

.menu-item {
    padding: 6px 10px;
    cursor: pointer;
}

.menu-item:hover {
    background: var(--win-blue);
    color: #fff;
}

.menu-divider {
    height: 1px;
    background: var(--win-dark);
    border-bottom: 1px solid var(--win-light);
    margin: 4px 0;
}

/* Content Specifics */
.win98-btn {
    background: var(--win-gray);
    border-top: 2px solid var(--win-light);
    border-left: 2px solid var(--win-light);
    border-right: 2px solid var(--win-darker);
    border-bottom: 2px solid var(--win-darker);
    padding: 4px 12px;
    cursor: pointer;
}

.win98-btn:active {
    border-top: 2px solid var(--win-darker);
    border-left: 2px solid var(--win-darker);
    border-right: 2px solid var(--win-light);
    border-bottom: 2px solid var(--win-light);
}

.win98-btn:focus {
    outline: 1px dotted #000;
    outline-offset: -4px;
}

textarea, input[type="text"] {
    width: 100%;
    border: 2px solid;
    border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
    font-family: 'Courier New', monospace;
    padding: 4px;
    background: #fff;
}

/* BSOD (Blue Screen of Death) */
#bsod {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0000AA;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1.6;
    cursor: none; /* Hide cursor for authenticity */
}

.bsod-content {
    max-width: 800px;
    padding: 20px;
}

.bsod-label {
    background: #fff;
    color: #0000AA;
    padding: 0 4px;
}

.bsod-content .center { text-align: center; margin-top: 40px; }
.blink { animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* --- NEW FEATURES --- */

/* Outlook Express / Admin Panel */
.outlook-toolbar {
    display: flex;
    gap: 5px;
    padding: 5px;
    border-bottom: 1px solid #808080;
    margin-bottom: 5px;
}
.outlook-grid {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 2px solid #808080; /* Sunken look */
}
.outlook-grid th {
    text-align: left;
    background: #c0c0c0;
    border: 1px solid #fff;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
    padding: 2px 4px;
    font-size: 11px;
}
.outlook-grid td {
    border-bottom: 1px dotted #ccc;
    padding: 2px 4px;
    font-size: 11px;
    cursor: pointer;
}
.outlook-grid tr:hover {
    background: #000080;
    color: #fff;
}
.admin-tabs {
    display: flex;
    margin-bottom: 5px;
    border-bottom: 1px solid #fff;
}
.admin-tab {
    padding: 3px 8px;
    margin-right: 2px;
    background: #c0c0c0;
    border: 1px solid #fff;
    border-bottom: none;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    cursor: pointer;
}
.admin-tab.active {
    font-weight: bold;
    background: #c0c0c0;
    border-top: 2px solid var(--mok-accent);
    position: relative;
    top: 1px;
    padding-bottom: 4px;
}
.admin-section { display: none; }
.admin-section.active { display: block; }

/* New Image Viewer */
.img-viewer-layout {
    display: flex; 
    flex-direction: column; 
    height: 100%; 
    background: #c0c0c0;
    color: #e0e0e0;
    padding: 0;
}
.iv-toolbar { 
    padding: 4px; 
    border-bottom: 1px solid #808080; 
    background: #c0c0c0;
    display: flex; 
    gap: 5px; 
}
.iv-canvas { 
    flex: 1; 
    background: #808080; 
    overflow: auto; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 20px;
    border: 2px inset #fff;
    margin: 2px;
}
.iv-canvas img { 
    box-shadow: 5px 5px 10px rgba(0,0,0,0.5); 
    transition: transform 0.2s; 
    max-width: 100%; 
}
.iv-canvas video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
    box-shadow: 0 0 0 2px #000, 2px 2px 5px rgba(0,0,0,0.5);
    transition: transform 0.2s;
}
.iv-statusbar { padding: 2px 5px; background: #c0c0c0; border-top: 1px solid #fff; font-size: 11px; color: #000; }

/* Ensure images inside the viewer do not get the sepia/hue-rotate from body */
#iv-target {
    filter: none !important; /* Override global filters */
    position: relative; /* For dragging */
}

/* ImageViewer Navigation Buttons */
.iv-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: 2px outset #fff;
    padding: 15px 10px;
    cursor: pointer;
    z-index: 100;
    font-size: 18px;
    display: none; /* JS tarafından gösterilecek */
}
.iv-nav-btn:hover { background: rgba(0, 0, 128, 0.8); }
.iv-nav-btn:active { border-style: inset; }
.iv-nav-btn.prev { left: 10px; }
.iv-nav-btn.next { right: 10px; }

/* Dynamic File Grid (Game Lab) */
.file-grid { display: flex; flex-wrap: wrap; gap: 15px; align-content: flex-start; }
.file-item { width: 64px; display: flex; flex-direction: column; align-items: center; cursor: pointer; text-align: center; }
.file-item:hover .file-icon { filter: brightness(1.1); }
.file-item:hover .file-name { background: #000080; color: #fff; }
.file-icon { width: 32px; height: 32px; background-size: cover; margin-bottom: 4px; border: 1px solid transparent; }
.file-name { font-size: 11px; padding: 0 2px; word-break: break-word; }
.media-list-item { padding: 5px; border-bottom: 1px solid #ccc; margin-bottom: 5px; background: #eee; }

/* --- GRAFFITI CUSTOM CURSORS --- */
body.graffiti-cursor-active #custom-cursor {
    background-image: url('https://64.media.tumblr.com/8632b39d3caccd879b5411f884cb7261/2d6fb5be152319d3-41/s540x810/c7e8c496df7cb558846032799a0fc3441b834a82.png') !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-top: -40px; /* Sprey ucu imleç noktasına denk gelsin diye */
    margin-left: -5px;
}
body.graffiti-cursor-active .cursor-trail { display: none !important; }

body.graffiti-eraser-active #custom-cursor {
    background-image: url('https://64.media.tumblr.com/a19df35c04a61ab56149d85de0680826/5cab47fadec3a5df-eb/s540x810/8cad63c7f16238c96e7bac57ab283e6bfebab6a4.png') !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-top: -16px;
    margin-left: -16px;
}
body.graffiti-eraser-active .cursor-trail { display: none !important; }

/* --- RAW VIEW (NO FILTERS) --- */
body.raw-view-active {
    filter: none !important;
    text-shadow: none !important;
}
body.raw-view-active #crt-filter {
    display: none !important;
}

/* --- WINAMP STYLE --- */
.winamp-layout {
    background: #222;
    color: #0f0;
    font-family: 'Courier New', monospace;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 2px;
}
.wa-main-window, .wa-playlist-window {
    border: 2px solid #555;
    background: #111;
    padding: 5px;
}
.wa-title-bar-fake, .wa-pl-title {
    background: #000080;
    color: #fff;
    padding: 2px;
    font-size: 10px;
    margin-bottom: 5px;
    cursor: default;
}
.wa-display {
    background: #000;
    border: 2px inset #555;
    padding: 5px;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.wa-time { font-size: 20px; color: #0f0; }
.wa-spectrum { display: flex; gap: 1px; height: 20px; align-items: flex-end; }
.wa-bar { width: 3px; background: #0f0; }
.wa-controls-row { display: flex; gap: 2px; justify-content: center; }
.wa-btn { width: 20px; height: 15px; font-size: 9px; background: #c0c0c0; border: 1px outset #fff; cursor: pointer; }
.wa-btn:active { border: 1px inset #fff; }
.wa-pl-list { height: 100px; overflow-y: auto; background: #000; border: 1px inset #555; font-size: 10px; padding: 2px; }
.wa-pl-item { cursor: pointer; padding: 1px; }
.wa-pl-item:hover { background: #000080; color: #fff; }
.wa-pl-controls { display: flex; gap: 2px; margin-top: 2px; }
.wa-btn-small { font-size: 9px; padding: 0 4px; }

/* Battery Icon */
.tray-icon.battery { cursor: help; }

/* --- ILLUMINATI EASTER EGG CURSOR OVERRIDE --- */
body.illuminati-cursor-active * { cursor: none !important; }
body.illuminati-cursor-active #custom-cursor {
    background-image: url('https://img1.picmix.com/output/stamp/normal/9/0/7/1/2301709_bcf75.gif') !important;
    background-size: cover !important;
    border-radius: 50%;
    box-shadow: 0 0 15px #0f0, inset 0 0 10px #0f0;
    width: 36px !important;
    height: 36px !important;
}
body.illuminati-cursor-active .cursor-trail { display: none !important; }

/* --- CUSTOM CURSOR & CONTEXT MENU --- */

#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    /* Classic Arrow SVG */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="black" d="M0,0 L0,18 L5,13 L8,19 L10,18 L7,12 L12,12 L0,0 Z"/><path fill="white" d="M1,2 L1,15 L4,12 L7,17 L8,17 L5,11 L10,11 L1,2 Z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 9995; /* Below CRT Filter (99999) */
    pointer-events: none;
}

.cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    /* Greenish Ghost SVG */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="rgba(0, 255, 0, 0.4)" d="M0,0 L0,18 L5,13 L8,19 L10,18 L7,12 L12,12 L0,0 Z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 9994;
    pointer-events: none;
    transition: transform 0.08s ease-out; /* Lag effect optimized */
}

#context-menu {
    position: fixed;
    background: var(--win-gray);
    border: 2px outset #fff;
    box-shadow: 2px 2px 0 #000;
    padding: 2px;
    min-width: 160px;
    z-index: 9996;
    display: none;
    font-family: 'Tahoma', sans-serif;
    font-size: 11px;
}

.ctx-item { padding: 4px 12px; cursor: none; display: flex; align-items: center; gap: 8px; }
.ctx-item:hover { background: var(--win-blue); color: #fff; }
.ctx-divider { height: 1px; background: var(--win-dark); border-bottom: 1px solid var(--win-light); margin: 2px 0; }

/* About Window Styles */
.about-content {
    background: #fff;
    padding: 15px;
    height: 100%;
    overflow-y: auto;
    font-family: 'Tahoma', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.about-header {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 15px;
    text-align: left;
    width: 100%;
}
.win-divider {
    border: 0;
    border-bottom: 1px solid #808080;
    border-top: 1px solid #fff;
    margin: 10px 0;
    width: 100%;
}
.profile-img {
    width: 100px;
    height: 100px;
    border: 2px solid var(--win-darker);
    box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
    margin-bottom: 15px;
    object-fit: cover;
    background: #000;
}
.about-text {
    font-size: 12px;
    line-height: 1.5;
    color: #000;
    font-family: 'MS Sans Serif', 'Tahoma', sans-serif;
}

/* Retro Tooltip */
.tooltip-trigger:hover::after {
    content: "⚠️ kısa süreliğine erişime kısıtlı.";
    position: absolute;
    bottom: 100%; /* Position above the icon */
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffe1; /* Classic Windows Tooltip Yellow */
    border: 1px solid #000;
    color: #000;
    padding: 3px 6px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 9999;
    box-shadow: 2px 2px 0px rgba(0,0,0,0.2);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    /* Hide custom cursor on touch devices */
    #custom-cursor, .cursor-trail { display: none !important; }
    * { cursor: auto !important; }

    /* Adjust Windows for Mobile */
    .window {
        width: 96% !important;
        height: 85vh !important;
        left: 2% !important;
        top: 15px !important;
    }

    /* Taskbar & Start Menu */
    #taskbar { height: 40px; }
    #start-btn { height: 34px; font-size: 14px; }
    .task-item { height: 34px; font-size: 12px; }
    .system-tray { height: 34px; }
    #start-menu { bottom: 40px; width: 260px; }
    .menu-item { padding: 12px; font-size: 14px; }

    /* Icons */
    .icon { width: 80px; margin-bottom: 15px; }
    .icon-img { width: 42px; height: 42px; }
    
    /* Boot Screen */
    .bios-layout { width: 95%; padding: 10px; font-size: 11px; }

    /* --- Graffiti Mobile Fixes --- */
    .graffiti-layout { flex-direction: column !important; }
    .graffiti-sidebar {
        width: 100% !important;
        flex: 1;
        height: auto;
        border-left: none;
        border-top: 1px solid #444;
        box-shadow: 0 -5px 10px rgba(0,0,0,0.5);
    }
    .graffiti-viewport {
        height: 45% !important;
        min-height: 200px !important;
        flex: none !important;
    }
}

/* --- VISUAL ARTS (VampireFreaks Style) --- */
.va-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
    height: 100%;
    background: #000;
    color: #aaddff; /* Y2K Blue */
    font-family: 'Verdana', sans-serif;
    overflow: hidden;
    /* Dot Grid Texture */
    background-image: radial-gradient(#333 1px, transparent 1px);
    background-size: 8px 8px;
    padding: 0;
}

.va-sidebar {
    background: rgba(0, 10, 20, 0.95);
    border-right: 1px solid #0055ff;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    box-shadow: 2px 0 15px rgba(0, 85, 255, 0.15);
}


/* Main Content Area */
.va-main-content {
    overflow-y: auto;
    padding: 10px;
}

/* Fieldset Style for Projects */
.va-fieldset {
    border: 1px solid #444;
    padding: 10px;
    margin-bottom: 20px;
    background: rgba(20, 20, 20, 0.8);
}

.va-legend {
    color: #d8bfd8;
    padding: 0 5px;
    font-weight: bold;
    background: #000;
}

.va-content {
    padding: 15px; /* İç boşluk artırıldı */
    font-size: 12px; /* Yazı boyutu artırıldı */
    line-height: 1.5;
}

/* Sidebar Elements */
.va-profile-img {
    width: 100%;
    border: 1px solid #00ffff;
    margin-bottom: 5px;
    filter: contrast(1.2) brightness(1.1);
}

/* Thumbnail Grid */
.va-gallery-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.va-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #0055ff;
    cursor: pointer;
    transition: all 0.2s;
    background: #000;
    filter: grayscale(0.6);
}

.va-thumb:hover {
    border-color: #00ffff;
    outline: 1px solid #00ffff;
    filter: grayscale(0);
    transform: scale(1.1);
    z-index: 10;
    box-shadow: 0 0 10px #00ffff;
}

/* --- EXPLORER STYLE (Gereksiz Folder) --- */
.explorer-root { display: flex; flex-direction: column; height: 100%; background: #fff; color: #000; }
.explorer-toolbar { display: flex; gap: 10px; padding: 4px; background: #c0c0c0; border-bottom: 1px solid #808080; align-items: center; }
.explorer-address { display: flex; flex: 1; align-items: center; gap: 5px; background: #fff; border: 1px inset #fff; padding: 2px 5px; font-size: 11px; }
.explorer-workspace { display: flex; flex: 1; min-height: 0; }
.explorer-sidebar { width: 180px; background: #fff; border-right: 2px inset #fff; overflow-y: auto; padding: 5px; }
.explorer-main { flex: 1; overflow-y: auto; background: #fff; }
.explorer-table { width: 100%; border-collapse: collapse; font-family: 'Tahoma'; font-size: 11px; }
.explorer-table th { position: sticky; top: 0; background: #c0c0c0; border: 1px solid #fff; border-right: 1px solid #808080; border-bottom: 1px solid #808080; text-align: left; padding: 2px 5px; }
.explorer-table td { padding: 3px 5px; white-space: nowrap; cursor: pointer; }
.explorer-table tr:hover td { background: #000080; color: #fff; }
.tree-item { display: flex; align-items: center; gap: 5px; padding: 2px 0; cursor: pointer; font-size: 11px; }
.tree-item:hover { color: #000080; text-decoration: underline; }

/* Dialog / Alert Styling */
.dialog-body { padding: 20px; display: flex; gap: 15px; align-items: flex-start; background: #c0c0c0; }
.dialog-footer { padding: 10px; text-align: center; background: #c0c0c0; border-top: 1px solid #808080; }

/* About Page Updates */
.program-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 10px;
}
.program-item { text-align: center; }
.program-icon { width: 48px; height: 48px; margin: 0 auto 5px; background-size: contain; background-repeat: no-repeat; }
.warning-text { color: red; font-weight: bold; animation: blink 1s infinite; }

/* --- MINESWEEPER --- */
.msw-board { border: 3px inset #fff; border-right-color: #808080; border-bottom-color: #808080; background: #c0c0c0; display: inline-block; padding: 5px; }
.msw-header { border: 2px inset #fff; border-right-color: #808080; border-bottom-color: #808080; padding: 5px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; background: #c0c0c0; }
.msw-grid { display: grid; background: #808080; border: 3px inset #fff; border-right-color: #808080; border-bottom-color: #808080; }
.msw-cell { width: 20px; height: 20px; border: 2px outset #fff; border-right-color: #808080; border-bottom-color: #808080; background: #c0c0c0; text-align: center; line-height: 16px; font-weight: bold; font-size: 14px; cursor: default; user-select: none; }
.msw-cell:active:not(.revealed) { border-style: inset; }
.msw-cell.revealed { border: 1px solid #808080; border-right: 1px solid #fff; border-bottom: 1px solid #fff; background: #c0c0c0; }
.msw-cell[data-val="1"] { color: blue; } .msw-cell[data-val="2"] { color: green; } .msw-cell[data-val="3"] { color: red; } .msw-cell[data-val="4"] { color: darkblue; }
.msw-cell[data-val="5"] { color: darkred; } .msw-cell[data-val="6"] { color: teal; } .msw-cell[data-val="7"] { color: black; } .msw-cell[data-val="8"] { color: gray; }
.msw-btn { width: 30px; height: 30px; border: 2px outset #fff; border-right-color: #808080; border-bottom-color: #808080; background: #c0c0c0; font-size: 16px; cursor: pointer; display: flex; justify-content: center; align-items: center; padding: 0; }
.msw-btn:active { border-style: inset; }
.msw-counter { background: #000; color: red; font-family: 'Courier New', monospace; font-size: 20px; font-weight: bold; padding: 0 5px; border: 1px inset #fff; border-right-color: #808080; border-bottom-color: #808080; letter-spacing: 2px; }

/* --- ROVER ASSISTANT --- */
#rover-assistant {
    position: fixed;
    bottom: 40px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: auto;
}

.rover-bubble p {
    margin: 0;
}

/* Helper bubble animations */
#rover-assistant.rover-visible {
    display: flex;
    animation: rover-fade-in 0.5s ease-out forwards;
}

#rover-assistant.rover-hiding {
    animation: rover-fade-out 0.8s ease-in forwards;
}

@keyframes rover-fade-in {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes rover-fade-out {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(100px); }
}

.rover-character {
    width: 64px;
    height: 64px;
    background-image: url('https://img1.picmix.com/output/stamp/normal/9/5/6/2/2132659_1e79d.gif');
    background-size: contain;
    background-repeat: no-repeat;
    cursor: move;
}

.rover-bubble {
    background: #ffffe1;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    max-width: 200px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    font-family: 'Tahoma', sans-serif;
    font-size: 11px;
    color: #000;
    position: relative;
}

.rover-bubble::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 20px;
    width: 10px;
    height: 10px;
    background: #ffffe1;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    transform: rotate(45deg);
}

/* Guestbook 90s Style */
.guestbook-page {
    background: #000000;
    /* Simple star pattern using gradients */
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 3px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 2px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 3px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    color: #00ff00;
    font-family: 'Times New Roman', serif;
    padding: 20px;
    height: 100%;
    overflow-y: auto;
}
.gb-title {
    color: #ff0000;
    text-shadow: 2px 2px #ffff00;
    font-family: 'Comic Sans MS', cursive;
    margin: 0;
}
.gb-form-box {
    background: #c0c0c0;
    border: 2px outset #fff;
    padding: 10px;
    color: #000;
    width: 90%;
    margin: 0 auto 20px auto;
    font-family: 'Tahoma', sans-serif;
}
.gb-entry {
    border: 1px solid #00ff00;
    margin-bottom: 10px;
    padding: 5px;
    background: rgba(0, 20, 0, 0.5);
}
.gb-header {
    border-bottom: 1px dashed #00ff00;
    margin-bottom: 5px;
    color: #ffff00;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* --- VISUAL ARTS V4 (Forum Style) --- */
.forum-layout {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #e8ecef; /* Biraz daha yumuşak ve profesyonel gri */
    color: #333;
    font-family: 'Verdana', sans-serif;
    padding: 15px;
}

.forum-header-banner {
    background: linear-gradient(135deg, #0a246a 0%, #3a6ea5 100%);
    color: #fff;
    padding: 12px 15px;
    border: 2px inset #fff;
    border-right-color: #808080;
    border-bottom-color: #808080;
    margin-bottom: 15px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}
.forum-logo { font-size: 20px; font-weight: bold; font-family: 'Tahoma', sans-serif; letter-spacing: -1px; }
.forum-nav { font-size: 10px; margin-top: 5px; color: #e0e0e0; }

.forum-breadcrumb {
    background: #fff;
    padding: 4px 8px;
    font-size: 11px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    color: #000;
}

.forum-content { flex: 1; overflow-y: auto; padding-right: 5px; background: #fff; border: 2px inset #fff; border-right-color: #808080; border-bottom-color: #808080; padding: 15px; }

/* Forum Index Table */
.forum-table { 
    width: 100%; 
    border-collapse: separate; 
    border-spacing: 1px; 
    background: #333; /* Border color */
    font-size: 12px; 
}
.forum-table th { 
    background: #c0c0c0; 
    color: #000; 
    border: 1px outset #fff;
    text-align: left; 
    padding: 4px; 
    font-weight: bold;
}
.forum-table td { 
    background: #fff; 
    padding: 8px 4px; 
    color: #333; 
    border-bottom: 1px solid #eee;
}
.forum-table tr:hover td { background: #f5f5f5; }

.f-icon { text-align: center; }
.f-title { font-weight: bold; color: #0a246a; cursor: pointer; font-size: 13px; margin-bottom: 3px; }
.f-title:hover { text-decoration: underline; }
.f-sub { font-size: 10px; color: #666; }
.f-stats { text-align: center; color: #666; font-size: 10px; }
.f-last { font-size: 10px; color: #666; white-space: nowrap; }

/* Forum Post View */
.forum-thread-header { 
    display: flex; 
    align-items: center; 
    margin-bottom: 15px; 
    background: #222; 
    color: white; 
    padding: 8px 12px;
    font-weight: bold;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.forum-thread-header h3 { margin: 0; font-size: 14px; }

.forum-post {
    display: flex;
    background: #111;
    border: 1px solid #333;
    margin-bottom: 10px;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.post-sidebar {
    width: 150px;
    background: #050505;
    border-right: 1px solid #333;
    padding: 6px;
    text-align: center;
    font-size: 11px;
}
.u-name { font-weight: bold; color: #ffcc00; font-size: 13px; margin-bottom: 2px; }
.u-title { font-size: 10px; color: #fff; margin-bottom: 5px; }
.u-avatar { width: 80px; height: 80px; border: 1px solid #555; margin-bottom: 5px; object-fit: cover; }
.u-details { text-align: left; color: #888; font-size: 9px; line-height: 1.4; }

.post-body { flex: 1; padding: 6px; font-size: 12px; line-height: 1.5; display: flex; flex-direction: column; }
.post-head-bar { 
    background: #222; 
    color: #ccc; 
    padding: 4px 8px; 
    font-size: 10px; 
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 10px; 
    border-bottom: 1px solid #444;
}
.post-content-text { min-height: 150px; padding: 0 10px; }
.post-sig { margin-top: 20px; color: #666; font-size: 10px; border-top: 1px solid #333; padding-top: 5px; }

/* Visual Arts Thread Gallery */
.va-thread-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 20px;
    background: #fff;
    padding: 10px;
    border: 1px solid #ccc;
}

.va-thread-img-box {
    background: #fff;
    padding: 2px;
    border: 1px solid #ddd;
    transition: all 0.2s ease-in-out;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.va-thread-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    display: block;
}

.va-thread-img-box:hover {
    transform: translateY(-3px);
    border-color: #0a246a;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 10;
}

/* Internet Explorer Tabs */
.ie-tabs {
    display: flex;
    flex-wrap: wrap;
    padding: 6px 4px 0 4px;
    background: #c0c0c0;
    border-bottom: 1px solid #808080;
}

.ie-tab {
    padding: 3px 10px;
    margin-right: 2px;
    background: #c0c0c0;
    border: 1px solid #fff;
    border-right-color: #404040;
    border-bottom: 1px solid #404040;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    font-family: 'Tahoma', sans-serif;
    font-size: 11px;
    cursor: pointer;
    position: relative;
}

.ie-tab:hover {
    background: #d0d0d0;
}

.ie-tab.active {
    font-weight: bold;
    border-bottom: 1px solid #c0c0c0;
    z-index: 2;
    top: 1px;
    padding-bottom: 4px;
}
.icon {
    overflow: hidden;
}

/* --- DEVIANTART 2000s PARODY STYLE --- */
.da-layout {
    display: flex; flex-direction: column; height: 100%;
    background: #c6d0c9; color: #2c362f; font-family: 'Verdana', sans-serif;
}
.da-header {
    background: #475f4d; padding: 12px 20px;
    display: flex; justify-content: space-between; align-items: flex-end;
    border-bottom: 2px solid #8ba494; box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.da-logo { font-size: 26px; font-weight: bold; font-family: 'Trebuchet MS', sans-serif; letter-spacing: -1px; color: #d4dcd6; text-shadow: 1px 1px 0px #000; line-height: 1; }
.da-nav { font-size: 11px; color: #a9c5b2; font-weight: bold; text-transform: lowercase; }
.da-nav span { cursor: pointer; margin-left: 15px; }
.da-nav span:hover { color: #fff; text-decoration: underline; }
.da-content-wrapper { flex: 1; overflow-y: auto; padding: 15px; display: flex; gap: 15px; align-items: flex-start; }

.da-sidebar { width: 180px; background: #d4dcd6; border: 1px solid #aebcb2; padding: 10px; font-size: 10px; box-shadow: 1px 1px 3px rgba(0,0,0,0.1); flex-shrink: 0; }
.da-main { flex: 1; min-width: 0; }
.da-section-title { background: #475f4d; color: #fff; padding: 4px 8px; font-weight: bold; font-size: 11px; margin-bottom: 10px; border: 1px solid #2c362f; border-bottom: none; }
.da-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 15px; background: #d4dcd6; padding: 15px; border: 1px solid #aebcb2; border-top: none; margin-top: -10px; box-shadow: 1px 1px 3px rgba(0,0,0,0.1); }
.da-thumb-wrap { background: #e0e8e2; border: 1px solid #b5c4ba; padding: 8px; text-align: center; cursor: pointer; transition: all 0.1s; }
.da-thumb-wrap:hover { background: #fff; border-color: #475f4d; }
.da-img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid #8ba494; margin-bottom: 5px; }
.da-title { font-size: 11px; font-weight: bold; color: #1e5a6a; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.da-title:hover { text-decoration: underline; }
.da-author { font-size: 9px; color: #5a7561; }

.da-view-layout { background: #d4dcd6; border: 1px solid #aebcb2; padding: 20px; flex: 1; box-shadow: 1px 1px 3px rgba(0,0,0,0.1); }
.da-view-title { font-size: 20px; font-weight: bold; color: #1e5a6a; margin: 0 0 2px 0; }
.da-view-author { font-size: 11px; color: #475f4d; margin-bottom: 20px; font-weight: bold; }
.da-artist-comments { background: #e0e8e2; border: 1px dashed #8ba494; padding: 15px; font-size: 11px; line-height: 1.6; color: #2c362f; margin-top: 20px; }
.da-artist-comments-title { font-weight: bold; color: #475f4d; margin-bottom: 8px; font-size: 12px; border-bottom: 1px solid #b5c4ba; padding-bottom: 4px; }
.da-btn { background: #8ba494; color: #fff; border: 1px solid #475f4d; padding: 5px 12px; font-size: 11px; font-weight: bold; cursor: pointer; }
.da-btn:hover { background: #6c8874; }

/* --- GRAFFITI APP --- */
.graffiti-layout {
    display: flex;
    flex-direction: row;
    height: 100%;
    background: #1e1e1e;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    overflow: hidden;
}

.graffiti-viewport {
    flex: 1;
    position: relative;
    overflow: hidden;
    background-color: #ffffff; /* Tamamen beyaz arka plan */
    background-image: none;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
    cursor: crosshair !important;
}

.graffiti-viewport canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.graffiti-sidebar {
    width: 260px;
    background: #2d2d2d;
    border-left: 1px solid #444;
    display: flex;
    flex-direction: column;
    padding: 10px;
    box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    z-index: 10;
    color: #e0e0e0;
    overflow-y: auto;
}

.graffiti-panel {
    background: #363636;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #444;
}

.graffiti-panel h4 {
    margin: 0 0 8px 0;
    font-size: 11px;
    color: #00aaff;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #555;
    padding-bottom: 4px;
}

.gf-cap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.gf-cap-btn {
    background: #c0c0c0;
    border: 2px outset #fff;
    color: #000;
    padding: 4px;
    font-size: 10px;
    text-align: center;
    cursor: pointer;
}

.gf-cap-btn:hover { filter: brightness(1.05); }
.gf-cap-btn:active { border-style: inset; }
.gf-cap-btn.active {
    background: #fff;
    color: #000;
    border-style: inset;
    outline: 1px dotted #000;
    outline-offset: -3px;
}

.gf-slider-row {
    margin-bottom: 10px;
}
.gf-slider-row label { 
    font-size: 10px; 
    color: #000; 
    font-weight: bold;
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 4px;
}
.gf-slider-row input { 
    width: 100%; 
    cursor: pointer;
}

.gf-palette-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}
.gf-color-btn {
    aspect-ratio: 1;
    border: 2px inset #fff;
    border-right-color: #808080;
    border-bottom-color: #808080;
    cursor: pointer;
}
.gf-color-btn:hover { filter: brightness(1.2); }
.gf-color-btn.active {
    border: 2px solid #000;
    outline: 1px dotted #fff;
    outline-offset: -1px;
    z-index: 2;
}

.win98-btn.gf-action {
    background: #c0c0c0;
    color: #000;
    border: 2px outset #fff;
    padding: 8px;
    font-size: 11px;
    font-weight: bold;
}
.win98-btn.gf-action:active { border-style: inset; }
