@keyframes wc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes wc-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes wc-scan-move { from { background-position: 0 0; } to { background-position: 0 4px; } }
@keyframes wc-flicker { 0%, 100% { opacity: 1; } 4% { opacity: 0.96; } 5% { opacity: 1; } 41% { opacity: 0.98; } 42% { opacity: 1; } 89% { opacity: 0.95; } 90% { opacity: 1; } }
@keyframes wc-radar { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes wc-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -8px, 0); } }
@keyframes wc-data-drift { from { background-position: 0 0; } to { background-position: 0 140px; } }
@keyframes threat-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes threat-dot { 0%, 100% { transform: scale(0.82); opacity: 0.55; } 50% { transform: scale(1.25); opacity: 1; } }
@keyframes packet-rise { 0%, 100% { transform: scaleY(0.3); opacity: 0.58; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes cover-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes eq-pop { 0%, 100% { transform: scaleY(0.22); } 50% { transform: scaleY(1); } }
@keyframes track-load { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes module-sweep { from { transform: translateY(-120%); } to { transform: translateY(420%); } }
@keyframes slot-glitch { 0%, 100% { border-color: rgba(52, 217, 255, 0.18); transform: translateY(0); } 48% { border-color: rgba(86, 255, 107, 0.5); transform: translateY(-1px); } 52% { border-color: rgba(255, 79, 184, 0.46); transform: translateY(1px); } }
@keyframes launcher-pop { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

:root {
  --bg: #0a0d12;
  --panel: #12161d;
  --panel2: #171d26;
  --line: rgba(148, 163, 184, 0.18);
  --line-strong: rgba(52, 217, 255, 0.55);
  --text: #eef2f6;
  --muted: #8b97a7;
  --accent: #34d9ff;
  --accent-dim: rgba(52, 217, 255, 0.14);
  --pink: #ff4fb8;
  --violet: #a48bff;
  --amber: #ffcb57;
  --ok: #56ff6b;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; background: var(--bg); }
body { font-family: 'Inter', sans-serif; color: var(--text); }
button, input, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wo7fi-os {
  position: relative; width: 100%; height: 100%; overflow: hidden; display: flex; flex-direction: column; user-select: auto;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 79, 184, 0.13), transparent 28%),
    radial-gradient(circle at 50% 72%, rgba(86, 255, 107, 0.075), transparent 35%),
    linear-gradient(115deg, rgba(164, 139, 255, 0.08), transparent 32%, rgba(255, 203, 87, 0.055) 68%, transparent),
    linear-gradient(rgba(52, 217, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 217, 255, 0.03) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, auto, 28px 28px, 28px 28px, auto;
  box-shadow: inset 0 0 130px rgba(0, 0, 0, 0.6), inset 0 0 46px rgba(52, 217, 255, 0.06);
  text-shadow: 0 0 1px rgba(52, 217, 255, 0.15);
  animation: wc-flicker 7s infinite;
}

.wo7fi-os::before {
  content: "";
  position: absolute;
  inset: 34px 0 46px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.28;
  background:
    repeating-linear-gradient(120deg, transparent 0 78px, rgba(52, 217, 255, 0.12) 79px, transparent 82px),
    repeating-linear-gradient(to bottom, rgba(86, 255, 107, 0.18) 0 1px, transparent 1px 18px);
  mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 72%, transparent 100%);
  animation: wc-data-drift 12s linear infinite;
}

[data-only="mobile"] { display: none; }
[data-only="desktop"] { display: flex; }
.accent { color: var(--accent); }
.dot { width: 6px; height: 6px; display: inline-block; border-radius: 999px; }
.dot-ok { background: var(--ok); }
.pulse { animation: wc-pulse 2s ease-in-out infinite; }

.menubar {
  flex-shrink: 0; align-items: center; justify-content: space-between; height: 34px; padding: 0 14px;
  background: rgba(10, 13, 18, 0.92); border-bottom: 1px solid var(--line); font-family: 'JetBrains Mono', monospace; font-size: 12px;
}
.menubar-left, .menubar-right { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.menubar-left strong { color: var(--text); }
.menubar-right { gap: 10px; }

.lang-switch {
  height: 22px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--panel2); border: 1px solid var(--line); border-radius: 6px; color: var(--muted);
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; cursor: pointer;
}
.lang-switch:hover { color: var(--accent); border-color: rgba(52, 217, 255, 0.5); }

.statusbar {
  flex-shrink: 0; align-items: center; justify-content: space-between; height: 38px; padding: 0 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--muted); border-bottom: 1px solid var(--line);
}
.statusbar strong { color: var(--text); }
.statusbar-right { display: flex; align-items: center; gap: 6px; }

.workspace { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.desktop-icons { position: absolute; left: 22px; top: 24px; flex-direction: column; gap: 26px; z-index: 1; }
.app-icon-btn {
  display: flex; flex-direction: column; align-items: center; gap: 6px; width: 76px; padding: 8px 4px;
  background: transparent; border: 0; color: var(--text); cursor: pointer;
}
.app-icon-btn:hover { background: rgba(255, 255, 255, 0.05); border-radius: 8px; }
.app-icon-glyph {
  width: 50px; height: 50px; display: grid; place-items: center; background: var(--panel); border: 1px solid; border-radius: 10px; font-size: 20px;
}
.app-icon-label {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; line-height: 1.3; text-align: center; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.desktop-hero {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 32px);
  padding: 60px clamp(24px, 4vw, 56px) 70px 132px;
  pointer-events: none;
}

.desktop-hero > * {
  pointer-events: auto;
}

.hero-ambient {
  position: absolute;
  pointer-events: none;
  filter: blur(38px);
  opacity: 0.34;
}

.hero-ambient-a {
  right: 12%;
  top: 14%;
  width: 320px;
  height: 180px;
  background: rgba(255, 79, 184, 0.58);
  transform: rotate(-18deg);
}

.hero-ambient-b {
  left: 34%;
  bottom: 14%;
  width: 420px;
  height: 140px;
  background: rgba(52, 217, 255, 0.38);
  transform: rotate(14deg);
}

.hero-terminal-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 760px;
  height: clamp(520px, 68vh, 700px);
  min-height: 0;
  border: 1px solid rgba(52, 217, 255, 0.45);
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(52, 217, 255, 0.12), transparent 28%),
    linear-gradient(160deg, rgba(9, 13, 20, 0.94), rgba(6, 9, 14, 0.82));
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 255, 255, 0.035) inset,
    0 0 44px rgba(52, 217, 255, 0.12);
}

.hero-terminal-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.38;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 79, 184, 0.18) 0 1px, transparent 1px),
    linear-gradient(rgba(86, 255, 107, 0.11) 0 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-terminal-panel::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(86, 255, 107, 0.75), rgba(52, 217, 255, 0.58), transparent);
}

.hero-terminal-top {
  position: relative;
  z-index: 1;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(52, 217, 255, 0.22);
  background: rgba(8, 11, 17, 0.78);
  font-family: 'JetBrains Mono', monospace;
  color: var(--muted);
  font-size: 11px;
}

.hero-window-dots {
  display: flex;
  gap: 7px;
}

.hero-window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.hero-window-dots span:nth-child(1) { background: #ff4f6a; }
.hero-window-dots span:nth-child(2) { background: #ffcb57; }
.hero-window-dots span:nth-child(3) { background: #56ff6b; }
.hero-terminal-path { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-terminal-state { color: var(--ok); display: inline-flex; align-items: center; gap: 7px; }

.hero-terminal-body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
}

.hero-code {
  margin: 0 0 13px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ok);
  text-transform: uppercase;
}

.hero-terminal-body h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--text);
  font-size: clamp(38px, 4.7vw, 64px);
  line-height: 1;
  font-weight: 800;
  overflow-wrap: normal;
}

.hero-copy {
  max-width: 590px;
  margin: 18px 0 0;
  color: #aeb8c7;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.7;
}

.hero-command {
  width: min(100%, 580px);
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 26px 0 0;
  padding: 0 14px;
  border: 1px solid rgba(86, 255, 107, 0.28);
  border-radius: 8px;
  background: rgba(3, 8, 10, 0.74);
  box-shadow: 0 0 24px rgba(86, 255, 107, 0.08) inset;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

.hero-prompt { color: var(--ok); flex-shrink: 0; }
.hero-typed { color: var(--text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-cursor { width: 9px; height: 18px; background: var(--accent); animation: wc-blink 1s steps(2, start) infinite; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.hero-side-stack {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  height: clamp(520px, 68vh, 700px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: wc-float 7s ease-in-out infinite;
}

.hero-signal-card,
.hero-matrix-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(12, 16, 24, 0.78);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.hero-signal-card {
  position: relative;
  min-height: 150px;
  padding: 18px;
  font-family: 'JetBrains Mono', monospace;
  overflow: hidden;
}

.hero-card-label {
  display: block;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.hero-card-topline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(10, 13, 18, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(238, 242, 246, 0.76);
  font-size: 9px;
  text-transform: uppercase;
}

.hero-live-pill i {
  font-size: 7px;
  color: var(--ok);
}

.hero-live-pill.is-static i { color: var(--muted); }
.hero-live-pill.is-error { border-color: rgba(255, 111, 176, 0.4); }
.hero-live-pill.is-error i { color: #ff6fb0; animation: none; }

.hero-signal-card strong {
  position: relative;
  z-index: 2;
  display: block;
  color: var(--text);
  font-size: 16px;
}

.hero-signal-card p {
  position: relative;
  z-index: 2;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.hero-threat-card {
  border-color: rgba(255, 79, 184, 0.4);
  background:
    radial-gradient(circle at 84% 36%, rgba(255, 79, 184, 0.24), transparent 32%),
    linear-gradient(150deg, rgba(35, 13, 34, 0.86), rgba(7, 12, 19, 0.78));
  box-shadow: 0 18px 44px rgba(0,0,0,0.34), 0 0 30px rgba(255,79,184,0.12);
}

.hero-threat-card .hero-card-label { color: var(--pink); }

.hero-now-playing-card {
  border-color: rgba(86, 255, 107, 0.34);
  background:
    radial-gradient(circle at 18% 44%, rgba(86, 255, 107, 0.16), transparent 36%),
    linear-gradient(150deg, rgba(12, 33, 25, 0.88), rgba(7, 12, 19, 0.8));
  box-shadow: 0 18px 44px rgba(0,0,0,0.34), 0 0 30px rgba(86,255,107,0.1);
}

.hero-now-playing-card .hero-card-label { color: var(--ok); }

.threat-orbit {
  position: absolute;
  right: 13px;
  top: 34px;
  width: 86px;
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid rgba(255, 79, 184, 0.22);
  background:
    radial-gradient(circle, rgba(52, 217, 255, 0.24) 0 3px, transparent 4px),
    conic-gradient(from 90deg, rgba(255, 79, 184, 0.5), transparent 28%, rgba(52, 217, 255, 0.42), transparent 62%, rgba(86, 255, 107, 0.38));
  opacity: 0.7;
  animation: threat-spin 9s linear infinite;
}

.threat-orbit::before,
.threat-orbit::after {
  content: "";
  position: absolute;
  inset: 17px;
  border-radius: inherit;
  border: 1px dashed rgba(52, 217, 255, 0.32);
}

.threat-orbit span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--pink);
  box-shadow: 0 0 15px rgba(255, 79, 184, 0.86);
  animation: threat-dot 1.8s ease-in-out infinite;
}

.threat-orbit span:nth-child(1) { left: 48%; top: -3px; }
.threat-orbit span:nth-child(2) { right: 5px; top: 56%; background: var(--accent); animation-delay: 0.28s; }
.threat-orbit span:nth-child(3) { left: 18px; bottom: 6px; background: var(--ok); animation-delay: 0.56s; }
.threat-orbit span:nth-child(4) { left: 4px; top: 34%; background: var(--amber); animation-delay: 0.84s; }

.packet-bars {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  gap: 4px;
  height: 24px;
  margin-top: 12px;
}

.packet-bars i {
  width: 100%;
  height: 100%;
  transform-origin: bottom;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, var(--pink), rgba(52, 217, 255, 0.34));
  animation: packet-rise 1.2s ease-in-out infinite;
}

.packet-bars i:nth-child(2) { animation-delay: 0.12s; }
.packet-bars i:nth-child(3) { animation-delay: 0.24s; }
.packet-bars i:nth-child(4) { animation-delay: 0.36s; }
.packet-bars i:nth-child(5) { animation-delay: 0.48s; }

.now-playing {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.album-cover {
  position: relative;
  width: 74px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 52%, rgba(255, 203, 87, 0.9) 0 5px, transparent 6px),
    conic-gradient(from 210deg, #0b1017, #263d45, #d9a742, #f6df84, #1b2a38, #0b1017);
  border: 1px solid rgba(255, 203, 87, 0.52);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35), 0 0 24px rgba(255, 203, 87, 0.14);
}

.album-cover::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: rotate(45deg);
}

.album-ring {
  position: absolute;
  inset: 12px;
  border-radius: 999px;
  border: 2px solid rgba(10, 13, 18, 0.72);
  border-top-color: rgba(255, 255, 255, 0.82);
  animation: cover-spin 5s linear infinite;
}

.album-crown {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(10, 13, 18, 0.72);
  color: #ffdf75;
  box-shadow: 0 0 18px rgba(255, 203, 87, 0.36);
}

.track-meta { min-width: 0; }
.track-meta strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-meta p { margin-top: 4px; color: #b8ffd0; }

.equalizer {
  display: flex;
  align-items: end;
  gap: 3px;
  height: 24px;
  margin-top: 9px;
}

.equalizer i {
  width: 5px;
  height: 100%;
  transform-origin: bottom;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--ok), var(--accent));
  animation: eq-pop 0.9s ease-in-out infinite;
}

.equalizer i:nth-child(2) { animation-delay: 0.12s; }
.equalizer i:nth-child(3) { animation-delay: 0.24s; }
.equalizer i:nth-child(4) { animation-delay: 0.36s; }
.equalizer i:nth-child(5) { animation-delay: 0.18s; }
.equalizer i:nth-child(6) { animation-delay: 0.3s; }

.track-progress {
  position: relative;
  z-index: 2;
  height: 5px;
  margin-top: 13px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(86, 255, 107, 0.11);
}

.track-progress span {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ok), var(--accent));
  box-shadow: 0 0 13px rgba(86, 255, 107, 0.45);
  animation: track-load 14s linear infinite alternate;
}

.hero-matrix-card {
  position: relative;
  min-height: 150px;
  padding: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  overflow: hidden;
}

.matrix-header,
.matrix-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.matrix-header {
  position: relative;
  z-index: 2;
  padding-bottom: 9px;
  color: var(--amber);
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
  font-weight: 800;
}

.hero-loadout-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-color: rgba(255, 203, 87, 0.34);
  background:
    radial-gradient(circle at 74% 20%, rgba(255, 203, 87, 0.16), transparent 34%),
    linear-gradient(150deg, rgba(31, 25, 11, 0.86), rgba(7, 12, 19, 0.8));
}

.loadout-grid {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 11px;
}

.loadout-slot {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 12px;
  border: 1px solid rgba(52, 217, 255, 0.18);
  border-radius: 8px;
  background: rgba(10, 13, 18, 0.48);
  color: var(--muted);
  font-size: 12px;
  animation: slot-glitch 3.6s ease-in-out infinite;
}

.loadout-slot:nth-child(2) { animation-delay: 0.35s; }
.loadout-slot:nth-child(3) { animation-delay: 0.7s; }
.loadout-slot:nth-child(4) { animation-delay: 1.05s; }

.loadout-slot i {
  flex-shrink: 0;
  color: var(--amber);
  font-size: 15px;
  filter: drop-shadow(0 0 9px rgba(255, 203, 87, 0.36));
}

.loadout-slot span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.module-scanline {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 0;
  height: 48px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(86, 255, 107, 0.18), transparent);
  animation: module-sweep 3.2s linear infinite;
}

.matrix-row:last-child { border-bottom: 0; }
.matrix-row i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 14px rgba(86, 255, 107, 0.7);
}

.hero-radar {
  position: absolute;
  right: clamp(18px, 3vw, 46px);
  bottom: clamp(20px, 5vw, 58px);
  width: clamp(130px, 15vw, 190px);
  aspect-ratio: 1;
  border: 1px solid rgba(52, 217, 255, 0.22);
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.8;
  background:
    radial-gradient(circle, transparent 0 24%, rgba(52, 217, 255, 0.1) 24.5% 25.5%, transparent 26% 48%, rgba(52, 217, 255, 0.09) 49% 50%, transparent 51%),
    linear-gradient(90deg, transparent 49.5%, rgba(52,217,255,0.25) 50%, transparent 50.5%),
    linear-gradient(transparent 49.5%, rgba(52,217,255,0.25) 50%, transparent 50.5%);
}

.hero-radar::before {
  content: "";
  position: absolute;
  inset: 50% 50% 0 50%;
  width: 50%;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(86, 255, 107, 0.85), transparent);
  animation: wc-radar 4s linear infinite;
}

.hero-radar span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--pink);
  box-shadow: 0 0 16px rgba(255, 79, 184, 0.78);
}

.hero-radar span:nth-child(1) { left: 38%; top: 28%; }
.hero-radar span:nth-child(2) { right: 24%; top: 56%; background: var(--ok); }
.hero-radar span:nth-child(3) { left: 55%; bottom: 22%; background: var(--amber); }

.overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(4, 7, 11, 0.7); backdrop-filter: blur(6px); }
.overlay[hidden] { display: none; }
.launcher-overlay {
  z-index: 60; align-items: flex-end; justify-content: flex-start; padding: 0 0 58px 12px;
  background: linear-gradient(90deg, rgba(4, 7, 11, 0.42), rgba(4, 7, 11, 0.08) 46%, transparent);
  backdrop-filter: blur(2px);
}
.launcher-panel {
  width: min(390px, calc(100vw - 24px)); max-height: min(620px, calc(100vh - 92px));
  display: flex; flex-direction: column; gap: 12px; padding: 14px; background: rgba(10, 13, 18, 0.96);
  border: 1px solid rgba(52, 217, 255, 0.22); border-radius: 10px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.54), 0 0 0 1px rgba(86, 255, 107, 0.06) inset;
  animation: launcher-pop 150ms ease-out;
}
.launcher-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 4px 8px; border-bottom: 1px solid rgba(148, 163, 184, 0.12); }
.launcher-brand { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-family: 'JetBrains Mono', monospace; }
.launcher-brand strong { color: var(--text); font-size: 14px; }
.launcher-brand span { color: var(--muted); font-size: 11px; }
.launcher-status { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; color: var(--ok); font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.launcher-search {
  display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 0 11px; background: var(--panel2);
  border: 1px solid var(--line); border-radius: 8px; color: var(--muted);
}
.launcher-search:focus-within { border-color: rgba(52, 217, 255, 0.72); box-shadow: 0 0 0 3px rgba(52, 217, 255, 0.1); color: var(--accent); }
.launcher-search input {
  width: 100%; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--text);
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
}
.launcher-grid { display: grid; gap: 6px; overflow-y: auto; padding-right: 2px; }
.launcher-app-btn {
  display: flex; align-items: center; gap: 11px; width: 100%; min-height: 58px; padding: 8px 10px;
  background: transparent; border: 1px solid transparent; border-radius: 8px; color: var(--text); cursor: pointer; text-align: left;
}
.launcher-app-btn:hover { background: rgba(23, 29, 38, 0.92); border-color: var(--line); transform: translateX(2px); }
.launcher-app-glyph {
  flex-shrink: 0; width: 38px; height: 38px; display: grid; place-items: center; background: var(--panel2); border: 1px solid; border-radius: 8px; font-size: 16px;
}
.launcher-app-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.launcher-app-label { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; color: var(--text); }
.launcher-app-desc { color: var(--muted); font-family: 'Inter', sans-serif; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.launcher-empty {
  min-height: 150px; display: grid; place-items: center; gap: 5px; align-content: center; color: var(--muted);
  font-family: 'JetBrains Mono', monospace; text-align: center; border: 1px dashed var(--line); border-radius: 8px;
}
.launcher-empty i { color: var(--accent); font-size: 20px; }
.launcher-empty strong { color: var(--text); font-size: 12px; }
.launcher-empty span { font-size: 11px; }
.launcher-footer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.launcher-quick-btn {
  height: 36px; display: grid; place-items: center; background: var(--panel2); border: 1px solid var(--line); border-radius: 8px;
  color: var(--muted); cursor: pointer; font-size: 14px;
}
.launcher-quick-btn:hover { color: var(--accent); border-color: rgba(52, 217, 255, 0.5); background: rgba(52, 217, 255, 0.08); }
.launcher-quick-danger { color: #ff6fb0; }
.launcher-quick-danger:hover { color: #ff6fb0; border-color: rgba(255, 111, 176, 0.55); background: rgba(255, 111, 176, 0.12); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 0 14px;
  border-radius: 8px; font-family: 'JetBrains Mono', monospace; font-size: 12px; cursor: pointer;
}
.btn-ghost { background: var(--panel2); border: 1px solid var(--line); color: var(--text); }
.btn-danger { background: rgba(255, 111, 176, 0.12); border: 1px solid rgba(255, 111, 176, 0.4); color: #ff6fb0; }
.btn-danger-solid { background: #ff6fb0; border: 1px solid #ff6fb0; color: #180812; }
.btn-primary { background: var(--accent); border: 1px solid var(--accent); color: #04141a; font-weight: 700; }

.mobile-home { position: absolute; inset: 0; width: 100%; min-width: 0; max-width: 100%; overflow: hidden; flex-direction: column; }
.mobile-home.app-active { display: none; }
.mobile-grid { width: 100%; min-width: 0; flex-shrink: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; align-content: start; justify-items: center; padding: 28px 24px 8px; }
.mobile-app-btn { min-width: 0; width: 100%; max-width: 132px; display: flex; flex-direction: column; align-items: center; gap: 9px; background: transparent; border: 0; color: var(--text); cursor: pointer; }
.mobile-app-glyph {
  width: 58px; height: 58px; display: grid; place-items: center; background: var(--panel); border: 1px solid; border-radius: 16px; font-size: 22px;
}
.mobile-app-label { max-width: 100%; overflow-wrap: anywhere; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; line-height: 1.25; text-align: center; }

.mobile-status-card {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  margin: 16px 20px;
  padding: 22px;
  border: 1px solid rgba(52, 217, 255, 0.32);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(52, 217, 255, 0.1), transparent 32%),
    linear-gradient(160deg, rgba(9, 13, 20, 0.92), rgba(6, 9, 14, 0.82));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.mobile-status-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
}

.mobile-status-line {
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text);
}

.mobile-status-tagline {
  margin: 0;
  font-size: clamp(22px, 6vw, 28px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--text);
  overflow-wrap: anywhere;
}

.mobile-status-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mobile-status-chip {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--muted);
}

.mobile-status-btn { align-self: flex-start; margin-top: 4px; }

.mobile-dock { width: 100%; min-width: 0; flex-shrink: 0; display: flex; justify-content: center; gap: 18px; padding: 14px 20px 20px; }
.mobile-dock-btn { width: 52px; height: 52px; display: grid; place-items: center; background: var(--panel2); border: 1px solid; border-radius: 14px; font-size: 19px; cursor: pointer; }

#windowsLayer { position: absolute; inset: 0; pointer-events: none; }
.win {
  position: absolute; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line-strong);
  border-radius: 10px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); overflow: hidden; pointer-events: auto;
}
.win.win-mobile { position: absolute; inset: 0; border-radius: 0; box-shadow: none; z-index: 50; }

.win-titlebar {
  flex-shrink: 0; touch-action: none; display: flex; align-items: center; justify-content: space-between;
  height: 38px; padding: 0 10px 0 14px; background: var(--panel2); border-bottom: 1px solid var(--line);
  border-top: 3px solid; cursor: grab;
}
.win-titlebar.dragging { cursor: grabbing; }
.win-titlebar-label { font-family: 'JetBrains Mono', monospace; font-size: 12px; display: flex; align-items: center; gap: 8px; pointer-events: none; }
.win-titlebar-actions { display: flex; gap: 4px; }
.icon-btn {
  width: 24px; height: 24px; display: grid; place-items: center; background: transparent;
  border: 1px solid var(--line); border-radius: 5px; color: var(--muted); cursor: pointer;
}

.win-mobile-header {
  flex-shrink: 0; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px;
  background: var(--panel2); border-bottom: 1px solid var(--line); border-top: 3px solid;
}
.win-mobile-back { width: 30px; height: 30px; display: grid; place-items: center; background: transparent; border: 0; font-size: 16px; cursor: pointer; }
.win-mobile-title { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--text); }
.win-body { flex: 1; min-height: 0; overflow-y: auto; }
.win-resize-handle { position: absolute; right: 0; bottom: 0; width: 22px; height: 22px; cursor: nwse-resize; touch-action: none; opacity: 0.85; }

.terminal-wrap { display: flex; flex-direction: column; height: 100%; }
.terminal-lines { flex: 1; overflow-y: auto; padding: 14px 16px; font-family: 'JetBrains Mono', monospace; font-size: 12.5px; line-height: 1.6; }
.terminal-line-cmd { margin: 0 0 5px; color: var(--muted); }
.terminal-line-cmd .prompt { color: var(--ok); }
.terminal-line-output { margin: 0 0 9px; color: var(--text); white-space: pre-wrap; }
.terminal-form { flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--panel2); }
.terminal-prompt { color: var(--ok); font-family: 'JetBrains Mono', monospace; font-size: 12.5px; }
.terminal-input { flex: 1; background: transparent; border: 0; outline: 0; color: var(--text); font-family: 'JetBrains Mono', monospace; font-size: 12.5px; }

.identity-body {
  --identity-accent: #22d3ee;
  position: relative; padding: 18px; display: flex; flex-direction: column; gap: 14px;
  font-family: 'JetBrains Mono', monospace; color: var(--muted);
  background: repeating-linear-gradient(0deg, rgba(34, 211, 238, 0.025) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 8% 0%, rgba(34, 211, 238, 0.09), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(167, 139, 250, 0.06), transparent 32%);
}
.win-body:has(.identity-body) { scrollbar-width: thin; scrollbar-color: rgba(34, 211, 238, 0.35) transparent; }
.win-body:has(.identity-body)::-webkit-scrollbar { width: 6px; }
.win-body:has(.identity-body)::-webkit-scrollbar-track { background: transparent; }
.win-body:has(.identity-body)::-webkit-scrollbar-thumb { background: rgba(34, 211, 238, 0.35); border-radius: 10px; }
.win-body:has(.identity-body)::-webkit-scrollbar-thumb:hover { background: rgba(34, 211, 238, 0.55); }
.identity-hero { position: relative; display: grid; grid-template-columns: 184px minmax(0, 1fr); gap: 20px; padding: 16px; border: 1px solid rgba(34, 211, 238, 0.34); border-radius: 14px; background: linear-gradient(150deg, rgba(23, 29, 38, 0.96), rgba(10, 13, 18, 0.88)); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34); overflow: hidden; }
.identity-hero::after { content: ""; position: absolute; inset: auto 18px 0 210px; height: 1px; background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.7), transparent); }
.identity-photo-frame { position: relative; min-height: 246px; aspect-ratio: 3 / 4; border-radius: 14px; padding: 6px; background: linear-gradient(145deg, rgba(34, 211, 238, 0.75), rgba(167, 139, 250, 0.3), rgba(86, 255, 107, 0.24)); box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.3), 0 16px 34px rgba(0, 0, 0, 0.45); overflow: hidden; }
.identity-photo { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 46%; border-radius: 10px; filter: saturate(0.92) contrast(1.06) brightness(0.94); }
.identity-photo-scan { position: absolute; inset: 6px; border-radius: 10px; pointer-events: none; background: repeating-linear-gradient(to bottom, rgba(10, 13, 18, 0.14), rgba(10, 13, 18, 0.14) 1px, transparent 2px, transparent 5px); mix-blend-mode: overlay; }
.identity-photo-frame::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; background: linear-gradient(90deg, transparent, var(--identity-accent), transparent); animation: pfScan 3s linear infinite; z-index: 1; }
.identity-photo-label { position: absolute; left: 14px; bottom: 13px; padding: 4px 8px; border-radius: 999px; background: rgba(10, 13, 18, 0.78); border: 1px solid rgba(34, 211, 238, 0.42); color: var(--identity-accent); font-size: 10px; }
.identity-hero-main { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.identity-kicker { margin: 0 0 5px; color: var(--identity-accent); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.identity-hero h2 { margin: 0; color: var(--text); font-family: 'Inter', sans-serif; font-size: clamp(25px, 4vw, 42px); line-height: 1.05; font-weight: 800; }
.identity-hero h2 span { color: var(--identity-accent); font-family: 'JetBrains Mono', monospace; font-size: 0.72em; }
.about-cursor { display: inline-block; width: 8px; height: 25px; margin-left: 8px; background: var(--identity-accent); vertical-align: -3px; animation: wc-blink 1s steps(2, start) infinite; }
.identity-role { margin: 8px 0 10px; color: #67e8f9; font-size: 14px; font-weight: 700; }
.identity-meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.identity-meta-row span { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(10, 13, 18, 0.42); color: var(--muted); font-size: 10.5px; }
.identity-meta-row i { color: var(--identity-accent); font-size: 9px; }
.identity-chip-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.identity-chip { padding: 5px 9px; border-radius: 8px; color: #a5f3fc; background: rgba(34, 211, 238, 0.12); border: 1px solid rgba(34, 211, 238, 0.28); font-size: 10.5px; }
.identity-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.identity-stack { display: flex; flex-direction: column; gap: 12px; }
.identity-panel { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(18, 22, 29, 0.78); box-shadow: inset 0 1px 0 rgba(255,255,255,0.035); }
.identity-section-title { margin: 0 0 12px; color: var(--text); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.identity-section-title span { color: var(--identity-accent); margin-right: 6px; }

.identity-timeline { position: relative; display: flex; flex-direction: column; gap: 14px; }
.identity-timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--identity-accent), rgba(167, 139, 250, 0.18)); }
.identity-timeline-item { position: relative; padding: 0 0 0 26px; opacity: 0; animation: pfFadeUp 0.4s ease forwards; animation-delay: calc(var(--stagger, 0) * 70ms); }
.identity-node { position: absolute; left: 2px; top: 4px; width: 11px; height: 11px; border-radius: 999px; background: var(--identity-accent); box-shadow: 0 0 15px rgba(34, 211, 238, 0.55); z-index: 1; }
.identity-node-ping { position: absolute; inset: 0; border-radius: 999px; border: 1px solid var(--identity-accent); animation: pfPing 2.2s ease-out infinite; }
.identity-timeline-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.identity-period { margin: 0 0 3px; color: var(--identity-accent); font-size: 10.5px; font-weight: 800; }
.identity-timeline-item h3 { margin: 0 0 4px; color: var(--text); font-size: 13px; line-height: 1.25; }
.identity-timeline-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 6px; }
.identity-place { color: #67e8f9; font-size: 10.5px; }
.identity-type-badge { padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.identity-text { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; max-width: 60ch; }

.identity-skill-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.identity-skill-card {
  position: relative; min-width: 0; padding: 12px 12px 8px 14px; border-radius: 8px;
  border: 1px solid var(--line); border-left: 2px solid var(--card-color, var(--identity-accent));
  background: linear-gradient(90deg, color-mix(in srgb, var(--card-color, var(--identity-accent)) 8%, transparent), rgba(10, 13, 18, 0.4) 45%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.identity-skill-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px color-mix(in srgb, var(--card-color, var(--identity-accent)) 20%, transparent); border-color: color-mix(in srgb, var(--card-color, var(--identity-accent)) 55%, var(--line)); }
.identity-skill-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.identity-skill-card-head strong { display: flex; align-items: center; gap: 6px; color: var(--card-color, var(--identity-accent)); font-size: 10.5px; font-weight: 800; letter-spacing: 0.05em; }
.identity-skill-glyph { font-size: 11px; }
.identity-skill-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--card-color, var(--identity-accent)); box-shadow: 0 0 6px var(--card-color, var(--identity-accent)); animation: wc-pulse 2s ease-in-out infinite; }
.identity-skill-items { display: flex; flex-direction: column; }
.identity-skill-row { padding: 6px 0; border-top: 1px dashed var(--line); }
.identity-skill-row:first-child { border-top: 0; }
.identity-skill-row-main { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.identity-skill-arrow { color: var(--card-color, var(--identity-accent)); font-size: 10px; flex-shrink: 0; }
.identity-skill-name { color: var(--text); font-size: 11.5px; font-weight: 600; }
.identity-skill-note { color: var(--muted); font-size: 9.5px; }
.identity-skill-children { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0 0 16px; }
.identity-skill-child {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--card-color, var(--identity-accent)) 30%, transparent);
  background: color-mix(in srgb, var(--card-color, var(--identity-accent)) 6%, transparent);
  color: var(--muted); font-size: 9.5px;
}

.identity-footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.identity-footer-card {
  padding: 12px 10px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--card-color, var(--identity-accent)) 32%, transparent);
  background: color-mix(in srgb, var(--card-color, var(--identity-accent)) 8%, rgba(18, 22, 29, 0.8));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.identity-footer-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35); }
.identity-footer-card strong { display: block; color: var(--card-color, var(--identity-accent)); font-size: 15px; line-height: 1; }
.identity-footer-card span { display: block; margin-top: 5px; color: var(--muted); font-size: 9.5px; }
@keyframes pfPing { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes pfScan { 0% { transform: translateY(-100%); opacity: 0; } 10%, 90% { opacity: 1; } 100% { transform: translateY(2200%); opacity: 0; } }

.contact-body.contact-body { padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.contact-to { margin: 0; font-family: 'JetBrains Mono', monospace; color: var(--muted); font-size: 12.5px; }
.contact-to span { color: var(--text); }
.contact-desc { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-mail-btn, .contact-copy-btn {
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 8px; font-weight: 700; font-size: 13px;
}
.contact-mail-btn { background: var(--accent); color: #04141a; }
.contact-copy-btn { background: transparent; color: var(--text); border: 1px solid var(--line); cursor: pointer; }
.contact-or { margin: 6px 0 0; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; }
.contact-form { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.contact-field { display: flex; flex-direction: column; gap: 5px; font-size: 11.5px; color: var(--muted); }
.contact-field input, .contact-field textarea {
  padding: 9px 11px; background: rgba(10, 13, 18, 0.5); border: 1px solid var(--line); border-radius: 8px;
  color: var(--text); font-family: 'Inter', sans-serif; font-size: 13px; resize: vertical; outline: 0;
}
.contact-field input:focus, .contact-field textarea:focus { border-color: rgba(255, 111, 176, 0.6); box-shadow: 0 0 0 3px rgba(255, 111, 176, 0.12); }
.contact-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.contact-form-submit { align-self: flex-start; }
.contact-form-submit:disabled { opacity: 0.6; cursor: default; }
.contact-form-status { margin: 0; font-size: 12px; }
.contact-form-status.is-ok { color: var(--ok); }
.contact-form-status.is-error { color: #ff6fb0; }

.projects-body { padding: 14px 16px; font-family: 'JetBrains Mono', monospace; font-size: 12.5px; }
.projects-path { margin: 0 0 12px; color: var(--muted); }
.projects-list { display: flex; flex-direction: column; gap: 4px; }
.projects-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 7px; }
.projects-row:hover { background: var(--panel2); }
.projects-row i { color: var(--accent); font-size: 14px; }
.projects-row .name { flex: 1; color: var(--text); }
.projects-badge { padding: 2px 9px; border-radius: 999px; background: rgba(255, 203, 87, 0.16); color: #ffcb57; font-size: 10px; font-weight: 700; }

.socials-body { display: flex; flex-direction: column; gap: 14px; padding: 16px; background: radial-gradient(circle at 12% 0%, rgba(164, 139, 255, 0.12), transparent 36%), radial-gradient(circle at 88% 6%, rgba(52, 217, 255, 0.08), transparent 35%); }
.socials-command { font-family: 'JetBrains Mono', monospace; }
.social-command-hero { position: relative; display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 14px; padding: 15px; overflow: hidden; border: 1px solid rgba(164, 139, 255, 0.32); border-radius: 14px; background: linear-gradient(145deg, rgba(23, 29, 38, 0.95), rgba(10, 13, 18, 0.78)); box-shadow: 0 12px 28px rgba(0,0,0,0.32); }
.social-map { position: absolute; inset: 0; opacity: 0.38; pointer-events: none; background: linear-gradient(115deg, transparent 18%, rgba(164,139,255,0.18) 18.2%, transparent 18.7%), linear-gradient(35deg, transparent 45%, rgba(52,217,255,0.14) 45.2%, transparent 45.7%); }
.social-map span { position: absolute; width: 7px; height: 7px; border-radius: 999px; background: #a48bff; box-shadow: 0 0 16px rgba(164,139,255,0.8); }
.social-map span:nth-child(1) { left: 16%; top: 26%; }
.social-map span:nth-child(2) { right: 19%; top: 22%; background: #34d9ff; }
.social-map span:nth-child(3) { left: 58%; bottom: 22%; background: #56ff6b; }
.social-map span:nth-child(4) { right: 8%; bottom: 16%; }
.social-avatar { flex-shrink: 0; width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(140deg, #a48bff, #34d9ff); color: #0a0d12; font-weight: 800; font-size: 16px; font-family: 'JetBrains Mono', monospace; box-shadow: 0 6px 18px rgba(164, 139, 255, 0.35); }
.social-avatar-photo { position: relative; overflow: hidden; border: 1px solid rgba(164,139,255,0.52); background: rgba(10,13,18,0.7); }
.social-avatar-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; transform: scale(1.9); filter: saturate(0.94) contrast(1.06) brightness(0.94); }
.social-avatar-photo::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, rgba(10,13,18,0.16), rgba(10,13,18,0.16) 1px, transparent 2px, transparent 5px); }
.social-command-info { position: relative; min-width: 0; }
.social-command-topline { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.social-handle { margin: 0 0 3px; color: #a48bff; font-size: 11px; font-weight: 800; }
.social-command-info h2 { margin: 0; color: var(--text); font-family: 'Inter', sans-serif; font-size: 21px; line-height: 1.1; }
.social-live { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 9px; border-radius: 999px; background: rgba(86, 255, 107, 0.12); border: 1px solid rgba(86, 255, 107, 0.24); color: #56ff6b; font-size: 10px; white-space: nowrap; }
.social-live i { font-size: 6px; }
.social-tagline { margin: 6px 0 12px; color: var(--accent); font-size: 11.5px; }
.social-profile-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-btn { height: 30px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 11px; background: rgba(10,13,18,0.52); border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-size: 10.5px; cursor: pointer; }
.pill-btn:hover { border-color: rgba(164,139,255,0.75); color: #dcd3ff; box-shadow: 0 0 18px rgba(164,139,255,0.12); }
.social-copy-msg { margin: 8px 0 0; font-size: 10.5px; color: var(--ok); }
.social-search-wrap { position: relative; }
.social-search-wrap i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 11px; pointer-events: none; }
.social-search-input { width: 100%; height: 34px; padding: 0 12px 0 32px; background: rgba(10, 13, 18, 0.5); border: 1px solid var(--line); border-radius: 10px; color: var(--text); font-family: 'JetBrains Mono', monospace; font-size: 11px; outline: 0; }
.social-search-input:focus { border-color: rgba(164,139,255,0.72); box-shadow: 0 0 0 3px rgba(164,139,255,0.12); }
.social-search-compact { max-width: 420px; }
.social-section-label { margin: 0 0 9px; font-size: 10px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.social-featured-rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.social-featured-card, .social-channel-row { font-family: inherit; text-align: left; cursor: pointer; width: 100%; appearance: none; }
.social-featured-card { display: grid; grid-template-columns: 36px minmax(0, 1fr) 14px; align-items: center; gap: 10px; min-height: 76px; padding: 11px; background: linear-gradient(160deg, rgba(23,29,38,0.92), rgba(10,13,18,0.64)); border: 1px solid var(--line); border-radius: 12px; color: var(--text); box-shadow: inset 0 1px 0 rgba(255,255,255,0.035); transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.social-featured-card:hover { transform: translateY(-2px); border-color: rgba(52,217,255,0.58); box-shadow: 0 12px 22px rgba(0,0,0,0.28), 0 0 22px rgba(52,217,255,0.08); }
.social-featured-card.is-pending { opacity: 0.74; }
.social-icon-badge { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; font-size: 14px; }
.social-featured-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.social-featured-copy strong { color: var(--text); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.social-featured-copy small { color: var(--muted); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.social-featured-copy em { color: rgba(238,242,246,0.72); font-size: 10px; font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.social-featured-card > i { color: var(--muted); font-size: 10px; }
.social-channel-stack { display: flex; flex-direction: column; gap: 12px; }
.social-group-label { display: flex; align-items: center; gap: 7px; color: var(--muted); }
.social-group-label span { width: 7px; height: 7px; border-radius: 999px; background: var(--group-accent); box-shadow: 0 0 13px var(--group-accent); }
.social-channel-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 8px; }
.social-channel-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 50px; padding: 9px 10px; background: rgba(23,29,38,0.76); border: 1px solid var(--line); border-radius: 11px; color: var(--text); transition: border-color 160ms ease, transform 160ms ease, background 160ms ease; }
.social-channel-row:hover { transform: translateY(-1px); border-color: rgba(164,139,255,0.64); background: rgba(23,29,38,0.96); }
.social-channel-row.is-pending { opacity: 0.78; }
.social-item-glyph { width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center; border-radius: 9px; font-size: 13px; }
.social-channel-copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.social-channel-copy strong { min-width: 0; font-size: 11.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.social-channel-copy small { min-width: 0; color: var(--muted); font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.social-item-status { flex-shrink: 0; padding: 3px 8px; border-radius: 999px; font-size: 9px; font-weight: 800; }
.social-empty { display: grid; place-items: center; gap: 7px; min-height: 150px; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; background: rgba(10,13,18,0.34); text-align: center; }
.social-empty i { color: #a48bff; font-size: 20px; }
.social-empty strong { color: var(--text); }
.social-empty span { font-size: 11px; }
.social-footer { margin: 0; display: flex; align-items: center; gap: 7px; padding-top: 11px; border-top: 1px solid var(--line); font-size: 10px; color: var(--muted); }

.deploy-body.deploy-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; font-family: 'JetBrains Mono', monospace; }
.deploy-hero { display: flex; gap: 14px; padding: 16px; background: linear-gradient(150deg, rgba(255, 143, 87, 0.16), rgba(18, 22, 29, 0.92)); border: 1px solid rgba(255, 143, 87, 0.35); border-radius: 12px; }
.deploy-icon { flex-shrink: 0; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 143, 87, 0.16); color: #ff8f57; box-shadow: 0 0 0 1px rgba(255, 143, 87, 0.45) inset; }
.deploy-kicker { margin: 0 0 5px; color: #ff8f57; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; }
.deploy-hero h2 { margin: 0 0 8px; font-size: 18px; line-height: 1.25; font-family: 'Inter', sans-serif; }
.deploy-hero p:last-child { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.deploy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.deploy-card { display: flex; flex-direction: column; gap: 7px; padding: 13px; background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; }
.deploy-card strong { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 12px; }
.deploy-card strong i { color: #ff8f57; }
.deploy-card span { color: var(--muted); font-size: 11px; line-height: 1.5; }
.deploy-card code { color: var(--accent); }
.deploy-checklist { padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: rgba(10, 13, 18, 0.38); }
.deploy-section-title { margin: 0 0 10px; color: var(--text); font-size: 11px; font-weight: 700; }
.deploy-check { display: flex; align-items: flex-start; gap: 9px; margin: 8px 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.deploy-check input { width: 13px; height: 13px; margin: 1px 0 0; accent-color: #ff8f57; }
.deploy-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.deploy-config { margin: 0; padding: 12px 13px; overflow-x: auto; color: var(--text); background: #080b10; border: 1px solid var(--line); border-radius: 10px; font-size: 11px; line-height: 1.6; }

.welcome-overlay { z-index: 70; }
.welcome-card { width: min(440px, calc(100% - 28px)); background: var(--panel); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5); overflow: hidden; }
.welcome-titlebar { display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 14px; background: var(--panel2); border-bottom: 1px solid var(--line); }
.welcome-titlebar strong { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--accent); }
.welcome-body { padding: 22px 24px; }
.welcome-eyebrow { margin: 0 0 6px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); }
.welcome-body h2 { margin: 0 0 12px; font-size: 19px; font-weight: 800; }
.welcome-text { margin: 0 0 20px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.welcome-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.welcome-actions .btn { flex: none; }

.shutdown-overlay { z-index: 90; }
.shutdown-card { width: min(360px, calc(100% - 28px)); background: var(--panel); border: 1px solid rgba(255, 111, 176, 0.5); border-radius: 12px; padding: 22px; text-align: center; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5); }
.shutdown-icon { font-size: 22px; color: #ff6fb0; margin-bottom: 12px; }
.shutdown-text { margin: 0 0 18px; font-size: 14px; font-weight: 600; }
.shutdown-actions { display: flex; gap: 8px; justify-content: center; }
.shutdown-actions .btn { flex: none; height: 38px; padding: 0 16px; font-size: 12.5px; }

.pinterest-overlay { z-index: 95; padding: 20px; }
.pinterest-window {
  width: min(920px, calc(100% - 8px)); max-height: min(90vh, 860px); overflow-y: auto; overflow-x: hidden;
  background: #0c0f14; border: 1px solid rgba(230, 0, 35, 0.35); border-radius: 14px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55); scrollbar-width: thin; scrollbar-color: rgba(230, 0, 35, 0.35) transparent;
}
.pinterest-window::-webkit-scrollbar { width: 6px; }
.pinterest-window::-webkit-scrollbar-track { background: transparent; }
.pinterest-window::-webkit-scrollbar-thumb { background: rgba(230, 0, 35, 0.35); border-radius: 10px; }
.pinterest-titlebar {
  display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.02);
}
.pinterest-dots { display: flex; gap: 6px; flex-shrink: 0; }
.pinterest-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.pinterest-dots span:nth-child(1) { background: #fb7185; }
.pinterest-dots span:nth-child(2) { background: #fbbf24; }
.pinterest-dots span:nth-child(3) { background: #4ade80; }
.pinterest-window-label {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: rgba(255, 255, 255, 0.55);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pinterest-mark {
  display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%;
  background: #e60023; color: #fff; font-size: 9px; font-weight: 800; flex-shrink: 0;
}
.pinterest-body { padding: 18px 22px 22px; }
.pinterest-open-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 180px; height: 38px; padding: 0 16px;
  border-radius: 24px; background: #e60023; color: #fff; text-decoration: none; font-weight: 700; font-size: 12.5px;
  box-shadow: 0 8px 24px rgba(230, 0, 35, 0.35);
}
.pinterest-open-btn:hover { background: #c8001e; }
.pinterest-banner {
  height: 150px; border-radius: 10px; border: 1px solid rgba(230, 0, 35, 0.25);
  overflow: hidden;
  background-color: rgba(230, 0, 35, 0.08);
  background-image: repeating-linear-gradient(135deg, rgba(230, 0, 35, 0.14) 0 10px, rgba(230, 0, 35, 0.05) 10px 20px);
  background-position: center; background-size: cover;
}
.pinterest-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pinterest-profile {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin: -30px 4px 0; padding-bottom: 6px;
}
.pinterest-profile-main { display: flex; align-items: flex-end; gap: 12px; min-width: 0; }
.pinterest-profile-copy { min-width: 0; padding-bottom: 2px; }
.pinterest-avatar {
  width: 72px; height: 72px; border-radius: 50%; overflow: hidden; border: 3px solid #0c0f14;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.pinterest-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pinterest-profile strong { display: block; font-size: 18px; font-weight: 800; color: #fff; }
.pinterest-handle { display: block; margin-top: 2px; font-size: 12px; color: rgba(255, 255, 255, 0.45); font-family: 'JetBrains Mono', monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pinterest-loading { margin: 22px 0; text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, 0.5); font-family: 'JetBrains Mono', monospace; }
.pin-masonry { margin-top: 18px; column-count: 3; column-gap: 12px; }
.pin-card {
  break-inside: avoid; margin-bottom: 12px; border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.02);
  display: flex; flex-direction: column; text-decoration: none;
}
.pin-card-live { height: auto; }
.pin-thumb { display: block; width: 100%; height: auto; }
.pin-placeholder {
  flex: 1; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, rgba(230, 0, 35, 0.1) 0 8px, rgba(255, 255, 255, 0.02) 8px 16px);
  font-family: 'JetBrains Mono', monospace; font-size: 10px; color: rgba(255, 255, 255, 0.35);
}
.pin-label {
  padding: 8px 10px; font-size: 11.5px; color: rgba(255, 255, 255, 0.75);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.pinterest-hint { margin: 16px 0 0; font-size: 11px; color: rgba(255, 255, 255, 0.35); font-family: 'JetBrains Mono', monospace; }
@media (max-width: 940px) {
  .pinterest-window { width: min(760px, calc(100% - 8px)); }
  .pin-masonry { column-count: 2; }
}
@media (max-width: 720px) {
  .pin-masonry { column-count: 1; }
  .pinterest-window { max-height: calc(100vh - 24px); }
  .pinterest-body { padding: 14px 14px 18px; }
  .pinterest-banner { height: 118px; }
  .pinterest-profile { align-items: flex-start; flex-direction: column; gap: 12px; }
  .pinterest-open-btn { width: 100%; }
}

.taskbar {
  position: relative; flex-shrink: 0; align-items: center; gap: 10px; height: 52px; padding: 0 12px;
  background: linear-gradient(180deg, rgba(23, 29, 38, 0.86), rgba(7, 10, 15, 0.97));
  border-top: 1px solid rgba(52, 217, 255, 0.22); box-shadow: 0 -18px 46px rgba(0, 0, 0, 0.42), 0 -1px 0 rgba(86, 255, 107, 0.08) inset;
}
.taskbar::before {
  content: ""; position: absolute; left: 12px; right: 12px; top: 0; height: 1px;
  background: linear-gradient(90deg, rgba(52, 217, 255, 0.72), rgba(86, 255, 107, 0.42), rgba(255, 111, 176, 0.28), transparent);
  pointer-events: none;
}
.taskbar-launcher {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-width: 96px; height: 38px; padding: 0 10px 0 7px;
  background: linear-gradient(135deg, rgba(52, 217, 255, 0.18), rgba(86, 255, 107, 0.08) 48%, rgba(255, 111, 176, 0.11));
  border: 1px solid rgba(52, 217, 255, 0.38); border-radius: 9px; color: var(--accent); cursor: pointer;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 800; box-shadow: 0 0 0 1px rgba(52, 217, 255, 0.06) inset, 0 10px 24px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}
.taskbar-launcher::after {
  content: ""; position: absolute; inset: -40% auto -40% -60%; width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent); transform: skewX(-18deg);
}
.taskbar-launcher:hover::after, .taskbar-launcher.is-active::after { left: 118%; transition: left 420ms ease; }
.taskbar-launcher-mark {
  position: relative; z-index: 1; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px;
  background: rgba(52, 217, 255, 0.16); color: var(--accent); box-shadow: 0 0 0 1px rgba(52, 217, 255, 0.36) inset;
}
.taskbar-launcher-copy { position: relative; z-index: 1; letter-spacing: 0; }
.taskbar-launcher.is-active { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(52, 217, 255, 0.1), 0 0 28px rgba(52, 217, 255, 0.2); }
.taskbar-apps { display: flex; gap: 7px; flex: 1; min-width: 0; overflow: hidden; }
.taskbar-pill {
  position: relative; display: flex; align-items: center; gap: 7px; height: 34px; max-width: 170px; padding: 0 12px;
  border-radius: 8px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; cursor: pointer;
  background: rgba(23, 29, 38, 0.72); color: var(--muted); border: 1px solid rgba(148, 163, 184, 0.16);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.taskbar-pill:hover { color: var(--text); border-color: rgba(52, 217, 255, 0.3); background: rgba(23, 29, 38, 0.96); }
.taskbar-pill i { font-size: 12px; }
.taskbar-status { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.taskbar-status-chip {
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px;
  border: 1px solid rgba(86, 255, 107, 0.22); border-radius: 8px; background: rgba(86, 255, 107, 0.06);
  color: var(--ok); font-family: 'JetBrains Mono', monospace; font-size: 11px;
}
.taskbar-location { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--muted); }

.crt-scanlines { position: absolute; inset: 0; z-index: 500; pointer-events: none; mix-blend-mode: multiply; opacity: 0.42; background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.28) 0px, rgba(0, 0, 0, 0.28) 1px, transparent 2px, transparent 4px); animation: wc-scan-move 0.25s linear infinite; }
.crt-vignette { position: absolute; inset: 0; z-index: 501; pointer-events: none; background: radial-gradient(ellipse at center, transparent 58%, rgba(0, 0, 0, 0.55) 100%); }

@media (max-width: 720px) {
  [data-only="desktop"] { display: none; }
  [data-only="mobile"] { display: flex; }
  .wo7fi-os { min-width: 0; }
  .workspace { flex: 1; }
  .mobile-home { overflow-y: auto; }
  .win-body { overflow-y: auto; }
  .identity-body, .socials-body { padding: 14px; }
  .identity-hero, .social-command-hero { grid-template-columns: 1fr; }
  .identity-photo-frame { width: min(220px, 100%); min-height: 294px; }
  .identity-skill-grid, .identity-footer-grid, .social-featured-rail, .deploy-grid { grid-template-columns: 1fr; }
  .identity-actions, .contact-actions, .welcome-actions, .shutdown-actions, .deploy-actions { width: 100%; }
  .identity-actions .btn, .contact-mail-btn, .contact-copy-btn, .welcome-actions .btn, .shutdown-actions .btn, .deploy-actions .btn { flex: 1; min-width: 0; }
  .social-command-topline { flex-direction: column; }
  .social-search-compact { max-width: none; }
}

@media (min-width: 721px) and (max-width: 1120px) {
  .desktop-hero {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 116px;
    padding-right: 24px;
    gap: 0;
  }

  .hero-terminal-panel {
    max-width: 720px;
    height: clamp(460px, 66vh, 620px);
  }

  .hero-side-stack {
    display: none;
  }

  .hero-radar {
    width: 150px;
    opacity: 0.5;
  }
}

@media (min-width: 1121px) and (max-width: 1360px) {
  .desktop-hero {
    grid-template-columns: minmax(0, 720px) minmax(240px, 300px);
    padding-left: 122px;
    padding-right: 28px;
  }

  .hero-terminal-body h1 {
    font-size: clamp(38px, 4.2vw, 58px);
  }
}

/* Light theme, toggled via the terminal command "theme light" (persisted in localStorage). */
.wo7fi-os.theme-light {
  --bg: #eef1f6;
  --panel: #ffffff;
  --panel2: #f3f5f9;
  --line: rgba(15, 23, 42, 0.14);
  --line-strong: rgba(14, 165, 233, 0.55);
  --text: #12161d;
  --muted: #5b6572;
  --accent-dim: rgba(14, 165, 233, 0.12);
  text-shadow: none;
}
.wo7fi-os.theme-light::before { opacity: 0.08; }
.wo7fi-os.theme-light .crt-scanlines { opacity: 0.06; }
.wo7fi-os.theme-light .crt-vignette { opacity: 0.3; }
.wo7fi-os.theme-light .hero-terminal-panel,
.wo7fi-os.theme-light .hero-signal-card,
.wo7fi-os.theme-light .hero-matrix-card { background: rgba(255, 255, 255, 0.86); }
.wo7fi-os.theme-light .deploy-config { background: #eef1f6; color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  .wo7fi-os, .wo7fi-os::before, .pulse, .about-cursor, .hero-cursor, .hero-side-stack, .hero-radar::before, .launcher-panel, .crt-scanlines, .threat-orbit, .threat-orbit span, .packet-bars i, .album-ring, .equalizer i, .track-progress span, .loadout-slot, .module-scanline, .identity-timeline-item, .identity-node-ping, .identity-skill-dot, .identity-photo-frame::before { animation: none; opacity: 1; }
}

.social-beta-badge, .preview-beta {
  display: inline-flex; align-items: center; justify-content: center; height: 24px; padding: 0 9px;
  border: 1px solid rgba(251, 191, 36, 0.48); border-radius: 999px; color: #fbbf24;
  background: rgba(251, 191, 36, 0.1); font: 800 10px/1 'JetBrains Mono', monospace;
  letter-spacing: 0.08em; box-shadow: 0 0 18px rgba(251, 191, 36, 0.1);
}
.social-preview-titlebar { border-bottom-color: color-mix(in srgb, var(--preview-accent) 35%, transparent); background: color-mix(in srgb, var(--preview-accent) 8%, transparent); }
.social-preview-titlebar .pinterest-window-label span:not(.pinterest-mark) { color: rgba(255,255,255,0.84); }
.preview-cursor { display: inline-block; width: 7px; height: 13px; margin-left: 4px; background: var(--preview-accent); animation: pfBlink 1s steps(1) infinite; }
.social-preview-body {
  position: relative; padding: 18px 20px 22px; font-family: 'JetBrains Mono', monospace;
  background: repeating-linear-gradient(0deg, color-mix(in srgb, var(--preview-accent, #e60023) 4%, transparent) 0 1px, transparent 1px 3px), #060707;
}
.social-preview-body::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--preview-accent, #e60023) 16%, transparent), transparent 34%); opacity: 0.8; }
.social-preview-body > * { position: relative; }
.preview-type-line { width: 100%; overflow: hidden; white-space: nowrap; margin-bottom: 10px; color: rgba(255,255,255,0.42); font-size: 11px; animation: pfType 1s steps(34, end); }
.social-preview-open {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 40px; padding: 0 12px;
  border: 1px solid var(--preview-accent); border-radius: 4px; color: var(--preview-accent); background: transparent;
  text-decoration: none; font-size: 12.5px; font-weight: 800; letter-spacing: 0.03em; animation: pfGlow 2.4s ease-in-out infinite;
}
.social-preview-open:hover { background: var(--preview-accent); color: #060707; }
.social-preview-profile { display: flex; align-items: center; gap: 16px; padding: 20px 0 0; }
.social-preview-avatar {
  width: 64px; height: 64px; flex-shrink: 0; display: grid; place-items: center; color: var(--preview-accent);
  border: 1px solid color-mix(in srgb, var(--preview-accent) 45%, transparent);
  background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--preview-accent) 14%, transparent) 0 6px, transparent 6px 12px);
  font-size: 24px; animation: pfScalePulse 1.7s ease-in-out infinite;
}
.social-preview-copy { min-width: 0; }
.social-preview-copy strong { display: block; color: #f5f5f5; font-size: 16px; }
.social-preview-copy span { display: block; margin-top: 5px; color: rgba(255,255,255,0.45); font-size: 12px; }
.social-preview-copy b { color: var(--preview-accent); font-weight: 800; }
.social-preview-rule { margin: 18px 0 0; border-top: 1px dashed rgba(255,255,255,0.15); }
.social-preview-count { margin: 14px 0 10px; color: rgba(255,255,255,0.4); font-size: 11px; }
.social-preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.social-preview-tile, .social-preview-clip, .social-preview-row { opacity: 0; animation: pfFadeUp 0.42s ease forwards; }
.social-preview-tile { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.1); background: conic-gradient(from 0deg, #feda75, #ff2fa0, #4f5bd5, #feda75); color: #fff; font-size: 11px; font-weight: 900; }
.social-preview-clips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.social-preview-clip { border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.02); }
.social-preview-clip div { aspect-ratio: 9 / 16; display: grid; place-items: center; background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--preview-accent) 10%, transparent) 0 8px, transparent 8px 16px); color: var(--preview-accent); }
.social-preview-clip span { display: block; padding: 5px 6px; color: rgba(255,255,255,0.5); font-size: 9px; border-top: 1px solid rgba(255,255,255,0.08); }
.social-preview-list { display: flex; flex-direction: column; }
.social-preview-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.82); font-size: 12px; line-height: 1.55; }
.social-preview-row i, .social-preview-row small { color: var(--preview-accent); font-size: 10px; }
@keyframes pfIn { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes pfFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pfBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes pfGlow { 0%, 100% { box-shadow: 0 0 0 color-mix(in srgb, var(--preview-accent) 0%, transparent); } 50% { box-shadow: 0 0 22px color-mix(in srgb, var(--preview-accent) 32%, transparent); } }
@keyframes pfType { from { max-width: 0; } to { max-width: 100%; } }
@keyframes pfScalePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
.pinterest-window { animation: pfIn 0.22s ease-out; }
@media (max-width: 720px) {
  .social-beta-badge { align-self: flex-start; }
  .social-preview-body { padding: 14px; }
  .social-preview-profile { align-items: flex-start; }
  .social-preview-grid, .social-preview-clips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .preview-cursor, .social-preview-open, .social-preview-avatar, .social-preview-tile, .social-preview-clip, .social-preview-row, .pinterest-window { animation: none; opacity: 1; }
}
