/* ============================================================
   苏哥的小屋 · winter night edition
   dark warm · illustrated · three looks
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

:root {
  --bg: #0b0704;
  --bg-2: #140d08;
  --ink: #f6e9d8;
  --ink-soft: #ddc9b2;
  --muted: #a08a75;
  --muted-2: #7a6653;

  --warm: #ff9a52;
  --warm-deep: #e8712f;
  --warm-soft: #ffc98a;
  --pink: #ff9fb4;
  --cream: #ffe9cc;

  --line: rgba(255, 200, 150, .14);
  --line-2: rgba(255, 200, 150, .26);
  --card: rgba(28, 19, 13, .72);
  --card-2: rgba(36, 24, 16, .66);

  --grad: linear-gradient(100deg, #ffcf94 0%, #ff9a52 48%, #ff8fa8 100%);
  --grad-btn: linear-gradient(100deg, #ffbe7d 0%, #ff8a42 55%, #ff7f9e 100%);

  --shadow: 0 30px 70px -44px rgba(0, 0, 0, .95);
  --shadow-lg: 0 60px 120px -60px rgba(0, 0, 0, 1);

  --r: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sans: "Nunito", "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB",
          "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --serif: "Songti SC", "Source Han Serif SC", "Noto Serif SC", "SimSun",
           "STSong", serif;
  --mono: "SF Mono", "JetBrains Mono", Consolas, "PingFang SC", monospace;

  --glow-a: rgba(255, 160, 90, .16);
  --glow-b: rgba(255, 110, 140, .1);
  --glow-c: rgba(140, 190, 255, .08);
  --moon: #ffeccc;
}

/* --- looks --- */
[data-theme="sakura"] {
  --bg: #100809;
  --bg-2: #1a0f12;
  --ink: #f9e8ea;
  --ink-soft: #e7cdd3;
  --muted: #b28c96;
  --muted-2: #8a6c78;
  --warm: #ff9fb3;
  --warm-deep: #e9718d;
  --warm-soft: #ffc9d3;
  --pink: #ffb08f;
  --cream: #ffe7e3;
  --line: rgba(255, 180, 200, .15);
  --line-2: rgba(255, 180, 200, .28);
  --card: rgba(36, 20, 25, .74);
  --card-2: rgba(44, 26, 31, .66);
  --grad: linear-gradient(100deg, #ffd0d9 0%, #ff9fb3 48%, #ffab8a 100%);
  --grad-btn: linear-gradient(100deg, #ffc2cd 0%, #ff8fa8 55%, #ff9f76 100%);
  --glow-a: rgba(255, 140, 170, .17);
  --glow-b: rgba(255, 120, 100, .1);
  --glow-c: rgba(255, 190, 220, .08);
  --moon: #ffe3e6;
}

[data-theme="forest"] {
  --bg: #070b08;
  --bg-2: #0d140f;
  --ink: #e8f3e6;
  --ink-soft: #cadcc9;
  --muted: #8fa68f;
  --muted-2: #6b816d;
  --warm: #9ed6ae;
  --warm-deep: #6cb187;
  --warm-soft: #c9e8c1;
  --pink: #d8e39a;
  --cream: #eef9e4;
  --line: rgba(180, 220, 180, .14);
  --line-2: rgba(180, 220, 180, .26);
  --card: rgba(18, 26, 20, .74);
  --card-2: rgba(23, 33, 25, .66);
  --grad: linear-gradient(100deg, #d9f0c6 0%, #9ed6ae 48%, #cfe38a 100%);
  --grad-btn: linear-gradient(100deg, #cbeab7 0%, #8ccba5 55%, #c8dd8c 100%);
  --glow-a: rgba(140, 200, 155, .14);
  --glow-b: rgba(190, 210, 120, .08);
  --glow-c: rgba(120, 170, 210, .06);
  --moon: #eef7dd;
}

html { background: #0b0704; scroll-behavior: smooth; scroll-padding-top: 110px; overflow-x: clip; }

body {
  font-family: var(--sans);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  background:
    radial-gradient(900px 620px at 82% 2%, var(--glow-a), transparent 62%),
    radial-gradient(760px 560px at 8% 26%, var(--glow-b), transparent 60%),
    radial-gradient(1000px 700px at 50% 108%, var(--glow-c), transparent 62%),
    linear-gradient(180deg, var(--bg), var(--bg-2) 45%, var(--bg));
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: color .5s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; background: none; border: none; outline: none; }
button { cursor: pointer; }
::selection { background: rgba(255, 154, 82, .3); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0b0704; }
::-webkit-scrollbar-thumb { background: #3a2a1d; border-radius: 99px; border: 3px solid #0b0704; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #55402c; background-clip: content-box; }

/* ============================================================
   background scenery
   ============================================================ */
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }

.moon {
  position: fixed;
  top: 7vh; right: 8vw;
  width: clamp(90px, 9vw, 140px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #fffaf0, var(--moon) 58%, #f3cf9e 100%);
  box-shadow: 0 0 60px 10px rgba(255, 220, 170, .28), 0 0 160px 60px rgba(255, 190, 120, .14);
  z-index: 0; pointer-events: none;
  opacity: .92;
  transition: background .8s ease, box-shadow .8s ease;
}
.moon i {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 62%, rgba(190, 155, 110, .22) 0 8%, transparent 9%),
    radial-gradient(circle at 62% 44%, rgba(190, 155, 110, .18) 0 6%, transparent 7%),
    radial-gradient(circle at 52% 72%, rgba(190, 155, 110, .14) 0 5%, transparent 6%);
}
.moon::after {
  content: "";
  position: absolute; inset: -40%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 160, .16), transparent 62%);
  filter: blur(18px);
}

.web {
  position: fixed; top: 0;
  width: clamp(180px, 20vw, 300px);
  aspect-ratio: 1;
  color: rgba(255, 190, 140, .16);
  z-index: 0; pointer-events: none;
  opacity: .8;
}
.web.w1 { left: 0; }
.web.w2 { right: 0; transform: scaleX(-1); }

.stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.stars i {
  position: absolute; left: var(--x); top: var(--y);
  width: 3px; height: 3px; border-radius: 50%;
  background: #ffe3bd;
  box-shadow: 0 0 8px 1px rgba(255, 210, 160, .6);
  animation: twinkle 5s ease-in-out infinite;
  animation-delay: var(--d);
}
@keyframes twinkle { 0%, 100% { opacity: .18; transform: scale(.7); } 50% { opacity: .9; transform: scale(1.2); } }

.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 95% 80% at 50% 38%, transparent 42%, rgba(0, 0, 0, .62) 100%);
}
.grain {
  position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.cursor-glow {
  position: fixed; top: 0; left: 0;
  width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 170, 100, .13), transparent 64%);
  z-index: 2; pointer-events: none;
  opacity: 0; transition: opacity .6s ease;
  will-change: transform;
}
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 150; pointer-events: none; }.scroll-progress i {
  display: block; height: 100%; width: 0;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(255, 154, 82, .7);
}

.top-veil {
  position: fixed; top: 0; left: 0; right: 0;
  height: 96px;
  z-index: 118;
  pointer-events: none;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(11, 7, 4, .9) 42%, rgba(11, 7, 4, .45) 72%, transparent 100%);
  opacity: 0;
  transition: opacity .45s ease;
}
body.scrolled-down .top-veil { opacity: 1; }

/* ============================================================
   ticker
   ============================================================ */
.ticker {
  position: fixed; top: 0; left: 0; right: 0;
  height: 34px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 44px;
  background: linear-gradient(90deg, rgba(255, 154, 82, .1), rgba(255, 120, 150, .1)), rgba(11, 7, 4, .94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 11.5px;
  color: var(--ink-soft);
  z-index: 130;
  transition: transform .45s var(--ease), opacity .35s ease;
}
.ticker .t-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--warm);
  box-shadow: 0 0 10px var(--warm);
  animation: twinkle 2.4s ease-in-out infinite;
}
.ticker .t-text { letter-spacing: .02em; }
.ticker a { color: var(--warm); font-size: 11.5px; }
.ticker a:hover { text-decoration: underline; }
.t-close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 9px; color: var(--muted);
  background: rgba(255, 255, 255, .05);
  transition: .3s ease;
}
.t-close:hover { color: var(--ink); background: rgba(255, 255, 255, .1); }
body.ticker-off .ticker,
body.scrolled-down .ticker { transform: translateY(-100%); opacity: 0; pointer-events: none; }
body.scrolled-down .nav { top: 14px; }

/* ============================================================
   nav
   ============================================================ */
.nav {
  position: fixed; top: 48px; left: 50%;
  transform: translateX(-50%);
  width: min(1200px, calc(100% - 32px));
  height: 62px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 0 10px 0 14px;
  border-radius: 999px;
  background: rgba(20, 13, 9, .86);
  border: 1px solid rgba(255, 200, 150, .18);
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .95), 0 1px 0 rgba(255, 235, 210, .06) inset;
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  backdrop-filter: blur(22px) saturate(1.3);
  z-index: 120;
  transition: top .45s var(--ease), height .4s var(--ease), background .4s ease, border-color .4s ease;
}
body.ticker-off .nav { top: 14px; }
.nav.scrolled {
  height: 56px;
  background: rgba(16, 10, 7, .88);
  border-color: var(--line-2);
}

.brand { position: relative; z-index: 130; display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-btn);
  color: #2a1405;
  font-family: var(--serif);
  font-size: 16px; font-weight: 700;
  box-shadow: 0 6px 18px -6px rgba(255, 140, 70, .9), 0 0 0 1px rgba(255, 220, 170, .4) inset;
  transition: transform .5s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-name { font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.brand-name em { font-style: normal; font-size: 11px; font-weight: 400; color: var(--muted); margin-left: 4px; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-soft);
  transition: .3s ease;
}
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.nav-links a.active {
  color: var(--warm-soft);
  background: rgba(255, 154, 82, .1);
  box-shadow: 0 0 0 1px rgba(255, 180, 120, .18) inset;
}

.nav-actions { position: relative; z-index: 130; display: flex; align-items: center; gap: 8px; }

.look-pill {
  display: flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04);
  font-size: 11px;
  color: var(--ink-soft);
  transition: .3s ease;
}
.look-pill:hover { background: rgba(255, 255, 255, .08); }
.look-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad-btn);
  box-shadow: 0 0 10px rgba(255, 154, 82, .9);
}

.icon-btn {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: .3s ease;
}
.icon-btn:hover { color: var(--warm); border-color: var(--line-2); background: rgba(255, 255, 255, .05); }
.icon-btn svg { width: 15px; height: 15px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 34px; padding: 0 16px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s ease, background .4s ease, color .3s ease, border-color .3s ease;
}
.btn-ghost {
  color: var(--ink-soft);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .03);
}
.btn-ghost:hover { color: var(--ink); background: rgba(255, 255, 255, .07); }
.btn-warm {
  color: #2a1405;
  background: var(--grad-btn);
  box-shadow: 0 10px 26px -12px rgba(255, 140, 70, .9);
}
.btn-warm:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(255, 140, 70, 1); }
.btn-lg { height: 50px; padding: 0 26px; font-size: 13.5px; border-radius: 999px; }
.btn-lg svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.btn-lg:hover svg { transform: translateX(4px); }
.btn-line {
  color: var(--ink);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .03);
}
.btn-line:hover { background: rgba(255, 255, 255, .07); transform: translateY(-2px); }

.burger { display: none; width: 38px; height: 38px; position: relative; border-radius: 50%; border: 1px solid var(--line); }
.burger span {
  position: absolute; left: 12px; width: 14px; height: 1.5px; border-radius: 2px;
  background: var(--ink); transition: .35s var(--ease);
}
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 22px; }
body.menu-open .burger span:first-child { top: 19px; transform: rotate(45deg); }
body.menu-open .burger span:last-child { top: 19px; transform: rotate(-45deg); }

/* ============================================================
   helpers
   ============================================================ */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
main, footer { position: relative; z-index: 3; }
.section { padding: clamp(58px, 7vw, 94px) 0; position: relative; }
.section::before {
  content: "";
  position: absolute;
  top: 6%; left: -140px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 150, 90, .07), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}
#works::before {
  left: auto; right: -160px; top: 18%;
  background: radial-gradient(circle, rgba(255, 120, 150, .06), transparent 70%);
}
#about::before {
  left: 30%; top: 10%;
  background: radial-gradient(circle, rgba(255, 180, 120, .05), transparent 70%);
}
.section > .container { position: relative; z-index: 1; }

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .3em;
  color: var(--warm);
  text-transform: uppercase;
  opacity: .85;
}

.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 42px;
}
.sec-head h2 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: .005em;
}
.sec-head h2 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec-side { max-width: 300px; padding-bottom: 4px; }
.sec-side p { font-size: 12.5px; line-height: 1.9; color: var(--muted); margin-bottom: 16px; }

.reveal {
  opacity: 0; transform: translateY(26px); filter: blur(5px);
  transition: opacity .95s var(--ease), transform .95s var(--ease), filter .95s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; filter: none; }
.hero-stage.in { transition-property: opacity, filter; }

/* ============================================================
   hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 150px 0 80px;
}
.hero-glow {
  position: absolute;
  left: 50%; top: 46%;
  width: 900px; height: 900px;
  transform: translate(-30%, -50%);
  background: radial-gradient(circle, rgba(255, 150, 90, .09), transparent 58%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}

.hero-copy h1 {
  margin: 18px 0 22px;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: .01em;
  color: var(--cream);
}
.hero-copy h1 span { display: block; }
.hero-copy h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy h1 .grad i {
  font-style: normal;
  -webkit-text-fill-color: var(--warm);
  color: var(--warm);
}

.hero-desc {
  font-size: 13.5px;
  line-height: 2;
  color: var(--muted);
  max-width: 440px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }

.hero-stats { display: flex; align-items: center; gap: 18px; margin-top: 38px; }
.hero-stats div { display: flex; align-items: baseline; gap: 5px; }
.hero-stats b {
  font-size: 21px; font-weight: 800; letter-spacing: -.02em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.hero-stats span { font-size: 10.5px; color: var(--muted); }
.hero-stats i { width: 1px; height: 16px; background: var(--line); }

/* stage / frame */
.hero-stage { position: relative; display: grid; place-items: center; min-height: 640px; }

.frame {
  position: relative;
  width: clamp(300px, 36vw, 460px);
  aspect-ratio: 4 / 5;
  padding: 11px;
  border-radius: 30px;
  background: linear-gradient(165deg, rgba(255, 220, 180, .16), rgba(255, 170, 110, .05) 45%, rgba(20, 12, 8, .9));
  border: 1px solid rgba(255, 200, 150, .3);
  box-shadow:
    0 50px 110px -50px rgba(0, 0, 0, 1),
    0 0 80px -30px rgba(255, 150, 90, .45),
    0 0 0 1px rgba(255, 230, 200, .08) inset;
  transition: transform .7s var(--ease), box-shadow .7s ease;
}
.frame::before {
  content: "";
  position: absolute; inset: 5px;
  border-radius: 26px;
  border: 1px solid rgba(255, 210, 165, .12);
  pointer-events: none;
}
.frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 60px 130px -50px #000, 0 0 100px -26px rgba(255, 150, 90, .6), 0 0 0 1px rgba(255, 230, 200, .12) inset;
}

.corner {
  position: absolute;
  width: 22px; height: 22px;
  border: 1px solid rgba(255, 200, 150, .5);
  z-index: 5;
  pointer-events: none;
}
.c1 { top: -5px; left: -5px; border-right: none; border-bottom: none; border-radius: 10px 0 0 0; }
.c2 { top: -5px; right: -5px; border-left: none; border-bottom: none; border-radius: 0 10px 0 0; }
.c3 { bottom: -5px; left: -5px; border-right: none; border-top: none; border-radius: 0 0 0 10px; }
.c4 { bottom: -5px; right: -5px; border-left: none; border-top: none; border-radius: 0 0 10px 0; }

.frame::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 30px;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 240, 220, .16) 50%, transparent 62%);
  background-size: 260% 100%;
  background-position: 180% 0;
  opacity: 0;
  pointer-events: none;
  z-index: 7;
  transition: opacity .4s ease;
}
.frame:hover::after { opacity: 1; animation: frameSheen 1.8s var(--ease) forwards; }
@keyframes frameSheen {
  0% { background-position: 180% 0; }
  100% { background-position: -70% 0; }
}

.frame-inner {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 21px;
  overflow: hidden;
  background: #150e09;
}
.art {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  opacity: 0;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.03);
  transition: opacity .9s ease, filter .8s ease, transform .5s var(--ease);
}
.art.is-on { opacity: 1; }
[data-theme="forest"] .art { filter: hue-rotate(-18deg) saturate(.9); }
.art-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 9, 5, .45), transparent 22%, transparent 62%, rgba(15, 9, 5, .82));
  pointer-events: none;
}

.frame-top {
  position: absolute; top: 0; left: 0; right: 0;
  height: 42px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .16em;
  color: rgba(255, 240, 225, .85);
}
.frame-top .clock { color: var(--warm-soft); }

.frame-tag {
  position: absolute; top: 52px; left: 14px;
  display: flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px;
  border-radius: 999px;
  background: rgba(20, 12, 8, .55);
  border: 1px solid rgba(255, 210, 170, .2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 9.5px;
  color: rgba(255, 235, 215, .85);
  letter-spacing: .04em;
}
.tg-ico { color: var(--warm); font-size: 9px; }

.frame-foot {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 11px 11px 11px 15px;
  border-radius: 16px;
  background: rgba(22, 14, 9, .62);
  border: 1px solid rgba(255, 210, 170, .18);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.frame-foot b { display: block; font-family: var(--serif); font-size: 14px; letter-spacing: .04em; color: var(--cream); }
.frame-foot em { display: block; font-style: normal; font-size: 9.5px; color: var(--muted); margin-top: 2px; }
.pat {
  width: 34px; height: 34px; flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #2a1405;
  background: var(--grad-btn);
  box-shadow: 0 8px 20px -8px rgba(255, 140, 70, .9);
  transition: transform .3s var(--ease);
}
.pat:hover { transform: scale(1.1) rotate(6deg); }
.pat svg { width: 15px; height: 15px; }

.mascot {
  position: absolute;
  top: -74px; right: -34px;
  width: clamp(96px, 10vw, 138px);
  z-index: 6;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .65));
  animation: bob 5.5s ease-in-out infinite alternate;
  transform-origin: bottom center;
  cursor: pointer;
}
@keyframes bob { 0% { transform: translateY(-4px) rotate(4deg); } 100% { transform: translateY(8px) rotate(-4deg); } }
.mascot-hint {
  position: absolute;
  top: -6px; right: -40px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .2em;
  color: var(--warm);
  transform: rotate(12deg);
  z-index: 6;
  opacity: .8;
}

.lanterns {
  position: absolute;
  bottom: -4px; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: flex-end; gap: 26px;
  z-index: 4;
  pointer-events: none;
}
.lan {
  width: 26px; height: 21px;
  border-radius: 50% 50% 46% 46% / 56% 56% 44% 44%;
  background:
    repeating-linear-gradient(90deg, rgba(90, 30, 0, .16) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 42% 32%, #ffe0b0, #ff9a52 58%, #d96b2a);
  box-shadow: 0 0 20px 4px rgba(255, 140, 70, .45), 0 0 70px 14px rgba(255, 120, 50, .16);
  position: relative;
  animation: sway 4s ease-in-out infinite alternate;
}
.lan::before {
  content: "";
  position: absolute; left: 50%; top: -7px;
  width: 2px; height: 7px;
  transform: translateX(-50%);
  background: #6b4a2e;
  border-radius: 1px;
  box-shadow: 0 -2px 0 0 #4d3520;
}
.l2 { width: 32px; height: 26px; animation-delay: -1.4s; }
.l3 { width: 20px; height: 16px; animation-delay: -2.6s; }
@keyframes sway { 0% { transform: translateY(0) rotate(-4deg); } 100% { transform: translateY(-4px) rotate(4deg); } }

.stage-note {
  position: absolute;
  bottom: -6px; right: 0;
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: .06em;
}
.stage-note span { color: var(--warm); margin-right: 4px; }

.hero-bottom {
  position: absolute; left: 0; right: 0; bottom: 26px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .24em;
  color: var(--muted-2);
}
.hb-scroll { display: inline-flex; align-items: center; gap: 10px; }
.hb-scroll i {
  width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--warm), transparent);
  position: relative;
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleX(.3); transform-origin: left; opacity: .4; }
  60%, 100% { transform: scaleX(1); transform-origin: left; opacity: 1; }
}
.hb-update { letter-spacing: .18em; }

/* floating side cards */
.side-card {
  position: absolute;
  top: 15%;
  width: clamp(250px, calc((100vw - 1180px) / 2 - 6px), 420px);
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(255, 235, 210, .06), rgba(255, 190, 140, .012) 55%), rgba(24, 16, 10, .87);
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 100px -50px #000, 0 0 0 1px rgba(255, 235, 210, .05) inset;
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  z-index: 4;
  display: none;
  overflow: hidden;
  transform: rotate(-1.2deg);
  transition: transform .5s var(--ease), border-color .4s ease;
}
.side-card.left { left: 12px; }
.side-card.right { right: 12px; transform: rotate(1.2deg); }
.side-card:hover { transform: rotate(0deg); border-color: rgba(255, 190, 140, .4); }
@media (min-width: 1680px) {
  .side-card { display: flex; flex-direction: column; }
}

.sc-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
}
.gb-title {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .05em;
  color: var(--cream);
}
.gb-title em { font-style: normal; font-family: var(--mono); font-size: 7.5px; letter-spacing: .18em; color: var(--muted-2); }
.gb-count { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; color: var(--warm); }

.gb-list { padding: 8px 8px 12px; display: flex; flex-direction: column; max-height: 366px; overflow-y: auto; }
.gb-list::-webkit-scrollbar { width: 4px; }
.gb-list::-webkit-scrollbar-thumb { background: rgba(255, 200, 150, .18); border-radius: 9px; }
.gb-item { display: flex; gap: 10px; padding: 10px; border-radius: 12px; transition: background .3s ease; }
.gb-item:hover { background: rgba(255, 255, 255, .04); }
.gb-ava {
  width: 30px; height: 30px; flex: 0 0 auto;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: #2a1405;
  background: var(--grad-btn);
  box-shadow: 0 6px 14px -8px rgba(255, 140, 70, .9);
}
.gb-body { min-width: 0; flex: 1; }
.gb-top { display: flex; align-items: baseline; gap: 7px; margin-bottom: 2px; }
.gb-top b { font-size: 11px; font-weight: 600; color: var(--ink); }
.gb-top em { font-style: normal; font-family: var(--mono); font-size: 7.5px; color: var(--muted-2); }
.gb-msg { font-size: 12px; line-height: 1.6; color: var(--muted); word-break: break-word; }

.gb-form { display: flex; gap: 6px; padding: 9px 10px 6px; border-top: 1px solid var(--line); }
.gb-form input {
  flex: 1; min-width: 0; height: 34px;
  padding: 0 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--ink);
  transition: border-color .3s ease, background .3s ease;
}
.gb-form input::placeholder { color: var(--muted-2); }
.gb-form input:focus { border-color: rgba(255, 180, 120, .45); background: rgba(255, 255, 255, .07); }
.gb-form button {
  width: 34px; height: 34px; flex: 0 0 auto;
  border-radius: 10px;
  display: grid; place-items: center;
  color: #2a1405;
  background: var(--grad-btn);
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.gb-form button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(255, 140, 70, .9); }
.gb-form button svg { width: 14px; height: 14px; }
.gb-foot { padding: 0 12px 10px; font-family: var(--mono); font-size: 7.5px; letter-spacing: .08em; color: var(--muted-2); text-align: center; }

/* music card */
.mc-head { padding: 13px 16px; }
.mc-title { font-family: var(--mono); font-size: 8.5px; letter-spacing: .24em; color: var(--warm); }
.sr-live { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 8px; letter-spacing: .12em; color: #9fe0b4; }
.sr-live i { width: 5px; height: 5px; border-radius: 50%; background: #7fd6a0; box-shadow: 0 0 8px #7fd6a0; animation: twinkle 2.4s ease-in-out infinite; }

.mc-clock {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 15px 16px 11px;
  border-bottom: 1px dashed var(--line);
}
.mc-clock b {
  font-family: var(--serif);
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 1;
  color: var(--cream);
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 30px rgba(255, 190, 130, .25);
}
.mc-clock span { font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em; color: var(--muted); text-align: right; }

.mc-now { display: flex; align-items: center; gap: 11px; padding: 13px 16px 9px; }
.mc-art {
  width: 42px; height: 42px; flex: 0 0 auto;
  border-radius: 12px;
  display: flex; align-items: flex-end; justify-content: center; gap: 3px;
  padding: 7px;
  background: linear-gradient(135deg, rgba(255, 154, 82, .28), rgba(255, 120, 150, .16));
  border: 1px solid var(--line-2);
}
.mc-art i { width: 3px; border-radius: 2px; background: var(--warm-soft); height: 30%; animation: eq .9s ease-in-out infinite alternate; }
.mc-art i:nth-child(2) { height: 70%; animation-delay: -.18s; }
.mc-art i:nth-child(3) { height: 45%; animation-delay: -.36s; }
.mc-art i:nth-child(4) { height: 85%; animation-delay: -.54s; }
.mc-art.paused i { animation-play-state: paused; height: 28%; }
@keyframes eq { 0% { height: 18%; } 100% { height: 95%; } }
.mc-meta { min-width: 0; flex: 1; }
.mc-meta b { display: block; font-size: 12px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-meta em { display: block; font-style: normal; font-family: var(--mono); font-size: 8px; color: var(--muted-2); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mc-bar { position: relative; height: 4px; margin: 6px 16px 0; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.mc-bar i { display: block; height: 100%; width: 0%; border-radius: 99px; background: var(--grad); transition: width .25s linear; }
.mc-bar.live i { width: 38%; animation: liveBar 3.6s ease-in-out infinite; }
@keyframes liveBar {
  0% { transform: translateX(-110%); opacity: .35; }
  40% { opacity: 1; }
  100% { transform: translateX(280%); opacity: .35; }
}
.mc-live { display: none; }

.mc-controls { display: flex; align-items: center; gap: 8px; padding: 15px 16px 12px; }
.mc-controls > button {
  width: 32px; height: 32px; flex: 0 0 auto;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: .3s ease;
}
.mc-controls > button:hover { color: var(--warm); border-color: var(--line-2); background: rgba(255, 255, 255, .05); }
.mc-controls > button svg { width: 13px; height: 13px; }
.mc-play {
  width: 40px !important; height: 40px !important;
  border: none !important;
  color: #2a1405 !important;
  background: var(--grad-btn);
  box-shadow: 0 10px 24px -12px rgba(255, 140, 70, .95);
}
.mc-play svg { width: 16px !important; height: 16px !important; }
.mc-vol { margin-left: auto; display: flex; align-items: center; gap: 6px; flex: 1; max-width: 132px; }
.mc-vol svg { width: 13px; height: 13px; color: var(--muted-2); flex: 0 0 auto; }
.mc-vol input {
  -webkit-appearance: none; appearance: none;
  flex: 1; min-width: 0; height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .12);
  outline: none;
}
.mc-vol input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--warm);
  box-shadow: 0 0 8px rgba(255, 150, 90, .8);
  cursor: pointer;
}
.mc-vol input::-moz-range-thumb {
  width: 10px; height: 10px; border: none; border-radius: 50%;
  background: var(--warm);
}
.mc-vol span { font-family: var(--mono); font-size: 8px; color: var(--muted-2); width: 24px; text-align: right; flex: 0 0 auto; }

.mc-list {
  padding: 2px 8px 8px; display: flex; flex-direction: column; gap: 1px;
  max-height: 178px; overflow-y: auto;
  padding-bottom: 16px;
  -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent);
  mask-image: linear-gradient(180deg, #000 86%, transparent);
}
.mc-list::-webkit-scrollbar { width: 4px; }
.mc-list::-webkit-scrollbar-thumb { background: rgba(255, 200, 150, .18); border-radius: 9px; }
.mc-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; cursor: pointer; transition: background .25s ease; }
.mc-item:hover { background: rgba(255, 255, 255, .04); }
.mc-item.on { background: rgba(255, 154, 82, .1); }
.mc-item i { width: 4px; height: 4px; flex: 0 0 auto; border-radius: 50%; background: var(--muted-2); }
.mc-item.on i { background: var(--warm); box-shadow: 0 0 8px var(--warm); }
.mc-item span { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-item.on span { color: var(--warm-soft); }
.mc-foot { padding: 8px 12px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 7px; letter-spacing: .08em; color: var(--muted-2); text-align: center; }
.mc-foot b { color: var(--warm); font-weight: 400; }

/* docks: the two floating panels become in-flow cards on narrower screens */
.docks { display: none; }
@media (max-width: 1679px) {
  .docks { display: block; padding: 36px 0 8px; }
  .docks-head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 16px; margin-bottom: 16px;
  }
  .docks-head p { font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
  .docks-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
  .docks .side-card { height: 100%; }
  .docks .gb-list { flex: 1; }
  .docks .side-card {
    position: static;
    width: 100%;
    max-width: none;
    transform: none;
    display: flex;
    flex-direction: column;
  }
  .docks .side-card:hover { transform: none; }
  .docks .gb-list { max-height: 240px; }
  .docks .mc-list { max-height: 190px; }
}
@media (max-width: 860px) {
  .docks-inner { grid-template-columns: 1fr; }
}

/* hearts */
.heart {
  position: absolute; z-index: 7;
  font-size: 16px; color: var(--pink);
  pointer-events: none;
  animation: heartUp 1.3s var(--ease) forwards;
  filter: drop-shadow(0 4px 10px rgba(255, 140, 170, .5));
}
@keyframes heartUp {
  0% { opacity: 0; transform: translate(-50%, 0) scale(.4); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx, 0px)), -110px) scale(1.15) rotate(var(--rot, 0deg)); }
}

/* ============================================================
   marquee
   ============================================================ */
.marquee {
  position: relative; z-index: 3;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(600px 120px at 18% 50%, rgba(255, 160, 90, .08), transparent 70%),
    linear-gradient(90deg, rgba(255, 154, 82, .05), rgba(255, 120, 150, .05) 52%, rgba(255, 154, 82, .05));
  padding: 19px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.mq-track {
  display: flex; align-items: center; gap: 38px;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-big.warm {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  text-shadow: none;
  opacity: 1;
}
.mq-big {
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 25px);
  letter-spacing: .1em;
  color: var(--cream);
  white-space: nowrap;
  opacity: .9;
  text-shadow: 0 0 34px rgba(255, 190, 130, .22);
}
.mq-sm {
  font-size: clamp(10px, .95vw, 12px);
  letter-spacing: .3em;
  color: var(--muted);
  white-space: nowrap;
}
.mq-track b { color: var(--warm); font-size: 11px; opacity: .75; }
.mq-track b:nth-of-type(even) { color: var(--pink); font-size: 7px; opacity: .55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   promo
   ============================================================ */
.promo { padding: clamp(46px, 5vw, 66px) 0 10px; }
.promo-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 18px;
}
.promo-note { font-size: 11px; color: var(--muted-2); }
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.promo-card {
  position: relative;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 230, 200, .07), rgba(255, 200, 150, .015) 55%), var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .4s ease, box-shadow .5s ease;
  cursor: pointer;
}
.promo-card::after {
  content: "";
  position: absolute; top: -1px; left: 18px; right: 18px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 190, 130, .55), transparent);
  opacity: .5;
}
.promo-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.promo-card.hot {
  background: linear-gradient(160deg, rgba(255, 160, 90, .14), rgba(255, 120, 150, .06) 60%), var(--card);
  border-color: rgba(255, 170, 110, .3);
}
.promo-tags { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.p-tag {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .13em;
  padding: 3px 7px; border-radius: 5px;
  border: 1px solid rgba(255, 180, 120, .25);
  color: var(--warm-soft);
  background: rgba(255, 154, 82, .08);
}
.p-dim {
  margin-left: auto;
  font-family: var(--mono); font-size: 9px; color: var(--muted-2); letter-spacing: .08em;
}
.promo-card h3 {
  font-size: 15px; font-weight: 700; line-height: 1.5; margin-bottom: 8px;
  letter-spacing: -.005em;
}
.promo-card p {
  font-size: 11.5px; line-height: 1.8; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.promo-link {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 16px;
  font-size: 11px; font-weight: 600; color: var(--warm);
}
.promo-link span { transition: transform .3s var(--ease); }
.promo-card:hover .promo-link span { transform: translateX(4px); }

/* ============================================================
   themes
   ============================================================ */
.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.theme-card {
  position: relative;
  text-align: left;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 10px 10px 16px;
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .4s ease, box-shadow .5s ease;
}
.theme-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.theme-card.is-on {
  border-color: rgba(255, 180, 120, .5);
  box-shadow: 0 0 0 1px rgba(255, 180, 120, .25) inset, 0 30px 60px -40px rgba(255, 140, 70, .6);
}
.theme-card.is-on::after {
  content: "✓";
  position: absolute; top: 18px; right: 18px;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-btn);
  color: #2a1405; font-size: 11px; font-weight: 700;
  box-shadow: 0 6px 14px -6px rgba(255, 140, 70, .9);
  z-index: 3;
}
.tc-img { position: relative; border-radius: 15px; overflow: hidden; aspect-ratio: 16 / 10; }
.tc-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: brightness(.9) saturate(.95); transition: transform .8s var(--ease); }
.theme-card:hover .tc-img img { transform: scale(1.04); }
.tc-img img.greenify { filter: hue-rotate(-40deg) saturate(.85); }
.tc-mask { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 6, 4, .1), rgba(10, 6, 4, .45)); }
.tc-info {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 13px 8px 0;
}
.tc-info b { display: block; font-family: var(--serif); font-size: 15px; letter-spacing: .04em; color: var(--cream); }
.tc-info em { display: block; font-style: normal; font-family: var(--mono); font-size: 8.5px; letter-spacing: .18em; color: var(--muted-2); margin-top: 3px; }
.tc-dots { display: flex; gap: 4px; }
.tc-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--c); border: 1px solid rgba(255, 255, 255, .18); }
.theme-card > p { padding: 8px 8px 0; font-size: 11px; color: var(--muted); }

/* ============================================================
   posts
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  height: 30px; padding: 0 13px;
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  transition: .3s var(--ease);
}
.pill:hover { color: var(--ink); border-color: var(--line-2); }
.pill.is-on { color: #2a1405; background: var(--grad-btn); border-color: transparent; font-weight: 600; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post {
  position: relative;
  display: flex; flex-direction: column;
  padding: 22px;
  border-radius: var(--r);
  background: linear-gradient(160deg, rgba(255, 232, 205, .055), rgba(255, 200, 150, .012) 55%), var(--card);
  border: 1px solid var(--line);
  min-height: 226px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .45s var(--ease), border-color .4s ease, box-shadow .5s ease;
}
.post::before {
  content: "";
  position: absolute; top: 0; left: 18px; right: 18px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 190, 130, .45), transparent);
  opacity: 0;
  transition: opacity .4s ease;
}
.post:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.post:hover::before { opacity: 1; }

.post.featured { grid-column: span 2; flex-direction: row; padding: 12px; gap: 20px; }
.pc-cover { position: relative; width: 45%; flex: 0 0 45%; border-radius: 15px; overflow: hidden; min-height: 210px; }
.pc-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); filter: brightness(.8) saturate(.9) sepia(.1); }
.pc-cover::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30, 16, 8, .16), rgba(20, 10, 5, .46));
  pointer-events: none;
}
.post.featured:hover .pc-cover img { transform: scale(1.04); }
.pc-tag {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(20, 12, 8, .7);
  border: 1px solid rgba(255, 200, 150, .25);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 9.5px; color: var(--warm);
  z-index: 2;
}
.post-inner { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.post.featured .post-inner { padding: 10px 10px 6px 0; }

.post-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.post-cat {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .14em;
  padding: 3px 8px; border-radius: 5px;
  color: var(--warm-soft);
  background: rgba(255, 154, 82, .09);
  border: 1px solid rgba(255, 180, 120, .2);
}
.post-time { font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em; color: var(--muted-2); }
.post-title {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .01em;
  color: var(--ink);
  margin-bottom: 9px;
  transition: color .3s ease;
}
.post.featured .post-title { font-size: clamp(19px, 1.9vw, 23px); line-height: 1.45; }
.post:hover .post-title { color: var(--warm-soft); }
.post-ex {
  font-size: 11.5px; line-height: 1.85; color: var(--muted);
  flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 16px; padding-top: 12px;
  border-top: 1px dashed rgba(255, 200, 150, .12);
}
.post-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.post-tags span {
  font-size: 9.5px; color: var(--muted);
  padding: 2px 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .05);
}
.post-date { font-family: var(--mono); font-size: 9px; color: var(--muted-2); }
.post-go {
  width: 26px; height: 26px; flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  transition: .4s var(--ease);
}
.post:hover .post-go { color: #2a1405; background: var(--grad-btn); border-color: transparent; transform: translate(2px, -2px); }
.post.hide { display: none; }

/* ============================================================
   works
   ============================================================ */
.works { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.work {
  display: flex; flex-direction: column;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .4s ease, box-shadow .5s ease;
}
.work:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.w-cover { position: relative; aspect-ratio: 16 / 9.4; overflow: hidden; }
.w-cover::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 13, 6, .22), rgba(24, 13, 6, .12) 40%, rgba(15, 9, 5, .88)),
    linear-gradient(90deg, rgba(255, 140, 80, .1), transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.w-cover img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.8) saturate(.9) sepia(.1); transition: transform .9s var(--ease); }
.work:hover .w-cover img { transform: scale(1.04); }
.w-badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(20, 12, 8, .7);
  border: 1px solid rgba(255, 200, 150, .25);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 9px; color: var(--ink-soft);
}
.w-badge i { width: 4px; height: 4px; border-radius: 50%; background: #8fd6a7; }
.w-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.w-kicker { font-family: var(--mono); font-size: 8.5px; letter-spacing: .2em; color: var(--muted-2); margin-bottom: 9px; }
.work h3 { font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: .02em; margin-bottom: 8px; }
.work p { font-size: 11.5px; line-height: 1.85; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 13px; }
.tags span {
  font-size: 9.5px; color: var(--ink-soft);
  padding: 3px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
}
.w-link { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 14px; font-size: 11px; font-weight: 600; color: var(--warm); }
.w-link span { transition: transform .35s var(--ease); }
.w-link:hover span { transform: translate(3px, -3px); }

.work.wide { grid-column: span 2; flex-direction: row; align-items: center; }
.work.wide .w-body { flex: 1.05; padding: 30px 18px 30px 30px; }
.work.wide .w-radar { flex: .95; }
.soft-badge {
  font-family: var(--mono); font-size: 8px; font-weight: 400; vertical-align: middle;
  padding: 3px 7px; margin-left: 6px; border-radius: 5px;
  color: var(--warm); border: 1px solid rgba(255, 180, 120, .25);
  background: rgba(255, 154, 82, .08);
}

.w-radar { position: relative; min-height: 250px; display: grid; place-items: center; padding: 16px; }
.radar {
  position: relative;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: repeating-radial-gradient(circle, transparent 0 32px, rgba(255, 200, 150, .08) 32px 33px);
  overflow: hidden;
}
.radar::before, .radar::after { content: ""; position: absolute; background: rgba(255, 200, 150, .12); }
.radar::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.radar::after { top: 50%; left: 0; right: 0; height: 1px; }
.sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 154, 82, .42), transparent 26%, transparent 100%);
  animation: spin 5s linear infinite;
}
.radar .p {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: var(--pink); box-shadow: 0 0 0 5px rgba(255, 150, 180, .15);
  animation: ping 2.8s ease-out infinite;
}
.radar .p1 { top: 30%; left: 64%; }
.radar .p2 { top: 66%; left: 36%; animation-delay: .8s; }
.radar .p3 { top: 48%; left: 74%; animation-delay: 1.6s; }
@keyframes ping { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
.radar-card {
  position: absolute; right: 14px; bottom: 14px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(24, 16, 10, .85);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.radar-card em { display: block; font-style: normal; font-family: var(--mono); font-size: 7.5px; letter-spacing: .18em; color: var(--muted-2); }
.radar-card b { display: block; font-family: var(--serif); font-size: 20px; color: var(--cream); margin: 2px 0; }
.radar-card span { font-family: var(--mono); font-size: 8.5px; color: var(--muted); }

/* ============================================================
   about
   ============================================================ */
.about { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(34px, 6vw, 76px); align-items: center; }
.about-left h2 {
  margin: 14px 0 20px;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.3vw, 2.7rem);
  font-weight: 700; line-height: 1.3;
}
.about-left h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-left p { font-size: 13px; line-height: 2.05; color: var(--muted); max-width: 490px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.about-tags span {
  padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  font-size: 10.5px; color: var(--ink-soft);
}
.about-tags .ok { color: #9fe0b4; border-color: rgba(120, 200, 150, .25); background: rgba(120, 200, 150, .08); }

.pola-wrap { position: relative; height: 400px; display: grid; place-items: center; }
.pola {
  position: absolute;
  width: 210px;
  padding: 9px 9px 36px;
  background: #f7ead9;
  border-radius: 6px;
  box-shadow: 0 40px 70px -40px #000;
  transition: transform .6s var(--ease);
}
.pola img { width: 100%; height: 226px; object-fit: cover; object-position: 50% 24%; border-radius: 2px; filter: brightness(.82) sepia(.16) saturate(.92) contrast(1.02); }
.pola figcaption {
  position: absolute; left: 0; right: 0; bottom: 11px;
  text-align: center; font-family: var(--mono); font-size: 8.5px;
  letter-spacing: .16em; color: #8b6f57;
}
.pola:first-child { transform: rotate(-7deg) translateX(-58px); z-index: 2; }
.pola.p2 { transform: rotate(7deg) translateX(58px); z-index: 1; }
.pola:hover { transform: rotate(0) translateY(-8px) scale(1.03); z-index: 4; }

.skills-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(30px, 5vw, 64px); margin-top: 64px; align-items: start; }
.skills { display: flex; flex-direction: column; gap: 14px; }
.st { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; margin-bottom: 6px; color: var(--ink-soft); }
.st b { font-family: var(--mono); font-size: 9.5px; color: var(--muted-2); font-weight: 400; }
.bar { height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--grad); box-shadow: 0 0 10px rgba(255, 154, 82, .5); transition: width 1.4s var(--ease); }

.timeline { position: relative; display: grid; gap: 0; }
.timeline::before {
  content: ""; position: absolute; left: 4px; top: 6px; bottom: 10px;
  width: 1px; background: linear-gradient(180deg, rgba(255, 180, 120, .35), transparent);
}
.tl { position: relative; padding: 0 0 20px 26px; }
.tl:last-child { padding-bottom: 0; }
.tl::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 9px; height: 9px; border-radius: 50%;
  background: #0f0905; border: 1px solid rgba(255, 180, 120, .5);
}
.tl.now::before { background: var(--warm); border-color: transparent; box-shadow: 0 0 12px rgba(255, 140, 70, .9); }
.tl em { font-style: normal; font-family: var(--mono); font-size: 9px; letter-spacing: .16em; color: var(--warm); }
.tl h4 { font-size: 12.5px; font-weight: 700; margin: 4px 0 3px; }
.tl p { font-size: 11px; line-height: 1.75; color: var(--muted); }

/* ============================================================
   contact
   ============================================================ */
.contact {
  position: relative;
  padding: clamp(46px, 6vw, 76px) clamp(24px, 5vw, 64px);
  border-radius: 32px;
  background:
    linear-gradient(160deg, rgba(255, 220, 180, .07), rgba(255, 160, 110, .03)),
    rgba(22, 14, 9, .78);
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 100px -60px #000;
  overflow: hidden;
  text-align: center;
}
.c-glow { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.cg1 { width: 340px; height: 340px; left: -100px; top: -140px; background: rgba(255, 140, 70, .18); }
.cg2 { width: 320px; height: 320px; right: -90px; bottom: -160px; background: rgba(255, 120, 160, .14); }
.contact h2 {
  position: relative;
  margin: 12px 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.8vw, 2.9rem);
  font-weight: 700;
  line-height: 1.3;
}
.contact h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact > p { position: relative; font-size: 12.5px; color: var(--muted); line-height: 1.9; }
.sub-form {
  position: relative;
  display: flex; gap: 8px;
  max-width: 480px; margin: 26px auto 0;
  padding: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-2);
}
.sub-form:focus-within { border-color: rgba(255, 180, 120, .5); box-shadow: 0 0 34px -12px rgba(255, 150, 90, .6); }
.sub-form input { flex: 1; min-width: 0; padding: 0 18px; font-size: 12px; color: var(--ink); }
.sub-form input::placeholder { color: var(--muted-2); }
.sub-form .btn { height: 40px; padding: 0 20px; }
.contact-qq {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px;
  padding: 7px 16px 7px 7px;
  border-radius: 999px;
  border: 1px dashed rgba(255, 200, 150, .35);
  background: rgba(255, 255, 255, .04);
}
.qq-ico {
  display: inline-grid; place-items: center;
  height: 24px; padding: 0 9px;
  border-radius: 999px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .12em;
  color: #2a1405;
  background: var(--grad-btn);
}
.qq-copy {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono);
  font-size: 17px; font-weight: 600;
  letter-spacing: .04em;
  color: var(--cream);
  transition: color .3s ease;
}
.qq-copy svg { width: 14px; height: 14px; opacity: .45; transition: opacity .3s ease, transform .3s var(--ease); }
.qq-copy:hover { color: var(--warm); }
.qq-copy:hover svg { opacity: 1; transform: translateY(-1px); }
.contact-qq em { font-style: normal; font-size: 10.5px; color: var(--muted-2); }
@media (max-width: 640px) {
  .contact-qq { flex-wrap: wrap; justify-content: center; border-radius: 18px; padding: 12px 14px; gap: 8px; }
  .contact-qq em { flex-basis: 100%; text-align: center; }
}
.mail-note { position: relative; display: block; margin-top: 13px; font-size: 10.5px; color: var(--muted-2); }
.mail-note a { color: var(--warm); border-bottom: 1px solid rgba(255, 154, 82, .3); }

/* ============================================================
   footer
   ============================================================ */
.footer {
  padding-top: 46px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .015);
  overflow: hidden;
}
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 30px; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand b { display: block; font-family: var(--serif); font-size: 15px; letter-spacing: .03em; }
.foot-brand em { display: block; font-style: normal; font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { font-size: 11.5px; color: var(--muted); transition: color .3s ease; }
.foot-links a:hover { color: var(--warm); }
.foot-word {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 10vw, 8.4rem);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 180, 120, .18);
  user-select: none;
  transform: translateY(5px);
}
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding-top: 20px; padding-bottom: 24px;
  border-top: 1px solid var(--line);
  font-size: 10.5px; color: var(--muted-2);
}
.foot-bottom b { color: var(--pink); }

/* ============================================================
   to top
   ============================================================ */
.to-top {
  position: fixed; right: 22px; bottom: 22px;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(24, 16, 10, .9);
  border: 1px solid var(--line-2);
  color: var(--ink-soft);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 110;
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: .45s var(--ease);
}
.to-top svg { width: 16px; height: 16px; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: var(--warm); border-color: rgba(255, 180, 120, .5); }

/* ============================================================
   command palette
   ============================================================ */
.cmdk {
  position: fixed; inset: 0; z-index: 200;
  display: flex; justify-content: center; align-items: flex-start;
  padding: 13vh 20px 20px;
  background: rgba(8, 5, 3, .66);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.cmdk.open { opacity: 1; pointer-events: auto; }
.cmdk-panel {
  width: min(600px, 100%);
  max-height: 70vh;
  display: flex; flex-direction: column;
  background: rgba(24, 16, 10, .97);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  box-shadow: 0 50px 120px -40px #000;
  overflow: hidden;
  transform: translateY(-10px) scale(.99);
  transition: transform .35s var(--ease);
}
.cmdk.open .cmdk-panel { transform: none; }
.cmdk-top { display: flex; align-items: center; gap: 10px; padding: 15px 17px; border-bottom: 1px solid var(--line); }
.cmdk-top svg { width: 16px; height: 16px; color: var(--warm); }
.cmdk-top input { flex: 1; font-size: 14px; color: var(--ink); }
.cmdk-top input::placeholder { color: var(--muted-2); }
.cmdk-top kbd {
  font-family: var(--mono); font-size: 8.5px;
  padding: 3px 6px; border-radius: 5px;
  border: 1px solid var(--line);
  color: var(--muted-2);
}
.cmdk-list { overflow-y: auto; padding: 8px; flex: 1; }
.cmdk-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 13px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent;
}
.cmdk-item .ci { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cmdk-item b { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmdk-item em { font-style: normal; font-family: var(--mono); font-size: 8.5px; color: var(--muted-2); letter-spacing: .08em; }
.cmdk-item.on { background: rgba(255, 154, 82, .1); border-color: rgba(255, 180, 120, .25); }
.cmdk-item.on b { color: var(--warm-soft); }
.cmdk-empty { padding: 28px; text-align: center; font-size: 12px; color: var(--muted-2); }
.cmdk-foot {
  display: flex; gap: 16px; padding: 9px 17px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 9px; color: var(--muted-2);
}

/* ============================================================
   reader
   ============================================================ */
.reader {
  position: fixed; inset: 0; z-index: 210;
  display: grid; place-items: center;
  padding: 22px;
  background: rgba(8, 5, 3, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.reader.open { opacity: 1; pointer-events: auto; }
.reader-sheet {
  position: relative;
  width: min(740px, 100%);
  max-height: 88vh;
  display: flex; flex-direction: column;
  background: #150e09;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  box-shadow: 0 60px 140px -50px #000;
  overflow: hidden;
  transform: translateY(16px) scale(.99);
  transition: transform .45s var(--ease);
}
.reader.open .reader-sheet { transform: none; }
.reader-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; border-bottom: 1px solid var(--line); flex: 0 0 auto; }
.reader-kicker { font-family: var(--mono); font-size: 8.5px; letter-spacing: .24em; color: var(--warm); }
.reader-close {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--muted); font-size: 10px;
  transition: .3s ease;
}
.reader-close:hover { color: var(--ink); border-color: var(--line-2); background: rgba(255, 255, 255, .06); }
.reader-scroll { overflow-y: auto; padding: 30px clamp(22px, 5vw, 44px) 58px; }
.reader-scroll h2 { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.4; letter-spacing: .01em; }
.reader-meta { display: flex; flex-wrap: wrap; gap: 9px; margin: 12px 0 26px; font-family: var(--mono); font-size: 9px; color: var(--muted-2); letter-spacing: .08em; }
.reader-meta i { font-style: normal; color: var(--warm); }
.reader-body p { font-size: 13.5px; line-height: 2.1; color: var(--ink-soft); margin-bottom: 17px; }
.reader-body h3 { font-family: var(--serif); font-size: 15.5px; margin: 28px 0 10px; color: var(--cream); }
.reader-body strong { color: var(--cream); font-weight: 700; }
.reader-body blockquote {
  margin: 22px 0; padding: 12px 18px;
  border-left: 2px solid rgba(255, 154, 82, .6);
  background: rgba(255, 154, 82, .06);
  border-radius: 0 12px 12px 0;
  font-size: 13px; color: var(--ink-soft);
}
.reader-body code {
  font-family: var(--mono); font-size: 11.5px;
  padding: 2px 6px; border-radius: 5px;
  background: rgba(255, 154, 82, .1);
  color: var(--warm-soft);
}
.reader-end { margin-top: 36px; text-align: center; font-family: var(--mono); font-size: 8.5px; letter-spacing: .4em; color: var(--muted-2); }
.reader-sheet::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38px;
  background: linear-gradient(180deg, transparent, #150e09);
  pointer-events: none;
}

/* ============================================================
   toast
   ============================================================ */
.toast {
  position: fixed; left: 50%; bottom: 36px;
  transform: translate(-50%, 16px);
  z-index: 350;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(30, 20, 13, .96);
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 50px -24px #000, 0 0 30px -14px rgba(255, 150, 90, .7);
  font-size: 12px; color: var(--ink);
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease, transform .45s var(--ease);
  white-space: nowrap; max-width: 90vw; overflow: hidden; text-overflow: ellipsis;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 1120px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post.featured { grid-column: span 2; }
  .about { grid-template-columns: 1fr; gap: 44px; }
  .skills-wrap { grid-template-columns: 1fr; gap: 40px; }
  .promo-grid { grid-template-columns: 1fr 1fr; }
  .promo-card:last-child { display: none; }
}

@media (max-width: 900px) {
  .hero { padding-top: 130px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .hero-stage { min-height: 540px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sec-side { max-width: 100%; }
  .theme-grid { grid-template-columns: 1fr; }
  .works { grid-template-columns: 1fr; }
  .work.wide { grid-column: span 1; flex-direction: column; }
  .work.wide .w-body { padding: 22px; }
  .work.wide .w-radar { width: 100%; padding-bottom: 20px; }
  .moon { top: 90px; right: 6vw; width: 84px; opacity: .8; }
  .web { opacity: .35; }
}

@media (max-width: 640px) {
  .ticker { font-size: 10px; padding: 0 36px; height: 32px; }
  .ticker .t-text { max-width: 52vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav { top: 44px; height: 56px; width: calc(100% - 20px); padding: 0 8px 0 12px; }
  body.ticker-off .nav { top: 10px; }
  .brand-mark { width: 32px; height: 32px; font-size: 14px; }
  .brand-name em { display: none; }
  .look-pill, .btn-ghost { display: none; }
  .nav-actions { gap: 6px; }

  .hero { padding-top: 118px; }
  .hero-grid { gap: 34px; }
  .moon { top: 116px; right: 7vw; width: 68px; opacity: .75; }
  .ticker a { display: none; }
  .hero-copy h1 { font-size: clamp(2.35rem, 12vw, 3rem); }
  .hero-desc { font-size: 12.5px; }
  .hero-desc br { display: none; }
  .hero-actions .btn { height: 46px; padding: 0 20px; font-size: 12.5px; }
  .hero-stats { flex-wrap: wrap; gap: 12px; margin-top: 28px; }
  .hero-stats i { display: none; }
  .hero-stats b { font-size: 18px; }
  .hero-stage { min-height: 400px; }
  .frame { width: 76vw; max-width: 320px; }
  .mascot { width: 84px; top: -44px; right: -12px; }
  .mascot-hint { display: none; }
  .stage-note { display: none; }
  .lanterns { gap: 18px; }

  .promo-grid { grid-template-columns: 1fr; }
  .promo-card:last-child { display: block; }

  .post-grid { grid-template-columns: 1fr; }
  .post.featured { grid-column: span 1; flex-direction: column; padding: 10px; gap: 12px; }
  .pc-cover { width: 100%; flex: none; min-height: 160px; }
  .post.featured .post-inner { padding: 6px 6px 4px; }
  .post.featured .post-title { font-size: 18px; }
  .post { padding: 18px; min-height: auto; }

  .filters { flex-wrap: nowrap; overflow-x: auto; margin-right: -20px; padding-right: 20px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .pill { flex: 0 0 auto; }

  .pola-wrap { height: 330px; }
  .pola { width: 165px; padding: 7px 7px 32px; }
  .pola img { height: 180px; }
  .pola:first-child { transform: rotate(-6deg) translateX(-32px); }
  .pola.p2 { transform: rotate(6deg) translateX(32px); }

  .sub-form { flex-direction: column; border-radius: 18px; padding: 8px; }
  .sub-form input { height: 42px; }
  .sub-form .btn { width: 100%; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cmdk { padding-top: 9vh; }
  .reader { padding: 8px; }
  .to-top { right: 14px; bottom: 14px; }
}

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 115;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: rgba(9, 5, 3, .97);
  -webkit-backdrop-filter: blur(26px);
  backdrop-filter: blur(26px);
}
.mobile-menu.open { display: flex; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.mobile-menu nav a {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: .04em;
  padding: 12px 34px;
  color: var(--ink);
  opacity: 0;
  transform: translateY(12px);
  animation: menuIn .5s var(--ease) forwards;
}
.mobile-menu nav a:nth-child(1) { animation-delay: .04s; }
.mobile-menu nav a:nth-child(2) { animation-delay: .09s; }
.mobile-menu nav a:nth-child(3) { animation-delay: .14s; }
.mobile-menu nav a:nth-child(4) { animation-delay: .19s; }
.mobile-menu nav a:nth-child(5) { animation-delay: .24s; }
.mobile-menu nav a:nth-child(6) { animation-delay: .29s; }
@keyframes menuIn { to { opacity: 1; transform: none; } }
.mm-looks { display: flex; gap: 8px; }
.mm-looks button {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11px; color: var(--muted);
}
.mm-looks button i { width: 9px; height: 9px; border-radius: 50%; }
.mm-looks button[data-set="night"] i { background: linear-gradient(135deg, #9fd4f5, #ffb27a); }
.mm-looks button[data-set="sakura"] i { background: linear-gradient(135deg, #ffc1cd, #ff9a7a); }
.mm-looks button[data-set="forest"] i { background: linear-gradient(135deg, #bfe6b3, #8fd6a7); }
.mm-looks button.is-on { color: var(--warm); border-color: var(--line-2); background: rgba(255, 154, 82, .08); }
.mm-foot { font-family: var(--mono); font-size: 9px; letter-spacing: .26em; color: var(--muted-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* ============================================================
   notice board / hot list / wallpaper gallery
   ============================================================ */
.nt-list {
  display: flex; flex-direction: column; gap: 2px;
  padding: 8px; max-height: 366px; overflow-y: auto;
}
.nt-list::-webkit-scrollbar { width: 4px; }
.nt-list::-webkit-scrollbar-thumb { background: rgba(255, 200, 150, .18); border-radius: 9px; }
.nt-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, transform .3s var(--ease);
}
a.nt-item:hover {
  background: rgba(255, 255, 255, .045);
  border-color: var(--line);
  transform: translateX(2px);
}
.nt-tag {
  flex: 0 0 auto;
  display: inline-flex; align-items: center;
  height: 20px; padding: 0 8px;
  border-radius: 6px;
  font-family: var(--mono); font-size: 8px; letter-spacing: .1em;
  color: var(--warm);
  background: rgba(255, 154, 82, .12);
  border: 1px solid rgba(255, 180, 120, .25);
}
.nt-body { min-width: 0; flex: 1; }
.nt-body b { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.55; color: var(--ink); }
.nt-body p { margin-top: 3px; font-size: 11px; line-height: 1.65; color: var(--muted); }
.nt-arrow { margin-left: auto; align-self: center; font-size: 11px; color: var(--muted-2); }
.nt-foot {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 8px; letter-spacing: .06em;
  color: var(--muted-2); text-align: center;
}

/* hot list */
.hot-tabs {
  display: flex; gap: 3px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
}
.hot-tabs button {
  height: 26px; padding: 0 13px;
  border-radius: 999px;
  font-size: 11px; color: var(--muted);
  transition: .3s ease;
}
.hot-tabs button:hover { color: var(--ink); }
.hot-tabs button.is-on {
  color: #2a1405; font-weight: 600;
  background: var(--grad-btn);
}
.hot-refresh {
  height: 30px; padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  font-size: 10.5px; color: var(--ink-soft);
  transition: .3s ease;
}
.hot-refresh:hover { color: var(--warm); border-color: var(--line-2); }
.hot-foot { margin-top: 12px; text-align: right; font-family: var(--mono); font-size: 9px; letter-spacing: .06em; color: var(--muted-2); }

.rank-no {
  display: inline-grid; place-items: center;
  min-width: 20px; height: 18px; padding: 0 5px;
  border-radius: 5px;
  font-family: var(--mono); font-size: 9px;
  color: var(--warm-soft);
  background: rgba(255, 154, 82, .1);
  border: 1px solid rgba(255, 180, 120, .22);
}
.rank-no.top { color: #2a1405; background: var(--grad-btn); border-color: transparent; }
.hot-card h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* wallpaper gallery */
.wall-src { font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em; color: var(--muted-2); }
.wall-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.wall-search {
  display: flex; align-items: center; gap: 8px;
  flex: 1; min-width: 260px;
  height: 46px; padding: 0 6px 0 15px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.wall-search:focus-within { border-color: rgba(255, 180, 120, .5); box-shadow: 0 0 30px -14px rgba(255, 150, 90, .7); }
.wall-search svg { width: 15px; height: 15px; color: var(--muted); flex: 0 0 auto; }
.wall-search input { flex: 1; min-width: 0; font-size: 12.5px; color: var(--ink); }
.wall-search input::placeholder { color: var(--muted-2); }
.wall-search button {
  height: 34px; padding: 0 18px;
  border-radius: 999px;
  color: #2a1405; font-size: 12px; font-weight: 600;
  background: var(--grad-btn);
}
.wall-more {
  height: 46px; padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .03);
  font-size: 12px; color: var(--ink-soft);
  transition: .3s ease;
}
.wall-more:hover { color: var(--warm); background: rgba(255, 255, 255, .06); }

.wall-grid { columns: 4; column-gap: 12px; }
.wall-item {
  position: relative;
  break-inside: avoid;
  margin: 0 0 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  cursor: zoom-in;
}
.wall-item img { width: 100%; display: block; transition: transform .7s var(--ease), filter .4s ease; }
.wall-item:hover img { transform: scale(1.045); filter: brightness(1.06); }
.wall-item::after {
  content: "看大图";
  position: absolute; right: 8px; bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 9, 5, .72);
  border: 1px solid var(--line-2);
  font-size: 9px; color: var(--ink);
  opacity: 0; transition: opacity .3s ease;
}
.wall-item:hover::after { opacity: 1; }
.wall-item.skeleton {
  height: 230px;
  border-color: transparent;
  background: linear-gradient(100deg, rgba(255,255,255,.04), rgba(255,255,255,.09), rgba(255,255,255,.04));
  background-size: 200% 100%;
  animation: skel 1.4s linear infinite;
}
@keyframes skel { to { background-position: -200% 0; } }
.wall-foot { margin-top: 14px; text-align: right; font-family: var(--mono); font-size: 9px; color: var(--muted-2); }

/* generic sheet modal */
.sheet, .lightbox {
  position: fixed; inset: 0; z-index: 220;
  display: grid; place-items: center;
  padding: 22px;
  background: rgba(8, 5, 3, .78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.sheet.open, .lightbox.open { opacity: 1; pointer-events: auto; }
.sheet-card {
  width: min(520px, 100%);
  padding: 22px 24px 24px;
  border-radius: 22px;
  background: linear-gradient(165deg, #1a110a, #120b07);
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px -50px #000;
  transform: translateY(14px) scale(.99);
  transition: transform .4s var(--ease);
}
.sheet.open .sheet-card { transform: none; }
.sheet-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sheet-tag {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .2em;
  color: var(--warm); padding: 4px 9px;
  border-radius: 5px; border: 1px solid rgba(255, 180, 120, .25);
  background: rgba(255, 154, 82, .08);
}
.sheet-close {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--muted); font-size: 10px;
}
.sheet-close:hover { color: var(--ink); border-color: var(--line-2); }
.sheet-card h3 { font-family: var(--serif); font-size: 20px; line-height: 1.5; font-weight: 700; color: var(--cream); }
.sheet-meta { margin-top: 10px; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; color: var(--muted-2); }
.sheet-desc { margin-top: 12px; font-size: 12.5px; line-height: 1.9; color: var(--muted); }
.sheet-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.sheet-actions .btn { height: 40px; padding: 0 18px; font-size: 12px; }

/* lightbox */
.lightbox { display: block; padding: 30px; overflow: auto; }
.lightbox img {
  display: block;
  max-width: min(1100px, 100%);
  max-height: 78vh;
  margin: 4vh auto 0;
  border-radius: 12px;
  box-shadow: 0 40px 100px -40px #000;
  transform: scale(.98);
  transition: transform .4s var(--ease);
}
.lightbox.open img { transform: none; }
.lb-close {
  position: fixed; top: 18px; right: 20px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(24, 16, 10, .9);
  border: 1px solid var(--line-2);
  color: var(--ink); font-size: 12px;
  z-index: 2;
}
.lb-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  max-width: 1100px;
  margin: 12px auto 24px;
  font-family: var(--mono); font-size: 10px; color: var(--muted);
}
.lb-bar a { color: var(--warm); }

@media (max-width: 1120px) {
  .wall-grid { columns: 3; }
}
@media (max-width: 860px) {
  .wall-grid { columns: 2; }
  .promo-head { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .wall-grid { columns: 2; column-gap: 8px; }
  .wall-item { margin-bottom: 8px; border-radius: 10px; }
  .wall-search { min-width: 100%; }
  .wall-more { width: 100%; }
  .lightbox { padding: 12px; }
  .lightbox img { margin-top: 8vh; }
}

/* docks 里的公告卡高度 */
@media (max-width: 1679px) {
  .docks .nt-list { max-height: 240px; }
}

/* 壁纸墙改为固定比例网格，避免图片未加载时塌陷 */
.wall-grid {
  columns: auto;
  column-gap: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.wall-item { margin: 0; aspect-ratio: 3 / 4; }
.wall-item img { height: 100%; object-fit: cover; }
.wall-item.skeleton { height: auto; aspect-ratio: 3 / 4; }
@media (max-width: 1120px) { .wall-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .wall-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .wall-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* 壁纸压低一点亮度，融进暗色页面 */
.wall-item img { filter: brightness(.9) saturate(.96); }
.wall-item:hover img { filter: brightness(1.02) saturate(1); }

/* ============================================================
   v5 · 今日长文 + 热门壁纸滚动墙
   ============================================================ */

/* ---------- 今日长文 ---------- */
.daily-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 26px;
  border-top: 1px solid var(--line);
}
.daily-title { display: flex; flex-direction: column; gap: 8px; }
.daily-title p { font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }
.daily-src { font-family: var(--mono); font-size: 8.5px; letter-spacing: .08em; color: var(--muted-2); margin-left: 6px; }
.daily-side { display: flex; align-items: center; gap: 12px; }
.daily-side > span { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; color: var(--muted-2); }
.daily-more {
  height: 30px; padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  font-size: 10.5px; color: var(--ink-soft);
  transition: .3s ease;
}
.daily-more:hover { color: var(--warm); border-color: var(--line-2); background: rgba(255, 255, 255, .06); }

.daily-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.daily-card {
  display: flex; flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 240, 220, .045), rgba(255, 190, 140, .012)), rgba(20, 13, 9, .6);
  cursor: pointer;
  transition: border-color .35s ease, transform .45s var(--ease), box-shadow .45s ease;
}
.daily-card:hover {
  border-color: rgba(255, 190, 140, .34);
  transform: translateY(-3px);
  box-shadow: 0 30px 60px -40px #000;
}
.daily-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: rgba(255, 255, 255, .04); }
.daily-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.88) saturate(.95);
  transition: transform .8s var(--ease), filter .4s ease;
}
.daily-card:hover .daily-thumb img { transform: scale(1.05); filter: brightness(1) saturate(1); }
.daily-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 9, 5, .85));
}
.daily-thumb .d-time {
  position: absolute; left: 10px; bottom: 8px; z-index: 2;
  font-family: var(--mono); font-size: 8px; letter-spacing: .1em;
  color: var(--warm-soft);
  padding: 3px 8px; border-radius: 5px;
  background: rgba(12, 7, 4, .7);
  border: 1px solid rgba(255, 180, 120, .2);
}
.daily-body { padding: 13px 14px 15px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.daily-body h3 {
  font-size: 13.5px; font-weight: 600; line-height: 1.6; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.daily-body p {
  font-size: 11.5px; line-height: 1.75; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.daily-body .d-hint {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 8px; letter-spacing: .08em; color: var(--muted-2);
}
.daily-body .d-hint b { color: var(--warm); font-weight: 400; }
.daily-card.skeleton-card { height: 268px; pointer-events: none;
  background: linear-gradient(100deg, rgba(255,255,255,.035), rgba(255,255,255,.08), rgba(255,255,255,.035));
  background-size: 200% 100%; animation: skel 1.4s linear infinite;
}

/* ---------- 壁纸滚动墙 ---------- */
.wall-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.wall-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wall-date { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--warm); }
.wall-meta em { font-style: normal; font-family: var(--mono); font-size: 9px; color: var(--muted-2); }
.wall-tip {
  font-size: 10px; color: var(--muted-2);
  padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
}

.wall-stage {
  position: relative;
  display: flex; flex-direction: column; gap: 13px;
  padding: 8px 0 10px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.wall-row { overflow: hidden; }
.wall-track {
  display: flex; width: max-content; will-change: transform;
  animation: wallScroll 78s linear infinite;
}
.wall-row.rev .wall-track { animation-name: wallScrollRev; }
.wall-row:hover .wall-track { animation-play-state: paused; }
.wall-row.r1 .wall-track { animation-duration: 74s; }
.wall-row.r2 .wall-track { animation-duration: 92s; }
.wall-row.r3 .wall-track { animation-duration: 83s; }
@keyframes wallScroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes wallScrollRev { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }

.wall-tile {
  position: relative;
  width: 306px; height: 194px;
  flex: 0 0 auto;
  margin-right: 13px;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  cursor: zoom-in;
  transition: border-color .4s ease, transform .5s var(--ease);
}
.wall-tile:hover { border-color: rgba(255, 190, 140, .45); transform: translateY(-2px); }
.wall-tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: brightness(.82) saturate(.94);
  transition: transform 1s var(--ease), filter .5s ease;
}
.wall-tile:hover img { transform: scale(1.07); filter: brightness(1.02) saturate(1.05); }
.wall-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(12, 7, 4, .82));
  pointer-events: none;
}
.wall-tile .wt-info {
  position: absolute; left: 10px; right: 10px; bottom: 9px; z-index: 2;
  font-family: var(--mono); font-size: 8px; letter-spacing: .05em;
  color: rgba(255, 238, 220, .78);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateY(4px);
  transition: opacity .35s ease, transform .35s var(--ease);
}
.wall-tile:hover .wt-info { opacity: 1; transform: none; }
.wall-tile .wt-badge {
  position: absolute; left: 9px; top: 9px; z-index: 2;
  font-family: var(--mono); font-size: 7.5px; letter-spacing: .12em;
  padding: 3px 7px; border-radius: 4px;
  color: #2a1405; background: rgba(255, 190, 130, .9);
  opacity: 0; transition: opacity .35s ease;
}
.wall-tile:hover .wt-badge { opacity: 1; }

@media (max-width: 1120px) {
  .daily-grid { grid-template-columns: repeat(2, 1fr); }
  .wall-tile { width: 248px; height: 158px; }
}
@media (max-width: 760px) {
  .daily-grid { grid-template-columns: 1fr; }
  .daily-head { margin-top: 34px; }
  .wall-tile { width: 196px; height: 126px; margin-right: 10px; }
  .wall-stage { gap: 10px; }
  .wall-bar { justify-content: flex-start; }
  .wall-more { width: 100%; }
}

/* 长文区高亮提示 */
.daily-head.flash { animation: dailyFlash 1.3s ease; }
@keyframes dailyFlash {
  0%, 100% { border-top-color: var(--line); }
  30% { border-top-color: rgba(255, 190, 140, .75); box-shadow: 0 -14px 40px -30px rgba(255, 160, 90, .9); }
}

/* 阅读器里的原文出处 */
.reader-origin {
  margin-top: 22px; padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-family: var(--mono); font-size: 10px; letter-spacing: .04em;
  color: var(--muted-2); word-break: break-all;
}
.reader-origin a { color: var(--warm); }

/* 阅读器里的正文图片与引用（日报自带 HTML） */
.reader-body img {
  display: block;
  max-width: 100%; height: auto;
  margin: 20px auto;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.reader-body h2 {
  font-size: 17px; font-weight: 700; line-height: 1.7;
  color: var(--cream); margin: 26px 0 10px;
}
.reader-body blockquote {
  margin: 18px 0; padding: 12px 16px;
  border-left: 2px solid rgba(255, 180, 120, .5);
  background: rgba(255, 255, 255, .035);
  border-radius: 0 8px 8px 0;
  color: var(--ink-soft);
}
.reader-body a { color: var(--warm); text-decoration: underline; text-underline-offset: 3px; }

/* 阅读器里的作者条（知乎日报自带 HTML） */
.reader-body .meta {
  display: flex; align-items: center; gap: 10px;
  margin: 2px 0 18px; padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.reader-body .meta .avatar {
  width: 34px; height: 34px; min-width: 34px;
  margin: 0; border-radius: 50%;
  border: 1px solid var(--line-2);
  object-fit: cover;
}
.reader-body .meta .author { font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.reader-body .meta .bio { font-size: 10.5px; color: var(--muted-2); }

/* 文章筛选独占一行 */
.filters { margin: 26px 0 20px; gap: 7px; }
.filters .pill { height: 32px; padding: 0 15px; font-size: 11.5px; }
@media (max-width: 560px) {
  .filters { margin: 20px 0 16px; gap: 6px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .filters::-webkit-scrollbar { display: none; }
  .filters .pill { flex: 0 0 auto; height: 30px; padding: 0 13px; }
}

/* 标题断行更均匀，避免孤字 */
.post-title, .post.featured .post-title { text-wrap: balance; }
