/**
 * Author page — Studio (双橱窗)
 * Compact identity band + works / inspiration / interact / about
 */

.app-layout-active.author .content-wrapper,
.app-layout-active.author .site-content {
    background: transparent;
}

.app-layout-active.author {
    background:
        radial-gradient(1200px 480px at 12% -10%, rgba(45, 90, 120, 0.06), transparent 55%),
        radial-gradient(900px 420px at 88% 0%, rgba(180, 120, 80, 0.05), transparent 50%),
        var(--mika-color-bg, #f3f1ec);
}

#author.author--studio,
#author.author--atlas {
    --st-ink: var(--mika-color-text, #1a1c1e);
    --st-mute: var(--mika-color-text-muted, #5c6570);
    --st-faint: var(--mika-color-text-subtle, #8b939e);
    --st-line: var(--mika-color-border, rgba(26, 28, 30, 0.1));
    --st-soft: var(--mika-color-surface-muted, #ebe8e2);
    --st-surface: var(--mika-color-surface, #fffcf7);
    --st-accent: var(--mika-color-primary, #1f5f8b);
    --st-vip: #a67c2d;
    --st-r: 16px;
    --st-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --st-sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, sans-serif;
    /* legacy atlas aliases used by work cards */
    --at-ink: var(--st-ink);
    --at-mute: var(--st-mute);
    --at-faint: var(--st-faint);
    --at-line: var(--st-line);
    --at-soft: var(--st-soft);
    --at-surface: var(--st-surface);
    --at-accent: var(--st-accent);
    --at-ease: var(--st-ease);
    position: relative;
    margin: 0;
    padding: 0 0 56px;
    color: var(--st-ink);
    font-family: var(--st-sans);
}

html.dark-theme #author.author--studio,
.dark-theme #author.author--studio,
html.dark-theme #author.author--atlas,
.dark-theme #author.author--atlas {
    --st-ink: var(--mika-color-text, #e8eaf2);
    --st-mute: var(--mika-color-text-muted, #a0a0b0);
    --st-faint: #808098;
    --st-line: var(--mika-color-border, rgba(255, 255, 255, 0.1));
    --st-soft: var(--mika-color-bg, #1e1e2d);
    --st-surface: var(--mika-color-surface, #252538);
}

.author-breadcrumb { display: none !important; }

.st-shell,
.at-shell {
    width: min(1120px, calc(100% - 28px));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* —— Compact profile —— */
.st-profile {
    position: relative;
    padding: 0;
}

.st-band,
.at-backdrop {
    height: 132px;
    border-radius: 0 0 calc(var(--st-r) + 2px) calc(var(--st-r) + 2px);
    background:
        linear-gradient(120deg, #d7e4ef 0%, #e8e0d4 48%, #f0ebe3 100%);
    background-size: cover;
    background-position: center 28%;
    background-repeat: no-repeat;
    overflow: hidden;
}

.st-profile:not(.is-plain) .st-band {
    background-color: #1a1a22;
}

.st-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(20, 24, 28, 0.18) 100%);
    pointer-events: none;
}

.st-profile .st-band { position: relative; }

.st-card,
.at-card {
    position: relative;
    z-index: 2;
    margin: -44px 0 0;
    padding: 18px 20px 16px;
    border-radius: var(--st-r);
    background: color-mix(in srgb, var(--st-surface) 92%, transparent);
    border: 1px solid var(--st-line);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 28px rgba(20, 24, 28, 0.06);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px 24px;
}

.st-profile.is-locked .st-card {
    margin-top: 24px;
}

.st-identity {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    flex: 1;
}

.st-avatar-wrap {
    position: relative;
    flex: 0 0 auto;
}

.st-avatar,
.at-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--st-soft) center / cover no-repeat;
    border: 3px solid var(--st-surface);
    box-shadow: 0 4px 14px rgba(20, 24, 28, 0.12);
}

.st-avatar-badge {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--st-surface);
    color: var(--st-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--st-surface);
    font-size: 14px;
    line-height: 1;
}

.st-avatar-badge-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.st-copy { min-width: 0; flex: 1; }

.st-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.st-name,
.at-name {
    margin: 0;
    font-size: 22px;
    font-weight: 720;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.st-chips {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.st-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    background: var(--st-soft);
    color: var(--st-mute);
}

.st-chip.is-icon {
    padding: 0;
    background: transparent;
    height: auto;
}

.st-chip .lv-img-icon,
.st-chip .vip-img-icon {
    height: 18px;
    width: auto;
    display: block;
}

.st-vip {
    color: var(--st-vip);
    background: color-mix(in srgb, var(--st-vip) 14%, var(--st-surface));
}

.st-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 0;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--st-faint);
}

.st-meta {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.st-meta.is-ok {
    color: var(--st-accent);
    font-weight: 600;
}

a.st-meta:hover {
    color: var(--st-accent);
}

.st-meta-sep {
    margin: 0 6px;
    opacity: 0.45;
    user-select: none;
}

.st-cover-edit {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: rgba(20, 24, 28, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: background 0.18s var(--st-ease), opacity 0.18s var(--st-ease);
}

.st-cover-edit:hover {
    background: rgba(20, 24, 28, 0.68);
}

.st-cover-edit.is-busy {
    opacity: 0.65;
    pointer-events: none;
}

.st-cover-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.st-mobile-cta {
    display: none;
}

.st-bio,
.st-desc {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--st-mute);
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.st-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    margin-top: 12px;
}

.st-stat {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    text-decoration: none;
    color: inherit;
}

.st-stat strong {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.st-stat span {
    font-size: 12px;
    color: var(--st-faint);
}

a.st-stat:hover strong { color: var(--st-accent); }

.st-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding-top: 4px;
}

.st-btn {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 999px;
    height: 36px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: background 0.18s var(--st-ease), color 0.18s var(--st-ease), border-color 0.18s var(--st-ease), transform 0.18s var(--st-ease);
}

.st-btn--ghost {
    background: var(--st-soft);
    color: var(--st-ink);
    border-color: transparent;
    min-width: 36px;
    padding: 0 12px;
}

.st-btn--ghost:hover {
    background: color-mix(in srgb, var(--st-accent) 10%, var(--st-soft));
}

.st-btn--primary {
    background: var(--st-accent);
    color: #fff;
}

.st-btn--primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.st-btn--primary.is-followed {
    background: var(--st-soft);
    color: var(--st-mute);
}

/* —— Studio nav + main —— */
.st-studio,
.at-studio {
    margin-top: 4px;
}

.st-nav,
.at-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    gap: 4px;
    padding: 6px 4px;
    margin: 0 0 14px;
    background: color-mix(in srgb, var(--mika-color-bg, #f3f1ec) 88%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--st-line);
}

.st-nav a,
.at-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--st-mute);
    text-decoration: none;
    border-radius: 10px;
    transition: color 0.18s var(--st-ease), background 0.18s var(--st-ease);
}

.st-nav a:hover,
.at-nav a:hover {
    color: var(--st-ink);
    background: color-mix(in srgb, var(--st-surface) 70%, transparent);
}

.st-nav a.is-on,
.at-nav a.is-on {
    color: var(--st-ink);
}

.st-nav a.is-on::after,
.at-nav a.is-on::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 999px;
    background: var(--st-accent);
}

.st-nav a.is-aux {
    margin-left: auto;
    font-size: 13px;
    font-weight: 500;
}

.st-main,
.at-main {
    min-height: 240px;
}

/* —— Works filters —— */
.au-filters,
.author-works-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.au-filter,
.author-works-filter {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-mute);
    background: var(--st-surface);
    border: 1px solid var(--st-line);
    text-decoration: none;
    transition: color 0.15s var(--st-ease), border-color 0.15s var(--st-ease), background 0.15s var(--st-ease);
}

.au-filter:hover,
.author-works-filter:hover {
    color: var(--st-ink);
    border-color: color-mix(in srgb, var(--st-accent) 35%, var(--st-line));
}

.au-filter.is-active,
.author-works-filter.is-active,
.author-works-filter.active {
    color: var(--st-accent);
    background: color-mix(in srgb, var(--st-accent) 10%, var(--st-surface));
    border-color: color-mix(in srgb, var(--st-accent) 28%, var(--st-line));
}

.au-filter-count {
    margin-left: 4px;
    font-weight: 500;
    opacity: 0.72;
    font-variant-numeric: tabular-nums;
}

.st-works-empty-cta {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.author-works-grid .mika-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.author-works-grid[data-cols="2"] .mika-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.author-works-grid[data-cols="4"] .mika-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.author-works-grid.is-article-list .mika-grid,
.author-works-grid[data-cols="1"] .mika-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
}

.author-works-grid .post-list-item.author-article-row.is-mixed-break {
    grid-column: 1 / -1;
}

/* Media tiles */
#author .author-atlas {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: var(--st-surface);
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.18s var(--st-ease), transform 0.18s var(--st-ease), box-shadow 0.18s var(--st-ease);
}

#author .author-atlas:hover {
    border-color: color-mix(in srgb, var(--st-accent) 30%, var(--st-line));
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(20, 24, 28, 0.08);
}

#author .author-atlas-media {
    position: relative;
    height: 0;
    padding-top: 72%;
    overflow: hidden;
    background: var(--st-soft);
}

#author .author-atlas-media img,
#author .author-atlas-media .post-thumb,
#author .author-atlas-media .w-h {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s var(--st-ease);
}

#author .author-atlas:hover .author-atlas-media img {
    transform: scale(1.04);
}

#author .author-work-play,
#author .author-work-article-mark {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.55);
    color: #fff;
    backdrop-filter: blur(6px);
}

#author .author-work-play i,
#author .author-work-article-mark i {
    font-size: 14px;
    line-height: 1;
}

#author .author-atlas-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 11px 12px;
}

#author .author-atlas-title {
    margin: 0;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#author .author-atlas:hover .author-atlas-title { color: var(--st-accent); }

#author .author-atlas-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

#author .author-work-type {
    font-size: 11px;
    color: var(--st-faint);
}

#author .author-atlas-like .post-info-buttom,
#author .author-atlas-like .post-like {
    margin: 0;
    font-size: 12px;
    color: var(--st-mute);
}

/* Article magazine rows */
#author .author-article-row { list-style: none; }

#author .author-article-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(34%, 168px);
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--st-line);
    background: var(--st-surface);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.18s var(--st-ease), box-shadow 0.18s var(--st-ease), transform 0.18s var(--st-ease);
}

#author .author-article-row.is-mixed-break .author-article-link {
    background: color-mix(in srgb, var(--st-soft) 55%, var(--st-surface));
}

#author .author-article-link:hover {
    border-color: color-mix(in srgb, var(--st-accent) 28%, var(--st-line));
    box-shadow: 0 10px 22px rgba(20, 24, 28, 0.06);
    transform: translateY(-1px);
}

#author .author-article-link:hover .author-article-title {
    color: var(--st-accent);
}

#author .author-article-cover {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 10px;
    background: var(--st-soft);
}

#author .author-article-cover img,
#author .author-article-cover .post-thumb,
#author .author-article-cover .w-h {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#author .author-article-cover.is-empty { background: var(--st-soft); }

#author .author-article-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

#author .author-article-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#author .author-article-row .author-work-type,
#author .author-article-date {
    font-size: 11px;
    color: var(--st-faint);
}

#author .author-article-stats {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    font-size: 12px;
    color: var(--st-mute);
}

#author .author-article-stats .post-views,
#author .author-article-stats .post-like,
#author .author-article-stats .post-favorite {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--st-mute);
}

#author .author-article-stats i {
    font-size: 13px;
    line-height: 1;
}

#author .author-article-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--st-ink);
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#author .author-article-excerpt {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--st-mute);
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#author .author-article-cover .author-work-play {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 1;
}

#author .author-works-grid.is-magazine .author-article-link {
    padding: 16px 18px;
    grid-template-columns: minmax(0, 1fr) min(38%, 200px);
}

#author .author-works-grid.is-magazine .author-article-title {
    font-size: 17px;
}

#author .author-works-grid.is-gallery .author-atlas-media {
    padding-top: 78%;
}

#author .author-work-status {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 650;
    line-height: 1;
    background: color-mix(in srgb, #c27a1e 16%, var(--st-surface));
    color: #9a5b10;
}

#author .author-work-status.is-pending {
    background: color-mix(in srgb, var(--st-accent) 14%, var(--st-surface));
    color: var(--st-accent);
}

#author .author-atlas-media .author-work-status {
    position: absolute;
    left: 8px;
    top: 8px;
    z-index: 2;
}

/* —— Interact (comments) —— */
.st-interact-head {
    margin: 0 0 12px;
}

.st-interact-lead {
    margin: 0;
    font-size: 13px;
    color: var(--st-faint);
}

.st-interact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.st-interact-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    background: var(--st-surface);
    border: 1px solid var(--st-line);
}

.st-interact-cover {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--st-soft);
}

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

.st-interact-cover-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-faint);
    font-size: 22px;
}

.st-interact-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.st-interact-date {
    font-size: 11px;
    color: var(--st-faint);
}

.st-interact-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--st-ink);
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.st-interact-ref {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.st-interact-ref-label {
    flex: 0 0 auto;
    font-size: 11px;
    color: var(--st-faint);
}

.st-interact-ref-link {
    min-width: 0;
    font-size: 12px;
    color: var(--st-mute);
    text-decoration: none;
}

.st-interact-ref-link:hover { color: var(--st-accent); }

/* —— About —— */
.st-about {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 720px;
}

.st-about-block {
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--st-surface);
    border: 1px solid var(--st-line);
}

.st-about-title {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--st-faint);
}

.st-about-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--st-ink);
    white-space: pre-wrap;
}

.st-about-meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.st-about-meta li {
    display: flex;
    gap: 16px;
    align-items: baseline;
}

.st-about-k {
    flex: 0 0 72px;
    font-size: 13px;
    color: var(--st-faint);
}

.st-about-v {
    font-size: 14px;
    color: var(--st-ink);
    text-decoration: none;
}

.st-about-v.is-ok { color: var(--st-accent); }
a.st-about-v:hover { color: var(--st-accent); }

.st-about-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.st-about-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--st-soft);
    color: var(--st-ink);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.st-about-link:hover {
    background: color-mix(in srgb, var(--st-accent) 12%, var(--st-soft));
    color: var(--st-accent);
}

.st-about-more {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.st-about-more-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 4px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--st-ink);
    font-size: 14px;
    font-weight: 600;
}

.st-about-more-item > span { flex: 1; }
.st-about-more-item > i:first-child { color: var(--st-mute); font-size: 18px; }
.st-about-more-item > i:last-child { color: var(--st-faint); }
.st-about-more-item:hover { background: var(--st-soft); }

/* —— Fans / favorite leftovers —— */
.author-follows-tabs .author-follows-nav {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

.author-follows-tab {
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-mute);
    background: var(--st-surface);
    border: 1px solid var(--st-line);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.author-follows-tab.active {
    color: var(--st-accent);
    border-color: color-mix(in srgb, var(--st-accent) 28%, var(--st-line));
    background: color-mix(in srgb, var(--st-accent) 10%, var(--st-surface));
}

.author-relation-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.author-relation-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    background: var(--st-surface);
    border: 1px solid var(--st-line);
}

.author-relation-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 auto;
}

.author-relation-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-relation-info { min-width: 0; flex: 1; }
.author-relation-act {
    appearance: none;
    border: 0;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--st-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.author-relation-act.is-followed {
    background: var(--st-soft);
    color: var(--st-mute);
}

/* Skeleton */
.author-skel--list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.author-skel-list-card {
    padding: 14px;
    border-radius: 14px;
    background: var(--st-surface);
    border: 1px solid var(--st-line);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.author-skel-line {
    display: block;
    height: 12px;
    border-radius: 6px;
    width: var(--sk-w, 60%);
}

.author-skel-bar {
    display: block;
    height: 40px;
    border-radius: 8px;
    width: 100%;
}

.author-skel--folio {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.author-skel-folio-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.author-skel-folio-cover {
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
}

/* Inspiration tab — single toolbar row (no duplicate hero under st-nav) */
#author .mika-insp-g--author .mika-insp-g__bar--author {
    margin-top: 0;
    margin-bottom: 12px;
    padding-top: 4px;
}

#author .mika-insp-g--author .mika-insp-g__bar-inner {
    align-items: flex-start;
}

#author .mika-insp-g--author .mika-insp-g__author-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    flex: 1 1 220px;
    min-width: 0;
}

#author .mika-insp-g--author .mika-insp-g__author-count {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--st-mute);
}

#author .mika-insp-g--author .mika-insp-g__earnings {
    margin: 0;
    font-size: 12px;
}

#author .mika-insp-g--author .mika-insp-g__create {
    margin-top: 0;
    padding: 8px 14px;
    font-size: 13px;
}

#author .mika-insp-g--author .mika-insp-g__filters {
    flex: 0 0 auto;
    margin-left: auto;
}

@media (max-width: 860px) {
    #author .mika-insp-g--author .mika-insp-g__bar-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    #author .mika-insp-g--author .mika-insp-g__filters {
        margin-left: 0;
        justify-content: flex-end;
    }
}

/* —— Responsive —— */
@media (max-width: 860px) {
    .st-shell,
    .at-shell {
        width: calc(100% - 20px);
        gap: 6px;
    }

    .st-band,
    .at-backdrop { height: 108px; }

    .st-card,
    .at-card {
        margin-top: -36px;
        padding: 14px;
        flex-direction: column;
        gap: 14px;
    }

    .st-avatar,
    .at-avatar {
        width: 64px;
        height: 64px;
    }

    .st-name,
    .at-name { font-size: 20px; }

    .st-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .st-actions .st-btn--primary {
        display: none;
    }

    .st-mobile-cta {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 120;
        gap: 10px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
        background: color-mix(in srgb, var(--st-surface) 94%, transparent);
        border-top: 1px solid var(--st-line);
        backdrop-filter: blur(12px);
        box-shadow: 0 -6px 24px rgba(20, 24, 28, 0.08);
    }

    .st-mobile-cta-btn {
        flex: 1;
        height: 42px;
    }

    #author.author--studio,
    #author.author--atlas {
        padding-bottom: calc(56px + 52px + env(safe-area-inset-bottom, 0px));
    }

    .st-nav,
    .at-nav {
        overflow-x: auto;
        scrollbar-width: none;
        gap: 2px;
    }

    .st-nav::-webkit-scrollbar { display: none; }

    .author-works-grid .mika-grid,
    .author-skel--folio {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    #author .author-article-link {
        grid-template-columns: minmax(0, 1fr) 96px;
        gap: 12px;
        padding: 12px;
    }

    #author .author-article-title { font-size: 15px; }

    .st-interact-card {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .st-interact-cover {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .st-stats { gap: 4px 14px; }
    .st-btn--primary { flex: 1; }
    #author .author-article-excerpt { -webkit-line-clamp: 1; }
}

/* 关注的标签 */
.author-tags-page { display: flex; flex-direction: column; gap: 16px; }
.author-tags-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.author-tags-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--st-text, #111827);
}
.author-tags-count {
    font-size: 13px;
    color: var(--st-mute, #9ca3af);
    font-weight: 600;
}
.author-tags-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.author-tags-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: var(--st-card, #fff);
}
.author-tags-card__main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
    color: inherit;
}
.author-tags-card__pill {
    font-size: 15px;
    font-weight: 700;
    color: var(--st-text, #111827);
}
.author-tags-card__meta {
    font-size: 12px;
    color: var(--st-mute, #9ca3af);
}
.author-tags-card__follow {
    flex-shrink: 0;
    min-width: 88px;
    height: 34px;
    padding: 0 12px;
    border: none;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: var(--mika-color-primary, #2563eb);
    color: #fff;
}
.author-tags-card__follow.is-followed {
    background: #f3f4f6;
    color: #6b7280;
}
@media (max-width: 720px) {
    .author-tags-grid { grid-template-columns: 1fr; }
}

[v-cloak] { display: none !important; }
