/* fan/windows.css: /worlds/windows/ only. Written 2026-11-21 with the page.

   Bliss, after dark. The company's logo is a flag of four panes, and the
   page does not draw it; it draws the picture most people saw through those
   panes instead: one green hill in Sonoma under a blue sky, dimmed to a
   night version so the text reads over it. The clouds drift on transform
   only and stop under reduced motion. Blue for the accent, the color every
   Windows title bar has been at some point.

   The personal facts on this page (a Windows desktop, first on every Steam
   Replay, every hundred percent on /gaming/) live in fan-windows.js. */

body[data-fan="windows"] { --a: #3fa0f0; }

/* ── the backdrop ── */
.wn-sky {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: linear-gradient(180deg, #060f22 0%, #0a1e40 38%, #10335f 66%, #0b2744 100%);
}

.wn-sky > span { position: absolute; }

.wn-glow { inset: 0; background: radial-gradient(48% 30% at 50% 8%, rgba(63,160,240,.2), transparent 72%); }

/* three soft clouds on a 900px tile that repeats sideways; the layer is one
   tile wider than the screen and slides exactly one tile, so the loop has no
   seam */
.wn-clouds {
  inset: 10% auto auto 0; width: calc(100% + 900px); height: 40%;
  background-image:
    radial-gradient(130px 34px at 140px 70px, rgba(220,235,255,.10), transparent 70%),
    radial-gradient(190px 46px at 430px 140px, rgba(220,235,255,.075), transparent 70%),
    radial-gradient(150px 36px at 730px 46px, rgba(220,235,255,.09), transparent 70%);
  background-size: 900px 100%; background-repeat: repeat-x;
  will-change: transform; animation: wn-drift 140s linear infinite;
}

@keyframes wn-drift { to { transform: translateX(-900px); } }

@media (prefers-reduced-motion: reduce) { .wn-clouds { animation: none; } }

.wn-field { position: absolute; inset: auto 0 0 0; height: 46%; }

.wn-field svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.wn-f-far  { fill: #0d2a1c; }

.wn-f-near { fill: #0a1f13; stroke: rgba(95,191,79,.22); stroke-width: 2; }

/* ── hero ── */
/* Segoe UI has been the Windows interface face since Vista; a Mac does not
   have it, so it falls to Helvetica Neue, set light */
body[data-fan="windows"] .fan-title {
  font-family: "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", var(--sans);
  font-weight: 300; letter-spacing: 0.02em;
  text-shadow: 0 0 30px rgba(63,160,240,.4);
}

/* ── the window ── */
.wn-art { padding: 0 var(--gutter); max-width: var(--maxw); margin: 2.6rem 0 0; }

.wn-art svg { display: block; width: min(460px, 100%); margin-inline: auto; }

.wn-frame { fill: #1f56d8; }

.wn-btn { fill: #3c7cf0; stroke: #e8f0ff; stroke-width: 1.5; }

.wn-btn--close { fill: #d8462c; }

.wn-glyph { fill: none; stroke: #ffffff; stroke-width: 2.4; stroke-linecap: round; }

.wn-cloud { fill: #ffffff; opacity: .78; }

.wn-hill-back { fill: #4fae34; opacity: .7; }

.wn-task { fill: #2457d6; }

.wn-start { fill: #3a9a36; }

.wn-start-t {
  fill: #ffffff; font-family: "Trebuchet MS", var(--sans);
  font-size: 17px; font-style: italic; font-weight: 700;
}

.wn-tray { fill: #1590e8; }

.wn-art figcaption {
  margin-top: 0.9rem; text-align: center;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--mute);
}
