@charset "UTF-8";
.desktop-loader {
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}
.desktop-loader:has(.desktop-loader__spinner), .desktop-loader:has(.desktop-loader__error) {
  display: flex;
  align-items: center;
  justify-content: center;
}
.desktop-loader > .page-wrapper {
  width: 100%;
  height: 100%;
}
.desktop-loader__spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 300px;
  padding: 0 2rem;
}
.desktop-loader__progress-container {
  width: 100%;
  height: 4px;
  background: rgba(0, 217, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}
.desktop-loader__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #00d9ff, #00ff88);
  border-radius: 2px;
  transition: width 0.15s ease-out;
  box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}
.desktop-loader__text {
  color: #8892b0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.desktop-loader__error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: #ff6b6b;
  font-family: "JetBrains Mono", monospace;
}
.desktop-loader__error button {
  padding: 0.5rem 1.5rem;
  background: transparent;
  border: 1px solid #00d9ff;
  color: #00d9ff;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}
.desktop-loader__error button:hover {
  background: rgba(0, 217, 255, 0.1);
}

.portfolio {
  --base-size: 1rem;
  --color-bg: #000;
  --color-text: #fff;
  --color-text-muted: bisque;
  --color-accent: #5DA430;
  --color-accent-light: #7BC950;
  --color-accent-glow: rgba(93, 164, 48, 0.64);
  --font-xs: clamp(0.75rem, 2vw, 0.875rem);
  --font-sm: clamp(0.875rem, 2.5vw, 1rem);
  --font-base: clamp(1rem, 3vw, 1.25rem);
  --font-lg: clamp(1.125rem, 3.5vw, 1.5rem);
  --font-xl: clamp(1.25rem, 4vw, 1.875rem);
  --font-2xl: clamp(1.5rem, 5vw, 2.5rem);
  --font-3xl: clamp(2rem, 8vw, 3.75rem);
  --font-hero: clamp(2.5rem, 10vw, 6.25rem);
  --space-xs: clamp(0.25rem, 1vw, 0.5rem);
  --space-sm: clamp(0.5rem, 2vw, 0.75rem);
  --space-md: clamp(0.75rem, 3vw, 1.25rem);
  --space-lg: clamp(1rem, 4vw, 2rem);
  --space-xl: clamp(1.5rem, 5vw, 3rem);
  --space-2xl: clamp(2rem, 6vw, 4rem);
  --content-padding: clamp(1rem, 5vw, 8%);
  --border-radius: clamp(0.75rem, 2vw, 1.25rem);
  --border-radius-full: 9999px;
  --circle-diameter: clamp(12rem, 35vw, 18.75rem);
  --circle-icon-size: clamp(3.5rem, 10vw, 5.625rem);
  --circle-icon-padding: clamp(0.625rem, 2vw, 0.9375rem);
  --btn-padding-y: clamp(0.5rem, 2vw, 0.75rem);
  --btn-padding-x: clamp(1.5rem, 5vw, 2.5rem);
  --btn-min-width: clamp(9rem, 25vw, 11.25rem);
  --z-canvas: -1;
  --z-content: 1;
  --z-navbar: 100;
  --z-overlay: 999;
  --z-modal: 9999;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease-in-out;
  --touch-target-min: 2.75rem;
}

@font-face {
  font-family: "Gluten";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/gluten-subset.ttf") format("truetype");
}
.font-effect-fire-animation {
  color: #fff;
  animation: fire 0.8s ease-in-out infinite alternate;
  will-change: text-shadow;
  transform: translateZ(0);
}

@keyframes fire {
  0% {
    text-shadow: 0 -0.05em 0.2em #fff, 0 -0.15em 0.3em #ff0, 0 -0.25em 0.4em #ff8000, 0 -0.35em 0.5em #f00, 0 -0.45em 0.6em #800;
  }
  25% {
    text-shadow: 0 -0.05em 0.2em #fff, 0 -0.18em 0.3em #ff0, 0 -0.3em 0.4em #ff8000, 0 -0.4em 0.5em #f00, 0 -0.5em 0.55em #800;
  }
  50% {
    text-shadow: 0 -0.05em 0.2em #fff, 0 -0.15em 0.35em #ff0, 0 -0.28em 0.45em #ff8000, 0 -0.38em 0.55em #f00, 0 -0.48em 0.65em #800;
  }
  75% {
    text-shadow: 0 -0.05em 0.2em #fff, 0 -0.2em 0.3em #ff0, 0 -0.32em 0.42em #ff8000, 0 -0.42em 0.52em #f00, 0 -0.52em 0.6em #800;
  }
  100% {
    text-shadow: 0 -0.05em 0.2em #fff, 0 -0.17em 0.32em #ff0, 0 -0.27em 0.43em #ff8000, 0 -0.37em 0.53em #f00, 0 -0.47em 0.62em #800;
  }
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.portfolio {
  font-family: "Roboto", system-ui, -apple-system, sans-serif;
  font-size: var(--font-base);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg);
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.portfolio p {
  color: var(--color-text);
  font-size: var(--font-base);
  line-height: 1.6;
}
.portfolio a {
  color: inherit;
  text-decoration: none;
}
.portfolio button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
.portfolio img,
.portfolio svg {
  display: block;
  max-width: 100%;
  height: auto;
}
.portfolio a,
.portfolio button,
.portfolio [role=button] {
  min-height: var(--touch-target-min);
  min-width: var(--touch-target-min);
}
.portfolio button,
.portfolio a {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Animations */
@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}
@keyframes maintain {
  to {
    transform: rotate(-360deg);
  }
}
/* Mobile modal animations */
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideDown {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes scaleOut {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(0.9);
    opacity: 0;
  }
}
/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Focus styles for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--color-accent-glow);
  outline-offset: 2px;
}

.portfolio .wrapper {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding-inline: var(--content-padding);
  box-sizing: border-box;
}
.portfolio .row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 88%;
  gap: var(--space-xl);
}
@media (min-width: 48rem) {
  .portfolio .row {
    flex-direction: row;
    justify-content: space-between;
  }
}
.portfolio .col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}
@media (min-width: 48rem) {
  .portfolio .col {
    flex-basis: 50%;
    align-items: flex-start;
    gap: 0;
  }
  .portfolio .col:last-child {
    align-items: center;
  }
}
@media (max-width: 47.999rem) {
  .portfolio .wrapper {
    padding-block: var(--space-lg);
  }
  .portfolio .row {
    min-height: auto;
  }
}

/* Canvas - WebGL fluid background (scoped to portfolio) */
.portfolio {
  /* Content wrapper needs to allow pointer events to pass through to canvas */
  /* Interactive elements must capture pointer events */
}
.portfolio canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10; /* Above content, receives pointer events */
  background-color: transparent;
  will-change: contents;
  transform: translateZ(0);
  /* Size is controlled by JS for proper DPR handling */
}
.portfolio .wrapper {
  pointer-events: none;
}
.portfolio a,
.portfolio button,
.portfolio nav,
.portfolio .social,
.portfolio .social-icon,
.portfolio #close-button,
.portfolio #overlay-me,
.portfolio #overlay-cv {
  pointer-events: auto;
  position: relative;
  z-index: 100;
}

.portfolio .navbar {
  display: flex;
  align-items: center;
  height: 12%;
  z-index: var(--z-navbar);
  position: relative;
  margin-bottom: var(--space-md);
}
@media (min-width: 48rem) {
  .portfolio .navbar {
    margin-bottom: 0;
    padding-top: var(--space-lg);
  }
}
.portfolio .navbar nav {
  flex: 1;
  text-align: center;
}
@media (min-width: 48rem) {
  .portfolio .navbar nav {
    text-align: right;
  }
}
.portfolio .navbar nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}
@media (min-width: 48rem) {
  .portfolio .navbar nav ul {
    justify-content: flex-end;
    gap: var(--space-lg);
  }
}
.portfolio .navbar nav ul li a,
.portfolio .navbar nav ul li button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: transparent;
  border: 0.125rem solid var(--color-accent);
  color: var(--color-accent);
  font-size: var(--font-base);
  font-weight: 600;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-top: 0;
}
.portfolio .navbar nav ul li a:hover, .portfolio .navbar nav ul li a:focus,
.portfolio .navbar nav ul li button:hover,
.portfolio .navbar nav ul li button:focus {
  background: var(--color-accent);
  color: var(--color-bg);
  box-shadow: 0 0 1rem var(--color-accent-glow);
}
.portfolio .navbar nav ul li a:active,
.portfolio .navbar nav ul li button:active {
  transform: scale(0.96);
}

.portfolio .name {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  color: var(--color-text-muted);
  font-variant: small-caps;
  font-size: var(--font-hero);
  z-index: var(--z-overlay);
  position: relative;
  line-height: 1.1;
  text-align: center;
}
@media (min-width: 48rem) {
  .portfolio .name {
    text-align: left;
    padding-bottom: var(--space-md);
  }
}

.portfolio .about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: transparent;
  border: 0.125rem solid var(--color-accent);
  color: var(--color-accent);
  font-size: var(--font-base);
  font-weight: 600;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: fixed;
  bottom: var(--space-lg);
  z-index: var(--z-overlay);
  left: 50%;
  transform: translateX(-50%);
}
@media (min-width: 48rem) {
  .portfolio .about-btn {
    left: var(--space-lg);
    transform: none;
  }
}
.portfolio .about-btn:hover, .portfolio .about-btn:focus {
  background: var(--color-accent);
  color: var(--color-bg);
  box-shadow: 0 0 1rem var(--color-accent-glow);
}
.portfolio .about-btn:active {
  transform: translateX(-50%) scale(0.96);
}
@media (min-width: 48rem) {
  .portfolio .about-btn:active {
    transform: scale(0.96);
  }
}

.portfolio .container {
  display: grid;
  place-items: center;
  width: 100%;
  height: auto;
  min-height: 50vh;
  z-index: var(--z-overlay);
  position: relative;
}
@media (min-width: 48rem) {
  .portfolio .container {
    height: 90vh;
    min-height: auto;
  }
}
.portfolio .hero-circle {
  position: relative;
  width: var(--circle-diameter);
  height: var(--circle-diameter);
}
.portfolio .hero-rotate {
  position: relative;
  top: -0.4375rem;
  left: -0.4375rem;
  width: 100%;
  height: 100%;
  border-radius: 100%;
  animation: rotate 30s linear infinite;
  will-change: transform;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
.portfolio .social {
  --icon-offset: calc(var(--circle-icon-size) / 2);
  position: absolute;
  width: var(--circle-icon-size);
  height: var(--circle-icon-size);
  aspect-ratio: 1;
  border-radius: 50%;
  animation: maintain 30s linear infinite;
  will-change: transform;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio .social:nth-child(1) {
  top: calc(-1 * var(--icon-offset));
  left: calc(50% - var(--icon-offset));
}
.portfolio .social:nth-child(2) {
  top: calc(50% - var(--icon-offset));
  right: calc(-1 * var(--icon-offset));
}
.portfolio .social:nth-child(3) {
  top: calc(50% - var(--icon-offset));
  left: calc(-1 * var(--icon-offset));
}
.portfolio .social:nth-child(4) {
  left: calc(50% - var(--icon-offset));
  bottom: calc(-1 * var(--icon-offset));
}
.portfolio .social-icon {
  width: var(--circle-icon-size);
  height: var(--circle-icon-size);
  aspect-ratio: 1;
  padding: var(--circle-icon-padding);
  border: 0.3125rem solid var(--color-accent);
  box-shadow: 0 0 0.3125rem rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: var(--color-accent);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease, box-shadow 0.4s ease, background 0.3s ease;
  will-change: transform;
  transform: scale(1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.portfolio .social-icon:hover, .portfolio .social-icon:focus {
  color: var(--color-accent-light);
  transform: scale(3.3);
  box-shadow: 0 0 2rem var(--color-accent-glow);
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
}
.portfolio .social-icon svg {
  width: 60%;
  height: 60%;
}
@media (prefers-reduced-motion: reduce) {
  .portfolio .hero-rotate,
  .portfolio .social,
  .portfolio .social-icon {
    animation: none;
  }
}

.portfolio .paragraphs {
  all: initial;
  font-family: inherit;
  color: var(--color-text);
  font-size: var(--font-base);
  line-height: 1.6;
}
.portfolio .greet {
  all: initial;
  font-family: inherit;
  font-weight: bold;
  color: var(--color-text);
  font-size: var(--font-xl);
}
@media (min-width: 48rem) {
  .portfolio #overlay-me {
    width: 70%;
    height: 70%;
    max-height: 90vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(0.5rem);
    z-index: var(--z-overlay);
    color: var(--color-text);
    text-align: center;
    padding: var(--space-xl);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: var(--border-radius);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
  .portfolio #overlay-me.overlay-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    animation: fadeIn 0.3s ease forwards;
  }
  .portfolio #overlay-me.overlay-closed {
    animation: fadeOut 0.25s ease forwards;
  }
  .portfolio #overlay-cv {
    display: none;
    width: 70%;
    height: 90%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(0.5rem);
    z-index: var(--z-modal);
    color: var(--color-text);
    text-align: center;
    padding: var(--space-xl);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: var(--border-radius);
  }
  .portfolio #overlay-header {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    display: flex;
    gap: var(--space-sm);
    align-items: center;
  }
  .portfolio #overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 40rem;
  }
  .portfolio #lang-button-overlay {
    cursor: pointer;
    padding: var(--space-xs) var(--space-sm);
    border: 0.125rem solid var(--color-accent);
    color: var(--color-accent);
    background: transparent;
    font-size: var(--font-base);
    transition: all var(--transition-fast);
    min-width: auto;
    min-height: auto;
  }
  .portfolio #lang-button-overlay:hover {
    background: var(--color-accent);
    color: var(--color-bg);
  }
  .portfolio #close-button {
    cursor: pointer;
    padding: var(--space-xs) var(--space-sm);
    border: 0.125rem solid #ff0000;
    color: #ff0000;
    background: transparent;
    font-size: var(--font-base);
    transition: all var(--transition-fast);
    min-width: auto;
    min-height: auto;
  }
  .portfolio #close-button:hover {
    background: #ff0000;
    color: var(--color-text);
  }
}
@media (max-width: 47.999rem) {
  .portfolio #overlay-me {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(10, 10, 10, 0.7) 100%);
    backdrop-filter: blur(0.5rem);
    -webkit-backdrop-filter: blur(0.5rem);
    padding: var(--space-xl) var(--space-lg);
    padding-top: 4rem;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
  .portfolio #overlay-me.overlay-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .portfolio #overlay-me.overlay-open #overlay-content {
    animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
    opacity: 0;
  }
  .portfolio #overlay-me.overlay-closed {
    visibility: visible;
    pointer-events: none;
    animation: slideDown 0.35s cubic-bezier(0.4, 0, 1, 1) forwards;
  }
  .portfolio #overlay-me.overlay-closed #overlay-content {
    animation: scaleOut 0.25s ease forwards;
  }
  .portfolio #overlay-me #overlay-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 8rem);
    max-width: 100%;
    padding-bottom: var(--space-xl);
  }
  .portfolio .paragraphs {
    display: block;
    text-align: left;
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-base);
    line-height: 1.9;
    margin-bottom: var(--space-lg);
    padding-left: var(--space-md);
    border-left: 2px solid var(--color-accent);
    animation: fadeIn 0.6s ease 0.2s forwards;
    opacity: 0;
  }
  .portfolio .paragraphs:last-of-type {
    margin-bottom: 0;
  }
  .portfolio .greet {
    display: block;
    text-align: left;
    color: var(--color-accent);
    font-size: var(--font-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    animation: fadeIn 0.5s ease 0.15s forwards;
    opacity: 0;
  }
  .portfolio #overlay-header {
    position: fixed;
    top: var(--space-md);
    right: var(--space-md);
    display: flex;
    gap: var(--space-sm);
    align-items: center;
    z-index: calc(var(--z-modal) + 1);
    animation: fadeIn 0.3s ease 0.3s forwards;
    opacity: 0;
  }
  .portfolio #lang-button-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    background: rgba(0, 0, 0, 0.7);
    color: var(--color-accent);
    font-size: var(--font-sm);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
  }
  .portfolio #lang-button-overlay:active {
    transform: scale(0.9);
    background: var(--color-accent);
    color: var(--color-bg);
  }
  .portfolio #close-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 2px solid #ff0000;
    background: rgba(0, 0, 0, 0.7);
    color: #ff0000;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    padding-bottom: 0.15rem;
  }
  .portfolio #close-button:active {
    transform: scale(0.9);
    background: #ff0000;
    color: var(--color-text);
  }
  .portfolio #overlay-cv {
    margin-bottom: var(--space-xl);
    width: 100%;
    height: 70vh;
  }
}

.portfolio--loading > .wrapper,
.portfolio--loading > canvas {
  opacity: 0;
}
.portfolio--ready > .wrapper,
.portfolio--ready > canvas {
  opacity: 1;
  transition: opacity 0.4s ease-out;
}
.portfolio__loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: portfolioLoaderFadeOut 0.4s ease-out 0.1s forwards;
}
.portfolio__loader-ring {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(93, 164, 48, 0.2);
  border-top-color: var(--color-accent, #5DA430);
  border-radius: 50%;
  animation: portfolioLoaderSpin 1s linear infinite;
}

@keyframes portfolioLoaderSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes portfolioLoaderFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    pointer-events: none;
  }
}
:root {
  --font-mono: "JetBrains Mono", "Fira Code", "SF Mono", Consolas, monospace;
  --font-size-base: clamp(0.8rem, 1.5vw, 0.95rem);
  --radius: 0.5rem;
  --radius-sm: 0.25rem;
  --color-bg: #1a1a2e;
  --color-desktop: #16213e;
  --color-surface: #0f3460;
  --color-surface-alt: #1a1a40;
  --color-text: #e4e4e4;
  --color-text-dim: #8892b0;
  --color-accent: #00d9ff;
  --color-accent-hover: #00f5ff;
  --color-green: #64ffda;
  --color-red: #ff6b6b;
  --color-yellow: #ffd93d;
  --color-purple: #bd93f9;
  --desktop-bg: linear-gradient(135deg, var(--color-bg) 0%, var(--color-desktop) 100%);
  --icon-bg: var(--color-surface);
  --icon-radius: var(--radius);
  --icon-color: var(--color-accent);
  --icon-border: 1px solid rgba(255, 255, 255, 0.1);
  --icon-shadow: none;
  --icon-hover-bg: rgba(255, 255, 255, 0.1);
  --icon-active-bg: rgba(255, 255, 255, 0.15);
  --icon-label-color: var(--color-text);
  --icon-label-shadow: none;
  --window-bg: var(--color-surface-alt);
  --window-content-bg: var(--color-surface-alt);
  --window-radius: var(--radius);
  --window-border: none;
  --window-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  --titlebar-bg: var(--color-surface);
  --titlebar-padding: 0.5rem 0.75rem;
  --titlebar-text: var(--color-text-dim);
  --titlebar-font-weight: 400;
  --titlebar-border: 1px solid rgba(255, 255, 255, 0.05);
  --titlebar-btn-gap: 0.5rem;
  --titlebar-btn-size: 1.5rem;
  --titlebar-btn-bg: rgba(255, 255, 255, 0.1);
  --titlebar-btn-border: none;
  --titlebar-btn-radius: var(--radius-sm);
  --titlebar-btn-color: var(--color-text-dim);
  --titlebar-btn-hover-bg: rgba(255, 255, 255, 0.2);
  --titlebar-btn-hover-color: var(--color-text);
  --titlebar-btn-minimize-hover: var(--color-yellow);
  --titlebar-btn-close-hover: var(--color-red);
  --taskbar-height: 3rem;
  --taskbar-bg: rgba(15, 52, 96, 0.95);
  --taskbar-border: 1px solid rgba(255, 255, 255, 0.1);
  --taskbar-item-bg: rgba(255, 255, 255, 0.1);
  --taskbar-item-border: none;
  --taskbar-item-radius: var(--radius-sm);
  --taskbar-item-color: var(--color-text);
  --taskbar-item-hover-bg: rgba(255, 255, 255, 0.2);
  --taskbar-item-icon-color: var(--color-accent);
  --taskbar-text-dim: var(--color-text-dim);
  --start-btn-bg: rgba(255, 255, 255, 0.1);
  --start-btn-border: none;
  --start-btn-radius: var(--radius-sm);
  --start-btn-hover-bg: rgba(255, 255, 255, 0.2);
  --start-btn-active-bg: var(--color-accent);
  --start-btn-icon-color: var(--color-accent);
  --start-btn-active-color: var(--color-bg);
  --menu-bg: rgba(15, 52, 96, 0.98);
  --menu-border: 1px solid rgba(255, 255, 255, 0.1);
  --menu-radius: var(--radius);
  --menu-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.5);
  --menu-header-bg: rgba(0, 0, 0, 0.2);
  --menu-avatar-bg: var(--color-surface);
  --menu-section-border: 1px solid rgba(255, 255, 255, 0.05);
  --menu-text: var(--color-text);
  --menu-text-dim: var(--color-text-dim);
  --menu-btn-bg: rgba(255, 255, 255, 0.1);
  --menu-btn-hover-bg: rgba(255, 255, 255, 0.2);
  --menu-footer-bg: rgba(0, 0, 0, 0.1);
  --terminal-bg: transparent;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-mono);
  font-size: var(--font-size-base);
  background: var(--color-bg);
  color: var(--color-text);
  overscroll-behavior: none;
}

.allow-select {
  user-select: text;
  -webkit-user-select: text;
}

::selection {
  background: var(--color-accent);
  color: var(--color-bg);
}

::-webkit-scrollbar {
  width: 0.5rem;
  height: 0.5rem;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.25rem;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.page-wrapper {
  width: 100%;
  height: 100%;
  transition: opacity 0.15s ease-out, transform 0.15s ease-out;
  will-change: opacity, transform;
}
.page-wrapper--out {
  opacity: 0;
  transform: scale(0.98);
}
.page-wrapper--in {
  opacity: 1;
  transform: scale(1);
}

.landing {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  font-family: "Segoe UI", "Inter", -apple-system, sans-serif;
  transition: background 0.5s ease;
  overflow-y: auto;
}

.landing__header {
  padding: 2rem 2rem 1.5rem;
  text-align: center;
  position: relative;
}

.landing__back-btn {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #94a3b8;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}
.landing__back-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.landing__nav {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.landing__portfolio-btn {
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #94a3b8;
  font-size: 0.85rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}
.landing__portfolio-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.landing__lang-switch {
  display: flex;
  gap: 0.25rem;
}

.landing__lang-btn {
  padding: 0.4rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}
.landing__lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}
.landing__lang-btn--active {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.landing__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing__subtitle {
  font-size: 1.1rem;
  color: #94a3b8;
  margin: 0.5rem 0 0;
  font-weight: 400;
}

@keyframes textErase {
  0% {
    clip-path: inset(0 0 0 0);
  }
  100% {
    clip-path: inset(0 100% 0 0);
  }
}
@keyframes textType {
  0% {
    clip-path: inset(0 0 0 100%);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}
[class*=text-erase] {
  display: inline-block;
  animation: textErase 0.2s ease-in forwards;
}

[class*=text-type] {
  display: inline-block;
  animation: textType 0.2s ease-out forwards;
}

.landing__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 2rem;
}

.landing__greeting {
  font-size: 1.2rem;
  color: #cbd5e1;
  text-align: center;
  max-width: 600px;
  line-height: 1.6;
  margin: 0;
}

.landing__choices {
  display: flex;
  gap: 2rem;
  width: 100%;
  max-width: 900px;
  justify-content: center;
  flex-wrap: wrap;
}

.landing__choice {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  font-family: inherit;
  color: inherit;
}
.landing__choice:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}
.landing__choice:active {
  transform: translateY(-2px);
}
.landing__choice .landing__choice-icon,
.landing__choice .landing__choice-title,
.landing__choice .landing__choice-desc,
.landing__choice .landing__choice-launch {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.landing__choice--hr:hover {
  border-color: #3b82f6;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.2);
}

.landing__choice--dev:hover {
  border-color: #10b981;
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.2);
}

.landing__choice-icon {
  margin-bottom: 1rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.landing__choice-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.landing__choice-icon--terminal {
  font-size: 2.5rem;
  font-weight: 700;
  color: #10b981;
  font-family: "Consolas", "Monaco", monospace;
}

.landing__choice-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.landing__choice-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

.landing__choice--selected.landing__choice--dev {
  transform: translateY(-4px);
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3), 0 8px 32px rgba(16, 185, 129, 0.3);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.9) 0%, rgba(5, 150, 105, 0.95) 100%);
}

.landing__choice-launch {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 150px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.landing__choice-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 100%;
  height: 100%;
  min-height: 150px;
}

.landing__choice-btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.landing__choice-btn--launch {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  color: #fff;
}
.landing__choice-btn--launch:hover {
  background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
  transform: translateY(-2px);
}
.landing__choice-btn--cancel {
  background: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.landing__choice-btn--cancel:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.landing__footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

.landing__transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: transitionFadeIn 0.3s ease forwards;
}

@keyframes transitionFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.technical {
  min-height: 100vh;
  background: #0d1117;
  color: #c9d1d9;
  font-family: "Consolas", "Monaco", monospace;
  display: flex;
  align-items: center;
  justify-content: center;
}

.technical__content {
  font-size: 1.2rem;
}

.shell-selector {
  display: flex;
  gap: 1.5rem;
  width: 100%;
  max-width: 1000px;
  justify-content: center;
  flex-wrap: wrap;
}

.shell-card {
  width: 280px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  color: inherit;
  text-align: left;
  position: relative;
}
.shell-card--available:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}
.shell-card--locked {
  cursor: not-allowed;
  opacity: 0.6;
}
.shell-card .shell-card__info,
.shell-card .shell-card__launch-overlay,
.shell-card .shell-card__lock {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.shell-card__preview {
  height: 140px;
  position: relative;
  overflow: hidden;
}
.shell-card__preview--xp {
  background: url("./assets/wallpapers/thumbs/xp.jpg") center center/cover no-repeat;
}
.shell-card__preview--macos {
  background: url("./assets/wallpapers/thumbs/bigsur.jpg") center center/cover no-repeat;
}
.shell-card__preview--ubuntu {
  background: linear-gradient(180deg, #300a24 0%, #5e2750 100%);
}

.shell-card__taskbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: linear-gradient(180deg, #3168d5 0%, #1941a5 100%);
  border-top: 1px solid #5996ff;
}
.shell-card__taskbar::before {
  content: "start";
  position: absolute;
  left: 2px;
  top: 2px;
  bottom: 2px;
  padding: 0 12px 0 8px;
  background: linear-gradient(180deg, #3c9a40 0%, #2d8230 50%, #1e6b22 100%);
  border-radius: 0 8px 8px 0;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  font-family: "Tahoma", sans-serif;
  text-transform: lowercase;
  font-style: italic;
}

.shell-card__dock {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.shell-card__sidebar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 48px;
  background: rgba(0, 0, 0, 0.4);
}
.shell-card__sidebar::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 32px;
  height: 32px;
  background: #e95420;
  border-radius: 50%;
}

.shell-card__info {
  padding: 1rem;
}

.shell-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: #fff;
}

.shell-card__version {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

.shell-card__lock {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.shell-card__lock-icon {
  font-size: 1.5rem;
}

.shell-card__lock-text {
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 500;
}

.shell-card--selected {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3), 0 8px 32px rgba(59, 130, 246, 0.2);
  transform: translateY(-4px);
}

.shell-card__launch-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(60, 154, 64, 0.9) 0%, rgba(45, 130, 48, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.shell-card__launch-overlay:hover {
  background: linear-gradient(180deg, rgba(76, 175, 80, 0.95) 0%, rgba(61, 145, 64, 0.98) 100%);
}

.shell-card__launch-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.landing--preview-xp {
  background: url("./assets/wallpapers/xp.jpg") center center/cover no-repeat;
  transition: background 0.3s ease;
}
.landing--preview-xp .landing__header,
.landing--preview-xp .landing__content,
.landing--preview-xp .landing__footer {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}
.landing--preview-xp .landing__header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.landing--preview-xp .landing__footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.landing--preview-macos {
  background: url("./assets/wallpapers/thumbs/bigsur.jpg") center center/cover no-repeat;
  transition: background 0.3s ease;
}
.landing--preview-macos .landing__header,
.landing--preview-macos .landing__content,
.landing--preview-macos .landing__footer {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
}

.landing--preview-ubuntu {
  background: linear-gradient(135deg, #300a24 0%, #5e2750 50%, #77216f 100%);
  transition: background 0.3s ease;
}

.landing--preview-terminal {
  background: #000;
}
.landing--preview-terminal .landing__header,
.landing--preview-terminal .landing__content,
.landing--preview-terminal .landing__footer {
  position: relative;
  z-index: 1;
  background: transparent;
}
.landing--preview-terminal .landing__choice--dev {
  z-index: 2;
  background: rgba(0, 0, 0, 0.7);
  border-color: #0f0;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}
.landing--preview-terminal .landing__choice--hr {
  background: rgba(0, 0, 0, 0.7);
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.landing--preview-terminal .landing__lang-switch {
  opacity: 0.4;
  pointer-events: none;
}
.landing--preview-terminal .landing__portfolio-btn {
  border-color: rgba(0, 255, 0, 0.3);
  color: #0f0;
}
.landing--preview-terminal .landing__portfolio-btn:hover {
  background: rgba(0, 255, 0, 0.1);
  border-color: #0f0;
}

.matrix-rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.matrix-rain--visible {
  opacity: 1;
}

@media (max-width: 768px) {
  .landing__header {
    padding: 1.5rem 1rem 1rem;
  }
  .landing__nav {
    position: static;
    justify-content: center;
    margin-bottom: 1rem;
  }
  .landing__lang-switch {
    justify-content: center;
  }
  .landing__title {
    font-size: 1.75rem;
  }
  .landing__subtitle {
    font-size: 1rem;
  }
  .landing__content {
    padding: 1.5rem 1rem;
    gap: 1.5rem;
    justify-content: flex-start;
  }
  .landing__greeting {
    font-size: 1rem;
  }
  .landing__choices {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .landing__choice {
    min-width: unset;
    width: 100%;
    max-width: 100%;
    padding: 1.5rem 1.25rem;
  }
  .landing__choice-icon {
    height: 48px;
    margin-bottom: 0.75rem;
  }
  .landing__choice-icon img {
    width: 40px;
    height: 40px;
  }
  .landing__choice-icon--terminal {
    font-size: 2rem;
  }
  .landing__choice-title {
    font-size: 1.25rem;
  }
  .landing__choice-desc {
    font-size: 0.9rem;
  }
  .landing__choice-buttons {
    min-height: 120px;
  }
  .landing__footer {
    padding: 1rem;
    font-size: 0.8rem;
  }
}
@media (max-width: 480px) {
  .landing__title {
    font-size: 1.5rem;
  }
  .landing__subtitle {
    font-size: 0.9rem;
  }
  .landing__lang-btn {
    padding: 0.35rem 0.5rem;
    font-size: 0.7rem;
  }
}
@media (max-width: 768px) {
  .shell-selector {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .shell-card {
    width: 100%;
    max-width: 300px;
  }
  .shell-card__preview {
    height: 100px;
  }
  .shell-card__info {
    padding: 0.75rem;
  }
  .shell-card__title {
    font-size: 1rem;
  }
  .shell-card__version {
    font-size: 0.8rem;
  }
}
@media (max-width: 480px) {
  .shell-card {
    max-width: 260px;
  }
  .shell-card__preview {
    height: 80px;
  }
  .shell-card__taskbar {
    height: 20px;
  }
  .shell-card__taskbar::before {
    font-size: 9px;
    padding: 0 8px 0 6px;
  }
  .shell-card__dock {
    height: 36px;
    width: 150px;
    border-radius: 8px;
  }
}
.desktop {
  width: 100vw;
  height: 100vh;
  background: var(--desktop-bg);
  position: relative;
  overflow: hidden;
}
.desktop__grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}
.desktop__icon-wrapper {
  position: absolute;
  pointer-events: auto;
  z-index: 1;
  width: 90px;
  height: 90px;
}
.desktop__icon-wrapper:has(.desktop-icon--dragging) {
  z-index: 9999;
}

.desktop-icon {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  box-sizing: border-box;
  cursor: default;
  user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
  overflow: hidden;
}
.desktop-icon:hover {
  background: var(--icon-hover-bg);
}
.desktop-icon--selected {
  background: var(--icon-selected-bg, var(--icon-active-bg));
  outline: var(--icon-selected-outline, 1px dashed var(--color-accent));
  outline-offset: -2px;
}
.desktop-icon--dragging {
  opacity: 0.8;
  transform: scale(1.05);
}
.desktop-icon:active:not(.desktop-icon--dragging) {
  transform: scale(0.95);
}
.desktop-icon__image {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.desktop-icon__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.desktop-icon__label {
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  color: var(--icon-label-color);
  text-shadow: var(--icon-label-shadow);
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

.window-manager {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 3rem);
  pointer-events: none;
}

.window {
  position: absolute;
  display: flex;
  flex-direction: column;
  background: var(--window-bg);
  border-radius: var(--window-radius);
  border: var(--window-border);
  box-shadow: var(--window-shadow);
  pointer-events: auto;
  overflow: hidden;
}
.window__content {
  flex: 1;
  overflow: auto;
  background: var(--window-content-bg);
}
.window__resize {
  position: absolute;
  background: transparent;
}
.window__resize--e {
  top: 0;
  right: 0;
  width: 5px;
  height: 100%;
  cursor: ew-resize;
}
.window__resize--s {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  cursor: ns-resize;
}
.window__resize--se {
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  cursor: nwse-resize;
}

.titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--titlebar-padding);
  background: var(--titlebar-bg);
  cursor: move;
  user-select: none;
  border-bottom: var(--titlebar-border);
}
.titlebar__title {
  font-size: 0.85rem;
  color: var(--titlebar-text);
  font-weight: var(--titlebar-font-weight);
}
.titlebar__buttons {
  display: flex;
  gap: var(--titlebar-btn-gap);
}
.titlebar__btn {
  width: var(--titlebar-btn-size);
  height: var(--titlebar-btn-size);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--titlebar-btn-bg);
  border: var(--titlebar-btn-border);
  border-radius: var(--titlebar-btn-radius);
  color: var(--titlebar-btn-color);
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.titlebar__btn:hover {
  background: var(--titlebar-btn-hover-bg);
  color: var(--titlebar-btn-hover-color);
}
.titlebar__btn--minimize:hover {
  background: var(--titlebar-btn-minimize-hover);
}
.titlebar__btn--close:hover {
  background: var(--titlebar-btn-close-hover);
  color: white;
}

.taskbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--taskbar-height);
  z-index: 100;
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  padding: 0 0.75rem 0 0;
  background: var(--taskbar-bg);
  border-top: var(--taskbar-border);
}
.taskbar__windows {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.taskbar__tray {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.75rem;
  background: var(--taskbar-tray-bg, transparent);
  border-left: var(--taskbar-tray-border, none);
  margin-left: auto;
  margin-right: -0.75rem;
}
.taskbar .start-menu-container {
  display: flex;
  align-items: stretch;
}

.panel-window-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  background: var(--taskbar-item-bg);
  border: var(--taskbar-item-border);
  border-radius: var(--taskbar-item-radius);
  color: var(--taskbar-item-color);
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.panel-window-btn:hover {
  background: var(--taskbar-item-hover-bg);
}
.panel-window-btn--minimized {
  opacity: 0.5;
}
.panel-window-btn__icon {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
}
.panel-window-btn__title {
  font-weight: 500;
}

.panel-clock {
  font-size: 0.75rem;
  color: var(--taskbar-text-dim, #ffffff);
  font-weight: 500;
}

.panel-lang {
  font-size: 0.75rem;
  color: var(--taskbar-text-dim, #ffffff);
  font-weight: 500;
}

.start-menu-container {
  position: relative;
}

.start-menu__backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
}

.start-menu__button {
  display: flex;
  align-items: center;
  gap: var(--start-btn-gap, 0.25rem);
  height: 100%;
  padding: var(--start-btn-padding, 0 0.75rem);
  background: var(--start-btn-bg);
  border: var(--start-btn-border);
  border-radius: var(--start-btn-radius);
  cursor: pointer;
  transition: all 0.15s ease;
}
.start-menu__button:hover {
  background: var(--start-btn-hover-bg);
}
.start-menu__button--active {
  background: var(--start-btn-active-bg);
}

.start-menu__button-icon {
  width: var(--start-btn-icon-size, 1.25rem);
  height: var(--start-btn-icon-size, 1.25rem);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--start-btn-icon-font, 1rem);
  color: var(--start-btn-icon-color);
}

.start-menu__button-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.start-menu__button-text {
  font-weight: var(--start-btn-text-weight, 700);
  font-style: var(--start-btn-text-style, normal);
  font-size: var(--start-btn-text-size, 0.9rem);
  color: var(--start-btn-icon-color);
  display: var(--start-btn-text-display, block);
}

.start-menu {
  position: absolute;
  bottom: var(--menu-position-bottom, calc(100% + 0.25rem));
  left: var(--menu-position-left, 0);
  top: var(--menu-position-top, auto);
  width: var(--menu-width, 20rem);
  z-index: 1000;
  background: var(--menu-bg);
  border: var(--menu-border);
  border-radius: var(--menu-radius);
  box-shadow: var(--menu-shadow);
  overflow: hidden;
  backdrop-filter: var(--menu-backdrop, none);
  animation: menuSlideUp 0.15s ease;
}
@keyframes menuSlideUp {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.start-menu__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: var(--menu-header-padding, 0.75rem 1rem);
  background: var(--menu-header-bg);
  border-bottom: var(--menu-section-border);
}

.start-menu__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--menu-avatar-size, 3rem);
  height: var(--menu-avatar-size, 3rem);
  background: var(--menu-avatar-bg);
  border: var(--menu-avatar-border, none);
  border-radius: var(--menu-avatar-radius, 50%);
  font-size: 1rem;
  font-weight: 700;
  color: var(--menu-avatar-color, var(--color-accent));
  box-shadow: var(--menu-avatar-shadow, none);
}

.start-menu__user-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.start-menu__username {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--menu-header-text, var(--menu-text));
  text-shadow: var(--menu-header-text-shadow, none);
}

.start-menu__role {
  font-size: 0.75rem;
  color: var(--menu-header-text-dim, var(--menu-text-dim));
}

.start-menu__body {
  display: var(--menu-body-display, flex);
  flex-direction: var(--menu-body-direction, row);
  min-height: var(--menu-body-min-height, 12rem);
}

.start-menu__left {
  flex: var(--menu-left-flex, 1);
  display: flex;
  flex-direction: column;
  background: var(--menu-left-bg, #ffffff);
  border-right: var(--menu-left-border, 1px solid #aaa);
}

.start-menu__programs {
  flex: 1;
  padding: 0.5rem 0;
}

.start-menu__right {
  width: var(--menu-right-width, 10rem);
  background: var(--menu-right-bg, #6699cc);
  padding: 0.5rem 0;
}

.start-menu__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: var(--menu-item-padding, 0.375rem 0.75rem);
  background: transparent;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.1s ease;
}
.start-menu__item:hover {
  background: var(--menu-item-hover-bg, var(--color-accent));
}
.start-menu__item:hover .start-menu__item-label,
.start-menu__item:hover .start-menu__item-desc,
.start-menu__item:hover .start-menu__item-icon {
  color: var(--menu-item-hover-color, #ffffff);
}

.start-menu__item-icon {
  width: var(--menu-item-icon-size, 2rem);
  height: var(--menu-item-icon-size, 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--menu-item-icon-color, var(--color-accent));
}

.start-menu__item-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.start-menu__item-label {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--menu-item-label-color, #000);
}

.start-menu__item-desc {
  font-size: 0.65rem;
  color: var(--menu-item-desc-color, #666);
}

.start-menu__separator {
  height: 1px;
  margin: 0.5rem 0.75rem;
  background: var(--menu-separator-bg, linear-gradient(90deg, transparent, #aaa, transparent));
}

.start-menu__all-programs {
  display: var(--menu-all-programs-display, flex);
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  margin-top: auto;
  border-top: var(--menu-section-border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--menu-text);
  cursor: pointer;
}
.start-menu__all-programs:hover {
  background: var(--menu-item-hover-bg);
  color: var(--menu-item-hover-color);
}

.start-menu__arrow {
  font-size: 0.6rem;
}

.start-menu__section {
  padding: 0.25rem 0;
}

.start-menu__section-header {
  padding: 0.25rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--menu-section-header-color, #fff);
  text-shadow: var(--menu-section-header-shadow, none);
}

.start-menu__theme-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.25rem 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.1s ease;
  font-size: 0.75rem;
  color: var(--menu-theme-text, #fff);
}
.start-menu__theme-item::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}
.start-menu__theme-item:hover {
  background: var(--menu-theme-hover-bg, rgba(255, 255, 255, 0.2));
}
.start-menu__theme-item--active {
  font-weight: 700;
}
.start-menu__theme-item--active::before {
  background: radial-gradient(circle at center, #fff 0%, #fff 35%, #4a90d9 40%, #316ac5 100%);
  border-color: #fff;
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
}

.start-menu__lang-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.25rem 0.5rem;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 0.7rem;
  color: var(--menu-lang-text, #fff);
  cursor: pointer;
  transition: background 0.1s ease;
}
.start-menu__lang-item::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}
.start-menu__lang-item:hover {
  background: var(--menu-lang-hover-bg, rgba(255, 255, 255, 0.2));
}
.start-menu__lang-item--active {
  font-weight: 700;
}
.start-menu__lang-item--active::before {
  background: radial-gradient(circle at center, #fff 0%, #fff 35%, #4a90d9 40%, #316ac5 100%);
  border-color: #fff;
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
}

.start-menu__footer {
  display: flex;
  gap: 0.5rem;
  padding: var(--menu-footer-padding, 0.5rem 0.75rem);
  background: var(--menu-footer-bg);
  border-top: var(--menu-section-border);
}

.start-menu__footer-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: var(--menu-footer-btn-bg, var(--menu-btn-bg));
  border: var(--menu-footer-btn-border, 1px solid #808080);
  border-radius: var(--menu-footer-btn-radius, 0.2rem);
  font-size: 0.7rem;
  color: var(--menu-footer-btn-color, #000);
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--menu-footer-btn-shadow, none);
}
.start-menu__footer-btn:hover {
  background: var(--menu-footer-btn-hover-bg, var(--menu-btn-hover-bg));
}

.start-menu__footer-icon {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
}

.start-menu__pinned {
  padding: 0.25rem 0;
  border-left: var(--menu-pinned-border, 2px solid #ff8c00);
  margin-left: -2px;
}

.start-menu__item--pinned .start-menu__item-icon {
  width: var(--menu-pinned-icon-size, 2rem);
  height: var(--menu-pinned-icon-size, 2rem);
}

.start-menu__right-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.375rem 0.75rem;
  background: transparent;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.1s ease;
  font-family: inherit;
  font-size: inherit;
  text-align: left;
}
.start-menu__right-item:hover {
  background: var(--menu-theme-hover-bg, rgba(255, 255, 255, 0.2));
}
.start-menu__right-item:hover .start-menu__right-item-label {
  color: var(--menu-item-hover-color, #ffffff);
}
.start-menu__right-item--bold .start-menu__right-item-label {
  font-weight: 700;
}

.start-menu__right-item-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.start-menu__right-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.start-menu__right-item-label {
  font-size: 0.75rem;
  color: var(--menu-theme-text, #ffffff);
}

.start-menu__separator--right {
  background: var(--menu-separator-right-bg, rgba(255, 255, 255, 0.3));
  margin: 0.5rem 0.5rem;
}

.start-menu__settings {
  padding: 0.25rem 0;
}

.start-menu__settings-title {
  padding: 0.25rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--menu-section-header-color, #ffffff);
  text-shadow: var(--menu-section-header-shadow, none);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.start-menu__avatar {
  overflow: hidden;
}
.start-menu__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.start-menu__all-programs-icon {
  font-size: 0.6rem;
  margin-right: 0.5rem;
}

.start-menu__item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.menubar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--menubar-height, 24px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.5rem;
  background: var(--menubar-bg);
  backdrop-filter: var(--menubar-blur, blur(20px));
  border-bottom: var(--menubar-border, none);
}
.menubar__left {
  display: flex;
  align-items: center;
  gap: 0;
}
.menubar__apple-container {
  position: relative;
}
.menubar__backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 199;
}
.menubar__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.menubar__apple {
  width: 1.25rem;
  height: 1.25rem;
  padding: 0.25rem 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 0.25rem;
}
.menubar__apple::before {
  content: "";
  font-size: 0.9rem;
}
.menubar__apple:hover {
  background: var(--menubar-hover-bg, rgba(255, 255, 255, 0.1));
}
.menubar__app-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--menubar-text);
  padding: 0.25rem 0.5rem;
}
.menubar__menu {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--menubar-text);
  padding: 0.25rem 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 0.25rem;
}
.menubar__menu:hover {
  background: var(--menubar-hover-bg, rgba(255, 255, 255, 0.1));
}
.menubar__system-icon {
  width: 1rem;
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--menubar-text);
  opacity: 0.9;
}
.menubar__system-icon--battery::before {
  content: "🔋";
}
.menubar__system-icon--wifi::before {
  content: "📶";
}
.menubar__system-icon--volume::before {
  content: "🔊";
}
.menubar__system-icon--spotlight::before {
  content: "🔍";
}
.menubar__system-icon--control-center::before {
  content: "⚙️";
}
.menubar .panel-clock {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--menubar-text);
}
.menubar .panel-lang {
  font-size: 0.75rem;
  color: var(--menubar-text);
  opacity: 0.8;
}

.apple-menu {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  min-width: 14rem;
  z-index: 300;
  background: var(--apple-menu-bg, rgba(30, 30, 30, 0.95));
  backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  padding: 0.25rem 0;
  animation: menuFadeIn 0.15s ease;
}
@keyframes menuFadeIn {
  from {
    opacity: 0;
    transform: translateY(-0.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.apple-menu__item {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 0.8rem;
  color: var(--apple-menu-text, #ffffff);
  cursor: pointer;
  transition: background 0.1s ease;
}
.apple-menu__item:hover {
  background: var(--apple-menu-hover, #007aff);
}
.apple-menu__item--bold {
  font-weight: 600;
}
.apple-menu__item--active {
  background: var(--apple-menu-active, rgba(0, 122, 255, 0.3));
}
.apple-menu__item--active::before {
  content: "✓ ";
}
.apple-menu__separator {
  height: 1px;
  margin: 0.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.1);
}
.apple-menu__section {
  padding: 0.125rem 0;
}
.apple-menu__section-title {
  display: block;
  padding: 0.25rem 0.75rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dock {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: var(--dock-bg);
  backdrop-filter: var(--dock-blur, blur(20px));
  border: var(--dock-border);
  border-radius: var(--dock-radius, 1rem);
  box-shadow: var(--dock-shadow);
}
.dock__apps, .dock__minimized {
  display: flex;
  align-items: flex-end;
  gap: 0.125rem;
}
.dock__separator {
  width: 1px;
  height: 2.5rem;
  margin: 0 0.25rem;
  background: var(--dock-separator, rgba(255, 255, 255, 0.2));
}
.dock__item, .dock__minimized-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.dock__item:hover, .dock__minimized-item:hover {
  transform: translateY(-0.5rem) scale(1.2);
}
.dock__item-icon, .dock__minimized-icon {
  width: var(--dock-icon-size, 3rem);
  height: var(--dock-icon-size, 3rem);
  object-fit: contain;
  border-radius: var(--dock-icon-radius, 0.75rem);
  box-shadow: var(--dock-icon-shadow);
}
.dock__item-indicator {
  position: absolute;
  bottom: -0.25rem;
  width: 0.25rem;
  height: 0.25rem;
  background: var(--dock-indicator, #ffffff);
  border-radius: 50%;
}
.dock__trash {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
}
.dock__trash-icon {
  width: var(--dock-icon-size, 3rem);
  height: var(--dock-icon-size, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.dock__trash-icon::before {
  content: "🗑️";
}

.sidebar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-width, 56px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
  background: var(--sidebar-bg);
  border-right: var(--sidebar-border);
}
.sidebar__launcher {
  padding: 0.5rem;
  margin-bottom: 0.5rem;
}
.sidebar__ubuntu-btn {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sidebar-launcher-bg);
  border: none;
  border-radius: var(--sidebar-launcher-radius, 0.5rem);
  cursor: pointer;
  transition: all 0.15s ease;
}
.sidebar__ubuntu-btn:hover {
  background: var(--sidebar-launcher-hover-bg);
}
.sidebar__ubuntu-icon {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar__ubuntu-icon::before {
  content: "⚙️";
  font-size: 1.5rem;
}
.sidebar__apps {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 0.5rem;
}
.sidebar__running {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 0.5rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--sidebar-separator, rgba(255, 255, 255, 0.1));
  padding-top: 0.5rem;
}
.sidebar__bottom {
  margin-top: auto;
  padding: 0 0.5rem;
}
.sidebar__item {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: var(--sidebar-item-radius, 0.5rem);
  cursor: pointer;
  transition: all 0.15s ease;
}
.sidebar__item:hover {
  background: var(--sidebar-item-hover-bg, rgba(255, 255, 255, 0.1));
}
.sidebar__item--open::before {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0.5rem;
  background: var(--sidebar-indicator, #e95420);
  border-radius: 0 2px 2px 0;
}
.sidebar__item--focused {
  background: var(--sidebar-item-active-bg, rgba(255, 255, 255, 0.15));
}
.sidebar__item--focused::before {
  height: 1.25rem;
}
.sidebar__item--trash {
  margin-top: 0.5rem;
}
.sidebar__item-icon {
  width: var(--sidebar-icon-size, 2rem);
  height: var(--sidebar-icon-size, 2rem);
  object-fit: contain;
}
.sidebar__trash-icon {
  width: var(--sidebar-icon-size, 2rem);
  height: var(--sidebar-icon-size, 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.sidebar__trash-icon::before {
  content: "🗑️";
}

.terminal-app {
  height: 100%;
  padding: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-y: auto;
  cursor: text;
  background: var(--terminal-bg);
  color: var(--terminal-text, var(--color-text));
}
.terminal-app__welcome {
  color: var(--terminal-text-dim, var(--color-text-dim));
  margin-bottom: 1rem;
  font-style: italic;
}
.terminal-app__welcome code {
  color: var(--terminal-green, var(--color-green));
  font-style: normal;
}
.terminal-app__history {
  margin-bottom: 0.5rem;
}
.terminal-app__entry {
  margin-bottom: 1rem;
}
.terminal-app__prompt {
  display: flex;
  flex-wrap: wrap;
}
.terminal-app__user {
  color: var(--terminal-green, var(--color-green));
  font-weight: 600;
}
.terminal-app__at {
  color: var(--terminal-text-dim, var(--color-text-dim));
}
.terminal-app__host {
  color: var(--terminal-purple, var(--color-purple));
}
.terminal-app__sep {
  color: var(--terminal-text-dim, var(--color-text-dim));
}
.terminal-app__dir {
  color: var(--terminal-text, var(--color-text));
}
.terminal-app__cmd {
  color: var(--terminal-text, var(--color-text));
}
.terminal-app__output {
  margin-top: 0.25rem;
  white-space: pre-wrap;
  color: var(--terminal-text, var(--color-text));
}
.terminal-app__line {
  min-height: 1.2em;
}
.terminal-app__input-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.terminal-app__input-wrapper {
  flex: 1;
  display: inline-flex;
  align-items: center;
}
.terminal-app__input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--terminal-text, var(--color-text));
  font: inherit;
  caret-color: var(--terminal-green, var(--color-accent));
  min-width: 1ch;
}
.terminal-app__suggestion {
  color: var(--terminal-text-dim, var(--color-text-dim));
  opacity: 0.5;
}

.explorer {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--explorer-bg, #fff);
  font-family: var(--explorer-font, "Tahoma", "Segoe UI", sans-serif);
  font-size: var(--explorer-font-size, 11px);
}

.file-viewer {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--file-viewer-bg, #fff);
  font-family: var(--explorer-font, "Tahoma", "Segoe UI", sans-serif);
}
.file-viewer__content {
  flex: 1;
  padding: 12px 16px;
  overflow-y: auto;
  background: var(--file-viewer-bg, #fff);
}
.file-viewer__text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--explorer-text-color, #000);
  white-space: pre-wrap;
  font-family: "Consolas", "Courier New", monospace;
}
.file-viewer__markdown {
  font-size: 12px;
  line-height: 1.5;
  color: var(--explorer-text-color, #000);
}
.file-viewer__markdown h1, .file-viewer__markdown h2, .file-viewer__markdown h3, .file-viewer__markdown h4, .file-viewer__markdown h5, .file-viewer__markdown h6 {
  margin: 0.5em 0 0.25em;
  font-weight: 700;
  color: var(--explorer-heading-color, #003399);
}
.file-viewer__markdown h1 {
  font-size: 1.4em;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.2em;
}
.file-viewer__markdown h2 {
  font-size: 1.2em;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.2em;
}
.file-viewer__markdown h3 {
  font-size: 1.1em;
}
.file-viewer__markdown p {
  margin: 0.5em 0;
}
.file-viewer__markdown ul, .file-viewer__markdown ol {
  margin: 0.5em 0;
  padding-left: 1.5em;
}
.file-viewer__markdown li {
  margin: 0.2em 0;
}
.file-viewer__markdown code {
  background: #f0f0f0;
  padding: 0.1em 0.3em;
  border-radius: 2px;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.95em;
}
.file-viewer__markdown pre {
  background: #1e1e1e;
  color: #d4d4d4;
  padding: 0.75em;
  border-radius: 3px;
  overflow-x: auto;
  margin: 0.5em 0;
}
.file-viewer__markdown pre code {
  background: none;
  padding: 0;
  color: inherit;
}
.file-viewer__markdown a {
  color: #0066cc;
  text-decoration: none;
  cursor: pointer;
}
.file-viewer__markdown a:hover {
  text-decoration: underline;
}
.file-viewer__markdown table {
  border-collapse: collapse;
  margin: 0.5em 0;
  width: 100%;
}
.file-viewer__markdown th, .file-viewer__markdown td {
  border: 1px solid #ccc;
  padding: 0.4em 0.6em;
  text-align: left;
}
.file-viewer__markdown th {
  background: #f0f0f0;
  font-weight: 600;
}
.file-viewer__empty {
  color: var(--explorer-text-dim, #808080);
  font-style: italic;
}

.explorer__toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: var(--explorer-toolbar-padding, 2px 4px);
  background: var(--explorer-toolbar-bg, linear-gradient(180deg, #fafafa 0%, #e8e8e8 100%));
  border-bottom: var(--explorer-toolbar-border, 1px solid #919b9c);
}

.explorer__toolbar-buttons {
  display: flex;
  align-items: center;
  gap: 2px;
}

.explorer__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 22px;
  background: var(--explorer-btn-bg, transparent);
  border: var(--explorer-btn-border, 1px solid transparent);
  border-radius: var(--explorer-btn-radius, 3px);
  cursor: pointer;
  color: var(--explorer-btn-color, #000);
  font-size: 10px;
}
.explorer__nav-btn:hover:not(:disabled) {
  background: var(--explorer-btn-hover-bg, linear-gradient(180deg, #fff 0%, #e3e3e3 100%));
  border-color: var(--explorer-btn-hover-border, #b8d6fb #658aad #658aad #b8d6fb);
}
.explorer__nav-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.explorer__nav-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.explorer__separator {
  width: 1px;
  height: 20px;
  background: var(--explorer-separator-color, #c0c0c0);
  margin: 0 4px;
}

.explorer__address {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.explorer__address-label {
  color: var(--explorer-text-color, #000);
  font-size: 11px;
}

.explorer__address-bar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 4px;
  background: var(--explorer-addressbar-bg, #fff);
  border: var(--explorer-addressbar-border, 1px solid #7f9db9);
  border-radius: var(--explorer-addressbar-radius, 0);
}

.explorer__address-icon {
  width: 16px;
  height: 16px;
}

.explorer__address-path {
  color: var(--explorer-text-color, #000);
  font-size: 11px;
}

.explorer__body {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.explorer__sidebar {
  width: var(--explorer-sidebar-width, 180px);
  background: var(--explorer-sidebar-bg, linear-gradient(180deg, #6b9cd5 0%, #4778b3 50%, #6b9cd5 100%));
  padding: var(--explorer-sidebar-padding, 8px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  border-right: var(--explorer-sidebar-border, 1px solid #3c5a8e);
}

.explorer__task-panel {
  background: var(--explorer-panel-bg, linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 100%));
  border-radius: var(--explorer-panel-radius, 5px);
  overflow: hidden;
}

.explorer__task-header {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 6px 8px;
  background: var(--explorer-panel-header-bg, linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.05) 100%));
  border: none;
  border-bottom: var(--explorer-panel-header-border, 1px solid rgba(255, 255, 255, 0.2));
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.explorer__task-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.explorer__task-title {
  flex: 1;
  font-size: 11px;
  font-weight: 700;
  color: var(--explorer-sidebar-text, #fff);
  text-shadow: var(--explorer-sidebar-text-shadow, 1px 1px 1px rgba(0, 0, 0, 0.4));
}

.explorer__task-toggle {
  font-size: 8px;
  color: var(--explorer-sidebar-text-dim, rgba(255, 255, 255, 0.8));
}

.explorer__task-content {
  padding: 6px 8px;
}
.explorer__task-content--collapsed {
  display: none;
}

.explorer__task-link,
.explorer__task-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 0;
  color: var(--explorer-sidebar-text, #fff);
  font-size: 11px;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  text-align: left;
  width: 100%;
}
.explorer__task-link:hover,
.explorer__task-btn:hover {
  text-decoration: underline;
}

.explorer__task-bullet {
  color: var(--explorer-sidebar-text-dim, rgba(255, 255, 255, 0.8));
  font-size: 10px;
}

.explorer__details {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 4px 0;
}

.explorer__details-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.explorer__details-info {
  flex: 1;
}

.explorer__details-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--explorer-sidebar-text, #fff);
  word-break: break-word;
}

.explorer__details-type {
  font-size: 10px;
  color: var(--explorer-sidebar-text-dim, rgba(255, 255, 255, 0.8));
  margin-top: 2px;
}

.explorer__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--explorer-content-bg, #fff);
  overflow: hidden;
}

.explorer__files {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px;
  align-content: flex-start;
  min-height: 120px;
  border-bottom: var(--explorer-files-border, 1px solid #aca899);
}
.explorer__files--full {
  flex: 1;
  border-bottom: none;
  overflow-y: auto;
}

.explorer__file {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 72px;
  padding: 4px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--explorer-file-radius, 0);
  cursor: default;
  font-family: inherit;
}
.explorer__file:hover {
  background: var(--explorer-file-hover-bg, rgba(49, 106, 197, 0.1));
  border-color: var(--explorer-file-hover-border, #316ac5);
}
.explorer__file--selected {
  background: var(--explorer-file-selected-bg, #316ac5) !important;
  border-color: var(--explorer-file-selected-border, #316ac5) !important;
}
.explorer__file--selected .explorer__file-name {
  color: var(--explorer-file-selected-text, #fff);
  background: var(--explorer-file-selected-bg, #316ac5);
}

.explorer__file-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-bottom: 2px;
}

.explorer__file-name {
  font-size: 11px;
  color: var(--explorer-text-color, #000);
  text-align: center;
  word-break: break-word;
  line-height: 1.2;
  padding: 1px 2px;
}

.explorer__preview {
  flex: 1;
  padding: 8px;
  overflow-y: auto;
  background: var(--explorer-content-bg, #fff);
}

.explorer__preview-content {
  font-size: 11px;
  line-height: 1.5;
  color: var(--explorer-text-color, #000);
  white-space: pre-wrap;
}
.explorer__preview-content--markdown {
  white-space: normal;
}
.explorer__preview-content--markdown h1, .explorer__preview-content--markdown h2, .explorer__preview-content--markdown h3, .explorer__preview-content--markdown h4, .explorer__preview-content--markdown h5, .explorer__preview-content--markdown h6 {
  margin: 0.5em 0 0.25em;
  font-weight: 700;
  color: var(--explorer-heading-color, #003399);
}
.explorer__preview-content--markdown h1 {
  font-size: 1.4em;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.2em;
}
.explorer__preview-content--markdown h2 {
  font-size: 1.2em;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.2em;
}
.explorer__preview-content--markdown h3 {
  font-size: 1.1em;
}
.explorer__preview-content--markdown h4 {
  font-size: 1em;
}
.explorer__preview-content--markdown p {
  margin: 0.5em 0;
}
.explorer__preview-content--markdown ul, .explorer__preview-content--markdown ol {
  margin: 0.5em 0;
  padding-left: 1.5em;
}
.explorer__preview-content--markdown li {
  margin: 0.2em 0;
}
.explorer__preview-content--markdown code {
  background: #f0f0f0;
  padding: 0.1em 0.3em;
  border-radius: 2px;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.95em;
}
.explorer__preview-content--markdown pre {
  background: #1e1e1e;
  color: #d4d4d4;
  padding: 0.75em;
  border-radius: 3px;
  overflow-x: auto;
  margin: 0.5em 0;
}
.explorer__preview-content--markdown pre code {
  background: none;
  padding: 0;
  color: inherit;
}
.explorer__preview-content--markdown blockquote {
  border-left: 3px solid #0066cc;
  margin: 0.5em 0;
  padding: 0.25em 0.75em;
  background: #f5f5f5;
  color: #555;
}
.explorer__preview-content--markdown a {
  color: #0066cc;
  text-decoration: none;
  cursor: pointer;
}
.explorer__preview-content--markdown a:hover {
  text-decoration: underline;
}
.explorer__preview-content--markdown table {
  border-collapse: collapse;
  margin: 0.5em 0;
  width: 100%;
}
.explorer__preview-content--markdown th, .explorer__preview-content--markdown td {
  border: 1px solid #ccc;
  padding: 0.4em 0.6em;
  text-align: left;
}
.explorer__preview-content--markdown th {
  background: #f0f0f0;
  font-weight: 600;
}
.explorer__preview-content--markdown hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 1em 0;
}
.explorer__preview-content--markdown strong {
  font-weight: 700;
}
.explorer__preview-content--markdown em {
  font-style: italic;
}
.explorer__preview-content--markdown del {
  text-decoration: line-through;
  color: #999;
}
.explorer__preview-content--markdown img {
  max-width: 100%;
  height: auto;
}

.explorer__preview-empty,
.explorer__empty {
  color: var(--explorer-text-dim, #808080);
  font-style: italic;
  font-size: 11px;
}

.pictures-grid {
  gap: 8px !important;
}
.pictures-grid__item {
  width: 100px !important;
  height: auto !important;
}
.pictures-grid__thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border: 1px solid #ccc;
  margin-bottom: 4px;
}

.pdf-viewer {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #1e1e1e;
  font-family: "Consolas", "Monaco", "Courier New", monospace;
}
.pdf-viewer__content {
  flex: 1;
  padding: 16px 20px;
  overflow-y: auto;
}
.pdf-viewer__code {
  color: #9cdcfe;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  white-space: pre-wrap;
}
.pdf-viewer__link {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 16px;
  background: #0e639c;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 13px;
  transition: background 0.2s;
}
.pdf-viewer__link:hover {
  background: #1177bb;
}

.my-computer {
  display: flex;
  height: 100%;
  background: #fff;
  font-size: 0.8rem;
}

.my-computer__sidebar {
  width: 200px;
  background: linear-gradient(180deg, #6b9cd5 0%, #4a7fc4 100%);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
}

.my-computer__content {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  background: #fff;
}

.my-computer__task-group {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 0.25rem;
  overflow: hidden;
}

.my-computer__task-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
  font-weight: 600;
  font-size: 0.75rem;
  color: #fff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.my-computer__task-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.my-computer__task-list {
  padding: 0.25rem 0.5rem;
}

.my-computer__task-link {
  display: block;
  padding: 0.25rem 0;
  color: #fff;
  text-decoration: none;
  font-size: 0.7rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.my-computer__task-link:hover {
  text-decoration: underline;
}

.my-computer__details {
  padding: 0.5rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.my-computer__details-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.my-computer__details-text {
  display: flex;
  flex-direction: column;
}

.my-computer__details-name {
  font-weight: 600;
  font-size: 0.7rem;
  color: #fff;
}

.my-computer__details-type {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.8);
}

.my-computer__section {
  margin-bottom: 1.5rem;
}

.my-computer__section-header {
  font-size: 0.75rem;
  font-weight: 600;
  color: #215dc6;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #c0c0c0;
  margin-bottom: 0.75rem;
}

.my-computer__items {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.my-computer__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  background: none;
  cursor: pointer;
  width: 80px;
  text-align: center;
  transition: all 0.1s ease;
}
.my-computer__item:hover {
  background: rgba(49, 106, 197, 0.1);
  border-color: rgba(49, 106, 197, 0.3);
}
.my-computer__item:active {
  background: rgba(49, 106, 197, 0.2);
}

.my-computer__item-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.my-computer__item-name {
  font-size: 0.7rem;
  color: #000;
  word-break: break-word;
}

.system-info {
  height: 100%;
  padding: 16px;
  background: var(--explorer-content-bg, #fff);
  overflow-y: auto;
  font-family: var(--explorer-font, "Tahoma", "Segoe UI", sans-serif);
  font-size: 11px;
  color: var(--explorer-text-color, #000);
}

.system-info__header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #ccc;
}

.system-info__logo {
  width: 48px;
  height: 48px;
}

.system-info__title h1 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #003399;
}

.system-info__subtitle {
  font-size: 12px;
  color: #666;
  margin: 2px 0 0;
}

.system-info__sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.system-info__section {
  background: linear-gradient(180deg, #f5f5f5 0%, #fff 100%);
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 12px;
}

.system-info__section-title {
  font-size: 12px;
  font-weight: 700;
  color: #003399;
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #ddd;
}

.system-info__rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.system-info__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.system-info__label {
  color: #666;
  flex-shrink: 0;
}

.system-info__value {
  font-weight: 600;
  text-align: right;
  color: #000;
}

.context-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99998;
}

.context-menu {
  position: fixed;
  z-index: 99999;
  min-width: 180px;
  background: var(--context-menu-bg, #ffffff);
  border: var(--context-menu-border, 1px solid #808080);
  box-shadow: var(--context-menu-shadow, 2px 2px 4px rgba(0, 0, 0, 0.3));
  padding: 2px 0;
  font-family: var(--context-menu-font, "Tahoma", "Segoe UI", sans-serif);
  font-size: 11px;
}
.context-menu__item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 4px 24px 4px 28px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  text-align: left;
  color: var(--context-menu-text, #000000);
  cursor: default;
}
.context-menu__item:hover:not(.context-menu__item--disabled) {
  background: var(--context-menu-hover-bg, #316ac5);
  color: var(--context-menu-hover-text, #ffffff);
}
.context-menu__item--disabled {
  color: var(--context-menu-disabled, #808080);
}
.context-menu__item--bold {
  font-weight: 700;
}
.context-menu__separator {
  height: 1px;
  margin: 3px 2px;
  background: var(--context-menu-separator, #c0c0c0);
}

.tech-terminal {
  height: 100vh;
  background: #0d1117;
  display: flex;
  flex-direction: column;
  font-family: "JetBrains Mono", "Fira Code", "Consolas", "Monaco", monospace;
  cursor: text;
  overflow: hidden;
}

.tech-terminal__body {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.tech-terminal__output {
  flex: 1 1 auto;
}

.tech-terminal__entry {
  margin-bottom: 0.5rem;
}

.tech-terminal__prompt-line {
  display: flex;
  flex-wrap: wrap;
}

.tech-terminal__prompt {
  color: #7ee787;
  font-weight: 600;
}

.tech-terminal__prompt-sep {
  color: #8b949e;
}

.tech-terminal__prompt-dir {
  color: #79c0ff;
  font-weight: 600;
}

.tech-terminal__prompt-end {
  color: #8b949e;
  margin-right: 0.5rem;
}

.tech-terminal__cmd {
  color: #c9d1d9;
}

.tech-terminal__result {
  color: #8b949e;
  margin: 0.25rem 0 0;
  white-space: pre-wrap;
  font-size: 0.9rem;
  line-height: 1.5;
}

.tech-terminal__input-line {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
}

.tech-terminal__input-wrapper {
  flex: 1;
  display: inline-flex;
  align-items: center;
}

.tech-terminal__input {
  background: transparent;
  border: none;
  outline: none;
  color: #c9d1d9;
  font-family: inherit;
  font-size: inherit;
  caret-color: #58a6ff;
  min-width: 1ch;
}

.tech-terminal__suggestion {
  color: #484f58;
  pointer-events: none;
}

.tech-terminal__line {
  min-height: 1.2em;
}

.tech-terminal__link {
  color: #58a6ff;
  text-decoration: none;
}
.tech-terminal__link:hover {
  text-decoration: underline;
}

.tech-terminal__result .ascii-logo {
  color: #58a6ff;
}

.tech-terminal__body::-webkit-scrollbar {
  width: 8px;
}
.tech-terminal__body::-webkit-scrollbar-track {
  background: #0d1117;
}
.tech-terminal__body::-webkit-scrollbar-thumb {
  background: #30363d;
  border-radius: 4px;
}
.tech-terminal__body::-webkit-scrollbar-thumb:hover {
  background: #484f58;
}

@media (max-width: 768px) {
  .tech-terminal__body {
    padding: 1rem;
  }
  .tech-terminal__result {
    font-size: 0.8rem;
  }
  .tech-terminal__input-line {
    font-size: 0.85rem;
    flex-wrap: wrap;
  }
  .tech-terminal__prompt {
    font-size: 0.8rem;
  }
}
@media (max-width: 480px) {
  .tech-terminal__body {
    padding: 0.75rem;
  }
  .tech-terminal__result {
    font-size: 0.7rem;
  }
  .tech-terminal__line--ascii {
    font-size: clamp(0.35rem, 1.4vw, 0.7rem);
    line-height: 1.15;
  }
  .tech-terminal__input-line {
    font-size: 0.75rem;
  }
  .tech-terminal__prompt {
    font-size: 0.7rem;
  }
}
@media (max-width: 40em) {
  .desktop__icons {
    max-width: 100%;
    justify-content: center;
  }
  .desktop-icon {
    width: 4rem;
  }
  .desktop-icon__image {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
  .desktop-icon__label {
    font-size: 0.65rem;
  }
  .window {
    left: 0.5rem !important;
    right: 0.5rem;
    width: calc(100% - 1rem) !important;
    max-height: calc(100vh - 5rem);
  }
  .taskbar__item-title {
    display: none;
  }
  .file-viewer {
    flex-direction: column;
  }
  .file-viewer__sidebar {
    width: 100%;
    max-height: 8rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .file-viewer__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  .file-viewer__file {
    width: auto;
  }
  .start-menu {
    width: calc(100vw - 1.5rem);
    max-width: 20rem;
  }
}
.theme-xp {
  --color-bg: #004e98;
  --color-desktop: #004e98;
  --color-surface: #ece9d8;
  --color-surface-alt: #ffffff;
  --color-text: #000000;
  --color-text-dim: #4a4a4a;
  --color-accent: #316ac5;
  --color-accent-hover: #4a8ad6;
  --color-green: #3c943c;
  --color-red: #c42b1c;
  --color-yellow: #ffcc00;
  --color-purple: #7b68ee;
  --desktop-bg: url("./assets/wallpapers/xp.jpg") center/cover no-repeat;
  --icon-bg: transparent;
  --icon-radius: 0;
  --icon-color: #316ac5;
  --icon-border: none;
  --icon-shadow: none;
  --icon-hover-bg: rgba(49, 106, 197, 0.4);
  --icon-active-bg: rgba(49, 106, 197, 0.6);
  --icon-selected-bg: rgba(49, 106, 197, 0.5);
  --icon-selected-outline: 1px dotted #ffffff;
  --icon-label-color: #ffffff;
  --icon-label-shadow:
    1px 1px 1px #000000,
    -1px -1px 1px #000000,
    1px -1px 1px #000000,
    -1px 1px 1px #000000;
  --window-bg: #ece9d8;
  --window-content-bg: #ffffff;
  --window-radius: 0.5rem 0.5rem 0 0;
  --window-border: 3px solid #0055ea;
  --window-shadow:
    0 0 0 1px #002d7a,
    3px 3px 12px rgba(0,0,0,0.5);
  --titlebar-bg: linear-gradient(
    180deg,
    #0a246a 0%,
    #0f3d91 2%,
    #245edb 6%,
    #3c8cf8 10%,
    #245edb 90%,
    #0a246a 100%
  );
  --titlebar-padding: 0.25rem 0.5rem 0.25rem 0.25rem;
  --titlebar-text: #ffffff;
  --titlebar-font-weight: 700;
  --titlebar-border: none;
  --titlebar-btn-gap: 2px;
  --titlebar-btn-size: 1.3rem;
  --titlebar-btn-bg: linear-gradient(
    180deg,
    #4690f8 0%,
    #2264d1 45%,
    #0a50c8 55%,
    #0842a0 100%
  );
  --titlebar-btn-border: 1px solid #ffffff;
  --titlebar-btn-radius: 0.2rem;
  --titlebar-btn-color: #ffffff;
  --titlebar-btn-hover-bg: linear-gradient(
    180deg,
    #5ca8ff 0%,
    #4284f1 45%,
    #2a70e8 55%,
    #2060c0 100%
  );
  --titlebar-btn-hover-color: #ffffff;
  --titlebar-btn-minimize-hover: linear-gradient(180deg, #5ca8ff 0%, #2a70e8 100%);
  --titlebar-btn-close-hover: linear-gradient(
    180deg,
    #ff8080 0%,
    #e85050 45%,
    #c42b1c 55%,
    #8b1a10 100%
  );
  --taskbar-height: 2rem;
  --window-max-left: 0;
  --window-max-top: 0;
  --window-max-width: 100%;
  --window-max-height: calc(100% - var(--taskbar-height));
  --taskbar-bg: linear-gradient(
    180deg,
    #3168d5 0%,
    #4580ed 2%,
    #3168d5 4%,
    #2f66d0 96%,
    #2456b8 98%,
    #1a3d8f 100%
  );
  --taskbar-border: 1px solid #0a246a;
  --taskbar-item-bg: linear-gradient(
    180deg,
    #3c8df2 0%,
    #3074d6 30%,
    #2458b8 70%,
    #1a4090 100%
  );
  --taskbar-item-border: 1px solid #0a3070;
  --taskbar-item-radius: 0;
  --taskbar-item-color: #ffffff;
  --taskbar-item-hover-bg: linear-gradient(
    180deg,
    #5ca8ff 0%,
    #4090e8 30%,
    #3478d0 70%,
    #2860b0 100%
  );
  --taskbar-item-icon-color: #ffffff;
  --taskbar-text-dim: #c0d8ff;
  --taskbar-tray-bg: linear-gradient(
    180deg,
    #0f8dea 0%,
    #1685e5 20%,
    #1a7dd6 50%,
    #1070c4 100%
  );
  --taskbar-tray-border: 1px solid #0a4080;
  --start-btn-bg: linear-gradient(
    180deg,
    #5eb556 0%,
    #3c943c 20%,
    #2d7d2d 80%,
    #1d5d1d 100%
  );
  --start-btn-border: 1px solid #1a4d1a;
  --start-btn-radius: 0 1rem 1rem 0;
  --start-btn-hover-bg: linear-gradient(
    180deg,
    #7ec576 0%,
    #4ca44c 20%,
    #3d8d3d 80%,
    #2d6d2d 100%
  );
  --start-btn-active-bg: linear-gradient(
    180deg,
    #3c943c 0%,
    #2d7d2d 20%,
    #1d6d1d 80%,
    #0d4d0d 100%
  );
  --start-btn-icon-color: #ffffff;
  --start-btn-active-color: #ffffff;
  --menu-width: 24rem;
  --menu-bg: #ece9d8;
  --menu-border: 2px solid #0054e3;
  --menu-radius: 0.5rem 0.5rem 0 0;
  --menu-shadow: 0 0 0 1px #0a246a, 4px 4px 12px rgba(0,0,0,0.4);
  --menu-backdrop: none;
  --menu-header-bg: linear-gradient(180deg, #0a246a 0%, #245edb 50%, #0a246a 100%);
  --menu-header-padding: 0.75rem 1rem;
  --menu-header-text: #ffffff;
  --menu-header-text-dim: rgba(255,255,255,0.8);
  --menu-header-text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  --menu-avatar-size: 3rem;
  --menu-avatar-bg: #ffffff;
  --menu-avatar-border: 2px solid #6699cc;
  --menu-avatar-radius: 0.25rem;
  --menu-avatar-color: #0a246a;
  --menu-avatar-shadow: inset 1px 1px 0 rgba(255,255,255,0.5), 2px 2px 4px rgba(0,0,0,0.3);
  --menu-body-display: flex;
  --menu-body-direction: row;
  --menu-body-min-height: 12rem;
  --menu-left-bg: #ffffff;
  --menu-left-border: 1px solid #aaaaaa;
  --menu-right-width: 10rem;
  --menu-right-bg: linear-gradient(180deg, #6699cc 0%, #4a7ab5 100%);
  --menu-item-hover-bg: #316ac5;
  --menu-item-hover-color: #ffffff;
  --menu-item-icon-color: #316ac5;
  --menu-item-label-color: #000000;
  --menu-item-desc-color: #666666;
  --menu-separator-bg: linear-gradient(90deg, transparent, #aaaaaa, transparent);
  --menu-section-border: 1px solid #aaaaaa;
  --menu-section-header-color: #ffffff;
  --menu-section-header-shadow: 1px 1px 1px rgba(0,0,0,0.3);
  --menu-all-programs-display: flex;
  --menu-theme-hover-bg: rgba(255,255,255,0.2);
  --menu-theme-active-bg: rgba(255,255,255,0.3);
  --menu-theme-text: #ffffff;
  --menu-theme-text-dim: rgba(255,255,255,0.7);
  --menu-lang-text: #ffffff;
  --menu-lang-hover-bg: rgba(255,255,255,0.2);
  --menu-lang-active-bg: rgba(255,255,255,0.3);
  --menu-pinned-border: 2px solid #ff8c00;
  --menu-pinned-icon-size: 2rem;
  --menu-separator-right-bg: rgba(255,255,255,0.4);
  --menu-footer-bg: linear-gradient(180deg, #d4d0c8 0%, #c0bcb4 100%);
  --menu-footer-padding: 0.5rem 0.75rem;
  --menu-footer-btn-bg: linear-gradient(180deg, #ffffff 0%, #d4d0c8 100%);
  --menu-footer-btn-border: 1px solid #808080;
  --menu-footer-btn-radius: 0.2rem;
  --menu-footer-btn-color: #000000;
  --menu-footer-btn-shadow: 1px 1px 0 #ffffff inset, -1px -1px 0 #808080 inset;
  --menu-footer-btn-hover-bg: linear-gradient(180deg, #ffffff 0%, #e8e4dc 100%);
  --start-btn-text-style: italic;
  --start-btn-text-display: block;
  --start-btn-icon-size: 1.25rem;
  --start-btn-gap: 0.375rem;
  --start-btn-padding: 0 0.75rem 0 0.375rem;
  --terminal-bg: #0c0c0c;
  --terminal-text: #c0c0c0;
  --terminal-text-dim: #808080;
  --terminal-green: #00ff00;
  --terminal-purple: #ff00ff;
  --explorer-bg: #ffffff;
  --explorer-font: "Tahoma", "Segoe UI", sans-serif;
  --explorer-font-size: 11px;
  --explorer-text-color: #000000;
  --explorer-text-dim: #808080;
  --explorer-content-bg: #ffffff;
  --explorer-toolbar-bg: linear-gradient(180deg, #fafafa 0%, #e8e8e8 100%);
  --explorer-toolbar-border: 1px solid #919b9c;
  --explorer-toolbar-padding: 2px 4px;
  --explorer-btn-bg: transparent;
  --explorer-btn-border: 1px solid transparent;
  --explorer-btn-radius: 3px;
  --explorer-btn-color: #000000;
  --explorer-btn-hover-bg: linear-gradient(180deg, #fff 0%, #e3e3e3 100%);
  --explorer-btn-hover-border: #b8d6fb #658aad #658aad #b8d6fb;
  --explorer-separator-color: #c0c0c0;
  --explorer-addressbar-bg: #ffffff;
  --explorer-addressbar-border: 1px solid #7f9db9;
  --explorer-addressbar-radius: 0;
  --explorer-sidebar-width: 180px;
  --explorer-sidebar-bg: linear-gradient(180deg, #6b9cd5 0%, #4778b3 50%, #6b9cd5 100%);
  --explorer-sidebar-padding: 8px;
  --explorer-sidebar-border: 1px solid #3c5a8e;
  --explorer-sidebar-text: #ffffff;
  --explorer-sidebar-text-dim: rgba(255,255,255,0.8);
  --explorer-sidebar-text-shadow: 1px 1px 1px rgba(0,0,0,0.4);
  --explorer-panel-bg: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 100%);
  --explorer-panel-radius: 5px;
  --explorer-panel-header-bg: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.05) 100%);
  --explorer-panel-header-border: 1px solid rgba(255,255,255,0.2);
  --explorer-files-border: 1px solid #aca899;
  --explorer-file-radius: 0;
  --explorer-file-hover-bg: rgba(49, 106, 197, 0.1);
  --explorer-file-hover-border: #316ac5;
  --explorer-file-selected-bg: #316ac5;
  --explorer-file-selected-border: #316ac5;
  --explorer-file-selected-text: #ffffff;
}
.theme-xp .titlebar {
  background: var(--titlebar-bg);
  border-radius: 0.4rem 0.4rem 0 0;
}
.theme-xp .titlebar__title {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.theme-xp .titlebar__btn {
  font-weight: bold;
  box-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3) inset, -1px -1px 0 rgba(0, 0, 0, 0.2) inset;
}
.theme-xp .titlebar__btn::before {
  font-size: 0.7rem;
}
.theme-xp .desktop-icon__image {
  box-shadow: var(--icon-shadow);
}
.theme-xp .window {
  border-radius: 0.5rem 0.5rem 0 0;
}
.theme-xp .taskbar {
  border-top: none;
}

.theme-macos {
  --color-bg: #1e1e1e;
  --color-desktop: #000000;
  --color-surface: #2d2d2d;
  --color-surface-alt: #1c1c1e;
  --color-text: #ffffff;
  --color-text-dim: #98989d;
  --color-accent: #007aff;
  --color-accent-hover: #0a84ff;
  --color-green: #30d158;
  --color-red: #ff453a;
  --color-yellow: #ffd60a;
  --color-purple: #bf5af2;
  --desktop-bg: url("./assets/wallpapers/bigsur.jpg") center/cover no-repeat;
  --menubar-height: 24px;
  --menubar-bg: rgba(0, 0, 0, 0.25);
  --menubar-blur: blur(20px);
  --menubar-border: none;
  --menubar-text: #ffffff;
  --menubar-hover-bg: rgba(255, 255, 255, 0.1);
  --dock-bg: rgba(255, 255, 255, 0.15);
  --dock-blur: blur(30px);
  --dock-border: 1px solid rgba(255, 255, 255, 0.2);
  --dock-radius: 1rem;
  --dock-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --dock-separator: rgba(255, 255, 255, 0.2);
  --dock-icon-size: 3rem;
  --dock-icon-radius: 0.75rem;
  --dock-icon-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  --dock-indicator: rgba(255, 255, 255, 0.8);
  --icon-bg: rgba(255, 255, 255, 0.08);
  --icon-radius: 1.2rem;
  --icon-color: #ffffff;
  --icon-border: none;
  --icon-shadow: 0 8px 24px rgba(0,0,0,0.4);
  --icon-hover-bg: rgba(255, 255, 255, 0.12);
  --icon-active-bg: rgba(255, 255, 255, 0.18);
  --icon-label-color: #ffffff;
  --icon-label-shadow: 0 1px 4px rgba(0,0,0,0.6);
  --window-bg: rgba(40, 40, 40, 0.85);
  --window-content-bg: #1c1c1e;
  --window-radius: 0.75rem;
  --window-border: none;
  --window-shadow:
    0 24px 80px rgba(0,0,0,0.55),
    0 0 0 0.5px rgba(255,255,255,0.1);
  --titlebar-bg: rgba(58, 58, 60, 0.95);
  --titlebar-padding: 0.6rem 0.75rem;
  --titlebar-text: rgba(255,255,255,0.85);
  --titlebar-font-weight: 500;
  --titlebar-border: 1px solid rgba(255,255,255,0.05);
  --titlebar-btn-gap: 0.5rem;
  --titlebar-btn-size: 0.75rem;
  --titlebar-btn-bg: #4a4a4c;
  --titlebar-btn-border: none;
  --titlebar-btn-radius: 50%;
  --titlebar-btn-color: transparent;
  --titlebar-btn-hover-bg: #5a5a5c;
  --titlebar-btn-hover-color: transparent;
  --titlebar-btn-minimize-hover: #febc2e;
  --titlebar-btn-close-hover: #ff5f57;
  --taskbar-height: 4.5rem;
  --window-max-left: 0;
  --window-max-top: var(--menubar-height);
  --window-max-width: 100%;
  --window-max-height: calc(100% - var(--menubar-height) - var(--taskbar-height));
  --taskbar-bg: rgba(40, 40, 40, 0.5);
  --taskbar-border: 1px solid rgba(255,255,255,0.15);
  --taskbar-item-bg: transparent;
  --taskbar-item-border: none;
  --taskbar-item-radius: 0.75rem;
  --taskbar-item-color: #ffffff;
  --taskbar-item-hover-bg: rgba(255, 255, 255, 0.1);
  --taskbar-item-icon-color: #ffffff;
  --taskbar-text-dim: #98989d;
  --start-btn-bg: transparent;
  --start-btn-border: none;
  --start-btn-radius: 0.5rem;
  --start-btn-hover-bg: rgba(255, 255, 255, 0.1);
  --start-btn-active-bg: rgba(255, 255, 255, 0.15);
  --start-btn-icon-color: #ffffff;
  --start-btn-active-color: #ffffff;
  --menu-width: 18rem;
  --menu-bg: rgba(30, 30, 30, 0.85);
  --menu-border: 1px solid rgba(255,255,255,0.1);
  --menu-radius: 0.875rem;
  --menu-shadow: 0 24px 80px rgba(0,0,0,0.55);
  --menu-backdrop: blur(40px);
  --menu-header-bg: rgba(255,255,255,0.05);
  --menu-header-padding: 1rem;
  --menu-header-text: #ffffff;
  --menu-header-text-dim: #98989d;
  --menu-header-text-shadow: none;
  --menu-avatar-size: 3.5rem;
  --menu-avatar-bg: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
  --menu-avatar-border: none;
  --menu-avatar-radius: 50%;
  --menu-avatar-color: #ffffff;
  --menu-avatar-shadow: 0 4px 12px rgba(0,0,0,0.3);
  --menu-body-display: flex;
  --menu-body-direction: column;
  --menu-body-min-height: auto;
  --menu-left-bg: transparent;
  --menu-left-border: none;
  --menu-left-flex: none;
  --menu-right-width: 100%;
  --menu-right-bg: transparent;
  --menu-item-padding: 0.5rem 0.75rem;
  --menu-item-hover-bg: rgba(255,255,255,0.1);
  --menu-item-hover-color: #ffffff;
  --menu-item-icon-color: #ffffff;
  --menu-item-label-color: #ffffff;
  --menu-item-desc-color: #98989d;
  --menu-separator-bg: rgba(255,255,255,0.1);
  --menu-section-border: 1px solid rgba(255,255,255,0.05);
  --menu-section-header-color: #98989d;
  --menu-section-header-shadow: none;
  --menu-all-programs-display: none;
  --menu-theme-hover-bg: rgba(255,255,255,0.1);
  --menu-theme-active-bg: rgba(0,122,255,0.4);
  --menu-theme-text: #ffffff;
  --menu-theme-text-dim: #98989d;
  --menu-lang-text: #ffffff;
  --menu-lang-hover-bg: rgba(255,255,255,0.1);
  --menu-lang-active-bg: rgba(0,122,255,0.4);
  --menu-footer-bg: rgba(0,0,0,0.15);
  --menu-footer-padding: 0.75rem 1rem;
  --menu-footer-btn-bg: rgba(255,255,255,0.1);
  --menu-footer-btn-border: none;
  --menu-footer-btn-radius: 0.5rem;
  --menu-footer-btn-color: #ffffff;
  --menu-footer-btn-shadow: none;
  --menu-footer-btn-hover-bg: rgba(255,255,255,0.15);
  --start-btn-text-display: none;
  --start-btn-padding: 0.5rem;
  --terminal-bg: rgba(0,0,0,0.4);
}
.theme-macos .titlebar {
  flex-direction: row-reverse;
  backdrop-filter: blur(20px);
}
.theme-macos .titlebar__buttons {
  order: 1;
  margin-right: auto;
  margin-left: 0;
}
.theme-macos .titlebar__title {
  text-align: center;
  flex: 1;
}
.theme-macos .titlebar__btn {
  font-size: 0;
  transition: all 0.1s ease;
}
.theme-macos .titlebar__btn:nth-child(1) {
  background: #ff5f57;
  order: 3;
}
.theme-macos .titlebar__btn:nth-child(2) {
  background: #febc2e;
  order: 2;
}
.theme-macos .titlebar__btn:nth-child(3) {
  background: #28c840;
  order: 1;
}
.theme-macos .titlebar__btn:hover {
  filter: brightness(1.1);
}
.theme-macos .titlebar:hover .titlebar__btn:nth-child(1)::after {
  content: "×";
  font-size: 0.65rem;
  color: rgba(0, 0, 0, 0.5);
  font-weight: bold;
}
.theme-macos .titlebar:hover .titlebar__btn:nth-child(2)::after {
  content: "−";
  font-size: 0.6rem;
  color: rgba(0, 0, 0, 0.5);
  font-weight: bold;
}
.theme-macos .titlebar:hover .titlebar__btn:nth-child(3)::after {
  content: "+";
  font-size: 0.55rem;
  color: rgba(0, 0, 0, 0.5);
  font-weight: bold;
}
.theme-macos .taskbar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0.5rem;
  width: auto;
  min-width: 12rem;
  max-width: calc(100% - 2rem);
  border-radius: 1rem;
  backdrop-filter: blur(30px);
  padding: 0.5rem 0.75rem;
  gap: 0.25rem;
}
.theme-macos .taskbar__item {
  width: 3rem;
  height: 3rem;
  padding: 0;
  justify-content: center;
  border-radius: 0.75rem;
  transition: transform 0.15s ease;
}
.theme-macos .taskbar__item:hover {
  transform: scale(1.15) translateY(-0.25rem);
}
.theme-macos .taskbar__item-title {
  display: none;
}
.theme-macos .taskbar__item-icon {
  font-size: 1.2rem;
}
.theme-macos .taskbar__item::after {
  content: "";
  position: absolute;
  bottom: -0.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.25rem;
  height: 0.25rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
}
.theme-macos .taskbar__item--minimized::after {
  background: rgba(255, 255, 255, 0.3);
}
.theme-macos .window {
  backdrop-filter: blur(40px);
}
.theme-macos .window__content {
  background: rgba(28, 28, 30, 0.95);
}
.theme-macos .desktop__icons {
  flex-direction: column;
  align-items: flex-end;
  position: absolute;
  right: 0;
  top: 0;
  padding: 1rem;
  max-width: none;
  width: auto;
}
.theme-macos .desktop-icon {
  width: 5rem;
}
.theme-macos .desktop-icon__image {
  width: 4rem;
  height: 4rem;
  font-size: 1.5rem;
}
.theme-macos .taskbar__time {
  display: none;
}

.theme-ubuntu {
  --color-bg: #300a24;
  --color-desktop: #2c001e;
  --color-surface: #3d3d3d;
  --color-surface-alt: #2d2d2d;
  --color-text: #ffffff;
  --color-text-dim: #929292;
  --color-accent: #e95420;
  --color-accent-hover: #f47c4a;
  --color-green: #3eb34f;
  --color-red: #ed333b;
  --color-yellow: #f5c211;
  --color-purple: #9141ac;
  --desktop-bg: url("./assets/wallpapers/ubuntu-jammy.png") center/cover no-repeat;
  --sidebar-width: 56px;
  --window-max-left: var(--sidebar-width);
  --window-max-top: 0;
  --window-max-width: calc(100% - var(--sidebar-width));
  --window-max-height: 100%;
  --sidebar-bg: rgba(30, 30, 30, 0.85);
  --sidebar-border: 1px solid rgba(255, 255, 255, 0.08);
  --sidebar-launcher-bg: #e95420;
  --sidebar-launcher-hover-bg: #f47c4a;
  --sidebar-launcher-radius: 50%;
  --sidebar-item-radius: 0.5rem;
  --sidebar-item-hover-bg: rgba(255, 255, 255, 0.1);
  --sidebar-item-active-bg: rgba(255, 255, 255, 0.15);
  --sidebar-indicator: #e95420;
  --sidebar-icon-size: 2rem;
  --sidebar-separator: rgba(255, 255, 255, 0.1);
  --icon-bg: rgba(255, 255, 255, 0.08);
  --icon-radius: 0.75rem;
  --icon-color: #e95420;
  --icon-border: none;
  --icon-shadow: 0 4px 12px rgba(0,0,0,0.3);
  --icon-hover-bg: rgba(255, 255, 255, 0.12);
  --icon-active-bg: rgba(233, 84, 32, 0.3);
  --icon-label-color: #ffffff;
  --icon-label-shadow: 0 1px 3px rgba(0,0,0,0.6);
  --window-bg: #3d3d3d;
  --window-content-bg: #2d2d2d;
  --window-radius: 0.75rem;
  --window-border: none;
  --window-shadow:
    0 8px 32px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.05);
  --titlebar-bg: #3d3d3d;
  --titlebar-padding: 0.4rem 0.75rem;
  --titlebar-text: #ffffff;
  --titlebar-font-weight: 500;
  --titlebar-border: 1px solid rgba(255,255,255,0.05);
  --titlebar-btn-gap: 0.375rem;
  --titlebar-btn-size: 1.25rem;
  --titlebar-btn-bg: rgba(255,255,255,0.1);
  --titlebar-btn-border: none;
  --titlebar-btn-radius: 50%;
  --titlebar-btn-color: #ffffff;
  --titlebar-btn-hover-bg: rgba(255,255,255,0.2);
  --titlebar-btn-hover-color: #ffffff;
  --titlebar-btn-minimize-hover: #f5c211;
  --titlebar-btn-close-hover: #ed333b;
  --taskbar-height: 100%;
  --taskbar-bg: rgba(30, 30, 30, 0.85);
  --taskbar-border: none;
  --taskbar-item-bg: transparent;
  --taskbar-item-border: none;
  --taskbar-item-radius: 0.5rem;
  --taskbar-item-color: #ffffff;
  --taskbar-item-hover-bg: rgba(255, 255, 255, 0.1);
  --taskbar-item-icon-color: #e95420;
  --taskbar-text-dim: #929292;
  --start-btn-bg: #e95420;
  --start-btn-border: none;
  --start-btn-radius: 50%;
  --start-btn-hover-bg: #f47c4a;
  --start-btn-active-bg: #c44618;
  --start-btn-icon-color: #ffffff;
  --start-btn-active-color: #ffffff;
  --menu-width: 18rem;
  --menu-position-bottom: auto;
  --menu-position-left: 4.5rem;
  --menu-position-top: 0.5rem;
  --menu-bg: rgba(36, 36, 36, 0.95);
  --menu-border: 1px solid rgba(255,255,255,0.08);
  --menu-radius: 0.875rem;
  --menu-shadow: 0 12px 48px rgba(0,0,0,0.5);
  --menu-backdrop: blur(30px);
  --menu-header-bg: linear-gradient(135deg, rgba(233, 84, 32, 0.3) 0%, rgba(145, 65, 172, 0.2) 100%);
  --menu-header-padding: 1rem;
  --menu-header-text: #ffffff;
  --menu-header-text-dim: #929292;
  --menu-header-text-shadow: none;
  --menu-avatar-size: 3.5rem;
  --menu-avatar-bg: #e95420;
  --menu-avatar-border: none;
  --menu-avatar-radius: 50%;
  --menu-avatar-color: #ffffff;
  --menu-avatar-shadow: 0 4px 12px rgba(233, 84, 32, 0.4);
  --menu-body-display: flex;
  --menu-body-direction: column;
  --menu-body-min-height: auto;
  --menu-left-bg: transparent;
  --menu-left-border: none;
  --menu-left-flex: none;
  --menu-right-width: 100%;
  --menu-right-bg: transparent;
  --menu-item-padding: 0.5rem 0.75rem;
  --menu-item-hover-bg: rgba(233, 84, 32, 0.3);
  --menu-item-hover-color: #ffffff;
  --menu-item-icon-color: #e95420;
  --menu-item-label-color: #ffffff;
  --menu-item-desc-color: #929292;
  --menu-separator-bg: rgba(255,255,255,0.08);
  --menu-section-border: 1px solid rgba(255,255,255,0.05);
  --menu-section-header-color: #929292;
  --menu-section-header-shadow: none;
  --menu-all-programs-display: none;
  --menu-theme-hover-bg: rgba(255,255,255,0.08);
  --menu-theme-active-bg: rgba(233, 84, 32, 0.5);
  --menu-theme-text: #ffffff;
  --menu-theme-text-dim: #929292;
  --menu-lang-text: #ffffff;
  --menu-lang-hover-bg: rgba(255,255,255,0.08);
  --menu-lang-active-bg: rgba(233, 84, 32, 0.5);
  --menu-footer-bg: rgba(0,0,0,0.15);
  --menu-footer-padding: 0.75rem 1rem;
  --menu-footer-btn-bg: rgba(255,255,255,0.08);
  --menu-footer-btn-border: none;
  --menu-footer-btn-radius: 0.375rem;
  --menu-footer-btn-color: #ffffff;
  --menu-footer-btn-shadow: none;
  --menu-footer-btn-hover-bg: rgba(233, 84, 32, 0.4);
  --start-btn-text-display: none;
  --start-btn-padding: 0.5rem;
  --terminal-bg: rgba(0,0,0,0.3);
}
.theme-ubuntu .taskbar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: auto;
  right: auto;
  width: 4rem;
  height: 100%;
  flex-direction: column;
  padding: 0.5rem;
  gap: 0.5rem;
  border-top: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}
.theme-ubuntu .taskbar__windows {
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
}
.theme-ubuntu .taskbar__item {
  width: 3rem;
  height: 3rem;
  padding: 0;
  justify-content: center;
  position: relative;
  background: transparent;
}
.theme-ubuntu .taskbar__item-title {
  display: none;
}
.theme-ubuntu .taskbar__item-icon {
  font-size: 1.3rem;
}
.theme-ubuntu .taskbar__item::before {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.2rem;
  height: 1.25rem;
  background: #e95420;
  border-radius: 0 0.1rem 0.1rem 0;
}
.theme-ubuntu .taskbar__item--minimized::before {
  height: 0.5rem;
  opacity: 0.6;
}
.theme-ubuntu .taskbar__item:hover {
  background: rgba(255, 255, 255, 0.08);
}
.theme-ubuntu .taskbar__time {
  display: none;
}
.theme-ubuntu .start-menu__button {
  width: 3rem;
  height: 3rem;
  margin-bottom: auto;
}
.theme-ubuntu .start-menu__button-icon {
  font-size: 1.2rem;
}
.theme-ubuntu .titlebar {
  flex-direction: row;
}
.theme-ubuntu .titlebar__buttons {
  order: 2;
}
.theme-ubuntu .titlebar__title {
  order: 1;
  flex: 1;
  text-align: left;
}
.theme-ubuntu .titlebar__btn {
  transition: all 0.15s ease;
}
.theme-ubuntu .titlebar__btn:nth-child(1) {
  order: 2;
}
.theme-ubuntu .titlebar__btn:nth-child(1):hover {
  background: #ed333b;
  color: white;
}
.theme-ubuntu .titlebar__btn:nth-child(2) {
  order: 1;
}
.theme-ubuntu .titlebar__btn:nth-child(2):hover {
  background: rgba(255, 255, 255, 0.2);
}
.theme-ubuntu .titlebar__btn:nth-child(2) {
  display: none;
}
.theme-ubuntu .window-manager {
  left: 4rem;
  width: calc(100% - 4rem);
}
.theme-ubuntu .desktop__icons {
  position: absolute;
  left: 5rem;
  top: 0;
  padding: 1.5rem;
  max-width: calc(100% - 6rem);
}
.theme-ubuntu .desktop-icon {
  width: 5.5rem;
}
.theme-ubuntu .desktop-icon__image {
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1.3rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
}
.theme-ubuntu .window {
  border-radius: 0.75rem 0.75rem 0 0;
}
.theme-ubuntu .titlebar {
  border-radius: 0.75rem 0.75rem 0 0;
}
