/* ==========================================================================
   Game 36 - list.css
   Shared by more.ftl (category listing) and search.ftl (results)
   ========================================================================== */

.g36-filterbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.g36-count {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--g36-ink-3);
    white-space: nowrap;
}

.g36-count strong {
    color: var(--g36-ink);
}

/* --------------------------------------------------------------------------
   Search page header
   -------------------------------------------------------------------------- */

.g36-searchbox {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 640px;
    margin-bottom: 22px;
    padding: 6px 6px 6px 18px;
    background: var(--g36-surface);
    border: 1px solid var(--g36-line);
    border-radius: 15px;
    box-shadow: var(--g36-shadow);
    transition: border-color .16s ease, box-shadow .16s ease;
}

.g36-searchbox:focus-within {
    border-color: var(--g36-brand);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, .10);
}

.g36-searchbox .g36-ico {
    width: 19px;
    height: 19px;
    color: var(--g36-ink-3);
}

.g36-searchbox input {
    flex: 1;
    min-width: 0;
    height: 42px;
    border: 0;
    background: transparent;
    font-size: 15.5px;
    color: var(--g36-ink);
    outline: none;
}

.g36-searchbox input::placeholder {
    color: var(--g36-ink-3);
}

.g36-searchbox button {
    flex: 0 0 auto;
    height: 42px;
    padding: 0 22px;
    border-radius: 11px;
    background: var(--g36-brand);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: background .16s ease;
}

.g36-searchbox button:hover {
    background: #4338ca;
}

/* --------------------------------------------------------------------------
   Empty state
   -------------------------------------------------------------------------- */

.g36-empty {
    padding: 46px 24px;
    background: var(--g36-surface);
    border: 1px solid var(--g36-line);
    border-radius: var(--g36-radius);
    text-align: center;
}

.g36-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    border-radius: 18px;
    background: var(--g36-brand-soft);
    color: var(--g36-brand);
}

.g36-empty-icon .g36-ico {
    width: 26px;
    height: 26px;
}

.g36-empty h2 {
    font-size: 18px;
    margin-bottom: 6px;
}

.g36-empty p {
    margin: 0 0 18px;
    font-size: 14px;
    color: var(--g36-ink-3);
}

/* --------------------------------------------------------------------------
   Load more / progressive list
   -------------------------------------------------------------------------- */

.g36-loadbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.g36-loadbar .g36-btn {
    min-width: 190px;
}

.g36-loadbar-hint {
    font-size: 12.5px;
    color: var(--g36-ink-3);
}

.g36-sentinel {
    width: 100%;
    height: 1px;
}

/* --------------------------------------------------------------------------
   Category description
   -------------------------------------------------------------------------- */

.g36-catdesc {
    margin-top: 34px;
    padding: 24px 26px;
    background: var(--g36-surface);
    border: 1px solid var(--g36-line);
    border-radius: var(--g36-radius);
}

.g36-catdesc h2 {
    margin-bottom: 10px;
    font-size: 18px;
}

@media (max-width: 1023px) {
    .g36-searchbox {
        max-width: 100%;
        padding-left: 14px;
    }

    .g36-searchbox button {
        padding: 0 16px;
    }

    .g36-empty {
        padding: 34px 18px;
    }

    .g36-catdesc {
        padding: 18px;
    }
}
