:root{--ink:#181818;--muted:#8b8b8b;--line:#e5e5e5;--soft:#f5f5f5;--coral:#e8594f;--coral-dark:#d9463d;--green:#23864e;--panel:410px;--ui-font:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans SC","Noto Sans KR","Apple SD Gothic Neo",Arial,sans-serif}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:var(--ui-font);color:var(--ink);background:#f1f1f1}
button,input,textarea,select{font:inherit;color:inherit}
button{cursor:pointer;background:#fff;border:1px solid #d4d4d4;border-radius:2px}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #222;outline-offset:2px}
.appbar{height:58px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 20px;position:sticky;top:0;z-index:30}
.brand{display:flex;align-items:center;gap:9px;font-weight:750}.brand-mark{color:var(--coral);font-size:28px;line-height:1;font-weight:900}.save-state{font-size:12px;font-weight:500;color:#777;padding-left:4px}.appbar-actions,.export-actions{display:flex;align-items:center;gap:7px}.appbar select{min-width:150px}
.tool-btn,.primary-btn,.appbar select{height:34px;padding:0 12px;border:1px solid #d6d6d6;background:#fff;border-radius:2px;font-size:13px}.primary-btn{background:#202020;color:#fff;border-color:#202020}
.viewbar{height:54px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 20px;position:sticky;top:58px;z-index:29}.segmented{display:flex;border:1px solid #d7d7d7}.segmented button{height:32px;padding:0 14px;border:0;border-right:1px solid #d7d7d7;border-radius:0;font-size:13px}.segmented button:last-child{border-right:0}.segmented button.active{background:#202020;color:#fff}
.workspace{display:grid;grid-template-columns:var(--panel) minmax(0,1fr);min-height:calc(100vh - 112px)}
.editor-panel{background:#fff;border-right:1px solid #d7d7d7;position:sticky;top:112px;height:calc(100vh - 112px);overflow:auto;z-index:10}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;padding:20px 20px 14px;border-bottom:1px solid var(--line)}.eyebrow{color:var(--coral);font-size:11px;font-weight:800;letter-spacing:.08em}.panel-head h2,.dialog h2{margin:3px 0 0;font-size:20px}.icon-btn{border:0;background:transparent;font-size:25px;line-height:1;width:34px;height:34px}.editor-tabs{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.editor-tabs button{border:0;border-radius:0;height:43px;font-size:13px;color:#666}.editor-tabs button.active{color:#111;font-weight:750;border-bottom:2px solid #222}.editor-fields{padding:18px 20px 100px}.field{margin:0 0 16px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.field label,.field-label{display:block;font-size:12px;font-weight:750;margin-bottom:6px}.field small{display:block;color:#888;line-height:1.5;margin-top:5px}.field input,.field textarea,.field select{width:100%;border:1px solid #cfcfcf;border-radius:2px;background:#fff;padding:9px 10px;font-size:14px}.field textarea{min-height:100px;resize:vertical;line-height:1.55}.field input[type=range]{padding:0;border:0}.check-row{display:flex;align-items:center;gap:8px;margin:8px 0 15px;font-size:14px}.check-row input{width:17px;height:17px}.section-title{display:flex;align-items:center;justify-content:space-between;margin:20px 0 9px;border-top:1px solid var(--line);padding-top:17px}.section-title:first-child{margin-top:0;border-top:0;padding-top:0}.section-title h3{margin:0;font-size:14px}.small-btn{height:29px;padding:0 9px;font-size:12px}.danger{color:#ba2e29;border-color:#e2aaa7;background:#fff}.item-list{border:1px solid #ddd}.item-row{display:flex;align-items:center;gap:8px;padding:9px;border-bottom:1px solid #e7e7e7}.item-row:last-child{border-bottom:0}.item-row .item-main{min-width:0;flex:1}.item-name{font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item-sub{font-size:11px;color:#888;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.row-actions{display:flex;gap:4px}.row-actions button{width:27px;height:27px;border-color:#ddd;padding:0}.upload-label{display:block;border:1px dashed #aaa;text-align:center;padding:11px;font-size:13px;cursor:pointer;background:#fafafa}.upload-label input{display:none}.image-thumb{width:48px;height:48px;object-fit:cover;background:#eee}.editor-actions{display:flex;gap:7px;margin-top:18px}.editor-actions button{flex:1;height:36px}.subtle{color:#888;font-size:12px;line-height:1.6}.notice{background:#f6f6f6;border-left:3px solid #999;padding:10px 11px;font-size:12px;color:#666;line-height:1.55}
.stage{min-width:0;padding:24px 20px 80px;overflow:auto}.stage-label{width:390px;max-width:100%;margin:0 auto 8px;display:flex;justify-content:space-between;color:#777;font-size:11px}.phone-shell{width:390px;max-width:100%;margin:0 auto;background:#fff;border:1px solid #d7d7d7}
.forum-page{width:390px;max-width:100%;background:#fff;color:#171717;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR","Noto Sans SC","Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.63;word-break:break-word;overflow-wrap:anywhere}.forum-page button{font-family:inherit}.forum-head{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;border-bottom:1px solid #eee}.pann-logo{display:flex;align-items:center;gap:5px;font-size:20px;font-weight:800}.pann-logo b{color:var(--coral);font-size:27px}.head-icons{display:flex;gap:14px;font-size:19px}.forum-nav{height:43px;display:grid;grid-template-columns:repeat(4,1fr);align-items:center;text-align:center;border-bottom:1px solid #e7e7e7;font-size:12px}.forum-nav span:first-child{color:var(--coral);font-weight:700}.topic-strip{height:38px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;background:#fafafa;border-bottom:1px solid #eee;font-size:12px;color:#666}.post-head{padding:21px 17px 16px;border-bottom:1px solid #dcdcdc;position:relative}.hot-badge{position:absolute;left:16px;top:18px;width:43px;height:43px;border:2px solid #cbd1d5;border-radius:50%;display:flex;align-items:center;justify-content:center;text-align:center;color:var(--coral);font-size:10px;line-height:1.05;background:#fff}.hot-badge+.post-title-wrap{padding-left:54px}.post-title{font-size:19px;line-height:1.34;font-weight:800;margin:0 0 11px}.post-meta{color:#989898;font-size:11px;line-height:1.65}.post-head-actions{margin-top:15px;display:flex;justify-content:space-between;align-items:center}.outline-pill{height:29px;padding:0 10px;border:1px solid #cfcfcf;border-radius:15px;font-size:11px;font-weight:700;background:#fff}.mini-actions{display:flex}.mini-actions span{height:29px;display:flex;align-items:center;padding:0 9px;border:1px solid #d4d4d4;border-right:0;font-size:11px}.mini-actions span:last-child{border-right:1px solid #d4d4d4}.accent{color:var(--coral)}
.post-body{padding:26px 17px 34px}.content-block{position:relative;margin:0 0 22px;min-width:0}.content-block:last-child{margin-bottom:0}.body-text{white-space:pre-wrap;min-height:1em}.body-image{display:block;width:100%;height:auto;margin:2px 0}.editable-preview{cursor:pointer}.editable-preview:hover{outline:1px dashed #bbb;outline-offset:3px}.translation-overlay{position:absolute;z-index:3;background:rgba(21,21,21,.94);color:#fff;font-weight:750;line-height:1.45;padding:7px 9px;white-space:pre-wrap;max-width:100%;word-break:break-word}.forum-page[data-preview-mode=translated] .original-layer{display:none}.forum-page[data-preview-mode=translated] .translation-overlay{position:static!important;display:block;width:auto!important;margin:0;background:transparent;color:#171717;font-weight:400;padding:0;font-size:inherit!important;transform:none!important}.forum-page[data-preview-mode=original] .translation-overlay{display:none}.forum-page[data-preview-mode=overlay] .translated-only{display:none}.forum-page[data-preview-mode=original] .translated-only{display:none}
.vote-bar{display:flex;justify-content:center;gap:9px;padding:0 17px 27px}.vote-box{width:76px;height:54px;border:1px solid #d8d8d8;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:11px;color:#777}.vote-box strong{font-size:18px;line-height:1.1}.vote-box.up strong{color:var(--coral)}
.comments-head{border-top:7px solid #f2f2f2;border-bottom:1px solid #d8d8d8;padding:18px 16px 10px;display:flex;justify-content:space-between;align-items:end}.comments-head h3{font-size:16px;margin:0}.comments-head h3 b{color:var(--coral)}.comment-tabs{display:flex;gap:14px;color:#999;font-size:11px}.comment-tabs b{color:#222;border-bottom:2px solid #222;padding-bottom:8px}.comment{position:relative;padding:17px 16px 15px;border-bottom:1px solid #e2e2e2}.comment.hot{border-left:3px solid var(--coral);padding-left:13px}.comment.reply{margin-left:22px;padding-left:24px;background:#fafafa}.comment.reply:before{content:"↳";position:absolute;left:8px;top:17px;color:#aaa}.comment-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:9px;padding-right:2px}.comment-who{min-width:0;color:#777;font-size:11px}.comment-name{color:#333;font-size:12px;font-weight:750}.author-tag{display:inline-block;color:var(--green);border:1px solid #82b89a;padding:0 3px;font-size:9px;margin-left:4px;vertical-align:1px}.hot-tag{display:inline-block;color:var(--coral);font-size:9px;font-weight:800;margin-left:4px}.comment-score{flex:0 0 auto;display:flex;gap:8px;font-size:11px;color:#888}.comment-score .up{color:var(--coral)}.comment-text{position:relative;white-space:pre-wrap;line-height:1.62;min-height:1em}.reply-target{color:var(--coral);font-weight:700;margin-right:5px}.comment-bottom{margin-top:12px}.reply-btn{display:inline-flex;height:27px;align-items:center;border:1px solid #d7d7d7;padding:0 8px;color:#555;font-size:11px}.deleted-text{color:#aaa;font-style:normal}.forum-footer{height:66px;display:flex;align-items:center;justify-content:center;color:#aaa;font-size:10px;background:#fafafa;border-top:7px solid #f2f2f2}
.mobile-edit-btn{display:none}.dialog{border:1px solid #bbb;border-radius:2px;padding:0;width:min(420px,calc(100vw - 32px));background:#fff}.dialog::backdrop,.export-dialog::backdrop{background:rgba(0,0,0,.38)}.dialog form{padding:18px}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between}.draft-file-help{margin:15px 0 0;padding:11px 12px;background:#f4f4f4;border-left:3px solid #777;color:#555;font-size:12px;line-height:1.65}.draft-file-help strong{color:#222}.draft-file-help code{font-size:11px}.dialog-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.dialog-grid button,.dialog-actions button{height:40px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.confirm-dialog p{color:#666;font-size:14px}.export-dialog{width:min(920px,calc(100vw - 28px));max-height:90vh;border:1px solid #aaa;border-radius:2px;padding:18px;background:#eee}.export-dialog>p{font-size:13px;color:#555}.export-gallery{display:flex;align-items:flex-start;gap:14px;overflow:auto;padding-bottom:10px}.export-item{width:390px;flex:0 0 auto;background:#fff;border:1px solid #ccc}.export-item img{display:block;width:100%;height:auto}.export-item a{display:block;text-align:center;padding:11px;border-top:1px solid #ddd;color:#111;font-size:13px;text-decoration:none}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);background:#202020;color:#fff;padding:10px 14px;font-size:13px;opacity:0;pointer-events:none;transition:.18s;z-index:100}.toast.show{opacity:1;transform:translate(-50%,0)}
.manual-crop-dialog{width:min(760px,calc(100vw - 24px));max-height:94vh;border:1px solid #aaa;border-radius:2px;padding:18px;background:#fff}.manual-crop-dialog::backdrop{background:rgba(0,0,0,.45)}.manual-crop-dialog h2{margin:3px 0 0;font-size:20px}.crop-help{margin:10px 0 12px;color:#666;font-size:13px}.crop-ratios{display:grid;grid-template-columns:repeat(4,1fr);margin-bottom:10px;border:1px solid #ccc}.crop-ratios button{height:36px;border:0;border-right:1px solid #ccc;border-radius:0}.crop-ratios button:last-child{border-right:0}.crop-ratios button.active{background:#202020;color:#fff}.crop-height-row,.crop-position-row{display:grid;grid-template-columns:auto 1fr 58px;align-items:center;gap:10px;margin:9px 0;font-size:12px;font-weight:700}.crop-height-row input,.crop-position-row input{width:100%}.crop-height-row output,.crop-position-row output{text-align:right;color:#777;font-variant-numeric:tabular-nums}.crop-height-row.is-locked{opacity:.45}.crop-viewport{height:min(48vh,520px);overflow:auto;background:#d9d9d9;border:1px solid #bbb;padding:10px}.crop-preview-wrap{position:relative;width:min(390px,100%);margin:0 auto;background:#fff;line-height:0;user-select:none}.crop-preview-wrap img{display:block;width:100%;height:auto}.crop-selection{position:absolute;left:0;right:0;top:0;border:3px solid #ed3f32;background:rgba(237,63,50,.08);box-shadow:0 0 0 9999px rgba(0,0,0,.46);cursor:grab;touch-action:none;z-index:2}.crop-selection:active{cursor:grabbing}.crop-selection span{position:absolute;left:8px;top:8px;background:#ed3f32;color:#fff;font-size:12px;font-weight:800;line-height:1;padding:6px 8px}.crop-nudge{display:grid;grid-template-columns:1fr 1fr;gap:8px}.crop-nudge button{height:36px}.crop-queue{margin:10px 0;padding:9px 10px;min-height:38px;background:#f3f3f3;color:#666;font-size:12px;line-height:1.55}.crop-queue b{color:#222}.crop-actions{display:grid;grid-template-columns:auto 1fr 1.25fr;gap:8px}.crop-actions button{height:40px;padding:0 10px}.crop-actions button:disabled{opacity:.42;cursor:not-allowed}
body.is-exporting .editable-preview:hover{outline:0}.export-canvas .forum-head,.export-canvas .forum-nav,.export-canvas .topic-strip{display:flex}.export-canvas{border:0!important}
@media(max-width:800px){.appbar{height:auto;min-height:56px;padding:9px 12px;align-items:flex-start;gap:8px}.brand{font-size:14px}.save-state{display:none}.appbar-actions{gap:4px;flex-wrap:wrap;justify-content:flex-end}.appbar select{min-width:118px;max-width:145px}.appbar .tool-btn{padding:0 8px}.viewbar{top:74px;height:auto;min-height:55px;padding:8px 10px;gap:8px;flex-wrap:wrap}.export-actions{order:1;width:100%}.export-actions button{flex:1;height:40px;font-weight:750}.segmented{order:2;flex:1;width:100%}.segmented button{padding:0 7px;flex:1}.workspace{display:block;min-height:0}.stage{padding:14px 0 96px}.stage-label{padding:0 10px}.phone-shell{border-left:0;border-right:0;width:390px}.editor-panel{display:none;position:fixed;left:0;right:0;bottom:0;top:auto;height:min(72vh,680px);border:1px solid #aaa;border-bottom:0;z-index:60}.editor-panel.open{display:block}.panel-head{position:sticky;top:0;background:#fff;z-index:5}.mobile-edit-btn{display:block;position:fixed;left:50%;bottom:max(16px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:40;height:44px;background:#202020;color:#fff;border-color:#202020;padding:0 22px;font-weight:700}.export-gallery{flex-direction:column}.export-item{width:100%}.dialog-grid{grid-template-columns:1fr}.manual-crop-dialog{padding:14px}.crop-viewport{height:44vh;padding:7px}.crop-actions{grid-template-columns:1fr 1fr}.crop-actions #clearCropQueue{grid-column:1/-1}.editor-fields{padding-bottom:calc(110px + env(safe-area-inset-bottom))}}
@media(max-width:410px){.forum-page,.phone-shell{width:100vw}.stage-label{width:100%}.appbar-actions #importBtn,.appbar-actions #exportDraftBtn{display:none}}
.post-title-wrap{position:relative;min-height:1px}
.hot-badge+.post-title-wrap .translation-overlay{left:54px!important;width:calc(100% - 54px)!important;max-width:calc(100% - 54px)}

.post-head.with-hot{min-height:174px}
.hot-badge{position:absolute;left:13px;top:15px;width:76px;height:101px;border:0;border-radius:0;display:block;color:var(--coral);background:transparent}
.hot-badge svg{display:block;width:100%;height:100%;overflow:visible}
.badge-star,.badge-label{fill:#ef3e2f}
.badge-branch{fill:none;stroke:#b9c3d0;stroke-width:2.4;stroke-linecap:round}
.badge-leaves{fill:#b9c3d0}
.badge-thumb{fill:none;stroke:#ef3e2f;stroke-width:2.7;stroke-linejoin:round;stroke-linecap:round}
.hot-badge text{fill:#fff;font-family:inherit;font-size:11px;font-weight:800}
.hot-badge+.post-title-wrap{padding-left:84px;min-height:52px}
.post-head.with-hot .post-meta{margin-top:46px}
.hot-badge+.post-title-wrap .translation-overlay{left:84px!important;width:calc(100% - 84px)!important;max-width:calc(100% - 84px)}

.vote-bar{min-height:126px;padding:30px 17px 34px;gap:10px;align-items:center;border-top:1px solid #e3e3e3}
.vote-circle{width:34px;height:34px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}
.vote-circle b{font-size:8px;line-height:1;font-weight:800}
.vote-thumb{width:14.5px;height:14.5px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.stage-label span:last-child{font-size:14px;font-weight:600;color:#555}
.image-shortcut{padding:12px 20px;background:#fff;border-bottom:1px solid #e5e5e5}
.image-shortcut label{position:relative;display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #d9463d;background:#fff3f1;color:#b73128;font-size:16px;font-weight:700;cursor:pointer;overflow:hidden}
.image-shortcut input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.image-shortcut span{display:block;text-align:center;margin-top:5px;font-size:12px;color:#777}
.comment-image{display:block;max-width:100%;width:auto;height:auto;margin-top:14px}
.comment-image-editor{margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid #ddd}
.comment-image-editor>img{display:block;max-width:100%;max-height:180px;object-fit:contain;margin-bottom:10px}
.comment-image-upload{position:relative;display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #d9463d;background:#fff3f1;color:#b73128;font-size:15px;font-weight:700;overflow:hidden}
.comment-image-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.vote-up{background:#f13b2f;color:#fff}
.vote-down{background:#ededed;color:#595959}
.vote-number{font-size:25px;line-height:1;font-weight:800;min-width:30px;text-align:center}
.vote-up-number{color:#e84a38}
.vote-down-number{color:#111}

.comment.hot{border-left:0;padding-left:16px}
.comment-identity{display:flex;align-items:center;gap:8px;min-width:0}
.best-badge{width:29px;height:34px;flex:0 0 29px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;position:relative;color:#f23828}
.best-badge b{width:29px;height:15px;background:#f23828;color:#fff;display:flex;align-items:center;justify-content:center;font-size:9px;line-height:1;font-weight:850}
.best-thumb{position:absolute;top:-1px;left:6px;width:18px;height:20px;fill:none;stroke:#f23828;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
