html,
.home-nav,
body { overflow-x: clip; }
.home-nav .zt-nav-inner { min-height: 68px; }
.nav-login { min-width: 82px; padding: 8px 20px; }
.home-hero { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr); gap: 28px; align-items: center; min-height: calc(100vh - 68px); padding-top: 58px; padding-bottom: 70px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { font-size: clamp(42px, 5.1vw, 70px); line-height: 1.13; letter-spacing: -.03em; margin: 0 0 28px; }
.hero-copy h1 span { color: var(--zt-emerald-deep); }
.hero-intro { max-width: 660px; color: var(--zt-ink-soft); font-size: 16px; line-height: 1.92; }
.hero-intro p + p { margin-top: 12px; }
.hero-intro strong { color: var(--zt-ink); font-weight: 700; }
.motto { position: relative; margin-top: 30px; padding: 15px 20px 15px 24px; max-width: 640px; color: var(--zt-emerald-deep); background: rgba(227, 243, 236, .68); border: 1px solid var(--zt-line-strong); border-radius: 0 14px 14px 0; font-family: var(--zt-font-display); font-size: 16px; }
.motto::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 4px; background: var(--zt-emerald); }
.hero-art { margin: 0 -8vw 0 -92px; align-self: stretch; display: flex; align-items: center; pointer-events: none; }
.hero-art img { width: min(780px, 60vw); height: auto; display: block; filter: drop-shadow(0 24px 40px rgba(63, 53, 35, .09)); animation: planet-float 7s ease-in-out infinite; }
@keyframes planet-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .hero-art img { animation: none; } }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-count, .asset-total { color: var(--zt-ink-muted); font-family: var(--zt-font-mono); font-size: 12px; white-space: nowrap; }
.notes-section { padding-top: 78px; }
.series-rail { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 22px; padding: 12px 16px; background: #F1F8F4; border: 1px solid var(--zt-line-strong); border-radius: var(--zt-radius-sm); font-size: 13.5px; }
.series-label { font-family: var(--zt-font-mono); font-size: 12px; letter-spacing: 1px; color: var(--zt-emerald-deep); margin-right: 4px; }
.series-step { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; background: #fff; border: 1px solid var(--zt-line); border-radius: 999px; color: var(--zt-ink); text-decoration: none; }
.series-step b { font-family: var(--zt-font-mono); font-size: 11.5px; color: var(--zt-emerald); }
.series-step:hover { border-color: var(--zt-emerald); color: var(--zt-emerald-deep); text-decoration: none; }
.series-arrow { color: var(--zt-ink-muted); font-size: 12px; }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.article-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; min-height: 100%; }
.article-cover { display: block; aspect-ratio: 16 / 8.8; overflow: hidden; background: var(--zt-bg-2); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.article-card:hover .article-cover img { transform: scale(1.025); }
.article-body { padding: 22px 24px 20px; display: flex; flex: 1; flex-direction: column; }
.article-topic { color: var(--zt-emerald-deep); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.article-title { margin: 8px 0; font-family: var(--zt-font-display); font-size: 23px; line-height: 1.4; }
.article-title a { color: var(--zt-ink); }
.article-title a:hover { color: var(--zt-emerald-deep); text-decoration: none; }
.article-summary { color: var(--zt-ink-soft); font-size: 14px; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.75em * 3); }
.article-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--zt-line); }
.article-date { color: var(--zt-ink-muted); font-size: 12px; }
.like-button { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: var(--zt-ink-muted); cursor: pointer; padding: 5px 0; font: inherit; font-size: 13px; }
.like-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .2s ease, fill .2s ease; }
.like-button:hover, .like-button.liked { color: #C05A55; }
.like-button.liked svg { fill: currentColor; transform: scale(1.06); }
.loading-card { min-height: 390px; border-radius: var(--zt-radius); background: linear-gradient(100deg, var(--zt-bg-2) 20%, #fff 38%, var(--zt-bg-2) 56%); background-size: 250% 100%; animation: shimmer 1.25s infinite; }
@keyframes shimmer { to { background-position-x: -250%; } }

.drafts-shell { margin-top: 40px; padding: 92px 0 100px; background: #F1EEE7; border-top: 1px solid var(--zt-line); }
.drafts-head { align-items: center; }
.drafts-head .zt-sub { max-width: 720px; }
.asset-total { padding: 9px 14px; border: 1px solid var(--zt-line); border-radius: 999px; background: rgba(255,255,255,.65); }
.filter-bar { display: flex; gap: 9px; overflow-x: auto; padding: 4px 0 22px; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-chip, .collection-all, .collection-node { border: 1px solid var(--zt-line); background: rgba(255,255,255,.74); color: var(--zt-ink-soft); border-radius: 999px; padding: 8px 15px; cursor: pointer; font: 600 13px var(--zt-font-body); white-space: nowrap; }
.filter-chip:hover, .filter-chip.active, .collection-all:hover, .collection-all.active, .collection-node:hover, .collection-node.active { color: #fff; background: var(--zt-emerald-deep); border-color: var(--zt-emerald-deep); }
.showcase-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 30px; align-items: start; }
.collection-rail { position: sticky; top: 92px; max-height: calc(100vh - 112px); overflow: auto; padding: 18px; border: 1px solid var(--zt-line); border-radius: var(--zt-radius); background: rgba(255,255,255,.68); }
.rail-title { font-size: 12px; font-family: var(--zt-font-mono); letter-spacing: .12em; color: var(--zt-ink-muted); margin-bottom: 12px; }
.collection-all { width: 100%; text-align: left; border-radius: 10px; }
.collection-tree details { margin-top: 12px; }
.collection-tree summary { cursor: pointer; color: var(--zt-ink); font-size: 13px; font-weight: 700; list-style: none; }
.collection-tree summary::before { content: "+"; display: inline-block; width: 18px; color: var(--zt-emerald); }
.collection-tree details[open] summary::before { content: "−"; }
.collection-children { display: grid; gap: 7px; margin: 9px 0 0 12px; padding-left: 10px; border-left: 1px solid var(--zt-line); }
.collection-node { width: 100%; text-align: left; border: 0; border-radius: 8px; background: transparent; padding: 7px 8px; font-weight: 500; white-space: normal; }
.collection-count { float: right; color: var(--zt-ink-muted); font: 11px var(--zt-font-mono); }
.collection-node.active .collection-count { color: rgba(255,255,255,.72); }
.feed-status { min-height: 24px; margin-bottom: 10px; color: var(--zt-ink-muted); font-size: 13px; }
.masonry { columns: 3 250px; column-gap: 16px; }
.media-card { position: relative; break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 16px; padding: 0; overflow: hidden; background: #fff; text-align: left; color: inherit; font: inherit; }
.media-open { display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; text-align: left; font: inherit; }
.media-open:focus-visible { outline: 3px solid rgba(15,164,126,.25); outline-offset: -3px; }
.media-thumb { position: relative; min-height: 130px; background: #E7E2D8; overflow: hidden; }
.media-thumb img { width: 100%; height: auto; min-height: 130px; max-height: 440px; object-fit: cover; display: block; transition: transform .35s ease; }
.media-card:hover .media-thumb img { transform: scale(1.025); }
.media-play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, transparent 45%, rgba(9,22,18,.28)); }
.media-play::after { content: "▶"; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: rgba(11,57,47,.76); backdrop-filter: blur(6px); font-size: 14px; padding-left: 2px; }
.media-duration { position: absolute; right: 9px; bottom: 8px; padding: 2px 7px; border-radius: 5px; color: #fff; background: rgba(20,25,23,.72); font: 11px var(--zt-font-mono); }
.media-body { padding: 14px 15px 15px; }
.media-tags { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; }
.media-tag { font-size: 10px; font-weight: 700; color: var(--zt-emerald-deep); background: var(--zt-neon-soft); border-radius: 999px; padding: 2px 7px; }
.media-tag.featured { color: #8C641D; background: #F7ECD2; }
.media-title { font-size: 14px; line-height: 1.45; font-weight: 700; }
.media-summary { margin-top: 5px; color: var(--zt-ink-muted); font-size: 12px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.media-mark { position: absolute; z-index: 2; right: 9px; top: 9px; display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px; border: 1px solid rgba(255,255,255,.64); border-radius: 999px; color: #fff; background: rgba(18,43,35,.68); backdrop-filter: blur(8px); cursor: pointer; font: 600 10px var(--zt-font-body); }
.media-mark svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.media-mark:hover, .media-mark.marked { color: #49330f; background: #F2CA70; border-color: #F6D992; }
.media-mark.marked svg { fill: currentColor; }
.marked-filter::before { content: ""; display: inline-block; width: 8px; height: 10px; margin-right: 6px; border: 1.5px solid currentColor; border-radius: 1px 1px 3px 3px; vertical-align: -1px; }
.load-more { display: block; margin: 26px auto 0; padding: 10px 30px; border: 1px solid var(--zt-line-strong); border-radius: 999px; background: #fff; color: var(--zt-emerald-deep); cursor: pointer; font: 600 14px var(--zt-font-body); }
.load-more:hover { border-color: var(--zt-emerald); }

.preview-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; }
.preview-modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(22,27,25,.68); backdrop-filter: blur(8px); cursor: zoom-out; }
.modal-panel { position: relative; z-index: 1; width: min(1080px, 94vw); max-height: 92vh; overflow: auto; border-radius: 22px; background: var(--zt-surface); box-shadow: 0 28px 80px rgba(0,0,0,.28); }
.modal-close { position: absolute; z-index: 4; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(22,30,27,.65); color: #fff; font-size: 24px; cursor: pointer; }
.modal-media { position: relative; min-height: 320px; max-height: 72vh; display: grid; place-items: center; background: #171C1A; overflow: hidden; border-radius: 22px 22px 0 0; }
.modal-media img { max-width: 100%; max-height: 72vh; display: block; object-fit: contain; }
.modal-media video { width: 100%; max-height: 72vh; background: #000; }
.modal-media iframe { width: 100%; height: min(72vh, 760px); border: 0; background: #F7F3EA; }
.modal-copy { padding: 20px 26px 25px; }
.modal-meta { color: var(--zt-emerald-deep); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.modal-copy h3 { margin-top: 5px; font: 700 23px/1.4 var(--zt-font-display); }
.modal-copy p { margin-top: 7px; color: var(--zt-ink-soft); font-size: 14px; }
.book-reader { width: 100%; min-height: 520px; display: grid; grid-template-columns: 58px minmax(0,1fr) 58px; align-items: center; }
.book-reader img { margin: auto; max-height: 68vh; }
.book-nav { height: 100%; border: 0; background: rgba(255,255,255,.06); color: #fff; font-size: 30px; cursor: pointer; }
.book-nav:hover { background: rgba(255,255,255,.12); }
.book-page-no { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); color: #fff; background: rgba(0,0,0,.5); border-radius: 999px; padding: 3px 10px; font-size: 12px; }
body.modal-open { overflow: hidden; }
.home-footer { margin-top: 0; }
.footer-simple { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-simple .zt-logo { font-size: 16px; }

@media (max-width: 980px) {
  .home-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 48px; }
  .hero-art { grid-row: 1; margin: -30px -18vw -110px 6vw; justify-content: flex-end; opacity: .92; }
  .hero-art img { width: min(760px, 94vw); }
  .hero-copy { grid-row: 2; }
  .showcase-layout { grid-template-columns: 1fr; }
  .collection-rail { position: static; max-height: none; overflow: visible; }
  .collection-tree { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 16px; }
}
@media (max-width: 720px) {
  .zt-container { padding-left: 18px; padding-right: 18px; }
  .home-nav .zt-nav-inner { padding: 11px 18px; min-height: 60px; }
  .home-nav .zt-logo { font-size: 16px; }
  .home-nav .zt-logo-image { width: 30px; height: 30px; }
  .nav-login { min-width: 68px; padding: 7px 16px; font-size: 13px; }
  .home-hero { padding-top: 20px; padding-bottom: 54px; gap: 4px; }
  .hero-art { margin: -22px -38vw -88px -18vw; justify-content: center; }
  .hero-art img { width: 138vw; max-width: none; }
  .hero-copy h1 { font-size: 40px; margin-bottom: 22px; }
  .hero-intro { font-size: 15px; line-height: 1.82; }
  .motto { font-size: 14px; line-height: 1.7; margin-top: 24px; }
  .section-head { align-items: flex-start; margin-bottom: 22px; }
  .article-grid { grid-template-columns: 1fr; gap: 18px; }
  .article-title { font-size: 21px; }
  .drafts-shell { margin-top: 18px; padding: 62px 0 70px; }
  .drafts-head { display: block; }
  .asset-total { display: inline-block; margin-top: 14px; }
  .collection-tree { grid-template-columns: 1fr; }
  .masonry { columns: 2 150px; column-gap: 11px; }
  .media-card { margin-bottom: 11px; }
  .media-body { padding: 11px 12px 12px; }
  .media-summary { display: none; }
  .preview-modal { padding: 0; align-items: end; }
  .modal-panel { width: 100%; max-height: 94vh; border-radius: 20px 20px 0 0; }
  .modal-media { min-height: 260px; border-radius: 20px 20px 0 0; }
  .book-reader { min-height: 360px; grid-template-columns: 42px minmax(0,1fr) 42px; }
  .footer-simple { display: block; }
  .footer-simple p { margin-top: 8px; }
}
@media (max-width: 430px) {
  .masonry { columns: 1; }
  .media-summary { display: -webkit-box; }
  .hero-copy h1 { font-size: 36px; }
}
