*,
*:before,
*:after{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
}

:root{
    --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --radius: .625rem;
    --background: #050302;
    --background-deep: #000000;
    --foreground: #f5f0ef;
    --card: #0a0505;
    --muted-foreground: #7d6f6c;
    --border: rgba(255, 255, 255, .09);
    --border-blood: rgba(139, 0, 0, .28);
    --blood: #8b0000;
    --blood-bright: #c41e1e;
    --blood-dark: #3d0000;
    --blood-glow: rgba(139, 0, 0, .25);
    --white-05: rgba(255, 255, 255, .04);
    --white-10: rgba(255, 255, 255, .09);
    --emerald: #37d98a;
    --emerald-deep: #0f7a4a;
    --emerald-line: rgba(55, 217, 138, .35);
    --emerald-soft: rgba(55, 217, 138, .16);
}

html,
body{
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    background: var(--background-deep);
    color: var(--foreground);
    min-height: 100dvh;
    line-height: 1.5;
}

body{
    background:
        radial-gradient(1200px 500px at 50% -10%, rgba(139, 0, 0, .10), transparent 60%),
        radial-gradient(900px 400px at 100% 20%, rgba(80, 0, 0, .08), transparent 60%),
        var(--background-deep);
}

a{
    color: inherit;
    text-decoration: none;
}

.main{
    position: relative;
    min-height: 100dvh;
    overflow: hidden;
}

.page{
    position: relative;
    margin: 0 auto;
    max-width: 64rem;
    padding: 0 1.25rem 5rem;
}

/* ---------- Header ---------- */

.header{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-blood);
    background: rgba(5, 3, 2, .8);
    backdrop-filter: blur(12px);
    padding: 1rem 1.25rem;
}

.brand{
    display: flex;
    align-items: center;
}

.brand-logo{
    display: block;
    height: 2.25rem;
    width: auto;
    object-fit: contain;
    opacity: .95;
}

.header-actions{
    display: flex;
    align-items: center;
    gap: .5rem;
}

.pill-outline{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--border-blood);
    border-radius: 999px;
    padding: .5rem 1rem;
    font-size: .75rem;
    font-weight: 600;
    transition: background .15s ease;
}

.pill-outline:hover{
    background: var(--white-05);
}

.pill-solid{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 999px;
    background: var(--blood);
    color: #fff;
    padding: .5rem 1rem;
    font-size: .75rem;
    font-weight: 600;
    transition: background .15s ease;
}

.pill-solid:hover{
    background: var(--blood-bright);
}

.pill-ghost{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 0;
    background: transparent;
    color: var(--muted-foreground);
    font-size: .7rem;
    font-weight: 600;
    padding: .4rem .6rem;
    cursor: pointer;
}

.pill-ghost:hover{
    color: var(--blood-bright);
}

.referral-line{
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: .75rem;
}

.referral-line .auth-input{
    flex: 1;
    min-width: 0;
}

.referral-copied{
    color: var(--emerald) !important;
    min-height: 1.1rem;
    margin-top: .5rem;
}

/* ---------- Hero ---------- */

.hero{
    padding-top: 6.5rem;
    text-align: center;
}

.display{
    margin: 0 auto;
    max-width: 16ch;
    font-size: clamp(2.4rem, 2.2rem + 2vw, 3.75rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.025em;
    /* --foreground, not a literal: a light profile theme re-points this token
       at its own ink, and a hardcoded bone-white made the display name
       invisible on every light background. */
    color: var(--foreground);
}

.display em{
    font-style: normal;
    color: var(--blood-bright);
    text-shadow: 0 0 24px var(--blood-glow);
}

.hero-sub{
    margin: 1.25rem auto 0;
    max-width: 36rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--muted-foreground);
}

.blood-link{
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    margin-top: 1.5rem;
    font-size: .875rem;
    font-weight: 600;
    color: var(--blood-bright);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color .15s ease;
}

.blood-link:hover{
    color: #ff4d4d;
}

.address-row{
    margin: 1.25rem auto 0;
    display: flex;
    width: 100%;
    max-width: 36rem;
    align-items: stretch;
    gap: .5rem;
}

.address-pill{
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    border: 1px solid var(--border-blood);
    border-radius: 999px;
    background: var(--white-05);
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: left;
    font-size: .875rem;
    color: var(--muted-foreground);
}

.address-prefix{
    flex-shrink: 0;
}

.address-type{
    display: inline-flex;
    min-width: 0;
    align-items: center;
}

.truncate{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--foreground);
}

.cursor{
    margin-left: 2px;
    height: 1.05em;
    width: 1px;
    flex-shrink: 0;
    background: var(--blood-bright);
    animation: blink 1.1s step-end infinite;
}

@keyframes blink{
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.start-btn{
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--blood);
    color: #fff;
    padding: .75rem 1.75rem;
    font-size: .75rem;
    font-weight: 600;
    transition: background .3s ease, transform .15s ease;
}

.start-btn:hover{
    background: var(--blood-bright);
}

.start-btn:active{
    transform: scale(.98);
}

.support-link{
    display: inline-block;
    margin-top: 1rem;
    font-size: .75rem;
    font-weight: 600;
    color: var(--muted-foreground);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.support-link:hover{
    color: var(--foreground);
}

/* ---------- Screenshot cards ---------- */

.shots{
    position: relative;
    margin-top: 3.5rem;
    height: 380px;
    perspective: 1200px;
}

.shot-card{
    position: absolute;
    top: 0;
    width: 168px;
    transition: transform .15s ease, opacity .15s ease;
}

.shot-card.rotate-left{
    left: 50%;
    margin-left: -242px;
    transform: rotate(-6deg);
}

.shot-card.rotate-right{
    left: 50%;
    margin-left: 74px;
    transform: rotate(6deg);
    top: 30px;
}

.shot-inner{
    overflow: hidden;
    border: 1px solid var(--border-blood);
    border-radius: 1.7rem;
    background: #060303;
    box-shadow: 0 40px 80px -30px rgba(60, 0, 0, .65);
}

.shot-mock{
    position: relative;
    text-align: center;
    padding: 1rem .8rem 1.1rem;
    min-height: 300px;
}

.mock-name{
    font-size: .75rem;
    font-weight: 600;
}

.mock-check{
    height: .7rem;
    width: .7rem;
    vertical-align: baseline;
}

.mock-status{
    font-size: .6rem;
    color: var(--muted-foreground);
}

.mock-avatar-big{
    margin: 0 auto;
    height: 3.5rem;
    width: 3.5rem;
    overflow: hidden;
    border-radius: 999px;
    border: 2px solid var(--blood);
    box-shadow: 0 0 18px var(--blood-glow);
}

.mock-avatar-big img{
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.mock-badges{
    margin-top: .55rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .25rem;
    flex-wrap: wrap;
}

.mock-chip{
    font-size: .5rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--blood-bright);
    border: 1px solid var(--border-blood);
    border-radius: 999px;
    padding: .1rem .35rem;
}

.mock-badge{
    height: .85rem;
    width: .85rem;
    object-fit: contain;
}

.mock-stats{
    margin-top: .5rem;
    font-size: .58rem;
    color: var(--muted-foreground);
}

.mock-stats strong{
    color: var(--foreground);
}

.mock-link{
    margin-top: .6rem;
    border: 1px solid var(--border-blood);
    border-radius: .6rem;
    padding: .4rem .5rem;
    font-size: .62rem;
    color: var(--foreground);
    background: rgba(139, 0, 0, .10);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-music{
    margin-top: .7rem;
    border: 1px solid var(--border-blood);
    border-radius: .7rem;
    padding: .45rem .5rem .45rem .45rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    background: rgba(139, 0, 0, .08);
}

.mock-cover{
    height: 1.9rem;
    width: 1.9rem;
    border-radius: .35rem;
    object-fit: cover;
}

.mock-music-body{
    flex: 1;
    text-align: left;
    min-width: 0;
}

.mock-track{
    font-size: .62rem;
    font-weight: 600;
    color: var(--foreground);
}

.mock-artist{
    font-size: .52rem;
    color: var(--muted-foreground);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mock-play{
    position: relative;
    flex: none;
    height: 1.4rem;
    width: 1.4rem;
    border-radius: 999px;
    background: var(--blood);
}

.mock-play::after{
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-42%, -50%);
    border-width: 0 0 0 .42rem;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
}

/* ---------- Badge ---------- */

.no-ads{
    margin-top: -.5rem;
    text-align: center;
}

.badge{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--border-blood);
    border-radius: 999px;
    background: var(--white-05);
    padding: .35rem .9rem;
    font-size: .75rem;
    font-weight: 500;
    color: var(--muted-foreground);
}

/* ---------- Blood+ pitch (in-house ad, lander) ---------- */

.bp-pitch{
    max-width: 560px;
    margin: 2.5rem auto 0;
    padding: 1.5rem 1.75rem;
    text-align: center;
    border: 1px dashed var(--emerald-line);
    border-radius: 1.25rem;
    background:
        radial-gradient(140% 160% at 50% -30%, rgba(55, 217, 138, .12), transparent 60%),
        var(--white-05);
}

.bp-pitch-badge{
    border: none;
    background: linear-gradient(135deg, #19b06a, #0f7a4a);
    color: #f2fff8;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.bp-pitch-text{
    margin: .8rem 0 1.1rem;
    font-size: .95rem;
    color: var(--muted-foreground);
}

.bp-pitch-text strong{
    color: var(--foreground);
}

.bp-pitch-btn{
    text-decoration: none;
    background: linear-gradient(135deg, #19b06a, #0f7a4a);
}

.bp-pitch-btn:hover{
    background: linear-gradient(135deg, #22c97b, #19b06a);
}

.mini-actions{
    margin: 1.25rem auto 0;
    display: flex;
    max-width: 24rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .75rem;
}

/* ---------- Socials ---------- */
















/* ---------- Features ---------- */

.features-section{
    margin-top: 4rem;
}

.features-section h2{
    font-size: 1.125rem;
    font-weight: 600;
}

.features-grid{
    margin-top: 1rem;
    display: grid;
    gap: .5rem;
    grid-template-columns: repeat(3, 1fr);
}

.feature-card{
    border: 1px solid var(--border-blood);
    border-radius: var(--radius);
    background: var(--white-05);
    padding: 1rem;
    transition: border-color .3s ease, background .3s ease;
}

.feature-card:hover{
    border-color: rgba(196, 30, 30, .6);
    background: var(--white-10);
}

.feature-card h3{
    font-size: .875rem;
    font-weight: 600;
}

.feature-card p{
    margin-top: .4rem;
    font-size: .75rem;
    line-height: 1.6;
    color: var(--muted-foreground);
}

/* ---------- News / music ---------- */

.news-section{
    margin-top: 2.5rem;
    border-top: 1px solid var(--border-blood);
    padding-top: 2rem;
}

.updates-head{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.eyebrow{
    font-size: .625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted-foreground);
}

.updates-head h2{
    margin-top: .25rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.new-badge{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
    border: 1px solid var(--border-blood);
    border-radius: 999px;
    padding: .25rem .6rem;
    font-size: .625rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--blood-bright);
    background: rgba(139, 0, 0, .08);
}

.music-card{
    margin-top: 1rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(139, 0, 0, .06), rgba(0, 0, 0, 0) 60%);
    border: 1px solid var(--border-blood);
    padding: 1.25rem;
}

.music-info{
    display: flex;
    align-items: center;
    gap: .75rem;
}

.music-art{
    height: 3.5rem;
    width: 3.5rem;
    border-radius: .75rem;
    object-fit: cover;
    border: 1px solid var(--border-blood);
    box-shadow: 0 0 16px var(--blood-glow);
}

.music-meta{
    min-width: 0;
    flex: 1;
}

.music-label{
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted-foreground);
}

.music-title{
    font-weight: 600;
    line-height: 1.3;
}

.music-artist{
    font-size: .75rem;
    color: var(--muted-foreground);
}

.play-btn{
    display: flex;
    position: relative;
    height: 3rem;
    width: 3rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: var(--blood);
    cursor: pointer;
    border: none;
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}

.play-btn:hover{
    background: var(--blood-bright);
    box-shadow: 0 0 22px var(--blood-glow);
}

.play-btn:active{
    transform: scale(.94);
}

.play-btn:disabled{
    cursor: default;
    opacity: .95;
    background: var(--blood);
    box-shadow: 0 0 22px var(--blood-glow);
}

.play-btn:disabled:hover{
    background: var(--blood);
    box-shadow: 0 0 22px var(--blood-glow);
}

.playing-dot{
    position: absolute;
    bottom: 6px;
    right: 6px;
    height: 7px;
    width: 7px;
    border-radius: 999px;
    background: #ff4d4d;
    box-shadow: 0 0 8px #ff2a2a;
    animation: dotpulse 1.4s ease-in-out infinite;
}

@keyframes dotpulse{
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .35; transform: scale(.7); }
}

.play-btn .icon-play{ display: none; }
.play-btn .icon-pause{ display: block; }

.viz{
    display: block;
    margin-top: 1.1rem;
    width: 100%;
    height: 96px;
    border-radius: .5rem;
    background:
        radial-gradient(70% 90% at 50% 60%, rgba(139, 0, 0, .10), transparent 70%),
        rgba(0, 0, 0, .35);
    border: 1px solid var(--border-blood);
}

/* ---------- Footer ---------- */

.footer{
    margin-top: 4rem;
    border-top: 1px solid var(--border-blood);
    padding-top: 1.5rem;
    font-size: .75rem;
    color: var(--muted-foreground);
    text-align: center;
}

.footer a{
    text-decoration: underline;
}

.footer a:hover{
    color: var(--foreground);
}

.notfound-footer{
    margin-top: 8rem;
}

/* ---------- Legal pages ---------- */

.legal{
    padding-top: 4rem;
    max-width: 42rem;
}

.legal-title{
    margin-top: .75rem;
    font-size: clamp(1.8rem, 1.6rem + 1vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -.02em;
    /* Token, not a literal — same reason as .display above. */
    color: var(--foreground);
}

.legal-updated{
    margin-top: .5rem;
    font-size: .75rem;
    color: var(--muted-foreground);
}

.legal h2{
    margin-top: 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--blood-bright);
    text-shadow: 0 0 18px var(--blood-glow);
}

.legal p{
    margin-top: .6rem;
    font-size: .9rem;
    line-height: 1.75;
    color: var(--muted-foreground);
}

.legal ul{
    margin-top: .6rem;
    padding-left: 1.1rem;
    font-size: .9rem;
    line-height: 1.75;
    color: var(--muted-foreground);
    list-style: disc;
}

.copyright{
    margin-top: 2rem;
    padding-bottom: 1rem;
    text-align: center;
    font-size: .7rem;
    color: var(--muted-foreground);
}

.notfound-logo{
    width: 84px;
    height: 84px;
    margin: 0 auto 1.5rem;
    border-radius: 26px;
    border: 1px solid var(--border-blood);
    overflow: hidden;
    background: rgba(10, 5, 5, .8);
    animation: notfound-glow 4s ease-in-out infinite;
}

.notfound-logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes notfound-glow{
    0%,
    100% {
        box-shadow: 0 0 24px rgba(196, 30, 30, .28), 0 12px 40px rgba(0, 0, 0, .8), inset 0 1px rgba(255, 255, 255, .06);
    }
    50% {
        box-shadow: 0 0 46px rgba(196, 30, 30, .5), 0 12px 40px rgba(0, 0, 0, .8), inset 0 1px rgba(255, 255, 255, .06);
    }
}

/* ---------- Responsive ---------- */

@media (max-width: 48rem){
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 4rem;
    }

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

    .start-btn {
        padding: .75rem 1rem;
    }

    .shots {
        height: 300px;
    }

    .shot-card.rotate-left,
    .shot-card.rotate-right {
        width: 132px;
    }

    .shot-card.rotate-left {
        margin-left: -184px;
    }

    .shot-card.rotate-right {
        margin-left: 52px;
    }
}

/* ---------- Auth pages ---------- */

.auth-hero{
    padding-top: 4.5rem;
}

.auth-title{
    max-width: 14ch;
    font-size: clamp(2rem, 1.8rem + 1.4vw, 3rem);
}

.auth-form{
    margin: 2rem auto 0;
    max-width: 22rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.auth-label{
    text-align: left;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted-foreground);
}

.auth-input{
    width: 100%;
    border: 1px solid var(--border-blood);
    border-radius: var(--radius);
    background: var(--white-05);
    color: var(--foreground);
    padding: .8rem 1rem;
    font-size: 1rem;
    outline: none;
    transition: border-color .15s ease, background .15s ease;
}

.auth-input:focus{
    border-color: var(--blood-bright);
    background: var(--white-10);
}

.code-input{
    text-align: center;
    font-size: 1.4rem;
    letter-spacing: .3em;
    font-variant-numeric: tabular-nums;
}

.auth-error{
    font-size: .875rem;
    line-height: 1.5;
    color: #ff6b6b;
    text-align: left;
}

.auth-submit{
    width: 100%;
    margin-top: .25rem;
}

.account-id{
    align-self: center;
    font-size: .7rem;
    letter-spacing: .08em;
    color: var(--muted-foreground);
    font-variant-numeric: tabular-nums;
}

.account-grid{
    margin: 2rem auto 0;
    max-width: 46rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.account-card{
    border: 1px solid var(--border-blood);
    border-radius: var(--radius);
    background: var(--card);
    padding: 1.25rem 1.25rem 1.5rem;
}

.account-heading{
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--foreground);
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    gap: .5rem;
}

.account-count{
    color: var(--blood-bright);
}

.account-names{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.account-name-row{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 1px solid var(--white-05);
    padding-bottom: .4rem;
}

.account-name{
    color: var(--foreground);
    font-weight: 600;
    text-decoration: none;
}

.account-name:hover{
    color: var(--blood-bright);
}

.account-name-meta{
    font-size: .7rem;
    color: var(--muted-foreground);
}

.account-empty,
.account-text{
    font-size: .875rem;
    line-height: 1.6;
    color: var(--muted-foreground);
}

.account-text.on{
    color: #8fbf8f;
}

.account-error{
    color: #ff8a8a;
    border: 1px solid rgba(196, 30, 30, .35);
    border-radius: var(--radius);
    padding: .5rem .75rem;
    background: rgba(196, 30, 30, .08);
    margin-bottom: .75rem;
}

.account-badges{
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin: .75rem 0;
}

.account-badge{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
}

.account-badge img{
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(196, 30, 30, .35));
}

.account-badge-name{
    font-size: .62rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted-foreground);
}

.muted-link:hover{
    color: var(--blood-bright);
}

/* ---------- auction / market subdomains ---------- */

.market-links{
    display: flex;
    gap: .5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.auction-list{
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-top: 2rem;
}

.auction-row{
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.auction-name{
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.auction-name .account-name{ color: var(--foreground); }
.auction-name .account-name:hover{ color: var(--blood-bright); }

.auction-min{
    font-size: .8rem;
    color: var(--muted-foreground);
}

.auction-min strong{
    color: var(--blood-bright);
}

.auction-bid{
    display: flex;
    gap: .5rem;
    align-items: center;
    flex-wrap: wrap;
    max-width: 340px;
}

.auction-bid input{
    flex: 1 1 140px;
}

.auction-result{
    font-size: .8rem;
    color: var(--muted-foreground);
    min-height: 1em;
}

.auction-result.on{
    color: #8fbf8f;
}

.auction-clock{
    color: var(--foreground);
    font-variant-numeric: tabular-nums;
}

.auction-current strong{
    color: var(--blood-bright);
}

.start-panel{
    margin-top: 2rem;
    text-align: center;
}

.start-panel .account-heading{
    justify-content: center;
}

.auction-form{
    display: flex;
    flex-direction: column;
    gap: .6rem;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.field-label{
    font-size: .78rem;
    color: var(--muted-foreground);
    margin-top: .4rem;
}

.account-error-banner{
    margin-bottom: 1rem;
    padding: .7rem .8rem;
    border: 1px solid var(--border-blood);
    border-radius: var(--radius);
    background: var(--white-05);
}

.totp-secret{
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: .8rem;
    letter-spacing: .08em;
    background: var(--white-05);
    border: 1px solid var(--border-blood);
    border-radius: var(--radius);
    padding: .6rem .8rem;
    margin: .5rem 0 1rem;
    word-break: break-all;
    color: var(--foreground);
}

.warn{
    background: var(--white-10);
    color: var(--foreground);
}

.warn:hover{
    background: rgba(196, 30, 30, .35);
}

@media (max-width: 720px){
    .account-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Profile (subdomain) ---------- */

.pill-soft{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--border-blood);
    border-radius: 999px;
    padding: .35rem .75rem;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    background: var(--white-05);
}

.profile-card{
    padding-top: 5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
}

/* Legacy profile-avatar block. profile-2.css owns this element on profile
   pages and themes.css reskins it per theme; this copy still matched at equal
   specificity on non-profile pages and its hardcoded #fff plus blood-red
   gradient overrode a light theme's own avatar colours, painting a white
   letter on a white disc. Kept the geometry, dropped the colour overrides so
   whichever stylesheet owns the element wins. */
.profile-avatar{
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.profile-handle{
    max-width: none;
    word-break: break-all;
}

.profile-sub{
    margin-top: 0;
}

.profile-pill{
    margin-top: .25rem;
}

.profile-links{
    margin: 2.5rem auto 0;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.profile-link{
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .7rem 1rem;
    border: 1px solid var(--border-blood);
    border-radius: calc(var(--radius) + 2px);
    background: var(--white-05);
    transition: background .15s ease, border-color .15s ease;
}

.profile-link:hover{
    background: var(--white-10);
    border-color: var(--blood);
}

.profile-link-icon{
    width: 26px;
    height: 26px;
    flex: none;
    display: grid;
    place-items: center;
}

.profile-link-img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(.4);
}

.profile-link-label{
    font-size: .875rem;
    color: var(--foreground);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* Credits buy page */
.credits-packs{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.credit-pack{
    border: 1px solid var(--border-blood);
    border-radius: var(--radius);
    background: var(--card);
    padding: 1.25rem;
    cursor: pointer;
    text-align: left;
    transition: background .15s ease, border-color .15s ease;
    color: inherit;
}

.credit-pack:hover{
    background: var(--white-10);
    border-color: var(--blood);
}

.credit-pack.selected{
    background: var(--white-10);
    border-color: var(--blood-bright);
}

.credit-pack-price{
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--foreground);
}

.credit-pack-credits{
    display: block;
    margin-top: .25rem;
    font-size: .875rem;
    color: var(--blood-bright);
}

.credits-status{
    color: var(--blood-bright);
    min-height: 1.25rem;
    margin: 1rem 0;
}

.checkout-form{
    max-width: 560px;
    margin: 0 auto;
}

.credits-card .start-btn{
    margin-top: .5rem;
}
