/* --- CORE VARIABLES & THEME --- */
:root {
  --win-bg: #e6a3c0;
  --win-highlight: #ffffff;
  --win-shadow: #b36e8b;
  --win-dark-shadow: #7a3a54;
  --title-bar: linear-gradient(90deg, #c94d82, #e889b0);
  --text-main: #2b0b18;
  --hot-pink: #c94d82;
  --accent-soft: #fff6fb;
  --taskbar-height: 36px;
  --focus-ring: #2b6cff;
  --success: #2e7d32;
  --warning: #b45309;
  --ossol-card-w: 60px;
  --ossol-card-h: 86px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"%3E%3Cpolygon points="6,2 6,28 13,21 17,29 21,27 17,19 26,19" fill="black" stroke="white" stroke-width="2.5" stroke-linejoin="round"/%3E%3C/svg%3E') 4 2, auto;
}

button,
a,
.icon,
[role="button"],
.tree-item,
.playlist-item,
.thumb,
.win-btn,
.start-btn,
.ql-icon,
.filter-chip,
.gallery-tab,
.taskbar-win-btn,
.taskbar-clock,
.start-menu-item,
.lightbox-close,
.featured-shot,
.gallery-main img,
input,
select,
.term-input {
  cursor: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="30" height="34" viewBox="0 0 30 34"%3E%3Cpath d="M6 2 L6 26 L10 22 L13 30 L17 28 L14 20 L21 20 Z" fill="black" stroke="white" stroke-width="2.5" stroke-linejoin="round"/%3E%3Crect x="12" y="8" width="6" height="10" fill="none" stroke="black" stroke-width="2"/%3E%3C/svg%3E') 4 2, pointer;
}


body {
  overflow: hidden;
  font-family: 'MS Sans Serif', Tahoma, Verdana, sans-serif;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--text-main);
  font-size: 12px;
  background-color: #8bbceb;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
    url('./assets/background.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  isolation: isolate;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 20% 20%, rgba(255, 255, 255, 0.25), transparent 50%);
  pointer-events: none;
  z-index: 1;
}

/* Text stays selectable everywhere except icon labels/UI chrome */
.title-bar,
.icon,
.start-btn,
.win-btn,
.tree-item,
.playlist-item,
.thumb {
  user-select: none;
}

a,
p,
li,
h1,
h2,
h3,
.aim-box,
.word-document,
.proj-props,
.terminal-content {
  user-select: text;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--hot-pink);
  color: white;
  padding: 8px 14px;
  z-index: 99999;
  font-weight: bold;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

.retro-icon {
  image-rendering: pixelated;
  pointer-events: none;
}

/* --- DESKTOP ICONS --- */
.desktop {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-content: start;
  min-height: calc(100vh - var(--taskbar-height));
  min-height: calc(100dvh - var(--taskbar-height));
  position: relative;
  z-index: 20;
  max-width: 130px;
}

.desktop-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.desktop-label {
  color: white;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
  padding: 2px 6px;
  background: rgba(201, 77, 130, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.35);
  align-self: flex-start;
}

.icon {
  text-align: center;
  cursor: pointer;
  width: 72px;
  border: 1px solid transparent;
  padding: 3px;
  border-radius: 2px;
}

.icon img {
  width: 42px;
  height: 42px;
  margin-bottom: 2px;
  image-rendering: pixelated;
  transition: transform 0.15s ease;
}

.icon span {
  padding: 2px 4px;
  color: white;
  text-shadow: 1px 1px 0 #000, 0 0 6px rgba(0, 0, 0, 0.4);
  font-size: 11px;
  line-height: 1.25;
  display: inline-block;
}

.icon:hover img,
.icon:focus-visible img {
  transform: scale(1.08);
}

.icon:hover span,
.icon.selected span,
.icon:focus-visible span {
  background: var(--hot-pink);
  border: 1px dotted white;
  text-shadow: none;
}

.icon.selected {
  background: rgba(255, 255, 255, 0.15);
  border: 1px dotted rgba(255, 255, 255, 0.6);
}

/* --- WINDOW SYSTEM --- */
.window {
  position: absolute;
  width: min(560px, calc(100vw - 40px));
  width: min(560px, calc(100dvw - 40px));
  max-width: calc(100vw - 24px);
  max-width: calc(100dvw - 24px);
  max-height: calc(100vh - var(--taskbar-height) - 24px);
  max-height: calc(100dvh - var(--taskbar-height) - 24px);
  background: var(--win-bg);
  border-top: 2px solid var(--win-highlight);
  border-left: 2px solid var(--win-highlight);
  border-bottom: 2px solid var(--win-dark-shadow);
  border-right: 2px solid var(--win-dark-shadow);
  box-shadow: inset -1px -1px 0 var(--win-shadow), 3px 3px 14px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  padding: 2px;
  z-index: 100;
  transition: width 0.2s, height 0.2s, top 0.2s, left 0.2s, transform 0.2s;
  overflow: auto;
  resize: both;
}

.window.inactive .title-bar {
  background: #b8809b;
  filter: saturate(0.6);
}

.window.centered {
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
}

.title-bar {
  background: var(--title-bar);
  display: flex;
  align-items: center;
  padding: 3px 4px;
  min-height: 20px;
  gap: 6px;
  cursor: move;
}

.window-title {
  flex-grow: 1;
  font-weight: bold;
  color: white;
  margin-left: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.title-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.title-hearts {
  margin-right: 4px;
  color: white;
  font-size: 12px;
  text-shadow: 1px 1px 0 var(--win-dark-shadow);
  flex-shrink: 0;
}

.window-controls {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}

.win-btn {
  width: 20px;
  height: 18px;
  background: var(--win-bg);
  border-top: 1px solid var(--win-highlight);
  border-left: 1px solid var(--win-highlight);
  border-bottom: 1px solid var(--win-dark-shadow);
  border-right: 1px solid var(--win-dark-shadow);
  box-shadow: inset -1px -1px 0 var(--win-shadow);
  font-weight: bold;
  font-size: 11px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: black;
}

.win-btn:active {
  border-top: 1px solid var(--win-dark-shadow);
  border-left: 1px solid var(--win-dark-shadow);
  border-bottom: 1px solid var(--win-highlight);
  border-right: 1px solid var(--win-highlight);
  box-shadow: inset 1px 1px 0 var(--win-shadow);
  padding-top: 1px;
  padding-left: 1px;
}

.window-content {
  background: white;
  flex-grow: 1;
  overflow-y: auto;
  border-top: 2px solid var(--win-dark-shadow);
  border-left: 2px solid var(--win-dark-shadow);
  border-bottom: 2px solid var(--win-highlight);
  border-right: 2px solid var(--win-highlight);
  box-shadow: inset 1px 1px 0 var(--win-shadow);
  margin: 2px;
  min-height: 0;
}

/* --- WORD-STYLE TOOLBAR (shared) --- */
.word-toolbars {
  background: var(--win-bg);
  padding: 2px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--win-shadow);
  margin-bottom: 2px;
  flex-shrink: 0;
}

.menu-row {
  display: flex;
  gap: 10px;
  padding-bottom: 2px;
  flex-wrap: wrap;
}

.menu-row span:first-letter {
  text-decoration: underline;
}

.tool-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.drag-handle {
  width: 3px;
  height: 16px;
  border-left: 1px solid var(--win-highlight);
  border-right: 1px solid var(--win-shadow);
  margin-right: 4px;
}

.word-select {
  background: white;
  border: 1px solid var(--win-shadow);
  font-family: 'MS Sans Serif', sans-serif;
  font-size: 11px;
  padding: 1px;
  cursor: pointer;
}

.icon-btn {
  border: 1px solid transparent;
  padding: 1px 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.icon-btn img {
  width: 14px;
  height: 14px;
}

.word-document {
  padding: 22px 26px;
  font-family: 'Times New Roman', serif;
  font-size: 14px;
  color: #1a1a1a;
  line-height: 1.65;
}

.word-document h2 {
  font-size: 22px;
  color: var(--hot-pink);
  border-bottom: 2px solid var(--win-shadow);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.word-document h3 {
  font-size: 15px;
  margin: 0 0 4px;
  color: #1a1a1a;
}

.section-list {
  display: grid;
  gap: 14px;
}

.section-card {
  border: 1px solid var(--win-shadow);
  box-shadow: inset 1px 1px 0 var(--win-highlight);
  background: var(--accent-soft);
  padding: 12px 14px;
  border-left: 4px solid var(--hot-pink);
}

.section-card p {
  margin: 6px 0 0;
  color: #333;
}

.role-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.role-date {
  font-size: 10px;
  color: #666;
  font-family: 'MS Sans Serif', sans-serif;
}

.role-badge {
  display: inline-block;
  font-family: 'MS Sans Serif', sans-serif;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 7px;
  background: var(--hot-pink);
  color: white;
  border: 1px solid var(--win-dark-shadow);
}

.role-badge.soft {
  background: white;
  color: var(--hot-pink);
}

.role-date {
  font-weight: normal;
  font-size: 10px;
  color: #888;
  margin-left: 6px;
}

.role-bullets {
  margin: 6px 0 0;
  padding-left: 18px;
}

.role-bullets li {
  margin-bottom: 4px;
  color: #333;
}

.section-group-title {
  font-family: 'MS Sans Serif', sans-serif;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--hot-pink);
  margin: 18px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px dashed var(--win-shadow);
}

.section-group-title:first-of-type {
  margin-top: 0;
}

/* --- ABOUT ME (AIM Messenger) --- */
.aim-container {
  background: var(--win-bg);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.aim-header {
  background: linear-gradient(180deg, #fff 0%, var(--accent-soft) 100%);
  padding: 14px;
  display: flex;
  gap: 15px;
  align-items: center;
  border-bottom: 2px solid var(--win-dark-shadow);
}

.aim-avatar {
  width: 72px;
  height: 72px;
  border: 2px solid var(--win-dark-shadow);
  box-shadow: 2px 2px 0 var(--win-highlight);
  background: #f8d7e4 url('profile.png') center/cover;
  flex-shrink: 0;
}

.aim-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.aim-name {
  font-weight: bold;
  color: var(--hot-pink);
  font-family: 'Times New Roman', serif;
  font-size: 18px;
  margin-bottom: 4px;
}

.aim-tagline {
  font-size: 11px;
  color: #555;
  font-family: 'MS Sans Serif', sans-serif;
  line-height: 1.4;
}

.aim-body {
  padding: 12px 14px;
  background: var(--win-bg);
  flex-grow: 1;
}

.aim-box {
  background: white;
  border-top: 2px solid var(--win-dark-shadow);
  border-left: 2px solid var(--win-dark-shadow);
  border-bottom: 2px solid var(--win-highlight);
  border-right: 2px solid var(--win-highlight);
  padding: 12px 14px;
  height: 100%;
  font-family: 'MS Sans Serif', sans-serif;
  overflow-y: auto;
  line-height: 1.6;
}

.aim-section {
  margin-bottom: 14px;
}

.aim-section-title {
  font-weight: bold;
  color: var(--hot-pink);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--win-shadow);
  padding-bottom: 3px;
}

.info-row {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
  align-items: baseline;
}

.info-label {
  font-weight: bold;
  min-width: 72px;
  flex-shrink: 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}

.tag-pill {
  font-size: 10px;
  padding: 2px 8px;
  background: var(--accent-soft);
  border: 1px solid var(--win-shadow);
  color: var(--text-main);
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.link-btn {
  display: inline-block;
  padding: 5px 11px;
  background: var(--win-bg);
  border-top: 1px solid var(--win-highlight);
  border-left: 1px solid var(--win-highlight);
  border-bottom: 1px solid var(--win-dark-shadow);
  border-right: 1px solid var(--win-dark-shadow);
  color: var(--text-main);
  text-decoration: none;
  font-size: 10px;
  font-weight: bold;
  cursor: pointer;
  font-family: 'MS Sans Serif', sans-serif;
}

.link-btn:hover {
  background: var(--hot-pink);
  color: white;
}

.aim-box a.link-btn {
  color: var(--text-main);
  text-decoration: none;
}

/* --- TERMINAL --- */
.terminal-content {
  background: #1a0a14;
  color: #ff69b4;
  font-family: 'VT323', monospace;
  font-size: 18px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  cursor: text;
}

.term-hint {
  color: #ffb6c1;
  font-size: 14px;
  margin-bottom: 4px;
  opacity: 0.85;
}

.term-output {
  flex-grow: 1;
  overflow-y: auto;
  margin-bottom: 5px;
}

.term-output p {
  margin: 2px 0;
  word-break: break-word;
}

.term-input-line {
  display: flex;
  align-items: center;
}

.term-prefix {
  margin-right: 8px;
  white-space: nowrap;
}

.term-input {
  background: transparent;
  border: none;
  color: #ff69b4;
  font-family: 'VT323', monospace;
  font-size: 18px;
  flex-grow: 1;
  outline: none;
  caret-color: #ff69b4;
}

.term-response {
  color: #ffb6c1;
}

/* --- PROJECTS EXPLORER --- */
.explorer-split {
  display: flex;
  height: 100%;
  background: var(--win-bg);
}

.explorer-toolbar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  padding: 5px 6px;
  background: var(--win-bg);
  border-bottom: 1px solid var(--win-shadow);
}

.explorer-search {
  font-family: 'MS Sans Serif', sans-serif;
  font-size: 11px;
  padding: 3px 5px;
  border: 1px solid var(--win-shadow);
  flex: 1;
  min-width: 90px;
}

.filter-chip {
  font-size: 10px;
  font-family: 'MS Sans Serif', sans-serif;
  padding: 3px 8px;
  background: white;
  border: 1px solid var(--win-shadow);
  cursor: pointer;
  white-space: nowrap;
}

.filter-chip.active {
  background: var(--hot-pink);
  color: white;
}

.explorer-left {
  width: 170px;
  background: white;
  border-right: 2px solid var(--win-dark-shadow);
  box-shadow: inset 1px 1px 0 var(--win-shadow);
  padding: 5px;
  overflow-y: auto;
}

.tree-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 4px;
  cursor: pointer;
  margin-bottom: 2px;
}

.tree-item img {
  width: 16px;
  height: 16px;
}

.tree-item.active {
  background: var(--hot-pink);
  color: white;
  border: 1px dotted #000;
}

.tree-item-name {
  flex-grow: 1;
  font-size: 11px;
}

.tree-badges {
  display: flex;
  gap: 2px;
}

.explorer-right {
  flex: 1;
  padding: 12px 15px;
  background: var(--win-bg);
  overflow-y: auto;
}

.explorer-hint {
  font-size: 10px;
  color: var(--win-dark-shadow);
  margin-bottom: 8px;
  padding: 4px 6px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px dotted var(--win-shadow);
}

.proj-props {
  background: #fff6fb;
  border-top: 2px solid var(--win-highlight);
  border-left: 2px solid var(--win-highlight);
  border-bottom: 2px solid var(--win-dark-shadow);
  border-right: 2px solid var(--win-dark-shadow);
  padding: 15px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.proj-props p {
  margin: 0;
  line-height: 1.45;
}

.proj-icon {
  width: 48px;
  height: 48px;
  float: left;
  margin-right: 15px;
  filter: drop-shadow(2px 2px 0px rgba(0, 0, 0, 0.2));
}

.proj-title {
  font-size: 18px;
  font-weight: bold;
  font-family: 'Times New Roman', serif;
  margin-bottom: 5px;
  border-bottom: 1px solid var(--win-shadow);
  padding-bottom: 5px;
}

.proj-badge-row {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin: 4px 0 8px;
}

.private-note {
  background: var(--accent-soft);
  border: 1px dashed var(--win-shadow);
  padding: 8px 10px;
  font-size: 11px;
  color: #555;
}

.launch-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.launch-btn {
  background: var(--win-bg);
  border-top: 1px solid var(--win-highlight);
  border-left: 1px solid var(--win-highlight);
  border-bottom: 1px solid var(--win-dark-shadow);
  border-right: 1px solid var(--win-dark-shadow);
  box-shadow: inset -1px -1px 0 var(--win-shadow);
  font-weight: bold;
  color: black;
  font-family: 'MS Sans Serif', sans-serif;
  cursor: pointer;
  align-self: flex-start;
  padding: 5px 11px;
  font-size: 11px;
  display: flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}

.launch-btn:active {
  border-top: 1px solid var(--win-dark-shadow);
  border-left: 1px solid var(--win-dark-shadow);
  border-bottom: 1px solid var(--win-highlight);
  border-right: 1px solid var(--win-highlight);
  box-shadow: inset 1px 1px 0 var(--win-shadow);
  padding: 6px 10px 4px 12px;
}

.launch-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* --- FEATURED WORK --- */
.featured-list {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.featured-card {
  background: var(--accent-soft);
  border: 1px solid var(--win-shadow);
  box-shadow: inset 1px 1px 0 var(--win-highlight), 2px 2px 6px rgba(0, 0, 0, 0.15);
  padding: 14px 16px;
}

.featured-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.featured-title {
  font-family: 'Times New Roman', serif;
  font-size: 18px;
  font-weight: bold;
  color: var(--hot-pink);
}

.featured-category {
  font-size: 10px;
  color: #666;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.featured-award {
  background: #fff2c8;
  border: 1px solid #c99a1f;
  color: #6b5000;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 7px;
  display: inline-block;
  margin-top: 4px;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin: 10px 0;
  font-size: 11px;
}

.featured-grid strong {
  color: var(--hot-pink);
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}

.featured-shot {
  width: 190px;
  height: 150px;
  object-fit: contain;
  background: white;
  border: 1px solid var(--win-shadow);
  margin: 8px 0;
  display: block;
}

.fallback-shot {
  max-width: 190px;
  border: 1px dashed var(--win-shadow);
  background: white;
  padding: 14px;
  font-size: 10px;
  color: #666;
  margin: 8px 0;
  line-height: 1.5;
}

.shot-wrap {
  margin: 8px 0;
}

.shot-wrap .featured-shot {
  margin: 0;
}

.shot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0;
}

.shot-row .shot-wrap {
  margin: 0;
  flex: 0 1 190px;
  max-width: 190px;
}

/* --- CASE STUDY WINDOW --- */
.case-study-content {
  padding: 18px 22px;
  font-family: 'MS Sans Serif', sans-serif;
  line-height: 1.6;
}

.cs-section {
  margin-bottom: 16px;
}

.cs-section-title {
  font-weight: bold;
  color: var(--hot-pink);
  font-size: 12px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--win-shadow);
  padding-bottom: 3px;
  margin-bottom: 6px;
}

.cs-flow {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cs-flow-step {
  background: white;
  border: 1px solid var(--win-shadow);
  padding: 6px 10px;
  font-size: 11px;
}

.cs-flow-arrow {
  text-align: center;
  color: var(--hot-pink);
  font-weight: bold;
}

/* --- AWARDS --- */
.awards-content {
  padding: 16px 18px;
}

.awards-summary {
  background: var(--accent-soft);
  border-left: 4px solid var(--hot-pink);
  padding: 8px 12px;
  font-size: 11px;
  margin-bottom: 14px;
}

.award-card {
  background: white;
  border: 1px solid var(--win-shadow);
  box-shadow: inset 1px 1px 0 var(--win-highlight);
  padding: 10px 12px;
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.award-trophy {
  font-size: 22px;
  flex-shrink: 0;
}

.award-title {
  font-weight: bold;
  color: var(--hot-pink);
  font-size: 13px;
}

.award-meta {
  font-size: 11px;
  color: #444;
  margin-top: 2px;
}

.award-project-link {
  color: blue;
  text-decoration: underline;
  cursor: pointer;
  font-size: 11px;
}

/* --- NOTEPAD (Current Work) --- */
.notepad-content {
  background: white;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  padding: 16px 18px;
  white-space: pre-wrap;
  line-height: 1.6;
}

.notepad-updated {
  color: #777;
  font-size: 10px;
  margin-top: 16px;
  border-top: 1px dashed var(--win-shadow);
  padding-top: 6px;
}

/* --- CONTACT WINDOW --- */
.contact-content {
  padding: 16px 18px;
  font-family: 'MS Sans Serif', sans-serif;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 9px;
  background: var(--accent-soft);
  border: 1px solid var(--win-shadow);
  margin-bottom: 6px;
  font-size: 11px;
  flex-wrap: wrap;
  gap: 6px;
}

.contact-status {
  background: #e6f6e8;
  border: 1px solid var(--success);
  color: var(--success);
  padding: 6px 10px;
  font-size: 11px;
  margin-bottom: 12px;
  font-weight: bold;
}

/* --- WELCOME / START_HERE --- */
.welcome-content {
  padding: 20px 24px;
  background: linear-gradient(180deg, #fff 0%, var(--accent-soft) 100%);
  line-height: 1.55;
  font-family: 'MS Sans Serif', sans-serif;
  color: var(--text-main);
}

.welcome-content h2 {
  margin: 0 0 6px;
  font-size: 19px;
  color: var(--hot-pink);
  font-family: 'Times New Roman', serif;
}

.welcome-content .subtitle {
  margin: 0 0 14px;
  color: #444;
  font-size: 12px;
}

.status-panel {
  background: white;
  border: 1px solid var(--win-shadow);
  box-shadow: inset 1px 1px 0 var(--win-highlight);
  padding: 10px 12px;
  margin-bottom: 16px;
}

.status-panel-title {
  font-weight: bold;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--hot-pink);
  margin-bottom: 6px;
}

.status-panel ul {
  margin: 0;
  padding-left: 16px;
  list-style: none;
}

.status-panel li {
  margin-bottom: 3px;
  font-size: 11px;
}

.status-panel li::before {
  content: '\2713  ';
  color: var(--success);
  font-weight: bold;
}

.welcome-actions-primary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.welcome-actions-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.welcome-btn {
  background: var(--win-bg);
  border-top: 2px solid var(--win-highlight);
  border-left: 2px solid var(--win-highlight);
  border-bottom: 2px solid var(--win-dark-shadow);
  border-right: 2px solid var(--win-dark-shadow);
  padding: 7px 14px;
  font-family: 'MS Sans Serif', sans-serif;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-main);
}

.welcome-btn.primary {
  background: var(--hot-pink);
  color: white;
  font-size: 12px;
}

.welcome-btn.secondary {
  font-size: 10px;
  padding: 5px 10px;
}

.welcome-btn:active {
  border-top: 2px solid var(--win-dark-shadow);
  border-left: 2px solid var(--win-dark-shadow);
  border-bottom: 2px solid var(--win-highlight);
  border-right: 2px solid var(--win-highlight);
  padding: 8px 13px 6px 15px;
}

/* --- START MENU --- */
.start-menu {
  position: fixed;
  bottom: var(--taskbar-height);
  left: 0;
  width: 230px;
  background: #fff0f4;
  border-top: 2px solid var(--win-highlight);
  border-left: 2px solid var(--win-highlight);
  border-bottom: 2px solid var(--win-dark-shadow);
  border-right: 2px solid var(--win-dark-shadow);
  box-shadow: 4px -2px 12px rgba(0, 0, 0, 0.25);
  z-index: 10001;
  display: none;
  flex-direction: column;
  max-height: 80vh;
  overflow-y: auto;
}

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

.start-menu-header {
  background: var(--title-bar);
  color: white;
  font-weight: bold;
  padding: 8px 10px;
  font-size: 12px;
}

.start-menu-item {
  padding: 7px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--text-main);
  font-family: 'MS Sans Serif', sans-serif;
}

.start-menu-item:hover,
.start-menu-item:focus-visible {
  background: var(--hot-pink);
  color: white;
}

.start-menu-item img {
  width: 16px;
  height: 16px;
}

.start-menu-divider {
  height: 1px;
  background: var(--win-shadow);
  margin: 2px 8px;
  border-bottom: 1px solid var(--win-highlight);
}

.start-menu-label {
  padding: 4px 10px 2px;
  font-size: 9px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--win-dark-shadow);
}

.start-menu-footer {
  padding: 8px 10px;
  font-size: 10px;
  color: var(--win-dark-shadow);
  border-top: 1px solid var(--win-shadow);
  background: #ffffff;
}

/* --- TASKBAR --- */
.taskbar {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: var(--taskbar-height);
  background: var(--win-bg);
  border-top: 2px solid var(--win-highlight);
  display: flex;
  align-items: center;
  padding: 0 4px;
  z-index: 10000;
}

.start-btn {
  background: var(--win-bg);
  border-top: 2px solid var(--win-highlight);
  border-left: 2px solid var(--win-highlight);
  border-bottom: 2px solid var(--win-dark-shadow);
  border-right: 2px solid var(--win-dark-shadow);
  box-shadow: inset -1px -1px 0 var(--win-shadow);
  padding: 2px 6px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  height: 26px;
  color: #7a3a54;
  font-size: 13px;
  margin-right: 4px;
  flex-shrink: 0;
}

.start-btn:active {
  border-top: 2px solid var(--win-dark-shadow);
  border-left: 2px solid var(--win-dark-shadow);
  border-bottom: 2px solid var(--win-highlight);
  border-right: 2px solid var(--win-highlight);
  box-shadow: inset 1px 1px 0 var(--win-shadow);
  padding-top: 3px;
  padding-left: 7px;
}

.start-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  image-rendering: auto;
}

.taskbar-divider {
  width: 2px;
  height: 28px;
  border-left: 1px solid var(--win-shadow);
  border-right: 1px solid var(--win-highlight);
  margin: 0 6px;
  flex-shrink: 0;
}

.quick-launch {
  display: flex;
  gap: 6px;
  align-items: center;
  overflow: hidden;
}

.ql-icon {
  width: 22px;
  height: 22px;
  cursor: pointer;
  padding: 2px;
  flex-shrink: 0;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

#sound-toggle-btn {
  width: 26px;
  height: 26px;
  margin-right: 6px;
  padding: 2px;
  background: #f8d7e4;
  border-top: 2px solid var(--win-dark-shadow);
  border-left: 2px solid var(--win-dark-shadow);
  border-bottom: 2px solid var(--win-highlight);
  border-right: 2px solid var(--win-highlight);
}

#sound-toggle-btn img {
  image-rendering: auto;
}

.ql-icon:hover,
.ql-icon:focus-visible {
  background: rgba(255, 255, 255, 0.35);
  outline: 1px solid var(--win-highlight);
  outline-offset: -1px;
}

.ql-icon:active {
  background: rgba(0, 0, 0, 0.12);
}

.ql-icon img {
  width: 100%;
  height: 100%;
  /* Smooth (not pixelated) at this small size — nearest-neighbor scaling
         of a 32-48px source down to ~18px is what caused the "distorted/
         pixelated on hover" look; it was always there, hover just draws the
         eye to it. Desktop icons keep the chunky pixelated look since they're
         rendered much larger and it reads as intentional there. */
  image-rendering: auto;
}

.ql-icon.ql-icon-compact img {
  width: 82%;
  height: 82%;
  margin: auto;
}

.taskbar-clock {
  margin-left: auto;
  position: relative;
  background: #f8d7e4;
  border-top: 2px solid var(--win-dark-shadow);
  border-left: 2px solid var(--win-dark-shadow);
  border-bottom: 2px solid var(--win-highlight);
  border-right: 2px solid var(--win-highlight);
  padding: 4px 8px;
  margin-right: 4px;
  height: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: inset 1px 1px 0 var(--win-shadow);
  font-size: 11px;
  flex-shrink: 0;
  cursor: pointer;
}

.taskbar-windows {
  display: flex;
  gap: 3px;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.taskbar-win-btn {
  background: var(--win-bg);
  border-top: 1px solid var(--win-highlight);
  border-left: 1px solid var(--win-highlight);
  border-bottom: 1px solid var(--win-dark-shadow);
  border-right: 1px solid var(--win-dark-shadow);
  padding: 4px 8px;
  font-size: 10px;
  cursor: pointer;
  max-width: 130px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
  display: none;
  font-family: 'MS Sans Serif', sans-serif;
  height: 26px;
  line-height: 18px;
}

.taskbar-win-btn.visible {
  display: block;
}

.taskbar-win-btn.active {
  border-top: 1px solid var(--win-dark-shadow);
  border-left: 1px solid var(--win-dark-shadow);
  border-bottom: 1px solid var(--win-highlight);
  border-right: 1px solid var(--win-highlight);
  background: #f8d7e4;
}

/* --- TOASTS --- */
.toast-container {
  position: fixed;
  right: 12px;
  bottom: calc(var(--taskbar-height) + 12px);
  z-index: 10500;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.toast {
  background: var(--win-bg);
  border-top: 2px solid var(--win-highlight);
  border-left: 2px solid var(--win-highlight);
  border-bottom: 2px solid var(--win-dark-shadow);
  border-right: 2px solid var(--win-dark-shadow);
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  padding: 8px 12px;
  font-size: 11px;
  font-family: 'MS Sans Serif', sans-serif;
  max-width: 260px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: toast-in 0.15s ease;
}

@keyframes toast-in {
  from {
    transform: translateY(8px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.toast-close {
  margin-left: auto;
  cursor: pointer;
  font-weight: bold;
  background: none;
  border: none;
  color: var(--text-main);
}

/* --- PHOTO GALLERY --- */
.gallery-app {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--win-bg);
}

.gallery-tabs {
  display: flex;
  gap: 4px;
  padding: 6px 6px 0;
  background: var(--win-bg);
  flex-wrap: wrap;
}

.gallery-tab {
  font-size: 10px;
  font-family: 'MS Sans Serif', sans-serif;
  padding: 4px 10px;
  background: white;
  border: 1px solid var(--win-shadow);
  border-bottom: none;
  cursor: pointer;
}

.gallery-tab.active {
  background: var(--hot-pink);
  color: white;
}

.gallery-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #000;
  border-bottom: 2px solid var(--win-highlight);
  position: relative;
  overflow: hidden;
  box-shadow: inset 2px 2px 10px rgba(0, 0, 0, 0.8);
  padding: 14px;
  min-height: 0;
  gap: 8px;
}

.gallery-img-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-main img {
  max-width: 100%;
  max-height: 100%;
  border: 4px solid white;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  object-fit: contain;
  cursor: pointer;
}

.gallery-meta {
  flex: 0 0 auto;
}

.gallery-caption {
  color: white;
  font-family: 'MS Sans Serif', sans-serif;
  font-size: 11px;
  text-align: center;
}

.gallery-hint {
  color: #ffd3e6;
  font-family: 'MS Sans Serif', sans-serif;
  font-size: 9px;
  margin-top: 3px;
  text-align: center;
  opacity: 0.85;
  letter-spacing: 0.2px;
}

.gallery-fallback {
  background: white;
  border: 1px dashed #999;
  padding: 18px 20px;
  font-family: 'MS Sans Serif', sans-serif;
  font-size: 11px;
  color: #555;
  text-align: center;
  line-height: 1.6;
  max-width: 320px;
}

.gallery-empty {
  color: #ffd3e6;
  font-family: 'MS Sans Serif', sans-serif;
  font-size: 12px;
  text-align: center;
  padding: 20px;
  line-height: 1.6;
  margin: auto;
}

.gallery-strip {
  height: 100px;
  background: var(--win-bg);
  display: flex;
  gap: 10px;
  padding: 10px;
  overflow-x: auto;
  border-top: 2px solid var(--win-dark-shadow);
}

.thumb {
  width: 84px;
  height: 72px;
  background: white;
  padding: 4px 4px 14px 4px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.1s;
  flex-shrink: 0;
  border: none;
}

.thumb.active {
  outline: 2px solid var(--hot-pink);
  outline-offset: 1px;
}

.thumb:hover {
  transform: translateY(-3px);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #ccc;
}

/* --- CLICK-TO-EXPAND LIGHTBOX --- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 4, 14, 0.9);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 24px;
}

.lightbox-overlay img {
  max-width: min(92vw, 1100px);
  max-height: 76vh;
  border: 5px solid white;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
  object-fit: contain;
}

.lightbox-caption {
  color: white;
  font-family: 'MS Sans Serif', sans-serif;
  font-size: 12px;
  margin-top: 16px;
  text-align: center;
  max-width: 80vw;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 26px;
  width: 34px;
  height: 34px;
  background: var(--hot-pink);
  color: white;
  border: 2px solid white;
  font-size: 15px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4);
}

.lightbox-close:hover {
  background: var(--win-dark-shadow);
}

/* --- MUSIC & MOVIES --- */
.media-player-content {
  background: var(--win-bg);
  padding: 6px;
  display: flex;
  flex-direction: column;
}

.player-container {
  display: flex;
  gap: 10px;
  height: 100%;
}

.vinyl-deck {
  flex: 0 0 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #c881a2;
  border-top: 2px solid var(--win-dark-shadow);
  border-left: 2px solid var(--win-dark-shadow);
  border-bottom: 2px solid var(--win-highlight);
  border-right: 2px solid var(--win-highlight);
  border-radius: 4px;
  padding: 10px;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.vinyl-record {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: repeating-radial-gradient(#111, #111 4px, #222 5px, #222 6px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4), inset 0 0 15px #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s;
}

.vinyl-record.playing {
  animation: spin 2.5s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.vinyl-label {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #f0f0f0;
  background-size: cover;
  background-position: center;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vinyl-hole {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c881a2;
  border: 1px solid #000;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.player-controls {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lcd-screen {
  background: #1a0a14;
  color: #ff69b4;
  font-family: 'VT323', monospace;
  padding: 6px 10px;
  height: 45px;
  border-top: 2px solid var(--win-dark-shadow);
  border-left: 2px solid var(--win-dark-shadow);
  border-bottom: 2px solid var(--win-highlight);
  border-right: 2px solid var(--win-highlight);
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.now-playing-ticker {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.now-playing-ticker #now-playing-text {
  display: inline-block;
}

.now-playing-ticker.scrolling #now-playing-text {
  padding-left: 100%;
  animation: now-playing-scroll linear infinite;
  animation-duration: var(--ticker-duration, 8s);
}

@keyframes now-playing-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.control-btns {
  display: flex;
  gap: 4px;
}

.control-btns .win-btn {
  width: 32px;
  height: 22px;
  font-size: 14px;
  padding-bottom: 2px;
}

.playlist {
  background: white;
  flex-grow: 1;
  overflow-y: auto;
  border-top: 2px solid var(--win-dark-shadow);
  border-left: 2px solid var(--win-dark-shadow);
  border-bottom: 2px solid var(--win-highlight);
  border-right: 2px solid var(--win-highlight);
  box-shadow: inset 1px 1px 0 var(--win-shadow);
}

.playlist-item {
  padding: 4px 6px;
  cursor: pointer;
  border-bottom: 1px dotted var(--win-shadow);
  color: black;
  font-family: 'MS Sans Serif', sans-serif;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  text-align: left;
}

.playlist-item:hover {
  background: #f8d7e4;
}

.playlist-item.active {
  background: var(--hot-pink);
  color: white;
  border-bottom: 1px solid var(--win-dark-shadow);
}

.playlist-item img {
  width: 14px;
  height: 14px;
}

.video-side {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.movie-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 8px;
}

.movie-playlist {
  flex: 1;
  overflow-y: auto;
}

.video-screen-container {
  background: #000;
  height: 260px;
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--win-dark-shadow);
  border-left: 2px solid var(--win-dark-shadow);
  border-bottom: 2px solid var(--win-highlight);
  border-right: 2px solid var(--win-highlight);
  box-shadow: inset 1px 1px 5px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  background-size: 100% 4px, 6px 100%;
  z-index: 2;
}

.video-screen-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: none;
  z-index: 1;
  filter: contrast(1.2) sepia(0.3) hue-rotate(-10deg);
}

.video-screen-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  z-index: 1;
}

.video-static-text {
  color: #fff;
  font-family: 'VT323', monospace;
  font-size: 18px;
  z-index: 1;
}

.video-progress-bar {
  height: 14px;
  background: #000;
  border-top: 2px solid var(--win-dark-shadow);
  border-left: 2px solid var(--win-dark-shadow);
  border-bottom: 2px solid var(--win-highlight);
  border-right: 2px solid var(--win-highlight);
}

.video-progress-fill {
  height: 100%;
  background: var(--hot-pink);
  width: 0%;
  transition: width 0.5s linear;
}

/* --- PERSONAL FOLDER --- */
/* --- INTERNET EXPLORER --- */
.ie-nav-row {
  gap: 10px;
}

.ie-nav-btn {
  background: var(--win-bg);
  border-top: 1px solid var(--win-highlight);
  border-left: 1px solid var(--win-highlight);
  border-bottom: 1px solid var(--win-dark-shadow);
  border-right: 1px solid var(--win-dark-shadow);
  font-family: 'MS Sans Serif', sans-serif;
  font-size: 10px;
  padding: 4px 8px;
  cursor: pointer;
  color: var(--text-main);
}

.ie-nav-btn:active {
  border-top: 1px solid var(--win-dark-shadow);
  border-left: 1px solid var(--win-dark-shadow);
  border-bottom: 1px solid var(--win-highlight);
  border-right: 1px solid var(--win-highlight);
}

.ie-address-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: var(--win-bg);
  font-size: 11px;
  font-family: 'MS Sans Serif', sans-serif;
  border-bottom: 1px solid var(--win-shadow);
}

.ie-address-input {
  flex: 1;
  font-family: 'MS Sans Serif', sans-serif;
  font-size: 11px;
  padding: 3px 6px;
  border-top: 2px solid var(--win-dark-shadow);
  border-left: 2px solid var(--win-dark-shadow);
  border-bottom: 2px solid var(--win-highlight);
  border-right: 2px solid var(--win-highlight);
}

.ie-favorites-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 4px 8px;
  background: var(--win-bg);
  font-size: 10px;
  font-family: 'MS Sans Serif', sans-serif;
  border-bottom: 1px solid var(--win-shadow);
}

.ie-content {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: white;
  position: relative;
}

#ie-frame {
  flex: 1;
  width: 100%;
  border: none;
}

.ie-status-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  font-size: 10px;
  font-family: 'MS Sans Serif', sans-serif;
  background: var(--win-bg);
  border-top: 1px solid var(--win-highlight);
}

.personal-content {
  padding: 20px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.personal-app-icon {
  text-align: center;
  cursor: pointer;
  width: 90px;
  background: none;
  border: none;
  font-family: 'MS Sans Serif', sans-serif;
}

.personal-app-icon img {
  width: 48px;
  height: 48px;
  image-rendering: pixelated;
}

::-webkit-scrollbar {
  width: 16px;
  background: var(--win-bg);
  border-left: 1px solid var(--win-shadow);
}

::-webkit-scrollbar-thumb {
  background: var(--win-bg);
  border-top: 2px solid var(--win-highlight);
  border-left: 2px solid var(--win-highlight);
  border-bottom: 2px solid var(--win-dark-shadow);
  border-right: 2px solid var(--win-dark-shadow);
}

/* --- DESKTOP LAYOUT (left professional / right personal) --- */
.desktop-layout {
  display: flex;
  justify-content: space-between;
  width: 100%;
  min-height: calc(100vh - var(--taskbar-height));
  min-height: calc(100dvh - var(--taskbar-height));
  position: relative;
  z-index: 20;
  pointer-events: none;
}

.desktop-col {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  pointer-events: auto;
}

.desktop-col-right {
  align-items: flex-end;
  text-align: right;
  padding-right: 12px;
}

.desktop-col-right .desktop-group {
  align-items: flex-end;
}

.desktop-col-right .desktop-label {
  align-self: flex-end;
  width: 72px;
  text-align: center;
}

.desktop-col .desktop-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* --- RECRUITER MODE TOGGLE --- */
.recruiter-toggle {
  position: fixed;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20000;
  background: white;
  color: var(--hot-pink);
  border: 1px solid var(--win-shadow);
  font-family: 'MS Sans Serif', sans-serif;
  font-size: 10px;
  font-weight: bold;
  padding: 5px 10px;
  cursor: pointer;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.recruiter-toggle:hover {
  background: var(--hot-pink);
  color: white;
}

.recruiter-view {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff6fb;
  z-index: 30000;
  overflow-y: auto;
  font-family: 'MS Sans Serif', sans-serif;
  color: var(--text-main);
}

.recruiter-view.open {
  display: block;
}

.recruiter-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 50px 24px 60px;
  line-height: 1.6;
}

.recruiter-back {
  background: none;
  border: 1px solid var(--win-shadow);
  padding: 6px 12px;
  font-size: 11px;
  cursor: pointer;
  margin-bottom: 24px;
  font-family: 'MS Sans Serif', sans-serif;
}

.recruiter-inner h1 {
  font-family: 'Times New Roman', serif;
  color: var(--hot-pink);
  font-size: 32px;
  margin: 0 0 6px;
}

.recruiter-inner h2 {
  font-family: 'Times New Roman', serif;
  color: var(--hot-pink);
  font-size: 20px;
  border-bottom: 2px solid var(--win-shadow);
  padding-bottom: 6px;
  margin: 34px 0 12px;
}

.recruiter-tagline {
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 10px;
}

.recruiter-sub {
  font-size: 13px;
  color: #444;
  max-width: 560px;
}

.recruiter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0;
}

.recruiter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.recruiter-actions a.welcome-btn {
  text-decoration: none;
  display: inline-block;
}

.recruiter-project-card {
  background: white;
  border: 1px solid var(--win-shadow);
  border-left: 4px solid var(--hot-pink);
  padding: 14px 16px;
  margin-bottom: 14px;
}

.recruiter-project-card h3 {
  margin: 0 0 4px;
  color: var(--hot-pink);
  font-size: 15px;
}

.recruiter-project-card p {
  margin: 6px 0;
  font-size: 12px;
  color: #333;
  line-height: 1.5;
}

.recruiter-proj-meta {
  font-size: 11px;
  color: #888;
  margin-bottom: 4px;
}

.recruiter-proj-award {
  font-size: 11px;
  color: var(--hot-pink);
  font-weight: bold;
  margin-bottom: 6px;
}

.recruiter-stack {
  font-size: 10px;
  color: #777;
  margin-top: 6px;
}

.recruiter-about {
  margin: 12px 0;
}

.recruiter-about h3 {
  font-size: 14px;
  color: var(--hot-pink);
  margin: 0 0 6px;
}

.recruiter-about p {
  font-size: 13px;
  color: #444;
  margin: 0 0 8px;
  max-width: 560px;
}

.recruiter-status {
  font-size: 12px;
  color: #555;
  font-style: italic;
  margin: 8px 0;
}

.recruiter-edu {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 12px;
  color: #555;
  margin: 8px 0 4px;
}

.recruiter-exp-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recruiter-exp-card {
  background: white;
  border: 1px solid var(--win-shadow);
  padding: 12px 16px;
}

.recruiter-exp-card h3 {
  margin: 0;
  font-size: 14px;
  color: #222;
}

.recruiter-exp-meta {
  font-size: 12px;
  margin: 2px 0 8px;
}

.recruiter-date {
  color: var(--hot-pink);
  font-weight: normal;
}

.recruiter-exp-card p {
  margin: 0;
  font-size: 12px;
  color: #444;
  line-height: 1.5;
}

.recruiter-awards-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 6px;
}

.recruiter-award-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 22px;
  background: white;
  border: 1px solid var(--win-shadow);
  border-left: 4px solid var(--hot-pink);
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.06);
}

.recruiter-award-trophy {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border: 1px solid var(--win-shadow);
  border-radius: 50%;
}

.recruiter-award-body {
  flex: 1;
  min-width: 0;
}

.recruiter-award-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.recruiter-award-title {
  font-size: 14px;
  font-weight: bold;
  color: var(--text-main);
  line-height: 1.4;
}

.recruiter-award-meta {
  font-size: 11.5px;
  color: #777;
  margin-top: 7px;
  line-height: 1.6;
}

/* --- BOOT SCREEN --- */
.boot-screen {
  position: fixed;
  inset: 0;
  background: #0a0510;
  color: #ff9bc8;
  font-family: 'VT323', monospace;
  font-size: 20px;
  z-index: 40000;
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.boot-screen.active {
  display: flex;
}

.boot-lines p {
  margin: 4px 0;
  opacity: 0;
  animation: boot-line-in 0.25s ease forwards;
}

@keyframes boot-line-in {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.boot-skip {
  position: absolute;
  bottom: 30px;
  right: 40px;
  background: transparent;
  border: 1px solid #ff9bc8;
  color: #ff9bc8;
  font-family: 'MS Sans Serif', sans-serif;
  font-size: 11px;
  padding: 6px 14px;
  cursor: pointer;
}

/* --- ARCADE / PAINT / MINESWEEPER --- */
.arcade-content {
  padding: 20px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.arcade-app-icon {
  text-align: center;
  cursor: pointer;
  width: 90px;
  background: none;
  border: none;
  font-family: 'MS Sans Serif', sans-serif;
  font-size: 11px;
}

.arcade-app-icon .arcade-glyph {
  width: 48px;
  height: 48px;
  margin: 0 auto 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  background: white;
  border: 1px solid var(--win-shadow);
  box-shadow: inset 1px 1px 0 var(--win-highlight);
}

.arcade-app-icon .arcade-glyph-img {
  width: 48px;
  height: 48px;
  margin: 0 auto 4px;
  display: block;
  filter: grayscale(1) sepia(1) hue-rotate(300deg) saturate(4) brightness(0.95);
}

.arcade-app-icon .arcade-glyph-img.no-tint {
  filter: none;
  image-rendering: pixelated;
}

.paint-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #c0c0c0;
}

.paint-body {
  display: flex;
  flex: 1;
  min-height: 0;
  gap: 4px;
  padding: 4px;
}

.paint-tools {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(2, 22px);
  gap: 2px;
  align-content: start;
  background: #c0c0c0;
  border-top: 1px solid var(--win-highlight);
  border-left: 1px solid var(--win-highlight);
  border-bottom: 1px solid var(--win-dark-shadow);
  border-right: 1px solid var(--win-dark-shadow);
  padding: 3px;
}

.paint-tool-btn {
  width: 22px;
  height: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #c0c0c0;
  border-top: 1px solid var(--win-highlight);
  border-left: 1px solid var(--win-highlight);
  border-bottom: 1px solid var(--win-dark-shadow);
  border-right: 1px solid var(--win-dark-shadow);
  cursor: pointer;
  padding: 0;
}

.paint-tool-btn.selected {
  border-top: 1px solid var(--win-dark-shadow);
  border-left: 1px solid var(--win-dark-shadow);
  border-bottom: 1px solid var(--win-highlight);
  border-right: 1px solid var(--win-highlight);
  background: #d8d8d8;
}

.paint-canvas-wrap {
  flex: 1;
  background: white;
  border-top: 2px solid var(--win-dark-shadow);
  border-left: 2px solid var(--win-dark-shadow);
  border-bottom: 2px solid var(--win-highlight);
  border-right: 2px solid var(--win-highlight);
  overflow: hidden;
}

#paint-canvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: crosshair;
}

.paint-palette-row {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px;
  background: #c0c0c0;
  border-top: 1px solid var(--win-highlight);
}

.paint-current-swatch {
  position: relative;
  width: 30px;
  height: 22px;
  flex-shrink: 0;
  border-top: 1px solid var(--win-dark-shadow);
  border-left: 1px solid var(--win-dark-shadow);
  border-bottom: 1px solid var(--win-highlight);
  border-right: 1px solid var(--win-highlight);
  background: white;
}

.paint-current-back,
.paint-current-front {
  position: absolute;
  width: 16px;
  height: 14px;
  border: 1px solid #555;
}

.paint-current-back {
  background: #ffffff;
  bottom: 2px;
  right: 2px;
}

.paint-current-front {
  background: #000000;
  top: 2px;
  left: 2px;
}

.paint-swatch-grid {
  display: grid;
  grid-template-columns: repeat(10, 16px);
  grid-template-rows: repeat(2, 14px);
  gap: 1px;
  flex-shrink: 0;
}

.paint-swatch {
  width: 16px;
  height: 14px;
  border: 1px solid #555;
  cursor: pointer;
  padding: 0;
}

.paint-swatch.selected {
  outline: 2px solid var(--hot-pink);
  outline-offset: 1px;
}


.mine-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  background: var(--win-bg);
}

.mine-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 280px;
  background: var(--win-bg);
  border-top: 2px solid var(--win-dark-shadow);
  border-left: 2px solid var(--win-dark-shadow);
  border-bottom: 2px solid var(--win-highlight);
  border-right: 2px solid var(--win-highlight);
  padding: 6px 8px;
  margin-bottom: 8px;
}

.mine-counter {
  background: #1a0a14;
  color: #ff4444;
  font-family: 'VT323', monospace;
  font-size: 20px;
  padding: 2px 8px;
  min-width: 36px;
  text-align: center;
}

.mine-face {
  width: 28px;
  height: 28px;
  font-size: 16px;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--win-bg);
  border-top: 2px solid var(--win-highlight);
  border-left: 2px solid var(--win-highlight);
  border-bottom: 2px solid var(--win-dark-shadow);
  border-right: 2px solid var(--win-dark-shadow);
}

.mine-face-glyph {
  display: block;
  /* Manual nudge: emoji glyphs render with extra space baked into their
         right side in most emoji fonts, so pure flex-centering still looks
         off — shift the glyph itself left/up slightly to compensate. */
  transform: translate(-1px, -1px);
}

.mine-grid {
  display: grid;
  border-top: 2px solid var(--win-dark-shadow);
  border-left: 2px solid var(--win-dark-shadow);
  border-bottom: 2px solid var(--win-highlight);
  border-right: 2px solid var(--win-highlight);
  background: var(--win-bg);
  padding: 4px;
}

/* --- SOLITAIRE ---
   Board/card engine adapted from jhatzimalis/solitaire (MIT License),
   reskinned pink/black/white to match the rest of the portfolio. */
.ossol-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #05793d;
  padding: 10px;
  gap: 8px;
  overflow: auto;
  border-top: 2px solid var(--win-dark-shadow);
  border-left: 2px solid var(--win-dark-shadow);
  border-bottom: 2px solid var(--win-highlight);
  border-right: 2px solid var(--win-highlight);
  box-shadow: inset 2px 2px 6px rgba(0, 0, 0, 0.35);
}

.ossol-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ossol-newgame-btn {
  font-family: 'MS Sans Serif', sans-serif;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 12px;
  background: var(--win-bg);
  color: #000;
  cursor: pointer;
  border-top: 2px solid var(--win-highlight);
  border-left: 2px solid var(--win-highlight);
  border-bottom: 2px solid var(--win-dark-shadow);
  border-right: 2px solid var(--win-dark-shadow);
}

.ossol-newgame-btn:active {
  border-top: 2px solid var(--win-dark-shadow);
  border-left: 2px solid var(--win-dark-shadow);
  border-bottom: 2px solid var(--win-highlight);
  border-right: 2px solid var(--win-highlight);
}

.ossol-stats {
  display: flex;
  gap: 14px;
  color: white;
  font-family: 'MS Sans Serif', sans-serif;
  font-size: 11px;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}

.ossol-board-wrap {
  flex: 1;
  overflow: auto;
  display: flex;
  justify-content: center;
}

#ossol-board {
  position: relative;
  margin: 0 auto;
}

.ossol-pile-placeholder {
  position: absolute;
  width: var(--ossol-card-w);
  height: var(--ossol-card-h);
  background: rgba(0, 0, 0, 0.12);
  border-top: 2px solid rgba(0, 0, 0, 0.35);
  border-left: 2px solid rgba(0, 0, 0, 0.35);
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
  border-right: 2px solid rgba(255, 255, 255, 0.35);
  box-sizing: border-box;
  border-radius: 3px;
}

.ossol-foundation-placeholder::after {
  content: 'A';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: calc(var(--ossol-card-w) * 0.5);
  font-weight: bold;
  color: rgba(255, 255, 255, 0.25);
}

.ossol-stock-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(var(--ossol-card-w) * 0.5);
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.ossol-card {
  position: absolute;
  width: var(--ossol-card-w);
  height: var(--ossol-card-h);
  border-radius: 4px;
  cursor: pointer;
  transition: left 0.25s ease-out, top 0.25s ease-out, box-shadow 0.2s;
  touch-action: none;
}

.ossol-card.moving {
  z-index: 2000 !important;
}

.ossol-card.dragging {
  transition: none;
  box-shadow: 3px 6px 15px rgba(0, 0, 0, 0.6);
  z-index: 2000 !important;
}

.ossol-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ossol-card.face-up .ossol-card-inner {
  transform: rotateY(180deg);
}

.ossol-card-front,
.ossol-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
}

.ossol-card-front {
  background: #fffdf8;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #9a9a9a;
  border-right: 2px solid #9a9a9a;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ossol-card-back {
  background-color: #C94D82;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35) 4px, transparent 4px, transparent 8px);
  border-top: 2px solid #fce8f1;
  border-left: 2px solid #fce8f1;
  border-bottom: 2px solid #7a2d4e;
  border-right: 2px solid #7a2d4e;
}

.ossol-card.pink {
  color: #C94D82;
}

.ossol-card.black {
  color: #111;
}

.ossol-card-top {
  position: absolute;
  top: 4%;
  left: 6%;
  font-size: calc(var(--ossol-card-w) * 0.22);
  font-weight: bold;
  line-height: 1;
  text-align: center;
  font-family: 'MS Sans Serif', sans-serif;
}

.ossol-card-bottom {
  position: absolute;
  bottom: 4%;
  right: 6%;
  font-size: calc(var(--ossol-card-w) * 0.22);
  font-weight: bold;
  line-height: 1;
  text-align: center;
  transform: rotate(180deg);
  font-family: 'MS Sans Serif', sans-serif;
}

.ossol-suit-small {
  font-size: calc(var(--ossol-card-w) * 0.18);
}

.ossol-card-center {
  font-size: calc(var(--ossol-card-w) * 0.45);
}

.ossol-card.selected .ossol-card-front {
  outline: 3px solid #FFD700;
  outline-offset: -3px;
}

.mine-cell {
  width: 22px;
  height: 22px;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--win-bg);
  border-top: 2px solid var(--win-highlight);
  border-left: 2px solid var(--win-highlight);
  border-bottom: 2px solid var(--win-dark-shadow);
  border-right: 2px solid var(--win-dark-shadow);
  user-select: none;
  font-family: 'MS Sans Serif', sans-serif;
}

.mine-cell.revealed {
  background: #f4f4f4;
  border: 1px solid var(--win-shadow);
  cursor: default;
}

.mine-cell.mine.revealed {
  background: #ff8080;
}

.context-menu {
  display: none;
  position: fixed;
  z-index: 50000;
  width: 200px;
  background: var(--win-bg);
  border-top: 2px solid var(--win-highlight);
  border-left: 2px solid var(--win-highlight);
  border-bottom: 2px solid var(--win-dark-shadow);
  border-right: 2px solid var(--win-dark-shadow);
  box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.35);
  padding: 3px;
}

.context-menu.open {
  display: block;
}

.context-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 6px 10px;
  font-size: 11px;
  font-family: 'MS Sans Serif', sans-serif;
  cursor: pointer;
  color: var(--text-main);
}

.context-menu-item:hover,
.context-menu-item:focus-visible {
  background: var(--hot-pink);
  color: white;
}

.context-menu-divider {
  height: 1px;
  background: var(--win-shadow);
  margin: 3px 6px;
}

.tour-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 45000;
  background: rgba(10, 5, 16, 0.55);
}

.tour-backdrop.active {
  display: block;
}

.tour-highlight {
  position: fixed;
  border: 3px solid #fff2a8;
  box-shadow: 0 0 0 4px var(--hot-pink), 0 0 24px rgba(255, 242, 168, 0.9);
  border-radius: 4px;
  z-index: 45001;
  pointer-events: none;
  transition: top 0.25s ease, left 0.25s ease, width 0.25s ease, height 0.25s ease;
}

.tour-tooltip {
  position: fixed;
  z-index: 45002;
  width: 260px;
  background: var(--win-bg);
  border-top: 2px solid var(--win-highlight);
  border-left: 2px solid var(--win-highlight);
  border-bottom: 2px solid var(--win-dark-shadow);
  border-right: 2px solid var(--win-dark-shadow);
  box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.4);
  padding: 12px 14px;
  font-family: 'MS Sans Serif', sans-serif;
  transition: top 0.25s ease, left 0.25s ease;
}

.tour-step-count {
  font-size: 9px;
  color: var(--win-dark-shadow);
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tour-text {
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 10px;
  color: var(--text-main);
}

.tour-actions {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

.tour-btn {
  font-size: 10px;
  padding: 4px 9px;
  cursor: pointer;
  background: white;
  border: 1px solid var(--win-shadow);
  font-family: 'MS Sans Serif', sans-serif;
}

.tour-btn.primary {
  background: var(--hot-pink);
  color: white;
  font-weight: bold;
}

#cmd-icon {
  position: relative;
}

.term-hint-bubble {
  display: none;
  position: absolute;
  left: 74px;
  top: 4px;
  width: 150px;
  background: white;
  color: var(--text-main);
  border: 1px solid var(--win-shadow);
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
  padding: 6px 8px;
  font-size: 10px;
  font-family: 'MS Sans Serif', sans-serif;
  text-align: left;
  z-index: 50;
  pointer-events: none;
}

.term-hint-bubble.visible {
  display: block;
}

/* --- DESKTOP STICKY NOTE (clock easter egg hint) --- */
.sticky-note-window {
  background: #fff7a3;
  border-top: 2px solid #fffde0;
  border-left: 2px solid #fffde0;
  border-bottom: 2px solid #c9b84a;
  border-right: 2px solid #c9b84a;
  transform: rotate(-2deg);
  box-shadow: 3px 4px 10px rgba(0, 0, 0, 0.3);
}

.sticky-note-titlebar {
  background: #f2df6e;
  color: #4a3b00;
}

.sticky-note-titlebar .window-title {
  color: #4a3b00;
  font-size: 11px;
}

.sticky-note-titlebar .win-btn {
  background: #f2df6e;
  border-top: 1px solid #fffde0;
  border-left: 1px solid #fffde0;
  border-bottom: 1px solid #c9b84a;
  border-right: 1px solid #c9b84a;
  box-shadow: none;
  color: #4a3b00;
}

.sticky-note-content {
  background: #fff7a3;
  color: #4a3b00;
  font-family: 'MS Sans Serif', sans-serif;
  font-size: 11px;
  line-height: 1.5;
  padding: 12px;
  border: none;
  box-shadow: none;
}

@media (max-width: 768px) {
  .desktop-col {
    padding: 10px 6px;
    gap: 14px;
  }

  .desktop-col .desktop-group {
    gap: 10px;
  }

  .icon {
    width: 56px;
    padding: 2px;
  }

  .icon img {
    width: 30px;
    height: 30px;
  }

  .icon span {
    font-size: 9px;
  }

  .desktop-col-right .desktop-label {
    width: 56px;
  }
}

@media (max-width: 900px) {
  .desktop {
    gap: 16px;
    padding: 10px;
    max-width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .desktop-group {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .desktop-label {
    width: 100%;
  }

  .window {
    width: calc(100vw - 20px);
    left: 10px !important;
    resize: none;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 12px;
  }

  .window {
    top: 6px !important;
    left: 6px !important;
    width: calc(100vw - 12px) !important;
    height: calc(100vh - var(--taskbar-height) - 12px) !important;
    height: calc(100dvh - var(--taskbar-height) - 12px) !important;
    max-width: calc(100vw - 12px);
  }

  /* START_HERE.exe's content is short — forcing it to full viewport height
     (like every other window) left a large empty gap below its buttons. */
  #welcome-window {
    height: auto !important;
    max-height: calc(100vh - var(--taskbar-height) - 12px);
    max-height: calc(100dvh - var(--taskbar-height) - 12px);
    top: 6px !important;
    transform: none !important;
  }

  .window:not(.active-mobile) {
    display: none !important;
  }

  .player-container,
  .movie-container,
  .explorer-split {
    flex-direction: column;
  }

  .explorer-left {
    width: 100%;
    height: 120px;
    border-right: none;
    border-bottom: 2px solid var(--win-dark-shadow);
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .tree-item {
    flex-shrink: 0;
    min-width: 120px;
  }

  .icon,
  .personal-app-icon {
    min-height: 44px;
  }

  .win-btn,
  .ql-icon,
  .launch-btn,
  .welcome-btn,
  .link-btn,
  .filter-chip {
    min-height: 30px;
  }

  .start-menu {
    width: 100vw;
  }
}