:root {
  color-scheme: dark;
  --ink: #f6efe8;
  --paper: #120f0d;
  --paper-deep: #211a16;
  --acid: #ff5f00;
  --blue: #ff5f00;
  --muted: #aa9e96;
  --line: rgba(246, 239, 232, 0.2);
  --panel: #19130f;
  --panel-raised: #2a211b;
  --panel-ink: #f6efe8;
  --accent-ink: #1d0e06;
  --shadow: #050302;
  --font-sans: "Noto Sans TC", system-ui, sans-serif;
  --font-mono: "DM Mono", monospace;
  --radius: 3px;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    color-scheme: light;
    --ink: #1a1410;
    --paper: #f5eee7;
    --paper-deep: #e9ddd2;
    --muted: #6d625a;
    --line: rgba(26, 20, 16, 0.2);
    --shadow: #1a1410;
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --ink: #1a1410;
  --paper: #f5eee7;
  --paper-deep: #e9ddd2;
  --muted: #6d625a;
  --line: rgba(26, 20, 16, 0.2);
  --shadow: #1a1410;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f6efe8;
  --paper: #120f0d;
  --paper-deep: #211a16;
  --muted: #aa9e96;
  --line: rgba(246, 239, 232, 0.2);
  --shadow: #050302;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

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

::selection {
  color: var(--ink);
  background: var(--acid);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.noise {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  opacity: 0.065;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.cursor-dust {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  pointer-events: none;
  background: var(--acid);
  mix-blend-mode: difference;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: width 180ms ease, height 180ms ease, opacity 180ms ease;
}

.cursor-dust.is-visible {
  opacity: 1;
}

.cursor-dust.is-hovering {
  width: 42px;
  height: 42px;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 24px clamp(22px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
}

.header-actions {
  display: flex;
  gap: 8px;
  justify-self: end;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  background: var(--panel-raised);
  border: 1px solid var(--acid);
  overflow: hidden;
  transform: rotate(-3deg);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 19%;
  transform: scale(1.65) translateY(7%);
}

.brand-dot {
  color: var(--blue);
}

.nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
  font-weight: 600;
}

.nav a {
  position: relative;
}

.nav a::after {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transition: width 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  width: 100%;
}

.icon-button {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.icon-button:hover {
  color: var(--paper);
  background: var(--ink);
  transform: rotate(8deg);
}

.icon-button svg {
  width: 17px;
  fill: currentColor;
}

.theme-icon {
  display: block;
}

.moon-icon,
:root[data-theme="light"] .sun-icon {
  display: none;
}

:root[data-theme="light"] .moon-icon {
  display: block;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .sun-icon {
    display: none;
  }

  :root:not([data-theme]) .moon-icon {
    display: block;
  }
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  min-height: 780px;
  padding: 138px clamp(22px, 7vw, 112px) 110px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: 0;
  right: 8%;
  width: 1px;
  height: 100%;
  content: "";
  background: var(--line);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.status-line,
.kicker,
.section-index,
.micro-label,
.topic-meta,
.profile-card-top,
.scroll-note,
.site-footer,
.prompt-status {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid var(--ink);
  font-size: 10px;
  font-weight: 500;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 3px rgba(255, 95, 0, 0.18);
  animation: pulse 2s infinite;
}

.status-aside {
  margin-left: 6px;
  color: var(--muted);
  font-family: var(--font-sans);
  letter-spacing: 0;
}

.kicker {
  margin: 56px 0 5px;
  color: var(--blue);
  font-size: 13px;
}

.hero h1 {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: 0;
  font-size: clamp(74px, 9.5vw, 150px);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.95;
}

.hero-en {
  color: transparent;
  font-family: var(--font-mono);
  font-size: 0.23em;
  letter-spacing: 0.02em;
  -webkit-text-stroke: 1px var(--ink);
  transform: rotate(90deg) translateY(-3px);
  transform-origin: center;
}

.hero-lead {
  max-width: 650px;
  margin: 40px 0 0;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 500;
  line-height: 1.75;
}

.marker {
  position: relative;
  z-index: 0;
  font-weight: 800;
  white-space: nowrap;
}

.marker::before {
  position: absolute;
  right: -4px;
  bottom: 0;
  left: -4px;
  z-index: -1;
  height: 48%;
  content: "";
  background: var(--acid);
  transform: rotate(-1deg);
}

.aside {
  color: var(--muted);
  font-size: 0.68em;
  white-space: nowrap;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-width: 180px;
  padding: 15px 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 var(--shadow);
}

.button-primary {
  color: var(--accent-ink);
  background: var(--acid);
}

.button-ghost {
  background: transparent;
}

.hero-visual {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(90%, 470px);
  min-height: 540px;
}

.profile-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 360px;
  min-height: 485px;
  padding: 18px;
  color: var(--panel-ink);
  background: var(--panel);
  border-radius: 4px;
  box-shadow: 20px 22px 0 var(--acid);
  transform: translate(-50%, -50%) rotate(3deg);
}

.profile-card::before {
  position: absolute;
  inset: 8px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(246, 239, 232, 0.17);
}

.profile-card-top,
.profile-card-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
}

.avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 275px;
  height: 275px;
  margin: 55px auto 45px;
  border: 1px solid rgba(246, 239, 232, 0.4);
  border-radius: 50%;
  overflow: visible;
}

.avatar::before,
.avatar::after {
  position: absolute;
  width: 100%;
  height: 1px;
  content: "";
  background: rgba(243, 240, 231, 0.16);
}

.avatar::after {
  transform: rotate(90deg);
}

.avatar-image {
  position: relative;
  z-index: 3;
  width: 220px;
  height: 220px;
  object-fit: contain;
  object-position: center;
  background: var(--panel-raised);
  border: 8px solid var(--acid);
  border-radius: 50%;
}

.orbit {
  position: absolute;
  border: 1px dashed rgba(255, 95, 0, 0.75);
  border-radius: 50%;
}

.orbit-one {
  inset: 22px;
  animation: spin 18s linear infinite;
}

.orbit-two {
  inset: -22px;
  border-color: rgba(243, 240, 231, 0.2);
  animation: spin 26s linear infinite reverse;
}

.dust-particle {
  position: absolute;
  z-index: 4;
  width: 10px;
  height: 10px;
  background: var(--acid);
  border-radius: 50%;
}

.particle-one { top: 11px; left: 86px; }
.particle-two { right: -5px; bottom: 82px; width: 6px; height: 6px; }
.particle-three { bottom: -10px; left: 96px; width: 14px; height: 14px; background: var(--blue); }

.profile-card-bottom {
  align-items: flex-end;
}

.profile-card-bottom > div:first-child {
  display: grid;
}

.micro-label {
  color: var(--muted);
  font-size: 9px;
}

.mode-text {
  margin-top: 2px;
  color: var(--acid);
  font-size: 18px;
}

.signal {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 21px;
}

.signal i {
  display: block;
  width: 3px;
  background: var(--acid);
  animation: signal 900ms ease-in-out infinite alternate;
}

.signal i:nth-child(1) { height: 7px; animation-delay: -0.5s; }
.signal i:nth-child(2) { height: 12px; animation-delay: -0.2s; }
.signal i:nth-child(3) { height: 18px; animation-delay: -0.7s; }
.signal i:nth-child(4) { height: 11px; animation-delay: -0.35s; }

.floating-tag {
  position: absolute;
  z-index: 3;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  box-shadow: 4px 4px 0 var(--shadow);
}

.tag-ai { top: 46px; right: -4px; transform: rotate(5deg); }
.tag-vt { top: 160px; left: -36px; color: var(--accent-ink); background: var(--blue); transform: rotate(-7deg); }
.tag-rg { right: -28px; bottom: 130px; color: var(--accent-ink); background: var(--acid); transform: rotate(-3deg); }
.tag-git { bottom: 40px; left: -7px; transform: rotate(4deg); }

.scroll-note {
  position: absolute;
  bottom: 25px;
  left: clamp(22px, 4vw, 64px);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 9px;
  transform: rotate(-90deg) translateX(100%);
  transform-origin: left bottom;
}

.scroll-note i {
  display: block;
  width: 42px;
  height: 1px;
  background: var(--ink);
}

.ticker {
  padding: 12px 0;
  color: var(--paper);
  background: var(--blue);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  animation: ticker 30s linear infinite;
}

.ticker-track i {
  color: var(--acid);
  font-style: normal;
}

.section-shell {
  width: min(100% - 44px, 1240px);
  margin-inline: auto;
}

.about,
.topics {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.55fr);
  gap: clamp(50px, 9vw, 150px);
  padding-top: 140px;
  padding-bottom: 150px;
}

.section-heading h2,
.rabbit-copy h2,
.loadout-title h2,
.contact h2 {
  margin: 15px 0 0;
  font-size: clamp(38px, 5.2vw, 72px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1.15;
}

.section-index {
  margin: 0;
  color: var(--blue);
  font-size: 10px;
}

.about-statement {
  max-width: 830px;
  margin: -10px 0 70px;
  font-size: clamp(22px, 3.1vw, 42px);
  font-weight: 600;
  line-height: 1.55;
}

.about-statement span {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

.trait-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.trait-card {
  min-height: 260px;
  padding: 25px 24px;
  border-right: 1px solid var(--ink);
}

.trait-card:last-child {
  border-right: 0;
}

.trait-number {
  font-family: var(--font-mono);
  font-size: 10px;
}

.trait-card h3 {
  margin: 60px 0 14px;
  font-size: 25px;
}

.trait-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.accent-card {
  color: var(--paper);
  background: var(--blue);
}

.accent-card p {
  color: rgba(243, 240, 231, 0.76);
}

.rabbit-hole {
  color: var(--paper);
  background: var(--ink);
}

.rabbit-shell {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(60px, 10vw, 150px);
  padding-top: 130px;
  padding-bottom: 130px;
}

.section-index.light {
  color: var(--acid);
}

.rabbit-copy > p:last-child {
  margin-top: 30px;
  color: rgba(243, 240, 231, 0.55);
  font-size: 14px;
}

.thought-path {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.thought-path::before {
  position: absolute;
  top: 24px;
  bottom: 26px;
  left: 67px;
  width: 1px;
  content: "";
  background: rgba(243, 240, 231, 0.2);
}

.thought-path li {
  position: relative;
  display: grid;
  grid-template-columns: 68px 1fr;
  padding: 22px 0;
  border-bottom: 1px solid rgba(243, 240, 231, 0.14);
}

.thought-path li::before {
  position: absolute;
  top: 29px;
  left: 63px;
  z-index: 2;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--ink);
  border: 1px solid var(--acid);
  border-radius: 50%;
}

.path-time {
  padding-top: 2px;
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 10px;
}

.thought-path div {
  padding-left: 26px;
}

.thought-path strong,
.thought-path small {
  display: block;
}

.thought-path strong {
  font-size: 20px;
}

.thought-path small {
  margin-top: 4px;
  color: rgba(243, 240, 231, 0.52);
  font-size: 13px;
}

.thought-path .path-last::before {
  background: var(--acid);
  box-shadow: 0 0 0 5px rgba(255, 95, 0, 0.12);
}

.topics {
  align-items: start;
}

.topics .section-heading {
  position: sticky;
  top: 38px;
}

.heading-aside {
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

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

.topic-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 24px;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.topic-card:hover,
.topic-card:focus-visible {
  z-index: 2;
  transform: translate(-5px, -5px);
  box-shadow: 8px 8px 0 var(--ink);
  outline: none;
}

.topic-wide {
  grid-column: span 2;
  min-height: 300px;
}

.topic-dark {
  color: var(--paper);
  background: var(--ink);
}

.topic-acid {
  background: var(--acid);
}

.topic-blue {
  color: var(--paper);
  background: var(--blue);
}

.topic-paper {
  background: var(--paper-deep);
}

.topic-meta {
  font-size: 9px;
  opacity: 0.58;
}

.topic-icon {
  position: absolute;
  top: 14px;
  right: 23px;
  font-family: var(--font-mono);
  font-size: 42px;
  line-height: 1;
  opacity: 0.45;
  transition: transform 220ms ease;
}

.topic-card:hover .topic-icon {
  transform: rotate(16deg) scale(1.1);
}

.topic-card strong {
  margin-top: auto;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.05em;
}

.topic-card p {
  max-width: 620px;
  margin: 7px 0 0;
  font-size: 14px;
  opacity: 0.72;
}

.topic-action {
  margin-top: 22px;
  font-size: 12px;
  font-weight: 700;
}

.prompt-output {
  position: relative;
  grid-column: 2;
  min-height: 118px;
  margin-top: -95px;
  padding: 20px 95px 20px 20px;
  background: #fff;
  border: 1px dashed var(--ink);
}

.prompt-output p {
  margin: 10px 0 0;
  font-size: 14px;
}

.prompt-status {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 7px;
  color: var(--ink);
  background: var(--acid);
  font-size: 8px;
}

.loadout {
  color: var(--paper);
  background: var(--blue);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.loadout-shell {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.55fr);
  gap: clamp(50px, 9vw, 150px);
  padding-top: 100px;
  padding-bottom: 100px;
}

.loadout-list {
  border-top: 1px solid rgba(243, 240, 231, 0.45);
}

.loadout-list div {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: baseline;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(243, 240, 231, 0.45);
}

.loadout-list span {
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.loadout-list strong {
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 600;
}

.contact {
  padding-top: 140px;
  padding-bottom: 140px;
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(60px, 10vw, 150px);
  padding: clamp(35px, 6vw, 80px);
  background: var(--acid);
  border: 1px solid var(--ink);
  box-shadow: 14px 14px 0 var(--ink);
  overflow: hidden;
}

.contact h2 span {
  color: var(--blue);
}

.contact-copy > p:last-child {
  max-width: 560px;
  margin: 25px 0 0;
  font-size: 15px;
}

.contact-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
}

.button-dark:hover {
  box-shadow: 5px 5px 0 var(--blue);
}

.button-outline {
  background: transparent;
}

.contact-stamp {
  position: absolute;
  right: 44%;
  bottom: -15px;
  color: transparent;
  font-family: var(--font-mono);
  font-size: 58px;
  font-weight: 500;
  line-height: 0.85;
  opacity: 0.18;
  -webkit-text-stroke: 1px var(--ink);
  transform: rotate(-8deg);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 28px clamp(22px, 4vw, 64px);
  color: var(--panel-ink);
  background: var(--panel);
  font-size: 9px;
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  justify-self: end;
}

.footer-brand .brand-mark {
  background: var(--panel-raised);
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 17px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--paper);
  box-shadow: 5px 5px 0 var(--blue);
  font-size: 13px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-icon {
  color: var(--acid);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 6px rgba(255, 95, 0, 0); }
}

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

@keyframes signal {
  to { transform: scaleY(0.35); opacity: 0.45; }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 80px;
    padding-top: 145px;
  }

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

  .hero-visual {
    justify-self: center;
    width: min(100%, 500px);
  }

  .about,
  .topics,
  .rabbit-shell,
  .loadout-shell {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .topics .section-heading {
    position: static;
  }

  .prompt-output {
    grid-column: 1;
    margin-top: 0;
  }
}

@media (max-width: 700px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 17px 18px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 120px 22px 90px;
  }

  .status-aside {
    display: none;
  }

  .kicker {
    margin-top: 45px;
  }

  .hero h1 {
    gap: 10px;
    font-size: clamp(68px, 24vw, 105px);
  }

  .hero-lead {
    margin-top: 30px;
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 450px;
  }

  .profile-card {
    width: 280px;
    min-height: 400px;
    box-shadow: 12px 14px 0 var(--acid);
  }

  .avatar {
    width: 215px;
    height: 215px;
    margin: 50px auto 38px;
  }

  .avatar-image {
    width: 175px;
    height: 175px;
    border-width: 6px;
  }

  .tag-vt { left: -10px; }
  .tag-rg { right: -8px; }

  .scroll-note {
    display: none;
  }

  .section-shell {
    width: min(100% - 36px, 1240px);
  }

  .about,
  .topics {
    padding-top: 95px;
    padding-bottom: 100px;
  }

  .about-statement {
    margin-bottom: 45px;
  }

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

  .trait-card {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .trait-card:last-child {
    border-bottom: 0;
  }

  .rabbit-shell {
    padding-top: 90px;
    padding-bottom: 90px;
  }

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

  .topic-card,
  .topic-wide {
    grid-column: 1;
    min-height: 300px;
  }

  .loadout-list div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .contact {
    padding-top: 90px;
    padding-bottom: 100px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 55px;
    padding: 32px 25px;
    box-shadow: 8px 8px 0 var(--ink);
  }

  .contact-stamp {
    right: -10px;
    bottom: 5px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 20px;
  }

  .site-footer > p:first-of-type {
    display: none;
  }
}

@media (pointer: coarse) {
  .cursor-dust {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Current profile content */
.profile-intro {
  border-bottom: 1px solid var(--ink);
}

.identity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 42px;
}

.identity-tags span {
  padding: 7px 11px;
  border: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.profile-intro .about-statement {
  margin-bottom: 55px;
}

.intro-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.intro-notes article {
  min-height: 240px;
  padding: 25px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.intro-notes article:first-child {
  grid-column: span 2;
  min-height: 210px;
}

.intro-notes h3 {
  margin: 42px 0 12px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.intro-notes p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.intro-note-dark {
  color: var(--panel-ink);
  background: var(--panel);
}

.intro-note-dark p {
  color: rgba(246, 239, 232, 0.65);
}

.interest-section {
  color: var(--panel-ink);
  background: var(--panel);
}

.interest-shell,
.boundaries,
.recent-shell {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.55fr);
  gap: clamp(50px, 9vw, 150px);
  padding-top: 140px;
  padding-bottom: 150px;
}

.interest-section .section-heading,
.boundaries .section-heading,
.recent-section .section-heading {
  align-self: start;
  position: sticky;
  top: 38px;
}

.interest-section .section-heading h2,
.boundaries .section-heading h2,
.recent-section .section-heading h2,
.social-card h2 {
  margin: 15px 0 0;
  font-size: clamp(38px, 5.2vw, 72px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1.15;
}

.light-copy {
  color: rgba(243, 240, 231, 0.52);
}

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

.interest-card {
  position: relative;
  padding: 28px;
  color: var(--ink);
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.interest-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.card-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  opacity: 0.58;
}

.interest-symbol {
  font-family: var(--font-mono);
  font-size: 38px;
  line-height: 0.8;
  opacity: 0.4;
}

.interest-card h3 {
  margin: 50px 0 20px;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.06em;
  line-height: 1.1;
}

.interest-card p {
  margin: 10px 0 0;
  font-size: 14px;
}

.interest-card .card-lead {
  max-width: 760px;
  font-size: 20px;
  font-weight: 700;
}

.vtuber-card,
.game-card {
  grid-column: span 2;
}

.vtuber-card {
  min-height: 390px;
  background: var(--acid);
  color: var(--accent-ink);
}

.vtuber-card::after {
  position: absolute;
  right: -25px;
  bottom: -50px;
  content: "V";
  color: transparent;
  font-family: var(--font-mono);
  font-size: 250px;
  line-height: 1;
  opacity: 0.12;
  -webkit-text-stroke: 2px var(--ink);
}

.vtuber-card p {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.media-card {
  grid-column: span 2;
}

.rated-list,
.reading-columns ul,
.game-list,
.notice-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rated-list {
  border-top: 1px solid var(--line);
}

.rated-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.rated-list small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.rated-list b {
  flex: 0 0 auto;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.novel-card {
  grid-column: span 2;
  color: var(--accent-ink);
  background: var(--blue);
}

.novel-card .micro-label {
  color: var(--accent-ink);
  opacity: 0.64;
}

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

.reading-columns ul {
  margin-top: 12px;
  border-top: 1px solid rgba(29, 14, 6, 0.32);
}

.reading-columns li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(29, 14, 6, 0.32);
  font-size: 13px;
}

.game-card {
  background: var(--paper-deep);
}

.game-categories {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 24px;
}

.game-category-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
}

.game-category-head .category-icon {
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1;
  opacity: 0.85;
}

.game-category-head .category-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.game-list li {
  display: grid;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.game-list strong {
  font-size: 15px;
}

.game-list span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.game-category:has(ul:empty),
.game-category:has(ul:not(:has(li))) {
  display: none !important;
}

.game-card:has(.game-categories:not(:has(li))) {
  display: none !important;
}

.more-note {
  margin-top: 24px;
  color: var(--blue);
  font-weight: 600;
}

.boundaries {
  align-items: start;
}

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

.notice-card {
  padding: 26px;
  border: 1px solid var(--ink);
}

.emotion-card {
  grid-column: 1 / -1;
  background: var(--panel);
  color: var(--panel-ink);
}

.emotion-card .notice-title span {
  color: var(--blue);
}

.emotion-card .notice-title h3 {
  margin-bottom: 18px;
}

.emotion-card p {
  max-width: 72ch;
  margin-top: 12px;
  line-height: 1.8;
}

.emotion-card .emotion-warning {
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 3px solid var(--blue);
  background: rgba(128, 128, 128, 0.1);
  font-weight: 700;
}

.notice-title span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.notice-title h3 {
  margin: 30px 0 22px;
  font-size: 26px;
}

.hard-no-card {
  color: var(--panel-ink);
  background: var(--panel);
}

.hard-no-card .notice-title span,
.heads-up-card .notice-title span {
  color: var(--acid);
}

.heads-up-card {
  color: var(--accent-ink);
  background: var(--blue);
}

.heads-up-card .notice-title span {
  color: var(--accent-ink);
  opacity: 0.64;
}

.notice-list li {
  position: relative;
  padding: 12px 0 12px 20px;
  border-top: 1px solid rgba(243, 240, 231, 0.18);
  font-size: 13px;
}

.notice-list li::before {
  position: absolute;
  top: 18px;
  left: 1px;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--acid);
  border-radius: 50%;
}

.notice-list .critical {
  font-weight: 700;
}

.notice-list .critical::after {
  margin-left: 8px;
  padding: 2px 5px;
  content: "雷爛";
  color: var(--accent-ink);
  background: var(--acid);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
}

.compact-list li::before {
  background: var(--accent-ink);
}

.heads-up-card .notice-list li {
  border-top-color: rgba(29, 14, 6, 0.24);
}

.heads-up-card .notice-list .critical::after {
  color: var(--panel-ink);
  background: var(--panel);
}

.chat-card {
  grid-column: span 2;
  color: var(--accent-ink);
  background: var(--acid);
}

.chat-card .notice-title span {
  color: var(--accent-ink);
  opacity: 0.64;
}

.chat-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
  border-top: 1px solid var(--accent-ink);
}

.chat-rules p {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 8px;
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid rgba(23, 24, 21, 0.24);
  font-size: 13px;
}

.chat-rules b {
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 10px;
}

.recent-section {
  color: var(--accent-ink);
  background: var(--blue);
  border-top: 1px solid var(--accent-ink);
  border-bottom: 1px solid var(--accent-ink);
}

.recent-section .section-index.light {
  color: var(--accent-ink);
  opacity: 0.64;
}

.recent-list {
  border-top: 1px solid rgba(29, 14, 6, 0.32);
}

.recent-list > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: baseline;
  gap: 20px;
  padding: 23px 0;
  border-bottom: 1px solid rgba(29, 14, 6, 0.32);
}

.recent-list > div > span {
  color: rgba(29, 14, 6, 0.62);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.recent-list strong {
  font-size: clamp(20px, 2.4vw, 31px);
  font-weight: 600;
}

.recent-list .recent-primary {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 35px 0;
}

.recent-primary .recent-state {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-ink);
}

.recent-state i {
  width: 7px;
  height: 7px;
  background: var(--accent-ink);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(29, 14, 6, 0.14);
  animation: pulse 2s infinite;
}

.recent-primary strong {
  font-size: clamp(30px, 4vw, 50px);
}

.recent-primary a {
  margin-top: 10px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--accent-ink);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
}

.social {
  padding-top: 140px;
  padding-bottom: 140px;
}

.social-card {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.7fr);
  align-items: center;
  gap: 80px;
  padding: clamp(35px, 6vw, 80px);
  background: var(--acid);
  color: var(--accent-ink);
  border: 1px solid var(--accent-ink);
  box-shadow: 14px 14px 0 var(--shadow);
}

.social-card .section-index {
  color: var(--accent-ink);
  opacity: 0.64;
}

.social-card > div > p:last-child {
  margin: 20px 0 0;
  font-size: 14px;
}

.discord-link {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 105px;
  padding: 22px 25px;
  color: var(--panel-ink);
  background: var(--panel);
  border: 1px solid var(--accent-ink);
  box-shadow: 7px 7px 0 var(--accent-ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.discord-link:hover,
.discord-link:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 var(--accent-ink);
}

.discord-link svg {
  width: 44px;
  fill: currentColor;
}

.discord-link span {
  font-size: 28px;
  font-weight: 800;
}

.discord-link i {
  color: var(--acid);
  font-style: normal;
  font-size: 23px;
}

.error-page {
  min-height: 100vh;
  overflow: hidden;
}

.error-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 28px clamp(22px, 5vw, 72px) 60px;
  overflow: hidden;
}

.error-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  margin: auto 0;
}

.error-content h1 {
  margin: 18px 0 28px;
  font-size: clamp(64px, 10vw, 145px);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.95;
}

.error-content h1 span {
  color: var(--blue);
}

.error-content p:not(.section-index) {
  max-width: 530px;
  margin: 0 0 35px;
  font-size: 17px;
}

.error-code {
  position: absolute;
  right: -60px;
  bottom: -170px;
  color: transparent;
  font-family: var(--font-mono);
  font-size: min(50vw, 650px);
  font-weight: 500;
  line-height: 1;
  opacity: 0.09;
  -webkit-text-stroke: 3px var(--ink);
}

@media (max-width: 980px) {
  .interest-shell,
  .boundaries,
  .recent-shell {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .interest-section .section-heading,
  .boundaries .section-heading,
  .recent-section .section-heading {
    position: static;
  }

  .social-card {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 700px) {
  .identity-tags {
    margin-bottom: 32px;
  }

  .intro-notes,
  .interest-grid,
  .notice-grid,
  .chat-rules,
  .reading-columns,
  .game-list {
    grid-template-columns: 1fr;
  }

  .intro-notes article:first-child,
  .vtuber-card,
  .media-card,
  .novel-card,
  .game-card,
  .chat-card {
    grid-column: 1;
  }

  .intro-notes article,
  .intro-notes article:first-child {
    min-height: 220px;
  }

  .interest-shell,
  .boundaries,
  .recent-shell {
    padding-top: 95px;
    padding-bottom: 100px;
  }

  .interest-card,
  .notice-card {
    padding: 22px;
  }

  .interest-card h3 {
    margin-top: 38px;
  }

  .vtuber-card {
    min-height: 0;
  }

  .rated-list li {
    gap: 12px;
  }

  .recent-list > div {
    grid-template-columns: 90px 1fr;
  }

  .social {
    padding-top: 90px;
    padding-bottom: 100px;
  }

  .social-card {
    padding: 30px 24px;
    box-shadow: 8px 8px 0 var(--shadow);
  }

  .discord-link {
    grid-template-columns: 38px 1fr auto;
    min-height: 90px;
    padding: 18px;
  }

  .discord-link svg {
    width: 36px;
  }

  .error-content h1 {
    font-size: clamp(58px, 20vw, 95px);
  }
}
