/* VSHK tournament styles — hero revision 2026-07-22.4 */
.single-tournament,
.single-tournament * {
    box-sizing: border-box;
}

.single-tournament {
    --gold: #d8b46a;
    --gold-light: #f0d99a;
    --paper: #f5f0e5;
    --muted: #a9a195;
    --line: rgba(216, 180, 106, .18);
    min-height: 100vh;
    background: #070707;
    color: var(--paper);
    font-family: Manrope, sans-serif;
}

.tournament-hero {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    padding: 60px 24px 46px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 18% 52%, rgba(216,180,106,.15), transparent 28%),
        radial-gradient(circle at 78% 18%, rgba(216,180,106,.055), transparent 30%),
        linear-gradient(108deg, #040505 0%, #0b0c0b 56%, #050606 100%);
}

.tournament-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .24;
    background-image:
        radial-gradient(circle at center, rgba(216,180,106,.12) 0 1px, transparent 1.5px),
        linear-gradient(135deg, rgba(255,255,255,.014) 25%, transparent 25% 75%, rgba(255,255,255,.014) 75%);
    background-size: 28px 28px, 56px 56px;
    pointer-events: none;
}

.tournament-hero__inner,
.tournament-content__inner,
.tournament-podium__inner {
    width: min(1180px, 100%);
    margin-inline: auto;
}

.tournament-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    min-height: 460px;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: clamp(34px, 5vw, 72px);
    align-items: center;
}

.tournament-hero__inner::after {
    content: "";
    position: absolute;
    left: 276px;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(216,180,106,.62), transparent 82%);
    opacity: .65;
}

.tournament-hero__piece {
    position: relative;
    z-index: 1;
    align-self: end;
    height: 450px;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 38px 24px 54px;
    background:
        radial-gradient(circle at 50% 48%, rgba(216,180,106,.09), transparent 43%),
        linear-gradient(180deg, rgba(216,180,106,.018), transparent 76%);
    text-align: center;
    pointer-events: none;
}

.tournament-hero__piece::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 11%;
    right: -36px;
    bottom: 8%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(216,180,106,.62) 18% 82%, transparent);
    pointer-events: none;
}

.tournament-hero__piece::after {
    content: "";
    position: absolute;
    z-index: 3;
    top: 55%;
    right: -41px;
    width: 11px;
    height: 11px;
    border: 1px solid #f0d99a;
    background: linear-gradient(135deg, #f0d99a, #b18439);
    box-shadow: 0 0 0 4px rgba(216,180,106,.08), 0 0 18px rgba(216,180,106,.34);
    transform: rotate(45deg);
}

.tournament-hero__piece-label,
.tournament-hero__piece-month,
.tournament-hero__piece-year {
    display: block;
    font-style: normal;
    text-transform: uppercase;
}

.tournament-hero__piece-label {
    margin-bottom: 30px;
    color: rgba(216,180,106,.68);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .22em;
}

.tournament-hero__piece-day,
.tournament-hero__piece-monogram {
    display: block;
    color: #e5c477;
    font-family: Montserrat, Manrope, sans-serif;
    font-size: clamp(76px, 7vw, 112px);
    font-weight: 650;
    line-height: .82;
    letter-spacing: -.06em;
    text-shadow: 0 10px 38px rgba(216,180,106,.18);
}

.tournament-hero__piece-month {
    margin-top: 24px;
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .18em;
}

.tournament-hero__piece-year {
    margin-top: 13px;
    color: rgba(243,234,215,.55);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .22em;
}

.tournament-hero__content {
    min-width: 0;
    padding: 24px 0 30px;
}

.tournament-hero__label,
.tournament-section-title > span,
.tournament-exhibit-card__type {
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.tournament-hero__eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
}

.tournament-hero__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #bcb3a5;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.tournament-hero__status::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 10px rgba(216,180,106,.65);
}

.tournament-hero__title {
    max-width: 820px;
    margin: 18px 0 0;
    color: var(--paper);
    font-family: Manrope, sans-serif;
    font-size: clamp(36px, 4.2vw, 58px);
    font-weight: 650;
    line-height: 1.08;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.tournament-hero__meta {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 0;
    color: #b9b0a3;
    font-size: 15px;
}

.tournament-hero__meta span + span::before {
    content: "◆";
    margin: 0 14px;
    color: rgba(216,180,106,.8);
    font-size: 7px;
    vertical-align: middle;
}

.tournament-hero__date {
    color: var(--gold-light);
    font-weight: 750;
}

.tournament-hero__facts {
    position: relative;
    margin-top: 32px;
    padding-top: 21px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.tournament-hero__facts::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(216,180,106,.76), rgba(216,180,106,.18) 68%, transparent);
}

.tournament-hero__facts::after {
    content: "";
    position: absolute;
    top: -5px;
    left: 22%;
    width: 9px;
    height: 9px;
    border: 1px solid #f0d99a;
    background: linear-gradient(135deg, #f0d99a, #b18439);
    box-shadow: 0 0 0 4px rgba(216,180,106,.08), 0 0 16px rgba(216,180,106,.30);
    transform: rotate(45deg);
}

.tournament-hero__fact {
    min-width: 0;
    min-height: 72px;
    padding: 12px 13px;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    border: 1px solid rgba(216,180,106,.18);
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(216,180,106,.045), rgba(255,255,255,.012));
}

.tournament-hero__fact-copy,
.tournament-hero__fact-copy > span,
.tournament-hero__fact-copy strong {
    display: block;
}

.tournament-hero__fact-copy > span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.tournament-hero__fact-copy strong {
    margin-top: 5px;
    overflow-wrap: anywhere;
    color: #e9dfcf;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.tournament-hero__fact-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(216,180,106,.38);
    border-radius: 50%;
    background: rgba(216,180,106,.035);
    color: var(--gold);
}

.tournament-hero__fact-icon svg {
    width: 18px;
    height: 18px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tournament-hero__nav {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tournament-hero__nav a {
    min-height: 42px;
    padding: 10px 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(216,180,106,.28);
    color: #d8cdbb;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.tournament-hero__nav a::after {
    content: "↓";
    color: var(--gold);
}

.tournament-hero__nav a:hover {
    border-color: rgba(216,180,106,.65);
    background: rgba(216,180,106,.06);
    color: var(--paper);
}

.tournament-podium {
    overflow: hidden;
    padding: 46px 24px 58px;
    background:
        radial-gradient(ellipse at 50% 64%, rgba(216,180,106,.1), transparent 42%),
        linear-gradient(180deg, #070707, #060707);
}

.tournament-section-title { margin-bottom: 26px; }
.tournament-section-title--center { margin-bottom: 32px; text-align: center; }

.tournament-section-title h2 {
    margin: 8px 0 0;
    color: var(--paper);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
}

.tournament-section > .tournament-section-title {
    padding: 28px 32px 25px;
    margin: 0;
    border-bottom: 1px solid var(--line);
}

.tournament-section-title > span:not(:only-child) { display: block; }

.tournament-podium-stage {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.podium-place{
    position:relative;

    min-height:250px;

    padding:24px 22px;

    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:20px;

    overflow:hidden;

    border:1px solid rgba(216,180,106,.34);
    border-radius:18px;

    background:
        radial-gradient(circle at 22% 45%, rgba(216,180,106,.09), transparent 37%),
        linear-gradient(135deg, rgba(255,255,255,.028), rgba(255,255,255,.008));

    box-shadow:
        inset 0 1px rgba(255,255,255,.035),
        0 24px 55px rgba(0,0,0,.28);

    text-align:left;
}

.podium-place::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image: repeating-linear-gradient(135deg, transparent 0 18px, rgba(216,180,106,.08) 18px 19px);
    pointer-events: none;
}

.podium-place--1 {
    order: 2;
    transform: translateY(-12px);
    border-color: rgba(240,201,105,.86);
    background:
        radial-gradient(circle at 25% 45%, rgba(216,180,106,.19), transparent 40%),
        linear-gradient(135deg, rgba(216,180,106,.09), rgba(255,255,255,.01));
    box-shadow: inset 0 0 34px rgba(216,180,106,.065), 0 0 24px rgba(216,180,106,.12), 0 28px 60px rgba(0,0,0,.46);
}
.podium-place--2 { order: 1; }
.podium-place--2 { border-color: rgba(190,198,205,.42); }
.podium-place--3 { order: 3; border-color: rgba(184,115,67,.54); }

.podium-place__trophy{
    flex:0 0 118px;

    width:118px;
    height:165px;

    display:flex;
    align-items:center;
    justify-content:flex-start;

    margin-right:12px;

    position:relative;
    z-index:2;
}

.podium-place__trophy img{
    display:block;

    width:100%;

    max-height:155px;

    object-fit:contain;

    filter:drop-shadow(0 14px 18px rgba(0,0,0,.60));
}

.podium-place__body{
    flex:1;
    min-width:0;
    position:relative;
    z-index:2;
}

.podium-place__label{
    margin-bottom:18px;
    font-size:18px;
    font-weight:700;
    color:#e7d09d;
}

.podium-place__label::after {
    content: "◆";
    display: block;
    width: 100%;
    margin-top: 11px;
    overflow: hidden;
    color: var(--gold);
    font-size: 9px;
    letter-spacing: 0;
    background: linear-gradient(90deg, var(--gold), transparent) left center / 72% 1px no-repeat;
}

.podium-place__name{
    color:#f5f0e5;
    font-family:Manrope,sans-serif;
    font-size:22px;
    font-weight:750;
    line-height:1.25;
    text-align:left;
}

.podium-place__name a{
    color:inherit;
    text-decoration:none;
    transition:color .2s ease;
}

.podium-place__name a:hover{
    color:var(--gold);
}

.podium-place__points{
    margin-top:10px;
    color:var(--gold-light);
    font-family:Manrope,sans-serif;
    font-size:17px;
    font-weight:650;
    line-height:1.2;
}

.tournament-content { padding: 56px 24px 100px; }
.tournament-content__inner { display: grid; gap: 28px; }

.tournament-section {
    overflow: hidden;
    scroll-margin-top: 24px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.022);
}

.tournament-empty { margin: 0; padding: 10px; color: var(--muted); }

.tournament-table-wrap { overflow-x: auto; padding: 18px; }
.tournament-table-wrap::-webkit-scrollbar { height: 8px; }
.tournament-table-wrap::-webkit-scrollbar-track { background: rgba(255,255,255,.035); }
.tournament-table-wrap::-webkit-scrollbar-thumb { background: rgba(216,180,106,.38); }

.vk-tournament-table {
    width: 100%;
    min-width: max-content;
    border-collapse: collapse;
    font-size: 14px;
}

.vk-tournament-table th,
.vk-tournament-table td {
    padding: 11px 10px;
    border-right: 1px solid rgba(216,180,106,.07);
    border-bottom: 1px solid rgba(216,180,106,.11);
    text-align: center;
    vertical-align: middle;
}

.vk-tournament-table th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #10100f;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.vk-tournament-table td { color: #ded5c6; }
.vk-tournament-table tbody tr:hover td { background: rgba(216,180,106,.05); }
.vk-tournament-table .col-player { min-width: 220px; text-align: left; font-weight: 750; }
.vk-tournament-table .player-link { color: #eee3cf; text-decoration: none; }
.vk-tournament-table .player-link:hover { color: var(--gold); }
.vk-tournament-table .col-num { min-width: 48px; color: #9d9589; }
.vk-tournament-table .col-points,
.vk-tournament-table .col-place { min-width: 62px; color: var(--gold-light); font-weight: 850; }
.vk-tournament-table .col-round,
.vk-tournament-table .col-result { min-width: 52px; }
.vk-tournament-table .col-rating { min-width: 70px; color: #cdbf9f; }
.vk-tournament-table .col-self { background: rgba(216,180,106,.05); }
.vk-tournament-table--swiss { font-size: 13px; }
.vk-tournament-table--swiss .col-result b { display: block; font-size: 14px; }
.vk-tournament-table--swiss .col-result span { display: block; margin-top: 3px; opacity: .7; font-size: 10px; white-space: nowrap; }
.result-win { color: #fff; font-weight: 850; }
.result-draw { color: #aaa399; }
.result-loss { color: #68625b; }
.vk-tournament-table tr.place-1 td { background: rgba(216,180,106,.12); }
.vk-tournament-table tr.place-2 td { background: rgba(255,255,255,.035); }
.vk-tournament-table tr.place-3 td { background: rgba(166,106,63,.08); }

.tournament-files__grid { padding: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tournament-file {
    min-height: 112px;
    padding: 21px;
    border: 1px solid rgba(216,180,106,.18);
    background: rgba(255,255,255,.025);
    color: inherit;
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.tournament-file:hover { transform: translateY(-3px); border-color: rgba(216,180,106,.48); background: rgba(216,180,106,.055); }
.tournament-file span { display: block; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.tournament-file strong { display: block; margin-top: 16px; color: #e9dfcd; font-size: 16px; }
.tournament-pgn__inner { padding: 24px; color: #b9b1a5; }
.tournament-pgn__inner p { margin: 0; }
.tournament-pgn__button { display: inline-block; margin-top: 18px; }

.tournament-exhibits { margin-top: 40px; overflow: visible; border: 0; background: transparent; }
.tournament-exhibits > .tournament-section-title { padding-inline: 0; }
.tournament-exhibits__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tournament-exhibit-card { overflow: hidden; border: 1px solid var(--line); background: #0b0b0b; transition: transform .22s ease, border-color .22s ease; }
.tournament-exhibit-card:hover { transform: translateY(-4px); border-color: rgba(216,180,106,.43); }
.tournament-exhibit-card__image { display: block; height: 200px; overflow: hidden; background: #101010; }
.tournament-exhibit-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.tournament-exhibit-card:hover img { transform: scale(1.035); }
.tournament-exhibit-card__body { padding: 20px; }
.tournament-exhibit-card h3 { margin: 10px 0 16px; font: 700 19px/1.25 Montserrat, sans-serif; }
.tournament-exhibit-card h3 a { color: #eee5d5; text-decoration: none; }
.tournament-exhibit-card__link { color: var(--gold); font-size: 13px; font-weight: 750; text-decoration: none; }

@media (max-width: 1050px) {
    .tournament-hero { min-height: 520px; }
    .tournament-hero__inner { grid-template-columns: 200px minmax(0, 1fr); gap: 34px; }
    .tournament-hero__inner::after { left: 224px; }
    .tournament-hero__piece { height: 410px; }
    .tournament-hero__piece::before { right: -17px; }
    .tournament-hero__piece::after { right: -22px; }
    .tournament-hero__title { font-size: clamp(34px, 4.4vw, 48px); }
    .tournament-podium-stage { gap: 15px; }
    .podium-place { padding: 20px 15px; grid-template-columns: 42% minmax(0, 1fr); }
}

@media (max-width: 860px) {
    .tournament-hero { min-height: auto; padding-block: 58px 50px; }
    .tournament-hero__inner { display: block; min-height: 0; }
    .tournament-hero__inner::after { left: 0; }
    .tournament-hero__piece { display: none; }
    .tournament-hero__content { max-width: 720px; padding: 24px 0 30px; }
    .tournament-podium-stage { grid-template-columns: 1fr; max-width: 620px; }
    .podium-place,
    .podium-place--1,
    .podium-place--2,
    .podium-place--3 { order: initial; min-height: 230px; transform: none; }
    .podium-place--1 { order: 1; }
    .podium-place--2 { order: 2; }
    .podium-place--3 { order: 3; }
    .tournament-exhibits__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .tournament-hero { padding: 44px 16px 38px; }
    .tournament-hero__inner { display: block; min-height: 0; }
    .tournament-hero__content { padding-bottom: 24px; }
    .tournament-hero__title { font-size: clamp(32px, 9.5vw, 42px); line-height: 1.1; }
    .tournament-hero__meta { display: grid; gap: 7px; margin-top: 20px; }
    .tournament-hero__meta span + span::before { display: none; }
    .tournament-hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 26px; }
    .tournament-hero__facts::after { left: 28%; }
    .tournament-hero__fact { min-height: 70px; padding: 11px 12px; }
    .tournament-hero__nav a { flex: 1 1 auto; justify-content: space-between; }
    .tournament-podium { padding: 56px 16px 10px; }
    .tournament-section-title--center { margin-bottom: 30px; }
    .tournament-podium-stage {
        grid-template-columns: 1fr;
        gap: 14px;
        max-width: 420px;
    }
    .podium-place,
    .podium-place--1,
    .podium-place--2,
    .podium-place--3 { order: initial; min-height: 0; }
    .podium-place--1 { order: 1; }
    .podium-place--2 { order: 2; }
    .podium-place--3 { order: 3; }
    .podium-place { min-height: 205px; padding: 18px 14px; grid-template-columns: 42% minmax(0, 1fr); }
    .podium-place__trophy { width: 100%; height: 165px; }
    .podium-place__trophy img { max-height: 165px; }
    .podium-place__label { margin-bottom: 17px; font-size: 17px; }
    .podium-place__name { font-size: 18px; }
    .tournament-content { padding: 40px 16px 70px; }
    .tournament-section > .tournament-section-title { padding: 22px 20px 20px; }
    .tournament-section-title h2 { font-size: 24px; }
    .tournament-table-wrap { padding: 10px; }
    .tournament-files__grid { grid-template-columns: 1fr; padding: 16px; }
    .tournament-exhibits { margin-top: 24px; }
    .tournament-exhibits__grid { grid-template-columns: 1fr; }
    .tournament-exhibit-card__image { height: 210px; }
}
.vk-pgn-stage {
    min-width: 0;
    width: 100%;
}

.vk-pgn-stage > .lpv,
.vk-pgn-stage > .vk-pgn-board {
    width: 100%;
}