body.yutu-steamtools-template .site-header,
body.yutu-steamtools-template .header-gap,
body.yutu-steamtools-template .site-footer,
body.yutu-steamtools-template footer.footer {
    display: none !important;
}

body.yutu-steamtools-template {
    background: #07100c;
}

.yst-page {
    --yst-bg: #07100c;
    --yst-panel: rgba(10, 20, 18, 0.88);
    --yst-panel-solid: #0d1815;
    --yst-border: rgba(255, 255, 255, 0.12);
    --yst-text: #f4fff8;
    --yst-muted: rgba(244, 255, 248, 0.72);
    --yst-primary: #29c979;
    --yst-primary-strong: #16a05a;
    --yst-gold: #d99a24;
    --yst-danger: #f05d4f;
    --yst-cyan: #5fc8d7;
    min-height: 100vh;
    background: var(--yst-bg);
    color: var(--yst-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    overflow: hidden;
}

.yst-page *,
.yst-page *::before,
.yst-page *::after {
    box-sizing: border-box;
}

.yst-page a {
    color: inherit;
    text-decoration: none;
}

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

.yst-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px max(20px, calc((100vw - 1180px) / 2));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 12, 10, 0.84);
    backdrop-filter: blur(16px);
}

.yst-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.yst-brand__mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #07100c;
    background: linear-gradient(135deg, var(--yst-primary), #e6bc58);
    font-weight: 900;
}

.yst-brand__mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.yst-nav__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    color: var(--yst-muted);
    font-size: 14px;
}

.yst-nav__links a:hover {
    color: var(--yst-text);
}

.yst-nav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 8px;
    background: var(--yst-primary);
    color: #04110b;
    font-weight: 800;
}

.yst-hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    padding: 112px 0 64px;
    isolation: isolate;
}

.yst-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(90deg, rgba(5, 12, 10, 0.96) 0%, rgba(5, 12, 10, 0.88) 42%, rgba(5, 12, 10, 0.26) 100%),
        var(--yst-hero-image);
    background-size: cover;
    background-position: center right;
}

.yst-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(90deg, #000 0%, transparent 78%);
}

.yst-hero__inner {
    max-width: 760px;
    margin-left: max(20px, calc((100vw - 1180px) / 2));
}

.yst-kicker {
    margin: 0 0 14px;
    color: var(--yst-primary);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.yst-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: 64px;
    line-height: 1.05;
    letter-spacing: 0;
    font-weight: 900;
}

.yst-hero__lead {
    max-width: 620px;
    margin: 22px 0 0;
    color: rgba(244, 255, 248, 0.86);
    font-size: 19px;
    line-height: 1.75;
}

.yst-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.yst-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-weight: 850;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.yst-btn svg,
.yst-copy svg,
.yst-warning__icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.yst-btn:hover,
.yst-copy:hover {
    transform: translateY(-1px);
}

.yst-btn--primary {
    background: linear-gradient(135deg, var(--yst-primary), #dcb259);
    color: #03110a;
    border-color: transparent;
    box-shadow: 0 16px 42px rgba(41, 201, 121, 0.22);
}

.yst-btn--ghost {
    background: rgba(255, 255, 255, 0.07);
    color: var(--yst-text);
}

.yst-btn--client {
    background: rgba(95, 200, 215, 0.12);
    border-color: rgba(95, 200, 215, 0.34);
    color: #d7fbff;
}

.yst-hero__notice {
    margin-top: 24px;
    max-width: 720px;
    padding: 14px 16px;
    border-left: 4px solid var(--yst-gold);
    background: rgba(217, 154, 36, 0.12);
    color: rgba(255, 246, 220, 0.95);
    line-height: 1.8;
}

.yst-page code {
    padding: 2px 5px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.09);
    color: #d7ffe6;
    font-family: Consolas, "SFMono-Regular", monospace;
    font-size: 0.94em;
}

.yst-band {
    position: relative;
    padding: 84px 0;
    background: #07100c;
}

.yst-band:nth-of-type(odd) {
    background: #0a1411;
}

.yst-band--warning {
    border-top: 1px solid rgba(217, 154, 36, 0.22);
    background:
        linear-gradient(135deg, rgba(217, 154, 36, 0.12), transparent 42%),
        #10120c;
}

.yst-band--update {
    background:
        linear-gradient(135deg, rgba(41, 201, 121, 0.10), transparent 46%),
        #081411;
}

.yst-band--split {
    background:
        linear-gradient(180deg, rgba(95, 200, 215, 0.08), transparent 52%),
        #08110f;
}

.yst-band--usage {
    background:
        linear-gradient(135deg, rgba(95, 200, 215, 0.10), transparent 38%),
        linear-gradient(315deg, rgba(217, 154, 36, 0.10), transparent 34%),
        #07100c;
}

.yst-update-panel {
    border: 1px solid rgba(41, 201, 121, 0.22);
    border-radius: 8px;
    background:
        radial-gradient(620px 300px at 12% 0%, rgba(41, 201, 121, 0.14), transparent 62%),
        var(--yst-panel);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.30);
    padding: 22px;
}

.yst-update-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.yst-update-panel__head strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 18px;
}

.yst-update-panel__head p {
    margin: 6px 0 0;
    color: var(--yst-muted);
    word-break: break-all;
}

.yst-status-dot {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 999px;
    background: var(--yst-primary);
    box-shadow: 0 0 0 6px rgba(41, 201, 121, 0.12);
}

.yst-update-panel.is-error .yst-status-dot {
    background: var(--yst-danger);
    box-shadow: 0 0 0 6px rgba(240, 93, 79, 0.14);
}

.yst-update-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.yst-update-grid article {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
}

.yst-update-grid span,
.yst-update-digest span {
    display: block;
    color: var(--yst-muted);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
}

.yst-update-grid strong {
    display: block;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.25;
    word-break: break-word;
}

.yst-update-digest {
    margin-top: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
}

.yst-update-digest code {
    display: block;
    padding: 0;
    background: transparent;
    word-break: break-all;
}

.yst-update-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.yst-copy--refresh {
    border-color: rgba(41, 201, 121, 0.32);
    background: rgba(41, 201, 121, 0.12);
    color: #caffdc;
}

.yst-section-head {
    max-width: 760px;
    margin-bottom: 30px;
}

.yst-section-head h2 {
    margin: 0;
    color: #ffffff;
    font-size: 38px;
    line-height: 1.18;
    letter-spacing: 0;
    font-weight: 900;
}

.yst-section-head p:last-child {
    margin: 14px 0 0;
    color: var(--yst-muted);
    font-size: 16px;
    line-height: 1.8;
}

.yst-warning-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.yst-warning,
.yst-breakdown__list article {
    border: 1px solid var(--yst-border);
    border-radius: 8px;
    background: var(--yst-panel);
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.22);
}

.yst-warning {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 22px;
}

.yst-warning__icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #ffe4a6;
    background: rgba(217, 154, 36, 0.16);
    border: 1px solid rgba(217, 154, 36, 0.22);
}

.yst-warning h3,
.yst-breakdown__list h3 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
}

.yst-warning h3 {
    min-width: 0;
}

.yst-warning p {
    grid-column: 2;
    min-width: 0;
}

.yst-warning p,
.yst-breakdown__list p {
    margin: 10px 0 0;
    color: var(--yst-muted);
    line-height: 1.75;
}

.yst-command {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px;
    border: 1px solid rgba(217, 154, 36, 0.28);
    border-radius: 8px;
    background: rgba(3, 8, 7, 0.72);
}

.yst-command__label {
    display: block;
    margin-bottom: 8px;
    color: #ffe6b2;
    font-size: 13px;
    font-weight: 850;
}

.yst-command code {
    display: block;
    padding: 0;
    background: transparent;
    color: #e9fff0;
    word-break: break-word;
}

.yst-copy {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid rgba(217, 154, 36, 0.34);
    background: rgba(217, 154, 36, 0.16);
    color: #ffe3a4;
    font-weight: 850;
    cursor: pointer;
}

.yst-copy.is-copied {
    border-color: rgba(41, 201, 121, 0.5);
    background: rgba(41, 201, 121, 0.16);
    color: #bfffd6;
}

.yst-note {
    margin: 12px 0 0;
    color: rgba(244, 255, 248, 0.68);
    line-height: 1.7;
}

.yst-protocol-hint {
    margin: 10px 0 0;
    color: rgba(215, 251, 255, 0.74);
    line-height: 1.7;
}

.yst-protocol-hint.is-active {
    color: #d7fbff;
}

.yst-usage-map {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.yst-usage-map--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yst-usage-card {
    border: 1px solid var(--yst-border);
    border-radius: 8px;
    background: var(--yst-panel);
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.22);
}

.yst-usage-card {
    min-height: 172px;
    padding: 20px;
}

.yst-usage-card--critical {
    border-color: rgba(217, 154, 36, 0.38);
    background:
        linear-gradient(135deg, rgba(217, 154, 36, 0.16), transparent 58%),
        var(--yst-panel);
}

.yst-usage-card span {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--yst-primary);
    font-size: 13px;
    font-weight: 900;
}

.yst-usage-card--critical span {
    color: #ffd27b;
}

.yst-usage-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
}

.yst-usage-card p {
    margin: 10px 0 0;
    color: var(--yst-muted);
    line-height: 1.75;
}

.yst-breakdown__list span {
    display: inline-flex;
    margin-bottom: 20px;
    color: var(--yst-primary);
    font-weight: 900;
    font-size: 13px;
}

.yst-breakdown {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
}

.yst-ui-shot {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--yst-border);
    background: #030807;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.yst-ui-shot img {
    display: block;
    width: 100%;
    height: auto;
}

.yst-ui-shot--tall {
    align-self: stretch;
}

.yst-ui-shot--tall img {
    max-height: none;
    object-fit: contain;
    object-position: top center;
}

.yst-breakdown__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.yst-breakdown__list article {
    padding: 18px;
}

.yst-final-cta {
    margin-top: 30px;
    padding: 34px;
    border-radius: 8px;
    border: 1px solid rgba(41, 201, 121, 0.26);
    background:
        linear-gradient(135deg, rgba(41, 201, 121, 0.16), rgba(217, 154, 36, 0.12)),
        #0b1713;
}

.yst-final-cta h2 {
    margin: 0;
    color: #ffffff;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 900;
}

.yst-final-cta p {
    margin: 12px 0 0;
    color: var(--yst-muted);
    line-height: 1.8;
}

.yst-final-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

@media (prefers-reduced-motion: reduce) {
    .yst-btn,
    .yst-copy {
        transition: none;
    }
    .yst-btn:hover,
    .yst-copy:hover {
        transform: none;
    }
}

@media (max-width: 1080px) {
    .yst-update-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .yst-breakdown {
        grid-template-columns: 1fr;
    }
    .yst-usage-map--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .yst-breakdown__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .yst-nav__links {
        display: none;
    }
    .yst-hero h1 {
        font-size: 42px;
    }
    .yst-section-head h2 {
        font-size: 30px;
    }
    .yst-warning-grid,
    .yst-usage-map {
        grid-template-columns: 1fr;
    }
    .yst-update-panel__head {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .yst-container {
        width: min(100% - 28px, 1180px);
    }
    .yst-nav {
        padding: 10px 14px;
    }
    .yst-brand span:last-child {
        max-width: 128px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .yst-nav__cta {
        min-height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
    .yst-hero {
        min-height: 80vh;
        padding: 92px 0 46px;
    }
    .yst-hero__bg {
        background-position: center;
    }
    .yst-hero h1 {
        font-size: 34px;
        line-height: 1.12;
    }
    .yst-hero__lead {
        font-size: 16px;
        line-height: 1.7;
    }
    .yst-hero__actions,
    .yst-final-cta__actions {
        display: grid;
        grid-template-columns: 1fr;
    }
    .yst-btn {
        width: 100%;
    }
    .yst-band {
        padding: 58px 0;
    }
    .yst-warning {
        grid-template-columns: 1fr;
    }
    .yst-warning p {
        grid-column: auto;
    }
    .yst-command {
        align-items: stretch;
        flex-direction: column;
    }
    .yst-update-grid {
        grid-template-columns: 1fr;
    }
    .yst-update-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
    .yst-copy {
        width: 100%;
    }
    .yst-usage-card {
        min-height: auto;
    }
    .yst-breakdown__list {
        grid-template-columns: 1fr;
    }
    .yst-final-cta {
        padding: 22px;
    }
}
