/* =========================
   Base / Desktop
========================= */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html,
body {
  cursor: url("assets/cursors/windows 7 (vista) normal cur.cur"), auto;
}

body {
  overflow: hidden;
  font-family: Tahoma, Verdana, Segoe UI, Arial, sans-serif;
  font-size: 13px;
  color: #111;
  background:
    radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(rgba(0, 20, 50, 0.08), rgba(0, 20, 50, 0.28)),
    url("assets/icons/wallpaper.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body[data-theme="dark"] {
  color: #f5f5f5;
  background:
    radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.68)),
    url("assets/icons/wallpaper.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

button,
input {
  font: inherit;
}

button {
  cursor: url("assets/cursors/windows 7 (vista) link cur.cur"), pointer;
}

input,
textarea {
  cursor: url("assets/cursors/windows 7 (vista) text select cur.cur"), text;
}

button:disabled,
[aria-disabled="true"] {
  cursor: url("assets/cursors/windows 7 (vista) unavailable cur.cur"), not-allowed;
}

.dragging {
  user-select: none;
}

.dragging,
.dragging * {
  cursor: url("assets/cursors/windows 7 (vista) move cur.cur"), move !important;
}

.loading,
.loading * {
  cursor: url("assets/cursors/windows 7 (vista) busy cur.ani"), wait !important;
}

.working,
.working * {
  cursor: url("assets/cursors/windows 7 (vista) working in background cur.ani"), progress !important;
}

.desktop {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* =========================
   Desktop Icons
========================= */

.desktop-icons {
  position: absolute;
  top: 24px;
  left: 22px;
  bottom: 54px;

  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(auto-fill, 84px);
  grid-auto-columns: 82px;
  gap: 18px 16px;

  align-content: start;
  justify-content: start;

  z-index: 1;
  pointer-events: none;
}

.desktop-icon {
  width: 82px;
  min-height: 76px;
  border: 1px solid transparent;
  background: transparent;
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 5px 4px;
  display: grid;
  justify-items: center;
  gap: 5px;
  text-shadow: 1px 1px 2px #003b64;
  pointer-events: auto;
  cursor: url("assets/cursors/windows 7 (vista) link cur.cur"), pointer;
}

.desktop-icon:hover,
.desktop-icon:focus-visible {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(51, 153, 255, 0.28);
  outline: none;
}

.desktop-icon-img {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.45));
}

.desktop-icon-label {
  display: block;
  line-height: 1.15;
}

/* =========================
   Windows
========================= */

.window {
  position: absolute;
  display: none;
  min-width: 320px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 72px);
  background: #ece9d8;
  border: 1px solid #083b7a;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.45),
    inset 1px 1px 0 rgba(255, 255, 255, 0.9);
}

.window.active {
  display: flex;
  flex-direction: column;
}

.window.minimized {
  display: none;
}

.window.maximized {
  max-width: none;
  max-height: none;
}

.window-titlebar {
  height: 32px;
  padding: 4px 5px 4px 8px;
  background:
    linear-gradient(180deg, #58a9f5 0%, #1c74d7 45%, #0847a5 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: url("assets/cursors/windows 7 (vista) move cur.cur"), move;
  border-bottom: 1px solid #062d70;
}

body[data-theme="dark"] .window-titlebar {
  background:
    linear-gradient(180deg, #4e5564 0%, #242a36 48%, #111722 100%);
  border-bottom-color: #05080d;
}

.window-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.55);
}

.titlebar-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: inline-block;
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 3px;
}

.window-control {
  width: 24px;
  height: 22px;
  border: 1px solid rgba(0, 0, 0, 0.55);
  color: #fff;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  background: linear-gradient(180deg, #82bef7, #1e64c8);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.6);
  cursor: url("assets/cursors/windows 7 (vista) link cur.cur"), pointer;
}

.window-control.close {
  background: linear-gradient(180deg, #ff9b76, #d83c18);
}

.window-control:hover {
  filter: brightness(1.1);
}

.window-menubar {
  min-height: 25px;
  padding: 5px 8px;
  display: flex;
  gap: 18px;
  background: #f3f1e7;
  border-bottom: 1px solid #c7c3b3;
  color: #222;
}

.window-menubar span {
  cursor: url("assets/cursors/windows 7 (vista) help select cur.cur"), help;
}

.window-body {
  padding: 18px;
  overflow: auto;
  background: #fff;
  color: #111;
  flex: 1;
}

.window-statusbar {
  min-height: 24px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 8px;
  background: #ece9d8;
  border-top: 1px solid #c7c3b3;
  color: #333;
}

.window-statusbar span {
  border: 1px inset #fff;
  padding: 2px 6px;
  min-width: 120px;
}

body[data-theme="dark"] .window {
  background: #1f2430;
  border-color: #060a12;
}

body[data-theme="dark"] .window-menubar,
body[data-theme="dark"] .window-statusbar {
  background: #252a35;
  border-color: #111620;
  color: #e6e6e6;
}

body[data-theme="dark"] .window-body {
  background: #12151d;
  color: #e9e9e9;
}

body[data-theme="dark"] .window-statusbar span {
  border-color: #3b4250;
}

/* =========================
   About
========================= */

.about-window-body {
  background: #fdfdfd;
}

.about-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: 20px;
  align-items: start;
}

.about-copy h1 {
  margin: 0 0 10px;
  font-size: 32px;
  font-family: Georgia, Times New Roman, serif;
  font-weight: 400;
  text-transform: lowercase;
}

.about-copy p {
  line-height: 1.55;
  margin: 0 0 12px;
}

.about-copy .lead {
  font-size: 18px;
  font-family: Georgia, Times New Roman, serif;
}

.inline-school-crest {
  height: 1.2em;
  width: auto;
  vertical-align: -0.18em;
}

/* =========================
   Carousel
========================= */

.about-carousel {
  width: 100%;
}

.carousel-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 2px inset #d8d2bd;
  background: #d7e8f7;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

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

.carousel-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 12px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75));
  display: grid;
  gap: 3px;
}

.carousel-slide figcaption span {
  opacity: 0.85;
  font-size: 12px;
}

.carousel-controls {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.carousel-button {
  width: 30px;
  height: 26px;
  border: 2px outset #fff;
  background: #ece9d8;
  cursor: url("assets/cursors/windows 7 (vista) link cur.cur"), pointer;
}

.carousel-button:active {
  border-style: inset;
}

.carousel-dots {
  display: flex;
  gap: 7px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border: 1px solid #555;
  border-radius: 0;
  background: #fff;
  padding: 0;
  cursor: url("assets/cursors/windows 7 (vista) link cur.cur"), pointer;
}

.carousel-dot.active {
  background: #1f6fd1;
}

/* =========================
   Sections
========================= */

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

.section-heading h2 {
  margin: 0 0 4px;
  font-size: 26px;
  font-family: Georgia, Times New Roman, serif;
  font-weight: 400;
}

.section-heading p {
  margin: 0;
  color: #444;
}

body[data-theme="dark"] .section-heading p {
  color: #c8c8c8;
}

/* =========================
   Projects
========================= */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.project-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  color: #111;
  text-decoration: none;
  background: #f7f7f7;
  border: 2px outset #fff;
  cursor: url("assets/cursors/windows 7 (vista) link cur.cur"), pointer;
}

.project-card:hover {
  background: #ffffff;
}

.project-card:active {
  border-style: inset;
}

body[data-theme="dark"] .project-card,
body[data-theme="dark"] .media-card {
  color: #e9e9e9;
  background: #202633;
  border-color: #343b48;
}

body[data-theme="dark"] .project-card:hover,
body[data-theme="dark"] .media-card:hover {
  background: #293140;
}

.project-thumb {
  aspect-ratio: 16 / 10;
  background: #cdddec;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-bottom: 1px solid #aaa;
}

.project-thumb-bg {
  position: absolute;
  inset: -26px;
  width: calc(100% + 52px);
  height: calc(100% + 52px);
  object-fit: cover !important;
  filter: blur(22px) saturate(1.15);
  opacity: 0.55;
  transform: scale(1.08);
  z-index: 0;
}

.project-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.30),
      rgba(255, 255, 255, 0.06) 48%,
      rgba(0, 0, 0, 0.10)
    );
  pointer-events: none;
}

.project-thumb-img {
  position: relative;
  z-index: 2;
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 88% !important;
  max-height: 88% !important;
  object-fit: contain !important;
  object-position: center;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
  transition: transform 0.25s ease;
}

.project-card:hover .project-thumb-img {
  transform: scale(1.025);
}

.project-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 12px;
}

.project-info h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.project-info p {
  margin: 0 0 12px;
  line-height: 1.45;
  color: #333;
}

body[data-theme="dark"] .project-info p,
body[data-theme="dark"] .media-caption p {
  color: #cfcfcf;
}

.project-link {
  margin-top: auto;
  align-self: flex-start;
  color: #0645ad;
  font-weight: 700;
  text-decoration: underline;
}

body[data-theme="dark"] .project-link {
  color: #8db7ff;
}

/* =========================
   Music Player
========================= */

.music-window-body {
  display: grid;
  gap: 14px;
}

.music-player {
  border: 2px inset #fff;
  background: #f7f7f7;
  padding: 14px;
  display: grid;
  gap: 12px;
}

.player-display {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.album-art {
  width: 88px;
  height: 88px;
  border: 2px inset #fff;
  background:
    linear-gradient(135deg, #dfeeff, #b6c9e4);
  display: grid;
  place-items: center;
  color: #2c4d72;
  font-size: 34px;
  font-weight: 700;
  overflow: hidden;
}

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

.track-meta {
  min-width: 0;
}

.track-meta h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.track-meta p {
  margin: 0 0 12px;
  color: #333;
}

.track-time-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 8px;
  align-items: center;
}

.track-seek,
.volume-slider {
  width: 100%;
  cursor: url("assets/cursors/windows 7 (vista) link cur.cur"), pointer;
}

.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.player-button {
  min-width: 38px;
  text-align: center;
}

.play-button {
  min-width: 48px;
}

.volume-slider-label {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.volume-slider {
  width: 120px;
}

.track-list {
  display: grid;
  gap: 5px;
  max-height: 170px;
  overflow: auto;
  border: 1px solid #c7c3b3;
  background: #fff;
  padding: 6px;
}

.track-list-item {
  border: 1px solid transparent;
  background: transparent;
  color: #111;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  text-align: left;
  padding: 6px;
  cursor: url("assets/cursors/windows 7 (vista) link cur.cur"), pointer;
}

.track-list-item:hover,
.track-list-item.active {
  border-color: #7da2ce;
  background: #dbeeff;
}

.track-list-item strong,
.track-list-item small {
  display: block;
}

.track-list-item small {
  color: #555;
  margin-top: 2px;
}

.track-number {
  color: #555;
  text-align: right;
}

.empty-track-message {
  margin: 0;
  color: #555;
}

body[data-theme="dark"] .music-player,
body[data-theme="dark"] .track-list {
  background: #202633;
  border-color: #3b4250;
}

body[data-theme="dark"] .track-meta p,
body[data-theme="dark"] .track-list-item small,
body[data-theme="dark"] .track-number,
body[data-theme="dark"] .empty-track-message {
  color: #cfcfcf;
}

body[data-theme="dark"] .track-list-item {
  color: #e9e9e9;
}

body[data-theme="dark"] .track-list-item:hover,
body[data-theme="dark"] .track-list-item.active {
  background: #2b3b54;
  border-color: #4f6e99;
}

/* =========================
   Photos Gallery
========================= */

.photos-window-body {
  display: grid;
  gap: 14px;
}

.media-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.media-card {
  color: #111;
  text-decoration: none;
  background: #f7f7f7;
  border: 2px outset #fff;
  cursor: url("assets/cursors/windows 7 (vista) link cur.cur"), pointer;
}

.media-card:active {
  border-style: inset;
}

.media-thumb {
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid #aaa;
  background:
    linear-gradient(135deg, #dfeeff, #b6c9e4);
  display: grid;
  place-items: center;
  color: #2c4d72;
  font-weight: 700;
}

.media-caption {
  padding: 12px;
}

.media-caption h3 {
  margin: 0 0 5px;
  font-size: 15px;
}

.media-caption p {
  margin: 0;
  color: #333;
}

/* =========================
   Settings / Credits
========================= */

.settings-body,
.credits-body {
  display: grid;
  gap: 14px;
  align-content: start;
}

.settings-panel,
.credits-panel {
  border: 2px inset #fff;
  background: #f7f7f7;
  padding: 14px;
}

.settings-panel h3,
.credits-panel h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.theme-options {
  display: grid;
  gap: 8px;
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  cursor: url("assets/cursors/windows 7 (vista) link cur.cur"), pointer;
}

.theme-option input {
  margin: 0;
}

.settings-help-text {
  margin: 0 0 12px;
  line-height: 1.45;
  color: #333;
}

.credits-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  line-height: 1.45;
}

.vista-button {
  border: 2px outset #fff;
  background: #ece9d8;
  padding: 5px 12px;
  color: #111;
  cursor: url("assets/cursors/windows 7 (vista) link cur.cur"), pointer;
}

.vista-button:active {
  border-style: inset;
}

body[data-theme="dark"] .settings-panel,
body[data-theme="dark"] .credits-panel {
  background: #202633;
  border-color: #3b4250;
}

body[data-theme="dark"] .settings-help-text {
  color: #cfcfcf;
}

body[data-theme="dark"] .vista-button {
  background: #2b3240;
  color: #e9e9e9;
  border-color: #4b5362;
}

/* =========================
   Start Menu / Search
========================= */

.start-menu {
  position: fixed;
  left: 6px;
  bottom: 46px;
  width: 380px;
  max-width: calc(100vw - 12px);
  height: 430px;
  display: none;
  background: #f4f4f4;
  border: 1px solid #0a3975;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  z-index: 2000;
}

.start-menu.active {
  display: grid;
  grid-template-columns: 54px 1fr;
}

.start-menu-sidebar {
  background:
    linear-gradient(180deg, #313943, #151a22);
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14px;
  font-size: 32px;
  font-family: Georgia, Times New Roman, serif;
}

.start-menu-sidebar-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.start-menu-content {
  padding: 14px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.search-label {
  font-weight: 700;
  margin-bottom: 7px;
}

.desktop-search {
  width: 100%;
  padding: 8px 9px;
  border: 2px inset #fff;
  background: #fff;
  margin-bottom: 12px;
  cursor: url("assets/cursors/windows 7 (vista) text select cur.cur"), text;
}

.start-section-label {
  margin: 0 0 6px;
  color: #555;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

body[data-theme="dark"] .start-section-label {
  color: #c6c6c6;
}

.search-results {
  display: grid;
  gap: 6px;
  overflow: auto;
}

.search-result {
  width: 100%;
  border: 1px solid transparent;
  background: transparent;
  color: #111;
  text-decoration: none;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 9px;
  align-items: center;
  text-align: left;
  padding: 7px;
  cursor: url("assets/cursors/windows 7 (vista) link cur.cur"), pointer;
}

.search-result:hover,
.search-result:focus-visible {
  border-color: #7da2ce;
  background: #dbeeff;
  outline: none;
}

.search-result-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.search-result strong,
.search-result small {
  display: block;
}

.search-result small {
  color: #555;
  margin-top: 2px;
}

body[data-theme="dark"] .start-menu {
  background: #1f2430;
  border-color: #060a12;
}

body[data-theme="dark"] .search-label,
body[data-theme="dark"] .search-result {
  color: #e9e9e9;
}

body[data-theme="dark"] .desktop-search {
  background: #111722;
  color: #e9e9e9;
  border-color: #444c5a;
}

body[data-theme="dark"] .search-result:hover,
body[data-theme="dark"] .search-result:focus-visible {
  background: #2b3b54;
  border-color: #4f6e99;
}

body[data-theme="dark"] .search-result small {
  color: #c6c6c6;
}

/* =========================
   Taskbar
========================= */

.taskbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42px;
  padding: 5px 8px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  background:
    linear-gradient(180deg, #3d9df2 0%, #1267c3 42%, #0a3f95 100%);
  border-top: 1px solid #8cc7ff;
  z-index: 1800;
  overflow: visible;
}

body[data-theme="dark"] .taskbar {
  background:
    linear-gradient(180deg, #3a4150 0%, #1b2230 44%, #0b101a 100%);
  border-top-color: #5b6475;
}

.start-button {
  height: 32px;
  min-width: 94px;
  border: 1px solid #064b1b;
  border-radius: 18px;
  padding: 0 14px 0 8px;
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background:
    linear-gradient(180deg, #77d65a, #26962e 55%, #116719);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.55),
    1px 1px 2px rgba(0, 0, 0, 0.35);
  text-shadow: 1px 1px 1px #06390d;
  line-height: 1;
  overflow: visible;
  cursor: url("assets/cursors/windows 7 (vista) link cur.cur"), pointer;
}

.start-button:active {
  transform: translateY(1px);
}

.start-orb {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 50%;
  flex: 0 0 auto;
}

.taskbar-apps {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}

.taskbar-app {
  height: 30px;
  max-width: 180px;
  border: 1px solid #0c3f8a;
  color: #fff;
  background: linear-gradient(180deg, #4fa7f5, #145fbd);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.35);
  cursor: url("assets/cursors/windows 7 (vista) link cur.cur"), pointer;
}

.taskbar-app.active {
  background: linear-gradient(180deg, #1b58a4, #0a3f95);
  border-style: inset;
}

body[data-theme="dark"] .taskbar-app {
  border-color: #101725;
  background: linear-gradient(180deg, #46536a, #202a3d);
}

body[data-theme="dark"] .taskbar-app.active {
  background: linear-gradient(180deg, #202a3d, #121824);
}

.taskbar-app-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  object-fit: contain;
}

.system-tray {
  height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 6px;
  border: 1px inset rgba(255, 255, 255, 0.75);
  color: #fff;
}

.tray-icon {
  width: 22px;
  height: 22px;
  position: relative;
  border: none;
  background: transparent;
  padding: 0;
  color: #fff;
  cursor: url("assets/cursors/windows 7 (vista) link cur.cur"), pointer;
}

.wifi-icon span,
.wifi-icon::before,
.wifi-icon::after {
  position: absolute;
  left: 50%;
  border: 2px solid currentColor;
  border-top: none;
  border-left-color: transparent;
  border-right-color: transparent;
  transform: translateX(-50%);
}

.wifi-icon span {
  bottom: 4px;
  width: 4px;
  height: 4px;
  border: none;
  border-radius: 50%;
  background: currentColor;
}

.wifi-icon::before {
  content: "";
  bottom: 6px;
  width: 12px;
  height: 7px;
  border-radius: 0 0 14px 14px;
}

.wifi-icon::after {
  content: "";
  bottom: 6px;
  width: 20px;
  height: 12px;
  border-radius: 0 0 22px 22px;
  opacity: 0.75;
}

.volume-icon span {
  position: absolute;
  left: 3px;
  top: 7px;
  width: 7px;
  height: 8px;
  background: currentColor;
  clip-path: polygon(0 30%, 45% 30%, 100% 0, 100% 100%, 45% 70%, 0 70%);
}

.volume-icon::before,
.volume-icon::after {
  content: "";
  position: absolute;
  border: 2px solid currentColor;
  border-left: none;
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
}

.volume-icon::before {
  left: 10px;
  top: 7px;
  width: 5px;
  height: 8px;
}

.volume-icon::after {
  left: 12px;
  top: 4px;
  width: 8px;
  height: 14px;
  opacity: 0.75;
}

.volume-icon.muted::before,
.volume-icon.muted::after {
  display: none;
}

.volume-icon.muted {
  color: #ffb4a8;
}

.volume-icon.muted::after {
  content: "";
  display: block;
  position: absolute;
  left: 14px;
  top: 4px;
  width: 2px;
  height: 15px;
  border: none;
  border-radius: 0;
  background: currentColor;
  transform: rotate(42deg);
}

.battery-icon span {
  position: absolute;
  left: 3px;
  top: 6px;
  width: 15px;
  height: 10px;
  border: 2px solid currentColor;
}

.battery-icon span::before {
  content: "";
  position: absolute;
  right: -5px;
  top: 2px;
  width: 3px;
  height: 4px;
  background: currentColor;
}

.battery-icon span::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 9px;
  height: 4px;
  background: #79e35f;
}

.taskbar-clock {
  min-width: 76px;
  height: 24px;
  color: #fff;
  display: grid;
  place-items: center;
  padding: 0 5px;
}

/* =========================
   Responsive
========================= */

@media (max-width: 900px) {
  body {
    overflow: auto;
  }

  .desktop {
    min-height: 100vh;
    height: auto;
    padding-bottom: 52px;
  }

  .desktop-icons {
    position: static;
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fill, 82px);
    grid-auto-rows: 84px;
    gap: 18px 16px;
    align-content: start;
    justify-content: start;
    padding: 18px;
    pointer-events: auto;
  }

  .window,
  .window.active {
    position: static;
    width: calc(100% - 24px) !important;
    max-width: none;
    max-height: none;
    height: auto !important;
    margin: 12px;
    display: flex;
  }

  .window:not(.active),
  .window.minimized {
    display: none;
  }

  .window-titlebar {
    cursor: url("assets/cursors/windows 7 (vista) normal cur.cur"), auto;
  }

  .about-main {
    grid-template-columns: 1fr;
  }

  .project-grid,
  .media-gallery {
    grid-template-columns: 1fr;
  }

  .player-display {
    grid-template-columns: 1fr;
  }

  .album-art {
    width: 100%;
    max-width: 180px;
    height: 140px;
  }

  .volume-slider-label {
    margin-left: 0;
    width: 100%;
  }

  .start-menu {
    width: calc(100vw - 12px);
  }

  .system-tray {
    gap: 4px;
  }

  .tray-icon {
    width: 18px;
  }

  .taskbar-clock {
    min-width: 58px;
  }
}
