﻿/* ============================================================
   LITHOS 路 dark editorial theme for Jinhang Zhang
   Black canvas, Inter/Playfair, orange signal, glass navigation.
   ============================================================ */

:root {
  --font-sans: "Inter", "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-display: var(--font-serif);

  --bg: #050505;
  --bg-soft: #0b0b0c;
  --card: #0d0d0e;
  --text: #f5f5f4;
  --muted: rgba(255, 255, 255, 0.6);
  --border: rgba(255, 255, 255, 0.12);
  --accent: #e8702a;
  --accent-2: #f59e0b;
  --accent-soft: rgba(232, 112, 42, 0.14);
  --nav-bg: rgba(5, 5, 5, 0.55);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.3);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 40px 100px rgba(0, 0, 0, 0.65);
  --radius: 26px;
  --radius-sm: 16px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: #fff;
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.bg-blobs,
.nav-indicator,
.footer-motto {
  display: none !important;
}

main {
  min-height: 0;
  padding-bottom: 0;
}

section {
  padding: 96px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.container {
  max-width: var(--maxw);
}

/* ---------- 瀵艰埅 ---------- */
.bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  background: transparent;
  border: 0;
  transition: background 0.3s, padding 0.3s, border-color 0.3s;
}

.bar.scrolled {
  padding: 12px 26px;
  background: rgba(5, 5, 5, 0.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.brand svg {
  flex: none;
}

.brand-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}

.brand-text small {
  display: none;
}

.bar-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.bar-nav a {
  display: block;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.76);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.bar-nav a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.bar-nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.bar-nav a::after {
  display: none !important;
}

.bar-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: #e5e5e5;
  transform: translateY(-1px);
}

.bar-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.bar-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle {
  display: none;
}

/* ---------- Hero ---------- */
.hero-lithos {
  position: relative;
  height: 100dvh;
  min-height: 620px;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #000;
}

.hero-base,
.hero-reveal {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-base {
  z-index: 10;
  animation: lithosZoom 1.8s var(--ease) forwards;
}

.hero-reveal {
  z-index: 30;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(transparent, transparent);
  mask-image: linear-gradient(transparent, transparent);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.hero-mask {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-heading {
  position: absolute;
  top: 14%;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  text-align: center;
  pointer-events: none;
}

.hero-heading h1 {
  margin: 0;
  color: #fff;
  line-height: 0.95;
}

.hero-line {
  display: block;
  font-size: clamp(48px, 7.6vw, 108px);
  line-height: 0.95;
}

.hero-line.line-1 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.05em;
  opacity: 0;
  animation: lithosReveal 1.1s 0.25s var(--ease) forwards;
}

.hero-line.line-2 {
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: -0.08em;
  margin-top: -4px;
  opacity: 0;
  animation: lithosReveal 1.1s 0.42s var(--ease) forwards;
}

.hero-intro {
  position: absolute;
  bottom: 56px;
  left: 56px;
  z-index: 50;
  max-width: 270px;
  opacity: 0;
  animation: lithosFade 1s 0.7s var(--ease) forwards;
}

.hero-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.7;
}

.hero-cta {
  position: absolute;
  right: 56px;
  bottom: 64px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 270px;
  opacity: 0;
  animation: lithosFade 1s 0.85s var(--ease) forwards;
}

.hero-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.7;
}

.hero-hint {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.55);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  background: #e8702a;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.hero-btn:hover {
  background: #d2611f;
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(232, 112, 42, 0.3);
}

@keyframes lithosReveal {
  0% {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes lithosFade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lithosZoom {
  0% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

/* ---------- 棣栭〉鍐呭 ---------- */
#view-home > section:not(.hero-lithos) {
  padding: 96px 0;
}

#view-home > section:not(.hero-lithos) + section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(232, 112, 42, 0.12);
}

.section-head {
  max-width: none;
  margin-bottom: 40px;
}

.section-title {
  margin-bottom: 14px;
  color: #fff;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-desc {
  max-width: 560px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- 鎸夐挳 ---------- */
.btn {
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  box-shadow: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: none;
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #d2611f;
  box-shadow: 0 14px 34px rgba(232, 112, 42, 0.25);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-ghost:hover {
  transform: translateY(-1px);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.tag {
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
}

/* ---------- 鍏充簬 ---------- */
.about-grid {
  gap: 64px;
}

.about-text p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.skill-list {
  gap: 20px;
}

.skill-top {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 500;
}

.skill-top span:last-child {
  color: var(--accent);
  font-size: 11px;
}

.skill-bar {
  height: 3px;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.12);
}

.skill-bar i {
  border-radius: 0;
  background: var(--accent);
}

/* ---------- 棣栭〉鍏ュ彛鍗?---------- */
.music-promo,
.game-promo {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(600px 240px at 100% 0%, rgba(232, 112, 42, 0.1), transparent 60%),
    #0b0b0c;
  box-shadow: none;
}

.music-promo::before,
.game-promo::before {
  display: none;
}

.mp-covers img {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  box-shadow: none;
}

.gp-faces img {
  width: 66px;
  height: 66px;
  border: 2px solid #0b0b0c;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.mp-text h3,
.gp-text h3 {
  margin-bottom: 8px;
  color: #fff;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.mp-text p,
.gp-text p {
  max-width: 54ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.mp-actions {
  gap: 10px;
}

/* ---------- 浣滃搧鍗＄墖 ---------- */
.card-grid {
  gap: 18px;
}

.work-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: #0b0b0c;
  box-shadow: none;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 112, 42, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.work-thumb {
  aspect-ratio: 16 / 10;
}

.work-thumb img {
  filter: grayscale(0.5) brightness(0.8);
  transition: transform 0.7s var(--ease), filter 0.4s;
}

.work-card:hover .work-thumb img {
  filter: grayscale(0) brightness(1);
  transform: scale(1.05);
}

.work-thumb .badge {
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(5, 5, 5, 0.55);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.work-thumb .overlay {
  background: linear-gradient(180deg, transparent 30%, rgba(5, 5, 5, 0.75));
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.work-body {
  padding: 20px 20px 22px;
  gap: 9px;
}

.work-body h3 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.work-body p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

/* 绛涢€?*/
.filter-row {
  gap: 8px;
  margin-bottom: 34px;
}

.filter-btn {
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 500;
}

.filter-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.filter-btn.active {
  color: #111;
  border-color: #fff;
  background: #fff;
  box-shadow: none;
}

/* ---------- 鐩稿唽 ---------- */
.gallery-grid {
  gap: 14px;
  grid-auto-rows: 180px;
}

.gallery-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #0b0b0c;
}

.gallery-item img {
  filter: saturate(0.9) brightness(0.85);
}

.gallery-item:hover img {
  filter: none;
}

.gallery-item .cap {
  background: linear-gradient(180deg, transparent, rgba(5, 5, 5, 0.82));
  font-size: 12px;
  font-weight: 500;
}

/* ---------- 椤甸潰澶撮儴 ---------- */
.page-head {
  padding-top: 148px;
  padding-bottom: 26px;
}

.page-head h1 {
  margin: 8px 0 16px;
  color: #fff;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.page-head p {
  max-width: 660px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.grad-text {
  background: linear-gradient(100deg, #fff 20%, #e8702a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

#view-portfolio section,
#view-gallery section {
  padding-top: 24px;
  border-top: 0;
}

/* ---------- 鑱旂郴 ---------- */
.contact-grid {
  gap: 56px;
}

.contact-list {
  gap: 12px;
  margin-top: 28px;
}

.contact-item {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #0b0b0c;
}

.contact-item:hover {
  transform: translateX(3px);
  border-color: rgba(232, 112, 42, 0.45);
}

.contact-ico {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  filter: grayscale(1) brightness(1.4);
}

.contact-item .meta b {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.contact-item .meta span {
  color: var(--muted);
  font-size: 12px;
}

.copy-btn {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.copy-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.form-card {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  background: #0b0b0c;
  box-shadow: none;
}

.field label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 500;
}

.field input,
.field textarea {
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: #050505;
  color: #fff;
  font-size: 13px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(232, 112, 42, 0.12);
}

.form-ok {
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
}

/* ---------- 椤佃剼 ---------- */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #050505;
  padding: 36px 0;
}

.footer-inner {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.footer-inner a:hover {
  color: var(--accent);
}

/* ---------- 寮圭獥 / 鐏 / Toast ---------- */
.modal,
.lightbox {
  background: rgba(0, 0, 0, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.modal-box {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: #0b0b0c;
  box-shadow: var(--shadow-lg);
}

.modal-thumb {
  border-radius: 24px 24px 0 0;
}

.modal-content h3 {
  color: #fff;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
}

.modal-content p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.modal-close,
.lightbox-close,
.lightbox-btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.lightbox-figure img {
  border-radius: 8px;
}

.lightbox-figure figcaption {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.toast {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.to-top {
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.8);
  color: #fff;
  box-shadow: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.to-top:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- 闊充箰鎾斁鍣?---------- */
.player-shell {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: #0a0a0b;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}

.player-left {
  border-color: rgba(255, 255, 255, 0.09);
}

.player-right {
  background: rgba(255, 255, 255, 0.02);
}

.player-shell::before {
  opacity: 0.16;
}

.player-shell::after {
  background: linear-gradient(160deg, rgba(10, 10, 11, 0.8), rgba(10, 10, 11, 0.96));
}

.np-title {
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: -0.02em;
}

.ctrl.play {
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(232, 112, 42, 0.12);
}

.ctrl.play:hover {
  background: #d2611f;
}

.seek-fill,
.pl-tab.active,
.track.active {
  background: var(--accent);
}

.pl-tab.active {
  background: rgba(232, 112, 42, 0.14);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.track.active {
  background: rgba(232, 112, 42, 0.12);
  border-color: rgba(232, 112, 42, 0.35);
}

.mini {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(10, 10, 11, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.mini-btn.play {
  background: var(--accent);
  border-color: var(--accent);
}

.mini-progress i {
  background: var(--accent);
}

.mini-volume {
  background: #0b0b0c;
  border-color: rgba(255, 255, 255, 0.12);
}

.login-box {
  background: #0b0b0c;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
}

.ne-search button {
  background: var(--accent);
}

.ne-login:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- 娓告垙 ---------- */
.game-shell {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: #0b0b0c;
  box-shadow: none;
}

.gstat b {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 30px;
  font-weight: 400;
  color: #fff;
}

.gstat span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.seg {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.seg button {
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 500;
}

.seg button.active {
  background: #fff;
  color: #111;
  box-shadow: none;
}

.card-face {
  border-radius: 16px;
}

.card-back {
  background:
    radial-gradient(circle at 30% 20%, rgba(232, 112, 42, 0.22), transparent 46%),
    linear-gradient(145deg, #171717, #0a0a0a);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.card-back::before {
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 12px;
}

.card-logo {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(0.75rem, 1.8vw, 1rem);
  letter-spacing: 0.08em;
  text-shadow: none;
}

.card-front {
  background: #111;
  border-color: rgba(255, 255, 255, 0.1);
}

.card.matched .card-front {
  box-shadow: inset 0 0 0 3px var(--accent), 0 12px 30px rgba(232, 112, 42, 0.18);
}

.win-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: #0b0b0c;
}

.win-card h2 {
  font-family: var(--font-serif);
  font-style: italic;
}

.win-overlay {
  background: rgba(0, 0, 0, 0.7);
}

/* ---------- 鍝嶅簲寮?---------- */
@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bar-nav a {
    padding: 8px 12px;
    font-size: 12px;
  }

  .hero-heading {
    top: 16%;
  }
}

@media (max-width: 860px) {
  .bar {
    grid-template-columns: auto 1fr auto;
    padding: 14px 18px;
  }

  .bar.scrolled {
    padding: 10px 18px;
  }

  .brand-text {
    font-size: 21px;
  }

  .bar-nav {
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    z-index: 110;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px;
    border-radius: 22px;
    background: rgba(10, 10, 10, 0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
  }

  .bar-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .bar-nav a {
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 15px;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .hero-line {
    font-size: clamp(44px, 12vw, 68px);
  }

  .hero-heading {
    top: 20%;
  }

  .hero-intro {
    display: none;
  }

  .hero-cta {
    left: 20px;
    right: 20px;
    bottom: 26px;
    max-width: none;
  }

  .hero-cta p {
    font-size: 12px;
    text-shadow: 0 1px 16px rgba(0, 0, 0, 0.9), 0 0 34px rgba(0, 0, 0, 0.6);
  }

  .hero-hint {
    display: none;
  }

  .music-promo,
  .game-promo {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 20px;
  }

  .page-head {
    padding-top: 120px;
  }

  .page-head h1 {
    font-size: clamp(42px, 10vw, 64px);
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  section {
    padding: 72px 0;
  }

  .section-title {
    font-size: clamp(28px, 7vw, 38px);
  }
}

@media (max-width: 560px) {
  .card-grid {
    gap: 14px;
  }

  .work-body {
    padding: 16px;
  }

  .gallery-grid {
    grid-auto-rows: 130px;
  }

  .hero-cta {
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-base,
  .hero-line,
  .hero-intro,
  .hero-cta {
    animation: none !important;
    opacity: 1 !important;
  }

  * {
    scroll-behavior: auto;
  }
}

/* 閭/瀛︽牎鍚嶈緝闀挎椂鍏佽鎹㈣ */
.contact-item .meta span {
  white-space: normal;
  overflow-wrap: anywhere;
}


/* ---------- 缃戞槗浜戯細鎴戠殑姝屽崟 ---------- */
.ne-library {
  margin: 0 0 10px;
}

.ne-library-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ne-library-label {
  flex: none;
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ne-playlist-select {
  flex: 1;
  min-width: 0;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  outline: none;
  cursor: pointer;
}

.ne-playlist-select:focus {
  border-color: var(--accent);
}

.ne-playlist-select option {
  background: #0b0b0c;
  color: #fff;
}

.ne-library-refresh {
  flex: none;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-sans);
  font-size: 11px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.ne-library-refresh:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.ne-library:not([hidden]) ~ .ne-results {
  max-height: 330px;
}



/* ---------- 播放器：选歌区移到左边 ---------- */
.player-right {
  grid-column: 1;
  grid-row: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.player-left {
  grid-column: 2;
  grid-row: 1;
  border-right: 0;
}

@media (max-width: 900px) {
  .player-right {
    grid-column: 1;
    grid-row: 1;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .player-left {
    grid-column: 1;
    grid-row: 2;
  }
}

/* 防止左侧歌单的长标题把网格撑开 */
.player-shell {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.player-left,
.player-right {
  min-width: 0;
}

@media (max-width: 900px) {
  .player-shell {
    grid-template-columns: 1fr;
  }
}
