.os-desktop {
    background: #5865f2;
    height: 100vh;
    overflow: hidden;
    color: #fff;
    font-family: monospace;
    position: relative;
}

#taskbar, #os-taskbar, .os-taskbar {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30px;
    background: #333;
    display: flex;
    align-items: center;
    padding: 0 10px;
    z-index: 50;
    box-sizing: border-box;
}

.os-taskbar-apps {
    display: flex;
    gap: 4px;
    flex: 1;
    overflow-x: auto;
    margin: 0 8px;
    height: 100%;
    align-items: center;
}

.os-taskbar-app {
    background: #444;
    color: #fff;
    border: 1px solid #666;
    padding: 2px 8px;
    font-family: inherit;
    font-size: 11px;
    cursor: pointer;
    border-radius: 2px;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 22px;
}

.os-taskbar-app:hover {
    background: #555;
}

.os-taskbar-app.minimized {
    opacity: 0.6;
}

.window, .os-window {
    position: absolute;
    background: #b7a4ce;
    border: 2px solid #333;
    width: 300px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.window-header, .os-window-header {
    background: #333;
    color: #fff;
    padding: 5px;
    cursor: move;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    -webkit-app-region: no-drag;
}

.os-window-controls {
    display: flex;
    gap: 4px;
}

.os-window-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0 4px;
    font-size: 12px;
    line-height: 1;
}

.os-window-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

  .os-window-content {
    flex: 1;
    overflow: auto;
    padding: 8px;
  }

  .os-window-resize-handle {
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    cursor: nwse-resize;
    user-select: none;
    -webkit-app-region: no-drag;
  }

  .os-desktop-inner {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 12px;
    padding: 16px;
    height: calc(100% - 30px);
    position: relative;
    box-sizing: border-box;
  }

  .os-desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 64px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    -webkit-app-region: no-drag;
    border-radius: 4px;
    z-index: 1;
  }

  .os-desktop-icon:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
  }

  .os-desktop-icon:hover {
    opacity: 0.8;
  }

  .os-icon {
    font-size: 32px;
    line-height: 1;
  }

  .os-label {
    font-size: 11px;
    margin-top: 4px;
    color: #e0e0e0;
    text-shadow: 1px 1px 2px #000;
  }

  /* Window minimize button */
  .os-minimize {
    font-size: 10px;
    line-height: 1;
  }

  /* Window maximize button - toggle state */
  .os-maximize::after {
    content: '□';
  }
  .os-maximize.maximized::after {
    content: '🗖';
  }

  /* Window close button */
  .os-close {
    font-size: 14px;
    line-height: 1;
    color: #ff5f57;
  }

  /* Taskbar specific styling */
  #os-taskbar {
    z-index: 50;
  }

  #os-taskbar-apps {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #os-taskbar-apps::-webkit-scrollbar {
    display: none;
  }

  #os-taskbar-apps button.os-taskbar-btn {
    min-width: 28px;
    padding: 2px 4px;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
    opacity: 0.7;
    transition: opacity 0.15s;
    border-radius: 3px;
  }

  #os-taskbar-apps button.os-taskbar-btn:hover {
    opacity: 1;
  }

  #os-taskbar-apps button.os-taskbar-btn.minimized {
    opacity: 0.5;
  }

  .os-start-menu {
    position: absolute;
    bottom: 30px;
    left: 0;
    background: #333;
    border: 2px solid #555;
    border-radius: 4px;
    padding: 8px 0;
    min-width: 180px;
    z-index: 100;
  }

  .os-start-menu[hidden] {
    display: none;
  }

  .os-start-menu > div {
    padding: 8px 16px;
    cursor: pointer;
    white-space: nowrap;
  }

  .os-start-menu > div:hover {
    background: #555;
  }

  .os-start-menu > hr {
    margin: 8px 0;
    border-top: 1px solid #555;
  }

  /* Messenger app */
  .messenger-ui {
    display: flex;
    height: 100%;
    font-family: monospace;
  }
  .messenger-sidebar {
    width: 180px;
    background: #333;
    border-right: 2px solid #555;
    display: flex;
    flex-direction: column;
  }
  .messenger-search {
    padding: 8px;
    background: #1a1a1a;
    border: 1px solid #555;
    color: #fff;
    font-family: monospace;
    font-size: 12px;
  }
  .messenger-contacts {
    flex: 1;
    overflow-y: auto;
  }
  .messenger-contacts li {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #444;
  }
  .messenger-contacts li:hover {
    background: #555;
  }
  .messenger-contacts li.active {
    background: #b7a4ce;
    color: #000;
  }
  .contact-avatar {
    font-size: 20px;
    margin-right: 8px;
  }
  .contact-info {
    flex: 1;
    font-size: 12px;
  }
  .contact-name {
    font-weight: bold;
  }
  .contact-last {
    color: #aaa;
    font-size: 11px;
  }
  .contact-time {
    font-size: 10px;
    color: #777;
  }
  .messenger-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #222;
  }
  .messenger-chat-header {
    padding: 12px;
    border-bottom: 1px solid #555;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .msg-avatar {
    font-size: 24px;
  }
  .msg-name {
    font-size: 14px;
    font-weight: bold;
  }
  .messenger-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    min-height: 100px;
  }
  .msg-bubble {
    max-width: 80%;
    padding: 8px 12px;
    margin: 4px 0;
    border-radius: 12px;
    background: #444;
    color: #fff;
    word-wrap: break-word;
  }
  .msg-bubble.me {
    margin-left: auto;
    background: #b7a4ce;
    color: #000;
    border-bottom-right-radius: 4px;
  }
  .messenger-input-area {
    display: flex;
    padding: 12px;
    gap: 8px;
    border-top: 1px solid #555;
  }
  .messenger-input {
    flex: 1;
    padding: 8px;
    background: #1a1a1a;
    border: 1px solid #555;
    color: #fff;
    font-family: monospace;
    font-size: 12px;
  }
  .messenger-send {
    padding: 0 16px;
    background: #b7a4ce;
    border: none;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
  }
  .messenger-send:hover {
    background: #c4b3d7;
  }

  /* Browser app */
  .browser-ui {
    display: flex;
    flex-direction: column;
    height: 100%;
    font-family: monospace;
  }
  .browser-toolbar {
    padding: 8px;
    background: #333;
    border-bottom: 1px solid #555;
    display: flex;
    gap: 6px;
  }
  .browser-back, .browser-forward, .browser-reload, .browser-go {
    padding: 6px 10px;
    background: #444;
    border: 1px solid #555;
    color: #fff;
    font-family: monospace;
    font-size: 12px;
    cursor: pointer;
  }
  .browser-back:disabled, .browser-forward:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  .browser-url {
    flex: 1;
    padding: 6px 8px;
    background: #1a1a1a;
    border: 1px solid #555;
    color: #fff;
    font-family: monospace;
    font-size: 12px;
  }
  .browser-frame {
    flex: 1;
    border: none;
    width: 100%;
    height: 100%;
  }

  /* Camera app */
  .camera-ui {
    font-family: monospace;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .camera-preview {
    flex: 1;
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .camera-video, .camera-canvas {
    max-width: 100%;
    max-height: 100%;
  }
  .camera-controls {
    padding: 12px;
    background: #333;
    border-top: 1px solid #555;
    display: flex;
    gap: 8px;
    align-items: center;
  }
  .camera-capture, .camera-save, .camera-toggle {
    padding: 6px 12px;
    background: #444;
    border: 1px solid #555;
    color: #fff;
    font-family: monospace;
    font-size: 12px;
    cursor: pointer;
  }
  .camera-capture:hover, .camera-save:hover, .camera-toggle:hover {
    background: #555;
  }
  .camera-filter {
    padding: 4px 8px;
    background: #1a1a1a;
    border: 1px solid #555;
    color: #fff;
    font-family: monospace;
    font-size: 12px;
  }
  .camera-note {
    margin-top: 8px;
    text-align: center;
    font-size: 10px;
    color: #888;
  }

  /* Gallery app */
  .gallery-ui {
    font-family: monospace;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .gallery-toolbar {
    padding: 12px;
    background: #333;
    border-bottom: 1px solid #555;
    display: flex;
    gap: 8px;
    align-items: center;
  }
  .gallery-prev, .gallery-next, .gallery-delete {
    padding: 6px 12px;
    background: #444;
    border: 1px solid #555;
    color: #fff;
    font-family: monospace;
    font-size: 12px;
    cursor: pointer;
  }
  .gallery-prev:disabled, .gallery-next:disabled, .gallery-delete:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  .gallery-counter {
    flex: 1;
    text-align: center;
    color: #aaa;
    font-size: 12px;
  }
  .gallery-view {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
  }
  .gallery-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  .gallery-empty {
    color: #888;
    font-size: 14px;
  }

  /* Trash app */
  .trash-ui {
    font-family: monospace;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .trash-toolbar {
    padding: 12px;
    background: #333;
    border-bottom: 1px solid #555;
    display: flex;
    gap: 8px;
    align-items: center;
  }
  .trash-count {
    flex: 1;
    color: #aaa;
    font-size: 12px;
  }
  .trash-restore, .trash-empty {
    padding: 6px 12px;
    background: #444;
    border: 1px solid #555;
    color: #fff;
    font-family: monospace;
    font-size: 12px;
    cursor: pointer;
  }
  .trash-restore:disabled, .trash-empty:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  .trash-list {
    flex: 1;
    overflow-y: auto;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .trash-list li {
    padding: 10px 12px;
    border-bottom: 1px solid #444;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .trash-list li:hover {
    background: #555;
  }
  .trash-list li.selected {
    background: #b7a4ce;
    color: #000;
  }
  .trash-icon {
    font-size: 20px;
    margin-right: 8px;
  }
  .trash-name {
    flex: 1;
    font-size: 12px;
  }
  .trash-date {
    font-size: 10px;
    color: #777;
  }
  .trash-empty {
    color: #888;
    font-size: 14px;
    text-align: center;
    padding: 40px;
  }

  /* Calculator app */
  .calculator-ui {
    font-family: monospace;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .calculator-display {
    background: #1a1a1a;
    color: #0f0;
    padding: 12px;
    font-size: 24px;
    text-align: right;
    border: 2px solid #555;
    min-height: 44px;
    font-family: monospace;
  }
  .calculator-history {
    background: #222;
    color: #888;
    padding: 4px 8px;
    font-size: 11px;
    max-height: 80px;
    overflow-y: auto;
    border: 1px solid #444;
    border-top: none;
  }
  .calc-history-entry {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .calculator-keys {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    padding: 8px;
    flex: 1;
  }
  .calc-key {
    padding: 10px 4px;
    background: #444;
    border: 1px solid #555;
    color: #fff;
    font-family: monospace;
    font-size: 12px;
    cursor: pointer;
    border-radius: 3px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .calc-key:hover {
    background: #555;
  }
  .calc-key:active {
    background: #666;
  }
  .calc-key.calc-clear {
    background: #802020;
    border-color: #a03030;
  }
  .calc-key.calc-clear:hover {
    background: #a03030;
  }
  .calc-key.calc-operator {
    background: #306080;
    border-color: #4080a0;
  }
  .calc-key.calc-operator:hover {
    background: #4080a0;
  }
  .calc-key.calc-equals {
    background: #308030;
    border-color: #40a040;
    grid-column: span 2;
  }
  .calc-key.calc-equals:hover {
    background: #40a040;
  }
  .calc-key.calc-func {
    background: #503070;
    border-color: #704090;
    font-size: 10px;
  }
  .calc-key.calc-func:hover {
    background: #704090;
  }
  .calc-key[data-span="2"] {
    grid-column: span 2;
  }

  /* Notepad app */
  .notepad-ui {
    font-family: monospace;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .notepad-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    background: #333;
    border-bottom: 1px solid #555;
  }
  .notepad-word-count {
    font-size: 12px;
    color: #aaa;
  }
  .notepad-theme-toggle, .notepad-spellcheck {
    background: #444;
    border: 1px solid #555;
    color: #fff;
    padding: 4px 8px;
    font-family: monospace;
    font-size: 14px;
    cursor: pointer;
    border-radius: 3px;
    margin-left: 8px;
  }
  .notepad-theme-toggle:hover, .notepad-spellcheck:hover {
    background: #555;
  }
  .notepad-text {
    flex: 1;
    padding: 12px;
    background: #fff;
    color: #000;
    border: none;
    resize: none;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.5;
    min-height: 44px;
  }
  .notepad-text.dark {
    background: #1a1a1a;
    color: #e0e0e0;
    caret-color: #e0e0e0;
  }
  .notepad-bottom {
    display: flex;
    gap: 8px;
    padding: 8px;
    background: #333;
    border-top: 1px solid #555;
    flex-wrap: wrap;
  }
  .notepad-bottom button {
    padding: 6px 12px;
    background: #444;
    border: 1px solid #555;
    color: #fff;
    font-family: monospace;
    font-size: 12px;
    cursor: pointer;
    border-radius: 3px;
    min-height: 44px;
  }
  .notepad-bottom button:hover {
    background: #555;
  }
  .notepad-find-bar {
    display: flex;
    gap: 8px;
    padding: 8px;
    background: #333;
    border-top: 1px solid #555;
    flex-wrap: wrap;
  }
  .notepad-find-bar input {
    flex: 1;
    min-width: 100px;
    padding: 6px 8px;
    background: #1a1a1a;
    border: 1px solid #555;
    color: #fff;
    font-family: monospace;
    font-size: 12px;
    min-height: 44px;
  }
  .notepad-find-bar button {
    padding: 6px 12px;
    background: #444;
    border: 1px solid #555;
    color: #fff;
    font-family: monospace;
    font-size: 12px;
    cursor: pointer;
    border-radius: 3px;
    min-height: 44px;
  }
  .notepad-find-bar button:hover {
    background: #555;
  }

  /* Minesweeper app */
  .minesweeper-ui {
    font-family: monospace;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .ms-header {
    background: #333;
    border-bottom: 1px solid #555;
    padding: 8px;
  }
  .ms-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
  }
  .ms-header-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  .ms-reset {
    padding: 6px 12px;
    background: #444;
    border: 1px solid #555;
    color: #fff;
    font-family: monospace;
    font-size: 16px;
    cursor: pointer;
    border-radius: 3px;
    min-height: 44px;
    min-width: 44px;
  }
  .ms-reset:hover {
    background: #555;
  }
  .ms-info, .flag-count, .ms-timer {
    font-size: 14px;
    color: #0f0;
    font-family: monospace;
  }
  .ms-difficulty {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    font-size: 12px;
  }
  .ms-difficulty select {
    padding: 4px 8px;
    background: #1a1a1a;
    border: 1px solid #555;
    color: #fff;
    font-family: monospace;
    font-size: 12px;
    min-height: 44px;
  }
  .ms-board {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    overflow: auto;
  }
  .ms-board[role="grid"] {
    display: grid;
    gap: 1px;
    background: #333;
    border: 2px solid #555;
    user-select: none;
  }
  .ms-cell {
    width: 20px;
    height: 20px;
    background: #444;
    border: 1px solid #555;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
  }
  .ms-cell:hover {
    background: #555;
  }
  .ms-cell.revealed {
    background: #333;
    cursor: default;
  }
  .ms-cell.flagged {
    background: #802020;
  }
  .ms-cell.mine {
    background: #a03030;
  }
  .ms-highscores {
    padding: 12px;
    background: #333;
    border-top: 1px solid #555;
    max-height: 200px;
    overflow-y: auto;
  }
  .ms-highscores h4 {
    margin: 0 0 8px 0;
    color: #fff;
  }
  .ms-highscores ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .ms-highscores li {
    padding: 4px 0;
    color: #0f0;
    font-family: monospace;
  }
  .ms-close-scores {
    margin-top: 8px;
    padding: 4px 12px;
    background: #802020;
    border: 1px solid #a03030;
    color: #fff;
    font-family: monospace;
    font-size: 12px;
    cursor: pointer;
    border-radius: 3px;
    min-height: 44px;
  }
  .ms-close-scores:hover {
    background: #a03030;
  }

  /* Terminal app */
  .terminal-ui {
    font-family: monospace;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .terminal-output {
    flex: 1;
    padding: 12px;
    background: #000;
    color: #0f0;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.4;
    white-space: pre-wrap;
    word-wrap: break-word;
  }
  .terminal-input {
    display: flex;
    padding: 8px;
    background: #1a1a1a;
    border-top: 1px solid #555;
    gap: 8px;
  }
  .term-prompt {
    color: #0f0;
    font-family: monospace;
    font-size: 13px;
    align-self: center;
    min-width: 20px;
  }
  .term-input {
    flex: 1;
    padding: 8px;
    background: #000;
    border: 1px solid #555;
    color: #0f0;
    font-family: monospace;
    font-size: 13px;
    min-height: 44px;
    outline: none;
  }
  .term-input:focus {
    border-color: #0f0;
    box-shadow: 0 0 0 2px rgba(0, 255, 0, 0.2);
  }

  /* Clock/Calendar app */
  .clock-calendar-ui {
    font-family: monospace;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .cc-header {
    display: flex;
    gap: 4px;
    padding: 8px;
    background: #333;
    border-bottom: 1px solid #555;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .cc-mode-tab {
    padding: 8px 12px;
    background: #444;
    border: 1px solid #555;
    color: #fff;
    font-family: monospace;
    font-size: 12px;
    cursor: pointer;
    border-radius: 3px;
    white-space: nowrap;
    min-height: 44px;
  }
  .cc-mode-tab:hover {
    background: #555;
  }
  .cc-mode-tab.active {
    background: #b7a4ce;
    color: #000;
    border-color: #b7a4ce;
  }
  .cc-content {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
  }
  .cc-time {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    color: #b7a4ce;
    margin-bottom: 8px;
    font-family: monospace;
  }
  .cc-date {
    font-size: 14px;
    text-align: center;
    color: #aaa;
    margin-bottom: 16px;
  }
  .cc-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    max-width: 400px;
    margin: 0 auto;
  }
  .cc-day-header {
    padding: 8px;
    text-align: center;
    font-weight: bold;
    color: #b7a4ce;
    font-size: 12px;
  }
  .cc-day {
    padding: 8px;
    text-align: center;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    cursor: pointer;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .cc-day:hover {
    background: #333;
  }
  .cc-day.today {
    background: #b7a4ce;
    color: #000;
    font-weight: bold;
  }
  .cc-day-empty {
    padding: 8px;
    background: transparent;
  }
  .cc-world-clocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }
  .cc-clock-item {
    padding: 16px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    text-align: center;
  }
  .cc-clock-label {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 4px;
  }
  .cc-clock-value {
    font-size: 24px;
    font-weight: bold;
    color: #b7a4ce;
    font-family: monospace;
  }
  .cc-timer, .cc-stopwatch {
    text-align: center;
  }
  .cc-timer-display, .cc-stopwatch-display {
    font-size: 48px;
    font-weight: bold;
    color: #b7a4ce;
    font-family: monospace;
    margin-bottom: 16px;
  }
  .cc-timer-controls, .cc-stopwatch-controls {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
  }
  .cc-timer-controls input, .cc-stopwatch-controls button {
    padding: 8px 12px;
    background: #1a1a1a;
    border: 1px solid #555;
    color: #fff;
    font-family: monospace;
    font-size: 14px;
    min-height: 44px;
    min-width: 80px;
    border-radius: 3px;
  }
  .cc-stopwatch-controls button {
    background: #444;
    cursor: pointer;
  }
  .cc-stopwatch-controls button:hover {
    background: #555;
  }
  .cc-timer-controls input:focus {
    outline: none;
    border-color: #b7a4ce;
  }
  .cc-laps {
    max-height: 200px;
    overflow-y: auto;
    text-align: left;
    font-size: 12px;
    color: #aaa;
  }
  .cc-laps div {
    padding: 4px 8px;
    border-bottom: 1px solid #333;
  }
  .cc-calendar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
  }
  .cc-calendar-nav button {
    padding: 8px 16px;
    background: #444;
    border: 1px solid #555;
    color: #fff;
    font-family: monospace;
    font-size: 16px;
    cursor: pointer;
    border-radius: 3px;
    min-height: 44px;
    min-width: 44px;
  }
  .cc-calendar-nav button:hover {
    background: #555;
  }
  #cc-month-year {
    font-size: 16px;
    color: #b7a4ce;
    font-weight: bold;
    min-width: 200px;
    text-align: center;
  }

  /* Settings app */
  .settings-ui {
    font-family: monospace;
    height: 100%;
    padding: 16px;
    overflow-y: auto;
  }
  .settings-section {
    margin-bottom: 24px;
    padding: 16px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
  }
  .settings-section h3 {
    margin: 0 0 16px 0;
    color: #b7a4ce;
    font-size: 14px;
  }
  .wallpaper-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .wp-option {
    padding: 16px 24px;
    border: 2px solid transparent;
    color: #000;
    font-family: monospace;
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px;
    min-height: 44px;
    transition: border-color 0.2s;
  }
  .wp-option:hover {
    border-color: #b7a4ce;
    transform: scale(1.02);
  }
  .settings-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    color: #fff;
    font-size: 12px;
    min-height: 44px;
  }
  .settings-toggle input {
    width: 18px;
    height: 18px;
    accent-color: #b7a4ce;
  }
  .settings-danger {
    margin-right: 8px;
    padding: 8px 16px;
    background: #802020;
    border: 1px solid #a03030;
    color: #fff;
    font-family: monospace;
    font-size: 12px;
    cursor: pointer;
    border-radius: 3px;
    min-height: 44px;
  }
  .settings-danger:hover {
    background: #a03030;
  }
  .settings-ui .small {
    font-size: 11px;
    color: #888;
  }
