/* The comment directory shares the theme's quiet paper surfaces. */
.ww-community { --community-line:var(--border); }
.ww-community-intro { padding:29px 30px 23px; background:linear-gradient(130deg,var(--card) 45%,var(--accent-bg)); }
.ww-community-intro-top { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.ww-community-kicker { color:var(--accent); font-size:10px; letter-spacing:.13em; margin-bottom:8px; }
.ww-community-intro h2 { font-size:25px; font-weight:600; letter-spacing:.03em; margin-bottom:10px; }
.ww-community-intro-top>div>p:last-child { font-size:13px; color:var(--text); line-height:2; }
.ww-community-mark { display:flex; flex:none; flex-direction:column; align-items:center; justify-content:center; gap:9px; width:94px; height:106px; color:var(--accent); background:var(--card); border:1px solid var(--site-border); border-radius:17px; transform:rotate(6deg); box-shadow:6px 6px 0 var(--accent-bg); }
.ww-community-mark>.icon { width:38px; height:38px; stroke-width:1.3; }.ww-community-mark>span { font-size:10px; letter-spacing:.14em; }
.ww-community-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:24px 0 0; padding-top:20px; border-top:1px solid var(--community-line); gap:0; }
.ww-community-stats>div { padding-left:23px; min-width:0; border-left:1px solid var(--community-line); }.ww-community-stats>div:first-child { padding-left:0; border:0; }
.ww-community-stats dt { font-size:11px; color:var(--text); margin-bottom:2px; }.ww-community-stats dd { margin:0; color:var(--ink); font-size:29px; line-height:1.6; font-weight:600; font-variant-numeric:tabular-nums; }.ww-community-stats dd>span { font-size:11px; font-weight:400; color:var(--muted); margin-left:6px; }
.ww-community-editor { margin-top:20px; font-size:14px; }.ww-community-editor>:last-child { margin-bottom:0; }
.ww-community-rules { padding:0 22px; margin-top:16px; }
.ww-community-rules summary { display:flex; align-items:center; justify-content:space-between; gap:15px; min-height:55px; cursor:pointer; list-style:none; font-size:13px; }
.ww-community-rules summary::-webkit-details-marker { display:none; }.ww-community-rules summary>span { display:inline-flex; align-items:center; gap:8px; }.ww-community-rules summary>span:last-child { font-size:11px; color:var(--text); }.ww-community-rules summary .icon { width:15px; height:15px; }.ww-community-rules summary>span:last-child>.icon { transform:rotate(90deg); }.ww-community-rules[open] summary>span:last-child>.icon { transform:rotate(-90deg); }
.ww-community-rules p { font-size:12px; line-height:1.9; color:var(--text); margin:0 0 14px; }.ww-community-rules p:last-child { padding-bottom:3px; }
.ww-community-levels { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); list-style:none; padding:0; margin:15px 0; gap:8px; }
.ww-community-levels li { display:flex; align-items:center; justify-content:space-between; gap:6px; padding:9px 10px; background:var(--soft); border:1px solid var(--border); border-radius:7px; }.ww-community-levels li>span:last-child { font-size:10px; color:var(--text); white-space:nowrap; }
.ww-community-tools { display:flex; align-items:stretch; gap:9px; margin:22px 0 0; }
.ww-community-search { display:flex; align-items:center; flex:1; min-width:0; gap:9px; padding:0 13px; background:var(--card); border:1px solid var(--border); border-radius:8px; color:var(--muted); }.ww-community-search>.icon { width:16px; height:16px; }.ww-community-search input { width:100%; min-width:0; min-height:42px; padding:9px 0; border:0; background:transparent; color:var(--ink); font-size:13px; outline:none; }.ww-community-search input::placeholder { color:var(--muted); }.ww-community-search:focus-within { border-color:var(--accent); }
.ww-community-scope { display:flex; }.ww-community-scope select { width:100%; min-height:42px; padding:0 9px; border:1px solid var(--border); border-radius:8px; background:var(--card); font-size:12px; color:var(--text); }.ww-community-tools>button { padding:0 15px; border:1px solid var(--site-border); border-radius:8px; color:var(--accent); background:var(--accent-bg); font-size:12px; flex:none; }
.ww-community-section-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:24px 2px 13px; }.ww-community-section-heading h2 { font-size:15px; font-weight:600; }.ww-community-section-heading h2>span { color:var(--text); font-size:11px; font-weight:400; margin-left:7px; }.ww-community-section-heading>span { font-size:10px; color:var(--text); }
.ww-community-ranking { list-style:none; display:grid; gap:10px; padding:0; margin:0; }
.ww-community-row { display:grid; grid-template-columns:29px 46px minmax(0,1fr) auto 15px; align-items:center; gap:14px; padding:17px 20px; border:1px solid var(--border); border-radius:11px; background:var(--card); box-shadow:0 2px 9px #24364a04; transition:border-color .2s,box-shadow .2s; }
.ww-community-rank { display:grid; place-items:center; width:29px; height:29px; color:var(--muted); font-size:12px; font-variant-numeric:tabular-nums; border-radius:50%; font-weight:600; }
.ww-community-rank-1 .ww-community-rank { color:#947137; background:#fbf2df; border:1px solid #ecdfc3; }.ww-community-rank-2 .ww-community-rank { color:#6d8098; background:#edf2f7; border:1px solid #dce5ee; }.ww-community-rank-3 .ww-community-rank { color:#a37560; background:#f8eee8; border:1px solid #eddcd1; }
.ww-community-row .ww-community-avatar { width:46px; height:46px; font-size:20px; border:1px solid var(--border); }
.ww-community-person { display:flex; min-width:0; flex-direction:column; align-items:flex-start; gap:4px; }.ww-community-person>strong { font-size:14px; font-weight:600; max-width:100%; overflow-wrap:anywhere; }.ww-community-person-meta { font-size:10px; color:var(--text); line-height:1.7; }
.ww-community-badges { display:flex; flex-wrap:wrap; align-items:center; gap:4px 6px; min-width:0; line-height:1.7; }
.ww-community-number { display:flex; flex-direction:column; align-items:flex-end; line-height:1.5; font-variant-numeric:tabular-nums; }.ww-community-number>strong { font-size:23px; font-weight:600; color:var(--accent); }.ww-community-number>span { font-size:10px; color:var(--text); white-space:nowrap; }.ww-community-row-arrow { color:var(--muted); display:flex; }.ww-community-row-arrow>.icon { width:15px; height:15px; }
.ww-community-back { display:inline-flex; align-items:center; gap:7px; margin:0 2px 14px; font-size:12px; color:var(--text); min-height:36px; }.ww-community-back>.icon { width:14px; height:14px; transform:rotate(180deg); }
.ww-community-profile { padding:26px 28px 22px; }.ww-community-profile-top { display:flex; align-items:center; gap:16px; }.ww-community-profile-top>.ww-community-avatar { width:64px; height:64px; font-size:26px; flex:none; }.ww-community-profile-name { min-width:0; flex:1; }.ww-community-profile-name h2 { font-size:23px; line-height:1.6; margin-bottom:6px; overflow-wrap:anywhere; }.ww-community-profile-name .ww-community-kicker { margin-bottom:4px; font-size:11px; letter-spacing:.03em; }.ww-community-website { display:inline-flex; align-items:center; gap:5px; font-size:11px; color:var(--accent); white-space:nowrap; }.ww-community-website>.icon { width:14px; height:14px; }
.ww-community-stats dd.ww-community-date { font-size:17px; line-height:2.7; font-weight:500; white-space:nowrap; }
.ww-community-progress { margin-top:20px; }.ww-community-progress>div { display:flex; justify-content:space-between; align-items:center; gap:8px; color:var(--accent); font-size:12px; margin-bottom:8px; flex-wrap:wrap; }.ww-community-progress>div>span:last-child { font-size:11px; color:var(--text); }.ww-community-progress progress { display:block; width:100%; height:6px; border:0; border-radius:8px; overflow:hidden; background:var(--accent-bg); accent-color:var(--accent); }.ww-community-progress progress::-webkit-progress-bar { background:var(--accent-bg); border-radius:8px; }.ww-community-progress progress::-webkit-progress-value { background:var(--accent); border-radius:8px; }.ww-community-progress progress::-moz-progress-bar { background:var(--accent); border-radius:8px; }
.ww-community-caption { font-size:11px; color:var(--text); line-height:1.9; margin-top:14px; }.ww-community-end { text-align:center; margin-top:24px; }
.ww-community-history { list-style:none; display:grid; gap:12px; margin:0; padding:0; }.ww-community-comment { padding:20px 23px; }.ww-community-comment>header { display:flex; align-items:center; gap:9px; flex-wrap:wrap; font-size:13px; }.ww-community-comment .comment-content { margin-top:12px; font-size:14px; }.ww-community-comment .comment-content>:last-child { margin-bottom:0; }.ww-community-comment .comment-content pre { overflow:auto; padding:10px; background:var(--soft); border-radius:6px; }.ww-community-comment .comment-content img { max-width:100%; }.ww-community-comment>footer { display:flex; justify-content:space-between; align-items:center; gap:10px; border-top:1px solid var(--border); margin-top:16px; padding-top:12px; font-size:10px; color:var(--text); }.ww-community-comment>footer time { flex:none; }.ww-community-comment>footer a { display:inline-flex; gap:6px; align-items:center; justify-content:flex-end; color:var(--accent); min-width:0; min-height:28px; }.ww-community-comment>footer a>span:first-child { overflow-wrap:anywhere; }.ww-community-comment>footer .icon { width:13px; height:13px; flex:none; }
.ww-community-pagination { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:16px; margin-top:24px; font-size:12px; }.ww-community-pagination>span { color:var(--text); }.ww-community-pagination a { display:grid; place-items:center; min-height:40px; padding:5px 15px; border:1px solid var(--border); background:var(--card); border-radius:7px; color:var(--accent); }
.ww-community-empty { text-align:center; margin-top:15px; padding:36px 20px; }.ww-community-empty>.icon,.ww-community-empty>span>.icon { width:30px; height:30px; margin-bottom:12px; color:var(--accent); }.ww-community-empty h2 { font-size:17px; font-weight:500; }.ww-community-empty p { color:var(--text); font-size:13px; margin:8px 0 14px; }.ww-community-empty a { display:inline-flex; align-items:center; gap:6px; min-height:40px; color:var(--accent); font-size:12px; }.ww-community-empty a>.icon { width:14px; height:14px; }
html[data-theme="dark"] .ww-community-rank-1 .ww-community-rank { color:#d8be8b; background:#3b3528; border-color:#584b34; }html[data-theme="dark"] .ww-community-rank-2 .ww-community-rank { color:#b2c3d6; background:#2e3946; border-color:#435366; }html[data-theme="dark"] .ww-community-rank-3 .ww-community-rank { color:#d5ac97; background:#3d312c; border-color:#5b4338; }
@media(hover:hover) and (pointer:fine) { .ww-community-row:hover { border-color:var(--site-border); box-shadow:0 4px 14px #24364a09; }.ww-community-row:hover .ww-community-person>strong,.ww-community-row:hover .ww-community-row-arrow { color:var(--accent); } }
@media(max-width:680px) {
    .ww-community-intro { padding:24px 21px 19px; }.ww-community-intro h2 { font-size:21px; }.ww-community-mark { width:73px; height:87px; border-radius:14px; gap:6px; }.ww-community-mark>.icon { width:30px; height:30px; }.ww-community-mark>span { font-size:9px; }.ww-community-intro-top { gap:12px; }
    .ww-community-stats { margin-top:20px; padding-top:16px; }.ww-community-stats>div { padding-left:12px; }.ww-community-stats dt { font-size:10px; }.ww-community-stats dd { font-size:25px; }.ww-community-stats dd.ww-community-date { font-size:13px; line-height:3; }
    .ww-community-rules { padding:0 16px; }.ww-community-rules summary>span:last-child { font-size:10px; }.ww-community-levels { grid-template-columns:repeat(2,minmax(0,1fr)); }.ww-community-levels li { padding:8px; }
    .ww-community-tools { gap:7px; margin-top:18px; flex-wrap:wrap; }.ww-community-search { flex-basis:100%; min-height:44px; }.ww-community-search input { font-size:16px; min-height:44px; }.ww-community-search input::placeholder { font-size:13px; }.ww-community-scope { flex:1; }.ww-community-scope select { min-height:44px; font-size:13px; }.ww-community-tools>button { min-height:44px; padding:0 20px; }
    .ww-community-section-heading { margin-top:21px; }.ww-community-section-heading>span { font-size:9px; }.ww-community-section-heading h2 { font-size:14px; }
    .ww-community-row { grid-template-columns:24px 36px minmax(0,1fr) auto; padding:15px 13px; gap:10px; }.ww-community-rank { width:24px; height:24px; font-size:11px; }.ww-community-row .ww-community-avatar { width:36px; height:36px; font-size:17px; }.ww-community-person>strong { font-size:13px; }.ww-community-person-meta { font-size:9px; }.ww-community-row-arrow { display:none; }.ww-community-number>strong { font-size:21px; }
    .ww-community-profile { padding:23px 20px 19px; }.ww-community-profile-top { flex-wrap:wrap; gap:12px; }.ww-community-profile-top>.ww-community-avatar { width:51px; height:51px; font-size:23px; }.ww-community-profile-name h2 { font-size:20px; }.ww-community-website { margin-left:63px; min-height:30px; }.ww-community-profile .ww-community-stats { grid-template-columns:1fr 1fr; row-gap:14px; }.ww-community-profile .ww-community-stats>div:last-child { border:0; padding:0; grid-column:1/-1; display:flex; align-items:baseline; gap:10px; }.ww-community-profile .ww-community-date { line-height:1.7; font-size:14px; }.ww-community-progress>div { font-size:11px; }
    .ww-community-comment { padding:18px; }.ww-community-comment>footer { flex-direction:column; align-items:flex-start; gap:4px; }.ww-community-comment>footer a { justify-content:flex-start; }.ww-community-comment .comment-content { font-size:14px; }
}
@media(max-width:370px) { .ww-community-mark { display:none; }.ww-community-intro { padding:21px 17px 18px; }.ww-community-stats>div { padding-left:9px; }.ww-community-row { padding:14px 11px; gap:7px; }.ww-community-person-meta { font-size:9px; }.ww-community-rules summary>span:last-child { font-size:0; }.ww-community-rules summary>span:last-child>.icon { width:14px; }.ww-community-section-heading>span { max-width:116px; text-align:right; } }
@media(prefers-reduced-motion:reduce) { .ww-community-row { transition:none; } }
