/* theme-win95.css: Windows Desktop Configurations Engine (3.1, 95, 98, 2000, ME, XP Luna, XP Zune, Longhorn, Vista, Win7) */

body[data-theme-layout="win95"],
[data-theme-layout="win95"] body {
  background-color: #008080;
  background-image: none !important;
  color: #000000;
  min-height: 100vh;
  padding-bottom: 50px;
  box-sizing: border-box;
}

body[data-theme-layout="win95"] .bg,
body[data-theme-layout="win95"]::before {
  display: none !important;
}

/* Windows Edition Selector Toolbar */
.win-edition-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.5rem;
  background: #d4d0c8;
  border-bottom: 1px solid #808080;
  box-shadow: 0 1px 0 #ffffff;
  margin: 0 -0.85rem 0.65rem;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.win-edition-bar::-webkit-scrollbar { display: none; }

.win-edition-label {
  font-family: 'Pixelify Sans', Tahoma, sans-serif;
  font-size: 0.68rem;
  font-weight: bold;
  color: #333333;
  margin-right: 0.2rem;
  flex: 0 0 auto;
}

.win-ed-btn {
  font-family: 'Pixelify Sans', Tahoma, sans-serif;
  font-size: 0.68rem;
  font-weight: bold;
  padding: 0.22rem 0.5rem;
  background: #c0c0c0;
  color: #000000;
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #808080;
  border-bottom: 1px solid #808080;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  transition: background 0.08s;
}

.win-ed-btn:hover {
  background: #e4e4e4;
}

.win-ed-btn.active,
.win-ed-btn[aria-pressed="true"] {
  background: #000080;
  color: #ffffff;
  border-top: 1px solid #000000;
  border-left: 1px solid #000000;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
}

.win-ed-btn:focus-visible {
  outline: 2px dotted #000080;
  outline-offset: 1px;
}

body[data-theme-layout="win95"]::after {
  content: "  🪟 Start   |   [🗂️ C:\\Worlds]                                                                                 🔊  4:20 PM";
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 34px;
  line-height: 32px;
  background: #c0c0c0;
  border-top: 2px solid #ffffff;
  box-shadow: 0 -1px 0 #808080;
  color: #000000;
  font-family: 'Pixelify Sans', Tahoma, sans-serif;
  font-size: 0.78rem;
  font-weight: bold;
  padding: 0 0.75rem;
  z-index: 1000;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-theme-layout="win95"] main,
[data-theme-layout="win95"] body main {
  position: relative;
  max-width: 840px;
  margin: 1.5rem auto 4.5rem;
  background: #c0c0c0;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #000000;
  border-bottom: 2px solid #000000;
  box-shadow:
    inset 1px 1px 0 #dfdfdf,
    inset -1px -1px 0 #808080,
    4px 4px 0 rgba(0, 0, 0, 0.4);
  padding: 3px 3px 1.5rem;
}

body[data-theme-layout="win95"] .player {
  position: relative;
  background: #c0c0c0;
  padding: 0 0.85rem 1rem;
  margin-bottom: 0;
  text-align: center;
}

body[data-theme-layout="win95"] .player::before {
  content: "🗂️ Furphy Hub - [C:\\Worlds\\*]";
  display: flex;
  align-items: center;
  height: 25px;
  background: linear-gradient(90deg, #000080 0%, #1084d0 100%);
  color: #ffffff;
  font-family: 'Pixelify Sans', Tahoma, sans-serif;
  font-size: 0.84rem;
  font-weight: bold;
  padding: 0 0.5rem;
  letter-spacing: 0.02em;
  margin: 0 -0.85rem 0.5rem;
  box-sizing: border-box;
}

body[data-theme-layout="win95"] .player::after {
  content: " _   □   ✕ ";
  position: absolute;
  top: 4px;
  right: 6px;
  background: #c0c0c0;
  color: #000000;
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: bold;
  padding: 1px 5px;
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #000000;
  border-bottom: 1px solid #000000;
  box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #808080;
}

body[data-theme-layout="win95"] h1::before {
  content: "File   Edit   View   Go   Favorites   Help";
  display: block;
  text-align: left;
  font-family: 'Pixelify Sans', Tahoma, sans-serif;
  font-size: 0.76rem;
  font-weight: normal;
  color: #000000;
  padding: 2px 6px;
  margin: 0 -0.85rem 0.85rem;
  border-bottom: 1px solid #808080;
  box-shadow: 0 1px 0 #ffffff;
  letter-spacing: 0.04em;
}

body[data-theme-layout="win95"] #sun,
body[data-theme-layout="win95"] #moon {
  display: none !important;
}

body[data-theme-layout="win95"] .avatar-slot {
  width: 88px;
  height: 88px;
  background: #c0c0c0;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  box-shadow: inset 1px 1px 0 #000000, inset -1px -1px 0 #dfdfdf;
  animation: none;
  margin-bottom: 0.6rem;
}

body[data-theme-layout="win95"] .avatar-slot img,
body[data-theme-layout="win95"] .avatar-slot canvas {
  width: 76px;
  height: 76px;
}

body[data-theme-layout="win95"] h1 {
  color: #000080;
  font-size: 1.65rem;
  letter-spacing: 0.04em;
  text-shadow: none;
  margin: 0.2rem 0;
}

body[data-theme-layout="win95"] .kana {
  color: #222222;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}

body[data-theme-layout="win95"] .tagline {
  color: #222222;
  font-size: 0.96rem;
  margin-bottom: 1rem;
}

body[data-theme-layout="win95"] .socials {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

body[data-theme-layout="win95"] .slot-btn {
  width: 44px;
  height: 44px;
  background: #c0c0c0;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #000000;
  border-bottom: 2px solid #000000;
  box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #808080;
  border-radius: 0;
  transition: none;
}

body[data-theme-layout="win95"] .slot-btn:hover {
  transform: none;
}

body[data-theme-layout="win95"] .slot-btn:active {
  border-top: 2px solid #000000;
  border-left: 2px solid #000000;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  box-shadow: inset 1px 1px 0 #808080, inset -1px -1px 0 #dfdfdf;
  transform: none;
}

body[data-theme-layout="win95"] .divider {
  position: relative;
  background: #c0c0c0;
  color: #000000;
  font-family: 'Pixelify Sans', Tahoma, sans-serif;
  font-size: 0.74rem;
  padding: 4px 8px;
  margin: 0 0.85rem 0.85rem;
  display: flex;
  align-items: center;
}

body[data-theme-layout="win95"] .divider::before {
  content: "Address: [ C:\\Worlds\\                                                    ▼ ]";
  display: block;
  background: #ffffff;
  color: #000000;
  padding: 3px 6px;
  border-top: 1px solid #808080;
  border-left: 1px solid #808080;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  box-shadow: inset 1px 1px 0 #000000;
  width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 1;
}

body[data-theme-layout="win95"] .divider::after {
  display: none;
}

body[data-theme-layout="win95"] .worlds {
  background: #ffffff;
  margin: 0 0.85rem;
  padding: 1rem 0.85rem;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  box-shadow: inset 1px 1px 0 #000000, inset -1px -1px 0 #dfdfdf;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

body[data-theme-layout="win95"] .world {
  background: #ffffff;
  border: 1px solid transparent;
  box-shadow: none;
  padding: 0.65rem 0.75rem;
  color: #000000;
  border-radius: 0;
  animation: none;
  transition: background-color 0.04s, color 0.04s;
}

body[data-theme-layout="win95"] .world:hover,
body[data-theme-layout="win95"] .world:focus-visible {
  background: #000080;
  color: #ffffff;
  border: 1px dotted #ffffff;
  transform: none;
  box-shadow: none;
}

body[data-theme-layout="win95"] .world:hover .wname,
body[data-theme-layout="win95"] .world:focus-visible .wname,
body[data-theme-layout="win95"] .world:hover .blurb,
body[data-theme-layout="win95"] .world:focus-visible .blurb {
  color: #ffffff;
}

body[data-theme-layout="win95"] .world:hover .chip,
body[data-theme-layout="win95"] .world:focus-visible .chip {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff;
}

body[data-theme-layout="win95"] .world:hover .badge,
body[data-theme-layout="win95"] .world:focus-visible .badge {
  background: #ffffff;
  color: #000080;
  border-color: #ffffff;
}

body[data-theme-layout="win95"] .icon-slot {
  width: 44px;
  height: 44px;
  background: #c0c0c0;
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #808080;
  border-bottom: 1px solid #808080;
  box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #000000;
}

body[data-theme-layout="win95"] .wname {
  color: #000080;
  font-size: 0.8rem;
}

body[data-theme-layout="win95"] .blurb {
  color: #222222;
  font-size: 0.92rem;
  line-height: 1.4;
}

body[data-theme-layout="win95"] .chip {
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #808080;
  border-bottom: 1px solid #808080;
  background: #c0c0c0;
  color: #000000;
  box-shadow: none;
  font-size: 0.7rem;
}

body[data-theme-layout="win95"] .badge {
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #808080;
  border-bottom: 1px solid #808080;
  background: #c0c0c0;
  color: #000000;
  box-shadow: none;
  font-size: 0.5rem;
}

body[data-theme-layout="win95"] footer {
  margin: 1.25rem 0.85rem 0;
  padding-top: 0.65rem;
  border-top: 1px solid #808080;
  box-shadow: 0 1px 0 #ffffff;
  color: #444444;
  font-size: 0.85rem;
}

body[data-theme-layout="win95"] footer .press {
  color: #000080;
  font-size: 0.6rem;
}

body[data-theme-layout="win95"] a:focus-visible,
body[data-theme-layout="win95"] button:focus-visible {
  outline: 2px dotted #000080 !important;
  outline-offset: 2px !important;
}

/* ==========================================================================
   10 DISTINCT WINDOWS DESKTOP EDITIONS
   ========================================================================== */

/* 1. Windows 3.1 Program Manager (1992) */
body[data-win-edition="win31"] {
  background-color: #808080 !important;
}
body[data-win-edition="win31"] main {
  background: #c0c0c0;
  border: 2px solid #000000;
  box-shadow: none;
}
body[data-win-edition="win31"] .player::before {
  content: "=  Program Manager - [Furphy Worlds Group]  =";
  background: #000080;
  color: #ffffff;
  font-family: monospace;
}
body[data-win-edition="win31"]::after {
  content: "  Program Manager  |  6 Items Loaded                                                                              3:10 PM";
  background: #c0c0c0;
  border-top: 2px solid #000000;
  color: #000000;
}

/* 2. Windows 95 Plus! (Default base styles already applied) */

/* 3. Windows 98 SE Active Desktop (1998) */
body[data-win-edition="win98"] {
  background-color: #004e98 !important;
}
body[data-win-edition="win98"] .player::before {
  content: "🌐 Furphy Hub - Microsoft Internet Explorer 5.0";
  background: linear-gradient(90deg, #0a246a 0%, #a6caf0 100%);
}
body[data-win-edition="win98"] .wname {
  color: #0000ee;
  text-decoration: underline;
}
body[data-win-edition="win98"]::after {
  content: "  🪟 Start   |   [QL: 📁 🌐 📧]   |   [🌐 C:\\Worlds]                                                         🌐  4:20 PM";
}

/* 4. Windows 2000 Professional (2000) */
body[data-win-edition="win2000"] {
  background-color: #3a6ea5 !important;
}
body[data-win-edition="win2000"] main {
  background: #ece9d8;
  border: 1px solid #716f64;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35);
}
body[data-win-edition="win2000"] .player::before {
  content: "💼 Exploring - C:\\Furphy\\Worlds";
  background: linear-gradient(90deg, #0a246a 0%, #a6caf0 100%);
}
body[data-win-edition="win2000"]::after {
  background: #ece9d8;
  border-top: 1px solid #ffffff;
  box-shadow: 0 -1px 0 #716f64;
  content: "  Start   |   [Exploring - C:\\Furphy\\Worlds]                                                               💼  12:00 AM";
}

/* 5. Windows ME Millennium Edition (2000) */
body[data-win-edition="winme"] {
  background: linear-gradient(135deg, #002244 0%, #004e98 100%) !important;
  background-attachment: fixed !important;
}
body[data-win-edition="winme"] .player::before {
  content: "🎵 Furphy Media & Web Hub 2000";
  background: linear-gradient(90deg, #003366 0%, #006699 100%);
}
body[data-win-edition="winme"]::after {
  content: "  🪟 Start   |   [WMP: Track 01 - Furphy]                                                                   💿  1:33 AM";
}

/* 6. Windows XP Luna Blue (2001) */
body[data-win-edition="winxp"] {
  background-color: #245edb !important;
  background-image:
    image-set(
      url('/themes/bliss.webp') type('image/webp'),
      url('/themes/bliss.jpg') type('image/jpeg')
    ),
    url('/themes/bliss.jpg'),
    linear-gradient(180deg, #245edb 0%, #468bf5 50%, #58b030 50%, #3e8822 100%) !important;
  background-attachment: fixed !important;
  background-position: center bottom !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}
body[data-win-edition="winxp"] main {
  background: #ece9d8;
  border: 3px solid #0055ea;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 8px 24px rgba(0, 30, 100, 0.45);
}
body[data-win-edition="winxp"] .player::before {
  content: "📁 Furphy's Worlds - Windows Explorer";
  background: linear-gradient(180deg, #0058ee 0%, #3593ff 10%, #0855dd 50%, #0040be 100%);
  border-radius: 6px 6px 0 0;
  text-shadow: 1px 1px 1px #001e64;
  height: 30px;
}
body[data-win-edition="winxp"] .player::after {
  content: " _   □   ✕ ";
  background: linear-gradient(180deg, #e04430 0%, #c02010 100%);
  color: #ffffff;
  border-radius: 3px;
  border: 1px solid #701000;
  box-shadow: inset 0 1px 0 #ff8070;
}
body[data-win-edition="winxp"]::after {
  content: "  🟢 start   |   [📁 Furphy's Worlds]                                                                     🌐  4:20 PM";
  background: linear-gradient(180deg, #245edb 0%, #3e82f7 10%, #1e52c8 100%);
  border-top: 1px solid #5aa0ff;
  color: #ffffff;
}
body[data-win-edition="winxp"] .world {
  background: #ffffff;
  border: 1px solid #7f9db9;
  border-radius: 4px;
}
body[data-win-edition="winxp"] .world:hover {
  background: #eef4ff;
  border-color: #316ac5;
  box-shadow: 0 0 8px rgba(49, 106, 197, 0.35);
}

/* 7. Windows XP Zune / Royale Noir (2006) */
body[data-win-edition="zune"] {
  background: #141414 !important;
  color: #ffffff;
}
body[data-win-edition="zune"] main {
  background: #1e1e1e;
  border: 3px solid #333333;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  color: #ffffff;
}
body[data-win-edition="zune"] .player::before {
  content: "🎧 Furphy Hub [Royale Noir Edition]";
  background: linear-gradient(180deg, #2d2d2d 0%, #1a1a1a 100%);
  border-bottom: 2px solid #f25a00;
  border-radius: 6px 6px 0 0;
  color: #ffffff;
}
body[data-win-edition="zune"] .player::after {
  background: #f25a00;
  color: #ffffff;
  border-color: #8c3400;
}
body[data-win-edition="zune"]::after {
  content: "  🟠 start   |   [🎧 Furphy Hub]                                                                           🛡️  9:00 PM";
  background: #1a1a1a;
  border-top: 1px solid #f25a00;
  color: #ffffff;
}
body[data-win-edition="zune"] .world {
  background: #282828;
  border: 1px solid #444444;
  color: #ffffff;
}
body[data-win-edition="zune"] .world:hover {
  border-color: #f25a00;
  box-shadow: 0 0 10px rgba(242, 90, 0, 0.5);
}
body[data-win-edition="zune"] .wname {
  color: #ff8533;
}
body[data-win-edition="zune"] .blurb {
  color: #dcdcdc;
}

/* 8. Windows Longhorn 4074 Slate / Plex (2004) */
body[data-win-edition="longhorn"] {
  background: #223344 !important;
  color: #ffffff;
}
body[data-win-edition="longhorn"] main {
  background: #1c2833;
  border: 2px solid #00e5ff;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
  color: #ffffff;
}
body[data-win-edition="longhorn"] .player::before {
  content: "💠 Furphy Hub [Longhorn 4074 Beta]";
  background: linear-gradient(180deg, #2c3e50 0%, #1a252f 100%);
  color: #00e5ff;
}
body[data-win-edition="longhorn"]::after {
  content: "  💠 Start   |   [💠 Furphy Hub]                                                                           ⚡  11:25 PM";
  background: #1a252f;
  border-top: 1px solid #00e5ff;
  color: #00e5ff;
}
body[data-win-edition="longhorn"] .world {
  background: #151f28;
  border: 1px solid #2c3e50;
  color: #ffffff;
}
body[data-win-edition="longhorn"] .world:hover {
  border-color: #00e5ff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.45);
}

/* 9. Windows Vista Frutiger Aero (2006) */
body[data-win-edition="vista"] {
  background: radial-gradient(ellipse at 50% 25%, #135058 0%, #0a2e38 60%, #051419 100%) !important;
  background-attachment: fixed !important;
  color: #ffffff;
}
body[data-win-edition="vista"] main {
  background: rgba(13, 35, 42, 0.92);
  border: 2px solid rgba(0, 229, 255, 0.5);
  border-radius: 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: #ffffff;
}
body[data-win-edition="vista"] .player::before {
  content: "🪟 Furphy Hub · Frutiger Aero Explorer";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(0, 0, 0, 0.4) 100%), #0d232a;
  color: #ffffff;
  border-radius: 6px 6px 0 0;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.8);
}
body[data-win-edition="vista"]::after {
  content: "  ( 🔮 ) Start   |   [🪟 Furphy Hub]                                                                      🛡️  11:45 PM";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(0, 0, 0, 0.8) 100%), #0a1c22;
  border-top: 1px solid rgba(0, 229, 255, 0.4);
  color: #ffffff;
}
body[data-win-edition="vista"] .world {
  background: rgba(20, 50, 60, 0.7);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 6px;
  color: #ffffff;
  backdrop-filter: blur(6px);
}
body[data-win-edition="vista"] .world:hover {
  background: rgba(30, 80, 95, 0.85);
  border-color: #00f0ff;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.5);
}
body[data-win-edition="vista"] .wname {
  color: #e0faff;
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.6);
}
body[data-win-edition="vista"] .blurb {
  color: #c2eef5;
}

/* 10. Windows 7 Aero Clear & Superbar (2009) */
body[data-win-edition="win7"] {
  background: linear-gradient(180deg, #1b3b5a 0%, #2e6396 60%, #15304b 100%) !important;
  background-attachment: fixed !important;
  color: #ffffff;
}
body[data-win-edition="win7"] main {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #7fa5c4;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  color: #000000;
}
body[data-win-edition="win7"] .player::before {
  content: "🪟 Libraries ▶ Furphy Hub";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(200, 225, 255, 0.5) 100%), #2e6396;
  color: #002244;
  font-weight: bold;
  border-radius: 5px 5px 0 0;
  text-shadow: 0 0 6px #ffffff;
}
body[data-win-edition="win7"]::after {
  content: "  ( 🪟 )   [📷]  [⚔️]  [🎮]  [🦍]  [📚]  [🎲]                                                       🔊  11:59 PM  | [ ]";
  background: rgba(16, 32, 48, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  backdrop-filter: blur(8px);
}
body[data-win-edition="win7"] .world {
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  color: #000000;
}
body[data-win-edition="win7"] .world:hover {
  background: #eef5fb;
  border-color: #70c0e7;
  box-shadow: 0 0 8px rgba(112, 192, 231, 0.5);
}
body[data-win-edition="win7"] .wname {
  color: #1e395b;
}
body[data-win-edition="win7"] .blurb {
  color: #333333;
}

@media (prefers-reduced-motion: reduce) {
  body[data-theme-layout="win95"] *,
  body[data-theme-layout="win95"] *::before,
  body[data-theme-layout="win95"] *::after {
    animation: none !important;
    transition: none !important;
  }
}
