/* Авторы и иллюстраторы: страница человека /people/<slug>, список /people, редакция /admin/people. */
.pp-ph{display:inline-flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;border-radius:50%;object-fit:cover;color:#fff;font-weight:700;font-size:14px;background:var(--surface-2)}
.pp-ph.sm{width:32px;height:32px;font-size:12px}
.pp-ph.md{width:52px;height:52px;font-size:17px}
.pp-ph.xl{width:132px;height:132px;font-size:40px;font-family:var(--display);letter-spacing:.02em}
.pp-crumbs{font-size:13px;color:var(--muted);margin-bottom:12px}
.pp-crumbs a{color:var(--muted)}
.pp-crumbs a:hover{color:var(--red)}
.pp-top{display:flex;gap:20px;align-items:center}
.pp-ph-a{flex:none;border-radius:50%}
.pp-id{min-width:0}
.pp-id h1{font-size:32px;line-height:1.1;margin:0 0 6px}
.pp-alts{margin:0 0 10px;color:var(--muted)}
.pp-badges{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.pp-badge{display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 12px;border-radius:999px;background:var(--surface-2);font-size:13px;font-weight:600}
.pp-badge.on{background:var(--red-soft);color:var(--red-ink)}
.pp-badge b{font-weight:700}
.pp-bgg{font-size:13px;font-weight:600;color:var(--muted);margin-left:4px}
.pp-bgg:hover{color:var(--red)}
.pp-about{margin-top:16px}
.pp-about p{margin:0 0 10px;line-height:1.6}
.pp-about p:last-child{margin-bottom:0}
.pp-noabout{margin:14px 0 0}
.pp-co-list{display:flex;flex-wrap:wrap;gap:8px}
.pp-co-list a{display:flex;align-items:center;gap:8px;padding:6px 12px 6px 6px;border:1px solid var(--line);border-radius:999px;font-weight:600;font-size:13px}
.pp-co-list a:hover{border-color:var(--faint)}
.pp-co-list small{display:block;font-weight:400;font-size:11.5px;color:var(--muted)}
.pp-gh{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.card .pp-gh h2.h-disp{margin:0}
.pp-ctl{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 0 14px;font-size:13px}
.pp-exp{font-weight:600;color:var(--muted)}
.pp-exp.on{color:var(--red)}
.pp-grid{margin-bottom:6px}
.pp-names .pp-x{display:none}
.pp-names.pp-all .pp-x{display:inline}
.pp-more-b{background:none;border:0;padding:0;font:inherit;color:var(--red);font-weight:600;cursor:pointer}
.pp-names.pp-all .pp-more-b{display:none}
/* список людей */
.pp-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:4px 12px}
.pp-row{display:flex;align-items:center;gap:12px;padding:8px;border-radius:10px;min-width:0}
.pp-row:hover{background:var(--surface-2)}
.pp-row span{min-width:0}
.pp-row b{display:block;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pp-row small{display:block;font-size:12px;color:var(--muted)}
.card > .seg{margin-top:12px}
/* редакция */
.pp-adm-top{display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap;margin-bottom:6px}
.pp-adm-top .filters{flex:1;min-width:240px}
.pp-dupes-btn{width:auto;margin-top:0}
.pp-tbl td .g{display:flex;align-items:center;gap:10px}
.pp-tbl td .g small{display:block;color:var(--muted);font-size:12px}
.pp-err{background:var(--red-soft);color:var(--red-ink);border-radius:9px;padding:8px 12px;margin:0 0 10px}
.pp-form{display:grid;grid-template-columns:150px 1fr;gap:20px;margin-top:6px}
.pp-form-ph{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.pp-form-ph .btn{width:100%;margin:0;cursor:pointer}
.pp-form-f{display:grid;gap:12px}
.pp-form-f label{display:grid;gap:5px;font-weight:600;font-size:13px}
.pp-form-f input[type=text],.pp-form-f textarea{width:100%;border-radius:9px;border:1px solid var(--line);background:var(--surface);color:var(--fg);padding:8px 12px;font:inherit;font-weight:400;font-size:14px}
.pp-form-f input[type=text]{height:38px}
.pp-form-f textarea{resize:vertical;line-height:1.5}
.pp-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pp-pre{display:flex;align-items:center;gap:2px;font-weight:400;color:var(--muted)}
.pp-pre input{flex:1}
.pp-form-f .btn-red{justify-self:start;width:auto;margin:0}
.pp-cand{display:grid;gap:8px;background:var(--t-crowd);color:var(--fg);border-radius:10px;padding:12px 14px;margin-bottom:16px}
.pp-cand-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0}
.pp-cand-row > a{display:flex;align-items:center;gap:8px;font-weight:600}
.pp-cand-row label{display:flex;align-items:center;gap:4px}
.pp-cand-row .btn{width:auto;margin:0 0 0 auto;height:32px}
.pp-dupes-bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--surface);z-index:2}
.pp-dupes-bar .btn{width:auto;margin:0}
.pp-dupes-bar label{display:flex;gap:6px;align-items:center;font-weight:600}
.pp-dupe{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr) auto;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}
.pp-dp{display:flex;align-items:center;gap:8px;min-width:0;cursor:pointer}
.pp-dp span{min-width:0}
.pp-dp b{font-weight:600}
.pp-dp small{display:block;color:var(--muted);font-size:12px}
.pp-why{color:var(--muted)}
.pp-why b{color:var(--fg);font-weight:600}
.pp-dupe .btn{width:auto;margin:0;height:30px}
@media (max-width:760px){
  .pp-top{flex-direction:column;align-items:flex-start;gap:14px}
  .pp-ph.xl{width:104px;height:104px;font-size:32px}
  .pp-id h1{font-size:26px}
  .pp-form{grid-template-columns:1fr}
  .pp-form-ph{flex-direction:row;flex-wrap:wrap;justify-content:flex-start;text-align:left}
  .pp-form-ph .btn{width:auto}
  .pp-2{grid-template-columns:1fr}
  .pp-dupe{grid-template-columns:auto 1fr;grid-auto-flow:row}
  .pp-dupe .pp-dp,.pp-dupe .pp-why{grid-column:2}
  .pp-dupe .btn{grid-column:2;justify-self:start}
}
/* дубли игр */
.pp-dtabs{margin:4px 0 12px}
.gd-group{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
.gd-cards{display:grid;gap:6px;min-width:0}
.gd-card{display:flex;align-items:center;gap:10px;min-width:0;cursor:pointer}
.gd-card > span{min-width:0}
.gd-card b{font-weight:600}
.gd-card small{display:block;color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis}
.gd-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px;max-width:260px}
.gd-side select{max-width:240px;height:32px;border-radius:8px;border:1px solid var(--line);background:var(--surface);color:var(--fg);padding:0 8px}
.gd-side .btn{width:auto;margin:0;height:30px}
@media (max-width:760px){
  .gd-group{grid-template-columns:auto 1fr}
  .gd-side{grid-column:2;align-items:flex-start;max-width:none}
}
/* фото из буфера: короткая подсветка */
.pp-form-ph{border-radius:12px;transition:box-shadow .3s}
.pp-form-ph.pp-pasted{box-shadow:0 0 0 3px var(--red)}
