:root{
  --lav:#e7d1ff;--lav-soft:#f6efff;--lav-deep:#8b5cf6;--lav-deeper:#7c3aed;
  --ink:#0f172a;--body:#475569;--dim:#94a3b8;--line:#e2e8f0;--white:#fff;
  --page:#f8f7fb;--ok:#16a34a;--red:#ef4444;
}
*{box-sizing:border-box}
.community-notification-btn{width:36px;height:36px;border:0;background:transparent;border-radius:10px;color:var(--body);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;position:relative;flex:0 0 auto}
.community-notification-btn:hover,.community-notification-btn.has-unread{background:var(--lav-soft);color:var(--lav-deeper)}
.community-notification-btn svg{width:20px;height:20px}
.community-notification-badge{position:absolute;top:-3px;right:-4px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:#fc593d;color:#fff;border:2px solid #fff;font-size:9px;font-weight:800;line-height:13px;text-align:center}
.community-notification-panel{display:none;position:absolute;z-index:90;top:52px;right:54px;width:min(380px,calc(100vw - 24px));max-height:min(520px,70vh);background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 24px 60px -26px rgba(15,23,42,.5);overflow:hidden}
.community-notification-panel.open{display:block}
.community-notification-head{height:52px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);color:var(--ink)}
.community-notification-head strong{font-size:15px}
.community-notification-head button{border:0;background:none;color:var(--lav-deeper);font-size:12px;font-weight:700;cursor:pointer}
.community-notification-list{overflow:auto;max-height:430px}
.community-notification-item{width:100%;display:flex;gap:12px;align-items:flex-start;text-align:left;padding:13px 15px;border:0;border-bottom:1px solid #f1f5f9;background:#fff;cursor:pointer;color:var(--body)}
.community-notification-item:hover{background:var(--lav-soft)}
.community-notification-item.unread{background:#fbf8ff;box-shadow:inset 3px 0 var(--lav-deep)}
.community-notification-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1;font-size:13px;line-height:1.45}
.community-notification-copy b{color:var(--ink);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.community-notification-item time{font-size:10px;color:var(--dim);white-space:nowrap}
.community-notification-empty{padding:36px 18px;text-align:center;color:var(--dim);font-size:13px}
.topbar .community-notification-btn{margin-left:auto}
.topbar .community-notification-btn+.topbar-avatar{margin-left:6px}
.community-view{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;background:var(--page)}
.community-view #communityApp{min-height:100%}
.community-embedded-toolbar{position:sticky;top:0;z-index:35;height:0;max-width:1260px;margin:0 auto;padding:0 20px;display:flex;justify-content:flex-end;pointer-events:none}
.community-embedded-toolbar .community-identity-chip{margin-top:16px;pointer-events:auto}

body.community-page{margin:0;background:var(--page);color:var(--body);font-family:Inter,system-ui,-apple-system,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}
.community-page button,.community-page input,.community-page textarea,.community-page select{font:inherit}
.community-topbar{height:64px;position:sticky;top:0;z-index:60;display:flex;align-items:center;gap:12px;padding:0 max(20px,calc((100vw - 1260px)/2));background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.community-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-weight:850;letter-spacing:-.2px}
.community-brand img{width:34px;height:34px}.community-brand span{font-size:17px}
.community-back{display:inline-flex;align-items:center;gap:6px;margin-left:10px;padding-left:18px;border-left:1px solid var(--line);text-decoration:none;color:var(--body);font-size:13px;font-weight:650}
.community-back:hover{color:var(--lav-deeper)}
.community-topbar-spacer{flex:1}
.community-identity-chip{display:flex;align-items:center;gap:7px;border:1px solid var(--lav);background:var(--lav-soft);color:var(--lav-deeper);border-radius:999px;padding:7px 11px;font-size:12px;font-weight:750;cursor:pointer}
.community-identity-chip svg{width:15px;height:15px}
.community-topbar .community-notification-panel{top:57px;right:max(20px,calc((100vw - 1260px)/2 + 44px))}
.community-user-avatar{width:36px;height:36px;border:0;border-radius:50%;background:var(--lav);color:var(--lav-deeper);display:flex;align-items:center;justify-content:center;font-weight:800;overflow:hidden;cursor:pointer;text-decoration:none}
.community-user-avatar img{width:100%;height:100%;object-fit:cover}
.community-shell{max-width:1180px;margin:0 auto;padding:34px 40px 80px}
.community-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.community-directory-card{min-width:0;min-height:230px;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;transition:border-color .15s,box-shadow .15s,transform .15s}
.community-directory-card:hover{border-color:var(--lav-deep);box-shadow:0 12px 32px -18px rgba(123,79,196,.45);transform:translateY(-1px)}
.community-card-main{width:100%;min-width:0;flex:1;display:flex;flex-direction:column;align-items:stretch;border:0;background:transparent;padding:22px 20px 10px;text-align:left;color:inherit;cursor:pointer}
.community-card-top{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:17px}
.community-card-icon{width:46px;height:46px;border-radius:13px;display:flex;align-items:center;justify-content:center;background:var(--lav-soft);color:var(--community-accent,var(--lav-deeper));box-shadow:inset 0 0 0 1px rgba(139,92,246,.08)}
.community-card-icon svg{width:25px;height:25px}
.community-card-arrow{width:20px;height:20px;margin-top:4px;color:var(--dim)}
.community-directory-card:hover .community-card-arrow{color:var(--lav-deeper);transform:translateX(2px)}
.community-card-title{display:block;color:var(--ink);font-size:18px;font-weight:820;line-height:1.3;margin-bottom:8px}
.community-card-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:var(--body);font-size:13px;line-height:1.65}
.community-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:5px 20px 20px;color:var(--dim);font-size:12px}
.community-card-join{border:1.5px solid var(--lav-deep);background:#fff;color:var(--lav-deeper);border-radius:999px;padding:6px 13px;font-size:12px;font-weight:750;cursor:pointer;white-space:nowrap}
.community-card-join:hover,.community-card-join.joined{background:var(--lav-soft)}
.community-focus{max-width:980px}
.community-focus-back{display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;color:var(--body);font-size:13px;font-weight:750;padding:4px 0;margin:0 0 14px;cursor:pointer}
.community-focus-back:hover{color:var(--lav-deeper)}
.community-focus-head{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;margin-bottom:18px}
.community-focus-copy{flex:1;min-width:0}.community-focus-copy h1{margin:0 0 5px;color:var(--ink);font-size:25px;line-height:1.25}.community-focus-copy p{margin:0 0 6px;color:var(--body);font-size:13px;line-height:1.55}.community-focus-copy>span{color:var(--dim);font-size:11px}
.community-focus-actions{display:flex;align-items:center;gap:9px}.community-focus-actions .community-primary{box-shadow:none;padding:9px 13px;font-size:12px}
.community-article-head{align-items:flex-end}.community-article-head .community-focus-copy p{margin-bottom:0;max-width:650px}
.community-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#fff 0%,#f7efff 58%,#efe1ff 100%);border:1px solid #e7d8f6;border-radius:24px;padding:32px 36px;margin-bottom:22px;box-shadow:0 16px 44px -34px rgba(73,45,111,.45)}
.community-hero::after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-80px;top:-110px;background:rgba(139,92,246,.11)}
.community-eyebrow{text-transform:uppercase;letter-spacing:2px;color:var(--lav-deeper);font-size:11px;font-weight:850;margin:0 0 8px}
.community-hero h1{position:relative;margin:0;color:var(--ink);font-size:clamp(27px,4vw,42px);line-height:1.1;letter-spacing:-1.2px;max-width:700px}
.community-hero p{position:relative;margin:12px 0 22px;max-width:650px;font-size:15px;line-height:1.65}
.community-primary{border:0;background:var(--lav-deep);color:#fff;border-radius:11px;padding:11px 17px;font-weight:750;cursor:pointer;box-shadow:0 8px 22px rgba(139,92,246,.22)}
.community-primary:hover{background:var(--lav-deeper)}
.community-layout{display:grid;grid-template-columns:230px minmax(0,1fr) 250px;gap:20px;align-items:start}
.community-side-card,.community-feed-tools,.community-post-card,.community-empty{background:#fff;border:1px solid var(--line);border-radius:16px}
.community-side-card{padding:16px;position:sticky;top:84px}
.community-side-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;color:var(--ink);font-size:13px;font-weight:800}
.community-space-list{display:flex;flex-direction:column;gap:4px}
.community-space-row{display:grid;grid-template-columns:29px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 6px;border-radius:10px;cursor:pointer}
.community-space-row:hover,.community-space-row.active{background:var(--lav-soft)}
.community-space-dot{width:28px;height:28px;border-radius:9px;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:850;font-size:12px}
.community-space-copy{min-width:0}.community-space-copy b{display:block;color:var(--ink);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.community-space-copy small{display:block;color:var(--dim);font-size:10px;margin-top:2px}
.community-join{border:1px solid var(--lav);background:#fff;color:var(--lav-deeper);border-radius:999px;padding:4px 7px;font-size:10px;font-weight:750;cursor:pointer}
.community-join.joined{background:var(--lav-soft)}
.community-feed-tools{display:flex;align-items:center;gap:8px;padding:10px;margin-bottom:12px;flex-wrap:wrap}
.community-search{display:flex;align-items:center;gap:6px;flex:1;min-width:240px}.community-search input{width:100%;min-width:0;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:10px;padding:8px 10px;font-size:12px;outline:none}.community-search input:focus{border-color:var(--lav-deep);box-shadow:0 0 0 3px rgba(139,92,246,.1)}.community-search button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;border:1px solid var(--lav);background:var(--lav-soft);color:var(--lav-deeper);border-radius:9px;padding:0;cursor:pointer}.community-search button:hover,.community-search button:focus-visible{border-color:var(--lav-deep);background:#efe3ff;outline:none}.community-search button svg{width:18px;height:18px}
.community-segment{display:flex;background:#f1f5f9;border-radius:10px;padding:3px}
.community-segment button{border:0;background:transparent;border-radius:8px;padding:7px 10px;color:var(--body);font-size:12px;font-weight:700;cursor:pointer}
.community-segment button.active{background:#fff;color:var(--ink);box-shadow:0 2px 8px rgba(15,23,42,.08)}
.community-feed-tools .community-primary{margin-left:auto;padding:8px 12px;font-size:12px;box-shadow:none}
.community-feed{display:flex;flex-direction:column;gap:12px}
.community-post-card{display:block;overflow:hidden;transition:transform .12s,border-color .12s,box-shadow .12s}.community-post-card[data-open-post]{cursor:pointer}.community-post-card[data-open-post]:focus-visible{outline:3px solid rgba(139,92,246,.22);outline-offset:2px;border-color:var(--lav-deep)}.community-post-card[data-open-post] .community-author-wrap:not(.community-author-link){cursor:default}
.community-post-card:hover{transform:translateY(-1px);border-color:#d8c5ee;box-shadow:0 13px 30px -26px rgba(15,23,42,.6)}
.community-post-main{padding:14px 16px 13px;min-width:0}
.community-post-meta{display:flex;align-items:center;gap:7px;color:var(--dim);font-size:11px;line-height:1.4;flex-wrap:wrap}
.community-space-pill{display:inline-flex;align-items:center;gap:5px;color:var(--ink);font-weight:750}.community-space-pill i{width:8px;height:8px;border-radius:3px}
.community-author-wrap{display:inline-flex;align-items:center;gap:5px}.community-author-link{border:0;background:none;color:inherit;text-decoration:none;padding:0;font:inherit;cursor:pointer}.community-author-link:hover .community-author{color:var(--lav-deeper);text-decoration:underline;text-underline-offset:2px}.community-author-link:focus-visible{outline:2px solid rgba(139,92,246,.22);outline-offset:2px;border-radius:999px}.community-author-avatar{width:18px;height:18px;border-radius:50%;background:var(--lav);color:var(--lav-deeper);display:inline-flex;align-items:center;justify-content:center;object-fit:cover;font-size:9px;font-weight:850}.community-author-avatar.anonymous{background:#ede9f3;color:#746b86}.community-author{color:var(--body);font-weight:650}.community-author.anonymous{color:var(--lav-deeper)}
.community-post-title{margin:8px 0 5px;color:var(--ink);font-size:17px;line-height:1.35;word-break:break-word}.community-post-title a{color:inherit;text-decoration:none}.community-post-title a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.community-post-preview{display:flex;align-items:flex-start;gap:12px}.community-post-preview .community-post-body{flex:1;min-width:0}.community-post-image-preview{position:relative;display:block;flex:0 0 112px;width:112px;height:84px;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#f8fafc}.community-post-image-preview img{display:block;width:100%;height:100%;object-fit:cover}.community-post-image-preview>span{position:absolute;right:6px;bottom:6px;min-width:27px;border-radius:999px;padding:3px 7px;background:rgba(15,23,42,.78);color:#fff;font-size:10px;font-weight:800;text-align:center}
.community-post-body{margin:0;color:var(--body);font-size:13px;line-height:1.6;word-break:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
.community-markdown-body>*:first-child{margin-top:0}.community-markdown-body>*:last-child{margin-bottom:0}.community-markdown-body p,.community-markdown-body ul,.community-markdown-body ol,.community-markdown-body blockquote,.community-markdown-body pre{margin:7px 0}.community-markdown-body ul,.community-markdown-body ol{padding-left:22px}.community-markdown-body h1,.community-markdown-body h2,.community-markdown-body h3{color:var(--ink);font-weight:800;line-height:1.35;margin:11px 0 6px}.community-post-body h1,.community-post-body h2,.community-post-body h3{font-size:13px}.community-markdown-body blockquote{border-left:3px solid var(--lav);padding:3px 0 3px 10px;color:var(--body)}.community-markdown-body code{background:#f1f5f9;border-radius:5px;padding:2px 4px;font-size:.9em}.community-markdown-body pre{overflow:auto;background:#f8fafc;border:1px solid var(--line);border-radius:9px;padding:10px}.community-markdown-body pre code{background:transparent;padding:0}.community-markdown-body a{color:var(--lav-deeper);text-decoration:underline;text-underline-offset:2px}.community-markdown-body img{display:block;max-width:100%;max-height:640px;width:auto;height:auto;margin:10px 0;border-radius:10px;object-fit:contain}
.community-viewer-image{cursor:zoom-in}.community-viewer-image:focus-visible{outline:3px solid rgba(139,92,246,.3);outline-offset:3px}
.community-image-gallery{display:grid;gap:9px;margin:14px 0;max-width:720px}.community-image-gallery.multiple{grid-template-columns:repeat(2,minmax(0,1fr))}.community-image-gallery.single{grid-template-columns:minmax(0,1fr)}.community-image-gallery-item{position:relative;min-width:0;margin:0!important;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#f8fafc}.community-image-gallery.multiple .community-image-gallery-item{aspect-ratio:4/3}.community-image-gallery-item img{display:block;width:100%;height:100%;max-width:none;max-height:none;margin:0;border-radius:0;object-fit:cover}.community-image-gallery.single .community-image-gallery-item img{width:auto;max-width:100%;height:auto;max-height:520px;margin:auto;object-fit:contain}.community-image-gallery-overflow{display:none}.community-image-gallery-item[data-more]::after{content:attr(data-more);position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(15,23,42,.58);color:#fff;font-size:28px;font-weight:850;pointer-events:none}
.community-post-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-top:11px}.community-text-action{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:var(--dim);padding:5px 7px;border-radius:7px;font-size:11px;font-weight:700;cursor:pointer;text-decoration:none}.community-text-action:hover,.community-like-action.voted{background:var(--lav-soft);color:var(--lav-deeper)}.community-like-icon{width:15px;height:15px;flex:0 0 auto}
.community-ai-action{display:inline-flex;align-items:center;gap:7px;margin-right:auto;border:1px solid var(--lav);background:var(--lav-soft);color:var(--lav-deeper);border-radius:999px;padding:7px 12px;font-size:11px;font-weight:800;cursor:pointer;text-decoration:none}.community-ai-action:hover,.community-ai-action:focus-visible{border-color:var(--lav-deep);background:#efe3ff;outline:none;box-shadow:0 0 0 3px rgba(139,92,246,.1)}.community-ai-icon{width:15px;height:15px}
.community-owner-actions{display:flex;align-items:center;gap:3px;margin-left:auto}.community-owner-action{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:0;background:transparent;color:var(--body);border-radius:8px;padding:0;cursor:pointer}.community-owner-icon{width:15px;height:15px}.community-owner-action:hover,.community-owner-action:focus-visible{background:var(--lav-soft);color:var(--lav-deeper);outline:none}.community-owner-action:focus-visible{box-shadow:0 0 0 2px rgba(139,92,246,.22)}.community-owner-action.danger:hover,.community-owner-action.danger:focus-visible{background:#fff1f2;color:#be123c}
.community-creator{max-width:980px}.community-creator-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;margin-bottom:12px}.community-creator-head h1{margin:5px 0 6px;color:var(--ink);font-size:28px;line-height:1.2}.community-creator-head p{margin:0;color:var(--body);font-size:13px;line-height:1.6}.community-creator-eyebrow{color:var(--lav-deeper);font-size:10px;font-weight:850;letter-spacing:1.8px;text-transform:uppercase}.community-creator-summary{display:flex;align-items:baseline;gap:7px;padding:5px 5px 13px;color:var(--dim);font-size:12px}.community-creator-summary strong{color:var(--ink);font-size:20px}
.community-profile-head{align-items:center;justify-content:flex-start}.community-profile-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 64px;width:64px;height:64px;border-radius:50%;overflow:hidden;background:var(--lav);color:var(--lav-deeper);font-size:24px;font-weight:850}.community-profile-avatar img{width:100%;height:100%;object-fit:cover}.community-profile-head h1{margin-bottom:0}
.community-empty{padding:48px 24px;text-align:center;color:var(--dim);font-size:13px}.community-empty b{display:block;color:var(--ink);font-size:16px;margin-bottom:7px}
.community-load-sentinel{display:flex;align-items:center;justify-content:center;height:48px}.community-load-sentinel[hidden]{display:none}.community-load-sentinel span{display:none;width:20px;height:20px;border:2px solid var(--lav);border-top-color:var(--lav-deeper);border-radius:50%;animation:community-feed-spin .7s linear infinite}.community-load-sentinel.loading span{display:block}@keyframes community-feed-spin{to{transform:rotate(360deg)}}
.community-guide{font-size:12px;line-height:1.6}.community-guide h3{margin:0 0 8px;color:var(--ink);font-size:14px}.community-guide p{margin:0 0 10px}.community-privacy-note{background:var(--lav-soft);border-radius:11px;padding:11px;color:#654694;font-size:11px;line-height:1.55}
.community-auth-gate{max-width:520px;margin:90px auto;background:#fff;border:1px solid var(--line);border-radius:20px;padding:36px;text-align:center}.community-auth-gate img{width:52px}.community-auth-gate h1{color:var(--ink);font-size:24px;margin:15px 0 8px}.community-auth-gate p{line-height:1.6;margin:0 0 20px}
.community-mask{display:none;position:fixed;inset:0;z-index:100;background:rgba(15,23,42,.48);backdrop-filter:blur(3px);align-items:center;justify-content:center;padding:20px}.community-mask.open{display:flex}
.community-dialog{width:min(560px,100%);max-height:calc(100vh - 40px);overflow:auto;background:#fff;border-radius:20px;box-shadow:0 28px 80px -24px rgba(15,23,42,.55)}
.community-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;padding:22px 24px 14px}.community-dialog-head h2{margin:0;color:var(--ink);font-size:21px}.community-dialog-head p{margin:6px 0 0;font-size:13px;line-height:1.55}.community-close{border:0;background:#f1f5f9;color:var(--body);width:32px;height:32px;border-radius:9px;cursor:pointer;font-size:20px;line-height:1}
.community-dialog-body{padding:4px 24px 24px}.community-field{display:flex;flex-direction:column;gap:6px;margin-bottom:15px}.community-field-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.community-field label{color:var(--ink);font-size:12px;font-weight:750}.community-char-count{flex:0 0 auto;color:var(--dim);font-size:11px;font-variant-numeric:tabular-nums}.community-char-count.near-limit{color:var(--lav-deeper);font-weight:750}.community-field small{color:var(--dim);font-size:11px;line-height:1.5}.community-field input,.community-field textarea,.community-field select{width:100%;border:1.5px solid var(--line);border-radius:11px;padding:11px 12px;color:var(--ink);background:#fff;outline:none}.community-field textarea{min-height:130px;resize:vertical;line-height:1.55}.community-field input:focus,.community-field textarea:focus,.community-field select:focus{border-color:var(--lav-deep);box-shadow:0 0 0 3px rgba(139,92,246,.1)}
.community-upload-status{display:none;color:var(--lav-deeper)!important;font-weight:700}.community-upload-status.active{display:block}
.community-md-editor{display:none}.community-markdown-field.markdown-ready>textarea{display:none}.community-markdown-field.markdown-ready>.community-md-editor{display:block}.community-md-editor .toastui-editor-defaultUI{border:1.5px solid var(--line);border-radius:11px;overflow:visible;font-family:inherit}.community-md-editor .toastui-editor-defaultUI-toolbar{height:35px;padding:0 6px;background:#f8fafc;border-bottom-color:var(--line);overflow-x:auto;overflow-y:hidden}.community-md-editor .toastui-editor-toolbar{height:36px;min-width:max-content}.community-md-editor .toastui-editor-toolbar-divider{height:16px;margin:9px 5px}.community-md-editor .toastui-editor-defaultUI-toolbar button{width:26px;height:26px;margin:4px 2px}.community-md-editor .toastui-editor-defaultUI .toastui-editor-md-tab-container{height:35px;background:#f8fafc}.community-md-editor .toastui-editor-md-tab-container .toastui-editor-tabs{margin-left:8px}.community-md-editor .toastui-editor-md-tab-container .tab-item{width:60px;height:27px;margin-top:8px;line-height:27px;font-size:11px}.community-md-editor .toastui-editor-main,.community-md-editor .toastui-editor-md-container,.community-md-editor .toastui-editor-md-preview{background:#fff}.community-md-editor .toastui-editor-contents,.community-md-editor .ProseMirror,.community-md-editor .CodeMirror{font-family:inherit;font-size:13px}.community-md-editor .toastui-editor-md-tab-container .tab-item.active{color:var(--lav-deeper);border-color:var(--lav-deep)}.community-md-editor:focus-within .toastui-editor-defaultUI{border-color:var(--lav-deep);box-shadow:0 0 0 3px rgba(139,92,246,.1)}
.community-md-editor .toastui-editor-contents p:has(>img:only-child){display:inline-block;margin:6px 7px 6px 0}.community-md-editor .toastui-editor-contents .community-editor-preview-image{display:block;width:140px;height:105px;max-width:140px;max-height:105px;margin:0;border:1px solid var(--line);border-radius:9px;background:#f8fafc;object-fit:contain}
.community-md-editor .toastui-editor-popup{width:min(330px,calc(100vw - 56px))}.community-md-editor .toastui-editor-popup-add-link .toastui-editor-popup-body,.community-md-editor .toastui-editor-popup-add-image .toastui-editor-popup-body{padding:0 12px 12px}.community-md-editor .toastui-editor-popup-body label{margin:8px 0 4px}.community-md-editor .toastui-editor-popup-body .toastui-editor-button-container{margin-top:10px}.community-md-editor .toastui-editor-popup-body input[type=text]{height:28px}.community-md-editor .toastui-editor-popup-add-image .toastui-editor-tabs{margin:2px 0 5px}.community-md-editor .toastui-editor-popup-add-image .toastui-editor-tabs .tab-item{height:30px;line-height:30px}.community-md-editor .toastui-editor-popup-add-image .toastui-editor-file-name{height:28px;line-height:28px;padding:0 8px}.community-md-editor .toastui-editor-popup-add-image .toastui-editor-file-select-button{height:30px}.community-md-editor .toastui-editor-defaultUI .toastui-editor-ok-button,.community-md-editor .toastui-editor-defaultUI .toastui-editor-close-button{min-width:56px;height:28px}
.community-md-editor .toastui-editor-popup-add-link .toastui-editor-ok-button,.community-md-editor .toastui-editor-popup-add-image .toastui-editor-ok-button{min-width:64px;height:32px;border:0;border-radius:9px;background:linear-gradient(135deg,var(--lav-deep),var(--lav-deeper));color:#fff;font-family:inherit;font-weight:800;box-shadow:0 7px 16px rgba(109,40,217,.24);transition:transform .15s ease,box-shadow .15s ease,filter .15s ease}.community-md-editor .toastui-editor-popup-add-link .toastui-editor-ok-button:hover,.community-md-editor .toastui-editor-popup-add-image .toastui-editor-ok-button:hover{background:linear-gradient(135deg,var(--lav-deep),var(--lav-deeper));filter:brightness(1.05);transform:translateY(-1px);box-shadow:0 9px 20px rgba(109,40,217,.3)}.community-md-editor .toastui-editor-popup-add-link .toastui-editor-ok-button:focus-visible,.community-md-editor .toastui-editor-popup-add-image .toastui-editor-ok-button:focus-visible{outline:3px solid rgba(139,92,246,.22);outline-offset:2px}.community-md-editor .toastui-editor-popup-add-link .toastui-editor-ok-button:active,.community-md-editor .toastui-editor-popup-add-image .toastui-editor-ok-button:active{transform:translateY(0);box-shadow:0 4px 10px rgba(109,40,217,.22)}
.community-md-editor .toastui-editor-popup-add-link .toastui-editor-close-button,.community-md-editor .toastui-editor-popup-add-image .toastui-editor-close-button{min-width:64px;height:32px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--body);font-family:inherit;font-weight:750;transition:background .15s ease,border-color .15s ease,color .15s ease}.community-md-editor .toastui-editor-popup-add-link .toastui-editor-close-button:hover,.community-md-editor .toastui-editor-popup-add-image .toastui-editor-close-button:hover{border-color:var(--lav-deep);background:var(--lav-soft);color:var(--lav-deeper)}.community-md-editor .toastui-editor-popup-add-link .toastui-editor-close-button:focus-visible,.community-md-editor .toastui-editor-popup-add-image .toastui-editor-close-button:focus-visible{outline:3px solid rgba(139,92,246,.16);outline-offset:2px}
.community-composer-dialog{width:min(600px,100%)}.community-composer-dialog .community-dialog-head{padding:16px 20px 9px}.community-composer-dialog .community-dialog-body{padding:2px 20px 18px}.community-composer-dialog .community-field{gap:5px;margin-bottom:10px}.community-composer-dialog .community-field input,.community-composer-dialog .community-field select{padding:9px 11px}.community-composer-dialog .community-dialog-actions{margin-top:2px}
.community-composer-identity-hint{display:inline-block!important;margin-top:7px!important;border-radius:999px;padding:4px 9px;font-size:11px!important;font-weight:750}.community-composer-identity-hint.anonymous{background:#ede9f3;color:#654694}.community-composer-identity-hint.public{background:#ecfdf5;color:#047857}
.community-dialog-actions{display:flex;justify-content:flex-end;gap:9px}.community-secondary{border:1px solid var(--line);background:#fff;color:var(--body);border-radius:10px;padding:10px 15px;font-weight:700;cursor:pointer}
.community-identity-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.community-identity-option{border:2px solid var(--line);background:#fff;border-radius:15px;padding:18px;text-align:left;cursor:pointer}.community-identity-option:hover,.community-identity-option.active{border-color:var(--lav-deep);background:var(--lav-soft)}.community-identity-option svg{width:24px;height:24px;color:var(--lav-deeper)}.community-identity-option b{display:block;color:var(--ink);margin:9px 0 5px}.community-identity-option span{display:block;color:var(--body);font-size:12px;line-height:1.5}.community-identity-safety{margin-top:14px;padding:11px 13px;border-radius:10px;background:#f8fafc;color:var(--dim);font-size:11px;line-height:1.55}
.community-detail-dialog{width:min(820px,100%)}.community-detail-content{padding:0 24px 24px}.community-detail-post{border-bottom:1px solid var(--line);padding-bottom:17px}.community-detail-post h2{color:var(--ink);font-size:23px;line-height:1.35;margin:10px 0}.community-detail-body{color:var(--body);font-size:14px;line-height:1.7;word-break:break-word;margin:12px 0}.community-detail-body h1{font-size:22px}.community-detail-body h2{font-size:19px}.community-detail-body h3{font-size:16px}.community-comment-form{display:flex;gap:9px;margin:18px 0}.community-comment-input{position:relative;display:flex;flex:1}.community-comment-input textarea{flex:1;padding-bottom:27px}.community-comment-input .community-char-count{position:absolute;right:10px;bottom:7px;pointer-events:none}.community-comment-form textarea{flex:1;min-height:72px;border:1.5px solid var(--line);border-radius:11px;padding:10px 12px 27px;resize:vertical;outline:none}.community-comment-form textarea:focus{border-color:var(--lav-deep)}.community-comment-form button{align-self:flex-end}
.community-comments{display:flex;flex-direction:column;gap:9px}.community-comment{border-left:2px solid var(--line);padding:10px 0 7px 13px;scroll-margin-top:90px}.community-comment.highlight{border-left-color:var(--lav-deep);background:var(--lav-soft);border-radius:0 10px 10px 0}.community-comment-meta{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--dim)}.community-comment-body{color:var(--ink);font-size:13px;line-height:1.65;white-space:pre-wrap;word-break:break-word;margin:6px 0}.community-comment-actions{display:flex;align-items:center;gap:6px}.community-comment-actions button{display:inline-flex;align-items:center;gap:4px;border:0;background:none;color:var(--dim);font-size:10px;font-weight:700;cursor:pointer;padding:4px 6px;border-radius:6px}.community-comment-actions button:hover,.community-comment-actions button.voted{background:var(--lav-soft);color:var(--lav-deeper)}.community-comment-actions .community-like-icon{width:13px;height:13px}.community-reply-form{display:flex;gap:7px;margin-top:8px}.community-reply-form textarea{flex:1;min-height:55px;border:1px solid var(--line);border-radius:9px;padding:8px 8px 27px;resize:vertical}.community-reply-form button{align-self:flex-end}
.community-toast{position:fixed;z-index:150;left:50%;bottom:-80px;transform:translateX(-50%);background:var(--ink);color:#fff;border-radius:11px;padding:11px 18px;font-size:13px;font-weight:700;box-shadow:0 15px 35px rgba(15,23,42,.28);transition:bottom .25s}.community-toast.show{bottom:24px}
.community-image-viewer{display:none;position:fixed;inset:0;z-index:500;background:rgba(8,12,24,.96);color:#fff;overflow:hidden}.community-image-viewer.open{display:block}.community-image-viewer-open{overflow:hidden}.community-image-viewer-toolbar{position:absolute;z-index:3;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:16px 18px;background:linear-gradient(180deg,rgba(0,0,0,.55),transparent)}.community-image-viewer-count{font-size:13px;font-weight:750;font-variant-numeric:tabular-nums}.community-image-viewer button{display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.22);background:rgba(15,23,42,.72);color:#fff;cursor:pointer;backdrop-filter:blur(8px)}.community-image-viewer button:hover,.community-image-viewer button:focus-visible{background:rgba(109,40,217,.88);outline:2px solid rgba(255,255,255,.55);outline-offset:2px}.community-image-viewer-toolbar button{width:38px;height:38px;border-radius:50%;font-size:25px}.community-image-viewer-stage{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:72px 74px 76px}.community-image-viewer-stage img{display:block;max-width:100%;max-height:100%;object-fit:contain;transform-origin:center center;transition:transform .12s ease;touch-action:none;user-select:none;-webkit-user-drag:none}.community-image-viewer-stage img.zoomed{cursor:grab;transition:none}.community-image-viewer-stage img.zoomed:active{cursor:grabbing}.community-image-viewer-nav{position:absolute;z-index:3;top:50%;width:46px;height:58px;border-radius:13px;transform:translateY(-50%);font-size:38px}.community-image-viewer-nav.previous{left:16px}.community-image-viewer-nav.next{right:16px}.community-image-viewer-zoom{position:absolute;z-index:3;left:50%;bottom:18px;display:flex;gap:7px;transform:translateX(-50%)}.community-image-viewer-zoom button{height:38px;min-width:42px;border-radius:11px;font-size:19px}.community-image-viewer-zoom .community-image-viewer-scale{min-width:68px;padding:0 10px;font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}
@media(max-width:1000px){.community-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.community-layout{grid-template-columns:210px minmax(0,1fr)}.community-layout>.community-side-card:last-child{display:none}}
@media(max-width:720px){.community-topbar{padding:0 12px}.community-brand span,.community-back{display:none}.community-identity-chip span{display:none}.community-topbar .community-notification-panel{right:12px}.community-embedded-toolbar{padding:0 12px}.community-shell{padding:16px 12px 70px}.community-directory-grid{grid-template-columns:1fr;gap:13px}.community-directory-card{min-height:205px}.community-card-main{padding:18px 16px 8px}.community-card-footer{padding:5px 16px 17px}.community-focus-head{align-items:flex-start;flex-wrap:wrap;padding:16px}.community-focus-head>.community-card-icon{width:42px;height:42px}.community-focus-copy{flex-basis:calc(100% - 58px)}.community-article-head .community-focus-copy{flex-basis:100%}.community-focus-actions{width:100%;justify-content:flex-end}.community-creator-head{align-items:flex-start;flex-direction:column;padding:18px}.community-creator-head .community-primary{align-self:flex-end}.community-hero{padding:24px 21px;border-radius:18px}.community-layout{display:block}.community-layout>.community-side-card:first-child{position:static;margin-bottom:12px;padding:10px;overflow:auto}.community-space-list{flex-direction:row}.community-space-row{min-width:150px}.community-feed-tools{position:sticky;top:0;z-index:20}.community-post-main{padding:12px}.community-owner-actions{margin-left:auto}.community-identity-options{grid-template-columns:1fr}.community-dialog{border-radius:17px}.community-mask{padding:10px}.community-detail-content,.community-dialog-body{padding-left:16px;padding-right:16px}.community-post-image-preview{flex-basis:92px;width:92px;height:72px}.community-image-gallery{gap:6px}.community-image-viewer-stage{padding:62px 10px 74px}.community-image-viewer-nav{top:auto;bottom:16px;width:42px;height:40px;border-radius:11px;transform:none;font-size:30px}.community-image-viewer-nav.previous{left:12px}.community-image-viewer-nav.next{right:12px}.community-image-viewer-zoom{bottom:17px}.community-image-viewer-toolbar{padding:12px}}
@media(max-width:720px){.community-search{order:2;min-width:100%}}
@media(max-width:480px){.community-md-editor .toastui-editor-popup{width:280px;max-width:calc(100vw - 36px);margin-left:-140px}}
