.record-filters{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}.record-filters label{display:flex;align-items:center;gap:8px;margin:0;white-space:nowrap;min-width:0}.record-filters input{width:200px;max-width:100%}.record-filters select{width:100px}.record-filters button{margin:0;flex-shrink:0}@media(max-width:600px){.record-filters label{flex:1 1 100%}.record-filters input,.record-filters select{flex:1;width:0;max-width:none}}
.record-tags{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.record-tags button{padding:6px 12px}.record-tags button[aria-pressed="true"]{background:#2458a8;color:#fff}.record-body{line-height:1.9;overflow-wrap:anywhere}.record-body p{margin:0 0 1.25em}.record-detail{max-width:none}.record-meta{color:#6f7c90}
.record-body h1{font-size:2em}.record-body h2{font-size:1.5em}.record-body h3{font-size:1.2em}.record-body h1,.record-body h2,.record-body h3{margin:1em 0 .5em;line-height:1.4}.record-body ul,.record-body ol{padding-left:2em;margin:0 0 1.25em}.record-body em{font-style:italic}.record-body strong{font-weight:700}.record-body del{text-decoration:line-through}.record-color-red{color:#dc2626}.record-color-amber{color:#d97706}.record-color-green{color:#15803d}.record-color-blue{color:#2563eb}.record-color-purple{color:#9333ea}
.record-editor-toolbar[hidden]{display:none}.record-editor-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0}.record-editor-toolbar button{padding:6px 10px}.record-editor-toolbar label{display:flex;align-items:center;gap:8px;margin:0}.record-editor-toolbar select{width:auto;margin:0}#record-body{font-family:monospace;tab-size:4}.record-body img{display:block;max-width:100%;max-height:80vh;height:auto;object-fit:contain}.record-editor-toolbar #record-image-status{min-width:0}.record-editor-toolbar .record-image-picker{position:relative;display:inline-flex;align-items:center;min-height:44px;padding:6px 10px;border-radius:5px;background:#eef2f8;color:#25334a;cursor:pointer;overflow:hidden}.record-image-picker input[type=file]{position:absolute;inset:0;width:100%;height:100%;max-width:none;margin:0;padding:0;opacity:0;cursor:pointer;font-size:0}.record-image-picker:focus-within{outline:2px solid #2458a8;outline-offset:2px}.record-image-picker[aria-busy=true]{opacity:.6;cursor:wait}
.record-detail{max-width:none;margin:26px auto 36px;padding:0 32px}.home-page .record-article{padding:26px;border:1px solid #e2e7ef;border-radius:12px;box-shadow:0 3px 14px #1c2c4603}.record-article-header{margin:0 0 36px;padding-bottom:30px;border-bottom:1px solid #e9edf3}.record-article-header h1{margin:0 0 22px;color:#1d2d43;font-size:clamp(28px,4vw,42px);font-weight:700;line-height:1.4;letter-spacing:-.02em;overflow-wrap:anywhere}.record-article-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px;color:#76859a;font-size:13px;line-height:1.6}.record-meta-separator{width:3px;height:3px;border-radius:50%;background:#a9b5c5}.record-article-tags{display:flex;flex-wrap:wrap;gap:7px}.record-article-tags span{padding:3px 10px;border-radius:20px;background:#f0f4f9;color:#536983;font-size:12px}.record-article .record-body{margin:0;color:#344256;font-size:16px;line-height:1.95;overflow-wrap:anywhere}.record-article .record-body p{margin:0 0 1.5em}.record-article .record-body h1,.record-article .record-body h2,.record-article .record-body h3{color:#1e3047;font-weight:700;overflow-wrap:anywhere}.record-article .record-body h1{position:relative;margin:2.1em 0 1em;padding:16px 20px 16px 22px;border-left:5px solid #2458a8;border-radius:0 10px 10px 0;background:linear-gradient(90deg,#eaf2fd 0%,#f6faff 100%);font-size:1.55em;line-height:1.5;letter-spacing:.01em;box-shadow:0 1px 2px #2458a80f}.record-article .record-body>h1:first-child{margin-top:0}.record-article .record-body h2{margin:2em 0 .8em;padding:2px 0 10px 14px;border-left:4px solid #4a7fc4;border-bottom:1px solid #e6ecf4;font-size:1.32em;line-height:1.5}.record-article .record-body h3{margin:1.8em 0 .65em;padding-left:11px;border-left:3px solid #9db9de;font-size:1.12em;line-height:1.5;color:#22405f}.record-article .record-body ul,.record-article .record-body ol{margin:0 0 1.5em;padding-left:1.5em}.record-article .record-body ul{list-style:none}.record-article .record-body ul>li{position:relative}.record-article .record-body ul>li:before{content:"";position:absolute;left:-1.05em;top:.78em;width:6px;height:6px;border-radius:50%;background:#4a7fc4}.record-article .record-body ol{padding-left:1.75em}.record-article .record-body ol>li::marker{color:#4a7fc4;font-weight:700}.record-article .record-body li{padding-left:.25em;margin:.4em 0}.record-article .record-body strong{color:inherit}.record-article .record-body img{margin:1.9em auto;border:1px solid #e9eef5;border-radius:10px;background:#fff;box-shadow:0 4px 16px #1c2c4614}.record-article .record-body p > img{margin:0 auto}.record-article .record-body > :last-child{margin-bottom:0}
@media(max-width:640px){.record-detail{margin:16px auto 48px;padding:0 12px}.home-page .record-article{padding:30px 20px;border-radius:12px}.record-article-header{margin-bottom:24px;padding-bottom:24px}.record-article-header h1{margin-bottom:18px;font-size:27px}.record-article .record-body{font-size:15px;line-height:1.85}.record-article .record-body h1{padding:12px 14px 12px 16px;border-left-width:4px;border-radius:0 8px 8px 0;font-size:1.35em}.record-article .record-body h2{padding-left:11px;border-left-width:3px}.record-article .record-body img{border-radius:7px}}
.record-editor[hidden],#record-body[hidden]{display:none}#record-body{width:100%;max-width:none}.record-editor-surface{width:100%;min-height:360px;max-height:70vh;overflow-y:auto;padding:12px;border:1px solid #b8c4d4;border-radius:5px;background:#fff;color:#344256;font-size:16px;line-height:1.95;overflow-wrap:anywhere}.record-editor-surface:focus{outline:2px solid #8db3ee;outline-offset:1px}.record-editor-surface.is-empty:before{content:'在这里输入正文…';color:#8a97a8;pointer-events:none}.record-editor-surface p{margin:0 0 1.5em}.record-editor-surface h1,.record-editor-surface h2,.record-editor-surface h3{color:#1e3047;font-weight:700;overflow-wrap:anywhere}.record-editor-surface h1{margin:2.1em 0 1em;padding:16px 20px 16px 22px;border-left:5px solid #2458a8;border-radius:0 10px 10px 0;background:linear-gradient(90deg,#eaf2fd 0%,#f6faff 100%);font-size:1.55em;line-height:1.5;letter-spacing:.01em;box-shadow:0 1px 2px #2458a80f}.record-editor-surface h2{margin:2em 0 .8em;padding:2px 0 10px 14px;border-left:4px solid #4a7fc4;border-bottom:1px solid #e6ecf4;font-size:1.32em;line-height:1.5}.record-editor-surface h3{margin:1.8em 0 .65em;padding-left:11px;border-left:3px solid #9db9de;font-size:1.12em;line-height:1.5;color:#22405f}.record-editor-surface ul,.record-editor-surface ol{margin:0 0 1.5em;padding-left:1.5em}.record-editor-surface ul{list-style:none}.record-editor-surface ul li{position:relative;padding-left:.25em}.record-editor-surface ul li:before{content:"";position:absolute;left:-1.05em;top:.78em;width:6px;height:6px;border-radius:50%;background:#4a7fc4}.record-editor-surface ol{padding-left:1.75em}.record-editor-surface li{margin:.4em 0}.record-editor-surface strong{color:inherit;font-weight:700}.record-editor-surface em{font-style:italic}.record-editor-surface del{text-decoration:line-through}.record-editor-surface img{display:block;max-width:100%;max-height:80vh;height:auto;margin:1.9em auto;border:1px solid #e9eef5;border-radius:10px;background:#fff;box-shadow:0 4px 16px #1c2c4614}.record-editor-surface p > img{margin:0 auto}.record-editor-surface > :last-child{margin-bottom:0}
.theme-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.theme-admin-grid .theme-admin-card{display:flex;flex-direction:column;margin:0;padding:16px;font-size:13px;overflow-wrap:anywhere}.theme-admin-card h2{margin:0 0 8px;font-size:17px;line-height:1.5}.theme-admin-card p{margin:0 0 7px}.theme-admin-card p:empty{display:none}.theme-admin-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:auto;padding-top:8px;border-top:1px solid #e9edf3}.theme-admin-actions form{margin:0}.theme-admin-actions button{margin:0;padding:5px 12px}.theme-admin-actions>a{display:inline-flex;align-items:center;min-height:34px}@media(max-width:1000px){.theme-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.theme-admin-grid{grid-template-columns:minmax(0,1fr)}}
.record-article .record-body img.is-zoomable{cursor:zoom-in;transition:box-shadow .18s}.record-article .record-body img.is-zoomable:hover{box-shadow:0 8px 26px #1c2c4626}
.record-article .record-body figure.record-figure,.record-editor-surface figure.record-figure{box-sizing:border-box;display:block;width:fit-content;max-width:100%;margin:1.7em auto;padding:8px;border:2px solid #dfe5ee;border-radius:10px;background:#fff;box-shadow:0 2px 10px #1c2c460f}
.record-article .record-body figure.record-figure img,.record-editor-surface figure.record-figure img{display:block;max-width:100%;max-height:80vh;width:auto;height:auto;margin:0;border:0;border-radius:6px;background:#fff;box-shadow:none}
.record-article .record-body figure.record-figure img.is-zoomable:hover{box-shadow:none}
.record-article .record-body figure.record-figure figcaption,.record-editor-surface figure.record-figure figcaption{margin:10px 0 0;padding:0 4px;color:#5c6a80;font-size:15px;line-height:1.65;text-align:center;overflow-wrap:anywhere}
.record-image-desc-dialog{box-sizing:border-box;padding:20px;border:0;border-radius:12px;background:transparent;color:#25334a;overflow:visible}
.record-image-desc-dialog:not([open]){display:none}
.record-image-desc-dialog[open]{display:flex;align-items:center;justify-content:center;width:100vw;max-width:none;height:100vh;max-height:none;margin:0}
.record-image-desc-dialog::backdrop{background:#0b1220a6}
.record-image-desc-inner{box-sizing:border-box;width:min(520px,calc(100vw - 40px));max-height:calc(100vh - 40px);overflow:auto;padding:20px 22px;border-radius:12px;background:#fff;box-shadow:0 20px 60px #00000040}
.record-image-desc-inner h2{margin:0 0 14px;font-size:17px;line-height:1.4;color:#1d2d43}
.record-image-desc-inner img{display:block;max-width:100%;max-height:44vh;width:auto;height:auto;margin:0 auto 14px;border:1px solid #e5eaf2;border-radius:8px;background:#f7f9fc}
.record-image-desc-inner label{display:block;margin:0 0 6px;font-size:13px;font-weight:600;color:#344761}
.record-image-desc-inner input{box-sizing:border-box;width:100%;max-width:none}
.record-image-desc-inner p{margin:8px 0 0;font-size:12px;line-height:1.6;color:#7b8799}
.record-image-desc-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:18px}
.record-image-desc-actions button{margin:0}
.record-image-dialog:not([open]){display:none}
.record-image-dialog{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;overflow:hidden}.record-image-dialog::backdrop{background:#0b1220e0}.record-image-dialog img{display:block;max-width:92vw;max-height:88vh;width:auto;height:auto;margin:0;border:0;border-radius:8px;background:#fff;box-shadow:0 20px 60px #00000066}.record-image-dialog button{position:fixed;top:18px;right:18px;display:flex;align-items:center;justify-content:center;width:40px;height:40px;min-height:0;margin:0;padding:0;border:0;border-radius:50%;background:#ffffff26;color:#fff;font-size:22px;line-height:1;cursor:pointer}.record-image-dialog button:hover{background:#ffffff3d}@media(max-width:640px){.record-image-dialog img{max-width:94vw;max-height:82vh}.record-image-dialog button{top:12px;right:12px;width:36px;height:36px;font-size:20px}}
