/* Homepage tool previews: the real tools' result styles, each scoped under .pv-<slug>.
   Built from css/previews/*.css. Regenerate by concatenating those files. */

/* --- avatar-card --- */
.pv-avatar-card .ac-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.pv-avatar-card .ac-card__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    background: var(--color-surface-elevated);
    border-bottom: 1px solid var(--color-border);
}
.pv-avatar-card .ac-card__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
}
.pv-avatar-card .ac-card__badges {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: var(--space-sm);
}
.pv-avatar-card .ac-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.pv-avatar-card .ac-badge--married { background: rgba(248,213,124,0.15); color: var(--color-warning); }
.pv-avatar-card .ac-badge--verified { background: rgba(79,209,135,0.15); color: var(--color-success); }
.pv-avatar-card .ac-badge--ap { background: rgba(148,240,255,0.15); color: var(--color-accent); }
.pv-avatar-card .ac-badge--vip { background: rgba(248,213,124,0.20); color: var(--color-warning); }
.pv-avatar-card .ac-card__close {
    cursor: pointer;
    color: var(--color-text-soft);
    font-size: 1.1rem;
    background: none;
    border: none;
}
.pv-avatar-card .ac-card__body {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: var(--space-md);
    padding: var(--space-md);
}
.pv-avatar-card .ac-avatar {
    width: 180px;
    height: 240px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    flex-shrink: 0;
}
.pv-avatar-card .ac-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pv-avatar-card .ac-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    min-width: 0;
}
.pv-avatar-card .ac-status {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.pv-avatar-card .ac-status__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.pv-avatar-card .ac-status__dot--online { background: var(--color-success); box-shadow: 0 0 8px rgba(79,209,135,0.5); }
.pv-avatar-card .ac-status__dot--offline { background: var(--color-text-soft); }
.pv-avatar-card .ac-pairs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--space-xs);
}
.pv-avatar-card .ac-pair {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: var(--space-xs);
    background: var(--color-surface-muted);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}
.pv-avatar-card .ac-pair__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-soft);
    font-weight: 600;
}
.pv-avatar-card .ac-pair__value {
    font-size: 0.85rem;
    color: var(--color-text);
    word-break: break-word;
}
.pv-avatar-card .ac-tagline {
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-surface-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-style: italic;
    color: var(--color-text-muted);
    word-break: break-word;
}
.pv-avatar-card .ac-room {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    position: relative;
}
.pv-avatar-card .ac-room a {
    color: var(--color-primary-strong);
    text-decoration: none;
}
.pv-avatar-card .ac-room__toggle {
    cursor: pointer;
    color: var(--color-primary);
    margin-left: 4px;
    font-size: 0.7rem;
    background: none;
    border: none;
    padding: 0;
}
.pv-avatar-card .ac-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    padding: 0 var(--space-md) var(--space-md);
}
.pv-avatar-card .ac-section {
    background: var(--color-surface-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
}
.pv-avatar-card .ac-section__title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-soft);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}
.pv-avatar-card .ac-section__text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}
.pv-avatar-card .ac-affinity {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pv-avatar-card .ac-affinity__row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: var(--space-xs);
    align-items: center;
}
.pv-avatar-card .ac-affinity__label {
    font-size: 0.75rem;
    color: var(--color-text-soft);
    white-space: nowrap;
}
.pv-avatar-card .ac-affinity__val {
    font-size: 0.8rem;
    color: var(--color-text);
    background: var(--color-surface-elevated);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}
.pv-avatar-card .ac-badge-bar {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    border-top: 1px solid var(--color-border);
    font-size: 0.8rem;
    color: var(--color-text-muted);
}
.pv-avatar-card .ac-badge-bar__count {
    font-weight: 700;
    color: var(--color-primary-strong);
}
.pv-avatar-card .ac-badge-bar__level {
    margin-left: auto;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-strong));
    color: #fff;
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 700;
}
.pv-avatar-card .ac-badge-grid {
    padding: var(--space-xs) var(--space-md) var(--space-md);
    background: var(--color-surface-muted);
    border-radius: var(--radius-sm);
    margin: 0 var(--space-md) var(--space-md);
    border: 1px solid var(--color-border);
    height: 110px;
    overflow: hidden;
    position: relative;
}
.pv-avatar-card .ac-badge-grid .badge-grid-container {
    width: 440px;
    height: 100px;
    position: relative;
}
.pv-avatar-card .ac-badge-grid .badgeimg {
    position: absolute;
    border-radius: 2px;
    border: 1px solid var(--color-border);
}
.pv-avatar-card .ac-badge-placeholder {
    background: var(--color-surface-elevated);
    width: 20px;
    height: 20px;
    display: inline-block;
    margin: 2px;
    border-radius: 2px;
    border: 1px solid var(--color-border);
}
.pv-avatar-card .ac-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border-top: 1px solid var(--color-border);
}
.pv-avatar-card .ac-links a {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.pv-avatar-card .ac-actions {
    display: flex;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border-top: 1px solid var(--color-border);
}
.pv-avatar-card .ac-actions__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    background: var(--color-surface-elevated);
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}
.pv-avatar-card .ac-actions__btn--chat {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-strong));
    border-color: transparent;
    color: #fff;
}
.pv-avatar-card .ac-avatar--empty { display:flex; align-items:center; justify-content:center; background: rgba(92,124,250,0.08); color: var(--color-primary); font-size: 3rem; }

/* --- hidden-catalog --- */
.pv-hidden-catalog {
    --bg-secondary: var(--color-surface-muted, #10172b);
    --bg-tertiary: var(--color-surface-elevated, #141c31);
    --text-primary: var(--color-text, #e5e9ff);
    --text-secondary: var(--color-text-muted, #b4bad6);
    --border-color: var(--color-border, #1f2a44);
    --accent-color: var(--color-primary, #5c7cfa);
    --accent-soft: var(--color-primary-soft, rgba(92,124,250,0.18));
    --vip-color: var(--color-warning, #f8d57c);
    --bg-quaternary: var(--color-border-strong, #273352);
}
.pv-hidden-catalog .hc-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}
.pv-hidden-catalog .hc-results-bar__info {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}
.pv-hidden-catalog .hc-results-bar__name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}
.pv-hidden-catalog .hc-results-bar__count {
    font-size: 0.78rem;
    color: var(--accent-color);
    background: var(--accent-soft);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}
.pv-hidden-catalog .hc-results-bar__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.03);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
}
.pv-hidden-catalog .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px 12px;
    margin-bottom: 10px;
}
.pv-hidden-catalog .product-card {
    display: flex;
    flex-direction: row;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm, 8px);
    overflow: visible;
    min-height: 82px;
    height: 82px;
    position: relative;
    margin-bottom: 10px;
    box-shadow: var(--shadow-soft, 0 2px 8px rgba(0,0,0,0.18));
}
.pv-hidden-catalog .product-image-container {
    width: 100px;
    height: 100%;
    overflow: hidden;
    flex-shrink: 0;
    padding: 0;
    border-right: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    position: relative;
    background: rgba(0,0,0,0.15);
    border-radius: var(--radius-sm, 8px) 0 0 var(--radius-sm, 8px);
}
.pv-hidden-catalog .product-image-container > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--color-text-soft, #8790b5);
    text-decoration: none;
    font-size: 1.4rem;
    opacity: 0.55;
}
.pv-hidden-catalog .product-details {
    padding: 6px 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
    min-width: 0;
    position: relative;
    z-index: 1;
    justify-content: space-between;
}
.pv-hidden-catalog .product-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.pv-hidden-catalog .product-name {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 1px;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 4px;
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
}
.pv-hidden-catalog .product-name-link {
    color: var(--text-primary);
    text-decoration: none;
}
.pv-hidden-catalog .product-creator {
    font-size: 10px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0;
}
.pv-hidden-catalog .creator-link {
    color: var(--accent-color);
    text-decoration: none;
}
.pv-hidden-catalog .product-pid {
    font-size: 10px;
    color: var(--text-secondary);
    font-weight: 500;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
}
.pv-hidden-catalog .product-bottom-row {
    position: absolute;
    right: 4px;
    bottom: -14px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-quaternary) 0%, var(--bg-tertiary) 100%);
    border: none;
    border-radius: 16px;
    padding: 3px 3px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.1);
    z-index: 2;
}
.pv-hidden-catalog .product-actions { display: flex; gap: 0; }
.pv-hidden-catalog .product-action-btn {
    display: inline-block;
    padding: 2px 8px;
    text-align: center;
    background-color: transparent;
    color: var(--text-primary);
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    position: relative;
    margin: 0 1px;
}
.pv-hidden-catalog .product-action-btn:not(:last-child):after {
    content: '';
    position: absolute;
    right: -2px;
    top: 25%;
    height: 50%;
    width: 1px;
    background-color: var(--border-color);
    opacity: 0.5;
}
.pv-hidden-catalog .btn-view { background-color: rgba(160,192,224,0.05); }
.pv-hidden-catalog .btn-try {
    background-color: rgba(255,204,0,0.05);
    color: var(--vip-color);
    text-shadow: 0 0 3px rgba(255,204,0,0.2);
    font-weight: bold;
}
.pv-hidden-catalog .hc-badges {
    position: absolute;
    top: 4px;
    left: 4px;
    display: flex;
    gap: 4px;
    z-index: 3;
}
.pv-hidden-catalog .hc-badge--hidden, .pv-hidden-catalog .hc-badge--ap {
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0;
    border-radius: 0;
    background: none;
}
.pv-hidden-catalog .hc-badge--hidden {
    color: #ff5c5c;
    text-shadow: 0 0 6px rgba(255,92,92,0.8), 0 0 14px rgba(255,92,92,0.4);
}
.pv-hidden-catalog .hc-badge--ap {
    color: #e879f9;
    text-shadow: 0 0 6px rgba(232,121,249,0.8), 0 0 14px rgba(232,121,249,0.4);
}
.pv-hidden-catalog .product-card--ap {
    border-color: rgba(232,121,249,0.5);
    box-shadow: 0 0 8px rgba(232,121,249,0.25), 0 0 20px rgba(232,121,249,0.1);
}

/* --- name-history --- */
.pv-name-history {
    --bg-primary: var(--color-surface, #0d1323);
    --bg-secondary: var(--color-surface-muted, #10172b);
    --bg-tertiary: var(--color-surface-elevated, #141c31);
    --bg-quaternary: var(--color-border-strong, #273352);
    --text-primary: var(--color-text, #e5e9ff);
    --text-secondary: var(--color-text-muted, #b4bad6);
    --text-tertiary: var(--color-text-soft, #8790b5);
    --border-color: var(--color-border, #1f2a44);
    --accent-color: var(--color-primary, #5c7cfa);
    --online-color: var(--color-success, #4fd187);
    --offline-color: #c08040;
    --vip-color: var(--color-warning, #f8d57c);
    --error-bg: rgba(243, 112, 112, 0.08);
    --error-border: rgba(243, 112, 112, 0.2);
    --error-text: var(--color-danger, #f37070);
}
.pv-name-history .current-info {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md, 14px);
    padding: 20px;
    margin-bottom: 24px;
}
.pv-name-history .current-info h4 {
    color: var(--text-primary);
    margin: 0 0 16px 0;
}
.pv-name-history .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}
.pv-name-history .info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pv-name-history .info-label {
    font-weight: bold;
    color: var(--text-secondary);
}
.pv-name-history .info-value {
    color: var(--text-primary);
}
.pv-name-history .history-timeline {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md, 14px);
    padding: 20px;
}
.pv-name-history .history-timeline h4 {
    color: var(--text-primary);
    margin: 0 0 20px 0;
}
.pv-name-history .timeline-container {
    position: relative;
    padding-left: 30px;
}
.pv-name-history .timeline-container::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
}
.pv-name-history .timeline-item {
    position: relative;
    margin-bottom: 24px;
}
.pv-name-history .timeline-marker {
    position: absolute;
    left: -23px;
    top: 8px;
    width: 12px;
    height: 12px;
    background-color: var(--accent-color);
    border-radius: 50%;
    border: 2px solid var(--bg-primary);
}
.pv-name-history .timeline-content {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm, 8px);
    padding: 16px;
}
.pv-name-history .timeline-username {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.pv-name-history .timeline-dates {
    display: flex;
    gap: 16px;
}
.pv-name-history .timeline-date {
    font-size: 14px;
    color: var(--text-secondary);
}
.pv-name-history .detailed-history {
    padding: 24px;
}
.pv-name-history .detailed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}
.pv-name-history .detailed-header h3 {
    color: var(--text-primary);
    margin: 0;
}
@media (max-width: 768px) {
.pv-name-history .info-grid { grid-template-columns: 1fr; }
.pv-name-history .timeline-container { padding-left: 20px; }
.pv-name-history .timeline-marker { left: -18px; }
}

/* --- outfit-viewer --- */
.pv-outfit-viewer {
    --bg-primary: var(--color-surface, #0d1323);
    --bg-secondary: var(--color-surface-muted, #10172b);
    --bg-tertiary: var(--color-surface-elevated, #141c31);
    --bg-quaternary: var(--color-border-strong, #273352);
    --text-primary: var(--color-text, #e5e9ff);
    --text-secondary: var(--color-text-muted, #b4bad6);
    --text-tertiary: var(--color-text-soft, #8790b5);
    --border-color: var(--color-border, #1f2a44);
    --accent-color: var(--color-primary, #5c7cfa);
    --online-color: var(--color-success, #4fd187);
    --offline-color: #c08040;
    --vip-color: var(--color-warning, #f8d57c);
    --error-bg: rgba(243, 112, 112, 0.08);
    --error-border: rgba(243, 112, 112, 0.2);
    --error-text: var(--color-danger, #f37070);
}
.pv-outfit-viewer .outfit-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.pv-outfit-viewer .avatar-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md, 14px);
    overflow: hidden;
    background-color: var(--bg-secondary);
}
.pv-outfit-viewer .avatar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}
.pv-outfit-viewer .avatar-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.pv-outfit-viewer .avatar-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    object-fit: cover;
}
.pv-outfit-viewer .avatar-details {
    display: flex;
    flex-direction: column;
}
.pv-outfit-viewer .avatar-name {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
}
.pv-outfit-viewer .avatar-id {
    font-size: 12px;
    color: var(--text-secondary);
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
}
.pv-outfit-viewer .avatar-profile-link {
    padding: 6px 14px;
    background-color: var(--bg-quaternary);
    border-radius: var(--radius-pill, 999px);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
    border: 1px solid var(--border-color);
    font-family: var(--font-base, 'Inter', sans-serif);
}
.pv-outfit-viewer .avatar-profile-link:hover {
    background-color: rgba(92, 124, 250, 0.12);
    border-color: var(--accent-color);
    color: var(--accent-color);
}
.pv-outfit-viewer .products-container {
    padding: 12px;
}
.pv-outfit-viewer .products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}
.pv-outfit-viewer .try-outfit-button {
    padding: 3px 10px;
    background: linear-gradient(135deg, var(--vip-color), #ffe066);
    color: #1a1a1a;
    border-radius: var(--radius-pill, 999px);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.pv-outfit-viewer .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px 12px;
    margin-bottom: 10px;
}
.pv-outfit-viewer .product-card {
    display: flex;
    flex-direction: row;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm, 8px);
    overflow: visible;
    transition: all 0.25s ease;
    min-height: 82px;
    height: 82px;
    position: relative;
    margin-bottom: 10px;
    box-shadow: var(--shadow-soft, 0 2px 16px rgba(0,0,0,.18));
}
.pv-outfit-viewer .product-image-container {
    width: 100px;
    height: 80px;
    overflow: hidden;
    flex-shrink: 0;
    padding: 0;
    border-right: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    margin: 2px 1px 2px 1px;
}
.pv-outfit-viewer .product-details {
    padding: 6px 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
    min-width: 0;
    position: relative;
    z-index: 1;
    justify-content: space-between;
}
.pv-outfit-viewer .product-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.pv-outfit-viewer .product-name {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 1px;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 4px;
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
}
.pv-outfit-viewer .product-name-link {
    color: var(--text-primary);
    text-decoration: none;
}
.pv-outfit-viewer .product-name-link:hover {
    color: var(--accent-color);
}
.pv-outfit-viewer .product-creator {
    font-size: 10px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0;
}
.pv-outfit-viewer .creator-link {
    color: var(--accent-color);
    text-decoration: none;
}
.pv-outfit-viewer .creator-link:hover {
    color: var(--text-primary);
}
.pv-outfit-viewer .product-price {
    font-size: 12px;
    font-weight: 700;
    color: var(--vip-color);
    margin-top: auto;
    padding-top: 2px;
    position: relative;
    z-index: 1;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
}
.pv-outfit-viewer .product-bottom-row {
    position: absolute;
    right: 6px;
    bottom: -14px;
    display: flex;
    align-items: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill, 999px);
    padding: 3px 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    z-index: 2;
    transition: all 0.2s ease;
}
.pv-outfit-viewer .product-actions {
    display: flex;
    gap: 0;
}
.pv-outfit-viewer .product-action-btn {
    display: inline-block;
    padding: 3px 10px;
    text-align: center;
    background-color: transparent;
    color: var(--text-primary);
    border-radius: var(--radius-pill, 999px);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    position: relative;
    margin: 0 1px;
    font-family: var(--font-base, 'Inter', sans-serif);
}
.pv-outfit-viewer .product-action-btn:not(:last-child):after {
    content: '';
    position: absolute;
    right: -2px;
    top: 25%;
    height: 50%;
    width: 1px;
    background-color: var(--border-color);
    opacity: 0.5;
}
.pv-outfit-viewer .btn-view {
    background-color: rgba(160,192,224,0.05);
}
.pv-outfit-viewer .btn-try {
    background-color: rgba(248, 213, 124, 0.08);
    color: var(--vip-color);
    font-weight: 700;
}
.pv-outfit-viewer .avatar-photo-ph {
    width: 48px; height: 48px; border-radius: 50%;
    border: 2px solid var(--accent-color);
    background: var(--bg-quaternary);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-color); font-size: 18px; flex-shrink: 0; box-sizing: border-box;
}
.pv-outfit-viewer .product-image-ph {
    width: 100px; height: 80px;
    background: rgba(92, 124, 250, 0.10);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-color); font-size: 26px; opacity: .85;
}

/* --- product-tags --- */
.pv-product-tags {
    --bg-primary: var(--color-surface, #0d1323);
    --bg-secondary: var(--color-surface-muted, #10172b);
    --bg-tertiary: var(--color-surface-elevated, #141c31);
    --bg-quaternary: var(--color-border-strong, #273352);
    --text-primary: var(--color-text, #e5e9ff);
    --text-secondary: var(--color-text-muted, #b4bad6);
    --text-tertiary: var(--color-text-soft, #8790b5);
    --border-color: var(--color-border, #1f2a44);
    --accent-color: var(--color-primary, #5c7cfa);
    --online-color: var(--color-success, #4fd187);
    --offline-color: #c08040;
    --vip-color: var(--color-warning, #f8d57c);
}
.pv-product-tags .product-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md, 14px);
    overflow: hidden;
    margin: 0;
    box-shadow: var(--shadow-soft, 0 2px 8px rgba(0,0,0,0.18));
}
.pv-product-tags .product-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 12px;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}
.pv-product-tags .product-card-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pv-product-tags .product-card-header-name {
    font-weight: bold;
}
.pv-product-tags .product-card-close {
    color: var(--text-secondary);
}
.pv-product-tags .product-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    background-color: var(--bg-primary);
}
.pv-product-tags .product-left-section {
    display: flex;
    gap: 16px;
}
.pv-product-tags .product-image-container {
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.15);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm, 8px);
    color: var(--text-tertiary);
    font-size: 2.4rem;
    opacity: 0.8;
}
.pv-product-tags .product-info-wrapper {
    flex: 1;
}
.pv-product-tags .product-header-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
.pv-product-tags .product-basic-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: var(--text-primary);
}
.pv-product-tags .product-category {
    text-align: right;
    font-size: 12px;
    color: var(--text-primary);
}
.pv-product-tags .product-meta {
    text-align: right;
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 4px;
}
.pv-product-tags .sections-container {
    background: var(--bg-secondary);
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm, 8px);
}
.pv-product-tags .info-section {
    background: var(--bg-tertiary);
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm, 8px);
}
.pv-product-tags .info-section-title {
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 8px;
    text-transform: lowercase;
}
.pv-product-tags .info-section-content {
    font-size: 12px;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 10px;
    background: var(--bg-quaternary);
    padding: 8px;
    border-radius: var(--radius-sm, 8px);
    border: 1px solid var(--border-color);
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
}
.pv-product-tags .copy-tags {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pv-product-tags .copy-button {
    background: linear-gradient(135deg, var(--accent-color), var(--color-primary-strong, #7b91ff));
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: var(--radius-pill, 999px);
    font-size: 12px;
    font-weight: 600;
}
.pv-product-tags .product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 16px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-tertiary);
    margin: 0;
}
.pv-product-tags .product-action-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
}
.pv-product-tags .creator-link {
    color: var(--accent-color);
    text-decoration: none;
}
.pv-product-tags .product-buttons {
    display: flex;
    gap: 8px;
    padding: 8px 16px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-tertiary);
    margin: 0;
}
.pv-product-tags .product-button {
    flex: 1;
    padding: 6px 12px;
    text-align: center;
    background-color: var(--bg-quaternary);
    border: none;
    border-radius: var(--radius-pill, 999px);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
}
.pv-product-tags .product-button-search {
    background-color: var(--vip-color);
    color: #000;
}

/* --- room-history --- */
.pv-room-history {
        --bg-primary: var(--color-surface, #0d1323);
        --bg-secondary: var(--color-surface-muted, #10172b);
        --bg-tertiary: var(--color-surface-elevated, #141c31);
        --bg-quaternary: var(--color-border-strong, #273352);
        --text-primary: var(--color-text, #e5e9ff);
        --text-secondary: var(--color-text-muted, #b4bad6);
        --text-tertiary: var(--color-text-soft, #8790b5);
        --border-color: var(--color-border, #1f2a44);
        --accent-color: var(--color-primary, #5c7cfa);
        --online-color: var(--color-success, #4fd187);
        --offline-color: #c08040;
        --vip-color: var(--color-warning, #f8d57c);
        --error-bg: rgba(243, 112, 112, 0.08);
        --error-border: rgba(243, 112, 112, 0.2);
        --error-text: var(--color-danger, #f37070);
    }
.pv-room-history .results-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin: 16px 0 0;
    }
.pv-room-history .result-card {
        display: grid;
        grid-template-columns: 152px minmax(0, 1fr) auto;
        gap: var(--space-md, 20px);
        align-items: start;
        padding: 14px;
        background-color: var(--bg-primary);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-lg, 20px);
        box-shadow: var(--shadow-soft, 0 2px 16px rgba(0,0,0,.18));
        transition: border-color 0.28s ease;
    }
.pv-room-history .result-card:hover {
        border-color: rgba(77, 184, 255, 0.3);
    }
.pv-room-history .room-thumb {
        display: block;
        width: 152px;
        height: 104px;
        border-radius: var(--radius-md, 14px);
        border: 1px solid var(--border-color);
        background: var(--bg-tertiary);
        object-fit: cover;
        object-position: top center;
    }
.pv-room-history .room-thumb--empty {
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-tertiary);
        font-size: 1.5rem;
    }
.pv-room-history .room-main {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
.pv-room-history .room-head {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 2px 12px;
    }
.pv-room-history .room-name {
        margin: 0;
        font-family: var(--font-display, 'Space Grotesk', sans-serif);
        font-size: 1.1rem;
        font-weight: 600;
        line-height: 1.25;
        color: var(--text-primary);
        overflow-wrap: anywhere;
    }
.pv-room-history .creator-name {
        font-size: 0.88rem;
        color: var(--text-secondary);
    }
.pv-room-history .creator-name span {
        color: var(--color-primary-strong, #7dcfff);
    }
.pv-room-history .room-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 2px 16px;
        font-size: 0.88rem;
        color: var(--text-secondary);
    }
.pv-room-history .visit-time-value, .pv-room-history .occupancy-value {
        color: var(--text-primary);
        font-weight: 600;
    }
.pv-room-history .room-rating {
        color: var(--vip-color);
        font-weight: 600;
    }
.pv-room-history .room-people__label {
        margin-bottom: 6px;
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--text-tertiary);
    }
.pv-room-history .room-people__label--none {
        margin-bottom: 0;
        font-weight: 500;
        letter-spacing: 0;
        text-transform: none;
        font-size: 0.88rem;
    }
.pv-room-history .room-people__list {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }
.pv-room-history .rc-person {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 5px 12px;
        border-radius: var(--radius-pill, 999px);
        border: 1px solid var(--border-color);
        background: var(--bg-tertiary);
        color: var(--text-primary);
        font-size: 0.88rem;
        line-height: 1.2;
        text-decoration: none;
        transition: color 0.28s ease, background 0.28s ease, border-color 0.28s ease;
    }
.pv-room-history .rc-person:hover, .pv-room-history .rc-person:focus-visible {
        color: var(--color-primary-strong, #7dcfff);
        background: rgba(77, 184, 255, 0.08);
        border-color: rgba(77, 184, 255, 0.3);
    }
.pv-room-history .rc-person--searched {
        color: var(--color-primary-strong, #7dcfff);
        background: rgba(77, 184, 255, 0.14);
        border-color: rgba(77, 184, 255, 0.35);
        font-weight: 600;
    }
.pv-room-history .rc-person--searched i {
        font-size: 0.7rem;
    }
.pv-room-history .room-people__more {
        flex: 0 1 auto;
        min-width: 0;
    }
.pv-room-history .room-people__more[open] {
        flex-basis: 100%;
    }
.pv-room-history .room-people__more > summary {
        display: inline-flex;
        align-items: center;
        padding: 5px 12px;
        border-radius: var(--radius-pill, 999px);
        border: 1px dashed var(--bg-quaternary);
        color: var(--text-secondary);
        font-size: 0.88rem;
        cursor: pointer;
        list-style: none;
    }
.pv-room-history .room-people__more > summary::-webkit-details-marker {
        display: none;
    }
.pv-room-history .room-people__more > summary:hover, .pv-room-history .room-people__more > summary:focus-visible {
        color: var(--text-primary);
        border-color: var(--text-tertiary);
    }
.pv-room-history .room-people__more[open] > summary {
        display: none;
    }
.pv-room-history .room-acts {
        display: flex;
        flex-direction: column;
        gap: 6px;
        min-width: 110px;
    }
.pv-room-history .room-act-form {
        display: contents;
        margin: 0;
    }
.pv-room-history .room-act {
        width: 100%;
        justify-content: flex-start;
    }
.pv-room-history .room-act i {
        width: 1.1em;
        text-align: center;
        font-size: 0.8em;
    }
.pv-room-history .room-act--join {
        color: var(--online-color);
        border-color: rgba(79, 209, 135, 0.3);
    }
@media (max-width: 760px) {
.pv-room-history .result-card {
            grid-template-columns: 112px minmax(0, 1fr);
        }
.pv-room-history .room-thumb {
            width: 112px;
            height: 80px;
        }
.pv-room-history .room-acts {
            grid-column: 1 / -1;
            flex-direction: row;
            flex-wrap: wrap;
        }
.pv-room-history .room-act {
            width: auto;
            flex: 1 1 0;
            justify-content: center;
        }
}

/* --- track-user --- */
.pv-track-user .tk-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.pv-track-user .tk-card {
    background: var(--color-surface, #0d1323);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 14px; padding: 20px;
}
.pv-track-user .tk-card__top { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.pv-track-user .tk-card__avatar--empty { display:flex; align-items:center; justify-content:center; color: var(--color-text-soft); font-size: 1.3rem; }
.pv-track-user .tk-card__avatar {
    width: 56px; height: 56px; border-radius: 12px;
    object-fit: cover; flex-shrink: 0;
    background: rgba(255,255,255,0.03);
}
.pv-track-user .tk-card__info { flex: 1; min-width: 0; }
.pv-track-user .tk-card__name {
    font-weight: 600; font-size: 1.05rem;
    color: var(--color-text, #e5e9ff);
    display: flex; align-items: center; gap: 8px;
}
.pv-track-user .tk-card__cid { font-size: 0.78rem; color: var(--color-text-soft, #8790b5); margin-top: 2px; }
.pv-track-user .tk-card__remove {
    background: none; border: none; color: var(--color-text-soft, #8790b5);
    cursor: pointer; font-size: 1.1rem; padding: 4px;
}
.pv-track-user .tk-status {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 10px; border-radius: 999px;
    font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
}
.pv-track-user .tk-status--active { background: rgba(79,209,135,0.15); color: #4fd187; }
.pv-track-user .tk-status--inactive { background: rgba(255,255,255,0.05); color: var(--color-text-soft, #8790b5); }
.pv-track-user .tk-rooms { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.pv-track-user .tk-room {
    background: rgba(255,255,255,0.025); border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.85rem; color: var(--color-text-muted, #b4bad6);
    display: flex; align-items: center; gap: 8px;
}
.pv-track-user .tk-room i { opacity: 0.6; flex-shrink: 0; }
.pv-track-user .tk-room__name { color: var(--color-text, #e5e9ff); font-weight: 500; }
.pv-track-user .tk-room__creator { font-size: 0.78rem; color: var(--color-text-soft, #8790b5); margin-left: auto; }
.pv-track-user .tk-room__img {
    width: 32px; height: 32px; border-radius: 6px;
    object-fit: cover; flex-shrink: 0;
}
.pv-track-user .tk-room--empty {
    font-style: italic; color: var(--color-text-soft, #8790b5);
    padding: 8px 14px; font-size: 0.82rem;
}
.pv-track-user .tk-events:empty { display:none; }
.pv-track-user .tk-event {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 0; font-size: 0.82rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    color: var(--color-text-muted, #b4bad6);
}
.pv-track-user .tk-event:last-child { border-bottom: none; }
.pv-track-user .tk-event__icon { width: 20px; text-align: center; flex-shrink: 0; }
.pv-track-user .tk-event__icon--join { color: #4fd187; }
.pv-track-user .tk-event__icon--leave { color: #f25f5c; }
.pv-track-user .tk-event__time { margin-left: auto; font-size: 0.75rem; color: var(--color-text-soft, #8790b5); white-space: nowrap; }
.pv-track-user .tk-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pv-track-user .tk-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: 999px;
    font-size: 0.8rem; font-weight: 500; cursor: pointer;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: var(--color-text-muted, #b4bad6);
    text-decoration: none;
}
