:root {
    --win-bg: rgba(235, 245, 255, 0.22);
    --win-border: rgba(80, 140, 210, 0.55);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    user-select: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

#desktop {
    width: 100%;
    height: calc(100% - 40px);
    position: relative;
    background: url('icons/fondo de pantalla.jpg') center/cover no-repeat;
}

.desktop-icon {
    width: 82px;
    height: 96px;
    margin: 8px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: white;
    font-size: 11.5px;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 4px;
    text-shadow: 1px 1px 3px black, 0 0 5px rgba(0, 0, 0, 0.7);
    cursor: default;
    transition: background 0.1s, border-color 0.1s;
    vertical-align: top;
    padding-top: 6px;
}

.desktop-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
}

.desktop-icon.selected {
    background: rgba(49, 106, 197, 0.45);
    border-color: rgba(120, 180, 255, 0.7);
}

.icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 5px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.6));
}

.desktop-icon span {
    line-height: 1.3;
    padding: 0 4px;
    word-break: break-word;
}

.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(180deg,
            rgba(190, 225, 252, 0.72) 0%,
            rgba(100, 168, 220, 0.68) 38%,
            rgba(14, 85, 166, 0.88) 39%,
            rgba(5, 55, 130, 0.92) 100%);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.75), 0 -1px 5px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px) brightness(1.15);
    display: flex;
    align-items: center;
    z-index: 1000;
}

.start-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: transparent;
    margin-left: 5px;
    position: relative;
    top: -5px;
    cursor: pointer;
    background-image: url('icons/boton inicio.ico');
    background-size: 85%;
    background-repeat: no-repeat;
    background-position: center;
    transition: filter 0.15s, transform 0.1s;
    filter: drop-shadow(0 0 4px rgba(0, 100, 220, 0.5));
}

.start-btn:hover {
    filter: brightness(1.25) drop-shadow(0 0 8px rgba(100, 180, 255, 0.9));
    transform: scale(1.05);
}

.start-btn.open {
    filter: brightness(0.9);
    transform: scale(0.97);
}

.taskbar-icons {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding-left: 8px;
    gap: 2px;
}

.taskbar-icon {
    min-width: 48px;
    max-width: 140px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 3px;
    padding: 0 6px;
    position: relative;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.taskbar-icon:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.1) 40%, rgba(255, 255, 255, 0.3) 41%, rgba(255, 255, 255, 0.5) 100%);
    border-color: rgba(255, 255, 255, 0.65);
    box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.8);
}

.taskbar-icon.active-window {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.2) 40%, rgba(255, 255, 255, 0.4) 41%, rgba(255, 255, 255, 0.65) 100%);
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.95);
}

.taskbar-icon.active-window::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 4px;
    right: 4px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1px;
}

.taskbar-item {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.taskbar-label {
    color: white;
    font-size: 11px;
    margin-left: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: none;
}

.taskbar-icon.active-window .taskbar-label {
    display: block;
}

.system-tray {
    display: flex;
    align-items: center;
    height: 100%;
}

.tray-group {
    display: flex;
    align-items: center;
    padding: 0 4px;
    gap: 2px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    margin-right: 4px;
}

.tray-icon-img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    padding: 2px;
    cursor: default;
    filter: brightness(1.05);
    transition: filter 0.15s;
}

.tray-icon-img:hover {
    filter: brightness(1.4) drop-shadow(0 0 3px white);
}

.time-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    line-height: 1.2;
    cursor: default;
}

#time {
    font-size: 11.5px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 600;
}

#date {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.show-desktop {
    width: 14px;
    height: 100%;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background 0.15s;
}

.show-desktop:hover {
    background: rgba(255, 255, 255, 0.3);
}

.window {
    position: absolute;
    display: flex;
    flex-direction: column;
    background: var(--win-bg);
    border: 1px solid var(--win-border);
    box-shadow: 0 8px 32px rgba(0, 30, 90, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.55), inset 0 0 25px rgba(200, 225, 255, 0.15);
    backdrop-filter: blur(14px) saturate(1.4) brightness(1.05);
    border-radius: 8px 8px 4px 4px;
    overflow: hidden;
    min-width: 300px;
    min-height: 200px;
    transition: opacity 0.22s ease, transform 0.22s ease, box-shadow 0.2s;
    opacity: 0;
    transform: scale(0.95) translateY(8px);
    pointer-events: none;
    resize: both;
}

.window.open {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: all;
}

.window.minimized {
    opacity: 0;
    transform: scale(0.85) translateY(30px);
    pointer-events: none;
}

.window.focused {
    box-shadow: 0 10px 40px rgba(0, 30, 110, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.7), inset 0 0 25px rgba(200, 225, 255, 0.25);
    z-index: 200;
}

.glass-reflection {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    border-radius: 8px 8px 0 0;
}

.title-bar {
    height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6px 0 8px;
    cursor: default;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    background: linear-gradient(180deg, rgba(180, 215, 255, 0.3) 0%, rgba(100, 170, 240, 0.1) 100%);
}

.title-bar-text {
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: #111;
    text-shadow: 0 0 6px rgba(255, 255, 255, 1), 0 1px 2px rgba(255, 255, 255, 0.8);
    gap: 3px;
}

.title-bar-controls {
    display: flex;
    gap: 2px;
    height: 20px;
}

.title-bar-controls button {
    width: 30px;
    height: 20px;
    border: 1px solid rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(220, 235, 255, 0.5) 48%, rgba(160, 200, 255, 0.4) 50%, rgba(200, 225, 255, 0.7) 100%);
    box-shadow: inset 0 0 3px rgba(255, 255, 255, 1), 0 1px 3px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    position: relative;
    transition: all 0.12s;
    font-size: 0;
}

.title-bar-controls button::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    color: #222;
    font-weight: bold;
}

.title-bar-controls .minimize::before {
    content: '─';
    margin-top: -1px;
}

.title-bar-controls .maximize::before {
    content: '□';
    font-size: 12px;
}

.title-bar-controls .close-btn::before {
    content: '✕';
}

.title-bar-controls button:hover {
    background: linear-gradient(180deg, rgba(200, 230, 255, 0.9) 0%, rgba(120, 185, 255, 0.7) 48%, rgba(60, 155, 255, 0.7) 50%, rgba(140, 200, 255, 0.85) 100%);
    box-shadow: inset 0 0 6px rgba(255, 255, 255, 1), 0 0 6px rgba(80, 180, 255, 0.5);
}

.title-bar-controls .close-btn:hover {
    background: linear-gradient(180deg, rgba(255, 180, 180, 0.9) 0%, rgba(230, 80, 80, 0.7) 48%, rgba(200, 30, 30, 0.7) 50%, rgba(240, 120, 120, 0.85) 100%);
    box-shadow: inset 0 0 6px rgba(255, 255, 255, 1), 0 0 6px rgba(255, 80, 80, 0.6);
}

.window-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: white;
    margin: 0 3px 3px 3px;
    border: 1px solid #8ab;
    overflow: hidden;
}

.address-bar {
    background: #f0f5ff;
    border-bottom: 1px solid #c0d0e8;
    padding: 3px 10px;
    font-size: 12px;
    color: #224;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.address-arrow {
    color: #448;
    font-size: 10px;
}

.toolbar {
    background: #f5f7fb;
    border-bottom: 1px solid #d5dde8;
    padding: 4px 10px;
    font-size: 11.5px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 1px;
    flex-shrink: 0;
}

.toolbar-btn {
    padding: 3px 9px;
    border: 1px solid transparent;
    border-radius: 3px;
    cursor: default;
    transition: background 0.12s, border-color 0.12s;
}

.toolbar-btn:hover {
    background: #ddeeff;
    border-color: #a5c8f0;
}

.toolbar-sep {
    width: 1px;
    height: 16px;
    background: #c0ccd8;
    margin: 0 4px;
}

.main-content {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
}

.sidebar {
    width: 160px;
    background: linear-gradient(180deg, #eef4ff 0%, #dee8f8 100%);
    border-right: 1px solid #c0d0e0;
    padding: 8px 0;
    overflow-y: auto;
    flex-shrink: 0;
}

.sidebar-section {
    font-size: 10.5px;
    font-weight: 700;
    color: #3a5a8a;
    padding: 10px 12px 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.sidebar-item {
    padding: 4px 12px 4px 18px;
    font-size: 11.5px;
    color: #1e3a5f;
    cursor: default;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.1s;
}

.sidebar-item:hover {
    background: rgba(100, 160, 255, 0.18);
}

.sidebar-item.active {
    background: rgba(49, 106, 197, 0.2);
    color: #0a2a5e;
    font-weight: 600;
}

.files {
    flex-grow: 1;
    padding: 12px 15px;
    overflow-y: auto;
}

.files h3 {
    font-size: 11.5px;
    color: #1a3a7a;
    border-bottom: 1px solid #c8d8f0;
    padding-bottom: 4px;
    margin: 0 0 8px;
    font-weight: 700;
}

.drive {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: default;
    margin-bottom: 6px;
    transition: background 0.12s;
}

.drive:hover {
    background: #ddeeff;
    border-color: #a5c8f0;
}

.drive:focus {
    background: #c8e0f8;
    border-color: #5599dd;
    outline: none;
}

.drive-name {
    font-size: 12px;
    color: #205;
    font-weight: 600;
}

.progress {
    height: 12px;
    border: 1px solid #99aacc;
    background: #dde8f8;
    margin: 4px 0;
    border-radius: 2px;
    width: 180px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(180deg, #7bde52, #2aaa37);
    border-radius: 2px;
}

.free-space {
    color: #555;
    font-size: 10.5px;
}

.status-bar {
    background: #e8effc;
    border-top: 1px solid #c0d0e0;
    padding: 2px 10px;
    font-size: 11px;
    color: #446;
    flex-shrink: 0;
}

#notepad-area {
    flex-grow: 1;
    border: none;
    resize: none;
    outline: none;
    padding: 8px;
    font-size: 13px;
    font-family: 'Lucida Console', 'Courier New', monospace;
    color: #111;
    background: white;
    user-select: text;
}

.sidebar-panel {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 40px;
    width: 170px;
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 8px;
    gap: 12px;
    overflow-y: auto;
    background: rgba(10, 30, 80, 0.18);
    backdrop-filter: blur(4px);
}

.gadget {
    width: 150px;
    border-radius: 10px;
    background: rgba(20, 55, 120, 0.38);
    border: 1px solid rgba(120, 180, 255, 0.4);
    box-shadow: 0 4px 18px rgba(0, 20, 80, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.gadget-title {
    font-size: 11px;
    font-weight: 700;
    color: rgba(200, 225, 255, 0.9);
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
    letter-spacing: 0.3px;
}

.gadget-clock {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
}

.clock-face {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(200, 225, 255, 0.5), rgba(20, 60, 140, 0.7));
    border: 2px solid rgba(150, 200, 255, 0.5);
    position: relative;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom center;
    border-radius: 4px;
}

.hour-hand {
    width: 3px;
    height: 24px;
    background: white;
    margin-left: -1.5px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.minute-hand {
    width: 2px;
    height: 30px;
    background: rgba(220, 230, 255, 0.9);
    margin-left: -1px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
}

.second-hand {
    width: 1px;
    height: 33px;
    background: #ff6060;
    margin-left: -0.5px;
    box-shadow: 0 0 3px rgba(255, 60, 60, 0.6);
}

.clock-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
}

.clock-digital {
    font-size: 11px;
    color: rgba(200, 225, 255, 0.9);
    margin-top: 6px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 1px;
    font-weight: 600;
}

.gadget-meter {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meter-label {
    display: flex;
    justify-content: space-between;
    font-size: 10.5px;
    color: rgba(200, 225, 255, 0.85);
    font-weight: 600;
}

.meter-bar {
    height: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgba(100, 150, 255, 0.3);
}

.meter-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 1s ease;
    width: 0%;
}

.cpu-fill {
    background: linear-gradient(90deg, #4080ff, #a0c0ff);
}

.ram-fill {
    background: linear-gradient(90deg, #20c060, #80ffb0);
}

.gadget-net {
    padding: 10px;
}

.net-status {
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 5px;
}

.net-status.online {
    color: #80ff80;
}

.net-detail {
    font-size: 10.5px;
    color: rgba(200, 225, 255, 0.75);
    line-height: 1.5;
}

.context-menu {
    position: fixed;
    z-index: 9999;
    min-width: 200px;
    background: rgba(230, 240, 255, 0.92);
    border: 1px solid rgba(80, 120, 200, 0.5);
    border-radius: 5px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    padding: 3px 0;
    display: none;
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 0.12s, transform 0.12s;
}

.context-menu.visible {
    display: block;
    opacity: 1;
    transform: scale(1);
}

.ctx-item {
    padding: 6px 16px;
    font-size: 12px;
    color: #1a2a4a;
    cursor: default;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.1s;
}

.ctx-item:hover {
    background: rgba(49, 106, 220, 0.2);
}

.ctx-separator {
    height: 1px;
    background: rgba(80, 110, 180, 0.25);
    margin: 3px 8px;
}

.toast {
    position: fixed;
    bottom: 50px;
    right: 12px;
    z-index: 2000;
    background: rgba(225, 238, 255, 0.95);
    border: 1px solid rgba(80, 130, 220, 0.5);
    border-radius: 6px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    padding: 10px 12px;
    width: 280px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transform: translateX(320px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(.17, .67, .35, 1.1), opacity 0.4s;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.hide {
    transform: translateX(320px);
    opacity: 0;
}

.toast-body {
    flex-grow: 1;
    font-size: 12px;
    color: #112;
    line-height: 1.5;
}

.toast-body strong {
    color: #0a2060;
    font-size: 13px;
    display: block;
    margin-bottom: 2px;
}

.toast-close {
    background: none;
    border: none;
    color: #556;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
    margin-top: -2px;
}

.toast-close:hover {
    color: #c44;
}

.taskbar-preview {
    position: fixed;
    bottom: 50px;
    z-index: 1500;
    width: 200px;
    background: rgba(220, 235, 255, 0.92);
    border: 1px solid rgba(80, 130, 220, 0.5);
    border-radius: 6px;
    box-shadow: 0 4px 18px rgba(0, 20, 80, 0.4);
    backdrop-filter: blur(10px);
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 5px;
    pointer-events: none;
}

.taskbar-preview.visible {
    display: flex;
}

.preview-title {
    font-size: 11.5px;
    font-weight: 700;
    color: #1a2a5a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-close {
    background: none;
    border: none;
    font-size: 11px;
    color: #556;
    cursor: pointer;
    pointer-events: all;
}

.preview-thumb {
    height: 100px;
    background: linear-gradient(135deg, #cde 30%, #acd 100%);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.start-menu {
    position: fixed;
    bottom: 40px;
    left: 0;
    width: 430px;
    height: 470px;
    display: none;
    flex-direction: row;
    background: rgba(15, 35, 100, 0.55);
    border: 1px solid rgba(100, 160, 255, 0.4);
    border-radius: 6px 6px 0 0;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(18px) saturate(1.4);
    z-index: 999;
}

.start-menu.show {
    display: flex;
}

.start-menu-left {
    width: 58%;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 5px 0 0 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.start-menu-user-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: linear-gradient(90deg, #1f4e9a, #3a7de8);
    color: white;
    border-radius: 5px 0 0 0;
}

.start-user-avatar {
    font-size: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.start-user-name {
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.start-menu-left-items {
    flex-grow: 1;
    padding: 6px;
    overflow-y: auto;
}

.start-item {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    border: 1px solid transparent;
    border-radius: 4px;
    gap: 10px;
    cursor: default;
    transition: background 0.1s, border-color 0.1s;
}

.start-item:hover {
    background: #d6e8fd;
    border-color: #90c0f0;
}

.start-item-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.start-item-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.start-item-text {
    display: flex;
    flex-direction: column;
}

.start-item-text .main {
    font-size: 12.5px;
    color: #1a2a5a;
    font-weight: 600;
}

.start-item-text .sub {
    font-size: 10.5px;
    color: #556;
}

.start-separator-line {
    height: 1px;
    background: #c0d0e0;
    margin: 0 8px;
}

.all-programs {
    font-size: 12px;
    color: #1a2f6a;
    text-align: left;
    padding: 7px 14px;
    font-weight: 600;
    cursor: default;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.1s;
}

.all-programs:hover {
    background: #d6e8fd;
}

.ap-arrow {
    font-size: 10px;
}

.search-box {
    padding: 7px 8px;
    background: #e8f0f8;
    border-top: 1px solid #c0d0e0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-icon {
    font-size: 13px;
}

.search-box input {
    flex-grow: 1;
    padding: 4px 8px;
    border: 1px solid #a0b8d8;
    border-radius: 12px;
    font-size: 11.5px;
    background: white;
    outline: none;
    font-style: normal;
}

.search-box input:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.start-menu-right {
    width: 42%;
    display: flex;
    flex-direction: column;
    padding: 12px 10px;
}

.start-menu-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    overflow-y: auto;
}

.start-menu-right li {
    padding: 5px 10px;
    margin-bottom: 1px;
    border: 1px solid transparent;
    border-radius: 3px;
    cursor: default;
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.start-menu-right li:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
}

.start-menu-right .separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 5px 0;
}

.shutdown-row {
    display: flex;
    gap: 4px;
    align-items: center;
}

.shutdown-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(180deg, #fefefe 0%, #e0e0e0 50%, #cacaca 51%, #f0f0f0 100%);
    border: 1px solid rgba(0, 0, 0, 0.45);
    border-radius: 3px;
    padding: 4px 12px;
    color: #222;
    font-size: 12px;
    cursor: pointer;
    box-shadow: inset 0 1px 2px white, 0 1px 2px rgba(0, 0, 0, 0.25);
    flex-grow: 1;
    justify-content: center;
    transition: background 0.12s;
}

.shutdown-btn:hover {
    background: linear-gradient(180deg, #ddeeff 0%, #b8d4f0 50%, #96bce0 51%, #c8e0f7 100%);
    border-color: #3399ee;
}

.shutdown-icon {
    font-size: 14px;
}

.shutdown-arrow-btn {
    background: linear-gradient(180deg, #fefefe 0%, #e0e0e0 50%, #cacaca 51%, #f0f0f0 100%);
    border: 1px solid rgba(0, 0, 0, 0.45);
    border-radius: 3px;
    padding: 4px 8px;
    color: #333;
    font-size: 10px;
    cursor: pointer;
    box-shadow: inset 0 1px 2px white, 0 1px 2px rgba(0, 0, 0, 0.25);
}

.about-win {
    resize: none !important;
}

.about-content {
    display: flex;
    flex-direction: column;
}

.about-hero {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(90deg, #dce8f8 0%, #f0f6ff 100%);
    border-bottom: 1px solid #b8cce4;
    padding: 14px 18px;
}

.about-logo {
    font-size: 58px;
    line-height: 1;
    filter: drop-shadow(1px 2px 4px rgba(0, 0, 100, 0.18));
}

.about-hero-text {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}

.about-brand {
    font-size: 32px;
    font-weight: 300;
    color: #1a3a7a;
    letter-spacing: -0.5px;
    font-family: 'Segoe UI', sans-serif;
}

.about-sup {
    font-size: 12px;
    color: #1a3a7a;
    vertical-align: super;
}

.about-edition {
    font-size: 32px;
    font-weight: 300;
    color: #555;
    letter-spacing: -0.5px;
    font-family: 'Segoe UI', sans-serif;
}

.about-body {
    padding: 14px 20px;
    background: white;
    flex-grow: 1;
}

.about-line {
    margin: 0 0 2px;
    font-size: 12px;
    color: #222;
}

.about-desc {
    margin: 8px 0 0;
    font-size: 11.5px;
    color: #333;
    line-height: 1.55;
}

.about-divider {
    height: 1px;
    background: #c8d8e8;
    margin: 12px 0;
}

.about-link {
    color: #0055cc;
    font-size: 11.5px;
    text-decoration: underline;
    cursor: pointer;
}

.about-link:hover {
    color: #0033aa;
}

.about-user {
    margin: 4px 0 0 16px;
    font-size: 11.5px;
    color: #333;
    font-weight: 600;
}

.about-footer {
    background: #e8f0f8;
    border-top: 1px solid #c0d0e0;
    padding: 8px 14px;
    display: flex;
    justify-content: flex-end;
}

.about-ok {
    padding: 4px 22px;
    font-size: 12px;
    cursor: pointer;
    background: linear-gradient(180deg, #f5f9ff 0%, #d0e4f8 50%, #b8d0f0 51%, #d8ecff 100%);
    border: 1px solid #6a9fd8;
    border-radius: 3px;
    color: #1a2a5a;
    box-shadow: inset 0 1px 2px white, 0 1px 2px rgba(0, 0, 0, 0.15);
    font-family: 'Segoe UI', sans-serif;
    font-weight: 600;
    transition: background 0.12s;
}

.about-ok:hover {
    background: linear-gradient(180deg, #ddeeff 0%, #a8ccee 50%, #88b8e0 51%, #c8e4ff 100%);
    border-color: #3a82cc;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-left: 1px solid #e0e0e0;
}

::-webkit-scrollbar-thumb {
    background: #c2d5e8;
    border: 1px solid #90a8c0;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a5c8e6;
}

.lock-screen-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('icons/fondo de pantalla1.jpg') center/cover no-repeat;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

.lock-screen-container.unlocked {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.03);
}

.lock-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 50px;
}

.lock-avatar {
    width: 124px;
    height: 124px;
    border-radius: 6px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.lock-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lock-name {
    font-size: 28px;
    color: white;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    font-weight: 300;
    margin-top: 10px;
}

.lock-locked {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    margin-bottom: 2px;
}

.lock-input-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lock-input {
    width: 220px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    outline: none;
    transition: box-shadow 0.2s;
}

.lock-input:focus {
    border-color: #6a9fd8;
    box-shadow: 0 0 6px rgba(100, 160, 240, 0.8);
}

.lock-btn {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(200, 230, 255, 0.3) 0%, rgba(100, 160, 240, 0.3) 100%);
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    transition: background 0.15s, transform 0.1s;
}

.lock-btn:hover {
    background: linear-gradient(180deg, rgba(200, 230, 255, 0.5) 0%, rgba(100, 160, 240, 0.5) 100%);
    border-color: rgba(255, 255, 255, 0.9);
}

.lock-btn:active {
    transform: scale(0.92);
}

.lock-switch {
    margin-top: 10px;
    font-size: 12.5px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 3px 12px;
    background: rgba(0, 0, 0, 0.15);
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.15s, border-color 0.1s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.lock-switch:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

.lock-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
}

.lock-brand {
    font-size: 20px;
    color: white;
    font-weight: 300;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    gap: 6px;
}

.lock-power {
    width: 38px;
    height: 38px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.2);
    color: white;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.lock-power:hover {
    background: rgba(200, 50, 50, 0.6);
    border-color: rgba(255, 100, 100, 0.8);
}

.lock-power-icon {
    font-size: 16px;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.owo-content {
    display: flex;
    flex-direction: row;
    height: 100%;
    background: #fff;
}

.owo-sidebar {
    width: 190px;
    background: linear-gradient(180deg, #4488bb 0%, #3377aa 40%, #55aa88 100%);
    padding: 20px 10px;
    color: white;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    flex-shrink: 0;
}

.owo-sidebar-title {
    font-size: 13px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    padding-left: 5px;
}

.owo-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.owo-sidebar li {
    padding: 8px 5px;
    font-size: 11.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
    transition: background 0.15s;
}

.owo-sidebar li:hover {
    background: rgba(255, 255, 255, 0.2);
}

.owo-sidebar-bottom {
    margin-top: auto;
}

.owo-main {
    padding: 25px 30px;
    flex-grow: 1;
    overflow-y: auto;
    background: #f4f8fc;
}

.owo-heading {
    font-size: 20px;
    color: #1a3a7a;
    font-weight: 300;
    margin: 0 0 5px 0;
}

.owo-desc {
    font-size: 11.5px;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.4;
}

.owo-blocks {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.owo-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.05);
}

.owo-block-title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.owo-block-status {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.owo-green {
    background: linear-gradient(180deg, #dcf4d9 0%, #c4e8bf 100%);
    border: 1px solid #8cc681;
}

.owo-green .owo-block-status {
    color: #1e6b12;
}

.owo-yellow {
    background: linear-gradient(180deg, #fff4d0 0%, #ffe8a0 100%);
    border: 1px solid #d8b848;
}

.owo-yellow .owo-block-status {
    color: #9c7300;
}

.owo-pink {
    background: linear-gradient(180deg, #ffeef5 0%, #ffd0e5 100%);
    border: 1px solid #d881a8;
}

.owo-pink .owo-block-status {
    color: #a42c65;
}

.owo-subheading {
    font-size: 14px;
    color: #1a3a7a;
    font-weight: 600;
    border-bottom: 1px solid #b8cce4;
    padding-bottom: 5px;
    margin: 0 0 10px 0;
}

.owo-messages {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.owo-messages li {
    font-size: 12px;
    color: #333;
    padding: 8px 12px;
    background: white;
    border: 1px solid #d0e0f0;
    border-radius: 4px;
    display: flex;
    gap: 8px;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.taskmgr-content {
    background: #fff;
    display: flex;
    flex-direction: column;
}

.tm-menubar {
    display: flex;
    gap: 15px;
    padding: 4px 8px;
    font-size: 12px;
    background: #f0f0f0;
    border-bottom: 1px solid #dcf0ff;
}

.tm-menubar div:hover {
    background: rgba(0, 100, 200, 0.1);
    border-radius: 2px;
}

.tm-tabs {
    display: flex;
    padding: 6px 8px 0;
    background: #f0f0f0;
    border-bottom: 1px solid #999;
    gap: 2px;
}

.tm-tab {
    padding: 3px 10px;
    font-size: 12px;
    border: 1px solid transparent;
    border-bottom: none;
    margin-bottom: -1px;
    cursor: pointer;
    border-radius: 3px 3px 0 0;
    color: #333;
}

.tm-tab:hover:not(.active) {
    background: #e5f3ff;
    border: 1px solid #cce8ff;
    border-bottom: none;
}

.tm-tab.active {
    background: #fff;
    border: 1px solid #999;
    border-top: 2px solid #e28e12;
    border-bottom: 1px solid #fff;
}

.tm-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.tm-thead {
    display: flex;
    font-size: 11px;
    color: #444;
    border: 1px solid #d9d9d9;
    border-bottom: none;
    background: #f8f8f8;
    padding: 4px 0;
}

.tm-thead div {
    border-right: 1px solid #d9d9d9;
    padding-left: 5px;
}

.tm-tbody {
    flex-grow: 1;
    overflow-y: auto;
    border: 1px solid #d9d9d9;
    background: white;
    height: 100%;
    border-top: 1px solid #eee;
}

.tm-row {
    display: flex;
    font-size: 12px;
    padding: 3px 0;
    border-bottom: 1px solid #f9f9f9;
    color: #000;
    cursor: default;
}

.tm-row:nth-child(even) {
    background: #f7f7f7;
}

.tm-row:hover {
    background: #d9ebf9;
}

.tm-row>div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-top: 1px;
}

.tm-row>div:nth-child(1) {
    width: 140px;
    padding-left: 5px;
}

.tm-row>div:nth-child(2) {
    width: 90px;
}

.tm-row>div:nth-child(3) {
    width: 50px;
    text-align: right;
    padding-right: 15px;
}

.tm-row>div:nth-child(4) {
    width: 80px;
    text-align: right;
    padding-right: 5px;
}

.tm-row>div:nth-child(5) {
    flex-grow: 1;
    padding-left: 10px;
}

.tm-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f0f0f0;
    border-top: 1px solid #dfdfdf;
}

.tm-bottom-left {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tm-end-btn {
    padding: 4px 15px;
    font-size: 12px;
    border: 1px solid #aaa;
    border-radius: 3px;
    background: linear-gradient(180deg, #fefefe 0%, #e4e4e4 100%);
    cursor: pointer;
    transition: 0.1s;
}

.tm-end-btn:hover {
    border-color: #3399ff;
    background: linear-gradient(180deg, #f0f8ff 0%, #cde8ff 100%);
}

.tm-end-btn:active {
    background: #b0d8ff;
}

.tm-statusbar {
    display: flex;
    padding: 4px 10px;
    font-size: 11px;
    background: #f0f0f0;
    border-top: 1px solid #dfdfdf;
    color: #333;
}

.tm-status-item {
    border-right: 1px solid #ccc;
    padding-right: 15px;
    margin-right: 15px;
}

.context-menu {
    background: #f0f0f0;
    border: 1px solid #aaa;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    width: 220px;
    padding: 3px;
    border-radius: 0;
    font-family: 'Segoe UI', sans-serif;
}

.context-menu .menu-item {
    padding: 4px 25px;
    font-size: 12px;
    cursor: pointer;
    color: #000;
    display: block;
}

.context-menu .menu-item:hover {
    background: #3399ff;
    color: #fff;
}

.context-menu .separator {
    height: 1px;
    background: #ccc;
    margin: 3px 2px;
}

.pz-content {
    background: #f4f7fc;
    display: flex;
    flex-direction: row;
}

.pz-sidebar {
    width: 160px;
    background: #d9e3f0;
    border-right: 1px solid #b3cbe6;
    padding-top: 10px;
}

.pz-sidebar-item {
    padding: 8px 15px;
    font-size: 12px;
    color: #333;
    cursor: pointer;
}

.pz-sidebar-item:hover {
    background: rgba(255, 255, 255, 0.5);
}

.pz-sidebar-item.active {
    background: #fff;
    border-top: 1px solid #b3cbe6;
    border-bottom: 1px solid #b3cbe6;
    font-weight: bold;
    color: #1a3a7a;
}

.pz-main {
    flex-grow: 1;
    padding: 20px;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.pz-heading {
    font-size: 18px;
    color: #1a3a7a;
    font-weight: normal;
    margin: 0 0 10px 0;
}

.pz-desc {
    font-size: 12px;
    color: #444;
    margin: 0 0 20px 0;
}

.pz-color-grid {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.pz-color-box {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.5), 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s, border-color 0.1s;
}

.pz-color-box:hover {
    transform: scale(1.1);
}

.pers-cursors {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.cursor-opt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.1s;
}

.cursor-opt:hover {
    background: #e8f0fe;
    border-color: #a0c0f0;
}

body.cursor-star { cursor: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"%3E%3Cpath fill="%23ffdb58" stroke="%23b8860b" stroke-width="1.5" d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/%3E%3C/svg%3E') 16 16, auto !important; }
body.cursor-heart { cursor: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"%3E%3Cpath fill="%23ff69b4" stroke="%23c71585" stroke-width="1.5" d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/%3E%3C/svg%3E') 16 16, auto !important; }
body.cursor-wand { cursor: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"%3E%3Cpath fill="%23ffd700" stroke="%23da8a67" stroke-width="1.5" d="M2.2 16.06L3.88 12l-1.68-4.06c-.24-.59.39-1.22.98-.98L7.24 8.64l4.06-1.68c.59-.24 1.22.39.98.98L10.6 12l1.68 4.06c.24.59-.39 1.22-.98.98l-4.06-1.64-4.06 1.64c-.59.24-1.22-.39-.98-.98zM21 3L11.5 12.5m4 4l5.5-5.5"/%3E%3C/svg%3E') 16 16, auto !important; }
body.cursor-star * { cursor: inherit !important; }
body.cursor-heart * { cursor: inherit !important; }
body.cursor-wand * { cursor: inherit !important; }

.pz-color-default {
    background: linear-gradient(135deg, #a0c8e6, #508cd2);
}

.pz-color-pink {
    background: rgba(255, 105, 180, 1);
}

.pz-color-purple {
    background: rgba(147, 112, 219, 1);
}

.pz-color-dark {
    background: rgba(40, 40, 45, 1);
}

.pz-color-mint {
    background: rgba(100, 220, 180, 1);
}

.pz-bg-preview {
    width: 200px;
    height: 120px;
    border: 2px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.2s;
}

.pz-bg-preview:hover {
    border-color: #3399ff;
}

.pz-bg-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-content {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    padding: 15px;
    gap: 15px;
    height: 100%;
}

.player-top {
    display: flex;
    gap: 15px;
    align-items: center;
}

.player-cover {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 182, 193, 0.5);
}

.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.player-track {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.player-artist {
    font-size: 14px;
    color: #666;
}

.player-time {
    font-size: 12px;
    color: #888;
    margin-top: auto;
    text-align: right;
}

.player-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
    position: relative;
}

.player-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ffb6c1, #d8bfd8);
    transition: width 0.1s linear;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: auto;
}

.player-btn {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(240, 240, 250, 0.6));
    border: 1px solid rgba(100, 100, 150, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1), inset 0 1px 2px rgba(255, 255, 255, 0.8);
    transition: all 0.2s;
}

.player-btn:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(250, 250, 255, 0.8));
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.player-btn:active {
    background: rgba(220, 220, 230, 0.8);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(1px);
}

.play-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
    background: linear-gradient(180deg, #ffb6c1, #d8bfd8);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.play-btn:hover {
    background: linear-gradient(180deg, #ffc0cb, #dda0dd);
}

.messenger-content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    padding: 0;
    height: 100%;
}

.msg-header {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.5), rgba(216, 191, 216, 0.5));
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.msg-avatar {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-right: 15px;
    background: #fff;
    border: 2px solid #fff;
}

.msg-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.msg-user-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.msg-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.msg-status {
    font-size: 13px;
    font-weight: 400;
    color: #5a5;
}

.msg-mood {
    font-size: 13px;
    color: #666;
    font-style: italic;
    margin-top: 5px;
}

.msg-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.4);
}

.msg-contact-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
}

.msg-group-title {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 5px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.msg-contact {
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.msg-contact:hover {
    background: rgba(255, 255, 255, 0.8);
}

.msg-contact img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    margin-right: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.msg-contact.offline {
    filter: grayscale(100%);
    opacity: 0.7;
}

.msg-contact-info {
    display: flex;
    flex-direction: column;
}

.msg-contact-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.msg-contact-sub {
    font-size: 12px;
    color: #777;
}

.msg-chat-area {
    position: absolute;
    inset: 0;
    background: rgba(250, 250, 252, 0.95);
    display: flex;
    flex-direction: column;
    z-index: 5;
}

.msg-chat-header {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    background: linear-gradient(180deg, rgba(235, 245, 255, 1), rgba(215, 225, 245, 1));
    border-bottom: 1px solid #ccc;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.msg-back-btn {
    background: none;
    border: none;
    font-size: 12px;
    color: #0066cc;
    cursor: pointer;
    margin-right: 10px;
}

.msg-back-btn:hover {
    text-decoration: underline;
}

.msg-history {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.msg-bubble {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
    word-wrap: break-word;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.msg-bubble.sent {
    background: #d8bfd8;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.msg-bubble.recv {
    background: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.msg-input-area {
    display: flex;
    padding: 10px;
    background: #fff;
    border-top: 1px solid #ddd;
    gap: 8px;
}

.msg-input-area input {
    flex-grow: 1;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 10px;
    font-family: inherit;
    font-size: 13px;
    outline: none;
}

.msg-input-area input:focus {
    border-color: #ffb6c1;
}

.msg-input-area button {
    background: linear-gradient(180deg, #ffb6c1, #eba1ac);
    border: 1px solid #cc8899;
    padding: 6px 15px;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    font-size: 13px;
}

.msg-input-area button:hover {
    filter: brightness(1.1);
}

.msg-input-area button:active {
    filter: brightness(0.9);
}

#sticky-notes-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 100;
}

.sticky-note {
    position: absolute;
    width: 250px;
    height: 250px;
    background: #ffeb99; /* Default pale yellow */
    box-shadow: 2px 4px 10px rgba(0,0,0,0.2), inset 0 1px rgba(255,255,255,0.5);
    border: 1px solid rgba(0,0,0,0.1);
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    transition: transform 0.1s;
}

.sticky-note.focused {
    z-index: 200;
    box-shadow: 3px 6px 15px rgba(0,0,0,0.25), inset 0 1px rgba(255,255,255,0.6);
}

.sticky-header {
    height: 30px;
    background: rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
    cursor: move;
    user-select: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.sticky-note:hover .sticky-header {
    opacity: 1;
}

.sticky-btn-group {
    display: flex;
    gap: 4px;
}

.sticky-btn {
    width: 20px;
    height: 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: rgba(0,0,0,0.5);
}

.sticky-btn:hover {
    background: rgba(255,255,255,0.5);
    color: #000;
}

.sticky-btn.delete:hover {
    background: #faa;
    color: #c00;
}

.sticky-textarea {
    flex-grow: 1;
    background: transparent;
    border: none;
    resize: none;
    padding: 10px;
    font-family: 'Segoe Print', 'Comic Sans MS', 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    outline: none;
}
.sticky-note.yellow { background: #fdffb6; border-top: 5px solid #e0e589; }
.sticky-note.pink { background: #ffd6e0; border-top: 5px solid #d8b2bb; }
.sticky-note.blue { background: #c1e7ff; border-top: 5px solid #9dcbe5; }
.sticky-note.green { background: #caffe5; border-top: 5px solid #a8dfc8; }

.screensaver {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, #1b2735 0%, #090a0f 100%);
    z-index: 999998; /* Just below lock screen */
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.screensaver.active {
    opacity: 1;
    pointer-events: auto;
}

.screensaver-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow: 0 0 10px #fff;
    border-radius: 50%;
    animation: drift linear infinite, twinkle ease-in-out infinite alternate;
}

@keyframes drift {
    from { transform: translateY(0) translateX(0) scale(1); }
    to { transform: translateY(100vh) translateX(50px) scale(0); }
}

@keyframes twinkle {
    0% { opacity: 0.2; box-shadow: 0 0 5px #fff; }
    100% { opacity: 1; box-shadow: 0 0 15px #ffb6c1, 0 0 25px #ff69b4; }
}