/* V3 core layer: shared live primitives only. */

[hidden],
.hidden,
.u-hidden {
    display: none !important;
}

.is-invisible {
    opacity: 0 !important;
    pointer-events: none !important;
}

.content-container {
    max-width: var(--layout-max-width);
    width: var(--surface-content-width);
    margin: var(--section-gap) auto;
    padding: clamp(18px, 2vw, 24px);
    border-radius: var(--radius-none);
    background: transparent;
    border: 0;
    box-shadow: none;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: visible;
    gap: var(--body-gap);
}

.surface--quiet {
    border: 0;
    box-shadow: none;
    background: var(--container-surface-section, var(--theme-surface-subtle));
}

.content-container.surface--quiet {
    border-radius: var(--surface-quiet-radius, var(--surface-radius));
    border: var(--surface-quiet-border, var(--container-border-section, 1px solid var(--theme-border-normal)));
    background: var(--surface-quiet-bg, var(--container-surface-section, var(--theme-surface-subtle)));
    -webkit-backdrop-filter: var(--surface-quiet-backdrop, none);
    backdrop-filter: var(--surface-quiet-backdrop, none);
}

.content-container.surface--plain {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.content-container.surface--glass {
    background: color-mix(in srgb, var(--theme-surface-base) 82%, transparent);
    border-color: var(--theme-border-normal);
    -webkit-backdrop-filter: saturate(145%) blur(14px);
    backdrop-filter: saturate(145%) blur(14px);
}

.content-container > .content-body {
    gap: var(--inner-gap);
}

.surface-shell {
    display: flex;
    flex-direction: column;
    gap: var(--body-gap);
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: var(--section-padding);
    border-radius: var(--surface-radius);
    border: var(--container-border-shell, 1px solid var(--theme-border-normal));
    background: var(--container-surface-shell, var(--theme-surface-shell));
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-sizing: border-box;
}

.content-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.section-head {
    background: transparent;
    border: 0;
    border-radius: var(--surface-radius);
    width: 100%;
    max-width: 100%;
    margin: 0 0 var(--inner-gap);
    position: relative;
    overflow: visible;
    box-sizing: border-box;
}

.section-head__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: var(--section-head-gap);
    padding: var(--section-head-padding-y) var(--section-head-padding-x);
    min-width: 0;
    min-height: 56px;
    box-sizing: border-box;
    position: relative;
}

.section-head__right {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-end;
    gap: var(--section-head-actions-gap);
    min-width: 0;
    max-width: 100%;
    flex: 0 1 auto;
}

.section-head__text {
    min-width: 0;
    padding: var(--section-head-text-padding-y) 0;
    width: 100%;
    font-size: var(--section-head-title-size);
    color: var(--section-head-title-color, var(--hierarchy-title-color));
    white-space: normal;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: var(--section-head-text-gap-row);
    text-align: left;
}

.section-head__heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--section-head-title-row-gap);
    min-width: 0;
}

.section-head__heading--with-icon {
    align-items: center;
}

.section-head__text :is(h1, h2, h3) {
    margin: 0;
    font-size: inherit;
    font-weight: var(--section-head-title-weight, var(--hierarchy-title-weight));
    display: inline-block;
    min-width: 0;
    line-height: 1.24;
    white-space: normal;
    overflow-wrap: break-word;
}

.section-head__summary {
    width: 100%;
    margin: var(--section-head-summary-offset) 0 0;
    font-size: var(--section-head-summary-size, var(--type-caption-size));
    line-height: var(--section-head-summary-line-height, 1.5);
    color: var(--section-head-summary-color, var(--hierarchy-summary-color));
}

.section-head__summary .highlight,
.section-head__summary strong {
    color: var(--section-head-summary-strong-color, var(--hierarchy-emphasis-color));
}

.section-head__state-trigger {
    color: inherit;
}

.section-head__state-trigger .action-icon {
    color: currentColor;
    opacity: 1;
}

.section-head__state-trigger .action-icon__img {
    -webkit-filter: var(--icon-filter);
    filter: var(--icon-filter);
}

.section-head--page {
    margin-bottom: 0;
}

.section-head--page .section-head__inner {
    padding: 0;
    gap: var(--control-gap-wide);
    min-height: auto;
}

.section-head--page .section-head__text {
    padding: 0;
    gap: var(--space-3);
}

.section-head--page .section-head__icon {
    color: var(--theme-text-muted);
}

.section-head--page .section-head__text :is(h1, h2, h3) {
    min-height: auto;
    padding: 0;
    font-size: clamp(24px, 2.8vw, 34px);
    line-height: 1.08;
}

[data-section-head-context].badge {
    flex: 0 0 auto;
    margin: 0;
}

.section-head__icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    margin-top: 0;
    --icon-filter: none;
    color: var(--txt-color);
    opacity: 0.92;
}

.section-head__controls {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: var(--section-head-actions-gap);
    min-width: 0;
    max-width: 100%;
}

.section-head__controls [data-section-head-action-rail] {
    --button-panel-bg: var(--theme-surface-base);
    --button-panel-border: var(--theme-border-subtle);
    --button-panel-padding: 4px;
    --button-panel-gap: var(--control-gap-tight);
}

.section-head__controls [data-section-head-action-rail] :is(.icon-button, .info-trigger):not(.menu-button) {
    --button-chrome-bg: transparent;
    --button-chrome-border: transparent;
    --button-chrome-color: var(--theme-text-muted);
    --button-chrome-bg-hover: color-mix(in srgb, var(--theme-surface-subtle) 78%, transparent);
    --button-chrome-border-hover: transparent;
    --button-chrome-color-hover: var(--theme-text-strong);
    --button-chrome-bg-active: color-mix(in srgb, var(--theme-surface-subtle) 88%, transparent);
}

.section-head__status {
    display: inline-flex;
    align-items: center;
    gap: var(--control-gap-2xs);
    min-width: 0;
    max-width: 100%;
}

.info-trigger:not(.menu-button) {
    --button-icon-box-size: 28px;
    --button-icon-size: 12px;
    --button-chrome-border: transparent;
    --button-chrome-border-hover: transparent;
    --button-chrome-bg: transparent;
    --button-chrome-bg-hover: color-mix(in srgb, var(--theme-action-secondary-bg-hover) 72%, transparent);
    --button-chrome-bg-active: color-mix(in srgb, var(--theme-action-secondary-bg-active) 72%, transparent);
    --button-chrome-color: var(--theme-text-muted);
    --button-chrome-color-hover: var(--theme-text-strong);
}

.info-trigger-icon {
    font-size: 10px;
    font-weight: var(--section-head-info-weight, 400);
    line-height: 1;
}

.info-anchor-block {
    position: relative;
}

.info-anchor-block .info-trigger {
    position: absolute;
    top: 18px;
    right: 18px;
    margin-inline-start: 0;
    z-index: 1;
}

.section-head__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--section-head-actions-gap);
    justify-content: flex-end;
}

.content-body {
    width: 100%;
}

.content-body > p,
.content-body > .table-intro {
    max-inline-size: var(--content-readable-max-width);
}

.content-body > .article,
.content-body > .information-container {
    max-width: min(920px, 100%);
}

.content-body > .section-head {
    margin-top: var(--inner-gap);
}

.content-body > .section-head:first-child {
    margin-top: 0;
}

:where(.content-body, .item-card, .list-shell) img:not(.action-icon__img) {
    display: block;
    max-width: 100%;
    height: auto;
}

.text-title,
.audio-word-link,
.media-card-title,
.media-player-title,
.text-meta,
.media-card-author,
.media-player-author,
.audio-word-equivalents,
.text-summary,
.media-card-desc,
.media-player-description,
.text-hint {
    margin: 0;
    min-width: 0;
}

.segmented-control {
    --selection-control-transition-duration: 180ms;
    --selection-control-transition-ease: var(--motion-ease, ease);
    --segmented-count: 2;
    --segmented-active-index: 0;
    --segmented-indicator-width: calc((100% - (var(--segmented-control-padding) * 2) - (var(--segmented-control-gap) * (var(--segmented-count) - 1))) / var(--segmented-count));
    --segmented-indicator-offset: calc(var(--segmented-active-index) * (100% + var(--segmented-control-gap)));
    --segmented-control-width: auto;
    --segmented-control-min-width: 0;
    --segmented-control-height: 36px;
    --segmented-control-padding: 3px;
    --segmented-control-gap: 3px;
    --segmented-control-radius: var(--control-radius);
    --segmented-control-bg: color-mix(in srgb, var(--theme-surface-base) 94%, transparent);
    --segmented-control-border: 1px solid var(--theme-border-subtle);
    --segmented-control-shadow: inset 0 1px 0 color-mix(in srgb, var(--theme-text-strong) 6%, transparent);
    --segmented-control-option-padding: 0 12px;
    --segmented-control-option-size: var(--font-size-sm);
    --segmented-control-option-line: var(--type-control-line);
    --segmented-control-option-weight: var(--type-control-weight);
    --segmented-control-option-color: var(--theme-text-muted);
    --segmented-control-option-color-hover: var(--theme-text-strong);
    --segmented-control-option-color-active: var(--emphasis-action-nav-accent-color);
    --segmented-control-indicator-bg: var(--emphasis-action-nav-accent-bg);
    --segmented-control-indicator-border: 1px solid var(--emphasis-action-nav-accent-border);
    --segmented-control-indicator-shadow: inset 0 1px 0 color-mix(in srgb, var(--theme-surface-base) 72%, transparent);
    --segmented-control-transition-duration: var(--selection-control-transition-duration);
    --segmented-control-transition-ease: var(--selection-control-transition-ease);
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--segmented-count), minmax(0, 1fr));
    align-items: stretch;
    gap: var(--segmented-control-gap);
    width: var(--segmented-control-width);
    max-width: 100%;
    min-width: var(--segmented-control-min-width);
    height: var(--segmented-control-height);
    margin: 0;
    padding: var(--segmented-control-padding);
    box-sizing: border-box;
    border: var(--segmented-control-border);
    border-radius: var(--segmented-control-radius);
    background: var(--segmented-control-bg);
    box-shadow: var(--segmented-control-shadow);
    overflow: hidden;
    isolation: isolate;
}

.segmented-control__indicator {
    position: absolute;
    top: var(--segmented-control-padding);
    left: var(--segmented-control-padding);
    width: var(--segmented-indicator-width);
    height: calc(100% - (var(--segmented-control-padding) * 2));
    border-radius: calc(var(--segmented-control-radius) - var(--segmented-control-padding));
    border: var(--segmented-control-indicator-border);
    background: var(--segmented-control-indicator-bg);
    box-shadow: var(--segmented-control-indicator-shadow);
    pointer-events: none;
    z-index: 0;
    transform: translateX(var(--segmented-indicator-offset));
    transition:
        transform var(--segmented-control-transition-duration) var(--segmented-control-transition-ease),
        background-color var(--segmented-control-transition-duration) var(--segmented-control-transition-ease),
        border-color var(--segmented-control-transition-duration) var(--segmented-control-transition-ease),
        box-shadow var(--segmented-control-transition-duration) var(--segmented-control-transition-ease);
}

.segmented-control:has(> .segmented-control__option:nth-of-type(2)[aria-pressed="true"]) {
    --segmented-active-index: 1;
}

.segmented-control__option {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--control-gap-tight);
    min-width: 0;
    min-inline-size: 0;
    min-height: calc(var(--segmented-control-height) - (var(--segmented-control-padding) * 2));
    margin: 0;
    padding: var(--segmented-control-option-padding);
    border: 0;
    border-radius: calc(var(--segmented-control-radius) - var(--segmented-control-padding));
    background: transparent;
    color: var(--segmented-control-option-color);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    font-size: var(--segmented-control-option-size);
    font-weight: var(--segmented-control-option-weight);
    line-height: var(--segmented-control-option-line);
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition:
        color var(--segmented-control-transition-duration) var(--segmented-control-transition-ease),
        box-shadow var(--segmented-control-transition-duration) var(--segmented-control-transition-ease),
        opacity var(--segmented-control-transition-duration) var(--segmented-control-transition-ease);
}

.segmented-control__option:not(:disabled):not([aria-disabled="true"]):hover {
    color: var(--segmented-control-option-color-hover);
}

.segmented-control__option[aria-pressed="true"] {
    color: var(--segmented-control-option-color-active);
}

.segmented-control__option:focus-visible {
    box-shadow: var(--state-focus-ring-shadow);
    outline: none;
}

.segmented-control__option:disabled,
.segmented-control__option[aria-disabled="true"] {
    opacity: var(--state-opacity-disabled);
    pointer-events: none;
}

.text-title {
    color: var(--text-title-color, var(--hierarchy-title-color));
    font-size: var(--text-title-size, var(--type-body-xl-size));
    font-weight: var(--text-title-weight, var(--hierarchy-title-weight));
    line-height: var(--text-title-line, var(--text-title-line-height, var(--line-height-normal)));
    letter-spacing: var(--text-title-track, var(--text-title-letter-spacing, normal));
    text-transform: var(--text-title-text-transform, none);
}

.text-meta {
    color: var(--text-meta-color, var(--hierarchy-meta-color));
    font-size: var(--text-meta-size, var(--type-caption-size));
    font-weight: var(--text-meta-weight, var(--hierarchy-meta-weight));
    line-height: var(--text-meta-line, var(--text-meta-line-height, var(--type-body-sm-line-tight)));
    letter-spacing: var(--text-meta-track, var(--text-meta-letter-spacing, normal));
    text-transform: var(--text-meta-text-transform, none);
}

.text-summary {
    color: var(--text-summary-color, var(--hierarchy-summary-color));
    font-size: var(--text-summary-size, var(--type-body-lg-size));
    font-weight: var(--text-summary-weight, var(--hierarchy-summary-weight));
    line-height: var(--text-summary-line, var(--text-summary-line-height, var(--type-body-sm-line-tight)));
    letter-spacing: var(--text-summary-track, var(--text-summary-letter-spacing, normal));
    text-transform: var(--text-summary-text-transform, none);
}

.text-hint,
.table-intro {
    margin: var(--text-hint-margin, 0 0 16px 0);
    color: var(--text-hint-color, var(--hierarchy-hint-color));
    font-size: var(--text-hint-size, var(--type-muted-size));
    font-weight: var(--text-hint-weight, inherit);
    line-height: var(--text-hint-line, var(--text-hint-line-height, var(--type-body-line)));
    letter-spacing: var(--text-hint-track, var(--text-hint-letter-spacing, normal));
    text-transform: var(--text-hint-text-transform, none);
}

.text-truncate-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-clamp-1 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.text-clamp-2 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.layout-stack {
    display: grid;
    gap: var(--layout-stack-gap, 10px);
    min-width: 0;
}

.layout-cluster {
    display: flex;
    flex-wrap: wrap;
    align-items: var(--layout-cluster-align, center);
    gap: var(--layout-cluster-gap, 12px);
    min-width: 0;
}

.layout-cluster--end {
    --layout-cluster-align: flex-end;
}

.layout-grid-auto {
    display: grid;
    gap: var(--layout-grid-gap, 12px);
    grid-template-columns: repeat(auto-fit, minmax(var(--layout-grid-min, 180px), 1fr));
}

.layout-split {
    display: flex;
    align-items: var(--layout-split-align, flex-start);
    justify-content: space-between;
    gap: var(--layout-split-gap, 12px);
}

.description-container {
    max-width: var(--layout-max-width);
    margin: 0 auto;
    text-align: right;
    padding: 0;
}

.description {
    margin: 0 30px 0 auto;
    max-inline-size: var(--content-readable-max-width);
    padding: 0;
}

.description-container p {
    margin: 0;
    padding: 0;
    color: var(--hierarchy-meta-color);
    font-size: var(--type-body-xl-size);
}

.description-container a {
    color: var(--link-color);
    margin: 0;
    padding: 0;
}

.interactive-container {
    max-width: var(--layout-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: var(--space-7) var(--section-padding);
    gap: 20px;
}

.interactive-container ul {
    padding: 0;
    margin: 0;
    gap: 20px;
}

.interactive-container li {
    padding: 10px 0;
    margin: 0;
}

.copy-line {
    min-width: 0;
    display: block;
    color: inherit;
    font: inherit;
    line-height: inherit;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.copy-line--translation {
    margin-top: 2px;
    display: block;
    color: inherit;
}

.copy-line--translation::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    background: currentColor;
    -webkit-mask: url("/static/assets/icons/arrow-turn-down-right.svg") no-repeat center / contain;
    mask: url("/static/assets/icons/arrow-turn-down-right.svg") no-repeat center / contain;
    opacity: 1;
    transform: translateY(0.08em);
}

.copy-line a {
    font: inherit;
    line-height: inherit;
    color: inherit;
    text-decoration: none;
}

.copy-line a:visited {
    color: inherit;
}

.all-content {
    margin: 0;
    padding: 0;
}

.mini-container {
    display: flex;
    align-items: center;
    padding: 0;
    gap: 12px;
}

.mini-container img {
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    object-fit: contain;
}

.information-container {
    text-align: left;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--inner-gap);
    align-items: start;
}

.mini-container h2 {
    text-align: left;
    padding: 0;
    margin: 0;
    font-size: var(--heading-2-size);
    letter-spacing: var(--hierarchy-heading-track);
}

.highlight {
    color: var(--txt-green-highlight);
    font-weight: var(--hierarchy-strong-weight);
}

.content-container p {
    text-align: left;
    margin: var(--inner-gap) 0;
    padding: 0;
}

.article {
    display: grid;
    gap: var(--inner-gap);
    width: 100%;
}

.article p {
    text-align: left;
    margin: 0;
    padding: 0;
    font-size: var(--type-reading-size);
    line-height: var(--type-reading-line);
    color: var(--hierarchy-reading-color);
}

.article p:first-of-type {
    font-size: var(--type-reading-size);
    font-weight: var(--hierarchy-reading-weight);
    line-height: var(--type-reading-line);
    color: var(--hierarchy-reading-color);
}

.right-align {
    text-align: right;
}

.bold {
    font-weight: var(--hierarchy-strong-weight);
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--badge-gap, 4px);
    min-height: var(--badge-min-height, 22px);
    padding: var(--badge-padding, 2px 8px);
    border-radius: var(--badge-radius, var(--control-radius));
    border: var(--badge-border, 1px solid color-mix(in srgb, var(--theme-border-normal) 88%, transparent));
    background: var(--badge-bg, color-mix(in srgb, var(--container-surface-subsection, var(--theme-surface-subsection)) 74%, var(--container-surface-item, var(--theme-surface-base))));
    color: var(--badge-color, var(--hierarchy-status-color));
    font-size: var(--badge-size, var(--badge-font-size, 11px));
    font-weight: var(--badge-weight, var(--badge-font-weight, var(--hierarchy-status-weight)));
    line-height: var(--badge-line, var(--badge-line-height, 1.15));
    letter-spacing: var(--badge-track, var(--badge-letter-spacing, 0));
    text-transform: var(--badge-text-transform, var(--hierarchy-status-trigger-transform));
    white-space: nowrap;
    cursor: default;
}

.badge--beta {
    --badge-color: var(--theme-text-normal);
    --badge-border: 1px dashed color-mix(in srgb, var(--theme-border-normal) 92%, transparent);
    --badge-bg: color-mix(in srgb, var(--container-surface-section, var(--theme-surface-subtle)) 82%, var(--container-surface-item, var(--theme-surface-base)));
}

.badge--quiet {
    --badge-bg: color-mix(in srgb, var(--container-surface-subsection, var(--theme-surface-subsection)) 74%, var(--container-surface-item, var(--theme-surface-base)));
}

.badge--accent {
    --badge-color: var(--theme-text-strong);
    --badge-border: 1px solid color-mix(in srgb, var(--theme-border-normal) 96%, transparent);
    --badge-bg: color-mix(in srgb, var(--container-surface-section, var(--theme-surface-subtle)) 54%, var(--container-surface-item, var(--theme-surface-base)));
}

.status-trigger {
    --status-trigger-min-height: 28px;
    --status-trigger-min-width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--status-trigger-gap, 6px);
    min-height: var(--status-trigger-min-height);
    min-width: var(--status-trigger-min-width);
    padding: var(--status-trigger-padding, 0 10px);
    border-radius: var(--status-trigger-radius, var(--button-radius-unified));
    border: var(--status-trigger-border, 1px solid var(--theme-border-subtle));
    background: var(--status-trigger-bg, color-mix(in srgb, var(--container-surface-shell, var(--theme-surface-shell)) 90%, var(--container-surface-item, var(--theme-surface-base))));
    color: var(--status-trigger-color, var(--hierarchy-status-color));
    font-size: var(--status-trigger-font-size, 11px);
    font-weight: var(--status-trigger-font-weight, var(--hierarchy-status-trigger-weight));
    line-height: var(--status-trigger-line-height, 1);
    letter-spacing: var(--status-trigger-letter-spacing, var(--hierarchy-status-trigger-track));
    text-transform: var(--status-trigger-text-transform, var(--hierarchy-status-trigger-transform));
    white-space: nowrap;
    text-decoration: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.status-trigger:hover,
.status-trigger:focus-visible,
.status-trigger[aria-expanded="true"] {
    background: var(--status-trigger-bg-hover, color-mix(in srgb, var(--container-surface-section, var(--theme-surface-subtle)) 78%, var(--container-surface-item, var(--theme-surface-base))));
    border-color: var(--status-trigger-border-hover, var(--theme-border-control-hover));
    color: var(--status-trigger-color-hover, var(--theme-text-strong));
    outline: none;
}

.status-trigger:focus-visible {
    box-shadow: var(--state-focus-ring-shadow);
}

.status-trigger--icon {
    --status-trigger-min-height: 24px;
    --status-trigger-min-width: 28px;
    gap: 0;
    padding: 0 8px;
}

.status-trigger .action-icon {
    --action-icon-size: 12px;
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    opacity: var(--state-opacity-muted);
}

[data-section-head-state].status-trigger {
    --status-trigger-min-height: 22px;
    --status-trigger-min-width: 0;
    --status-trigger-gap: 5px;
    --status-trigger-padding: 0 8px;
    --status-trigger-border: 1px solid var(--theme-border-subtle);
    --status-trigger-border-hover: var(--theme-border-control);
    --status-trigger-bg: color-mix(in srgb, var(--container-surface-section, var(--theme-surface-subtle)) 64%, var(--container-surface-item, var(--theme-surface-base)));
    --status-trigger-bg-hover: color-mix(in srgb, var(--container-surface-section, var(--theme-surface-subtle)) 76%, var(--container-surface-item, var(--theme-surface-base)));
    --status-trigger-color: var(--theme-text-muted);
    --status-trigger-color-hover: var(--theme-text-normal);
    --status-trigger-font-size: var(--font-size-xs);
    --status-trigger-font-weight: var(--hierarchy-status-weight);
    --status-trigger-line-height: var(--type-label-line);
    --status-trigger-letter-spacing: 0;
    --status-trigger-text-transform: none;
    margin: 0;
}

[data-section-head-state].status-trigger .action-icon {
    opacity: 0.84;
}

.progress-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.progress-grid--tracks {
    margin-top: 12px;
}

.progress-card {
    --item-card-padding: var(--progress-card-padding);
    --item-card-gap: var(--progress-card-gap);
    --item-card-radius: var(--progress-card-radius);
    --item-card-bg: var(--theme-surface-base);
    --item-card-border: 1px solid var(--theme-border-normal);
    --item-card-shadow: var(--shadow-none, none);
    position: relative;
    overflow: hidden;
}

.progress-label {
    --text-meta-size: var(--progress-label-size);
    --text-meta-color: var(--progress-label-color);
    --text-meta-track: var(--progress-label-track);
    --text-meta-text-transform: var(--progress-label-transform);
}

.progress-value {
    --text-title-size: var(--progress-value-size);
    --text-title-weight: var(--progress-value-weight);
    --text-title-line: var(--progress-value-line);
}

.progress-bar {
    width: 100%;
    overflow: hidden;
    clip-path: inset(0 round var(--progress-bar-radius));
}

.progress-bar {
    height: var(--progress-bar-height);
    margin-top: 6px;
    background-color: var(--progress-bar-bg, var(--progress-track-bg));
}

.progress-bar span {
    display: block;
    width: 0;
    height: 100%;
}

.progress-bar span {
    background: var(--progress-bar-fill, var(--progress-bar-fill-default));
}

.game-page .progress-bar span {
    --progress-bar-fill: linear-gradient(90deg, rgba(var(--game-teal), 1), rgba(var(--game-sky), 1));
}

.progress-note {
    margin-top: 10px;
    --text-hint-size: var(--progress-note-size);
    --text-hint-line: var(--progress-note-line);
    --text-hint-color: var(--progress-note-color);
}

.progress-shell--account {
    --progress-track-bg: var(--btn-bg-color);
    --progress-bar-fill: linear-gradient(90deg, var(--brand-color), var(--link-color));
}

.progress-shell--account .progress-grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.progress-shell--account .progress-card {
    --item-card-radius: var(--surface-radius);
    --item-card-bg: var(--theme-surface-base);
    --item-card-border: 1px solid var(--theme-border-normal);
    --item-card-padding: 14px;
}

.progress-shell--account .progress-label {
    --text-meta-size: var(--progress-label-size-compact);
    --text-meta-track: 0.07em;
}

.progress-shell--account .progress-value {
    --text-title-size: var(--progress-account-value-size);
    --text-title-weight: var(--progress-account-value-weight);
}

@media (max-width: 900px) {
    .section-head__inner {
        grid-template-columns: 1fr;
        gap: var(--section-head-mobile-gap);
        min-height: 52px;
    }

    .section-head__right {
        justify-content: flex-start;
        width: 100%;
    }

    .section-head__controls {
        justify-content: flex-start;
        width: 100%;
    }

    .section-head__text {
        font-size: clamp(18px, 4.2vw, var(--section-head-title-size));
    }
}

@media (max-width: 640px) {
    .section-head--page .section-head__text :is(h1, h2, h3) {
        font-size: clamp(22px, 8.5vw, 30px);
    }

    .content-container {
        padding: var(--surface-content-padding-mobile);
    }

    .content-container.surface--quiet {
        border-radius: var(--surface-quiet-radius, var(--surface-radius));
    }
}
