/* Основной контейнер */
.ry-player-wrapper { 
    font-family: "Onder", sans-serif; 
    color: #fff; 
    background: #121212; 
    border-radius: 0px; 
    overflow: hidden; 
    margin-top: 20px; 
    border: 1px solid rgba(255,255,255,0.1);
}

/* --- ШАПКА --- */
.ry-p-header { 
    display: flex; flex-wrap: wrap; 
    background: linear-gradient(135deg, #1e1e1e 0%, #151515 100%); 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
}
.ry-p-photo-col { 
    width: 300px; position: relative; background: #1a1a1a; min-height: 350px; 
    overflow: hidden;
}
.ry-p-photo-img { 
    width: 100%; height: 100%; object-fit: cover; display: block; 
    /* Легкое затемнение снизу */
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}
.ry-p-number-overlay { 
    position: absolute; top: 10px; left: 15px; 
    font-family: "Unbounded", sans-serif;
    font-size: 40px; font-weight: 900; 
    color: #d82e40; line-height: 1; z-index: 1; 
}
.ry-p-info-col { 
    flex: 1; padding: 40px; display: flex; flex-direction: column; justify-content: center; min-width: 300px; 
}
.ry-p-name { 
    font-family: "Onder", sans-serif;
    font-size: 20px; font-weight: 400; text-transform: uppercase; 
    line-height: 1.7; margin-bottom: 10px; color: #fff; 
}
.ry-p-pos { 
    font-family: "Unbounded", sans-serif;
    font-size: 14px; color: #d82e40; font-weight: 700; 
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 30px; 
}

.ry-p-meta-grid { 
    display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 15px; 
}
.ry-p-meta-item { 
    background: rgba(255,255,255,0.03); padding: 15px; 
    border-radius: 0px; border: 1px solid rgba(255,255,255,0.1); 
}
.ry-p-label { 
    font-family: "Unbounded", sans-serif;
    font-size: 10px; color: #777; text-transform: uppercase; margin-bottom: 5px; 
    font-weight: 600;
}
.ry-p-value { 
    font-family: "Onder", sans-serif;
    font-size: 8px; color: #fff; line-height: 1.7;
}

/* --- TOTAL BLOCK (ВСЕГО ЗА КЛУБ) --- */
.ry-career-summary { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    background: #1a1a1a; 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
    padding: 30px 20px; 
    align-items: center; 
}
.ry-c-item { 
    text-align: center; 
    border-right: 1px solid rgba(255,255,255,0.1); 
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.ry-c-item:last-child { border-right: none; }
.ry-c-val { 
    font-family: "Onder", sans-serif;
    font-size: 16px; color: #fff; 
    line-height: 1.7;
}
.ry-c-lbl { 
    font-family: "Unbounded", sans-serif;
    font-size: 10px; text-transform: uppercase; color: #777; 
    font-weight: 600; letter-spacing: 0.5px; 
}
.ry-c-highlight { color: #d82e40; }

/* --- ВЫБОР СЕЗОНА --- */
.ry-stats-controls { 
    display: flex; align-items: center; justify-content: space-between; 
    padding: 25px; border-bottom: 1px solid rgba(255,255,255,0.1); 
    background: #161616; gap: 20px; 
}
.ry-stats-title { 
    width: fit-content;
    margin: 0;
    padding: 0 0 0 12px;
    font-family: "Onder", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    color: #fff;
    text-transform: uppercase;
    border-left: 3px solid #d82e40;
}
.ry-select-wrap { position: relative; min-width: 260px; }
.ry-season-select { 
    width: 100%; padding: 12px 35px 12px 15px; 
    font-family: "Unbounded", sans-serif; font-size: 11px; font-weight: 600; 
    color: #fff; background-color: #232323; 
    border: 1px solid #444; border-radius: 0px; 
    appearance: none; -webkit-appearance: none; cursor: pointer; outline: none; 
    text-transform: uppercase;
}
.ry-season-select:focus { border-color: #d82e40; background: #000; }
.ry-select-wrap .ry-select-arrow {
    position: absolute;
    top: 50%;
    right: 15px !important;
    transform: translateY(-50%);
    pointer-events: none;
    color: #d82e40 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ry-select-wrap .ry-select-arrow svg {
    display: block;
    width: 10px;
    height: 6px;
}

.ry-season-content { display: none; padding: 25px; background: #161616; }
.ry-season-content.active { display: block; animation: ryFadeIn 0.3s; }

/* --- СТАТИСТИКА (КВАДРАТЫ) --- */
.ry-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 15px; margin-bottom: 30px; }
.ry-stat-box { 
    background: rgba(255,255,255,0.03); padding: 20px 10px; 
    text-align: center; border-radius: 0px; 
    border: 1px solid rgba(255,255,255,0.1); 
    display: flex; flex-direction: column; justify-content: center; 
}
.ry-stat-num { 
    font-family: "Onder", sans-serif;
    font-size: 16px; color: #fff; 
    line-height: 1.7; 
}
.ry-stat-name { 
    font-family: "Unbounded", sans-serif;
    font-size: 10px; color: #777; text-transform: uppercase; font-weight: 600; 
}

/* --- СПИСОК МАТЧЕЙ --- */
.ry-matches-container { 
    background: rgba(30, 30, 30, 0.4); 
    border-radius: 0px; border: 1px solid rgba(255,255,255,0.1); 
    overflow: hidden; 
}

.ry-match-row { 
    display: flex; align-items: center; padding: 0 20px; 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
    text-decoration: none !important; transition: 0.2s; min-height: 60px; 
}
.ry-match-row:hover { background: rgba(255,255,255,0.03); }
.ry-match-row.no-link:hover { background: transparent; cursor: default; }
.ry-match-row:last-child { border-bottom: none; }

.ry-mr-date { 
    width: 90px; color: #777; font-size: 10px; font-family: "Unbounded", sans-serif; 
    font-weight: 500; flex-shrink: 0; text-transform: uppercase; 
}
.ry-mr-info { flex-grow: 1; display: flex; align-items: center; gap: 15px; overflow: hidden; }

.ry-mr-team { 
    display: flex; align-items: center; gap: 10px; 
    font-family: "Onder", sans-serif; font-size: 8px; color: #eee; 
    white-space: nowrap; text-transform: uppercase;
}
.ry-mr-team img { width: 24px; height: 24px; object-fit: contain; }
.ry-mr-div { color: #444; font-size: 10px; }

.ry-mr-right-col { display: flex; align-items: center; margin-left: auto; gap: 15px; }

.ry-mr-score { 
    font-family: "Onder", sans-serif;
    font-size: 10px; color: #fff; width: 60px; 
    text-align: center; background: #000; padding: 6px 0; 
    border-radius: 0px; border: 1px solid #333; flex-shrink: 0; 
}

.ry-mr-stats { width: 140px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-shrink: 0; }
.ry-badges-row { display: flex; gap: 5px; }

.ry-min-val { 
    font-family: "Unbounded", sans-serif;
    font-weight: 700; color: #888; font-size: 10px; 
    width: 30px; text-align: right; 
}

.ry-badge { 
    display: inline-flex; align-items: center; justify-content: center; 
    height: 20px; padding: 0 6px; border-radius: 0px; 
    font-family: "Unbounded", sans-serif; font-weight: 700; font-size: 9px; line-height: 1; gap: 4px; 
}

.bg-goal { background: #151515; border: 1px solid #4CAF50; color: #fff; }
.bg-yellow { background: #151515; border: 1px solid #FFD700; color: #fff; }
.bg-red { background: #151515; border: 1px solid #F44336; color: #fff; }
.ry-icon-s { font-size: 10px; line-height: 1; }

.ry-load-btn { 
    display: block; width: 100%; padding: 15px; margin-top: 20px; 
    background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); 
    text-align: center; border-radius: 0px; cursor: pointer; 
    text-transform: uppercase; font-size: 11px; font-weight: 700; font-family: "Unbounded", sans-serif; 
    transition: all 0.2s;
}
.ry-load-btn:hover { background: rgba(255,255,255,0.1); border-color: #fff; } 
.ry-hidden-row { display: none; }

/* --- SVG ИКОНКИ ДЛЯ СПИСКА МАТЧЕЙ --- */
.ry-svg-wrap { display: flex; align-items: center; justify-content: center; }
.ry-svg-wrap .ry-ev-svg { width: 12px; height: 12px; }
.ry-svg-wrap .ry-card-yc, .ry-svg-wrap .ry-card-rc { 
    display: inline-block; 
    transform: rotate(10deg); border: 1px solid rgba(0,0,0,0.4); 
    border-radius: 2px; width: 8px; height: 12px; 
}
.ry-svg-wrap .ry-card-yc { background-color: #ffe500; box-shadow: inset 0 0 2px rgba(255,100,0,0.5); }
.ry-svg-wrap .ry-card-rc { background-color: #ff2222; box-shadow: inset 0 0 2px rgba(100,0,0,0.8); }

/* --- RELATED PLAYERS (ПАРТНЕРЫ) --- */
.ry-related-section { padding: 30px 20px; background: #121212; border-top: 1px solid rgba(255,255,255,0.1); }

.ry-sec-title { 
    width: fit-content;
    margin: 0 0 25px;
    padding: 0 0 0 12px;
    font-family: "Onder", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    color: #fff;
    text-transform: uppercase;
    border-left: 3px solid #d82e40;
}

.ry-rel-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
    gap: 20px; 
}
.ry-rel-card { 
    display: block; text-decoration: none !important; 
    background: rgba(15, 15, 15, 0.8); border-radius: 0px; 
    overflow: hidden; border: 1px solid rgba(255,255,255,0.1); 
    transition: transform 0.2s; 
}
.ry-rel-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.3); }

.ry-rel-photo { 
    width: 100%; height: 260px; object-fit: cover; object-position: top center; 
    background: #111; display: block;
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.ry-rel-info { 
    padding: 15px; 
    display: flex; align-items: center; justify-content: space-between; gap: 10px; 
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    margin-top: -60px; position: relative; z-index: 2; height: 60px;
}
.ry-rel-name { 
    font-family: "Onder", sans-serif;
    font-size: 6px; color: #fff; 
    line-height: 1.7; margin: 0;
}
.ry-rel-meta { 
    font-family: "Unbounded", sans-serif;
    font-size: 20px; color: #d82e40; font-weight: 800; 
    line-height: 1; flex-shrink: 0; 
}

/* --- АДАПТИВ (MOBILE) --- */
@media (max-width: 768px) {
    .ry-p-header { flex-direction: column; }
    .ry-p-photo-col { width: 100%; min-height: 300px; }
    .ry-p-info-col { padding: 25px; }
    .ry-p-name { font-size: 14px; }

    .ry-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ry-stat-box:nth-child(5) { grid-column: 1 / -1; }

    .ry-career-summary { padding: 20px 10px; }
    .ry-c-val { font-size: 12px; }
    .ry-c-lbl { font-size: 9px; }

    .ry-stats-controls { 
        flex-direction: column; text-align: center; gap: 15px; padding: 20px; 
    }
    .ry-stats-title,
    .ry-sec-title {
        max-width: 100%;
        padding: 0 0 5px;
        font-size: clamp(8px, 2.55vw, 10.5px);
        line-height: 1.9;
        text-align: center;
        white-space: nowrap;
        border-left: 0;
        border-bottom: 2px solid #d82e40;
    }
    .ry-stats-title { display: inline-block; width: auto; }
    .ry-select-wrap { width: 100%; max-width: 100%; }

    .ry-stat-num { font-size: 14px; }

    /* Матчи */
    .ry-match-row { padding: 15px; align-items: center; }
    .ry-mr-date { display: none; }
    .ry-mr-div { display: none; }
    .ry-mr-info { flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; flex: 1; min-width: 0; margin-right: 10px; }
    .ry-mr-team { font-size: 10px; font-family: "Unbounded"; font-weight: 700; width: 100%; overflow: hidden; text-overflow: ellipsis; justify-content: flex-start; }
    .ry-mr-team img { width: 20px; height: 20px; }
    .ry-mr-right-col { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 6px; width: 60px; margin-left: 0; flex-shrink: 0; }
    .ry-mr-score { margin: 0; font-size: 10px; width: 100%; padding: 4px 0; }
    .ry-mr-stats { width: auto; justify-content: flex-end; gap: 5px; }
    .ry-min-val { width: auto; font-size: 9px; text-align: right; }
    .ry-badge { height: 18px; padding: 0 4px; font-size: 9px; margin-left: 0; }

    /* Партнеры (2 колонки) */
    .ry-sec-title { margin: 0 auto 20px; }
    .ry-rel-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ry-rel-photo { height: 200px; }
    .ry-rel-info { padding: 10px; margin-top: -50px; height: 50px; }
    .ry-rel-name { font-size: 6px; }
    .ry-rel-meta { display:none; }
}
@keyframes ryFadeIn { from{opacity:0;} to{opacity:1;} }

/* --- ТРОФЕЙНАЯ ВИТРИНА В ПРОФИЛЕ ИГРОКА --- */
.ry-player-awards-section {
    padding: 28px 25px 32px;
    background: #101010;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ry-awards-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 16px;
}

.ry-section-title {
    margin: 0;
    font-family: "Onder", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    color: #fff;
}

.ry-awards-heading p {
    margin: 0;
    font-family: "Unbounded", sans-serif;
    font-size: 11px;
    line-height: 1.5;
    color: #6f6f6f;
}

.ry-awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 390px), 1fr));
    gap: 14px;
}

.ry-awards-count-1 { grid-template-columns: minmax(0, 1fr); }

.ry-award-card {
    display: grid;
    grid-template-columns: 175px minmax(0, 1fr);
    min-width: 0;
    overflow: hidden;
    color: inherit !important;
    text-decoration: none !important;
    background: #191919;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.35s ease-out;
}

.ry-awards-count-1 .ry-award-card {
    grid-template-columns: 180px minmax(0, 1fr);
    min-height: 180px;
}

.ry-award-showcase {
    position: relative;
    display: grid;
    min-height: 190px;
    place-items: center;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(255,255,255,0.035), transparent 38%),
        radial-gradient(ellipse at 50% 38%, #4d131c 0%, #260c11 43%, #100a0b 82%);
    isolation: isolate;
}

.ry-award-visual-1 .ry-award-showcase {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.04), transparent 42%),
        radial-gradient(circle at 50% 38%, #501824 0%, #2b0c14 47%, #10090b 84%);
}

.ry-award-visual-2 .ry-award-showcase {
    background:
        linear-gradient(35deg, rgba(130,20,36,0.18), transparent 48%),
        radial-gradient(ellipse at 50% 32%, #45101a 0%, #210a0f 50%, #0f090a 86%);
}

.ry-award-bg-spotlight .ry-award-showcase {
    background:
        conic-gradient(from 164deg at 50% -14%, transparent 0 12deg, rgba(255,224,211,.13) 12deg 22deg, transparent 22deg 338deg, rgba(255,224,211,.13) 338deg 348deg, transparent 348deg),
        radial-gradient(ellipse at 50% 34%, #651726 0%, #2b0c14 46%, #0e090a 86%);
}

.ry-award-bg-facets .ry-award-showcase {
    background:
        linear-gradient(132deg, transparent 0 28%, rgba(222,45,64,.13) 28% 43%, transparent 43%),
        linear-gradient(42deg, #11090b 0 29%, #3d1018 29% 54%, #200a10 54% 73%, #0d090a 73%);
}

.ry-award-bg-rings .ry-award-showcase {
    background:
        repeating-radial-gradient(circle at 50% 44%, transparent 0 24px, rgba(246,223,213,.075) 25px 26px, transparent 27px 46px),
        radial-gradient(circle at 50% 44%, #631827 0%, #2b0c14 43%, #0e090a 84%);
}

.ry-award-bg-stripes .ry-award-showcase {
    background:
        linear-gradient(115deg, transparent 0 42%, rgba(255,255,255,.045) 42% 57%, transparent 57%),
        repeating-linear-gradient(132deg, rgba(216,46,64,.13) 0 16px, transparent 16px 42px),
        linear-gradient(145deg, #3a0e17, #12090c 72%);
}

.ry-award-bg-custom .ry-award-showcase {
    background: #130a0c;
}

.ry-award-showcase::before,
.ry-award-showcase::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: -18%;
    bottom: 0;
    width: 44%;
    background: linear-gradient(90deg, rgba(0,0,0,0.5), rgba(144, 26, 41, 0.08));
}

.ry-award-showcase::before { left: -25%; transform: skewX(-9deg); }
.ry-award-showcase::after { right: -25%; transform: skewX(9deg) scaleX(-1); }

.ry-award-light {
    position: absolute;
    z-index: 1;
    top: -42%;
    left: 50%;
    width: 68%;
    height: 120%;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, rgba(255, 231, 207, 0.14), transparent 72%);
    clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%);
}

.ry-award-custom-background {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .48;
    filter: saturate(.78) contrast(1.08);
}

.ry-award-bg-custom .ry-award-showcase::before {
    z-index: 1;
    inset: 0;
    width: auto;
    transform: none;
    background: linear-gradient(to bottom, rgba(14,7,9,.12), rgba(14,7,9,.62));
}

.ry-award-bg-custom .ry-award-showcase::after {
    display: none;
}

.ry-award-trophy {
    position: relative;
    z-index: 2;
    width: min(84%, 165px);
    height: 178px;
    overflow: visible;
    filter: drop-shadow(0 25px 18px rgba(0,0,0,0.38));
}

.ry-award-custom-art {
    position: relative;
    z-index: 2;
    width: min(68%, 138px);
    max-height: 145px;
    object-fit: contain;
    filter: drop-shadow(0 22px 16px rgba(0,0,0,0.42));
    transition: transform 0.45s cubic-bezier(.2,.8,.2,1);
}

.ry-award-trophy-object {
    transform-origin: 130px 260px;
    transition: transform 0.45s cubic-bezier(.2,.8,.2,1);
}

.ry-award-shelf {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    height: 13px;
    background: linear-gradient(#292522 0 4px, #111 4px);
    box-shadow: 0 -8px 22px rgba(0,0,0,0.42);
}

.ry-award-card-body {
    position: relative;
    display: flex;
    min-width: 0;
    padding: 25px 27px 23px;
    flex-direction: column;
    align-items: flex-start;
    color: #fff;
}

.ry-awards-count-1 .ry-award-card-body {
    padding: 21px 30px;
    justify-content: center;
}

.ry-award-type-name {
    display: inline-flex;
    width: fit-content;
    min-height: 32px;
    padding: 6px 13px;
    align-items: center;
    gap: 7px;
    font-family: "Unbounded", sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    color: #ff4d61;
    text-transform: uppercase;
    background: rgba(216, 46, 64, 0.12);
    border: 1px solid #d82e40;
}

.ry-award-type-name svg,
.ry-award-type-name img {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    object-fit: contain;
}
.ry-award-type-name path { stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.ry-award-poll-title {
    display: block;
    max-width: 650px;
    margin-top: 12px;
    font-family: "Onder", sans-serif;
    font-size: clamp(10px, 1.15vw, 14px);
    color: #f4f4f4;
}

.ry-award-footer {
    display: flex;
    width: 100%;
    margin-top: auto;
    flex-direction: column;
    align-items: flex-start;
}

.ry-award-details {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 18px;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-family: "Unbounded", sans-serif;
    font-size: 11px;
    line-height: 1.5;
    color: #777;
}

.ry-award-details > * + *::before {
    content: "/";
    margin-right: 18px;
    color: #444;
}

.ry-award-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 17px;
    padding-top: 0;
    font-family: "Unbounded", sans-serif;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.4;
    color: #ddd;
    border-bottom: 1px solid #a22032;
}

.ry-award-link svg { width: 17px; height: 17px; transition: transform 0.3s ease-out; }
.ry-award-link path { stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

a.ry-award-card:hover,
a.ry-award-card:focus-visible {
    transform: translateY(-5px);
    outline: 2px solid #d82e40;
    outline-offset: 3px;
}

a.ry-award-card:hover .ry-award-trophy-object,
a.ry-award-card:focus-visible .ry-award-trophy-object { transform: translateY(-7px) rotate(-1.5deg); }

a.ry-award-card:hover .ry-award-custom-art,
a.ry-award-card:focus-visible .ry-award-custom-art { transform: translateY(-7px) rotate(-1.5deg) scale(1.02); }

a.ry-award-card:hover .ry-award-link svg,
a.ry-award-card:focus-visible .ry-award-link svg { transform: translateX(4px); }

.ry-awards-more {
    margin-top: 14px;
    background: #151515;
    border: 1px solid rgba(255,255,255,0.1);
    interpolate-size: allow-keywords;
}

.ry-awards-more::details-content {
    block-size: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        block-size 0.42s cubic-bezier(.2,.75,.2,1),
        opacity 0.3s ease-out,
        content-visibility 0.42s allow-discrete;
}

.ry-awards-more[open]::details-content {
    block-size: auto;
    opacity: 1;
}

.ry-awards-more > summary {
    display: flex;
    min-height: 58px;
    padding: 0 22px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #e8e8e8;
    cursor: pointer;
    list-style: none;
    transition: background-color 0.3s ease-out, color 0.3s ease-out;
}

.ry-awards-more > summary::-webkit-details-marker { display: none; }
.ry-awards-more > summary:hover,
.ry-awards-more > summary:focus-visible { color: #fff; background: rgba(216,46,64,0.07); outline: none; }
.ry-awards-more[open] > summary { background: rgba(216,46,64,0.055); }

.ry-awards-more-title,
.ry-awards-more-count {
    font-family: "Unbounded", sans-serif;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.4;
}

.ry-awards-more-count {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ff4d61;
}

.ry-awards-more-count svg { width: 16px; height: 16px; transition: transform 0.3s ease-out; }
.ry-awards-more-count path { stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ry-awards-more-open { display: none; }
.ry-awards-more[open] .ry-awards-more-closed { display: none; }
.ry-awards-more[open] .ry-awards-more-open { display: inline; }
.ry-awards-more[open] .ry-awards-more-count svg { transform: rotate(180deg); }

.ry-awards-compact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    padding-top: 1px;
    background: rgba(255,255,255,0.08);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.ry-award-compact:last-child:nth-child(odd) { grid-column: 1 / -1; }

.ry-award-compact {
    display: grid;
    min-width: 0;
    min-height: 76px;
    padding: 12px 15px;
    grid-template-columns: 46px minmax(0, 1fr) auto 18px;
    align-items: center;
    gap: 13px;
    color: inherit !important;
    text-decoration: none !important;
    background: #171717;
    opacity: 0;
    transform: translateY(-8px);
    transition:
        background-color 0.3s ease-out,
        opacity 0.34s ease-out,
        transform 0.34s cubic-bezier(.2,.75,.2,1);
}

.ry-awards-more[open] .ry-award-compact { opacity: 1; transform: translateY(0); }
.ry-awards-more[open] .ry-award-compact:nth-child(2) { transition-delay: 0s, 0.05s, 0.05s; }
.ry-awards-more[open] .ry-award-compact:nth-child(3) { transition-delay: 0s, 0.1s, 0.1s; }
.ry-awards-more[open] .ry-award-compact:nth-child(4) { transition-delay: 0s, 0.15s, 0.15s; }
.ry-awards-more[open] .ry-award-compact:nth-child(n+5) { transition-delay: 0s, 0.2s, 0.2s; }

a.ry-award-compact:hover,
a.ry-award-compact:focus-visible { background: #1d1a1b; outline: 1px solid #d82e40; outline-offset: -1px; }

.ry-award-compact-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: #eadfd4;
    background: radial-gradient(circle at 50% 35%, #6f1827, #230b10 72%);
    border: 1px solid rgba(216,46,64,0.42);
}

.ry-award-compact-1 .ry-award-compact-icon { background: radial-gradient(circle at 50% 35%, #762333, #290c13 72%); }
.ry-award-compact-2 .ry-award-compact-icon { background: linear-gradient(145deg, #54101c, #1c0a0e); }
.ry-award-compact-icon svg { width: 25px; height: 25px; }
.ry-award-compact-icon img {
    width: 27px;
    height: 27px;
    object-fit: contain;
}
.ry-award-compact-icon path,
.ry-award-compact-icon circle { stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.ry-award-compact-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

.ry-award-compact-type {
    overflow: hidden;
    font-family: "Unbounded", sans-serif;
    font-size: 8px;
    font-weight: 700;
    line-height: 1.35;
    color: #ff4d61;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.ry-award-compact-title {
    overflow: hidden;
    font-family: "Onder", sans-serif;
    font-size: 9px;
    line-height: 1.9;
    color: #eee;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ry-award-compact-date {
    font-family: "Unbounded", sans-serif;
    font-size: 8px;
    line-height: 1.4;
    color: #6f6f6f;
    white-space: nowrap;
}

.ry-award-compact-arrow { width: 17px; height: 17px; color: #9a9a9a; transition: transform 0.3s ease-out, color 0.3s ease-out; }
.ry-award-compact-arrow path { stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
a.ry-award-compact:hover .ry-award-compact-arrow,
a.ry-award-compact:focus-visible .ry-award-compact-arrow { color: #ff4d61; transform: translateX(3px); }

@media (min-width: 769px) {
    .ry-awards-count-1 .ry-award-card-body {
        display: flex;
        padding: 22px 34px 20px;
        justify-content: flex-start;
    }
    .ry-awards-count-1 .ry-award-footer {
        min-height: 43px;
        padding-top: 13px;
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 28px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .ry-awards-count-1 .ry-award-details {
        gap: 8px 24px;
        margin: 0;
        padding: 0;
        border-top: 0;
    }
    .ry-awards-count-1 .ry-award-link {
        margin: 0;
        flex: 0 0 auto;
    }
    .ry-awards-grid:not(.ry-awards-count-1) .ry-award-showcase { min-height: 190px; }
    .ry-awards-grid:not(.ry-awards-count-1) .ry-award-trophy { height: 195px; }
    .ry-awards-grid:not(.ry-awards-count-1) .ry-award-poll-title { font-size: 10px; }
}

@media (max-width: 768px) {
    .ry-player-awards-section { padding: 24px 15px 27px; }
    .ry-awards-heading {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        text-align: center;
    }
    .ry-awards-heading p { margin-top: 0; font-size: 11px; }
    .ry-awards-grid { grid-template-columns: 1fr; }
    .ry-award-card,
    .ry-awards-count-1 .ry-award-card { grid-template-columns: 100px minmax(0, 1fr); }
    .ry-awards-count-1 .ry-award-card { min-height: 0; }
    .ry-award-showcase,
    .ry-awards-count-1 .ry-award-showcase { min-height: 170px; }
    .ry-award-trophy { width: min(94%, 95px); height: 148px; }
    .ry-award-custom-art { width: min(72%, 78px); max-height: 106px; }
    .ry-award-shelf { height: 10px; }
    .ry-award-card-body,
    .ry-awards-count-1 .ry-award-card-body { padding: 18px 15px 16px; justify-content: center; }
    .ry-award-footer { margin-top: 0; }
    .ry-award-type-name { min-height: 28px; padding: 4px 9px; gap: 6px; font-size: 9px; }
    .ry-award-type-name svg,
    .ry-award-type-name img { width: 12px; height: 12px; flex-basis: 12px; }
    .ry-award-poll-title { margin-top: 8px; font-size: 8px; }
    .ry-award-details { gap: 4px; margin-top: 10px; padding-top: 8px; font-size: 9px; }
    .ry-award-details > * + *::before { margin-right: 8px; }
    .ry-award-link { gap: 6px; margin-top: 12px; font-size: 10px; }
    .ry-award-link svg { width: 14px; height: 14px; }
    .ry-awards-more { margin-top: 10px; }
    .ry-awards-more > summary { min-height: 52px; padding: 0 14px; }
    .ry-awards-more-title,
    .ry-awards-more-count { font-size: 11px; }
    .ry-awards-compact-list { grid-template-columns: 1fr; }
    .ry-award-compact { min-height: 68px; padding: 10px 12px; grid-template-columns: 42px minmax(0, 1fr) 17px; gap: 11px; }
    .ry-award-compact-icon { width: 42px; height: 42px; }
    .ry-award-compact-icon svg { width: 23px; height: 23px; }
    .ry-award-compact-icon img { width: 24px; height: 24px; }
    .ry-award-compact-date { display: none; }
    .ry-award-compact-type { font-size: 9px; }
    .ry-award-compact-title {
        display: -webkit-box;
        font-size: 8px;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ry-award-card,
    .ry-award-trophy-object,
    .ry-award-link svg,
    .ry-awards-more > summary,
    .ry-awards-more-count svg,
    .ry-award-compact,
    .ry-award-compact-arrow { transition: none; }
    .ry-awards-more::details-content { transition: none; }
}

/* Единая высота строки для декоративного шрифта Onder. */
.ry-player-wrapper,
.ry-p-name,
.ry-p-value,
.ry-c-val,
.ry-stat-num,
.ry-mr-team,
.ry-mr-score,
.ry-rel-name,
.ry-award-poll-title {
    line-height: 1.7 !important;
}
