/* ═══════════════════════════════════════════════════
   OPERATOR TERMINAL — 游源 · 个人主页
   暗色终端驾驶舱美学 · 霓虹青 × 琥珀
   ═══════════════════════════════════════════════════ */

:root {
  --bg: #04070d;
  --bg-2: #0a0f1a;
  --panel: rgba(13, 20, 36, 0.55);
  --panel-solid: #0b1120;
  --line: rgba(0, 229, 255, 0.14);
  --cyan: #00e5ff;
  --amber: #ffc857;
  --pink: #ff6b9d;
  --text: #e6f1ff;
  --muted: #8b9bb4;
  --mono: 'JetBrains Mono', 'Cascadia Code', Consolas, monospace;
  --display: 'Chakra Petch', 'Noto Sans SC', sans-serif;
  --sans: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: clip;
  line-height: 1.7;
  /* 环境光晕 */
  background-image:
    radial-gradient(1200px 800px at 75% -10%, rgba(0, 229, 255, 0.07), transparent 60%),
    radial-gradient(900px 700px at 5% 110%, rgba(255, 200, 87, 0.05), transparent 60%);
  background-attachment: fixed;
}

::selection { background: var(--cyan); color: #03121a; }

/* 滚动条 */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: rgba(0, 229, 255, 0.25);
  border-radius: 99px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: rgba(0, 229, 255, 0.5); }

/* ─────────── 背景层 ─────────── */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 95% 75% at 50% 28%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 95% 75% at 50% 28%, #000 25%, transparent 78%);
}

#net { position: fixed; inset: 0; z-index: 0; }

.bg-noise {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* 扫描线 */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 3px);
}

main { position: relative; z-index: 2; }

/* ─────────── 自定义光标 ─────────── */
.cursor-dot, .cursor-ring {
  display: none;
  position: fixed; top: 0; left: 0; z-index: 9990;
  border-radius: 50%; pointer-events: none;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.9);
  margin: -3px 0 0 -3px;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(0, 229, 255, 0.55);
  margin: -18px 0 0 -18px;
  transition: width 0.25s var(--ease), height 0.25s var(--ease),
              margin 0.25s var(--ease), border-color 0.25s, opacity 0.3s;
}
.cursor-ring.cursor-hover {
  width: 58px; height: 58px;
  margin: -29px 0 0 -29px;
  border-color: rgba(255, 200, 87, 0.8);
}
@media (pointer: fine) {
  .cursor-dot, .cursor-ring { display: block; }
  body, a, button, .tilt { cursor: none; }
}
.cursor-hidden .cursor-dot,
.cursor-hidden .cursor-ring { opacity: 0; }

/* ─────────── 开机自检屏 ─────────── */
/* ─────────── 导航 ─────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(4, 7, 13, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  height: 60px; display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--mono); font-size: 18px; font-weight: 700;
  color: var(--text); text-decoration: none; letter-spacing: 1px;
  transition: text-shadow 0.3s, color 0.3s;
}
.logo span { color: var(--cyan); }
.logo:hover { text-shadow: 0 0 18px rgba(0, 229, 255, 0.8); }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-family: var(--mono); font-size: 13px; letter-spacing: 2px;
  color: var(--muted); text-decoration: none; position: relative;
  padding: 6px 0; transition: color 0.3s;
}
.nav-links a::before {
  content: '//'; position: absolute; left: -18px; opacity: 0;
  color: var(--cyan); transition: opacity 0.3s, left 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--cyan); }
.nav-links a:hover::before, .nav-links a.active::before { opacity: 1; left: -14px; }
.nav-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}
.nav-toggle {
  display: none; width: 40px; height: 40px;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--cyan);
  transition: transform 0.35s var(--ease);
}
#nav.open .nav-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
#nav.open .nav-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ─────────── HERO ─────────── */
.hero {
  display: flex; flex-direction: column; justify-content: center;
  position: relative; padding: 64px 0 16px;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px; width: 100%;
  display: block;
}
.hero-left { max-width: 760px; margin: 0 auto; }
.hero-hello {
  font-family: var(--mono); font-size: 15px; color: var(--cyan);
  letter-spacing: 2px; margin-bottom: 10px;
}
.hero-name {
  font-family: var(--display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900; line-height: 1.1; letter-spacing: 6px;
  color: var(--text);
  text-shadow: 0 0 40px rgba(0, 229, 255, 0.25);
  margin-bottom: 6px;
}
.hero-role {
  font-family: var(--display); font-size: clamp(1rem, 2.2vw, 1.4rem);
  font-weight: 500; letter-spacing: 3px; color: var(--muted);
  margin-bottom: 12px;
}
.hero-role em {
  font-style: normal; color: var(--amber);
  text-shadow: 0 0 22px rgba(255, 200, 87, 0.45);
}
.hero-typing {
  font-family: var(--mono); font-size: 16px; color: var(--text);
  margin-bottom: 12px; min-height: 1.8em;
}
.hero-typing .prompt { color: var(--amber); }
.caret, .t-caret {
  display: inline-block; width: 9px; height: 1.15em;
  background: var(--cyan); vertical-align: text-bottom; margin-left: 2px;
  animation: blink 1.05s steps(1) infinite;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.8);
}
@keyframes blink { 50% { opacity: 0; } }
.hero-desc {
  color: var(--muted); font-size: 15.5px; max-width: 660px;
  margin-bottom: 18px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 0; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, auto);
  gap: 0 40px; justify-content: start;
}
.stat { border-left: 2px solid rgba(0, 229, 255, 0.25); padding-left: 14px; }
.stat b {
  display: block; font-family: var(--display); font-size: 1.7rem;
  font-weight: 700; color: var(--cyan); line-height: 1.3;
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.4);
}
.stat span { font-size: 12px; color: var(--muted); letter-spacing: 1px; }

/* 故障字效 */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
}
.glitch.glitching::before {
  opacity: 0.85; color: var(--cyan);
  animation: gl1 0.38s steps(2, end) both;
}
.glitch.glitching::after {
  opacity: 0.85; color: var(--amber);
  animation: gl2 0.38s steps(2, end) both;
}
@keyframes gl1 {
  0%   { clip-path: inset(18% 0 62% 0); transform: translate(-7px, -2px); }
  25%  { clip-path: inset(58% 0 12% 0); transform: translate(6px, 2px); }
  50%  { clip-path: inset(8% 0 72% 0);  transform: translate(-5px, 1px); }
  75%  { clip-path: inset(42% 0 34% 0); transform: translate(5px, -1px); }
  100% { clip-path: inset(0 0 0 0);     transform: none; opacity: 0; }
}
@keyframes gl2 {
  0%   { clip-path: inset(64% 0 8% 0);  transform: translate(6px, 2px); }
  25%  { clip-path: inset(10% 0 66% 0); transform: translate(-6px, -2px); }
  50%  { clip-path: inset(50% 0 26% 0); transform: translate(4px, -1px); }
  75%  { clip-path: inset(24% 0 54% 0); transform: translate(-4px, 1px); }
  100% { clip-path: inset(0 0 0 0);     transform: none; opacity: 0; }
}

/* 下滑提示 */
.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 4px;
  color: var(--muted); text-decoration: none;
}
.scroll-hint span {
  width: 1px; height: 44px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  position: relative; overflow: hidden;
}
.scroll-hint span::after {
  content: ''; position: absolute; top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--cyan);
  animation: drip 1.8s ease-in-out infinite;
}
@keyframes drip { to { top: 110%; } }

/* ─────────── 区块通用 ─────────── */
.section { padding: 24px 0; position: relative; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

.sec-head { position: relative; margin-bottom: 24px; padding-left: 4px; }
.sec-ghost {
  position: absolute; left: -4px; top: -14px; z-index: -1;
  font-family: var(--display); font-size: 3.5rem; font-weight: 700; line-height: 1;
  color: rgba(0, 229, 255, 0.22);
  -webkit-text-stroke: 1.5px rgba(0, 229, 255, 0.55);
  text-shadow: 0 0 24px rgba(0, 229, 255, 0.35);
  user-select: none;
}
.sec-title {
  font-family: var(--sans); font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 1.9rem); letter-spacing: 1px;
}
.sec-title .dot { color: var(--cyan); text-shadow: 0 0 16px rgba(0, 229, 255, 0.7); }
.sec-en {
  display: block; margin-top: 4px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 3px;
  color: rgba(0, 229, 255, 0.7);
}

/* 滚动浮现 */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.75s ease var(--d, 0ms), transform 0.75s var(--ease) var(--d, 0ms);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-hero {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.85s ease var(--d, 0ms), transform 0.85s var(--ease) var(--d, 0ms);
}
body.loaded .reveal-hero { opacity: 1; transform: none; }

/* ─────────── 01 关于我 ─────────── */
.about-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 44px; align-items: start;
}

.terminal {
  background: rgba(8, 14, 26, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  transition: border-color 0.35s, box-shadow 0.35s;
}
.terminal:hover {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45), 0 0 40px rgba(0, 229, 255, 0.08);
}
.term-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.term-bar i { width: 11px; height: 11px; border-radius: 50%; }
.term-bar i:nth-child(1) { background: #ff5f56; }
.term-bar i:nth-child(2) { background: #ffbd2e; }
.term-bar i:nth-child(3) { background: #27c93f; }
.term-bar span {
  margin-left: 10px; font-family: var(--mono);
  font-size: 11.5px; color: var(--muted);
}
.term-body { padding: 22px 24px; font-family: var(--mono); font-size: 13.5px; }
.term-body p { color: var(--muted); margin-bottom: 8px; }
.t-prompt { color: var(--amber); }
.term-body pre { white-space: pre-wrap; line-height: 2.05; color: #b7c5da; }
.term-body .k { color: var(--pink); }
.term-body .v { color: var(--cyan); }

.skills { display: grid; gap: 20px; align-content: center; }
.skill-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 8px;
}
.skill-head span { font-size: 14px; color: var(--text); letter-spacing: 0.5px; }
.skill-head b { font-family: var(--mono); font-size: 12.5px; color: var(--cyan); }
.skill-bar {
  height: 6px; border-radius: 99px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.1);
  overflow: hidden;
}
.skill-fill {
  display: block; height: 100%; width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.5), var(--cyan));
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.55);
  transition: width 1.2s var(--ease) 0.15s;
}
.skills.visible .skill-fill { width: var(--lv); }

.chips {
  margin-top: 48px; display: flex; flex-wrap: wrap; gap: 10px;
}
.chip {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.5px;
  color: var(--muted); padding: 7px 16px;
  border: 1px solid rgba(139, 155, 180, 0.25); border-radius: 999px;
  transition: color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.chip:hover {
  color: var(--cyan); border-color: rgba(0, 229, 255, 0.6);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.18);
  transform: translateY(-2px);
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.5px;
  color: var(--cyan); padding: 3px 11px;
  border: 1px solid rgba(0, 229, 255, 0.25); border-radius: 999px;
  background: rgba(0, 229, 255, 0.05);
}

/* ─────────── 01 个人作品 ─────────── */
.works-grid {
  display: flex; flex-wrap: wrap; gap: 14px;
}
.work-card {
  position: relative; flex: 1 1 340px; min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color 0.35s, box-shadow 0.35s;
  will-change: transform;
  transform-style: preserve-3d;
}
.work-card:hover {
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5), 0 0 44px rgba(0, 229, 255, 0.09);
}
/* 鼠标跟随聚光 */
.work-card::before {
  content: ''; position: absolute; inset: 0; z-index: 3;
  border-radius: inherit; pointer-events: none;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 50%),
              rgba(0, 229, 255, 0.13), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}
.work-card:hover::before { opacity: 1; }

.work-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.work-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(0.85) contrast(1.03);
  transition: transform 0.7s var(--ease), filter 0.7s;
}
.work-card:hover .work-media img { transform: scale(1.07); filter: saturate(1.05); }
.work-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end;
  background: linear-gradient(to top, rgba(4, 7, 13, 0.9) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.4s;
}
.work-card:hover .work-overlay { opacity: 1; }
.work-overlay span {
  font-family: var(--mono); font-size: 13px; letter-spacing: 2px;
  color: var(--cyan); padding: 18px 22px;
  transform: translateY(10px); transition: transform 0.45s var(--ease);
}
.work-card:hover .work-overlay span { transform: none; }

.work-body { padding: 16px 18px; min-width: 0; }
.work-top {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 8px;
}
.work-top h3 { font-size: 1.06rem; font-weight: 700; letter-spacing: 0.5px; }
.work-year { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.work-body p { color: var(--muted); font-size: 13.5px; margin-bottom: 10px; }

/* ─────────── 04 联系我 ─────────── */
.contact-box {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid var(--line); border-radius: 20px;
  padding: 30px 24px;
  background: linear-gradient(180deg, rgba(13, 20, 36, 0.55), rgba(8, 12, 22, 0.85));
}
/* 角标括号 */
.contact-box::before, .contact-box::after {
  content: ''; position: absolute; width: 30px; height: 30px;
  border: 2px solid var(--cyan);
}
.contact-box::before { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.contact-box::after { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }

.contact-kicker {
  font-family: var(--mono); font-size: 13px; letter-spacing: 3px;
  color: rgba(0, 229, 255, 0.7); display: block; margin-bottom: 10px;
}
.contact-box h2 {
  font-weight: 900; font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.35; letter-spacing: 1px; margin-bottom: 12px;
}
.contact-box .hl {
  color: var(--cyan); text-shadow: 0 0 32px rgba(0, 229, 255, 0.55);
}
.contact-box > p {
  color: var(--muted); max-width: 540px; margin: 0 auto 18px; font-size: 15px;
}
.btn-lg { padding: 10px 20px; font-size: 14px; }

.contact-actions {
  display: flex; justify-content: center; align-items: center;
  gap: 16px; flex-wrap: wrap;
}

.contact-icon { width: 22px; height: 22px; flex-shrink: 0; object-fit: contain; }

.contact-links {
  margin-top: 18px; display: flex; justify-content: center;
  align-items: center; gap: 18px; flex-wrap: wrap;
}
.contact-links a {
  font-family: var(--mono); font-size: 13.5px; letter-spacing: 1px;
  color: var(--muted); text-decoration: none; position: relative;
  transition: color 0.3s, text-shadow 0.3s;
}
.contact-links a:hover {
  color: var(--cyan); text-shadow: 0 0 16px rgba(0, 229, 255, 0.6);
}
.contact-links i { color: rgba(139, 155, 180, 0.4); font-style: normal; }

/* ─────────── 按钮 ─────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 14px; letter-spacing: 1.5px;
  padding: 14px 32px; border-radius: 8px;
  border: 1px solid; text-decoration: none;
  transition: all 0.3s var(--ease);
}
.btn-primary {
  color: var(--cyan); border-color: rgba(0, 229, 255, 0.5);
  background: rgba(0, 229, 255, 0.06);
}
.btn-primary:hover {
  background: var(--cyan); color: #03121a;
  box-shadow: 0 0 36px rgba(0, 229, 255, 0.4);
  transform: translateY(-2px);
}
.btn-ghost { color: var(--muted); border-color: rgba(139, 155, 180, 0.3); }
.btn-ghost:hover {
  color: var(--text); border-color: var(--muted); transform: translateY(-2px);
}

/* ─────────── 页脚 / 回顶 ─────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 18px 28px; position: relative; z-index: 2;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 1px;
  color: var(--muted);
}
.footer b { color: var(--cyan); }

#toTop {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px; display: grid; place-items: center; padding: 0;
  border: 1px solid rgba(0, 229, 255, 0.4); border-radius: 10px;
  background: rgba(8, 14, 26, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--cyan); font-size: 28px; font-weight: 700; line-height: 1;
  opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: all 0.35s var(--ease);
}
#toTop.show { opacity: 1; pointer-events: auto; transform: none; }
#toTop:hover {
  background: rgba(0, 229, 255, 0.12);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.35);
}

/* ─────────── 真实资料与作品入口 ─────────── */
.hero-site { margin-top: 0; color: var(--muted); font-family: var(--mono); font-size: 13px; letter-spacing: 1px; }
.hero-site span { margin: 0 10px; color: var(--cyan); }
.skills-note { color: var(--muted); font-size: 12px; margin-bottom: 18px; }
.skill-description { color: var(--muted); font-family: var(--mono); font-size: 13px; line-height: 1.8; }
.skill { padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.work-poster { display: flex; align-items: flex-start; gap: 16px; min-height: 120px; height: auto; aspect-ratio: auto; padding: 16px 18px; line-height: 1.4; background: radial-gradient(ellipse at top right, rgba(0, 229, 255, .10), transparent 70%), var(--panel); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.work-poster::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0,229,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(0,229,255,.025) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.work-poster-badge { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; flex-shrink: 0; }
.poster-number { position: static; font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--cyan); line-height: 1; min-width: auto; flex-shrink: 0; text-shadow: 0 0 14px rgba(0, 229, 255, 0.4); }
.work-thumb { width: 68px; height: 68px; border-radius: 12px; object-fit: contain; flex-shrink: 0; background: #fdf8ea; border: 1px solid rgba(0, 229, 255, 0.2); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); }
.work-intro { flex: 1; min-width: 0; }
.work-intro h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: 0.5px; margin-top: 0; margin-bottom: 6px; color: var(--text); }
.work-intro p { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 0; }
.poster-2 { background: radial-gradient(ellipse at top right, rgba(255, 200, 87, .12), transparent 70%), var(--panel); }
.poster-2 .poster-eyebrow { color: var(--amber); }
.work-link { display: flex; align-items: center; justify-content: center; text-align: center; gap: 8px; margin-top: 12px; padding: 14px 12px; width: 100%; max-width: 100%; border: 1px solid var(--line); border-radius: 8px; color: var(--cyan); text-decoration: none; font-size: 13px; background: rgba(0, 229, 255, .04); cursor: pointer; }
.work-link:hover { border-color: var(--cyan); background: rgba(0, 229, 255, .09); }
.work-link:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.work-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.work-actions .work-link { margin-top: 0; }
.work-body .work-note { margin: 8px 0 0; font-size: 12px; }
.work-code summary { list-style: none; }
.work-code summary::-webkit-details-marker { display: none; }
.work-code[open] summary { border-color: var(--cyan); }
.qr-panel { margin-top: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.qr-panel img { display: block; width: min(100%, 260px); height: auto; margin: 0 auto; border-radius: 8px; }
.qr-panel p { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.8; }
/* Native dialog keeps the QR above the transformed project cards. */
body.travel-dialog-open { overflow: hidden; }
.travel-dialog {
  width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  margin: auto; padding: 24px; box-sizing: border-box; overflow-y: auto;
  color: var(--text); background: #0b131e; border: 1px solid var(--line); border-radius: 16px;
}
.travel-dialog::backdrop { background: rgba(0, 0, 0, .75); }
.travel-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.travel-dialog-head h2 { margin: 0; font-size: 20px; }
.travel-dialog-head .work-link { margin: 0; width: auto; flex-shrink: 0; white-space: nowrap; }
.travel-dialog-intro { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.travel-dialog .qr-panel { padding: 12px; margin-top: 16px; }
.travel-dialog .qr-panel img { width: min(100%, 340px); }
.travel-dialog .work-actions { justify-content: center; }
.travel-dialog .travel-copy-status { margin: 12px 0 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }

.work-availability { margin-top: 20px; color: var(--muted); font-size: 12px; }
.contact-links a { overflow-wrap: anywhere; }

/* ─────────── 响应式 ─────────── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .works-grid { gap: 14px; }
  .sec-ghost { font-size: 3.5rem; top: -14px; }
}

@media (max-width: 768px) {
  .section { padding: 20px 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 60px; left: 0; right: 0;
    flex-direction: column; gap: 4px;
    background: rgba(4, 7, 13, 0.96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 18px 28px 26px;
    visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-10px);
    transition: opacity 0.35s, transform 0.35s var(--ease);
  }
  .nav-links a { padding: 12px 0; font-size: 15px; }
  .nav-links a::before { position: static; margin-right: 10px; }
  #nav.open .nav-links { visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
  .hero { padding-top: 68px; }
  .hero-stats { grid-template-columns: repeat(2, auto); gap: 22px 40px; }
  .hero-name { letter-spacing: 3px; }
  .scroll-hint { display: none; }
}

@media (max-width: 600px) {
  .works-grid { flex-direction: column; }
  .work-card { flex: none; display: flex; flex-direction: column; }
  .work-poster { min-height: 100px; height: auto; padding: 14px 14px; gap: 12px; border-bottom: 1px solid var(--line); border-right: 0; }
  .work-poster-badge { gap: 6px; }
  .poster-number { font-size: 20px; min-width: auto; }
  .work-thumb { width: 60px; height: 60px; border-radius: 10px; }
  .work-intro h3 { font-size: 0.95rem; margin-bottom: 4px; }
  .work-intro p { font-size: 12px; line-height: 1.45; }
  .work-body { padding: 14px; }
  .work-card:has(.work-code[open]) { display: flex; }
  .work-card:has(.work-code[open]) .work-poster { min-height: 100px; height: auto; border-bottom: 1px solid var(--line); }
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .footer { justify-content: center; text-align: center; }
}

/* 两列排版的末张作品保持上下两栏结构。 */
@media (min-width: 601px) and (max-width: 867px) {
  .work-card:last-child:nth-child(odd) { display: flex; flex-direction: column; }
  .work-card:last-child:nth-child(odd) .work-poster { min-height: 120px; height: auto; border-bottom: 1px solid var(--line); border-right: 0; }
}

/* ─────────── 减少动态偏好 ─────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .reveal-hero { opacity: 1 !important; transform: none !important; }
  #net { display: none; }
}

/* ─────────── Personal space: additions preserve the existing visual system ─────────── */
[hidden] { display: none !important; }
.nav-inner { gap: 22px; }
.nav-links { margin-left: auto; gap: 28px; }
.nav-tools { display: flex; align-items: center; gap: 5px; }
.nav-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; padding: 7px; border: 1px solid transparent; border-radius: 8px; color: var(--muted); background: transparent; text-decoration: none; }
.nav-icon img { display: block; width: 20px; height: 20px; object-fit: contain; }
.nav-icon svg { display: block; width: 20px; height: 20px; stroke: currentColor; fill: none; flex-shrink: 0; }
.nav-icon:hover, .nav-icon[aria-expanded="true"] { color: var(--cyan); background: rgba(0,229,255,.06); border-color: var(--line); }
.music-toggle.is-playing { color: var(--cyan); border-color: var(--cyan); }
.nav-icon:focus-visible, .text-button:focus-visible, .guest-form input:focus-visible, .guest-form textarea:focus-visible, .music-volume input:focus-visible, .btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.personal-note { max-width: 660px; margin: 24px 0; padding: 14px 18px; border-left: 2px solid var(--amber); background: rgba(255,200,87,.035); }
.note-label { color: var(--amber); font-family: var(--mono); font-size: 12px; letter-spacing: 1px; }
.personal-note p { margin: 7px 0 4px; color: var(--text); font-size: 14px; }
.personal-note a { color: var(--muted); font-size: 12px; text-underline-offset: 4px; }
.personal-note a:hover { color: var(--amber); }
/* Photo journal: a quiet exhibition frame within the existing terminal palette. */
.photo-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 24px; row-gap: 8px; }
.photo-heading .sec-ghost { top: 6px; color: rgba(0, 229, 255, 0.22); -webkit-text-stroke: 1.5px rgba(0, 229, 255, 0.55); text-shadow: 0 0 24px rgba(0, 229, 255, 0.35); }
.photo-kicker { grid-column: 1; color: var(--muted); font: 10px var(--mono); letter-spacing: .24em; }
.photo-heading .sec-title { grid-column: 1; font-weight: 500; letter-spacing: .12em; }
.photo-heading .dot { text-shadow: none; }
.photo-intro { grid-column: 2; grid-row: 2; margin: 0 0 4px; color: var(--muted); font-size: 12px; letter-spacing: .06em; }
.photo-carousel {
  position: relative; isolation: isolate; overflow: hidden;
  border: 1px solid rgba(230, 241, 255, .13); border-radius: 10px;
  background: #0c1015;
  box-shadow: 0 24px 64px -28px rgba(0, 0, 0, .75), 0 2px 8px rgba(0, 0, 0, .2);
}
.photo-viewport {
  position: relative; height: clamp(300px, 65vh, 640px); touch-action: pan-y pinch-zoom; user-select: none;
  background: radial-gradient(ellipse at 50% 45%, rgba(139, 155, 180, .09), transparent 72%);
}
.photo-viewport::after {
  content: ''; position: absolute; inset: 0 0 auto; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(230, 241, 255, .18), transparent);
}
.photo-carousel[data-direction="prev"] { --photo-offset: -12px; }
.photo-slide { width: 100%; height: 100%; margin: 0; }
.photo-slide[hidden] { display: none; }
.photo-slide:not([hidden]) { animation: photo-enter .55s var(--ease); }
@keyframes photo-enter {
  from { opacity: .45; transform: translateX(var(--photo-offset, 12px)); }
  to { opacity: 1; transform: translateX(0); }
}
.photo-slide img { display: block; width: 100%; height: 100%; object-fit: contain; -webkit-user-drag: none; }
.photo-arrow {
  position: absolute; top: calc((100% - 48px) / 2); transform: translateY(-50%);
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid rgba(230, 241, 255, .2); border-radius: 50%;
  background: rgba(12, 16, 21, .82); color: #d7dfe9; cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .16);
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.photo-arrow span { display: grid; place-items: center; width: 18px; height: 18px; font-size: 0; }
.photo-arrow span::before { content: ''; width: 8px; height: 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.photo-prev { left: 20px; }
.photo-next { right: 20px; }
.photo-prev span::before { transform: rotate(-135deg); margin-left: 4px; }
.photo-next span::before { margin-right: 4px; }
.photo-arrow:hover { color: var(--cyan); border-color: rgba(0, 229, 255, .45); background-color: #151e28; }
.photo-arrow:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.photo-arrow:disabled { opacity: .35; cursor: default; }
.photo-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 48px; padding: 0 24px; border-top: 1px solid rgba(230, 241, 255, .09);
  background: #0c1015; color: #a5afbd; font-size: 11px; letter-spacing: .1em;
}
.photo-caption { display: inline-flex; align-items: center; gap: 10px; }
.photo-caption-mark { width: 16px; height: 1px; background: var(--cyan); opacity: .65; }
#photoCount { font: 11px var(--mono); font-variant-numeric: tabular-nums; color: #c3ccd8; letter-spacing: .16em; }

.guestbook-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: stretch; }
.guest-form, .guest-wall {
  min-width: 0;
  background: rgba(8, 14, 26, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: 0 16px 48px -20px rgba(0, 0, 0, 0.5);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.guest-form:hover, .guest-wall:hover {
  border-color: rgba(0, 229, 255, 0.3);
}
.field-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; font-size: 13px; }
.field-head label span { color: var(--muted); font-size: 12px; }
.field-head output { flex-shrink: 0; font-family: var(--mono); color: var(--muted); font-size: 12px; transition: color 0.2s ease; }
.field-head output:not(:empty) { color: var(--cyan); }
.field-head output.over-limit { color: var(--amber) !important; }
.guest-form input[type="text"], .guest-form input:not([type]), .guest-form input[type="password"], .guest-form textarea {
  display: block; width: 100%; max-width: 100%;
  border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 14px; color: var(--text); background: rgba(4, 7, 13, 0.65);
  font: inherit; font-size: 14px; margin-bottom: 16px;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.guest-form input[type="text"]:hover, .guest-form input:not([type]):hover, .guest-form textarea:hover {
  border-color: rgba(0, 229, 255, 0.35);
}
.guest-form textarea { resize: vertical; min-height: 120px; max-height: 320px; line-height: 1.6; }
.guest-form input::placeholder, .guest-form textarea::placeholder { color: var(--muted); opacity: .7; }
.guest-public { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); cursor: pointer; user-select: none; margin-bottom: 4px; padding: 4px 0; }
.guest-public:hover { color: var(--text); }
.guest-public input { width: 17px; height: 17px; margin: 0; accent-color: var(--cyan); flex-shrink: 0; cursor: pointer; }
.field-hint { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 10px 0; overflow-wrap: anywhere; }
.form-status { min-height: 1.8em; margin-top: 10px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.form-status[data-state="error"], .field-hint[data-state="error"] {
  color: var(--amber); background: rgba(255, 200, 87, 0.08);
  border: 1px solid rgba(255, 200, 87, 0.22); border-radius: 6px; padding: 8px 12px;
}
.form-status[data-state="success"] {
  color: var(--cyan); background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.22); border-radius: 6px; padding: 8px 12px;
}
.guest-wall { display: flex; flex-direction: column; }
.guest-wall-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.guest-wall-heading h3 { font-size: 15px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 8px; }
.guest-wall-heading h3::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.guest-wall-heading .text-button {
  border: 1px solid rgba(0, 229, 255, 0.25); border-radius: 6px; padding: 4px 10px;
  color: var(--cyan); background: rgba(0, 229, 255, 0.05); font: inherit; font-size: 12px;
  text-decoration: none; cursor: pointer; transition: all 0.2s ease;
}
.guest-wall-heading .text-button:hover {
  background: rgba(0, 229, 255, 0.15); border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.25); text-decoration: none;
}
.text-button { border: none; padding: 5px 0; color: var(--cyan); background: transparent; font: inherit; font-size: 12px; text-decoration: none; }
.text-button:hover { text-decoration: underline; text-underline-offset: 4px; }
button:disabled, input:disabled { cursor: not-allowed; opacity: .4; }
button:disabled:hover { text-decoration: none; }
.guest-list {
  flex: 1; display: flex; flex-direction: column; gap: 10px; margin-top: 12px;
  min-height: 180px; max-height: 380px; overflow-y: auto; padding-right: 4px;
}
.guest-list::-webkit-scrollbar { width: 4px; }
.guest-list::-webkit-scrollbar-thumb { background: rgba(0, 229, 255, 0.25); border-radius: 4px; }
.guest-message {
  border: 1px solid rgba(0, 229, 255, 0.1); border-radius: 8px; padding: 12px 14px;
  background: rgba(4, 7, 13, 0.6); transition: border-color 0.2s ease, transform 0.2s ease;
}
.guest-message:hover { border-color: rgba(0, 229, 255, 0.3); transform: translateX(2px); }
.guest-message header { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; margin-bottom: 6px; }
.guest-author { display: flex; align-items: center; gap: 8px; min-width: 0; }
.guest-avatar {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0, 229, 255, 0.12); color: var(--cyan);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 10px; font-weight: 700;
  border: 1px solid rgba(0, 229, 255, 0.3); flex-shrink: 0;
}
.guest-message header strong { font-weight: 600; font-size: 13px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guest-message time { flex-shrink: 0; font: 11px var(--mono); color: var(--muted); }
.guest-message p { margin: 0; color: #b7c5da; font-size: 13.5px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.guest-empty {
  display: flex; align-items: center; justify-content: center;
  min-height: 140px; color: var(--muted); font-size: 13px; font-family: var(--mono);
  border: 1px dashed rgba(0, 229, 255, 0.15); border-radius: 8px; text-align: center; padding: 20px;
}
.guest-pagination {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line);
  font: 12px var(--mono); color: var(--muted);
}
.guest-pagination .text-button {
  border: 1px solid rgba(0, 229, 255, 0.25); border-radius: 6px; padding: 4px 10px;
  color: var(--cyan); background: rgba(0, 229, 255, 0.05); font: inherit; font-size: 12px;
  text-decoration: none; cursor: pointer; transition: all 0.2s ease;
}
.guest-pagination .text-button:not(:disabled):hover {
  background: rgba(0, 229, 255, 0.15); border-color: var(--cyan); text-decoration: none;
}
.contact-links { flex-wrap: wrap; align-items: center; }
.contact-links span { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.music-panel { position: fixed; z-index: 110; top: 80px; right: max(20px, calc((100vw - 1144px) / 2)); width: 380px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 100px); overflow: auto; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #0a101b; box-shadow: 0 18px 60px rgba(0,0,0,.45); }
.music-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.music-panel-heading h2 { font-size: 18px; font-weight: 500; margin-top: 4px; }
.music-kicker { font: 10px var(--mono); letter-spacing: 1.5px; color: var(--amber); }
.music-panel-heading .nav-icon { font-size: 24px; }
.music-track { font-size: 13px; margin: 14px 0; overflow-wrap: anywhere; }
#musicEmbed iframe { width: 100%; height: 240px; border: 0; display: block; margin-bottom: 14px; }
.music-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.music-controls .btn { padding: 8px 22px; font-size: 13px; }
.music-volume { display: flex; align-items: center; gap: 16px; margin: 18px 0; font-size: 12px; color: var(--muted); }
.music-volume input { width: 100%; accent-color: var(--cyan); }
.admin-container { max-width: 760px; padding-top: 60px; padding-bottom: 60px; }
.admin-container h1 { font-size: 26px; margin-bottom: 12px; }
@media (max-width: 900px) and (min-width: 769px) {
  .nav-inner { gap: 14px; padding-inline: 20px; }
  .nav-links { gap: 22px; }
}
@media (max-width: 768px) {
  .nav-inner { gap: 8px; padding-inline: 16px; }
  .nav-links { margin-left: 0; }
  .nav-tools { margin-left: auto; gap: 3px; }
  .nav-icon { width: 32px; height: 36px; padding: 5px; }
  .logo { font-size: 16px; letter-spacing: 0; }
  .guestbook-grid { grid-template-columns: 1fr; gap: 20px; }
  .guest-form, .guest-wall { padding: 18px 16px; border-radius: 12px; }
  .guest-wall { border-left: 1px solid var(--line); }
  .music-panel { right: 16px; padding: 18px; }
  .photo-heading { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .photo-heading .sec-ghost { top: 8px; }
  .photo-kicker { font-size: 9px; letter-spacing: .2em; }
  .photo-intro { grid-column: 1; grid-row: 3; margin: 0; font-size: 11px; letter-spacing: .03em; }
  .photo-viewport { height: clamp(300px, 60svh, 520px); }
  .photo-prev { left: 8px; }
  .photo-next { right: 8px; }
  .photo-arrow { top: auto; bottom: 8px; transform: none; height: 44px; }
  .photo-footer { height: 60px; justify-content: center; padding-inline: 64px; }
  .photo-footer > span:first-child { display: none; }

}
@media (prefers-reduced-motion: reduce) {
  .photo-slide:not([hidden]) { animation: none; }
  .reveal-hero { opacity: 1; transform: none; }
}

/* Terminal detail polish: preserve the original skin and geometry. */
/* Hallmark · pre-emit critique: P5 H4 E5 S5 R5 V3 · original terminal palette */
.work-card {
  box-shadow: inset 0 1px 0 var(--line), 0 14px 34px -26px var(--bg);
}
.work-card:focus-within {
  border-color: var(--cyan);
  box-shadow: inset 0 1px 0 var(--line), 0 0 0 1px var(--line);
}
.work-thumb { outline: 1px solid var(--line); outline-offset: -1px; }
.tags span { box-shadow: inset 0 1px 0 var(--line); }
.btn, .work-link {
  transition: color .25s ease, background-color .25s ease, border-color .25s ease,
              box-shadow .25s ease, transform .25s var(--ease);
}
.btn-primary { box-shadow: inset 0 1px 0 var(--line); }
.btn-ghost { box-shadow: inset 0 1px 0 var(--line); }
.btn:not(:disabled):active {
  transform: translateY(0);
  box-shadow: inset 0 2px 8px var(--bg);
}
.work-link { box-shadow: inset 0 1px 0 var(--line); }
.work-link:not(:disabled):active { box-shadow: inset 0 2px 8px var(--bg); }
.work-link > span { transition: transform .2s var(--ease); }
.work-link:hover > span, .work-link:focus-visible > span { transform: translate(2px, -2px); }
.nav-icon { transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.nav-icon:hover { box-shadow: inset 0 1px 0 var(--line); }
.nav-links a:focus-visible, .nav-toggle:focus-visible, #toTop:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 4px;
}
.guest-form :is(input:not([type]), input[type="text"], textarea) {
  caret-color: var(--cyan);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.guest-form :is(input:not([type]), input[type="text"], textarea):focus-visible {
  border-color: var(--cyan);
  box-shadow: inset 0 1px 0 var(--line), 0 0 0 3px var(--line);
}
.text-button { transition: color .2s ease, text-decoration-color .2s ease; }
.contact-box { box-shadow: inset 0 1px 0 var(--line), 0 18px 44px -34px var(--bg); }
.contact-box::before, .contact-box::after { pointer-events: none; }
.travel-dialog { box-shadow: inset 0 1px 0 var(--line), 0 26px 70px var(--bg); }
