@charset "UTF-8";

/*
 * Design references used as implementation guidance:
 * - https://github.com/jdan/98.css        classic bevels and desktop controls
 * - https://github.com/Team-Parashuram/Pixel-art-8-bit  hard pixel spacing/borders
 * - https://github.com/lumusitech/AI/blob/main/skills/design-it/frutiger-aero/SKILL.md
 *   glossy gradients, glass, sky/grass color and specular highlights
 */

:root {
  --bg: #008080;
  --bg-deep: #006666;
  --panel: #c0c0c0;
  --panel-strong: #dfdfdf;
  --ink: #121212;
  --muted: #333333;
  --line: #808080;
  --accent: #000080;
  --accent-2: #800000;
  --blue: #000080;
  --shadow: rgba(0, 0, 0, 0.45);
  --radius: 0px;
  --body-font: Tahoma, Arial, sans-serif;
  --display-font: Tahoma, Arial, sans-serif;
}

body[data-style="pixel"] {
  --bg: #111329;
  --bg-deep: #0b0d20;
  --panel: #191d3b;
  --panel-strong: #20264c;
  --ink: #f4f0df;
  --muted: #9ca6bd;
  --line: #3d4775;
  --accent: #d6ff58;
  --accent-2: #ff815b;
  --blue: #718dff;
  --shadow: #080a1d;
  --radius: 0px;
  --body-font: "Courier New", Courier, monospace;
  --display-font: "Courier New", Courier, monospace;
  color-scheme: dark;
}

body[data-style="win98"] {
  --bg: #008080;
  --bg-deep: #006666;
  --panel: #c0c0c0;
  --panel-strong: #dfdfdf;
  --ink: #121212;
  --muted: #333333;
  --line: #808080;
  --accent: #000080;
  --accent-2: #800000;
  --blue: #000080;
  --shadow: rgba(0, 0, 0, 0.45);
  --radius: 0px;
  --body-font: Tahoma, Arial, sans-serif;
  --display-font: Tahoma, Arial, sans-serif;
  color-scheme: light;
}

body[data-style="vista"] {
  --bg: #a8dfef;
  --bg-deep: #15527e;
  --panel: rgba(255, 255, 255, 0.42);
  --panel-strong: rgba(255, 255, 255, 0.66);
  --ink: #123956;
  --muted: #37647c;
  --line: rgba(255, 255, 255, 0.74);
  --accent: #0a73be;
  --accent-2: #5a9f36;
  --blue: #56c6ef;
  --shadow: rgba(15, 63, 101, 0.35);
  --radius: 16px;
  --body-font: "Segoe UI", Arial, sans-serif;
  --display-font: "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body-font);
  line-height: 1.55;
  transition: background-color 260ms ease, color 260ms ease;
}

body::before,
body::after,
.page-noise {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}

body::before {
  content: "";
  background: radial-gradient(circle at 14% 5%, rgba(113, 141, 255, 0.15), transparent 28%), radial-gradient(circle at 86% 17%, rgba(255, 129, 91, 0.1), transparent 24%);
}

body::after {
  content: "";
  z-index: -2;
  opacity: 0.3;
  background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.page-noise {
  z-index: 20;
  opacity: 0.05;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  padding: 8px 12px;
  transform: translateY(-150%);
  background: var(--accent);
  color: var(--bg-deep);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(100% - 48px, 1320px);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: var(--bg-deep);
  box-shadow: 4px 4px 0 var(--accent-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.brand-copy {
  display: grid;
  gap: 0;
  line-height: 1.1;
}

.brand-copy strong {
  font-family: var(--display-font);
  font-size: 15px;
  letter-spacing: 0.05em;
}

.brand-copy strong span {
  padding: 0 3px;
  color: var(--accent-2);
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 38px);
}

.nav-link {
  position: relative;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  transition: color 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-link.is-active::after {
  position: absolute;
  right: 0;
  bottom: -11px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
}

.nav-github {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 430px;
  padding: 70px 0 58px;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.signal-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent), 0 0 15px var(--accent);
}

.hero h1,
.section-heading h2,
.about-copy h2 {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(52px, 8vw, 104px);
}

.hero h1 em,
.about-copy h2 em {
  color: var(--accent);
  font-style: normal;
}

.hero-description {
  max-width: 480px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 43px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg-deep);
}

.button-primary:hover {
  box-shadow: 5px 5px 0 var(--accent-2);
}

.button-quiet {
  color: var(--muted);
}

.button-quiet:hover {
  border-color: var(--accent);
  color: var(--ink);
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 480px;
  margin-top: 54px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.terminal-prompt {
  color: var(--accent-2);
  font-weight: 900;
}

.terminal-cursor {
  width: 7px;
  height: 13px;
  background: var(--accent);
  animation: cursor-blink 1.1s steps(2, jump-none) infinite;
}

@keyframes cursor-blink {
  50% { opacity: 0; }
}

.hero-visual {
  position: relative;
  max-width: 520px;
  justify-self: end;
}

.signal-card {
  position: relative;
  padding: 11px;
  overflow: hidden;
}

.surface,
.repo-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 8px 8px 0 var(--shadow);
}

.signal-card-header,
.signal-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 23px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.signal-card-header > span:first-child {
  display: inline-flex;
  gap: 4px;
}

.window-light {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.window-light-red { background: var(--accent-2); }
.window-light-yellow { background: #f5dc64; }
.window-light-green { background: var(--accent); }

.signal-card-id {
  margin-left: auto;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
}

.live-badge .signal-dot {
  width: 5px;
  height: 5px;
}

.signal-screen {
  position: relative;
  min-height: 390px;
  margin: 9px 0;
  overflow: hidden;
  isolation: isolate;
  background: #171b39;
}

.signal-screen::before {
  position: absolute;
  inset: 0;
  z-index: 5;
  content: "";
  pointer-events: none;
  opacity: 0.14;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, 0.45) 4px);
  mix-blend-mode: screen;
}

.screen-grid {
  position: absolute;
  right: -8%;
  bottom: -30%;
  left: -8%;
  height: 67%;
  transform: perspective(150px) rotateX(58deg);
  transform-origin: bottom;
  opacity: 0.45;
  background-image: linear-gradient(rgba(214, 255, 88, 0.45) 1px, transparent 1px), linear-gradient(90deg, rgba(214, 255, 88, 0.45) 1px, transparent 1px);
  background-size: 28px 22px;
}

.screen-sun {
  position: absolute;
  top: 19%;
  right: 17%;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(255, 129, 91, 0.78);
  border-radius: 50%;
  background: repeating-linear-gradient(0deg, transparent 0 11px, rgba(255, 129, 91, 0.8) 12px 15px), linear-gradient(180deg, #ffb36e, #ff657e);
  box-shadow: 0 0 32px rgba(255, 129, 91, 0.35);
}

.screen-mountain {
  position: absolute;
  right: -4%;
  bottom: 27%;
  left: -4%;
  height: 44%;
  clip-path: polygon(0 100%, 15% 63%, 24% 74%, 40% 25%, 49% 55%, 61% 14%, 76% 66%, 86% 41%, 100% 100%);
}

.screen-mountain-back {
  z-index: 1;
  background: #4d4e91;
  opacity: 0.9;
}

.screen-mountain-front {
  z-index: 2;
  bottom: 23%;
  height: 35%;
  clip-path: polygon(0 100%, 12% 55%, 22% 75%, 38% 34%, 48% 63%, 66% 16%, 78% 68%, 89% 45%, 100% 100%);
  background: #25264e;
}

.screen-star {
  position: absolute;
  z-index: 4;
  color: var(--accent);
  font-size: 20px;
  text-shadow: 0 0 12px var(--accent);
}

.star-one { top: 15%; left: 18%; }
.star-two { top: 32%; left: 35%; color: var(--blue); font-size: 13px; }

.screen-label {
  position: absolute;
  z-index: 4;
  top: 11%;
  left: 8%;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.13em;
  line-height: 1.5;
}

.screen-label strong {
  color: var(--ink);
  font-size: 18px;
  letter-spacing: 0.02em;
}

.screen-wave {
  position: absolute;
  z-index: 4;
  right: 11%;
  bottom: 17%;
  width: 105px;
  height: 18px;
  border-top: 2px solid var(--accent);
  border-radius: 50%;
  transform: rotate(-8deg);
  opacity: 0.8;
}

.screen-wave::after {
  position: absolute;
  top: 7px;
  left: 17px;
  width: 83px;
  height: 15px;
  content: "";
  border-top: 1px solid var(--accent);
  border-radius: 50%;
}

.signal-card-footer {
  padding-top: 3px;
  border-top: 1px solid var(--line);
}

.hero-stamp {
  position: absolute;
  right: -32px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 13px;
  transform: rotate(-7deg);
  border: 1px solid var(--accent-2);
  background: var(--bg-deep);
  color: var(--accent-2);
  box-shadow: 4px 4px 0 var(--accent);
}

.hero-stamp span {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.12em;
}

.hero-stamp small {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 21px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-item {
  display: grid;
  gap: 2px;
  padding: 0 22px;
  border-right: 1px solid var(--line);
}

.stat-item:first-child {
  padding-left: 0;
}

.stat-item strong {
  color: var(--accent);
  font-family: var(--display-font);
  font-size: 27px;
  line-height: 1;
}

.stat-item span,
.stat-note p {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.09em;
}

.stat-note {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  padding-left: 24px;
}

.stat-note p {
  margin: 0;
  line-height: 1.6;
}

.mini-line {
  width: 48px;
  height: 1px;
  background: var(--accent-2);
}

.discoveries-section {
  padding: 56px 0 96px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading .eyebrow {
  margin-bottom: 12px;
}

.section-heading h2,
.about-copy h2 {
  font-size: clamp(38px, 5vw, 62px);
}

.heading-mark {
  padding-left: 8px;
  color: var(--accent-2);
}

.sync-readout {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.sync-readout strong {
  color: var(--ink);
  font-size: 11px;
}

.sync-readout-label {
  color: var(--accent);
}

.sync-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
}

.sync-status .signal-dot {
  width: 5px;
  height: 5px;
}

.style-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding: 12px 14px;
}

.style-switcher-title {
  padding: 0 10px 0 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.style-options {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
}

.style-option {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 150px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: max(2px, calc(var(--radius) - 1px));
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.style-option:hover {
  transform: translateY(-1px);
  border-color: var(--line);
}

.style-option.is-selected {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
}

.style-option > span:last-child {
  display: grid;
  gap: 1px;
}

.style-option strong {
  font-size: 10px;
  letter-spacing: 0.04em;
}

.style-option small {
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 0.09em;
}

.style-swatch {
  display: inline-block;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
}

.swatch-pixel {
  background-color: #141733;
  background-image: linear-gradient(#d6ff58 1px, transparent 1px), linear-gradient(90deg, #ff815b 1px, transparent 1px);
  background-size: 6px 6px;
}

.swatch-win98 {
  border-color: #fff #555 #555 #fff;
  background: linear-gradient(135deg, #000080 0 28%, #c0c0c0 28% 62%, #008080 62%);
}

.swatch-vista {
  border-radius: 7px;
  border-color: rgba(255, 255, 255, 0.55);
  background: linear-gradient(135deg, #8bf4db, #5b70d9 50%, #ff9ad8);
  box-shadow: 0 0 9px rgba(139, 244, 219, 0.45);
}

.feed-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-tab {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: max(2px, calc(var(--radius) - 1px));
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.filter-tab span {
  padding-left: 3px;
  color: var(--accent-2);
  font-size: 9px;
}

.filter-tab:hover,
.filter-tab.is-active {
  border-color: var(--accent);
  color: var(--ink);
}

.filter-tab.is-active {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.feed-controls {
  display: flex;
  align-items: center;
  gap: 11px;
}

.search-box,
.sort-control {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: max(2px, calc(var(--radius) - 1px));
  color: var(--muted);
}

.search-box {
  width: min(250px, 28vw);
  padding: 0 10px;
}

.search-box > span {
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 10px;
}

.search-box input::placeholder {
  color: var(--muted);
  opacity: 0.78;
}

.sort-control {
  padding: 0 0 0 10px;
  font-size: 9px;
  white-space: nowrap;
}

.sort-control select {
  min-height: 32px;
  padding: 0 9px;
  border: 0;
  border-left: 1px solid var(--line);
  outline: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 10px;
}

.sort-control option {
  background: var(--panel);
  color: var(--ink);
}

.feed-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 49px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.summary-rule {
  width: 34px;
  height: 1px;
  background: var(--accent-2);
}

.summary-tip {
  margin-left: auto;
  color: var(--muted);
  opacity: 0.74;
}

.masonry-grid {
  column-count: 3;
  column-gap: 18px;
}

.repo-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  overflow: hidden;
  vertical-align: top;
  break-inside: avoid;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.repo-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 8px 13px 0 var(--shadow);
}

.repo-card.is-picked {
  animation: picked-card 1.2s ease both;
}

@keyframes picked-card {
  0%, 100% { outline: 0 solid transparent; }
  35% { outline: 5px solid color-mix(in srgb, var(--accent) 70%, transparent); }
}

.card-cover {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  isolation: isolate;
  background: var(--cover-bg, #30376b);
}

.repo-card:nth-child(4n + 1) .card-cover { min-height: 245px; }
.repo-card:nth-child(4n + 2) .card-cover { min-height: 205px; }
.repo-card:nth-child(4n + 3) .card-cover { min-height: 180px; }
.repo-card:nth-child(4n) .card-cover { min-height: 225px; }

.card-cover-image,
.cover-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.card-cover-image {
  z-index: 1;
  object-fit: cover;
  opacity: 0.68;
  filter: saturate(1.15) contrast(1.04);
  transition: transform 350ms ease, opacity 200ms ease;
}

.repo-card:hover .card-cover-image {
  transform: scale(1.035);
  opacity: 0.82;
}

.card-cover.image-missing .card-cover-image {
  display: none;
}

.cover-fallback {
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cover-bg, #30376b), #111329 130%);
}

.cover-fallback::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.28;
  background-image: linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 24px 24px;
}

.cover-fallback::after {
  position: absolute;
  right: -15%;
  bottom: -42%;
  width: 90%;
  height: 90%;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  box-shadow: 0 0 0 17px rgba(255, 255, 255, 0.08), 0 0 0 36px rgba(255, 255, 255, 0.06);
}

.cover-fallback__glyph {
  position: absolute;
  top: 23%;
  right: 15%;
  color: var(--accent);
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 900;
  line-height: 1;
  text-shadow: 4px 4px 0 rgba(10, 12, 31, 0.45);
}

.cover-fallback__grid {
  position: absolute;
  right: 10%;
  bottom: 19%;
  left: 10%;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 9px 0 rgba(214, 255, 88, 0.6), 0 18px 0 rgba(214, 255, 88, 0.28);
  transform: skewY(-11deg);
}

.cover-fallback__label {
  position: absolute;
  bottom: 15%;
  left: 10%;
  color: rgba(255, 255, 255, 0.75);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.visual-sprite { --cover-bg: #854a73; }
.visual-sprite .cover-fallback__glyph { color: #ffe17a; }
.visual-sprite .cover-fallback__grid { background: #ffe17a; }
.visual-rct { --cover-bg: #3b7b72; }
.visual-rct .cover-fallback__glyph { color: #ffde67; }
.visual-transport { --cover-bg: #805c35; }
.visual-transport .cover-fallback__glyph { color: #c3f373; }
.visual-xcom { --cover-bg: #556b5b; }
.visual-xcom .cover-fallback__glyph { color: #f2d98e; }
.visual-doom { --cover-bg: #823d32; }
.visual-doom .cover-fallback__glyph { color: #ff9a56; }
.visual-rpg { --cover-bg: #564a83; }
.visual-rpg .cover-fallback__glyph { color: #ffa0d0; }
.visual-scumm { --cover-bg: #3a6484; }
.visual-scumm .cover-fallback__glyph { color: #a5ddff; }
.visual-dos { --cover-bg: #445036; }
.visual-dos .cover-fallback__glyph { color: #c5f87b; }
.visual-pc { --cover-bg: #537380; }
.visual-pc .cover-fallback__glyph { color: #f5e9ae; }
.visual-terminal { --cover-bg: #1b684f; }
.visual-terminal .cover-fallback__glyph { color: #a9ff75; }

.card-cover-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(9, 12, 31, 0.02) 18%, rgba(9, 12, 31, 0.87) 100%);
}

.card-cover-meta {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 3;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.card-index {
  color: var(--accent);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.card-signal {
  color: rgba(255, 255, 255, 0.72);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.card-body {
  padding: 16px 17px 17px;
}

.card-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 0 7px;
  border: 1px solid var(--accent-2);
  color: var(--accent-2);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.card-stars {
  color: var(--muted);
  font-size: 9px;
}

.card-stars strong {
  color: var(--ink);
}

.repo-title {
  margin: 0;
  font-family: var(--display-font);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.repo-owner {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.repo-description {
  min-height: 69px;
  margin: 15px 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.repo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.repo-tag {
  padding: 4px 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  line-height: 1;
}

.repo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.repo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  color: var(--muted);
  font-size: 8px;
}

.repo-meta span::before {
  padding-right: 5px;
  color: var(--accent);
  content: "•";
}

.repo-open {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.repo-open:hover {
  color: var(--accent-2);
}

.empty-state {
  padding: 54px 20px;
  text-align: center;
}

.empty-icon {
  display: block;
  color: var(--accent);
  font-size: 42px;
  line-height: 1;
}

.empty-state h3 {
  margin: 20px 0 6px;
  font-size: 20px;
}

.empty-state p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 12px;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 9vw, 130px);
  align-items: start;
  padding: 78px 0 90px;
  border-top: 1px solid var(--line);
}

.about-copy .eyebrow {
  margin-bottom: 14px;
}

.about-details {
  max-width: 640px;
  padding-top: 8px;
}

.about-details > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.about-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.about-metadata span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.about-metadata i {
  display: block;
  width: 6px;
  height: 6px;
  border: 1px solid var(--accent);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.11em;
}

.site-footer a {
  color: var(--accent);
}

.footer-center {
  color: var(--accent-2);
}

/* Pixel terminal language — hard 8-bit blocks, dots and stepped geometry */
body[data-style="pixel"] {
  background-color: var(--bg);
  background-image: none;
  transition: none;
  image-rendering: pixelated;
}

body[data-style="pixel"]::before {
  background: none;
}

body[data-style="pixel"]::after {
  opacity: 0.8;
  background-image: radial-gradient(circle, rgba(214, 255, 88, 0.48) 0 1px, transparent 1.5px);
  background-size: 8px 8px;
  mask-image: none;
}

body[data-style="pixel"] .page-noise {
  opacity: 0;
}

body[data-style="pixel"] .brand-mark,
body[data-style="pixel"] .button,
body[data-style="pixel"] .style-option,
body[data-style="pixel"] .filter-tab,
body[data-style="pixel"] .search-box,
body[data-style="pixel"] .sort-control,
body[data-style="pixel"] .repo-tag,
body[data-style="pixel"] .category-badge,
body[data-style="pixel"] .repo-card,
body[data-style="pixel"] .surface,
body[data-style="pixel"] .empty-state {
  border-radius: 0;
  transition: none;
}

body[data-style="pixel"] .brand-mark {
  border: 3px solid var(--accent);
  background: var(--accent-2);
  color: var(--bg-deep);
  box-shadow: 6px 6px 0 var(--shadow);
}

body[data-style="pixel"] .button,
body[data-style="pixel"] .style-option,
body[data-style="pixel"] .filter-tab,
body[data-style="pixel"] .search-box,
body[data-style="pixel"] .sort-control,
body[data-style="pixel"] .repo-tag,
body[data-style="pixel"] .category-badge {
  border: 3px solid var(--line);
  background: var(--panel);
  box-shadow: 4px 4px 0 var(--shadow);
}

body[data-style="pixel"] .button:hover,
body[data-style="pixel"] .style-option:hover,
body[data-style="pixel"] .filter-tab:hover,
body[data-style="pixel"] .filter-tab.is-active,
body[data-style="pixel"] .style-option.is-selected {
  transform: none;
  border-color: var(--accent);
  background: var(--panel-strong);
  box-shadow: 4px 4px 0 var(--accent-2);
}

body[data-style="pixel"] .button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg-deep);
  box-shadow: 5px 5px 0 var(--accent-2);
}

body[data-style="pixel"] .button-primary:hover {
  box-shadow: 2px 2px 0 var(--accent-2);
}

body[data-style="pixel"] .button-quiet {
  color: var(--ink);
}

body[data-style="pixel"] h1,
body[data-style="pixel"] h2,
body[data-style="pixel"] .repo-title {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body[data-style="pixel"] .signal-card {
  padding: 9px;
  border: 3px solid var(--line);
  box-shadow: 8px 8px 0 var(--shadow);
}

body[data-style="pixel"] .signal-card-header {
  min-height: 27px;
  padding: 0 7px;
  background: var(--accent-2);
  color: var(--bg-deep);
}

body[data-style="pixel"] .signal-card-header .signal-card-id,
body[data-style="pixel"] .signal-card-header .live-badge {
  color: var(--bg-deep);
}

body[data-style="pixel"] .window-light {
  border-radius: 0;
}

body[data-style="pixel"] .signal-screen {
  min-height: 390px;
  border: 3px solid var(--line);
  background: #12153a;
  box-shadow: inset 5px 5px 0 #080a1d, inset -5px -5px 0 #2f376d;
}

body[data-style="pixel"] .signal-screen::before {
  opacity: 0.22;
  background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(255, 255, 255, 0.52) 6px 7px);
}

body[data-style="pixel"] .screen-grid {
  right: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  transform: none;
  opacity: 0.28;
  background-image: radial-gradient(circle, var(--accent) 0 1px, transparent 1.5px);
  background-size: 14px 14px;
}

body[data-style="pixel"] .screen-sun {
  top: 18%;
  right: 17%;
  width: 88px;
  height: 88px;
  border: 0;
  border-radius: 0;
  background: var(--accent-2);
  box-shadow: 8px 8px 0 #ffb36e, -8px 8px 0 #ffb36e;
}

body[data-style="pixel"] .screen-sun::after {
  position: absolute;
  inset: 8px;
  content: "";
  background: repeating-linear-gradient(0deg, transparent 0 7px, #ffb36e 8px 10px);
}

body[data-style="pixel"] .screen-mountain {
  clip-path: polygon(0 100%, 0 82%, 8% 82%, 8% 70%, 16% 70%, 16% 58%, 24% 58%, 24% 72%, 32% 72%, 32% 48%, 40% 48%, 40% 32%, 48% 32%, 48% 56%, 56% 56%, 56% 70%, 64% 70%, 64% 44%, 72% 44%, 72% 60%, 80% 60%, 80% 72%, 90% 72%, 90% 56%, 100% 56%, 100% 100%);
}

body[data-style="pixel"] .screen-mountain-back {
  background: #4d4e91;
}

body[data-style="pixel"] .screen-mountain-front {
  bottom: 23%;
  height: 35%;
  clip-path: polygon(0 100%, 0 78%, 10% 78%, 10% 58%, 18% 58%, 18% 70%, 28% 70%, 28% 42%, 36% 42%, 36% 64%, 46% 64%, 46% 28%, 54% 28%, 54% 52%, 62% 52%, 62% 72%, 72% 72%, 72% 47%, 82% 47%, 82% 62%, 92% 62%, 92% 52%, 100% 52%, 100% 100%);
  background: #25264e;
}

body[data-style="pixel"] .screen-star {
  text-shadow: 2px 2px 0 #080a1d;
}

body[data-style="pixel"] .screen-label strong {
  text-shadow: 3px 3px 0 #080a1d;
}

body[data-style="pixel"] .screen-wave {
  right: 11%;
  bottom: 17%;
  width: 96px;
  height: 8px;
  border: 0;
  border-radius: 0;
  transform: none;
  background: var(--accent);
  box-shadow: 8px 8px 0 var(--accent), 16px 16px 0 rgba(214, 255, 88, 0.46);
}

body[data-style="pixel"] .screen-wave::after {
  display: none;
}

body[data-style="pixel"] .hero-stamp {
  right: -22px;
  bottom: -17px;
  transform: none;
  border: 3px solid var(--accent-2);
  background: var(--bg-deep);
  box-shadow: 5px 5px 0 var(--accent);
}

body[data-style="pixel"] .hero-stamp span,
body[data-style="pixel"] .hero-stamp small {
  color: var(--accent-2);
}

body[data-style="pixel"] .terminal-line {
  border-top: 3px solid var(--line);
}

body[data-style="pixel"] .repo-card,
body[data-style="pixel"] .surface,
body[data-style="pixel"] .empty-state {
  border: 3px solid var(--line);
  background: var(--panel);
  box-shadow: 8px 8px 0 var(--shadow);
}

body[data-style="pixel"] .repo-card:hover {
  transform: translate(-2px, -2px);
  border-color: var(--accent);
  box-shadow: 10px 10px 0 var(--accent-2);
}

body[data-style="pixel"] .card-cover {
  border-radius: 0;
  background: var(--cover-bg, #30376b);
}

body[data-style="pixel"] .card-cover-image {
  display: none;
}

body[data-style="pixel"] .cover-fallback {
  background: var(--cover-bg, #30376b);
}

body[data-style="pixel"] .cover-fallback::before {
  opacity: 0.45;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.48) 0 1px, transparent 1.5px);
  background-size: 8px 8px;
}

body[data-style="pixel"] .cover-fallback::after {
  right: 14%;
  bottom: 18%;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 0;
  background: var(--accent-2);
  box-shadow: 8px 8px 0 #ffb36e, -8px 8px 0 #ffb36e, 0 16px 0 var(--accent-2);
}

body[data-style="pixel"] .cover-fallback__glyph {
  text-shadow: 4px 4px 0 var(--shadow);
}

body[data-style="pixel"] .cover-fallback__grid {
  right: 10%;
  bottom: 19%;
  left: 10%;
  height: 4px;
  transform: none;
  background: var(--accent);
  box-shadow: 0 10px 0 var(--accent), 0 20px 0 rgba(214, 255, 88, 0.46);
}

body[data-style="pixel"] .card-cover-shade {
  background: transparent;
}

body[data-style="pixel"] .card-index,
body[data-style="pixel"] .card-signal {
  text-shadow: 2px 2px 0 var(--shadow);
}

body[data-style="pixel"] .swatch-pixel {
  border-radius: 0;
  border: 3px solid var(--accent);
  background-color: #141733;
  background-image: linear-gradient(90deg, #d6ff58 0 25%, transparent 25% 50%, #ff815b 50% 75%, transparent 75%), linear-gradient(#d6ff58 0 25%, transparent 25% 50%, #ff815b 50% 75%, transparent 75%);
  background-size: 12px 12px;
}

/* Windows 98 desktop language */
body[data-style="win98"] {
  background-color: #008080;
  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 4px 4px;
}

body[data-style="win98"]::before {
  background: linear-gradient(90deg, transparent 0 98%, rgba(0, 0, 0, 0.09) 98%), linear-gradient(0deg, transparent 0 98%, rgba(0, 0, 0, 0.09) 98%);
  background-size: 6px 6px;
  opacity: 0.65;
}

body[data-style="win98"] .site-header {
  min-height: 72px;
  padding: 0 10px;
  border: 2px solid;
  border-color: #fff #808080 #808080 #fff;
  background: #c0c0c0;
  box-shadow: inset -1px -1px #000, inset 1px 1px #dfdfdf;
}

body[data-style="win98"] .brand-mark {
  border: 2px solid;
  border-color: #fff #555 #555 #fff;
  background: #000080;
  color: #fff;
  box-shadow: none;
}

body[data-style="win98"] .brand-copy strong,
body[data-style="win98"] .brand-copy small,
body[data-style="win98"] .nav-link,
body[data-style="win98"] .hero-description,
body[data-style="win98"] .stat-item span,
body[data-style="win98"] .stat-note p,
body[data-style="win98"] .sync-readout,
body[data-style="win98"] .feed-summary,
body[data-style="win98"] .site-footer,
body[data-style="win98"] .repo-description,
body[data-style="win98"] .repo-owner,
body[data-style="win98"] .repo-meta,
body[data-style="win98"] .repo-tag,
body[data-style="win98"] .card-stars {
  color: #333;
}

body[data-style="win98"] .nav-link.is-active,
body[data-style="win98"] .nav-github,
body[data-style="win98"] .brand-copy strong span,
body[data-style="win98"] .eyebrow,
body[data-style="win98"] .stat-item strong,
body[data-style="win98"] .sync-readout-label,
body[data-style="win98"] .repo-open,
body[data-style="win98"] .site-footer a {
  color: #000080;
}

body[data-style="win98"] .signal-dot {
  background: #008000;
  box-shadow: none;
}

body[data-style="win98"] .hero h1,
body[data-style="win98"] .section-heading h2,
body[data-style="win98"] .about-copy h2 {
  letter-spacing: -0.08em;
}

body[data-style="win98"] .hero h1 em,
body[data-style="win98"] .about-copy h2 em {
  color: #800000;
}

body[data-style="win98"] .surface,
body[data-style="win98"] .repo-card,
body[data-style="win98"] .empty-state {
  border: 2px solid;
  border-color: #fff #808080 #808080 #fff;
  background: #c0c0c0;
  box-shadow: inset -1px -1px #000, inset 1px 1px #dfdfdf, 8px 8px 0 rgba(0, 0, 0, 0.28);
}

body[data-style="win98"] .signal-card-header {
  min-height: 25px;
  margin: -1px -1px 0;
  padding: 0 7px;
  background: #000080;
  color: #fff;
}

body[data-style="win98"] .signal-card-header .signal-card-id,
body[data-style="win98"] .signal-card-header .live-badge {
  color: #fff;
}

body[data-style="win98"] .signal-card {
  padding: 7px;
}

body[data-style="win98"] .signal-screen {
  min-height: 340px;
  border: 2px solid;
  border-color: #555 #fff #fff #555;
  background: #111;
}

body[data-style="win98"] .signal-card-footer {
  color: #333;
}

body[data-style="win98"] .hero-stamp {
  right: -18px;
  bottom: -15px;
  transform: rotate(0);
  border: 2px solid;
  border-color: #fff #555 #555 #fff;
  background: #c0c0c0;
  color: #800000;
  box-shadow: 4px 4px 0 #000;
}

body[data-style="win98"] .hero-stamp span,
body[data-style="win98"] .hero-stamp small {
  color: #800000;
}

body[data-style="win98"] .button,
body[data-style="win98"] .style-option,
body[data-style="win98"] .filter-tab,
body[data-style="win98"] .search-box,
body[data-style="win98"] .sort-control,
body[data-style="win98"] .repo-tag,
body[data-style="win98"] .category-badge {
  border: 2px solid;
  border-color: #fff #808080 #808080 #fff;
  background: #c0c0c0;
  color: #111;
}

body[data-style="win98"] .button:hover,
body[data-style="win98"] .style-option:hover,
body[data-style="win98"] .filter-tab:hover,
body[data-style="win98"] .filter-tab.is-active,
body[data-style="win98"] .style-option.is-selected {
  transform: none;
  border-color: #555 #fff #fff #555;
  background: #dfdfdf;
}

body[data-style="win98"] .button-primary {
  background: #dfdfdf;
  color: #000080;
  box-shadow: 2px 2px 0 #000;
}

body[data-style="win98"] .button-primary:hover {
  box-shadow: 1px 1px 0 #000;
}

body[data-style="win98"] .style-swatch {
  border-width: 2px;
}

body[data-style="win98"] .repo-card:hover {
  transform: none;
  border-color: #555 #fff #fff #555;
  box-shadow: inset -1px -1px #000, inset 1px 1px #dfdfdf, 4px 4px 0 rgba(0, 0, 0, 0.28);
}

body[data-style="win98"] .card-cover {
  border: 2px solid;
  border-color: #555 #fff #fff #555;
}

body[data-style="win98"] .card-cover-shade {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 18%, rgba(0, 0, 0, 0.74) 100%);
}

body[data-style="win98"] .category-badge {
  border-color: #000080;
  color: #000080;
}

body[data-style="win98"] .about-metadata i {
  border-color: #000080;
}

body[data-style="win98"] .terminal-line {
  padding: 7px;
  border: 2px solid;
  border-color: #555 #fff #fff #555;
  background: #000;
  color: #c0c0c0;
}

body[data-style="win98"] .terminal-prompt,
body[data-style="win98"] .terminal-cursor {
  color: #0f0;
  background: #0f0;
}

body[data-style="win98"] .footer-center,
body[data-style="win98"] .mini-line {
  color: #800000;
  background: #800000;
}

/* Windows Vista Aero language */
body[data-style="vista"] {
  background: radial-gradient(circle at 20% 15%, #2d4775 0, transparent 34%), radial-gradient(circle at 82% 10%, #6d3e85 0, transparent 30%), linear-gradient(135deg, #101b38, #20385a 52%, #10172f);
}

body[data-style="vista"]::before {
  z-index: -2;
  opacity: 1;
  background: radial-gradient(ellipse at 12% 58%, rgba(106, 239, 218, 0.18), transparent 25%), radial-gradient(ellipse at 88% 70%, rgba(255, 148, 221, 0.15), transparent 26%);
  filter: blur(25px);
}

body[data-style="vista"]::after {
  opacity: 0.16;
  background-size: 56px 56px;
  mask-image: none;
}

body[data-style="vista"] .site-header {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

body[data-style="vista"] .brand-mark {
  border-color: rgba(255, 255, 255, 0.72);
  border-radius: 13px;
  background: linear-gradient(135deg, var(--accent), #647cdf);
  color: #12203e;
  box-shadow: 0 0 22px rgba(139, 244, 219, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

body[data-style="vista"] .hero h1,
body[data-style="vista"] .section-heading h2,
body[data-style="vista"] .about-copy h2 {
  letter-spacing: -0.08em;
}

body[data-style="vista"] .hero h1 em,
body[data-style="vista"] .about-copy h2 em {
  text-shadow: 0 0 28px rgba(139, 244, 219, 0.32);
}

body[data-style="vista"] .surface,
body[data-style="vista"] .repo-card,
body[data-style="vista"] .empty-state {
  border-color: rgba(255, 255, 255, 0.25);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.19), rgba(255, 255, 255, 0.07));
  box-shadow: 0 18px 44px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(18px) saturate(1.35);
}

body[data-style="vista"] .signal-card {
  border-radius: 29px;
}

body[data-style="vista"] .signal-screen {
  min-height: 390px;
  border-radius: 19px;
  background: linear-gradient(150deg, #172b58, #422f6a 72%, #1d4f68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body[data-style="vista"] .signal-screen::after {
  position: absolute;
  inset: 0;
  z-index: 6;
  content: "";
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.15), transparent 35% 65%, rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

body[data-style="vista"] .screen-sun {
  box-shadow: 0 0 48px rgba(255, 154, 216, 0.58);
}

body[data-style="vista"] .hero-stamp {
  right: -24px;
  bottom: -18px;
  transform: rotate(-4deg);
  border-color: rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  background: rgba(15, 25, 53, 0.4);
  box-shadow: 0 10px 25px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.23);
  backdrop-filter: blur(14px);
}

body[data-style="vista"] .button,
body[data-style="vista"] .style-option,
body[data-style="vista"] .filter-tab,
body[data-style="vista"] .search-box,
body[data-style="vista"] .sort-control,
body[data-style="vista"] .repo-tag,
body[data-style="vista"] .category-badge {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

body[data-style="vista"] .button-primary {
  border-color: rgba(255, 255, 255, 0.55);
  background: linear-gradient(135deg, var(--accent), #b0a2ff);
  color: #17213d;
  box-shadow: 0 8px 22px rgba(139, 244, 219, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

body[data-style="vista"] .button-primary:hover {
  box-shadow: 0 10px 28px rgba(139, 244, 219, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

body[data-style="vista"] .style-option.is-selected,
body[data-style="vista"] .filter-tab.is-active {
  background: rgba(139, 244, 219, 0.12);
  box-shadow: inset 0 0 18px rgba(139, 244, 219, 0.08);
}

body[data-style="vista"] .repo-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 244, 219, 0.7);
  box-shadow: 0 24px 45px var(--shadow), 0 0 24px rgba(139, 244, 219, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

body[data-style="vista"] .card-cover {
  border-radius: 19px 19px 0 0;
}

body[data-style="vista"] .card-cover-image {
  opacity: 0.76;
  filter: saturate(1.14) contrast(1.02);
}

body[data-style="vista"] .card-cover-shade {
  background: linear-gradient(180deg, rgba(13, 25, 55, 0.02) 14%, rgba(13, 25, 55, 0.8) 100%);
}

body[data-style="vista"] .category-badge {
  border-radius: 999px;
  background: rgba(139, 244, 219, 0.1);
  color: var(--accent);
}

body[data-style="vista"] .repo-tag {
  border-radius: 999px;
}

body[data-style="vista"] .terminal-line {
  border-top-color: rgba(255, 255, 255, 0.2);
}

body[data-style="vista"] .terminal-cursor {
  border-radius: 2px;
  box-shadow: 0 0 10px var(--accent);
}

body[data-style="vista"] .footer-center {
  text-shadow: 0 0 14px rgba(255, 154, 216, 0.54);
}

/* Vista Aero refinement — glossy glass, sky/grass horizon and physical depth */
body[data-style="vista"] {
  background-color: #8bd3f1;
  background-image: linear-gradient(to bottom, #6fc7ee 0%, #e4faff 38%, #b6e9e6 52%, #84cf91 67%, #2f8374 100%);
  background-attachment: fixed;
}

body[data-style="vista"]::before {
  z-index: -2;
  opacity: 1;
  filter: none;
  background: radial-gradient(ellipse at 12% 18%, rgba(255, 255, 255, 0.78) 0 7%, transparent 21%), radial-gradient(ellipse at 78% 14%, rgba(255, 255, 255, 0.58) 0 6%, transparent 18%), radial-gradient(circle at 78% 25%, rgba(255, 255, 226, 0.92) 0 2%, transparent 10%), radial-gradient(ellipse at 30% 78%, rgba(255, 255, 255, 0.25) 0 12%, transparent 28%);
  mix-blend-mode: screen;
}

body[data-style="vista"]::after {
  opacity: 0.34;
  mask-image: none;
  background-image: radial-gradient(circle at 20% 61%, rgba(255, 255, 255, 0.72) 0 2px, transparent 3px), radial-gradient(circle at 83% 54%, rgba(255, 255, 255, 0.62) 0 3px, transparent 4px), radial-gradient(circle at 44% 84%, rgba(255, 255, 255, 0.3) 0 2px, transparent 4px);
  background-size: 180px 150px, 240px 180px, 140px 120px;
}

body[data-style="vista"] .page-noise {
  opacity: 0.018;
  mix-blend-mode: soft-light;
}

body[data-style="vista"] .site-header {
  min-height: 72px;
  margin-top: 18px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-top-color: #fff;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(220, 246, 255, 0.6) 44%, rgba(84, 154, 192, 0.42) 100%);
  box-shadow: 0 12px 22px var(--shadow), inset 0 1px 0 #fff, inset 0 -4px 10px rgba(34, 111, 157, 0.22);
  backdrop-filter: blur(15px) saturate(1.35);
}

body[data-style="vista"] .brand-mark {
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 12px;
  background: linear-gradient(145deg, #c6ffff 0%, #62d9ee 47%, #167fc0 53%, #70bfea 100%);
  color: #064979;
  box-shadow: 0 6px 12px rgba(18, 91, 132, 0.32), inset 0 1px 1px #fff, inset 0 -4px 6px rgba(10, 86, 139, 0.28);
  text-shadow: 0 1px #fff;
}

body[data-style="vista"] .brand-copy strong,
body[data-style="vista"] .brand-copy small,
body[data-style="vista"] .nav-link,
body[data-style="vista"] .hero-description,
body[data-style="vista"] .stat-item span,
body[data-style="vista"] .stat-note p,
body[data-style="vista"] .sync-readout,
body[data-style="vista"] .feed-summary,
body[data-style="vista"] .site-footer,
body[data-style="vista"] .repo-description,
body[data-style="vista"] .repo-owner,
body[data-style="vista"] .repo-meta,
body[data-style="vista"] .card-stars {
  color: #245770;
}

body[data-style="vista"] .nav-link.is-active,
body[data-style="vista"] .nav-github,
body[data-style="vista"] .brand-copy strong span,
body[data-style="vista"] .eyebrow,
body[data-style="vista"] .stat-item strong,
body[data-style="vista"] .sync-readout-label,
body[data-style="vista"] .repo-open,
body[data-style="vista"] .site-footer a {
  color: #0a73be;
}

body[data-style="vista"] .surface,
body[data-style="vista"] .repo-card,
body[data-style="vista"] .empty-state {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-top-color: #fff;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.64) 0%, rgba(255, 255, 255, 0.34) 42%, rgba(80, 157, 192, 0.34) 100%);
  box-shadow: 0 18px 36px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.96), inset 0 -14px 24px rgba(37, 111, 161, 0.15);
  backdrop-filter: blur(18px) saturate(1.4);
}

body[data-style="vista"] .repo-card::before {
  position: absolute;
  top: 0;
  right: 12px;
  left: 12px;
  z-index: 4;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.98) 20% 80%, transparent);
  pointer-events: none;
}

body[data-style="vista"] .signal-card {
  padding: 11px;
  border-radius: 23px;
}

body[data-style="vista"] .signal-card-header {
  min-height: 28px;
  margin: -1px -1px 0;
  padding: 0 8px;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(35, 126, 187, 0.82) 46%, rgba(7, 76, 137, 0.94) 52%, rgba(42, 143, 203, 0.8) 100%);
  color: #fff;
  text-shadow: 0 -1px 1px rgba(0, 36, 75, 0.78);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.86), 0 3px 5px rgba(21, 83, 122, 0.25);
}

body[data-style="vista"] .signal-card-header .signal-card-id,
body[data-style="vista"] .signal-card-header .live-badge {
  color: #fff;
}

body[data-style="vista"] .signal-screen {
  min-height: 390px;
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  background: linear-gradient(to bottom, #63c9f2 0%, #e9fbff 45%, #92d694 46%, #4ea29e 78%, #2a6f83 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -16px 26px rgba(24, 91, 121, 0.25), 0 7px 14px rgba(25, 91, 122, 0.28);
}

body[data-style="vista"] .signal-screen::before {
  opacity: 0.08;
  background: repeating-linear-gradient(0deg, transparent 0 4px, rgba(255, 255, 255, 0.8) 5px);
}

body[data-style="vista"] .signal-screen::after {
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.28), transparent 30% 65%, rgba(255, 255, 255, 0.14));
}

body[data-style="vista"] .screen-grid {
  right: 0;
  bottom: 0;
  left: 0;
  height: 48%;
  transform: none;
  opacity: 0.18;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.86) 0 1px, transparent 2px);
  background-size: 16px 14px;
}

body[data-style="vista"] .screen-sun {
  top: 14%;
  right: 17%;
  width: 105px;
  height: 105px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  background: radial-gradient(circle at 30% 25%, #fffbd8 0 12%, #ffe96a 48%, #f6ae48 100%);
  box-shadow: 0 0 42px rgba(255, 240, 147, 0.72), inset 6px 6px 12px rgba(255, 255, 255, 0.58);
}

body[data-style="vista"] .screen-mountain-back {
  background: linear-gradient(180deg, #a2de92, #4d9f71);
  filter: drop-shadow(0 6px 3px rgba(27, 90, 83, 0.25));
}

body[data-style="vista"] .screen-mountain-front {
  background: linear-gradient(180deg, #65bf75, #23755f);
  filter: drop-shadow(0 9px 3px rgba(24, 76, 71, 0.3));
}

body[data-style="vista"] .screen-label {
  color: #075482;
  text-shadow: 0 1px #fff;
}

body[data-style="vista"] .screen-label strong {
  color: #fff;
  text-shadow: 0 1px 2px #075482;
}

body[data-style="vista"] .screen-wave {
  border-top-color: #ecffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.72);
}

body[data-style="vista"] .hero-stamp {
  right: -24px;
  bottom: -18px;
  transform: rotate(-4deg);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(102, 183, 211, 0.42));
  color: #126091;
  box-shadow: 0 9px 18px var(--shadow), inset 0 1px #fff;
  backdrop-filter: blur(12px);
}

body[data-style="vista"] .hero-stamp span,
body[data-style="vista"] .hero-stamp small {
  color: #126091;
}

body[data-style="vista"] .button,
body[data-style="vista"] .style-option,
body[data-style="vista"] .filter-tab,
body[data-style="vista"] .search-box,
body[data-style="vista"] .sort-control,
body[data-style="vista"] .repo-tag,
body[data-style="vista"] .category-badge {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(110, 189, 220, 0.2));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.76), 0 4px 8px rgba(28, 100, 137, 0.24);
}

body[data-style="vista"] .button:hover,
body[data-style="vista"] .style-option:hover,
body[data-style="vista"] .filter-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 1px #fff, 0 7px 13px rgba(28, 100, 137, 0.3);
}

body[data-style="vista"] .button-primary {
  border-color: #075a91;
  background: linear-gradient(to bottom, #73c8f8 0%, #2d9edf 47%, #0b6fb8 52%, #4fb7ea 100%);
  color: #fff;
  text-shadow: 0 -1px 1px rgba(0, 45, 84, 0.82);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), inset 0 10px 15px rgba(255, 255, 255, 0.28), 0 5px 9px rgba(20, 76, 108, 0.3);
}

body[data-style="vista"] .button-primary:hover {
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.94), inset 0 10px 15px rgba(255, 255, 255, 0.34), 0 8px 14px rgba(20, 76, 108, 0.36);
}

body[data-style="vista"] .button-quiet {
  color: #14506e;
  text-shadow: 0 1px #fff;
}

body[data-style="vista"] .style-switcher {
  padding: 12px 15px;
}

body[data-style="vista"] .style-option.is-selected,
body[data-style="vista"] .filter-tab.is-active {
  border-color: #0a73be;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(87, 190, 226, 0.45) 47%, rgba(28, 122, 180, 0.42) 52%, rgba(255, 255, 255, 0.34));
  color: #075482;
  box-shadow: inset 0 1px #fff, inset 0 -4px 8px rgba(25, 104, 155, 0.2), 0 5px 10px rgba(28, 100, 137, 0.28);
}

body[data-style="vista"] .style-option small,
body[data-style="vista"] .filter-tab,
body[data-style="vista"] .search-box,
body[data-style="vista"] .sort-control {
  color: #245770;
}

body[data-style="vista"] .search-box input,
body[data-style="vista"] .sort-control select {
  color: #123956;
}

body[data-style="vista"] .sort-control select {
  border-left-color: rgba(255, 255, 255, 0.78);
}

body[data-style="vista"] .card-cover {
  border-radius: 15px 15px 0 0;
}

body[data-style="vista"] .card-cover-image {
  opacity: 0.86;
  filter: saturate(1.18) contrast(1.02);
}

body[data-style="vista"] .card-cover-shade {
  background: linear-gradient(180deg, rgba(12, 78, 110, 0.02) 12%, rgba(15, 78, 104, 0.67) 100%);
}

body[data-style="vista"] .category-badge {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(95, 190, 219, 0.22));
  color: #0a6b9f;
  box-shadow: inset 0 1px #fff, 0 2px 5px rgba(28, 100, 137, 0.22);
}

body[data-style="vista"] .repo-tag {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(95, 190, 219, 0.2));
  color: #2b6078;
}

body[data-style="vista"] .terminal-line {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(61, 143, 182, 0.28));
  color: #185273;
  box-shadow: inset 0 1px #fff, 0 4px 8px rgba(28, 100, 137, 0.2);
}

body[data-style="vista"] .terminal-prompt,
body[data-style="vista"] .terminal-cursor {
  color: #0a73be;
  background: #0a73be;
}

body[data-style="vista"] .terminal-cursor {
  border-radius: 2px;
  box-shadow: 0 0 10px #56c6ef;
}

body[data-style="vista"] .swatch-vista {
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(180deg, #dffaff 0%, #55c8ef 46%, #6fba78 52%, #257a68 100%);
  box-shadow: inset 0 1px #fff, 0 0 10px rgba(65, 180, 218, 0.52);
}

body[data-style="vista"] .footer-center {
  text-shadow: 0 1px #fff, 0 0 14px rgba(24, 126, 177, 0.34);
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero h1 {
    font-size: clamp(48px, 8vw, 78px);
  }

  .masonry-grid {
    column-count: 2;
  }

  .style-switcher {
    align-items: flex-start;
    flex-direction: column;
  }

  .style-options {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 30px, 600px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
    padding: 22px 0 15px;
  }

  body[data-style="win98"] .site-header {
    padding: 9px;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .nav-link.is-active::after {
    bottom: -8px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 68px 0 52px;
  }

  .hero-visual {
    width: calc(100% - 10px);
    margin: 12px 10px 0 0;
  }

  .signal-screen {
    min-height: 310px;
  }

  .hero-stamp {
    right: -4px;
  }

  .stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 0;
  }

  .stat-item {
    padding: 0 12px;
  }

  .stat-item:first-child {
    padding-left: 0;
  }

  .discoveries-section {
    padding: 46px 0 72px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .style-options {
    display: grid;
    grid-template-columns: 1fr;
  }

  .style-option {
    min-width: 0;
  }

  .feed-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .feed-controls {
    width: 100%;
  }

  .search-box {
    width: 100%;
  }

  .sort-control {
    flex: 0 0 auto;
  }

  .summary-tip {
    display: none;
  }

  .masonry-grid {
    column-count: 1;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    min-height: 105px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
