.community-page{background:radial-gradient(ellipse at 85% 0,rgba(161,118,44,.10),transparent 44%),#080f1e;color:#e9eef8;min-width:0}
.community-main{max-width:1120px;padding-top:48px;padding-bottom:44px}.community-eyebrow{color:#d9bb80;font-size:.75rem;letter-spacing:.18em;font-weight:800}.community-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.community-heading h1{font-size:clamp(1.8rem,4.6vw,3rem);line-height:1.3;letter-spacing:-.045em;margin:12px 0}.community-heading p,.community-account p,.community-bottom{color:#aebbd0;line-height:1.7}.community-heading .text-link{white-space:nowrap}
.community-account{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 26px;background:#111d30;border:1px solid #2b3950;border-radius:16px;margin-bottom:30px}.community-account p{margin:7px 0 0;font-size:.9rem}.community-account-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.community-page .button,.quiet-button{min-height:44px;cursor:pointer;white-space:nowrap;font:inherit;font-weight:700}.community-page button:disabled{opacity:.5;cursor:not-allowed}.quiet-button{background:transparent;color:#bac8df;border:0;padding:8px 12px}.community-page [hidden]{display:none!important}.community-toolbar{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #394152;gap:16px}.community-tabs{display:flex;gap:28px}.community-tabs a{display:block;text-decoration:none;padding:18px 2px;color:#a9b8cf;border-bottom:3px solid transparent;font-size:1.1rem;font-weight:800}.community-tabs a[aria-current="page"]{color:#f1d6a0;border-color:#d9b775}.community-toolbar>.button{margin-bottom:10px}.community-status{color:#aebbd0;font-size:.95rem;line-height:1.7;min-height:26px;margin:18px 0}.post-list{border-top:1px solid #26364d}.post-row{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #26364d;padding:23px 8px;color:inherit;text-decoration:none}.post-row:hover{background:#111d30}.post-row-title{font-size:1.1rem;font-weight:700;overflow-wrap:anywhere}.post-row-meta{font-size:.83rem;color:#a9b8cf;margin-top:10px}.photo-count{color:#cfb477;margin-left:12px;white-space:nowrap}.official-badge{display:inline-block;font-size:.72rem;color:#f2daaa;background:#322b22;border:1px solid #78603a;border-radius:5px;padding:2px 7px;margin-right:8px;vertical-align:middle}.post-empty{padding:70px 16px;text-align:center;color:#a9b8cf;border-bottom:1px solid #26364d;line-height:1.9}.community-paging{display:flex;justify-content:center;align-items:center;gap:24px;margin:28px 0}.community-bottom{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;font-size:.82rem;margin-top:40px;border-top:1px solid #27364c;padding-top:18px}.community-bottom p{margin:0}.community-bottom a{color:#b7c5da}.post-detail{border:1px solid #34445e;border-radius:18px;background:#101c2f;padding:clamp(20px,4vw,42px)}.post-detail h2{font-size:clamp(1.4rem,3.5vw,2rem);line-height:1.5;overflow-wrap:anywhere;margin-top:24px}.post-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.95;margin:30px 0}.post-detail img{display:block;max-width:100%;height:auto;border-radius:12px;margin:18px auto}.post-actions{display:flex;flex-wrap:wrap;gap:12px;padding-top:22px;border-top:1px solid #34445e;margin-top:30px}.post-date{color:#aebbd0;font-size:.85rem}
.community-dialog{width:min(700px,calc(100vw - 32px));max-height:90dvh;overflow-y:auto;padding:clamp(20px,4vw,32px);border:1px solid #a98a50;border-radius:18px;background:#111d30;color:#edf0f7;box-shadow:0 20px 90px #0008}.community-dialog::backdrop{background:#030810b8}.editor-heading{display:flex;justify-content:space-between;align-items:flex-start}.editor-heading h2{margin:10px 0 24px}.community-dialog label{display:block;font-weight:700;margin:16px 0 9px}.community-dialog label span{font-size:.82rem;color:#b4c1d6;font-weight:400}.community-dialog input:not([type="checkbox"]),.community-dialog textarea{display:block;width:100%;box-sizing:border-box;background:#080f1e;color:#eaf0fb;border:1px solid #47566d;border-radius:9px;padding:13px;font:inherit;line-height:1.7}.community-dialog textarea{resize:vertical;min-height:160px}.community-dialog input[type="file"]{font-size:.85rem;padding:10px}.community-dialog .publication-confirm{display:flex;align-items:flex-start;gap:10px;line-height:1.7;margin-top:22px}.publication-confirm input{margin-top:6px;flex-shrink:0;width:18px;height:18px}.editor-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:22px}.editor-status{color:#e5c49d;line-height:1.6;font-size:.9rem}#photo-previews{display:flex;gap:10px;margin-top:12px}#photo-previews img{width:100px;height:80px;object-fit:cover;border-radius:7px}.nickname-dialog{max-width:460px}.nickname-dialog p{line-height:1.7;color:#b4c1d6}.community-page button:focus-visible,.community-page a:focus-visible{outline:2px solid #f0d6a0;outline-offset:4px}
@media(max-width:700px){.community-main{padding-top:28px}.community-heading{align-items:flex-start;flex-direction:column;gap:6px}.community-heading p{font-size:.92rem}.community-account{flex-direction:column;align-items:flex-start;padding:20px}.community-tabs{gap:20px}.community-tabs a{font-size:1rem}.community-toolbar>.button{padding:9px 15px}.community-dialog{max-height:88dvh}.post-row{padding:20px 4px}.community-account-actions{width:100%}.community-heading h1{word-break:keep-all}.community-bottom{align-items:flex-start;flex-direction:column;gap:10px}}
.community-page { background:linear-gradient(#080f1eea,#080f1ef5),url("assets/cardlegend/community-background.png") left top/cover fixed; }
.community-illustrated-banner { display:block;min-height:350px;padding:30px 36px;border:1px solid #b5986166;border-radius:20px;background:linear-gradient(90deg,rgba(7,17,32,.04) 0%,rgba(7,17,32,.15) 28%,rgba(7,17,32,.88) 53%,rgba(7,17,32,.96)),url("assets/cardlegend/community-background.png") 32% center/cover;box-sizing:border-box; }
.community-banner-copy { width:64%;margin-left:auto; }
.community-game-logo { display:block;width:min(100%,480px);height:auto;margin:0 0 8px; }
.community-illustrated-banner h1 { font-size:clamp(1.4rem,3vw,2.2rem);margin:10px 0;color:#f3e3c3; }
.community-illustrated-banner p { color:#d4ddec;text-shadow:0 2px 5px #000; }
.community-illustrated-banner .text-link { color:#ead1a4; }
.community-account,.post-detail { background:#101d30f5; }
.post-list { background:#0a1525e8;border-radius:12px; }
@media(max-width:700px) {
 .community-illustrated-banner { min-height:430px;padding:22px;background:linear-gradient(180deg,rgba(7,17,32,.03),rgba(7,17,32,.13) 28%,rgba(7,17,32,.94) 55%,#071120),url("assets/cardlegend/community-background.png") 18% top/auto 370px no-repeat; }
 .community-banner-copy { width:100%;margin:200px 0 0; }
 .community-illustrated-banner h1 { font-size:1.5rem; }
}
