.search-page-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.search-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 96px 0 48px;
}

.main-card.compact {
    padding: 28px 32px;
}

.search-header.hidden {
    display: none;
}

.search-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 14px;
}

.search-card-head-left h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 2px;
}

.quota-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(91, 155, 255, 0.12);
    border: 1px solid rgba(91, 155, 255, 0.35);
    color: #b8ecff;
    white-space: nowrap;
}

.search-filters {
    padding: 0;
    margin-bottom: 18px;
    background: none;
    border: none;
}

.quota-bar-compact {
    padding: 10px 14px;
    margin-bottom: 16px;
}

.quota-bar-compact .quota-bar-track {
    height: 4px;
}

.settings-block {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.settings-block h3 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.results-heading {
    margin-bottom: 8px;
    font-size: 1.35rem;
    font-weight: 700;
}

.results-hint {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-item-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.result-item-main {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
}

.result-rank {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(91, 155, 255, 0.15);
    color: #b8ecff;
    border: 1px solid rgba(91, 155, 255, 0.25);
}

.result-body {
    min-width: 0;
    flex: 1;
}

.result-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 6px;
}

.result-source-badge {
    display: none !important;
}

.result-source-badge--legacy {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(91, 155, 255, 0.12);
    border: 1px solid rgba(91, 155, 255, 0.28);
    color: #9ec8ff;
}

.result-date {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.result-title {
    margin: 0 0 4px;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
    word-break: break-word;
}

.result-subtitle {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.4;
    word-break: break-word;
}

.result-detail {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.result-detail-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.result-detail-title {
    margin: 8px 0 4px;
    font-size: 1.4rem;
    font-weight: 700;
}

.result-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px 16px;
}

.result-section-title {
    margin: 0 0 12px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ec8ff;
}

.result-field-grid {
    display: grid;
    gap: 10px;
}

.result-field {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    gap: 10px;
    align-items: start;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.result-field:last-child {
    border-bottom: none;
}

.result-field-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.result-field-value {
    font-size: 0.92rem;
    word-break: break-word;
    font-family: 'JetBrains Mono', monospace;
}

.result-field-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.result-map-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.result-map-link {
    font-size: 0.72rem;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(91, 155, 255, 0.28);
    background: rgba(91, 155, 255, 0.1);
    color: #9ec8ff;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.result-map-link:hover {
    background: rgba(91, 155, 255, 0.2);
    color: #fff;
}

.result-map-link--earth {
    border-color: rgba(52, 211, 153, 0.3);
    background: rgba(52, 211, 153, 0.1);
    color: #86efac;
}

.result-map-link--earth:hover {
    background: rgba(52, 211, 153, 0.2);
    color: #fff;
}

.result-copy-btn {
    font-size: 0.72rem;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    cursor: pointer;
}

.result-copy-btn:hover {
    background: rgba(91, 155, 255, 0.15);
    color: #fff;
}

@media (max-width: 720px) {
    .result-field {
        grid-template-columns: 1fr;
    }

    .result-item-inner {
        flex-direction: column;
        align-items: stretch;
    }
}

.settings-note {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.key-field-row {
    display: flex;
    gap: 8px;
}

.key-masked-input {
    flex: 1;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 14px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text);
}

.key-toggle-btn {
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
}

.key-toggle-btn:hover {
    background: rgba(91, 155, 255, 0.12);
    border-color: rgba(91, 155, 255, 0.35);
}

.search-header {
    text-align: center;
    margin-bottom: 40px;
}

.search-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 12px;
}

.search-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
}

.search-legal-note {
    max-width: 560px;
    margin: 12px auto 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-secondary);
    opacity: 0.8;
}

.main-card {
    background: rgba(11, 16, 25, 0.92);
    border: 1px solid rgba(91, 155, 255, 0.16);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 30px;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
}

.quota-bar-wrap {
    margin-bottom: 24px;
    padding: 16px 20px;
    background: rgba(91, 155, 255, 0.06);
    border: 1px solid rgba(91, 155, 255, 0.15);
    border-radius: 14px;
}

.quota-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
}

.quota-bar-header strong {
    color: var(--primary);
}

.quota-bar-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.quota-bar-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.quota-bar-fill.warn {
    background: linear-gradient(90deg, #f59e0b, #f97316);
}

.quota-bar-fill.danger {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.quota-badge.quota-badge--low {
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.35);
}

.quota-badge.quota-badge--empty {
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.4);
}

.quota-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.search-primary {
    margin-bottom: 28px;
}

.search-primary label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 18px;
}

.search-input-main {
    width: 100%;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(91, 155, 255, 0.2);
    border-radius: 14px;
    font-size: 18px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.search-input-main:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(91, 155, 255, 0.12);
}

.search-hint {
    display: block;
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 13px;
}

.search-primary .search-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.search-filters {
    padding: 20px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
}

.search-filters-title {
    display: block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
}

.search-filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

.identity-form {
    margin-bottom: 20px;
}

.identity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.identity-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.identity-field input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(91, 155, 255, 0.25);
    border-radius: 12px;
    font-size: 16px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.identity-field input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(91, 155, 255, 0.15);
}

.identity-field small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #93c5fd;
}

.identity-field-wide {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .identity-grid {
        grid-template-columns: 1fr;
    }
}

.search-type-icon {
    font-size: 22px;
}

.search-fields-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .search-primary .search-buttons {
        grid-template-columns: 1fr;
    }
}

.history-panel {
    margin-bottom: 24px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
}

.history-panel h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.history-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.history-chip {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
}

.history-chip:hover {
    border-color: var(--primary);
    background: rgba(91, 155, 255, 0.08);
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.account-item {
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.account-item label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.account-item span {
    font-size: 15px;
    font-weight: 600;
}

.jarvis-wallpaper {
    position: fixed;
    inset: 0;
    z-index: 0;
    margin: 0;
    padding: 0;
    border: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.jarvis-wallpaper-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 130% 90% at 50% 108%, rgba(0, 0, 0, 0.28), transparent 58%),
        linear-gradient(180deg, rgba(5, 8, 16, 0.06) 0%, rgba(5, 8, 16, 0.18) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

body.has-custom-wallpaper {
    background: transparent !important;
}

body.has-custom-wallpaper .jarvis-wallpaper {
    opacity: 1;
}

body.has-custom-wallpaper .jarvis-wallpaper-overlay {
    opacity: 0.42;
}

body.has-custom-wallpaper .page-bg {
    display: none !important;
}

body.has-custom-wallpaper .header {
    background: rgba(5, 8, 16, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.has-custom-wallpaper .main-card {
    background: rgba(11, 16, 25, 0.48);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-color: rgba(255, 255, 255, 0.1);
}

body.has-custom-wallpaper .search-title,
body.has-custom-wallpaper .search-subtitle {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

body.has-custom-wallpaper .footer {
    background: transparent;
}

.wallpaper-preview {
    position: relative;
    width: 100%;
    height: 160px;
    margin: 12px 0 16px;
    border-radius: 14px;
    border: 2px dashed rgba(91, 155, 255, 0.35);
    background: rgba(0, 0, 0, 0.35) center/cover no-repeat;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.wallpaper-preview:hover,
.wallpaper-preview:focus-visible {
    border-color: rgba(91, 155, 255, 0.7);
    transform: translateY(-1px);
    outline: none;
}

.wallpaper-preview.has-image {
    border-style: solid;
    border-color: rgba(91, 155, 255, 0.25);
}

.wallpaper-preview.has-image .wallpaper-preview-hint {
    opacity: 0;
}

.wallpaper-preview-hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    background: rgba(5, 8, 16, 0.55);
    pointer-events: none;
    transition: opacity 0.2s;
}

.wallpaper-preview.drag-over {
    border-color: var(--primary);
    box-shadow: 0 0 24px rgba(91, 155, 255, 0.25);
}

.wallpaper-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ========== Search V3 — command bar ========== */

.search-container.compact .container {
    max-width: 760px;
}

.search-container.compact {
    padding-top: 84px;
}

.main-card.compact {
    padding: 20px 22px 24px;
    border-radius: 18px;
    border-color: rgba(91, 155, 255, 0.14);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.42);
}

.main-card.compact .tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin: 0 auto 20px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    width: fit-content;
    max-width: 100%;
}

.main-card.compact .tab.tab--fivem.active {
    background: linear-gradient(135deg, #FFB070 0%, #FF8555 55%, #D94820 100%);
    border-color: rgba(255, 194, 170, 0.35);
    box-shadow: 0 4px 16px rgba(255, 133, 85, 0.32);
}

.search-v3-fivem .fivem-tab-label {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #FFD4B8;
}

.search-v3-fivem {
    border-color: rgba(255, 133, 85, 0.12);
}

.search-hero-bar--fivem {
    border-color: rgba(255, 133, 85, 0.28);
}

.search-hero-bar--fivem:focus-within {
    border-color: rgba(255, 133, 85, 0.45);
    box-shadow: 0 0 0 4px rgba(255, 133, 85, 0.1), 0 8px 32px rgba(0, 0, 0, 0.25);
}

.search-hero-btn--fivem {
    background: linear-gradient(135deg, #FFB070 0%, #FF8555 55%, #D94820 100%);
    border-left-color: rgba(255, 194, 170, 0.3);
}

.main-card.compact .tab {
    padding: 8px 14px;
    font-size: 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-secondary);
}

.main-card.compact .tab.active {
    background: linear-gradient(135deg, #5b9bff 0%, #2f6ae0 55%, #1e4fad 100%);
    border-color: rgba(126, 200, 255, 0.35);
    color: #fff;
    box-shadow: 0 4px 16px rgba(47, 106, 224, 0.3);
}

.search-v3-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 8px;
}

.search-v3-type {
    flex: 1;
    min-width: 0;
}

.search-v3-type label {
    display: block;
    margin-bottom: 6px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.search-type-select {
    width: 100%;
    appearance: none;
    padding: 11px 40px 11px 14px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: var(--text);
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center no-repeat,
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-type-select:hover,
.search-type-select:focus {
    outline: none;
    border-color: rgba(91, 155, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(91, 155, 255, 0.1);
}

.search-type-select option {
    background: #0b1019;
    color: var(--text);
}

.search-v3-hint {
    margin: 0 0 16px;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.45;
}

.quota-badge {
    background: rgba(91, 155, 255, 0.1);
    border: 1px solid rgba(91, 155, 255, 0.28);
    color: #b8d4ff;
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.history-panel {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.history-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.history-panel-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

.history-panel-count {
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    text-transform: none;
}

.history-chevron {
    width: 12px;
    height: 12px;
    transition: transform 0.2s;
}

.history-panel-toggle[aria-expanded="true"] .history-chevron {
    transform: rotate(180deg);
}

.history-clear-btn {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 11px;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 6px;
    font-family: inherit;
}

.history-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.history-chips--collapsed {
    max-height: 30px;
    overflow: hidden;
}

.history-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 200px;
    padding: 4px 9px;
    font-size: 11px;
    border-radius: 999px;
    background: rgba(91, 155, 255, 0.07);
    border: 1px solid rgba(91, 155, 255, 0.18);
    color: var(--text);
    cursor: pointer;
    font-family: inherit;
}

.history-chip-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
}

.search-hero {
    margin-bottom: 4px;
}

.search-hero-bar {
    display: flex;
    align-items: stretch;
    gap: 0;
    border-radius: 14px;
    border: 1px solid rgba(91, 155, 255, 0.22);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-hero-bar:focus-within {
    border-color: rgba(91, 155, 255, 0.45);
    box-shadow: 0 0 0 4px rgba(91, 155, 255, 0.1), 0 8px 32px rgba(0, 0, 0, 0.25);
}

.search-hero-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 16px 18px;
    font-size: 16px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
}

.search-hero-input:focus {
    outline: none;
}

.search-hero-input::placeholder {
    color: rgba(148, 163, 184, 0.65);
}

.search-hero-btn {
    flex-shrink: 0;
    border: none;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #5b9bff 0%, #2f6ae0 55%, #1e4fad 100%);
    border-left: 1px solid rgba(126, 200, 255, 0.25);
    transition: filter 0.2s;
}

.search-hero-btn:hover {
    filter: brightness(1.06);
}

.identity-form--card {
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 4px;
}

.identity-form--card .identity-field label {
    font-size: 10px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
}

.identity-form--card .field-tag {
    text-transform: uppercase;
    font-size: 9px;
    font-weight: 700;
    color: #9ec8ff;
    letter-spacing: 0.04em;
}

.identity-form--card .autofill-decoy,
.identity-form--card .jarvis-hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.jarvis-bait-link {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.identity-form--card .identity-field label svg.ui-ic {
    display: none;
}

.identity-form--card .identity-field input {
    padding: 11px 13px;
    font-size: 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}

.identity-form--card .identity-field input:focus {
    border-color: rgba(91, 155, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(91, 155, 255, 0.08);
}

.identity-form--card .identity-grid {
    gap: 10px;
}

.search-v3-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.search-v3-primary {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #5b9bff 0%, #2f6ae0 55%, #1e4fad 100%);
    box-shadow: 0 8px 24px rgba(47, 106, 224, 0.3);
    transition: filter 0.2s, transform 0.2s;
}

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

.search-exact-link {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 8px;
    font-family: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.search-exact-link:hover {
    color: #9ec8ff;
}

/* Quota */
.quota-remaining-text {
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.quota-reset-hint {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--text-secondary);
}

.is-quota-blocked {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
}

/* Onboarding */
.search-onboarding {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding: 14px 18px;
    background: rgba(91, 155, 255, 0.08);
    border: 1px solid rgba(91, 155, 255, 0.2);
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.search-onboarding[hidden] {
    display: none !important;
}

.search-onboarding-dismiss {
    flex-shrink: 0;
    padding: 8px 14px;
    border: 1px solid rgba(91, 155, 255, 0.35);
    border-radius: 8px;
    background: rgba(91, 155, 255, 0.12);
    color: #9ec8ff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

/* Empty state */
.results-empty-host[hidden] {
    display: none !important;
}

.results-empty-state {
    padding: 36px 24px;
    text-align: center;
    border: 1px dashed rgba(91, 155, 255, 0.25);
    border-radius: 16px;
    background: rgba(91, 155, 255, 0.04);
    margin-bottom: 20px;
}

.results-empty-icon {
    margin-bottom: 12px;
    color: var(--accent);
}

.results-empty-icon .ui-ic {
    width: 40px;
    height: 40px;
}

.results-empty-title {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 700;
}

.results-empty-steps {
    text-align: left;
    max-width: 420px;
    margin: 0 auto 16px;
    padding-left: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.results-empty-shortcuts {
    margin: 0;
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-secondary);
    opacity: 0.85;
}

/* Skeleton loaders */
.skeleton-wrap {
    padding: 8px 0 24px;
}

.skeleton-label {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

.skeleton-card {
    padding: 18px;
    margin-bottom: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.skeleton-card--short {
    max-width: 60%;
}

.skeleton-line {
    height: 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    background: linear-gradient(90deg, rgba(255,255,255,0.06) 25%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.06) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

.skeleton-line--lg {
    height: 16px;
    width: 55%;
}

.skeleton-line--sm {
    width: 35%;
    margin-bottom: 0;
}

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

/* Export bar */
.results-export-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.results-export-btn {
    width: auto !important;
    padding: 10px 18px !important;
    font-size: 13px !important;
}

/* FiveM results */
.results-heading--fivem {
    color: #ff9f43;
}

.results-hint--fivem-limit {
    color: #ffb366;
    font-weight: 500;
}

.results-list--fivem .fivem-result-item {
    border-color: rgba(255, 159, 67, 0.35);
    background: rgba(255, 159, 67, 0.06);
}

.results-list--fivem .fivem-result-item .result-title {
    color: #ffbe76;
}

.results-list--fivem .result-field-label {
    color: rgba(255, 190, 118, 0.85);
}

.results-list--fivem .result-copy-btn {
    border-color: rgba(255, 159, 67, 0.3);
    color: #ffb366;
}

.results-list--fivem .result-copy-btn:hover {
    background: rgba(255, 159, 67, 0.15);
}
