/* BetEnemy ST tournament listing cards */

.st-game-wrapper.st-tournament-listing,
.st-game-wrapper,
main#wl-game-integration-plugin {
    --st-tc-bg: #07170f;
    --st-tc-bg-soft: #0d2117;
    --st-tc-bg-timer: #12482b;
    --st-tc-border: #1d3a2b;
    --st-tc-text: #ffffff;
    --st-tc-muted: rgba(255, 255, 255, 0.72);
    --st-tc-orange: #f8683b;
    --st-tc-orange-hover: #ff3c00;
    --st-tc-green: #009b5d;
    --st-tc-gold: #d49d32;
    --st-tc-silver: #b0b8c0;
    --st-tc-bronze: #c47a3a;
    --st-tc-radius: 15px;
    --st-tc-radius-sm: 10px;
}

/* Neutralize vendor horizontal slides */
.st-game-wrapper.st-tournament-listing .stp-tournament-slides {
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: visible;
    padding-bottom: 0;
    width: 100%;
}

.st-game-wrapper.st-tournament-listing .wl-tournament-slide-container,
.st-game-wrapper.st-tournament-listing .wl-tournament-slide-container:only-child {
    display: block;
    margin: 0;
    min-width: 0;
    width: 100%;
}

.st-game-wrapper.st-tournament-listing .stp-tournament-card-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* ===== Card shell ===== */
.st-tc {
    background: linear-gradient(135deg, #020604 0%, #07170f 45%, #143524 100%);
    border: 1px solid var(--st-tc-border);
    border-radius: var(--st-tc-radius);
    color: var(--st-tc-text);
    overflow: hidden;
    width: 100%;
    box-shadow: 0 18px 40px rgba(4, 20, 12, 0.14);
    margin-bottom: 20px;
}

.st-tc__summary {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 24px 28px;
    padding: 20px 24px;
}

.st-tc__logo {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
}

.st-tc__logo img {
    max-height: 140px;
    object-fit: cover;
    width: 140px;
}

.st-tc__hero {
    display: none;
    position: relative;
}

.st-tc__hero-img {
    display: block;
    height: 160px;
    object-fit: cover;
    width: 100%;
}

.st-tc__hero-logo {
    display: none;
}

.st-tc__badge {
    align-items: center;
    border-radius: 999px;
    background: #12482b;
    color: #6af3a0;
    font-family: var(--font-semibold);
    display: inline-flex;
    font-size: 12px;
    gap: 6px;
    line-height: 1;
    padding: 6px 10px;
}

.st-tc__badge:empty {
    display: none;
}

.st-tc__badge--desktop {
    margin-bottom: 12px;
}

.st-tc__badge--mobile {
    display: none;
    left: auto;
    position: absolute;
    right: 12px;
    top: 12px;
}

.st-tc__meta {
    flex: 1 1 0;
    max-width: none;
    min-width: 180px;
}

.st-tc__title {
    color: #ffffff !important;
    font-family: var(--font-bold, inherit);
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 12px;
}

.st-tc__prizes {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

/* Prize pool: "НАГРАДЕН ФОНД · {admin text}" over a 2 – 1 – 3 podium */
.st-tc__prize-pool {
    margin-bottom: 12px;
    max-width: 380px;
}

.st-tc__prize-pool-title {
    color: rgb(255 255 255 / 84%);
    font-family: var(--font-semibold, inherit);
    font-size: 12px;
    letter-spacing: 0.06em;
    line-height: 1.3;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.st-tc__prize-pool .st-tc__prizes {
    align-items: stretch;
    background: rgb(0 17 5);
    border-radius: 12px;
    flex-wrap: nowrap;
    gap: 10px;
    margin-bottom: 0;
    padding: 5px;
}

.st-tc__prize {
    align-items: center;
    background: rgba(0, 155, 93, 0.16);
    border: 1px solid rgba(0, 155, 93, 0.32);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    flex: 1 1 0;
    gap: 6px;
    justify-content: center;
    line-height: 1.2;
    min-width: 0;
    padding: 7px;
    position: relative;
}

.st-tc__prize--1 {
    background: linear-gradient(180deg, #3a2a12 0%, #241808 100%);
    border: 2px solid #009b5d;
    color: var(--st-tc-text);
    order: 2;
}

.st-tc__prize--2 {
    order: 1;
}

.st-tc__prize--3 {
    order: 3;
}

.st-tc__prize-amount {
    font-family: var(--font-bold, inherit);
    font-size: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* .st-tc__prize--1 .st-tc__prize-amount {
    font-size: 20px;
} */

.st-tc__prize-medal {
    display: inline-block;
    flex-shrink: 0;
    height: 22px;
    width: 22px;
}

/* Ribbon straps take the medal tint, the back strap a shade darker. */
.st-tc__prize-medal-ribbon {
    fill: currentColor;
    opacity: 0.55;
}

.st-tc__prize-medal-ribbon--front {
    opacity: 0.8;
}

.st-tc__prize-medal text {
    font-family: var(--font-bold, Arial, sans-serif);
}

.st-tc__prize-medal--1 { color: var(--st-tc-gold); }
.st-tc__prize-medal--2 { color: var(--st-tc-silver); }
.st-tc__prize-medal--3 { color: var(--st-tc-bronze); }

.st-tc__stats {
    color: var(--st-tc-muted);
    font-size: 13px;
    line-height: 1.4;
}

.st-tc__stats strong {
    color: var(--st-tc-text);
    font-family: var(--font-semibold, inherit);
}

/* Flatten aside so meta / timer / actions share one row proportionally */
.st-tc__aside {
    display: contents;
}

.st-tc__timer-wrap {
    flex: 1 1 0;
    max-width: 440px;
    min-width: 260px;
}

.st-tc__aside-meta {
    display: none;
}

.st-tc__timer-label {
    color: var(--st-tc-muted);
    font-size: 12px;
    margin-bottom: 8px;
}

.st-tc__timer {
    align-items: stretch;
    display: flex;
    gap: 8px;
    width: 100%;
}

.st-tc__timer-unit {
    background: var(--st-tc-bg-timer);
    border: 1px solid #234333;
    border-radius: 10px;
    flex: 1 1 0;
    min-width: 0;
    padding: 14px 8px;
    text-align: center;
}

.st-tc__timer-unit strong {
    color: var(--st-tc-text);
    display: block;
    font-family: var(--font-bold, inherit);
    font-size: 26px;
    line-height: 1.1;
}

.st-tc__timer-unit span {
    color: var(--st-tc-muted);
    display: block;
    font-size: 11px;
    margin-top: 6px;
    text-transform: uppercase;
}

.st-tc__timer-sep {
    align-self: center;
    color: var(--st-tc-muted);
    flex: 0 0 auto;
    font-family: var(--font-bold, inherit);
    font-size: 20px;
}

.st-tc__actions {
    display: flex;
    flex-direction: column;
    flex: 0 0 200px;
    gap: 8px;
    margin-left: 0;
}

.st-tc__actions:has(.st-tc__sponsor--desktop) {
    align-self: stretch;
}

.st-tc__play,
.st-tc .wl-btn-primary,
.st-tc .btn.btn-tertiary {
    align-items: center;
    background: var(--st-tc-orange) !important;
    border: 0 !important;
    border-radius: var(--st-tc-radius) !important;
    box-shadow: none !important;
    color: #fff !important;
    cursor: pointer;
    display: flex !important;
    flex: none !important;
    font-family: var(--font-semibold, inherit);
    font-size: 14px;
    justify-content: center;
    line-height: 1.2;
    margin: 0 !important;
    min-height: 44px;
    padding: 10px 16px !important;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    width: 100%;
}

.st-tc__play:hover,
.st-tc .wl-btn-primary:hover,
.st-tc .btn.btn-tertiary:hover {
    background: var(--st-tc-orange-hover) !important;
    opacity: 1;
}

.st-tc__more {
    align-items: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--st-tc-radius);
    color: var(--st-tc-text);
    cursor: pointer;
    display: inline-flex;
    font-family: var(--font-semibold, inherit);
    font-size: 13px;
    gap: 8px;
    justify-content: center;
    min-height: 42px;
    padding: 8px 14px;
    text-transform: uppercase;
    width: 100%;
}

.st-tc__more:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.st-tc__more-chevron {
    display: inline-block;
    height: 10px;
    transition: transform 0.2s ease;
    width: 10px;
}

.st-tc.is-expanded .st-tc__more-chevron {
    transform: rotate(180deg);
}

.st-tc__play--mobile,
.st-tc__footer,
.st-tc__body-mobile {
    display: none;
}

/* Upcoming/ended cards often render an empty mobile CTA wrapper — never reserve space. */
.st-tc__body-mobile:empty,
.st-tc__body-mobile:not(:has(*)) {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.st-tc__sponsor {
    align-items: center;
    color: rgba(255, 255, 255, 0.92);
    display: inline-flex;
    gap: 6px;
    line-height: 1;
    text-decoration: none;
}

.st-tc__sponsor:hover {
    color: #fff;
    opacity: 0.95;
}

.st-tc__sponsor-label {
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--font-semibold, inherit);
    font-size: 11px;
    letter-spacing: 0.02em;
    text-transform: none;
    white-space: nowrap;
}

.st-tc__sponsor-label::after {
    content: ':';
}

.st-tc__sponsor-logo {
    display: block;
    height: 24px;
    max-width: 88px;
    object-fit: contain;
    width: auto;
}

.st-tc__sponsor-name {
    color: #fff;
    font-family: var(--font-semibold, inherit);
    font-size: 12px;
    white-space: nowrap;
}

.st-tc__sponsor--desktop {
    align-self: flex-end;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    margin-bottom: 10px;
    padding: 6px 10px;
}

.st-tc__sponsor--desktop .st-tc__sponsor-logo {
    height: 22px;
    max-width: 80px;
    margin-top: -2px;
}

.st-tc__sponsor--mobile {
    display: none;
}

/* ===== Expand panel ===== */
.st-tc__details {
    border-top: 1px solid var(--st-tc-border);
    display: none;
    padding: 18px 20px 22px;
}

.st-tc.is-expanded .st-tc__details {
    display: block;
}

.st-tc__details-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.st-tc__terms {
    background: var(--st-tc-bg-soft);
    border: 1px solid var(--st-tc-border);
    border-radius: var(--st-tc-radius-sm);
    margin-top: 20px;
    padding: 14px 16px 18px;
}

.st-tc__terms .st-tc__panel-head {
    margin-bottom: 14px;
}

.st-tc__terms-body {
    color: var(--st-tc-text);
    font-size: 14px;
    line-height: 1.55;
    max-height: 320px;
    overflow: auto;
}

.st-tc__terms-body > *:first-child {
    margin-top: 0;
}

.st-tc__terms-body > *:last-child {
    margin-bottom: 0;
}

.st-tc__terms-body h1,
.st-tc__terms-body h2,
.st-tc__terms-body h3 {
    color: var(--st-tc-text);
    font-family: var(--font-semibold, inherit);
    font-weight: 600;
    line-height: 1.3;
    margin: 1.1em 0 0.45em;
}

.st-tc__terms-body h1 {
    font-size: 18px;
}

.st-tc__terms-body h2 {
    font-size: 16px;
}

.st-tc__terms-body h3 {
    font-size: 15px;
}

.st-tc__terms-body p {
    margin: 0 0 0.75em;
}

.st-tc__terms-body ol,
.st-tc__terms-body ul {
    margin: 0 0 0.85em;
    padding-left: 1.25em;
}

.st-tc__terms-body li {
    margin: 0.35em 0;
}

.st-tc__terms-body li + li {
    margin-top: 0.45em;
}

.st-tc__terms-body strong {
    color: var(--st-tc-text);
    font-family: var(--font-semibold, inherit);
}

.st-tc__terms-body hr {
    border: 0;
    border-top: 1px solid var(--st-tc-border);
    margin: 1.1em 0;
}

.st-tc__terms-body a {
    color: var(--st-tc-accent, #22c55e);
}

.st-tc__panel {
    background: var(--st-tc-bg-soft);
    border: 1px solid var(--st-tc-border);
    border-radius: var(--st-tc-radius-sm);
    min-height: 100%;
    padding: 14px 16px;
    max-height: 300px;
    overflow: auto;
}

.st-tc__panel-head {
    align-items: baseline;
    border-bottom: 1px solid var(--st-tc-border);
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
}

.st-tc__panel-title {
    color: var(--st-tc-muted);
    font-family: var(--font-semibold, inherit);
    font-size: 13px;
    text-transform: uppercase;
}

.st-tc__panel-meta {
    color: var(--st-tc-text);
    font-family: var(--font-semibold, inherit);
    font-size: 13px;
}

.st-tc__row {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 7px 0;
}

.st-tc__row + .st-tc__row {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.st-tc__row-label {
    color: var(--st-tc-muted);
    font-size: 13px;
}

.st-tc__row-val {
    color: var(--st-tc-text);
    font-family: var(--font-semibold, inherit);
    font-size: 13px;
    text-align: right;
}

.st-tc__lb-row {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    padding: 7px 0;
}

.st-tc__lb-row + .st-tc__lb-row {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.st-tc__lb-rank {
    color: var(--st-tc-muted);
    font-size: 13px;
}

.st-tc__lb-name {
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.st-tc__lb-score {
    color: var(--st-tc-muted);
    font-size: 12px;
    white-space: nowrap;
}

.st-tc__lb-row.is-top-1 .st-tc__lb-rank { color: var(--st-tc-gold); }
.st-tc__lb-row.is-top-2 .st-tc__lb-rank { color: var(--st-tc-silver); }
.st-tc__lb-row.is-top-3 .st-tc__lb-rank { color: var(--st-tc-bronze); }

.st-tc__details[data-st-tc-focus="info"] .st-tc__panel--leaderboard,
.st-tc__details[data-st-tc-focus="leaderboard"] .st-tc__panel--info,
.st-tc__details[data-st-tc-focus="leaderboard"] .st-tc__panel--prizes {
    /* desktop: ignore focus */
}

/* ===== Results / history ===== */
.st-tc.st-tc--result {
    background: var(--gray, #f2f5f4);
    background-image: none;
    border: 1px solid var(--gray-border, #dde5ea);
    border-radius: var(--radius, 15px);
    box-shadow: none !important;
    color: var(--text-color, #525252);
    margin-bottom: 0;
    transition: border-color 0.2s ease;
}

.st-tc.st-tc--result .st-tc__summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    flex-wrap: nowrap;
    gap: 16px 24px;
    padding: 16px 18px;
    width: 100%;
}

.st-tc.st-tc--result .st-tc__title {
    color: var(--black, #000000) !important;
    font-size: 18px;
    line-height: 1.3;
    margin: 0;
}

.st-tc.st-tc--result .st-tc__badge--desktop {
    background: var(--white, #ffffff);
    border: 1px solid var(--gray-border, #dde5ea);
    color: var(--text-color, #525252);
    display: inline-flex;
    margin-bottom: 0;
}

.st-tc__status {
    border-radius: 999px;
    font-size: 11px;
    font-family: var(--font-semibold, inherit);
    letter-spacing: 0.02em;
    line-height: 1;
    padding: 6px 10px;
    text-transform: uppercase;
    white-space: nowrap;
}

.st-tc__status.running,
.st-tc__status.status-running {
    background: rgba(0, 155, 93, 0.12);
    color: var(--green, #009b5d);
}

.st-tc__status.upcoming,
.st-tc__status.status-upcoming {
    background: rgba(13, 119, 201, 0.12);
    color: #0d77c9;
}

.st-tc__status.ended,
.st-tc__status.status-ended {
    background: rgba(82, 82, 82, 0.1);
    color: var(--text-color, #525252);
}

.st-tc__result-meta {
    color: var(--text-color, #525252);
    display: flex;
    flex-direction: column;
    font-size: 13px;
    gap: 4px;
    text-align: right;
}

.st-tc__result-meta strong {
    color: var(--black, #000000);
    font-family: var(--font-semibold, inherit);
}

/* Profile history — independent list UI (not tied to dark .st-tc layout) */
.st-history-listing .results,
.st-history-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.st-history-item {
    align-items: center;
    background: var(--gray, #f2f5f4);
    border: 1px solid var(--gray-border, #dde5ea);
    border-radius: var(--radius, 15px);
    box-shadow: none !important;
    box-sizing: border-box;
    cursor: pointer;
    display: grid;
    gap: 0 12px;
    grid-template-columns: 60px minmax(0, 1fr) auto;
    padding: 10px 12px;
    touch-action: manipulation;
    transition: border-color 0.2s ease;
    width: 100%;
}

.st-history-item:hover {
    border-color: rgba(0, 155, 93, 0.35);
}

.st-history-item:focus-visible {
    outline: 2px solid var(--green, #009b5d);
    outline-offset: 2px;
}

.st-history-item__thumb {
    border-radius: 8px;
    display: block;
    height: 40px;
    object-fit: cover;
    width: 60px;
}

.st-history-item__thumb--empty {
    background: var(--white, #ffffff);
    border: 1px solid var(--gray-border, #dde5ea);
}

.st-history-item__content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.st-history-item__heading {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    min-width: 0;
}

.st-history-item__title {
    color: var(--black, #000000) !important;
    flex: 1 1 auto;
    font-family: var(--font-semibold, inherit);
    font-size: 15px;
    line-height: 1.2;
    margin: 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.st-history-item__heading .st-tc__status {
    flex-shrink: 0;
    font-size: 10px;
    padding: 2px 6px;
}

.st-history-item__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    min-width: 0;
}

.st-history-item__stat {
    align-items: baseline;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: 100%;
}

.st-history-item__label {
    color: var(--text-color, #525252);
    font-size: 11px;
    line-height: 1.3;
    white-space: nowrap;
}

.st-history-item__date,
.st-history-item__pos,
.st-history-item__score,
.st-history-item__prize {
    font-family: var(--font-semibold, inherit);
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
}

.st-history-item__date {
    color: var(--black, #000000);
}

.st-history-item__pos {
    color: var(--green, #009b5d);
}

.st-history-item__score {
    color: var(--black, #000000);
}

.st-history-item__prize {
    color: var(--orange, #f8683b);
}

.st-history-item__btn {
    align-self: center;
    background: var(--white, #ffffff);
    border: 1px solid var(--green, #009b5d);
    border-radius: 10px;
    color: var(--green, #009b5d);
    cursor: pointer;
    font-family: var(--font-semibold, inherit);
    font-size: 12px;
    line-height: 1.2;
    padding: 8px 12px;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.st-history-item__btn:hover {
    background: var(--green, #009b5d);
    color: var(--white, #ffffff);
}

.st-history-item__chevron {
    color: var(--text-color, #525252);
    display: none;
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
    opacity: 0.45;
}

.st-history-item__chevron::before {
    content: "›";
}

.st-history-sponsor {
    align-self: stretch;
    background: var(--white, #ffffff);
    border: 1px solid var(--gray-border, #dde5ea);
    border-left: 3px solid var(--green, #009b5d);
    border-radius: 12px;
    box-sizing: border-box;
    cursor: default;
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 10px;
    min-width: 0;
    padding: 12px 14px;
}

.st-history-sponsor__head {
    align-items: center;
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    min-width: 0;
}

.st-history-sponsor__logo {
    background: #000000;
    border-radius: 6px;
    box-sizing: content-box;
    display: block;
    flex-shrink: 0;
    height: 28px !important;
    max-width: 96px !important;
    object-fit: contain;
    padding: 4px 8px;
    width: auto;
}

.st-history-sponsor__id {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.st-history-sponsor__kicker {
    color: var(--text-color, #525252);
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

.st-history-sponsor__kicker strong {
    color: var(--black, #000000);
    font-family: var(--font-semibold, inherit);
}

.st-history-sponsor__name {
    color: var(--black, #000000);
    font-family: var(--font-semibold, inherit);
    font-size: 14px;
    line-height: 1.2;
}

.st-history-sponsor__text {
    color: var(--text-color, #525252);
    font-size: 13px;
    line-height: 1.45;
    margin: 0 0 10px;
}

.st-history-sponsor__text strong {
    color: var(--black, #000000);
    font-family: var(--font-semibold, inherit);
}

.st-history-sponsor__row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.st-history-sponsor__field {
    flex: 1 1 200px;
    margin: 0;
    min-width: 0;
}

.st-history-sponsor__sr {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.st-history-sponsor__input {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    box-sizing: border-box;
    color: #111111;
    cursor: text;
    font-size: 14px;
    line-height: 1.3;
    padding: 10px 12px;
    width: 100%;
}

.st-history-sponsor__input:focus {
    border-color: var(--green, #009b5d);
    outline: 2px solid rgba(0, 155, 93, 0.25);
    outline-offset: 1px;
}

.st-history-sponsor__actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 8px;
}

.st-history-sponsor__save,
.st-history-sponsor__aff {
    align-items: center;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    font-family: var(--font-semibold, inherit);
    font-size: 13px;
    justify-content: center;
    line-height: 1.2;
    min-height: 40px;
    padding: 8px 14px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.st-history-sponsor__save {
    background: var(--green, #009b5d);
    color: #ffffff;
}

.st-history-sponsor__save:hover {
    background: #007a49;
    color: #ffffff;
}

.st-history-sponsor__aff {
    background: var(--orange, #f8683b);
    color: #ffffff;
}

.st-history-sponsor__aff:hover {
    background: #e05528;
    color: #ffffff;
}

.st-history-sponsor__msg {
    color: var(--green, #009b5d);
    font-size: 13px;
    line-height: 1.4;
    margin: 8px 0 0;
}

.st-history-sponsor__msg.is-error {
    color: var(--orange, #f8683b);
}

.st-history-sponsor[data-st-email-saving="1"] .st-history-sponsor__save {
    opacity: 0.7;
    pointer-events: none;
}

/* ===== History skeleton ===== */
.st-history-item--skeleton {
    pointer-events: none;
    cursor: default;
}

.st-history-item--skeleton:hover {
    background: inherit;
}

.st-history-skel {
    display: block;
    border-radius: 6px;
    background: linear-gradient(90deg, #e8eef2 0%, #f5f8fa 50%, #e8eef2 100%);
    background-size: 200% 100%;
    animation: st-history-skel-shine 1.1s ease-in-out infinite;
}

.st-history-skel--title {
    width: min(220px, 55%);
    height: 16px;
}

.st-history-skel--badge {
    width: 72px;
    height: 22px;
    border-radius: 999px;
}

.st-history-skel--line {
    width: 120px;
    height: 12px;
}

.st-history-skel--btn {
    width: 96px;
    height: 34px;
    border-radius: 8px;
    flex: 0 0 auto;
}

@keyframes st-history-skel-shine {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* ===== History pagination (light profile surface) ===== */
.st-history-listing .pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.st-history-listing .pagination-page,
.st-history-listing .pagination-prev,
.st-history-listing .pagination-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #dde5ea !important;
    background: #ffffff !important;
    color: #1c242b !important;
    cursor: pointer;
    box-sizing: border-box;
}

.st-history-listing .pagination-page.active {
    background: #009b5d !important;
    border-color: #009b5d !important;
    color: #ffffff !important;
}

.st-history-listing .pagination-page:hover:not(.active),
.st-history-listing .pagination-prev:hover:not(.disabled),
.st-history-listing .pagination-next:hover:not(.disabled) {
    border-color: #009b5d !important;
    color: #009b5d !important;
}

.st-history-listing .pagination-prev.disabled,
.st-history-listing .pagination-next.disabled {
    opacity: 0.4;
    cursor: default;
}

.st-history-listing .pagination-prev svg,
.st-history-listing .pagination-next svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.st-history-listing .stp-titlebar,
.profile-section--tournaments .stp-titlebar {
    display: none;
}

.schedule-card-container {
    margin-bottom: 16px;
}

.schedule-card-trigger {
    background: var(--st-tc-bg-soft);
    border-radius: var(--st-tc-radius-sm);
    color: var(--st-tc-text);
    margin-bottom: 10px;
}

.schedule-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ===== Ended tournaments (no timer) ===== */
@media (min-width: 769px) {
    .st-tc--ended .st-tc__summary {
        gap: 18px 20px;
        padding: 14px 18px;
    }

    .st-tc--ended .st-tc__title {
        font-size: 20px;
        margin-bottom: 0;
    }

    .st-tc--ended .st-tc__meta > .st-tc__prize-pool,
    .st-tc--ended .st-tc__meta > .st-tc__stats {
        display: none;
    }

    .st-tc--ended .st-tc__aside-meta {
        display: flex;
        flex: 1 1 0;
        flex-direction: column;
        gap: 8px;
        justify-content: center;
        max-width: 440px;
        min-width: 200px;
    }

    .st-tc--ended .st-tc__aside-meta .st-tc__prize-pool {
        margin-bottom: 0;
    }
}

/* ===== Skeleton preloaders ===== */
.st-tc-skeleton-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-top: 24px;
}

.st-tc--skeleton {
    pointer-events: none;
    user-select: none;
}

.st-tc--skeleton .st-tc__summary {
    align-items: center;
}

.st-tc__skel {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.14) 45%,
        rgba(255, 255, 255, 0.06) 100%
    );
    background-size: 200% 100%;
    border-radius: 8px;
    display: block;
    animation: st-tc-skel-shimmer 1.4s ease-in-out infinite;
}

@keyframes st-tc-skel-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.st-tc__skel--logo {
    border-radius: 50%;
    height: 140px;
    width: 140px;
}

.st-tc__skel--hero {
    display: none;
    height: 200px;
    width: 100%;
    border-radius: 0;
}

.st-tc__skel--badge {
    height: 24px;
    width: 88px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.st-tc__skel--badge-mobile {
    display: none;
}

.st-tc__skel--title {
    height: 22px;
    margin-bottom: 8px;
    max-width: 280px;
    width: 70%;
}

.st-tc__skel--title-sm {
    height: 16px;
    margin-bottom: 14px;
    max-width: 180px;
    width: 45%;
}

.st-tc__skel--chip {
    height: 36px;
    width: 72px;
    border-radius: 10px;
}

.st-tc--skeleton .st-tc__prizes {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.st-tc__skel--stats {
    height: 14px;
    margin-bottom: 4px;
    max-width: 220px;
    width: 55%;
}

.st-tc__skel--label {
    height: 12px;
    margin-bottom: 8px;
    width: 72px;
}

.st-tc__timer--skel {
    display: flex;
    gap: 8px;
}

.st-tc__skel--timer-unit {
    background-color: var(--st-tc-bg-timer);
    border-radius: var(--st-tc-radius-sm);
    flex: 1;
    height: 56px;
    min-width: 48px;
}

.st-tc__skel--btn {
    border-radius: var(--st-tc-radius);
    height: 44px;
    width: 100%;
}

.st-tc__skel--link {
    height: 14px;
    margin: 10px auto 0;
    width: 90px;
}

.st-tc--skeleton .st-tc__footer {
    display: none;
}

.st-tc__skel--footer {
    height: 16px;
    width: 120px;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
    .st-tc__summary {
        display: block;
        padding: 0;
    }

    .st-tc__logo,
    .st-tc__actions,
    .st-tc__badge--desktop {
        display: none;
    }

    .st-tc--skeleton .st-tc__skel--badge-desktop {
        display: none;
    }

    .st-tc--skeleton .st-tc__skel--hero {
        display: block;
    }

    .st-tc--skeleton .st-tc__skel--badge-mobile {
        display: block;
        left: auto;
        position: absolute;
        right: 12px;
        top: 12px;
        z-index: 2;
    }

    .st-tc--skeleton .st-tc__title,
    .st-tc--skeleton .st-tc__skel--title,
    .st-tc--skeleton .st-tc__skel--title-sm,
    .st-tc--skeleton .st-tc__skel--stats {
        margin-left: auto;
        margin-right: auto;
    }

    .st-tc--skeleton .st-tc__prizes {
        justify-content: center;
    }

    .st-tc--skeleton .st-tc__footer {
        border-top: 1px solid var(--st-tc-border);
        display: flex;
        justify-content: space-between;
        padding: 14px 16px 16px;
    }

    .st-tc__hero {
        display: block;
        max-height: 200px;
        overflow: hidden;
    }

    .st-tc__hero-img {
        height: 200px;
        max-height: 200px;
        width: 100%;
    }

    .st-tc__hero-logo {
        border-radius: 50%;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
        display: block;
        height: 100px;
        left: 50%;
        object-fit: cover;
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 100px;
        z-index: 1;
    }

    .st-tc__badge--mobile {
        display: inline-flex;
        z-index: 2;
    }

    .st-tc__body-mobile:has(*) {
        display: block;
        padding: 16px 0;
        text-align: center;
    }

    .st-tc__sponsor--mobile {
        background: rgb(14 39 26);
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 999px;
        display: inline-flex;
        left: 12px;
        max-width: calc(100% - 140px);
        padding: 6px 10px;
        position: absolute;
        top: 12px;
        z-index: 2;
    }

    .st-tc__sponsor--mobile .st-tc__sponsor-logo {
        height: 20px;
        max-width: 72px;
        margin-top: -4px;
    }

    .st-tc__title {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .st-tc__prize-pool {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 12px;
    }

    .st-tc__prize-pool-title {
        text-align: center;
        margin-bottom: 14px;
    }

    /* Featured + upcoming: slightly tighter prize chips on mobile */
    .stp-tournament-slides[data-feature-tournaments] .st-tc__prize,
    [data-upcoming-tournaments] .st-tc__prize {
        gap: 4px;
        padding: 5px;
    }

    .st-tc__prize-amount,
    [data-upcoming-tournaments] .st-tc__prize-amount {
        font-size: 14px!important;
    }

    .st-tc__prize-amount,
    [data-upcoming-tournaments] .st-tc__prize--1 .st-tc__prize-amount {
        font-size: 16px!important;
    }

    .stp-tournament-slides[data-feature-tournaments] .st-tc__prize-medal,
    [data-upcoming-tournaments] .st-tc__prize-medal {
        height: 18px!important;
        width: 18px!important;
    }

    .st-tc__stats {
        margin-bottom: 14px;
    }

    .st-tc__play--mobile {
        display: flex !important;
        margin-bottom: 16px;
    }

    .st-tc__aside {
        display: block;
        margin-left: 0;
        padding: 0 16px 8px;
        width: 100%;
    }

    .st-tc__meta {
        flex: none;
        max-width: none;
        min-width: 0;
        padding: 16px 16px 0;
        text-align: center;
    }

    .st-tc__timer-wrap {
        flex: none;
        max-width: none;
        min-width: 0;
        width: 100%;
    }

    .st-tc__actions {
        margin-left: 0;
    }

    .st-tc__timer-label {
        text-align: left;
        margin-bottom: 6px;
        font-size: 11px;
    }

    .st-tc__timer {
        justify-content: space-between;
        gap: 4px;
    }

    .st-tc__timer-unit {
        flex: 1;
        padding: 6px 4px;
        border-radius: 8px;
    }

    .st-tc__timer-unit strong {
        font-size: 15px;
    }

    .st-tc__timer-unit span {
        font-size: 9px;
        margin-top: 3px;
    }

    .st-tc__timer-sep {
        font-size: 14px;
    }

    .st-tc__footer {
        border-top: 1px solid var(--st-tc-border);
        display: flex;
        justify-content: space-between;
        padding: 14px 16px 16px;
    }

    .st-tc__footer-btn {
        align-items: center;
        background: none;
        border: 0;
        color: var(--st-tc-text);
        cursor: pointer;
        display: inline-flex;
        font-size: 13px;
        gap: 8px;
        padding: 0;
    }

    .st-tc__footer-btn svg {
        fill: currentColor;
        height: 16px;
        width: 16px;
    }

    .st-tc__details-grid {
        grid-template-columns: 1fr;
    }

    .st-tc__details[data-st-tc-focus="info"] .st-tc__panel--leaderboard {
        display: none;
    }

    .st-tc__details[data-st-tc-focus="leaderboard"] .st-tc__panel--info,
    .st-tc__details[data-st-tc-focus="leaderboard"] .st-tc__panel--prizes,
    .st-tc__details[data-st-tc-focus="leaderboard"] .st-tc__terms {
        display: none;
    }

    .st-tc.st-tc--result .st-tc__summary {
        align-items: stretch;
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 14px;
    }

    /* History list — mobile: card rows with side padding (not edge-to-edge) */
    .st-history-listing .wl-container,
    .st-history-listing .wl-row {
        padding-left: 0;
        padding-right: 0;
    }

    .st-history-listing .results,
    .st-history-list {
        gap: 10px;
        padding: 4px 12px 16px;
        box-sizing: border-box;
    }

    .st-history-item {
        border: 1px solid var(--gray-border, #dde5ea);
        border-radius: 12px;
        gap: 0 10px;
        grid-template-columns: 40px minmax(0, 1fr);
        grid-template-areas:
            "thumb content"
            "btn btn";
        min-height: 0;
        padding: 12px;
    }

    .st-history-item + .st-history-item {
        border-top: 1px solid var(--gray-border, #dde5ea);
    }

    .st-history-item__thumb {
        border-radius: 8px;
        grid-area: thumb;
        height: 40px;
        width: 40px;
    }

    .st-history-item__content {
        gap: 8px;
        grid-area: content;
    }

    .st-history-item__title {
        font-size: 14px;
        line-height: 1.25;
        white-space: normal;
    }

    .st-history-item__heading .st-tc__status {
        font-size: 10px;
        padding: 2px 7px;
    }

    .st-history-item__stats {
        gap: 6px 12px;
    }

    .st-history-item__label {
        font-size: 11px;
    }

    .st-history-item__date,
    .st-history-item__pos,
    .st-history-item__score,
    .st-history-item__prize {
        font-size: 12px;
    }

    .st-history-item__btn {
        grid-area: btn;
        justify-self: stretch;
        margin-top: 2px;
        padding: 10px 12px;
        text-align: center;
        width: 100%;
        font-size: 12px;
    }

    .st-history-item__chevron {
        display: none;
    }

    .st-history-sponsor {
        grid-row: 3;
        margin-top: 10px;
        padding: 12px;
    }

    .st-history-sponsor__row {
        align-items: stretch;
        flex-direction: column;
    }

    .st-history-sponsor__field,
    .st-history-sponsor__actions {
        flex: 1 1 auto;
        width: 100%;
    }

    .st-history-sponsor__save,
    .st-history-sponsor__aff {
        flex: 1 1 0;
    }

    .st-history-listing .pagination {
        padding: 4px 12px 8px;
    }

    .st-history-item--skeleton {
        grid-template-areas:
            "thumb content"
            "btn btn";
    }

    .st-history-item--skeleton .st-history-skel--btn {
        grid-area: btn;
        width: 100%;
        height: 38px;
    }

    .st-tc.st-tc--result .st-tc__meta {
        grid-column: 1 / -1;
    }
}

.st-tc.st-tc--result {
    margin-bottom: 0;
}

.result-card-container .wl-result-collapsed {
    margin-top: 8px;
}

.st-game-wrapper.st-tournament-listing .results,
main#wl-game-integration-plugin .results {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.st-game-wrapper.st-tournament-listing .leaderboard-row,
main#wl-game-integration-plugin .leaderboard-row {
    border-bottom: 1px solid var(--st-tc-border);
    color: var(--st-tc-text);
    padding: 10px 0;
}

.st-game-wrapper.st-tournament-listing .pagination-page,
.st-game-wrapper.st-tournament-listing .pagination-prev,
.st-game-wrapper.st-tournament-listing .pagination-next,
main#wl-game-integration-plugin .pagination-page,
main#wl-game-integration-plugin .pagination-prev,
main#wl-game-integration-plugin .pagination-next {
    color: var(--st-tc-text);
}

.st-history-listing.st-game-wrapper.st-tournament-listing .pagination-page,
.st-history-listing.st-game-wrapper.st-tournament-listing .pagination-prev,
.st-history-listing.st-game-wrapper.st-tournament-listing .pagination-next {
    color: #1c242b !important;
}

.st-history-listing.st-game-wrapper.st-tournament-listing .pagination-page.active {
    color: #ffffff !important;
}

@media (min-width: 769px) and (max-width: 1100px) {
    .st-tc__summary {
        flex-wrap: wrap;
    }

    .st-tc__logo img {
        height: 110px;
        width: 110px;
    }

    .st-tc__meta {
        flex: 1 1 calc(100% - 160px);
        min-width: 200px;
    }

    .st-tc__aside {
        display: flex;
        flex: 1 1 100%;
        flex-direction: row;
        gap: 16px;
        width: 100%;
    }

    .st-tc__timer-wrap {
        flex: 1 1 auto;
        max-width: none;
    }

    .st-tc__actions {
        flex: 0 0 180px;
    }

    .st-tc__timer-unit strong {
        font-size: 22px;
    }

    .st-tc__details-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Ended tournaments public listing ===== */
.st-ended-listing .wl-container {
    width: 100%;
}

.st-ended-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.st-ended-head {
    align-items: center;
    color: var(--text-color, #8a9399);
    display: none;
    font-size: 13px;
    gap: 16px;
    padding: 0 20px 4px;
}

.st-ended-col--name { flex: 1 1 auto; min-width: 0; }
.st-ended-col--prize { flex: 0 0 140px; }
.st-ended-col--time { flex: 0 0 140px; }
.st-ended-col--action { flex: 0 0 360px; }

.st-ended-block {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.st-ended-item {
    background: var(--gray, #f2f5f4);
    border: 1px solid var(--gray-border, #e3e8eb);
    border-radius: var(--radius, 15px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px 16px;
    transition: background .15s, border-color .15s;
}

.st-ended-block.is-expanded .st-ended-item {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
}

.st-ended-item:hover {
    background: #e8eeec;
    border-color: #cfd8d4;
}

.st-ended-item__identity {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 0;
}

.st-ended-item__thumb {
    border-radius: 10px;
    display: block;
    flex: 0 0 48px;
    height: 48px;
    object-fit: cover;
    width: 48px;
}

.st-ended-item__thumb--empty {
    background: var(--gray-border, #e3e8eb);
}

.st-ended-item__title {
    color: var(--be-black, #1a1a1a);
    font-family: var(--font-semibold, inherit);
    font-size: 16px;
    line-height: 1.3;
    margin: 0;
}

.st-ended-item__meta {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
}

.st-ended-item__prize,
.st-ended-item__time {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.st-ended-item__label {
    color: var(--text-color, #8a9399);
    font-size: 12px;
    line-height: 1.2;
}

.st-ended-item__prize strong,
.st-ended-item__time strong {
    color: var(--be-black, #1a1a1a);
    font-family: var(--font-semibold, inherit);
    font-size: 15px;
    line-height: 1.25;
}

.st-ended-item__actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
}

.st-ended-item__btn {
    align-items: center;
    appearance: none;
    border-radius: 10px;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-flex;
    flex: 1 1 0;
    font-family: var(--font-semibold, inherit);
    font-size: 14px;
    gap: 8px;
    justify-content: center;
    min-width: 0;
    padding: 8px 10px;
    text-align: center;
    white-space: nowrap;
}

.st-ended-item__btn > span {
    display: inline-block;
    line-height: 1.2;
}

.st-ended-item__btn--primary {
    background: var(--green, #009b5d);
    border: 1px solid var(--green, #009b5d);
    color: #fff;
}

.st-ended-item__btn--primary:hover {
    background: var(--green-dark, #007a49);
    border-color: var(--green-dark, #007a49);
}

.st-ended-item__btn--ghost {
    background: #fff;
    border: 1px solid var(--green, #009b5d);
    color: var(--green, #009b5d);
}

.st-ended-item__btn--ghost:hover {
    background: rgba(0, 155, 93, 0.08);
    color: var(--green-dark, #007a49);
}

.st-ended-item__chevron {
    display: block;
    flex: 0 0 12px;
    height: 8px;
    overflow: visible;
    transition: transform 0.2s ease;
    width: 12px;
}

.st-ended-item__chevron path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.st-ended-block.is-expanded .st-ended-item__chevron {
    transform: rotate(180deg);
}

.st-ended-details {
    background: #f7faf8;
    border: 1px solid var(--gray-border, #e3e8eb);
    border-radius: 0 0 var(--radius, 15px) var(--radius, 15px);
    border-top: 0;
    box-sizing: border-box;
    padding: 14px 16px 16px;
}

.st-ended-details[hidden] {
    display: none !important;
}

.st-ended-details__grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

.st-ended-details__panel,
.st-ended-details__terms {
    background: #fff;
    border: 1px solid var(--gray-border, #e3e8eb);
    border-radius: 12px;
    padding: 14px;
}

.st-ended-details__panel-title {
    align-items: baseline;
    color: var(--be-black, #1a1a1a);
    display: flex;
    font-family: var(--font-semibold, inherit);
    font-size: 14px;
    gap: 8px;
    justify-content: space-between;
    margin-bottom: 10px;
}

.st-ended-details__panel-meta {
    color: var(--green, #009b5d);
    font-size: 13px;
    white-space: nowrap;
}

.st-ended-details__row {
    border-top: 1px solid #eef2f0;
    color: var(--text-color, #6b7280);
    display: flex;
    font-size: 13px;
    gap: 12px;
    justify-content: space-between;
    padding: 8px 0;
}

.st-ended-details__row:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.st-ended-details__row strong {
    color: var(--be-black, #1a1a1a);
    font-family: var(--font-semibold, inherit);
    text-align: right;
}

/* "Награди": place · name · points · prize */
.st-ended-details__row.st-ended-winner {
    align-items: center;
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr) auto auto;
}

.st-ended-winner__pos {
    color: var(--be-black, #1a1a1a);
    font-family: var(--font-semibold, inherit);
}

.st-ended-winner__name {
    color: var(--be-black, #1a1a1a);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.st-ended-winner__score {
    white-space: nowrap;
}

.st-ended-winner__prize {
    white-space: nowrap;
}

.st-ended-details__terms {
    margin-top: 12px;
}

.st-ended-details__terms-body {
    color: var(--text-color, #4b5563);
    font-size: 13px;
    line-height: 1.55;
    max-height: 300px;
    overflow: auto;
}

.st-ended-details__terms-body p:first-child {
    margin-top: 0;
}

.st-ended-details__terms-body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.st-ended-empty {
    color: var(--text-color, #6b7280);
    margin: 0;
    padding: 20px 4px;
    text-align: center;
}

.st-ended-item--skeleton {
    cursor: default;
    pointer-events: none;
}

.st-ended-skel {
    background: linear-gradient(90deg, #e8eeec 25%, #f4f7f6 50%, #e8eeec 75%);
    background-size: 200% 100%;
    border-radius: 6px;
    display: block;
    height: 14px;
    width: 100%;
}

.st-ended-skel--title { height: 18px; width: 70%; }
.st-ended-skel--line { height: 14px; width: 50%; }
.st-ended-skel--btn { height: 44px; width: 100%; }

.st-ended-item--skeleton .st-ended-item__identity { width: 100%; }
.st-ended-item--skeleton .st-ended-item__meta .st-ended-skel { margin-top: 6px; }
.st-ended-item--skeleton .st-ended-item__actions { gap: 8px; }

@media (min-width: 900px) {
    .st-ended-head {
        display: flex;
    }

    .st-ended-item {
        align-items: center;
        flex-direction: row;
        gap: 16px;
        min-height: 72px;
        padding: 16px 20px;
    }

    .st-ended-item__identity {
        flex: 1 1 auto;
        min-width: 0;
    }

    .st-ended-item__meta {
        align-items: center;
        display: contents;
    }

    .st-ended-item__prize,
    .st-ended-item__time {
        flex: 0 0 auto;
    }

    .st-ended-item__prize { width: 140px; }
    .st-ended-item__time { width: 140px; }

    .st-ended-item__label {
        display: none;
    }

    .st-ended-item__prize strong,
    .st-ended-item__time strong {
        font-size: 15px;
    }

    .st-ended-item__actions {
        flex: 0 0 360px;
        justify-content: flex-end;
        width: auto;
    }

    .st-ended-item__btn {
        flex: 0 1 auto;
        min-width: 0;
        padding: 10px 14px;
        white-space: nowrap;
    }

    .st-ended-details__grid {
        grid-template-columns: 1fr 1fr;
    }

    .st-ended-item--skeleton .st-ended-skel--btn {
        width: 140px;
    }
}
