/* ===== COMPONENTS v2 ===== */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

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

.btn-primary:hover {
    background: var(--color-accent-hover);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-text);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
}

/* Cards */
.card {
    background: var(--color-bg-raised);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    cursor: pointer;
}

.card:hover {
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-card);
}

.card-selected {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-glow);
}

.card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.card-country {
    font-size: 0.8rem;
    color: var(--color-text-tertiary);
    margin-bottom: 0.75rem;
}

.card-body {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

/* Score cluster: gauge + band label (the card's hero element) */
.card-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.card-gauge {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
}

/* Score band label — gives the bare number meaning ("Excellent") */
.score-band {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.score-band.score-excellent {
    color: var(--color-score-excellent);
}

.score-band.score-good {
    color: var(--color-score-good);
}

.score-band.score-average {
    color: var(--color-score-average);
}

.score-band.score-poor {
    color: var(--color-score-poor);
}

/* Inline SVG icons in spec lines */
.icon {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    opacity: 0.65;
}

.card-rating {
    color: var(--color-text-tertiary);
}

.card-specs {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.card-specs span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.tag-pill {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text-secondary);
}

.card-footer {
    display: flex;
    gap: 0.5rem;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-verified {
    background: rgba(34, 197, 94, 0.12);
    color: var(--color-verified);
}

.badge-unverified {
    background: rgba(249, 115, 22, 0.12);
    color: var(--color-unverified);
}

.badge-new {
    background: rgba(6, 182, 212, 0.12);
    color: var(--color-accent);
}

.badge-alert {
    background: rgba(239, 68, 68, 0.12);
    color: var(--color-alert);
}

/* Score Gauge (radial SVG donut) */
.score-gauge .gauge-bg {
    fill: none;
    stroke: var(--color-border);
    stroke-width: 5;
}

.score-gauge .gauge-fill {
    fill: none;
    stroke-width: 5;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 32px 32px;
    transition: stroke-dashoffset 800ms ease;
}

.score-gauge .gauge-fill.score-excellent {
    stroke: var(--color-score-excellent);
}

.score-gauge .gauge-fill.score-good {
    stroke: var(--color-score-good);
}

.score-gauge .gauge-fill.score-average {
    stroke: var(--color-score-average);
}

.score-gauge .gauge-fill.score-poor {
    stroke: var(--color-score-poor);
}

.score-gauge .gauge-value {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    fill: var(--color-text);
    text-anchor: middle;
    dominant-baseline: central;
}

.score-gauge .gauge-label {
    font-family: var(--font-mono);
    font-size: 0.45rem;
    fill: var(--color-text-tertiary);
    text-anchor: middle;
}

/* Search Input */
.search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--color-bg-raised);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: 1rem;
    transition: border-color var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.search-input::placeholder {
    color: var(--color-text-secondary);
}

/* Dropdown */
.dropdown {
    padding: 0.6rem 1rem;
    background: var(--color-bg-raised);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color var(--transition);
}

.dropdown:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* Toolbar */
.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
}

/* Score Breakdown Rows (modal + wizard results) */
.score-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.3rem 0;
    font-size: 0.85rem;
}

.score-label {
    width: 110px;
    flex-shrink: 0;
    color: var(--color-text-secondary);
}

.score-bar {
    flex: 1;
    height: 6px;
    background: var(--color-border);
    border-radius: 3px;
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 600ms ease;
}

.score-bar-fill.score-excellent {
    background: var(--color-score-excellent);
}

.score-bar-fill.score-good {
    background: var(--color-score-good);
}

.score-bar-fill.score-average {
    background: var(--color-score-average);
}

.score-bar-fill.score-poor {
    background: var(--color-score-poor);
}

.score-num {
    font-family: var(--font-mono);
    font-weight: 700;
    min-width: 2rem;
    text-align: right;
}

/* Score display (wizard result cards) */
.score-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.score-display .score-bar {
    flex-basis: 100%;
}

.score-value {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.score-value small {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-tertiary);
}

.score-value.score-excellent {
    color: var(--color-score-excellent);
}

.score-value.score-good {
    color: var(--color-score-good);
}

.score-value.score-average {
    color: var(--color-score-average);
}

.score-value.score-poor {
    color: var(--color-score-poor);
}

/* Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Compare Tray (sticky bottom bar) */
.compare-tray {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translate(-50%, 200%);
    z-index: var(--z-toast);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border-hover);
    border-radius: 999px;
    box-shadow: var(--shadow-modal);
    transition: transform var(--transition-slow);
    max-width: calc(100vw - 2rem);
}

.compare-tray.visible {
    transform: translate(-50%, 0);
}

.tray-chips {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.tray-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    background: var(--color-accent-subtle);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
}

.tray-chip-name {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tray-chip-remove {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    cursor: pointer;
    font-size: 0.75rem;
    padding: 0;
    line-height: 1;
}

.tray-chip-remove:hover {
    color: var(--color-alert);
}

/* Toast */
.toast {
    position: fixed;
    left: 50%;
    bottom: 4.75rem;
    transform: translate(-50%, 16px);
    opacity: 0;
    pointer-events: none;
    z-index: var(--z-toast);
    background: var(--color-bg-elevated);
    color: var(--color-text);
    border: 1px solid var(--color-border-hover);
    border-radius: var(--radius-sm);
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    box-shadow: var(--shadow-modal);
    transition: opacity var(--transition), transform var(--transition);
}

.toast.visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* Modal Close Button */
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--color-text-secondary);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition);
    cursor: pointer;
}

.modal-close:hover {
    color: var(--color-text);
}

/* Compare Table (sticky label column + one column per supplier) */
.compare-table {
    display: grid;
    grid-template-columns: minmax(110px, 150px) repeat(var(--compare-cols, 2), minmax(170px, 1fr));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    min-width: 540px;
}

.compare-tr {
    display: contents;
}

.compare-td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg-raised);
    font-size: 0.9rem;
}

.compare-tr:last-child .compare-td {
    border-bottom: none;
}

.compare-td-label {
    position: sticky;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    color: var(--color-text-secondary);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--color-bg-elevated);
}

.compare-td-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    background: var(--color-bg-elevated);
}

.compare-head-name {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.3;
}

.compare-head-meta {
    color: var(--color-text-secondary);
    font-size: 0.8rem;
}

/* Verdict banner */
.compare-verdict {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-md);
    background: var(--color-accent-subtle);
}

.verdict-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
}

.verdict-name {
    font-weight: 700;
    font-size: 1.05rem;
}

.verdict-score {
    font-family: var(--font-mono);
    font-weight: 700;
}

.verdict-score.score-excellent {
    color: var(--color-score-excellent);
}

.verdict-score.score-good {
    color: var(--color-score-good);
}

.verdict-score.score-average {
    color: var(--color-score-average);
}

.verdict-score.score-poor {
    color: var(--color-score-poor);
}

/* Per-row winner tag */
.best-tag {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
}

/* Browse Meta & Sort */
.browse-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

#result-count {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.browse-sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.browse-sort .dropdown {
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
    gap: 0.75rem;
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-lg);
}

.empty-state-icon {
    font-size: 2.5rem;
}

.empty-state h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.empty-state p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* Compare Mini Score Bars */
.compare-score-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.compare-score-num {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 2.2rem;
}

.compare-mini-bar {
    flex: 1;
    height: 6px;
    background: var(--color-border);
    border-radius: 3px;
    overflow: hidden;
}

.compare-mini-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 600ms ease;
}

.compare-mini-fill.score-excellent {
    background: var(--color-score-excellent);
}

.compare-mini-fill.score-good {
    background: var(--color-score-good);
}

.compare-mini-fill.score-average {
    background: var(--color-score-average);
}

.compare-mini-fill.score-poor {
    background: var(--color-score-poor);
}

.compare-best {
    background: rgba(6, 182, 212, 0.12);
    box-shadow: inset 0 0 0 1px rgba(6, 182, 212, 0.22);
}

/* Modal Footer */
.modal-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: flex-end;
}

/* Premium count badge */
.premium-count {
    color: var(--color-accent);
    font-weight: 600;
}

/* ── Premium Banner (Browse) ────────────────────────────────── */
#premium-banner {
    margin: 0 0 1rem;
}

.premium-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.premium-banner.locked {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(6, 182, 212, 0.03));
    border: 1px solid rgba(6, 182, 212, 0.25);
}

.premium-banner-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.premium-banner-text strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text);
}

.premium-banner-text span {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.premium-banner.unlocked {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: var(--color-verified);
    font-weight: 500;
}

.premium-banner-icon {
    font-size: 1rem;
}

/* ── Locked Card ────────────────────────────────────────────── */
.card-locked {
    cursor: default;
    border-color: var(--color-border);
    opacity: 0.85;
}

.card-locked:hover {
    border-color: var(--color-border);
    box-shadow: none;
    transform: none;
}

.card-locked-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem 0.5rem;
    gap: 0.75rem;
}

.lock-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(6, 182, 212, 0.12);
    color: var(--color-accent);
}

.locked-name {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    color: var(--color-text-tertiary);
}

.locked-hint {
    font-size: 0.8rem;
    color: var(--color-text-tertiary);
    max-width: 200px;
    line-height: 1.4;
}

/* ── Checkout Modal (Stub) ──────────────────────────────────── */
.checkout-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 200ms ease, visibility 200ms ease;
}

.checkout-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.checkout-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    width: 100%;
    max-width: 420px;
    position: relative;
    box-shadow: var(--shadow-modal);
    transform: scale(0.95);
    transition: transform 200ms ease;
}

.checkout-overlay.active .checkout-card {
    transform: scale(1);
}

.checkout-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 150ms ease;
}

.checkout-close:hover {
    color: var(--color-text);
}

.checkout-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.checkout-lock-icon {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

.checkout-brand-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.checkout-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.checkout-sub {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.25rem;
}

.checkout-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(6, 182, 212, 0.06);
    border-radius: var(--radius-md);
    border: 1px solid rgba(6, 182, 212, 0.15);
}

.checkout-price {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: -0.03em;
}

.checkout-price-note {
    font-size: 0.78rem;
    color: var(--color-text-tertiary);
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.checkout-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.checkout-field span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.checkout-field input {
    padding: 0.65rem 0.85rem;
    background: var(--color-bg-raised);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: 0.9rem;
    transition: border-color 150ms ease;
}

.checkout-field input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.checkout-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.checkout-pay {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.85rem;
    font-size: 1rem;
}

.checkout-pay:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.checkout-test-badge {
    text-align: center;
    margin-top: 0.85rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(250, 204, 21, 0.12);
    color: #eab308;
    border: 1px solid rgba(250, 204, 21, 0.2);
}

.checkout-footer-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--color-text-tertiary);
}

.checkout-footer-note a {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: underline;
}

/* Input validation error */
.input-error {
    border-color: var(--color-alert) !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.15);
}

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Skip link (accessibility) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 999;
    padding: 0.5rem 1rem;
    background: var(--color-accent);
    color: #000;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    transition: top 200ms ease;
}

.skip-link:focus {
    top: 0.5rem;
}

/* Tabular numerals — aligned metrics, no jitter */
.tnum {
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

/* Modal content */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.modal-header h2 {
    font-size: 1.25rem;
    line-height: 1.3;
}

.modal-description {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.modal-scores {
    margin-bottom: 1.25rem;
}

.modal-scores h3 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.modal-details {
    display: grid;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.modal-details strong {
    color: var(--color-text);
    font-weight: 600;
}

.modal-details a {
    color: var(--color-accent);
}

/* Skeleton loading cards */
.skeleton-card {
    cursor: default;
}

.skeleton-card:hover {
    border-color: var(--color-border);
    box-shadow: none;
}

.skel {
    border-radius: 4px;
    background: linear-gradient(90deg, var(--color-bg-elevated) 25%, var(--color-border) 50%, var(--color-bg-elevated) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s linear infinite;
}

.skel-title {
    height: 16px;
    width: 60%;
    margin-bottom: 0.6rem;
}

.skel-line {
    height: 10px;
    width: 40%;
    margin-bottom: 0.9rem;
}

.skel-line.short {
    width: 30%;
    margin-bottom: 0;
}

.skel-block {
    height: 64px;
    width: 100%;
    margin-bottom: 0.9rem;
}

@keyframes shimmer {
    to {
        background-position: -200% 0;
    }
}

/* ── Touch-friendly dropdowns (mobile) ─────────────────────── */
@media (max-width: 480px) {
    .dropdown {
        width: 100%;
        padding: 0.65rem 0.75rem;
        font-size: 0.9rem;
    }

    .browse-toolbar {
        gap: 0.5rem;
    }
}

/* ── Welcome Modal ──────────────────────────────────────────── */
.welcome-card {
    text-align: center;
}

.welcome-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.welcome-logo svg {
    width: 28px;
    height: 28px;
}

.welcome-logo span {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.welcome-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.welcome-sub {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.welcome-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.welcome-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
}

/* ── Locked Card Preview ───────────────────────────────────── */
.locked-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.locked-category {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    padding: 0.2rem 0.6rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.locked-country {
    font-size: 0.7rem;
    color: var(--color-text-tertiary);
}