/*
 * Windows 7 theme wrapper for discostew blog.
 * Framework: 7.css v0.21.1, https://khang-nd.github.io/7.css
 * Description: A design system for building faithful recreations of old UIs.
 * License: MIT License.
 */
@import url("/vendor/7.css");

html[data-theme="win7"] {
  color-scheme: dark;
  min-height: 100%;
  background:
    radial-gradient(circle at 48% -8%, rgba(81, 166, 224, 0.42), transparent 18rem),
    radial-gradient(circle at 82% 88%, rgba(39, 130, 196, 0.28), transparent 18rem),
    linear-gradient(180deg, #071421 0%, #0d2033 45%, #07111d 100%);
}

html[data-theme="win7"] body {
  min-height: 100vh;
  color: #eef4fc;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04), transparent 15rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 88px),
    transparent;
  font: var(--w7-font);
}

html[data-theme="win7"] a {
  color: #8ecbff;
}

html[data-theme="win7"] .window {
  font: var(--w7-font);
}

html[data-theme="win7"] .window-body {
  color: #eef4fc;
  background: #111826;
}

html[data-theme="win7"] .main-window .window-body {
  color: #39ff14;
  background: #010603;
}

html[data-theme="win7"] .main-window [role="tabpanel"] {
  background: #010603;
}

html[data-theme="win7"] .system-tagline,
html[data-theme="win7"] .lede,
html[data-theme="win7"] .post-description,
html[data-theme="win7"] #hit-counter.hit-counter {
  color: #39ff14;
}

html[data-theme="win7"] .site-title {
  color: #9bd4ff;
  text-shadow: 0 1px 0 #00162b, 0 0 9px rgba(119, 197, 255, 0.65);
}

html[data-theme="win7"] .main-window .site-title {
  color: #39ff14;
  text-shadow: 0 0 4px rgba(57, 255, 20, 0.74), 0 0 18px rgba(57, 255, 20, 0.42);
}

html[data-theme="win7"] .main-window .ascii-banner pre {
  color: #39ff14;
  background: #031006;
  border: 1px solid rgba(57, 255, 20, 0.34);
  text-shadow: 0 0 6px rgba(57, 255, 20, 0.34);
}

html[data-theme="win7"] .profile-name {
  color: #9bd4ff;
}

html[data-theme="win7"] .profile-card,
html[data-theme="win7"] .copy-paste-block,
html[data-theme="win7"] textarea {
  background: #172132;
  color: #eef4fc;
  border: 1px solid #5c718a;
  border-radius: 3px;
  box-shadow: none;
}

html[data-theme="win7"] [role="tablist"] button[role="tab"] {
  min-width: 0;
  color: #39ff14;
  background:
    linear-gradient(rgba(255, 255, 255, 0.1), rgba(57, 255, 20, 0.05) 48%, rgba(0, 0, 0, 0.28) 49%),
    #071009;
  border-color: rgba(57, 255, 20, 0.44);
  text-shadow: 0 0 6px rgba(57, 255, 20, 0.38);
}

html[data-theme="win7"] [role="tablist"] button[aria-selected="true"] {
  color: #9cff98;
  background:
    linear-gradient(rgba(57, 255, 20, 0.16), rgba(57, 255, 20, 0.07) 48%, rgba(0, 0, 0, 0.32) 49%),
    #010603;
  border-color: rgba(57, 255, 20, 0.72);
  border-bottom-color: #010603;
}

html[data-theme="win7"] .post-file:hover,
html[data-theme="win7"] .post-file:focus-visible {
  background: #073b12;
  color: #d8ffd3;
}

html[data-theme="win7"] .taskbar {
  min-height: 48px;
  height: 48px;
  padding: 5px 9px 6px;
  gap: 8px;
  color: #fff;
  background-color: rgba(10, 13, 14, 0.84);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03) 42%, rgba(0, 0, 0, 0.28) 43%),
    linear-gradient(90deg, rgba(20, 26, 28, 0.78), rgba(8, 10, 11, 0.88));
  backdrop-filter: blur(10px) saturate(1.12);
  border-top: 1px solid rgba(120, 255, 150, 0.2);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 -1px rgba(0, 0, 0, 0.82), 0 -8px 28px rgba(0, 0, 0, 0.32);
}

html[data-theme="win7"] .start-button {
  display: grid;
  place-items: center;
  min-width: 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  overflow: visible;
  background: none;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
}

html[data-theme="win7"] .start-button::before,
html[data-theme="win7"] .start-button::after {
  content: none;
}

html[data-theme="win7"] .start-button:hover .start-glyph,
html[data-theme="win7"] .start-button:focus-visible .start-glyph {
  filter: brightness(1.14);
  box-shadow: 0 0 10px 3px rgba(122, 213, 255, 0.78), inset 0 1px 2px rgba(255, 255, 255, 0.7);
}

html[data-theme="win7"] .start-button-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

html[data-theme="win7"] .start-glyph {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background-color: transparent;
  background-image: url("/vendor/win7-start-orb.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 42px 42px;
  box-shadow: none;
}

html[data-theme="win7"] .taskbar-app,
html[data-theme="win7"] .tray-icon {
  min-height: 34px;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.12) 46%, rgba(18, 88, 150, 0.74) 47%, rgba(11, 60, 115, 0.86)),
    rgba(42, 124, 189, 0.72);
  border: 1px solid rgba(162, 220, 255, 0.62);
  border-radius: 4px;
  text-shadow: 0 1px 2px #001f3c;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.46), 0 1px 3px rgba(0, 0, 0, 0.36);
}

html[data-theme="win7"] .taskbar-app.active {
  background:
    linear-gradient(rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.2) 47%, rgba(66, 157, 220, 0.84) 48%, rgba(24, 96, 162, 0.92)),
    #176eb2;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.68), 0 0 12px rgba(112, 213, 255, 0.52);
}

html[data-theme="win7"] .tray {
  margin-left: auto;
  min-height: 34px;
  height: 34px;
  color: #fff;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(120, 255, 150, 0.24);
  border-radius: 4px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.14);
}

html[data-theme="win7"] .now-playing-text,
html[data-theme="win7"] .taskbar-time {
  color: #fff;
  text-shadow: 0 1px 2px #001f3c;
}

html[data-theme="win7"] .now-playing-text {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(170, 226, 255, 0.3);
}

html[data-theme="win7"] .start-menu {
  --start-menu-rail-width: 34px;
  bottom: calc(100% + 2px);
  width: max-content;
  max-width: calc(100vw - 16px);
  color: #d7f8df;
  background: #07100c;
  border: 1px solid rgba(98, 220, 122, 0.55);
  border-radius: 7px 7px 0 0;
  box-shadow:
    0 -10px 28px rgba(0, 0, 0, 0.56),
    inset 0 1px rgba(158, 255, 178, 0.12);
}

html[data-theme="win7"] .start-menu-header {
  width: var(--start-menu-rail-width);
  background: #010603;
  border-right: 1px solid rgba(57, 255, 20, 0.38);
}

html[data-theme="win7"] .start-menu-header span {
  left: 4px;
  bottom: 9px;
  color: #b9f8c5;
  font: 700 22px "Segoe UI", "Tahoma", sans-serif;
  text-shadow: 0 1px 2px #000;
}

html[data-theme="win7"] .start-menu-items {
  margin-left: var(--start-menu-rail-width);
  padding: 6px;
}

html[data-theme="win7"] .start-menu-item {
  width: auto;
  min-height: 30px;
  color: #d7f8df;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  box-shadow: none;
  white-space: nowrap;
}

html[data-theme="win7"] .start-menu button.start-menu-item::before,
html[data-theme="win7"] .start-menu button.start-menu-item::after {
  content: none;
  background: none;
  border: 0;
  box-shadow: none;
}

html[data-theme="win7"] .start-menu-item:hover,
html[data-theme="win7"] .start-menu-item:focus-visible {
  color: #d8ffd3;
  background: #073b12;
  border-color: #55c96f;
}

html[data-theme="win7"] .desktop-icon:hover span:last-child,
html[data-theme="win7"] .desktop-icon:focus-visible span:last-child {
  color: #111;
  background: linear-gradient(#eef7ff, #c7e6fa);
  border-color: #8fc8ee;
}

html[data-theme="win7"] .splash-screen {
  background: radial-gradient(circle at 50% 35%, rgba(134, 197, 241, 0.7), transparent 18rem), #061a33;
}
