/* CYBLI — серверные страницы афиши турниров (/tournaments, /tournaments/<игра>, /tournaments/<турнир>) */
.page-hero .chips { margin-top: 1.8rem; }
.page-hero .chips + .chips { margin-top: .6rem; }
.page-hero .chips a .mono { opacity: .7; margin-left: 4px; }
.page-hero .chips a[aria-current="page"] { background: var(--tape); color: var(--tape-ink); border-color: var(--tape); }
.tl h3 a { color: inherit; text-decoration: none; }
.tl h3 a:hover, .tl h3 a:focus-visible { text-decoration: underline; }
.tl-org { margin-top: 4px; color: var(--on-light-2); font-size: .9rem; }

.td-hero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 1rem; }
.td-hero-tags .mono { color: var(--on-blue-2); text-transform: uppercase; }
.page-hero .td-org { margin-top: 1rem; color: var(--on-blue-2); font-size: 1.05rem; }
.td-org b { color: #fff; }
.td-status { margin-top: 1rem; }

.td-grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.td-grid h2 { margin-bottom: 1.2rem; }
.td-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; margin-bottom: 2rem; background: var(--alu-2); display: block; }
.td-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; margin: 0; }
.td-facts div { padding: 16px 18px; border-radius: 14px; background: var(--pvc); border: 1px solid var(--alu-2); }
.td-facts dt { font: 500 .72rem/1.6 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-light-2); }
.td-facts dd { margin: 4px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.td-h3 { font-size: 1.2rem; margin: 2rem 0 .6rem; }
.td-desc { white-space: pre-line; line-height: 1.65; color: #23262d; max-width: 72ch; overflow-wrap: anywhere; }
.td-note { margin-top: 2rem; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--alu-2); border-left: 4px solid var(--blue); color: var(--on-light-2); font-size: .92rem; line-height: 1.55; }
.td-note a { color: var(--blue); }
.td-side { position: sticky; top: 90px; display: grid; gap: 12px; padding: 22px; border-radius: 16px; background: var(--ink); color: #fff; }
.td-side .btn { justify-content: center; }
.td-side p { color: var(--on-dark-2); font-size: .92rem; line-height: 1.5; }
.sheet--pvc { background: var(--pvc); }
.td-more { margin-top: 1.5rem; }

@media (max-width: 900px) {
  .td-grid { grid-template-columns: minmax(0, 1fr); }
  .td-side { position: static; }
}
@media (max-width: 640px) {
  .tl { grid-template-columns: 72px minmax(0, 1fr); }
  .tl > .btn { grid-column: 1 / -1; justify-content: center; }
}

/* ---------- Search: публичные заявки (/search) ---------- */
.ms .tl-date b { font-size: clamp(1.25rem, 2.4vw, 1.7rem); letter-spacing: -.03em; }
.ms h3 a { text-decoration-color: var(--alu-2); }
.ms-by { font: 500 .85rem/1.3 var(--f-body); letter-spacing: 0; color: var(--on-light-2); margin-left: .4em; white-space: nowrap; }
.ms-by a { color: inherit; }
.ms-more { color: var(--on-light-2); }
.ms-more a { color: var(--blue); }

/* ---------- Топ (/top) ---------- */
.top-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 8px; }
.top-row { display: grid; grid-template-columns: 40px 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--pvc); border: 1px solid var(--alu-2); }
.sheet--pvc .top-row { background: #fff; }
.top-rank { color: var(--on-light-2); text-align: center; }
.top-medal { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font: 900 .95rem/1 var(--f-display); color: var(--tape-ink); background: var(--tape); }
.top-medal--2 { background: var(--alu-2); color: var(--ink); }
.top-medal--3 { background: #e0a870; color: var(--ink); }
.top-ava { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: var(--blue); }
.top-ava--txt { display: grid; place-items: center; font: 900 .9rem/1 var(--f-display); color: #fff; }
.top-name { font-weight: 700; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-name .mono { color: var(--on-light-2); }
.top-val { display: grid; justify-items: end; line-height: 1.1; }
.top-val b { font: 700 1.05rem/1 var(--f-mono); font-variant-numeric: tabular-nums; }
.top-val small { font-size: .72rem; color: var(--on-light-2); }
.top-game { margin-top: 2.2rem; font-size: 1.3rem; }
.top-game + .top-list { margin-top: .8rem; }
@media (max-width: 640px) { .top-row { grid-template-columns: 32px 36px minmax(0, 1fr) auto; gap: 8px; padding: 8px 10px; } .top-ava { width: 36px; height: 36px; } }

/* ---------- Объединения (/communities, /c/<slug>) ---------- */
.cm-grid { margin-top: 1.6rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.cm-card { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; background: var(--pvc); border: 1px solid var(--alu-2); text-decoration: none; color: var(--ink); transition: transform .35s var(--ease-out), border-color .25s; }
.cm-card:hover { transform: translateY(-2px); border-color: var(--blue); }
.cm-card--off { opacity: .75; }
.cm-logo { width: 56px; height: 56px; flex: none; border-radius: 14px; object-fit: cover; background: var(--blue); }
.cm-logo--txt { display: grid; place-items: center; font: 900 1.1rem/1 var(--f-display); color: var(--tape); }
.cm-logo--xl { width: 104px; height: 104px; border-radius: 22px; font-size: 2rem; box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }
.cm-body { display: grid; gap: 4px; min-width: 0; }
.cm-name { font: 700 1.05rem/1.2 var(--f-display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.cm-meta { color: var(--on-light-2); font-size: .9rem; }
.cm-off { justify-self: start; font: 700 .68rem/1 var(--f-mono); letter-spacing: .1em; padding: .4em .6em; border-radius: 4px; background: #fee2e2; color: #b91c1c; }
.cm-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cover) center/cover no-repeat; opacity: .28; filter: saturate(.8); }
.cm-hero::before { z-index: -2; }
.cm-hero .page-hero-inner { position: relative; }
.cm-id { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.cm-id h1 { max-width: none; }
.cm-id .lede { margin-top: .6rem; }
.cm-id .lede a { color: #fff; }
.cm-off-tape { background: #FF3B1F; color: #fff; }
.cm-socials { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 14px; text-transform: capitalize; }
.cm-socials a { color: var(--on-blue-2); }
.cm-about { white-space: pre-line; }
.cm-h3 { margin-top: 1.6rem; font-size: 1.1rem; }
.cm-facts { margin-top: 1.4rem; }
.cm-members { margin-top: 1.8rem; min-width: 0; max-width: 100%; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); }
.cm-team .tl-date b { font-size: clamp(1.25rem, 2.4vw, 1.7rem); letter-spacing: -.03em; }
.vipb { width: 1.1em; height: 1.1em; vertical-align: -.15em; margin-left: .3em; fill: var(--tape); }
.vipb .vipb-h { fill: var(--tape-ink); }
.pcard--vip .pcard-foil { opacity: .9; }
@media (max-width: 640px) { .cm-logo--xl { width: 76px; height: 76px; } }
