:root {
  --serif: 'Noto Serif KR Variable', 'Noto Serif SC Variable', 'Batang', serif;
  --sans: var(--serif);
  --ink: #304536;
  --muted: #738067;
  --radius: 12px;
}
html:lang(zh-hans) { --serif: 'Noto Serif SC Variable', 'Noto Serif KR Variable', 'SimSun', serif; }
body { font-size: 14px; font-weight: 400; background-color: #eef0e0; }
body:before { border-radius: 14px; }
button, input, select, textarea { font-family: var(--serif); }
button, input, select { font-size: 13px; }
.header-tools { display: flex; gap: 18px; align-items: center; }
.language-switch { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.language-switch button { border: 0; background: none; color: #8a9779; font-size: 11px; padding: 6px 3px; }
.language-switch button[aria-pressed=true] { color: #36533b; text-decoration: underline; text-underline-offset: 6px; }
.language-switch span { color: #b0b99c; font: 10px Georgia, serif; }
.private-label { border-radius: 6px; font-size: 10px; }
.wordmark { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: 4px; }
.wordmark small { font-family: Georgia, serif; font-size: 10px; letter-spacing: 1px; }
.header-note { font-size: 13px; }
.sidebar nav a { border-radius: 0 9px 9px 0; overflow: hidden; }
.sidebar nav a>span:nth-child(2) { font: 400 17px/1.5 var(--serif); letter-spacing: 1px; }
.sidebar nav small { font-family: Georgia, serif; font-size: 11px; letter-spacing: .7px; margin-top: 5px; }
.quiet-link, .sidebar-bottom .text-button { font-size: 11px; }
.sidebar-bottom p { font-size: 11px; }
.hero { grid-template-columns: 43% 57%; min-height: 585px; }
.hero h1 { font: 400 39px/1.7 var(--serif); letter-spacing: -2px; }
.hero h1 span { color: #6a8751; }
.hero-english { font-family: Georgia, serif; font-size: 19px; color: #87976e; }
.hero-description { font-family: var(--serif); font-size: 12px; line-height: 2.3; letter-spacing: 0; }
.hero-copy { padding-top: 0; }
.ink-scene { position: relative; min-width: 0; height: 525px; isolation: isolate; }
.ink-scene:before { content: ''; position: absolute; inset: 10% 0 3% 2%; border-radius: 50%; background: radial-gradient(ellipse, #dbe8bd46, #f3f6d900 67%); z-index: -1; }
.ink-art { width: 120%; max-width: none; height: 100%; object-fit: contain; margin-left: -12%; }
.ink-caption { position: absolute; right: 9%; top: 15%; writing-mode: vertical-rl; font: 400 14px/1.6 'Noto Serif SC Variable', serif; letter-spacing: 7px; color: #73896c; }
.ink-verse { position: absolute; left: 17%; bottom: 7px; border-left: 1px solid #a5b59070; padding-left: 15px; }
.ink-verse span { display: block; font: 12px/2 var(--serif); letter-spacing: 1px; color: #738661; }
.ink-verse small { display: block; color: #9da787; font: italic 13px/1.6 Georgia, serif; }
.ink-seal { position: absolute; right: 11%; bottom: 25%; border: 1px solid #9a795b80; color: #9a795b; font: 12px/1.6 'Noto Serif SC Variable', serif; padding: 3px 5px; border-radius: 2px; transform: rotate(-4deg); opacity: .75; }
.paper-page { border-radius: var(--radius); background: #fafbf1ba; }
.soft-button, .primary-button { border-radius: 8px; font-family: var(--serif); font-size: 12px; min-height: 42px; }
.welcome-note { border-radius: 9px; }
.welcome-note p { font-family: var(--serif); font-size: 12px; }
.recent-row { font-size: 12px; }
.section-heading h2 { font-size: 12px; }
.section-heading>a { font-size: 11px; }
.empty-recent p { font-size: 12px; }
.empty-recent small, .empty-recent .text-button { font-size: 10px; }
.messages, .form-errors { border-radius: 8px; font-size: 12px; }
.paper-page h1, .login-panel h1 { font-family: var(--serif); font-size: 27px; }
.page-heading { align-items: flex-start; }
.page-intro { margin: 0; font-size: 12px; color: #899875; }
.page-intro:empty { display: none; }
.search-form { background: #eff3dfb0; border: 1px solid #c8d2b38a; border-radius: 8px; padding: 2px 12px; margin-bottom: 19px; }
.search-form input { font-family: var(--serif); font-size: 12px; }
.type-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.type-filters a { padding: 5px 15px; border-radius: 20px; border: 1px solid #cbd6b5; font-size: 11px; color: #7b8d65; }
.type-filters a.selected { background: #dce7c4; border-color: #aabe8f; color: #4d6a38; }
.type-filters a:hover { background: #e4ecd3; }
.active-tag { display: inline-flex; gap: 13px; border-radius: 20px; background: #edf0df; border: 1px solid #cad5b3; color: #788e60; font-size: 11px; padding: 4px 12px; margin: 0 0 23px; }
.post-grid { gap: 22px 18px; align-items: stretch; }
.post-card { display: flex; flex-direction: column; background: #fffff6bb; border: 1px solid #cbd4b880; border-radius: 11px; padding: 0 0 15px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.post-card:hover { border-color: #a2b484; box-shadow: 0 4px 18px #5b71320a; }
.card-main { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.post-thumbnail { position: relative; aspect-ratio: 4/3; border: 0; padding: 0; background: #ecf1e2; }
.post-thumbnail img { border-radius: 0; }
.post-card-copy { padding: 17px 17px 0; }
.post-card h2 { font: 500 15px/1.9 var(--serif); margin: 6px 0 7px; }
.post-card p { font-size: 11px; margin-bottom: 12px; color: #7b896d; }
.post-card small { font-size: 10px; }
.post-kind { font-size: 10px; letter-spacing: .5px; }
.image-count { position: absolute; bottom: 8px; right: 9px; font-size: 10px; background: #fcfff0dc; border-radius: 5px; padding: 2px 6px; color: #576e45; }
.post-thumbnail.no-image { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding: 21px 22px; background: linear-gradient(145deg,#f0f3df,#e3ead3); }
.post-thumbnail.no-image>span:first-child { font-size: 22px; color: #8fa575; }
.writing-excerpt { font: 12px/2.1 var(--serif); color: #81916e; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 11px 17px 0; }
.card-tags a { color: #71885a; background: #edf2e2; border-radius: 5px; padding: 2px 7px; font-size: 10px; line-height: 1.7; overflow-wrap: anywhere; max-width: 100%; }
.card-tags a:hover { background: #dce7c5; }
.text-post-grid .post-card { padding: 8px 0 20px; }
.text-post-grid .post-card h2 { font-size: 18px; }
.screenshot-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.screenshot-grid .post-thumbnail { aspect-ratio: 16/10; background: #e6eadc; }
.screenshot-grid .post-thumbnail img { object-fit: contain; }
.reading-header .card-tags { padding: 9px 0 0; }
.post-body { font: 400 16px/2.1 var(--serif); }
.post-body img { border-radius: 8px; }
.post-body pre { overflow: auto; border-radius: 7px; background: #edf1e2; padding: 14px; }
.reading-header p, .original-files h2, .original-files a, .back-link { font-size: 11px; }
.original-files { border-radius: 8px; }
.login-panel input, .password-page input { border-radius: 8px; font-size: 14px; }
.login-panel label { font-size: 12px; }
.login-panel>p:not(.eyebrow) { font-size: 12px; }
.login-art:before { display: none; }
.login-art img { width: 112%; }
.editor-meta input, .editor-meta select, .editor-taxonomy input, .editor-taxonomy select { font-family: var(--serif); font-size: 13px; background: #fcfcf0c9; border: 1px solid #c5d2ae; border-radius: 7px; min-height: 40px; padding: 8px 10px; color: var(--ink); }
.editor-meta label, .editor-taxonomy label { font-size: 11px; color: #7b8b68; }
.editor-meta .title-label input { font-size: 17px; }
.editor-meta select { width: 108px; }
.editor-taxonomy { display: flex; gap: 18px; margin: 0 0 24px; }
.editor-taxonomy label { display: flex; flex-direction: column; gap: 8px; }
.editor-taxonomy .tags-label { flex: 1; min-width: 0; }
.editor-taxonomy input { width: 100%; }
.editor-taxonomy [hidden] { display: none; }
.editor-taxonomy select { width: 108px; }
.editor-page .ql-toolbar.ql-snow { border-radius: 8px 8px 0 0; }
.editor-page .ql-container.ql-snow { font-family: var(--serif); border-radius: 0 0 8px 8px; }
.editor-page .ql-editor { font: 400 16px/2 var(--serif); }
.editor-page .ql-editor.ql-blank:before { font: 400 14px var(--serif); }
.editor-page .ql-editor img { border-radius: 7px; }
.editor-page .ql-picker { font-family: var(--serif); font-size: 11px; }
.editor-page .ql-picker.ql-header { width: 94px; }
.editor-page .ql-picker.ql-size { width: 90px; }
.editor-page .ql-picker.ql-header .ql-picker-label:before, .editor-page .ql-picker.ql-header .ql-picker-item:before,
.editor-page .ql-picker.ql-size .ql-picker-label:before, .editor-page .ql-picker.ql-size .ql-picker-item:before { content: attr(data-label); }
.ql-tooltip:before { content: attr(data-label)!important; }
.ql-tooltip a.ql-action:after { content: attr(data-label)!important; }
.ql-tooltip a.ql-remove:before { content: attr(data-label)!important; }
.image-add-button { margin-top: 13px; font-size: 11px; min-height: 35px; padding: 7px 13px; }
.editor-status { font-size: 10px; }
.editor-help { font-size: 10px; line-height: 2; }
.pair-portrait>div { border-radius: 65px 65px 10px 10px; outline: none; box-shadow: inset 0 0 0 7px #ffffff35; }
.pair-portrait h2 { font-family: var(--serif); }
.empty-state h2 { font-family: var(--serif); }
@media(max-width:1100px) {
 .header-note { display: none; }
 .hero h1 { font-size: 32px; }
 .hero-description { font-size: 11px; }
 .ink-scene { height: 490px; }
 .ink-caption { right: 3%; }
 .post-grid.story-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:800px) {
 .header-tools { gap: 12px; }
 .sidebar nav a>span:nth-child(2) { font: 400 14px var(--serif); letter-spacing: 0; }
 .hero { min-height: 530px; }
 .hero h1 { font-size: 34px; }
 .ink-scene { height: 470px; }
 .ink-art { width: 113%; margin-left: -8%; }
 .quiet-link, .sidebar-bottom .text-button { font-size: 10px; }
 .private-label { font-size: 10px; }
}
@media(max-width:560px) {
 .site-header { align-items: flex-start; }
 .wordmark { font-size: 19px; gap: 7px; letter-spacing: 2px; padding-top: 3px; }
 .wordmark small { font-size: 8px; }
 .header-tools { flex-direction: column; align-items: flex-end; gap: 4px; }
 .language-switch { gap: 5px; }
 .language-switch button { font-size: 11px; padding: 3px 1px; }
 .private-label { font-size: 9px; }
 .sidebar nav a { padding: 12px 4px; gap: 4px; }
 .sidebar nav a>span:nth-child(2) { font-size: 13px; }
 .sidebar nav .nav-icon { font-size: 11px; width: 12px; }
 .sidebar-bottom { gap: 11px; }
 .sidebar-bottom .quiet-link, .sidebar-bottom .text-button { font-size: 9px; }
 .hero { display: block; padding-top: 36px; min-height: 0; }
 .hero h1 { font-size: 34px; }
 .hero-description { font-size: 12px; line-height: 2.1; }
 .hero-english { font-size: 17px; }
 .hero .soft-button { padding: 9px 14px; font-size: 11px; }
 .ink-scene { height: 330px; margin: -20px 0 17px 10px; }
 .ink-art { width: 110%; margin-left: -7%; }
 .ink-caption { font-size: 12px; right: 4%; top: 14%; }
 .ink-verse { left: 10%; bottom: 0; }
 .ink-verse span { font-size: 10px; }
 .ink-verse small { font-size: 11px; }
 .ink-seal { right: 10%; bottom: 22%; font-size: 9px; }
 .hero-side-caption { font-size: 8px; right: -7px; top: 50%; }
 .home-bottom { padding-top: 22px; }
 .section-heading h2 { font-size: 11px; }
 .section-heading em { display: none; }
 .section-heading>a { font-size: 10px; }
 .empty-recent p { font-size: 11px; }
 .empty-recent small, .empty-recent .text-button { font-size: 9px; }
 .page-heading { gap: 10px; }
 .page-heading .soft-button { font-size: 11px; padding: 8px 10px; }
 .paper-page h1 { font-size: 24px; }
 .page-intro { font-size: 11px; line-height: 1.9; }
 .post-grid.story-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 10px; }
 .post-card-copy { padding: 12px 10px 0; }
 .post-card h2 { font-size: 13px; line-height: 1.8; }
 .post-card small { font-size: 9px; }
 .post-card p { font-size: 10px; }
 .post-thumbnail.no-image { padding: 13px; gap: 4px; }
 .writing-excerpt { font-size: 10px; line-height: 2; -webkit-line-clamp: 3; }
 .card-tags { padding: 9px 10px 0; gap: 4px; }
 .card-tags a { font-size: 9px; padding: 2px 5px; }
 .post-kind { font-size: 9px; }
 .type-filters { gap: 6px; }
 .type-filters a { font-size: 11px; padding: 5px 11px; }
 .screenshot-grid { grid-template-columns: 1fr; }
 .screenshot-grid .post-card-copy { padding: 13px 15px 0; }
 .screenshot-grid .post-card h2 { font-size: 15px; }
 .post-body { font-size: 15px; }
 .editor-meta { gap: 10px; }
 .editor-meta select, .editor-taxonomy select { width: 85px; font-size: 12px; }
 .editor-meta .title-label input { font-size: 15px; }
 .editor-taxonomy { gap: 10px; }
 .editor-taxonomy input { font-size: 11px; }
 .editor-page .ql-editor { font-size: 15px; padding: 18px 15px; }
 .editor-status, .editor-help { font-size: 10px; }
 .editor-status { flex-wrap: wrap; }
 .editor-actions .soft-button, .editor-actions .primary-button { font-size: 12px; }
 .back-link { font-size: 10px; }
 .login-panel>p:not(.eyebrow) { font-size: 12px; }
 .login-panel h1 { font-size: 25px; }
}
@media(max-width:360px) {
 .sidebar nav .nav-icon { display: none; }
 .post-grid.story-grid { grid-template-columns: 1fr; }
}
