/* =========================================================
   纸上 · 全站公共样式表 (style.css)
   ========================================================= */
:root {
  color-scheme: light;
  --bg:        #faf8f5;
  --surface:   #ffffff;
  --ink:       #1c1917;
  --ink-2:     #44403c;
  --muted:     #78716c;
  --line:      #e7e5e4;
  --accent:    #b45309;
  --accent-bg: #fffbeb;
  
  --serif: "Georgia", "Times New Roman", "Songti SC", "STSong", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono:  ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg:      #0c0a09;
  --surface: #1c1917;
  --ink:     #f5f5f4;
  --ink-2:   #d6d3d1;
  --muted:   #a8a29e;
  --line:    #292524;
  --accent:  #f59e0b;
  --accent-bg: #451a03;
}

/* 全局特效 */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: fade-out 0.3s ease both; }
::view-transition-new(root) { animation: fade-in 0.3s ease both; }
@keyframes fade-out { to { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  transition: background-color .4s ease, color .4s ease;
}

body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 9998;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.25; mix-blend-mode: multiply; 
}
[data-theme="dark"] body::before { mix-blend-mode: screen; opacity: 0.15; }

.spotlight {
  position: fixed; inset: 0; pointer-events: none; z-index: 9997;
  background: radial-gradient(circle 350px at var(--x, 50%) var(--y, 50%), transparent 0%, rgba(0, 0, 0, 0.15) 100%);
  transition: background 0.05s ease;
}
[data-theme="dark"] .spotlight { background: radial-gradient(circle 400px at var(--x, 50%) var(--y, 50%), transparent 0%, rgba(0, 0, 0, 0.7) 100%); }

.premium-ring {
  position: fixed !important; bottom: 40px !important; right: 40px !important;
  width: 54px !important; height: 54px !important; z-index: 99999 !important; cursor: pointer;
  background: rgba(255, 255, 255, 0.65); backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%); border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  opacity: 0; pointer-events: none; transform: translateY(15px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex; align-items: center; justify-content: center;
}
[data-theme="dark"] .premium-ring { background: rgba(28, 25, 23, 0.65); border-color: rgba(255, 255, 255, 0.1); }
.premium-ring.show { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.premium-ring:hover { transform: translateY(-4px) scale(1.05); background: rgba(255, 255, 255, 0.9); }
[data-theme="dark"] .premium-ring:hover { background: rgba(40, 35, 30, 0.9); }
.premium-ring svg.ring-svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.premium-ring .ring-bg { fill: none; stroke: rgba(0, 0, 0, 0.06); stroke-width: 2; }
[data-theme="dark"] .premium-ring .ring-bg { stroke: rgba(255, 255, 255, 0.1); }
.premium-ring .ring-progress { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 144; stroke-dashoffset: 144; transition: stroke-dashoffset 0.1s linear; }
.premium-ring .arrow-icon { width: 18px; height: 18px; stroke: var(--muted); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; fill: none; transition: stroke 0.3s ease; }
.premium-ring:hover .arrow-icon { stroke: var(--accent); }

.reveal-item { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); will-change: opacity, transform; }
.reveal-item.in { opacity: 1; transform: translateY(0); }
blockquote.reveal-item { position: relative; border-left: 3px solid var(--accent); transition: opacity 0.8s ease, transform 0.8s ease, border-left-width 0.6s ease; }
blockquote.reveal-item.in { border-left-width: 5px; }
blockquote.reveal-item::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--accent); opacity: 0; filter: blur(4px); transition: opacity 0.6s ease; }
blockquote.reveal-item.in::after { opacity: 0.3; }

/* 基础排版 */
a { color: inherit; text-decoration: none; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }
.shell { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

/* 导航栏 */
.masthead { position: sticky; top: 0; z-index: 100; background: var(--bg); border-bottom: 1px solid var(--line); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); will-change: transform; }
.masthead.nav-hidden { transform: translateY(-100%); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: baseline; gap: 10px; }
.logo-cn { font-family: var(--serif); font-size: 20px; font-weight: bold; letter-spacing: .1em; color: var(--ink); }
.logo-en { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.menu { display: flex; align-items: center; gap: 4px; }
.menu a { padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: all .25s; }
.menu a:hover { color: var(--ink); }
.menu a.active { color: var(--ink); background: var(--surface); font-weight: 500; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.theme-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-left: 8px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: all .25s; }
.theme-btn:hover { border-color: var(--accent); color: var(--accent); transform: rotate(20deg); }

/* 首页组件 */
.hero { padding: 80px 0 60px; animation: fadeUp .8s ease both; }
.kicker { margin: 0 0 24px; font-family: var(--mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.hero-title { margin: 0; font-family: var(--serif); font-size: clamp(4rem, 12vw, 8rem); font-weight: normal; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.hero-en { margin: 16px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2.4vw, 1.5rem); letter-spacing: .02em; color: var(--muted); }
.hero-lede { max-width: 46ch; margin: 40px 0 0; font-size: 1.05rem; line-height: 1.85; color: var(--ink-2); }
.hero-lede em { font-style: normal; color: var(--muted); }
.hero-foot { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 0 30px; animation: fadeUp .8s ease .1s both; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-family: inherit; font-size: 13px; cursor: pointer; transition: all .25s; }
.chip:hover { color: var(--ink); border-color: var(--muted); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.search { flex: 0 1 240px; min-width: 150px; padding: 8px 0; border: none; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); font-family: inherit; font-size: 14px; transition: border-color .25s; outline: none; }
.search:focus { border-bottom-color: var(--accent); }

/* 列表与详情 */
.entries { padding-bottom: 60px; animation: fadeUp .8s ease .2s both; }
.entry { display: block; padding: 40px 0; border-top: 1px solid var(--line); transition: transform .3s ease, padding-left .3s ease; }
.entries .entry:last-child { border-bottom: 1px solid var(--line); }
.entry:hover { transform: translateX(8px); padding-left: 8px; }
.entry-meta { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.entry-num { color: var(--accent); font-weight: bold; }
.entry-title { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: normal; line-height: 1.2; color: var(--ink); transition: color .3s ease; }
.entry-desc { max-width: 68ch; margin: 0; font-size: 15px; line-height: 1.75; color: var(--muted); }
.entry:hover .entry-title { color: var(--accent); }
.empty { padding: 80px 0; text-align: center; font-size: 14px; color: var(--muted); }

.post-layout { display: grid; grid-template-columns: 1fr 300px; gap: 60px; padding: 60px 0 100px; animation: fadeUp .6s ease both; }
.post-main { max-width: 720px; }
.back { display: inline-block; margin-bottom: 30px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .25s; }
.back:hover { color: var(--accent); }
.post-kicker { margin: 0 0 20px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.post-title { margin: 0; font-family: var(--serif); font-size: clamp(2.4rem, 4.5vw, 3.5rem); font-weight: normal; line-height: 1.15; color: var(--ink); }
.post-lede { max-width: 54ch; margin: 24px 0 40px; font-size: 1.15rem; line-height: 1.75; color: var(--muted); }
.prose { font-size: 1.05rem; line-height: 1.9; color: var(--ink-2); }
.prose p { margin: 0 0 1.6em; }
.prose h2 { margin: 2.2em 0 1em; font-family: var(--serif); font-size: 1.6rem; font-weight: bold; line-height: 1.4; color: var(--ink); }
.prose blockquote { margin: 2.2em 0; padding: 8px 0 8px 24px; border-left: 3px solid var(--accent); font-family: var(--serif); font-size: 1.35rem; line-height: 1.6; font-style: italic; color: var(--ink); }
.prose strong { color: var(--ink); font-weight: bold; }
.post-foot { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; }
.like { padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-2); cursor: pointer; transition: all .25s; }
.like:hover { border-color: var(--accent); color: var(--accent); }
.like.liked { background: var(--accent); border-color: var(--accent); color: #fff; }

.post-sidebar { position: sticky; top: 100px; height: max-content; border-left: 1px solid var(--line); padding-left: 40px; }
.sidebar-section { margin-bottom: 40px; }
.sidebar-title { font-family: var(--mono); font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.sidebar-text { font-size: 14px; line-height: 1.7; color: var(--ink-2); margin: 0; }
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-list li { margin-bottom: 12px; font-size: 14px; }
.sidebar-list a { color: var(--ink-2); transition: color .2s; display: flex; gap: 8px; }
.sidebar-list a:hover { color: var(--accent); }

.about { max-width: 800px; margin: 0 auto; padding: 80px 0 100px; animation: fadeUp .6s ease both; }
.about-lede { margin: 0; font-family: var(--serif); font-size: clamp(1.4rem, 3.2vw, 2rem); font-weight: normal; line-height: 1.5; color: var(--ink); }
.info-list { margin: 0; }
.info-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-list > div:last-child { border-bottom: none; }
.info-list dt { padding-top: 3px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.info-list dd { margin: 0; font-size: 15px; color: var(--ink-2); }
.about-rule { height: 1px; margin: 40px 0; background: var(--line); }

.site-foot { margin-top: 40px; border-top: 1px solid var(--line); padding: 40px 0 60px; position: relative; z-index: 1; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; }
.foot-brand { font-family: var(--serif); font-size: 16px; font-weight: bold; letter-spacing: .08em; color: var(--ink); }
.foot-note { margin: 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* 视频播放器 */
.concept-film-container { margin: 40px 0; border-radius: 12px; overflow: hidden; position: relative; background: #080808; aspect-ratio: 21 / 9; box-shadow: 0 12px 36px rgba(0,0,0,0.15); font-family: var(--sans); }
[data-theme="dark"] .concept-film-container { box-shadow: 0 12px 36px rgba(0,0,0,0.6); border: 1px solid var(--line); }
.concept-film-container canvas { display: block; width: 100%; height: 100%; object-fit: cover; }
.cf-subtitle-layer { position: absolute; left: 0; right: 0; bottom: 50px; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 8%; z-index: 10; }
.cf-sub-chapter { font-family: var(--mono); font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(245, 158, 11, 0.8); transition: opacity 0.3s ease; }
.cf-sub-text { font-size: clamp(14px, 2vw, 18px); line-height: 1.5; color: #f5f5f4; text-align: center; text-shadow: 0 2px 12px rgba(0,0,0,0.9), 0 0 40px rgba(0,0,0,0.8); max-width: 820px; transition: opacity 0.35s ease, transform 0.35s ease; letter-spacing: 0.02em; }
.cf-sub-text.fading { opacity: 0; transform: translateY(6px); }
.cf-controls { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 20px; background: linear-gradient(transparent, rgba(0,0,0,0.8) 40%); display: flex; align-items: center; gap: 14px; opacity: 0; transition: opacity 0.3s ease; z-index: 10; }
.concept-film-container:hover .cf-controls { opacity: 1; }
.cf-play-btn { width: 32px; height: 32px; flex: none; border: 1px solid rgba(255,255,255,0.25); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.cf-play-btn:hover { border-color: #f59e0b; color: #f59e0b; }
.cf-play-btn svg { width: 12px; height: 12px; fill: currentColor; }
.cf-time { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.5); min-width: 70px; text-align: right; }
.cf-progress-wrap { flex: 1; position: relative; height: 24px; display: flex; align-items: center; cursor: pointer; }
.cf-progress-track { width: 100%; height: 3px; background: rgba(255,255,255,0.15); border-radius: 2px; overflow: hidden; position: relative; }
.cf-progress-fill { height: 100%; width: 0%; background: #f59e0b; border-radius: 2px; transition: width 0.06s linear; }
.cf-markers { position: absolute; top: 0; left: 0; right: 0; height: 100%; pointer-events: none; }
.cf-mark { position: absolute; top: -3px; width: 1px; height: 9px; background: rgba(255,255,255,0.3); }
.cf-mute-btn { flex: none; background: transparent; border: none; color: rgba(255,255,255,0.5); cursor: pointer; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; transition: color 0.2s; }
.cf-mute-btn:hover { color: #f59e0b; }
.cf-big-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.5); cursor: pointer; transition: opacity 0.4s ease; z-index: 5; }
.cf-big-play.hidden { opacity: 0; pointer-events: none; }
.cf-big-play-inner { width: 64px; height: 64px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.7); display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.3); backdrop-filter: blur(8px); transition: all 0.3s; }
.cf-big-play:hover .cf-big-play-inner { border-color: #f59e0b; transform: scale(1.06); }
.cf-big-play-inner svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }

/* 商品列表 */
.product-list { padding: 20px 0 80px; }
a.product-item { display: grid; text-decoration: none; color: inherit; cursor: pointer; }
.product-item { grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 60px 0; border-bottom: 1px solid var(--line); animation: fadeUp 0.8s ease both; will-change: transform; }
.product-item:last-child { border-bottom: none; }
.product-item:nth-child(even) .product-visual { order: 2; }
.product-item:nth-child(even) .product-info { order: 1; }
.product-visual { width: 100%; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.06); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease; }
[data-theme="dark"] .product-visual { box-shadow: 0 10px 30px rgba(0,0,0,0.4); border: 1px solid var(--line); }
.product-item:hover .product-visual { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.p-visual-1 { background: radial-gradient(circle at 30% 30%, #e8dcc8, #b8a48a); }
.p-visual-2 { background: linear-gradient(135deg, #2c3e50, #000000); }
.p-visual-3 { background: radial-gradient(circle at 70% 70%, #ebdcd7, #b45309); }
.product-info { max-width: 440px; }
.product-version { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; display: flex; gap: 12px; }
.product-title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: normal; color: var(--ink); margin: 0 0 16px; line-height: 1.2; }
.product-desc { font-size: 15px; line-height: 1.8; color: var(--ink-2); margin-bottom: 32px; }
.product-action { display: flex; align-items: center; gap: 24px; }
.product-price { font-family: var(--mono); font-size: 18px; color: var(--ink); }
.buy-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: var(--ink); color: var(--bg); font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; border: none; border-radius: 4px; cursor: pointer; transition: all 0.3s ease; }
.buy-btn:hover { background: var(--accent); transform: translateX(4px); }

/* 商品详情页专属排版 */
.product-detail-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; padding: 60px 0 100px; align-items: start; }
.product-gallery { position: sticky; top: 100px; width: 100%; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.product-gallery:hover { transform: scale(1.02); }
.product-buy-panel { padding-top: 20px; }
.breadcrumb { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a { transition: color 0.3s ease; }
.breadcrumb a:hover { color: var(--accent); }
.pd-title { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: normal; line-height: 1.15; color: var(--ink); margin: 0 0 16px; }
.pd-version { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; margin-bottom: 24px; }
.pd-price { font-family: var(--mono); font-size: 32px; color: var(--ink); margin-bottom: 40px; display: flex; align-items: center; gap: 12px; }
.pd-price span { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.pd-action-group { display: flex; flex-direction: column; gap: 16px; margin-bottom: 60px; }
.pd-buy-btn { width: 100%; padding: 20px; background: var(--ink); color: var(--bg); font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: 0.05em; border: none; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; display: flex; justify-content: center; align-items: center; gap: 10px; }
.pd-buy-btn:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(180, 83, 9, 0.2); }
.pd-buy-btn.added { background: #10b981; box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2); }
.pd-description { border-top: 1px solid var(--line); padding-top: 40px; }
.pd-description h3 { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }

/* 命令面板 */
.cmd-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); z-index: 100000; display: flex; align-items: flex-start; justify-content: center; padding-top: 15vh; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
.cmd-overlay.show { opacity: 1; pointer-events: auto; }
.cmd-panel { width: 100%; max-width: 580px; background: var(--surface); border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.2), 0 0 0 1px var(--line); overflow: hidden; transform: scale(0.98) translateY(-10px); transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.cmd-overlay.show .cmd-panel { transform: scale(1) translateY(0); }
.cmd-input { width: 100%; padding: 20px 24px; border: none; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); font-family: var(--sans); font-size: 18px; outline: none; }
.cmd-list { max-height: 320px; overflow-y: auto; padding: 8px; }
.cmd-item { padding: 12px 16px; border-radius: 8px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; color: var(--ink-2); transition: all 0.1s ease; }
.cmd-item:hover, .cmd-item.selected { background: var(--accent-bg); color: var(--accent); }
.cmd-item-title { font-size: 15px; font-weight: 500; }
.cmd-item-cat { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; opacity: 0.6; text-transform: uppercase; }
.cmd-hint { padding: 12px 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); display: flex; gap: 16px; font-family: var(--mono); }
.cmd-hint kbd { background: var(--line); padding: 2px 6px; border-radius: 4px; font-family: inherit; }

.reading-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--accent); width: 0%; z-index: 9999; transition: width 0.1s linear; box-shadow: 0 0 8px var(--accent); }

/* 代码块复制 */
pre { position: relative; }
.copy-code-btn { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #a8a29e; border-radius: 4px; padding: 4px 8px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.05em; cursor: pointer; opacity: 0; transition: all 0.2s; }
pre:hover .copy-code-btn { opacity: 1; }
.copy-code-btn:hover { background: rgba(255,255,255,0.2); color: #fff; }
.copy-code-btn.copied { color: #10b981; border-color: #10b981; opacity: 1; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 960px) { 
  .post-layout { grid-template-columns: 1fr; gap: 40px; } 
  .post-sidebar { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 40px; position: static; } 
  .product-detail-layout { grid-template-columns: 1fr; gap: 40px; padding: 40px 0 60px; }
  .product-gallery { position: static; aspect-ratio: 16 / 9; }
}
@media (max-width: 860px) { 
  .product-item, .product-item:nth-child(even) { grid-template-columns: 1fr; gap: 30px; padding: 40px 0; } 
  .product-item:nth-child(even) .product-visual { order: 1; } 
  .product-item:nth-child(even) .product-info { order: 2; } 
}
@media (max-width: 720px) { 
  .shell { padding: 0 22px; } 
  .hero { padding: 60px 0 40px; } 
  .entry { padding: 30px 0; } 
  .post-layout { padding: 40px 0 60px; } 
  .info-list > div { grid-template-columns: 1fr; gap: 6px; } 
  .logo-en { display: none; } 
  .concept-film-container { aspect-ratio: 16 / 9; margin: 30px 0; } 
  .cf-subtitle-layer { bottom: 40px; } 
}