:root {
    --brand-orange: #fc4c02;
    --brand-dark: #333;
    --brand-bg: #fbfaf5;
    --brand-light-grey: #e0e0e0;
    --accent-sand: #d9c4a4;
    --accent-sage: #b8c9b0;
    --accent-rose: #d9b5b2;
    --accent-mist: #b7c2cc;
    --brand-font-serif: "Georgia", "Times New Roman", serif;
    --brand-font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --nav-height: 60px;
}

body {
    margin: 0;
    overflow: hidden;
    font-family: var(--brand-font-sans);
    background-color: var(--brand-bg);
    background-image:
        radial-gradient(circle at 10% 12%, rgba(252, 76, 2, 0.05), transparent 34%),
        radial-gradient(circle at 92% 18%, rgba(217, 196, 164, 0.10), transparent 38%),
        radial-gradient(circle at 18% 88%, rgba(184, 201, 176, 0.10), transparent 40%),
        radial-gradient(circle at 82% 86%, rgba(217, 181, 178, 0.10), transparent 40%);
    color: var(--brand-dark);
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
nav {
    height: var(--nav-height);
    background: #fff;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.logo {
    font-family: var(--brand-font-serif);
    font-size: 20px;
    color: var(--brand-orange);
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-item {
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s;
    color: #666;
}

.nav-item:hover, .nav-item.active {
    background: var(--brand-orange);
    color: #fff;
}

/* Main Container */
main {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.view-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: var(--brand-bg);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    padding: 20px;
    box-sizing: border-box;
}

.view-section.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
    z-index: 10;
}

/* Buttons */
.btn-primary {
    background: var(--brand-orange);
    color: #fff;
    border: none;
    padding: 10px 25px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: var(--brand-font-serif);
    letter-spacing: 1px;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(252, 76, 2, 0.3);
}
.btn-secondary {
    background: #fff;
    color: var(--brand-dark);
    border: 1px solid #ccc;
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-secondary:hover {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
}
.btn-outline {
    background: transparent;
    color: var(--brand-orange);
    border: 1px solid var(--brand-orange);
    padding: 10px 25px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-outline:hover {
    background: var(--brand-orange);
    color: #fff;
}

/* Profile View */
#view-profile {
    padding: 32px 40px 40px;
    max-width: 1180px;
    margin: 0 auto;
}
.profile-shell {
    display: grid;
    gap: 24px;
}
.profile-hero-card,
.profile-form-card {
    background: rgba(255,255,255,0.92);
    border: 1px solid #eee7e2;
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.06);
}
.profile-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
    gap: 24px;
    padding: 30px;
    align-items: center;
}
.profile-kicker {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brand-orange);
    margin-bottom: 10px;
}
.profile-title {
    margin: 0 0 10px;
    font-family: var(--brand-font-serif);
    font-size: 38px;
}
.profile-subtitle {
    margin: 0;
    color: #666;
    line-height: 1.7;
    max-width: 620px;
}
.profile-stat-row {
    display: flex;
    gap: 14px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.profile-stat-card {
    min-width: 140px;
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff7f3, #fff);
    border: 1px solid #f3dfd5;
}
.profile-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--brand-orange);
    margin-bottom: 6px;
}
.profile-stat-label {
    font-size: 13px;
    color: #666;
}
.profile-preview-card {
    padding: 26px 24px;
    border-radius: 22px;
    background: linear-gradient(160deg, #fffaf7, #fff);
    border: 1px solid #f1e4dc;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.profile-avatar-img,
.profile-avatar-fallback {
    width: 110px;
    height: 110px;
    border-radius: 28px;
}
.profile-avatar-img {
    object-fit: cover;
    box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}
.profile-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffb06b, var(--brand-orange));
    color: #fff;
    font-size: 32px;
    font-weight: 700;
}
.profile-preview-name {
    margin-top: 14px;
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-dark);
}
.profile-preview-email {
    margin-top: 6px;
    color: #777;
    word-break: break-word;
}
.profile-form-card {
    padding: 28px 30px 30px;
}
.profile-visibility-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid #f0e4dc;
    background: linear-gradient(180deg, #fff8f3, #fffdfb);
    border-radius: 20px;
    padding: 16px 18px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.profile-visibility-banner-title {
    font-size: 14px;
    font-weight: 700;
    color: #6d4a3b;
}
.profile-visibility-banner-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.profile-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f2efed;
    color: #776861;
    font-size: 12px;
    font-weight: 700;
}
.profile-status-pill.active {
    background: #fff0e8;
    color: var(--brand-orange);
}
.profile-field + .profile-field {
    margin-top: 24px;
}
.profile-email-static {
    min-height: 46px;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid #e3e3e3;
    background: #fafafa;
    color: #666;
    box-sizing: border-box;
}
.profile-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.profile-section-title {
    font-size: 18px;
    font-family: var(--brand-font-serif);
    margin-bottom: 6px;
}
.profile-section-hint {
    color: #777;
    font-size: 13px;
    line-height: 1.6;
    max-width: 680px;
}
.avatar-preset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 14px;
}
.avatar-preset-card {
    border: 1px solid #ebe3de;
    background: #fff;
    border-radius: 18px;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.avatar-preset-card:hover {
    transform: translateY(-2px);
    border-color: #e8b298;
    box-shadow: 0 8px 20px rgba(252, 76, 2, 0.10);
}
.avatar-preset-card.active {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px rgba(252, 76, 2, 0.12);
    background: #fff7f3;
}
.avatar-preset-img,
.avatar-preset-fallback {
    width: 72px;
    height: 72px;
    border-radius: 20px;
}
.avatar-preset-img {
    object-fit: cover;
}
.avatar-preset-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffb06b, var(--brand-orange));
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}
.avatar-preset-name {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    text-align: center;
    line-height: 1.4;
}
.profile-upload-card,
.profile-security-card {
    border: 1px solid #ebe3de;
    border-radius: 18px;
    background: #fff;
}
.profile-upload-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
}
.profile-upload-card.active {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px rgba(252, 76, 2, 0.08);
    background: #fff7f3;
}
.profile-upload-preview {
    flex: 0 0 auto;
}
.profile-upload-avatar,
.profile-upload-fallback {
    width: 84px;
    height: 84px;
    border-radius: 22px;
}
.profile-upload-avatar {
    object-fit: cover;
}
.profile-upload-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffb06b, var(--brand-orange));
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}
.profile-upload-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}
.profile-upload-status {
    color: #666;
    line-height: 1.6;
}
.profile-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.profile-security-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.profile-security-card {
    padding: 18px;
}
.profile-security-label {
    font-size: 14px;
    font-weight: 700;
    color: #444;
    margin-bottom: 10px;
}
.profile-verify-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff1eb;
    color: #b74f1b;
    font-size: 13px;
    font-weight: 700;
}
.profile-verify-status.verified {
    background: #e6f6ea;
    color: #24753d;
}
.profile-inline-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.profile-password-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.profile-password-labels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 8px;
    font-size: 12px;
    color: #777;
}
.profile-password-tip {
    margin-top: 12px;
    font-size: 12px;
    color: #777;
    line-height: 1.6;
}
.profile-visibility-grid {
    display: grid;
    gap: 14px;
}
.profile-toggle-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid #ebe3de;
    border-radius: 18px;
    background: #fff;
    padding: 18px;
    cursor: pointer;
}
.profile-toggle-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.profile-toggle-title {
    font-size: 15px;
    font-weight: 700;
    color: #444;
}
.profile-toggle-hint {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
}
.profile-toggle-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.profile-toggle-slider {
    position: relative;
    width: 54px;
    height: 30px;
    border-radius: 999px;
    background: #ddd4cf;
    flex: 0 0 auto;
    transition: background 0.2s ease;
}
.profile-toggle-slider::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}
.profile-toggle-input:checked + .profile-toggle-slider {
    background: var(--brand-orange);
}
.profile-toggle-input:checked + .profile-toggle-slider::after {
    transform: translateX(24px);
}
.profile-action-row {
    margin-top: 28px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

/* Home View */
#view-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    filter: blur(2px);
    animation: float-orb var(--orb-dur, 8s) ease-in-out infinite var(--orb-delay, 0s);
}
@keyframes float-orb {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-25px) scale(1.08); }
}
.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-badge {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brand-orange);
    margin-bottom: 20px;
    opacity: 0.8;
}
.hero-title {
    font-family: var(--brand-font-serif);
    font-size: 52px;
    margin-bottom: 20px;
    color: var(--brand-dark);
    line-height: 1.1;
}
.hero-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    max-width: 560px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Collection View */
#view-collection {
    padding: 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}
.collection-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.collection-orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    filter: blur(3px);
    animation: float-orb var(--orb-dur, 12s) ease-in-out infinite var(--orb-delay, 0s);
}
#view-collection > *:not(.collection-orbs) {
    position: relative;
    z-index: 1;
}
.collection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    gap: 20px;
    flex-wrap: wrap;
}
.collection-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}
.collection-search {
    padding: 9px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    width: 200px;
    transition: all 0.2s;
    outline: none;
}
.collection-search:focus {
    border-color: var(--brand-orange);
    width: 240px;
    box-shadow: 0 0 0 3px rgba(252, 76, 2, 0.08);
}
.collection-manager-card {
    background: rgba(255,255,255,0.92);
    border: 1px solid #eee4dd;
    border-radius: 18px;
    padding: 18px 20px;
    margin-bottom: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.04);
}
.collection-folder-row,
.collection-toolbar-row,
.collection-meta-row,
.collection-public-head,
.collection-public-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.collection-toolbar-row,
.collection-public-head {
    justify-content: space-between;
    margin-top: 14px;
}
.collection-folder-tab,
.collection-toggle-btn {
    border: 1px solid #ecdacf;
    background: #fff9f5;
    color: #6d5b55;
    border-radius: 999px;
    padding: 9px 14px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}
.collection-folder-tab.active,
.collection-toggle-btn.active {
    background: var(--brand-orange);
    color: #fff;
    border-color: var(--brand-orange);
}
.collection-folder-tab:hover,
.collection-toggle-btn:hover {
    transform: translateY(-1px);
}
.collection-folder-icon {
    margin-right: 6px;
}
.collection-small-btn {
    padding: 8px 14px;
    font-size: 13px;
}
.collection-toolbar-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.collection-meta-row {
    margin-top: 14px;
}
.collection-status-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f6f1ed;
    color: #8b6e62;
    font-size: 12px;
}
.collection-status-chip.active {
    background: #fff0e8;
    color: var(--brand-orange);
}
.collection-public-owner {
    color: #8c6d60;
    font-size: 13px;
}
.collection-public-name {
    font-family: var(--brand-font-serif);
    font-size: 22px;
    color: var(--brand-orange);
    margin-top: 4px;
}
.collection-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #aaa;
    padding: 60px 20px;
    font-size: 15px;
}
.empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 70px 24px 60px;
    color: #888;
}
.empty-state-orbs {
    position: relative;
    width: 160px;
    height: 90px;
    margin-bottom: 22px;
}
.empty-state-orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.55;
    filter: blur(0.5px);
    animation: float-orb 7s ease-in-out infinite var(--orb-delay, 0s);
}
.empty-state-message {
    font-size: 15px;
    color: #888;
    max-width: 360px;
    line-height: 1.7;
    margin-bottom: 6px;
}
.empty-state-quote {
    font-family: var(--brand-font-serif);
    font-style: italic;
    font-size: 14px;
    color: #b7a99a;
    margin-top: 12px;
    max-width: 380px;
    line-height: 1.7;
}
.perfume-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
.perfume-card {
    background: #fff;
    border: 1px solid #eee;
    border-left: 4px solid var(--card-accent, var(--brand-light-grey));
    border-radius: 12px;
    padding: 20px 20px 20px 22px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    background-image: linear-gradient(135deg, var(--card-tint, rgba(255,255,255,0)) 0%, rgba(255,255,255,0) 60%);
}
.perfume-card:hover {
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}
.perfume-name {
    font-family: var(--brand-font-serif);
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 2px;
    color: var(--brand-dark);
    padding-right: 50px;
}
.perfume-brand {
    font-size: 12px;
    color: #aaa;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.note-indicators {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.note-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.08);
}
.perfume-notes {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}
.note-line {
    display: flex;
    margin-bottom: 4px;
}
.note-label {
    font-weight: bold;
    width: 40px;
    color: #999;
}
.card-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
}
.delete-btn, .edit-btn {
    color: #bbb;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: color 0.2s;
}
.delete-btn { font-size: 18px; }
.delete-btn:hover { color: #f00; }
.edit-btn:hover { color: var(--brand-orange); }
.add-perfume-card {
    border: 2px dashed #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    cursor: pointer;
    color: #999;
    background: #fafafa;
}
.add-perfume-card:hover {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
    background: #fff5f0;
}

/* Card View (Visualization) */
#view-card { padding: 0; overflow: hidden; display: flex; }
#viz-container {
    flex: 1;
    height: 100%;
    background: var(--brand-bg);
    position: relative;
}
.viz-selection-bar {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #eee;
    border-radius: 999px;
    padding: 10px 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 30;
    max-width: calc(100% - 48px);
}
.viz-selection-bar[hidden] { display: none; }
.viz-selection-label {
    font-size: 12px;
    color: #999;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding-left: 6px;
    flex-shrink: 0;
}
.viz-selection-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 0 0 auto;
    max-width: 420px;
}
.viz-selection-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff5f0;
    color: var(--brand-dark);
    border: 1px solid #ffd9c4;
    padding: 4px 10px 4px 8px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.4;
}
.viz-selection-chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.viz-selection-chip-remove {
    cursor: pointer;
    color: #c98a4b;
    font-size: 16px;
    line-height: 1;
}
.viz-selection-chip-remove:hover { color: var(--brand-orange); }
.viz-selection-search {
    font-size: 13px !important;
    padding: 8px 18px !important;
    flex-shrink: 0;
}
.viz-selection-search:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.viz-selection-clear {
    background: transparent;
    border: none;
    color: #999;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 10px;
    flex-shrink: 0;
}
.viz-selection-clear:hover { color: var(--brand-orange); }

.combo-modal-subtitle {
    font-size: 13px;
    color: #888;
    margin-bottom: 16px;
    line-height: 1.6;
}
.combo-modal-body {
    flex: 1;
    overflow-y: auto;
    min-height: 120px;
}
.combo-modal-status {
    text-align: center;
    color: #aaa;
    padding: 30px 0;
    font-size: 14px;
}
.combo-suggestion {
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}
.combo-suggestion:last-child { border-bottom: none; }
.combo-suggestion-name {
    font-family: var(--brand-font-serif);
    font-size: 17px;
    color: var(--brand-dark);
    font-weight: 600;
    margin-bottom: 2px;
}
.combo-suggestion-brand {
    font-size: 12px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.combo-suggestion-reason {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
}
.combo-modal-footer {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}
.combo-modal-disclaimer {
    font-size: 11px;
    color: #b0b0b0;
    line-height: 1.5;
}
.card-sidebar {
    width: 320px;
    background: rgba(255, 255, 255, 0.95);
    border-right: 1px solid #eee;
    padding: 30px;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
    z-index: 20;
}
.card-title {
    font-family: var(--brand-font-serif);
    font-size: 28px;
    color: var(--brand-orange);
    margin: 0 0 10px 0;
    line-height: 1.2;
}
.poetic-quote {
    font-family: "KaiTi", "楷体", var(--brand-font-serif);
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
    border-left: 3px solid #eee;
    padding-left: 15px;
}
.music-card-block {
    margin-bottom: 28px;
    padding: 18px 18px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fffaf7, #fff);
    border: 1px solid #f0e3db;
}
.music-card-kicker {
    font-size: 11px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #a77860;
    margin-bottom: 8px;
}
.music-card-title {
    font-family: var(--brand-font-serif);
    font-size: 20px;
    color: var(--brand-dark);
    line-height: 1.3;
}
.music-card-composer {
    margin-top: 6px;
    font-size: 13px;
    color: #8a7c73;
}
.music-card-reason {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.7;
    color: #5f564f;
}
.music-card-link {
    display: inline-flex;
    margin-top: 14px;
    color: var(--brand-orange);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}
.music-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
}
.music-card-actions .music-card-link {
    margin-top: 0;
}
.music-refresh-btn {
    padding: 8px 14px;
    font-size: 12px;
}
.music-card-link:hover {
    text-decoration: underline;
}
.analysis-section h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-top: 25px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.info-tip {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: help;
    outline: none;
}
.info-tip-icon {
    font-size: 13px;
    color: #bbb;
    transition: color 0.2s;
}
.info-tip:hover .info-tip-icon,
.info-tip:focus .info-tip-icon { color: var(--brand-orange); }
.info-tip-bubble {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 240px;
    background: #fff;
    color: #444;
    font-size: 12px;
    line-height: 1.55;
    letter-spacing: 0;
    text-transform: none;
    padding: 10px 12px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border: 1px solid #eee;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 50;
}
.info-tip:hover .info-tip-bubble,
.info-tip:focus .info-tip-bubble {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.stat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.stat-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}
.stat-val { font-weight: bold; color: var(--brand-orange); }

/* Social View */
#view-social { padding: 40px; max-width: 1000px; margin: 0 auto; }
.match-list { display: grid; gap: 20px; }
.match-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.2s;
}
.match-card:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.match-avatar {
    width: 80px; height: 80px; background: #f0f0f0; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 32px; color: #999; flex-shrink: 0;
}
.match-avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.match-info { flex: 1; }
.match-name { font-size: 18px; font-weight: bold; margin: 0 0 5px 0; }
.social-owner-line {
    font-size: 13px;
    color: #9a7c70;
    margin-bottom: 6px;
}
.match-score { text-align: center; min-width: 80px; }
.score-val { font-size: 24px; font-weight: bold; color: var(--brand-orange); display: block; }
.score-label { font-size: 11px; color: #999; text-transform: uppercase; }
.social-badge-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.social-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff0e8;
    color: var(--brand-orange);
    font-size: 12px;
    font-weight: 700;
}
.social-public-stats,
.social-common-line,
.social-hint {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
}
.social-common-line {
    color: var(--brand-orange);
}
.social-hint {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 16px 18px;
}
.social-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: auto;
}
.social-action-btn {
    padding: 8px 18px;
    font-size: 13px;
    border-radius: 999px;
    white-space: nowrap;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}
.modal-overlay.active { display: flex; }
.modal-content {
    background: #fff;
    width: 600px;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow-y: auto;
    position: relative;
    -webkit-overflow-scrolling: touch;
}
.modal-header {
    font-family: var(--brand-font-serif);
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--brand-orange);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}
.modal-close:hover { color: var(--brand-dark); }
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
}
.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
}

/* Tabs */
.ai-lookup-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 0 0 18px;
    flex-wrap: wrap;
}
.ai-lookup-btn {
    font-size: 13px !important;
    padding: 9px 18px !important;
    flex-shrink: 0;
}
.ai-lookup-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.ai-lookup-clear {
    font-size: 13px !important;
    padding: 9px 16px !important;
    flex-shrink: 0;
}
.ai-lookup-hint {
    font-size: 12px;
    color: #aaa;
    line-height: 1.5;
    flex: 1;
    min-width: 200px;
}

.tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 14px;
}
.tab-btn.active {
    color: var(--brand-orange);
    border-bottom: 2px solid var(--brand-orange);
    font-weight: bold;
}
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Smart Input (Voice/Image) */
.smart-input-area {
    text-align: center;
    padding: 30px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
}
.btn-record {
    width: 80px; height: 80px; border-radius: 50%;
    background: #f5f5f5; border: none; cursor: pointer;
    font-size: 32px; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.2s;
}

/* Picker & Note tags */
.note-selector-area {
    border: 1px solid #eee; border-radius: 6px; padding: 10px;
    min-height: 50px; display: flex; flex-wrap: wrap; gap: 8px;
    background: #fafafa; cursor: pointer;
}
.note-selector-area:hover { border-color: #ccc; }
.selected-note-tag {
    background: #fff; border: 1px solid var(--brand-orange); color: var(--brand-orange);
    padding: 4px 10px; border-radius: 15px; font-size: 12px;
    display: flex; align-items: center; gap: 5px;
}

.picker-body { flex: 1; overflow-y: auto; }
.filter-bar { margin-bottom: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.filter-tag {
    padding: 6px 14px; border: 1px solid #ccc; border-radius: 15px;
    cursor: pointer; font-size: 13px; background: #fff;
}
.filter-tag.active { border-color: var(--brand-orange); color: var(--brand-orange); background: #fff5f0; }
.picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
.picker-item {
    border: 1px solid #eee; padding: 8px; text-align: center;
    font-size: 13px; border-radius: 4px; cursor: pointer;
}
.picker-item:hover { background: #f9f9f9; }
.picker-item.selected { background: var(--brand-orange); color: #fff; border-color: var(--brand-orange); }

.modal-footer {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Tooltip */
.tooltip {
    position: absolute; text-align: left; padding: 12px 16px;
    font-family: var(--brand-font-serif); font-size: 14px; background: #fff;
    color: #333; border: 1px solid var(--brand-orange);
    pointer-events: none; opacity: 0; transition: opacity 0.18s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    min-width: 120px; max-width: 320px; line-height: 1.55;
    word-break: break-word; z-index: 1000;
}
.tooltip strong {
    display: block; margin-bottom: 4px; font-size: 16px;
    color: var(--brand-orange); border-bottom: 1px solid #eee; padding-bottom: 4px;
}

/* User & Auth */
.user-nav { display: flex; align-items: center; gap: 15px; }
.user-avatar {
    width: 32px; height: 32px; background: var(--brand-orange); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 14px; cursor: pointer;
}
.login-btn {
    color: var(--brand-orange); font-weight: bold; cursor: pointer;
    padding: 5px 15px; border: 1px solid var(--brand-orange);
    border-radius: 20px; font-size: 14px; transition: all 0.2s;
}
.login-btn:hover { background: var(--brand-orange); color: #fff; }
.lang-btn {
    color: #666; cursor: pointer; font-size: 12px; padding: 4px 8px;
    border: 1px solid #ccc; border-radius: 4px; transition: all 0.2s;
}
.lang-btn:hover { border-color: var(--brand-orange); color: var(--brand-orange); }

.auth-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.auth-tab {
    font-size: 18px;
    font-family: var(--brand-font-serif);
    cursor: pointer;
    padding: 10px 20px;
    color: #999;
    border-bottom: 2px solid transparent;
}
.auth-tab.active {
    color: var(--brand-orange);
    border-bottom: 2px solid var(--brand-orange);
}
.auth-forgot {
    text-align: right;
    margin-top: 10px;
    font-size: 13px;
}
.auth-forgot span {
    color: #888;
    cursor: pointer;
}
.auth-forgot span:hover { color: var(--brand-orange); text-decoration: underline; }
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #bbb;
    font-size: 12px;
    margin: 18px 0;
}
.auth-divider::before, .auth-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #eee;
}
.auth-divider span { padding: 0 12px; }
.btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 14px;
    color: #444;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--brand-font-sans);
}
.btn-google:hover { border-color: #bbb; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.user-dropdown { position: relative; }
.user-box {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0;
    border: none;
    background: transparent;
    transition: transform 0.2s ease;
}
.user-box:hover { transform: translateY(-1px); }
.user-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    padding: 14px;
    background: rgba(255,255,255,0.98);
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 1200;
}
.user-dropdown.active .user-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.user-menu-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-dark);
}
.user-menu-email {
    margin-top: 4px;
    font-size: 12px;
    color: #777;
    word-break: break-all;
}
.user-menu-action {
    width: 100%;
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid #f1d2c3;
    border-radius: 12px;
    background: #fff7f3;
    color: var(--brand-orange);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.user-menu-action:hover {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    color: #fff;
}
.user-avatar-img {
    width: 32px; height: 32px; border-radius: 50%;
    object-fit: cover; border: 1px solid #eee;
}

/* AI Lookup Preview */
.ai-preview-confidence {
    display: inline-block;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
    font-weight: 600;
}
.ai-preview-confidence.high { background: #e2f4e8; color: #2e7d32; }
.ai-preview-confidence.medium { background: #fff3e0; color: #c98a4b; }
.ai-preview-confidence.low { background: #fdeaea; color: #b14242; }
.ai-preview-summary {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 16px;
    padding: 12px 14px;
    background: #faf6f1;
    border-radius: 8px;
    border: 1px solid #f0e8df;
}
.ai-preview-notes {
    margin-bottom: 18px;
}
.ai-preview-note-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f4ece4;
}
.ai-preview-note-row:last-child { border-bottom: none; }
.ai-preview-note-label {
    font-size: 13px;
    color: #888;
    width: 50px;
    flex-shrink: 0;
}
.ai-preview-note-list {
    font-size: 14px;
    color: #444;
    flex: 1;
    word-break: break-word;
}
.ai-preview-note-empty {
    color: #c0b5a8;
    font-style: italic;
}
.ai-preview-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-bottom: 12px;
}
.ai-preview-citations {
    margin: 6px 0 14px;
    font-size: 12px;
    color: #888;
    line-height: 1.7;
}
.ai-preview-citations-title {
    color: #aaa;
    margin-right: 4px;
}
.ai-preview-citations a {
    color: var(--brand-orange);
    text-decoration: none;
    margin-right: 8px;
    word-break: break-all;
}
.ai-preview-citations a:hover { text-decoration: underline; }
.ai-preview-disclaimer {
    font-size: 11px;
    color: #b0a99e;
    line-height: 1.5;
    text-align: center;
}

/* AI Advisor */
.card-advisor-trigger {
    display: block;
    width: 100%;
    margin: 26px 0 0;
    padding: 12px 18px;
    font-size: 14px;
    text-align: center;
}
.advisor-modal-content { display: flex; flex-direction: column; }
.advisor-subtitle {
    font-size: 12px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 14px;
}
.advisor-thread {
    flex: 1;
    overflow-y: auto;
    padding: 4px 4px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.advisor-msg {
    display: flex;
    gap: 10px;
}
.advisor-msg-bubble {
    max-width: 78%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.7;
    word-break: break-word;
    white-space: pre-wrap;
}
.advisor-msg.user { justify-content: flex-end; }
.advisor-msg.user .advisor-msg-bubble {
    background: var(--brand-orange);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.advisor-msg.assistant .advisor-msg-bubble {
    background: #fbf5f0;
    color: var(--brand-dark);
    border: 1px solid #f1e3d6;
    border-bottom-left-radius: 4px;
}
.advisor-msg.assistant.loading .advisor-msg-bubble {
    color: #999;
    font-style: italic;
}
.advisor-msg.assistant.error .advisor-msg-bubble {
    background: #fdeaea;
    border-color: #f4caca;
    color: #b14242;
}
.advisor-retry-btn {
    display: inline-block;
    margin-top: 8px;
    background: transparent;
    border: 1px solid #d88787;
    color: #b14242;
    border-radius: 999px;
    padding: 3px 12px;
    font-size: 12px;
    cursor: pointer;
}
.advisor-retry-btn:hover {
    background: #b14242;
    color: #fff;
}
.advisor-empty {
    text-align: center;
    color: #b0a99e;
    font-size: 13px;
    padding: 24px 16px;
    line-height: 1.7;
}
.advisor-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 10px;
}
.advisor-suggestion-chip {
    background: #fff;
    border: 1px solid #eedfd2;
    color: #7a6a5c;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.advisor-suggestion-chip:hover {
    background: var(--brand-orange);
    color: #fff;
    border-color: var(--brand-orange);
}
.advisor-input-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    padding-top: 10px;
    border-top: 1px solid #f0e9e2;
}
.advisor-input {
    flex: 1;
    font-family: inherit;
    resize: none;
    min-height: 50px;
    max-height: 140px;
}
.advisor-send {
    font-size: 13px !important;
    padding: 10px 18px !important;
    flex-shrink: 0;
}
.advisor-send:disabled { opacity: 0.55; cursor: not-allowed; }
.advisor-disclaimer {
    text-align: center;
    font-size: 11px;
    color: #c0b5a8;
    margin-top: 8px;
}

/* Card Social: likes + comments */
.card-social {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 22px;
}
.card-social[hidden] { display: none; }
.card-social-likes {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}
.card-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e0d8d2;
    color: var(--brand-dark);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.15s;
}
.card-like-btn:hover { transform: translateY(-1px); }
.card-like-btn[aria-pressed="true"] {
    background: var(--brand-orange);
    color: #fff;
    border-color: var(--brand-orange);
}
.card-like-btn[aria-pressed="true"] .card-like-icon::before { content: "♥"; }
.card-like-icon { font-size: 16px; line-height: 1; }
.card-like-icon::before { content: "♡"; }
.card-like-btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.card-like-count { font-weight: 600; min-width: 18px; text-align: left; }
.card-social-hint, .card-comment-hint {
    font-size: 11px;
    color: #b0a99e;
    line-height: 1.4;
}
.card-comments-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}
.card-comments-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}
.card-comments-count { font-size: 12px; color: #c0b6a8; }
.card-comments-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 16px;
}
.card-comment {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #f0e9e2;
    border-radius: 10px;
    padding: 10px 12px;
}
.card-comment.is-hidden { opacity: 0.6; }
.card-comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    gap: 8px;
}
.card-comment-author {
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-dark);
}
.card-comment-time { font-size: 11px; color: #b8aea0; }
.card-comment-text {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    word-break: break-word;
    white-space: pre-wrap;
}
.card-comment-actions-row {
    display: flex;
    gap: 12px;
    margin-top: 6px;
    font-size: 11px;
    color: #b0a99e;
}
.card-comment-actions-row button {
    background: none;
    border: none;
    color: #b0a99e;
    cursor: pointer;
    padding: 0;
    font-size: 11px;
}
.card-comment-actions-row button:hover { color: var(--brand-orange); }
.card-comment-hidden-tag {
    display: inline-block;
    background: #f3ebe5;
    color: #a08c7a;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    margin-bottom: 4px;
}
.card-comments-empty {
    font-size: 12px;
    color: #b0a99e;
    text-align: center;
    padding: 12px 0;
}
.card-comment-form textarea {
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    resize: vertical;
    min-height: 60px;
}
.card-comment-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    gap: 10px;
}
.card-comment-submit {
    font-size: 12px !important;
    padding: 6px 14px !important;
    flex-shrink: 0;
}
.card-comment-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* Feedback FAB + Modal */
.feedback-fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--brand-orange);
    color: #fff;
    border: none;
    box-shadow: 0 10px 26px rgba(252, 76, 2, 0.32);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    transition: transform 0.2s, box-shadow 0.2s;
}
.feedback-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(252, 76, 2, 0.4);
}
.feedback-intro {
    font-size: 13px;
    color: #777;
    line-height: 1.7;
    margin-bottom: 16px;
}
.feedback-disclaimer {
    margin-top: 14px;
    font-size: 11px;
    color: #b0b0b0;
    line-height: 1.5;
    text-align: center;
}
#feedback-form textarea.form-input {
    font-family: inherit;
    resize: vertical;
    min-height: 110px;
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}
.toast {
    background: var(--brand-dark);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-width: 90vw;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.toast-success { background: #2e7d32; }
.toast.toast-error { background: #c62828; }
.toast.toast-info { background: var(--brand-dark); }

/* Responsive */
@media (max-width: 768px) {
    .nav-links { gap: 6px; }
    .nav-item { padding: 6px 10px; font-size: 13px; }
    .logo { font-size: 16px; }
    #view-profile { padding: 20px; }
    .profile-hero-card { grid-template-columns: 1fr; padding: 22px; }
    .profile-form-card { padding: 22px; }
    .profile-visibility-banner { align-items: flex-start; }
    .profile-title { font-size: 30px; }
    .profile-preview-card { order: -1; }
    .avatar-preset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .profile-upload-card { flex-direction: column; align-items: flex-start; }
    .profile-security-grid { grid-template-columns: 1fr; }
    .profile-password-grid,
    .profile-password-labels { grid-template-columns: 1fr; }
    .profile-toggle-card { align-items: flex-start; }
    .social-actions { width: 100%; margin-left: 0; }
    .match-card { flex-wrap: wrap; }
    .match-score { min-width: auto; }
    .hero-title { font-size: 34px; }
    .hero-subtitle { font-size: 16px; }
    .hero-actions { flex-direction: column; }
    #view-card { flex-direction: column; }
    .card-sidebar { width: auto; border-right: none; border-bottom: 1px solid #eee; }
    #view-collection { padding: 20px; }
    .collection-search { width: 140px; }
    .collection-search:focus { width: 160px; }
    .modal-content { width: 95% !important; padding: 20px; }
    .match-card { flex-direction: column; text-align: center; }
}
