@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700;900&family=ZCOOL+XiaoWei&display=swap');

:root {
  --ink: #171713;
  --ink-soft: #292923;
  --paper: #f2efe7;
  --paper-deep: #e7e1d4;
  --vermilion: #c53b27;
  --vermilion-dark: #8f271a;
  --jade: #3f6355;
  --muted: #777268;
  --hairline: rgba(23, 23, 19, .16);
  --serif: "Noto Serif SC", "Songti SC", STSong, serif;
  --display: "ZCOOL XiaoWei", "FZKai-Z03", KaiTi, serif;
  --shadow: 0 24px 60px rgba(26, 23, 16, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--serif); font-size: 15px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, select { cursor: pointer; }
main { min-height: calc(100vh - 190px); }
.paper-noise { position: fixed; inset: 0; pointer-events: none; z-index: 99; opacity: .2; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E"); }

.site-header { height: 82px; padding: 0 4.5vw; display: flex; align-items: center; border-bottom: 1px solid var(--hairline); background: rgba(242,239,231,.93); backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 30; }
.brand { display: flex; gap: 13px; align-items: center; min-width: 310px; }
.brand-logo { width: 40px; height: 44px; position: relative; flex: 0 0 auto; overflow: hidden; }
.brand-logo img { position: absolute; width: 99px; max-width: none; height: auto; left: -29px; top: -16px; }
.brand-logo.large { width: 54px; height: 60px; }
.brand-logo.large img { width: 135px; left: -39.5px; top: -21.7px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy b { font-size: 17px; letter-spacing: .12em; }
.brand-copy small { margin-top: 5px; font-size: 8px; letter-spacing: .22em; color: var(--muted); }
.main-nav { display: flex; align-self: stretch; gap: 34px; align-items: center; }
.main-nav a { height: 100%; display: grid; place-items: center; position: relative; font-size: 14px; letter-spacing: .08em; color: #5d594f; }
.main-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 3px; background: var(--vermilion); transition: .25s; }
.main-nav a:hover::after, .main-nav a.active::after { left: 0; right: 0; }
.main-nav a.active { color: var(--ink); font-weight: 700; }
.user-cluster { margin-left: auto; display: flex; align-items: center; gap: 9px; font-size: 12px; color: #555148; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #5b8a61; box-shadow: 0 0 0 4px rgba(91,138,97,.12); }
.user-profile-link { min-height: 38px; padding: 0 9px 0 5px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid transparent; transition: color .2s, background .2s, border-color .2s; }
.user-profile-link:hover,.user-profile-link.active { color: var(--vermilion-dark); background: rgba(255,255,255,.46); border-color: var(--hairline); }
.user-mini-avatar { width: 25px; height: 25px; overflow: hidden; border-radius: 50%; display: grid; place-items: center; color: #f7edde; background: var(--ink-soft); font-family: var(--display); font-size: 12px; }
.user-mini-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.user-profile-label { white-space: nowrap; }
.logout-link { margin-left: 13px; color: #8c877c; border-left: 1px solid var(--hairline); padding-left: 18px; }
.logout-link:hover { color: var(--vermilion); }
.guest-cluster { gap: 13px; }.guest-badge { padding: 4px 9px; color: #756f64; border: 1px solid var(--hairline); font-size: 8px; letter-spacing: .12em; }.guest-login-trigger { min-height: 38px; padding: 0 16px; color: #fff8eb; border: 0; background: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .08em; transition: background .2s, transform .2s; }.guest-login-trigger:hover { background: var(--vermilion); transform: translateY(-1px); }

.site-footer { margin-top: 100px; min-height: 108px; padding: 28px 4.5vw; border-top: 1px solid var(--hairline); display: flex; align-items: center; justify-content: space-between; color: #736f65; font-size: 11px; letter-spacing: .08em; }
.site-footer > div { display: flex; align-items: center; gap: 12px; }
.footer-mark { font-family: var(--display); color: var(--ink); font-size: 20px; margin-right: 6px; }
.site-footer i { width: 3px; height: 3px; border-radius: 50%; background: var(--vermilion); }

.button { min-height: 48px; padding: 0 24px; border: 0; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; font-weight: 700; letter-spacing: .05em; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--vermilion); color: #fff; box-shadow: 0 12px 24px rgba(197,59,39,.18); }
.button-primary:hover { background: #a92d1e; box-shadow: 0 15px 30px rgba(197,59,39,.25); }
.button-primary b { font-size: 21px; font-weight: 400; }
.button-wide { width: 100%; }
.eyebrow { font-size: 9px; font-weight: 700; letter-spacing: .34em; color: var(--vermilion); }
.eyebrow.light { color: #d7a894; }
.section-wrap { width: min(1420px, 91vw); margin-inline: auto; }

/* Login */
.page-login { background: #151612; }
.page-login main { min-height: 100vh; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 1.25fr) minmax(430px, .75fr); }
.login-art { position: relative; overflow: hidden; background: #20231d; isolation: isolate; }
.login-art::before { content: ""; position: absolute; inset: 0; opacity: .25; background: radial-gradient(circle at 20% 20%, #849580 0, transparent 35%), linear-gradient(135deg, transparent 49.7%, rgba(255,255,255,.06) 50%, transparent 50.3%); }
.login-art::after { content: "剧本版权中心"; position: absolute; left: 8%; bottom: 6%; font-family: var(--display); color: rgba(236,224,199,.08); font-size: clamp(72px, 10vw, 180px); white-space: nowrap; }
.ink-sun { position: absolute; width: clamp(270px, 36vw, 580px); aspect-ratio: 1; border-radius: 50%; top: 50%; left: 50%; transform: translate(-54%,-54%); background: #a62f21; box-shadow: 0 0 90px rgba(170,48,33,.16); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #e9dfcb; font-family: var(--display); font-size: clamp(72px, 8vw, 140px); line-height: .8; }
.ink-sun::after { content: ""; position: absolute; inset: 10%; border: 1px solid rgba(238,221,190,.25); border-radius: 50%; }
.orbit { position: absolute; border: 1px solid rgba(238,221,190,.17); border-radius: 50%; top: 50%; left: 50%; transform: translate(-54%,-54%); }
.orbit-one { width: 62vw; aspect-ratio: 1; }
.orbit-two { width: 78vw; aspect-ratio: 1; }
.vertical-motto { position: absolute; right: 6%; top: 8%; color: rgba(237,227,205,.62); writing-mode: vertical-rl; letter-spacing: .45em; font-size: 11px; }
.folio-number { position: absolute; left: 6%; top: 6%; color: rgba(237,227,205,.55); font-size: 10px; letter-spacing: .24em; }
.login-panel { padding: 7vh clamp(44px, 7vw, 110px); background: var(--paper); display: flex; flex-direction: column; justify-content: center; position: relative; }
.login-brand { display: flex; align-items: center; gap: 15px; position: absolute; top: 6vh; }
.login-brand p { font-size: 9px; letter-spacing: .3em; font-weight: 700; }
.login-copy h1 { margin: 15px 0 12px; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 4vw, 70px); line-height: 1.18; letter-spacing: .06em; }
.login-copy > p { color: var(--muted); letter-spacing: .08em; }
.login-form { margin-top: 42px; display: grid; gap: 22px; }
.login-form label, .upload-form label, .download-dialog label { display: grid; gap: 9px; }
.login-form label > span, .upload-form label > span, .download-dialog label > span { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #625e54; }
.password-field { position: relative; display: block; min-width: 0; }
.password-field input { width: 100%; padding-right: 58px; }
.password-toggle { position: absolute; top: 0; right: 0; width: 52px; height: 50px; padding: 0; display: grid; place-items: center; color: #8f3326; border: 0; border-left: 1px solid rgba(25,25,20,.1); background: transparent; cursor: pointer; transition: color .2s, background .2s; }
.password-toggle:hover { color: var(--vermilion); background: rgba(197,59,39,.06); }
.password-toggle:focus-visible { outline: 2px solid var(--vermilion); outline-offset: -4px; }
.password-toggle svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.password-toggle .eye-slash { opacity: 0; transform-origin: center; transition: opacity .18s; }
.password-toggle.is-visible .eye-slash { opacity: 1; }
input, textarea, select { border: 1px solid rgba(25,25,20,.18); background: rgba(255,255,255,.42); color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
input, select { height: 50px; padding: 0 16px; }
textarea { padding: 14px 16px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--vermilion); box-shadow: 0 0 0 3px rgba(197,59,39,.08); }
.login-form .button { margin-top: 7px; }
.auth-switch { margin-top: 18px; padding-top: 17px; display: flex; justify-content: space-between; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 9px; }.auth-switch a { color: var(--vermilion); font-weight: 700; letter-spacing: .06em; }.auth-switch a:hover { color: var(--ink); }.page-register { background: #151612; }.page-register main { min-height: 100vh; }.register-art::after { content: "普通用户注册"; }.register-panel { min-width: 0; padding-top: 11vh; padding-bottom: 6vh; }.register-copy h1 { margin-bottom: 10px; font-size: clamp(38px,3.3vw,58px); }.register-copy > p { max-width: 470px; line-height: 1.8; }.register-form { min-width: 0; margin-top: 27px; gap: 16px; }.register-name-grid { min-width: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }.register-name-grid > label { min-width: 0; }.register-name-grid input { width: 100%; min-width: 0; }.register-permission-note { min-height: 48px; padding: 11px 14px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--hairline); background: #eee8dc; font-size: 8px; }.register-permission-note > span { color: var(--vermilion); font-weight: 700; letter-spacing: .08em; }.register-permission-note b { font-weight: 700; }.register-permission-note i { width: 3px; height: 3px; border-radius: 50%; background: var(--vermilion); }.register-permission-note em { margin-left: auto; color: var(--muted); font-style: normal; }.register-sun { background: #8f3326; }
.page-admin_login { background: #11120f; }.page-admin_login main { min-height: 100vh; }.admin-login-art { background: #181a16; }.admin-login-art::after { content: "版权管理中枢"; }.admin-logo-emblem { position: absolute; width: clamp(270px,36vw,580px); aspect-ratio: 1; top: 50%; left: 50%; overflow: hidden; border: 1px solid rgba(239,224,198,.5); border-radius: 50%; background: #eee6d7; box-shadow: 0 0 0 18px rgba(143,51,38,.12), 0 35px 80px rgba(0,0,0,.22); transform: translate(-54%,-54%); }.admin-logo-emblem::after { content: ""; position: absolute; inset: 7%; border: 1px solid rgba(143,51,38,.18); border-radius: 50%; pointer-events: none; }.admin-logo-emblem img { position: absolute; width: 212%; max-width: none; height: auto; left: -54%; top: -29%; mix-blend-mode: multiply; }.admin-login-copy h1 { margin-bottom: 12px; font-size: clamp(40px,3.5vw,61px); }.admin-access-note { margin-top: 28px; padding: 16px; display: flex; gap: 13px; border: 1px solid rgba(143,51,38,.22); background: #eee5d9; }.admin-access-note > span { color: var(--vermilion); }.admin-access-note p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.7; }.admin-access-note b { color: var(--ink); font-size: 10px; }
.security-note { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--hairline); display: flex; gap: 13px; color: #777268; font-size: 11px; }
.security-note p { margin: 0; }
.security-note b { color: #4d4941; }
.shield-icon { color: var(--vermilion); }

/* Public browsing authentication gate */
.auth-gate-dialog { width: min(880px,92vw); max-height: min(680px,90vh); padding: 0; color: var(--ink); border: 0; background: #f5f0e6; box-shadow: 0 35px 110px rgba(0,0,0,.38); overflow: hidden; }
.auth-gate-dialog[open] { display: grid; grid-template-columns: minmax(260px,.72fr) minmax(390px,1.28fr); animation: auth-gate-in .28s cubic-bezier(.2,.8,.2,1) both; }
.auth-gate-dialog::backdrop { background: rgba(12,13,10,.78); backdrop-filter: blur(5px) saturate(.7); }
.auth-gate-close { position: absolute; z-index: 3; top: 14px; right: 15px; width: 34px; height: 34px; display: grid; place-items: center; color: #716b60; border: 1px solid rgba(23,23,19,.14); background: rgba(245,240,230,.78); font-size: 22px; line-height: 1; transition: .2s; }.auth-gate-close:hover { color: #fff; border-color: var(--vermilion); background: var(--vermilion); }
.auth-gate-visual { min-height: 560px; padding: 34px 32px; position: relative; overflow: hidden; color: #eee4d2; background: #1c1e19; isolation: isolate; }.auth-gate-visual::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .24; background: radial-gradient(circle at 34% 35%, #815043 0 18%, transparent 43%), repeating-linear-gradient(122deg, transparent 0 41px, rgba(255,255,255,.08) 42px 43px); }.auth-gate-visual::after { content: "权"; position: absolute; z-index: -1; right: -25px; bottom: -78px; color: rgba(255,255,255,.045); font-family: var(--display); font-size: 245px; line-height: 1; }.auth-gate-index { display: block; color: #c8bda9; font-size: 8px; letter-spacing: .25em; }.auth-gate-seal { width: 104px; height: 104px; margin: 80px 0 27px; display: grid; place-items: center; border-radius: 50%; color: #f0dbc5; background: #9b3325; box-shadow: 0 0 0 13px rgba(155,51,37,.14); font-family: var(--display); font-size: 31px; line-height: .88; }.auth-gate-line { width: 46px; height: 2px; background: #c75a45; }.auth-gate-visual > p { margin: 23px 0 18px; font-family: var(--display); font-size: 34px; line-height: 1.32; letter-spacing: .08em; }.auth-gate-visual > small { color: #999487; font-size: 9px; line-height: 1.9; letter-spacing: .06em; }
.auth-gate-panel { padding: 62px clamp(34px,5vw,70px) 44px; position: relative; }.auth-gate-panel h2 { margin: 10px 0 7px; font-family: var(--display); font-size: 42px; font-weight: 400; letter-spacing: .08em; }.auth-gate-intro { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.8; }.auth-gate-form { margin-top: 28px; display: grid; gap: 16px; }.auth-gate-form label { display: grid; gap: 7px; }.auth-gate-form label > span { color: #625e54; font-size: 10px; font-weight: 700; letter-spacing: .08em; }.auth-gate-form .button { margin-top: 5px; }.auth-gate-register { margin-top: 17px; padding-top: 16px; display: flex; justify-content: space-between; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 9px; }.auth-gate-register a { color: var(--vermilion); font-weight: 700; }.auth-gate-scope { margin-top: 24px; padding: 13px 15px; display: flex; gap: 12px; background: #eae3d7; border-left: 2px solid var(--vermilion); }.auth-gate-scope > i { color: var(--vermilion); font-size: 9px; font-style: normal; }.auth-gate-scope p { margin: 0; }.auth-gate-scope b { display: block; font-size: 9px; }.auth-gate-scope span { display: block; margin-top: 2px; color: #827c71; font-size: 8px; line-height: 1.65; }
@keyframes auth-gate-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }

/* Home channel navigation and editorial archive hero */
.home-channel-nav { min-height: 62px; position: relative; z-index: 25; color: #eee9df; background: #34343a; box-shadow: 0 8px 22px rgba(17,17,14,.12); }
.channel-nav-inner { width: min(1240px,94vw); min-height: 62px; margin: auto; display: grid; grid-template-columns: 245px repeat(4,minmax(120px,1fr)); }
.channel-nav-inner > a,.channel-category-menu > summary { min-height: 62px; display: flex; align-items: center; justify-content: center; position: relative; color: #eee9df; font-size: 15px; letter-spacing: .06em; transition: background .2s,color .2s; }
.channel-nav-inner > a:hover,.channel-nav-inner > a.active,.channel-category-menu[open] > summary { color: #fff; background: #29292e; }
.channel-nav-inner > a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 3px; background: var(--vermilion); transition: .22s; }.channel-nav-inner > a:hover::after,.channel-nav-inner > a.active::after { left: 20%; right: 20%; }
.channel-category-menu { position: relative; }.channel-category-menu > summary { justify-content: flex-start; gap: 14px; padding: 0 26px; list-style: none; background: #2b2b30; cursor: pointer; }.channel-category-menu > summary::-webkit-details-marker { display: none; }.channel-category-menu > summary i { width: 22px; height: 16px; border-block: 2px solid currentColor; position: relative; }.channel-category-menu > summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; border-top: 2px solid currentColor; }.channel-category-menu > summary span { font-size: 16px; font-weight: 700; }.channel-category-menu > summary b { margin-left: auto; font-size: 12px; transition: transform .2s; }.channel-category-menu[open] > summary b { transform: rotate(180deg); }
.channel-category-panel { width: 470px; padding: 17px; position: absolute; top: 62px; left: 0; display: grid; grid-template-columns: repeat(3,1fr); background: #f4efe5; color: var(--ink); box-shadow: 0 25px 65px rgba(15,15,12,.28); border: 1px solid rgba(255,255,255,.15); }.channel-category-panel a { min-height: 52px; padding: 10px 13px; display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--hairline); margin: -1px 0 0 -1px; font-size: 10px; }.channel-category-panel a:hover,.channel-category-panel a.active { color: #fff6e8; background: var(--vermilion); border-color: var(--vermilion); }.channel-category-panel b { color: #9a9388; font-size: 8px; }.channel-category-panel a:hover b,.channel-category-panel a.active b { color: #f1c7ba; }
.home-hero { min-height: 570px; padding: 70px 6.5vw 72px; color: #f0e9db; background: #181914; display: grid; grid-template-columns: 80px minmax(430px,1fr) minmax(390px,500px); align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(10,11,9,.96) 0%, rgba(10,11,9,.9) 34%, rgba(10,11,9,.6) 55%, rgba(10,11,9,.1) 82%), url("home-archive-bg.png") center right / cover no-repeat; }
.home-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .32; background: repeating-linear-gradient(118deg, transparent 0 74px, rgba(255,255,255,.025) 75px 76px); }
.hero-index, .hero-copy, .hero-showcase { position: relative; z-index: 2; }
.hero-index { height: 100%; display: flex; flex-direction: column; align-items: center; border-right: 1px solid rgba(255,255,255,.13); }
.hero-index span { writing-mode: vertical-rl; font-size: 8px; letter-spacing: .35em; color: #a8a397; }
.hero-index b { margin-top: auto; font-size: 30px; font-weight: 400; }
.hero-index i { width: 1px; height: 42px; margin: 11px 0; background: var(--vermilion); }
.hero-index small { writing-mode: vertical-rl; font-size: 9px; color: #a8a397; letter-spacing: .22em; }
.hero-copy { padding-left: clamp(35px, 4.5vw, 76px); align-self: center; }
.hero-copy h1 { margin: 14px 0 22px; font-family: var(--display); font-size: clamp(50px, 5.3vw, 82px); font-weight: 400; line-height: 1.08; letter-spacing: .05em; }
.hero-copy h1 em { font-style: normal; color: #d5c9b6; }
.hero-copy p { max-width: 620px; color: #aaa59b; font-size: 13px; letter-spacing: .06em; }
.hero-showcase { min-height: 430px; display: grid; grid-template-columns: 118px; justify-content: end; align-items: center; gap: 22px; }
.hero-manuscript { display: none; width: 325px; height: 420px; position: relative; justify-self: center; perspective: 900px; animation: hero-dossier-in .65s cubic-bezier(.16,.8,.25,1) both; }
.manuscript-shadow { position: absolute; left: 24px; right: -18px; bottom: -17px; height: 65px; background: rgba(0,0,0,.38); filter: blur(22px); transform: rotate(-4deg); }
.manuscript-page { position: absolute; inset: 16px 4px 5px 22px; background: #d8d0c0; border: 1px solid rgba(255,255,255,.2); transform-origin: bottom left; }.page-back { transform: rotate(8deg) translate(18px,-3px); color: #766e62; }.page-back span { position: absolute; right: 20px; bottom: 18px; font-family: Georgia,serif; font-size: 7px; letter-spacing: .25em; }.page-middle { transform: rotate(3.5deg) translate(8px,0); background: #e9e1d1; }.page-middle i { display: block; width: 70%; height: 1px; margin: 35px 0 0 55px; background: rgba(45,42,35,.16); }
.manuscript-cover { position: absolute; inset: 0 22px 15px 0; padding: 35px 34px 31px 52px; overflow: hidden; color: #292720; background: #e8dfce; border: 1px solid rgba(255,255,255,.32); box-shadow: 0 22px 45px rgba(0,0,0,.24); transform: rotate(-2deg); }.manuscript-cover::before { content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: #9e3124; box-shadow: 7px 0 0 rgba(158,49,36,.16); }.manuscript-cover::after { content: "稿"; position: absolute; right: -25px; bottom: -55px; color: rgba(143,51,38,.07); font-family: var(--display); font-size: 205px; line-height: 1; }
.manuscript-series { position: relative; z-index: 1; color: #8f3326; font-family: Georgia,serif; font-size: 7px; letter-spacing: .22em; }.manuscript-cover > strong { position: relative; z-index: 1; display: block; margin-top: 72px; font-family: var(--display); font-size: 43px; line-height: 1.15; font-weight: 400; letter-spacing: .12em; }.manuscript-cover > p { position: relative; z-index: 1; margin: 12px 0 0; color: #746d61; font-family: Georgia,serif; font-size: 7px; letter-spacing: .14em; }.manuscript-code { position: absolute; z-index: 1; left: 52px; bottom: 33px; display: flex; flex-direction: column; }.manuscript-code span { color: #90887b; font-size: 6px; letter-spacing: .17em; }.manuscript-code b { margin-top: 2px; font-family: Georgia,serif; font-size: 11px; font-weight: 400; }.manuscript-seal { position: absolute; z-index: 1; right: 28px; bottom: 28px; width: 53px; height: 53px; border: 2px solid #a03728; border-radius: 50%; display: grid; place-items: center; color: #a03728; font-family: var(--display); font-size: 12px; line-height: 1.1; text-align: center; transform: rotate(-11deg); }.manuscript-binding { position: absolute; left: 10px; top: 25px; bottom: 25px; display: flex; flex-direction: column; justify-content: space-around; }.manuscript-binding i { width: 19px; height: 8px; border: 2px solid #2a2923; border-radius: 8px; background: #b8aa94; }
.hero-stats { display: grid; border-left: 1px solid rgba(255,255,255,.13); }
.hero-stats div { padding: 19px 0 19px 22px; display: flex; flex-direction: column; border-bottom: 1px solid rgba(255,255,255,.08); }.hero-stats div:last-child { border-bottom: 0; }
.hero-stats strong { font-size: 31px; font-weight: 500; font-variant-numeric: tabular-nums; }
.hero-stats span { color: #918d84; font-size: 8px; letter-spacing: .14em; }
@keyframes hero-dossier-in { from { opacity: 0; transform: translate(28px,22px) rotate(3deg); } to { opacity: 1; transform: none; } }
.search-deck { width: min(1280px, 86vw); margin: -31px auto 0; position: relative; z-index: 5; background: #fbf8f0; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr auto; }
.catalog-search { height: 70px; display: grid; grid-template-columns: 60px 1fr 120px; align-items: center; }
.catalog-search input { height: 100%; border: 0; background: transparent; font-size: 15px; }
.search-mark { display: grid; place-items: center; font-size: 25px; color: var(--vermilion); }
.catalog-search button { height: 38px; margin-right: 16px; border: 0; background: var(--ink); color: #fff; font-size: 11px; letter-spacing: .14em; }
.author-search-matches { margin-top: 72px; padding: 30px 34px; display: grid; grid-template-columns: 260px 1fr; gap: 28px; border: 1px solid var(--hairline); background: rgba(255,255,255,.46); }.author-match-head > span { color: var(--vermilion); font-size: 8px; letter-spacing: .18em; }.author-match-head h2 { margin: 9px 0 5px; font-family: var(--display); font-size: 25px; font-weight: 400; }.author-match-head p { margin: 0; color: var(--muted); font-size: 9px; }.author-match-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); }.author-match-list a { min-height: 84px; padding: 14px 16px; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); transition: background .2s,color .2s; }.author-match-list a:hover { background: var(--ink); color: #f6efe2; }.author-match-list i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--vermilion); color: white; font-family: var(--display); font-size: 19px; font-style: normal; }.author-match-list b { display: block; font-family: var(--display); font-size: 17px; font-weight: 400; }.author-match-list span { color: var(--muted); font-size: 8px; }.author-match-list em { color: var(--vermilion); font-size: 8px; font-style: normal; }
.security-ribbon { padding: 0 28px; display: flex; align-items: center; gap: 12px; background: #e7e0d3; color: #6d685e; font-size: 9px; letter-spacing: .13em; }
.security-ribbon i { width: 3px; height: 3px; background: var(--vermilion); transform: rotate(45deg); }

.featured-section { margin-top: 105px; }
.section-heading { display: flex; align-items: end; gap: 35px; margin-bottom: 36px; }
.section-heading > div:first-child { min-width: max-content; }
.section-heading h2 { display: inline-block; margin: 0 14px 0 0; font-family: var(--display); font-size: 34px; font-weight: 400; letter-spacing: .08em; }
.section-heading p { display: inline; color: var(--muted); font-size: 11px; }
.section-no { display: block; margin-bottom: 8px; color: var(--vermilion); font-size: 8px; font-weight: 700; letter-spacing: .27em; }
.brush-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--hairline), transparent); margin-bottom: 13px; }
.featured-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 18px; align-items: stretch; }
.featured-card { min-height: 410px; background: #e8e2d6; display: grid; grid-template-columns: 46% 1fr; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.featured-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-2, .feature-3 { grid-template-columns: 1fr; grid-template-rows: minmax(315px,1.35fr) auto; }
.feature-2 .cover-art, .feature-3 .cover-art { display: flex; min-height: 315px; }
.feature-2 .feature-copy, .feature-3 .feature-copy { min-height: 175px; padding: 24px 26px 22px; background: #2d342e; color: #eee7d8; }
.feature-3 .feature-copy { background: #8f3326; }
.feature-2 .feature-copy h3,.feature-3 .feature-copy h3 { margin: 11px 0 7px; font-size: 23px; }
.feature-2 .feature-copy p,.feature-3 .feature-copy p { -webkit-line-clamp: 2; }
.feature-2 .feature-meta,.feature-3 .feature-meta { margin-top: auto; padding-top: 12px; }
.cover-art, .mini-cover, .detail-cover, .recent-glyph { position: relative; overflow: hidden; isolation: isolate; }
.cover-uploaded { background: #211f1b !important; color: #fff7e9; }
.uploaded-cover-image { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-uploaded::before { z-index: 1 !important; opacity: 1 !important; background: linear-gradient(180deg, rgba(14,13,11,.13), transparent 35%, rgba(14,13,11,.42)) !important; }
.cover-uploaded > :not(.uploaded-cover-image) { position: relative; z-index: 2; }
.detail-cover.cover-uploaded::after { z-index: 3; }
.cover-art::before, .mini-cover::before, .detail-cover::before { content: ""; position: absolute; inset: 0; opacity: .25; z-index: -1; background: repeating-linear-gradient(130deg, transparent 0 24px, rgba(255,255,255,.25) 25px 26px); }
.cover-ochre { background: #b36e32 !important; color: #fff5de; }
.cover-rose { background: #994d4b !important; color: #fff0e7; }
.cover-jade { background: #416456 !important; color: #e8f0e6; }
.cover-cobalt { background: #34556b !important; color: #e8f1f1; }
.cover-violet { background: #554b66 !important; color: #f1e9f5; }
.cover-carbon { background: #33393b !important; color: #ecf2ee; }
.cover-amber { background: #8a603e !important; color: #fff0d5; }
.cover-celadon { background: #53716c !important; color: #e9f4ee; }
.cover-slate { background: #4d5964 !important; color: #edf2f3; }
.cover-earth { background: #756451 !important; color: #f5ead8; }
.cover-army { background: #4b5744 !important; color: #eef0df; }
.cover-neon { background: #334f5e !important; color: #e4f3f4; }
.cover-teal { background: #35645f !important; color: #e7f5ec; }
.cover-void { background: #433d59 !important; color: #f0eafb; }
.cover-shadow { background: #3b3a43 !important; color: #eeeaf2; }
.cover-sakura { background: #98616c !important; color: #fff0f1; }
.cover-ink { background: #35342f !important; color: #f2ebdc; }
.cover-art { padding: 30px; display: flex; flex-direction: column; }
.cover-category { align-self: flex-start; padding: 4px 9px; border: 1px solid currentColor; font-size: 8px; letter-spacing: .18em; }
.cover-glyph { position: absolute; right: -13px; top: 12px; font-family: var(--display); font-size: 142px; opacity: .13; }
.cover-art h3 { margin: auto 0 5px; font-family: var(--display); font-size: 30px; font-weight: 400; line-height: 1.35; }
.cover-art small { font-size: 8px; letter-spacing: .14em; opacity: .7; }
.cover-rule { width: 30px; height: 2px; margin-top: 16px; background: currentColor; }
.feature-copy { padding: 36px; display: flex; flex-direction: column; }
.feature-copy > span { font-size: 8px; letter-spacing: .18em; opacity: .65; }
.feature-copy h3 { margin: 32px 0 12px; font-family: var(--display); font-size: 28px; font-weight: 400; line-height: 1.35; }
.feature-copy p { margin: 0; color: inherit; opacity: .68; font-size: 11px; }
.feature-meta { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(30,30,25,.14); display: flex; justify-content: space-between; font-size: 9px; }
.feature-meta b { color: var(--vermilion); }
.feature-2 .feature-meta, .feature-3 .feature-meta { border-color: rgba(255,255,255,.16); }
.feature-2 .feature-meta b, .feature-3 .feature-meta b { color: #e4b09c; }

.home-author-zone { margin-top: 105px; }
.home-author-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); }
.home-author-grid a { min-height: 155px; padding: 25px 24px; display: grid; grid-template-columns: 58px 1fr 24px; align-items: center; gap: 17px; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: rgba(255,255,255,.22); transition: color .22s,background .22s,transform .22s; }.home-author-grid a:hover { z-index: 1; color: #f5eddf; background: #252620; transform: translateY(-3px); box-shadow: 0 18px 35px rgba(26,23,17,.13); }.home-author-grid > a > i { width: 55px; height: 55px; border: 1px solid #a84b3b; border-radius: 50%; display: grid; place-items: center; color: #fff1e2; background: var(--vermilion-dark); font-family: var(--display); font-size: 25px; font-style: normal; box-shadow: 0 0 0 7px rgba(143,39,26,.08); }.home-author-grid div > span { color: var(--vermilion); font-family: Georgia,serif; font-size: 7px; letter-spacing: .18em; }.home-author-grid h3 { margin: 5px 0 2px; font-family: var(--display); font-size: 21px; font-weight: 400; }.home-author-grid p { margin: 0; color: #898378; font-size: 8px; }.home-author-grid a:hover p { color: #a9a296; }.home-author-grid > a > b { color: var(--vermilion); font-size: 18px; font-weight: 400; }

.library-section { margin-top: 110px; }
.library-heading { justify-content: space-between; }
.view-tools { display: flex; align-items: center; gap: 7px; }
.view-tools label { margin-right: 12px; font-size: 9px; color: var(--muted); }
.view-tools select { height: 34px; margin-left: 8px; padding: 0 26px 0 10px; border: 0; border-bottom: 1px solid var(--hairline); background: transparent; font-size: 10px; }
.view-toggle { width: 34px; height: 34px; border: 1px solid var(--hairline); color: #777268; background: transparent; }
.view-toggle.active { background: var(--ink); color: #fff; }
.category-tabs { display: flex; border-block: 1px solid var(--hairline); overflow-x: auto; margin-bottom: 34px; }
.category-tabs a { min-width: 104px; padding: 15px 20px; display: flex; justify-content: center; align-items: center; gap: 9px; color: #615d54; position: relative; white-space: nowrap; }
.category-tabs a + a { border-left: 1px solid var(--hairline); }
.category-tabs a::after { content: ""; position: absolute; left: 20%; right: 80%; bottom: -1px; height: 2px; background: var(--vermilion); transition: .25s; }
.category-tabs a.active { color: var(--ink); font-weight: 700; }
.category-tabs a.active::after, .category-tabs a:hover::after { right: 20%; }
.category-tabs b { color: #a09a8f; font-size: 8px; }
.script-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.script-card { min-height: 274px; display: grid; grid-template-columns: 174px 1fr; background: rgba(255,255,255,.38); border: 1px solid rgba(32,31,26,.10); transition: background .25s, transform .25s, box-shadow .25s; }
.script-card:hover { background: rgba(255,255,255,.75); transform: translateY(-3px); box-shadow: 0 15px 38px rgba(30,28,22,.09); }
.mini-cover { margin: 18px; padding: 18px; display: flex; flex-direction: column; min-width: 138px; }
.mini-cover .cover-category { font-size: 7px; }
.mini-cover h3 { margin: auto 0 4px; font-family: var(--display); font-size: 20px; line-height: 1.4; font-weight: 400; }
.mini-cover small { font-size: 6px; letter-spacing: .2em; opacity: .65; }
.mini-glyph { position: absolute; right: -8px; top: 25px; opacity: .13; font-family: var(--display); font-size: 90px; }
.card-copy { padding: 26px 26px 20px 6px; display: flex; flex-direction: column; min-width: 0; }
.card-status { display: flex; justify-content: space-between; align-items: center; }
.card-status span { color: #55765e; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.card-status span::before { content: ""; width: 5px; height: 5px; display: inline-block; border-radius: 50%; background: #63896c; margin-right: 6px; }
.card-status b { padding: 2px 7px; border: 1px solid var(--hairline); color: #8b857b; font-size: 7px; }
.card-copy h3 { margin: 18px 0 8px; font-family: var(--display); font-size: 22px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-copy p { margin: 0; color: #7b766d; font-size: 10px; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tag-line { margin-top: 13px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag-line span, .detail-tags span { padding: 3px 8px; color: #7b665d; background: #e9dfd3; font-size: 8px; }
.card-foot { margin-top: auto; padding-top: 13px; border-top: 1px solid var(--hairline); display: flex; gap: 15px; color: #969086; font-size: 8px; }
.card-foot a { margin-left: auto; color: var(--vermilion); font-weight: 700; }
.script-grid.list-view { grid-template-columns: 1fr; }
.script-grid.list-view .script-card { min-height: 180px; grid-template-columns: 130px 1fr; }
.script-grid.list-view .mini-cover { min-width: 94px; }
.empty-state { padding: 100px 20px; text-align: center; border: 1px dashed var(--hairline); }
.empty-state > span { width: 65px; height: 65px; display: grid; place-items: center; margin: auto; border-radius: 50%; background: var(--paper-deep); color: var(--vermilion); font-family: var(--display); font-size: 27px; }
.empty-state h3 { font-family: var(--display); font-size: 24px; font-weight: 400; }
.empty-state p { color: var(--muted); }.empty-state a { color: var(--vermilion); }

/* Detail */
.detail-mast { padding: 60px max(4.5vw, calc((100vw - 1320px)/2)) 85px; background: #e9e3d7; }
.back-link { display: inline-block; margin-bottom: 38px; color: #777168; font-size: 10px; letter-spacing: .08em; }
.back-link:hover { color: var(--vermilion); }
.detail-grid { display: grid; grid-template-columns: minmax(270px, 380px) 1fr; gap: clamp(55px, 8vw, 130px); }
.detail-cover { min-height: 510px; padding: 38px; box-shadow: 22px 24px 0 rgba(24,24,20,.08); display: flex; flex-direction: column; }
.detail-cover::after { content: ""; position: absolute; inset: 15px; border: 1px solid rgba(255,255,255,.32); pointer-events: none; }
.detail-glyph { position: absolute; right: -25px; top: 20px; font-family: var(--display); font-size: 220px; opacity: .12; }
.detail-cover h2 { margin: auto 0 12px; font-family: var(--display); font-size: 42px; line-height: 1.3; font-weight: 400; }
.detail-cover > p { font-size: 7px; letter-spacing: .25em; }
.rights-badge { position: absolute; right: 28px; bottom: 28px; padding: 9px; border: 1px solid currentColor; text-align: center; font-size: 8px; transform: rotate(-5deg); }
.rights-badge b { font-size: 10px; }
.detail-copy { align-self: center; max-width: 760px; }
.detail-kicker { display: flex; align-items: center; gap: 12px; color: var(--vermilion); font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.detail-kicker i { width: 25px; height: 1px; background: var(--vermilion); }
.detail-copy h1 { margin: 24px 0 8px; font-family: var(--serif); font-size: clamp(43px, 5vw, 74px); line-height: 1.15; font-weight: 500; letter-spacing: .04em; }
.detail-author { color: #817b71; font-size: 10px; letter-spacing: .1em; }
.detail-synopsis { margin: 34px 0 22px; padding-left: 20px; border-left: 2px solid var(--vermilion); color: #625d54; font-size: 13px; max-width: 660px; }
.detail-tags { display: flex; gap: 7px; }
.detail-facts { margin: 38px 0; display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--hairline); }
.detail-facts div { padding: 17px 0; }
.detail-facts div + div { padding-left: 20px; border-left: 1px solid var(--hairline); }
.detail-facts dt { color: #8f897f; font-size: 8px; letter-spacing: .1em; }.detail-facts dd { margin: 4px 0 0; font-weight: 700; font-size: 12px; }
.download-hint { display: inline-block; margin-left: 17px; color: #867f75; font-size: 9px; }.download-hint span { color: var(--vermilion); }
.detail-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.button-reader { color: var(--ink); background: transparent; border: 1px solid rgba(23,23,19,.28); box-shadow: none; }
.button-reader:hover { color: var(--vermilion); border-color: var(--vermilion); }
.button-edit { color: #7a2d23; background: #efe4d6; border: 1px solid rgba(143,51,38,.28); box-shadow: none; }
.button-edit:hover { color: #fff8ec; background: #8f3326; border-color: #8f3326; }
.inline-admin-action { margin: 0; }
.button-owner-delete { color: #765e55; background: transparent; border: 1px dashed rgba(108,85,76,.35); box-shadow: none; }
.button-owner-delete:hover { color: #fff7ed; background: #6f2d25; border-style: solid; border-color: #6f2d25; }
.button-takedown { color: #6c554c; background: transparent; border: 1px solid rgba(108,85,76,.28); box-shadow: none; }
.button-takedown:hover { color: #fff7ed; background: #6f2d25; border-color: #6f2d25; }
.rights-strip { width: min(1120px, 88vw); margin: -22px auto 85px; padding: 25px 38px; position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; background: var(--ink); color: #eee7da; box-shadow: var(--shadow); }
.rights-strip > div { display: flex; gap: 14px; align-items: center; }.rights-strip > i { width: 1px; height: 35px; background: rgba(255,255,255,.13); }
.rights-strip span { color: #c75a45; font-size: 19px; }.rights-strip p { margin: 0; color: #a7a298; font-size: 9px; }.rights-strip b { display: block; color: #eee7da; font-size: 11px; letter-spacing: .08em; }
.related-section { margin-top: 70px; }.related-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--hairline); }
.related-grid a { padding: 20px 10px; display: grid; grid-template-columns: 35px 1fr 20px; align-items: center; border-bottom: 1px solid var(--hairline); transition: padding .2s, background .2s; }
.related-grid a:nth-child(odd) { border-right: 1px solid var(--hairline); }.related-grid a:hover { padding-inline: 20px; background: rgba(255,255,255,.42); }
.related-index { color: var(--vermilion); font-size: 9px; }.related-grid b { display: block; font-family: var(--display); font-size: 18px; font-weight: 400; }.related-grid small { color: var(--muted); font-size: 8px; }.related-grid em { color: var(--vermilion); font-style: normal; }

/* Story introduction and first-ten preview */
.preview-section { margin-top: 105px; display: grid; grid-template-columns: .84fr 1.16fr; border: 1px solid var(--hairline); background: rgba(255,255,255,.28); }
.story-intro-panel { padding: 48px 48px 54px; border-right: 1px solid var(--hairline); }
.story-intro-panel .section-heading { margin-bottom: 30px; }
.intro-body { min-height: 285px; position: relative; display: grid; grid-template-columns: 1fr 110px; gap: 30px; align-content: start; }
.intro-quote { position: absolute; left: -13px; top: -30px; color: rgba(197,59,39,.13); font-family: Georgia,serif; font-size: 110px; line-height: 1; }
.intro-body > div { position: relative; z-index: 1; }
.intro-body p { margin: 0 0 18px; color: #5f5a51; font-size: 13px; line-height: 2.05; text-align: justify; }
.intro-body aside { align-self: end; padding: 20px 0 0 18px; border-left: 1px solid var(--hairline); display: flex; flex-direction: column; }
.intro-body aside span,.intro-body aside small { color: #918b81; font-size: 8px; letter-spacing: .1em; }
.intro-body aside b { margin: 5px 0; color: var(--vermilion); font-family: Georgia,serif; font-size: 12px; }
.trial-catalog { padding: 48px; }
.catalog-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 28px; }
.catalog-head h2 { margin: 0; font-family: var(--display); font-size: 34px; font-weight: 400; letter-spacing: .06em; }
.catalog-head p { margin: 3px 0 0; color: var(--muted); font-size: 9px; }
.catalog-head > a { color: var(--vermilion); font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.chapter-preview-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--hairline); }
.chapter-preview-grid a { min-height: 81px; padding: 15px 12px; display: grid; grid-template-columns: 57px 1fr 15px; align-items: center; gap: 10px; border-bottom: 1px solid var(--hairline); transition: background .2s,padding .2s; }
.chapter-preview-grid a:nth-child(odd) { border-right: 1px solid var(--hairline); }
.chapter-preview-grid a:hover { padding-inline: 18px; background: #fffaf0; }
.chapter-preview-grid > a > span { color: var(--vermilion); font-size: 8px; font-weight: 700; letter-spacing: .05em; }
.chapter-preview-grid b { display: block; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--display); font-size: 16px; font-weight: 400; }
.chapter-preview-grid small { color: #928c82; font-size: 7px; }
.chapter-preview-grid em { color: var(--vermilion); font-style: normal; }
.preview-empty { min-height: 260px; border: 1px dashed var(--hairline); display: flex; align-items: center; justify-content: center; gap: 18px; text-align: left; }
.preview-empty > span { width: 50px; height: 50px; border: 1px solid #b8afa1; display: grid; place-items: center; color: var(--vermilion); font-family: var(--display); font-size: 21px; }
.preview-empty b { font-family: var(--display); font-size: 18px; font-weight: 400; }.preview-empty p { max-width: 310px; margin: 4px 0; color: var(--muted); font-size: 9px; }

/* Immersive screenplay reader */
.page-script_read { background: #e7e1d5; transition: background .25s,color .25s; }
.page-script_read .site-header { position: relative; background: #f1ece2; }
.page-script_read .site-footer { display: none; }
.reading-progress { position: fixed; left: 0; top: 0; z-index: 100; width: 0; height: 3px; background: var(--vermilion); }
.reader-shell { width: min(980px,92vw); margin: 34px auto 80px; }
.reader-book-head { padding: 0 8px 18px; display: flex; justify-content: space-between; color: #777168; font-size: 9px; letter-spacing: .08em; }
.reader-book-head a:hover { color: var(--vermilion); }
.reading-paper { min-height: 900px; padding: 82px clamp(48px,9vw,120px) 70px; position: relative; overflow: hidden; background: #f7f3e9; box-shadow: 0 25px 70px rgba(37,31,23,.12); }
.reader-watermark { position: absolute; inset: 0; z-index: 0; display: grid; grid-template-columns: repeat(2,1fr); align-content: space-around; transform: rotate(-18deg) scale(1.2); pointer-events: none; opacity: .035; }
.reader-watermark span { font-size: 13px; font-weight: 700; white-space: nowrap; text-align: center; }
.reader-title,.reader-content,.reader-end { position: relative; z-index: 1; }
.reader-title { padding-bottom: 38px; border-bottom: 1px solid rgba(34,32,27,.14); text-align: center; }
.reader-title > span { color: var(--vermilion); font-size: 9px; font-weight: 700; letter-spacing: .2em; }
.reader-title h1 { margin: 13px 0 8px; font-family: var(--display); font-size: clamp(35px,5vw,54px); line-height: 1.35; font-weight: 400; }
.reader-title p { margin: 0; color: #9a9389; font-size: 8px; letter-spacing: .1em; }
.reader-content { padding-top: 40px; }
.reader-content p { margin: 0 0 19px; color: #302e29; font-size: 16px; line-height: 2.05; text-align: justify; white-space: pre-wrap; }
.reader-content p.stage-line { padding: 9px 15px; color: #716a60; background: rgba(72,65,55,.055); border-left: 2px solid #b9aa97; font-size: 13px; }
.reader-end { margin: 60px 0 10px; display: flex; align-items: center; justify-content: center; gap: 13px; color: #9b9488; font-size: 8px; letter-spacing: .18em; }
.reader-end i { width: 40px; height: 1px; background: var(--hairline); }
.reader-bottom-nav { margin-top: 24px; min-height: 86px; display: grid; grid-template-columns: 1fr 150px 1fr; background: #f2ede3; box-shadow: 0 14px 35px rgba(37,31,23,.08); }
.reader-bottom-nav > * { padding: 17px 24px; border: 0; background: transparent; display: flex; flex-direction: column; justify-content: center; }
.reader-bottom-nav > * + * { border-left: 1px solid var(--hairline); }
.reader-bottom-nav small { color: #979085; font-size: 8px; }.reader-bottom-nav b { max-width: 270px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--display); font-size: 15px; font-weight: 400; }
.reader-bottom-nav .next { text-align: right; align-items: flex-end; }.reader-bottom-nav button { align-items: center; }.reader-bottom-nav a:hover b,.reader-bottom-nav button:hover b { color: var(--vermilion); }
.reader-tools { position: fixed; left: calc(50% + 510px); top: 42%; z-index: 12; display: grid; gap: 6px; }
.reader-tools > * { width: 52px; height: 55px; border: 0; background: #f5f0e6; color: #686258; box-shadow: 0 6px 20px rgba(32,29,23,.07); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.reader-tools b { font-size: 16px; line-height: 1; }.reader-tools span { margin-top: 4px; font-size: 7px; }.reader-tools > *:hover { color: var(--vermilion); background: #fffaf0; }
.toc-dialog { width: min(640px,calc(100vw - 28px)); max-height: 82vh; padding: 42px 48px 48px; border: 0; background: #f5f0e6; box-shadow: 0 35px 100px rgba(0,0,0,.35); }
.toc-dialog::backdrop { background: rgba(18,18,15,.7); backdrop-filter: blur(4px); }.toc-dialog h2 { margin: 8px 0 0; font-family: var(--display); font-size: 34px; font-weight: 400; }.toc-dialog > p { margin: 2px 0 25px; color: var(--muted); font-size: 9px; }
.reader-toc-list { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--hairline); }.reader-toc-list a { padding: 15px 10px; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px; border-bottom: 1px solid var(--hairline); }.reader-toc-list a:nth-child(odd) { border-right: 1px solid var(--hairline); }.reader-toc-list a.active { background: #e9ddd0; }.reader-toc-list span { color: var(--vermilion); font-size: 8px; }.reader-toc-list b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--display); font-size: 15px; font-weight: 400; }.reader-toc-list em { color: #969087; font-size: 7px; font-style: normal; }
.reader-night { background: #151713; color: #d8d1c5; }.reader-night .site-header { background: #1e211c; border-color: rgba(255,255,255,.1); }.reader-night .brand-copy b,.reader-night .main-nav a { color: #ded7ca; }.reader-night .reading-paper,.reader-night .reader-bottom-nav,.reader-night .reader-tools > * { background: #20231e; }.reader-night .reader-content p { color: #d4cec2; }.reader-night .reader-content p.stage-line { color: #aaa398; background: rgba(255,255,255,.04); }.reader-night .reader-title,.reader-night .reader-bottom-nav > * + * { border-color: rgba(255,255,255,.1); }.reader-night .paper-noise { opacity: .08; }

.download-dialog { width: min(520px, calc(100vw - 30px)); padding: 44px 50px 48px; border: 0; background: #f4f0e6; color: var(--ink); box-shadow: 0 30px 90px rgba(0,0,0,.35); overflow: visible; }
.download-dialog::backdrop { background: rgba(14,15,12,.72); backdrop-filter: blur(5px); }
.download-dialog[open] { animation: dialog-in .25s ease both; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.dialog-close { position: absolute; right: 14px; top: 12px; border: 0; background: transparent; font-size: 25px; color: #8b857a; }
.dialog-seal { position: absolute; right: 50px; top: 50px; width: 47px; height: 47px; border: 1px solid #b64a38; color: #b64a38; display: grid; place-items: center; font-family: var(--display); font-size: 21px; transform: rotate(7deg); }
.download-dialog h2 { margin: 10px 0 8px; font-family: var(--display); font-size: 34px; font-weight: 400; }.download-dialog > p { color: var(--muted); font-size: 11px; max-width: 330px; }
.download-dialog form { margin-top: 28px; display: grid; gap: 18px; }.dialog-notice { padding: 14px 16px; background: #e8e0d3; border-left: 2px solid var(--vermilion); }.dialog-notice b { font-size: 10px; }.dialog-notice p { margin: 3px 0 0; color: #716b61; font-size: 9px; }

/* Admin */
.admin-head { padding-top: 70px; display: flex; justify-content: space-between; align-items: end; }.admin-head h1 { margin: 7px 0 0; font-family: var(--display); font-size: 54px; font-weight: 400; }.admin-head p { margin: 0; color: var(--muted); font-size: 11px; }
.metric-row { margin-top: 48px; display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }.metric-card { min-height: 165px; padding: 25px; position: relative; overflow: hidden; background: #e6dfd2; display: flex; flex-direction: column; }.metric-card > span { color: #7a756b; font-size: 9px; letter-spacing: .12em; }.metric-card strong { margin-top: 9px; font-size: 43px; font-weight: 500; line-height: 1.1; }.metric-card small { margin-top: auto; color: #817b70; font-size: 9px; }.metric-card > i { position: absolute; right: 14px; bottom: 3px; color: rgba(24,24,20,.05); font-size: 34px; font-style: normal; font-weight: 900; }.metric-card.metric-dark { background: var(--ink); color: #f2ebdd; }.metric-dark > span, .metric-dark small { color: #a49f95; }.metric-dark > i { color: rgba(255,255,255,.05); }
.admin-grid { margin-top: 22px; display: grid; grid-template-columns: 1fr 330px; gap: 18px; }.admin-panel { background: rgba(255,255,255,.45); border: 1px solid var(--hairline); }.panel-head { min-height: 83px; padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--hairline); }.panel-head span { color: var(--vermilion); font-size: 7px; font-weight: 700; letter-spacing: .23em; }.panel-head h2 { margin: 2px 0 0; font-family: var(--display); font-size: 22px; font-weight: 400; }.live-badge { padding: 4px 8px; background: #dfe8de; color: #537259; font-size: 8px; }.live-badge i { width: 5px; height: 5px; display: inline-block; margin-right: 5px; border-radius: 50%; background: #5f8b65; }
.audit-table-wrap { overflow-x: auto; }.audit-table { width: 100%; border-collapse: collapse; font-size: 9px; }.audit-table th { padding: 12px 15px; text-align: left; color: #8b857c; background: #e9e3d7; font-weight: 500; white-space: nowrap; }.audit-table td { padding: 15px; border-top: 1px solid rgba(25,25,20,.09); white-space: nowrap; }.audit-table td:nth-child(2) { max-width: 210px; overflow: hidden; text-overflow: ellipsis; }.audit-table a { font-weight: 700; }.audit-table code { color: var(--vermilion-dark); font-family: Consolas, monospace; font-size: 8px; }.panel-empty { min-height: 240px; display: grid; place-items: center; align-content: center; color: var(--muted); text-align: center; }.panel-empty span { font-size: 35px; }.panel-empty p { max-width: 290px; font-size: 10px; }
.recent-item { min-height: 72px; display: grid; grid-template-columns: 1fr auto; align-items: stretch; border-bottom: 1px solid var(--hairline); }
.recent-main { min-width: 0; padding: 12px 9px 12px 17px; display: grid; grid-template-columns: 45px 1fr 14px; align-items: center; gap: 12px; }.recent-main:hover { background: #fffaf1; }.recent-glyph { width: 40px; height: 46px; display: grid; place-items: center; font-family: var(--display); font-size: 21px; }.recent-list b { display: block; max-width: 185px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }.recent-list small { color: var(--muted); font-size: 8px; }.recent-list em { color: var(--vermilion); font-style: normal; }
.recent-item form { display: grid; place-items: center; padding-right: 12px; }.admin-text-action { padding: 5px 7px; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: #7b746b; font: inherit; font-size: 8px; letter-spacing: .08em; cursor: pointer; }.admin-text-action.danger:hover { color: var(--vermilion); }
.shelf-panel { margin-top: 24px; margin-bottom: 75px; }.shelf-panel .panel-head p { margin: 4px 0 0; color: var(--muted); font-size: 8px; }.shelf-count { color: #8e877d; font-size: 8px; font-weight: 400; letter-spacing: .08em; }.shelf-list { border-top: 1px solid var(--hairline); }.shelf-row { min-height: 78px; padding: 12px 18px; display: grid; grid-template-columns: 45px minmax(0,1fr) 70px 125px; gap: 16px; align-items: center; border-bottom: 1px solid var(--hairline); }.shelf-index { color: var(--vermilion); font-family: Georgia,serif; font-size: 11px; }.shelf-row b { display: block; font-family: var(--display); font-size: 16px; font-weight: 400; }.shelf-row small { color: var(--muted); font-size: 8px; }.shelf-status { width: fit-content; padding: 4px 7px; color: #916c62; background: #efe4d8; font-size: 8px; letter-spacing: .08em; white-space: nowrap; }.button-restore { min-height: 40px; padding: 0 15px; color: #f5ede0; background: #272721; box-shadow: none; }.button-restore:hover { background: var(--vermilion); }

/* Upload */
.upload-shell { width: min(1280px, 92vw); margin-top: 56px; display: grid; grid-template-columns: 360px 1fr; box-shadow: var(--shadow); }.upload-aside { padding: 50px 44px; background: #20221d; color: #efe7d8; position: relative; overflow: hidden; }.upload-aside::after { content: "入"; position: absolute; right: -30px; bottom: -80px; color: rgba(255,255,255,.04); font-family: var(--display); font-size: 280px; }.light-link { color: #a6a096; }.upload-aside h1 { margin: 34px 0 20px; font-family: var(--display); font-size: 54px; font-weight: 400; line-height: 1.15; }.upload-aside > p { color: #aaa49a; font-size: 11px; }.upload-aside ol { margin: 45px 0 0; padding: 0; list-style: none; }.upload-aside li { display: flex; gap: 18px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.1); }.upload-aside li span { color: #c85c48; font-size: 9px; }.upload-aside li b { font-size: 11px; letter-spacing: .08em; }.upload-security { margin-top: 60px; padding: 15px; display: flex; gap: 13px; background: rgba(255,255,255,.05); }.upload-security > span { color: #c85c48; }.upload-security b { font-size: 10px; }.upload-security p { margin: 3px 0; color: #918c84; font-size: 8px; }
.edit-shell .upload-aside { background: #27231d; }.edit-shell .upload-aside::after { content: "修"; }.edit-shell .upload-security { border-left: 2px solid #c85c48; }
.upload-form-panel { padding: 54px 7%; background: #f7f3ea; }.form-title { display: flex; align-items: center; gap: 14px; margin-bottom: 27px; }.form-title > span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--vermilion); color: var(--vermilion); font-size: 10px; }.form-title h2 { margin: 0; font-family: var(--display); font-size: 25px; font-weight: 400; }.form-title p { margin: 0; color: var(--muted); font-size: 8px; }.form-title.second { margin-top: 38px; padding-top: 32px; border-top: 1px solid var(--hairline); }.upload-form { display: grid; gap: 20px; }.form-grid { display: grid; gap: 18px; }.two-col { grid-template-columns: 1fr 1fr; }.three-col { grid-template-columns: repeat(3,1fr); }
.file-drop { min-height: 160px; padding: 25px; border: 1px dashed #9c968b; background: #eee8dd; place-items: center; align-content: center; text-align: center; cursor: pointer; transition: .2s; }.file-drop:hover, .file-drop.has-file { border-color: var(--vermilion); background: #f1e4d8; }.file-drop input { display: none; }.file-icon { color: var(--vermilion) !important; font-size: 29px !important; }.file-drop b { font-size: 12px; }.file-drop small { color: var(--muted); font-size: 9px; }.file-drop em { color: var(--vermilion-dark); font-size: 9px; font-style: normal; font-weight: 700; }
.asset-upload-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(210px,.65fr); gap: 18px; align-items: stretch; }.asset-upload-grid .file-drop { min-height: 265px; }.cover-upload { padding: 12px; border: 1px solid var(--hairline); background: #ebe5d9; }.cover-upload > input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }.cover-preview { min-height: 218px; position: relative; overflow: hidden; place-items: center; align-content: center; text-align: center; cursor: pointer; color: #efe6d4; background: #2c2d28; border: 1px solid rgba(255,255,255,.12); isolation: isolate; }.cover-preview::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12; background: repeating-linear-gradient(130deg, transparent 0 20px, rgba(255,255,255,.3) 21px 22px); }.cover-preview-mark { font-family: var(--display); color: rgba(255,255,255,.13) !important; font-size: 76px !important; line-height: .9; }.cover-preview b { display: block; margin-top: 12px; font-size: 11px; }.cover-preview small { display: block; margin-top: 5px; color: #9e998f; font-size: 8px; }.cover-preview img { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }.cover-upload.has-cover .cover-preview img { display: block; }.cover-upload.has-cover .cover-preview > :not(img) { opacity: 0; }.cover-upload-foot { min-height: 34px; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }.cover-upload-foot span { min-width: 0; overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.cover-upload-foot button { display: none; padding: 0; color: var(--vermilion); border: 0; background: none; font: inherit; font-size: 8px; cursor: pointer; white-space: nowrap; }.cover-upload.has-cover .cover-upload-foot button { display: block; }
.check-row { display: grid !important; grid-template-columns: 22px 1fr; align-items: center; cursor: pointer; }.check-row input { display: none; }.check-row > span { width: 19px; height: 19px; border: 1px solid #8e887d; position: relative; }.check-row input:checked + span { background: var(--vermilion); border-color: var(--vermilion); }.check-row input:checked + span::after { content: "✓"; color: white; position: absolute; left: 4px; top: -2px; }.check-row p { margin: 0; }.check-row b { display: block; font-size: 10px; }.check-row small { color: var(--muted); font-size: 8px; }.form-actions { margin-top: 16px; padding-top: 25px; border-top: 1px solid var(--hairline); display: flex; justify-content: flex-end; align-items: center; gap: 24px; }.form-actions > a { color: var(--muted); font-size: 10px; }

/* Shared feedback */
.toast-stack { position: fixed; top: 96px; right: 25px; z-index: 60; display: grid; gap: 8px; }.toast { min-width: 300px; padding: 13px 18px; background: #24251f; color: #fff; box-shadow: var(--shadow); font-size: 11px; animation: toast-in .3s both; transition: .3s; }.toast-success { border-left: 3px solid #69906e; }.toast-error { border-left: 3px solid var(--vermilion); }.toast-out { opacity: 0; transform: translateX(20px); }.error-page { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }.error-sun { width: 130px; height: 130px; margin-bottom: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--vermilion); color: #fff3e5; font-size: 35px; }.error-page h1 { margin: 12px 0 0; font-family: var(--display); font-size: 35px; font-weight: 400; }.error-page p { color: var(--muted); }.error-page .button { margin-top: 22px; }
@keyframes toast-in { from { opacity: 0; transform: translateX(20px); } }

@media (max-width: 1050px) {
  .brand { min-width: auto; }.brand-copy { display: none; }.main-nav { margin-left: 30px; }
  .channel-nav-inner { width: 100%; grid-template-columns: 205px repeat(4,140px); overflow-x: auto; }.channel-category-panel { position: fixed; left: 0; top: 144px; }
  .home-hero { grid-template-columns: 60px 1fr 145px; }.hero-manuscript { display: none; }.hero-showcase { min-height: auto; grid-template-columns: 1fr; }.hero-stats { display: grid; }
  .featured-grid { grid-template-columns: 1fr 1fr; }.feature-1 { grid-column: span 2; }.feature-2, .feature-3 { min-height: 430px; grid-template-rows: 285px auto; }.feature-2 .cover-art,.feature-3 .cover-art { min-height: 285px; }
  .home-author-grid { grid-template-columns: repeat(2,1fr); }
  .script-grid { grid-template-columns: 1fr; }.admin-grid { grid-template-columns: 1fr; }.recent-panel { display: none; }
  .metric-row { grid-template-columns: repeat(2,1fr); }
  .detail-grid { grid-template-columns: 300px 1fr; gap: 55px; }.download-hint { display: block; margin: 12px 0; }
  .login-shell { grid-template-columns: .8fr 1fr; }.login-art::after { display: none; }
}

@media (max-width: 760px) {
  .site-header { height: 68px; padding: 0 18px; }.brand-logo { width: 36px; height: 40px; }.brand-logo img { width: 90px; left: -26.4px; top: -14.5px; }.main-nav { gap: 18px; margin-left: 18px; }.main-nav a { font-size: 12px; }.user-cluster > span:not(.status-dot), .logout-link { display: none; }.guest-login-trigger { min-height: 34px; padding: 0 10px; font-size: 9px; }.guest-cluster { margin-left: auto; }
  .home-channel-nav { min-height: 52px; overflow: visible; }.channel-nav-inner { min-height: 52px; grid-template-columns: 155px repeat(4,104px); }.channel-nav-inner > a,.channel-category-menu > summary { min-height: 52px; font-size: 12px; }.channel-category-menu > summary { padding: 0 16px; gap: 9px; }.channel-category-menu > summary span { font-size: 13px; }.channel-category-menu > summary i { width: 17px; }.channel-category-panel { width: 100vw; top: 120px; padding: 10px; grid-template-columns: repeat(2,1fr); }.channel-category-panel a { min-height: 46px; }
  .home-hero { min-height: 480px; padding: 58px 24px 72px; grid-template-columns: 1fr; }.hero-index,.hero-showcase { display: none; }.hero-copy { padding: 0; }.hero-copy h1 { font-size: 50px; }
  .search-deck { width: 92vw; grid-template-columns: 1fr; }.security-ribbon { display: none; }.catalog-search { grid-template-columns: 45px 1fr 90px; }.author-search-matches { margin-top: 45px; padding: 24px 18px; grid-template-columns: 1fr; }.author-match-list { grid-template-columns: 1fr; }.author-match-list a { grid-template-columns: 42px 1fr; }.author-match-list em { display: none; }
  .featured-section, .home-author-zone, .library-section { margin-top: 75px; }.section-heading h2 { font-size: 29px; }.section-heading p { display: block; }.featured-grid { margin-inline: -4vw; padding: 0 4vw 18px; grid-template-columns: repeat(3,78vw); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }.featured-grid::-webkit-scrollbar { display: none; }.featured-card,.feature-1,.feature-2,.feature-3 { min-height: 475px; grid-column: auto; grid-template-columns: 1fr; grid-template-rows: 325px 1fr; scroll-snap-align: center; }.feature-1 .cover-art,.feature-2 .cover-art,.feature-3 .cover-art { display: flex; min-height: 325px; }.feature-1 .feature-copy,.feature-2 .feature-copy,.feature-3 .feature-copy { min-height: 150px; padding: 22px 24px; color: #eee7d8; background: #252923; }.feature-1 .feature-copy h3,.feature-2 .feature-copy h3,.feature-3 .feature-copy h3 { margin: 9px 0 5px; color: #f4ecdf; font-size: 22px; }.feature-1 .feature-copy p,.feature-2 .feature-copy p,.feature-3 .feature-copy p { color: #bcb4a8; -webkit-line-clamp: 2; }.feature-1 .feature-meta,.feature-2 .feature-meta,.feature-3 .feature-meta { border-color: rgba(255,255,255,.13); }.home-author-grid { grid-template-columns: 1fr; }.home-author-grid a { min-height: 125px; padding: 19px 16px; }
  .library-heading { align-items: start; }.view-tools label, .view-toggle { display: none; }.category-tabs { margin-inline: -4vw; padding-left: 4vw; }.script-card { grid-template-columns: 125px 1fr; min-height: 230px; }.mini-cover { min-width: 90px; margin: 12px; padding: 12px; }.mini-cover h3 { font-size: 16px; }.card-copy { padding: 18px 16px 14px 0; }.card-copy h3 { font-size: 18px; }.card-copy p { -webkit-line-clamp: 1; }.card-foot span { display: none; }
  .site-footer { margin-top: 70px; display: block; text-align: center; }.site-footer > div { justify-content: center; margin: 8px; }
  .detail-mast { padding: 35px 22px 70px; }.detail-grid { grid-template-columns: 1fr; }.detail-cover { width: 250px; min-height: 360px; margin: auto; padding: 24px; }.detail-cover h2 { font-size: 29px; }.detail-copy h1 { font-size: 43px; }.detail-facts { grid-template-columns: repeat(2,1fr); }.detail-facts div:nth-child(3) { border-left: 0; }.rights-strip { margin-top: -25px; padding: 20px; }.rights-strip > div:nth-of-type(2), .rights-strip > div:nth-of-type(3), .rights-strip > i { display: none; }.related-grid { grid-template-columns: 1fr; }.related-grid a:nth-child(odd) { border-right: 0; }.download-dialog { padding: 40px 25px 30px; }.dialog-seal { right: 28px; }
  .preview-section { margin-top: 70px; grid-template-columns: 1fr; }.story-intro-panel { padding: 34px 25px; border-right: 0; border-bottom: 1px solid var(--hairline); }.intro-body { grid-template-columns: 1fr; min-height: 0; }.intro-body aside { display: none; }.trial-catalog { padding: 34px 25px; }.catalog-head > a { display: none; }.chapter-preview-grid { grid-template-columns: 1fr; }.chapter-preview-grid a:nth-child(odd) { border-right: 0; }
  .reader-shell { width: 100%; margin: 0; }.reader-book-head { padding: 18px 18px 14px; }.reader-book-head span { display: none; }.reading-paper { min-height: 100vh; padding: 50px 24px 48px; box-shadow: none; }.reader-title h1 { font-size: 34px; }.reader-content p { font-size: 15px; line-height: 1.95; }.reader-bottom-nav { margin-top: 0; grid-template-columns: 1fr 78px 1fr; }.reader-bottom-nav > * { padding: 14px 12px; }.reader-bottom-nav b { font-size: 12px; }.reader-tools { left: auto; right: 12px; top: auto; bottom: 18px; display: flex; }.reader-tools > * { width: 45px; height: 45px; }.reader-tools a,.reader-tools #backToTop { display: none; }.toc-dialog { padding: 35px 22px; }.reader-toc-list { grid-template-columns: 1fr; }.reader-toc-list a:nth-child(odd) { border-right: 0; }
  .admin-head { padding-top: 45px; }.admin-head h1 { font-size: 42px; }.admin-head p { display: none; }.admin-head .button { padding: 0 14px; gap: 12px; }.metric-row { grid-template-columns: 1fr 1fr; }.metric-card { min-height: 130px; }.metric-card strong { font-size: 35px; }
  .shelf-row { grid-template-columns: 30px minmax(0,1fr) 105px; gap: 10px; }.shelf-status { display: none; }.shelf-row small { display: block; margin-top: 3px; }.shelf-row .button { padding-inline: 12px; }
  .upload-shell { margin-top: 25px; grid-template-columns: 1fr; }.upload-aside { padding: 35px 28px; }.upload-aside h1 { font-size: 40px; }.upload-aside ol, .upload-security { display: none; }.upload-form-panel { padding: 35px 24px; }.two-col, .three-col, .asset-upload-grid { grid-template-columns: 1fr; }.asset-upload-grid .file-drop { min-height: 175px; }.cover-upload { max-width: 280px; width: 100%; justify-self: center; }
  .login-shell { grid-template-columns: 1fr; }.login-art { display: none; }.login-panel { min-height: 100vh; padding: 110px 30px 45px; }.login-brand { top: 35px; }.login-copy h1 { font-size: 48px; }.register-name-grid { grid-template-columns: 1fr; }.register-panel { padding-top: 105px; }.register-permission-note em { display: none; }
  .auth-gate-dialog { width: min(94vw,520px); max-height: 88vh; overflow-y: auto; }.auth-gate-dialog[open] { grid-template-columns: 1fr; }.auth-gate-visual { display: none; }.auth-gate-panel { padding: 52px 25px 30px; }.auth-gate-panel h2 { font-size: 34px; }.auth-gate-register { gap: 15px; }
}
@media print {
  [data-protected-reader] { display: none !important; }
  .page-script_read::after { content: "格物致知内部受控资料，禁止通过浏览器打印。"; display: block; padding: 80px; font-size: 24px; text-align: center; }
}

/* Author identity and protected reading */
.card-author { width: fit-content; margin: -2px 0 8px; color: var(--vermilion); font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.card-author:hover, .detail-author a:hover, .author-more-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.detail-author a { color: var(--vermilion-dark); font-weight: 700; }
.detail-author a span { margin-left: 8px; color: #8d877d; font-size: 8px; font-weight: 400; letter-spacing: .03em; }
.author-more-link { color: var(--vermilion); font-weight: 700; }
.field-help { margin-top: -3px; color: #928b80; font-size: 8px; }

.protected-paper { padding-inline: clamp(24px,5vw,68px); }
.reader-protection-note { margin: 36px 0 24px; padding: 14px 18px; display: flex; align-items: center; gap: 18px; border-left: 3px solid var(--vermilion); background: #e9e1d4; color: #746e64; font-size: 9px; }
.reader-protection-note b { color: var(--vermilion-dark); font-size: 10px; white-space: nowrap; }
.reader-page-stack { display: grid; gap: 22px; user-select: none; -webkit-user-select: none; }
.reader-page-frame { position: relative; }
.reader-page-stack img { display: block; width: 100%; height: auto; pointer-events: none; user-select: none; -webkit-user-drag: none; box-shadow: 0 10px 30px rgba(35,31,24,.11); background: #f8f4eb; }
.reader-paragraph-map { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.paragraph-hotspot { position: absolute; left: 8.2%; width: 83.6%; min-height: 2.2%; padding: 0; border: 1px solid transparent; border-radius: 3px; color: var(--ink); background: transparent; cursor: pointer; pointer-events: auto; touch-action: pan-y; transition: border-color .16s, background .16s, box-shadow .16s; }
.paragraph-hotspot:hover,.paragraph-hotspot:focus-visible,.paragraph-hotspot.is-selected { border-color: rgba(197,59,39,.7); background: rgba(197,59,39,.09); box-shadow: inset 3px 0 0 var(--vermilion); outline: 0; }
.paragraph-hotspot.stage-hotspot:hover,.paragraph-hotspot.stage-hotspot.is-selected { background: rgba(197,59,39,.07); }
.paragraph-comment-badge { position: absolute; right: -1px; top: 50%; min-width: 24px; height: 20px; padding: 0 6px; border: 1px solid rgba(150,139,124,.72); border-radius: 10px 10px 10px 2px; display: grid; place-items: center; transform: translate(45%,-50%); color: #8b8174; background: rgba(248,244,235,.94); font-size: 8px; font-weight: 700; line-height: 1; opacity: 0; transition: opacity .16s,color .16s,background .16s; }
.paragraph-hotspot:hover .paragraph-comment-badge,.paragraph-hotspot:focus-visible .paragraph-comment-badge,.paragraph-comment-badge.has-comments { opacity: 1; }
.paragraph-comment-badge.has-comments { color: #fff7ec; background: var(--vermilion); border-color: var(--vermilion); }
.reader-comment-panel { position: fixed; right: 0; top: 0; z-index: 70; width: min(430px,36vw); height: 100vh; display: grid; grid-template-rows: auto auto minmax(0,1fr) auto; color: var(--ink); background: #f5f0e6; border-left: 1px solid rgba(44,40,34,.15); box-shadow: -24px 0 70px rgba(28,25,20,.2); transform: translateX(105%); visibility: hidden; transition: transform .28s ease,visibility 0s linear .28s; }
.reader-comment-panel.is-open { transform: translateX(0); visibility: visible; transition-delay: 0s; }
.comment-panel-head { min-height: 118px; padding: 28px 30px 22px; display: flex; align-items: start; justify-content: space-between; border-bottom: 1px solid var(--hairline); }
.comment-panel-head span { color: var(--vermilion); font-size: 7px; font-weight: 700; letter-spacing: .22em; }
.comment-panel-head h2 { margin: 6px 0 0; font-family: var(--display); font-size: 31px; font-weight: 400; }
.comment-panel-head h2 em { margin-left: 6px; color: #8f897f; font-family: var(--sans); font-size: 9px; font-style: normal; }
.comment-panel-head button { width: 34px; height: 34px; padding: 0; border: 1px solid var(--hairline); border-radius: 50%; color: #8d867b; background: transparent; font-size: 22px; line-height: 1; }
.comment-panel-head button:hover { color: white; background: var(--vermilion); border-color: var(--vermilion); }
.comment-selected-paragraph { padding: 18px 30px; border-bottom: 1px solid var(--hairline); background: #ece5d9; }
.comment-selected-paragraph span { color: var(--vermilion); font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.comment-selected-paragraph p { max-height: 76px; margin: 7px 0 0; overflow: hidden; color: #615c54; font-size: 10px; line-height: 1.75; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.comment-list { min-height: 0; padding: 8px 30px 25px; overflow-y: auto; overscroll-behavior: contain; }
.comment-list.is-loading { opacity: .6; }
.comment-empty { min-height: 260px; display: grid; place-items: center; align-content: center; color: #999287; text-align: center; }
.comment-empty span { width: 52px; height: 52px; border: 1px solid #bcb3a6; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 20px; }
.comment-empty p { margin: 12px 0 0; font-size: 9px; line-height: 1.8; }
.paragraph-comment { padding: 20px 0; display: grid; grid-template-columns: 36px 1fr; gap: 12px; border-bottom: 1px solid var(--hairline); }
.paragraph-comment-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #f9eee0; background: linear-gradient(145deg,#b75440,#302e28); font-family: var(--display); font-size: 14px; }
.paragraph-comment-copy header { display: flex; align-items: center; gap: 8px; color: #8c857b; font-size: 8px; }
.paragraph-comment-copy header b { color: #5e5951; font-size: 9px; font-weight: 600; }
.paragraph-comment-copy header i { padding: 2px 5px; color: var(--vermilion); background: #efe0d6; font-size: 6px; font-style: normal; }
.paragraph-comment-copy p { margin: 7px 0 0; color: #312f2a; font-size: 11px; line-height: 1.75; white-space: pre-wrap; word-break: break-word; }
.comment-compose { padding: 17px 24px 22px; border-top: 1px solid var(--hairline); background: #eee7dc; }
.comment-compose label { display: block; margin-bottom: 7px; color: #5e5850; font-size: 9px; font-weight: 700; }
.comment-compose textarea { width: 100%; min-height: 82px; padding: 11px 13px; resize: none; border: 1px solid #bbb2a5; color: var(--ink); background: #faf6ed; font: inherit; font-size: 10px; line-height: 1.65; outline: none; }
.comment-compose textarea:focus { border-color: var(--vermilion); box-shadow: 0 0 0 2px rgba(197,59,39,.08); }
.comment-compose > div { margin-top: 9px; display: flex; align-items: center; justify-content: space-between; }
.comment-compose small { color: #9a9389; font-size: 7px; }.comment-compose button,.comment-login-gate button { min-height: 36px; padding: 0 17px; border: 0; color: #fff8ec; background: var(--vermilion); font: inherit; font-size: 9px; font-weight: 700; }
.comment-compose button:disabled { opacity: .5; cursor: wait; }
.comment-compose > p { min-height: 14px; margin: 4px 0 0; color: var(--vermilion); font-size: 8px; }
.comment-login-gate { padding: 20px 24px 24px; border-top: 1px solid var(--hairline); background: #eee7dc; }
.comment-login-gate p { margin: 0 0 12px; color: #777066; font-size: 9px; line-height: 1.7; }
.mobile-comment-action { position: fixed; left: 50%; bottom: 82px; z-index: 75; width: min(330px,calc(100vw - 30px)); min-height: 58px; padding: 0 17px; border: 0; border-left: 3px solid var(--vermilion); display: none; align-items: center; justify-content: space-between; transform: translateX(-50%); color: #eee5d6; background: #20211d; box-shadow: 0 18px 45px rgba(0,0,0,.32); font: inherit; }
.mobile-comment-action span { color: #aaa398; font-size: 8px; }.mobile-comment-action span b { color: #fff4e4; font-size: 11px; }.mobile-comment-action strong { color: #e17a64; font-size: 10px; }
.reader-comments-open .reader-shell { transition: transform .28s ease; }
@media (min-width: 1460px) {
  .reader-comments-open .reader-shell { transform: translateX(-205px); }
}
.reader-night .reader-protection-note { background: #2b2e28; color: #aaa398; }
.reader-night .reader-page-stack img { filter: brightness(.76) sepia(.08); box-shadow: 0 10px 35px rgba(0,0,0,.28); }
.reader-night .reader-comment-panel { color: #d8d1c5; background: #20231e; border-color: rgba(255,255,255,.1); }
.reader-night .comment-panel-head,.reader-night .comment-list,.reader-night .comment-compose,.reader-night .comment-login-gate { border-color: rgba(255,255,255,.1); }
.reader-night .comment-selected-paragraph,.reader-night .comment-compose,.reader-night .comment-login-gate { background: #292c26; }
.reader-night .comment-selected-paragraph p,.reader-night .paragraph-comment-copy header b,.reader-night .paragraph-comment-copy p,.reader-night .comment-compose label { color: #d0c9bd; }
.reader-night .comment-compose textarea { color: #e2dbcf; background: #171915; border-color: #4e5149; }
.reader-night .paragraph-comment { border-color: rgba(255,255,255,.1); }

/* Account-owned rights desk */
.profile-mast { min-height: 425px; position: relative; overflow: hidden; color: #eee7da; background: #1a1b17; }
.profile-mast::before { content: ""; position: absolute; inset: 0; opacity: .19; background: repeating-linear-gradient(125deg, transparent 0 72px, rgba(255,255,255,.055) 73px 74px); }
.profile-mast::after { content: ""; position: absolute; right: -120px; bottom: -260px; width: 620px; height: 620px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 85px rgba(255,255,255,.018), 0 0 0 170px rgba(255,255,255,.012); }
.profile-sun { position: absolute; right: 17%; top: -215px; width: 430px; height: 430px; border-radius: 50%; background: #ad3525; box-shadow: 0 40px 90px rgba(0,0,0,.2); }
.profile-mast-inner { min-height: 425px; padding: 75px 0 53px; position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1fr) auto; align-content: center; gap: 44px; }
.profile-back { position: absolute; top: 24px; left: 0; color: #aaa398; }
.profile-identity { display: flex; align-items: center; gap: 30px; }
.profile-avatar-form { margin: 0; flex: 0 0 auto; }
.profile-avatar { width: 126px; height: 126px; flex: 0 0 auto; position: relative; overflow: visible; border: 1px solid rgba(255,244,224,.56); border-radius: 50%; display: grid; place-items: center; color: #f7eddd; background: radial-gradient(circle at 34% 25%, #be5947, #6d2b22 45%, #252620 46%); box-shadow: 0 0 0 10px rgba(255,255,255,.035); cursor: pointer; }
.profile-avatar > img { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; }
.profile-avatar span { font-family: var(--display); font-size: 55px; }.profile-avatar i { position: absolute; right: -4px; bottom: 8px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--vermilion); font-family: var(--display); font-size: 14px; font-style: normal; }
.profile-avatar input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.profile-avatar em { position: absolute; inset: 0; overflow: hidden; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff8eb; background: rgba(18,18,15,.76); font-style: normal; opacity: 0; transition: opacity .2s; }.profile-avatar:hover em { opacity: 1; }.profile-avatar em b { font-size: 10px; letter-spacing: .08em; }.profile-avatar em small { margin-top: 3px; color: #c7bfb2; font-size: 6px; }
.avatar-crop-dialog { width: min(620px,92vw); max-height: 92vh; padding: 0; overflow: auto; border: 0; color: var(--ink); background: #f3eee4; box-shadow: 0 35px 100px rgba(0,0,0,.34); }
.avatar-crop-dialog::backdrop { background: rgba(12,13,10,.82); backdrop-filter: blur(7px) saturate(.65); }
.avatar-crop-head { min-height: 115px; padding: 27px 34px 22px; display: flex; justify-content: space-between; align-items: start; border-bottom: 1px solid var(--hairline); }.avatar-crop-head h2 { margin: 5px 0 1px; font-family: var(--display); font-size: 30px; font-weight: 400; }.avatar-crop-head p { margin: 0; color: var(--muted); font-size: 9px; }.avatar-crop-head > button { width: 35px; height: 35px; padding: 0; border: 1px solid var(--hairline); color: #716b61; background: transparent; font-size: 21px; }.avatar-crop-head > button:hover { color: white; background: var(--vermilion); border-color: var(--vermilion); }
.avatar-crop-stage { width: min(480px,calc(100% - 64px)); margin: 28px auto 20px; position: relative; overflow: hidden; background: #151612; box-shadow: 0 17px 35px rgba(31,27,21,.17); touch-action: none; }.avatar-crop-stage canvas { width: 100%; height: auto; display: block; cursor: grab; touch-action: none; }.avatar-crop-stage canvas:active { cursor: grabbing; }.avatar-crop-stage > span { position: absolute; left: 50%; bottom: 18px; padding: 4px 9px; transform: translateX(-50%); color: rgba(255,255,255,.72); background: rgba(0,0,0,.48); font-size: 7px; letter-spacing: .1em; pointer-events: none; }
.avatar-crop-controls { width: min(480px,calc(100% - 64px)); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }.avatar-crop-controls label { display: grid; grid-template-columns: 35px 1fr 18px; align-items: center; gap: 9px; color: #756f65; font-size: 8px; }.avatar-crop-controls input { width: 100%; accent-color: var(--vermilion); }.avatar-crop-controls label b { color: var(--vermilion); font-size: 16px; }.avatar-crop-controls > button { padding: 5px 0; border: 0; border-bottom: 1px solid currentColor; color: #777168; background: transparent; font: inherit; font-size: 8px; }
.avatar-crop-notice { margin: 23px 34px 0; padding: 13px 15px; display: flex; gap: 10px; color: #7d766c; background: #e8e0d3; font-size: 8px; }.avatar-crop-notice i { color: var(--vermilion); font-style: normal; }.avatar-crop-notice p { margin: 0; }
.avatar-crop-actions { padding: 22px 34px 30px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; }.avatar-crop-actions .button { width: 100%; }
.profile-name h1 { margin: 8px 0 4px; font-family: var(--display); font-size: clamp(47px,5vw,72px); font-weight: 400; letter-spacing: .07em; }
.profile-name p { margin: 0; display: flex; align-items: center; gap: 10px; color: #aaa49a; font-size: 9px; letter-spacing: .08em; }.profile-name p b { color: #d7cbbc; font-weight: 400; }.profile-name p i { width: 18px; height: 1px; background: #8f887e; }
.profile-stats { margin: 0; align-self: end; display: grid; grid-template-columns: repeat(4,108px); background: rgba(16,17,14,.4); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(8px); }
.profile-stats div { padding: 18px 14px; text-align: center; }.profile-stats div + div { border-left: 1px solid rgba(255,255,255,.1); }.profile-stats dt { color: #928e86; font-size: 8px; letter-spacing: .1em; }.profile-stats dd { margin: 5px 0 1px; color: #f0e7d8; font-size: 25px; font-weight: 600; font-variant-numeric: tabular-nums; }.profile-stats small { color: #77756e; font-size: 7px; }
.profile-file-mark { position: absolute; right: 3px; top: 27px; width: 62px; height: 83px; border: 1px solid rgba(214,94,72,.55); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #ca725f; transform: rotate(4deg); }.profile-file-mark span { font-size: 8px; }.profile-file-mark b { font-family: var(--display); font-size: 14px; line-height: 1.35; font-weight: 400; }
.profile-workspace { margin-top: 70px; margin-bottom: 90px; }
.profile-work-head { padding-bottom: 24px; display: flex; align-items: end; justify-content: space-between; border-bottom: 1px solid var(--hairline); }.profile-work-head h2 { margin: 3px 0 0; font-family: var(--display); font-size: 36px; font-weight: 400; }.profile-work-head p { margin: 3px 0 0; color: var(--muted); font-size: 9px; }.profile-work-head .button { min-width: 185px; }
.profile-work-list { border-bottom: 1px solid var(--hairline); }
.profile-work-card { min-height: 225px; padding: 26px 18px; display: grid; grid-template-columns: 128px minmax(0,1fr) 135px; gap: 30px; align-items: center; border-top: 1px solid var(--hairline); transition: background .2s, padding .2s; }.profile-work-card:first-child { border-top: 0; }.profile-work-card:hover { padding-inline: 26px; background: rgba(255,255,255,.35); }
.profile-work-cover { width: 104px; height: 150px; padding: 13px; position: relative; overflow: hidden; display: flex; flex-direction: column; isolation: isolate; box-shadow: 0 14px 24px rgba(34,29,21,.11); }.profile-work-cover::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18; background: repeating-linear-gradient(130deg, transparent 0 20px, rgba(255,255,255,.3) 21px 22px); }.profile-work-cover > span { margin: auto; font-family: var(--display); font-size: 48px; opacity: .3; }.profile-work-cover small { font-size: 7px; }
.profile-work-kicker { display: flex; align-items: center; gap: 9px; color: #807a70; font-size: 8px; }.profile-work-kicker > span { color: var(--vermilion); font-family: Georgia,serif; }.profile-work-kicker i { width: 25px; height: 1px; background: #b9b1a6; }.profile-work-kicker b { color: #5b7c61; font-size: 8px; }.profile-work-kicker em { font-style: normal; }
.profile-work-copy h3 { margin: 11px 0 7px; font-family: var(--display); font-size: 27px; font-weight: 400; }.profile-work-copy p { max-width: 780px; margin: 0; color: #746f65; font-size: 10px; line-height: 1.85; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }.profile-work-meta { margin-top: 17px; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 7px 18px; border-top: 1px solid rgba(23,23,19,.1); color: #8e887e; font-size: 8px; }
.profile-work-actions { align-self: stretch; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--hairline); }.profile-work-actions > a,.profile-work-actions button { min-height: 43px; width: 100%; padding: 0 12px 0 17px; border: 0; border-bottom: 1px solid var(--hairline); display: flex; align-items: center; justify-content: space-between; color: #5d584f; background: transparent; font: inherit; font-size: 9px; text-align: left; }.profile-work-actions > a:hover,.profile-work-actions button:hover { color: #fff7eb; background: var(--vermilion); }.profile-work-actions form { margin: 0; }.profile-work-actions b { font-size: 14px; font-weight: 400; }
.profile-empty { min-height: 300px; padding: 55px; display: flex; align-items: center; justify-content: center; gap: 25px; border-bottom: 1px solid var(--hairline); }.profile-empty > span { width: 70px; height: 70px; display: grid; place-items: center; border: 1px solid var(--hairline); color: var(--vermilion); font-family: var(--display); font-size: 26px; }.profile-empty b { display: block; font-family: var(--display); font-size: 23px; font-weight: 400; }.profile-empty p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }.profile-empty .button { margin-left: 30px; }

.author-mast { min-height: 390px; position: relative; overflow: hidden; background: #1b1c18; color: #eee6d8; }
.author-mast::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 24% 35%, rgba(176,58,39,.42), transparent 29%), linear-gradient(115deg, rgba(255,255,255,.035), transparent 36% 70%, rgba(197,59,39,.09)); }
.author-mast::after { content: ""; position: absolute; inset: 0; opacity: .18; background: repeating-linear-gradient(125deg, transparent 0 79px, rgba(255,255,255,.06) 80px 81px); }
.author-mast-inner { min-height: 390px; padding: 66px 0 54px; position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; align-content: center; gap: 42px; }
.author-back { position: absolute; top: 25px; left: 0; color: #aaa398; }
.author-identity { display: flex; align-items: center; gap: 34px; }
.author-avatar { width: 132px; height: 132px; flex: 0 0 auto; position: relative; border: 1px solid rgba(239,224,200,.5); border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 32% 25%, #b64b38, #5c251f 48%, #24251f 49%); box-shadow: 0 0 0 10px rgba(255,255,255,.035); }
.author-avatar span { font-family: var(--display); font-size: 57px; }
.author-avatar i { position: absolute; right: -6px; bottom: 9px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--vermilion); color: white; font-family: Georgia,serif; font-size: 8px; font-style: normal; }
.author-identity h1 { margin: 9px 0 4px; font-family: var(--display); font-size: clamp(46px,5vw,76px); font-weight: 400; letter-spacing: .07em; }
.author-identity p { margin: 0; color: #aaa49a; font-size: 10px; letter-spacing: .09em; }
.author-stats { margin: 0; display: grid; grid-template-columns: repeat(4,110px); align-self: end; }
.author-stats div { padding: 7px 21px; border-left: 1px solid rgba(255,255,255,.14); text-align: center; }
.author-stats dt { color: #8e8b83; font-size: 8px; letter-spacing: .12em; }
.author-stats dd { margin: 5px 0 0; font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.author-seal { position: absolute; top: 30px; right: 4px; width: 52px; height: 70px; border: 1px solid rgba(197,82,61,.48); display: grid; place-items: center; color: rgba(218,102,80,.7); font-family: var(--display); font-size: 16px; line-height: 1.3; transform: rotate(4deg); }
.author-orbit { position: absolute; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; z-index: 1; }.orbit-a { width: 520px; height: 520px; left: -150px; top: -280px; }.orbit-b { width: 720px; height: 720px; left: -230px; top: -385px; }

.author-workspace { margin-top: 72px; display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 26px; align-items: start; }
.author-section-head { margin-bottom: 28px; }
.author-featured-work { min-height: 355px; display: grid; grid-template-columns: 230px 1fr; background: rgba(255,255,255,.47); border: 1px solid var(--hairline); }
.author-feature-cover { margin: 20px; padding: 24px; position: relative; overflow: hidden; display: flex; flex-direction: column; isolation: isolate; }
.author-feature-cover::before, .timeline-cover::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .2; background: repeating-linear-gradient(130deg, transparent 0 24px, rgba(255,255,255,.28) 25px 26px); }
.author-feature-cover > div { position: absolute; right: -8px; top: 32px; font-family: var(--display); font-size: 120px; opacity: .13; }
.author-feature-cover h3 { margin: auto 0 6px; font-family: var(--display); font-size: 25px; font-weight: 400; line-height: 1.4; }
.author-feature-cover small { font-size: 7px; letter-spacing: .17em; opacity: .7; }
.author-feature-copy { padding: 38px 42px 34px 18px; display: flex; flex-direction: column; }
.author-feature-copy > span { color: #5b7a61; font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.author-feature-copy h2 { margin: 15px 0 9px; font-family: var(--display); font-size: 32px; font-weight: 400; }
.author-feature-copy p { margin: 0; max-width: 670px; color: #777168; font-size: 11px; line-height: 1.9; }
.author-feature-meta { margin: 18px 0; padding-top: 14px; display: flex; gap: 22px; border-top: 1px solid var(--hairline); color: #928c82; font-size: 8px; }
.author-feature-meta b { color: var(--vermilion); }
.author-feature-copy .button { width: 205px; margin-top: auto; }
.author-all-head { margin-top: 66px; padding-bottom: 19px; display: flex; justify-content: space-between; align-items: end; border-bottom: 1px solid var(--hairline); }
.author-all-head h2 { margin: 0; font-family: var(--display); font-size: 31px; font-weight: 400; }.author-all-head > span { color: #938d83; font-size: 9px; }
.author-year-group { display: grid; grid-template-columns: 120px 1fr; border-bottom: 1px solid var(--hairline); }
.author-year { padding: 31px 20px 20px 0; color: #898378; }
.author-year i { width: 10px; height: 10px; margin-right: 10px; display: inline-block; border: 2px solid var(--vermilion); border-radius: 50%; }
.author-year b { font-family: Georgia,serif; font-size: 17px; font-weight: 400; }.author-year span { display: block; margin: 7px 0 0 22px; font-size: 8px; }
.author-work-list > article { min-height: 205px; padding: 24px 8px; display: grid; grid-template-columns: 118px 1fr 32px; gap: 24px; align-items: center; border-left: 1px solid var(--hairline); }
.author-work-list > article + article { border-top: 1px solid var(--hairline); }
.timeline-cover { width: 92px; height: 132px; padding: 12px; justify-self: center; position: relative; overflow: hidden; display: flex; flex-direction: column; isolation: isolate; }
.timeline-cover > span { margin: auto; font-family: var(--display); font-size: 42px; opacity: .36; }.timeline-cover small { font-size: 7px; }
.timeline-copy h3 { margin: 0; font-family: var(--display); font-size: 24px; font-weight: 400; }.timeline-copy p { margin: 10px 0; color: #7d776d; font-size: 10px; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.timeline-meta,.timeline-foot { display: flex; align-items: center; gap: 9px; color: #8f897f; font-size: 8px; }.timeline-meta i { width: 3px; height: 3px; background: var(--vermilion); transform: rotate(45deg); }.timeline-foot { padding-top: 10px; border-top: 1px solid rgba(23,23,19,.1); }
.timeline-arrow { width: 31px; height: 31px; border: 1px solid var(--hairline); display: grid; place-items: center; color: var(--vermilion); transition: .2s; }.timeline-arrow:hover { color: white; background: var(--vermilion); border-color: var(--vermilion); }
.author-side { position: sticky; top: 105px; display: grid; gap: 16px; }
.author-rights-card,.author-side-note { padding: 28px; background: rgba(255,255,255,.48); border: 1px solid var(--hairline); }.author-rights-card > span { color: var(--vermilion); font-size: 7px; letter-spacing: .2em; }.author-rights-card h3 { margin: 4px 0 25px; padding-bottom: 17px; border-bottom: 1px solid var(--hairline); font-family: var(--display); font-size: 23px; font-weight: 400; }.rights-check { width: 54px; height: 54px; margin: 6px auto 17px; border: 1px solid #6f8d72; border-radius: 50%; display: grid; place-items: center; color: #5b7c60; font-size: 20px; }.author-rights-card b { display: block; text-align: center; font-size: 11px; }.author-rights-card p { color: #817b72; font-size: 9px; text-align: justify; }.author-side-note span,.author-side-note small { display: block; color: #8b857b; font-size: 8px; }.author-side-note strong { display: block; margin: 5px 0; font-family: var(--display); font-size: 22px; font-weight: 400; }

@media (max-width: 1050px) {
  .profile-mast-inner { grid-template-columns: 1fr; }.profile-stats { justify-self: start; }.profile-file-mark { display: none; }
  .author-mast-inner { grid-template-columns: 1fr; }.author-stats { justify-self: start; }.author-workspace { grid-template-columns: 1fr; }.author-side { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .user-cluster { gap: 5px; }.user-cluster .status-dot,.user-profile-label { display: none; }.user-profile-link { padding: 0; border: 0; background: transparent; }.user-mini-avatar { width: 30px; height: 30px; }
  .protected-paper { padding: 38px 12px 40px; }.reader-protection-note { margin-inline: 10px; align-items: start; flex-direction: column; gap: 2px; }.reader-page-stack { gap: 8px; }
  .paragraph-hotspot { left: 7.6%; width: 84.8%; }.paragraph-hotspot:hover { border-color: transparent; background: transparent; box-shadow: none; }.paragraph-hotspot.is-selected { border-color: rgba(197,59,39,.9); background: rgba(197,59,39,.15); box-shadow: inset 3px 0 0 var(--vermilion); }.paragraph-comment-badge { right: 1px; min-width: 21px; height: 18px; font-size: 7px; }
  .reader-comment-panel { top: auto; bottom: 0; width: 100%; height: min(76vh,680px); grid-template-rows: auto auto minmax(0,1fr) auto; border-left: 0; border-top: 1px solid rgba(44,40,34,.15); transform: translateY(105%); }
  .reader-comment-panel.is-open { transform: translateY(0); }.comment-panel-head { min-height: 80px; padding: 17px 20px 13px; }.comment-panel-head h2 { margin-top: 2px; font-size: 25px; }.comment-selected-paragraph { padding: 13px 20px; }.comment-selected-paragraph p { max-height: 52px; margin-top: 4px; -webkit-line-clamp: 2; }.comment-list { padding: 4px 20px 18px; }.comment-empty { min-height: 160px; }.paragraph-comment { padding: 15px 0; }.comment-compose { padding: 13px 16px 16px; }.comment-compose textarea { min-height: 66px; }.comment-login-gate { padding: 16px; }.mobile-comment-action:not([hidden]) { display: flex; }
  .reader-comments-open .reader-tools { opacity: 0; pointer-events: none; }.reader-comments-open .reader-shell { transform: none; }
  .profile-mast { min-height: 550px; }.profile-sun { right: -190px; top: -195px; }.profile-mast-inner { min-height: 550px; padding: 78px 20px 35px; }.profile-back { left: 20px; }.profile-identity { gap: 19px; align-items: start; }.profile-avatar { width: 82px; height: 82px; }.profile-avatar span { font-size: 38px; }.profile-name h1 { font-size: 38px; }.profile-name p { max-width: 220px; flex-wrap: wrap; }.profile-stats { width: 100%; grid-template-columns: 1fr 1fr; }.profile-stats div { padding: 13px 8px; }.profile-stats div:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }.profile-stats div:nth-child(4) { border-top: 1px solid rgba(255,255,255,.1); }
  .avatar-crop-dialog { width: 96vw; }.avatar-crop-head { padding: 22px 20px 18px; }.avatar-crop-stage,.avatar-crop-controls { width: calc(100% - 30px); }.avatar-crop-stage { margin-top: 18px; }.avatar-crop-notice { margin-inline: 15px; }.avatar-crop-actions { padding: 18px 15px 22px; grid-template-columns: 1fr; }.avatar-crop-actions .button { min-height: 44px; }
  .profile-workspace { width: 92vw; margin-top: 46px; }.profile-work-head { align-items: start; }.profile-work-head h2 { font-size: 30px; }.profile-work-head p { max-width: 190px; }.profile-work-head .button { min-width: auto; padding: 0 13px; gap: 10px; }.profile-work-card { min-height: 210px; padding: 20px 0; grid-template-columns: 80px minmax(0,1fr); gap: 12px; }.profile-work-card:hover { padding-inline: 0; }.profile-work-cover { width: 70px; height: 103px; padding: 8px; align-self: start; }.profile-work-cover > span { font-size: 34px; }.profile-work-copy h3 { font-size: 20px; }.profile-work-copy p { -webkit-line-clamp: 1; }.profile-work-meta span:nth-child(n+3) { display: none; }.profile-work-actions { grid-column: 1 / -1; border-left: 0; display: grid; grid-template-columns: repeat(3,1fr); }.profile-work-actions > a,.profile-work-actions button { border: 1px solid var(--hairline); border-right: 0; }.profile-work-actions form:last-child button { border-right: 1px solid var(--hairline); }.profile-empty { padding: 45px 20px; flex-direction: column; text-align: center; }.profile-empty .button { margin-left: 0; }
  .author-mast { min-height: 520px; }.author-mast-inner { min-height: 520px; padding: 75px 20px 38px; }.author-back { left: 20px; }.author-identity { gap: 20px; align-items: start; }.author-avatar { width: 85px; height: 85px; }.author-avatar span { font-size: 38px; }.author-identity h1 { font-size: 39px; }.author-identity p { max-width: 220px; }.author-stats { width: 100%; grid-template-columns: 1fr 1fr; }.author-stats div { padding: 10px; }.author-seal { right: 20px; }
  .author-workspace { width: 92vw; margin-top: 48px; }.author-featured-work { grid-template-columns: 120px 1fr; min-height: 290px; }.author-feature-cover { margin: 12px; padding: 12px; }.author-feature-cover h3 { font-size: 17px; }.author-feature-copy { padding: 25px 18px 22px 5px; }.author-feature-copy h2 { font-size: 24px; }.author-feature-copy p { -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }.author-feature-copy .button { width: 100%; min-height: 42px; padding: 0 13px; }
  .author-year-group { grid-template-columns: 1fr; }.author-year { padding: 22px 0 12px; }.author-work-list > article { grid-template-columns: 80px 1fr; padding: 18px 0; border-left: 0; gap: 10px; }.timeline-cover { width: 67px; height: 98px; }.timeline-copy h3 { font-size: 19px; }.timeline-copy p { -webkit-line-clamp: 1; }.timeline-arrow { display: none; }.author-side { grid-template-columns: 1fr; }
}
