body{
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    color: #1a3650;
    background: #8ed1ff;
    background-image: radial-gradient(circle at top left, rgba(255,255,255,0.4), transparent 22%), linear-gradient(180deg, #9edcff 0%, #86c5f1 50%, #74aad0 100%);
}

#welcome-screen{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding: 28px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.16);
}


.logo {
    width: 120px;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    background: transparent;
}

button{
    padding:10px 25px;
    font-size:18px;
    cursor:pointer;
    border: 2px solid #2a5da8;
    border-radius: 12px;
    background: #d8eafd;
    color: #1a3c63;
}

#welcome-screen button{
    border-radius: 0;
}

#desktop{
    min-height:100vh;
    background: #94d4ff;
    text-align:center;
    padding:40px 20px 110px;
    position: relative;
}

.desktop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    padding: 0 18px;
}

.desktop-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1b3a58;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.12em;
    font-weight: bold;
}

.desktop-logo img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.12);
    background: #fff;
}

.desktop-clock {
    padding: 8px 14px;
    border: 1px solid rgba(0,0,0,0.16);
    background: #ffffff;
    border-radius: 12px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    letter-spacing: 0.1em;
    color: #1b3a58;
}

.desktop-icons {
    display:grid;
    grid-template-columns: repeat(4, 100px);
    gap:26px;
    justify-content:center;
    margin:0 auto 24px;
    max-width: 660px;
}

.desktop-icon {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
    cursor:pointer;
    user-select:none;
}

.desktop-icon img {
    width: 82px;
    height: 82px;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 6px 14px rgba(0,0,0,0.16);
    background: #fff;
}

.desktop-icon:hover img {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.desktop-icon__label {
    font-size: 12px;
    color: #1a2f4a;
    text-align: center;
    max-width: 100px;
    line-height: 1.2;
    text-shadow: none;
}

.dock {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 12px 18px;
    background: rgba(246, 246, 246, 0.96);
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    max-width: min(92vw, 640px);
    z-index: 50;
}

.tray-icon {
    position: relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:6px;
    width: 70px;
    font-size: 12px;
    color: #1a3a56;
    cursor: pointer;
    pointer-events: auto;
}

.tray-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 120ms ease-in-out, transform 120ms ease-in-out;
    background: rgba(20, 30, 60, 0.92);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.tray-icon:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

.tray-icon img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: 0 4px 10px rgba(0,0,0,0.16);
    background: #fff;
}

.tray-icon:hover img {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.22);
}

.dock span {
    display:none;
}

.taskbar span {
    display:block;
    text-align:center;
    line-height:1.2;
    color: #1a3b58;
}

.app-window {
    position: fixed;
    left: 50%;
    top: 90px;
    transform: translateX(-50%);
    width: min(720px, 92vw);
    background: #f8f8fb;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 0;
    padding: 12px;
    box-shadow: 0 24px 40px rgba(0,0,0,0.14);
    z-index: 100;
    display: none;
}

.window-actions {
    display: inline-flex;
    gap: 2px;
    margin-left: 8px;
}

.window-actions button {
    min-width: 22px;
    padding: 2px 5px;
    border: 2px outset #fff;
    border-radius: 0;
    background: #c0c0c0;
    color: #111;
    font: bold 11px Arial, sans-serif;
    line-height: 1.1;
}

.window-fullscreen {
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-height: none !important;
    box-sizing: border-box;
    transform: none !important;
}

.is-minimized {
    width: min(280px, 80vw) !important;
    height: auto !important;
    min-height: 0 !important;
}

.messages-window,
.trash-window {
    position: fixed;
    top: 96px;
    left: 50%;
    transform: translateX(-50%);
    width: min(460px, 90vw);
    background: #c0c0c0;
    border: 2px outset #fff;
    box-shadow: 5px 5px 0 #004545;
    color: #111;
}

.messages-window {
    z-index: 125;
}

.trash-window {
    top: 116px;
    z-index: 124;
}

.messages-titlebar,
.trash-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px;
    background: #000080;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
}

.messages-titlebar button,
.trash-titlebar button,
.trash-toolbar button,
.message-compose button {
    padding: 3px 8px;
    border: 2px outset #fff;
    border-radius: 0;
    background: #c0c0c0;
    color: #111;
    font-size: 12px;
}

.messages-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 260px;
    overflow-y: auto;
    padding: 10px;
    background: #fff;
    border: 2px inset #fff;
}

.message-bubble {
    max-width: 78%;
    padding: 5px 7px;
    border: 1px solid #777;
    font-size: 12px;
    text-align: left;
}

.message-bubble b,
.message-bubble span {
    display: block;
}

.message-bubble b {
    margin-bottom: 2px;
    font-size: 10px;
    color: #555;
}

.message-bubble.incoming {
    align-self: flex-start;
    background: #e8e8e8;
}

.message-bubble.outgoing {
    align-self: flex-end;
    background: #d8eafd;
}

.message-compose {
    display: flex;
    gap: 5px;
    padding: 7px;
    background: #c0c0c0;
}

.message-compose input {
    min-width: 0;
    flex: 1;
    padding: 5px;
    border: 2px inset #fff;
    border-radius: 0;
}

.trash-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px;
    background: #c0c0c0;
    border-bottom: 2px groove #fff;
    font-size: 12px;
}

.trash-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 8px;
    background: #fff;
}

.trash-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 2px;
    border-bottom: 1px dotted #888;
    font-size: 12px;
    text-align: left;
}

.trash-filetype {
    width: 44px;
    padding: 5px 2px;
    border: 1px solid #888;
    background: #eee;
    font: bold 9px 'Courier New', monospace;
    text-align: center;
}

.trash-fileinfo {
    min-width: 0;
    flex: 1;
}

.trash-fileinfo b,
.trash-fileinfo small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.trash-fileinfo small,
.trash-status {
    color: #555;
    font-size: 10px;
}

.trash-item button {
    padding: 3px 6px;
    border: 2px outset #fff;
    border-radius: 0;
    background: #c0c0c0;
    color: #111;
    font-size: 11px;
}

.trash-empty {
    margin: 18px 5px;
    color: #555;
    font-size: 12px;
    text-align: center;
}

.trash-status {
    padding: 5px 7px;
    border-top: 1px solid #888;
    background: #eee;
}

.app-window.active {
    display: block;
}

/* Browser is intentionally plain: an old WebOS utility, not a modern card. */
.browser-window {
    position: fixed;
    top: 64px;
    left: 50%;
    transform: translateX(-50%);
    width: min(920px, 94vw);
    height: min(620px, 76vh);
    z-index: 110;
    background: #d7d2c5;
    border: 3px outset #efede6;
    box-shadow: 7px 8px 0 rgba(0, 0, 0, 0.35);
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
}

.browser-titlebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 7px;
    background: #1b4c92;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
}

.browser-close, .browser-toolbar button {
    min-width: 46px;
    padding: 4px 7px;
    border: 2px outset #f7f7f7;
    border-radius: 0;
    background: #d7d2c5;
    color: #111;
    font-size: 12px;
}

.browser-close { min-width: 24px; padding: 2px 6px; }
.browser-close:active, .browser-toolbar button:active { border-style: inset; }

.browser-toolbar {
    display: flex;
    gap: 5px;
    align-items: center;
    padding: 6px;
    border-bottom: 2px groove #fff;
}

.browser-address { display: flex; flex: 1; gap: 5px; align-items: center; }
.browser-address label { font-size: 12px; font-weight: bold; }
.browser-address input { flex: 1; min-width: 0; padding: 4px; border: 2px inset #fff; border-radius: 0; font: 12px 'Courier New', monospace; }
.browser-bookmarks { display: flex; gap: 4px; overflow-x: auto; padding: 4px 6px; border-bottom: 1px solid #888; background: #c8c4b9; }
.browser-bookmarks button { min-width: auto; padding: 3px 7px; white-space: nowrap; }
.browser-status { padding: 3px 7px; border-bottom: 1px solid #888; background: #eee; font-size: 11px; text-align: left; }
.browser-window iframe { display: block; width: 100%; height: calc(100% - 112px); border: 0; background: #fff; }

@media (max-width: 560px) {
    .browser-window { top: 20px; height: 78vh; }
    .browser-toolbar { flex-wrap: wrap; }
    .browser-address { flex-basis: 100%; }
}

/* A simple Snapchat-inspired camera with deliberately loud, 2016-style controls. */
.snap-window { position: fixed; top: 62px; left: 50%; transform: translateX(-50%); z-index: 120; width: min(430px, 94vw); background: #ffec00; border: 3px solid #111; box-shadow: 6px 7px 0 rgba(0,0,0,0.4); color: #111; }
.snap-titlebar { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; background: #111; color: #ffec00; font-size: 13px; font-weight: bold; }
.snap-titlebar button, .snap-controls button { border: 2px outset #fff; border-radius: 0; background: #eee; color: #111; padding: 5px 8px; font-size: 12px; }
.snap-camera { position: relative; min-height: 300px; background: #222; overflow: hidden; }
.snap-camera video { display: block; width: 100%; min-height: 300px; max-height: 420px; object-fit: cover; transform: scaleX(-1); background: #222; }
.snap-face-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.snap-message { position: absolute; right: 7px; bottom: 5px; left: 7px; margin: 0; padding: 4px 6px; background: rgba(0,0,0,0.65); color: #fff; font-size: 11px; text-align: center; }
.snap-controls { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 8px; background: #ffec00; }
.snap-controls label { display: flex; gap: 3px; align-items: center; font-size: 11px; font-weight: bold; }.snap-controls select { max-width: 118px; border: 2px inset #fff; border-radius: 0; padding: 3px; font-size: 11px; }.snap-controls .snap-capture { background: #ff4a7d; border-color: #111; font-weight: bold; }
.snap-gallery { display: flex; gap: 5px; min-height: 0; max-height: 90px; overflow-x: auto; padding: 6px; background: #fff; border-top: 2px solid #111; }.snap-gallery img { width: 76px; height: 76px; object-fit: cover; border: 2px solid #111; }

.files-window { position: fixed; top: 72px; left: 50%; transform: translateX(-50%); z-index: 115; width: min(760px, 94vw); background: #d7d2c5; border: 3px outset #eee; box-shadow: 7px 8px 0 rgba(0,0,0,.35); color: #111; }
.files-titlebar { display: flex; justify-content: space-between; align-items: center; padding: 5px 7px; background: #2766a3; color: #fff; font-size: 13px; font-weight: bold; }.files-titlebar button, .files-toolbar button { padding: 3px 8px; border: 2px outset #fff; border-radius: 0; background: #d7d2c5; color: #111; font-size: 12px; }
.files-toolbar { display: flex; gap: 8px; align-items: center; padding: 6px; border-bottom: 2px groove #fff; font: 12px 'Courier New', monospace; background: #eee; }.files-body { display: flex; min-height: 330px; background: #fff; }.files-sidebar { width: 132px; flex: 0 0 132px; padding: 6px; border-right: 2px groove #fff; background: #d7d2c5; }.files-sidebar button { display: block; width: 100%; margin-bottom: 4px; padding: 5px; border: 0; border-radius: 0; background: transparent; color: #111; text-align: left; font-size: 12px; }.files-sidebar button:hover { background: #2766a3; color: #fff; }
.files-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); align-content: start; gap: 10px; flex: 1; padding: 14px; }.file-entry { min-height: 82px; padding: 6px; border: 0; border-radius: 0; background: #fff; color: #111; font: 12px Arial, sans-serif; text-align: center; }.file-entry--folder { cursor: pointer; }.file-entry--folder:hover { outline: 2px dotted #2766a3; background: #e5f0ff; }.file-entry-icon { display: block; width: 48px; margin: 0 auto 5px; padding: 8px 2px; border: 2px solid #a88700; background: #ffd936; color: #5d4b00; font: bold 9px 'Courier New', monospace; }.file-entry--file .file-entry-icon { border-color: #aaa; background: #f8f8f8; color: #555; }.file-entry--empty { grid-column: 1 / -1; min-height: auto; border: 2px dashed #aaa; background: #f7f7f7; text-align: left; }.file-entry small { display: block; margin-top: 4px; color: #666; font-size: 10px; }.files-status { padding: 4px 7px; border-top: 1px solid #888; background: #eee; text-align: left; font-size: 11px; }

@media (max-width: 480px) { .files-body { min-height: 290px; }.files-sidebar { width: 92px; flex-basis: 92px; }.files-list { grid-template-columns: repeat(2, 1fr); padding: 8px; } }

.photos-window { position: fixed; top: 64px; left: 50%; transform: translateX(-50%); z-index: 116; width: min(820px, 94vw); height: min(660px, 80vh); overflow: auto; background: #d7d2c5; border: 3px outset #eee; box-shadow: 7px 8px 0 rgba(0,0,0,.35); color: #111; }
.photos-titlebar { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 5px 7px; background: #7554a5; color: #fff; font-size: 13px; font-weight: bold; }.photos-titlebar button, .photo-close, .photo-arrow { border: 2px outset #fff; border-radius: 0; background: #d7d2c5; color: #111; font-size: 12px; }.photos-titlebar button, .photo-close { padding: 3px 8px; }
.photos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; padding: 15px; background: #f6f0fa; }.photo-thumb { overflow: hidden; padding: 5px; border: 2px solid #8e759e; border-radius: 0; background: #fff; color: #111; cursor: pointer; font-size: 11px; text-align: left; }.photo-thumb:hover { outline: 2px dotted #7554a5; background: #e8d9ff; }.photo-thumb img { display: block; width: 100%; height: 105px; margin-bottom: 5px; object-fit: cover; }.photo-thumb span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }.photos-status { position: sticky; bottom: 0; padding: 4px 7px; border-top: 1px solid #888; background: #eee; font-size: 11px; text-align: left; }
.photo-viewer { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 36px 54px; background: rgba(0,0,0,.88); }.photo-viewer img { max-width: 100%; max-height: 100%; border: 4px solid #fff; object-fit: contain; }.photo-viewer p { position: absolute; right: 15px; bottom: 4px; left: 15px; margin: 0; color: #fff; font: 12px 'Courier New', monospace; text-align: center; }.photo-close { position: absolute; top: 9px; right: 9px; z-index: 1; }.photo-arrow { position: absolute; top: 50%; padding: 8px 11px; transform: translateY(-50%); font-size: 20px; }.photo-arrow--left { left: 10px; }.photo-arrow--right { right: 10px; }

.music-window { position: fixed; top: 72px; left: 50%; transform: translateX(-50%); z-index: 117; width: min(750px, 94vw); background: #14152e; border: 3px outset #b9b7d2; box-shadow: 8px 9px 0 rgba(0,0,0,.42); color: #f7f5ff; }.music-titlebar { display: flex; justify-content: space-between; align-items: center; padding: 5px 7px; background: linear-gradient(90deg,#5540a9,#ed4d9a); font-size: 13px; font-weight: bold; }.music-titlebar button, .music-controls button, .music-options button { border: 2px outset #fff; border-radius: 0; background: #d7d2c5; color: #111; padding: 4px 8px; font: bold 11px Arial, sans-serif; }.music-body { display: grid; grid-template-columns: 1fr 1.08fr; }.music-now-playing { padding: 20px; text-align: center; background: #24224d; }.album-art { display: flex; width: min(210px,80%); aspect-ratio: 1; align-items: center; justify-content: center; margin: 0 auto 14px; border: 5px solid #ff69b4; background: repeating-linear-gradient(45deg,#ffa0d1 0 12px,#7155cf 12px 24px,#44d8dd 24px 36px); box-shadow: 6px 7px 0 #0b0b18; color: #fff; font: bold 28px 'Courier New',monospace; line-height: .95; text-shadow: 2px 2px #40216d; }.music-kicker { margin: 0; color: #a9a9d7; font-size: 10px; letter-spacing: .15em; }.music-now-playing h2 { margin: 7px 0 2px; font-size: 19px; }.music-now-playing h2 + p { margin: 0 0 12px; color: #d5ccff; font-size: 12px; }.music-progress { height: 9px; border: 2px inset #eee; background: #111; }.music-progress span { display: block; width: 0; height: 100%; background: #ff4d9b; }.music-time { display: flex; justify-content: space-between; margin: 4px 0 12px; color: #bebbe0; font: 11px 'Courier New',monospace; }.music-controls { display: flex; justify-content: center; gap: 7px; }.music-controls .music-play { background: #ff4d9b; }.music-options { display: flex; justify-content: center; gap: 5px; margin-top: 11px; }.music-options button { padding: 3px 5px; font-size: 9px; }.music-library { display: grid; grid-template-columns: 115px 1fr; min-height: 380px; background: #f3f1ff; color: #151321; }.music-playlists { padding: 12px 7px; background: #ddd9ef; border-right: 2px groove #fff; }.music-playlists b, .queue-title { display: block; margin: 0 0 9px; color: #5b438b; font-size: 10px; letter-spacing: .08em; }.music-playlists button { display: block; width: 100%; padding: 6px 4px; border: 0; border-radius: 0; background: transparent; color: #171423; font-size: 11px; text-align: left; }.music-playlists .selected-playlist { background: #7656b7; color: #fff; }.music-library > div:last-child { padding: 13px 9px; }.music-queue { margin: 0; padding-left: 22px; }.music-queue li { margin-bottom: 4px; }.music-queue li::marker { color: #7556ad; font-size: 11px; }.music-queue button { display: flex; justify-content: space-between; width: 100%; padding: 5px; border: 0; border-radius: 0; background: transparent; color: #151321; text-align: left; font-size: 12px; }.music-queue button:hover, .music-queue .current-track button { background: #dbcaff; }.music-queue small { display: block; color: #6d6680; font-size: 10px; }.music-queue em { align-self: center; color: #666; font: 10px 'Courier New',monospace; }.music-status { padding: 4px 7px; background: #111027; color: #bbb7e4; font-size: 11px; text-align: left; }
@media (max-width: 560px) { .music-body { grid-template-columns: 1fr; }.music-library { min-height: 250px; }.album-art { width: 145px; }.music-now-playing { padding: 13px; } }
.youtube-player { display: none; width: 100%; min-height: 220px; margin-bottom: 12px; border: 3px solid #ff69b4; background: #111; }.youtube-active .album-art { display: none; }.youtube-active .youtube-player { display: block; }

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    margin-bottom: 10px;
}

.app-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.calendar-tools {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px auto;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

#calendar-window .calendar-tools button {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 4px 6px;
    border: 2px outset #fff;
    border-radius: 0;
    background: #c0c0c0;
    color: #111;
    font-size: 13px;
    line-height: 1.1;
}

#calendar-window .calendar-tools strong {
    min-width: 0;
    overflow: hidden;
    color: #111;
    font-size: 14px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.close-button {
    border: 1px solid rgba(0,0,0,0.14);
    background: #eef4ff;
    border-radius: 0;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 14px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.month-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.day-label,
.day-cell {
    font-size: 12px;
    text-align: center;
}

.day-label {
    padding: 6px 0;
    color: #5b6c88;
}

.day-cell {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.08);
    background: #ffffff;
    cursor: pointer;
}

.day-cell:hover,
.day-cell:focus-visible {
    outline: 2px solid #2a5da8;
    outline-offset: -2px;
    background: #edf5ff;
}

.has-event {
    background: #dff5e8;
    border-color: #71b889;
    font-weight: 700;
}

.today {
    background: #ffeed7;
    border-color: #f1c36d;
}

.notes-area {
    width: 100%;
    min-height: 220px;
    border: 1px solid rgba(0,0,0,0.12);
    background: #ffffff;
    padding: 10px;
    resize: vertical;
    font-size: 14px;
    color: #1a3a56;
}

.notes-title {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 8px;
    padding: 8px 10px;
    border: 1px solid rgba(0,0,0,0.12);
    font-size: 16px;
    font-weight: 700;
    color: #1a3a56;
}

.paint-window {
    position: fixed;
    left: 50%;
    top: 90px;
    transform: translateX(-50%);
    width: min(760px, 92vw);
    padding: 12px;
    background: #f8f8fb;
    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: 0 24px 40px rgba(0,0,0,0.18);
    z-index: 105;
}

.paint-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 12px;
}

.paint-toolbar label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.paint-toolbar input[type="color"] {
    width: 34px;
    height: 28px;
    padding: 1px;
}

.paint-toolbar input[type="range"] {
    width: 100px;
}

.paint-toolbar button {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
}

.paint-canvas {
    display: block;
    width: 100%;
    height: auto;
    border: 2px inset #fff;
    background: #fff;
    cursor: crosshair;
    touch-action: none;
}

.paint-status {
    margin: 8px 0 0;
    color: #5b6c88;
    font-size: 11px;
}

.save-button {
    margin-top: 10px;
    padding: 8px 18px;
    background: #d5e8ff;
    border: 1px solid rgba(0,0,0,0.14);
    border-radius: 6px;
    cursor: pointer;
    color: #1a3a56;
}

.settings-panel {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(2,9,23,0.8);
    z-index: 60;
    padding: 20px;
}

.settings-card {
    width: min(720px, 100%);
    background: #f5f8ff;
    border: 2px solid rgba(0,0,0,0.16);
    padding: 16px;
    box-shadow: 0 16px 32px rgba(0,0,0,0.22);
}

.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.settings-header h3 {
    margin: 0;
    color: #1a3c6d;
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.settings-close {
    border: 1px solid rgba(0,0,0,0.14);
    background: #acc7ed;
    color: #1a3c6d;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

.wallpaper-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.carousel-button {
    width: 42px;
    height: 42px;
    border: 2px solid rgba(0,0,0,0.18);
    background: #ffffff;
    color: #1a3c6d;
    cursor: pointer;
    font-size: 18px;
}

.wallpaper-preview {
    width: 100%;
    max-width: 520px;
    height: 220px;
    border: 2px solid rgba(0,0,0,0.18);
    background: #e3ecff;
    background-size: cover;
    background-position: center;
}

.wallpaper-title {
    margin: 0 0 12px;
    color: #1a3c6d;
    font-size: 14px;
    text-align: center;
    letter-spacing: 0.02em;
}

.settings-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.settings-actions button {
    padding: 10px 24px;
    font-size: 16px;
    border-radius: 12px;
    background: #2f5f95;
    border: 1px solid rgba(255,255,255,0.12);
    color: #f7fbff;
    cursor: pointer;
}

.settings-hint {
    color: #b9d1e8;
    font-size: 13px;
}

button{
    padding:10px 25px;
    font-size:18px;
    cursor:pointer;
}

.ios-app-icon {
  transition: transform 0.2s ease-out, filter 0.2s ease-out;
}
.ios-app-icon:active {
  transform: scale(0.92); /* Shrinks slightly when clicked, matching the iOS click sound */
  filter: brightness(0.8);
}

.taskbar{
    justify-content:space-between;
    align-items:center;
    padding:10px 25px;
}

.dock-icons{
    display:flex;
    gap:18px;
}

.taskbar-clock{
    color:white;
    font-size:15px;
    font-weight:bold;
}
