:root {
  --main-bg: #0a0a14;
  --card-bg: rgba(15, 15, 31, 0.6);
  --text-color: #f0e6ff;
  --accent: #0098CD;
  --accent-transparent: rgba(0, 152, 205, 0.2);
  --error-color: #ff4757;
  --success-color: #2ed573;
  --warning-color: #ffa502;
  --card-radius: 6px;
  --gap: 20px;
  --thin-border: 1px solid var(--accent-transparent);
}

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

body {
  margin: 0;
  font-family: 'Share Tech Mono', monospace;
  background-color: var(--main-bg);
  color: var(--text-color);
  display: flex;
  justify-content: center;
  padding: 30px 20px;
  line-height: 1.5;
  font-size: 15px;
}

/* ==================== CRT ATMOSPHERE ==================== */
/* Vignette — dark corners, simulates CRT screen curvature */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 50% 35%, transparent 40%, rgba(0,0,0,0.48) 100%);
  pointer-events: none;
  z-index: 100001;
}

/* Scanlines — horizontal lines */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.12) 2px,
    rgba(0,0,0,0.12) 4px
  );
  pointer-events: none;
  z-index: 100000;
}

/* Disable CRT effects for all retro themes */
body.web1::before, body.win2k::before, body.winme::before, body.winvista::before,
body.win3::before, body.win1::before, body.win95::before, body.win7::before,
body.dos::before { display: none !important; }

body.web1::after, body.win2k::after, body.winme::after, body.winvista::after,
body.win3::after, body.win1::after, body.win95::after, body.win7::after,
body.dos::after { display: none !important; }
/* ==================== END CRT ATMOSPHERE ==================== */

.container {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  width: 100%;
  max-width: 1000px;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section h2 {
  color: var(--accent);
  margin: 0;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: normal;
  padding-bottom: 6px;
  border-bottom: var(--thin-border);
  text-shadow: 0 0 20px rgba(0, 152, 205, 0.15);
}

.section h2::before {
  content: '> ';
  color: rgba(0, 152, 205, 0.35);
}

.section h2::after {
  content: '█';
  margin-left: 6px;
  color: var(--accent);
  font-size: 0.85em;
  animation: h2-cursor-blink 1.1s steps(1) infinite;
}

@keyframes h2-cursor-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Retro themes suppress both the prefix and the cursor */
body.web1 .section h2::before, body.win2k .section h2::before,
body.winme .section h2::before, body.winvista .section h2::before,
body.win3 .section h2::before, body.win1 .section h2::before,
body.win95 .section h2::before, body.win7 .section h2::before,
body.dos .section h2::before { content: none; }

body.web1 .section h2::after, body.win2k .section h2::after,
body.winme .section h2::after, body.winvista .section h2::after,
body.win3 .section h2::after, body.win1 .section h2::after,
body.win95 .section h2::after, body.win7 .section h2::after,
body.dos .section h2::after { content: none; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--gap);
}

.card {
  background-color: var(--card-bg);
  border: var(--thin-border);
  border-radius: var(--card-radius);
  padding: 18px;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 15px var(--accent-transparent);
}

.card h3 {
  color: var(--accent);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  font-weight: normal;
}

.card p {
  margin: 8px 0;
}

.card a {
  color: var(--accent);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.85rem;
  display: inline-block;
  margin-top: 8px;
  transition: opacity 0.2s ease;
}

.card a:hover {
  opacity: 0.8;
  text-decoration: none;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.spec-list li {
  padding: 6px 0;
  border-bottom: var(--thin-border);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.spec-list li:last-child {
  border-bottom: none;
}

/* ==================== Navigation Section Styles ==================== */
.nav-section {
  margin-bottom: 10px;
}

.nav-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.nav-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, var(--card-bg), rgba(0, 152, 205, 0.05));
  border: var(--thin-border);
  border-radius: var(--card-radius);
  padding: 20px;
  text-decoration: none;
  color: var(--text-color);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 152, 205, 0.1), transparent);
  transition: left 0.5s ease;
}

.nav-card:hover::before {
  left: 100%;
}

.nav-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-transparent), 0 5px 20px rgba(0, 152, 205, 0.2);
  transform: translateY(-3px);
}

.nav-icon {
  font-size: 2rem;
  min-width: 50px;
  text-align: center;
  filter: drop-shadow(0 0 10px rgba(0, 152, 205, 0.5));
  transition: transform 0.3s ease;
}

.nav-card:hover .nav-icon {
  transform: scale(1.1) rotate(5deg);
}

.nav-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-title {
  font-size: 1rem;
  font-weight: bold;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.nav-subtitle {
  font-size: 0.75rem;
  color: rgba(240, 230, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-arrow {
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.nav-card:hover .nav-arrow {
  transform: translateX(5px);
}
/* ==================== End Navigation Section ==================== */

/* Audio Subsystem Specific Styles */
.audio-card {
  max-width: 320px;
  margin: 0 auto;
  text-align: center;
}

.status-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.audio-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin: 15px 0;
}

.album-art-container {
  flex-shrink: 0;
}

.album-art-frame {
  width: 120px;
  height: 120px;
  border: var(--thin-border);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background-color: var(--main-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

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

.album-art.loaded {
  display: block;
}

.album-art-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(240, 230, 255, 0.4);
  font-size: 0.75rem;
}

.album-art-placeholder.hidden {
  display: none;
}

.art-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.art-text {
  text-align: center;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.track-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  max-width: 280px;
}

.track-artist {
  font-size: 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}

.track-name {
  font-size: 1.1rem;
  color: var(--text-color);
  font-weight: normal;
  word-wrap: break-word;
  line-height: 1.3;
  margin: 4px 0;
}

.track-album {
  font-size: 0.9rem;
  color: rgba(240, 230, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Audio Statistics Card */
.audio-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0;
  border-bottom: var(--thin-border);
}

.stat-item:last-child {
  border-bottom: none;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(240, 230, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-value {
  font-size: 1rem;
  color: var(--accent);
  font-weight: bold;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--error-color);
  animation: pulse 2s infinite;
}

.status-dot.playing {
  background-color: var(--success-color);
}

.status-dot.offline {
  background-color: var(--error-color);
  animation: none;
}

.last-updated {
  font-size: 0.8rem;
  color: rgba(240, 230, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-top: var(--thin-border);
  padding-top: 8px;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* Error state */
.audio-error {
  border-color: var(--error-color) !important;
}

.audio-error .track-name {
  color: var(--error-color);
}

/* Loading state */
.audio-loading .track-name::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1em;
  background-color: var(--accent);
  margin-left: 4px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  body {
    padding: 15px;
  }
  
  .section h2 {
    font-size: 1.1rem;
  }
  
  .card {
    font-size: 0.9rem;
    padding: 15px;
  }
  
  .cards {
    grid-template-columns: 1fr;
  }
  
  /* Navigation responsive */
  .nav-cards {
    grid-template-columns: 1fr;
  }
  
  .nav-card {
    padding: 15px;
  }
  
  .nav-icon {
    font-size: 1.5rem;
    min-width: 40px;
  }
  
  .nav-title {
    font-size: 0.9rem;
  }
  
  .nav-subtitle {
    font-size: 0.7rem;
  }
  
  .audio-card {
    max-width: 100%;
  }
  
  .album-art-frame {
    width: 100px;
    height: 100px;
  }
  
  .track-info {
    max-width: 100%;
  }
  
  .audio-stats {
    text-align: center;
  }
  
  .stat-item {
    align-items: center;
  }
}

/* ==================== FOOTER ==================== */
.site-footer {
  border-top: var(--thin-border);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}

.footer-links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 0.7;
}

.footer-meta {
  font-size: 0.75rem;
  color: rgba(240, 230, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  gap: 20px;
}

.footer-visitors {
  color: rgba(240, 230, 255, 0.5);
}

.footer-tagline {
  font-size: 0.65rem;
  color: rgba(240, 230, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 8px;
}
/* ==================== END FOOTER ==================== */

/* ==================== WEB 1.0 (OLDNET) MODE ==================== */
/* XP Luna color palette:
   --xp-bg:        #ECE9D8  (silver desktop / window body)
   --xp-titlebar:  linear #0A246A → #A6CAF0  (Luna blue)
   --xp-border-hi: #FFFFFF
   --xp-border-lo: #808080
   --xp-btn:       #D4D0C8
   --xp-taskbar:   linear #1F3B73 → #3169C4
*/

body.web1 {
  font-family: Tahoma, Arial, sans-serif !important;
  background-color: #3A6EA5 !important; /* XP desktop blue */
  background-image: none !important;
  color: #000000 !important;
  padding-bottom: 44px !important; /* room for taskbar */
}

body.web1 .container {
  background-color: #ECE9D8;
  border: 2px solid #FFFFFF;
  outline: 1px solid #808080;
  padding: 0 !important;
  gap: 0 !important;
  max-width: 820px !important;
  overflow: hidden;
}

body.web1 .container::before {
  content: 'MY HOMEPAGE - Microsoft Internet Explorer';
  display: block;
  background: linear-gradient(to bottom, #0A246A 0%, #A6CAF0 100%);
  color: #ffffff;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 4px 8px;
  letter-spacing: 0;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
  user-select: none;
}

body.web1 .section {
  padding: 8px 12px;
  gap: 8px !important;
  border-bottom: 1px solid #ACA899;
}

body.web1 .section:last-child {
  border-bottom: none;
}

body.web1 #web1-marquee {
  display: block;
  background-color: #000080;
  color: #ffff00;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 0.85rem;
  padding: 3px 0;
  border: none;
  margin: 0;
  letter-spacing: 0;
}

body.web1 #web1-footer {
  text-align: center;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 0.8rem;
  color: navy;
  padding: 8px;
  background-color: #ECE9D8;
}

body.web1 #web1-footer hr {
  border: none;
  border-top: 1px solid #ACA899;
  margin: 6px 0;
}

body.web1 #web1-footer a {
  color: #0000ee !important;
  text-decoration: underline !important;
  font-size: 0.75rem !important;
}

/* Blink animation (CSS fallback since <blink> is dead) */
body.web1 blink {
  animation: web1-blink 1s steps(1) infinite;
  display: inline-block;
  color: red;
  font-family: Tahoma, Arial, sans-serif;
}

@keyframes web1-blink {
  0%, 100% { visibility: visible; }
  50% { visibility: hidden; }
}

body.web1 .section h2 {
  font-family: Tahoma, Arial, sans-serif !important;
  color: #003399 !important;
  border-bottom: 2px solid #7A96DF !important;
  border-top: none !important;
  letter-spacing: 0 !important;
  font-size: 0.85rem !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  background: none !important;
  padding-bottom: 3px !important;
  margin-bottom: 6px !important;
}

/* Cards — XP window style */
body.web1 .cards {
  display: block !important;
}

body.web1 .card {
  background-color: #ECE9D8 !important;
  border: 2px outset #D4D0C8 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  margin-bottom: 6px;
  text-align: left !important;
  transition: none !important;
  padding: 0 !important;
  overflow: hidden;
}

/* XP title bar on each card */
body.web1 .card h3 {
  display: block;
  background: linear-gradient(to bottom, #0A246A 0%, #A6CAF0 100%);
  color: #ffffff !important;
  font-family: Tahoma, Arial, sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: bold !important;
  letter-spacing: 0 !important;
  padding: 3px 6px !important;
  margin: 0 0 6px 0 !important;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.4);
  text-transform: none !important;
}

body.web1 .card > p,
body.web1 .card > a,
body.web1 .card > ul,
body.web1 .card > div {
  padding: 0 8px;
}

body.web1 .card > p:last-child,
body.web1 .card > a:last-child {
  padding-bottom: 8px;
}

body.web1 .card:hover {
  border: 2px outset #D4D0C8 !important;
  box-shadow: none !important;
  transform: none !important;
}

body.web1 .card a,
body.web1 a {
  color: #0000ee !important;
  text-decoration: underline !important;
  font-family: Tahoma, Arial, sans-serif !important;
  font-size: 0.85rem !important;
  text-transform: none !important;
}

body.web1 .card a:visited,
body.web1 a:visited {
  color: #551a8b !important;
}

body.web1 .card a:hover,
body.web1 a:hover {
  color: #ff0000 !important;
  opacity: 1 !important;
}

/* Nav cards — look like XP toolbar buttons */
body.web1 .nav-cards {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

body.web1 .nav-card {
  background: linear-gradient(to bottom, #FAFAFA 0%, #D4D0C8 100%) !important;
  border: 2px outset #D4D0C8 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  transform: none !important;
  transition: none !important;
  color: #000000 !important;
  text-decoration: none !important;
  display: flex !important;
  padding: 6px 10px !important;
}

body.web1 .nav-card::before {
  display: none !important;
}

body.web1 .nav-card:hover {
  background: linear-gradient(to bottom, #EEF4FF 0%, #B8CFE8 100%) !important;
  border: 2px inset #D4D0C8 !important;
  transform: none !important;
  box-shadow: none !important;
}

body.web1 .nav-title {
  color: #003399 !important;
  letter-spacing: 0 !important;
  font-family: Tahoma, Arial, sans-serif !important;
  font-size: 0.85rem !important;
}

body.web1 .nav-subtitle {
  color: #444444 !important;
  font-size: 0.7rem !important;
}

body.web1 .nav-arrow {
  color: #003399 !important;
  transition: none !important;
}

body.web1 .nav-card:hover .nav-arrow {
  transform: none !important;
}

/* Audio card */
body.web1 .audio-card {
  max-width: 100% !important;
}

body.web1 .track-artist {
  color: #003399 !important;
  padding: 0 8px;
}

body.web1 .track-name {
  color: #000000 !important;
  padding: 0 8px;
}

body.web1 .track-album {
  color: #555555 !important;
  padding: 0 8px;
}

body.web1 .album-art-frame {
  border: 2px inset #D4D0C8 !important;
  border-radius: 0 !important;
  background-color: #ECE9D8 !important;
}

body.web1 .audio-content,
body.web1 .status-indicator,
body.web1 .last-updated {
  padding: 0 8px;
}

body.web1 .status-dot {
  animation: web1-blink 0.8s steps(1) infinite !important;
  border-radius: 0 !important;
}

body.web1 .last-updated {
  color: #555555 !important;
  border-top: 1px solid #ACA899 !important;
  margin: 6px 8px 0 !important;
  padding: 4px 0 6px !important;
}

body.web1 .spec-list {
  padding: 0 8px 8px !important;
}

body.web1 .spec-list li {
  border-bottom: 1px solid #ACA899 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0 !important;
}

/* Footer in web1 mode */
body.web1 .site-footer {
  border-top: 2px solid #ACA899 !important;
  background-color: #D4D0C8 !important;
  padding: 8px 12px !important;
}

body.web1 .footer-links a {
  color: #0000ee !important;
  font-family: Tahoma, Arial, sans-serif !important;
  font-size: 0.8rem !important;
  letter-spacing: 0 !important;
}

body.web1 .footer-meta,
body.web1 .footer-visitors,
body.web1 .footer-tagline {
  color: #444444 !important;
  font-family: Tahoma, Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

/* XP Taskbar */
#web1-taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: linear-gradient(to bottom, #1F3B73 0%, #3169C4 8%, #2157C0 90%, #1A4BA0 100%);
  border-top: 1px solid #5B9BD5;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 4px;
  z-index: 9999;
  font-family: Tahoma, Arial, sans-serif;
}

#web1-start-btn {
  background: linear-gradient(to bottom, #5CB85C 0%, #3D7A3D 100%);
  color: #ffffff;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: bold;
  font-style: italic;
  padding: 3px 14px 3px 10px;
  border-radius: 0 12px 12px 0;
  border: 1px solid #2A5A2A;
  cursor: pointer;
  white-space: nowrap;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
  user-select: none;
}

#web1-start-btn:hover {
  background: linear-gradient(to bottom, #6DCF6D 0%, #4A8F4A 100%);
}

#web1-taskbar-items {
  flex: 1;
  display: flex;
  gap: 2px;
  overflow: hidden;
}

.web1-taskbar-item {
  background: linear-gradient(to bottom, #2B5DB8 0%, #3D7DD4 100%);
  border: 1px solid #5B9BD5;
  color: #ffffff;
  font-size: 0.75rem;
  padding: 3px 8px;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

#web1-taskbar-clock {
  background: linear-gradient(to bottom, #1A3F7A 0%, #2B5DB8 100%);
  border: 1px solid #5B9BD5;
  color: #ffffff;
  font-size: 0.75rem;
  padding: 3px 8px;
  white-space: nowrap;
  min-width: 55px;
  text-align: center;
  user-select: none;
}
/* Game tabs in taskbar */
#web1-taskbar a.web1-game-tab {
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: Tahoma, Arial, sans-serif !important;
  font-size: 0.75rem !important;
  text-transform: none !important;
  display: flex;
  align-items: center;
  max-width: 120px;
}

#web1-taskbar a.web1-game-tab:hover {
  background: linear-gradient(to bottom, #3A6DB8 0%, #4D8FE0 100%) !important;
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Guestbook */
body.web1 #web1-guestbook-form input,
body.web1 #web1-guestbook-form textarea {
  border: 2px inset #D4D0C8;
  background-color: #ffffff;
}

body.web1 .web1-btn {
  background: linear-gradient(to bottom, #FAFAFA 0%, #D4D0C8 100%);
  border: 2px outset #D4D0C8;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 0.8rem;
  padding: 3px 12px;
  cursor: pointer;
}

body.web1 .web1-btn:active {
  border: 2px inset #D4D0C8;
}
/* ==================== END WEB 1.0 MODE ==================== */

/* ==================== RETRO WINDOWS THEMES — SHARED STRUCTURE ==================== */
/* Shared structural resets for all non-XP retro themes */
body.win2k, body.winvista, body.winme, body.win1, body.win3 {
  font-family: Tahoma, Arial, sans-serif !important;
  background-image: none !important;
  padding-bottom: 44px !important;
}

body.win2k .container, body.winvista .container, body.winme .container,
body.win1 .container, body.win3 .container {
  padding: 0 !important;
  gap: 0 !important;
  max-width: 820px !important;
  overflow: hidden;
  border: 2px solid #FFFFFF;
  outline: 1px solid #808080;
}

body.win2k .container::before, body.winvista .container::before,
body.winme .container::before, body.win1 .container::before,
body.win3 .container::before {
  display: block;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 4px 8px;
  letter-spacing: 0;
  user-select: none;
}

body.win2k .section, body.winvista .section, body.winme .section,
body.win1 .section, body.win3 .section {
  padding: 8px 12px;
  gap: 8px !important;
}

body.win2k .section:last-child, body.winvista .section:last-child,
body.winme .section:last-child, body.win1 .section:last-child,
body.win3 .section:last-child { border-bottom: none; }

body.win2k .section h2, body.winvista .section h2, body.winme .section h2,
body.win1 .section h2, body.win3 .section h2 {
  border-top: none !important;
  letter-spacing: 0 !important;
  font-size: 0.85rem !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  background: none !important;
  padding-bottom: 3px !important;
  margin-bottom: 6px !important;
}

body.win2k .cards, body.winvista .cards, body.winme .cards,
body.win1 .cards, body.win3 .cards { display: block !important; }

body.win2k .card, body.winvista .card, body.winme .card,
body.win1 .card, body.win3 .card {
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  margin-bottom: 6px;
  text-align: left !important;
  transition: none !important;
  padding: 0 !important;
  overflow: hidden;
}

body.win2k .card:hover, body.winvista .card:hover, body.winme .card:hover,
body.win1 .card:hover, body.win3 .card:hover {
  box-shadow: none !important;
  transform: none !important;
}

body.win2k .card h3, body.winvista .card h3, body.winme .card h3,
body.win1 .card h3, body.win3 .card h3 {
  display: block;
  font-size: 0.75rem !important;
  font-weight: bold !important;
  letter-spacing: 0 !important;
  padding: 3px 6px !important;
  margin: 0 0 6px 0 !important;
  text-transform: none !important;
}

body.win2k .card > p, body.win2k .card > a,
body.win2k .card > ul, body.win2k .card > div,
body.winvista .card > p, body.winvista .card > a,
body.winvista .card > ul, body.winvista .card > div,
body.winme .card > p, body.winme .card > a,
body.winme .card > ul, body.winme .card > div,
body.win1 .card > p, body.win1 .card > a,
body.win1 .card > ul, body.win1 .card > div,
body.win3 .card > p, body.win3 .card > a,
body.win3 .card > ul, body.win3 .card > div { padding: 0 8px; }

body.win2k .card a, body.win2k a,
body.winvista .card a, body.winvista a,
body.winme .card a, body.winme a,
body.win1 .card a, body.win1 a,
body.win3 .card a, body.win3 a {
  text-decoration: underline !important;
  font-family: Tahoma, Arial, sans-serif !important;
  font-size: 0.85rem !important;
  text-transform: none !important;
}

body.win2k .nav-cards, body.winvista .nav-cards, body.winme .nav-cards,
body.win1 .nav-cards, body.win3 .nav-cards {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

body.win2k .nav-card, body.winvista .nav-card, body.winme .nav-card,
body.win1 .nav-card, body.win3 .nav-card {
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  transform: none !important;
  transition: none !important;
  text-decoration: none !important;
  display: flex !important;
  padding: 6px 10px !important;
}

body.win2k .nav-card::before, body.winvista .nav-card::before,
body.winme .nav-card::before, body.win1 .nav-card::before,
body.win3 .nav-card::before { display: none !important; }

body.win2k .nav-subtitle, body.winvista .nav-subtitle, body.winme .nav-subtitle,
body.win1 .nav-subtitle, body.win3 .nav-subtitle {
  font-size: 0.7rem !important;
  font-family: Tahoma, Arial, sans-serif !important;
}

body.win2k .nav-title, body.winvista .nav-title, body.winme .nav-title,
body.win1 .nav-title, body.win3 .nav-title {
  letter-spacing: 0 !important;
  font-family: Tahoma, Arial, sans-serif !important;
  font-size: 0.85rem !important;
}

body.win2k .site-footer, body.winvista .site-footer, body.winme .site-footer,
body.win1 .site-footer, body.win3 .site-footer {
  padding: 8px 12px !important;
}

body.win2k .footer-links a, body.winvista .footer-links a, body.winme .footer-links a,
body.win1 .footer-links a, body.win3 .footer-links a {
  font-family: Tahoma, Arial, sans-serif !important;
  font-size: 0.8rem !important;
  letter-spacing: 0 !important;
}

body.win2k .footer-meta, body.win2k .footer-visitors, body.win2k .footer-tagline,
body.winvista .footer-meta, body.winvista .footer-visitors, body.winvista .footer-tagline,
body.winme .footer-meta, body.winme .footer-visitors, body.winme .footer-tagline,
body.win1 .footer-meta, body.win1 .footer-visitors, body.win1 .footer-tagline,
body.win3 .footer-meta, body.win3 .footer-visitors, body.win3 .footer-tagline {
  font-family: Tahoma, Arial, sans-serif !important;
}

body.win2k .album-art-frame, body.winvista .album-art-frame,
body.winme .album-art-frame, body.win1 .album-art-frame,
body.win3 .album-art-frame { border-radius: 0 !important; }

body.win2k .status-dot, body.winvista .status-dot, body.winme .status-dot,
body.win1 .status-dot, body.win3 .status-dot { border-radius: 0 !important; }

body.win2k #web1-marquee, body.winvista #web1-marquee, body.winme #web1-marquee,
body.win1 #web1-marquee, body.win3 #web1-marquee {
  display: block;
  font-weight: bold;
  font-size: 0.85rem;
  padding: 3px 0;
  border: none;
  margin: 0;
  letter-spacing: 0;
}

body.win2k #web1-footer, body.winvista #web1-footer, body.winme #web1-footer,
body.win1 #web1-footer, body.win3 #web1-footer {
  text-align: center;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 0.8rem;
  padding: 8px;
}

body.win2k #web1-footer hr, body.winvista #web1-footer hr, body.winme #web1-footer hr,
body.win1 #web1-footer hr, body.win3 #web1-footer hr {
  border: none;
  border-top: 1px solid #ACA899;
  margin: 6px 0;
}

body.win2k .web1-btn, body.winvista .web1-btn, body.winme .web1-btn,
body.win1 .web1-btn, body.win3 .web1-btn {
  font-family: Tahoma, Arial, sans-serif;
  font-size: 0.8rem;
  padding: 3px 12px;
  cursor: pointer;
}

/* ===== WINDOWS 2000 ===== */
body.win2k {
  background-color: #244A7A !important;
  color: #000000 !important;
}
body.win2k .container { background-color: #D4D0C8; }
body.win2k .container::before {
  content: 'My Homepage - Microsoft Internet Explorer';
  background: linear-gradient(to right, #000080 0%, #1C70C0 100%);
  color: #ffffff;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.4);
}
body.win2k .section { border-bottom: 1px solid #808080; }
body.win2k .section h2 { color: #000080 !important; border-bottom: 1px solid #808080 !important; }
body.win2k .card { background-color: #D4D0C8 !important; border: 2px outset #D4D0C8 !important; }
body.win2k .card:hover { border: 2px outset #D4D0C8 !important; }
body.win2k .card h3 {
  background: linear-gradient(to right, #000080 0%, #1C70C0 100%);
  color: #ffffff !important;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.4);
}
body.win2k .card a, body.win2k a { color: #0000ee !important; }
body.win2k .card a:visited, body.win2k a:visited { color: #551a8b !important; }
body.win2k .nav-card {
  background: linear-gradient(to bottom, #FAFAFA 0%, #D4D0C8 100%) !important;
  border: 2px outset #D4D0C8 !important;
  color: #000000 !important;
}
body.win2k .nav-card:hover { background: linear-gradient(to bottom, #EEF4FF 0%, #B8CFE8 100%) !important; border: 2px inset #D4D0C8 !important; }
body.win2k .nav-title { color: #000080 !important; }
body.win2k .nav-arrow { color: #000080 !important; transition: none !important; }
body.win2k .nav-card:hover .nav-arrow { transform: none !important; }
body.win2k .site-footer { background-color: #D4D0C8 !important; border-top: 2px solid #808080 !important; }
body.win2k .footer-links a, body.win2k .footer-meta, body.win2k .footer-visitors, body.win2k .footer-tagline { color: #000000 !important; }
body.win2k #web1-marquee { background-color: #000080; color: #ffffff; font-family: Tahoma, Arial, sans-serif; }
body.win2k #web1-footer { background-color: #D4D0C8; color: #000080; }
body.win2k .web1-btn { background: linear-gradient(to bottom, #FAFAFA 0%, #D4D0C8 100%); border: 2px outset #D4D0C8; }
body.win2k .web1-btn:active { border: 2px inset #D4D0C8; }
body.win2k #web1-guestbook-form input,
body.win2k #web1-guestbook-form textarea { border: 2px inset #D4D0C8; background-color: #ffffff; font-family: Tahoma,Arial,sans-serif; }
body.win2k #web1-taskbar {
  background: linear-gradient(to bottom, #C0C0C0 0%, #D4D0C8 3%, #D4D0C8 97%, #808080 100%);
  border-top: 1px solid #ffffff;
}
body.win2k #web1-start-btn {
  background: linear-gradient(to bottom, #E8E4DC 0%, #C0BDB5 100%);
  color: #000000;
  border-radius: 0;
  border: 2px outset #D4D0C8;
  font-style: normal;
  text-shadow: none;
  box-shadow: none;
}
body.win2k .web1-taskbar-item {
  background: linear-gradient(to bottom, #E8E4DC 0%, #C0BDB5 100%);
  border: 2px outset #D4D0C8;
  color: #000000;
  box-shadow: none;
}
body.win2k #web1-taskbar-clock {
  background: linear-gradient(to bottom, #D4D0C8 0%, #C0BDB5 100%);
  border: 1px inset #808080;
  color: #000000;
}
body.win2k #web1-taskbar a.web1-game-tab { color: #000000 !important; }

/* ===== WINDOWS ME ===== */
body.winme {
  background-color: #008080 !important;
  color: #000000 !important;
}
body.winme .container { background-color: #D4D0C8; }
body.winme .container::before {
  content: 'My Homepage - Microsoft Internet Explorer';
  background: linear-gradient(to right, #000080 0%, #1C94FF 40%, #56A8D8 100%);
  color: #ffffff;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.4);
}
body.winme .section { border-bottom: 1px solid #ACA899; }
body.winme .section h2 { color: #000080 !important; border-bottom: 2px solid #ACA899 !important; }
body.winme .card { background-color: #D4D0C8 !important; border: 2px outset #D4D0C8 !important; }
body.winme .card:hover { border: 2px outset #D4D0C8 !important; }
body.winme .card h3 {
  background: linear-gradient(to right, #000080 0%, #1C94FF 50%, #008080 100%);
  color: #ffffff !important;
}
body.winme .card a, body.winme a { color: #0000ee !important; }
body.winme .card a:visited, body.winme a:visited { color: #551a8b !important; }
body.winme .nav-card {
  background: linear-gradient(to bottom, #FAFAFA 0%, #D4D0C8 100%) !important;
  border: 2px outset #D4D0C8 !important;
  color: #000000 !important;
}
body.winme .nav-card:hover { background: linear-gradient(to bottom, #EEF4FF 0%, #B8D8E8 100%) !important; border: 2px inset #D4D0C8 !important; }
body.winme .nav-title { color: #000080 !important; }
body.winme .nav-arrow { color: #000080 !important; transition: none !important; }
body.winme .site-footer { background-color: #D4D0C8 !important; border-top: 2px solid #ACA899 !important; }
body.winme .footer-links a, body.winme .footer-meta, body.winme .footer-visitors, body.winme .footer-tagline { color: #444444 !important; }
body.winme #web1-marquee { background-color: #008080; color: #ffffff; font-family: Tahoma, Arial, sans-serif; }
body.winme #web1-footer { background-color: #D4D0C8; color: navy; }
body.winme .web1-btn { background: linear-gradient(to bottom, #FAFAFA 0%, #D4D0C8 100%); border: 2px outset #D4D0C8; }
body.winme .web1-btn:active { border: 2px inset #D4D0C8; }
body.winme #web1-guestbook-form input,
body.winme #web1-guestbook-form textarea { border: 2px inset #D4D0C8; background-color: #ffffff; font-family: Tahoma,Arial,sans-serif; }
body.winme #web1-taskbar {
  background: linear-gradient(to bottom, #1F3B73 0%, #3169C4 8%, #2157C0 90%, #1A4BA0 100%);
  border-top: 1px solid #5B9BD5;
}
body.winme #web1-start-btn {
  background: linear-gradient(to bottom, #5CB85C 0%, #3D7A3D 100%);
  color: #ffffff;
  border-radius: 0 12px 12px 0;
  border: 1px solid #2A5A2A;
}
body.winme .web1-taskbar-item {
  background: linear-gradient(to bottom, #2B5DB8 0%, #3D7DD4 100%);
  border: 1px solid #5B9BD5;
  color: #ffffff;
}
body.winme #web1-taskbar-clock { background: linear-gradient(to bottom, #1A3F7A 0%, #2B5DB8 100%); border: 1px solid #5B9BD5; color: #ffffff; }

/* ===== WINDOWS VISTA ===== */
body.winvista {
  background-color: #0A1230 !important;
  color: #000000 !important;
}
body.winvista .container {
  background-color: #EEF3FF;
  border: 1px solid #8AB8E8 !important;
  outline: 1px solid #3A6ECC !important;
  border-radius: 8px;
}
body.winvista .container::before {
  content: 'My Homepage - Windows Internet Explorer';
  background: linear-gradient(to bottom, rgba(160, 200, 255, 0.95) 0%, rgba(80, 140, 230, 0.9) 100%);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,80,0.6);
  border-radius: 6px 6px 0 0;
}
body.winvista .section { border-bottom: 1px solid #B8D0F0; }
body.winvista .section h2 { color: #1550AA !important; border-bottom: 1px solid #B8D0F0 !important; }
body.winvista .card {
  background-color: rgba(255,255,255,0.8) !important;
  border: 1px solid #B8D0F0 !important;
  border-radius: 4px !important;
}
body.winvista .card:hover { border: 1px solid #5A9EE0 !important; }
body.winvista .card h3 {
  background: linear-gradient(to bottom, rgba(140,190,255,0.7) 0%, rgba(70,130,220,0.7) 100%);
  color: #002080 !important;
  border-radius: 3px 3px 0 0;
}
body.winvista .card a, body.winvista a { color: #0033CC !important; }
body.winvista .card a:visited, body.winvista a:visited { color: #6622AA !important; }
body.winvista .nav-card {
  background: linear-gradient(to bottom, rgba(240,248,255,0.95) 0%, rgba(200,225,255,0.9) 100%) !important;
  border: 1px solid #B8D0F0 !important;
  border-radius: 4px !important;
  color: #000060 !important;
}
body.winvista .nav-card:hover { background: linear-gradient(to bottom, rgba(210,235,255,0.95) 0%, rgba(160,205,255,0.9) 100%) !important; border: 1px solid #5A9EE0 !important; }
body.winvista .nav-title { color: #0033CC !important; }
body.winvista .nav-arrow { color: #0033CC !important; transition: none !important; }
body.winvista .site-footer { background-color: #E0ECFF !important; border-top: 1px solid #B8D0F0 !important; }
body.winvista .footer-links a { color: #0033CC !important; }
body.winvista .footer-meta, body.winvista .footer-visitors, body.winvista .footer-tagline { color: #334466 !important; }
body.winvista #web1-marquee { background-color: rgba(60,110,220,0.85); color: #ffffff; font-family: 'Segoe UI', Tahoma, sans-serif; }
body.winvista #web1-footer { background-color: #EEF3FF; color: #1550AA; }
body.winvista .web1-btn {
  background: linear-gradient(to bottom, rgba(200,225,255,0.9) 0%, rgba(120,175,240,0.9) 100%);
  border: 1px solid #5A9EE0;
  border-radius: 4px;
}
body.winvista #web1-guestbook-form input,
body.winvista #web1-guestbook-form textarea { border: 1px solid #B8D0F0; border-radius: 3px; background-color: #ffffff; font-family: 'Segoe UI',Tahoma,sans-serif; }
body.winvista #web1-taskbar {
  background: linear-gradient(to bottom, rgba(10,20,60,0.95) 0%, rgba(20,40,120,0.95) 100%);
  border-top: 1px solid rgba(100,150,255,0.4);
  backdrop-filter: blur(10px);
}
body.winvista #web1-start-btn {
  background: linear-gradient(to bottom, rgba(100,160,255,0.9) 0%, rgba(40,90,200,0.9) 100%);
  color: #ffffff;
  border-radius: 50%;
  border: 2px solid rgba(120,180,255,0.6);
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-style: normal;
  box-shadow: 0 0 12px rgba(100,160,255,0.5);
}
body.winvista .web1-taskbar-item {
  background: linear-gradient(to bottom, rgba(40,80,180,0.6) 0%, rgba(20,50,140,0.6) 100%);
  border: 1px solid rgba(100,150,255,0.3);
  border-radius: 3px;
  color: #E8F0FF;
  backdrop-filter: blur(4px);
}
body.winvista #web1-taskbar-clock {
  background: linear-gradient(to bottom, rgba(10,20,80,0.8) 0%, rgba(20,40,120,0.8) 100%);
  border: 1px solid rgba(100,150,255,0.3);
  color: #E8F0FF;
  border-radius: 3px;
}
body.winvista #web1-taskbar a.web1-game-tab { color: #E8F0FF !important; }

/* ===== WINDOWS 3.1 ===== */
body.win3 {
  background-color: #008080 !important;
  color: #000000 !important;
  font-family: 'Arial', sans-serif !important;
}
body.win3 .container {
  background-color: #C0C0C0;
  border: 3px solid #FFFFFF !important;
  outline: 2px solid #000000 !important;
}
body.win3 .container::before {
  content: 'Program Manager - [My Homepage]';
  background: #000080;
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  text-shadow: none;
}
body.win3 .section { border-bottom: 2px solid #808080; }
body.win3 .section h2 { color: #000080 !important; border-bottom: 2px solid #808080 !important; font-family: Arial, sans-serif !important; }
body.win3 .card { background-color: #C0C0C0 !important; border: 3px outset #FFFFFF !important; }
body.win3 .card:hover { border: 3px outset #FFFFFF !important; }
body.win3 .card h3 {
  background: #000080;
  color: #ffffff !important;
  font-family: Arial, sans-serif !important;
}
body.win3 .card a, body.win3 a { color: #000080 !important; }
body.win3 .card a:visited, body.win3 a:visited { color: #800080 !important; }
body.win3 .nav-card {
  background: #C0C0C0 !important;
  border: 3px outset #FFFFFF !important;
  color: #000000 !important;
}
body.win3 .nav-card:hover { border: 3px inset #FFFFFF !important; }
body.win3 .nav-title { color: #000080 !important; }
body.win3 .nav-arrow { color: #000080 !important; transition: none !important; }
body.win3 .site-footer { background-color: #C0C0C0 !important; border-top: 3px solid #808080 !important; }
body.win3 .footer-links a, body.win3 .footer-meta, body.win3 .footer-visitors, body.win3 .footer-tagline { color: #000000 !important; }
body.win3 #web1-marquee { background-color: #000080; color: #ffffff; font-family: Arial, sans-serif; }
body.win3 #web1-footer { background-color: #C0C0C0; color: #000000; }
body.win3 .web1-btn { background-color: #C0C0C0; border: 3px outset #FFFFFF; font-family: Arial, sans-serif; }
body.win3 .web1-btn:active { border: 3px inset #FFFFFF; }
body.win3 #web1-guestbook-form input,
body.win3 #web1-guestbook-form textarea { border: 3px inset #808080; background-color: #ffffff; font-family: Arial,sans-serif; }
body.win3 #web1-taskbar {
  background: #C0C0C0;
  border-top: 3px outset #FFFFFF;
}
body.win3 #web1-start-btn {
  background: #C0C0C0;
  color: #000000;
  border-radius: 0;
  border: 3px outset #FFFFFF;
  font-style: normal;
  text-shadow: none;
  box-shadow: none;
  font-family: Arial, sans-serif;
  font-weight: bold;
}
body.win3 .web1-taskbar-item {
  background: #C0C0C0;
  border: 3px outset #FFFFFF;
  color: #000000;
  box-shadow: none;
  font-family: Arial, sans-serif;
}
body.win3 #web1-taskbar-clock {
  background: #C0C0C0;
  border: 1px inset #808080;
  color: #000000;
  font-family: Arial, sans-serif;
}
body.win3 #web1-taskbar a.web1-game-tab { color: #000000 !important; }

/* ===== WINDOWS 1.0 ===== */
body.win1 {
  background-color: #808080 !important;
  color: #000000 !important;
  font-family: 'Courier New', Courier, monospace !important;
}
body.win1 .container {
  background-color: #FFFFFF;
  border: 4px solid #000000 !important;
  outline: none !important;
}
body.win1 .container::before {
  content: 'MS-DOS Executive - [My Homepage]';
  background: #000000;
  color: #ffffff;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  text-shadow: none;
}
body.win1 .section { border-bottom: 2px solid #000000; }
body.win1 .section h2 {
  color: #000000 !important;
  border-bottom: 2px solid #000000 !important;
  font-family: 'Courier New', Courier, monospace !important;
  font-weight: bold !important;
}
body.win1 .card { background-color: #FFFFFF !important; border: 3px solid #000000 !important; }
body.win1 .card:hover { border: 3px solid #000000 !important; }
body.win1 .card h3 {
  background: #000000;
  color: #ffffff !important;
  font-family: 'Courier New', Courier, monospace !important;
}
body.win1 .card a, body.win1 a { color: #000000 !important; text-decoration: underline !important; }
body.win1 .card a:visited, body.win1 a:visited { color: #555555 !important; }
body.win1 .nav-card {
  background: #FFFFFF !important;
  border: 3px solid #000000 !important;
  color: #000000 !important;
}
body.win1 .nav-card:hover { background: #000000 !important; color: #ffffff !important; }
body.win1 .nav-card:hover .nav-title, body.win1 .nav-card:hover .nav-subtitle,
body.win1 .nav-card:hover .nav-arrow { color: #ffffff !important; }
body.win1 .nav-title { color: #000000 !important; font-family: 'Courier New',Courier,monospace !important; }
body.win1 .nav-arrow { color: #000000 !important; transition: none !important; }
body.win1 .nav-subtitle { color: #444444 !important; font-family: 'Courier New',Courier,monospace !important; }
body.win1 .site-footer { background-color: #FFFFFF !important; border-top: 3px solid #000000 !important; }
body.win1 .footer-links a, body.win1 .footer-meta, body.win1 .footer-visitors, body.win1 .footer-tagline { color: #000000 !important; font-family: 'Courier New',Courier,monospace !important; }
body.win1 #web1-marquee { background-color: #000000; color: #ffffff; font-family: 'Courier New',Courier,monospace; }
body.win1 #web1-footer { background-color: #FFFFFF; color: #000000; font-family: 'Courier New',Courier,monospace; }
body.win1 .web1-btn { background: #FFFFFF; border: 3px solid #000000; font-family: 'Courier New',Courier,monospace; }
body.win1 .web1-btn:active { background: #000000; color: #ffffff; }
body.win1 #web1-guestbook-form input,
body.win1 #web1-guestbook-form textarea { border: 2px solid #000000; background-color: #ffffff; font-family: 'Courier New',Courier,monospace; }
body.win1 #web1-taskbar {
  background: #C0C0C0;
  border-top: 3px solid #000000;
}
body.win1 #web1-start-btn {
  background: #FFFFFF;
  color: #000000;
  border-radius: 0;
  border: 3px solid #000000;
  font-style: normal;
  text-shadow: none;
  box-shadow: none;
  font-family: 'Courier New', Courier, monospace;
}
body.win1 .web1-taskbar-item {
  background: #FFFFFF;
  border: 2px solid #000000;
  color: #000000;
  box-shadow: none;
  font-family: 'Courier New', Courier, monospace;
}
body.win1 #web1-taskbar-clock {
  background: #FFFFFF;
  border: 2px solid #000000;
  color: #000000;
  font-family: 'Courier New', Courier, monospace;
}
body.win1 #web1-taskbar a.web1-game-tab {
  color: #000000 !important;
  font-family: 'Courier New',Courier,monospace !important;
}
/* ==================== END RETRO WINDOWS THEMES ==================== */

/* ==================== WINDOWS 95 ==================== */
body.win95 {
  font-family: 'MS Sans Serif', Arial, sans-serif !important;
  background-color: #008080 !important;
  background-image: none !important;
  color: #000000 !important;
  padding-bottom: 44px !important;
}
body.win95 .container {
  background-color: #C0C0C0;
  border: 2px solid #FFFFFF !important;
  outline: 1px solid #808080 !important;
  padding: 0 !important;
  gap: 0 !important;
  max-width: 820px !important;
  overflow: hidden;
}
body.win95 .container::before {
  content: 'My Computer — My Homepage';
  display: block;
  background: #000080;
  color: #ffffff;
  font-family: 'MS Sans Serif', Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 4px 8px;
  letter-spacing: 0;
  text-shadow: none;
  user-select: none;
}
body.win95 .section {
  padding: 8px 12px;
  gap: 8px !important;
  border-bottom: 1px solid #808080;
}
body.win95 .section:last-child { border-bottom: none; }
body.win95 .section h2 {
  font-family: 'MS Sans Serif', Arial, sans-serif !important;
  color: #000080 !important;
  border-bottom: 2px solid #808080 !important;
  letter-spacing: 0 !important;
  font-size: 0.85rem !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  background: none !important;
  padding-bottom: 3px !important;
  margin-bottom: 6px !important;
  text-shadow: none !important;
}
body.win95 .cards { display: block !important; }
body.win95 .card {
  background-color: #C0C0C0 !important;
  border: 2px outset #C0C0C0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  margin-bottom: 6px;
  text-align: left !important;
  transition: none !important;
  padding: 0 !important;
  overflow: hidden;
}
body.win95 .card:hover { border: 2px outset #C0C0C0 !important; box-shadow: none !important; transform: none !important; }
body.win95 .card h3 {
  display: block;
  background: #000080;
  color: #ffffff !important;
  font-family: 'MS Sans Serif', Arial, sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: bold !important;
  letter-spacing: 0 !important;
  padding: 3px 6px !important;
  margin: 0 0 6px 0 !important;
  text-shadow: none;
  text-transform: none !important;
}
body.win95 .card > p, body.win95 .card > a,
body.win95 .card > ul, body.win95 .card > div { padding: 0 8px; }
body.win95 .card > p:last-child, body.win95 .card > a:last-child { padding-bottom: 8px; }
body.win95 .card a, body.win95 a { color: #0000ee !important; text-decoration: underline !important; font-family: 'MS Sans Serif', Arial, sans-serif !important; font-size: 0.85rem !important; text-transform: none !important; }
body.win95 .card a:visited, body.win95 a:visited { color: #551a8b !important; }
body.win95 .card a:hover, body.win95 a:hover { color: #ff0000 !important; opacity: 1 !important; }
body.win95 .nav-cards { display: flex !important; flex-direction: column !important; gap: 3px !important; }
body.win95 .nav-card {
  background: #C0C0C0 !important;
  border: 2px outset #C0C0C0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  transform: none !important;
  transition: none !important;
  color: #000000 !important;
  text-decoration: none !important;
  display: flex !important;
  padding: 6px 10px !important;
}
body.win95 .nav-card::before { display: none !important; }
body.win95 .nav-card:hover { background: #C8D8E8 !important; border: 2px inset #C0C0C0 !important; transform: none !important; }
body.win95 .nav-title { color: #000080 !important; letter-spacing: 0 !important; font-family: 'MS Sans Serif', Arial, sans-serif !important; font-size: 0.85rem !important; }
body.win95 .nav-subtitle { color: #444444 !important; font-size: 0.7rem !important; font-family: 'MS Sans Serif', Arial, sans-serif !important; }
body.win95 .nav-arrow { color: #000080 !important; transition: none !important; }
body.win95 .nav-card:hover .nav-arrow { transform: none !important; }
body.win95 .audio-card { max-width: 100% !important; }
body.win95 .track-artist { color: #000080 !important; padding: 0 8px; }
body.win95 .track-name { color: #000000 !important; padding: 0 8px; }
body.win95 .track-album { color: #555555 !important; padding: 0 8px; }
body.win95 .album-art-frame { border: 2px inset #C0C0C0 !important; border-radius: 0 !important; background-color: #C0C0C0 !important; }
body.win95 .audio-content, body.win95 .status-indicator, body.win95 .last-updated { padding: 0 8px; }
body.win95 .status-dot { animation: web1-blink 0.8s steps(1) infinite !important; border-radius: 0 !important; }
body.win95 .last-updated { color: #555555 !important; border-top: 1px solid #808080 !important; margin: 6px 8px 0 !important; padding: 4px 0 6px !important; }
body.win95 .spec-list { padding: 0 8px 8px !important; }
body.win95 .spec-list li { border-bottom: 1px solid #808080 !important; font-size: 0.85rem !important; letter-spacing: 0 !important; font-family: 'MS Sans Serif', Arial, sans-serif !important; }
body.win95 .site-footer { border-top: 2px solid #808080 !important; background-color: #C0C0C0 !important; padding: 8px 12px !important; }
body.win95 .footer-links a { color: #0000ee !important; font-family: 'MS Sans Serif', Arial, sans-serif !important; font-size: 0.8rem !important; letter-spacing: 0 !important; }
body.win95 .footer-meta, body.win95 .footer-visitors, body.win95 .footer-tagline { color: #444444 !important; font-family: 'MS Sans Serif', Arial, sans-serif !important; letter-spacing: 0 !important; }
body.win95 #web1-marquee { display: block; background-color: #000080; color: #ffff00; font-family: 'MS Sans Serif', Arial, sans-serif; font-weight: bold; font-size: 0.85rem; padding: 3px 0; border: none; margin: 0; letter-spacing: 0; }
body.win95 #web1-footer { text-align: center; font-family: 'MS Sans Serif', Arial, sans-serif; font-size: 0.8rem; color: navy; padding: 8px; background-color: #C0C0C0; }
body.win95 #web1-footer hr { border: none; border-top: 1px solid #808080; margin: 6px 0; }
body.win95 #web1-footer a { color: #0000ee !important; text-decoration: underline !important; font-size: 0.75rem !important; }
body.win95 .web1-btn { background: #C0C0C0; border: 2px outset #C0C0C0; font-family: 'MS Sans Serif', Arial, sans-serif; font-size: 0.8rem; padding: 3px 12px; cursor: pointer; }
body.win95 .web1-btn:active { border: 2px inset #C0C0C0; }
body.win95 #web1-guestbook-form input, body.win95 #web1-guestbook-form textarea { border: 2px inset #808080; background-color: #ffffff; font-family: 'MS Sans Serif', Arial, sans-serif; }
body.win95 #web1-taskbar { background: #C0C0C0; border-top: 2px outset #C0C0C0; }
body.win95 #web1-start-btn {
  background: #C0C0C0;
  color: #000000;
  font-family: 'MS Sans Serif', Arial, sans-serif;
  font-weight: bold;
  font-style: normal;
  border-radius: 0;
  border: 2px outset #C0C0C0;
  text-shadow: none;
  box-shadow: none;
}
body.win95 #web1-start-btn:hover { background: #D0D8E0; }
body.win95 .web1-taskbar-item { background: #C0C0C0; border: 2px outset #C0C0C0; color: #000000; box-shadow: none; font-family: 'MS Sans Serif', Arial, sans-serif; }
body.win95 #web1-taskbar-clock { background: #C0C0C0; border: 1px inset #808080; color: #000000; font-family: 'MS Sans Serif', Arial, sans-serif; }
body.win95 #web1-taskbar a.web1-game-tab { color: #000000 !important; font-family: 'MS Sans Serif', Arial, sans-serif !important; font-size: 0.75rem !important; text-transform: none !important; }
/* ==================== END WINDOWS 95 ==================== */

/* ==================== WINDOWS 7 ==================== */
body.win7 {
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif !important;
  background-color: #0D2840 !important;
  background-image: none !important;
  color: #000000 !important;
  padding-bottom: 44px !important;
}
body.win7 .container {
  background-color: #F0F2F8;
  border: 1px solid #90BCDE !important;
  outline: none !important;
  border-radius: 8px;
  padding: 0 !important;
  gap: 0 !important;
  max-width: 820px !important;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
body.win7 .container::before {
  content: 'My Homepage - Windows Internet Explorer';
  display: block;
  background: linear-gradient(to bottom, #C8E0F8 0%, #7AB2E0 100%);
  color: #003070;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  font-size: 0.8rem;
  font-weight: normal;
  padding: 5px 10px;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(255,255,255,0.6);
  user-select: none;
  border-bottom: 1px solid #7AB0D8;
  border-radius: 7px 7px 0 0;
}
body.win7 .section { padding: 8px 12px; gap: 8px !important; border-bottom: 1px solid #C8D8EC; }
body.win7 .section:last-child { border-bottom: none; }
body.win7 .section h2 {
  font-family: 'Segoe UI', Tahoma, sans-serif !important;
  color: #0050A0 !important;
  border-bottom: 1px solid #B8D0EC !important;
  letter-spacing: 0 !important;
  font-size: 0.85rem !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  background: none !important;
  padding-bottom: 3px !important;
  margin-bottom: 6px !important;
  text-shadow: none !important;
}
body.win7 .cards { display: block !important; }
body.win7 .card {
  background-color: #FFFFFF !important;
  border: 1px solid #B8D0EC !important;
  border-radius: 4px !important;
  box-shadow: 0 1px 4px rgba(0,80,160,0.08) !important;
  backdrop-filter: none !important;
  margin-bottom: 6px;
  text-align: left !important;
  transition: none !important;
  padding: 0 !important;
  overflow: hidden;
}
body.win7 .card:hover { border: 1px solid #6AAAE0 !important; box-shadow: 0 1px 6px rgba(0,80,160,0.15) !important; transform: none !important; }
body.win7 .card h3 {
  display: block;
  background: linear-gradient(to bottom, #D8EEFF 0%, #90C0E8 100%);
  color: #003070 !important;
  font-family: 'Segoe UI', Tahoma, sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: bold !important;
  letter-spacing: 0 !important;
  padding: 4px 8px !important;
  margin: 0 0 6px 0 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,0.5);
  text-transform: none !important;
  border-bottom: 1px solid #90C0E8;
}
body.win7 .card > p, body.win7 .card > a,
body.win7 .card > ul, body.win7 .card > div { padding: 0 8px; }
body.win7 .card > p:last-child, body.win7 .card > a:last-child { padding-bottom: 8px; }
body.win7 .card a, body.win7 a { color: #0066CC !important; text-decoration: underline !important; font-family: 'Segoe UI', Tahoma, sans-serif !important; font-size: 0.85rem !important; text-transform: none !important; }
body.win7 .card a:visited, body.win7 a:visited { color: #6622AA !important; }
body.win7 .nav-cards { display: flex !important; flex-direction: column !important; gap: 3px !important; }
body.win7 .nav-card {
  background: linear-gradient(to bottom, #FAFCFF 0%, #E0EEFA 100%) !important;
  border: 1px solid #B8D0EC !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  transform: none !important;
  transition: none !important;
  color: #000050 !important;
  text-decoration: none !important;
  display: flex !important;
  padding: 6px 10px !important;
}
body.win7 .nav-card::before { display: none !important; }
body.win7 .nav-card:hover { background: linear-gradient(to bottom, #EAF4FF 0%, #C0DCFA 100%) !important; border: 1px solid #6AAAE0 !important; }
body.win7 .nav-title { color: #0050A0 !important; letter-spacing: 0 !important; font-family: 'Segoe UI', Tahoma, sans-serif !important; font-size: 0.85rem !important; }
body.win7 .nav-subtitle { color: #446688 !important; font-size: 0.7rem !important; font-family: 'Segoe UI', Tahoma, sans-serif !important; }
body.win7 .nav-arrow { color: #0050A0 !important; transition: none !important; }
body.win7 .nav-card:hover .nav-arrow { transform: none !important; }
body.win7 .audio-card { max-width: 100% !important; }
body.win7 .track-artist { color: #0050A0 !important; padding: 0 8px; }
body.win7 .track-name { color: #000000 !important; padding: 0 8px; }
body.win7 .track-album { color: #446688 !important; padding: 0 8px; }
body.win7 .album-art-frame { border: 1px solid #B8D0EC !important; border-radius: 3px !important; background-color: #F0F2F8 !important; }
body.win7 .audio-content, body.win7 .status-indicator, body.win7 .last-updated { padding: 0 8px; }
body.win7 .status-dot { border-radius: 50% !important; }
body.win7 .last-updated { color: #446688 !important; border-top: 1px solid #B8D0EC !important; margin: 6px 8px 0 !important; padding: 4px 0 6px !important; }
body.win7 .spec-list { padding: 0 8px 8px !important; }
body.win7 .spec-list li { border-bottom: 1px solid #B8D0EC !important; font-size: 0.85rem !important; letter-spacing: 0 !important; font-family: 'Segoe UI', Tahoma, sans-serif !important; }
body.win7 .site-footer { border-top: 1px solid #B8D0EC !important; background-color: #E8F0FA !important; padding: 8px 12px !important; }
body.win7 .footer-links a { color: #0066CC !important; font-family: 'Segoe UI', Tahoma, sans-serif !important; font-size: 0.8rem !important; letter-spacing: 0 !important; }
body.win7 .footer-meta, body.win7 .footer-visitors, body.win7 .footer-tagline { color: #334466 !important; font-family: 'Segoe UI', Tahoma, sans-serif !important; letter-spacing: 0 !important; }
body.win7 #web1-marquee { display: block; background: linear-gradient(to right, #2060A8, #4090D0); color: #ffffff; font-family: 'Segoe UI', Tahoma, sans-serif; font-weight: normal; font-size: 0.85rem; padding: 3px 0; border: none; margin: 0; letter-spacing: 0; }
body.win7 #web1-footer { text-align: center; font-family: 'Segoe UI', Tahoma, sans-serif; font-size: 0.8rem; color: #0050A0; padding: 8px; background-color: #E8F0FA; }
body.win7 #web1-footer hr { border: none; border-top: 1px solid #B8D0EC; margin: 6px 0; }
body.win7 #web1-footer a { color: #0066CC !important; text-decoration: underline !important; font-size: 0.75rem !important; }
body.win7 .web1-btn { background: linear-gradient(to bottom, #E8F0FF 0%, #B8D0F0 100%); border: 1px solid #6AAAE0; border-radius: 4px; font-family: 'Segoe UI', Tahoma, sans-serif; font-size: 0.8rem; padding: 4px 14px; cursor: pointer; }
body.win7 .web1-btn:hover { background: linear-gradient(to bottom, #D0E4FF 0%, #98BCE8 100%); }
body.win7 #web1-guestbook-form input, body.win7 #web1-guestbook-form textarea { border: 1px solid #B8D0EC; border-radius: 3px; background-color: #ffffff; font-family: 'Segoe UI', Tahoma, sans-serif; }
body.win7 #web1-taskbar {
  background: rgba(8, 10, 20, 0.96);
  border-top: 1px solid rgba(100,160,255,0.15);
  backdrop-filter: blur(6px);
}
body.win7 #web1-start-btn {
  background: radial-gradient(circle at 40% 35%, #6AACE8 0%, #1A60C0 60%, #0A3A90 100%);
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  font-weight: normal;
  font-style: normal;
  border-radius: 50%;
  border: 2px solid rgba(100,180,255,0.5);
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-shadow: none;
  box-shadow: 0 0 10px rgba(50,130,255,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
}
body.win7 .web1-taskbar-item { background: rgba(40,80,160,0.4); border: 1px solid rgba(100,160,255,0.2); border-radius: 3px; color: #E0EEFF; box-shadow: none; font-family: 'Segoe UI', Tahoma, sans-serif; }
body.win7 #web1-taskbar-clock { background: rgba(8,10,20,0.6); border: 1px solid rgba(100,160,255,0.15); color: #C8D8F8; font-family: 'Segoe UI', Tahoma, sans-serif; border-radius: 3px; }
body.win7 #web1-taskbar a.web1-game-tab { color: #D8E8FF !important; font-family: 'Segoe UI', Tahoma, sans-serif !important; font-size: 0.75rem !important; text-transform: none !important; }
/* ==================== END WINDOWS 7 ==================== */

/* ==================== MS-DOS MODE ==================== */
body.dos {
  font-family: 'Courier New', Courier, monospace !important;
  background-color: #000000 !important;
  background-image: none !important;
  color: #FFB000 !important;
  padding-bottom: 44px !important;
}
body.dos .container {
  background-color: #000000;
  border: 1px solid #332200 !important;
  outline: none !important;
  border-radius: 0;
  padding: 0 !important;
  gap: 0 !important;
  max-width: 820px !important;
  overflow: hidden;
}
body.dos .container::before {
  content: 'C:\\HOME> index.htm';
  display: block;
  background: #0A0800;
  color: #FFB000;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  font-weight: normal;
  padding: 5px 10px;
  letter-spacing: 0;
  text-shadow: none;
  user-select: none;
  border-bottom: 1px solid #332200;
}
body.dos .section { padding: 8px 12px; gap: 8px !important; border-bottom: 1px solid #221800; }
body.dos .section:last-child { border-bottom: none; }
body.dos .section h2 {
  font-family: 'Courier New', Courier, monospace !important;
  color: #FFCC44 !important;
  border-bottom: 1px dashed #553300 !important;
  letter-spacing: 0 !important;
  font-size: 0.85rem !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  background: none !important;
  padding-bottom: 3px !important;
  margin-bottom: 6px !important;
  text-shadow: 0 0 8px rgba(255,180,0,0.4) !important;
}
body.dos .cards { display: block !important; }
body.dos .card {
  background-color: #000000 !important;
  border: 1px solid #332200 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  margin-bottom: 6px;
  text-align: left !important;
  transition: none !important;
  padding: 0 !important;
  overflow: hidden;
}
body.dos .card:hover { border: 1px solid #664400 !important; box-shadow: none !important; transform: none !important; }
body.dos .card h3 {
  display: block;
  background: #0A0800;
  color: #FFCC44 !important;
  font-family: 'Courier New', Courier, monospace !important;
  font-size: 0.8rem !important;
  font-weight: bold !important;
  letter-spacing: 1px !important;
  padding: 3px 8px !important;
  margin: 0 0 6px 0 !important;
  text-shadow: 0 0 6px rgba(255,180,0,0.3);
  text-transform: uppercase !important;
  border-bottom: 1px solid #332200;
}
body.dos .card > p, body.dos .card > a,
body.dos .card > ul, body.dos .card > div { padding: 0 8px; }
body.dos .card > p:last-child, body.dos .card > a:last-child { padding-bottom: 8px; }
body.dos .card a, body.dos a { color: #FFB000 !important; text-decoration: underline !important; font-family: 'Courier New', Courier, monospace !important; font-size: 0.85rem !important; text-transform: none !important; }
body.dos .card a:visited, body.dos a:visited { color: #CC8800 !important; }
body.dos .card a:hover, body.dos a:hover { color: #FFDD88 !important; opacity: 1 !important; }
body.dos .nav-cards { display: flex !important; flex-direction: column !important; gap: 2px !important; }
body.dos .nav-card {
  background: #000000 !important;
  border: 1px solid #332200 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  transform: none !important;
  transition: none !important;
  color: #FFB000 !important;
  text-decoration: none !important;
  display: flex !important;
  padding: 5px 10px !important;
}
body.dos .nav-card::before { display: none !important; }
body.dos .nav-card:hover { background: #0A0800 !important; border: 1px solid #664400 !important; }
body.dos .nav-title { color: #FFCC44 !important; letter-spacing: 0 !important; font-family: 'Courier New', Courier, monospace !important; font-size: 0.85rem !important; }
body.dos .nav-subtitle { color: #CC8800 !important; font-size: 0.7rem !important; font-family: 'Courier New', Courier, monospace !important; }
body.dos .nav-arrow { color: #FFB000 !important; transition: none !important; }
body.dos .nav-card:hover .nav-arrow { transform: none !important; }
body.dos .audio-card { max-width: 100% !important; }
body.dos .track-artist { color: #FFCC44 !important; padding: 0 8px; }
body.dos .track-name { color: #FFB000 !important; padding: 0 8px; }
body.dos .track-album { color: #AA7700 !important; padding: 0 8px; }
body.dos .album-art-frame { border: 1px solid #332200 !important; border-radius: 0 !important; background-color: #000000 !important; }
body.dos .album-art-placeholder { color: #553300 !important; }
body.dos .audio-content, body.dos .status-indicator, body.dos .last-updated { padding: 0 8px; }
body.dos .status-dot { border-radius: 0 !important; }
body.dos .status-dot.playing { background-color: #FFB000 !important; }
body.dos .last-updated { color: #775500 !important; border-top: 1px solid #332200 !important; margin: 6px 8px 0 !important; padding: 4px 0 6px !important; }
body.dos .spec-list { padding: 0 8px 8px !important; }
body.dos .spec-list li { border-bottom: 1px solid #221800 !important; font-size: 0.85rem !important; letter-spacing: 0 !important; font-family: 'Courier New', Courier, monospace !important; color: #FFB000 !important; }
body.dos .site-footer { border-top: 1px solid #332200 !important; background-color: #000000 !important; padding: 8px 12px !important; }
body.dos .footer-links a { color: #FFB000 !important; font-family: 'Courier New', Courier, monospace !important; font-size: 0.8rem !important; letter-spacing: 0 !important; }
body.dos .footer-meta, body.dos .footer-visitors, body.dos .footer-tagline { color: #775500 !important; font-family: 'Courier New', Courier, monospace !important; letter-spacing: 0 !important; }
body.dos #web1-marquee { display: block; background-color: #0A0800; color: #FFB000; font-family: 'Courier New', Courier, monospace; font-weight: normal; font-size: 0.8rem; padding: 3px 0; border: none; border-bottom: 1px solid #332200; margin: 0; letter-spacing: 0; }
body.dos #web1-footer { text-align: left; font-family: 'Courier New', Courier, monospace; font-size: 0.8rem; color: #775500; padding: 8px; background-color: #000000; border-top: 1px solid #332200; }
body.dos #web1-footer hr { border: none; border-top: 1px dashed #332200; margin: 6px 0; }
body.dos #web1-footer a { color: #FFB000 !important; text-decoration: underline !important; font-size: 0.75rem !important; }
body.dos .web1-btn { background: #000000; border: 1px solid #553300; color: #FFB000; font-family: 'Courier New', Courier, monospace; font-size: 0.8rem; padding: 3px 12px; cursor: pointer; }
body.dos .web1-btn:hover { background: #0A0800; border-color: #AA7700; }
body.dos #web1-guestbook-form input, body.dos #web1-guestbook-form textarea { border: 1px solid #553300; background-color: #0A0800; color: #FFB000; font-family: 'Courier New', Courier, monospace; }
body.dos #web1-taskbar { background: #0A0800; border-top: 1px solid #332200; }
body.dos #web1-start-btn {
  background: #0A0800;
  color: #FFB000;
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
  font-style: normal;
  border-radius: 0;
  border: 1px solid #553300;
  text-shadow: none;
  box-shadow: none;
}
body.dos #web1-start-btn:hover { background: #150E00; border-color: #AA7700; }
body.dos .web1-taskbar-item { background: #0A0800; border: 1px solid #332200; color: #FFB000; box-shadow: none; font-family: 'Courier New', Courier, monospace; }
body.dos #web1-taskbar-clock { background: #000000; border: 1px solid #332200; color: #FFB000; font-family: 'Courier New', Courier, monospace; }
body.dos #web1-taskbar a.web1-game-tab { color: #FFB000 !important; font-family: 'Courier New', Courier, monospace !important; font-size: 0.75rem !important; text-transform: none !important; }
/* ==================== END MS-DOS MODE ==================== */

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

.flash {
    padding: 15px 40px 15px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 5px solid;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: relative;
    animation: slideIn 0.3s ease-out;
    backdrop-filter: blur(10px);
}

.flash-success {
    background: rgba(46, 204, 113, 0.9);
    border-color: #27ae60;
    color: white;
}

.flash-error {
    background: rgba(231, 76, 60, 0.9);
    border-color: #c0392b;
    color: white;
}

.flash-info {
    background: rgba(52, 152, 219, 0.9);
    border-color: #2980b9;
    color: white;
}

.flash-close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: transparent;
    border: none;
    color: inherit;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.7;
    padding: 0;
    width: 24px;
    height: 24px;
    line-height: 1;
}

.flash-close:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Auto-remove flash messages after 5 seconds */
.flash {
    animation: slideIn 0.3s ease-out, fadeOut 0.3s ease-in 4.7s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Image Preview Styles */
.image-preview-container {
    margin-top: 10px;
    display: none; /* Hidden by default */
}

.image-preview {
    max-width: 100%;
    max-height: 200px;
    border-radius: 4px;
    border: 1px solid var(--thin-border);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: #f5f5f5;
    padding: 4px;
}

.file-card {
    display: flex;
    flex-direction: column;
}

/* Modal for full-size preview (optional enhancement) */
.preview-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    overflow: auto;
}

.preview-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    padding: 20px;
}

.preview-modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* ==================== File List View Styles ==================== */
.section-container {
  margin-bottom: 40px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: linear-gradient(135deg, rgba(0, 136, 204, 0.2), rgba(0, 102, 153, 0.2));
  border: 1px solid rgba(0, 136, 204, 0.4);
  border-radius: 8px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.section-count {
  font-size: 0.85rem;
  color: rgba(240, 230, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* File Cards */
.file-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.file-card {
  background: var(--card-bg);
  border: var(--thin-border);
  border-radius: 6px;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.file-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 15px var(--accent-transparent);
  transform: translateY(-2px);
}

.file-card-empty {
  text-align: center;
  padding: 40px 20px;
  color: rgba(240, 230, 255, 0.5);
  font-style: italic;
}

.file-card-info {
  flex: 1;
  min-width: 0; /* Allows text truncation */
}

.file-card-name {
  font-size: 1rem;
  font-weight: bold;
  color: var(--text-color);
  margin-bottom: 5px;
  word-break: break-word;
}

.file-card-size {
  font-size: 0.85rem;
  color: rgba(240, 230, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* File Buttons */
.file-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.file-btn {
  padding: 8px 15px;
  border: none;
  border-radius: 4px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.file-btn-download {
  background: linear-gradient(135deg, var(--accent), #0077b3);
  color: #000000;
}

.file-btn-download:hover {
  background: linear-gradient(135deg, #0077b3, #005580);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 136, 204, 0.3);
}

.file-btn-browse {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  color: #000000;
}

.file-btn-browse:hover {
  background: linear-gradient(135deg, #8e44ad, #732d91);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(155, 89, 182, 0.3);
}

.file-btn-delete {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #000000;
}

.file-btn-delete:hover {
  background: linear-gradient(135deg, #c0392b, #a93226);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

.file-btn-move {
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: #000000;
}

.file-btn-move:hover {
  background: linear-gradient(135deg, #38a169, #2f855a);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(72, 187, 120, 0.3);
}

/* Logout Section */
.logout-section {
  margin-top: 30px;
  padding-top: 20px;
  border-top: var(--thin-border);
  text-align: center;
}

.logout-link {
  color: var(--accent);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: opacity 0.2s ease;
}

.logout-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ==================== COMMAND TERMINAL OVERLAY ==================== */
.cmd-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 15, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.cmd-window {
  background: var(--main-bg);
  border: 1px solid var(--accent);
  width: min(680px, 95vw);
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 40px rgba(0, 152, 205, 0.2);
}

.cmd-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid var(--accent-transparent);
  background: rgba(0, 152, 205, 0.08);
}

.cmd-title {
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cmd-close {
  background: transparent;
  border: 1px solid var(--accent-transparent);
  color: var(--text-color);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  padding: 2px 8px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.cmd-close:hover {
  border-color: var(--error-color);
  color: var(--error-color);
}

.cmd-output {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px;
  min-height: 180px;
  max-height: 50vh;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cmd-output::-webkit-scrollbar { width: 4px; }
.cmd-output::-webkit-scrollbar-track { background: transparent; }
.cmd-output::-webkit-scrollbar-thumb { background: var(--accent-transparent); }

.cmd-line {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(240, 230, 255, 0.75);
  white-space: pre-wrap;
  word-break: break-word;
}

.cmd-line.cmd-echo {
  color: rgba(240, 230, 255, 0.45);
}

.cmd-line.cmd-success {
  color: var(--success-color);
}

.cmd-line.cmd-error {
  color: var(--error-color);
}

.cmd-line.cmd-warn {
  color: var(--warning-color);
}

.cmd-line.cmd-info {
  color: #22d3ee;
}

.cmd-line.cmd-dim {
  color: rgba(240, 230, 255, 0.3);
}

.cmd-line.cmd-special {
  color: #c084fc;
}

.cmd-highlight {
  color: var(--accent);
}

.cmd-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--accent-transparent);
}

.cmd-prompt {
  font-size: 0.82rem;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

.cmd-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-color);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.82rem;
  caret-color: var(--accent);
  text-transform: uppercase;
}

.cmd-input::placeholder {
  color: rgba(240, 230, 255, 0.2);
  text-transform: none;
}

.cmd-enter {
  background: transparent;
  border: 1px solid var(--accent-transparent);
  color: var(--accent);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  padding: 4px 10px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  flex-shrink: 0;
}

.cmd-enter:hover {
  background: var(--accent);
  color: var(--main-bg);
}
/* ==================== END COMMAND TERMINAL OVERLAY ==================== */

/* ==================== TERMINAL FAB (MOBILE) ==================== */
.terminal-fab {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9998;
  background: rgba(0, 152, 205, 0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.78rem;
  padding: 9px 14px;
  cursor: pointer;
  letter-spacing: 1px;
  box-shadow: 0 0 14px rgba(0, 152, 205, 0.2);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.terminal-fab:active {
  background: var(--accent);
  color: var(--main-bg);
}

body.web1 .terminal-fab   { font-family: Tahoma, Arial, sans-serif; background: #ECE9D8; border: 2px outset #D4D0C8; color: #000080; box-shadow: 2px 2px 4px rgba(0,0,0,0.4); backdrop-filter: none; }
body.win2k .terminal-fab  { font-family: Tahoma, Arial, sans-serif; background: #D4D0C8; border: 2px outset #D4D0C8; color: #000080; box-shadow: 2px 2px 4px rgba(0,0,0,0.4); backdrop-filter: none; }
body.winme .terminal-fab  { font-family: Tahoma, Arial, sans-serif; background: #D4D0C8; border: 2px outset #D4D0C8; color: #000080; box-shadow: 2px 2px 4px rgba(0,0,0,0.4); backdrop-filter: none; }
body.win3 .terminal-fab   { font-family: Arial, sans-serif; background: #C0C0C0; border: 3px outset #fff; color: #000080; box-shadow: 3px 3px 0 #000; backdrop-filter: none; }
body.win1 .terminal-fab   { font-family: 'Courier New', monospace; background: #fff; border: 2px solid #000; color: #000; box-shadow: 2px 2px 0 #000; backdrop-filter: none; }
body.winvista .terminal-fab { background: rgba(80,140,255,0.15); border: 1px solid rgba(120,180,255,0.5); color: #aad4ff; font-family: 'Segoe UI', Tahoma, sans-serif; backdrop-filter: blur(8px); }
body.win95 .terminal-fab   { font-family: 'MS Sans Serif', Arial, sans-serif; background: #C0C0C0; border: 2px outset #C0C0C0; color: #000080; box-shadow: 2px 2px 4px rgba(0,0,0,0.4); backdrop-filter: none; }
body.win7 .terminal-fab    { font-family: 'Segoe UI', Tahoma, sans-serif; background: rgba(200,228,255,0.9); border: 1px solid #7AB2E0; color: #003070; box-shadow: 0 2px 8px rgba(0,50,120,0.3); backdrop-filter: blur(6px); border-radius: 4px; }
body.dos .terminal-fab     { font-family: 'Courier New', monospace; background: #000; border: 1px solid #553300; color: #FFB000; box-shadow: 0 0 8px rgba(255,180,0,0.2); backdrop-filter: none; }

@media (max-width: 640px) {
  .terminal-fab { display: block; }

  .cmd-window {
    max-height: 82dvh;
    align-self: flex-start;
    margin-top: 4dvh;
  }

  .cmd-input {
    font-size: 16px; /* prevent iOS zoom on focus */
  }

  .cmd-input-row {
    padding: 10px 12px;
    gap: 8px;
  }

  .cmd-enter {
    padding: 7px 12px;
  }
}
/* ==================== END TERMINAL FAB ==================== */

/* ==================== CMD TERMINAL — RETRO THEME OVERRIDES ==================== */
/* All retro themes: kill the modern blur */
body.web1 .cmd-overlay, body.win2k .cmd-overlay, body.winme .cmd-overlay,
body.win3 .cmd-overlay, body.win1 .cmd-overlay {
  backdrop-filter: none !important;
  background: rgba(0, 0, 0, 0.55) !important;
}

/* ----- XP ----- */
body.web1 .cmd-window {
  background: #ECE9D8; border: 2px solid #FFFFFF; outline: 1px solid #808080;
  box-shadow: 4px 4px 8px rgba(0,0,0,0.5); border-radius: 0;
}
body.web1 .cmd-titlebar {
  background: linear-gradient(to bottom, #0A246A 0%, #A6CAF0 100%);
  border-bottom: none;
}
body.web1 .cmd-title { color: #fff; font-family: Tahoma, Arial, sans-serif; letter-spacing: 0; text-shadow: 1px 1px 1px rgba(0,0,0,0.4); }
body.web1 .cmd-close {
  background: linear-gradient(to bottom, #D55 0%, #A22 100%);
  border: 1px solid #700; color: #fff; border-radius: 3px;
}
body.web1 .cmd-close:hover { background: linear-gradient(to bottom, #F66 0%, #C33 100%); border-color: #A00; color: #fff; }
body.web1 .cmd-output { background: #fff; border-bottom: 1px solid #ACA899; }
body.web1 .cmd-line { color: #000080; font-family: 'Courier New', Courier, monospace; }
body.web1 .cmd-line.cmd-echo { color: #666; }
body.web1 .cmd-line.cmd-success { color: #005000; }
body.web1 .cmd-line.cmd-error { color: #AA0000; }
body.web1 .cmd-highlight { color: #000080; }
body.web1 .cmd-input-row { background: #ECE9D8; border-top: 2px inset #D4D0C8; }
body.web1 .cmd-prompt { color: #000080; font-family: 'Courier New', Courier, monospace; }
body.web1 .cmd-input { color: #000; font-family: 'Courier New', Courier, monospace; caret-color: #000080; }
body.web1 .cmd-enter {
  background: linear-gradient(to bottom, #FAFAFA 0%, #D4D0C8 100%);
  border: 2px outset #D4D0C8; color: #000080;
  font-family: Tahoma, Arial, sans-serif; border-radius: 0;
}
body.web1 .cmd-enter:hover { background: linear-gradient(to bottom, #EEF4FF 0%, #B8CFE8 100%); color: #000080; }

/* ----- Win2k ----- */
body.win2k .cmd-window {
  background: #D4D0C8; border: 2px solid #fff; outline: 1px solid #808080;
  box-shadow: 4px 4px 8px rgba(0,0,0,0.5); border-radius: 0;
}
body.win2k .cmd-titlebar { background: linear-gradient(to right, #000080 0%, #1C70C0 100%); border-bottom: none; }
body.win2k .cmd-title { color: #fff; font-family: Tahoma, Arial, sans-serif; letter-spacing: 0; }
body.win2k .cmd-close { background: #D4D0C8; border: 2px outset #D4D0C8; color: #000; border-radius: 0; }
body.win2k .cmd-close:hover { border: 2px inset #D4D0C8; color: #000; }
body.win2k .cmd-output { background: #fff; border-bottom: 1px solid #808080; }
body.win2k .cmd-line { color: #000080; font-family: 'Courier New', Courier, monospace; }
body.win2k .cmd-line.cmd-echo { color: #666; }
body.win2k .cmd-line.cmd-success { color: #005000; }
body.win2k .cmd-line.cmd-error { color: #AA0000; }
body.win2k .cmd-highlight { color: #000080; }
body.win2k .cmd-input-row { background: #D4D0C8; border-top: 1px solid #808080; }
body.win2k .cmd-prompt { color: #000080; font-family: 'Courier New', Courier, monospace; }
body.win2k .cmd-input { color: #000; font-family: 'Courier New', Courier, monospace; caret-color: #000080; }
body.win2k .cmd-enter { background: linear-gradient(to bottom, #E8E4DC 0%, #C0BDB5 100%); border: 2px outset #D4D0C8; color: #000; font-family: Tahoma, Arial, sans-serif; border-radius: 0; }
body.win2k .cmd-enter:hover { background: linear-gradient(to bottom, #EEF4FF 0%, #B8CFE8 100%); border: 2px inset #D4D0C8; }

/* ----- WinME ----- */
body.winme .cmd-window {
  background: #D4D0C8; border: 2px solid #fff; outline: 1px solid #808080;
  box-shadow: 4px 4px 8px rgba(0,0,0,0.5); border-radius: 0;
}
body.winme .cmd-titlebar { background: linear-gradient(to right, #000080 0%, #1C94FF 50%, #008080 100%); border-bottom: none; }
body.winme .cmd-title { color: #fff; font-family: Tahoma, Arial, sans-serif; letter-spacing: 0; }
body.winme .cmd-close { background: #D4D0C8; border: 2px outset #D4D0C8; color: #000; border-radius: 0; }
body.winme .cmd-close:hover { border: 2px inset #D4D0C8; color: #000; }
body.winme .cmd-output { background: #fff; border-bottom: 1px solid #ACA899; }
body.winme .cmd-line { color: #000080; font-family: 'Courier New', Courier, monospace; }
body.winme .cmd-line.cmd-echo { color: #666; }
body.winme .cmd-line.cmd-success { color: #005000; }
body.winme .cmd-line.cmd-error { color: #AA0000; }
body.winme .cmd-highlight { color: #000080; }
body.winme .cmd-input-row { background: #D4D0C8; border-top: 1px solid #ACA899; }
body.winme .cmd-prompt { color: #000080; font-family: 'Courier New', Courier, monospace; }
body.winme .cmd-input { color: #000; font-family: 'Courier New', Courier, monospace; caret-color: #000080; }
body.winme .cmd-enter { background: linear-gradient(to bottom, #FAFAFA 0%, #D4D0C8 100%); border: 2px outset #D4D0C8; color: #000; font-family: Tahoma, Arial, sans-serif; border-radius: 0; }
body.winme .cmd-enter:hover { background: linear-gradient(to bottom, #EEF4FF 0%, #B8D8E8 100%); border: 2px inset #D4D0C8; }

/* ----- Vista: keep/enhance the glass look ----- */
body.winvista .cmd-overlay { backdrop-filter: blur(14px) !important; background: rgba(0,5,30,0.7) !important; }
body.winvista .cmd-window {
  background: rgba(8, 20, 70, 0.88);
  border: 1px solid rgba(120,180,255,0.5) !important;
  outline: none; border-radius: 8px;
  box-shadow: 0 0 32px rgba(80,140,255,0.25), 0 8px 32px rgba(0,0,0,0.6);
  backdrop-filter: blur(16px);
}
body.winvista .cmd-titlebar {
  background: linear-gradient(to bottom, rgba(160,200,255,0.9) 0%, rgba(70,130,220,0.9) 100%);
  border-bottom: 1px solid rgba(100,160,255,0.25); border-radius: 6px 6px 0 0;
}
body.winvista .cmd-title { color: #fff; font-family: 'Segoe UI', Tahoma, sans-serif; letter-spacing: 0; text-shadow: 0 1px 2px rgba(0,0,80,0.5); }
body.winvista .cmd-close {
  background: linear-gradient(to bottom, rgba(200,70,70,0.85) 0%, rgba(150,20,20,0.85) 100%);
  border: 1px solid rgba(255,100,100,0.4); color: #fff;
  border-radius: 50%; width: 20px; height: 20px; padding: 0;
  display: flex; align-items: center; justify-content: center; font-size: 0.7rem;
}
body.winvista .cmd-close:hover { background: linear-gradient(to bottom, rgba(255,100,100,0.95) 0%, rgba(200,30,30,0.95) 100%); }
body.winvista .cmd-output { background: rgba(4, 12, 45, 0.65); border-bottom: 1px solid rgba(100,150,255,0.2); }
body.winvista .cmd-line { color: #B8D4FF; font-family: 'Segoe UI', Tahoma, monospace; }
body.winvista .cmd-line.cmd-echo { color: rgba(180,210,255,0.4); }
body.winvista .cmd-line.cmd-success { color: #80E090; }
body.winvista .cmd-line.cmd-error { color: #FF8888; }
body.winvista .cmd-highlight { color: #88AAFF; }
body.winvista .cmd-input-row { background: rgba(8,18,65,0.75); border-top: 1px solid rgba(100,150,255,0.2); }
body.winvista .cmd-prompt { color: #88AAFF; font-family: 'Segoe UI', Tahoma, sans-serif; }
body.winvista .cmd-input { color: #E8F0FF; caret-color: #88AAFF; }
body.winvista .cmd-enter {
  background: linear-gradient(to bottom, rgba(100,160,255,0.55) 0%, rgba(50,100,200,0.55) 100%);
  border: 1px solid rgba(100,160,255,0.4); color: #E8F0FF;
  font-family: 'Segoe UI', Tahoma, sans-serif; border-radius: 3px;
}
body.winvista .cmd-enter:hover { background: linear-gradient(to bottom, rgba(130,180,255,0.8) 0%, rgba(70,120,220,0.8) 100%); color: #fff; }

/* ----- Win3 ----- */
body.win3 .cmd-window {
  background: #C0C0C0; border: 3px solid #fff !important; outline: 2px solid #000 !important;
  box-shadow: 4px 4px 0 #000; border-radius: 0;
}
body.win3 .cmd-titlebar { background: #000080; border-bottom: none; }
body.win3 .cmd-title { color: #fff; font-family: Arial, sans-serif; letter-spacing: 0; }
body.win3 .cmd-close { background: #C0C0C0; border: 3px outset #fff; color: #000; border-radius: 0; font-family: Arial, sans-serif; }
body.win3 .cmd-close:hover { border: 3px inset #fff; color: #000; }
body.win3 .cmd-output { background: #fff; border-bottom: 2px solid #808080; }
body.win3 .cmd-line { color: #000080; font-family: Arial, sans-serif; }
body.win3 .cmd-line.cmd-echo { color: #666; }
body.win3 .cmd-line.cmd-success { color: #005000; }
body.win3 .cmd-line.cmd-error { color: #AA0000; }
body.win3 .cmd-highlight { color: #000080; }
body.win3 .cmd-input-row { background: #C0C0C0; border-top: 3px inset #808080; }
body.win3 .cmd-prompt { color: #000080; font-family: Arial, sans-serif; }
body.win3 .cmd-input { color: #000; font-family: 'Courier New', Courier, monospace; caret-color: #000080; }
body.win3 .cmd-enter { background: #C0C0C0; border: 3px outset #fff; color: #000; font-family: Arial, sans-serif; border-radius: 0; }
body.win3 .cmd-enter:hover { border: 3px inset #fff; background: #C0C0C0; color: #000; }

/* ----- Win1 ----- */
body.win1 .cmd-window {
  background: #fff; border: 4px solid #000 !important; outline: none !important;
  box-shadow: 4px 4px 0 #000; border-radius: 0;
}
body.win1 .cmd-titlebar { background: #000; border-bottom: none; }
body.win1 .cmd-title { color: #fff; font-family: 'Courier New', Courier, monospace; letter-spacing: 0; }
body.win1 .cmd-close { background: #fff; border: 2px solid #000; color: #000; border-radius: 0; font-family: 'Courier New', Courier, monospace; }
body.win1 .cmd-close:hover { background: #000; color: #fff; border-color: #000; }
body.win1 .cmd-output { background: #fff; border-bottom: 2px solid #000; }
body.win1 .cmd-line { color: #000; font-family: 'Courier New', Courier, monospace; }
body.win1 .cmd-line.cmd-echo { color: #555; }
body.win1 .cmd-line.cmd-success { color: #000; font-weight: bold; }
body.win1 .cmd-line.cmd-error { color: #000; text-decoration: underline; }
body.win1 .cmd-highlight { color: #000; font-weight: bold; }
body.win1 .cmd-input-row { background: #fff; border-top: 2px solid #000; }
body.win1 .cmd-prompt { color: #000; font-family: 'Courier New', Courier, monospace; }
body.win1 .cmd-input { color: #000; font-family: 'Courier New', Courier, monospace; caret-color: #000; }
body.win1 .cmd-enter { background: #fff; border: 2px solid #000; color: #000; font-family: 'Courier New', Courier, monospace; border-radius: 0; }
body.win1 .cmd-enter:hover { background: #000; color: #fff; }

/* ----- Win95 ----- */
body.win95 .cmd-overlay { backdrop-filter: none !important; background: rgba(0,0,0,0.55) !important; }
body.win95 .cmd-window {
  background: #C0C0C0; border: 2px solid #fff; outline: 1px solid #808080;
  box-shadow: 4px 4px 8px rgba(0,0,0,0.5); border-radius: 0;
}
body.win95 .cmd-titlebar { background: #000080; border-bottom: none; }
body.win95 .cmd-title { color: #fff; font-family: 'MS Sans Serif', Arial, sans-serif; letter-spacing: 0; }
body.win95 .cmd-close { background: #C0C0C0; border: 2px outset #C0C0C0; color: #000; border-radius: 0; font-family: 'MS Sans Serif', Arial, sans-serif; }
body.win95 .cmd-close:hover { border: 2px inset #C0C0C0; color: #000; }
body.win95 .cmd-output { background: #fff; border-bottom: 1px solid #808080; }
body.win95 .cmd-line { color: #000080; font-family: 'Courier New', Courier, monospace; }
body.win95 .cmd-line.cmd-echo { color: #666; }
body.win95 .cmd-line.cmd-success { color: #005000; }
body.win95 .cmd-line.cmd-error { color: #AA0000; }
body.win95 .cmd-highlight { color: #000080; }
body.win95 .cmd-input-row { background: #C0C0C0; border-top: 2px inset #C0C0C0; }
body.win95 .cmd-prompt { color: #000080; font-family: 'Courier New', Courier, monospace; }
body.win95 .cmd-input { color: #000; font-family: 'Courier New', Courier, monospace; caret-color: #000080; }
body.win95 .cmd-enter { background: #C0C0C0; border: 2px outset #C0C0C0; color: #000080; font-family: 'MS Sans Serif', Arial, sans-serif; border-radius: 0; }
body.win95 .cmd-enter:hover { background: #D0D8E8; border: 2px inset #C0C0C0; color: #000080; }

/* ----- Win7 ----- */
body.win7 .cmd-overlay { backdrop-filter: blur(10px) !important; background: rgba(0,8,30,0.65) !important; }
body.win7 .cmd-window {
  background: rgba(235,245,255,0.96);
  border: 1px solid #7AB2E0 !important;
  outline: none; border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,40,100,0.4), 0 0 0 1px rgba(120,180,255,0.3);
  backdrop-filter: blur(4px);
}
body.win7 .cmd-titlebar {
  background: linear-gradient(to bottom, #C8E0F8 0%, #7AB2E0 100%);
  border-bottom: 1px solid #7AB0D8; border-radius: 6px 6px 0 0;
}
body.win7 .cmd-title { color: #003070; font-family: 'Segoe UI', Tahoma, sans-serif; letter-spacing: 0; text-shadow: 0 1px 0 rgba(255,255,255,0.5); }
body.win7 .cmd-close {
  background: linear-gradient(to bottom, rgba(220,70,70,0.9) 0%, rgba(160,20,20,0.9) 100%);
  border: 1px solid rgba(255,100,100,0.4); color: #fff;
  border-radius: 50%; width: 20px; height: 20px; padding: 0;
  display: flex; align-items: center; justify-content: center; font-size: 0.7rem;
}
body.win7 .cmd-close:hover { background: linear-gradient(to bottom, rgba(255,90,90,0.95) 0%, rgba(200,20,20,0.95) 100%); }
body.win7 .cmd-output { background: rgba(248,252,255,0.98); border-bottom: 1px solid #C0D8F0; }
body.win7 .cmd-line { color: #003070; font-family: 'Segoe UI', Tahoma, monospace; }
body.win7 .cmd-line.cmd-echo { color: rgba(0,50,100,0.4); }
body.win7 .cmd-line.cmd-success { color: #006020; }
body.win7 .cmd-line.cmd-error { color: #AA0000; }
body.win7 .cmd-highlight { color: #0050A0; }
body.win7 .cmd-input-row { background: rgba(240,248,255,0.98); border-top: 1px solid #C0D8F0; }
body.win7 .cmd-prompt { color: #0050A0; font-family: 'Segoe UI', Tahoma, sans-serif; }
body.win7 .cmd-input { color: #000050; caret-color: #0050A0; }
body.win7 .cmd-enter {
  background: linear-gradient(to bottom, #D8EEFF 0%, #90C0E8 100%);
  border: 1px solid #6AAAE0; color: #003070;
  font-family: 'Segoe UI', Tahoma, sans-serif; border-radius: 4px;
}
body.win7 .cmd-enter:hover { background: linear-gradient(to bottom, #C0E0FF 0%, #70A8D8 100%); }

/* ----- DOS ----- */
body.dos .cmd-overlay { backdrop-filter: none !important; background: rgba(0,0,0,0.85) !important; }
body.dos .cmd-window {
  background: #000; border: 1px solid #553300 !important;
  outline: none; border-radius: 0;
  box-shadow: 0 0 20px rgba(255,180,0,0.1);
}
body.dos .cmd-titlebar { background: #0A0800; border-bottom: 1px solid #332200; }
body.dos .cmd-title { color: #FFB000; font-family: 'Courier New', Courier, monospace; letter-spacing: 1px; }
body.dos .cmd-close { background: #000; border: 1px solid #553300; color: #FFB000; border-radius: 0; font-family: 'Courier New', Courier, monospace; }
body.dos .cmd-close:hover { background: #FFB000; color: #000; border-color: #FFB000; }
body.dos .cmd-output { background: #000; border-bottom: 1px solid #332200; }
body.dos .cmd-line { color: #FFB000; font-family: 'Courier New', Courier, monospace; }
body.dos .cmd-line.cmd-echo { color: rgba(255,176,0,0.45); }
body.dos .cmd-line.cmd-success { color: #FFCC44; }
body.dos .cmd-line.cmd-error { color: #FF4400; }
body.dos .cmd-line.cmd-warn { color: #FFCC44; }
body.dos .cmd-line.cmd-info { color: #FFCC44; }
body.dos .cmd-line.cmd-special { color: #FFDD88; }
body.dos .cmd-line.cmd-dim { color: rgba(255,176,0,0.3); }
body.dos .cmd-highlight { color: #FFCC44; }
body.dos .cmd-input-row { background: #0A0800; border-top: 1px solid #332200; }
body.dos .cmd-prompt { color: #FFB000; font-family: 'Courier New', Courier, monospace; }
body.dos .cmd-input { color: #FFB000; font-family: 'Courier New', Courier, monospace; caret-color: #FFB000; }
body.dos .cmd-enter { background: #000; border: 1px solid #553300; color: #FFB000; font-family: 'Courier New', Courier, monospace; border-radius: 0; }
body.dos .cmd-enter:hover { background: #FFB000; color: #000; border-color: #FFB000; }
/* ==================== END CMD TERMINAL RETRO OVERRIDES ==================== */

/* Responsive for File List */
@media (max-width: 768px) {
  .file-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .file-card-info {
    width: 100%;
  }
  
  .file-card-actions {
    width: 100%;
    justify-content: center;
  }
  
  .file-btn {
    flex: 1;
    min-width: 100px;
    justify-content: center;
  }
}

/* ==================== UNIT PROFILE ==================== */
.profile-card {
  background: var(--card-bg);
  border: var(--thin-border);
  border-radius: var(--card-radius);
  padding: 28px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.profile-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-transparent);
}

.profile-top {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.profile-text {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-name {
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.profile-pronouns {
  color: rgba(240,230,255,0.45);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.profile-location {
  color: rgba(0,152,205,0.55);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.profile-desc {
  color: rgba(240,230,255,0.8);
  font-size: 0.92rem;
  line-height: 1.85;
}

.profile-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.profile-link {
  padding: 5px 14px;
  border: 1px solid var(--accent-transparent);
  border-radius: 3px;
  color: rgba(240,230,255,0.65);
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: border-color 0.2s, color 0.2s;
}

.profile-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pfp-row {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  flex-shrink: 0;
}

.pfp-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pfp-img {
  height: 160px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid var(--accent-transparent);
  background: rgba(0,0,0,0.3);
  transition: border-color 0.2s, transform 0.2s;
}

.pfp-img:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.pfp-label {
  color: rgba(0,152,205,0.45);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 700px) {
  .profile-top { flex-direction: column-reverse; }
  .pfp-row { justify-content: center; width: 100%; }
  .pfp-img { height: 110px; }
}

.profile-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: center;
  padding-top: 16px;
  margin-top: 16px;
  border-top: var(--thin-border);
  font-size: 0.72rem;
  color: rgba(0,152,205,0.38);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile-spec-sep {
  color: rgba(0,152,205,0.2);
}
/* ==================== END UNIT PROFILE ==================== */

/* ==================== CHESS SUBSYSTEM ==================== */
.chess-section-wrap {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: var(--gap);
  align-items: start;
}

/* ── Game card ── */
.chess-game-card {
  background: var(--card-bg);
  border: var(--thin-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.chess-game-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-transparent);
}

.chess-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: var(--thin-border);
  background: rgba(0,152,205,0.04);
}

.chess-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.chess-card-title {
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.chess-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border: 1px solid rgba(46,213,115,0.4);
  border-radius: 3px;
  color: rgba(46,213,115,0.9);
  font-size: 0.7rem;
  font-family: 'Share Tech Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.chess-live-badge::before {
  content: '●';
  font-size: 0.55em;
  color: #2ed573;
  animation: pulse 1.2s steps(1) infinite;
}

.chess-user-link {
  color: var(--accent);
  text-decoration: none;
  opacity: 0.65;
  transition: opacity 0.2s;
}

.chess-user-link:hover { opacity: 1; }

.chess-card-header .status-indicator {
  font-size: 0.75rem;
}

.chess-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 10px 16px;
  border-bottom: var(--thin-border);
}

.chess-result-badge {
  padding: 3px 12px;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.chess-result-badge.win {
  background: rgba(46,213,115,0.12);
  border: 1px solid rgba(46,213,115,0.4);
  color: #2ed573;
}

.chess-result-badge.loss {
  background: rgba(255,71,87,0.1);
  border: 1px solid rgba(255,71,87,0.4);
  color: rgba(255,71,87,0.9);
}

.chess-result-badge.draw {
  background: rgba(240,230,255,0.05);
  border: 1px solid rgba(240,230,255,0.18);
  color: rgba(240,230,255,0.5);
}

.chess-meta-tag {
  padding: 2px 8px;
  border: 1px solid rgba(0,152,205,0.15);
  border-radius: 3px;
  color: rgba(240,230,255,0.4);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Share Tech Mono', monospace;
}

.chess-embed-wrap {
  width: 100%;
  background: #05050d;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px 16px;
  gap: 14px;
  min-height: 100px;
}

.chess-board-area {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 8px;
}

.eval-bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.eval-bar {
  width: 16px;
  height: 375px; /* matches approximate visual height of rotateX(38deg) board */
  background: rgba(56,216,255,0.28);
  border: 1px solid rgba(0,152,205,0.18);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.eval-bar-black {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: #060c1a;
  transition: height 0.45s ease;
}

.eval-score-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.eval-score {
  font-size: 0.68rem;
  font-family: 'Share Tech Mono', monospace;
  color: rgba(240,230,255,0.38);
  letter-spacing: 0.5px;
  text-align: center;
  min-width: 30px;
}

.eval-loading {
  width: 9px;
  height: 9px;
  border: 1.5px solid rgba(0,152,205,0.18);
  border-top-color: rgba(0,152,205,0.65);
  border-radius: 50%;
  animation: eval-spin 0.75s linear infinite;
  display: none;
}

@keyframes eval-spin {
  to { transform: rotate(360deg); }
}

.chess-board-perspective {
  perspective: 1100px;
  perspective-origin: 50% 0%;
}

#chess-canvas {
  display: block;
  max-width: 480px;
  width: 100%;
  height: auto;
  border: 1px solid rgba(0,152,205,0.12);
  transform: rotateX(38deg);
  transform-origin: 50% 100%;
}

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

.chess-btn {
  background: rgba(0,152,205,0.07);
  border: 1px solid rgba(0,152,205,0.22);
  color: rgba(0,152,205,0.65);
  padding: 4px 12px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.chess-btn:hover:not(:disabled) {
  background: rgba(0,152,205,0.18);
  border-color: rgba(0,152,205,0.5);
  color: #0098CD;
}

.chess-btn:disabled {
  opacity: 0.22;
  cursor: default;
}

.chess-move-counter {
  color: rgba(240,230,255,0.38);
  font-size: 0.74rem;
  font-family: 'Share Tech Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  min-width: 100px;
  text-align: center;
}

.chess-loading {
  color: rgba(0,152,205,0.32);
  font-size: 0.78rem;
  font-family: 'Share Tech Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 20px 0;
}

/* ── Ratings card ── */
.chess-ratings-card {
  background: var(--card-bg);
  border: var(--thin-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.chess-ratings-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-transparent);
}

.chess-ratings-header {
  padding: 12px 16px;
  border-bottom: var(--thin-border);
  background: rgba(0,152,205,0.04);
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.chess-ratings-grid {
  display: flex;
  flex-direction: column;
  padding: 0 16px;
}

.rating-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 0;
  border-bottom: var(--thin-border);
}

.rating-item:last-child { border-bottom: none; }

.rating-label {
  flex: 1;
  color: rgba(240,230,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.75rem;
  font-family: 'Share Tech Mono', monospace;
}

.rating-value {
  color: var(--accent);
  font-size: 0.92rem;
  letter-spacing: 1px;
  font-family: 'Share Tech Mono', monospace;
  min-width: 40px;
  text-align: right;
}

.rating-games {
  color: rgba(240,230,255,0.25);
  font-size: 0.7rem;
  font-family: 'Share Tech Mono', monospace;
  min-width: 30px;
  text-align: right;
}

.chess-loading-inline {
  color: rgba(0,152,205,0.38);
  font-size: 0.78rem;
  font-family: 'Share Tech Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 16px 0;
  text-align: center;
}

@media (max-width: 768px) {
  .chess-section-wrap { grid-template-columns: 1fr; }
}
/* ==================== END CHESS SUBSYSTEM ==================== */