/* Présence des auteurs du forum. */
#pk-community .pc-forum-presence{display:inline-flex;align-items:center;gap:5px;margin-left:5px;white-space:nowrap;font-size:10px;font-weight:500;line-height:1.5;vertical-align:middle;color:var(--pc-muted)}
#pk-community .pc-forum-presence[hidden]{display:none}
#pk-community .pc-forum-presence>i{display:block;flex:none;width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.65}
#pk-community .pc-forum-presence.is-online{color:#157b60}
#pk-community .pc-forum-presence.is-online>i{opacity:1;box-shadow:0 0 0 3px #157b6012}
html[data-pk-theme=dark] #pk-community .pc-forum-presence.is-online{color:#73d9b4}
#pk-community .pc-forum-post>header>.pc-forum-presence{margin-left:0;padding:3px 8px;border-radius:20px;background:var(--pc-bg)}
#pk-community .pc-topic-meta{line-height:1.8}
/* Salons de discussion : gestion des noms et sujets. */
#pk-community .pc-room-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#pk-community .pc-room-admin-card{min-width:0;padding:22px;display:flex;flex-direction:column;gap:16px;margin:0}
#pk-community .pc-room-admin-heading{display:flex;align-items:center;gap:13px;min-width:0}
#pk-community .pc-room-admin-heading>div{min-width:0}
#pk-community .pc-room-admin-heading h4{margin:0 0 4px;padding:0;font-size:17px;line-height:1.45;color:var(--pc-text);overflow-wrap:anywhere}
#pk-community .pc-room-admin-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:13px;background:var(--pc-soft);color:var(--pc-accent)}
#pk-community .pc-room-admin-card .pc-room-description{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.65;color:var(--pc-muted);flex:1}
#pk-community .pc-room-admin-stats{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;font-size:11px}
#pk-community .pc-room-admin-stats>span{display:inline-flex;align-items:center;gap:6px;color:var(--pc-accent)}
#pk-community .pc-room-admin-stats .pc-icon{width:15px;height:15px}
#pk-community .pc-room-admin-card>.pc-actions{display:flex;flex-wrap:wrap;gap:9px;padding-top:15px;border-top:1px solid var(--pc-line)}
#pk-community .pc-room-admin-card>.pc-actions>.pc-button{font-size:12px}
#pk-community .pc-room-editor{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
#pk-community .pc-room-editor>label{margin:10px 0 0;display:block}
#pk-community .pc-room-editor>label>.pc-meta{display:inline;font-weight:400}
#pk-community .pc-room-editor>input,#pk-community .pc-room-editor>textarea{margin:0;width:100%;min-width:0}
#pk-community #pc-room-topic{white-space:pre-wrap;overflow-wrap:anywhere}
#pk-community #pc-room-name,#pk-community .pc-rooms>a[data-room-id]{overflow-wrap:anywhere}
html[data-pk-theme=dark] #pk-community .pc-room-admin-card .pc-button,html[data-pk-theme=dark] #pk-community .pc-room-editor .pc-button,html[data-pk-theme=dark] #pk-community [data-action=room-create-dialog]{background:#213d4a!important;color:#91e3e5!important;border-color:#375b68!important}
html[data-pk-theme=dark] #pk-community .pc-room-editor button[type=submit]{background:#007d90!important;color:#fff!important}
@media(max-width:900px){#pk-community .pc-room-admin-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){#pk-community .pc-room-admin-card{padding:18px}#pk-community .pc-room-admin-heading h4{font-size:16px}}
/* Icônes des rubriques, collection et réponses du chat. */
/* Repartages : l'auteur d'origine garde sa propre carte et son lien. */
#pk-community .pc-repost-label{display:flex;align-items:center;gap:7px;margin:12px 20px 0;color:var(--pc-muted);font-size:11px;font-weight:600}
#pk-community .pc-repost-label .pc-icon{width:15px;height:15px}
#pk-community .pc-shared-post{min-width:0;border:1px solid var(--pc-line);border-radius:12px;background:var(--pc-bg);overflow:hidden}
#pk-community .pc-post>.pc-shared-post{margin:16px 20px 20px}
#pk-community .pc-shared-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:15px 16px 0}
#pk-community .pc-shared-heading .pc-row{gap:9px;min-width:0}
#pk-community .pc-shared-heading .pc-avatar{width:32px;height:32px;flex:none}
#pk-community .pc-shared-heading b{font-size:12px;overflow-wrap:anywhere}
#pk-community .pc-shared-heading>.pc-meta{font-size:10px}
#pk-community .pc-shared-post>.pc-post-body{padding:0 16px;font-size:13px;line-height:1.65;margin:13px 0}
#pk-community .pc-shared-post>.pc-link-slot{margin:14px 16px}
#pk-community .pc-shared-post>.pc-photo{display:block;max-height:440px;width:calc(100% - 32px);object-fit:contain;margin:14px 16px;border-radius:8px}
#pk-community .pc-shared-original{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-top:1px solid var(--pc-line);font-size:11px;font-weight:600;color:var(--pc-accent)}
#pk-community .pc-shared-post--unavailable{display:flex;align-items:center;gap:10px;padding:18px;color:var(--pc-muted);font-size:13px}
#pk-community .pc-shared-post--unavailable svg{flex:none}
#pk-community .pc-post-actions>.pc-repost-active{color:var(--pc-accent);background:var(--pc-soft)}
#pk-community .pc-repost-form textarea{width:100%;margin-top:8px;min-height:90px;resize:vertical}
#pk-community .pc-repost-preview{margin-top:18px}
#pk-community .pc-repost-preview .pc-photo,#pk-community .pc-repost-preview .pc-link-image{max-height:180px;object-fit:contain}
#pk-community .pc-repost-preview .pc-post-body{max-height:170px;overflow:auto;overflow-wrap:anywhere}
#pk-community .pc-report-excerpt>.pc-shared-post{margin-top:12px}
@media(max-width:760px){
 #pk-community .pc-post>.pc-shared-post{margin:14px 14px 16px}
 #pk-community .pc-repost-label{margin-left:16px;margin-right:16px}
 #pk-community .pc-shared-heading{padding:12px 12px 0}
 #pk-community .pc-shared-post>.pc-post-body{padding:0 12px}
 #pk-community .pc-shared-post>.pc-link-slot{margin:12px}
 #pk-community .pc-shared-post>.pc-photo{width:calc(100% - 24px);margin:12px}
}
#pk-community .pc-forum-directory a.pc-forum-banner,#pk-community .pc-forum-admin-card a.pc-forum-banner{grid-template-columns:64px minmax(0,1fr);align-items:center;gap:15px;padding:18px;min-height:132px;background:var(--pc-panel)}
#pk-community .pc-forum-banner>img.pc-forum-category-icon{position:static!important;display:block;width:64px!important;height:64px!important;min-height:0!important;max-height:64px!important;object-fit:contain!important;border-radius:17px;opacity:1!important;mask-image:none!important;background:var(--pc-soft);padding:5px;box-sizing:border-box}
#pk-community .pc-forum-directory .pc-forum-banner>div{padding:0 8px 0 0}
#pk-community .pc-forum-directory .pc-forum-banner p,#pk-community .pc-link-copy p{font-weight:400}
#pk-community .pc-collection-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}
#pk-community .pc-collection-heading small{font-size:10px;font-weight:700;letter-spacing:.12em;color:var(--pc-accent)}
#pk-community .pc-collection-heading h3{margin:3px 0 0;font-size:19px!important;color:var(--pc-text)}
#pk-community .pc-collection-heading h3 span{font-size:12px;background:var(--pc-soft);color:var(--pc-accent);padding:3px 7px;border-radius:6px;vertical-align:middle;margin-left:4px}
#pk-community .pc-owned-games{padding:22px}
#pk-community ul.pc-game-collection{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;padding:0;margin:0;list-style:none}
#pk-community ul.pc-game-collection>li{display:flex;align-items:center;gap:12px;padding:12px;margin:0;background:var(--pc-bg);border:1px solid var(--pc-line);border-radius:10px;min-width:0;list-style:none}
#pk-community ul.pc-game-collection>li::before{content:none!important}
#pk-community .pc-owned-games{scroll-margin-top:90px}
#pk-community .pc-owned-games[data-collection-expanded="false"] .pc-game-collection>li:nth-child(n+7){display:none!important}
#pk-community .pc-collection-more{display:flex;justify-content:center;margin-top:16px;padding-top:14px;border-top:1px solid var(--pc-line)}
#pk-community .pc-collection-more--mobile{display:none}
#pk-community .pc-collection-more button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px}
#pk-community .pc-collection-more button[aria-expanded="true"] svg{transform:rotate(180deg)}
#pk-community :is(.pc-game-collection,.pc-game-choice) img{width:44px;height:58px;flex:none;object-fit:contain;border-radius:3px;margin:0!important;padding:0!important;background:transparent}
#pk-community .pc-game-collection strong{display:block;font-size:12px;line-height:1.45;color:var(--pc-text)}
#pk-community :is(.pc-game-collection,.pc-game-choice) small{display:block;color:var(--pc-muted);font-size:10px;margin-top:4px;line-height:1.4}
#pk-community .pc-games-filters{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
#pk-community .pc-games-filters label{display:block!important;font-size:12px;margin:0;text-align:left}
#pk-community .pc-games-filters :is(input,select){width:100%;min-width:0;margin-top:6px}
#pk-community .pc-games-count{font-size:12px;color:var(--pc-accent);font-weight:600;margin:14px 0}
#pk-community .pc-games-options{max-height:470px;overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain;padding:2px 5px 2px 2px}
#pk-community [data-games-group]{border:0;margin:0 0 18px;padding:0;min-width:0}
#pk-community [data-games-group] legend{font-size:12px;font-weight:700;margin-bottom:10px;padding:0;color:var(--pc-muted)}
#pk-community .pc-games-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#pk-community label.pc-game-choice{display:grid!important;grid-template-columns:16px 44px minmax(0,1fr);align-items:center;justify-content:start;gap:11px;padding:11px 10px;margin:0;border:1px solid var(--pc-line);border-radius:9px;background:var(--pc-panel);cursor:pointer;min-width:0;text-align:left!important;min-height:82px;box-sizing:border-box}
#pk-community label.pc-game-choice>span{display:block!important;margin:0!important;text-align:left!important;min-width:0;justify-self:stretch}
#pk-community label.pc-game-choice:has(:checked){background:var(--pc-soft);border-color:var(--pc-accent)}
#pk-community label.pc-game-choice:focus-within{outline:2px solid var(--pc-accent);outline-offset:2px}
#pk-community .pc-game-choice input[type=checkbox]{appearance:auto!important;display:block;width:16px!important;height:16px!important;min-height:0;margin:0;flex:none;accent-color:var(--pc-accent);position:static;opacity:1}
#pk-community .pc-game-choice strong{font-size:11px;line-height:1.4;display:block;color:var(--pc-text)}
#pk-community .pc-game-choice img{width:44px;height:58px}
#pk-community [data-owned-games] [hidden]{display:none!important}
#pk-community .pc-chat-msg>div{min-width:0}
#pk-community .pc-chat-msg .pc-row{flex-wrap:wrap;gap:5px 10px}
#pk-community .pc-chat-message-actions{display:flex;gap:3px;align-items:center;margin-left:auto;flex-wrap:wrap}
#pk-community button.pc-chat-action{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;min-height:30px;padding:0;flex:none;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--pc-muted);cursor:pointer}
#pk-community button.pc-chat-action:hover,#pk-community button.pc-chat-action:focus-visible{background:var(--pc-soft);border-color:var(--pc-line);color:var(--pc-accent)}
#pk-community button.pc-chat-action[data-action=chat-delete]:hover{color:#b83f51;background:#fce9eb}
#pk-community .pc-chat-action svg{display:block;pointer-events:none}
#pk-community button.pc-chat-quote{display:flex;align-items:center;text-align:left;gap:8px;width:100%;margin:9px 0 8px;padding:9px 11px;border:0;border-left:3px solid var(--pc-accent);border-radius:3px 7px 7px 3px;color:var(--pc-muted);background:var(--pc-soft);cursor:pointer;min-width:0}
#pk-community .pc-chat-quote>span:last-child{min-width:0}
#pk-community .pc-chat-quote b{color:var(--pc-accent);font-size:11px;display:block}
#pk-community .pc-chat-quote span span{font-size:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
#pk-community .pc-chat-reply-preview{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;background:var(--pc-soft);border-left:3px solid var(--pc-accent);border-radius:7px;grid-column:1/-1;margin:0 0 8px}
#pk-community .pc-chat-reply-preview[hidden]{display:none!important}
#pk-community .pc-chat-reply-preview>div{min-width:0}
#pk-community .pc-chat-reply-preview small{font-size:11px;color:var(--pc-accent)}
#pk-community .pc-chat-reply-preview p{font-size:12px;margin:2px 0 0;color:var(--pc-muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
#pk-community .pc-chat-msg.pc-chat-highlight{background:var(--pc-soft);box-shadow:inset 3px 0 var(--pc-accent);border-radius:8px;outline:2px solid var(--pc-accent);outline-offset:-2px}
@media(max-width:1100px){#pk-community .pc-games-choice-grid{grid-template-columns:1fr}}
@media(max-width:760px){
 #pk-community .pc-forum-directory a.pc-forum-banner{grid-template-columns:52px minmax(0,1fr);gap:13px;padding:15px;min-height:118px}
 #pk-community .pc-forum-banner>img.pc-forum-category-icon{width:52px!important;height:52px!important;border-radius:14px}
 #pk-community .pc-owned-games{padding:17px}
 #pk-community .pc-collection-heading{align-items:flex-start;flex-wrap:wrap;gap:10px}
 #pk-community .pc-collection-heading h3{font-size:17px!important}
 #pk-community .pc-games-filters{grid-template-columns:1fr}
 #pk-community ul.pc-game-collection{grid-template-columns:1fr}
 #pk-community .pc-owned-games[data-collection-expanded="false"] .pc-game-collection>li:nth-child(n+4){display:none!important}
 #pk-community .pc-collection-more--mobile{display:flex}
 #pk-community .pc-chat-message-actions{flex-basis:100%;margin:2px 0 0;gap:5px}
 #pk-community button.pc-chat-action{width:34px;height:34px}
}

/* Signalements des profils : contenu public uniquement. */
#pk-community .pc-report-profile .pc-row{justify-content:flex-start;gap:12px;margin-bottom:12px}
#pk-community .pc-report-bio{white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto;margin:8px 0 0}
#pk-community .pc-profile-options>div{min-width:185px}
#pk-community .pc-profile-options>div>button{width:100%;text-align:left;justify-content:flex-start}

/* Logos officiels : proportions intégrales, vignettes identiques pour chaque jeu. */
#pk-community .pc-forum-directory a.pc-forum-banner,#pk-community .pc-forum-admin-card a.pc-forum-banner{grid-template-columns:112px minmax(0,1fr);gap:17px}
#pk-community .pc-forum-logos{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:112px;height:88px;padding:9px;box-sizing:border-box;background:#f1f6f8;border:1px solid var(--pc-line);border-radius:12px;flex-shrink:0;overflow:hidden}
#pk-community .pc-forum-logos>img.pc-forum-category-icon{display:block!important;width:100%!important;height:100%!important;min-height:0!important;min-width:0!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;position:static!important;border-radius:0!important;background:transparent!important;padding:0!important;margin:0!important;opacity:1!important;mask-image:none!important;filter:none!important}
#pk-community .pc-forum-logos--pair>img.pc-forum-category-icon{height:calc(50% - 2px)!important}
#pk-community .pc-forum-rail .pc-rail-rubrics>a{display:grid;grid-template-columns:56px minmax(0,1fr) 10px;align-items:center;gap:10px;min-height:68px;padding:9px 0;box-sizing:border-box}
#pk-community .pc-forum-rail .pc-rail-rubrics .pc-forum-logos{width:56px;min-width:56px;max-width:56px;height:48px;padding:5px;border-radius:8px;gap:2px;flex:none}
#pk-community .pc-forum-rail .pc-rail-label{display:block;min-width:0;font-size:11px;line-height:1.5;font-weight:600;color:var(--pc-text);overflow-wrap:anywhere}
#pk-community .pc-forum-rail .pc-rail-chevron{justify-self:end;line-height:1;color:var(--pc-muted);font-size:17px}
#pk-community .pc-forum-rail .pc-rail-symbol{display:flex;align-items:center;justify-content:center;width:56px;height:48px;min-width:56px;border:1px solid var(--pc-line);border-radius:8px;box-sizing:border-box;background:var(--pc-soft);color:var(--pc-accent);flex:none}
#pk-community .pc-forum-rail .pc-rail-symbol .pc-icon{width:21px;height:21px}
#pk-community .pc-forum-rail .pc-rail-rubrics>a[aria-current=page]{padding:9px 0}
html[data-pk-theme="dark"] #pk-community .pc-forum-logos{background:#e5edf1;border-color:#b6ccd5}
@media(max-width:760px){
 #pk-community .pc-forum-directory a.pc-forum-banner,#pk-community .pc-forum-admin-card a.pc-forum-banner{grid-template-columns:88px minmax(0,1fr);gap:13px;padding:14px}
 #pk-community .pc-forum-logos{width:88px;height:76px;padding:7px}
}
