.boot-screen {
  position: absolute;
  inset: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 8vh;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.boot-screen.boot-fade {
  opacity: 0;
}

.boot-logo-img {
  width: 640px;
  max-width: 90vw;
  height: auto;
  margin-bottom: 36px;
  image-rendering: pixelated;
}

.boot-bar-container {
  width: 280px;
  height: 18px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
}

.boot-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #5a0000, #BA0000);
  transition: width 0.15s linear;
  box-shadow: 0 0 8px rgba(186, 0, 0, 0.4);
}

.title-menu {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 100000;
  opacity: 0;
  animation: boot-in 1.2s ease forwards;
  gap: clamp(6px, 1.2vh, 14px);
  position: relative;
  padding: clamp(10px, 1.8vh, 20px);
  overflow: hidden;
}

.title-menu-main {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.1vh, 12px);
}

.title-menu-footer {
  width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding-bottom: clamp(8px, 1.4vh, 14px);
}

.title-menu,
.title-menu * {
  cursor: auto !important;
}

.title-menu button {
  cursor: pointer !important;
}

.title-menu input[type='range'] {
  cursor: pointer !important;
}

.menu-logo {
  width: min(60vw, 560px);
  max-width: 88vw;
  max-height: 30vh;
  height: auto;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 34px rgba(186, 0, 0, 0.5));
  margin-bottom: clamp(2px, 0.5vh, 8px);
}

.title-menu-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.4vh, 16px);
  width: min(90vw, 560px);
}

.title-menu-subactions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.4vh, 16px);
  width: min(90vw, 560px);
}

.title-menu-subactions > :only-child {
  grid-column: 1 / -1;
}

.title-credit {
  color: #ffffff;
  font-family: 'Courier New', monospace;
<<<<<<< Updated upstream
  font-size: clamp(10px, 1.2vh, 12px);
  letter-spacing: clamp(1px, 0.2vw, 2px);
  text-transform: uppercase;
  margin: 0;
=======
  font-size: 14px;
  margin-top: 16px;
  letter-spacing: 2px;
>>>>>>> Stashed changes
}

.title-copyright {
  color: #777;
  font-family: 'Courier New', monospace;
  font-size: clamp(9px, 1.05vh, 10px);
  letter-spacing: 1px;
<<<<<<< Updated upstream
  text-align: center;
  margin: 0;
=======
  margin-top: auto;
  margin-bottom: 14px;
>>>>>>> Stashed changes
}

.title-btn {
  margin-top: 20px;
  padding: 12px 48px;
  font-family: 'Courier New', monospace;
<<<<<<< Updated upstream
  font-size: clamp(20px, 2.8vh, 30px);
  letter-spacing: clamp(1px, 0.2vw, 3px);
  text-transform: uppercase;
  padding: clamp(12px, 1.8vh, 18px) clamp(18px, 2.6vw, 30px);
  width: 100%;
  max-width: 560px;
  cursor: pointer;
  transition: all 0.2s ease;
=======
  font-size: 18px;
  font-weight: bold;
  color: #BA0000;
  background: transparent;
  border: 1px solid #BA0000;
  cursor: var(--cursor-pointer), pointer;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.2s;
  box-shadow: 0 0 10px rgba(186, 0, 0, 0.15);
>>>>>>> Stashed changes
}

.title-btn:hover {
  background: rgba(186, 0, 0, 0.12);
  box-shadow: 0 0 20px rgba(186, 0, 0, 0.3);
}

<<<<<<< Updated upstream
.title-btn--secondary {
  border-color: #444;
  color: #888;
  font-size: clamp(16px, 1.9vh, 22px);
  padding: clamp(10px, 1.4vh, 14px) clamp(12px, 1.6vw, 20px);
  letter-spacing: clamp(1px, 0.18vw, 3px);
}

.title-btn--secondary:hover {
  background: #222;
  color: #ccc;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
=======
.title-btn:active {
  background: rgba(186, 0, 0, 0.22);
>>>>>>> Stashed changes
}

.settings-panel {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  z-index: 20;
  animation: settings-in 0.3s ease forwards;
  padding: 18px;
}

.settings-panel.active {
  display: flex;
}

.settings-title {
  color: #ff3333;
  font-family: 'Courier New', monospace;
  font-size: clamp(20px, 3vh, 28px);
  letter-spacing: clamp(3px, 0.6vw, 6px);
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 0, 0, 0.5);
  margin: 0;
}

.settings-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(86vw, 420px);
  max-width: 420px;
  padding: 8px 10px;
  border: 1px solid #2d2d2d;
  background: rgba(12, 12, 12, 0.75);
}

.settings-label {
  color: #888;
  font-family: 'Courier New', monospace;
  font-size: clamp(11px, 1.3vh, 13px);
  letter-spacing: clamp(1px, 0.2vw, 2px);
  text-transform: uppercase;
  min-width: 122px;
}

.settings-slider {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 4px;
  background: #222;
  border-radius: 2px;
  outline: none;
  border: 1px solid #333;
}

.settings-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: #b30000;
  border: 2px solid #ff3333;
  border-radius: 0;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(179, 0, 0, 0.6);
}

.settings-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: #b30000;
  border: 2px solid #ff3333;
  border-radius: 0;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(179, 0, 0, 0.6);
}

.settings-btn {
  background: transparent;
  border: 2px solid #b30000;
  color: #ff3333;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 10px 24px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.settings-btn:hover {
  background: #b30000;
  color: #fff;
  box-shadow: 0 0 12px rgba(179, 0, 0, 0.6);
}

.settings-back {
  background: transparent;
  border: 1px solid #444;
  color: #888;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.settings-back:hover {
  border-color: #888;
  color: #fff;
}

@media (max-width: 720px) {
  .title-menu-subactions {
    grid-template-columns: 1fr;
  }

  .menu-logo {
    width: min(92vw, 440px);
    max-height: 24vh;
  }

  .title-btn {
    font-size: 20px;
    letter-spacing: 3px;
  }

  .title-btn--secondary {
    font-size: 16px;
  }

  .title-menu {
    gap: 8px;
    padding: 10px;
  }
}

@keyframes settings-in {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

<<<<<<< Updated upstream
=======
.boot-logo-img {
  width: 640px;
  max-width: 90vw;
  height: auto;
  margin-bottom: 36px;
  image-rendering: pixelated;
}

.boot-bar-container {
  width: 280px;
  height: 18px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
}

.boot-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #5a0000, #BA0000);
  transition: width 0.15s linear;
  box-shadow: 0 0 8px rgba(186, 0, 0, 0.4);
}

.boot-status {
  color: #666;
  font-size: 11px;
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  animation: status-blink 1.5s step-end infinite;
}

.boot-version {
  color: #444;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

@keyframes status-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

>>>>>>> Stashed changes
.desktop-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
<<<<<<< Updated upstream
  background: #0a0a0a;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
=======
  z-index: 10000;
}

.chapter-fade-overlay.visible {
  opacity: 1;
  pointer-events: all;
}


/* ── Title Screen ── */
.title-screen {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.title-screen.visible {
  opacity: 1;
}

.title-screen.fade-out {
  opacity: 0;
}

.title-logo {
  width: 360px;
  max-width: 80vw;
  height: auto;
  image-rendering: pixelated;
}

.title-text {
  color: #c0c0c0;
  font-family: 'Courier New', monospace;
  font-size: 16px;
  letter-spacing: 6px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(192, 192, 192, 0.3);
}

.title-btn {
  margin-top: 20px;
  padding: 14px 56px;
  font-family: 'Courier New', monospace;
  font-size: 18px;
  font-weight: bold;
  color: #ff3333;
  background: rgba(10, 0, 0, 0.6);
  border: 1px solid #BA0000;
  cursor: var(--cursor-pointer), pointer;
  letter-spacing: 4px;
  text-transform: uppercase;
  transition: all 0.3s;
  box-shadow: 0 0 15px rgba(186, 0, 0, 0.3), inset 0 0 10px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
  text-shadow: 0 0 8px rgba(255, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.title-btn:hover {
  background: rgba(186, 0, 0, 0.2);
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.5), inset 0 0 15px rgba(0, 0, 0, 0.5);
  color: #ff6666;
  transform: scale(1.05);
}

.title-btn:active {
  background: rgba(255, 0, 0, 0.3);
  transform: scale(0.98);
}

.title-sub {
  color: #444;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  margin-top: 4px;
  position: relative;
  z-index: 2;
}

.title-credit {
  color: #888;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  margin-top: 20px;
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
}

.title-copyright {
  color: #555;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  margin-top: auto;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.title-btn-row {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 16px;
}

.title-btn-sm {
  padding: 8px 20px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  font-weight: bold;
  color: #666;
  background: transparent;
  border: 1px solid #444;
  cursor: var(--cursor-pointer), pointer;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.2s;
}
.title-btn-sm:hover {
  color: #aaa;
  border-color: #666;
  background: rgba(255,255,255,0.03);
>>>>>>> Stashed changes
}

.title-chapter-menu {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0,0,0,0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.title-chapter-menu h2 {
  color: #888;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.chapter-btn {
  width: 300px;
  padding: 10px 20px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  background: transparent;
  border: 1px solid #333;
  color: #999;
  cursor: var(--cursor-pointer), pointer;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.2s;
}
.chapter-btn:hover {
  border-color: #0a0;
  color: #0f0;
  background: rgba(0,255,0,0.03);
}
.chapter-btn.chapter-btn--locked {
  opacity: 0.3;
  cursor: var(--cursor-not-allowed), not-allowed;
}
.chapter-btn.chapter-btn--back {
  margin-top: 12px;
  border-color: #333;
  color: #555;
  font-size: 11px;
}

.context-menu {
  position: fixed;
  background: #ece9d8;
  border: 1px solid #000;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  min-width: 160px;
  padding: 2px;
}

.context-menu-item {
  padding: 4px 20px;
  font-size: 11px;
  cursor: var(--cursor-pointer), pointer;
  color: #000;
}

.context-menu-item:hover {
  background: #000080;
  color: #fff;
}

.context-menu-item-danger {
  color: #cc0000;
}

.context-menu-item-danger:hover {
  background: #cc0000;
  color: #fff;
}

.chapter-fade-overlay {
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.chapter-fade-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

/* Sleep mode overlay */
.sleep-overlay {
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00ff00;
  font-family: 'Courier New', Courier, monospace;
  font-size: 24px;
  opacity: 0;
  transition: opacity 1s ease;
}

.sleep-overlay.active {
  opacity: 1;
}

.sleep-overlay--wake {
  background: #000000;
  color: #444444;
}


/* ── Intro Sequence ── */
.intro-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 28vh;
  cursor: var(--cursor-pointer), pointer;
}

.intro-text {
  color: #c0c0c0;
  font-family: 'Courier New', monospace;
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  white-space: pre;
  padding: 40px;
  text-shadow: 0 0 8px rgba(192, 192, 192, 0.15);
}

.intro-hint {
  position: absolute;
  bottom: 60px;
  color: #666;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.intro-hint--visible {
  opacity: 1;
  animation: hint-pulse 2s ease-in-out infinite;
}
@keyframes hint-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.intro-ready {
  cursor: var(--cursor-pointer), pointer;
}

.intro-fade {
  opacity: 0;
  transition: opacity 0.8s ease;
}

/* ── Day Transition Title ── */
.chapter-transition-title {
  color: #ffffff;
  font-family: 'Courier New', Courier, monospace;
  font-size: 26px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 3px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
  user-select: none;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.chapter-transition-title.visible {
  opacity: 1;
  transform: scale(1);
}

.chapter-transition-btn {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: #3a3a3a;
  border: 2px solid #888;
  color: #e0e0e0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 20px;
  padding: 14px 48px;
  cursor: var(--cursor-pointer), pointer;
  opacity: 0;
  transition: opacity 0.6s ease, background 0.2s, border-color 0.2s;
  letter-spacing: 2px;
  text-transform: uppercase;
  user-select: none;
  outline: none;
}
.chapter-transition-btn.visible {
  opacity: 1;
}
.chapter-transition-btn:hover {
  background: #555;
  border-color: #aaa;
}
.chapter-transition-btn:active {
  background: #222;
}

/* ── Final Overlay Sequence ── */
.final-overlay {
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1.0s ease;
  pointer-events: none;
}

.final-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.final-sequence-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80%;
  height: 80%;
}

.final-seq-text {
  color: #ffffff;
  font-family: 'Courier New', Courier, monospace;
  text-align: center;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
  user-select: none;
}

.final-seq-text.visible {
  opacity: 1;
  transform: scale(1);
}

.final-seq-title {
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 4px;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.final-seq-subtitle {
  font-size: 20px;
  line-height: 1.6;
}

.final-seq-credit {
  font-size: 22px;
  letter-spacing: 2px;
}

.final-seq-logo {
  max-width: 60%;
  max-height: 60%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.final-seq-logo.visible {
  opacity: 1;
  transform: scale(1);
}

.final-seq-next {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.final-seq-next.visible {
  opacity: 1;
  transform: scale(1);
}

.final-seq-next-header {
  color: #888888;
  font-size: 18px;
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.final-seq-next-title {
  color: #ff0000;
  font-size: 36px;
  font-weight: bold;
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 4px;
  text-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
  animation: final-logo-glitch 2s infinite;
}

@keyframes final-logo-glitch {
  0%, 100% { text-shadow: 0 0 15px rgba(255, 0, 0, 0.6); }
  50% { text-shadow: 0 0 30px rgba(255, 0, 0, 0.9), -2px 0 red, 2px 0 blue; }
}

/* ── Decrypt Challenge ── */
.decrypt-challenge-container {
  padding: 16px;
  background: #000000;
  color: #00ff00;
  font-family: 'Courier New', Courier, monospace;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #00ff00;
  user-select: text;
}
.decrypt-header {
  font-size: 14px;
  font-weight: bold;
  border-bottom: 1px solid #00ff00;
  padding-bottom: 4px;
}
.decrypt-timer {
  font-size: 12px;
  color: #88ff88;
  margin-top: 4px;
}
.decrypt-code-container {
  background: #0a0a0a;
  border: 1px dashed #00ff00;
  padding: 12px;
  text-align: center;
  margin: 12px 0;
}
.decrypt-code-value {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 3px;
  color: #ff3333;
  text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
  animation: decrypt-pulse 1s infinite alternate;
}
@keyframes decrypt-pulse {
  from { opacity: 0.7; }
  to { opacity: 1; }
}
.decrypt-prompt {
  font-size: 12px;
  margin-bottom: 6px;
}
.decrypt-input {
  background: #000;
  border: 1px solid #00ff00;
  color: #00ff00;
  font-family: inherit;
  font-size: 14px;
  padding: 6px;
  outline: none;
  margin-bottom: 10px;
}
.decrypt-btn {
  background: #002200;
  border: 1px solid #00ff00;
  color: #00ff00;
  padding: 8px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  cursor: var(--cursor-pointer), pointer;
}
.decrypt-btn:hover {
  background: #00ff00;
  color: #000;
}
.decrypt-fail {
  color: #ff0000;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  margin-top: 40px;
}
.decrypt-success {
  color: #00ff00;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  margin-top: 40px;
}

/* ── System Properties Window ── */
.system-properties {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-family: 'MS Sans Serif', 'Segoe UI', Tahoma, sans-serif;
  font-size: 11px;
  color: #000;
}

.prop-tabs {
  display: flex;
  gap: 2px;
  padding: 8px 8px 0 8px;
  background: #ece9d8;
  border-bottom: 1px solid #808080;
}

.prop-tab {
  padding: 4px 12px;
  background: #ece9d8;
  border: 1px solid transparent;
  border-bottom: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  color: #000;
  position: relative;
  top: 1px;
}

.prop-tab.active {
  background: #fff;
  border-color: #808080;
  font-weight: bold;
}

.prop-panels {
  flex: 1;
  background: #fff;
  overflow: auto;
  padding: 12px 16px;
}

.prop-panel {
  display: none;
}

.prop-panel.active {
  display: block;
}

.prop-icon {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 12px;
  color: #333;
  font-family: 'MS Sans Serif', 'Segoe UI', Tahoma, sans-serif;
}

.prop-title {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 4px;
}

.prop-subtitle {
  font-size: 11px;
  color: #666;
  text-align: center;
  margin-bottom: 12px;
}

.prop-divider {
  height: 1px;
  background: #e0e0e0;
  margin: 12px 0;
}

.prop-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px dotted #e0e0e0;
}

.prop-label {
  color: #333;
  font-weight: bold;
}

.prop-warn {
  color: #cc0000;
  font-weight: bold;
}

.prop-history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prop-history-header {
  font-size: 12px;
  font-weight: bold;
  color: #000;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e0e0e0;
}

.prop-history-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-left: 3px solid #ccc;
}

.prop-history-critical {
  background: #fff5f5;
  border-color: #ffcccc;
  border-left-color: #cc0000;
}

.prop-history-warning {
  background: #fffbee;
  border-color: #ffeeba;
  border-left-color: #ff8800;
}

.prop-hist-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.prop-hist-date {
  font-size: 10px;
  color: #666;
  font-family: 'Courier New', monospace;
}

.prop-hist-level {
  font-size: 9px;
  font-weight: bold;
  padding: 1px 6px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.prop-level-critical {
  background: #cc0000;
  color: #fff;
}

.prop-level-warning {
  background: #ff8800;
  color: #fff;
}

.prop-level-info {
  background: #e0e0e0;
  color: #333;
}

.prop-hist-desc {
  font-size: 11px;
  color: #333;
  line-height: 1.4;
}

.prop-window-content {
  background: #fff !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.shutdown-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 99999;
  opacity: 0;
  animation: shutdown-fade 2s forwards;
}

.suspend-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 99999;
  cursor: var(--cursor-default), default;
}

@keyframes shutdown-fade {
  0% { opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 200000;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  animation: splash-in 1s ease forwards;
}

.splash-screen,
.splash-screen * {
  cursor: auto !important;
}

.splash-screen.fade-out {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.splash-logo {
  width: min(560px, 84vw);
  max-width: 75vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.splash-logo-img {
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 30px rgba(186, 0, 0, 0.5));
}

.splash-text {
  color: #ff3333;
  font-family: 'Courier New', monospace;
  font-size: clamp(20px, 2.3vw, 30px);
  letter-spacing: clamp(2px, 0.35vw, 7px);
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 0, 0, 0.5);
}

@keyframes splash-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.intro-animation {
  position: fixed;
  inset: 0;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100001;
  overflow: hidden;
}

.intro-scene-1 {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  animation: intro-scene1 14s forwards ease-in-out;
}

.intro-studio-logo {
  max-width: 550px;
  height: auto;
  width: 80vw;
}

.intro-presenta {
  font-size: 36px;
  line-height: 56px;
  color: rgb(192, 192, 192);
  font-family: 'Courier New', monospace;
  font-weight: 400;
  letter-spacing: 6px;
  text-transform: uppercase;
}

.intro-scene-2 {
  position: absolute;
  opacity: 0;
  animation: intro-scene2 14s forwards ease-in-out;
}

.intro-final-logo {
  max-width: 700px;
  height: auto;
  width: 80vw;
}

@keyframes intro-scene1 {
  0% { opacity: 0; }
  7% { opacity: 1; }
  43% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes intro-scene2 {
  0%, 50% { opacity: 0; }
  57% { opacity: 1; }
  93% { opacity: 1; }
  100% { opacity: 1; }
}

.intro-animation-fade {
  opacity: 0;
  transition: opacity 0.8s ease;
}

body.corruption-1 #game {
  filter: hue-rotate(3deg) saturate(0.95);
  transition: filter 3s ease;
}

body.corruption-2 #game {
  filter: hue-rotate(355deg) saturate(0.8) brightness(0.95);
}

body.corruption-3 #game {
  filter: hue-rotate(10deg) saturate(0.5) brightness(0.85) contrast(1.1);
}

.taskbar-corrupted {
  animation: taskbar-glitch 0.3s steps(3) infinite;
}

@keyframes taskbar-glitch {
  0%   { transform: translate(0); filter: none; }
  25%  { transform: translate(-2px, 1px); filter: hue-rotate(90deg); }
  50%  { transform: translate(1px, -1px); filter: hue-rotate(270deg); }
  75%  { transform: translate(-1px, 2px); filter: hue-rotate(180deg); }
}
