/**
 * Clapback mascot art — tier cards, header, result hero
 * Matches paint-splatter dog illustrations
 */

/* ── Header tier mascot (replaces logo in Clapback mode) ── */
.header-tier-mascot {
    width: 76px;
    height: 76px;
    object-fit: cover;
    object-position: center 22%;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
}

.header-tier-mascot--judgmental_bastard {
    object-position: center 28%;
}

.header-tier-mascot--sick_puppy {
    object-position: center 22%;
    background: #050505;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Tier banner with mascot peek ── */
.clapback-tier-banner {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    text-align: left;
    padding: 0 !important;
    min-height: 128px;
}

/* bt-themes.css toggles this banner to `display:block` via the more-specific
   `body.clapback-active` selector, which collapses the mascot-beside-copy flex
   row. Re-assert flex on the result page (equal specificity, loaded later). */
body.bt-result-page .clapback-tier-banner {
    display: flex;
}

.tier-banner-mascot {
    width: 118px;
    min-height: 128px;
    object-fit: cover;
    object-position: center 20%;
    flex-shrink: 0;
    border-right: 3px solid rgba(0, 0, 0, 0.08);
}

.tier-banner-mascot--sick_puppy {
    object-position: center 20%;
    border-right-color: rgba(255, 45, 149, 0.35);
}

.tier-banner-copy {
    flex: 1;
    padding: 0.9rem 1.15rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.tier-banner-copy .tier-banner-eyebrow,
.tier-banner-copy .tier-banner-label,
.tier-banner-copy .tier-banner-sub {
    text-align: left;
}

/* ── Tier cards with mascot header ── */
.tier-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 !important;
    min-height: 240px;
}

.tier-card-mascot {
    position: relative;
    height: 148px;
    overflow: hidden;
    background: #f4efe6;
    flex-shrink: 0;
}

.tier-card-mascot::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.18));
    pointer-events: none;
}

.tier-mascot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    transition: transform 0.35s ease;
}

.tier-card:hover:not(.tier-locked) .tier-mascot-img {
    transform: scale(1.04);
}

.tier-card[data-tier="sick_puppy"] .tier-card-mascot {
    background: #050505;
}

.tier-card[data-tier="sick_puppy"] .tier-mascot-img {
    height: 112%;
    object-position: center 6%;
}

.tier-card[data-tier="judgmental_bastard"] .tier-mascot-img {
    object-position: center 22%;
}

.tier-card[data-tier="wholesome_pup"] .tier-mascot-img {
    object-position: center 18%;
}

.tier-card-body {
    padding: 0.8rem 0.95rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tier-card .tier-lock-icon {
    z-index: 2;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0.5rem;
    right: 0.5rem;
}

/* ── Result page mascot hero ── */
.clapback-result-mascot-wrap {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.clapback-result-mascot {
    width: 96px;
    height: 96px;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.5);
}

body[data-bt-skin="sick_puppy"] .tier-banner-mascot,
body[data-bt-skin="sick_puppy"] .clapback-result-mascot {
    object-position: center 20%;
}

body[data-bt-skin="sick_puppy"] .clapback-result-mascot {
    border-color: rgba(184, 255, 46, 0.55);
    box-shadow: 0 0 24px rgba(255, 45, 149, 0.35);
}

.clapback-result-mascot-caption {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.7;
    margin: 0 0 0.25rem;
    font-weight: 700;
}

@media (min-width: 576px) {
    .tier-banner-mascot {
        width: 140px;
        min-height: 140px;
    }

    .tier-card-mascot {
        height: 160px;
    }

    .clapback-result-mascot {
        width: 112px;
        height: 112px;
    }
}