:root {
  color-scheme: light;
  --desktop-scale: 0.88;
  --desktop-inverse-scale: 1.1363636364;
  --bg-1: #f7ebd7;
  --bg-2: #f2f0ec;
  --bg-3: #ddebe2;
  --panel: rgba(255, 250, 242, 0.82);
  --panel-strong: rgba(255, 252, 246, 0.92);
  --panel-soft: rgba(255, 255, 255, 0.48);
  --ink: #1f1710;
  --muted: #786f67;
  --line: rgba(31, 23, 16, 0.16);
  --orange: #ef7a1a;
  --yellow: #f6cf5b;
  --blue: #5690ff;
  --green: #4ecf84;
  --pink: #ee74a5;
  --shadow: 0 26px 90px rgba(69, 44, 20, 0.18);
  --window-shadow: 0 38px 110px rgba(35, 25, 17, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 15%, rgba(246, 207, 91, 0.54), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(86, 144, 255, 0.22), transparent 22%),
    radial-gradient(circle at 78% 72%, rgba(78, 207, 132, 0.16), transparent 28%),
    linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 52%, var(--bg-3) 100%);
  color: var(--ink);
  font-family: "Avenir Next Rounded", "Arial Rounded MT Bold", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

body.has-open-window {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(31, 23, 16, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 23, 16, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.94), transparent 90%);
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

.desktop-shell {
  position: relative;
  min-height: 100vh;
  padding: 20px 20px 122px;
  zoom: var(--desktop-scale);
}

@supports not (zoom: 1) {
  .desktop-shell {
    width: calc(100% / var(--desktop-scale));
    min-height: calc(100vh / var(--desktop-scale));
    margin: 0 auto;
    transform: scale(var(--desktop-scale));
    transform-origin: top center;
  }

  body.has-immersive-window .desktop-shell {
    width: 100%;
    min-height: 100vh;
    transform: none;
  }
}

.menu-bar {
  position: sticky;
  top: 14px;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1480px;
  min-height: 64px;
  margin: 0 auto;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  background: rgba(255, 250, 242, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.system-brand,
.status-area {
  display: flex;
  align-items: center;
}

.system-brand {
  gap: 12px;
  min-width: 0;
}

.system-brand strong,
.system-brand small {
  display: block;
}

.system-brand strong {
  font-size: 17px;
  font-weight: 950;
}

.system-brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-orb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  box-shadow:
    0 0 0 5px rgba(239, 122, 26, 0.12),
    0 10px 22px rgba(239, 122, 26, 0.2);
}

.status-area {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.status-pill,
#system-clock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(31, 23, 16, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.status-pill {
  color: #227547;
}

.status-pill.soft {
  color: #7a5a1d;
}

.desktop-stage {
  position: relative;
  max-width: 1480px;
  min-height: calc(100vh - 150px);
  margin: 0 auto;
}

.desktop-icons {
  position: absolute;
  top: 102px;
  left: 0;
  z-index: 280;
  display: grid;
  gap: 18px;
  width: 110px;
}

.desktop-icon,
.dock button,
.primary-action,
.secondary-action,
.window-dot {
  border: 0;
  cursor: pointer;
}

.desktop-icon {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 94px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  transition: transform 180ms ease;
}

.desktop-icon:hover,
.desktop-icon.is-active {
  transform: translateY(-4px) scale(1.05);
}

[data-open]:disabled {
  cursor: default;
}

.desktop-icon:disabled,
.primary-action:disabled,
.secondary-action:disabled,
.dock button:disabled {
  opacity: 0.62;
  filter: saturate(0.72);
}

.desktop-icon:disabled:hover {
  transform: translateY(-4px) scale(1.05);
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(31, 23, 16, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 38px rgba(69, 44, 20, 0.12);
  font-size: 24px;
}

.icon-home {
  background: linear-gradient(135deg, #fff6e4, #ffd79a);
}

.icon-about {
  background: linear-gradient(135deg, #fff4fb, #f4bad0);
}

.icon-games {
  background: linear-gradient(135deg, #f3ffe6, #bdf0a8);
}

.icon-articles {
  background: linear-gradient(135deg, #eff5ff, #bfd5ff);
}

.icon-works {
  background: linear-gradient(135deg, #f2fff6, #bcf2cf);
}

.icon-github {
  background: linear-gradient(135deg, #ffffff, #e7d4ff);
  font-size: 16px;
}

.desktop-widgets {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.82fr);
  gap: 22px;
  width: min(1080px, calc(100% - 170px));
  margin: 88px auto 0 150px;
}

.desktop-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  background: rgba(255, 252, 246, 0.64);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-card {
  grid-row: span 2;
  padding: clamp(28px, 4vw, 46px);
}

.stack-card,
.status-card {
  padding: 24px;
}

.card-kicker,
.section-kicker {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 86px);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
  font-weight: 920;
}

.card-copy,
.window-scroll p,
.note-list,
.status-grid span,
.list-card p,
.work-card p,
.timeline-list p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
}

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

.primary-action,
.secondary-action {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 15px;
  font-weight: 900;
}

.primary-action {
  background: var(--ink);
  color: #fff;
}

.secondary-action {
  border: 1px solid rgba(31, 23, 16, 0.14);
  background: rgba(255, 255, 255, 0.65);
}

.stack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.stack-head strong,
.timeline-list strong,
.profile-badge strong,
.status-grid strong {
  font-weight: 900;
}

.stack-head span,
.timeline-list span,
.status-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.note-list {
  margin: 0;
  padding-left: 18px;
}

.note-list li + li {
  margin-top: 8px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.status-grid div,
.soft-panel,
.list-card,
.work-card {
  border: 1px solid rgba(31, 23, 16, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
}

.status-grid div {
  padding: 16px;
}

.status-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 15px;
}

.window-layer {
  position: fixed;
  inset: 0;
  z-index: 240;
  pointer-events: none;
}

.window-layer.is-active {
  pointer-events: auto;
}

body.has-immersive-window .window-layer {
  z-index: 600;
  zoom: var(--desktop-inverse-scale);
}

.app-window {
  pointer-events: auto;
  position: fixed;
  z-index: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: min(820px, calc(100vw - 48px));
  max-height: min(82vh, 860px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: var(--panel-strong);
  box-shadow: var(--window-shadow);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.96);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.app-window.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.app-window.is-focused {
  box-shadow: 0 44px 120px rgba(35, 25, 17, 0.3);
}

/* The desktop shell is scaled to 0.88; this keeps the finished panel large on screen. */
#window-about {
  --about-window-depth: 410px;
  overflow: visible;
  width: 92vw;
  height: 90vh;
  max-width: calc(100vw - 32px);
  max-height: 90vh;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  perspective: 1600px;
}

#window-about.is-focused {
  box-shadow: none;
}

.about-book-page {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: inherit;
  transform: none;
  transform-style: flat;
  will-change: transform, filter, opacity;
}

.about-cube-face {
  width: 100%;
  height: 100%;
  max-height: inherit;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.about-cube-front {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(91, 244, 255, 0.44);
  border-radius: 28px;
  background:
    linear-gradient(rgba(73, 238, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 67, 190, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 22% 14%, rgba(47, 207, 255, 0.15), transparent 34%),
    radial-gradient(circle at 82% 82%, rgba(255, 52, 188, 0.1), transparent 36%),
    #020611;
  background-size: 30px 30px, 30px 30px, auto, auto, auto;
  box-shadow:
    0 42px 120px rgba(7, 9, 28, 0.42),
    -18px 0 48px rgba(36, 226, 255, 0.14),
    16px 0 52px rgba(255, 47, 183, 0.12);
  backdrop-filter: blur(24px);
  transform: none;
}

#window-about .window-titlebar {
  z-index: 30;
  flex: 0 0 auto;
  border-color: rgba(81, 231, 255, 0.22);
  background:
    linear-gradient(90deg, rgba(36, 225, 255, 0.08), transparent 36%, rgba(255, 52, 184, 0.07)),
    rgba(3, 8, 20, 0.94);
  color: #f0fbff;
  box-shadow: 0 1px 0 rgba(90, 234, 255, 0.14), 0 16px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

#window-about .window-meta {
  color: rgba(156, 232, 244, 0.54);
}

#window-about .window-center-button {
  border-color: rgba(79, 229, 255, 0.34);
  background: rgba(15, 51, 69, 0.56);
  color: rgba(219, 250, 255, 0.88);
  box-shadow: inset 0 0 12px rgba(54, 222, 255, 0.09);
}

.about-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(180px, 0.46fr) minmax(0, 1.5fr);
  gap: 14px;
  flex: 1 1 auto;
  min-height: 0;
  padding: 16px;
}

.about-profile-fixed,
.about-timeline-nav,
.about-detail-panel {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(91, 232, 255, 0.24);
  background:
    linear-gradient(rgba(78, 225, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 225, 255, 0.055) 1px, transparent 1px),
    rgba(4, 12, 28, 0.84);
  background-size: 24px 24px, 24px 24px, auto;
  box-shadow: inset 0 0 38px rgba(56, 220, 255, 0.08);
}

.about-profile-fixed {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.5vw, 42px);
  isolation: isolate;
}

.about-profile-fixed::before,
.about-profile-fixed::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.about-profile-fixed::before {
  top: 0;
  right: 0;
  width: 54px;
  height: 18px;
  border-top: 1px solid rgba(255, 69, 193, 0.72);
  border-right: 1px solid rgba(255, 69, 193, 0.72);
}

.about-profile-fixed::after {
  right: -80px;
  bottom: -110px;
  width: 270px;
  aspect-ratio: 1;
  border: 1px solid rgba(81, 230, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(89, 227, 255, 0.025), 0 0 80px rgba(62, 218, 255, 0.08);
}

.about-profile-fixed .about-profile-ring {
  top: clamp(24px, 4vh, 52px);
  right: clamp(18px, 2vw, 32px);
  z-index: 0;
  width: clamp(92px, 9vw, 142px);
  opacity: 0.52;
}

.about-profile-fixed .about-profile-copy {
  position: relative;
  z-index: 2;
  margin-top: clamp(42px, 8vh, 92px);
}

.about-profile-fixed .about-profile-copy h2 {
  max-width: 460px;
  font-size: clamp(26px, 2.7vw, 44px);
}

.about-profile-fixed .about-profile-copy > p:last-of-type {
  max-width: 470px;
  font-size: clamp(13px, 0.95vw, 15px);
}

.about-profile-name {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(92, 228, 255, 0.16);
}

.about-profile-name strong {
  color: #f2fdff;
  font-size: 22px;
  text-shadow: 0 0 18px rgba(75, 229, 255, 0.38);
}

.about-profile-name span {
  color: rgba(169, 231, 241, 0.48);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.about-profile-fixed .about-signal-tags {
  position: relative;
  z-index: 2;
  margin-top: 18px;
}

.about-timeline-nav {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
}

.about-timeline-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex: 0 0 auto;
  padding: 0 16px 14px;
  border-bottom: 1px solid rgba(88, 229, 255, 0.16);
  color: rgba(138, 235, 248, 0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-timeline-nav-head strong {
  color: #69edff;
  font-size: 16px;
  text-shadow: 0 0 12px rgba(80, 229, 255, 0.58);
}

.about-timeline-list {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 18px 10px 18px 22px;
  overscroll-behavior: contain;
  scrollbar-color: rgba(92, 230, 255, 0.48) rgba(255, 255, 255, 0.035);
  scrollbar-width: thin;
}

.about-timeline-list::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 18px;
  width: 1px;
  background: linear-gradient(transparent, rgba(91, 230, 255, 0.46) 8% 92%, transparent);
  box-shadow: 0 0 12px rgba(78, 226, 255, 0.32);
  pointer-events: none;
}

.about-timeline-list::-webkit-scrollbar {
  width: 5px;
}

.about-timeline-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.025);
}

.about-timeline-list::-webkit-scrollbar-thumb {
  background: rgba(92, 230, 255, 0.42);
}

.about-timeline-item {
  position: relative;
  display: grid;
  gap: 5px;
  flex: 0 0 auto;
  width: 100%;
  min-height: 86px;
  padding: 14px 10px 14px 19px;
  border: 0;
  background: transparent;
  color: rgba(192, 230, 237, 0.54);
  text-align: left;
  cursor: pointer;
  transition: color 240ms ease, background 240ms ease, transform 240ms ease;
}

.about-timeline-item::before {
  content: "";
  position: absolute;
  top: 25px;
  left: -8px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(105, 231, 255, 0.62);
  border-radius: 50%;
  background: #061426;
  box-shadow: 0 0 0 4px rgba(74, 224, 255, 0.04), 0 0 12px rgba(73, 226, 255, 0.32);
  transition: background 240ms ease, box-shadow 240ms ease, scale 240ms ease;
}

.about-timeline-item time {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.about-timeline-item strong {
  overflow-wrap: anywhere;
  color: inherit;
  font-size: 14px;
  line-height: 1.32;
}

.about-timeline-item:hover,
.about-timeline-item:focus-visible {
  outline: none;
  background: rgba(71, 218, 255, 0.065);
  color: rgba(226, 250, 254, 0.86);
}

.about-timeline-item.is-active {
  background: linear-gradient(90deg, rgba(65, 220, 255, 0.13), rgba(255, 62, 190, 0.035));
  color: #effdff;
  transform: translateX(3px);
}

.about-timeline-item.is-active::before {
  background: #72efff;
  box-shadow: 0 0 0 5px rgba(79, 225, 255, 0.08), 0 0 18px rgba(75, 228, 255, 0.76);
  scale: 1.25;
}

.about-detail-panel {
  display: flex;
}

.about-detail-panel .about-timeline-viewport {
  flex: 1 1 auto;
  border-radius: 0;
}

.about-timeline-face.about-detail-face {
  border-color: rgb(var(--about-cube-primary-rgb) / 0.58);
  background:
    radial-gradient(circle at 14% 18%, rgb(var(--about-cube-primary-rgb) / 0.2), transparent 34%),
    radial-gradient(circle at 88% 82%, rgb(var(--about-cube-secondary-rgb) / 0.17), transparent 38%),
    linear-gradient(120deg, rgb(var(--about-cube-tertiary-rgb) / 0.08), transparent 32%),
    linear-gradient(rgb(var(--about-cube-primary-rgb) / 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--about-cube-secondary-rgb) / 0.065) 1px, transparent 1px),
    linear-gradient(135deg, rgba(5, 17, 38, 0.98), rgba(12, 6, 34, 0.98));
  background-size: auto, auto, auto, 22px 22px, 22px 22px, auto;
  box-shadow:
    inset 0 0 46px rgb(var(--about-cube-primary-rgb) / 0.14),
    inset 0 -40px 76px rgb(var(--about-cube-secondary-rgb) / 0.11),
    0 0 32px rgb(var(--about-cube-primary-rgb) / 0.1);
  transition: border-color 420ms ease, box-shadow 420ms ease, filter 220ms ease, opacity 220ms ease;
}

.about-timeline-face.about-detail-face::before {
  background: linear-gradient(transparent, var(--about-cube-primary), transparent);
  box-shadow: 0 0 20px rgb(var(--about-cube-primary-rgb) / 0.62);
}

.about-timeline-face.about-detail-face::after {
  border-color: var(--about-cube-secondary);
  box-shadow: 5px -5px 18px rgb(var(--about-cube-secondary-rgb) / 0.2);
}

.about-detail-face .about-timeline-number {
  border-color: rgb(var(--about-cube-primary-rgb) / 0.72);
  background: rgb(var(--about-cube-secondary-rgb) / 0.12);
  color: var(--about-cube-primary);
  box-shadow:
    0 0 0 8px rgb(var(--about-cube-primary-rgb) / 0.045),
    0 0 30px rgb(var(--about-cube-primary-rgb) / 0.34),
    inset 0 0 22px rgb(var(--about-cube-secondary-rgb) / 0.18);
}

.about-timeline-face.about-detail-face small {
  color: var(--about-cube-tertiary);
  text-shadow: 0 0 12px rgb(var(--about-cube-tertiary-rgb) / 0.38);
}

.about-timeline-face.about-detail-face time {
  display: block;
  margin: 14px 0 12px;
  color: rgb(var(--about-cube-secondary-rgb) / 0.72);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.about-timeline-face.about-detail-face > div {
  max-width: 680px;
}

.about-timeline-face.about-detail-face strong {
  font-size: clamp(30px, 3.8vw, 56px);
  line-height: 1.02;
  text-shadow:
    -3px 0 18px rgb(var(--about-cube-tertiary-rgb) / 0.16),
    3px 0 18px rgb(var(--about-cube-primary-rgb) / 0.2);
}

.about-timeline-face.about-detail-face p {
  max-width: 620px;
  margin-top: 20px;
  font-size: clamp(14px, 1vw, 17px);
  line-height: 1.72;
}

.about-detail-face .about-signal-meter i {
  background: rgb(var(--about-cube-primary-rgb) / 0.24);
  box-shadow: 0 0 11px rgb(var(--about-cube-primary-rgb) / 0.18);
}

.about-detail-face .about-signal-meter i:nth-child(2) {
  background: rgb(var(--about-cube-secondary-rgb) / 0.42);
}

.about-detail-face .about-signal-meter i:nth-child(3) {
  background: var(--about-cube-primary);
  box-shadow: 0 0 16px rgb(var(--about-cube-primary-rgb) / 0.68);
}

.about-detail-face .about-signal-meter i:nth-child(4) {
  background: var(--about-cube-secondary);
}

.about-detail-face .about-signal-meter i:nth-child(5) {
  background: var(--about-cube-tertiary);
}

.about-auto-status {
  position: absolute;
  right: 24px;
  bottom: 20px;
  left: 24px;
  z-index: 11;
  height: 2px;
  overflow: hidden;
  background: rgba(135, 235, 250, 0.1);
  pointer-events: none;
}

.about-auto-status i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--about-cube-primary), var(--about-cube-secondary) 52%, var(--about-cube-tertiary));
  box-shadow: 0 0 10px rgb(var(--about-cube-primary-rgb) / 0.58);
  transform: scaleX(0);
  transform-origin: left center;
}

.about-timeline-viewport.is-auto-counting .about-auto-status i {
  animation: about-auto-progress 5600ms linear both;
}

.about-cube-front::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  border-radius: inherit;
  box-shadow:
    inset 0 0 34px rgba(49, 232, 255, 0.15),
    inset 0 0 72px rgba(255, 45, 185, 0.08),
    inset 12px 0 22px rgba(92, 104, 255, 0.12);
  pointer-events: none;
}

.about-cube-front::after {
  content: "";
  position: absolute;
  top: 3%;
  bottom: 3%;
  left: 0;
  z-index: 7;
  width: 8px;
  border-radius: 0 8px 8px 0;
  background: linear-gradient(180deg, #43f3ff, #7b6dff 48%, #ff3eb7);
  box-shadow: 0 0 18px rgba(67, 243, 255, 0.62), 0 0 34px rgba(255, 62, 183, 0.34);
  opacity: 0.58;
  pointer-events: none;
}

.about-cube-side {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 22px;
  overflow: hidden;
  border: 1px solid rgba(78, 236, 255, 0.62);
  border-radius: 28px;
  background:
    linear-gradient(rgba(75, 237, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 237, 255, 0.14) 1px, transparent 1px),
    radial-gradient(circle at 50% 48%, rgba(122, 91, 255, 0.3), transparent 34%),
    linear-gradient(135deg, rgba(3, 10, 26, 0.98), rgba(12, 6, 34, 0.97));
  background-size: 34px 34px, 34px 34px, auto, auto;
  color: rgba(220, 252, 255, 0.86);
  box-shadow:
    inset 0 0 74px rgba(45, 229, 255, 0.16),
    inset 0 0 130px rgba(231, 44, 255, 0.1),
    0 0 48px rgba(42, 224, 255, 0.24);
  text-align: center;
  transform: rotateY(90deg) translateZ(var(--about-window-depth));
  visibility: hidden;
  pointer-events: none;
}

.about-cube-side::before,
.about-cube-side::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.about-cube-side::before {
  inset: 7%;
  border: 1px solid rgba(80, 238, 255, 0.34);
  clip-path: polygon(0 0, 20% 0, 20% 1px, 1px 1px, 1px 20%, 0 20%, 0 0, 100% 0, 100% 20%, calc(100% - 1px) 20%, calc(100% - 1px) 1px, 80% 1px, 80% 0, 100% 0, 100% 100%, 80% 100%, 80% calc(100% - 1px), calc(100% - 1px) calc(100% - 1px), calc(100% - 1px) 80%, 100% 80%, 100% 100%, 0 100%, 0 80%, 1px 80%, 1px calc(100% - 1px), 20% calc(100% - 1px), 20% 100%, 0 100%);
  box-shadow: 0 0 26px rgba(66, 236, 255, 0.35);
}

.about-cube-side::after {
  inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 5px, rgba(141, 247, 255, 0.07) 5px 6px);
  mix-blend-mode: screen;
  animation: about-side-scan 1.1s linear infinite;
}

.about-side-code {
  position: relative;
  z-index: 1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.about-cube-side > strong {
  position: relative;
  z-index: 1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 0.94;
  text-shadow: -5px 0 18px rgba(255, 47, 184, 0.4), 5px 0 18px rgba(52, 231, 255, 0.54);
}

.about-side-axis {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 9px;
}

.about-side-axis i {
  width: 32px;
  height: 3px;
  background: #56edff;
  box-shadow: 0 0 12px rgba(86, 237, 255, 0.8);
}

.about-side-axis i:nth-child(2) {
  background: #8969ff;
}

.about-side-axis i:nth-child(3) {
  background: #ff42b7;
}

#window-about.is-about-cutting .about-book-page {
  opacity: 0;
  pointer-events: none;
  transform: translateZ(calc(var(--about-window-depth) * -1)) rotateY(-90deg);
  transform-style: preserve-3d;
}

#window-about.is-about-opening .about-book-page {
  pointer-events: none;
  transform-style: preserve-3d;
  animation: about-book-open 760ms cubic-bezier(0.2, 0.82, 0.18, 1) both;
}

#window-about.is-about-closing .about-book-page {
  pointer-events: none;
  transform-style: preserve-3d;
  animation: about-book-close 640ms cubic-bezier(0.62, 0, 0.78, 0.18) both;
}

#window-about.is-about-cutting .about-cube-front {
  transform: translateZ(var(--about-window-depth));
}

#window-about.is-about-opening .about-cube-front {
  animation: about-front-depth-open 760ms cubic-bezier(0.2, 0.82, 0.18, 1) both;
}

#window-about.is-about-closing .about-cube-front {
  animation: about-front-depth-close 640ms cubic-bezier(0.62, 0, 0.78, 0.18) both;
}

#window-about:is(.is-about-cutting, .is-about-opening, .is-about-closing) .about-cube-side {
  visibility: visible;
}

#window-about.is-about-finalizing .about-book-page {
  visibility: hidden;
  opacity: 0 !important;
  transform: none !important;
  animation: none !important;
  pointer-events: none;
}

#window-about.is-about-finalizing .about-cube-front {
  transform: none !important;
  animation: none !important;
}

.about-laser-frame {
  position: absolute;
  inset: 0;
  z-index: 20;
  overflow: visible;
  border-radius: 28px;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(67, 240, 255, 0.72));
  transition: opacity 120ms ease;
}

#window-about.is-about-cutting .about-laser-frame {
  opacity: 1;
}

.about-laser-frame::before,
.about-laser-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 12px;
  height: 12px;
  border: 2px solid #64f5ff;
  opacity: 0;
  box-shadow: 0 0 18px #3eeaff, 0 0 30px rgba(255, 45, 185, 0.6);
}

#window-about.is-about-cutting .about-laser-frame::before {
  top: -4px;
  left: -4px;
  animation: about-laser-corner 300ms ease 40ms both;
}

#window-about.is-about-cutting .about-laser-frame::after {
  right: -4px;
  bottom: -4px;
  border-color: #ff4abb;
  animation: about-laser-corner 300ms ease 330ms both;
}

.about-laser-line {
  position: absolute;
  display: block;
  border-radius: 999px;
  opacity: 0;
  background: #5ef5ff;
  box-shadow:
    0 0 5px #fff,
    0 0 12px #3cecff,
    0 0 24px rgba(50, 230, 255, 0.78),
    0 0 42px rgba(255, 52, 187, 0.38);
}

.about-laser-line.is-top,
.about-laser-line.is-bottom {
  width: 0;
  height: 2px;
}

.about-laser-line.is-right,
.about-laser-line.is-left {
  width: 2px;
  height: 0;
  background: #ff4abb;
}

.about-laser-line.is-top {
  top: 0;
  left: 0;
}

.about-laser-line.is-right {
  top: 0;
  right: 0;
}

.about-laser-line.is-bottom {
  right: 0;
  bottom: 0;
  background: #9f68ff;
}

.about-laser-line.is-left {
  bottom: 0;
  left: 0;
}

#window-about.is-about-cutting .about-laser-line.is-top {
  animation: about-laser-horizontal 150ms linear 20ms forwards;
}

#window-about.is-about-cutting .about-laser-line.is-right {
  animation: about-laser-vertical 150ms linear 155ms forwards;
}

#window-about.is-about-cutting .about-laser-line.is-bottom {
  animation: about-laser-horizontal 150ms linear 290ms forwards;
}

#window-about.is-about-cutting .about-laser-line.is-left {
  animation: about-laser-vertical 150ms linear 425ms forwards;
}

#window-about .window-close-button {
  position: relative;
  border-color: rgba(255, 54, 91, 0.72);
  background: rgba(80, 4, 22, 0.72);
  color: #fff4f6;
  text-shadow: 0 0 8px rgba(255, 91, 123, 0.9);
  box-shadow:
    0 0 0 1px rgba(255, 45, 82, 0.2),
    0 0 16px rgba(255, 35, 75, 0.34),
    inset 0 0 12px rgba(255, 45, 82, 0.2);
}

#window-about .window-close-button::before {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid rgba(255, 51, 91, 0.54);
  border-radius: inherit;
  opacity: 0.46;
  pointer-events: none;
  animation: about-close-pulse 1.4s ease-in-out infinite;
}

#window-about .window-close-button:hover,
#window-about.is-about-closing .window-close-button {
  border-color: #ff315d;
  background: rgba(122, 3, 31, 0.9);
  box-shadow: 0 0 24px rgba(255, 38, 81, 0.74), inset 0 0 16px rgba(255, 56, 97, 0.34);
  animation: about-close-glitch 240ms steps(2, end) infinite;
}

html.is-home-transition-locked,
body.is-home-transition-locked {
  overflow: hidden;
  cursor: wait;
}

body.is-home-transition-locked .desktop-shell {
  pointer-events: none;
}

.home-page-glitch-overlay {
  position: fixed;
  inset: 0;
  z-index: 770;
  overflow: hidden;
  pointer-events: auto;
  cursor: wait;
  isolation: isolate;
  contain: paint;
}

.home-page-glitch-overlay::before,
.home-page-glitch-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.home-page-glitch-overlay::before {
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.075) 0 1px,
    transparent 1px 4px
  );
  mix-blend-mode: screen;
  animation: home-glitch-scan 140ms steps(2, end) infinite;
}

.home-page-glitch-overlay::after {
  background:
    linear-gradient(90deg, rgba(255, 18, 62, 0.16), transparent 22% 78%, rgba(28, 86, 255, 0.2)),
    repeating-linear-gradient(0deg, transparent 0 11%, rgba(76, 255, 126, 0.08) 11% 12%, transparent 12% 24%);
  mix-blend-mode: screen;
  animation: home-page-signal-loss 360ms steps(3, end) infinite;
}

.home-page-glitch-channel.desktop-shell {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  min-height: 100vh !important;
  margin: 0 !important;
  opacity: 0.38;
  visibility: visible !important;
  pointer-events: none;
  transform-origin: center;
  mix-blend-mode: screen;
  will-change: opacity, clip-path, translate;
}

.home-page-glitch-channel.is-red {
  filter: grayscale(1) sepia(1) saturate(10) hue-rotate(310deg) contrast(1.46);
  animation: home-glitch-red 940ms steps(2, end) both;
}

.home-page-glitch-channel.is-green {
  filter: grayscale(1) sepia(1) saturate(9) hue-rotate(72deg) contrast(1.38);
  animation: home-glitch-green 940ms steps(2, end) both;
}

.home-page-glitch-channel.is-blue {
  filter: grayscale(1) sepia(1) saturate(10) hue-rotate(176deg) contrast(1.48);
  animation: home-glitch-blue 940ms steps(2, end) both;
}

.home-page-glitch-tear {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 10;
  opacity: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 24, 70, 0.7),
    rgba(72, 255, 126, 0.46) 48%,
    rgba(32, 94, 255, 0.72)
  );
  box-shadow: 0 0 16px rgba(112, 186, 255, 0.32);
  mix-blend-mode: screen;
  animation: home-glitch-tear 520ms steps(2, end) var(--tear-delay) both;
}

#window-home.is-home-glitch-entering {
  isolation: isolate;
  will-change: opacity, filter, clip-path, translate;
  animation: home-glitch-reveal 940ms steps(1, end) both;
}

.home-glitch-overlay {
  position: fixed;
  z-index: 780;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  isolation: isolate;
  contain: paint;
}

.home-glitch-overlay.is-active {
  animation: home-glitch-overlay-burst 920ms steps(1, end) both;
}

.home-glitch-overlay::before,
.home-glitch-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.home-glitch-overlay::before {
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.08) 0 1px,
    transparent 1px 4px
  );
  mix-blend-mode: screen;
  animation: home-glitch-scan 160ms steps(2, end) infinite;
}

.home-glitch-overlay::after {
  background:
    linear-gradient(90deg, rgba(255, 20, 68, 0.18), transparent 24% 76%, rgba(36, 90, 255, 0.2)),
    linear-gradient(0deg, transparent 48%, rgba(105, 255, 124, 0.12) 50%, transparent 52%);
  mix-blend-mode: screen;
}

.home-glitch-channel.app-window {
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  border-radius: inherit;
  opacity: 0.38;
  visibility: visible !important;
  transform: none !important;
  box-shadow: none;
  backdrop-filter: none;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: opacity, clip-path, translate;
}

.home-glitch-channel.is-red {
  filter: grayscale(1) sepia(1) saturate(10) hue-rotate(310deg) contrast(1.5);
  animation: home-glitch-red 660ms steps(2, end) both;
}

.home-glitch-channel.is-green {
  filter: grayscale(1) sepia(1) saturate(9) hue-rotate(72deg) contrast(1.4);
  animation: home-glitch-green 660ms steps(2, end) both;
}

.home-glitch-channel.is-blue {
  filter: grayscale(1) sepia(1) saturate(10) hue-rotate(176deg) contrast(1.5);
  animation: home-glitch-blue 660ms steps(2, end) both;
}

.home-glitch-fragment.app-window {
  position: absolute !important;
  inset: 0 !important;
  z-index: 6 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  border-radius: inherit;
  opacity: 0;
  visibility: visible !important;
  box-shadow: none;
  backdrop-filter: none;
  pointer-events: none;
  filter: var(--fragment-filter);
  backface-visibility: hidden;
  transform:
    translate3d(var(--fragment-x), var(--fragment-y), var(--fragment-z))
    rotate(var(--fragment-rotate))
    scale(0.18);
  will-change: transform, opacity;
}

.home-glitch-overlay.is-active .home-glitch-fragment {
  animation: home-glitch-fragment-assemble 760ms cubic-bezier(0.16, 0.88, 0.24, 1) var(--fragment-delay) both;
}

.home-glitch-tear {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 10;
  opacity: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 30, 72, 0.75),
    rgba(75, 255, 128, 0.52) 48%,
    rgba(38, 104, 255, 0.75)
  );
  box-shadow: 0 0 12px rgba(128, 190, 255, 0.38);
  mix-blend-mode: screen;
  animation: home-glitch-tear 380ms steps(2, end) var(--tear-delay) both;
}

html.is-game-portal-locked,
body.is-game-portal-locked {
  overflow: hidden !important;
  cursor: wait;
}

body.is-game-portal-locked .desktop-shell,
body.is-game-portal-locked .window-layer,
body.is-game-portal-locked #waifu,
body.is-game-portal-locked #waifu-toggle {
  pointer-events: none !important;
  user-select: none !important;
}

html.is-window-switching,
body.is-window-switching {
  overflow: hidden !important;
}

body.is-window-switching .desktop-shell,
body.is-window-switching .window-layer,
body.is-window-switching #waifu,
body.is-window-switching #waifu-toggle {
  pointer-events: none !important;
  user-select: none !important;
}

.game-gravity-layer {
  position: fixed;
  inset: 0;
  z-index: 930;
  overflow: hidden;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 260ms ease;
  contain: layout paint style;
  will-change: opacity;
}

.game-gravity-layer::before {
  content: "";
  position: fixed;
  left: var(--gravity-target-x);
  top: var(--gravity-target-y);
  width: min(44vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, rgba(69, 240, 255, 0.12) 0 1px, transparent 1px 18px),
    conic-gradient(from 80deg, transparent, rgba(255, 57, 197, 0.18), transparent 24%, rgba(47, 238, 255, 0.14), transparent 58%);
  filter: blur(0.2px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.18) rotate(0deg);
}

.game-gravity-layer.is-absorbing::before {
  animation: game-gravity-field 520ms cubic-bezier(0.2, 0.78, 0.22, 1) both;
}

.game-gravity-layer.is-finished {
  opacity: 0;
}

.game-gravity-aperture {
  position: fixed;
  border: 1px solid rgba(82, 241, 255, 0.2);
  border-radius: 24px;
  background:
    linear-gradient(rgba(53, 232, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 59, 200, 0.07) 1px, transparent 1px),
    rgba(0, 4, 8, 0.08);
  background-size: 30px 30px;
  box-shadow:
    inset 0 0 70px rgba(0, 0, 0, 0.32),
    0 0 30px rgba(51, 224, 255, 0.08);
  opacity: 0;
  transform: scale(1.04);
  transform-origin: center;
}

.game-gravity-layer.is-traveling .game-gravity-aperture {
  animation: game-gravity-aperture-ready 360ms ease 40ms both;
}

.game-gravity-layer.is-absorbing .game-gravity-aperture {
  animation: game-gravity-aperture-collapse 500ms cubic-bezier(0.7, 0, 0.88, 0.26) both;
}

.game-gravity-orb {
  position: fixed;
  left: 0;
  top: 0;
  width: 132px;
  height: 132px;
  border: 2px solid rgba(115, 244, 255, 0.7);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 27%, rgba(255, 255, 255, 0.34), transparent 8%),
    radial-gradient(circle at 38% 34%, #263946 0 5%, #05080b 24%, #000 66%, #07121a 100%);
  box-shadow:
    inset -36px -42px 57px #000,
    inset 15px 12px 36px rgba(74, 235, 255, 0.16),
    0 0 30px rgba(74, 239, 255, 0.7),
    0 0 90px rgba(255, 48, 193, 0.34);
  transform: translate3d(var(--gravity-origin-x), var(--gravity-origin-y), 0) translate(-50%, -50%) scale(0.16);
  transform-origin: center;
  will-change: transform, opacity;
}

.game-gravity-orb::before,
.game-gravity-orb::after,
.game-gravity-orb > i {
  content: "";
  position: absolute;
  inset: -27px;
  border: 2px solid rgba(62, 235, 255, 0.62);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(18deg);
}

.game-gravity-orb::after {
  inset: -45px;
  border-color: rgba(255, 53, 197, 0.46);
  transform: rotateX(72deg) rotateZ(-24deg);
}

.game-gravity-orb > i {
  inset: -72px 9px;
  border-width: 3px;
  border-color: transparent rgba(75, 240, 255, 0.84);
  filter: drop-shadow(0 0 18px #33efff);
  transform: rotate(32deg);
}

.game-gravity-layer.is-traveling .game-gravity-orb {
  animation: game-gravity-jump 420ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.game-gravity-layer.is-absorbing .game-gravity-orb {
  animation: game-gravity-absorb 500ms cubic-bezier(0.18, 0.88, 0.2, 1) both;
}

.game-gravity-layer.is-releasing .game-gravity-orb {
  animation: game-gravity-release 680ms cubic-bezier(0.16, 0.82, 0.18, 1) both;
}

.game-gravity-well {
  position: fixed;
  left: var(--gravity-target-x);
  top: var(--gravity-target-y);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 8px #fff,
    0 0 24px #4eeeff,
    0 0 58px rgba(255, 46, 195, 0.72);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.02);
}

.game-gravity-well > i {
  position: absolute;
  inset: -28px;
  border: 1px solid rgba(82, 239, 255, 0.62);
  border-radius: 50%;
}

.game-gravity-well > i:nth-child(2) {
  inset: -54px;
  border-color: rgba(255, 54, 200, 0.42);
}

.game-gravity-well > i:nth-child(3) {
  inset: -86px;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.24);
}

.game-gravity-layer.is-absorbing .game-gravity-well {
  animation: game-gravity-well-in 500ms ease-out both;
}

.game-gravity-layer.is-releasing .game-gravity-well {
  animation: game-gravity-well-burst 720ms cubic-bezier(0.15, 0.82, 0.22, 1) both;
}

.app-window.is-game-gravity-consumed {
  visibility: visible !important;
  pointer-events: none !important;
  transform-origin: center !important;
  transition: none !important;
  backface-visibility: hidden;
  will-change: transform, opacity;
  animation: game-window-gravity-consume 500ms cubic-bezier(0.72, 0, 0.94, 0.24) both !important;
}

#window-games.is-game-portal-measuring {
  visibility: hidden !important;
  opacity: 0 !important;
  transform: none !important;
}

#window-games.is-game-portal-revealing {
  visibility: visible !important;
  opacity: 0;
  filter: none;
  transform: translate3d(0, 0, 0) scale(0.012, 0.008);
  transform-origin: center;
  transition: none !important;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

#window-games.is-game-portal-revealing.is-game-portal-reveal-active {
  animation: game-window-portal-reveal 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.game-vhs-overlay {
  position: fixed;
  inset: 0;
  z-index: 980;
  overflow: hidden;
  pointer-events: auto;
  background: #050505;
  opacity: 0;
  isolation: isolate;
  backface-visibility: hidden;
  contain: layout paint style;
  will-change: opacity, transform;
}

.game-vhs-overlay.is-active {
  animation: game-vhs-enter 180ms steps(4, end) both;
}

.game-vhs-overlay.is-active.is-clearing {
  animation: game-vhs-exit 560ms steps(8, end) both;
}

.game-vhs-overlay::before,
.game-vhs-overlay::after {
  content: "";
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.game-vhs-overlay::before {
  inset: -8% -5%;
  background:
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(255, 255, 255, 0.12) 6px, rgba(0, 0, 0, 0.42) 7px 9px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.08), transparent 18% 82%, rgba(255, 25, 184, 0.08));
  mix-blend-mode: screen;
  animation: game-vhs-roll 330ms steps(4, end) infinite;
}

.game-vhs-overlay::after {
  left: -10%;
  right: -10%;
  top: 42%;
  height: 18%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.26), rgba(0, 0, 0, 0.78), transparent);
  filter: blur(7px);
  opacity: 0.62;
  animation: game-vhs-tracking 860ms cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.game-vhs-noise {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  opacity: 0.88;
  filter: contrast(1.5) brightness(0.88);
}

.game-vhs-scanlines {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0 1px, transparent 1px 4px);
  box-shadow: inset 0 0 120px #000;
  mix-blend-mode: multiply;
}

.game-vhs-band {
  position: absolute;
  z-index: 4;
  left: -8%;
  top: var(--vhs-y);
  width: 116%;
  height: var(--vhs-height);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.76) 18%, rgba(10, 10, 10, 0.92) 54%, transparent);
  box-shadow:
    0 -2px 6px rgba(255, 255, 255, 0.36),
    0 3px 8px rgba(0, 0, 0, 0.8);
  opacity: 0.56;
  transform: translateX(var(--vhs-shift));
  animation: game-vhs-band var(--vhs-speed) steps(3, end) var(--vhs-delay) infinite alternate;
}

#window-games {
  --game-void: #050508;
  --game-surface: #0a0a0f;
  --game-surface-soft: #0e0e14;
  --game-line: #1a1820;
  --game-silver: #b7b8c2;
  --game-muted: #74747e;
  top: 120px;
  left: clamp(180px, 25vw, 460px);
  isolation: isolate;
  border: 1px solid #17161d;
  border-radius: 9px;
  background:
    radial-gradient(circle at 50% 46%, #111019 0, #0a0a0f 42%, #050508 78%),
    #050508;
  color: var(--game-silver);
  box-shadow:
    inset 0 0 52px rgba(75, 49, 94, 0.055),
    0 0 0 1px rgba(29, 27, 35, 0.7),
    0 0 34px rgba(75, 43, 96, 0.13),
    0 34px 110px rgba(0, 0, 0, 0.72);
  backdrop-filter: none;
}

#window-games::before,
#window-games::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#window-games::before {
  z-index: 0;
  background-image:
    radial-gradient(circle, rgba(198, 190, 214, 0.22) 0 0.55px, transparent 0.9px),
    radial-gradient(circle, rgba(104, 89, 123, 0.18) 0 0.5px, transparent 0.9px);
  background-position: 0 0, 11px 13px;
  background-size: 23px 29px, 37px 31px;
  opacity: 0.18;
  mix-blend-mode: screen;
}

#window-games::after {
  z-index: 3;
  inset: 5px;
  border: 1px solid rgba(91, 72, 108, 0.11);
  border-radius: 5px;
  box-shadow: inset 0 0 28px rgba(76, 47, 92, 0.055);
}

#window-games > .window-titlebar,
#window-games > .window-scroll {
  position: relative;
  z-index: 1;
}

#window-games .window-titlebar {
  grid-template-columns: 1fr auto;
  min-height: 62px;
  padding: 13px 16px 13px 20px;
  border-bottom: 1px solid #17151d;
  background: rgba(5, 5, 8, 0.84);
  color: #777781;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

#window-games .window-titlebar strong {
  position: relative;
  justify-self: start;
  padding-bottom: 8px;
  color: #b8bac4;
  font-size: 13px;
  font-weight: 560;
  letter-spacing: 0.16em;
}

#window-games .window-titlebar strong::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 146px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(132, 116, 155, 0.5) 20%, rgba(98, 86, 116, 0.28) 72%, transparent);
  filter: blur(0.15px);
}

#window-games .traffic-lights,
#window-games .window-meta,
#window-games .window-center-button {
  display: none;
}

#window-games .window-toolbar {
  justify-self: end;
}

#window-games .window-close-button {
  position: relative;
  width: 36px;
  height: 36px;
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(73, 69, 79, 0.18);
  border-radius: 4px;
  background: rgba(9, 8, 12, 0.54);
  color: transparent;
  font-size: 0;
  box-shadow: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

#window-games .window-close-button::after {
  content: "×";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(174, 171, 181, 0.52);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 18px;
  font-weight: 300;
}

#window-games .window-close-button:hover {
  border-color: rgba(116, 35, 48, 0.48);
  background: rgba(41, 9, 16, 0.52);
  box-shadow:
    inset 0 0 14px rgba(104, 17, 35, 0.2),
    0 0 16px rgba(106, 19, 37, 0.16);
  transform: none;
}

#window-games .window-close-button:hover::after,
#window-games.is-game-closing .window-close-button::after {
  color: rgba(194, 75, 91, 0.78);
  text-shadow: 0 0 8px rgba(119, 22, 40, 0.42);
}

#window-games .window-scroll {
  color: var(--game-muted);
  scrollbar-color: #24202b #08080c;
}

#window-games .window-scroll::-webkit-scrollbar {
  width: 8px;
}

#window-games .window-scroll::-webkit-scrollbar-track {
  background: #08080c;
}

#window-games .window-scroll::-webkit-scrollbar-thumb {
  border: 2px solid #08080c;
  border-radius: 4px;
  background: #29242f;
}

#window-games .section-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-bottom: 4px;
  color: #80778d;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 520;
  letter-spacing: 0.18em;
}

#window-games .section-kicker::after {
  content: "";
  width: min(30vw, 210px);
  height: 1px;
  margin-left: 16px;
  background: linear-gradient(90deg, rgba(105, 90, 122, 0.32), transparent);
}

#window-games .game-card {
  gap: 22px;
  padding: 18px;
  border: 1px solid #1a1820;
  border-radius: 7px;
  background:
    radial-gradient(circle at 46% 48%, rgba(62, 52, 73, 0.1), transparent 56%),
    rgba(10, 10, 15, 0.88);
  box-shadow:
    inset 0 0 34px rgba(88, 61, 101, 0.035),
    0 18px 46px rgba(0, 0, 0, 0.34);
}

#window-games .game-cover-link {
  position: relative;
  border: 1px solid #1a1920;
  border-radius: 5px;
  background: #07080a;
  box-shadow: inset 0 0 32px rgba(0, 0, 0, 0.68);
}

#window-games .game-cover-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 48%, transparent 24%, rgba(2, 2, 5, 0.46) 100%);
  pointer-events: none;
}

#window-games .game-cover-link:hover {
  box-shadow:
    inset 0 0 28px rgba(50, 40, 61, 0.16),
    0 18px 42px rgba(0, 0, 0, 0.42);
  transform: translateY(-2px);
}

#window-games .game-cover {
  filter: grayscale(0.34) saturate(0.56) brightness(0.62) contrast(1.12);
  transition: filter 220ms ease, transform 220ms ease;
}

#window-games .game-cover-link:hover .game-cover {
  filter: grayscale(0.2) saturate(0.68) brightness(0.74) contrast(1.1);
  transform: scale(1.012);
}

#window-games .game-copy {
  justify-content: center;
}

#window-games .game-platform {
  color: #65636d;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 520;
}

#window-games .project-tag,
#window-games .project-tag.green {
  min-height: 26px;
  border: 1px solid rgba(100, 87, 116, 0.22);
  border-radius: 4px;
  background: rgba(76, 64, 89, 0.08);
  color: #777080;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 540;
}

#window-games .game-copy h3 {
  margin-bottom: 2px;
  color: #b8bac2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 540;
  letter-spacing: 0.04em;
}

#window-games .game-copy p,
#window-games .window-scroll p {
  color: #777780;
  font-size: 14px;
  font-weight: 440;
  line-height: 1.9;
}

#window-games .game-action {
  min-height: 40px;
  border: 1px solid #24212b;
  border-radius: 4px;
  background: #0c0c12;
  color: #86858e;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 520;
  letter-spacing: 0.04em;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

#window-games .game-action:hover {
  border-color: #393141;
  background: #121019;
  color: #b2aeb9;
}

#window-games .primary-game-action {
  border-color: #2b2532;
  background: #111017;
  color: #a8a5ae;
}

#window-games.is-game-closing {
  pointer-events: none !important;
  transform-origin: center !important;
  transition: none !important;
  backface-visibility: hidden;
  will-change: transform, opacity;
  animation: game-window-close-collapse 620ms cubic-bezier(0.4, 0, 0.2, 1) both !important;
}

#window-games.is-game-close-finalizing {
  opacity: 0 !important;
}

.game-close-singularity {
  position: fixed;
  z-index: 950;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(151, 133, 171, 0.36);
  border-radius: 50%;
  background: #d5cede;
  box-shadow:
    0 0 7px rgba(210, 199, 223, 0.58),
    0 0 24px rgba(86, 57, 105, 0.36),
    0 0 54px rgba(48, 31, 60, 0.28);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.02);
}

.game-close-singularity::before,
.game-close-singularity::after {
  content: "";
  position: absolute;
  inset: -20px;
  border: 1px solid rgba(104, 85, 123, 0.24);
  border-radius: 50%;
}

.game-close-singularity::after {
  inset: -42px;
  border-color: rgba(81, 63, 96, 0.15);
}

.game-close-singularity.is-active {
  animation: game-close-singularity-fade 620ms ease-out both;
}

.game-close-singularity.is-active::before {
  animation: game-close-singularity-ring 620ms ease-in both;
}

.game-close-singularity.is-active::after {
  animation: game-close-singularity-ring 620ms ease-in 40ms both;
}

#window-home {
  top: 108px;
  left: clamp(150px, 20vw, 320px);
}

#window-about {
  top: 136px;
  left: clamp(220px, 32vw, 540px);
}

#window-articles {
  top: 128px;
  left: clamp(170px, 24vw, 420px);
}

#window-works {
  top: 152px;
  left: clamp(260px, 36vw, 620px);
}

.window-titlebar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-size: 14px;
}

.window-titlebar strong {
  color: var(--ink);
  font-weight: 900;
}

.window-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.window-titlebar[data-drag-handle] {
  cursor: grab;
}

.app-window.is-dragging .window-titlebar[data-drag-handle] {
  cursor: grabbing;
}

.traffic-lights {
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
  background: #d9d0c6;
}

.window-dot.close {
  background: #ff6a56;
}

.window-dot.mid {
  background: #f6cf5b;
}

.window-dot.end {
  background: #4ecf84;
}

.window-meta {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.window-close-button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 106, 86, 0.24);
  border-radius: 999px;
  background: rgba(255, 106, 86, 0.14);
  color: #b62d19;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.window-center-button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(31, 23, 16, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.window-center-button:hover {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 22px rgba(31, 23, 16, 0.08);
  transform: translateY(-1px);
}

.window-close-button:hover {
  background: rgba(255, 106, 86, 0.22);
  box-shadow: 0 10px 22px rgba(255, 106, 86, 0.14);
  transform: translateY(-1px);
}

.window-scroll {
  overflow: auto;
  max-height: calc(82vh - 54px);
  padding: 28px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.immersive-window {
  inset: 0 !important;
  width: 100vw;
  height: 100vh;
  max-height: none;
  border: 0;
  border-radius: 0;
  background: #050609;
  color: #f6f7fb;
  box-shadow: none;
  backdrop-filter: none;
  transform: translateY(100%);
}

.immersive-window.is-open {
  transform: translateY(0);
}

.immersive-window.is-focused {
  box-shadow: none;
}

.immersive-window .window-titlebar {
  position: relative;
  z-index: 10;
  min-height: 62px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 6, 9, 0.86);
  color: rgba(246, 247, 251, 0.66);
  backdrop-filter: blur(18px);
}

.immersive-window .window-titlebar strong {
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.immersive-window .window-meta,
.immersive-window .window-center-button {
  display: none;
}

.immersive-window .window-close-button {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.immersive-window .window-close-button:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.26);
}

.immersive-scroll {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  max-height: none;
  height: calc(100vh - 62px);
  padding: 0;
  outline: none;
  overscroll-behavior: none;
  scroll-behavior: auto;
  touch-action: pan-x;
  scrollbar-width: none;
}

.immersive-scroll::-webkit-scrollbar {
  display: none;
}

.immersive-scroll::after {
  content: "";
  position: fixed;
  inset: 62px 0 0;
  z-index: 3;
  background:
    radial-gradient(circle at 50% 44%, transparent 0 32%, rgba(2, 3, 7, 0.12) 62%, rgba(2, 3, 7, 0.66) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.24), transparent 18% 82%, rgba(0, 0, 0, 0.3));
  box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.36);
  pointer-events: none;
}

.immersive-backdrop {
  position: fixed;
  inset: 62px 0 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 20% 28%, rgba(97, 150, 255, 0.24), transparent 30%),
    radial-gradient(circle at 82% 58%, rgba(239, 122, 26, 0.2), transparent 26%),
    #050609;
  background-size: 52px 52px, 52px 52px, auto, auto, auto;
}

.immersive-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, transparent 0 34%, rgba(0, 0, 0, 0.42) 72%),
    repeating-linear-gradient(90deg, transparent 0 8px, rgba(255, 255, 255, 0.035) 8px 10px);
}

.sphere-scene {
  position: fixed;
  inset: 62px 0 0;
  z-index: 2;
  display: block;
  width: 100vw;
  height: calc(100vh - 62px);
  pointer-events: none;
  filter: saturate(1.06) contrast(1.04);
  transition: filter 480ms ease;
}

.immersive-window.is-sphere-moving .sphere-scene {
  filter: saturate(1.15) contrast(1.06) brightness(1.05);
}

.immersive-window.is-sphere-moving .immersive-backdrop::before {
  animation: sphere-grid-drift 760ms cubic-bezier(0.4, 0, 0.2, 1);
}

.immersive-window.sphere-fallback .sphere-scene {
  display: none;
}

.particle-collapse {
  position: fixed;
  z-index: 760;
  width: var(--particle-size, 7px);
  height: var(--particle-size, 7px);
  margin-left: calc(var(--particle-size, 7px) / -2);
  margin-top: calc(var(--particle-size, 7px) / -2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 18px hsla(var(--particle-hue, 205deg), 92%, 68%, 0.7);
  pointer-events: none;
  animation: particle-collapse 640ms cubic-bezier(0.2, 0.8, 0.18, 1) forwards;
}

.article-stage,
.works-stage {
  position: relative;
  z-index: auto;
  min-height: calc(100vh - 62px);
}

.works-stage {
  width: max(1780px, 140vw);
  padding: clamp(28px, 3.6vw, 54px) clamp(42px, 6vw, 96px);
  overflow: visible;
}

.works-hero {
  position: sticky;
  z-index: 4;
  left: clamp(42px, 6vw, 96px);
  width: min(430px, 34vw);
  margin-bottom: 10px;
  opacity: 0.86;
  pointer-events: none;
}

.works-hero h2,
.article-copy h2 {
  color: #fff;
  letter-spacing: 0;
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.48);
}

.works-hero h2,
.article-copy h2 {
  font-size: clamp(34px, 4.4vw, 66px);
}

.works-hero p,
.article-copy p,
.article-text p,
.work-slide p {
  color: rgba(246, 247, 251, 0.7);
}

.works-carousel {
  position: relative;
  z-index: 1;
  display: flex;
  box-sizing: content-box;
  width: max-content;
  align-items: center;
  gap: clamp(24px, 2.8vw, 46px);
  min-height: 58vh;
  padding: 22px 22vw 86px 16vw;
  perspective: 1500px;
  perspective-origin: 50% 42%;
  transform-style: preserve-3d;
  opacity: 1;
  transition: opacity 360ms ease;
}

.work-slide {
  position: relative;
  flex: 0 0 clamp(260px, 27vw, 410px);
  min-height: clamp(310px, 40vh, 450px);
  padding: clamp(22px, 3vw, 36px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 20% 16%, rgba(255, 255, 255, 0.34), transparent 18%),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.52);
  opacity: var(--sphere-opacity, 1);
  transform:
    translateX(calc(var(--sphere-offset, 0) * -28px))
    translateZ(var(--sphere-depth, 0px))
    rotateY(calc(var(--sphere-offset, 0) * -31deg))
    rotateZ(calc(var(--sphere-offset, 0) * 2deg))
    translateY(var(--lift, 0))
    scale(var(--sphere-scale, 1));
  transform-style: preserve-3d;
  filter: saturate(0.58) brightness(0.62);
  will-change: transform, opacity;
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 320ms ease,
    box-shadow 320ms ease,
    opacity 320ms ease,
    filter 320ms ease;
}

.work-slide.is-active {
  filter: saturate(1.08) brightness(1.04);
}

.work-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.86;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.18), transparent 38%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.34), transparent 18%),
    var(--slide-bg);
  z-index: -1;
}

.work-slide::after {
  content: "";
  position: absolute;
  inset: auto 24px 24px;
  height: 36%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.58;
}

.work-slide:hover {
  --lift: -14px;
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 42px 110px rgba(0, 0, 0, 0.64);
}

.slide-food {
  --slide-bg: linear-gradient(135deg, #f78154, #f2c14e 48%, #6dd47e);
}

.slide-site {
  --slide-bg: linear-gradient(135deg, #6c63ff, #50c8ff 52%, #e8f7ff);
}

.slide-ai {
  --slide-bg: linear-gradient(135deg, #111827, #00d4ff 45%, #9dff7a);
}

.slide-flow {
  --slide-bg: linear-gradient(135deg, #ff4da6, #7c5cff 52%, #ffd36e);
}

.work-slide h3 {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  color: #fff;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 0.98;
  letter-spacing: 0;
}

.work-slide p {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  font-size: 16px;
}

.article-stage {
  width: max(2200px, 172vw);
  padding: clamp(24px, 3.8vw, 54px) clamp(42px, 7vw, 120px);
  overflow: visible;
}

.article-backdrop {
  background:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 18% 62%, rgba(147, 92, 255, 0.28), transparent 30%),
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.16), transparent 28%),
    #07070b;
  background-size: 58px 58px, 58px 58px, auto, auto, auto;
}

.article-copy {
  position: sticky;
  z-index: 4;
  left: clamp(42px, 7vw, 120px);
  width: min(430px, 34vw);
  margin-bottom: 2px;
  transform: translateY(-4px);
  opacity: 0.86;
  pointer-events: none;
}

.sphere-copy {
  position: fixed;
  z-index: 5;
  bottom: clamp(38px, 6vh, 72px);
  width: min(460px, 38vw);
  margin: 0;
  opacity: 1;
  color: #fff;
  pointer-events: none;
  transform: none;
}

.works-hero.sphere-copy {
  left: clamp(34px, 5vw, 82px);
}

.article-copy.sphere-copy {
  right: clamp(34px, 5vw, 82px);
  left: auto;
}

.sphere-copy::before {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 54px;
  left: -18px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.08));
  box-shadow: 0 0 22px rgba(125, 187, 255, 0.38);
}

.sphere-copy-content {
  opacity: 1;
  transform: translateY(0) scale(1);
  transform-origin: bottom left;
  filter: blur(0);
  transition:
    opacity 260ms ease,
    transform 440ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 260ms ease;
}

.sphere-copy.is-changing .sphere-copy-content {
  opacity: 0;
  transform: translateY(18px) scale(0.965);
  filter: blur(7px);
}

.sphere-copy.is-arriving .sphere-copy-content {
  animation: sphere-copy-arrive 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.sphere-copy .section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.64);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.sphere-copy .section-kicker span:first-child {
  color: #fff;
}

.sphere-copy .section-kicker span + span::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.42);
}

.sphere-copy h2,
.works-hero.sphere-copy h2,
.article-copy.sphere-copy h2 {
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.5vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 18px 52px rgba(0, 0, 0, 0.68);
}

.sphere-copy [data-sphere-description] {
  max-width: 420px;
  margin: 16px 0 0;
  color: rgba(244, 247, 255, 0.7);
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.72;
  letter-spacing: 0;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.72);
}

.sphere-copy-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(110, 232, 255, 0.58);
  border-radius: 4px;
  color: #dffcff;
  background: rgba(6, 18, 30, 0.76);
  box-shadow: inset 0 0 18px rgba(76, 228, 255, 0.06), 0 0 20px rgba(76, 228, 255, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0;
  pointer-events: auto;
  text-shadow: 0 0 16px rgba(76, 228, 255, 0.58);
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.sphere-copy-action::after {
  content: "↗";
  color: #d76dff;
}

.sphere-copy-action:hover {
  border-color: #e070ff;
  color: #fff;
  background: rgba(27, 13, 42, 0.82);
  box-shadow: inset 0 0 20px rgba(224, 112, 255, 0.08), 0 0 24px rgba(105, 233, 255, 0.18);
  transform: translateX(4px);
}

.sphere-copy-action[hidden] {
  display: none;
}

.sphere-status {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 36px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.54);
  pointer-events: auto;
}

.sphere-index {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex: 0 0 auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0;
}

.sphere-index strong {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.sphere-progress {
  position: relative;
  flex: 0 1 112px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.sphere-progress i {
  position: absolute;
  inset: 0;
  background: #fff;
  box-shadow: 0 0 14px rgba(118, 186, 255, 0.84);
  transform: scaleX(0.25);
  transform-origin: left center;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sphere-dots {
  display: flex;
  align-items: center;
  gap: 2px;
}

.sphere-dot {
  position: relative;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.sphere-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  transform: translate(-50%, -50%);
  transition:
    width 300ms cubic-bezier(0.22, 1, 0.36, 1),
    background 300ms ease,
    box-shadow 300ms ease;
}

.sphere-dot:hover::after,
.sphere-dot:focus-visible::after {
  background: rgba(255, 255, 255, 0.72);
}

.sphere-dot:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.72);
  outline-offset: -4px;
  border-radius: 50%;
}

.sphere-dot.is-active::after {
  width: 16px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 0 16px rgba(109, 177, 255, 0.82);
}

.article-rail {
  position: relative;
  z-index: 1;
  display: flex;
  box-sizing: content-box;
  width: max-content;
  gap: clamp(20px, 2.4vw, 34px);
  align-items: center;
  min-height: 62vh;
  padding: 16px calc(50vw - min(470px, 36vw)) 80px;
  perspective: 1400px;
  perspective-origin: 50% 48%;
  transform-style: preserve-3d;
  opacity: 1;
  transition: opacity 360ms ease;
}

.immersive-window.sphere-ready .works-carousel,
.immersive-window.sphere-ready .article-rail {
  opacity: 0.035;
}

.article-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(240px, 0.74fr);
  gap: clamp(20px, 3vw, 42px);
  align-items: center;
  flex: 0 0 min(780px, 64vw);
  opacity: var(--sphere-opacity, 1);
  transform:
    translateX(calc(var(--sphere-offset, 0) * 22px))
    translateZ(var(--sphere-depth, 0px))
    rotateY(calc(var(--sphere-offset, 0) * 24deg))
    rotateZ(calc(var(--sphere-offset, 0) * -1.4deg))
    scale(var(--sphere-scale, 1));
  transform-style: preserve-3d;
  filter: saturate(0.56) brightness(0.58);
  will-change: transform, opacity;
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 320ms ease,
    filter 320ms ease;
}

.article-panel[data-article-url] {
  cursor: pointer;
}

.article-panel[data-article-url]::after {
  content: "点击卡片阅读全文  ↗";
  position: absolute;
  right: 0;
  bottom: -42px;
  padding: 8px 11px;
  border: 1px solid rgba(108, 231, 255, 0.46);
  border-radius: 4px;
  color: rgba(226, 251, 255, 0.88);
  background: rgba(5, 14, 24, 0.82);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  pointer-events: none;
}

.article-panel[data-article-url]:focus-visible {
  outline: 2px solid rgba(105, 233, 255, 0.9);
  outline-offset: 8px;
}

.immersive-scroll[data-sphere-card-hover="true"] {
  cursor: pointer;
}

.article-panel.is-active {
  filter: saturate(1.04) brightness(1.04);
}

.article-visual {
  position: relative;
  min-height: clamp(260px, 42vh, 440px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 44%),
    var(--article-bg);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.62);
  transform: rotateZ(-3deg) skewY(-1.4deg);
}

.article-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.22) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 2px, transparent 2px),
    radial-gradient(circle at 30% 42%, rgba(0, 0, 0, 0.42), transparent 24%);
  background-size: 64px 64px, 64px 64px, auto;
  mix-blend-mode: overlay;
}

.article-visual::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(255, 255, 255, 0.035),
    0 0 80px rgba(255, 255, 255, 0.22);
}

.visual-orbit,
.visual-line {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 1;
  pointer-events: none;
}

.visual-orbit {
  width: 170px;
  height: 170px;
  margin: -85px 0 0 -85px;
  border: 2px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  animation: slow-spin 14s linear infinite;
}

.visual-line {
  width: 72%;
  height: 2px;
  background: rgba(255, 255, 255, 0.58);
  transform: translate(-50%, -50%) rotate(-18deg);
}

.visual-system {
  --article-bg: linear-gradient(135deg, #111827, #3d7cff 44%, #f7e58d);
}

.visual-design-system {
  --article-bg: linear-gradient(135deg, #02050c, #0a7ea8 38%, #6046d8 67%, #f05fd3);
}

.visual-design-system .visual-orbit {
  box-shadow:
    0 0 0 34px rgba(69, 231, 255, 0.06),
    0 0 70px rgba(113, 84, 255, 0.48);
}

.visual-review {
  --article-bg: linear-gradient(135deg, #2e1065, #a855f7 44%, #f8fafc);
}

.visual-ai {
  --article-bg: linear-gradient(135deg, #001219, #0a9396 46%, #ee9b00);
}

.visual-content {
  --article-bg: linear-gradient(135deg, #2d0b1f, #ef476f 48%, #ffd166);
}

.article-text {
  position: relative;
  z-index: 1;
}

.article-text time {
  display: inline-flex;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.74);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  letter-spacing: 0.12em;
}

.article-text h3 {
  color: #fff;
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

.article-text p {
  max-width: 430px;
  font-size: clamp(15px, 1.1vw, 18px);
}

.window-section + .window-section {
  margin-top: 24px;
}

.intro-section {
  padding-bottom: 6px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metric-strip article,
.profile-badge {
  padding: 18px;
  border: 1px solid rgba(31, 23, 16, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
}

.metric-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-strip strong {
  display: block;
  margin-top: 10px;
  font-size: 32px;
  font-weight: 950;
}

.home-grid,
.info-columns,
.works-grid,
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.soft-panel,
.list-card,
.work-card {
  padding: 20px;
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr);
  gap: 18px;
  align-items: start;
}

.profile-badge {
  display: grid;
  gap: 8px;
  place-items: start;
}

.profile-badge span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.about-timeline {
  padding: 20px;
  border: 1px solid rgba(72, 225, 255, 0.25);
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 18%, rgba(66, 212, 255, 0.12), transparent 32%),
    radial-gradient(circle at 88% 82%, rgba(255, 54, 188, 0.1), transparent 34%),
    rgba(3, 8, 22, 0.94);
  box-shadow: inset 0 0 40px rgba(70, 218, 255, 0.08), 0 18px 44px rgba(4, 8, 24, 0.22);
  color: #edfaff;
}

.about-timeline-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.about-timeline-heading h3,
.about-timeline-heading .section-kicker {
  margin: 0;
}

.about-timeline-heading .section-kicker {
  color: rgba(90, 236, 255, 0.76);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
}

.about-timeline-heading h3 {
  margin-top: 3px;
  color: #f1fbff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 20px;
  letter-spacing: 0;
}

.about-timeline-readout {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(209, 244, 255, 0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.about-timeline-readout span {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.about-timeline-readout strong {
  color: #75efff;
  font-size: 20px;
  text-shadow: 0 0 15px rgba(82, 232, 255, 0.64);
}

.about-timeline-viewport {
  --about-timeline-depth: 126px;
  --about-cube-primary: #35e7ff;
  --about-cube-primary-rgb: 53 231 255;
  --about-cube-secondary: #8f5cff;
  --about-cube-secondary-rgb: 143 92 255;
  --about-cube-tertiary: #ff3fc5;
  --about-cube-tertiary-rgb: 255 63 197;
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0 0 27px 27px;
  outline: none;
  background:
    linear-gradient(rgba(80, 220, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 220, 255, 0.075) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(37, 117, 178, 0.18), transparent 66%),
    #020713;
  background-size: 24px 24px, 24px 24px, auto, auto;
  box-shadow:
    inset 0 0 42px rgba(57, 219, 255, 0.12),
    inset 0 0 82px rgba(143, 61, 255, 0.08),
    0 0 0 1px rgba(255, 57, 186, 0.06);
  perspective: 1500px;
  perspective-origin: 50% 48%;
  touch-action: none;
  user-select: none;
  cursor: ns-resize;
  isolation: isolate;
}

.about-network-field {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  opacity: 0.58;
  mix-blend-mode: screen;
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.34) 0 36%, #000 72%, transparent 100%);
}

.about-network-link {
  position: absolute;
  top: var(--network-y);
  left: var(--network-x);
  width: var(--network-length);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgb(var(--about-cube-primary-rgb) / 0.22) 18% 82%,
    transparent
  );
  opacity: var(--network-opacity);
  transform: rotate(var(--network-angle));
  transform-origin: left center;
}

.about-network-link::before,
.about-network-link::after {
  content: "";
  position: absolute;
  top: -2px;
  width: 4px;
  height: 4px;
  border: 1px solid rgb(var(--about-cube-secondary-rgb) / 0.5);
  border-radius: 50%;
  background: rgba(3, 11, 25, 0.9);
  box-shadow: 0 0 8px rgb(var(--about-cube-secondary-rgb) / 0.32);
}

.about-network-link::before {
  left: 0;
}

.about-network-link::after {
  right: 0;
}

.about-network-link i {
  position: absolute;
  top: -1px;
  left: 0;
  width: clamp(18px, 22%, 54px);
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--about-cube-tertiary) 36%,
    #fff 58%,
    transparent
  );
  box-shadow:
    0 0 7px var(--about-cube-primary),
    0 0 14px rgb(var(--about-cube-secondary-rgb) / 0.66);
  animation: about-network-pulse var(--network-duration) linear var(--network-delay) infinite;
}

.about-network-node {
  position: absolute;
  width: 4px;
  height: 4px;
  border: 1px solid rgb(var(--about-cube-primary-rgb) / 0.55);
  border-radius: 50%;
  background: rgb(var(--about-cube-primary-rgb) / 0.28);
  box-shadow: 0 0 10px rgb(var(--about-cube-primary-rgb) / 0.48);
  animation: about-network-node 2600ms ease-in-out var(--node-delay) infinite;
}

.about-window-cube-hud {
  position: absolute;
  top: 18px;
  right: 24px;
  left: 24px;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(100, 235, 255, 0.68);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  pointer-events: none;
}

.about-timeline-viewport:focus-visible {
  border-color: rgba(106, 240, 255, 0.78);
  box-shadow:
    inset 0 0 42px rgba(57, 219, 255, 0.15),
    0 0 0 2px rgba(95, 235, 255, 0.28),
    0 0 32px rgba(67, 222, 255, 0.2);
}

.about-timeline-viewport::before,
.about-timeline-viewport::after {
  content: "";
  position: absolute;
  z-index: 8;
  pointer-events: none;
}

.about-timeline-viewport::before {
  inset: 0;
  border: 10px solid transparent;
  background:
    linear-gradient(90deg, #5cecff 0 28px, transparent 28px) top left,
    linear-gradient(180deg, #5cecff 0 28px, transparent 28px) top left,
    linear-gradient(-90deg, #ff42bd 0 28px, transparent 28px) bottom right,
    linear-gradient(0deg, #ff42bd 0 28px, transparent 28px) bottom right;
  background-repeat: no-repeat;
  background-size: 52px 1px, 1px 52px, 52px 1px, 1px 52px;
  filter: drop-shadow(0 0 6px rgba(83, 233, 255, 0.72));
  opacity: 0.82;
}

.about-timeline-viewport::after {
  inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 4px, rgba(177, 245, 255, 0.055) 4px 5px);
  mix-blend-mode: screen;
  animation: about-timeline-scan 2.8s linear infinite;
}

.about-timeline-cube {
  --about-timeline-angle: 0deg;
  position: absolute;
  inset: 62px 24px 42px;
  z-index: 2;
  transform: translateZ(calc(var(--about-timeline-depth) * -1)) rotateX(var(--about-timeline-angle));
  transform-style: preserve-3d;
  transition: transform 720ms cubic-bezier(0.2, 0.78, 0.18, 1);
  will-change: transform;
}

.about-timeline-cube.is-immediate {
  transition: none;
}

.about-timeline-face {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  overflow: hidden;
  padding: 42px 50px;
  border: 1px solid rgba(115, 238, 255, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.09), transparent 34%),
    linear-gradient(rgba(83, 225, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 225, 255, 0.07) 1px, transparent 1px),
    linear-gradient(135deg, rgba(8, 23, 48, 0.98), rgba(14, 8, 42, 0.98));
  background-size: auto, 22px 22px, 22px 22px, auto;
  box-shadow:
    inset 0 0 34px rgba(49, 222, 255, 0.13),
    inset 0 -34px 62px rgba(230, 44, 255, 0.08);
  color: #effcff;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  opacity: 0.92;
  transition: opacity 220ms ease, filter 220ms ease;
}

.about-timeline-face::before,
.about-timeline-face::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.about-timeline-face::before {
  top: 0;
  bottom: 0;
  left: 24%;
  width: 1px;
  background: linear-gradient(transparent, rgba(104, 238, 255, 0.5), transparent);
  box-shadow: 0 0 18px rgba(86, 230, 255, 0.54);
}

.about-timeline-face::after {
  top: 18px;
  right: 22px;
  width: 46px;
  height: 12px;
  border-top: 1px solid rgba(255, 75, 195, 0.68);
  border-right: 1px solid rgba(255, 75, 195, 0.68);
  opacity: 0.7;
}

.about-timeline-face:nth-child(1) {
  transform: rotateX(0deg) translateZ(var(--about-timeline-depth));
}

.about-timeline-face:nth-child(2) {
  transform: rotateX(90deg) translateZ(var(--about-timeline-depth));
}

.about-timeline-face:nth-child(3) {
  transform: rotateX(180deg) translateZ(var(--about-timeline-depth));
}

.about-timeline-face:nth-child(4) {
  transform: rotateX(-90deg) translateZ(var(--about-timeline-depth));
}

.about-timeline-face > div {
  min-width: 0;
  transform: translateZ(24px);
}

.about-timeline-number {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(96, 233, 255, 0.58);
  border-radius: 50%;
  background: rgba(12, 42, 70, 0.64);
  color: #88f3ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 22px;
  font-weight: 900;
  box-shadow:
    0 0 0 8px rgba(77, 226, 255, 0.04),
    0 0 28px rgba(68, 226, 255, 0.28),
    inset 0 0 20px rgba(68, 226, 255, 0.16);
  transform: translateZ(30px);
}

.about-timeline-face small {
  display: block;
  margin-bottom: 8px;
  color: rgba(110, 235, 255, 0.7);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.13em;
}

.about-timeline-face strong {
  display: block;
  color: #f4fdff;
  font-size: clamp(19px, 2.4vw, 27px);
  line-height: 1.16;
  text-shadow: 0 0 18px rgba(93, 231, 255, 0.18);
}

.about-timeline-face p,
.window-scroll .about-timeline-face p {
  max-width: 520px;
  margin: 10px 0 0;
  color: rgba(218, 239, 247, 0.66);
  font-size: 14px;
  line-height: 1.55;
}

.about-timeline-face.is-active {
  opacity: 1;
  filter: saturate(1.08) brightness(1.04);
}

.about-profile-face {
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.65fr);
  gap: clamp(24px, 5vw, 64px);
}

.about-profile-face::before {
  left: 67%;
}

.about-profile-copy .section-kicker,
.about-milestone-face .section-kicker {
  margin: 0 0 10px;
  color: rgba(106, 234, 255, 0.72);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.about-profile-copy h2 {
  max-width: 520px;
  margin: 0;
  color: #f2fcff;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.04;
  text-shadow: -3px 0 20px rgba(255, 53, 187, 0.15), 3px 0 20px rgba(66, 226, 255, 0.18);
}

.about-profile-copy > p:last-of-type {
  max-width: 560px;
  margin: 20px 0 0;
  color: rgba(216, 239, 247, 0.68);
  font-size: 15px;
  line-height: 1.72;
}

.about-signal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.about-signal-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(89, 231, 255, 0.26);
  background: rgba(30, 78, 96, 0.22);
  color: rgba(206, 246, 252, 0.74);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  box-shadow: inset 0 0 12px rgba(65, 221, 255, 0.08);
}

.about-profile-badge {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 230px;
  border: 1px solid rgba(89, 233, 255, 0.22);
  background:
    linear-gradient(rgba(81, 226, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(81, 226, 255, 0.08) 1px, transparent 1px),
    rgba(8, 20, 42, 0.72);
  background-size: 20px 20px, 20px 20px, auto;
  box-shadow: inset 0 0 42px rgba(53, 217, 255, 0.1), 0 0 40px rgba(55, 209, 255, 0.08);
}

.about-profile-badge > strong {
  position: relative;
  z-index: 2;
  color: #f1fdff;
  font-size: clamp(24px, 3.5vw, 38px);
  text-shadow: 0 0 20px rgba(74, 226, 255, 0.42);
}

.about-profile-badge > span:last-child {
  position: absolute;
  bottom: 24px;
  color: rgba(172, 232, 242, 0.48);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.11em;
}

.about-profile-ring {
  position: absolute;
  width: 132px;
  aspect-ratio: 1;
  border: 1px solid rgba(93, 235, 255, 0.5);
  border-radius: 50%;
  box-shadow:
    0 0 0 18px rgba(79, 226, 255, 0.035),
    0 0 0 42px rgba(255, 57, 190, 0.025),
    0 0 36px rgba(71, 226, 255, 0.2);
  animation: about-profile-ring 9s linear infinite;
}

.about-profile-ring::before,
.about-profile-ring::after {
  content: "";
  position: absolute;
  inset: 14px -12px;
  border: 1px solid rgba(255, 69, 194, 0.26);
  border-radius: 50%;
  transform: rotateX(68deg);
}

.about-profile-ring::after {
  inset: -12px 14px;
  border-color: rgba(91, 230, 255, 0.3);
  transform: rotateY(68deg);
}

.about-milestone-face .about-timeline-number {
  width: 82px;
  height: 82px;
  font-size: 24px;
}

.about-milestone-face > div {
  max-width: 560px;
}

.about-milestone-face strong {
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.04;
}

.about-milestone-face p,
.window-scroll .about-milestone-face p {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.72;
}

.about-signal-meter {
  display: flex;
  align-items: end;
  gap: 6px;
  height: 28px;
  margin-top: 28px;
}

.about-signal-meter i {
  width: 42px;
  height: 4px;
  background: rgba(102, 232, 255, 0.22);
  box-shadow: 0 0 10px rgba(84, 229, 255, 0.1);
}

.about-signal-meter i:nth-child(2) {
  height: 8px;
}

.about-signal-meter i:nth-child(3) {
  height: 14px;
  background: rgba(99, 235, 255, 0.7);
  box-shadow: 0 0 14px rgba(80, 230, 255, 0.58);
}

.about-signal-meter i:nth-child(4) {
  height: 9px;
  background: rgba(149, 103, 255, 0.58);
}

.about-signal-meter i:nth-child(5) {
  height: 5px;
  background: rgba(255, 67, 188, 0.58);
}

.about-timeline-void {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  color: rgba(101, 235, 255, 0.3);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.2em;
}

.about-timeline-cube.is-rotating .about-timeline-face {
  animation: about-timeline-signal 720ms steps(7, end) both;
}

.about-timeline-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 7;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(116, 239, 255, 0.32);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.about-timeline-crosshair::before,
.about-timeline-crosshair::after {
  content: "";
  position: absolute;
  background: rgba(113, 238, 255, 0.3);
}

.about-timeline-crosshair::before {
  top: 8px;
  left: -10px;
  width: 36px;
  height: 1px;
}

.about-timeline-crosshair::after {
  top: -10px;
  left: 8px;
  width: 1px;
  height: 36px;
}

.about-timeline-dots {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 10;
  display: flex;
  gap: 7px;
  pointer-events: none;
}

.about-timeline-dot {
  width: 24px;
  height: 3px;
  border: 0;
  background: rgba(173, 239, 255, 0.18);
  transition: background 220ms ease, box-shadow 220ms ease, width 220ms ease;
}

.about-timeline-dot.is-active {
  width: 40px;
  background: #6cecff;
  box-shadow: 0 0 14px rgba(86, 232, 255, 0.72), 8px 0 18px rgba(255, 60, 185, 0.28);
}

.window-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.search-field {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: min(280px, 100%);
  padding: 0 14px;
  border: 1px solid rgba(31, 23, 16, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
}

.search-field input {
  width: 100%;
  min-height: 46px;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
}

.card-list,
.works-grid,
.games-grid {
  gap: 16px;
}

.games-grid {
  grid-template-columns: 1fr;
}

.game-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(31, 23, 16, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.58);
}

.game-cover-link {
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(18, 37, 31, 0.84);
  box-shadow: 0 18px 42px rgba(35, 25, 17, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.game-cover-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(35, 25, 17, 0.16);
}

.game-cover {
  display: block;
  width: 100%;
  height: auto;
}

.game-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.game-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.game-platform {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.game-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(31, 23, 16, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.primary-game-action {
  background: var(--ink);
  color: #fff;
}

.list-card time,
.project-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(239, 122, 26, 0.12);
  color: var(--orange);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.project-tag.blue {
  background: rgba(86, 144, 255, 0.12);
  color: var(--blue);
}

.project-tag.green {
  background: rgba(78, 207, 132, 0.14);
  color: #228b56;
}

.project-tag.pink {
  background: rgba(238, 116, 165, 0.14);
  color: #b2336f;
}

.list-card.is-hidden,
.work-card.is-hidden {
  display: none;
}

.dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 110;
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 250, 242, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  transform: translateX(-50%);
}

.dock button {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 70px;
  padding: 10px 12px 8px;
  border-radius: 18px;
  background: transparent;
  transition: transform 160ms ease, background 160ms ease;
}

.dock button span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.64);
  font-size: 18px;
  box-shadow: 0 12px 24px rgba(69, 44, 20, 0.12);
}

.dock button small {
  font-size: 11px;
  font-weight: 900;
}

.dock button:hover,
.dock button.is-active {
  transform: translateY(-6px) scale(1.04);
  background: rgba(255, 255, 255, 0.5);
}

.cursor-trail,
.click-sparkle {
  position: fixed;
  z-index: 160;
  pointer-events: none;
}

.cursor-trail {
  width: var(--trail-size, 12px);
  height: var(--trail-size, 12px);
  margin-left: calc(var(--trail-size, 12px) / -2);
  margin-top: calc(var(--trail-size, 12px) / -2);
  border-radius: 50%;
  background: linear-gradient(135deg, hsla(var(--trail-hue), 86%, 74%, 0.88), rgba(255, 255, 255, 0.2));
  box-shadow: 0 0 18px hsla(var(--trail-hue), 90%, 75%, 0.52);
  animation: trail-fade 480ms ease-out forwards;
}

.click-sparkle {
  font-size: 22px;
  transform: translate(-50%, -50%);
  animation: sparkle-burst 780ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.click-sparkle.is-heart {
  color: #ff5d9e;
}

.click-sparkle.is-star {
  color: #ffbb33;
}

.click-sparkle.is-flower {
  color: #6bc7ff;
}

.click-sparkle.is-moon {
  color: #7c70ff;
}

#waifu {
  right: 50px !important;
  left: auto !important;
  bottom: 94px !important;
  z-index: 100 !important;
  transform-origin: bottom right;
  transform: scale(0.82);
}

@keyframes about-book-open {
  0% {
    opacity: 0.12;
    filter: brightness(0.54) saturate(1.55) blur(1.5px);
    transform: translateZ(calc(var(--about-window-depth) * -1)) rotateY(-90deg);
  }

  12% {
    opacity: 1;
    filter: brightness(0.76) saturate(1.45) blur(0);
  }

  34% {
    filter: brightness(1.12) saturate(1.3);
  }

  100% {
    opacity: 1;
    filter: none;
    transform: translateZ(0) rotateY(0deg);
  }
}

@keyframes about-book-close {
  0% {
    opacity: 1;
    filter: none;
    transform: translateZ(0) rotateY(0deg);
  }

  58% {
    opacity: 1;
    filter: brightness(0.78) saturate(1.48);
  }

  100% {
    opacity: 0.08;
    filter: brightness(0.42) saturate(1.7) blur(1.5px);
    transform: translateZ(calc(var(--about-window-depth) * -1)) rotateY(-90deg);
  }
}

@keyframes about-front-depth-open {
  from { transform: translateZ(var(--about-window-depth)); }
  to { transform: translateZ(0); }
}

@keyframes about-front-depth-close {
  from { transform: translateZ(0); }
  to { transform: translateZ(var(--about-window-depth)); }
}

@keyframes about-profile-ring {
  to {
    transform: rotate(360deg);
  }
}

@keyframes about-auto-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes about-network-pulse {
  0%, 12% {
    opacity: 0;
    transform: translateX(-100%) scaleX(0.45);
  }

  18% {
    opacity: 0.92;
  }

  72% {
    opacity: 0.72;
  }

  86%, 100% {
    opacity: 0;
    transform: translateX(calc(var(--network-length) - 100%)) scaleX(1);
  }
}

@keyframes about-network-node {
  0%, 100% {
    opacity: 0.22;
    scale: 0.72;
  }

  48% {
    opacity: 0.78;
    scale: 1.34;
  }
}

@keyframes about-side-scan {
  from { translate: 0 -7px; }
  to { translate: 0 7px; }
}

@keyframes about-timeline-scan {
  0% { translate: 0 -10px; opacity: 0.3; }
  48% { opacity: 0.58; }
  100% { translate: 0 10px; opacity: 0.3; }
}

@keyframes about-timeline-signal {
  0%, 100% {
    filter: none;
  }

  18% {
    filter: brightness(1.3) saturate(1.35) drop-shadow(-7px 0 0 rgba(255, 54, 185, 0.16));
  }

  44% {
    filter: brightness(0.86) saturate(1.5) drop-shadow(8px 0 0 rgba(61, 227, 255, 0.18));
  }

  72% {
    filter: brightness(1.14) saturate(1.2);
  }
}

@keyframes about-laser-horizontal {
  0% { width: 0; opacity: 0; }
  10% { opacity: 1; }
  100% { width: 100%; opacity: 1; }
}

@keyframes about-laser-vertical {
  0% { height: 0; opacity: 0; }
  10% { opacity: 1; }
  100% { height: 100%; opacity: 1; }
}

@keyframes about-laser-corner {
  0% { opacity: 0; scale: 0.4; rotate: 0deg; }
  45% { opacity: 1; scale: 1.2; }
  100% { opacity: 0.42; scale: 1; rotate: 90deg; }
}

@keyframes about-close-pulse {
  0%, 100% { opacity: 0.28; scale: 0.98; }
  50% { opacity: 0.78; scale: 1.04; }
}

@keyframes about-close-glitch {
  0%, 100% {
    filter: none;
    translate: 0 0;
    clip-path: inset(0);
  }

  28% {
    filter: saturate(1.8) contrast(1.3);
    translate: -2px 0;
    clip-path: inset(0 0 54% 0);
  }

  56% {
    filter: hue-rotate(-18deg) brightness(1.28);
    translate: 3px -1px;
    clip-path: inset(48% 0 0 0);
  }

  78% {
    translate: -1px 1px;
    clip-path: inset(0);
  }
}

@keyframes home-page-signal-loss {
  0% {
    opacity: 0.34;
    clip-path: inset(0);
    translate: 0 0;
  }

  18% {
    opacity: 0.72;
    clip-path: inset(12% 0 66% 0);
    translate: -18px 0;
  }

  37% {
    opacity: 0.4;
    clip-path: inset(58% 0 8% 0);
    translate: 24px 0;
  }

  56% {
    opacity: 0.68;
    clip-path: inset(28% 0 46% 0);
    translate: -9px 0;
  }

  74% {
    opacity: 0.46;
    clip-path: inset(72% 0 2% 0);
    translate: 12px 0;
  }

  100% {
    opacity: 0.3;
    clip-path: inset(0);
    translate: 0 0;
  }
}

@keyframes home-glitch-reveal {
  0% {
    opacity: 0;
    clip-path: inset(0 50% 0 50%);
    filter: contrast(2.2) saturate(2.1) blur(2px);
    translate: 0 0;
  }

  62% {
    opacity: 0;
    clip-path: inset(48% 0 48% 0);
    translate: 0 0;
  }

  68% {
    opacity: 0.22;
    clip-path: inset(18% 0 62% 0);
    translate: -16px 1px;
  }

  74% {
    opacity: 0.82;
    clip-path: inset(58% 0 10% 0);
    filter: contrast(1.7) saturate(1.8);
    translate: 19px -1px;
  }

  80% {
    opacity: 1;
    clip-path: inset(0);
    translate: -7px 1px;
  }

  86% {
    opacity: 0.68;
    clip-path: inset(28% 0 38% 0);
    translate: 9px -1px;
  }

  92% {
    opacity: 1;
    clip-path: inset(0);
    filter: contrast(1.16) saturate(1.2);
    translate: -2px 0;
  }

  100% {
    opacity: 1;
    clip-path: inset(0);
    filter: none;
    translate: 0 0;
  }
}

@keyframes home-glitch-overlay-burst {
  0%, 4% {
    opacity: 0;
    translate: 0 0;
  }

  6% {
    opacity: 0.9;
    translate: -5px 0;
  }

  17% {
    opacity: 0.9;
    translate: 7px -1px;
  }

  31% {
    opacity: 0.88;
    translate: -3px 2px;
  }

  48% {
    opacity: 0.92;
    translate: 4px 0;
  }

  68% {
    opacity: 0.88;
    translate: -2px 0;
  }

  88% {
    opacity: 0.76;
    translate: 0 0;
  }

  100% {
    opacity: 0;
    translate: 0 0;
  }
}

@keyframes home-glitch-fragment-assemble {
  0% {
    opacity: 0;
    filter: var(--fragment-filter);
    transform:
      translate3d(var(--fragment-x), var(--fragment-y), var(--fragment-z))
      rotate(var(--fragment-rotate))
      scale(0.18);
  }

  14% {
    opacity: 0.88;
  }

  58% {
    opacity: 0.96;
    filter: none;
    transform: translate3d(0, 0, 0) rotate(0) scale(1);
  }

  68% {
    opacity: 0.86;
    transform: translate3d(-5px, 1px, 0) rotate(-0.4deg) scale(1.012);
  }

  76% {
    opacity: 0.92;
    transform: translate3d(4px, -1px, 0) rotate(0.3deg) scale(0.995);
  }

  86% {
    opacity: 0.78;
    transform: translate3d(0, 0, 0) rotate(0) scale(1);
  }

  100% {
    opacity: 0;
    filter: none;
    transform: translate3d(0, 0, 36px) rotate(0) scale(1.025);
  }
}

@keyframes home-glitch-red {
  0% { clip-path: inset(0); translate: -28px 0; }
  12% { clip-path: inset(6% 0 64% 0); translate: 24px 0; }
  27% { clip-path: inset(48% 0 18% 0); translate: -18px 2px; }
  43% { clip-path: inset(20% 0 52% 0); translate: 16px -1px; }
  61% { clip-path: inset(0); translate: -8px 0; }
  78% { clip-path: inset(68% 0 4% 0); translate: 5px 0; }
  100% { opacity: 0; clip-path: inset(0); translate: 0 0; }
}

@keyframes home-glitch-green {
  0% { clip-path: inset(0); translate: 18px 1px; }
  9% { clip-path: inset(54% 0 12% 0); translate: -24px 0; }
  24% { clip-path: inset(18% 0 58% 0); translate: 20px -2px; }
  39% { clip-path: inset(72% 0 2% 0); translate: -13px 1px; }
  57% { clip-path: inset(0); translate: 9px 0; }
  76% { clip-path: inset(34% 0 38% 0); translate: -4px 0; }
  100% { opacity: 0; clip-path: inset(0); translate: 0 0; }
}

@keyframes home-glitch-blue {
  0% { clip-path: inset(0); translate: 32px -1px; }
  15% { clip-path: inset(36% 0 34% 0); translate: -22px 2px; }
  30% { clip-path: inset(8% 0 70% 0); translate: 18px 0; }
  46% { clip-path: inset(60% 0 10% 0); translate: -15px -1px; }
  64% { clip-path: inset(0); translate: 7px 0; }
  82% { clip-path: inset(22% 0 50% 0); translate: -3px 0; }
  100% { opacity: 0; clip-path: inset(0); translate: 0 0; }
}

@keyframes home-glitch-tear {
  0%, 10% {
    opacity: 0;
    translate: 0 0;
  }

  14% {
    opacity: 0.84;
    translate: var(--tear-shift) 0;
  }

  42% {
    opacity: 0.46;
    translate: 0 0;
  }

  68% {
    opacity: 0.72;
    translate: var(--tear-shift) 0;
  }

  100% {
    opacity: 0;
    translate: 0 0;
  }
}

@keyframes home-glitch-scan {
  0% { translate: 0 -3px; opacity: 0.42; }
  50% { translate: 0 2px; opacity: 0.72; }
  100% { translate: 0 0; opacity: 0.36; }
}

@keyframes trail-fade {
  0% {
    opacity: 0.92;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(0.3);
  }
}

@keyframes sparkle-burst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3) rotate(0deg);
  }

  12% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.14) rotate(calc(180deg * var(--spin)));
  }
}

@keyframes particle-collapse {
  0% {
    opacity: 0;
    transform: translate(var(--start-x), var(--start-y)) scale(1.26);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(0, 0) scale(0.08);
  }
}

@keyframes sphere-copy-arrive {
  0% {
    opacity: 0;
    filter: blur(7px);
    transform: translateY(18px) scale(0.965);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes sphere-grid-drift {
  0% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }

  48% {
    transform: translateX(-10px) scale(1.012);
    opacity: 0.72;
  }

  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes game-gravity-field {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.12) rotate(0deg);
  }
  42% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.08) rotate(128deg);
  }
}

@keyframes game-gravity-aperture-ready {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 0.62;
    transform: scale(1);
  }
}

@keyframes game-gravity-aperture-collapse {
  0% {
    opacity: 0.62;
    border-radius: 24px;
    filter: blur(0);
    transform: scale(1);
  }
  38% {
    opacity: 0.8;
    border-radius: 38%;
    filter: blur(0.8px) contrast(1.5);
    transform: scale(0.68, 0.2) skewX(-4deg);
  }
  76% {
    opacity: 1;
    border-radius: 50%;
    filter: blur(2px) brightness(2.4);
    transform: scale(0.08, 0.025) skewX(8deg);
  }
  100% {
    opacity: 0;
    border-radius: 50%;
    filter: blur(5px) brightness(4);
    transform: scale(0.004);
  }
}

@keyframes game-gravity-jump {
  0% {
    opacity: 0;
    transform: translate3d(var(--gravity-origin-x), var(--gravity-origin-y), 0) translate(-50%, -50%) scale(0.12) rotate(-18deg);
  }
  18% {
    opacity: 1;
    transform: translate3d(var(--gravity-origin-x), var(--gravity-origin-y), 0) translate(-50%, -50%) scale(0.72) rotate(28deg);
  }
  52% {
    transform: translate3d(var(--gravity-mid-x), var(--gravity-mid-y), 0) translate(-50%, -50%) scale(1.08) rotate(152deg);
  }
  78% {
    transform: translate3d(var(--gravity-target-x), var(--gravity-target-y), 0) translate(-50%, -50%) scale(1.34) rotate(248deg);
  }
  100% {
    opacity: 1;
    transform: translate3d(var(--gravity-target-x), var(--gravity-target-y), 0) translate(-50%, -50%) scale(0.88) rotate(312deg);
  }
}

@keyframes game-gravity-absorb {
  0% {
    opacity: 1;
    transform: translate3d(var(--gravity-target-x), var(--gravity-target-y), 0) translate(-50%, -50%) scale(0.88) rotate(0deg);
  }
  34% {
    transform: translate3d(var(--gravity-target-x), var(--gravity-target-y), 0) translate(-50%, -50%) scale(1.65) rotate(124deg);
  }
  72% {
    opacity: 1;
    transform: translate3d(var(--gravity-target-x), var(--gravity-target-y), 0) translate(-50%, -50%) scale(0.42) rotate(286deg);
  }
  100% {
    opacity: 0.92;
    transform: translate3d(var(--gravity-target-x), var(--gravity-target-y), 0) translate(-50%, -50%) scale(0.08) rotate(420deg);
  }
}

@keyframes game-gravity-release {
  0% {
    opacity: 1;
    filter: brightness(3);
    transform: translate3d(var(--gravity-target-x), var(--gravity-target-y), 0) translate(-50%, -50%) scale(0.08);
  }
  18% {
    opacity: 1;
    filter: brightness(6);
    transform: translate3d(var(--gravity-target-x), var(--gravity-target-y), 0) translate(-50%, -50%) scale(2.8);
  }
  44% {
    opacity: 0.72;
    filter: brightness(2);
    transform: translate3d(var(--gravity-target-x), var(--gravity-target-y), 0) translate(-50%, -50%) scale(0.46);
  }
  100% {
    opacity: 0;
    filter: brightness(1);
    transform: translate3d(var(--gravity-target-x), var(--gravity-target-y), 0) translate(-50%, -50%) scale(11);
  }
}

@keyframes game-gravity-well-in {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.02) rotate(0deg);
  }
  48% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(160deg);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.12) rotate(320deg);
  }
}

@keyframes game-gravity-well-burst {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.12);
  }
  35% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(3.2);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(16);
  }
}

@keyframes game-window-gravity-consume {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  22% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.02, 0.93) skewX(-1.6deg);
  }
  58% {
    opacity: 0.88;
    transform: translate3d(var(--game-gravity-shift-x), var(--game-gravity-shift-y), 0) scale(0.34, 0.11) skewX(7deg);
  }
  84% {
    opacity: 0.66;
    transform: translate3d(var(--game-gravity-shift-x), var(--game-gravity-shift-y), 0) scale(0.04, 0.012) rotateZ(-4deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--game-gravity-shift-x), var(--game-gravity-shift-y), 0) scale(0.002);
  }
}

@keyframes game-window-portal-reveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.008, 0.004);
  }
  24% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(0.28, 0.07) skewX(-5deg);
  }
  52% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.035, 0.64) skewX(1deg);
  }
  76% {
    transform: translate3d(0, 0, 0) scale(0.985, 1.018);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes game-vhs-enter {
  0% { opacity: 0; transform: translateX(0); }
  22% { opacity: 0.82; transform: translateX(-7px); }
  44% { opacity: 0.38; transform: translateX(10px); }
  68% { opacity: 0.96; transform: translateX(-3px); }
  100% { opacity: 0.94; transform: translateX(0); }
}

@keyframes game-vhs-exit {
  0% { opacity: 0.94; transform: translate3d(0, 0, 0) scaleY(1); }
  20% { opacity: 0.7; transform: translate3d(-4px, 0, 0) scaleY(1.006); }
  38% { opacity: 0.82; transform: translate3d(5px, 0, 0) scaleY(0.996); }
  62% { opacity: 0.36; transform: translate3d(-2px, 0, 0) scaleY(1.012); }
  82% { opacity: 0.15; transform: translate3d(0, 0, 0) scaleY(1.02); }
  100% { opacity: 0; transform: translate3d(0, 0, 0) scaleY(1.028); }
}

@keyframes game-vhs-roll {
  0% { transform: translate3d(-5px, -5%, 0) scale(1.02); }
  35% { transform: translate3d(7px, 3%, 0) scale(1.025); }
  70% { transform: translate3d(-3px, 8%, 0) scale(1.015); }
  100% { transform: translate3d(4px, 14%, 0) scale(1.02); }
}

@keyframes game-vhs-tracking {
  0% { top: -22%; transform: translateX(-3%) skewY(-1deg); }
  50% { top: 48%; transform: translateX(2%) skewY(0.6deg); }
  100% { top: 106%; transform: translateX(-1%) skewY(-0.8deg); }
}

@keyframes game-vhs-band {
  0% { transform: translateX(var(--vhs-shift)) scaleX(0.96); opacity: 0.18; }
  46% { transform: translateX(var(--vhs-shift-back)) scaleX(1.04); opacity: 0.68; }
  100% { transform: translateX(var(--vhs-shift-soft)) scaleX(0.98); opacity: 0.34; }
}

@keyframes game-window-close-collapse {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  24% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(0.97, 0.9);
  }
  52% {
    opacity: 0.9;
    transform: translate3d(0, 0, 0) scale(0.58, 0.26);
  }
  76% {
    opacity: 0.72;
    transform: translate3d(0, 0, 0) scale(0.11, 0.035);
  }
  92% {
    opacity: 0.4;
    transform: translate3d(0, 0, 0) scale(0.018, 0.008);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.002);
  }
}

@keyframes game-close-singularity-fade {
  0%, 40% {
    opacity: 0;
    filter: brightness(0.5);
    transform: translate(-50%, -50%) scale(0.02);
  }
  68% {
    opacity: 0.82;
    filter: brightness(1.3);
    transform: translate(-50%, -50%) scale(1);
  }
  84% {
    opacity: 0.48;
    filter: brightness(0.84);
    transform: translate(-50%, -50%) scale(0.44);
  }
  100% {
    opacity: 0;
    filter: brightness(0.12);
    transform: translate(-50%, -50%) scale(0.015);
  }
}

@keyframes game-close-singularity-ring {
  0%, 42% {
    opacity: 0;
    transform: scale(2.4);
  }
  66% {
    opacity: 0.42;
  }
  100% {
    opacity: 0;
    transform: scale(0.02);
  }
}

@media (max-width: 1160px) {
  .desktop-icons {
    position: static;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    margin-top: 22px;
  }

  .desktop-widgets {
    width: 100%;
    margin: 26px 0 0;
  }

  #window-about {
    width: calc(100vw - 48px);
    max-width: none;
  }

  #window-home,
  #window-games,
  #window-about,
  #window-articles,
  #window-works {
    left: 50%;
    transform: translate(-50%, 20px) scale(0.96);
  }

  .app-window.is-open {
    transform: translate(-50%, 0) scale(1);
  }

  #window-home,
  #window-games,
  #window-about {
    transform: translateY(20px) scale(0.96);
  }

  #window-home.is-open,
  #window-games.is-open,
  #window-about.is-open {
    transform: translateY(0) scale(1);
  }

  #window-articles.immersive-window,
  #window-works.immersive-window {
    left: 0;
    transform: translateY(100%);
  }

  #window-articles.immersive-window.is-open,
  #window-works.immersive-window.is-open {
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  :root {
    --desktop-scale: 1;
    --desktop-inverse-scale: 1;
  }

  .desktop-shell {
    padding-inline: 14px;
  }

  .menu-bar {
    align-items: start;
    flex-direction: column;
  }

  .status-area {
    justify-content: start;
  }

  .desktop-widgets,
  .home-grid,
  .info-columns,
  .works-grid,
  .games-grid,
  .profile-hero,
  .metric-strip,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .window-heading {
    align-items: start;
    flex-direction: column;
  }

  .window-toolbar {
    justify-content: flex-end;
  }

  .search-field {
    width: 100%;
    min-width: 0;
  }

  .app-window,
  #window-home,
  #window-games,
  #window-about,
  #window-articles,
  #window-works {
    top: auto;
    right: 12px;
    bottom: 94px;
    left: 12px;
    width: auto;
    max-height: calc(100vh - 160px);
    transform: translateY(24px) scale(0.98);
  }

  .app-window.is-open {
    transform: translateY(0) scale(1);
  }

  #window-about {
    height: calc(100vh - 160px);
  }

  #window-articles.immersive-window,
  #window-works.immersive-window {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    max-height: none;
    transform: translateY(100%);
  }

  #window-articles.immersive-window.is-open,
  #window-works.immersive-window.is-open {
    transform: translateY(0);
  }

  .window-titlebar[data-drag-handle] {
    cursor: default;
  }

  .window-scroll {
    max-height: calc(100vh - 214px);
    padding: 22px;
  }

  .about-timeline-viewport {
    height: auto;
  }

  .about-layout {
    grid-template-columns: minmax(170px, 0.68fr) minmax(130px, 0.46fr) minmax(0, 1.28fr);
    gap: 8px;
    padding: 10px;
  }

  .about-profile-fixed {
    padding: 20px 16px;
  }

  .about-profile-fixed .about-profile-copy {
    margin-top: 42px;
  }

  .about-profile-fixed .about-profile-copy h2 {
    font-size: clamp(22px, 3.9vw, 34px);
  }

  .about-profile-fixed .about-profile-copy > p:last-of-type {
    font-size: 12px;
    line-height: 1.55;
  }

  .about-profile-fixed .about-signal-tags {
    gap: 5px;
    margin-top: 12px;
  }

  .about-profile-fixed .about-signal-tags span {
    min-height: 24px;
    padding: 0 7px;
    font-size: 9px;
  }

  .about-timeline-nav {
    padding-block: 12px;
  }

  .about-timeline-nav-head {
    padding: 0 10px 10px;
  }

  .about-timeline-list {
    padding: 12px 6px 12px 18px;
  }

  .about-timeline-list::before {
    left: 14px;
  }

  .about-timeline-item {
    min-height: 74px;
    padding: 11px 6px 11px 14px;
  }

  .about-timeline-item::before {
    left: -8px;
  }

  .about-timeline-face {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    padding: 28px 20px;
  }

  .about-timeline-number {
    width: 50px;
    height: 50px;
    font-size: 16px;
  }

  .about-profile-face {
    grid-template-columns: minmax(0, 1.3fr) minmax(150px, 0.7fr);
    gap: 24px;
  }

  .about-profile-badge {
    min-height: 210px;
  }

  .about-profile-copy h2 {
    font-size: clamp(28px, 5.2vw, 42px);
  }

  .about-detail-face strong {
    font-size: clamp(24px, 4.2vw, 38px);
  }

  .about-detail-face p {
    font-size: 12px;
    line-height: 1.58;
  }

  .immersive-scroll {
    height: calc(100vh - 62px);
    max-height: none;
    padding: 0;
  }

  .works-stage,
  .article-stage {
    width: max(1120px, 220vw);
    padding: 30px 28px 58px;
  }

  .works-hero,
  .article-copy {
    left: 28px;
    right: auto;
    bottom: 30px;
    width: min(520px, 78vw);
  }

  .works-carousel {
    min-height: 52vh;
    padding-left: 0;
  }

  .work-slide {
    flex-basis: min(360px, 76vw);
    min-height: 380px;
  }

  .article-panel {
    grid-template-columns: minmax(300px, 0.95fr) minmax(280px, 0.82fr);
    flex-basis: min(760px, 150vw);
  }

  .article-visual {
    min-height: 360px;
  }

  #waifu {
    right: 20px !important;
    transform: scale(0.72);
    bottom: 116px !important;
  }
}

@media (max-width: 620px) {
  .desktop-shell {
    padding-bottom: 132px;
  }

  .desktop-icons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .desktop-icon {
    width: auto;
  }

  .game-card {
    grid-template-columns: 1fr;
  }

  .window-titlebar {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #window-about .window-titlebar {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
  }

  #window-about .window-meta,
  #window-about .window-center-button {
    display: none;
  }

  #window-about .window-toolbar {
    width: auto;
  }

  .immersive-window .window-titlebar {
    grid-template-columns: auto 1fr auto;
  }

  .traffic-lights,
  .window-toolbar {
    justify-content: space-between;
  }

  .window-toolbar {
    width: 100%;
  }

  .about-timeline-heading {
    align-items: start;
  }

  .about-timeline-readout {
    gap: 8px;
  }

  .about-timeline-viewport {
    height: auto;
  }

  .about-layout {
    grid-template-areas:
      "profile detail"
      "timeline detail";
    grid-template-columns: minmax(112px, 0.62fr) minmax(0, 1.38fr);
    grid-template-rows: minmax(146px, 0.62fr) minmax(0, 1.38fr);
    gap: 7px;
    padding: 7px;
  }

  .about-profile-fixed {
    grid-area: profile;
    padding: 12px 10px;
  }

  .about-timeline-nav {
    grid-area: timeline;
  }

  .about-detail-panel {
    grid-area: detail;
  }

  .about-profile-fixed .about-profile-ring,
  .about-profile-fixed .about-profile-copy > p:last-of-type,
  .about-profile-fixed .about-signal-tags {
    display: none;
  }

  .about-profile-fixed .about-profile-copy {
    margin-top: 0;
  }

  .about-profile-fixed .about-profile-copy small,
  .about-profile-fixed .about-profile-copy .section-kicker {
    font-size: 8px;
  }

  .about-profile-fixed .about-profile-copy h2 {
    font-size: clamp(17px, 4.8vw, 23px);
    line-height: 1.08;
  }

  .about-profile-name {
    padding-top: 10px;
  }

  .about-profile-name strong {
    font-size: 15px;
  }

  .about-profile-name span {
    font-size: 7px;
    letter-spacing: 0.04em;
  }

  .about-timeline-nav-head {
    font-size: 8px;
  }

  .about-timeline-list {
    padding: 8px 4px 8px 14px;
  }

  .about-timeline-list::before {
    left: 10px;
  }

  .about-timeline-item {
    min-height: 60px;
    padding: 8px 4px 8px 12px;
  }

  .about-timeline-item::before {
    top: 18px;
    left: -7px;
    width: 5px;
    height: 5px;
  }

  .about-timeline-item time {
    font-size: 8px;
  }

  .about-timeline-item strong {
    font-size: 10px;
  }

  .about-timeline-face {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 9px;
    padding: 20px 12px 34px;
  }

  .about-timeline-number {
    width: 38px;
    height: 38px;
    font-size: 12px;
  }

  .about-timeline-face strong {
    font-size: 18px;
  }

  .about-milestone-face strong {
    font-size: clamp(23px, 6vw, 30px);
  }

  .about-detail-face strong {
    font-size: clamp(19px, 5.4vw, 26px);
  }

  .about-detail-face time {
    margin: 8px 0;
    font-size: 9px;
  }

  .about-detail-face p {
    margin-top: 10px;
    font-size: 10px;
    line-height: 1.48;
  }

  .about-detail-face .about-signal-meter {
    margin-top: 14px;
  }

  .about-profile-face {
    grid-template-columns: 1fr;
  }

  .about-profile-badge {
    display: none;
  }

  .about-profile-copy h2 {
    font-size: clamp(26px, 7.4vw, 36px);
  }

  .about-profile-copy > p:last-of-type {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.58;
  }

  .about-signal-tags {
    margin-top: 16px;
  }

  .about-window-cube-hud {
    top: 14px;
    right: 16px;
    left: 16px;
  }

  .about-timeline-cube {
    inset: 54px 14px 36px;
  }

  .about-timeline-face p,
  .window-scroll .about-timeline-face p {
    font-size: 12px;
  }

  h1 {
    font-size: clamp(34px, 11vw, 56px);
  }

  h2 {
    font-size: clamp(28px, 8vw, 42px);
  }

  .dock {
    gap: 6px;
    width: calc(100% - 24px);
    justify-content: space-between;
  }

  .dock button {
    min-width: 0;
    flex: 1;
    padding-inline: 8px;
  }

  .dock button span {
    width: 36px;
    height: 36px;
  }

  .works-stage,
  .article-stage {
    width: max(920px, 260vw);
  }

  .works-hero.sphere-copy,
  .article-copy.sphere-copy {
    right: auto;
    bottom: 22px;
    left: 20px;
    width: calc(100vw - 40px);
  }

  .sphere-copy::before {
    left: -10px;
    bottom: 46px;
  }

  .sphere-copy h2,
  .works-hero.sphere-copy h2,
  .article-copy.sphere-copy h2 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .sphere-copy [data-sphere-description] {
    display: -webkit-box;
    margin-top: 10px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.58;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .sphere-status {
    gap: 10px;
    margin-top: 12px;
  }

  .sphere-progress {
    flex-basis: 72px;
  }

  .article-panel {
    grid-template-columns: 1fr;
    gap: 26px;
    flex-basis: min(430px, 88vw);
  }

  .article-visual {
    min-height: 280px;
  }

  .article-text h3,
  .work-slide h3 {
    font-size: 34px;
  }

  #waifu {
    right: 8px !important;
    transform: scale(0.66);
  }
}
