.theme-paper {
  display: flex;
  flex-direction: column;
  background-color: var(--paper);
  background-image:
    linear-gradient(to top, rgba(230, 220, 198, 0.55), rgba(247, 241, 227, 0) 240px),
    url("/assets/paper/mountains.svg"),
    image-set(
      url("/assets/paper/paper-texture.webp") 1x,
      url("/assets/paper/paper-texture@2x.webp") 2x
    );
  background-repeat: no-repeat, no-repeat, repeat;
  background-position: center bottom, center bottom, center top;
  background-size: 100% 260px, 100% auto, 256px;
  color: var(--ink);
  min-height: 100vh;
  position: relative;
}
.paper-deco { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.paper-deco img { position: absolute; height: auto; }
.paper-bamboo { top: 0; right: 0; width: min(220px, 28vw); }
.paper-mount-left { left: 0; bottom: 0; width: min(340px, 36vw); }
.paper-mount-right { right: 0; bottom: 0; width: min(340px, 36vw); }
.theme-paper main,
.theme-paper .site-footer { position: relative; z-index: 1; }
.theme-paper main { flex: 1 0 auto; }
.theme-paper .site-footer { margin-top: auto; background: transparent; background-color: transparent; box-shadow: none; font-size: 14px; color: rgba(31, 58, 110, 0.75); }
.theme-paper .site-footer a,
.theme-paper .site-footer .fine { color: rgba(31, 58, 110, 0.75); font-size: 14px; }
.theme-paper .wrap { width: min(1280px, calc(100% - 48px)); }
.learn-hero { display: grid; grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr); gap: 24px; align-items: center; margin-bottom: 16px; min-height: calc(100vh - 340px); }
.learn-copy h1 { font-size: clamp(40px, 4.6vw, 64px); }
.learn-copy .lede { font-size: 22px; }
.learn-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 8px 0 16px; }
.course-switch { display: inline-flex; height: 44px; border: 1px solid var(--gold); border-radius: 999px; overflow: hidden; }
.course-switch button { height: 44px; min-height: 44px; padding: 0 16px; border: 0; background: transparent; color: var(--navy); font-size: 16px; cursor: pointer; }
.course-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.learn-scene { position: relative; min-height: 480px; }
.learn-orbit {
  position: absolute;
  left: 4%;
  top: 6%;
  width: 90%;
  height: 82%;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.95);
  background: none;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.95), 0 0 28px rgba(150, 190, 255, 0.8);
  transform: rotate(-14deg);
  pointer-events: none;
  z-index: 1;
}
.learn-orbit.front { z-index: 4; clip-path: inset(48% 0 0 0); }
.learn-orbit:not(.front) { clip-path: inset(0 0 48% 0); }
.orbit-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px #fff; z-index: 5; }
.orbit-dot.d1 { left: 18%; top: 22%; }
.orbit-dot.d2 { right: 16%; top: 18%; }
.orbit-dot.d3 { left: 12%; bottom: 24%; }
.orbit-dot.d4 { right: 22%; bottom: 16%; }
.read-elephant { position: absolute; left: 16%; top: 2%; width: min(432px, 78%); z-index: 2; animation: bob 6.5s ease-in-out infinite; }
.floater { position: absolute; width: 96px; height: auto; z-index: 3; animation: bob 5.8s ease-in-out infinite; }
.floater.wall { left: 0; top: 8%; width: 128px; }
.floater.ding { left: 2%; top: 40%; animation-delay: -1.2s; }
.floater.boat { left: 10%; bottom: 4%; width: 132px; animation-delay: -2s; }
.floater.scroll { right: 2%; top: 2%; animation-delay: -0.6s; }
.floater.moon { right: 0; top: 34%; width: 108px; animation-delay: -1.8s; }
.floater.book { right: 8%; bottom: 6%; width: 112px; animation-delay: -2.6s; }
@media (max-width: 599px) {
  .floater.ding, .floater.boat { display: none; }
  .read-elephant { width: 60%; left: 20%; top: 16%; }
  .learn-actions { flex-direction: column; align-items: stretch; }
  .learn-actions .btn { width: 100%; }
}
.entry-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.entry-row.single { grid-template-columns: 1fr; }
.entry-row .app-card { height: 100%; }
.entry-icon { width: 64px; height: 64px; object-fit: contain; flex: 0 0 64px; }
.entry-copy { display: grid; gap: 4px; min-width: 0; flex: 1; align-content: center; }
.entry-copy strong, .soon-card .entry-copy strong, .entry-copy > span { white-space: nowrap; }
.entry-copy strong { font-size: 20px; }
.entry-copy > span { font-size: 16px; line-height: 1.3; }
.app-card { overflow: visible; align-items: center; }
.entry-row.single .app-card { display: flex; align-items: center; gap: 24px; min-height: 128px; }
.poetry-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 8px; }
.poetry-head h1 { margin: 0; flex: 0 1 auto; }
.poem-search { width: 320px; height: 40px; min-height: 40px; flex: 0 0 320px; margin-left: 24px; }
.dynasty-row { display: flex; justify-content: center; align-items: center; margin: 8px 0 32px; min-height: 96px; }
.dynasty-line { display: flex; justify-content: space-between; align-items: center; position: relative; width: 72%; flex: none; min-height: 88px; font-size: 18px; }
.dynasty-line::before { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 2px; background: var(--navy); }
.dynasty-line button { position: relative; z-index: 1; min-width: 48px; min-height: 48px; border: 0; background: transparent; color: var(--navy); font-size: 18px; cursor: pointer; display: grid; justify-items: center; align-content: center; gap: 6px; }
.dynasty-line button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); }
.dynasty-line button[aria-pressed="true"] { width: 72px; height: 72px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #f8edd2, #c9a45c 62%, #8c6a2f); font-family: var(--serif); font-size: 22px; }
.dynasty-line button[aria-pressed="true"]::before { display: none; }
.poem-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.poem-card a { position: relative; display: flex; flex-direction: row; align-items: center; gap: 12px; height: 100%; color: inherit; text-decoration: none; }
.round-art { width: 72px; height: 72px; flex: 0 0 72px; border-radius: 50%; object-fit: cover; background: #fff; }
.poem-card .verse { display: grid; align-content: center; min-width: 0; flex: 1; }
.star-mark { position: absolute; right: 8px; bottom: 6px; top: auto; line-height: 1; }
.star-mark { color: #e4d3a8; font-size: 22px; }
.star-mark.on { color: var(--gold); }
.feature-card { align-self: start; }
.me-title { display: flex; align-items: baseline; justify-content: center; gap: 12px; }
.me-title h1 { margin: 0; font-size: clamp(36px, 4vw, 56px); font-weight: 700; }
.me-title span { color: var(--gold-deep); font-family: var(--serif); }
.me-top { display: grid; grid-template-columns: 280px minmax(320px, 1.15fr) minmax(280px, 0.95fr); gap: 16px; align-items: stretch; justify-content: center; }
.me-side { display: flex; flex-direction: column; gap: 16px; height: 100%; min-height: 0; }
.me-side > .card { flex: 1 1 auto; margin: 0; min-height: min-content; height: auto; opacity: 1; visibility: visible; content-visibility: visible; }
.profile-card h2 { margin: 0 0 8px; }
.profile-id { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.stat-cell { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; border-radius: 16px; background: rgba(31, 58, 110, 0.06); padding: 12px 8px; font-size: 13px; color: var(--muted); text-align: center; }
.stat-cell strong { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.honor-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold-deep); font-size: 14px; }
.grade-badge { display: inline-flex; align-items: center; justify-content: center; width: max-content; margin: 0 0 8px; padding: 0 12px; min-height: 28px; border-radius: 999px; background: var(--gold); color: #fff; font-size: 14px; line-height: 1; }
.point-hint { color: var(--muted); font-size: 13px; }
.avatar-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.me-planet { position: relative; width: 100%; height: auto; margin: 0 auto; }
.me-planet img { position: relative; left: auto; top: auto; display: block; width: 90%; height: auto; margin: 0 auto; transform: none; }
.float-stat { position: absolute; background: rgba(255, 255, 255, 0.62); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 18px; padding: 16px 20px; backdrop-filter: blur(12px); box-shadow: 0 10px 24px rgba(40, 50, 80, 0.08); font-size: 14px; color: var(--navy); }
.float-stat strong { display: block; font-family: var(--serif); font-size: 32px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.float-stat.poems { left: 0; top: 6%; }
.float-stat.points { right: 0; top: 4%; }
.float-stat.seals { left: 0; bottom: 16%; }
.float-stat.rank { right: 0; top: 40%; }
.seal-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.seal-count { margin: 0; font-size: 14px; color: var(--muted); white-space: nowrap; }
.seal-wall { display: grid; grid-template-columns: repeat(auto-fill, 96px); gap: 16px 18px; align-content: start; }
.empty-learn, .sparse-empty { display: flex; align-items: center; gap: 12px; }
.sparse-empty p { margin: 0; }
.sparse-empty img, .empty-learn img { width: 88px; height: auto; flex: 0 0 auto; }
.recent-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.recent-card { display: grid; grid-template-columns: 48px 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: rgba(255,252,245,.7); text-decoration: none; color: inherit; height: auto; }
.recent-card img { width: 48px; height: 48px; }
.recent-row { position: relative; padding-right: 150px; }
.recent-row > img { position: absolute; right: 8px; bottom: -12px; width: 150px; }
.avatar-slot { display: grid; width: 96px; height: 96px; }
.avatar-slot img, .avatar-slot .avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; grid-area: 1 / 1; }
.recent-card strong { display: block; font-size: 18px; }
.recent-card .note { display: block; }
.float-stat.right { right: 0; top: 24px; }
.float-stat.bottom { left: 0; bottom: 16px; }
.me-side .seal-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.recent-row { display: block; margin-top: 16px; }
@media (max-width: 1023px) {
  .learn-hero, .poetry-head, .me-top, .recent-row { grid-template-columns: 1fr; }
  .me-side { height: auto; min-height: 0; overflow: visible; }
  .me-side > .card { flex: 0 0 auto; height: auto; max-height: none; overflow: visible; opacity: 1; visibility: visible; }
  .profile-card { flex-direction: column; align-items: stretch; height: auto; }
  .profile-id { flex-direction: row; align-items: center; text-align: left; }
  .stat-grid { flex: none; grid-auto-rows: auto; }
  .profile-copy { min-width: 0; }
  .recent-row { display: block; width: 100%; max-width: 100%; margin-top: 16px; padding-right: 0; }
  .recent-row > img { position: static; width: 120px; }
  .learn-hero, .poetry-layout { min-height: 0; }
  .soon-card .seal { right: 8px; top: 8px; }
  .poetry-head { flex-wrap: wrap; }
  .dynasty-line { width: 100%; min-width: 0; overflow-x: auto; }
  .poem-search { max-width: 100%; min-width: 0; }
  .entry-row { grid-template-columns: 1fr 1fr; }
  .entry-row.single { grid-template-columns: 1fr; }
  .poem-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 599px) {
  .entry-row, .poem-grid { grid-template-columns: 1fr; }
  .entry-row.single { grid-template-columns: 1fr; }
}
.theme-paper .brand-text, .theme-paper h1, .theme-paper h2 { color: var(--navy); }
.crumbs { color: var(--muted); font-size: 0.92rem; margin-bottom: 8px; }
.crumbs a { color: var(--navy); }
.hero-row { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; align-items: center; margin-bottom: 22px; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.group-title { margin: 22px 0 10px; color: var(--navy); }
.app-card {
  min-height: 120px;
  text-decoration: none;
  color: var(--navy);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  position: relative;
}
.soon-card { opacity: 1; }
.soon-card > .entry-copy { display: grid; padding-right: 72px; }
.entry-copy strong, .entry-copy > span { display: block; padding-right: 0; }
.soon-card .seal { width: auto; height: auto; min-width: 0; padding: 3px 7px; border-radius: 4px; background: #c23a32; color: #fff; font-size: 12px; line-height: 1.2; letter-spacing: 0; transform: none; }
@media (min-width: 1024px) {
  .soon-card .seal { right: 10px; top: 10px; transform: none; }
}
.app-card strong { font-family: var(--serif); font-size: 1.25rem; }
.child-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.child-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.timeline { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
.chip {
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--navy);
  padding: 0 14px;
  cursor: pointer;
  white-space: nowrap;
}
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.theme-paper main:has(.poetry-layout) {
  display: flex;
  flex-direction: column;
  width: calc(100% - 16px);
  height: auto;
  min-height: calc(100vh - 80px);
  padding-bottom: 40px;
  box-sizing: border-box;
}
.theme-paper main:has(.poetry-layout) > .poetry-head h1 { font-size: 72px; font-weight: 700; line-height: 1.05; }
.poetry-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; min-height: 0; }
.poem-board { display: flex; flex-direction: column; min-height: 0; height: auto; }
.poem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; gap: 12px; flex: none; min-height: 0; }
.poem-card { height: auto; min-height: 120px; padding: 10px 14px; }
.poem-card h3 { margin: 0 0 4px; text-align: left; font-size: 26px; font-family: var(--serif); font-weight: 700; }
.poem-card p { margin: 0; }
.poem-card .excerpt { font-size: 16px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brush-mascot { position: relative; margin: 0; height: auto; display: flex; align-items: flex-end; min-height: 0; }
.brush-frame { position: relative; max-width: 100%; max-height: 100%; }
.brush-mascot img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; object-position: left bottom; display: block; }
.brush-mascot .bubble { position: absolute; top: 4%; left: 30%; right: auto; margin: 0; font-size: 18px; white-space: nowrap; z-index: 2; transform: translateY(-42%); }
.brush-mascot .bubble::after { content: ""; position: absolute; right: 14px; left: auto; bottom: -7px; width: 12px; height: 12px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.feature-card { align-self: stretch; display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; gap: 10px; height: auto; }
.feature-card h2 { font-size: 26px; font-family: var(--serif); margin: 0; }
.feature-card p { font-size: 16px; margin: 0; }
.feature-art { width: 72px; height: auto; }
.feature-card .btn { margin-top: 4px; align-self: center; }
.feature-card .btn-ink { background: var(--navy); background-image: none; box-shadow: none; color: #fff; }
.scan-row { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 14px; color: var(--navy); }
.scan-frame { width: 48px; height: 48px; flex: 0 0 48px; border: 1.5px solid var(--navy); border-radius: 8px; display: grid; place-items: center; }
.scan-frame::before { content: ""; width: 18px; height: 18px; border: 2px solid var(--navy); border-radius: 3px; }
.poem-art {
  height: 92px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(201, 164, 92, 0.28), rgba(31, 58, 110, 0.08));
  color: var(--navy);
  font-family: var(--serif);
}
.prose, .stack, .report-stack { display: grid; gap: 20px; }
.prose section { padding-bottom: 8px; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat strong { display: block; font-family: var(--serif); font-size: 2rem; color: var(--navy); }
.bars { display: flex; align-items: flex-end; gap: 8px; min-height: 120px; }
.bars span {
  flex: 1;
  background: var(--navy);
  border-radius: 8px 8px 0 0;
  min-height: 6px;
}
.seal-row { display: flex; gap: 10px; flex-wrap: wrap; }
.profile-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr) 220px; gap: 16px; }
.avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--navy);
}
.score-num { font-family: var(--serif); font-size: clamp(3rem, 8vw, 5rem); color: var(--navy); margin: 0; }
.line-row .diff { background: var(--seal); color: #fff; text-decoration: none; border-radius: 3px; padding: 0 2px; }
.same-sound { color: var(--gold-deep); }
.line-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.poetry-reading .reading-glyph {
  width: max-content;
  max-width: none;
  flex: 0 0 auto;
  min-width: 1.6em;
}
.poetry-reading .reading-pinyin { font-size: 12px; line-height: 18px; }
.poetry-reading .reading-glyph.focus-glyph { border-bottom-color: var(--gold); background: rgba(201, 164, 92, 0.16); }
.score-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 140px;
  grid-template-areas: "ring copy art" "play play play";
  align-items: center;
  column-gap: 24px;
  row-gap: 16px;
}
.score-ring { grid-area: ring; width: 160px; height: 160px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--band) calc(var(--pct) * 1%), rgba(31, 58, 110, 0.12) 0); }
.score-ring strong { width: 116px; height: 116px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 252, 245, 0.96); font-family: var(--sans); font-size: 56px; font-weight: 700; line-height: 1; }
.score-ring.band-gold { --band: #c9a45c; color: #8c6a2f; }
.score-ring.band-blue { --band: #1f3a6e; color: #1f3a6e; }
.score-ring.band-grey { --band: #9aa3ad; color: #5c6570; }
.score-copy { grid-area: copy; min-width: 0; }
.score-copy h1 { margin: 0 0 8px; font-size: 32px; font-weight: 600; }
.score-copy .note { margin: 0 0 8px; }
.done-seal { display: inline-grid; place-items: center; min-width: 64px; min-height: 64px; padding: 6px; border-radius: 4px; background: var(--seal); color: #fff; font-family: var(--serif); font-size: 14px; letter-spacing: 0.12em; line-height: 1.2; text-align: center; transform: rotate(-6deg); box-shadow: inset 0 0 0 3px rgba(255, 226, 210, 0.28); }
.score-card .score-elephant { grid-area: art; width: 140px; height: auto; justify-self: end; }
.score-card .play-slot { grid-area: play; min-width: 0; }
.report-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.report-columns > .card { min-width: 0; height: 100%; margin: 0; }
@media (min-width: 1024px) {
  .theme-paper main:has(.report-stack) {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    padding-bottom: 132px;
    box-sizing: border-box;
  }
  .theme-paper main:has(.report-stack) .report-stack {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 0;
  }
  .theme-paper main:has(.report-stack) .report-columns { flex: 1 1 auto; min-height: 0; }
}
.score-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.open-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.open-tags li { padding: 4px 10px; border-radius: 999px; background: rgba(31, 58, 110, 0.08); color: var(--navy); font-size: 14px; }
.open-tags .is-ok { background: #e5f4ea; color: #1b7a3a; }
.open-tags .is-no { background: #f3f1ec; color: #8a8478; }
.open-checks, .task-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.open-checks li, .task-list li { display: flex; align-items: center; gap: 8px; }
.open-checks i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; line-height: 1; }
.open-checks .is-ok i { background: #e5f4ea; color: #1b7a3a; }
.open-checks .is-ok i::before { content: "✓"; }
.open-checks .is-no i { background: #eee; color: #9aa0a6; }
.open-checks .is-no i::before { content: "×"; }
.report-lines .line-row { display: flex; align-items: center; gap: 12px; margin: 0; padding: 8px 0; border-bottom: 1px solid rgba(31, 58, 110, 0.08); }
.report-lines .line-label { flex: 0 0 auto; color: var(--muted); font-size: 14px; }
.point-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.point-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; }
.point-row strong { color: var(--navy); }
.playbar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
}
.playbar-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #F7F1E3;
  color: var(--navy);
  cursor: pointer;
}
.playbar-seek { flex: 1; min-width: 0; accent-color: var(--gold); }
.playbar-time { font-variant-numeric: tabular-nums; font-size: 0.9rem; white-space: nowrap; }
.poetry-reading .reading-glyph.focus-glyph .reading-pinyin,
.poetry-reading .reading-glyph.focus-glyph .reading-hanzi { color: var(--navy); }
@media (max-width: 1023px) {
  .hero-row, .poetry-layout, .profile-grid, .card-grid, .poem-grid, .stat-row { grid-template-columns: 1fr 1fr; }
  .poetry-layout { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .hero-row, .card-grid, .poem-grid, .stat-row, .profile-grid { grid-template-columns: 1fr; }
  .theme-paper { background-position: center 72px; }
}
@media (min-width: 1024px) {
  .theme-paper { animation: mountain-drift 48s ease-in-out infinite alternate; }
  .dynasty-row { flex: 1; align-items: flex-end; }
  .poetry-head { align-items: flex-start; }
  .poetry-head h1 { line-height: 1; }
  .poem-search { margin-top: 58px; }
  .poetry-layout { grid-template-columns: 350px minmax(0, 1fr) 230px; gap: 12px; align-items: start; flex: none; min-height: 0; }
  .poem-board, .poem-grid { height: 360px; min-height: 360px; }
  .brush-mascot, .brush-frame, .feature-card { height: auto; min-height: 380px; overflow: visible; }
  .poem-grid { grid-template-rows: 160px 160px; row-gap: 40px; }
  .poem-card { height: 160px; min-height: 160px; max-height: 160px; }
  .brush-frame { height: auto; }
  .brush-mascot img { height: 380px; width: auto; max-width: 100%; max-height: 380px; object-fit: contain; object-position: center bottom; }
  .feature-card { padding: 16px; justify-content: center; }
  .me-title h1 { font-size: 56px; }
  .me-side { min-height: 360px; }
  .me-side > .card { flex: 1 1 0; }
  .profile-card { height: 100%; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; text-align: center; padding-top: 28px; gap: 16px; }
  .profile-id { display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .stat-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 10px; width: 100%; }
  .stat-cell { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; border-radius: 16px; background: rgba(31, 58, 110, 0.06); padding: 10px 6px; font-size: 13px; color: var(--muted); }
  .stat-cell strong { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1.1; }
  .honor-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold-deep); font-size: 14px; }
  .profile-card .avatar-slot,
  .profile-card .avatar-slot img,
  .profile-card .avatar-slot .avatar { width: 140px; height: 140px; }
  .profile-card h2 { font-size: 28px; font-weight: 700; }
  .grade-badge { min-height: 36px; padding: 0 16px; font-size: 16px; }
}
@keyframes mountain-drift { to { background-position: 36px top; } }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 1023px) {
  .recent-cards { grid-template-columns: 1fr 1fr; }
  .poem-search { width: 100%; flex-basis: auto; margin-left: 0; }
}
@media (max-width: 599px) {
  .recent-cards { grid-template-columns: 1fr; }
  .poetry-head { flex-direction: column; align-items: stretch; }
  .dynasty-line { width: 100%; max-width: 100%; overflow-x: auto; flex: none; }
  .dynasty-line button { flex: 0 0 auto; }
  .poem-search { width: 100%; max-width: 100%; flex: 1 1 auto; min-width: 0; }
  .poetry-layout { min-height: 0; grid-template-columns: 1fr; }
  .poem-grid { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; }
  .poem-card { min-height: 0; height: auto; }
  .brush-mascot, .brush-frame { display: flex; flex-direction: row; align-items: center; height: auto; gap: 12px; }
  .brush-mascot img { height: 140px; width: auto; max-height: 140px; }
  .brush-mascot .bubble { position: static; transform: none; white-space: normal; }
  .brush-mascot .bubble::after { display: none; }
  .score-card { grid-template-columns: 1fr; grid-template-areas: "ring" "copy" "art" "play"; justify-items: center; }
  .score-copy { text-align: center; }
  .score-card .score-elephant { justify-self: center; width: 120px; }
  .report-columns, .me-top { grid-template-columns: 1fr; }
  .recent-row { padding-right: 0; }
  .recent-row > img { position: static; width: 120px; }
  .seal-wall { width: 100%; max-width: 100%; }
  .theme-paper main:has(.poetry-layout) { height: auto; min-height: 0; padding-bottom: 24px; }
  .soon-card .seal { right: 6px; top: 6px; }
  .me-planet { width: 100%; max-width: 420px; height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-paper { animation: none; }
  .mascot img, .read-elephant, .floater { animation: none; }
}

.site-header .for-night { display: none; }
.tabbar { display: none; }
.page-poetry, .page-me {
  background-image: image-set(url("/assets/paper/paper-texture.webp") 1x, url("/assets/paper/paper-texture@2x.webp") 2x);
  background-size: 256px;
  animation: none;
}
.page-poetry .paper-deco, .page-me .paper-deco { display: none; }
.page-poetry #main.wrap, .page-me #main.wrap { width: min(1200px, calc(100% - 48px)); }
.journey-banner, .archive-banner { position: relative; min-height: 168px; overflow: hidden; }
.journey-banner { min-height: 280px; }
.shanshui {
  position: absolute; right: 0; top: 0; width: min(1180px, 100%); height: 100%;
  object-fit: cover; object-position: right center; opacity: 0.92; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 28%);
  mask-image: linear-gradient(to right, transparent 0%, #000 28%);
}
.journey-copy, .archive-copy { position: relative; z-index: 1; padding-top: 8px; }
.journey h1, .archive h1 { margin: 28px 0 0; font-size: 46px; font-weight: 700; color: var(--navy); }
.journey .lede, .archive .lede { margin-top: 8px; color: var(--muted); font-size: 15px; }
.lede-phone { display: none; }
.crumbs { margin: 0; font-size: 13px; color: var(--muted); }
.crumbs a { color: inherit; text-decoration: none; }
.search-field.search-phone { display: none; }
.search-field {
  display: flex; align-items: center; gap: 8px; width: min(480px, 100%);
  height: 44px; margin-top: 22px; padding: 0 14px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.92); border: 1px solid rgba(31, 58, 110, 0.12);
}
.search-field .poem-search, .search-field input { height: 40px; min-height: 0; margin: 0; border: 0; background: transparent; padding: 0; width: 100%; line-height: 40px; }
.journey-elephant { position: absolute; right: 24px; top: 18px; width: 200px; height: auto; z-index: 2; }
.journey .bubble {
  position: absolute; right: 230px; top: 64px; z-index: 2; margin: 0;
  padding: 8px 14px; border-radius: 16px; background: #fff; color: var(--navy);
  box-shadow: 0 8px 18px rgba(31, 58, 110, 0.08);
}
.journey .dynasty-row { display: block; min-height: 0; margin: 8px 0 0; }
.journey .dynasty-line {
  display: flex; width: 100%; min-height: 0; justify-content: flex-start; gap: 0;
  border-bottom: 1px solid rgba(31, 58, 110, 0.12); overflow: auto;
}
.journey .dynasty-line::before { display: none; }
.journey .dynasty-line button {
  min-width: 0; min-height: 0; height: auto; width: auto; padding: 10px 22px 12px;
  border-radius: 0; background: transparent; color: #7d7566;
  font-family: var(--serif); font-size: 16px; font-weight: 400;
}
.journey .dynasty-line button::before { display: none; }
.journey .dynasty-line button[aria-pressed="true"] {
  width: auto; height: auto; border-radius: 0; background: transparent;
  color: var(--navy); font-weight: 700; font-size: 16px;
  box-shadow: inset 0 -2px 0 var(--gold);
}
.task-card {
  display: flex; align-items: center; gap: 18px; margin-top: 20px;
  padding: 14px 20px; background: linear-gradient(90deg, #fcf8ee, #f3ead5);
  border: 1px solid rgba(31, 58, 110, 0.1); border-radius: 16px; box-shadow: none;
}
.task-title { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--navy); }
.task-hint { color: var(--muted); font-size: 14px; }
.task-empty { margin-left: auto; color: var(--muted); font-size: 14px; }
.task-chevron { display: none; color: #9a9284; font-size: 18px; line-height: 1; }
.read-chip { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold-deep); font-size: 12px; }
.journey .poem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; gap: 16px; row-gap: 16px; margin-top: 16px; height: auto; min-height: 0; max-height: none; align-content: start; }
.journey .poem-card {
  height: 112px; min-height: 112px; max-height: 112px; padding: 18px;
  background: #fcf8ee; border: 1px solid rgba(31, 58, 110, 0.1); border-radius: 16px;
  box-shadow: 0 8px 18px rgba(31, 58, 110, 0.04);
}
.journey .poem-card h3 { font-size: 20px; font-weight: 700; margin: 0; }
.journey .poem-title { display: flex; align-items: baseline; gap: 8px; }
.journey .byline, .journey .excerpt { font-size: 14px; color: #4a463f; }
.journey .byline { color: var(--muted); }
.journey .excerpt { margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.journey .read-state { position: absolute; top: 16px; right: 16px; display: flex; color: var(--gold); }
.journey .read-state em { display: none; }
.journey .star-mark { position: static; top: auto; right: auto; bottom: auto; color: var(--gold); font-size: 14px; }
.journey .round-art { width: 72px; height: 72px; flex-basis: 72px; }
.journey-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; color: var(--muted); font-size: 13px; }
#poem-pager { display: flex; gap: 8px; }
#poem-pager button { min-width: 32px; height: 32px; border-radius: 16px; border: 0; background: #fff; color: var(--navy); cursor: pointer; }
#poem-pager button[aria-current="page"] { background: var(--navy); color: #fff; }
.archive h1 { font-size: 40px; }
.archive-board { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 16px; align-items: stretch; margin-top: 8px; }
.archive .profile-card {
  position: relative; overflow: hidden; min-height: 520px;
  display: flex; flex-direction: column; align-items: stretch; text-align: left;
  height: auto; padding: 18px 18px 12px; background: linear-gradient(#fcf8ee, rgba(247, 241, 227, 0.35));
  border: 1px solid rgba(31, 58, 110, 0.1); border-radius: 18px; box-shadow: none;
}
.profile-mountain {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 58%;
  object-fit: cover; object-position: center 70%; opacity: 0.72; pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 42%, transparent);
  mask-image: linear-gradient(to top, #000 42%, transparent);
}
.archive .profile-id { flex-direction: row; align-items: center; gap: 12px; }
.archive .profile-card .avatar-slot, .archive .profile-card .avatar-slot img, .archive .profile-card .avatar-slot .avatar { width: 64px; height: 64px; }
.archive .profile-card h2 { margin: 0; font-size: 22px; font-weight: 700; }
.archive .meta { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.profile-meta { display: grid; gap: 8px; margin: 18px 0; font-size: 14px; }
.profile-meta div { display: flex; justify-content: space-between; gap: 12px; }
.profile-meta dt { color: var(--muted); }
.profile-meta dd { margin: 0; }
.archive-elephant { position: relative; z-index: 1; width: 210px; height: auto; margin: auto auto 0; }
.archive .profile-id, .archive .profile-meta { position: relative; z-index: 1; }
.archive-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.archive .stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.archive .stat-cell {
  display: block; padding: 18px 20px; background: #fcf8ee; border: 1px solid rgba(31, 58, 110, 0.1);
  border-radius: 16px; box-shadow: none; color: var(--muted); font-size: 14px; text-align: left;
}
.archive .stat-cell strong { display: block; margin-top: 8px; font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--navy); }
.stat-label-short { display: none; }
.archive .seal-card, .archive .recent-row {
  padding: 20px; background: #fcf8ee; border: 1px solid rgba(31, 58, 110, 0.1); border-radius: 16px; box-shadow: none;
}
.archive .recent-row { width: auto; margin: 0; }
@media (min-width: 1024px) {
  .archive-board { grid-template-columns: 340px minmax(0, 1fr); gap: 24px; margin-top: 0; }
  .page-me #main { flex: 0 0 auto; padding: 0 0 32px; }
  .archive .profile-card { min-height: 528px; }
  .archive .seal-card { padding: 24px; min-height: 224px; }
  .archive .recent-row { min-height: 186px; }
}
@media (min-width: 768px) {
  .archive .recent-row { flex: 1; padding: 24px; }
  .archive .recent-row .empty-line { display: grid; place-items: center; min-height: 90px; margin: 0; }
}
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
@media (min-width: 1024px) {
  .theme-paper .text-cluster {
    display: inline-flex; align-items: center; gap: 14px; margin-left: 12px;
    border: 0; background: transparent; box-shadow: none; padding: 0; border-radius: 0; font-size: 14px;
  }
  .theme-paper .text-cluster .cluster-name,
  .theme-paper .text-cluster .cluster-link,
  .theme-paper .text-cluster .text-button {
    color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 400;
    background: none; border: 0; min-height: 0; padding: 0;
  }
  .theme-paper .text-cluster .cluster-name { color: var(--navy); }
  .theme-paper .text-cluster .cluster-rule { color: rgba(31, 58, 110, 0.2); }
  .theme-paper .text-cluster .chip-avatar { width: 34px; height: 34px; border-color: #fff; box-shadow: 0 0 0 1px rgba(31, 58, 110, 0.14); }
}
.section-head h2 { margin: 0; font-size: 18px; font-weight: 700; font-family: var(--serif); font-synthesis: none; }
.section-head h2::before { content: ""; display: inline-block; width: 3px; height: 0.9em; margin-right: 8px; background: var(--gold); vertical-align: -0.08em; }
.section-head span, .empty-line { color: var(--muted); font-size: 14px; }
.empty-line { margin: 28px 0; text-align: center; }
.archive .seal-wall { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; width: 100%; }
.archive .seal-wall > .note { grid-column: 1 / -1; margin: 0; }
.seal-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.seal-plate {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  position: relative; color: #6e675c;
}
.seal-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.seal-tile.got .seal-plate { color: var(--seal); }
.seal-tile.got .seal-col b { color: var(--seal); -webkit-text-stroke: 0.35px #9a2820; }
.seal-cols {
  position: relative; display: flex; flex-direction: row-reverse; align-items: stretch; justify-content: center;
  width: 58%; height: 58%; gap: 0;
  -webkit-mask-image: url("/assets/seals/grunge-mask.png");
  mask-image: url("/assets/seals/grunge-mask.png");
  -webkit-mask-size: 256px 256px; mask-size: 256px 256px;
  -webkit-mask-repeat: repeat; mask-repeat: repeat;
}
.seal-col { display: flex; flex-direction: column; flex: 1; font-style: normal; line-height: 1; }
.seal-col b { font-family: "Yuanfang Seal", "Noto Serif SC", serif; font-weight: 900; font-size: 16px; line-height: 1; color: #5c564c; -webkit-text-stroke: 0.3px #5c564c; }
.more-seals { display: none; color: var(--navy); text-decoration: none; font-size: 13px; }
@media (min-width: 768px) {
  /* The delivered frame includes transparent padding around its ink. */
  .seal-frame { inset: -12.5%; width: 125%; height: 125%; max-width: none; }
  .seal-cols { width: 72%; height: 76%; }
  .seal-col { justify-content: center; text-align: center; }
  .seal-col b { font-size: 20px; }
  .seal-tile:not(.got) .seal-col b { color: #c9c0ae; -webkit-text-stroke: 0; }
}
.seal-cols:has(.seal-col b:nth-child(3)) b { font-size: 12px; }
.seal-tile em { font-style: normal; font-size: 11px; color: var(--muted); }
.archive .recent-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.archive .recent-card { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.7); text-decoration: none; color: inherit; }
@media (max-width: 1100px) {
  .archive .seal-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .page-poetry .site-header .for-paper, .page-me .site-header .for-paper { display: none; }
  .page-poetry .site-header .for-night, .page-me .site-header .for-night { display: block; height: 30px; }
  .page-poetry .site-header, .page-me .site-header { background: var(--navy); color: #fff; height: 56px; min-height: 56px; padding: 0 16px; }
  .page-poetry .brand-rule, .page-me .brand-rule { background: rgba(255, 255, 255, 0.4); opacity: 1; height: 18px; margin: 0 8px; }
  .page-poetry .site-footer a[href="/about"], .page-poetry .site-footer a[href="/news"],
  .page-me .site-footer a[href="/about"], .page-me .site-footer a[href="/news"] { display: none; }
  .page-poetry .site-footer, .page-me .site-footer { margin-bottom: 72px; }
  .tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    width: 100%; max-width: 100%; box-sizing: border-box;
    background: #f7f1e3; background-color: #f7f1e3; border-top: 1px solid rgba(31, 58, 110, 0.16);
    padding: 8px 0 calc(10px + env(safe-area-inset-bottom));
  }
  .tabbar a { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; color: #8b8476; text-decoration: none; font-size: 11px; font-weight: 500; min-height: 48px; }
  .tabbar svg { width: 24px; height: 24px; flex: none; }
  .tabbar a[aria-current="page"] { color: var(--navy); }
  html.is-shot .tabbar { position: static; }
  html.is-shot .page-poetry .site-footer, html.is-shot .page-me .site-footer { margin-bottom: 0; }
  .search-desk { display: none; }
  .search-field.search-phone { display: flex; width: auto; height: 46px; margin: 0 16px 0; position: relative; z-index: 3; background: #fff; border-radius: 10px; }
  .journey-banner { height: 142px; min-height: 142px; width: 100%; margin: 0; border-radius: 0; overflow: hidden; }
  .journey-banner .shanshui { right: -160px; top: -10px; left: auto; width: 560px; max-width: none; height: 170px; opacity: 0.6; object-fit: cover; -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); mask-image: linear-gradient(to bottom, #000 60%, transparent); }
  .page-poetry #main.wrap, .page-me #main.wrap { width: min(100%, 100%); }
  .journey .dynasty-row, .journey .task-card, .journey .poem-grid, .journey-foot { margin-left: 16px; margin-right: 16px; }
  .journey-copy { padding: 24px 16px 0; }
  .journey h1 { font-size: 28px; margin-top: 0; }
  .lede-desk { display: none; }
  .lede-phone { display: block; margin-top: 4px; font-size: 13px; }
  .journey-copy .crumbs { display: none; }
  .journey-elephant { width: 104px; top: 10px; right: 14px; max-width: none; }
  .journey .bubble { display: none; }
  .journey .dynasty-row { overflow: hidden; margin: 12px 0 0; }
  .journey .dynasty-line { gap: 8px; border: 0; padding: 2px 16px 4px 0; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .journey .dynasty-line::-webkit-scrollbar { display: none; }
  .journey .dynasty-line button { flex: 0 0 auto; height: 30px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(31, 58, 110, 0.12); background: #fff; font-size: 13px; }
  .journey .dynasty-line button[aria-pressed="true"] { width: auto; height: 30px; border-radius: 999px; box-shadow: none; background: var(--navy); color: #fff; border-color: var(--navy); }
  .task-card { gap: 8px; margin-top: 12px; padding: 12px 14px; }
  .task-title, .task-empty { flex: none; text-align: left; }
  .task-empty { margin-left: 8px; }
  .task-chevron { margin-left: auto; }
  .task-hint, .read-chip { display: none; }
  .task-chevron { display: block; }
  .journey .poem-card a { align-items: center; }
  .journey .read-state { position: static; flex-direction: column; align-items: center; gap: 4px; margin-left: 4px; }
  .journey .read-state em { display: block; font-style: normal; font-size: 10px; font-weight: 400; color: var(--muted); }
  .page-poetry .site-header.is-signed .user-chip, .page-me .site-header.is-signed .user-chip { display: inline-flex; margin-left: auto; border: 0; background: transparent; padding: 0; }
  .page-poetry .user-chip .text-button, .page-me .user-chip .text-button, .page-poetry .user-chip > span:not(.user-mark), .page-me .user-chip > span:not(.user-mark) { display: none; }
  .page-poetry .chip-avatar, .page-me .chip-avatar { width: 30px; height: 30px; border-color: rgba(255, 255, 255, 0.85); }
  .journey .poem-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
  .journey .poem-card { height: auto; min-height: 0; max-height: none; padding: 12px; border-radius: 14px; }
  .journey .excerpt { line-height: 1.35; margin-top: 2px; }
  .journey .round-art { width: 60px; height: 60px; flex-basis: 60px; }
  .journey .poem-card h3 { font-size: 17px; }
  .archive-banner { display: none; }
  .seal-note { display: none; }
  .more-seals { display: block; text-align: right; margin: 8px 0 0 auto; width: max-content; }
  .archive-copy { display: none; }
  .archive-board { margin: 0; position: relative; z-index: 1; }
  .archive .stat-cell { display: flex; flex-direction: column-reverse; align-items: center; }
  .archive .stat-cell strong { margin-top: 0; font-size: 22px; }
  .archive .stat-cell span { font-size: 11px; }
  .archive-board { grid-template-columns: 1fr; gap: 0; }
  .archive .profile-card { min-height: 236px; height: 236px; width: 100%; margin: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 22px 16px 0; overflow: hidden; }
  .archive .profile-card .avatar-slot, .archive .profile-card .avatar-slot img, .archive .profile-card .avatar-slot .avatar { width: 56px; height: 56px; }
  .archive .profile-card h2 { font-size: 20px; }
  .archive .profile-mountain { left: auto; right: -200px; top: -10px; bottom: auto; width: 620px; height: 246px; max-width: none; opacity: 0.6; object-fit: cover; -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent); mask-image: linear-gradient(to bottom, #000 65%, transparent); }
  .archive .profile-meta { position: relative; z-index: 1; width: max-content; margin: 16px 0 0; display: grid; grid-template-columns: auto auto; gap: 4px 12px; }
  .archive .profile-meta div { display: contents; }
  .archive .profile-meta dt, .archive .profile-meta dd { margin: 0; font-size: 13px; }
  .archive-elephant { position: absolute; right: 22px; top: 16px; width: 150px; max-width: none; margin: 0; }
  .archive .profile-card { position: relative; }
  .archive .stat-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0 16px; }
  .archive .stat-cell { border: 0; background: transparent; text-align: center; padding: 17px 6px; }
  .archive .stat-row { background: #fcf8ee; border: 1px solid rgba(31, 58, 110, 0.1); border-radius: 16px; }
  .archive .stat-label-short { display: inline; }
  .archive .stat-label-long { display: none; }
  .archive .seal-card, .archive .recent-row { margin: 0 16px; }
  .archive .seal-card, .archive .recent-row { background: transparent; border: 0; box-shadow: none; padding: 0; }
  .archive .card-body { background: #fcf8ee; border: 1px solid rgba(31, 58, 110, 0.1); border-radius: 16px; padding: 14px 12px; }
  .archive .section-head { margin: 0 0 8px; }
  .seal-col { justify-content: center; text-align: center; }
  .seal-col b { font-size: 20px; }
  .archive .seal-tile:nth-child(n + 9) { display: none; }
  .archive .seal-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .empty-line { margin: 12px 0; }
  .page-poetry .page, .page-me .page { padding-top: 0; padding-bottom: 8px; }
  .journey-foot { margin-bottom: 4px; }
  .page-poetry .text-cluster, .page-me .text-cluster { margin-left: auto; border: 0; background: transparent; padding: 0; }
  .text-cluster .cluster-name, .text-cluster .cluster-link, .text-cluster .text-button { display: none; }
  .seal-plate { width: 64px; height: 64px; }
  .archive .recent-cards { grid-template-columns: 1fr; }
}

.page-learn {
  background-image: image-set(url("/assets/paper/paper-texture.webp") 1x, url("/assets/paper/paper-texture@2x.webp") 2x);
  background-size: 256px;
}
.page-learn #main.wrap { width: 100%; max-width: none; }
.learn-hello, .learn-split, .learn-poets { width: min(1200px, calc(100% - 48px)); margin-left: auto; margin-right: auto; }
.switch-label { color: var(--muted); font-size: 13px; }
.learn-banner { position: relative; height: 250px; overflow: hidden; }
.learn-banner .shanshui { width: min(1060px, 100%); height: 250px; opacity: 0.55; object-position: right 45%; -webkit-mask-image: linear-gradient(to right, transparent, #000 38%), linear-gradient(to bottom, #000 62%, transparent); mask-image: linear-gradient(to right, transparent, #000 38%), linear-gradient(to bottom, #000 62%, transparent); -webkit-mask-composite: source-in; mask-composite: intersect; }
.learn-hello { position: relative; z-index: 1; padding-top: 8px; }
.learn-hello h1 { margin: 34px 0 0; font-size: 40px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.learn-hello .lede { margin: 8px 0 0; color: var(--muted); }
.learn-hello .crumbs { display: block; }
.child-switch { display: flex; gap: 10px; align-items: center; margin-top: 18px; }
.child-switch .chip { height: 32px; padding: 0 12px 0 4px; gap: 6px; border-radius: 16px; }
.child-switch .chip img { width: 24px; height: 24px; border-radius: 50%; }
.child-switch .chip.on, .child-switch .chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.learn-elephant { position: absolute; right: calc((100% - min(1200px, 100%)) / 2 + 180px); top: 28px; width: 150px; z-index: 2; }
.learn-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px 20px; align-items: start; }
.learn-task { display: none; }
.learn-apps-wrap { grid-column: 1; grid-row: 1; }
.learn-side { grid-column: 2; grid-row: 1; }
.section-title { display: flex; align-items: center; gap: 10px; margin: 18px 0 14px; font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--navy); }
.section-title::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--gold); }
.learn-apps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.app-tile, .page-learn .side-card.card { background: #fcf8ee; border: 1px solid rgba(31, 58, 110, 0.14); border-radius: 14px; box-shadow: none; backdrop-filter: none; }
.app-tile { position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 22px; color: inherit; text-decoration: none; }
.app-tile img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; }
.app-tile strong { display: block; font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--navy); }
.app-tile .desk-note, .app-tile .phone-note { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.app-tile .phone-note { display: none; }
.app-tile .enter { display: inline-flex; margin-top: 12px; height: 34px; padding: 0 14px; border-radius: 8px; background: var(--navy); color: #fff; font-size: 13px; align-items: center; }
.soon-card { opacity: 0.55; filter: grayscale(0.5); }
.soon-flag { position: absolute; right: 12px; top: 12px; height: 26px; padding: 0 10px; border-radius: 13px; border: 1px solid rgba(31, 58, 110, 0.14); color: var(--muted); font-style: normal; font-size: 12px; background: rgba(255, 255, 255, 0.5); }
.desk-task { display: block; }
.learn-side { display: flex; flex-direction: column; gap: 16px; }
.page-learn .side-label { display: none; }
.poem-study { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; width: min(1200px, 100%); margin: 0 auto; min-width: 0; }
.poem-stage { position: relative; min-width: 0; overflow: hidden; border-radius: 18px; }
.poem-wash { position: absolute; right: -20px; bottom: 0; height: 100%; width: auto; max-width: none; opacity: 0.28; pointer-events: none; -webkit-mask-image: linear-gradient(to left, #000 30%, transparent); mask-image: linear-gradient(to left, #000 30%, transparent); }
.poem-copy { position: relative; z-index: 1; padding: 8px 8px 16px; min-width: 0; }
.poem-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.poem-head h1 { margin: 8px 0 0; font-size: 40px; }
.poem-side { min-width: 0; }
.poem-side .tip-card { position: relative; min-height: 220px; }
.poem-elephant { position: absolute; left: 50%; bottom: 12px; width: 140px; margin-left: -70px; }
.quiz-page { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; width: min(1100px, 100%); margin: 0 auto; min-width: 0; }
.quiz-head, .quiz-steps, .quiz-prompt, .quiz-dock { grid-column: 1; }
.quiz-page > aside { grid-column: 2; grid-row: 1 / span 4; min-width: 0; }
.quiz-steps { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; padding: 0; list-style: none; }
.quiz-steps li { height: 28px; padding: 0 12px; border-radius: 14px; border: 1px solid rgba(31, 58, 110, 0.14); display: inline-flex; align-items: center; font-size: 13px; color: var(--muted); }
.quiz-steps li.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.quiz-line { margin: 8px 0; font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--navy); }
.quiz-elephant { width: 140px; display: block; margin: 12px auto 0; }
.page-activate .paper-deco, .page-courses .paper-deco { display: none; }
.page-activate .m-titlebar { display: none; }
.page-activate .login-hint { color: var(--muted); font-size: 14px; }
.activate-grid { display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 48px; align-items: stretch; width: min(1200px, 100%); margin: 28px auto 0; min-width: 0; }
.activate-hero { position: relative; overflow: hidden; min-height: 600px; padding: 40px; background: linear-gradient(180deg, #fdfaf2, #f3e9d2); border: 1px solid rgba(31, 58, 110, 0.1); box-shadow: none; }
.activate-hero .shanshui { position: absolute; left: 0; bottom: 0; width: 100%; height: 330px; object-fit: cover; object-position: 75% 60%; opacity: 0.75; -webkit-mask-image: linear-gradient(to top, #000 55%, transparent); mask-image: linear-gradient(to top, #000 55%, transparent); }
.activate-hero h1, .activate-hero .lede { position: relative; z-index: 1; }
.activate-hero h1 { margin: 0; font-size: 40px; }
.activate-hero .lede { margin: 12px 0 0; max-width: 440px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.activate-hero .phone { display: none; }
.activate-elephant { position: absolute; left: 70px; bottom: 24px; width: 200px; z-index: 1; }
.activate-panel { padding: 30px; border: 1px solid rgba(31, 58, 110, 0.1); box-shadow: none; background: #fcf8ee; }
.steps { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 13px; color: var(--muted); }
.steps li.on { color: var(--navy); font-weight: 500; }
.steps i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; border: 1px solid rgba(31, 58, 110, 0.14); }
.steps li.on i { background: var(--navy); color: #fff; border-color: var(--navy); }
.steps li + li { flex: 1; }
.steps li + li::before { content: ""; flex: 1; height: 1px; background: rgba(31, 58, 110, 0.14); min-width: 10px; }
.steps .short { display: none; }
.child-preview { margin-top: 18px; padding: 16px; background: #fff; border: 1px solid rgba(31, 58, 110, 0.1); box-shadow: none; }
.child-facts { display: flex; gap: 28px; margin-top: 8px; }
.child-facts p { margin: 0; display: grid; gap: 4px; }
.child-facts span { color: var(--muted); font-size: 13px; }
.child-facts strong { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--navy); }
.child-facts .preview-placeholder { color: #a39b8c; }
.activate-panel .note { margin-bottom: 0; font-size: 13px; }
.activate-panel .child-preview > .note { margin-top: 0; }
.activate-panel .warn { margin-top: 14px; }
.activate-panel .check { display: flex; gap: 10px; margin-top: 18px; align-items: flex-start; font-size: 14px; }
.activate-panel .btn { width: 100%; height: 48px; min-height: 48px; margin-top: 22px; border-radius: 10px; background: var(--navy); background-image: none; box-shadow: none; letter-spacing: 0.08em; font-weight: 500; }
.activate-panel .once { margin-top: 12px; text-align: center; }
.course-banner { position: relative; height: 250px; overflow: hidden; }
.course-banner .shanshui { position: absolute; right: 0; top: 0; width: min(1060px, 100%); height: 250px; object-fit: cover; object-position: right 45%; opacity: 0.7; max-width: none; -webkit-mask-image: linear-gradient(to right, transparent, #000 38%); mask-image: linear-gradient(to right, transparent, #000 38%); }
.course-copy { position: relative; z-index: 1; width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.course-copy h1 { margin: 34px 0 0; font-size: 40px; }
.course-copy .lede { margin: 8px 0 0; color: var(--muted); }
.course-copy .lede .phone { display: none; }
.course-elephant { position: absolute; right: calc((100% - min(1200px, 100%)) / 2 + 180px); top: 47px; width: 140px; z-index: 2; }
.course-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: min(1200px, calc(100% - 48px)); margin: 4px auto 0; min-width: 0; }
.course-card { padding: 26px; background: #fcf8ee; border: 1px solid rgba(31, 58, 110, 0.1); box-shadow: none; border-radius: 16px; min-width: 0; }
.course-card h2 { margin: 0; font-size: 24px; }
.course-card .note { margin: 4px 0 8px; }
.level { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgba(31, 58, 110, 0.14); min-width: 0; }
.level b { width: 26px; flex: none; color: #b8914a; font-family: var(--serif); font-weight: 700; font-size: 15px; }
.level span { flex: 1; min-width: 0; }
.level i { color: #9a9284; font-style: normal; }
.course-note { width: min(1200px, calc(100% - 48px)); margin: 20px auto 0; padding: 18px 24px; display: flex; align-items: center; gap: 16px; background: #fcf8ee; border: 1px solid rgba(31, 58, 110, 0.1); box-shadow: none; }
.course-note .seal-mark { width: 22px; height: 22px; border-radius: 4px; background: var(--seal); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 900; font-size: 12px; flex: none; }
.page-courses .tabbar { display: none; }
@media (max-width: 767px) {
  .page-activate .site-header { background: var(--navy); color: #fff; height: 48px; min-height: 48px; padding: 0 8px; justify-content: center; }
  .page-activate .brand, .page-activate .site-nav, .page-activate .menu-button { display: none; }
  .page-activate .m-titlebar { display: grid; grid-template-columns: 32px 1fr 32px; align-items: center; width: 100%; margin: 0; text-align: center; font-size: 17px; }
  .page-activate .m-titlebar a { color: #fff; text-decoration: none; font-size: 22px; }
  .page-activate #main.wrap, .page-courses #main.wrap { width: 100%; max-width: 100%; }
  .page-activate .page { padding-top: 0; }
  .activate-grid { display: block; width: 100%; margin: 0; }
  .activate-hero { min-height: 150px; height: 150px; padding: 24px 16px 0; background: transparent; border: 0; border-radius: 0; }
  .activate-hero .shanshui, .activate-hero .desk { display: none; }
  .activate-hero .phone { display: block; }
  .activate-hero h1 { font-size: 22px; max-width: 240px; }
  .activate-hero .lede { font-size: 13px; margin-top: 6px; max-width: 220px; }
  .activate-elephant { left: auto; right: 18px; top: 8px; bottom: auto; width: 96px; }
  .activate-panel { margin: 0 16px; padding: 18px 16px; }
  .steps .long { display: none; }
  .steps .short { display: inline; }
  .child-facts { gap: 16px; }
  .page-activate .site-footer a[href="/about"], .page-activate .site-footer a[href="/news"],
  .page-courses .site-footer a[href="/about"], .page-courses .site-footer a[href="/news"] { display: none; }
  .page-courses .site-header { background: var(--navy); color: #fff; height: 56px; min-height: 56px; padding: 0 16px; }
  .page-courses .site-header .for-paper { display: none; }
  .page-courses .site-header .for-night { display: block; height: 30px; }
  .page-courses .menu-button { display: none; }
  .page-courses .site-header.is-signed .user-chip { display: inline-flex; margin-left: auto; border: 0; background: transparent; padding: 0; }
  .page-courses .cluster-name, .page-courses .cluster-link, .page-courses .text-button { display: none; }
  .page-courses .chip-avatar { width: 30px; height: 30px; border-color: #fff; }
  .page-courses .site-nav { display: none; }
  .course-banner { height: 140px; }
  .course-copy { width: auto; padding: 24px 16px 0; }
  .course-copy h1 { margin: 0; font-size: 26px; }
  .course-copy .crumbs, .course-copy .lede .desk { display: none; }
  .course-copy .lede { margin-top: 4px; font-size: 13px; }
  .course-copy .lede .phone { display: inline; }
  .course-elephant { right: 18px; top: 6px; width: 94px; }
  .course-grid { display: flex; flex-direction: column; gap: 12px; width: auto; margin: 0 16px; }
  .course-card { padding: 18px; }
  .course-card h2 { font-size: 19px; }
  .course-note { display: none; }
  .page-courses .tabbar { display: flex; }
  .page-courses .page { padding-top: 0; }
  .course-banner .shanshui { display: none; }
  .page-courses .site-footer { margin-bottom: 72px; }
  html.is-shot .page-courses .site-footer { margin-bottom: 0; }
}
@media (max-width: 767px) {
  .quiz-page { display: block; width: 100%; }
  .quiz-line { font-size: 22px; }
}
.poet-note { display: flex; gap: 14px; align-items: flex-start; }
.poet-note .poet-art { width: 110px; height: 132px; }
@media (max-width: 767px) {
  .poem-study { display: block; width: 100%; }
  .poem-head h1 { font-size: 28px; }
  .poem-wash { height: 220px; opacity: 0.35; }
  .poem-elephant { position: static; width: 120px; margin: 8px auto 0; display: block; }
}
.side-card { padding: 20px; background: #fcf8ee; border: 1px solid rgba(31, 58, 110, 0.1); border-radius: 16px; }
.side-card strong { display: block; font-family: var(--serif); font-size: 17px; }
.side-card p { display: flex; justify-content: space-between; margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.learn-poets { margin-top: 8px; }
.poet-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.poet-card { display: flex; gap: 16px; align-items: center; padding: 16px; color: inherit; text-decoration: none; overflow: hidden; background: #fcf8ee; border: 1px solid rgba(31, 58, 110, 0.1); border-radius: 16px; }
.poet-art { width: 110px; height: 132px; border-radius: 10px; flex: none; background: 46% 26% / 240px auto no-repeat; border: 1px solid rgba(31, 58, 110, 0.14); }
.poet-card strong { font-family: var(--serif); font-size: 19px; color: var(--navy); }
.poet-card em { font-style: normal; font-family: var(--sans); font-weight: 400; color: var(--muted); font-size: 13px; }
.poet-card span span { display: block; margin-top: 6px; color: #4a463f; font-size: 13px; line-height: 1.75; }
.poet-card .enter { margin-top: 8px; color: var(--navy); background: none; padding: 0; height: auto; }
@media (max-width: 1023px) {
  .learn-split { grid-template-columns: 1fr; }
  .learn-apps { grid-template-columns: 1fr; }
  .learn-apps-wrap, .learn-side { grid-column: auto; grid-row: auto; }
}
@media (min-width: 1024px) {
  .learn-banner { height: 223px; }
  .learn-elephant { top: 12px; }
  .page-learn .learn-child-name { color: #a39b8c; }
  .page-learn .paper-mount-left, .page-learn .paper-mount-right { display: none; }
  .page-learn .learn-apps .app-tile { align-items: center; }
  .page-learn .app-tile.empty-preview { opacity: 1; filter: none; }
  .page-learn .empty-preview .soon-flag { display: none; }
  .page-learn .learn-side > .section-title { margin-bottom: 0; }
  .page-learn .learn-side .side-card > .section-title { margin: 0; font-size: 17px; }
  .page-learn .learn-side .side-card > .section-title::before { content: none; }
  .page-learn .learn-side .side-card p + p { margin-top: 6px; }
  .page-learn .learn-side .desk-task { border-color: rgba(31, 58, 110, 0.14); border-radius: 14px; }
  .page-learn .desk-task .empty-line,
  .page-learn .learn-recent-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .page-learn .desk-task .empty-line { min-height: 92px; gap: 6px; margin: 0; }
  .page-learn .desk-task .empty-dash { font-size: 26px; }
  .page-learn .learn-recent-empty { min-height: 80px; }
  .page-learn .learn-recent-empty .empty-line { margin: 0; text-align: center; }
  .page-learn .text-cluster { display: inline-flex; align-items: center; gap: 14px; margin-left: 12px; border: 0; background: transparent; box-shadow: none; padding: 0; }
}
@media (max-width: 767px) {
  .page-learn .site-header .for-paper { display: none; }
  .page-learn .site-header .for-night { display: block; height: 30px; }
  .page-learn .site-header { background: var(--navy); color: #fff; height: 56px; min-height: 56px; padding: 0 16px; }
  .page-learn .brand-rule { background: rgba(255, 255, 255, 0.4); opacity: 1; height: 18px; margin: 0 8px; }
  .page-learn .site-footer a[href="/about"], .page-learn .site-footer a[href="/news"] { display: none; }
  .page-learn .paper-mount-left, .page-learn .paper-mount-right { display: none; }
  .page-learn .site-footer { margin-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .page-learn .tabbar { flex-shrink: 0; }
  .page-learn #main.wrap, .learn-hello, .learn-poets { width: 100%; max-width: 100%; }
  .learn-split { width: auto; max-width: 100%; min-width: 0; margin: 0 16px; }
  .learn-apps, .learn-apps-wrap, .app-tile, .learn-side, .learn-task { min-width: 0; max-width: 100%; }
  .app-tile strong { overflow-wrap: anywhere; }
  .switch-label { display: none; }
  .page-learn .child-switch { flex-wrap: wrap; }
  .page-learn .child-switch .chip { flex: none; height: 26px; min-height: 26px; max-height: 26px; padding: 0 10px; gap: 4px; border-radius: 13px; font-size: 12px; font-weight: 400; border: 1px solid rgba(31, 58, 110, 0.14); background: rgba(255, 255, 255, 0.5); color: var(--muted); }
  .page-learn .child-switch .chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
  .page-learn .child-switch .chip img { display: none; }
  .page-learn .child-switch .chip { padding: 0 12px; }
  .page-learn .side-card.card { background: transparent; border: 0; box-shadow: none; padding: 0; backdrop-filter: none; }
  .page-learn .side-card .card-body { background: #fcf8ee; border: 1px solid rgba(31, 58, 110, 0.14); border-radius: 14px; padding: 14px; }
  .page-learn .side-card .learn-recent-empty {
    display: grid;
    place-items: center;
    min-height: 90px;
  }
  .page-learn .learn-recent-empty .empty-line { display: block; margin: 0; text-align: center; }
  .page-learn .side-card .section-title { margin: 16px 0 8px; }
  .page-learn .page { padding-top: 0; padding-bottom: 8px; }
  .page-learn .site-header.is-signed .user-chip { display: inline-flex; margin-left: auto; border: 0; background: transparent; padding: 0; }
  .page-learn .user-chip .text-button, .page-learn .text-cluster .cluster-name, .page-learn .text-cluster .cluster-link, .page-learn .text-cluster .text-button { display: none; }
  .page-learn .chip-avatar { width: 30px; height: 30px; border-color: rgba(255, 255, 255, 0.85); }
  .page-learn .text-cluster { margin-left: auto; }
  html.is-shot .page-learn .site-footer { margin-bottom: 0; padding-bottom: 22px; }
  .learn-banner { height: 150px; border-radius: 0; }
  .learn-banner .shanshui { right: -180px; top: -20px; left: auto; width: 580px; max-width: none; height: 180px; opacity: 0.6; -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); mask-image: linear-gradient(to bottom, #000 60%, transparent); }
  .learn-hello { padding: 22px 16px 0; }
  .learn-hello .crumbs { display: none; }
  .learn-hello h1 { margin: 0; font-size: 24px; }
  .page-learn .learn-child-name { color: #a39b8c; }
  .learn-hello .lede { margin-top: 4px; font-size: 13px; }
  .child-switch { margin-top: 14px; gap: 8px; }
  .learn-elephant { right: 14px; top: 8px; width: 96px; }
  .learn-task { display: flex; width: auto; margin-top: 0; border-radius: 14px; background: linear-gradient(90deg, #fcf8ee, #f3ead5); }
  .desk-task { display: none; }
  .learn-split { display: block; }
  .learn-poets { display: none; }
  .learn-side { margin-top: 4px; }
  .learn-side > .section-title:not(.side-label) { display: none; }
  .learn-apps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .app-tile { flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 14px 12px; }
  .app-tile img { width: 62px; height: 62px; }
  .page-learn .app-tile strong { display: grid; place-items: center; font-size: 15px; line-height: 1.3; min-height: 39px; }
  .app-tile .desk-note, .app-tile .enter, .soon-flag { display: none; }
  .app-tile .phone-note { display: block; font-size: 11px; }
  .app-tile.empty-preview { opacity: 1; filter: none; }
  .section-title { font-size: 17px; }
  .section-title::before { width: 3px; height: 15px; }
}
.subbar { display: none; }
.page-poem, .page-recite, .page-report {
  background-image: image-set(url("/assets/paper/paper-texture.webp") 1x, url("/assets/paper/paper-texture@2x.webp") 2x);
  background-size: 256px;
}
.page-poem .paper-deco, .page-recite .paper-deco, .page-report .paper-deco { display: none; }
.page-poem #main.wrap, .page-recite #main.wrap, .page-report #main.wrap { width: min(1200px, calc(100% - 48px)); }
.page-poem .page, .page-recite .page, .page-report .page { padding-top: 0; }
.studio-banner { position: relative; height: 190px; overflow: hidden; }
.studio-banner img { position: absolute; right: 0; top: 0; width: min(1060px, 100%); height: 100%; max-width: none; object-fit: cover; object-position: right 45%; opacity: 0.5; -webkit-mask-image: linear-gradient(to right, transparent, #000 38%), linear-gradient(to bottom, #000 62%, transparent); mask-image: linear-gradient(to right, transparent, #000 38%), linear-gradient(to bottom, #000 62%, transparent); -webkit-mask-composite: source-in; mask-composite: intersect; }
.page-poem .chip, .page-recite .chip, .page-quiz .chip, .page-report .chip { height: 30px; min-height: 30px; max-height: 30px; padding: 0 12px; border-radius: 15px; border: 1px solid rgba(31, 58, 110, 0.14); background: rgba(255, 255, 255, 0.55); color: var(--muted); font-size: 13px; }
.page-poem .chip.on, .page-recite .chip.on, .page-quiz .chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.page-poem .btn, .page-recite .btn, .page-report .btn { background: var(--navy); background-image: none; box-shadow: none; border-radius: 10px; height: 48px; min-height: 48px; max-height: 48px; padding: 0 28px; font-weight: 500; }
.page-report .btn-ghost { background: transparent; color: var(--navy); border: 1px solid rgba(31, 58, 110, 0.35); }
.poem-study { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: stretch; margin-top: 8px; }
.poem-stage { position: relative; overflow: hidden; padding: 36px 40px; background: linear-gradient(180deg, #fdfaf2, #f7efdc); border: 1px solid rgba(31, 58, 110, 0.1); box-shadow: none; border-radius: 16px; }
.poem-wash { display: none; }
.poem-figure { position: absolute; right: -30px; bottom: 0; height: 520px; width: auto; max-width: none; opacity: 0.5; pointer-events: none; -webkit-mask-image: linear-gradient(to left, #000 40%, transparent 95%), linear-gradient(to top, #000 70%, transparent); mask-image: linear-gradient(to left, #000 40%, transparent 95%), linear-gradient(to top, #000 70%, transparent); -webkit-mask-composite: source-in; mask-composite: intersect; }
.poem-copy { position: relative; z-index: 1; width: min(520px, 100%); padding: 0; }
.poem-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.poem-head h1 { margin: 0; font-size: 40px; }
.poem-head .byline { margin: 4px 0 0; }
.pinyin-toggle { display: flex; gap: 8px; margin-top: 8px; }
.poem-go.phone { display: none; }
.poem-go { display: flex; justify-content: center; margin: 22px 0 0; }
.poem-side .tip-card { position: relative; min-height: 250px; padding: 18px; background: #fcf8ee; border: 1px solid rgba(31, 58, 110, 0.1); box-shadow: none; }
.poem-side .tip-card h2 { margin: 0; font-size: 17px; }
.poem-side .tip-card p { margin: 8px 0 0; color: #4a463f; line-height: 1.8; font-size: 13px; }
.poem-elephant { position: absolute; left: 50%; bottom: 10px; width: 140px; margin-left: -70px; max-width: none; }
.poet-note { background: #fcf8ee; border: 1px solid rgba(31, 58, 110, 0.1); box-shadow: none; }
.other-poems { margin-top: 24px; }
.other-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.other-card, .other-empty, .other-all { height: 112px; background: #fcf8ee; border: 1px solid rgba(31, 58, 110, 0.1); box-shadow: none; border-radius: 16px; color: inherit; text-decoration: none; }
.other-card { display: flex; gap: 16px; align-items: center; padding: 18px; }
.other-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.other-card strong { font-family: var(--serif); font-size: 20px; color: var(--navy); }
.other-card em { font-style: normal; color: var(--muted); font-size: 13px; }
.other-card b { display: block; margin-top: 4px; font-weight: 400; font-size: 14px; color: #4a463f; }
.other-card .star { align-self: flex-start; flex: none; }
.other-empty, .other-all { display: flex; align-items: center; justify-content: center; font-size: 14px; }
.other-empty { color: var(--muted); border-style: dashed; background: transparent; }
.other-all { color: var(--navy); }
.report-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 24px; align-items: stretch; margin-top: 8px; }
.report-layout .score-card { display: block; position: relative; overflow: hidden; padding: 26px; background: linear-gradient(180deg, #fdfaf2, #f5ecd6); border: 1px solid rgba(31, 58, 110, 0.1); box-shadow: none; }
.report-layout .score-card h1 { margin: 0; font-size: 22px; }
.report-layout .score-card .byline { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.score-facts { display: flex; flex-direction: column; align-items: center; }
.report-layout .score-ring { grid-area: auto; width: 160px; height: 160px; margin: 22px auto 0; border: 8px solid rgba(201, 164, 92, 0.35); border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-sizing: border-box; }
.report-layout .score-ring strong { width: auto; height: auto; background: none; font-family: var(--serif); font-size: 48px; font-weight: 600; line-height: 1; color: var(--navy); }
.report-layout .score-ring > span { color: var(--muted); font-size: 13px; }
.score-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.score-pair .mini { padding: 12px; text-align: center; background: #fcf8ee; border: 1px solid rgba(31, 58, 110, 0.1); box-shadow: none; border-radius: 12px; }
.score-pair .mini > span { display: block; color: var(--muted); font-size: 13px; }
.score-pair .mini b { display: block; margin-top: 4px; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--navy); }
.score-hint { margin: 14px 0 180px; text-align: center; }
.score-wash { position: absolute; left: 0; bottom: 0; width: 100%; height: 200px; max-width: none; object-fit: cover; object-position: 80% 60%; opacity: 0.55; pointer-events: none; -webkit-mask-image: linear-gradient(to top, #000 50%, transparent); mask-image: linear-gradient(to top, #000 50%, transparent); }
.report-layout .score-elephant { position: absolute; right: 24px; bottom: 10px; width: 150px; max-width: none; }
.report-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.report-lines { position: relative; overflow: hidden; padding: 24px; background: #fcf8ee; border: 1px solid rgba(31, 58, 110, 0.1); box-shadow: none; }
.line-figure { position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: none; opacity: 0.45; pointer-events: none; -webkit-mask-image: linear-gradient(to left, #000 45%, transparent); mask-image: linear-gradient(to left, #000 45%, transparent); }
.line-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.line-head .section-title { margin: 0; }
.legend { display: flex; gap: 14px; margin: 0; color: var(--muted); font-size: 12px; }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; }
.swatch.wrong { background: rgba(181, 101, 29, 0.25); }
.swatch.miss { background: transparent; border-bottom: 2px dashed #b5651d; }
.swatch.extra { background: rgba(31, 58, 110, 0.15); }
.cmp-row { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(31, 58, 110, 0.14); font-family: var(--serif); font-size: 20px; }
.cmp-row .empty-dash { margin-left: auto; font-size: 14px; }
.advice-card, .listen-card { background: #fcf8ee; border: 1px solid rgba(31, 58, 110, 0.1); box-shadow: none; }
.advice-card .section-title { margin-top: 0; }
.skel { height: 12px; border-radius: 6px; background: rgba(31, 58, 110, 0.08); width: 96%; margin: 10px 0; }
.skel.short { width: 60%; }
.listen-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.play-orb { display: none; }
.play-slot { flex: 1; min-width: 0; }
.listen-card .playbar { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 0; padding: 0; border-radius: 0; background: transparent; color: var(--ink); }
.listen-card .playbar-btn { width: 34px; height: 34px; min-height: 34px; max-height: 34px; border: 0; border-radius: 50%; background: rgba(31, 58, 110, 0.08); color: var(--navy); flex: none; }
.listen-card .playbar-time { display: none; color: var(--muted); font-size: 13px; }
.listen-card .playbar-seek { flex: 1; height: 4px; accent-color: var(--navy); }
@media (min-width: 768px) {
  .activate-panel { display: flex; flex-direction: column; justify-content: center; }
  .listen-card .playbar-time { display: inline; }
  .page-poem #main, .page-recite #main { position: relative; isolation: isolate; }
  .page-poem .studio-banner, .page-recite .studio-banner { position: absolute; inset: 0 0 auto; height: 200px; z-index: -1; }
  .page-poem #main > .crumbs, .page-recite #main > .crumbs { padding-top: 22px; }
  .poem-study { margin-top: 20px; }
  .poem-go .btn { padding-inline: 44px; }
  .poem-side { display: flex; flex-direction: column; gap: 16px; }
  .poem-side > .section-title { display: none; }
  .poem-side .tip-card { flex: 1; }
  .report-layout .crumbs { padding-top: 22px; }
  .report-grid { margin-top: 16px; }
  .report-layout .score-card { min-height: 631px; }
  .report-lines { min-height: 310px; }
  .advice-card { min-height: 136px; }
  .report-main .listen-card { padding: 18px 24px; }
  .report-actions { gap: 12px; }
  .page-report .report-actions .btn { height: 44px; min-height: 44px; padding-inline: 24px; font-size: 15px; letter-spacing: 0.06em; }
  .poem-stage { padding: 36px 40px; }
  .poem-figure { top: 0; bottom: 0; height: 100%; right: 0; }
}
.report-actions { display: flex; gap: 10px; }
.report-actions .phone { display: none; }
@media (max-width: 767px) {
  .page-poem .subbar, .page-recite .subbar, .page-report .subbar { display: grid; grid-template-columns: 32px 1fr 32px; align-items: center; width: 100%; color: #fff; text-decoration: none; font-size: 17px; text-align: center; }
  .subbar-back { width: 10px; height: 10px; margin-left: 8px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
  .page-poem .site-header, .page-recite .site-header, .page-report .site-header { background: var(--navy); color: #fff; height: 48px; min-height: 48px; padding: 0 8px; }
  .page-poem .brand, .page-poem .site-nav, .page-poem .menu-button, .page-poem .user-chip,
  .page-recite .brand, .page-recite .site-nav, .page-recite .menu-button, .page-recite .user-chip,
  .page-report .brand, .page-report .site-nav, .page-report .menu-button, .page-report .user-chip,
  .page-poem .crumbs, .page-recite .crumbs, .page-report .crumbs, .page-quiz .crumbs { display: none !important; }
  .page-poem #main.wrap, .page-recite #main.wrap, .page-report #main.wrap { width: 100%; max-width: 100%; padding-left: 16px; padding-right: 16px; }
  .poem-study, .report-grid, .other-grid { display: block; }
  .studio-banner { display: none; }
  .poem-study { margin-top: 16px; }
  .poem-stage { padding: 22px 12px 20px; }
  .poem-wash { display: block; position: absolute; left: 0; bottom: 0; width: 100%; height: 120px; max-width: none; object-fit: cover; opacity: 0.4; pointer-events: none; -webkit-mask-image: linear-gradient(to top, #000 40%, transparent); mask-image: linear-gradient(to top, #000 40%, transparent); }
  .poem-copy { width: 100%; }
  .poem-head { display: block; text-align: center; }
  .poem-head h1 { font-size: 28px; line-height: 1.6; }
  .poem-head .byline { margin: 0; font-size: 13px; line-height: 1.6; }
  .pinyin-toggle { justify-content: center; margin-top: 10px; }
  .poem-figure { display: none; }
  .poem-go.phone { display: flex; margin: auto -16px 0; padding: 12px 16px 30px; background: #fcf8ee; border-top: 1px solid rgba(31, 58, 110, 0.14); }
  .poem-go:not(.phone) { display: none; }
  .poem-go .btn { width: 100%; height: 50px; max-height: 50px; }
  .page-poem #main.page { display: flex; flex-direction: column; min-height: 1008px; padding-bottom: 0; }
  .page-poem .site-footer { display: none; }
  .poem-elephant { position: absolute; left: auto; right: 8px; bottom: 6px; width: 104px; margin: 0; }
  .poem-side > .section-title { margin: 20px 0 10px; }
  .poem-side .tip-card { min-height: 116px; padding: 14px 120px 14px 14px; margin-top: 12px; }
  .poem-side .tip-card h2 { font-size: 15px; }
  .poem-side .tip-card p { margin-top: 4px; }
  .poet-note { padding: 14px; }
  .poet-note p { margin: 6px 0 0; font-size: 13px; line-height: 1.7; }
  .poet-note .poet-art { width: 86px; height: 107px; }
  .report-grid { margin-top: 14px; }
  .report-layout .score-card { display: block; min-height: 229px; padding: 20px; text-align: left; }
  .report-layout .score-card h1 { font-size: 20px; line-height: 1.6; }
  .report-layout .score-card .byline { margin: 0; }
  .page-report .report-actions .btn { height: 44px; min-height: 44px; }
  .score-facts { flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; }
  .report-layout .score-ring { width: 120px; height: 120px; margin: 14px 0 0; flex: none; }
  .report-layout .score-ring strong { font-size: 36px; }
  .score-pair { display: block; margin-top: 14px; width: auto; }
  .score-pair .mini { background: transparent; border: 0; box-shadow: none; text-align: left; padding: 0 0 8px; }
  .score-hint, .score-wash, .line-figure, .report-actions .desk { display: none; }
  .report-actions .btn { flex: 1; }
  .report-actions .phone { display: inline; }
  .report-layout .score-elephant { right: 4px; top: 6px; bottom: auto; width: 84px; }
  .report-lines, .advice-card, .listen-card { margin-top: 12px; }
  .cmp-row { font-size: 18px; }
  .listen-card { padding: 12px 14px; }
}
.page-public { background-image: image-set(url("/assets/paper/paper-texture.webp") 1x, url("/assets/paper/paper-texture@2x.webp") 2x); background-size: 256px; }
.page-public .paper-deco { display: none; }
.page-public .pub-go { height: 34px; min-height: 34px; max-height: 34px; padding: 0 14px; border-radius: 8px; background: var(--navy); background-image: none; color: #fff; text-decoration: none; box-shadow: none; }
.page-public .phone { display: none; }
.pub-hero { position: relative; height: 340px; overflow: hidden; }
.page-news .pub-hero, .page-legal .pub-hero, .page-article .pub-hero { height: 220px; }
.pub-hero img.wash { position: absolute; right: 0; top: 0; width: min(1060px, 100%); height: 100%; max-width: none; object-fit: cover; object-position: right 45%; opacity: 0.7; -webkit-mask-image: linear-gradient(to right, transparent, #000 38%), linear-gradient(to bottom, #000 62%, transparent); mask-image: linear-gradient(to right, transparent, #000 38%), linear-gradient(to bottom, #000 62%, transparent); -webkit-mask-composite: source-in; mask-composite: intersect; }
.pub-hero .wrap { position: relative; z-index: 1; }
.pub-hero h1 { margin: 70px 0 0; font-size: 46px; }
.page-news .pub-hero h1, .page-legal .pub-hero h1 { margin-top: 34px; font-size: 40px; }
.pub-hero .lede { margin: 10px 0 0; color: var(--muted); }
.pub-tabs { display: flex; gap: 10px; margin-top: 16px; }
.pub-tabs .chip { height: 32px; min-height: 32px; max-height: 32px; padding: 0 16px; }
.pub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: min(1200px, calc(100% - 48px)); margin: -20px auto 0; }
.pub-grid .card, .legal-side, .legal-body, .news-card, .article-sheet { background: #fcf8ee; border: 1px solid rgba(31, 58, 110, 0.1); box-shadow: none; }
.pub-class { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 24px; align-items: center; width: min(1200px, calc(100% - 48px)); margin: 24px auto 0; }
.pub-photo { height: 300px; border-radius: 16px; background: #efe6d4 center 30% / cover no-repeat; position: relative; }
.pub-photo span { position: absolute; left: 12px; bottom: 12px; }
.pub-class-copy { position: relative; min-height: 300px; }
.pub-class-copy .section-title { margin-top: 0; }
.page-about .pub-elephant { position: absolute; right: 10px; bottom: -10px; width: 230px; max-width: none; }
.page-about .m-elephant { display: none; }
.news-board { position: relative; width: min(1200px, calc(100% - 48px)); margin: 16px auto 0; min-height: 280px; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.news-card { display: grid; gap: 6px; padding: 0 0 14px; color: inherit; text-decoration: none; overflow: hidden; }
.news-photo, .article-photo { display: grid; place-items: center; height: 140px; background: #efe6d4; color: var(--muted); }
.news-card strong { padding: 0 14px; font-family: var(--serif); font-size: 18px; }
.news-card em { padding: 0 14px; font-style: normal; color: var(--muted); font-size: 13px; }
.page-news .pub-elephant { position: absolute; right: 8px; bottom: 0; width: 180px; max-width: none; }
.article-sheet { width: min(760px, 100%); margin: 12px auto; padding: 28px; position: relative; }
.article-nav { display: flex; justify-content: space-between; margin-top: 18px; }
.page-article .pub-elephant { position: absolute; right: -20px; bottom: -20px; width: 160px; max-width: none; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; width: min(1200px, calc(100% - 48px)); margin: 10px auto 0; }
.legal-side { padding: 16px 20px; }
.legal-side a { display: block; padding: 8px 0; color: var(--muted); text-decoration: none; }
.legal-side a[aria-current="true"] { color: var(--navy); font-weight: 500; }
.legal-body { padding: 32px; }
.legal-body h2 { margin: 22px 0 8px; font-size: 18px; }
.legal-body h2:first-child { margin-top: 0; }
.page-teach { background-image: image-set(url("/assets/paper/paper-texture.webp") 1x, url("/assets/paper/paper-texture@2x.webp") 2x); background-size: 256px; }
.page-teach .paper-deco, .teach-mobile-bar, .teach-mobile { display: none; }
.page-teach .teach-hero { position: relative; }
@media (min-width: 768px) { .page-teach .site-header { height: 76px; min-height: 76px; } }
.teach-hero .wrap, .page-teach #main { width: min(1200px, calc(100% - 48px)); }
.teach-hero .wrap { position: relative; height: 178px; }
.teach-hero .wash { position: absolute; right: 0; top: 0; width: min(1100px, 100%); height: 200px; object-fit: cover; object-position: right 45%; opacity: .6; mask-image: linear-gradient(to right, transparent, #000 40%), linear-gradient(to bottom, #000 60%, transparent); mask-composite: intersect; }
.teach-hero .crumbs { padding-top: 22px; }
.teach-hero h1 { margin: 30px 0 0; font-size: 34px; line-height: 1.6; }
.teach-hero .lede { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.teach-elephant { position: absolute; right: 200px; top: 4px; width: 126px; pointer-events: none; }
.page-teach #main { padding: 0 0 48px; }
.teach-nav { display: flex; gap: 4px; border-bottom: 1px solid rgba(31, 58, 110, .14); overflow-x: auto; scrollbar-width: none; }
.teach-nav a { flex: none; padding: 12px 20px; border-bottom: 2px solid transparent; color: var(--muted); text-decoration: none; white-space: nowrap; }
.teach-nav a[aria-current="page"] { color: var(--navy); font-weight: 500; border-bottom-color: var(--gold); }
.teach-content { position: relative; }
.teach-filters { display: flex; align-items: center; gap: 12px; margin: 18px 0; padding-right: 145px; }
.teach-filter { display: flex; justify-content: space-between; align-items: center; width: 220px; min-width: 0; height: 40px; padding: 0 14px; border: 1px solid rgba(31, 58, 110, .2); border-radius: 10px; background: #fff; color: #80786b; font-size: 14px; }
.teach-filter:nth-child(2) { width: 200px; }
.teach-filter.teach-search { width: 240px; justify-content: flex-start; gap: 8px; }
.teach-search svg { flex: none; }
.teach-search input { width: 100%; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--navy); }
.teach-table { padding: 0; overflow: hidden; background: #fcf8ee; border-color: rgba(31, 58, 110, .14); border-radius: 14px; box-shadow: 0 2px 0 rgba(31, 58, 110, .03), 0 8px 24px -14px rgba(31, 58, 110, .25); }
.teach-table table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.6; }
.teach-table th, .teach-table td { text-align: left; border-bottom: 1px solid rgba(31, 58, 110, .14); }
.teach-table th { padding: 12px 14px; background: rgba(31, 58, 110, .03); color: var(--muted); font-size: 13px; font-weight: 500; }
.teach-table td { padding: 14px; color: var(--muted); }
.teach-table tr:last-child td { border-bottom: 0; }
.teach-content .teach-primary { padding: 0 16px; font-size: 13px; letter-spacing: 0; position: absolute; top: 0; right: 0; height: 40px; min-height: 40px; background: var(--navy); border-radius: 10px; box-shadow: none; opacity: 1; }
.staff-account { margin-left: auto; }
.staff-account [data-session] { display: flex; align-items: center; gap: 16px; font-size: 13px; }
.staff-account .chip { min-height: 26px; padding: 0 10px; font-size: 12px; }
.staff-account .chip.gold { color: #8a6a2c; border-color: rgba(201, 164, 92, .5); background: rgba(201, 164, 92, .1); }
.staff-account .text-button { text-decoration: none; color: var(--muted); }
.record-placeholder, .teach-table td:first-child { color: #a39b8c; }
.teach-table td.teach-action { color: var(--navy); }
@media (max-width: 767px) {
  .page-teach .site-header { height: 48px; min-height: 48px; justify-content: center; background: var(--navy); color: #fff; padding: 0; }
  .teach-mobile-bar, .teach-mobile { display: inline; }
  .teach-mobile-bar { font-size: 17px; font-weight: 500; }
  .page-teach .brand, .page-teach .teach-desktop, .teach-desktop-row { display: none; }
  .page-teach .site-nav.is-open [data-session] { display: flex; flex-direction: column; align-items: flex-start; }
  .page-teach .menu-button { position: absolute; right: 8px; background: transparent; border: 0; color: #fff; }
  .teach-hero { height: 96px; overflow: hidden; }
  .teach-hero .wrap { width: 100%; height: auto; padding: 18px 96px 0 16px; }
  .teach-hero .wash { right: -120px; width: 520px; height: 96px; max-width: none; opacity: .55; mask-image: linear-gradient(to right, transparent, #000 45%); }
  .teach-hero .crumbs { display: none; }
  .teach-hero h1 { font-size: 20px; margin: 0; max-width: 248px; }
  .teach-hero .lede { margin: 0; line-height: 1.6; }
  .teach-elephant { right: 14px; top: 4px; width: 72px; }
  .page-teach #main { width: 100%; padding: 0; }
  .teach-nav { padding: 0 16px; gap: 6px; }
  .teach-nav a { padding: 10px; font-size: 14px; line-height: 1.6; }
  .teach-content { padding: 0 16px; }
  .teach-filters { gap: 8px; margin: 0; padding: 12px 0; }
  .teach-filter, .teach-filter:nth-child(2) { flex: 1; width: auto; height: 38px; font-size: 13px; }
  .teach-filter.teach-search { display: none; }
  .teach-table { background: transparent; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; overflow: visible; }
  .teach-table table, .teach-table tbody { display: block; }
  .teach-table thead, .teach-table td:nth-child(n+5) { display: none; }
  .teach-table tr:not(.teach-desktop-row) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 0; padding: 14px; background: #fcf8ee; border: 1px solid rgba(31, 58, 110, .14); border-radius: 14px; }
  .teach-table tr + tr { margin-top: 10px; }
  .teach-table td { padding: 0; border: 0; font-size: 12px; }
  .teach-table td:first-child { display: flex; justify-content: space-between; grid-column: 1 / -1; font-family: var(--serif); font-size: 16px; }
  .teach-mobile-action { font: 13px/1.6 var(--sans); color: var(--navy); }
  .teach-table td[data-label]::before { content: attr(data-label) " " / ""; }
  .teach-content .teach-primary { position: static; width: 100%; height: 44px; font-size: 15px; margin-top: 12px; }

}
@media (max-width: 767px) {
  .page-public .subbar { display: grid; grid-template-columns: 32px 1fr 32px; align-items: center; width: 100%; color: #fff; text-decoration: none; font-size: 17px; text-align: center; }
  .page-public .site-header { background: var(--navy); color: #fff; height: 48px; min-height: 48px; padding: 0 8px; }
  .page-public .brand, .page-public .site-nav, .page-public .menu-button, .page-public .user-chip { display: none !important; }
  .page-public .desk { display: none; }
  .page-public .phone { display: inline; }
  .page-public #main.wrap { width: 100%; max-width: 100%; padding: 0 16px 24px; }
  .pub-hero { height: 200px; margin: 0 -16px; }
  .page-news .pub-hero { height: 130px; }
  .page-article .pub-hero { height: 110px; }
  .page-legal .pub-hero { height: 96px; }
  .page-news .pub-hero h1 { font-size: 26px; margin-top: 24px; }
  .page-news .pub-elephant { position: absolute; right: 16px; top: 6px; width: 110px; }
  .page-news .news-card { display: flex; align-items: center; gap: 12px; padding: 12px; }
  .page-news .news-photo { width: 96px; height: 72px; flex: none; }
  .page-article .article-photo { height: 200px; margin-top: 16px; }
  .page-article .pub-elephant { width: 90px; }
  .pub-hero h1, .page-news .pub-hero h1, .page-legal .pub-hero h1 { margin: 28px 0 0; font-size: 28px; padding-left: 16px; }
  .pub-hero .lede, .pub-hero .crumbs { padding-left: 16px; }
  .pub-hero .desk, .pub-class, .page-about .pub-elephant { display: none; }
  .page-about .m-elephant { display: block; position: absolute; right: 12px; bottom: 6px; width: 130px; max-width: none; }
  .pub-grid, .news-grid, .legal-layout { display: block; width: auto; margin: 12px 0 0; }
  .pub-grid .card, .news-card, .legal-body { margin-top: 12px; }
  .legal-side { display: none; }
  .page-news .pub-elephant, .page-article .pub-elephant { position: static; display: block; width: 140px; margin: 12px 0 0 auto; }
}

.page-about .pub-grid .section-title { margin: 0 0 10px; }
.page-about .pub-grid .card { padding: 24px; }
.page-about .pub-grid .skel { height: 10px; }
.page-public .pub-hero .wrap { width: min(1200px, calc(100% - 48px)); }
.page-about #main, .page-news #main, .page-article #main { padding-top: 0; }

.page-news .pub-hero { height: 236px; }
.page-news .pub-hero .crumbs, .page-article .crumbs { padding-top: 22px; }
.page-news .pub-hero h1 { line-height: 1.2; }
.page-news .pub-hero .lede { margin-top: 8px; }
.news-board { margin: 0 auto; }
.news-board .pub-tabs { margin: 0 0 18px; }
.news-grid { gap: 20px; }
.news-card .news-photo { height: 170px; background: repeating-linear-gradient(135deg, rgba(31,58,110,.05) 0 12px, rgba(31,58,110,.02) 12px 24px); }
.news-card .news-copy { display: grid; gap: 6px; min-width: 0; }
.news-card .skel { height: 10px; margin: 4px 14px; width: 82%; }
.news-card .skel.short { width: 65%; }
.page-news .pub-elephant { top: 34px; right: 180px; bottom: auto; width: 170px; }

.page-article { position: relative; }
.page-article .pub-hero { position: absolute; inset: auto 0; height: 260px; pointer-events: none; }
.page-article #main { position: relative; width: min(1200px, calc(100% - 48px)); }
.article-layout { display: grid; grid-template-columns: minmax(0, 820px) minmax(0, 1fr); gap: 40px; }
.article-sheet { width: auto; margin: 0; padding: 0; background: transparent; border: 0; }
.article-sheet h1 { height: 26px; min-height: 26px; max-height: 26px; font-family: var(--sans); width: max-content; font-size: 13px; font-weight: 500; margin: 30px 0 14px; }
.article-sheet .note { margin: 10px 0 0; font-size: 13px; }
.article-photo { height: 340px; margin-top: 24px; border-radius: 16px; background: repeating-linear-gradient(135deg, rgba(31,58,110,.05) 0 14px, rgba(31,58,110,.02) 14px 28px); }
.article-copy { margin-top: 24px; }
.article-related { position: relative; margin-top: 220px; min-height: 330px; padding: 18px; align-self: start; }
.article-related h2 { font-size: 17px; margin: 0; }
.page-article .pub-elephant { right: 24px; bottom: 10px; width: 120px; }
.article-nav { padding-top: 16px; border-top: 1px solid rgba(31,58,110,.14); margin-top: 26px; }
@media (max-width: 767px) {
  .page-public .pub-hero .wrap { width: 100%; }
  .page-about .pub-hero .crumbs, .page-news .pub-hero .crumbs { display: none; }
  .page-about .pub-hero h1 { margin: 28px 0 0; line-height: 1.6; }
  .page-about .pub-hero { margin: 0; }
  .page-about .pub-hero .wrap { display: flow-root; margin-inline: 0; padding-left: 16px; }
  .page-about .pub-hero .lede { margin-top: 4px; font-size: 13px; line-height: 1.6; }
  .page-about .pub-grid { margin-top: 24px; }
  .page-about .pub-grid .card { padding: 14px; min-height: 120px; }
  .page-about .pub-grid .section-title { margin: 20px 0 10px; }
  .page-news .pub-hero { height: 130px; }
  .page-news .pub-hero .wrap { width: 100%; padding: 24px 16px 0; }
  .page-news .pub-hero h1, .page-news .pub-hero .lede { padding: 0; }
  .page-news .pub-hero h1 { font-size: 26px; margin-top: 0; line-height: 1.6; }
  .page-news .pub-elephant { position: absolute; width: 110px; top: 6px; right: 32px; margin: 0; }
  .news-board { width: 100%; }
  .news-board .pub-tabs { margin: 0 0 12px; }
  .news-board .pub-tabs .chip { height: 26px; min-height: 26px; }
  .news-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; }
  .page-news .news-card { margin: 0; }
  .page-news .news-card .news-photo { height: 72px; }
  .news-card .news-copy { flex: 1; }
  .page-news .news-card em { display: none; }
  .page-article .pub-hero { height: 110px; margin: 0; }
  .page-article #main { width: 100%; }
  .article-layout { display: block; }
  .article-sheet { display: flex; flex-direction: column; }
  .article-sheet h1 { order: -1; margin: 22px 0 0; }
  .page-article .crumbs { padding-top: 6px; margin-bottom: 34px; }
  .article-sheet > .skel { flex: none; height: 10px; margin: 0 0 10px; }
  .article-photo { margin-top: 16px; }
  .article-copy { margin-top: 14px; }
  .article-nav, .article-related h2, .article-related .skel { display: none; }
  .article-related { margin: 0; min-height: 120px; padding: 0; border: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
  .page-article .pub-elephant { position: absolute; top: 0; right: 0; bottom: auto; width: 90px; margin: 0; }
}
@media (min-width: 768px) {
  .page-about .pub-hero .crumbs { padding-top: 18px; }
  .page-about .pub-hero { height: 324px; }
  .page-about .pub-hero h1 { line-height: 1.6; }
  .page-about .pub-grid { margin-top: -8px; }
  .page-about .about-topic { min-height: 177px; padding: 24px; background: #fcf8ee; border: 1px solid rgba(31,58,110,.1); border-radius: 16px; }
  .page-about .about-topic .card { padding: 0; border: 0; background: transparent; }
}
@media (max-width: 767px) {
  .page-news .news-card.desk { display: none; }
}

.theme-paper .paper-link-row {
  width: 100%;
  justify-content: center;
  align-items: center;
  padding: 0 16px;
  min-height: 64px;
  border-top: 1px solid rgba(31, 58, 110, 0.14);
  background: var(--paper) url("/assets/paper/paper-texture@2x.webp") repeat;
  background-size: 256px;
}
.paper-link-row nav > .sep { display: none; }
.theme-paper .paper-link-row nav { justify-content: center; gap: 28px; color: var(--muted); }
.theme-paper .paper-link-row nav > :not(.sep) { color: var(--muted); font-size: 12px; text-decoration: none; }
@media (min-width: 768px) {
  .page-activate #main, .page-report #main, .page-about #main, .page-teach #main { flex: 0 0 auto; padding-bottom: 48px; }
  .theme-paper .paper-link-row { margin-top: 0; }
}
@media (max-width: 767px) {
  .theme-paper .paper-link-row { min-height: auto; align-items: center; padding: 18px 0 100px; border: 0; background: transparent; }
  .theme-paper .paper-link-row nav { gap: 0; flex-wrap: nowrap; white-space: nowrap; }
  .theme-paper .paper-link-row nav > :not(.sep) { font-size: 11px; }
  .theme-paper .paper-link-row nav > .sep { display: inline-block; align-self: center; }
  .paper-link-row [href="/about"], .paper-link-row [href="/news"] { display: none; }
}

.poet-art { object-fit: cover; object-position: center 24%; }
.sentence-report { padding: 16px 0; border-bottom: 1px solid rgb(31 58 110 / .14); }
.sentence-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sentence-heading h3 { margin: 0; font-size: 16px; }
.sentence-original { margin: 8px 0; font-family: var(--serif); font-size: 1.15rem; }
.sentence-report dl { margin: 8px 0; }
.sentence-report dl div { display: grid; grid-template-columns: minmax(5em, auto) 1fr; gap: 8px; }
.sentence-report dt { color: var(--muted); }
.sentence-report dd { margin: 0; overflow-wrap: anywhere; }
.sentence-differences { padding-inline-start: 1.4em; }
.sentence-differences small { display: block; }
.score-basis { padding: 10px 12px; background: rgb(201 164 92 / .12); border-radius: 8px; }
.score-basis summary { cursor: pointer; }
.local-player { width: 100%; min-width: 0; }
.local-player .audio-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.local-player .audio-seek-label { display: flex; align-items: center; gap: 10px; }
.local-player input { min-width: 0; flex: 1; }
.local-player audio { max-width: 100%; }
.seal-plate { border-radius: 5px; background: rgb(110 103 92 / .08); }
.seal-tile.got .seal-plate { background: rgb(154 40 32 / .07); }
.seal-wall { overflow-wrap: anywhere; }
.line-figure { height: min(100%, 360px); opacity: .16; }

.boot-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.boot-actions a { min-height: 44px; }

@media (max-width: 767px) {
  :is(.page-learn, .page-poetry, .page-me) .site-header.is-signed .user-chip { display: none; }
  :is(.page-learn, .page-poetry, .page-me) .site-header .menu-button {
    margin-left: auto;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
  }
  :is(.page-learn, .page-poetry, .page-me) #boot { min-height: clamp(180px, 42vh, 300px); }
}

@media (max-width: 359px) {
  :is(.page-learn, .page-poetry, .page-me) .site-header { gap: 8px; padding-inline: 12px; }
  :is(.page-learn, .page-poetry, .page-me) .site-header .for-night { height: 24px; }
  .archive .profile-card { height: 190px; min-height: 190px; }
  .archive .profile-id { padding-right: 82px; }
  .archive-elephant { right: 12px; top: 32px; width: 104px; }
  .archive .seal-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
