/* SnipeOffice Win7 — Aero theme for Neocities */
@import url('https://fonts.googleapis.com/css2?family=Segoe UI&display=swap');

:root {
  --win7-title-start: #1c3f6e;
  --win7-title-end: #5b9bd5;
  --win7-title-active-start: #2b579a;
  --win7-title-active-end: #7eb4ea;
  --win7-face: #f0f0f0;
  --win7-border-light: #fff;
  --win7-border-dark: #808080;
  --win7-border-darker: #404040;
  --win7-btn-face: #f5f8fc;
  --win7-btn-hover: #fff;
  --win7-link: #0066cc;
  --win7-link-visited: #551a8b;
  --win7-selection: #3399ff;
  --win7-green: #73d216;
  --win7-aero-border: #8eb4e3;
  --win7-toolbar-top: #f5f8fc;
  --win7-toolbar-bottom: #d9e1ef;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Segoe UI, "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  color: #000;
  background: #1e4a7a url('../images/harmony.jpg') center center / cover fixed no-repeat;
  line-height: 1.45;
  padding-bottom: 48px;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(20, 60, 120, 0.22);
  pointer-events: none;
  z-index: 0;
}

a { color: var(--win7-link); }
a:visited { color: var(--win7-link-visited); }
a:hover { color: #ff0000; }

/* Desktop shell */
.desktop {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 12px 12px 48px;
}

/* Aero window */
.win7-window {
  border-radius: 8px;
  overflow: hidden;
  background: var(--win7-face);
  border: 1px solid var(--win7-aero-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.5) inset;
  margin-bottom: 14px;
}

.win7-titlebar {
  border-radius: 7px 7px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 4px 8px;
  min-height: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 18%),
    linear-gradient(180deg, var(--win7-title-end) 0%, var(--win7-title-start) 55%, #16345c 100%);
  color: #fff;
  font-weight: normal;
  font-size: 12px;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
  user-select: none;
}

.win7-titlebar.active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0) 20%),
    linear-gradient(180deg, var(--win7-title-active-end) 0%, var(--win7-title-active-start) 50%, #1e4a82 100%);
}

.win7-titlebar .title {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.win7-titlebar img.icon {
  width: 16px;
  height: 16px;
  image-rendering: pixelated;
}

.win7-titlebar .buttons {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}

.win7-btn-chrome {
  width: 27px;
  height: 20px;
  margin-left: 1px;
  border: none;
  background: transparent center / 27px 20px no-repeat;
  cursor: default;
  opacity: 0.92;
}

.win7-btn-chrome:hover {
  opacity: 1;
}

.win7-btn-min {
  background-image: url('../images/chrome/caption-minimize.png');
}

.win7-btn-max {
  background-image: url('../images/chrome/caption-maximize.png');
}

.win7-btn-close {
  background-image: url('../images/chrome/caption-close.png');
}

.win7-btn-close:hover {
  filter: brightness(1.08);
}

.win7-body {
  padding: 12px 14px 14px;
}

.win7-menubar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  border-bottom: 1px solid #b8c9e2;
  margin: -4px -6px 12px;
  padding: 2px 4px;
  background: linear-gradient(180deg, #fbfcfe 0%, #ecf1f9 100%);
}

.nav-toggle {
  display: none;
  width: 100%;
  margin: 2px 0 4px;
  padding: 10px 12px;
  font-family: Segoe UI, sans-serif;
  font-size: 13px;
  font-weight: normal;
  text-align: left;
  color: #1a1a1a;
  background: linear-gradient(180deg, #fefefe 0%, #e4edf8 100%);
  border: 1px solid #8eb4e3;
  border-radius: 3px;
  cursor: pointer;
}

.nav-links {
  display: contents;
}

.win7-menubar a {
  padding: 2px 8px;
  text-decoration: none;
  color: #000;
  font-size: 12px;
  line-height: 1.4;
}

.win7-menubar a:hover,
.win7-menubar a.current {
  background: var(--win7-selection);
  color: #fff;
}

/* Command toolbar (Win7 Explorer strip) */
.win7-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 5px 6px;
  margin-bottom: 12px;
  border: 1px solid #98b4d8;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--win7-toolbar-top) 0%, #e8edf5 55%, var(--win7-toolbar-bottom) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.win7-toolbar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  text-decoration: none;
  color: #1a1a1a;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 12px;
}

.win7-toolbar a:hover {
  border-color: #8eb4e3;
  background: linear-gradient(180deg, #fff 0%, #e3ecf8 100%);
  color: #000;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* Buttons */
.win7-button {
  display: inline-block;
  padding: 5px 16px;
  background: linear-gradient(180deg, #fefefe 0%, #e4edf8 55%, #d0dced 100%);
  border: 1px solid #8eb4e3;
  border-radius: 3px;
  font-family: Segoe UI, sans-serif;
  font-size: 12px;
  color: #1a1a1a;
  text-decoration: none;
  cursor: pointer;
  margin: 2px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.win7-button:hover {
  background: linear-gradient(180deg, #fff 0%, #edf3fb 55%, #dce8f6 100%);
  border-color: #6a9fd8;
}

.win7-button.primary {
  border-color: #fff #2d6b2d #2d6b2d #fff;
  background: linear-gradient(180deg, #8fdf5a 0%, var(--win7-green) 100%);
  font-weight: bold;
}

/* Typography */
h1, h2, h3 {
  font-family: Segoe UI, "Trebuchet MS", sans-serif;
  color: #003399;
  margin: 0 0 8px;
}

h1 { font-size: 1.35rem; }
h2 { font-size: 1.1rem; border-bottom: 1px solid var(--win7-border-dark); padding-bottom: 4px; margin-top: 18px; }
h3 { font-size: 1rem; margin-top: 14px; }

p { margin: 0 0 10px; }

.lead {
  font-size: 14px;
  color: #1a1a1a;
}

.note {
  background: #ffffcc;
  border: 1px solid #e6c200;
  padding: 8px 10px;
  margin: 10px 0;
}

.warn {
  background: #ffe4e4;
  border: 1px solid #cc0000;
  padding: 8px 10px;
  margin: 10px 0;
}

.tip {
  background: #e8f4e8;
  border: 1px solid #73d216;
  padding: 8px 10px;
  margin: 10px 0;
}

/* Tables */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 10px 0 14px;
  border: 1px solid var(--win7-border-dark);
  background: #fff;
}

.table-scroll .win7-table {
  margin: 0;
  min-width: 480px;
}

.win7-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  background: #fff;
}

.win7-table th,
.win7-table td {
  border: 1px solid var(--win7-border-dark);
  padding: 5px 8px;
  text-align: left;
  vertical-align: top;
}

.win7-table th {
  background: linear-gradient(180deg, #fff 0%, #d4d0c8 100%);
  font-weight: bold;
}

.win7-table tr:nth-child(even) td {
  background: #f7f5ef;
}

.win7-table a.http-dl {
  display: inline-block;
  min-width: 3.25rem;
  padding: 4px 10px;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(180deg, #fff 0%, #ece9d8 100%);
  border: 1px solid;
  border-color: #fff #808080 #808080 #fff;
  text-decoration: none;
}

.win7-table a.http-dl:hover {
  background: linear-gradient(180deg, #fff 0%, #d8e8ff 100%);
}

/* Lists */
ol, ul {
  margin: 0 0 12px;
  padding-left: 22px;
}

li { margin-bottom: 4px; }

/* Layout helpers */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 12px 0 20px;
}

.game-card {
  text-align: center;
}

.game-card .game-icon {
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 6px;
}

.game-card h3 {
  margin: 0 0 8px;
}

.game-credit {
  font-size: 11px;
  color: #555;
  margin: 0 0 10px;
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.infra-grid .card {
  margin: 0;
  height: 100%;
}

.infra-grid h3 {
  font-size: 12px;
  margin: 0 0 8px;
}

.infra-grid ul {
  margin: 0;
  padding-left: 18px;
  font-size: 11px;
}

.infra-grid li {
  margin-bottom: 3px;
}

.card {
  border: 1px solid var(--win7-border-dark);
  padding: 10px;
  background: #fff;
}

.card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 8px;
  border: 1px solid var(--win7-border-dark);
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: bold;
  border: 1px solid var(--win7-border-dark);
  background: #d4e8ff;
  margin-right: 4px;
}

.badge.x64 { background: #d4e8ff; }
.badge.x86 { background: #ffe8d4; }

/* Marquee — classic touch */
.marquee-wrap {
  background: #000;
  color: #0f0;
  border: 2px inset var(--win7-border-dark);
  margin-bottom: 12px;
  overflow: hidden;
}

.marquee-wrap marquee {
  font-family: "Courier New", monospace;
  font-size: 12px;
  color: #00ff00;
  padding: 3px 0;
}

/* Win7 Aero taskbar */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.win7-taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  overflow-x: auto;
  height: 40px;
  padding: 0 6px env(safe-area-inset-bottom, 0px);
  background:
    linear-gradient(180deg, rgba(120, 170, 230, 0.28) 0%, rgba(30, 70, 130, 0.42) 35%, rgba(8, 30, 65, 0.82) 100%);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 -4px 12px rgba(0, 0, 0, 0.28);
  font-family: Segoe UI, sans-serif;
  font-size: 12px;
}

.win7-start {
  display: block;
  flex-shrink: 0;
  width: 54px;
  height: 40px;
  margin: 0 8px 0 0;
  padding: 0;
  border: none;
  cursor: pointer;
  background: transparent url('../images/chrome/start-orb.png') no-repeat 0 0;
  background-size: 54px 162px;
  text-decoration: none;
  overflow: hidden;
  position: relative;
  font: inherit;
}

.win7-start:hover {
  background-position: 0 -54px;
}

.win7-start:active,
.win7-start:focus-visible {
  background-position: 0 -108px;
  outline: none;
}

.win7-start.menu-open {
  background-position: 0 -108px;
}

/* Win7 Start menu popup */
.win7-start-menu {
  position: fixed;
  bottom: 40px;
  left: 0;
  z-index: 200;
  width: min(440px, calc(100vw - 10px));
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: none;
  border-radius: 0 8px 0 0;
  box-shadow: 0 -4px 28px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(248, 251, 255, 0.98) 0%, rgba(225, 235, 250, 0.98) 55%, rgba(210, 225, 245, 0.98) 100%);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  font-family: Segoe UI, sans-serif;
}

.win7-start-menu[hidden] {
  display: none;
}

.start-menu-inner {
  display: flex;
  min-height: 300px;
}

.start-menu-left {
  flex: 1.25;
  padding: 6px 0 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(235, 242, 252, 0.25) 100%);
}

.start-menu-right {
  flex: 1;
  padding: 6px 0 8px;
  background: rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.45);
}

.start-menu-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 10px;
  margin-bottom: 2px;
  font-weight: 600;
  font-size: 13px;
  color: #1e3f6e;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.start-menu-user img {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.start-programs,
.start-places {
  list-style: none;
  margin: 0;
  padding: 0;
}

.start-programs a,
.start-places a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.3;
}

.start-programs a:hover,
.start-places a:hover,
.start-programs a:focus-visible,
.start-places a:focus-visible {
  background: linear-gradient(90deg, #c5daf2 0%, #a8c4eb 100%);
  box-shadow: inset 3px 0 0 #3a7bd5;
  outline: none;
  color: #000;
}

.start-menu-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: linear-gradient(180deg, #4a7ab5 0%, #2d5a94 45%, #234a7c 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.start-shutdown {
  padding: 5px 16px;
  font-family: Segoe UI, sans-serif;
  font-size: 12px;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(0, 0, 0, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 3px;
  cursor: pointer;
}

.start-shutdown:hover {
  background: rgba(255, 255, 255, 0.22);
}

.win7-taskbar a {
  color: #fff;
  text-decoration: none;
}

.win7-taskbar a:hover { text-decoration: none; }

/* Pinned / open windows on the taskbar */
.task-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  max-width: 200px;
  margin: 2px 1px 0;
  padding: 0 10px 0 4px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
  font-weight: normal;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  box-shadow: none;
}

.task-btn:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.task-btn:active {
  background: rgba(0, 0, 0, 0.22);
  border-color: rgba(0, 0, 0, 0.25);
  color: #dce8ff;
}

.task-btn.active {
  background: linear-gradient(180deg, rgba(130, 180, 240, 0.5) 0%, rgba(70, 120, 190, 0.38) 55%, rgba(45, 90, 160, 0.28) 100%);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 14px rgba(120, 180, 255, 0.35);
}

.task-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 6px;
  right: 6px;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  border-radius: 2px 2px 0 0;
  pointer-events: none;
}

.task-btn img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  image-rendering: auto;
}

.task-btn.folder-btn {
  max-width: 168px;
}

.task-btn.app-btn {
  max-width: 176px;
}

.win7-taskbar .win7-legacy-link {
  color: #fff;
  text-decoration: none;
  margin-right: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 11px;
  opacity: 0.9;
}

.win7-taskbar .win7-legacy-link:hover {
  text-decoration: underline;
  opacity: 1;
}

.win7-clock {
  margin-left: auto;
  align-self: center;
  padding: 4px 10px;
  margin-right: 2px;
  color: #fff;
  font-size: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  border: 1px solid transparent;
  border-radius: 2px;
  white-space: nowrap;
}

.win7-clock:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.15);
}

code, kbd {
  font-family: "Courier New", monospace;
  font-size: 11px;
  background: #f0f0f0;
  border: 1px solid #ccc;
  padding: 1px 4px;
}

.dl-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0;
}

.mirror-note {
  font-size: 11px;
  color: #555;
  font-style: italic;
}

.hero-img {
  float: right;
  max-width: 200px;
  margin: 0 0 10px 14px;
  border: 2px solid;
  border-color: var(--win7-border-light) var(--win7-border-darker) var(--win7-border-darker) var(--win7-border-light);
}

.clearfix::after {
  content: '';
  display: table;
  clear: both;
}

/* Real screenshot figures */
figure.shot.hero-img {
  float: right;
  max-width: 220px;
  margin: 0 0 10px 14px;
}

figure.shot {
  margin: 12px 0 16px;
  padding: 0;
  border: 2px solid;
  border-color: var(--win7-border-light) var(--win7-border-darker) var(--win7-border-darker) var(--win7-border-light);
  background: #fff;
}

figure.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--win7-border-dark);
}

figure.shot figcaption {
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.5;
  color: #222;
  background: #f7f5ef;
}

figure.shot figcaption strong {
  display: block;
  color: #003399;
  margin-bottom: 3px;
}

.shot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 14px 0;
}

.shot-grid figure.shot { margin: 0; }

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}

.stat-box {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 10px;
  border: 1px solid var(--win7-border-dark);
  background: #fff;
}

.stat-box .num {
  font-size: 1.4rem;
  font-weight: bold;
  color: #003399;
}

.stat-box .lbl {
  font-size: 11px;
  color: #555;
}

/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 900px) {
  .three-col {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
    font-size: 14px;
    padding-bottom: 48px;
  }

  .desktop {
    padding: 8px 8px 12px;
  }

  .win7-body {
    padding: 10px 10px 12px;
  }

  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.05rem; margin-top: 16px; }

  .lead { font-size: 15px; }

  .two-col,
  .three-col,
  .shot-grid {
    grid-template-columns: 1fr;
  }

  figure.shot.hero-img,
  .hero-img {
    float: none;
    max-width: 100%;
    margin: 0 0 14px;
  }

  .win7-menubar {
    flex-direction: column;
    flex-wrap: nowrap;
    margin: -4px -4px 12px;
    padding: 4px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 2px;
    padding-bottom: 4px;
  }

  .win7-menubar.nav-open .nav-links {
    display: flex;
  }

  .win7-menubar a {
    display: block;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid transparent;
  }

  .win7-menubar a:hover,
  .win7-menubar a.current {
    border-color: var(--win7-border-dark);
  }

  .win7-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .win7-toolbar a {
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid var(--win7-border-dark);
    background: #fff;
  }

  .win7-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 14px;
    font-size: 14px;
    margin: 4px 0;
  }

  .dl-pair {
    flex-direction: column;
  }

  .dl-pair .win7-button {
    width: 100%;
  }

  .stat-box {
    flex: 1 1 calc(50% - 10px);
    min-width: calc(50% - 10px);
  }

  .stat-box .num {
    font-size: 1.25rem;
  }

  .win7-table {
    font-size: 13px;
  }

  .win7-table th,
  .win7-table td {
    padding: 8px 10px;
  }

  .win7-table code {
    word-break: break-word;
  }

  .table-scroll .win7-table {
    min-width: 560px;
  }

  .win7-titlebar .buttons {
    display: none;
  }

  .marquee-wrap marquee {
    font-size: 11px;
  }

  .win7-start-menu {
    bottom: 36px;
    width: min(100vw - 8px, 400px);
  }

  .start-menu-inner {
    flex-direction: column;
    min-height: 0;
  }

  .start-menu-right {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.45);
  }

  .win7-taskbar {
    height: 36px;
    padding: 0 4px env(safe-area-inset-bottom, 0px);
  }

  .win7-start {
    width: 46px;
    height: 36px;
    background-size: 46px 138px;
    margin-right: 4px;
  }

  .win7-start:hover {
    background-position: 0 -46px;
  }

  .win7-start:active,
  .win7-start:focus-visible {
    background-position: 0 -92px;
  }

  .win7-taskbar a {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 11px;
  }

  .task-btn {
    height: 32px;
    max-width: 140px;
    font-size: 10px;
    padding: 0 8px 0 2px;
  }

  .task-btn img {
    width: 24px;
    height: 24px;
  }

  .task-btn.folder-btn,
  .task-btn.app-btn {
    max-width: 130px;
  }

  .win7-taskbar .win7-legacy-link {
    display: none;
  }

  .win7-clock {
    flex-shrink: 0;
    margin-left: auto;
    font-size: 10px;
  }

  figure.shot figcaption {
    font-size: 13px;
    padding: 10px 12px;
  }
}

@media (max-width: 400px) {
  .stat-box {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .badge {
    display: block;
    width: fit-content;
    margin-bottom: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .marquee-wrap marquee {
    animation: none;
  }
}
