/* HOTL1ST.com - /your-hotlists (mobile first) */

.hl-shell {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 1rem 0 2.5rem;
}

.hl-hero {
    background: linear-gradient(135deg, #588ae4 0%, #e24e60 100%);
    color: #ffffff;
    border-radius: 1.25rem;
    padding: 1.35rem 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 12px 30px rgba(88, 138, 228, 0.28);
}

.hl-hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.hl-title {
    margin: 0;
    font-size: 1.65rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hl-sub {
    margin: 0.4rem 0 0;
    font-size: 0.92rem;
    line-height: 1.4;
    opacity: 0.92;
}

.hl-signout {
    flex: 0 0 auto;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: underline;
    padding-top: 0.25rem;
    opacity: 0.9;
}

.hl-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 1.25rem;
    padding: 1.1rem;
    margin-bottom: 0.9rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}

.hl-card-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.25rem;
}

.hl-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    background: #588ae4;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    flex: 0 0 auto;
}

.hl-h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.hl-hint {
    margin: 0.35rem 0 0.7rem;
    font-size: 0.85rem;
    line-height: 1.45;
    color: #64748b;
}

.hl-label {
    display: block;
    margin: 0.2rem 0 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #475569;
}

.hl-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 0.85rem;
    background: #f8fafc;
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.3;
    padding: 0.8rem 0.95rem;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.hl-input:focus {
    background: #ffffff;
    border-color: #588ae4;
    box-shadow: 0 0 0 3px rgba(88, 138, 228, 0.18);
}

.hl-results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.75rem;
}

@media (min-width: 520px) {
    .hl-results {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.hl-item {
    display: flex;
    flex-direction: column;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    background: #ffffff;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.hl-item:hover,
.hl-item:focus-visible {
    border-color: #588ae4;
    box-shadow: 0 6px 16px rgba(88, 138, 228, 0.2);
    transform: translateY(-1px);
}

.hl-item img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #f1f5f9;
}

.hl-item-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0.4rem 0.45rem;
    font-size: 0.72rem;
    line-height: 1.2;
    font-weight: 600;
    color: #0f172a;
}

.hl-questions {
    margin-top: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.hl-q {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.6rem;
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #ffffff;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.12s ease, background 0.12s ease;
}

.hl-q:hover,
.hl-q:focus-visible {
    border-color: #588ae4;
    background: #f5f9ff;
}

.hl-q-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
}

.hl-q-meta {
    flex: 0 0 auto;
    font-size: 0.7rem;
    color: #94a3b8;
    white-space: nowrap;
}

.hl-loading,
.hl-empty {
    grid-column: 1 / -1;
    margin: 0.35rem 0;
    font-size: 0.82rem;
    color: #94a3b8;
}

.hl-empty {
    padding: 0.6rem 0;
}

.hl-picked {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 0.75rem;
    padding: 0.6rem;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    border-radius: 0.9rem;
}

.hl-picked-img {
    width: 56px;
    height: 56px;
    border-radius: 0.6rem;
    object-fit: cover;
    background: #dbeafe;
    flex: 0 0 auto;
}

.hl-picked-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.hl-picked-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #588ae4;
}

.hl-picked-name {
    display: block;
    font-size: 0.92rem;
    color: #0f172a;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hl-picked-change {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: #588ae4;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    padding: 0.35rem;
}

.hl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0.4rem;
    padding: 0.95rem 1.25rem;
    border: 0;
    border-radius: 999px;
    background: #588ae4;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: filter 0.12s ease, opacity 0.12s ease;
}

.hl-btn:hover:not([disabled]) {
    filter: brightness(1.06);
}

.hl-btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

.hl-btn-ghost {
    background: #ffffff;
    color: #588ae4;
    border: 1px solid #588ae4;
    margin-top: 0.75rem;
}

.hl-fineprint {
    margin: 0.8rem 0 0;
    font-size: 0.72rem;
    line-height: 1.45;
    color: #94a3b8;
    text-align: center;
}

.hl-warn {
    margin-top: 0.5rem;
    padding: 0.9rem 1rem;
    border: 1px solid #fdba74;
    border-radius: 0.9rem;
    background: #fff7ed;
    color: #9a3412;
}

.hl-warn-title {
    margin: 0 0 0.3rem;
    font-size: 0.92rem;
    font-weight: 800;
}

.hl-warn-text {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.45;
}

.hl-warn-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #c2410c;
    text-decoration: underline;
}

.hl-alert {
    margin: 0.75rem 0;
    padding: 0.85rem 1rem;
    border: 1px solid #fecaca;
    border-radius: 0.9rem;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 0.88rem;
    line-height: 1.45;
}

.hl-ok {
    margin: 0.75rem 0;
    padding: 0.9rem 1rem;
    border: 1px solid #a7f3d0;
    border-radius: 0.9rem;
    background: #ecfdf5;
    color: #065f46;
    font-size: 0.9rem;
    line-height: 1.45;
}

.hl-ok-title {
    margin: 0 0 0.25rem;
    font-size: 0.98rem;
    font-weight: 800;
}

.hl-ok-text {
    margin: 0;
    font-size: 0.85rem;
}

.hl-ok-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #047857;
    text-decoration: underline;
}

.hl-hidden {
    display: none !important;
}

@media (min-width: 768px) {
    .hl-shell {
        padding: 1.5rem 0 3rem;
    }
    .hl-title {
        font-size: 2rem;
    }
    .hl-card {
        padding: 1.4rem;
    }
}
