.category-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 18px 0 8px 0;
}

.search-landing-inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.home-actions {
    width: 100%;
}

.home-actions-title {
    margin: 4px 0 10px;
    text-align: center;
    font-size: 0.92rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.home-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.home-action-btn {
    min-height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(0, 255, 159, 0.2);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
}

.home-action-btn:hover,
.home-action-btn:focus {
    border-color: rgba(255, 0, 255, 0.32);
    background: rgba(255, 0, 255, 0.08);
    transform: translateY(-1px);
}

.home-action-btn.is-locked {
    border-style: dashed;
}

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

.home-result:hover {
    border-color: rgba(0, 255, 159, 0.22);
    box-shadow: 0 0 0 1px rgba(0, 255, 159, 0.10), 0 0 22px rgba(255, 0, 255, 0.10);
}

.home-result-url {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: rgba(0, 255, 159, 0.86);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.home-result-title {
    margin: 8px 0 0;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.96);
}

.home-result-title a {
    color: inherit;
    text-decoration: none;
}

.home-result-title a:hover {
    text-decoration: underline;
}

.home-result-snippet {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
    font-size: 0.96rem;
}

.search-branding {
    font-size: clamp(3.2rem, 10vw, 5.2rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--text);
    text-shadow: 0 0 32px var(--pink), 0 0 44px var(--green);
    margin: 0 0 0.1em 0;
    text-align: center;
    line-height: 1.05;
}

.search-claim {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2em;
    margin-bottom: 0.5em;
}
.claim-main {
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--green);
    text-shadow: 0 0 12px var(--green), 0 0 18px var(--pink);
}
.claim-sub {
    font-size: 1.01rem;
    color: var(--muted);
    font-weight: 400;
    margin-top: 0.1em;
}


.landing-search-form {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin: 0 auto 0.5em auto;
        background: linear-gradient(135deg, rgba(12, 12, 12, 0.96), rgba(24, 8, 24, 0.92));
        border-radius: 999px;
        box-shadow: 0 0 0 2px rgba(255, 0, 255, 0.5), 0 0 24px rgba(0, 255, 159, 0.2), 0 0 44px rgba(255, 0, 255, 0.22);
        border: 2px solid rgba(255, 0, 255, 0.46);
        padding: 8px;
        position: relative;
        transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

@media (max-width: 600px) {
    .home-actions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-search-form {
        flex-direction: column;
        gap: 10px;
        padding: 8px 4px;
        border-radius: 18px;
    }
    .landing-search-input {
        width: 100%;
        min-width: 0;
        font-size: 1.08rem;
        min-height: 48px;
        border-radius: 10px;
    }
    .landing-search-btn {
        width: 100%;
        min-width: 0;
        font-size: 1.08rem;
        min-height: 48px;
        border-radius: 10px;
    }
}

.landing-search-form:hover,
.landing-search-form:focus-within {
    border-color: rgba(0, 255, 159, 0.92);
    box-shadow: 0 0 0 2px rgba(0, 255, 159, 0.4), 0 0 30px rgba(0, 255, 159, 0.28), 0 0 48px rgba(255, 0, 255, 0.24);
    transform: translateY(-1px);
}

.searchbar-wrapper {
    display: flex;
    align-items: center;
    flex: 1 1 0%;
    position: relative;
    min-width: 0;
    min-height: 54px;
    padding: 0 14px 0 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(0, 255, 159, 0.05));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.engine-select {
    border: none;
    background: linear-gradient(135deg, var(--green), var(--pink));
    color: #050505;
    font-weight: 700;
    border-radius: 999px 0 0 999px;
    padding: 0 18px;
    height: 46px;
    font-size: 1.02rem;
    outline: none;
    margin-right: 8px;
    cursor: pointer;
    box-shadow: 0 0 8px var(--green), 0 0 12px var(--pink);
}
.landing-search-input {
    flex: 1 1 0%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 1.18rem;
    line-height: 1.2;
    padding: 12px 0 12px 10px;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 0;
    min-width: 0;
}
.autocomplete-items {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    background: rgba(12, 12, 12, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: none;
    border-radius: 0 0 18px 18px;
    max-height: 220px;
    overflow-y: auto;
    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 0, 255, 0.12),
        0 0 24px rgba(0, 255, 159, 0.12);
    backdrop-filter: blur(10px);
}
.autocomplete-item {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.92);
    transition: background 0.14s ease, color 0.14s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.autocomplete-item:first-child {
    border-top: none;
}

.autocomplete-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(0, 255, 159, 0.92);
    font-weight: 900;
    letter-spacing: 0.04em;
}

.autocomplete-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
    opacity: 0.95;
}

.autocomplete-label {
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.autocomplete-label strong {
    color: var(--green);
    font-weight: 800;
}

.autocomplete-item:hover,
.autocomplete-active {
    background: rgba(0, 255, 159, 0.10);
    color: #ffffff;
}

.autocomplete-item:hover .autocomplete-icon,
.autocomplete-active .autocomplete-icon {
    background: rgba(0, 255, 159, 0.14);
    border-color: rgba(0, 255, 159, 0.22);
}
.landing-search-input::placeholder {
    color: rgba(255, 255, 255, 0.62);
    opacity: 1;
}

.landing-search-input:focus::placeholder {
    color: rgba(0, 255, 159, 0.66);
}
.landing-search-btn {
    background: linear-gradient(135deg, var(--green), var(--pink));
    color: #050505;
    border: none;
    border-radius: 999px;
    font-size: 1.06rem;
    font-weight: 700;
    padding: 0 26px;
    height: 54px;
    flex: 0 0 auto;
    margin-left: auto;
    cursor: pointer;
    box-shadow: 0 0 12px var(--green), 0 0 18px var(--pink);
    transition: background 0.18s, color 0.18s;
}
.landing-search-btn:hover {
    background: linear-gradient(135deg, var(--pink), var(--green));
    color: #fff;
}

.landing-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    justify-content: center;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.93rem;
    font-weight: 500;
    background: rgba(0,255,159,0.08);
    border: 1.5px solid var(--border-strong);
    color: var(--text);
    box-shadow: 0 0 8px var(--surface-soft);
    cursor: pointer;
    user-select: none;
    outline: none;
    transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
    position: relative;
}
.chip:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(255, 0, 255, 0.14);
    z-index: 2;
}
.chip:hover {
    background: rgba(0,255,159,0.18);
    box-shadow: 0 0 12px var(--green), 0 0 18px var(--pink);
}
.chip.active {
    background: linear-gradient(135deg, var(--green), var(--pink));
    color: #050505;
    border-color: var(--pink);
    box-shadow: 0 0 18px var(--pink), 0 0 24px var(--green);
    font-weight: 700;
    z-index: 2;
}
.chip--green { border-color: var(--green); color: var(--green); }
.chip--pink { border-color: var(--pink); color: var(--pink); }
.chip--cyan { border-color: var(--cyan,#00f0ff); color: var(--cyan,#00f0ff); }
.chip--gray { border-color: #888; color: #aaa; }
.chip--blue { border-color: #00f0ff; color: #00f0ff; }

@media (max-width: 600px) {
    .landing-chips {
        gap: 6px;
    }
    .chip {
        padding: 7px 10px;
        font-size: 0.91rem;
    }
}

@media (max-width: 600px) {
    .search-landing-inner {
        max-width: 98vw;
        gap: 22px;
    }
    .search-branding {
        font-size: clamp(2.1rem, 12vw, 3.2rem);
    }
    .landing-search-form {
        padding: 4px 4px 4px 12px;
    }
    .landing-search-btn {
        padding: 10px 18px;
        font-size: 1rem;
    }
}

.field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.field span,
.section-heading h2,
.column-card h3,
.results-head h2 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text);
}

.field input {
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: var(--surface-strong);
    color: var(--text);
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.field input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(255, 0, 255, 0.14);
    transform: translateY(-1px);
}

.field input[type="file"] {
    padding: 12px 16px;
}

.platform-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.platform-tile {
    position: relative;
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: var(--muted);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.platform-tile input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.platform-tile.is-active {
    color: var(--text);
    border-color: var(--border-strong);
    box-shadow:
        0 0 0 1px rgba(0, 255, 159, 0.18) inset,
        0 0 20px rgba(0, 255, 159, 0.12);
    transform: translateY(-1px);
}

.actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-size: 0.95rem;
    cursor: pointer;
}

.toggle input {
    width: 18px;
    height: 18px;
    accent-color: var(--green);
}

#search-submit {
    min-width: 184px;
    min-height: 54px;
    padding: 0 24px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--pink), var(--green));
    color: #060606;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 28px rgba(255, 0, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#search-submit:hover,
#search-submit:focus {
    transform: translateY(-2px);
    box-shadow: 0 0 34px rgba(0, 255, 159, 0.24);
}

#search-submit.is-loading {
    opacity: 0.7;
    cursor: progress;
}

.form-errors {
    min-height: 24px;
    margin-top: 14px;
    color: var(--danger);
    font-size: 0.92rem;
}

.results-panel {
    width: min(1180px, calc(100vw - 48px));
    margin: 28px auto 0;
    padding: 28px 0 60px;
    animation: reveal 0.3s ease;
}

.results-head {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 18px;
}

.results-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.results-status {
    margin-bottom: 18px;
    color: var(--muted);
    min-height: 22px;
}

.results-status[data-state="error"] {
    color: var(--danger);
}

.results-status[data-state="success"] {
    color: var(--green);
}

.results-columns {
    display: grid;
    grid-template-columns: minmax(240px, 0.85fr) minmax(320px, 1.15fr);
    gap: 20px;
}

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

.column-card {
    padding: 24px;
}

.variation-list,
.reverse-image-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.variation-chip {
    border-color: rgba(255, 0, 255, 0.2);
    background: rgba(255, 0, 255, 0.08);
}

.reverse-image-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 159, 0.24);
    color: var(--text);
    text-decoration: none;
    background: rgba(0, 255, 159, 0.08);
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.reverse-image-links a:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 0, 255, 0.32);
}

.profile-results {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 18px;
}

.profile-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.profile-platform {
    margin: 0 0 8px;
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green);
}

.profile-title {
    margin: 0;
    font-size: 1.08rem;
    color: var(--text);
}

.profile-subtitle {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 10px;
}

.profile-score {
    color: var(--pink);
    font-size: 1.1rem;
    font-weight: 800;
}

.profile-link {
    color: var(--text);
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 0, 255, 0.24);
    background: rgba(255, 0, 255, 0.08);
}

.empty-state {
    padding: 22px;
    border-radius: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    color: var(--muted);
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .hero-shell,
    .results-columns {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .console-panel,
    .column-card {
        padding: 24px;
    }
}

@media (max-width: 720px) {
    .hero-shell,
    .results-panel {
        width: min(100vw - 24px, 1180px);
    }

    .field-grid,
    .platform-grid {
        grid-template-columns: 1fr;
    }

    .actions-row {
        flex-direction: column;
        align-items: stretch;
    }

    #search-submit {
        width: 100%;
    }

    .profile-row {
        grid-template-columns: 1fr;
    }

    .profile-actions {
        align-items: start;
    }

    .home-actions-grid {
        grid-template-columns: 1fr;
    }
}
