/* 资产库列表 / 详情。只给 projects-layout 用。参考 stitch 08_pc_2、03_pc_1 / 03_pc_2。 */

@import url("../../../components/masonry-feed/masonry-feed.css?v=1eeb9e00fc37");
@import url("../../../components/ui-search-select/ui-search-select.css?v=5007ff9d16f5");
@import url("../../common/components/provider-sync-chip.css?v=5c14e89098d1");

body.studio.projects-layout {
    min-height: 100%;
}

.st-projects,
.st-projects-detail {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.st-projects .ui-svg-icon,
.st-projects-detail .ui-svg-icon {
    display: block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

.st-projects-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.st-projects-toolbar-start,
.st-projects-toolbar-end {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-width: 0;
    gap: 12px;
}

.st-projects-toolbar-end {
    flex-shrink: 0;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.st-projects-toolbar-divider {
    width: 1px;
    height: 16px;
    flex-shrink: 0;
    background: var(--st-border-strong);
}

.st-projects-chips {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.st-projects-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border: 1px solid var(--st-border-strong);
    border-radius: var(--st-radius-pill);
    background: var(--st-elevated);
    color: var(--st-text-muted);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
}

.st-projects-chip:hover {
    color: var(--st-text);
    background: var(--st-nav-hover-bg);
}

.st-projects-chip.is-active {
    border-color: var(--st-accent-border);
    background: var(--st-accent-soft);
    color: var(--st-accent);
    font-weight: 600;
}

.st-projects-chip-dot {
    display: none;
    width: 6px;
    height: 6px;
    border-radius: var(--st-radius-pill);
    background: currentColor;
}

.st-projects-chip.is-active .st-projects-chip-dot {
    display: inline-block;
}

.st-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.st-projects-create-card,
.st-projects-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-md);
    background: var(--st-surface);
    box-shadow: var(--st-shadow-card);
}

.st-projects-create-card {
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 230px;
    padding: 24px;
    border: 2px dashed var(--st-border-strong);
    background: color-mix(in srgb, var(--st-surface) 60%, transparent);
    color: var(--st-text-muted);
    font: inherit;
    gap: 10px;
    cursor: pointer;
    appearance: none;
    transition: border-color var(--st-duration) ease, background-color var(--st-duration) ease, color var(--st-duration) ease;
}

.st-projects-create-card:hover {
    border-color: var(--st-accent);
    background: var(--st-accent-soft);
    color: var(--st-accent);
}

.st-projects-create-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--st-radius-pill);
    background: var(--st-track);
    color: inherit;
    transition: background-color var(--st-duration) ease, transform var(--st-duration) ease;
}

.st-projects-create-card:hover .st-projects-create-plus {
    background: color-mix(in srgb, var(--st-accent) 16%, var(--st-surface));
    transform: scale(1.08);
}

.st-projects-create-plus .ui-svg-icon {
    width: 28px;
    height: 28px;
}

.st-projects-create-label {
    font-size: 14px;
    font-weight: 500;
}

.st-projects-card {
    transition: border-color var(--st-duration) ease, box-shadow var(--st-duration) ease;
}

.st-projects-card.project-card-clickable {
    cursor: pointer;
}

.st-projects-card.project-card-clickable:hover {
    border-color: color-mix(in srgb, var(--st-text) 18%, transparent);
    box-shadow: var(--st-shadow-menu);
}

.st-projects-card.project-card-clickable:focus-visible {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.st-projects-card.project-card-auth-locked {
    cursor: default;
}

.st-projects-card-cover {
    position: relative;
    height: 176px;
    overflow: hidden;
    background: var(--st-track);
}

.st-projects-card-cover-media,
.st-projects-card-cover .project-card-marble {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.st-projects-card-cover-media {
    transition: transform 300ms ease;
}

.st-projects-card.project-card-clickable:hover .st-projects-card-cover-media,
.st-projects-card.project-card-clickable:focus-within .st-projects-card-cover-media {
    transform: scale(1.05);
}

.st-projects-card-cover-body {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--st-text-muted);
}

.st-projects-card-cover-body .ui-svg-icon {
    width: 28px;
    height: 28px;
}

.st-projects-card-cover-label {
    font-size: 12px;
    font-weight: 600;
}

.st-projects-card-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    pointer-events: none;
}

.st-projects-badge {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0 8px;
    border: 1px solid transparent;
    border-radius: var(--st-radius-pill);
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.st-projects-badge.is-default,
.st-projects-badge.is-shared {
    background: var(--st-accent-soft);
    border-color: var(--st-accent-border);
    color: var(--st-accent);
}

.st-projects-badge.is-readonly {
    background: color-mix(in srgb, var(--st-text) 8%, var(--st-surface));
    border-color: var(--st-border-strong);
    color: var(--st-text-muted);
}

.st-projects-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding: 12px;
}

.st-projects-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.st-projects-card-title {
    margin: 0;
    min-width: 0;
    overflow: hidden;
    color: var(--st-text);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.st-projects-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    flex-shrink: 0;
    border: 0;
    border-radius: var(--st-radius-pill);
    background: transparent;
    color: var(--st-text-ghost);
    cursor: pointer;
}

.st-projects-share:hover,
.st-projects-share:focus-visible {
    color: var(--st-text);
    background: var(--st-nav-hover-bg);
    outline: none;
}

.st-projects-share:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.st-projects-share .ui-svg-icon {
    width: 14px;
    height: 14px;
}

.st-projects-card-desc,
.st-projects-card-owner {
    margin: 0;
    overflow: hidden;
    color: var(--st-text-ghost);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.st-projects-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 64px 16px;
    color: var(--st-text-muted);
    text-align: center;
}

.st-projects-empty-title {
    color: var(--st-text);
    font-size: 16px;
    font-weight: 600;
}

.st-projects-empty-desc {
    font-size: 13px;
}

.st-projects-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.st-projects-count {
    color: var(--st-text-muted);
    font-size: 13px;
}

.st-projects-count strong {
    color: var(--st-text);
    font-weight: 600;
}

.project-card-marble {
    overflow: hidden;
    pointer-events: none;
    background: color-mix(in srgb, var(--st-surface) 82%, var(--st-track));
}

.project-card-marble-blob {
    position: absolute;
    width: 78%;
    height: 78%;
    border-radius: 50%;
    filter: blur(28px);
    transform: translate(var(--marble-x, 0), var(--marble-y, 0));
    pointer-events: none;
}

.project-card-marble-blob--a {
    top: -22%;
    left: -16%;
    opacity: 0.62;
    background: color-mix(in srgb, var(--st-accent) 16%, var(--st-surface));
}

.project-card-marble-blob--b {
    right: -20%;
    bottom: -18%;
    width: 70%;
    height: 70%;
    opacity: 0.5;
    background: color-mix(in srgb, var(--st-text-ghost) 22%, var(--st-track));
}

.project-card-marble-blob--c {
    top: 28%;
    left: 22%;
    width: 46%;
    height: 46%;
    opacity: 0.45;
    background: color-mix(in srgb, var(--st-accent-soft) 70%, var(--st-surface));
}

.project-card-marble-sheen {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(160deg, color-mix(in srgb, var(--st-surface) 72%, transparent) 0%, transparent 46%),
        linear-gradient(to top, color-mix(in srgb, var(--st-surface) 78%, transparent), transparent 50%);
    pointer-events: none;
}

.project-card-auth-entry {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    pointer-events: none;
}

.project-card-auth-prompt,
.project-card-auth-option {
    border: 1px solid var(--st-accent-hover);
    border-radius: 8px;
    background: var(--st-accent);
    color: var(--st-text-on-accent);
    box-shadow: var(--st-accent-glow);
    cursor: pointer;
}

.project-card-auth-prompt {
    min-width: 116px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 700;
    pointer-events: auto;
}

.project-card-auth-options {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: min(100% - 32px, 148px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.project-card-auth-option {
    min-width: 0;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 12px;
    text-align: left;
}

.project-card-auth-option .ui-svg-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.project-card-auth-option > span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.project-card-auth-option small {
    color: rgba(255, 255, 255, 0.78);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}

.project-card-auth-prompt:hover,
.project-card-auth-option:hover {
    background: var(--st-accent-hover);
}

.project-card-auth-prompt:focus-visible,
.project-card-auth-option:focus-visible {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.st-projects-card:hover .project-card-auth-prompt,
.project-card-auth-entry:focus-within .project-card-auth-prompt,
.project-card-auth-entry.is-expanded .project-card-auth-prompt {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.st-projects-card:hover .project-card-auth-options,
.project-card-auth-entry:focus-within .project-card-auth-options,
.project-card-auth-entry.is-expanded .project-card-auth-options {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.project-real-person-auth-project {
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--st-text-muted);
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-real-person-auth-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-real-person-auth-qr-shell {
    position: relative;
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid var(--st-border-strong);
    border-radius: 12px;
    background: #fff;
}

.project-real-person-auth-qr {
    width: 224px;
    height: 224px;
}

.project-real-person-auth-qr > img,
.project-real-person-auth-qr > canvas,
.project-real-person-auth-qr > table {
    display: block;
    max-width: 100%;
}

.project-real-person-auth-qr-mask {
    position: absolute;
    inset: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    border-radius: 6px;
    background: color-mix(in srgb, var(--st-elevated) 96%, transparent);
    color: var(--st-text);
    text-align: center;
}

.project-real-person-auth-qr-mask.hidden {
    display: none;
}

.project-real-person-auth-qr-mask strong {
    color: var(--st-text);
    font-size: 14px;
}

.project-real-person-auth-qr-mask span {
    color: var(--st-text-ghost);
    font-size: 12px;
    line-height: 1.5;
}

.project-real-person-auth-countdown {
    min-height: 1.5rem;
    margin-top: 12px;
    color: var(--st-accent);
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.5;
}

.project-real-person-auth-status {
    min-height: 1.25rem;
    margin-top: 4px;
    margin-bottom: 12px;
    color: var(--st-text-muted);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.st-projects-spinner {
    animation: st-projects-spin 0.8s linear infinite;
}

@keyframes st-projects-spin {
    to {
        transform: rotate(360deg);
    }
}

.st-projects-readonly {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid color-mix(in srgb, var(--st-warn) 36%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--st-warn) 12%, var(--st-surface));
    color: var(--st-warn);
    font-size: 13px;
    font-weight: 600;
}

.st-projects-readonly.hidden {
    display: none;
}

.st-projects-detail-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.st-projects-detail-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.st-projects-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    flex-shrink: 0;
    border: 1px solid var(--st-border-strong);
    border-radius: 12px;
    background: var(--st-elevated);
    color: var(--st-text-muted);
    box-shadow: var(--st-shadow-card);
    cursor: pointer;
}

.st-projects-back:hover {
    color: var(--st-text);
    background: var(--st-nav-hover-bg);
}

.st-projects-back:active {
    transform: scale(0.98);
}

.st-projects-back .ui-svg-icon {
    width: 16px;
    height: 16px;
}

.st-projects-detail-title {
    margin: 0;
    min-width: 0;
    overflow: hidden;
    color: var(--st-text);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.st-projects-detail-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--st-text-ghost);
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
}

.st-projects-meta-dot {
    width: 4px;
    height: 4px;
    flex-shrink: 0;
    border-radius: var(--st-radius-pill);
    background: var(--st-track);
}

.st-projects-detail-count {
    color: var(--st-text-muted);
    font-weight: 500;
}

.st-projects-detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.st-projects-detail-feed {
    width: 100%;
}

.st-projects-detail .masonry-grid {
    min-height: 120px;
}

.st-projects-detail .project-resource-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-lg);
    background: var(--st-surface);
    transition: border-color var(--st-duration) ease, box-shadow var(--st-duration) ease, transform var(--st-duration) ease;
}

.st-projects-detail .project-resource-card:hover .project-resource-shell,
.st-projects-detail .project-resource-card:focus-within .project-resource-shell {
    border-color: color-mix(in srgb, var(--st-text) 18%, transparent);
    box-shadow: var(--st-shadow-menu);
    transform: translateY(-2px);
}

.st-projects-detail .project-resource-card .js-resource-preview {
    overflow: hidden;
    cursor: pointer;
    background: var(--st-track);
}

.st-projects-detail .project-resource-preview-disabled {
    cursor: default;
}

.st-projects-detail .project-resource-meta {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.st-projects-detail .project-resource-meta-text {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    min-width: 0;
    padding: 28px 12px 12px;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.28) 62%, rgba(15, 23, 42, 0) 100%);
}

.st-projects-detail .project-resource-meta-name {
    margin: 0;
    overflow: hidden;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.st-projects-detail .project-resource-meta-date {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 10px;
    line-height: 1.4;
}

.st-projects-detail .project-resource-meta-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    pointer-events: auto;
}

.st-projects-detail .project-resource-action {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: transparent;
    cursor: pointer;
}

.st-projects-detail .project-resource-action:hover,
.st-projects-detail .project-resource-action:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    outline: none;
}

.st-projects-detail .project-resource-action:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.st-projects-detail .project-resource-action.is-danger:hover,
.st-projects-detail .project-resource-action.is-danger:focus-visible {
    background: var(--st-danger);
}

.st-projects-detail .project-resource-action .ui-svg-icon {
    width: 14px;
    height: 14px;
}

.st-projects-detail .project-resource-name-input {
    display: block;
    width: 100%;
    margin: 0;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 6px;
    color: #fff;
    background: rgba(15, 23, 42, 0.78);
    font-size: 13px;
    line-height: 1.35;
    outline: none;
    pointer-events: auto;
}

.st-projects-detail .project-resource-name-input:focus {
    border-color: var(--st-accent);
}

.st-projects-detail .ui-masonry-play-indicator__badge {
    width: 48px;
    height: 48px;
    transition: transform 200ms ease;
}

.st-projects-detail .ui-masonry-play-indicator__badge .ui-svg-icon {
    width: 20px;
    height: 20px;
    margin-left: 2px;
}

.st-projects-detail .project-resource-card:hover .ui-masonry-play-indicator__badge,
.st-projects-detail .project-resource-card:focus-within .ui-masonry-play-indicator__badge {
    transform: scale(1.1);
}

.st-projects-detail .project-resource-card .js-resource-preview.is-media-loading,
.st-projects-detail .project-resource-card .js-resource-preview.has-media-error {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.st-projects-detail .project-resource-card .js-resource-preview > img,
.st-projects-detail .project-resource-card .js-resource-preview > video,
.st-projects-detail .project-resource-card .js-resource-preview > .ui-masonry-video-frame {
    display: block;
    width: 100%;
    max-width: 100%;
}

.st-projects-detail .project-resource-card .js-resource-preview > .ui-masonry-audio-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
}

.st-projects-detail .ui-masonry-audio-card {
    min-height: 220px;
    background:
        radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--st-accent) 18%, transparent), transparent 46%),
        var(--st-track);
}

.st-projects-detail .ui-masonry-audio-card__wave span {
    background: color-mix(in srgb, var(--st-accent) 58%, transparent);
}

.st-projects-detail .project-resource-card .js-resource-preview > .ui-masonry-video-frame {
    overflow: hidden;
}

.st-projects-detail .project-resource-card .js-resource-preview.has-media-error > img,
.st-projects-detail .project-resource-card .js-resource-preview.has-media-error > video,
.st-projects-detail .project-resource-card .js-resource-preview.has-media-error > .ui-masonry-video-frame {
    display: none;
}

.st-projects-detail .project-resource-text-card {
    min-height: 180px;
    padding: 16px;
    color: var(--st-text);
    background: var(--st-track);
    white-space: pre-wrap;
}

.st-projects-detail .project-resource-fallback {
    display: flex;
    min-height: 160px;
    align-items: center;
    justify-content: center;
    color: var(--st-text-muted);
    background: var(--st-track);
}

.st-projects-detail .project-resource-fallback .ui-svg-icon {
    width: 32px;
    height: 32px;
}

@media (hover: hover) and (pointer: fine) {
    .st-projects-detail .project-resource-meta-actions {
        opacity: 0;
        transition: opacity 160ms ease;
    }

    .st-projects-detail .project-resource-card:hover .project-resource-meta-actions,
    .st-projects-detail .project-resource-card:focus-within .project-resource-meta-actions {
        opacity: 1;
    }

    .st-projects-detail .project-resource-card .js-resource-preview > img,
    .st-projects-detail .project-resource-card .js-resource-preview > video,
    .st-projects-detail .project-resource-card .js-resource-preview > .ui-masonry-video-frame > img {
        transition: transform 220ms ease;
    }

    .st-projects-detail .project-resource-card:hover .js-resource-preview > img,
    .st-projects-detail .project-resource-card:hover .js-resource-preview > video,
    .st-projects-detail .project-resource-card:hover .js-resource-preview > .ui-masonry-video-frame > img,
    .st-projects-detail .project-resource-card:focus-within .js-resource-preview > img,
    .st-projects-detail .project-resource-card:focus-within .js-resource-preview > video,
    .st-projects-detail .project-resource-card:focus-within .js-resource-preview > .ui-masonry-video-frame > img {
        transform: scale(1.06);
    }
}

@media (min-width: 768px) {
    .st-projects-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .st-projects-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .st-projects-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .st-projects-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .st-projects-toolbar .st-tabs {
        display: flex;
        width: 100%;
    }

    .st-projects-toolbar-end {
        width: 100%;
        flex-wrap: nowrap;
    }

    .st-projects-toolbar-end .st-search {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }

    .st-projects-detail-header {
        align-items: center;
    }

    .st-projects-detail-meta {
        display: none;
    }
}

@media (max-width: 480px) {
    .st-projects-grid {
        grid-template-columns: 1fr;
    }

    .project-real-person-auth-qr-shell {
        width: 100%;
        max-width: 240px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .st-projects-create-card,
    .st-projects-create-plus,
    .st-projects-card-cover-media,
    .project-card-auth-prompt,
    .project-card-auth-options,
    .st-projects-detail .project-resource-shell,
    .st-projects-detail .project-resource-action,
    .st-projects-detail .project-resource-meta-actions,
    .st-projects-detail .ui-masonry-play-indicator__badge,
    .st-projects-detail .project-resource-card .js-resource-preview > img,
    .st-projects-detail .project-resource-card .js-resource-preview > video,
    .st-projects-detail .project-resource-card .js-resource-preview > .ui-masonry-video-frame > img {
        transition: none;
        animation: none;
        transform: none;
    }

    .project-card-marble-blob {
        filter: blur(16px);
    }
}
