:root {
  --xp-blue: #236b8e;
  --xp-blue-light: #4387b5;
  --xp-blue-dark: #102e48;

  --screen: #05090c;
  --screen-soft: #0a1218;

  --surface: rgba(7, 16, 22, 0.9);
  --surface-light: rgba(24, 47, 61, 0.55);

  --border: rgba(132, 199, 241, 0.2);
  --border-strong: rgba(132, 199, 241, 0.45);

  --text-primary: #f6fbff;
  --text-secondary: #c9d7e0;
  --text-muted: #8299aa;

  --blue: #8ed0ff;
  --green: #81f59e;
  --yellow: #ffd57b;

  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;

  overflow: hidden;

  font-family: var(--font-ui);

  color: var(--text-primary);

  /* KEEP YOUR EXISTING BACKGROUND */

  background-image: url("./images/xp-background.jpg");

  background-size: cover;

  background-repeat: no-repeat;

  background-position: center;

  background-attachment: fixed;

  text-rendering: optimizeLegibility;

  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

/* =========================================================
   DESKTOP
========================================================= */

.desktop {
  width: 100%;
  min-height: 100vh;

  display: grid;

  place-items: center;

  padding: 24px;
}

/* =========================================================
   MAIN WINDOW
========================================================= */

.wmp-window {
  position: relative;

  width: min(1180px, calc(100vw - 48px));

  height: min(760px, calc(100vh - 48px));

  min-height: 620px;

  display: grid;

  grid-template-rows:
    33px
    31px
    1fr
    25px;

  overflow: hidden;

  border: 1px solid rgba(13, 45, 69, 0.95);

  border-radius: 8px;

  background: rgba(24, 67, 96, 0.97);

  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

/* =========================================================
   MAXIMIZED
========================================================= */

.wmp-window.maximized {
  position: fixed !important;

  inset: 0 !important;

  width: 100vw;
  height: 100vh;

  min-height: 0;

  border-radius: 0;

  z-index: 1000;
}

/* =========================================================
   MINIMIZED
========================================================= */

.wmp-window.minimized {
  height: 64px;

  min-height: 64px;
}

.wmp-window.minimized .app-body,
.wmp-window.minimized .status-bar {
  display: none;
}

/* =========================================================
   TITLE BAR
========================================================= */

.title-bar {
  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 0 7px;

  color: white;

  user-select: none;

  background: linear-gradient(90deg, #103f73, #2c79ba 55%, #1c5687);

  border-bottom: 1px solid rgba(4, 26, 42, 0.75);
}

.title {
  display: flex;

  align-items: center;

  gap: 8px;

  min-width: 0;

  font-size: 11px;

  font-weight: 600;

  letter-spacing: -0.01em;
}

.title > span:last-child {
  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;
}

.app-icon {
  width: 20px;
  height: 20px;

  display: grid;

  place-items: center;

  flex-shrink: 0;

  border: 1px solid rgba(255, 255, 255, 0.36);

  border-radius: 4px;

  color: #08212f;

  background: var(--green);

  font-size: 10px;
}

/* =========================================================
   WINDOW BUTTONS
========================================================= */

.window-controls {
  display: flex;

  gap: 4px;
}

.window-btn {
  width: 24px;
  height: 22px;

  padding: 0;

  display: grid;

  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.32);

  border-radius: 4px;

  color: white;

  background: rgba(255, 255, 255, 0.08);

  cursor: pointer;

  transition: background 0.15s ease;
}

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

.window-btn.close:hover {
  background: #df5549;
}

/* =========================================================
   MENU
========================================================= */

.menu-bar {
  display: flex;

  align-items: center;

  gap: 3px;

  padding: 3px 7px;

  background: linear-gradient(#235e88, #1c4f74);

  border-bottom: 1px solid #102f49;
}

.menu-item {
  height: 24px;

  padding: 0 10px;

  border: 0;

  border-radius: 4px;

  color: rgba(255, 255, 255, 0.84);

  background: transparent;

  font-size: 10px;

  font-weight: 500;

  cursor: pointer;
}

.menu-item:hover {
  color: white;

  background: rgba(255, 255, 255, 0.1);
}

/* =========================================================
   APPLICATION BODY
========================================================= */

.app-body {
  min-height: 0;

  display: grid;

  grid-template-columns:
    175px
    minmax(0, 1fr)
    225px;

  gap: 1px;

  background: #082238;
}

/* =========================================================
   LEFT SIDEBAR
========================================================= */

.sidebar {
  min-height: 0;

  display: flex;

  flex-direction: column;

  padding: 12px 0 9px;

  background: linear-gradient(
    180deg,
    rgba(40, 104, 145, 0.98),
    rgba(24, 62, 89, 0.98)
  );

  border-right: 1px solid rgba(8, 37, 57, 0.8);
}

.sidebar-brand {
  padding: 5px 15px 14px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.sidebar-eyebrow {
  display: block;

  margin-bottom: 5px;

  color: rgba(211, 235, 250, 0.65);

  font-family: var(--font-mono);

  font-size: 7px;

  font-weight: 600;

  letter-spacing: 0.16em;
}

.sidebar-brand strong {
  font-family: var(--font-mono);

  font-size: 11px;

  font-weight: 600;

  color: #e4f4ff;
}

/* =========================================================
   NAVIGATION
========================================================= */

.nav-item {
  width: 100%;

  display: flex;

  align-items: center;

  gap: 10px;

  padding: 12px 15px;

  border: 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);

  color: rgba(240, 248, 253, 0.78);

  background: transparent;

  text-align: left;

  cursor: pointer;

  font-size: 11px;

  font-weight: 500;

  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.nav-item i {
  width: 17px;

  color: #b7ddf7;

  text-align: center;

  font-size: 13px;
}

.nav-item:hover {
  color: white;

  background: rgba(255, 255, 255, 0.08);
}

.nav-item.active {
  color: white;

  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0.05)
  );

  box-shadow: 3px 0 0 var(--green) inset;

  font-weight: 700;
}

.sidebar-footer {
  margin-top: auto;

  padding: 12px 15px 5px;

  color: #c8e3f4;

  font-family: var(--font-mono);

  font-size: 8px;

  line-height: 1.5;
}

/* =========================================================
   STATUS DOT
========================================================= */

.status-dot {
  width: 7px;
  height: 7px;

  display: inline-block;

  margin-right: 6px;

  border-radius: 50%;

  background: var(--green);

  box-shadow: 0 0 8px rgba(129, 245, 158, 0.8);
}

/* =========================================================
   MAIN PLAYER AREA
========================================================= */

.player-section {
  min-width: 0;
  min-height: 0;

  display: grid;

  grid-template-rows:
    minmax(0, 1fr)
    28px
    85px;

  background: #03070a;
}

/* =========================================================
   CONTENT WINDOW
========================================================= */

.video-window {
  position: relative;

  min-height: 0;

  overflow: hidden;

  background:
    linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    radial-gradient(circle at 50% 20%, #173344, #071016 58%, #020506);

  background-size:
    26px 26px,
    26px 26px,
    auto;
}

.video-window::after {
  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  z-index: 1;

  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 4px,
    rgba(255, 255, 255, 0.012) 5px
  );
}

/* =========================================================
   CANVAS
========================================================= */

.ambient-canvas {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  z-index: 0;

  opacity: 0.35;
}

/* =========================================================
   CONTENT TOP HEADER
========================================================= */

.track-header {
  position: relative;

  z-index: 4;

  min-height: 72px;

  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  gap: 16px;

  padding: 15px 17px 24px;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.88),
    rgba(0, 0, 0, 0.18),
    transparent
  );
}

.artist {
  color: var(--text-primary);

  font-size: clamp(23px, 2.6vw, 34px);

  font-weight: 800;

  line-height: 1.05;

  letter-spacing: -0.045em;
}

.track-name {
  margin-top: 6px;

  color: var(--blue);

  font-family: var(--font-mono);

  font-size: 9px;

  font-weight: 500;

  letter-spacing: 0.025em;
}

/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {
  display: flex;

  gap: 7px;

  flex-shrink: 0;
}

.xp-action {
  display: inline-flex;

  align-items: center;

  gap: 6px;

  padding: 6px 9px;

  border: 1px solid rgba(142, 208, 255, 0.33);

  border-radius: 5px;

  color: #e8f6ff;

  background: rgba(28, 76, 106, 0.65);

  text-decoration: none;

  font-size: 9px;

  font-weight: 600;

  transition: 0.15s ease;
}

.xp-action:hover {
  border-color: rgba(142, 208, 255, 0.65);

  background: rgba(48, 104, 139, 0.8);
}

/* =========================================================
   DYNAMIC CONTENT
========================================================= */

.content-host {
  position: absolute;

  inset: 70px 0 0;

  z-index: 3;

  overflow-y: auto;

  padding: 18px;

  scrollbar-width: thin;

  scrollbar-color: #345f7c #071018;
}

.section-shell {
  width: min(850px, 100%);

  margin: 0 auto;

  padding-bottom: 25px;
}

/* =========================================================
   AVATAR
   KEEP IMAGE
========================================================= */

.avatar {
  width: 110px;

  aspect-ratio: 1;

  overflow: hidden;

  border: 1px solid rgba(142, 208, 255, 0.6);

  border-radius: 9px;

  background: #0b2333;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.avatar-image {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  object-position: center;
}

/* =========================================================
   HERO
========================================================= */

.hero {
  display: grid;

  grid-template-columns:
    125px
    minmax(0, 1fr);

  gap: 22px;

  align-items: start;

  padding: 22px;

  border: 1px solid rgba(142, 208, 255, 0.18);

  border-radius: 9px;

  background: linear-gradient(
    145deg,
    rgba(35, 80, 107, 0.35),
    rgba(0, 0, 0, 0.42)
  );

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.kicker {
  color: var(--green);

  font-family: var(--font-mono);

  font-size: 8px;

  font-weight: 600;

  letter-spacing: 0.13em;

  line-height: 1.5;

  text-transform: uppercase;
}

.hero h1 {
  margin: 8px 0 4px;

  color: var(--text-primary);

  font-size: clamp(31px, 4vw, 46px);

  font-weight: 800;

  line-height: 1;

  letter-spacing: -0.055em;
}

.hero-role {
  margin: 8px 0 15px;

  color: var(--blue);

  font-size: 14px;

  font-weight: 600;

  letter-spacing: -0.02em;
}

.hero-copy {
  max-width: 650px;

  margin: 0;

  color: var(--text-secondary);

  font-size: 12px;

  font-weight: 400;

  line-height: 1.8;

  letter-spacing: -0.005em;
}

/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin-top: 18px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  padding: 8px 11px;

  border-radius: 5px;

  text-decoration: none;

  font-size: 9px;

  font-weight: 700;
}

.primary-btn {
  color: #06200d;

  border: 1px solid rgba(129, 245, 158, 0.7);

  background: linear-gradient(#a6ffb9, #68dd82);
}

.secondary-btn {
  color: #ebf7ff;

  border: 1px solid rgba(142, 208, 255, 0.35);

  background: rgba(35, 79, 106, 0.7);
}

/* =========================================================
   QUICK CARDS
========================================================= */

.quick-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 9px;

  margin-top: 11px;
}

.quick-card,
.panel {
  border: 1px solid rgba(142, 208, 255, 0.15);

  border-radius: 7px;

  background: rgba(5, 17, 24, 0.78);
}

.quick-card {
  padding: 12px;
}

.quick-card span {
  display: block;

  color: var(--text-muted);

  font-family: var(--font-mono);

  font-size: 7px;

  font-weight: 500;

  letter-spacing: 0.11em;

  text-transform: uppercase;
}

.quick-card strong {
  display: block;

  margin-top: 7px;

  color: var(--text-primary);

  font-size: 11px;

  font-weight: 700;

  letter-spacing: -0.025em;
}

/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 15px;

  margin: 3px 0 17px;
}

.section-heading h2 {
  margin: 0;

  color: var(--text-primary);

  font-size: 22px;

  font-weight: 800;

  letter-spacing: -0.04em;
}

.section-heading h2::before {
  content: "~/";

  margin-right: 5px;

  color: var(--green);

  font-family: var(--font-mono);

  font-size: 11px;

  font-weight: 500;
}

.section-heading p {
  margin: 0;

  color: var(--text-muted);

  font-family: var(--font-mono);

  font-size: 8px;
}

/* =========================================================
   EXPERIENCE
========================================================= */

.timeline {
  display: grid;

  gap: 11px;
}

.timeline-item {
  padding: 17px;

  border: 1px solid rgba(142, 208, 255, 0.16);

  border-left: 3px solid #75c9ff;

  border-radius: 7px;

  background: rgba(5, 17, 24, 0.8);
}

.timeline-top {
  display: flex;

  justify-content: space-between;

  gap: 15px;
}

.timeline-item h3 {
  margin: 0;

  color: var(--text-primary);

  font-size: 14px;

  font-weight: 700;

  line-height: 1.3;

  letter-spacing: -0.025em;
}

.company {
  margin-top: 5px;

  color: var(--blue);

  font-family: var(--font-mono);

  font-size: 8px;

  font-weight: 500;
}

.timeline-date {
  color: var(--yellow);

  font-family: var(--font-mono);

  font-size: 8px;

  font-weight: 500;

  white-space: nowrap;
}

.timeline-item ul {
  margin: 14px 0 0 17px;

  padding: 0;

  color: var(--text-secondary);

  font-size: 10px;

  line-height: 1.75;
}

.timeline-item li {
  margin-bottom: 5px;
}

.timeline-item li::marker {
  color: var(--green);
}

.environment {
  margin-top: 12px;

  padding-top: 11px;

  border-top: 1px solid rgba(255, 255, 255, 0.06);

  color: var(--blue);

  font-family: var(--font-mono);

  font-size: 7.5px;

  line-height: 1.6;
}

/* =========================================================
   PROJECTS
========================================================= */

.projects-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 11px;
}

.project-card {
  min-width: 0;

  padding: 16px;

  border: 1px solid rgba(142, 208, 255, 0.15);

  border-radius: 8px;

  background: linear-gradient(
    145deg,
    rgba(30, 70, 95, 0.28),
    rgba(3, 10, 14, 0.82)
  );

  transition:
    transform 0.16s ease,
    border-color 0.16s ease;
}

.project-card:hover {
  transform: translateY(-3px);

  border-color: rgba(142, 208, 255, 0.5);
}

.project-top {
  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  gap: 10px;
}

.project-card h3 {
  margin: 0;

  color: var(--text-primary);

  font-size: 15px;

  font-weight: 750;

  line-height: 1.25;

  letter-spacing: -0.035em;
}

.project-kind {
  padding: 3px 6px;

  border: 1px solid rgba(129, 245, 158, 0.3);

  border-radius: 5px;

  color: var(--green);

  background: rgba(129, 245, 158, 0.05);

  font-family: var(--font-mono);

  font-size: 6.5px;

  font-weight: 600;

  letter-spacing: 0.07em;

  text-transform: uppercase;

  white-space: nowrap;
}

.project-card p {
  margin: 11px 0 14px;

  color: var(--text-secondary);

  font-size: 10px;

  line-height: 1.7;
}

.tech-tags {
  display: flex;

  flex-wrap: wrap;

  gap: 5px;
}

.tech-tag {
  padding: 4px 6px;

  border: 1px solid rgba(142, 208, 255, 0.16);

  border-radius: 4px;

  color: var(--blue);

  background: rgba(142, 208, 255, 0.035);

  font-family: var(--font-mono);

  font-size: 7px;

  font-weight: 500;
}

/* =========================================================
   SKILLS
========================================================= */

.skills-layout {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 11px;
}

.skill-group {
  padding: 15px;

  border: 1px solid rgba(142, 208, 255, 0.15);

  border-radius: 8px;

  background: rgba(4, 15, 22, 0.8);
}

.skill-group h3 {
  display: flex;

  align-items: center;

  gap: 8px;

  margin: 0 0 12px;

  color: var(--text-primary);

  font-size: 12px;

  font-weight: 700;

  letter-spacing: -0.025em;
}

.skill-group h3 i {
  color: var(--green);
}

.skill-list {
  display: flex;

  flex-wrap: wrap;

  gap: 6px;
}

.skill-pill {
  padding: 5px 7px;

  border: 1px solid rgba(142, 208, 255, 0.14);

  border-radius: 5px;

  color: #bed2df;

  background: rgba(12, 35, 49, 0.78);

  font-family: var(--font-mono);

  font-size: 7.5px;

  font-weight: 500;
}

/* =========================================================
   CONTACT
========================================================= */

.contact-card {
  display: grid;

  grid-template-columns: 1.1fr 0.9fr;

  gap: 12px;
}

.panel {
  padding: 17px;
}

.panel h3 {
  margin: 0 0 10px;

  color: var(--text-primary);

  font-size: 16px;

  font-weight: 750;

  letter-spacing: -0.035em;
}

.panel p {
  margin: 0;

  color: var(--text-secondary);

  font-size: 10px;

  line-height: 1.75;
}

.contact-links {
  display: grid;

  gap: 7px;

  margin-top: 13px;
}

.contact-link {
  display: flex;

  align-items: center;

  gap: 8px;

  padding: 8px 9px;

  border: 1px solid rgba(142, 208, 255, 0.18);

  border-radius: 5px;

  color: #dff3ff;

  background: rgba(12, 41, 58, 0.78);

  text-decoration: none;

  font-family: var(--font-mono);

  font-size: 8px;

  transition: background 0.15s;
}

.contact-link:hover {
  background: rgba(22, 62, 84, 0.95);
}

.code-block {
  margin: 0;

  overflow-x: auto;

  padding: 13px;

  border: 1px solid rgba(142, 208, 255, 0.14);

  border-radius: 6px;

  color: var(--green);

  background: #02090d;

  font-family: var(--font-mono);

  font-size: 8px;

  line-height: 1.75;
}

/* =========================================================
   VISUALIZATION INFO BAR
========================================================= */

.info-bar {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 8px;

  min-width: 0;

  padding: 0 9px;

  border-top: 1px solid #152d3b;

  border-bottom: 1px solid #274b60;

  color: #b9ccd8;

  background: #020607;

  font-family: var(--font-mono);

  font-size: 7px;
}

.visualization-controls {
  display: flex;

  align-items: center;

  gap: 5px;
}

.tiny-control {
  width: 18px;

  height: 18px;

  display: grid;

  place-items: center;

  padding: 0;

  border: 0;

  color: white;

  background: transparent;

  cursor: pointer;
}

.tiny-control:hover {
  color: var(--green);
}

.player-message {
  color: var(--text-muted);
}

/* =========================================================
   PLAYER BAR
========================================================= */

.bottom-player-bar {
  display: grid;

  grid-template-rows:
    27px
    1fr;

  gap: 4px;

  padding: 5px 8px 7px;

  border-top: 1px solid rgba(173, 213, 240, 0.55);

  background: linear-gradient(#79a9c8, #477fa7 50%, #2f6489);
}

.progress-container {
  display: flex;

  align-items: center;

  gap: 8px;

  padding: 3px 7px;

  border: 1px solid #153d59;

  border-radius: 3px;

  background: #020506;
}

.seek-bar,
.volume-slider {
  position: relative;

  cursor: pointer;

  border: 1px solid #0c2433;

  border-radius: 5px;

  background: #17354a;
}

.seek-bar {
  flex: 1;

  height: 6px;
}

.seek-bar-fill,
.volume-slider-fill {
  position: absolute;

  inset: 0 auto 0 0;

  border-radius: inherit;

  background: linear-gradient(90deg, #62e776, #a2ff65);
}

.seek-bar-fill {
  width: 0;
}

.seek-thumb {
  position: absolute;

  top: 50%;

  left: 0;

  width: 8px;

  height: 13px;

  border: 1px solid #dce8f1;

  border-radius: 2px;

  background: linear-gradient(white, #9eb4c5);

  transform: translate(-50%, -50%);

  pointer-events: none;
}

.time-display {
  width: 40px;

  color: white;

  font-family: var(--font-mono);

  font-size: 8px;

  text-align: right;
}

/* =========================================================
   PLAYER CONTROLS
========================================================= */

.transport-row {
  display: flex;

  align-items: center;

  gap: 10px;

  min-width: 0;
}

.transport-controls {
  display: flex;

  gap: 4px;
}

.transport-btn {
  width: 30px;

  height: 30px;

  display: grid;

  place-items: center;

  padding: 0;

  border: 1px solid rgba(255, 255, 255, 0.32);

  border-radius: 50%;

  color: white;

  background: linear-gradient(#b2d2e8, #6799bd 52%, #376e97);

  cursor: pointer;
}

.transport-btn.play {
  width: 36px;

  height: 36px;

  margin-top: -3px;
}

.transport-btn:hover {
  filter: brightness(1.1);
}

/* =========================================================
   VOLUME
========================================================= */

.volume-control {
  display: flex;

  align-items: center;

  gap: 5px;
}

.volume-icon {
  padding: 3px;

  border: 0;

  color: white;

  background: transparent;

  cursor: pointer;
}

.volume-slider {
  width: 75px;

  height: 6px;
}

.volume-slider-fill {
  width: 70%;
}

/* =========================================================
   NOW PLAYING
========================================================= */

.now-playing {
  min-width: 0;

  margin-left: auto;

  color: white;

  font-family: var(--font-mono);

  text-align: right;
}

.now-playing-label {
  display: block;

  color: #d2e4ef;

  font-size: 6px;

  letter-spacing: 0.15em;
}

.now-playing strong {
  display: block;

  max-width: 230px;

  margin-top: 2px;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

  font-size: 8px;

  font-weight: 600;
}

/* =========================================================
   RIGHT PLAYLIST
========================================================= */

.playlist-area {
  min-width: 0;

  overflow: hidden;

  color: white;

  background: #020506;

  border-left: 1px solid #22445b;
}

.playlist-header {
  height: 31px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 0 9px;

  border-bottom: 1px solid #30383e;

  color: #eaf5fb;

  background: linear-gradient(#262d32, #111619);

  font-family: var(--font-mono);

  font-size: 8px;

  font-weight: 600;
}

.playlist-content {
  height: calc(100% - 31px);

  overflow-y: auto;
}

.playlist-group {
  padding-bottom: 9px;

  border-bottom: 1px solid #20282d;
}

.playlist-group-title {
  padding: 10px 9px 6px;

  color: #637b8b;

  font-family: var(--font-mono);

  font-size: 6.5px;

  font-weight: 600;

  letter-spacing: 0.12em;
}

.playlist-item {
  width: 100%;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 7px;

  padding: 7px 9px;

  border: 0;

  color: #bbcbd4;

  background: transparent;

  text-align: left;

  cursor: pointer;

  font-family: var(--font-mono);

  font-size: 7.5px;
}

.playlist-item i {
  color: #669bc0;
}

.playlist-item:hover {
  color: white;

  background: #12232d;
}

.playlist-item.is-current {
  color: #06150a;

  background: var(--green);

  font-weight: 600;
}

.playlist-item.is-current i {
  color: #06150a;
}

/* =========================================================
   STACK / MONITOR
========================================================= */

.stack-line,
.monitor-row {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 7px;

  padding: 6px 9px;

  color: #aabcc6;

  font-family: var(--font-mono);

  font-size: 7.5px;
}

.stack-line i {
  color: #6db4e0;
}

.monitor-row strong {
  color: #d7edf9;

  font-size: 7px;

  font-weight: 600;
}

.monitor-row strong.online {
  color: var(--green);
}

/* =========================================================
   STATUS BAR
========================================================= */

.status-bar {
  display: grid;

  grid-template-columns: 1fr auto auto;

  align-items: center;

  gap: 13px;

  min-width: 0;

  padding: 0 9px;

  color: #d0e4f1;

  background: linear-gradient(#245f89, #194b70);

  border-top: 1px solid rgba(110, 165, 203, 0.55);

  font-family: var(--font-mono);

  font-size: 7px;

  font-weight: 500;
}

/* =========================================================
   REOPEN
========================================================= */

.reopen-window {
  position: fixed;

  left: 18px;

  bottom: 18px;

  z-index: 1200;

  padding: 9px 12px;

  border: 1px solid rgba(255, 255, 255, 0.28);

  border-radius: 6px;

  color: white;

  background: #245e88;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);

  cursor: pointer;
}

/* =========================================================
   SELECTION
========================================================= */

::selection {
  color: #041308;

  background: var(--green);
}

/* =========================================================
   TABLET
========================================================= */

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

  .desktop {
    min-height: 100svh;

    padding: 0;
  }

  .wmp-window {
    width: 100%;

    height: 100svh;

    min-height: 100svh;

    border-radius: 0;
  }

  .app-body {
    grid-template-columns:
      140px
      minmax(0, 1fr);
  }

  .playlist-area {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid,
  .skills-layout,
  .contact-card {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 620px) {
  .app-body {
    display: flex;

    flex-direction: column;
  }

  .sidebar {
    flex: 0 0 auto;

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    padding: 0;
  }

  .sidebar-brand,
  .sidebar-footer {
    display: none;
  }

  .nav-item {
    justify-content: center;

    gap: 4px;

    padding: 9px 4px;

    font-size: 8px;
  }

  .nav-item i {
    width: auto;
  }

  .nav-item.active {
    box-shadow: 0 -3px 0 var(--green) inset;
  }

  .player-section {
    min-height: 0;

    flex: 1;
  }

  .track-header {
    min-height: 57px;

    padding: 10px 11px 16px;
  }

  .artist {
    font-size: 22px;
  }

  .content-host {
    inset: 57px 0 0;

    padding: 10px;
  }

  .hero {
    grid-template-columns: 1fr;

    padding: 16px;
  }

  .avatar {
    width: 82px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero-role {
    font-size: 12px;
  }

  .hero-copy {
    font-size: 11px;

    line-height: 1.7;
  }

  .section-heading {
    align-items: flex-start;

    flex-direction: column;

    gap: 4px;
  }

  .section-heading h2 {
    font-size: 19px;
  }

  .transport-row {
    gap: 5px;
  }

  .now-playing {
    display: none;
  }

  .volume-slider {
    width: 45px;
  }

  .status-bar {
    grid-template-columns: 1fr auto;
  }

  .status-bar div:nth-child(2) {
    display: none;
  }
}

/* Résumé updates and featured work, within the existing player theme. */
.featured-project {
  border-top: 2px solid var(--green);
}
.project-link {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 0;
  color: var(--blue);
  font-size: 12px;
  text-underline-offset: 4px;
}
.project-link:hover { color: var(--green); }
.project-card p { font-size: 12px; }
.project-kind { font-size: 9px; white-space: normal; }
.project-top { flex-wrap: wrap; }
.education-panel h2 { margin-top: 0; font-size: 18px; }
.education-panel p { color: var(--text-secondary); font-size: 12px; line-height: 1.8; }
.education-panel .certification { color: var(--green); }
.contact-link { overflow-wrap: anywhere; min-width: 0; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .project-card { transition: none; }
  .project-card:hover { transform: none; }
}
