/* ==========================================================
   KOSMODRIFT CHAMPIONSHIP STANDINGS — HOME DESIGN V1
   ========================================================== */

body.kdb-standings-page-v1 {
    --kdb-st-bg: rgba(3, 25, 37, 0.96);
    --kdb-st-deep: rgba(2, 17, 27, 0.98);
    --kdb-st-panel: rgba(3, 30, 43, 0.94);
    --kdb-st-line: rgba(55, 190, 232, 0.42);
    --kdb-st-line-soft: rgba(70, 191, 225, 0.17);
    --kdb-st-cyan: #35c8f5;
    --kdb-st-cyan-soft: #75dfff;
    --kdb-st-white: #f4f7f9;
    --kdb-st-muted: #91a9b7;
    --kdb-st-red: #df2f5b;
    color: var(--kdb-st-white);
    background-color: #031622;
}

body.kdb-standings-page-v1 *,
body.kdb-standings-page-v1 *::before,
body.kdb-standings-page-v1 *::after {
    box-sizing: border-box;
}

.kdb-standings-page {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: clamp(28px, 4vw, 54px) 0 clamp(58px, 7vw, 96px);
    color: var(--kdb-st-white);
    background:
        linear-gradient(180deg, rgba(1, 20, 31, 0.24), rgba(1, 16, 25, 0.84)),
        radial-gradient(circle at 82% 4%, rgba(42, 177, 220, 0.13), transparent 34rem),
        radial-gradient(circle at 0% 44%, rgba(30, 123, 163, 0.11), transparent 30rem);
}

.kdb-standings-page::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.3;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
}

.kdb-standings-container {
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
}

.kdb-standings-hero,
.kdb-standings-summary,
.kdb-standings-board {
    border: 1px solid var(--kdb-st-line);
    background: linear-gradient(145deg, rgba(5, 42, 58, 0.94), rgba(2, 23, 35, 0.98));
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.24);
}

.kdb-standings-hero {
    position: relative;
    overflow: hidden;
}

.kdb-standings-hero::after {
    content: "POINTS";
    position: absolute;
    right: 3%;
    bottom: -0.12em;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.025);
    font-size: clamp(96px, 18vw, 240px);
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.08em;
    font-style: italic;
}

.kdb-standings-hero__head,
.kdb-standings-board__head {
    position: relative;
    z-index: 1;
    min-height: 78px;
    padding: 18px clamp(20px, 3vw, 36px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border-bottom: 1px solid var(--kdb-st-line);
    background: rgba(2, 23, 34, 0.78);
}

.kdb-standings-title-wrap,
.kdb-standings-board__head > div:first-child {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.kdb-standings-live-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: var(--kdb-st-red);
    box-shadow: 0 0 0 8px rgba(223, 47, 91, 0.1);
}

.kdb-standings-kicker {
    display: block;
    margin-bottom: 3px;
    color: #8099a8;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.kdb-standings-hero h1,
.kdb-standings-board__head h2 {
    margin: 0;
    color: var(--kdb-st-cyan);
    font-style: italic;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.kdb-standings-hero h1 {
    font-size: clamp(25px, 4vw, 46px);
    letter-spacing: -0.035em;
}

.kdb-standings-hero h1 em,
.kdb-standings-board__head h2 em {
    color: var(--kdb-st-white);
    font-style: inherit;
}

.kdb-standings-head-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.kdb-standings-head-actions a,
.kdb-standings-board__footer a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--kdb-st-cyan-soft);
    text-decoration: none;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.06em;
    white-space: nowrap;
    transition: color 160ms ease, transform 160ms ease;
}

.kdb-standings-head-actions a span,
.kdb-standings-board__footer a span {
    font-size: 22px;
    line-height: 0;
}

.kdb-standings-head-actions a:hover,
.kdb-standings-board__footer a:hover {
    color: #fff;
    transform: translateX(3px);
}

.kdb-standings-hero__body {
    position: relative;
    z-index: 1;
    padding: clamp(24px, 4vw, 42px);
}

.kdb-standings-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.kdb-standings-intro > p {
    max-width: 820px;
    margin: 0;
    color: var(--kdb-st-muted);
    font-family: Arial, sans-serif;
    font-size: clamp(15px, 1.7vw, 19px);
    line-height: 1.65;
}

.kdb-standings-live-state {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    color: #9fb5c1;
    font-family: Arial, sans-serif;
    font-size: 12px;
}

.kdb-standings-live-state__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28bd77;
    box-shadow: 0 0 12px rgba(40, 189, 119, 0.65);
}

.kdb-standings-series-tabs {
    max-width: 920px;
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.kdb-standings-series-tabs a {
    min-height: 82px;
    padding: 16px 20px;
    display: grid;
    grid-template-columns: 34px auto minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    color: var(--kdb-st-white);
    text-decoration: none;
    border: 1px solid var(--kdb-st-line-soft);
    background: rgba(2, 23, 34, 0.78);
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.kdb-standings-series-tabs a:hover,
.kdb-standings-series-tabs a.is-active {
    transform: translateY(-2px);
    border-color: var(--kdb-st-cyan);
    background: rgba(4, 42, 57, 0.97);
}

.kdb-standings-series-tabs a > span {
    color: var(--kdb-st-cyan);
    font-size: 12px;
    font-weight: 900;
}

.kdb-standings-series-tabs strong {
    color: var(--kdb-st-cyan);
    font-size: 27px;
    font-style: italic;
}

.kdb-standings-series-tabs small {
    min-width: 0;
    color: var(--kdb-st-muted);
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.kdb-standings-summary {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
}

.kdb-standings-summary article {
    min-width: 0;
    min-height: 128px;
    padding: 22px;
    border-right: 1px solid var(--kdb-st-line-soft);
    background: rgba(2, 20, 31, 0.58);
}

.kdb-standings-summary article:last-child {
    border-right: 0;
}

.kdb-standings-summary article > span {
    display: block;
    margin-bottom: 10px;
    color: #6f8b9b;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.kdb-standings-summary strong {
    display: block;
    overflow: hidden;
    color: var(--kdb-st-cyan);
    font-size: clamp(23px, 3vw, 34px);
    font-style: italic;
    line-height: 1.05;
    text-overflow: ellipsis;
}

.kdb-standings-summary__leader {
    color: var(--kdb-st-white) !important;
    font-size: clamp(17px, 2vw, 25px) !important;
    white-space: nowrap;
}

.kdb-standings-summary small {
    display: block;
    margin-top: 8px;
    color: var(--kdb-st-muted);
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1.4;
}

.kdb-standings-board {
    margin-top: 20px;
    overflow: hidden;
}

.kdb-standings-board__head h2 {
    font-size: clamp(22px, 3vw, 34px);
    letter-spacing: -0.025em;
}

.kdb-standings-board__tools {
    display: flex;
    align-items: center;
    gap: 16px;
}

.kdb-standings-updated {
    color: #7893a2;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.kdb-standings-board__tools button,
.kdb-standings-change-notice button {
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid rgba(53, 200, 245, 0.48);
    color: var(--kdb-st-cyan);
    background: rgba(3, 34, 48, 0.88);
    font: inherit;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.kdb-standings-board__tools button:hover,
.kdb-standings-change-notice button:hover {
    color: #02131d;
    border-color: var(--kdb-st-cyan);
    background: var(--kdb-st-cyan);
}

.kdb-standings-change-notice {
    padding: 13px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #d7f4fd;
    border-bottom: 1px solid rgba(53, 200, 245, 0.32);
    background: rgba(7, 65, 82, 0.78);
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.kdb-standings-change-notice[hidden] {
    display: none !important;
}

.kdb-standings-table-head,
.kdb-standing-row__summary {
    display: grid;
    grid-template-columns: 58px minmax(230px, 1.3fr) minmax(330px, 1fr) 78px 78px 88px 28px;
    align-items: center;
    gap: 8px;
}

.kdb-standings-table-head {
    min-width: 1050px;
    min-height: 46px;
    padding: 0 20px;
    color: #718d9b;
    border-bottom: 1px solid var(--kdb-st-line-soft);
    background: rgba(1, 18, 28, 0.82);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.kdb-standings-table-head__stages,
.kdb-standing-stage-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    gap: 5px;
}

.kdb-standings-table-head__stages i {
    font-style: normal;
    text-align: center;
}

.kdb-standings-rows {
    min-width: 1050px;
}

.kdb-standing-row {
    border-bottom: 1px solid var(--kdb-st-line-soft);
    background: rgba(2, 21, 32, 0.72);
}

.kdb-standing-row:last-child {
    border-bottom: 0;
}

.kdb-standing-row[open] {
    background: rgba(4, 35, 49, 0.9);
}

.kdb-standing-row__summary {
    min-height: 76px;
    padding: 10px 20px;
    list-style: none;
    cursor: pointer;
    transition: background 150ms ease;
}

.kdb-standing-row__summary::-webkit-details-marker {
    display: none;
}

.kdb-standing-row__summary:hover {
    background: rgba(8, 50, 64, 0.45);
}

.kdb-standing-position {
    color: var(--kdb-st-cyan);
    font-size: 22px;
    font-style: italic;
    font-weight: 900;
    text-align: center;
}

.kdb-standing-row--podium .kdb-standing-position {
    color: #fff;
    text-shadow: 0 0 18px rgba(53, 200, 245, 0.55);
}

.kdb-standing-pilot {
    min-width: 0;
}

.kdb-standing-pilot strong {
    display: block;
    overflow: hidden;
    color: var(--kdb-st-white);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kdb-standing-pilot small {
    display: block;
    overflow: hidden;
    margin-top: 4px;
    color: #7893a1;
    font-family: Arial, sans-serif;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kdb-standing-stage-cell {
    min-width: 0;
    min-height: 42px;
    padding: 5px 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(74, 157, 184, 0.13);
    background: rgba(1, 16, 25, 0.54);
}

.kdb-standing-stage-cell.has-result {
    border-color: rgba(53, 200, 245, 0.26);
    background: rgba(5, 42, 56, 0.68);
}

.kdb-standing-stage-cell i,
.kdb-standing-number i {
    display: none;
    color: #668290;
    font-size: 8px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.kdb-standing-stage-cell b {
    color: #dcecf2;
    font-size: 13px;
}

.kdb-standing-number {
    min-width: 0;
    text-align: center;
}

.kdb-standing-number b {
    color: #d8e8ee;
    font-size: 14px;
}

.kdb-standing-number--worst b {
    color: #78909d;
}

.kdb-standing-number--total b {
    color: var(--kdb-st-cyan);
    font-size: 20px;
}

.kdb-standing-toggle {
    color: var(--kdb-st-cyan);
    font-size: 20px;
    text-align: center;
    transition: transform 160ms ease;
}

.kdb-standing-row[open] .kdb-standing-toggle {
    transform: rotate(180deg);
}

.kdb-standing-details {
    padding: 20px;
    border-top: 1px solid rgba(53, 200, 245, 0.2);
    background: rgba(1, 16, 25, 0.64);
}

.kdb-standing-details > header {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.kdb-standing-details > header span {
    display: block;
    margin-bottom: 5px;
    color: #6d8997;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.09em;
}

.kdb-standing-details > header strong {
    color: var(--kdb-st-white);
    font-size: 17px;
}

.kdb-standing-details > header p {
    max-width: 560px;
    margin: 0;
    color: #879fab;
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1.5;
    text-align: right;
}

.kdb-standing-details > header p b {
    color: var(--kdb-st-cyan);
}

.kdb-standing-stage-details {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.kdb-standing-stage-details article {
    min-width: 0;
    border: 1px solid var(--kdb-st-line-soft);
    background: rgba(2, 23, 34, 0.78);
}

.kdb-standing-stage-details article.has-adjustment {
    border-color: rgba(223, 144, 47, 0.55);
}

.kdb-standing-stage-details article > header {
    min-height: 48px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-bottom: 1px solid var(--kdb-st-line-soft);
}

.kdb-standing-stage-details article > header span {
    color: #7e99a7;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.07em;
}

.kdb-standing-stage-details article > header strong {
    color: var(--kdb-st-cyan);
    font-size: 22px;
    font-style: italic;
}

.kdb-standing-stage-details dl {
    margin: 0;
    padding: 10px 12px;
}

.kdb-standing-stage-details dl > div {
    padding: 8px 0;
    border-bottom: 1px solid rgba(72, 160, 188, 0.12);
}

.kdb-standing-stage-details dl > div:last-child {
    border-bottom: 0;
}

.kdb-standing-stage-details dt {
    margin-bottom: 5px;
    color: #708b98;
    font-family: Arial, sans-serif;
    font-size: 10px;
}

.kdb-standing-stage-details dd {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #dbe8ed;
    font-family: Arial, sans-serif;
    font-size: 11px;
}

.kdb-standing-stage-details dd b {
    color: var(--kdb-st-cyan);
    font-size: 13px;
}

.kdb-standing-stage-total dd b {
    font-size: 18px;
}

.kdb-standing-no-detail,
.kdb-standing-adjustment {
    margin: 0;
    padding: 13px;
    color: #758f9d;
    font-family: Arial, sans-serif;
    font-size: 11px;
    line-height: 1.45;
}

.kdb-standing-adjustment {
    color: #d7a664;
    border-top: 1px solid rgba(223, 144, 47, 0.24);
}

.kdb-standings-empty {
    min-height: 230px;
    padding: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    color: var(--kdb-st-muted);
}

.kdb-standings-empty > span {
    color: rgba(53, 200, 245, 0.24);
    font-size: 90px;
    font-style: italic;
    font-weight: 900;
    line-height: 1;
}

.kdb-standings-empty h3 {
    margin: 0;
    color: var(--kdb-st-cyan);
    font-size: 24px;
    font-style: italic;
}

.kdb-standings-empty p {
    max-width: 600px;
    margin: 8px 0 0;
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.55;
}

.kdb-standings-board__footer {
    min-height: 68px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--kdb-st-line);
    background: rgba(2, 23, 34, 0.78);
}

.kdb-standings-board__footer p {
    margin: 0;
    color: #7f98a5;
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1.5;
}

/* Ссылка на главной странице в той же стилистике, что карточка регламента. */
.kdb-home-standings-v1 {
    width: min(1320px, calc(100% - 40px));
    margin: 28px auto 0;
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 3vw, 38px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    color: #f4f7f9;
    text-decoration: none;
    border: 1px solid rgba(55, 190, 232, 0.42);
    background: linear-gradient(145deg, rgba(5, 42, 58, 0.95), rgba(2, 23, 35, 0.98));
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.22);
}

.kdb-home-standings-v1::before {
    content: "STANDINGS";
    position: absolute;
    right: 8%;
    top: 50%;
    z-index: 0;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.025);
    font-size: clamp(70px, 11vw, 160px);
    font-weight: 900;
    font-style: italic;
    white-space: nowrap;
}

.kdb-home-standings-v1 > * {
    position: relative;
    z-index: 1;
}

.kdb-home-standings-v1__eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #819aa8;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.kdb-home-standings-v1 h2 {
    margin: 0;
    color: #35c8f5;
    font-size: clamp(25px, 4vw, 46px);
    font-style: italic;
    line-height: 1;
}

.kdb-home-standings-v1 p {
    max-width: 760px;
    margin: 11px 0 0;
    color: #91a9b7;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

.kdb-home-standings-v1__series {
    display: flex;
    gap: 7px;
    margin-top: 14px;
}

.kdb-home-standings-v1__series span {
    min-width: 54px;
    padding: 6px 10px;
    color: #35c8f5;
    text-align: center;
    border: 1px solid rgba(55, 190, 232, 0.38);
    font-size: 11px;
    font-weight: 900;
}

.kdb-home-standings-v1__action {
    min-width: 176px;
    min-height: 52px;
    padding: 11px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #02131d;
    background: #35c8f5;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.045em;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.kdb-home-standings-v1:hover {
    border-color: rgba(53, 200, 245, 0.9);
}

.kdb-home-standings-v1:hover .kdb-home-standings-v1__action {
    transform: translateX(3px);
    box-shadow: 0 0 24px rgba(53, 200, 245, 0.22);
}

@media (max-width: 1100px) {
    .kdb-standings-board {
        overflow-x: auto;
    }

    .kdb-standing-stage-details {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .kdb-standings-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kdb-standings-summary article:nth-child(2) {
        border-right: 0;
    }

    .kdb-standings-summary article:nth-child(-n + 2) {
        border-bottom: 1px solid var(--kdb-st-line-soft);
    }

    .kdb-standings-intro {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 760px) {
    .kdb-standings-container {
        width: min(100% - 24px, 1320px);
    }

    .kdb-standings-page {
        padding-top: 18px;
    }

    .kdb-standings-hero__head,
    .kdb-standings-board__head {
        min-height: 70px;
        padding: 15px 17px;
        align-items: flex-start;
        flex-direction: column;
    }

    .kdb-standings-head-actions {
        width: 100%;
        justify-content: space-between;
    }

    .kdb-standings-hero h1 {
        font-size: clamp(24px, 8vw, 34px);
    }

    .kdb-standings-hero__body {
        padding: 20px 17px;
    }

    .kdb-standings-series-tabs {
        grid-template-columns: 1fr;
    }

    .kdb-standings-summary {
        grid-template-columns: 1fr 1fr;
    }

    .kdb-standings-summary article {
        min-height: 112px;
        padding: 17px;
    }

    .kdb-standings-summary article:nth-child(odd) {
        border-right: 1px solid var(--kdb-st-line-soft);
    }

    .kdb-standings-board {
        overflow: hidden;
    }

    .kdb-standings-board__head {
        align-items: stretch;
    }

    .kdb-standings-board__tools {
        width: 100%;
        justify-content: space-between;
    }

    .kdb-standings-table-head {
        display: none;
    }

    .kdb-standings-rows {
        min-width: 0;
    }

    .kdb-standing-row__summary {
        min-height: 0;
        padding: 15px 13px 12px;
        grid-template-columns: 42px minmax(0, 1fr) 70px 22px;
        grid-template-areas:
            "position pilot total toggle"
            "stages stages stages stages";
        gap: 11px 8px;
    }

    .kdb-standing-position {
        grid-area: position;
        font-size: 20px;
    }

    .kdb-standing-pilot {
        grid-area: pilot;
    }

    .kdb-standing-pilot strong {
        font-size: 14px;
    }

    .kdb-standing-stage-strip {
        grid-area: stages;
        gap: 5px;
    }

    .kdb-standing-stage-cell {
        min-height: 48px;
    }

    .kdb-standing-stage-cell i,
    .kdb-standing-number i {
        display: block;
    }

    .kdb-standing-number--sum,
    .kdb-standing-number--worst {
        display: none;
    }

    .kdb-standing-number--total {
        grid-area: total;
    }

    .kdb-standing-number--total b {
        font-size: 19px;
    }

    .kdb-standing-toggle {
        grid-area: toggle;
    }

    .kdb-standing-details {
        padding: 15px 13px;
    }

    .kdb-standing-details > header {
        align-items: flex-start;
        flex-direction: column;
    }

    .kdb-standing-details > header p {
        text-align: left;
    }

    .kdb-standing-stage-details {
        grid-template-columns: 1fr;
    }

    .kdb-standing-stage-details article {
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .kdb-standing-stage-details article > header {
        min-height: 100%;
        flex-direction: column;
        justify-content: center;
        border-right: 1px solid var(--kdb-st-line-soft);
        border-bottom: 0;
    }

    .kdb-standing-stage-details dl,
    .kdb-standing-no-detail {
        align-self: stretch;
    }

    .kdb-standing-adjustment {
        grid-column: 1 / -1;
    }

    .kdb-standings-board__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .kdb-home-standings-v1 {
        width: min(100% - 24px, 1320px);
        margin-top: 18px;
        padding: 22px 18px;
        grid-template-columns: 1fr;
    }

    .kdb-home-standings-v1__action {
        width: 100%;
    }
}

@media (max-width: 440px) {
    .kdb-standings-summary {
        grid-template-columns: 1fr;
    }

    .kdb-standings-summary article,
    .kdb-standings-summary article:nth-child(odd),
    .kdb-standings-summary article:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--kdb-st-line-soft);
    }

    .kdb-standings-summary article:last-child {
        border-bottom: 0;
    }

    .kdb-standings-updated {
        display: none;
    }

    .kdb-standing-row__summary {
        grid-template-columns: 36px minmax(0, 1fr) 62px 18px;
    }

    .kdb-standing-stage-cell b {
        font-size: 12px;
    }
}
