@charset "UTF-8";

@font-face {
  font-family: "Ma Shan Zheng";
  src: url("/assets/fonts/ma-shan-zheng.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "LXGW WenKai";
  src: url("/assets/fonts/lxgw-wenkai.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #f3f1ea;
  --paper-light: #fbfaf6;
  --ink: #263a34;
  --ink-soft: #50615a;
  --muted: #7d8781;
  --plum: #9b5059;
  --plum-dark: #7f3e47;
  --gold: #b49a6b;
  --line: rgba(46, 68, 60, .14);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
  --calligraphy: "Ma Shan Zheng", STXingkai, "Xingkai SC", "KaiTi", cursive;
  --kaiti: "LXGW WenKai", "Kaiti SC", STKaiti, KaiTi, var(--serif);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
input, textarea, select { font-family: var(--kaiti); }
.brand-seal, .brand-name, .hero h1, .section-heading h2, .share-intro h2, .poem-card h3, .welcome-card h2 { font-family: var(--calligraphy); }
.poem-scroll blockquote p, .poem-lines p, .feed-content, .ink-motto, .welcome-message { font-family: var(--kaiti); }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
[hidden] { display: none !important; }
::selection { background: rgba(155, 80, 89, .18); color: var(--plum-dark); }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 5px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }

.scene {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--paper) url("/assets/snow-landscape.jpg") center / cover no-repeat;
}
.scene-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.62) contrast(.9) brightness(1.12);
  opacity: .78;
}
.scene-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 82% 12%, rgba(255,255,255,.3), transparent 42%),
    linear-gradient(90deg, rgba(243,241,234,.96) 0%, rgba(243,241,234,.86) 38%, rgba(243,241,234,.58) 72%, rgba(243,241,234,.68) 100%);
}
.scene-wash::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image: repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(58,72,65,.04) 4px);
}
#snow-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(243, 241, 234, .68);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(243, 241, 234, .9);
  box-shadow: 0 8px 30px rgba(38, 58, 52, .04);
}
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-seal {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  padding: 5px;
  background: var(--plum);
  border: 1px solid rgba(255,255,255,.5);
  outline: 1px solid var(--plum);
  outline-offset: 2px;
  color: #fff9ee;
  font-size: 14px;
  line-height: 1.05;
  letter-spacing: .05em;
}
.brand-name { font-size: 19px; letter-spacing: .16em; white-space: nowrap; }
.brand-name small { display: block; margin-top: 5px; color: var(--muted); font-family: Georgia, serif; font-size: 7px; letter-spacing: .26em; }
.main-nav { display: flex; align-items: center; gap: 38px; margin-left: auto; }
.main-nav a { position: relative; padding: 12px 2px; color: var(--ink-soft); font-size: 14px; letter-spacing: .18em; }
.main-nav a::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 4px;
  left: 50%;
  height: 1px;
  background: var(--plum);
  transition: left .25s, right .25s;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 2px; left: 2px; }
.header-cta {
  padding: 11px 0 11px 22px;
  border: 0;
  border-left: 1px solid var(--line);
  background: none;
  font-size: 13px;
  letter-spacing: .08em;
}
.header-cta span { display: inline-block; margin-left: 8px; color: var(--plum); transition: transform .25s; }
.header-cta:hover span { transform: translate(3px, -3px); }

main, .site-footer { position: relative; z-index: 1; }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  min-height: calc(100svh - 88px);
  padding-top: 70px;
  padding-bottom: 105px;
}
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 23px; color: var(--plum); font-size: 12px; letter-spacing: .28em; }
.eyebrow > span { width: 29px; height: 1px; background: currentColor; }
.hero h1 { margin: 0; font-size: clamp(62px, 7.2vw, 102px); font-weight: 400; line-height: 1.27; letter-spacing: .09em; }
.hero h1 em { color: var(--plum); font-style: normal; }
.hero-intro { margin: 31px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 2.15; letter-spacing: .08em; }
.hero-actions { display: flex; align-items: center; gap: 33px; margin-top: 40px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 50px;
  padding: 13px 25px;
  border: 1px solid transparent;
  border-radius: 1px;
  font-size: 14px;
  letter-spacing: .1em;
  transition: background .25s, box-shadow .25s, transform .25s;
}
.button-primary { background: var(--ink); color: #fffdf7; box-shadow: 0 8px 22px rgba(38,58,52,.12); }
.button-primary:hover:not(:disabled) { background: var(--plum); box-shadow: 0 10px 28px rgba(155,80,89,.2); transform: translateY(-2px); }
.button-primary span { font-family: Arial, sans-serif; font-size: 18px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: .08em;
  transition: color .2s, border-color .2s;
}
.text-link:hover { border-color: var(--plum); color: var(--plum); }
.text-link span { color: var(--plum); }
.hero-signature { display: flex; align-items: center; gap: 13px; margin-top: 59px; color: var(--muted); font-size: 11px; letter-spacing: .25em; }
.hero-signature i { display: block; width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 550px;
  transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0);
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.poem-scroll {
  position: relative;
  width: 326px;
  height: 426px;
  padding: 45px 39px;
  border: 1px solid rgba(79, 94, 85, .18);
  background: rgba(251, 250, 246, .64);
  box-shadow: 0 25px 70px rgba(49,65,57,.09), inset 0 0 60px rgba(255,255,255,.45);
  backdrop-filter: blur(7px);
}
.poem-scroll::before, .poem-scroll::after {
  content: "";
  position: absolute;
  right: -11px;
  left: -11px;
  height: 10px;
  border: 1px solid rgba(71,86,77,.18);
  background: #e9e6dc;
  box-shadow: 0 3px 5px rgba(38,58,52,.05);
}
.poem-scroll::before { top: -5px; }
.poem-scroll::after { bottom: -5px; }
.scroll-label { position: absolute; top: 31px; left: 26px; color: var(--muted); font-size: 10px; letter-spacing: .25em; writing-mode: vertical-rl; }
.poem-scroll blockquote { display: flex; flex-direction: row-reverse; justify-content: center; gap: 27px; height: 270px; margin: 15px 0 0; }
.poem-scroll blockquote p { margin: 0; font-size: 29px; letter-spacing: .26em; line-height: 1.4; writing-mode: vertical-rl; }
.poem-scroll footer { position: absolute; right: 40px; bottom: 39px; color: var(--muted); font-size: 10px; letter-spacing: .13em; }
.poem-seal { position: absolute; bottom: 30px; left: 35px; padding: 5px; border: 1px solid var(--plum); color: var(--plum); font-size: 13px; }
.floating-note {
  position: absolute;
  right: 1%;
  bottom: 50px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 23px;
  border-left: 3px solid rgba(255,255,255,.45);
  background: rgba(155, 80, 89, .91);
  color: #fffaf1;
  box-shadow: 0 15px 35px rgba(97,53,57,.15);
  transform: rotate(-3deg);
}
.floating-note span { font-size: 16px; letter-spacing: .18em; }
.floating-note small { opacity: .7; font-size: 10px; letter-spacing: .28em; }
.scroll-hint { position: absolute; bottom: 32px; left: 0; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 10px; letter-spacing: .25em; }
.scroll-hint span { position: relative; width: 38px; height: 1px; overflow: hidden; background: var(--line); }
.scroll-hint span::after { content: ""; position: absolute; inset: 0; background: var(--plum); animation: scroll-line 2.5s ease-in-out infinite; }
@keyframes scroll-line { 0% { transform: translateX(-110%); } 60%, 100% { transform: translateX(110%); } }

.poetry-section { padding-top: 120px; padding-bottom: 135px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 46px; }
.section-heading .eyebrow { margin-bottom: 16px; }
.section-heading h2 { margin: 0; font-size: clamp(31px, 3.4vw, 45px); font-weight: 400; line-height: 1.45; letter-spacing: .08em; }
.section-heading > p { margin: 0 0 5px; color: var(--muted); font-size: 13px; line-height: 2; letter-spacing: .06em; }
.category-tabs { display: flex; gap: 40px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.category-tabs button {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 0 3px 17px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 16px;
  letter-spacing: .12em;
  transition: color .25s;
}
.category-tabs button small { font-family: Georgia, serif; font-size: 8px; letter-spacing: .18em; }
.category-tabs button::after { content: ""; position: absolute; right: 50%; bottom: -1px; left: 50%; height: 2px; background: var(--plum); transition: left .25s, right .25s; }
.category-tabs button[aria-selected="true"] { color: var(--plum); }
.category-tabs button[aria-selected="true"]::after { right: 0; left: 0; }
.poem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; }
.poem-card, .feed-card { position: relative; overflow: hidden; border: 1px solid var(--line); background: rgba(251,250,246,.74); box-shadow: 0 10px 30px rgba(46,68,60,.025); }
.interactive-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(360px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255,255,255,.86), transparent 60%);
  transition: opacity .35s;
}
.interactive-card:hover::before { opacity: 1; }
.interactive-card > * { position: relative; z-index: 1; }
.poem-card {
  display: flex;
  flex-direction: column;
  min-height: 450px;
  padding: 29px 30px 25px;
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.poem-card:hover { border-color: rgba(155,80,89,.3); box-shadow: 0 18px 45px rgba(46,68,60,.08); transform: translateY(-6px); }
.poem-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 31px; }
.poem-index { color: var(--gold); font-family: Georgia, serif; font-size: 12px; font-style: italic; }
.poem-category { padding: 3px 7px; border: 1px solid rgba(155,80,89,.28); color: var(--plum); font-size: 9px; letter-spacing: .16em; }
.poem-card h3 { margin: 0 0 11px; font-size: 23px; font-weight: 400; line-height: 1.45; letter-spacing: .07em; }
.poem-author { margin: 0; color: var(--muted); font-size: 11px; letter-spacing: .15em; }
.poem-lines { max-height: 144px; margin: 28px 0 18px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); transition: max-height .55s ease; }
.poem-lines p { margin: 0 0 7px; color: var(--ink-soft); font-size: 14px; line-height: 1.9; letter-spacing: .04em; }
.poem-note { max-height: 0; margin: 0; overflow: hidden; border-top: 1px solid transparent; color: var(--muted); font-size: 12px; line-height: 1.9; opacity: 0; transition: max-height .5s, opacity .4s, margin .4s, padding .4s, border-color .4s; }
.poem-card.is-open .poem-lines { max-height: 650px; -webkit-mask-image: none; mask-image: none; }
.poem-card.is-open .poem-note { max-height: 180px; margin: 3px 0 20px; padding-top: 15px; border-color: var(--line); opacity: 1; }
.poem-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: auto; padding: 13px 0 0; border: 0; border-top: 1px solid var(--line); background: none; color: var(--muted); font-size: 11px; letter-spacing: .13em; }
.poem-toggle span { color: var(--plum); font-family: Arial, sans-serif; font-size: 16px; transition: transform .25s; }
.poem-toggle:hover { color: var(--plum); }
.poem-toggle:hover span { transform: translate(2px, -2px); }

.share-section {
  position: relative;
  display: grid;
  grid-template-columns: .72fr 1.45fr;
  gap: 62px;
  margin-top: 20px;
  margin-bottom: 140px;
  padding: 67px 65px;
  overflow: hidden;
  background: #293e37;
  color: #f4f1e8;
  box-shadow: 0 30px 70px rgba(38,58,52,.13);
}
.share-section::before { content: ""; position: absolute; top: -180px; left: -120px; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.055); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255,255,255,.018), 0 0 0 120px rgba(255,255,255,.014); }
.share-intro, .share-form { position: relative; z-index: 1; }
.share-intro { border-right: 1px solid rgba(255,255,255,.12); }
.eyebrow.light { color: #d6b5ad; }
.share-intro h2 { margin: 0; font-size: clamp(35px, 3.8vw, 48px); font-weight: 400; line-height: 1.55; letter-spacing: .09em; }
.share-intro > p:not(.eyebrow) { margin: 25px 0 0; color: rgba(244,241,232,.62); font-size: 12px; line-height: 2.2; letter-spacing: .07em; }
.ink-motto { position: absolute; right: 30px; bottom: -10px; color: rgba(255,255,255,.07); font-size: 25px; line-height: 1.25; }
.share-form { min-width: 0; }
.form-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }
.field { position: relative; display: block; }
.field > span { display: block; margin-bottom: 10px; color: rgba(244,241,232,.82); font-size: 12px; letter-spacing: .1em; }
.field > span small { margin-left: 5px; color: rgba(244,241,232,.38); font-size: 9px; }
.field input, .field select, .field textarea { width: 100%; border-radius: 0; color: #fffdf7; outline: none; transition: border-color .25s, background .25s; }
.field input, .field select { height: 43px; padding: 0 4px; border: 0; border-bottom: 1px solid rgba(255,255,255,.2); background: transparent; font-size: 14px; }
.field select { cursor: pointer; }
.field select option { background: var(--ink); color: white; }
.field textarea { min-height: 174px; padding: 17px 18px 30px; resize: vertical; border: 1px solid rgba(255,255,255,.17); background: rgba(255,255,255,.035); font-size: 14px; line-height: 2; }
.field input::placeholder, .field textarea::placeholder { color: rgba(244,241,232,.34); }
.field input:focus, .field select:focus { border-color: #d6b5ad; }
.field textarea:focus { border-color: rgba(214,181,173,.75); background: rgba(255,255,255,.055); }
.content-field { margin-top: 28px; }
.character-count { position: absolute; right: 13px; bottom: 10px; color: rgba(244,241,232,.38); font-family: Georgia, serif; font-size: 10px; }
.moderation-warning { margin: 15px 0 0; padding: 11px 14px; border-left: 2px solid #e2a4a4; background: rgba(226,164,164,.09); color: #f0c2c2; font-size: 12px; line-height: 1.7; }
.form-bottom { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 25px; }
.community-note { max-width: 310px; margin: 0; color: rgba(244,241,232,.44); font-size: 10px; line-height: 1.8; }
.community-note span { margin-right: 5px; color: #d6b5ad; }
.submit-button { flex-shrink: 0; background: var(--plum); box-shadow: none; }
.submit-button:hover:not(:disabled) { background: #ad626a; }
.form-status { min-height: 20px; margin: 13px 0 -25px; color: #c8d8c9; font-size: 11px; line-height: 1.7; text-align: right; }
.form-status.is-error { color: #f0c2c2; }

.feed-section { padding-bottom: 130px; }
.feed-heading { margin-bottom: 35px; }
.feed-tabs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.feed-tabs button { padding: 8px 17px; border: 1px solid var(--line); border-radius: 30px; background: rgba(255,255,255,.2); color: var(--muted); font-size: 11px; letter-spacing: .09em; transition: all .25s; }
.feed-tabs button:hover { border-color: rgba(155,80,89,.4); color: var(--plum); }
.feed-tabs button[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper-light); }
.feed-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; min-height: 180px; }
.feed-card { padding: 28px 30px 21px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.feed-card:hover { border-color: rgba(155,80,89,.25); box-shadow: 0 15px 35px rgba(46,68,60,.065); transform: translateY(-3px); }
.feed-card-header { display: flex; align-items: center; gap: 12px; }
.feed-avatar { display: grid; place-items: center; width: 39px; height: 39px; flex-shrink: 0; border: 1px solid rgba(155,80,89,.2); border-radius: 50%; background: rgba(155,80,89,.07); color: var(--plum); font-size: 15px; }
.feed-author { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.feed-author strong { overflow: hidden; font-size: 13px; font-weight: 400; letter-spacing: .08em; text-overflow: ellipsis; white-space: nowrap; }
.feed-author time { color: var(--muted); font-family: Georgia, var(--serif); font-size: 9px; letter-spacing: .05em; }
.feed-category { margin-left: auto; padding: 3px 7px; border: 1px solid var(--line); color: var(--muted); font-size: 9px; white-space: nowrap; }
.feed-content { min-height: 74px; margin: 24px 0 25px; color: var(--ink-soft); font-size: 14px; line-height: 2; letter-spacing: .035em; overflow-wrap: anywhere; white-space: pre-wrap; }
.feed-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); color: #9aa19c; font-size: 9px; letter-spacing: .12em; }
.tiny-seal { padding: 2px 4px; border: 1px solid rgba(155,80,89,.3); color: var(--plum); font-size: 9px; }
.empty-state, .loading-state { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 270px; padding: 45px 20px; border: 1px dashed var(--line); text-align: center; }
.empty-mark { display: grid; place-items: center; width: 47px; height: 47px; margin-bottom: 20px; border: 1px solid rgba(155,80,89,.25); color: var(--plum); font-size: 18px; transform: rotate(-4deg); }
.empty-state h3 { margin: 0 0 12px; font-size: 18px; font-weight: 400; letter-spacing: .1em; }
.empty-state p, .loading-state p { margin: 0 0 17px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.loading-state span { width: 27px; height: 27px; margin-bottom: 18px; border: 1px solid var(--line); border-top-color: var(--plum); border-radius: 50%; animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.feed-status { min-height: 18px; margin: 16px 0 -18px; color: var(--plum); font-size: 12px; text-align: center; }
.load-more-wrap { display: flex; justify-content: center; margin-top: 35px; }

.site-footer { border-top: 1px solid var(--line); background: rgba(243,241,234,.5); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 145px; }
.footer-brand .brand-seal { width: 37px; height: 37px; font-size: 12px; }
.footer-brand .brand-name { font-size: 15px; }
.footer-brand .brand-name small { font-family: var(--serif); font-size: 8px; letter-spacing: .12em; }
.footer-inner > p { margin: 0; color: var(--muted); font-size: 11px; letter-spacing: .12em; }
.footer-inner > a { color: var(--muted); font-size: 11px; letter-spacing: .12em; }
.footer-inner > a span { margin-left: 8px; color: var(--plum); }
.noscript-note { position: fixed; z-index: 100; right: 20px; bottom: 20px; left: 20px; padding: 15px; background: var(--plum); color: white; text-align: center; }

.welcome-card {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 24px;
  width: min(338px, calc(100vw - 32px));
  padding: 24px 25px 18px;
  border: 1px solid rgba(92,77,58,.2);
  background: rgba(251,250,246,.94);
  box-shadow: 0 22px 70px rgba(27,43,38,.22), inset 0 0 45px rgba(180,154,107,.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: welcome-in .55s cubic-bezier(.2,.8,.2,1) both;
}
.welcome-card::before {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: 5px;
  left: 5px;
  border: 1px solid rgba(155,80,89,.12);
  pointer-events: none;
}
.welcome-card.is-leaving { animation: welcome-out .28s ease-in both; }
.welcome-close {
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 11px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 23px;
  line-height: 1;
}
.welcome-close:hover { color: var(--plum); }
.welcome-kicker { margin: 0 0 7px; color: var(--plum); font-size: 10px; letter-spacing: .32em; }
.welcome-card h2 { margin: 0; font-size: clamp(21px, 2.3vw, 25px); font-weight: 400; line-height: 1.45; letter-spacing: .03em; white-space: nowrap; }
.toast-scene {
  display: block;
  width: 100%;
  height: 138px;
  margin: 7px 0 0;
  background: radial-gradient(ellipse at center, rgba(180,154,107,.1), transparent 68%);
}
.toast-ground { fill: rgba(38,58,52,.08); }
.toast-skin { fill: #d7b99b; }
.toast-hair, .toast-leg { fill: #35443e; }
.robe-left { fill: #667e73; }
.robe-right { fill: #a06369; }
.toast-table { fill: #806d53; }
.toast-flask { fill: #c3ad83; }
.toast-flask-line { fill: none; stroke: #806d53; stroke-width: 1.5; }
.toast-cup { fill: #f4ecdc; stroke: #8c5558; stroke-width: 1.2; }
.toast-cup-rim { fill: none; stroke: #8c5558; stroke-width: 1.5; }
.toast-arm { transform-box: view-box; }
.toast-arm-left { transform-origin: 62px 65px; animation: toast-left 3.8s ease-in-out infinite; }
.toast-arm-right { transform-origin: 258px 65px; animation: toast-right 3.8s ease-in-out infinite; }
.welcome-message { min-height: 49px; margin: 4px 0 8px; color: var(--ink-soft); font-size: 13px; line-height: 1.85; text-align: center; }
.welcome-views { min-height: 17px; margin: 0; color: var(--plum); font-size: 10px; letter-spacing: .06em; text-align: center; }
.welcome-signature { margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; letter-spacing: .16em; text-align: center; }
@keyframes welcome-in { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes welcome-out { to { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes toast-left {
  0%, 18%, 100% { transform: none; }
  45%, 64% { transform: translate(12px, -9px) rotate(-4deg); }
  82% { transform: translate(4px, -2px); }
}
@keyframes toast-right {
  0%, 18%, 100% { transform: none; }
  45%, 64% { transform: translate(-12px, -9px) rotate(4deg); }
  82% { transform: translate(-4px, -2px); }
}

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr .8fr; }
  .hero-art { height: 500px; }
  .poem-scroll { width: 285px; height: 395px; }
  .floating-note { right: -5%; }
  .poem-grid { gap: 16px; }
  .poem-card { padding-inline: 23px; }
  .share-section { grid-template-columns: 1fr; gap: 40px; padding: 55px 42px; }
  .share-intro { padding-bottom: 30px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .share-intro h2 { text-wrap: balance; }
  .share-intro h2 br { display: none; }
  .ink-motto { display: none; }
  .form-bottom { align-items: flex-start; flex-direction: column; }
  .submit-button { align-self: flex-end; }
  .community-note { max-width: none; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 82px; }
  .container { width: min(100% - 40px, 600px); }
  .header-inner { height: 76px; gap: 16px; }
  .brand-seal { width: 36px; height: 36px; font-size: 12px; }
  .brand-name { font-size: 16px; }
  .main-nav { gap: 20px; }
  .main-nav a { font-size: 12px; }
  .header-cta { display: none; }
  .scene-video { object-position: 58% center; }
  .scene-wash { background: linear-gradient(90deg, rgba(243,241,234,.93), rgba(243,241,234,.68)); }
  .hero { display: block; min-height: auto; padding-top: 80px; padding-bottom: 110px; }
  .hero h1 { font-size: clamp(57px, 12vw, 82px); }
  .hero-intro { font-size: 14px; }
  .hero-art { height: 460px; margin-top: 40px; }
  .poem-scroll { width: 290px; height: 390px; }
  .floating-note { right: 5%; bottom: 12px; }
  .scroll-hint { bottom: 30px; }
  .poetry-section { padding-top: 85px; padding-bottom: 95px; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading > p { margin-top: 18px; }
  .section-heading > p br { display: none; }
  .category-tabs { gap: 27px; overflow-x: auto; scrollbar-width: none; }
  .category-tabs::-webkit-scrollbar { display: none; }
  .category-tabs button { flex-shrink: 0; }
  .poem-grid { grid-template-columns: 1fr; gap: 18px; }
  .poem-card { min-height: 410px; }
  .share-section { grid-template-columns: 1fr; gap: 40px; margin-bottom: 100px; padding: 45px 35px; }
  .share-intro { padding-bottom: 30px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .share-intro h2 br { display: none; }
  .ink-motto { display: none; }
  .feed-section { padding-bottom: 90px; }
  .feed-list { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; justify-content: center; padding-block: 35px; text-align: center; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .welcome-card { right: 16px; bottom: 16px; padding: 22px 22px 16px; }
  .welcome-card h2 { font-size: 21px; }
  .toast-scene { height: 126px; }
  .brand-name small { display: none; }
  .main-nav { gap: 15px; }
  .main-nav a { letter-spacing: .08em; }
  .hero { padding-top: 63px; }
  .hero h1 { font-size: 55px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .hero-signature { margin-top: 38px; }
  .hero-art { height: 430px; margin-top: 28px; }
  .poem-scroll { width: 270px; }
  .floating-note { right: -3px; }
  .section-heading h2 { font-size: 30px; }
  .category-tabs { gap: 22px; }
  .poem-card { padding: 25px 24px 22px; }
  .share-section { padding: 37px 23px; }
  .share-intro h2 { font-size: 33px; }
  .form-row { grid-template-columns: 1fr; gap: 24px; }
  .form-bottom { margin-top: 20px; }
  .submit-button { width: 100%; }
  .form-status { margin-bottom: -15px; text-align: left; }
  .feed-tabs { flex-wrap: nowrap; margin-right: -16px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .feed-tabs::-webkit-scrollbar { display: none; }
  .feed-tabs button { flex-shrink: 0; }
  .feed-card { padding: 24px 22px 18px; }
  .feed-author time { font-size: 8px; }
  .footer-inner > p { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-depth] { transform: none !important; translate: none !important; }
}
