/* Unpublished characters — awaiting public review, open to monthly-pass holders.
   Shared by the browse grid, the character page and its locked variant. */

.unpub-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #1a1205;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* Corner chip on a portrait. Cards are ~108px wide on a phone, so the
   label has to stay in the corner or it covers the face. */
.unpub-badge--on-image {
    z-index: 2;
    left: auto;
    right: 8px;
    top: 8px;
    max-width: 42%;
    padding: 0 4px;
    gap: 0;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    line-height: 1.3;
    background: rgba(20, 16, 8, 0.45);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.28);
    box-shadow: none;
}

/* Count bubble on the Unpublished tab icon (character_list_partial.html). */
.unpub-tab-count {
    position: absolute;
    top: -7px;
    right: -11px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #f59e0b;
    color: #1a1205;
    font-size: 0.6rem;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
}

.unpub-banner {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(217, 119, 6, 0.06));
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.88rem;
    line-height: 1.45;
}

.unpub-banner__icon {
    font-size: 1.3rem;
    line-height: 1;
    flex-shrink: 0;
}

.unpub-banner__title {
    display: block;
    color: #fbbf24;
    font-weight: 700;
    margin-bottom: 2px;
}

.unpub-banner a {
    color: #fcd34d;
}

/* Upsell shown in the Unpublished tab to visitors without a pass. */
.unpub-upsell {
    max-width: 640px;
    margin: 0 auto;
    padding: 28px 22px;
    border-radius: 20px;
    text-align: center;
    background: linear-gradient(160deg, rgba(245, 158, 11, 0.12), rgba(124, 58, 237, 0.10));
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.unpub-upsell__icon {
    font-size: 2.4rem;
    line-height: 1;
}

.unpub-upsell__title {
    margin: 12px 0 6px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
}

.unpub-upsell__text {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.unpub-upsell__list {
    list-style: none;
    padding: 0;
    margin: 0 auto 20px;
    max-width: 420px;
    text-align: left;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
}

.unpub-upsell__list li {
    display: flex;
    gap: 10px;
    padding: 5px 0;
}

.unpub-upsell__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.unpub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    border: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.unpub-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.unpub-btn--primary {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #1a1205;
}

.unpub-btn--primary:hover {
    color: #1a1205;
}

.unpub-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
}

.unpub-btn--ghost:hover {
    color: #fff;
}

.unpub-fineprint {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
}

/* Locked character page: no unreviewed image, just the initial. */
.unpub-locked-avatar {
    width: 96px;
    height: 96px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #f59e0b);
    position: relative;
}

.unpub-locked-avatar__lock {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #1a1a24;
    border: 2px solid rgba(245, 158, 11, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}
