/* Связи базовых игр и дополнений: блоки на странице игры и страница редакции /admin/games/<slug>/exp. */
.gx-h{display:flex;align-items:baseline;gap:12px;justify-content:space-between;margin-bottom:12px}
.card .gx-h h2.h-disp{margin-bottom:0}
.gx-edit{color:var(--red);font-weight:600;font-size:13px;white-space:nowrap}
.gx-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:14px 12px}
.gx-t{display:flex;flex-direction:column;gap:6px;min-width:0}
.gx-t .gl.xl{width:100%;height:auto;aspect-ratio:1;border-radius:8px;font-size:34px;background-color:var(--surface-2)}
.gx-t .gl.xl img{width:100%;height:100%;object-fit:contain;display:block}
.gx-t:hover .gx-n{color:var(--red)}
.gx-n{font-weight:600;font-size:13px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.gx-s{font-size:12px;color:var(--muted);display:block}
.gx-base{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:10px;padding:10px 12px}
.gx-base+.gx-base{margin-top:8px}
.gx-base:hover{border-color:var(--faint)}
.gx-base .gl.lg{width:52px;height:52px}
.gx-base .gl.lg img{width:100%;height:100%;object-fit:contain;display:block}
.gx-base .gx-n{font-size:15px}
.gx-base .chev{margin-left:auto;color:var(--faint);font-size:22px;line-height:1}
.gx-sub{font-size:14px;font-weight:700;margin:18px 0 12px}
.gx-more{margin-top:14px}
.gx-more summary{cursor:pointer;list-style:none;display:inline-block}
.gx-more summary::-webkit-details-marker{display:none}
.gx-more[open] summary{margin-bottom:14px}
.hero .gx-of a{color:var(--hero-fg);text-decoration:underline;text-decoration-color:rgba(255,255,255,.35);text-underline-offset:3px}
.hero .gx-of a:hover{text-decoration-color:currentColor}
.gx-none p{margin:0}

/* редакция */
.gx-adm h2{font-size:17px;margin:22px 0 8px}
.gx-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--line)}
.gx-row .gx-n{flex:1;min-width:0}
.gx-row.off{opacity:.55}
.gx-row form{margin:0}
.gx-src{font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);background:var(--surface-2);border-radius:5px;padding:2px 7px;white-space:nowrap}
.gx-row .btn{height:30px;padding:0 12px}
.gx-add{display:grid;gap:10px;margin-top:22px;padding:14px;border-radius:10px;background:var(--surface-2)}
.gx-add .gx-roles{display:flex;gap:16px;flex-wrap:wrap}
.gx-add .gx-roles label{display:flex;align-items:center;gap:6px;font-weight:500}
.gx-add input[type=text]{width:100%;height:38px;border-radius:9px;border:1px solid var(--line);background:var(--surface);padding:0 12px}
.gx-sugg{display:grid;gap:2px}
.gx-sugg button{text-align:left;padding:7px 10px;border-radius:8px;background:var(--surface)}
.gx-sugg button:hover,.gx-sugg button.on{background:var(--red-soft);color:var(--red-ink)}
.gx-sugg small{color:var(--muted)}
.gx-add .btn-ink{width:auto;justify-self:start}
.gx-bgg{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:6px}
.gx-bgg form{margin:0}
