.community-page{min-height:70vh;background:#fff;color:#20242a;padding:40px 24px 96px}.community-wrap{max-width:900px;margin:auto}.community-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 26px}.community-heading h1{font-size:30px;letter-spacing:-1px;margin:0;font-weight:800}.community-profile{background:none;border:1px solid #e5e8ed;border-radius:22px;padding:8px 14px;color:#536071;font-size:13px}.community-tabs{display:flex;gap:28px;border-bottom:1px solid #e9ecf0;margin-bottom:26px}.community-tabs a{padding:0 0 15px;font-size:16px;font-weight:700;color:#8a929f;border-bottom:3px solid transparent}.community-tabs a[aria-current=page]{border-color:#339cff;color:#20242a}.community-feedback{font-size:14px;margin:0;color:#2471b4;white-space:pre-wrap}.community-feedback:not(:empty){margin:0 0 18px;padding:12px 14px;background:#f3f8ff;border-radius:8px}.community-feedback.is-error{color:#b63c3c;background:#fff4f3}.community-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.community-toolbar form{display:flex;align-items:center;gap:12px;min-width:0}.community-search{display:flex;align-items:center;background:#f5f6f8;border:1px solid #edf0f3;border-radius:10px;overflow:hidden;max-width:330px}.community-search input{min-width:0;width:230px;border:0;background:transparent;padding:12px 14px;font-size:14px;outline-offset:-2px}.community-search button{white-space:nowrap;border:0;background:none;padding:12px;color:#526176;font-size:13px}.community-sort select{font-size:13px;border:0;background:#fff;color:#5d6674;padding:10px 22px 10px 4px;max-width:100%}.community-page .community-primary,.community-dialog .community-primary{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:11px 18px;min-height:42px;background:#339cff;border:1px solid #339cff;border-radius:9px;color:white;font-size:14px;font-weight:700;white-space:nowrap;text-decoration:none}.community-primary span{font-size:19px;font-weight:400}.community-list{border-top:1px solid #e9ecf0}.community-row{display:block;padding:22px 4px;border-bottom:1px solid #edf0f3;text-decoration:none;color:inherit}.community-row:hover{background:#fafcff}.community-row-main{display:flex;align-items:center;gap:8px;min-width:0}.community-row h2{font-size:16px;font-weight:650;line-height:1.6;margin:0;overflow-wrap:anywhere}.community-row-comment{color:#339cff;font-size:13px;font-weight:750}.community-row-meta{display:flex;align-items:center;gap:12px;margin-top:9px;font-size:12px;color:#949ca8}.community-row-meta>span:first-child{color:#677283}.community-row-likes{margin-left:auto}.community-badge{display:inline-block;border-radius:4px;padding:3px 7px;background:#edf6ff;color:#2688df;font-size:11px;font-weight:700;flex-shrink:0}.community-badge.is-spoiler{background:#fff3e8;color:#a96b29}.community-empty{padding:60px 20px;text-align:center;font-size:14px;color:#7a8492}.community-empty a,.community-empty button{display:inline-block;margin:12px 8px;color:#2688df}.community-empty button{padding:8px 14px;border:1px solid #e4eaf2;background:#fff;border-radius:8px}.community-more{display:block;width:100%;padding:14px;border:1px solid #e7ebf0;background:white;border-radius:9px;margin:22px 0;color:#536071;font-size:14px}.community-page [hidden],.community-dialog [hidden]{display:none!important}.community-back{display:inline-block;font-size:14px;color:#727e8e;margin:2px 0 30px}.community-post>header{padding-bottom:24px;border-bottom:1px solid #edf0f3}.community-post h2{font-size:27px;line-height:1.5;letter-spacing:-.6px;margin:8px 0 14px;overflow-wrap:anywhere}.community-meta{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:#939ca9}.community-meta b{color:#566274;font-weight:500}.community-post-body{font-size:16px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;min-height:180px;padding:30px 0 40px}.community-post-body a,.community-comment-body a{color:#2488e0;text-decoration:underline}.community-post-actions{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:0 0 30px;border-bottom:1px solid #e9ecf0}.community-post-actions>div{display:flex;gap:16px;color:#87909c;font-size:13px}.community-post-actions button:not(.community-like),.community-comment-actions button{border:0;background:none;padding:6px 0;color:#7d8794;font-size:12px}.community-like{display:flex;align-items:center;gap:8px;border:1px solid #e3e8ef;background:white;color:#687588;border-radius:24px;padding:10px 20px;font-size:14px}.community-like[aria-pressed=true]{background:#edf6ff;border-color:#acd6ff;color:#2488e0}.community-comments{padding-top:30px}.community-comments>h2{font-size:18px;font-weight:750;margin:0 0 20px}.community-comments>h2 span{color:#339cff;margin-left:5px}.community-comment-form{border:1px solid #e3e8ef;border-radius:12px;padding:16px;margin-bottom:20px;background:#fff}.community-comment-form label{display:block;font-size:13px;font-weight:650;margin-bottom:8px}.community-comment-form textarea{width:100%;border:0;background:none;resize:vertical;font:inherit;font-size:14px;min-height:70px;padding:4px 0;outline-offset:3px}.community-comment-form>div{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px}.community-help{font-size:12px;line-height:1.6;color:#929ba7}.community-thread{border-bottom:1px solid #edf0f3;padding:4px 0}.community-comment{padding:18px 4px;scroll-margin-top:30px}.community-comment:target{background:#f0f7ff}.community-comment.is-reply{padding:16px 16px 16px 28px;background:#f8fafc;border-radius:8px;margin:0 0 6px 24px;position:relative}.community-comment.is-reply:before{content:'↳';position:absolute;left:10px;color:#a2adba}.community-comment-head{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:11px;color:#99a1ad}.community-comment-head b{font-size:13px;font-weight:650;color:#536071}.community-comment-body{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:7px}.community-comment-actions{display:flex;gap:14px;margin-top:5px}.community-mention{font-size:13px;color:#2488e0}.community-more-replies{margin:8px 0 16px 32px;border:0;background:none;color:#2488e0;font-size:12px;padding:6px}.community-editor-title{font-size:22px;margin:0 0 24px}.community-editor label,.community-dialog label{display:block;font-size:14px;font-weight:650;margin-bottom:22px}.community-editor input:not([type=checkbox]),.community-editor textarea,.community-dialog input,.community-dialog textarea,.community-dialog select{display:block;width:100%;margin-top:10px;border:1px solid #e1e6ed;border-radius:9px;background:#fff;padding:13px 14px;font-family:inherit;font-size:15px;color:#273344;resize:vertical}.community-editor textarea{line-height:1.8;min-height:300px}.community-editor .community-checkbox{display:flex;align-items:center;gap:9px;color:#657184;font-size:13px;font-weight:500}.community-checkbox input{width:17px;height:17px;accent-color:#339cff}.community-actions{display:flex;justify-content:flex-end;align-items:center;gap:22px;font-size:14px;margin-top:20px}.community-actions>a{color:#7a8594}.community-dialog{width:min(480px,calc(100% - 32px));max-height:85dvh;border:0;border-radius:16px;padding:26px;box-shadow:0 20px 80px #152a4630;overflow:auto;color:#243043}.community-dialog::backdrop{background:#18283c66}.community-dialog header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.community-dialog h2{font-size:20px;margin:0}.community-dialog [data-close]{background:none;border:0;color:#8390a0;padding:8px}.community-dialog header [data-close]{font-size:24px;line-height:1}.community-dialog [data-dialog-error]{font-size:13px;color:#bd4242;line-height:1.6}.community-page button:disabled,.community-dialog button:disabled{opacity:.55;cursor:wait}.community-my-filter{display:flex;justify-content:space-between;gap:16px;margin:24px 0 18px}.community-my-filter h2{margin:0;font-size:16px}.community-my-filter a{font-size:13px;color:#339cff}.community-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.community-loading{display:grid;place-items:center;padding:70px}.community-loading i{width:24px;height:24px;border:2px solid #e4edf8;border-top-color:#339cff;border-radius:50%;animation:community-spin .7s linear infinite}@keyframes community-spin{to{transform:rotate(360deg)}}
@media(min-width:801px){.site-head .main-nav{gap:20px!important}.site-head .main-nav a{font-size:14px!important}.site-head .head-row{gap:20px!important}.site-head .header-actions{gap:12px!important}}@media(max-width:800px){.community-page{padding:24px 20px 100px}.community-heading{margin-bottom:25px}.community-heading h1{font-size:25px}.community-profile{font-size:12px;padding:7px 11px}.community-tabs{gap:25px;margin-bottom:20px}.community-tabs a{font-size:15px;padding-bottom:13px}.community-toolbar{gap:10px;align-items:flex-start}.community-toolbar form{flex:1;flex-wrap:wrap;gap:8px}.community-search{width:100%;max-width:none;flex:1;min-width:130px}.community-search input{width:100%;padding:11px 10px;font-size:13px}.community-search button{padding:10px;font-size:12px}.community-sort{width:100%;order:2}.community-sort select{padding-left:0;font-size:12px}.community-page .community-primary{font-size:13px;padding:10px 13px;min-height:40px}.community-row{padding:19px 0}.community-row h2{font-size:15px}.community-post h2{font-size:23px}.community-post-body{font-size:15px;padding-top:24px}.community-comment-form{padding:13px}.community-comment-form>div{align-items:flex-end}.community-comment-form .community-help{font-size:11px;max-width:195px}.community-comment.is-reply{margin-left:14px}.community-dialog{padding:22px}.community-editor textarea{min-height:280px}.community-dialog input,.community-dialog textarea,.community-editor input:not([type=checkbox]),.community-editor textarea{font-size:16px}.mobile-nav-community-icon{width:22px;height:18px;border:1.8px solid currentColor;border-radius:6px;display:block;position:relative}.mobile-nav-community-icon:after{content:'';position:absolute;bottom:-5px;left:4px;width:5px;height:6px;border-left:1.8px solid currentColor;transform:skewY(-35deg);background:white}}
@media(prefers-reduced-motion:reduce){.community-loading i{animation:none}}

.community-tabs{overflow-x:auto;white-space:nowrap}.community-tabs a{flex-shrink:0}.community-watch .community-wrap{max-width:1000px}.community-page.community-watch .content-finder{width:100%;max-width:none;padding-top:0}.community-watch .finder-head h2{font-size:20px;margin:0;font-weight:750}

.party-creation-notice>a{display:flex;justify-content:center;margin-top:16px;min-height:44px;align-items:center;border-radius:10px}.party-creation-notice>a+a{margin-top:10px}

/* Community surfaces share the same width, controls and reading rhythm. */
.community-page { padding: 32px 24px 96px; color: #202938; }
.community-wrap { max-width: 1000px; }
.community-heading { margin-bottom: 20px; min-height: 38px; }
.community-heading h1 { font-size: 28px; line-height: 1.35; letter-spacing: -.04em; }
.community-profile { min-height: 44px; padding: 8px 14px; border-radius: 10px; color: #536176; font-weight: 550; }
.community-tabs { gap: 28px; margin: 0 0 24px; border-color: #e8edf3; scrollbar-width: none; }
.community-tabs::-webkit-scrollbar { display: none; }
.community-tabs a { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 0 13px; border-bottom-width: 2px; font-size: 15px; color: #718096; }
.community-tabs a[aria-current=page] { color: #172638; border-color: #1976d2; }
.community-toolbar { align-items: center; gap: 20px; margin-bottom: 20px; }
.community-toolbar form { flex: 1; gap: 16px; }
.community-search { flex: 1; max-width: 440px; min-height: 46px; border: 1px solid #e5eaf1; border-radius: 12px; background: #f7f9fc; }
.community-search:focus-within { border-color: #8abdf4; background: #fff; }
.community-search input { width: 100%; padding: 12px 15px; font-size: 16px; color: #26364b; }
.community-search input::placeholder { color: #687588; }
.community-search button { min-height: 44px; padding-inline: 16px; font-weight: 550; }
.community-sort select { min-height: 44px; cursor: pointer; color: #526176; }
.community-page .community-primary, .community-dialog .community-primary { min-height: 44px; padding: 10px 18px; border-radius: 10px; background: #1976d2; border-color: #1976d2; }
.community-list-filters { display: flex; gap: 6px; margin: 0 0 18px; }
.community-list-filters a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 8px; font-size: 13px; color: #657184; }
.community-list-filters a[aria-current=page] { background: #edf5ff; color: #2475bd; font-weight: 650; }
.community-query { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; font-size: 13px; color: #657184; }
.community-query span { min-width: 0; overflow-wrap: anywhere; }
.community-query a { flex-shrink: 0; display: inline-flex; align-items: center; min-height: 44px; color: #2475bd; }
.community-list { border-color: #e8edf3; }
.community-list:has(>.community-empty) { border-top: 0; }
.community-row { padding: 23px 8px; border-color: #edf1f5; }
.community-row:hover { background: #f8fbff; }
.community-row-main { gap: 10px; }
.community-row h2 { font-size: 16px; font-weight: 650; line-height: 1.55; }
.community-row-meta { gap: 14px; margin-top: 10px; color: #687588; }
.community-row-meta>span:first-child { color: #5d6b7d; }
.community-row-comment { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 6px; background: #edf5ff; font-size: 12px; }
.community-empty { padding: 44px 24px; border: 1px solid #e9eef5; border-radius: 14px; background: #f8fafc; color: #677589; }
.community-empty p { margin: 0; line-height: 1.7; }
.community-empty .community-empty-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 18px 0 0; padding: 0 18px; border-radius: 9px; background: #fff; border: 1px solid #d8e5f4; color: #267ac4; font-weight: 650; }
.community-more { min-height: 46px; border-color: #e1e8f1; border-radius: 10px; }
.community-back { min-height: 36px; margin-bottom: 20px; }
.community-post h2 { max-width: 800px; line-height: 1.45; }
.community-post-body { max-width: 100%; padding: 28px 0 36px; font-size: 16px; line-height: 1.9; color: #344155; }
.community-comment-form { padding: 18px; border-color: #e1e8f1; border-radius: 14px; }
.community-comment-form:focus-within { border-color: #99c3f1; }
.community-comment-form textarea { font-size: 16px; line-height: 1.7; }
.community-comment-head, .community-meta { color: #687588; }
.community-comment-head b { color: #3d4b5e; }
.community-comment-actions button, .community-post-actions button:not(.community-like), .community-post-actions a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 4px; }
.community-comment.is-reply { border-left: 2px solid #dae7f6; background: #f7faff; }
.community-editor input:not([type=checkbox]), .community-editor textarea { border-color: #e0e7f0; border-radius: 12px; padding: 14px 16px; }
.community-editor textarea { line-height: 1.85; }
.community-editor input:focus-visible, .community-editor textarea:focus-visible { outline: 2px solid #8abdf4; outline-offset: 2px; }
.community-form-error { margin: 12px 0 0; font-size: 13px; color: #b13c3c; line-height: 1.6; white-space: pre-wrap; }
.community-form-error:empty { display: none; }
.community-page a:focus-visible, .community-page button:focus-visible, .community-page select:focus-visible, .community-dialog button:focus-visible { outline: 2px solid #2488e0; outline-offset: 3px; }
.community-watch .community-tabs { margin-bottom: 22px; }
@media(max-width:800px) {
  .community-page { padding: 22px 20px 100px; }
  .community-heading { margin-bottom: 14px; min-height: 36px; }
  .community-heading h1 { font-size: 26px; }
  .community-tabs { gap: 25px; margin-bottom: 20px; }
  .community-tabs a { min-height: 46px; font-size: 14px; padding-bottom: 12px; }
  .community-toolbar { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; margin-bottom: 18px; }
  .community-toolbar form { display: contents; }
  .community-search { grid-column: 1/-1; max-width: none; min-width: 0; width: 100%; }
  .community-search input { font-size: 16px; padding: 12px; }
  .community-sort { grid-column: 1; grid-row: 2; width: auto; }
  .community-toolbar>.community-primary { grid-column: 2; grid-row: 2; }
  .community-row { padding: 20px 0; }
  .community-row-main { align-items: flex-start; gap: 8px; }
  .community-row h2 { font-size: 15px; }
  .community-row-comment { flex-shrink: 0; }
  .community-row-meta { gap: 12px; }
  .community-empty { padding: 36px 20px; }
  .community-post h2 { font-size: 23px; }
  .community-comment-form { padding: 14px; }
  .community-comment-form>div { align-items: center; }
  .community-comment-form .community-help { font-size: 12px; max-width: 180px; }
  .community-watch .community-tabs { margin-bottom: 18px; }
}

.community-comments-error { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; padding: 12px 16px; border: 1px solid #eddcc8; border-radius: 10px; background: #fffaf3; color: #785b37; font-size: 13px; }
.community-comments-error button { min-height: 44px; padding: 0 12px; border: 1px solid #d9c5ac; border-radius: 8px; background: #fff; color: #785b37; font: inherit; cursor: pointer; }
/* Safari can retain inherited boot visibility after the shell is revealed. */
html[data-mg-public-ready]:not(.mg-public-booting) .community-page { visibility: visible; }
