/* Communauté R9 : catégories du forum, modération et notifications. */
#pk-community .pc-post-actions .pc-spark-button{display:inline-flex;align-items:center;gap:6px;min-width:54px;color:var(--pc-muted);border:1px solid transparent;border-radius:8px;padding:6px 10px;background:transparent}
#pk-community .pc-spark-button svg{flex:none;transition:transform .15s}
#pk-community .pc-post-actions .pc-spark-button:hover{background:#fff5d8;color:#896300}
#pk-community .pc-post-actions .pc-spark-button[aria-pressed=true]{background:#fff2c5;border-color:#f2d675;color:#856100}
#pk-community .pc-spark-button[aria-pressed=true] svg{fill:#ffce38;stroke:#a37600}
#pk-community .pc-post-actions .pc-spark-button{position:relative;isolation:isolate}
#pk-community .pc-spark-animating svg{animation:pc-spark-pop .48s cubic-bezier(.2,.8,.3,1)}
#pk-community .pc-spark-animating::before{content:'';pointer-events:none;position:absolute;width:4px;height:4px;border-radius:50%;left:17px;top:50%;background:transparent;box-shadow:-16px -11px #edb415,0 -19px #f4c644,16px -13px #e2a824,21px 3px #f4c644,10px 18px #e2a824,-11px 17px #edb415,-22px 3px #f4c644;animation:pc-spark-burst .5s ease-out both}
@keyframes pc-spark-pop{0%{transform:scale(1) rotate(0)}30%{transform:scale(1.4) rotate(-12deg)}60%{transform:scale(.92) rotate(7deg)}100%{transform:scale(1) rotate(0)}}
@keyframes pc-spark-burst{0%{transform:scale(.2);opacity:0}25%{opacity:1}100%{transform:scale(1.35);opacity:0}}
#pk-community .pc-edited{font-size:10px;color:var(--pc-muted);white-space:nowrap;font-weight:400}
#pk-community #pc-dialog form.pc-edit-form{margin:0;padding:0;border:0;background:transparent}
#pk-community #pc-dialog .pc-edit-form textarea{width:100%;min-height:160px;padding:12px 14px;border:1px solid var(--pc-line);border-radius:10px;background:var(--pc-panel);color:var(--pc-text);font:inherit;line-height:1.6}
#pk-community .pc-edit-meta{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-top:8px;color:var(--pc-muted);font-size:11px}
#pk-community .pc-edit-meta [data-edit-count]{white-space:nowrap}
#pk-community .pc-edit-image{display:flex;align-items:center;gap:12px;margin-top:16px;font-size:11px;color:var(--pc-muted)}
#pk-community .pc-edit-image img{max-width:80px;height:56px;object-fit:cover;border-radius:7px}
[data-pk-theme=dark] #pk-community .pc-post-actions .pc-spark-button:is(:hover,[aria-pressed=true]){background:#493d20;color:#ffe294;border-color:#7b672b}
[data-pk-theme=dark] #pk-community .pc-spark-button[aria-pressed=true] svg{stroke:#ffdb66;fill:#efbf32}
#pk-community .pc-management-tabs{border-bottom:1px solid var(--pc-line);padding-bottom:14px;margin-bottom:24px}
#pk-community .pc-management-tabs a{display:inline-flex;align-items:center;gap:8px;font-weight:650}
#pk-community .pc-management-intro{margin-bottom:20px}
#pk-community .pc-management-intro p{color:var(--pc-muted);font-size:13px}
#pk-community .pc-forum-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#pk-community .pc-forum-admin-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--pc-line);border-radius:14px;background:var(--pc-panel)}
#pk-community .pc-forum-admin-card .pc-forum-banner{flex:1}
#pk-community .pc-forum-admin-meta{display:flex;justify-content:space-between;gap:12px;padding:12px 18px;font-size:11px;color:var(--pc-muted)}
#pk-community #pc-dialog .pc-forum-create-form input,#pk-community #pc-dialog .pc-forum-create-form textarea{border:1px solid var(--pc-line);border-radius:9px;padding:10px 12px;background:var(--pc-panel);color:var(--pc-text)}
#pk-community #pc-dialog .pc-forum-create-form textarea{margin-bottom:16px}
@media(max-width:760px){#pk-community .pc-forum-admin-grid{grid-template-columns:1fr}}
#pk-community .pc-ban-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
#pk-community .pc-ban-filters a{display:flex;gap:10px;align-items:center;padding:8px 14px;border:1px solid var(--pc-line);border-radius:9px;background:var(--pc-panel);color:var(--pc-muted);font-weight:650;font-size:12px}
#pk-community .pc-ban-filters a[aria-current]{border-color:var(--pc-accent);background:var(--pc-soft);color:var(--pc-accent)}
#pk-community .pc-ban-filters span{font-size:11px;border-radius:5px;background:var(--pc-bg);padding:0 6px}
#pk-community .pc-ban-search{display:flex;gap:10px;margin:0 0 20px}
#container #subContainer #pk-community form.pc-ban-search{margin:0 0 20px;padding:0;border:0;background:transparent}
#container #subContainer #pk-community .pc-ban-search input,#container #subContainer #pk-community .pc-ban-form input,#container #subContainer #pk-community .pc-ban-form textarea{border:1px solid var(--pc-line);border-radius:9px;padding:10px 12px;background:var(--pc-panel);color:var(--pc-text)}
#pk-community .pc-ban-search input{flex:1}
#pk-community .pc-ban-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#pk-community .pc-ban-list>.pc-empty{grid-column:1/-1}
#pk-community .pc-ban-card{margin:0;padding:22px;display:flex;flex-direction:column;overflow-wrap:anywhere}
#pk-community .pc-ban-person{display:flex;align-items:center;gap:12px}
#pk-community .pc-ban-person>div{min-width:0;flex:1}
#pk-community .pc-ban-person strong{color:var(--pc-text);font-size:15px}
#pk-community .pc-ban-state{padding:3px 8px;font-weight:700;font-size:10px;border-radius:6px;background:var(--pc-soft);color:var(--pc-muted)}
#pk-community .pc-ban-state--active{background:#fff0eb;color:#a74029}
#pk-community .pc-ban-state--revoked{background:#eaf4f2;color:#26736c}
#pk-community .pc-ban-reason{font-size:13px;margin:18px 0;padding:12px 14px;background:var(--pc-bg);border-radius:9px}
#pk-community .pc-ban-details{display:grid;gap:10px;margin:0}
#pk-community .pc-ban-details dt{font-size:10px;color:var(--pc-muted);font-weight:600}
#pk-community .pc-ban-details dd{margin:2px 0 0;font-size:12px}
#pk-community .pc-ban-card .pc-actions{padding-top:16px;margin-top:auto}
#pk-community .pc-ban-card .pc-actions button{padding:7px 10px;border-radius:7px;background:var(--pc-soft);color:var(--pc-accent)}
#pk-community .pc-ban-card .pc-actions button:last-child{margin-left:auto}
#pk-community .pc-ban-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#pk-community .pc-ban-form-grid label{margin:12px 0 8px}
#pk-community .pc-ban-selected{border:1px solid var(--pc-line);background:var(--pc-soft);border-radius:8px;padding:12px}
#pk-community .pc-member-results{max-height:230px;overflow:auto;margin:8px 0}
#pk-community .pc-member-results button{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:1px solid var(--pc-line);background:var(--pc-panel);color:var(--pc-text);border-radius:8px;text-align:left;margin-bottom:6px}
#pk-community .pc-member-results button:hover{background:var(--pc-soft)}
#pk-community .pc-member-results small{margin-left:auto;font-size:10px;color:var(--pc-accent)}
#pk-community .pc-ban-selection{font-size:12px;color:var(--pc-accent);padding:10px;background:var(--pc-soft);border-radius:8px}
#pk-community .pc-notification-intro{margin:-8px 0 18px}
#pk-community .pc-notifications{display:grid;gap:10px}
#pk-community .pc-notification{display:flex;align-items:center;gap:16px;background:var(--pc-panel);padding:18px 20px;border:1px solid var(--pc-line);border-radius:12px}
#pk-community .pc-notification>div{flex:1;min-width:0;overflow-wrap:anywhere}
#pk-community .pc-notification a{color:var(--pc-text);font-size:13px}
#pk-community .pc-notification time{margin-top:5px}
#pk-community .pc-notification-symbol{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--pc-soft);color:var(--pc-accent);flex:none}
#pk-community .pc-notification--unread{border-left:3px solid var(--pc-accent)}
#pk-community .pc-notification-delete{font-size:11px;padding:8px;color:var(--pc-muted);border-radius:7px}
#pk-community .pc-notification-delete:hover{color:var(--pc-warn);background:var(--pc-bg)}
#pk-community .pc-forum-group{border:1px solid var(--pc-line);background:var(--pc-panel);border-radius:15px;overflow:hidden;margin-bottom:20px}
#pk-community .pc-forum-group .pc-topic-list{border:0;border-radius:0;box-shadow:none;margin:0}
#pk-community .pc-forum-group .pc-topic-row:last-child{border-bottom:0}
#pk-community .pc-forum-banner{--pc-banner-bg:#e8eff4;position:relative;isolation:isolate;display:flex;align-items:center;min-height:116px;padding:22px 24px;overflow:hidden;background:var(--pc-banner-bg);color:var(--pc-text);text-decoration:none}
#pk-community .pc-forum-banner--pokopia{--pc-banner-bg:#e5efe8}
#pk-community .pc-forum-banner--za{--pc-banner-bg:#e0edec}
#pk-community .pc-forum-banner--ev{--pc-banner-bg:#eee7f3}
#pk-community .pc-forum-banner--sea{--pc-banner-bg:#dfeff3}
#pk-community .pc-forum-banner--gold{--pc-banner-bg:#f7edd3}
#pk-community .pc-forum-banner--jade{--pc-banner-bg:#e1eee7}
#pk-community .pc-forum-banner--night{--pc-banner-bg:#e5e7f6}
#pk-community .pc-forum-banner--rose{--pc-banner-bg:#f1e5ef}
#pk-community .pc-forum-banner--coffee{--pc-banner-bg:#f2e7dc}
#pk-community .pc-forum-banner--community{background:radial-gradient(circle at 85% 130%,transparent 100px,#afcbd52b 101px,#afcbd52b 102px,transparent 103px),radial-gradient(circle at 90% 40%,transparent 40px,#afcbd535 41px,#afcbd535 42px,transparent 43px),var(--pc-banner-bg)}
#pk-community .pc-forum-banner>img{position:absolute;inset:0 0 0 auto;width:52%;height:100%;object-fit:cover;object-position:center;z-index:-1;mask-image:linear-gradient(to right,transparent,#000 50%)}
#pk-community .pc-forum-banner::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(to right,var(--pc-banner-bg) 10%,transparent 85%);pointer-events:none}
#pk-community .pc-forum-banner>div{width:70%;position:relative}
#pk-community .pc-forum-banner h3{font-size:19px!important;line-height:1.3!important;margin:4px 0 0;color:var(--pc-text);overflow-wrap:anywhere}
#pk-community .pc-forum-banner p{font-size:11px;color:var(--pc-muted);margin-top:5px}
#pk-community .pc-forum-banner small{font-size:10px;font-weight:650;color:var(--pc-accent);padding:3px 7px;background:var(--pc-panel);border-radius:5px;display:inline-block}
#pk-community .pc-forum-banner-arrow{margin-left:auto;align-self:flex-start;display:grid;place-items:center;flex:none;width:28px;height:28px;border:1px solid var(--pc-line);border-radius:50%;color:var(--pc-accent);background:var(--pc-panel);transition:transform .15s}
#pk-community .pc-forum-banner:hover .pc-forum-banner-arrow{transform:translate(2px,-2px)}
#pk-community .pc-forum-banner:focus-visible{outline-offset:-4px}
#pk-community .pc-forum-banner--full{margin-bottom:22px;border:1px solid var(--pc-line);border-radius:14px;min-height:140px}
#pk-community .pc-forum-banner-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
#pk-community .pc-forum-banner-grid .pc-forum-banner{border:1px solid var(--pc-line);border-radius:12px;padding:18px}
#pk-community .pc-forum-banner-grid h3{font-size:15px!important}
#pk-community .pc-forum-other{margin-top:20px}
#pk-community .pc-forum-other summary{cursor:pointer;font-size:13px;color:var(--pc-accent);font-weight:650;padding:10px 0}
#pk-community .pc-topic-row.pc-topic-row--locked{background:#fff3f3;border-color:#ecd9dc}
#pk-community .pc-topic-row.pc-topic-row--locked:hover{background:#ffeaea}
#pk-community .pc-topic-row--locked .pc-topic-icon{background:#fae2e5;color:#a74756}
#pk-community .pc-topic-row--locked .pc-topic-locked{color:#a74756}
#pk-community .pc-topic-heading.pc-topic-heading--locked{background:#fff3f3;border-color:#ecd9dc}
#pk-community .pc-locked-label{display:inline-flex;align-items:center;gap:6px;color:#a74756;font-size:11px;font-weight:650;margin-right:10px}
#pk-community .pc-locked-label .pc-icon{width:14px;height:14px}
[data-pk-theme=dark] #pk-community .pc-ban-state--active{background:#4b3031;color:#ffc4b3}
[data-pk-theme=dark] #pk-community .pc-ban-state--revoked{background:#234841;color:#a5e2d7}
[data-pk-theme=dark] #pk-community .pc-forum-banner{--pc-banner-bg:#223e4d}
[data-pk-theme=dark] #pk-community .pc-forum-banner--pokopia{--pc-banner-bg:#23423b}
[data-pk-theme=dark] #pk-community .pc-forum-banner--za{--pc-banner-bg:#263f42}
[data-pk-theme=dark] #pk-community .pc-forum-banner--ev{--pc-banner-bg:#3a2e4a}
[data-pk-theme=dark] #pk-community .pc-forum-banner--sea{--pc-banner-bg:#1e3d4b}
[data-pk-theme=dark] #pk-community .pc-forum-banner--gold{--pc-banner-bg:#433d2b}
[data-pk-theme=dark] #pk-community .pc-forum-banner--jade{--pc-banner-bg:#263e38}
[data-pk-theme=dark] #pk-community .pc-forum-banner--night{--pc-banner-bg:#2d3452}
[data-pk-theme=dark] #pk-community .pc-forum-banner--rose{--pc-banner-bg:#432f44}
[data-pk-theme=dark] #pk-community .pc-forum-banner--coffee{--pc-banner-bg:#3f342d}
[data-pk-theme=dark] #pk-community :is(.pc-topic-row.pc-topic-row--locked,.pc-topic-heading.pc-topic-heading--locked){background:#3b2d38;border-color:#65414c}
[data-pk-theme=dark] #pk-community .pc-topic-row.pc-topic-row--locked:hover{background:#48303c}
[data-pk-theme=dark] #pk-community .pc-topic-row--locked .pc-topic-icon{background:#573844;color:#ffc4ce}
[data-pk-theme=dark] #pk-community :is(.pc-topic-row--locked .pc-topic-locked,.pc-locked-label){color:#ffc4ce}
@media(max-width:1100px){#pk-community .pc-ban-list{grid-template-columns:1fr}}
@media(max-width:540px){#pk-community .pc-ban-search{flex-wrap:wrap}#pk-community .pc-ban-search input{flex-basis:100%}#pk-community .pc-ban-form-grid,#pk-community .pc-forum-banner-grid{grid-template-columns:1fr}#pk-community .pc-ban-person{gap:9px;flex-wrap:wrap}#pk-community .pc-ban-person>div{flex-basis:calc(100% - 60px)}#pk-community .pc-ban-card{padding:16px}#pk-community .pc-ban-card .pc-actions button:last-child{margin-left:0}#pk-community .pc-notification{padding:14px;gap:10px;flex-wrap:wrap}#pk-community .pc-notification>div{flex-basis:calc(100% - 50px)}#pk-community .pc-notification-delete{margin-left:48px}#pk-community .pc-forum-banner{padding:18px;min-height:110px}#pk-community .pc-forum-banner h3{font-size:17px!important}#pk-community .pc-forum-banner>div{width:83%}#pk-community .pc-forum-banner>img{opacity:.55;width:60%}}
@media(prefers-reduced-motion:reduce){#pk-community .pc-forum-banner-arrow,#pk-community .pc-spark-button svg{transition:none}#pk-community .pc-spark-animating svg,#pk-community .pc-spark-animating::before{animation:none}#pk-community .pc-spark-animating::before{display:none}}
