/* ===========================================
   HELLSING — Alucard Theme
   Blood red, Victorian void, no life king
   =========================================== */

.hellsing-theme
{
    --panel-accent: #ffd500;
}

.hellsing-theme .manga-show-content
{
    background: radial-gradient(ellipse at top, rgba(255,0,102,0.06) 0%, transparent 60%);
}

.hellsing-theme .dedication-card
{
    border-color: #ff0066;
    background: linear-gradient(135deg, rgba(15,0,5,0.95) 0%, rgba(30,0,10,0.9) 100%);
    box-shadow: 0 0 40px rgba(255,0,102,0.35), 0 0 80px rgba(255,0,102,0.1), inset 0 1px 0 rgba(255,255,255,0.04);
}

.hellsing-theme .dedication-card::before
{
    background: linear-gradient(90deg, transparent, #aa0044, #ff0066, #aa0044, transparent);
}

.hellsing-theme .dedication-tagline
{
    color: #ffb3cc;
    text-shadow: 0 0 15px rgba(255,0,102,0.8), 0 0 40px rgba(255,0,102,0.3);
    font-style: normal;
    letter-spacing: 0.06em;
}

.hellsing-theme .dedication-icon i
{
    color: #ff0066;
    text-shadow: 0 0 20px rgba(255,0,102,0.9);
    animation: alucardLaugh 3.5s ease-in-out infinite;
}

/* Alucard's grin — expands slowly then snaps */
@keyframes alucardLaugh {
    0%, 100% { transform: scale(1); opacity: 0.8; text-shadow: 0 0 20px rgba(255,0,102,0.9); }
    70% { transform: scale(1.18); opacity: 1;
        text-shadow: 0 0 50px rgba(255,0,102,1), 0 0 100px rgba(255,0,102,0.4); }
    71% { transform: scale(0.9); }
}

.hellsing-theme .manga-hero-banner
{
    filter: saturate(0.3) contrast(1.2) brightness(0.8);
}

.hellsing-theme .manga-hero-overlay
{
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(40,0,15,0.65) 60%, rgba(150,0,50,0.85) 100%);
}

.hellsing-theme .panel-glow-bar
{
    background: linear-gradient(90deg, transparent, #aa0044, #ff0066, #aa0044, transparent);
}

.hellsing-theme .manga-panel-frame
{
    border-color: rgba(255,0,102,0.3);
    filter: saturate(0.4) brightness(0.85);
}

.hellsing-theme .manga-panel-frame:hover
{
    border-color: #ff0066;
    box-shadow: 0 0 30px rgba(255,0,102,0.6);
    filter: saturate(0.8) brightness(1);
}

.hellsing-theme .section-title
{
    background: linear-gradient(45deg, #aa0044, #ff0066, #ffb3cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hellsing-theme .section-line
{
    background: linear-gradient(90deg, #aa0044, #ff0066, #aa0044);
    box-shadow: 0 0 20px rgba(255,0,102,0.5);
}

.hellsing-theme .cyber-button.secondary
{
    border-color: #ff0066;
    color: #ffb3cc;
}

.hellsing-theme .cyber-button.secondary:hover
{
    background: rgba(255,0,102,0.15);
    box-shadow: 0 0 30px rgba(255,0,102,0.6);
    color: #ffffff;
}

.recording-mode .hellsing-theme .dedication-icon i
{
    animation: none !important;
    transform: none !important;
}


/* ===========================================
   HELLSING — Level Zero Release Section
   =========================================== */

.alucard-containment
{
    position: relative;
    width: 100%;
    min-height: 620px;
    margin-bottom: 3rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 0, 102, 0.2);
    background: #040002;
    transition: border-color 0.6s ease;
}

.alucard-containment.released
{
    border-color: rgba(255, 0, 102, 0.7);
}

/* ── Scanline overlay ── */
.alucard-containment::before
{
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.08) 2px, rgba(0, 0, 0, 0.08) 4px);
    z-index: 10;
    pointer-events: none;
}

/* ── Blood flood — rises from bottom on release ── */
.alucard-blood-flood
{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0%;
    background: linear-gradient(to top, rgba(120, 0, 30, 0.55) 0%, rgba(80, 0, 20, 0.3) 50%, transparent 100%);
    transition: height 1.8s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
    pointer-events: none;
}

.alucard-containment.released .alucard-blood-flood
{
    height: 100%;
}

/* ── Background pulse — heartbeat ── */
.alucard-bg-pulse
{
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 60%, rgba(255, 0, 102, 0.0) 0%, transparent 70%);
    z-index: 2;
    pointer-events: none;
    transition: background 0.8s ease;
}

.alucard-containment.released .alucard-bg-pulse
{
    background: radial-gradient(ellipse at 50% 60%, rgba(255, 0, 102, 0.18) 0%, rgba(120, 0, 30, 0.08) 50%, transparent 70%);
    animation: alucardHeartbeat 2.5s ease-in-out infinite;
}

@keyframes alucardHeartbeat
{
    0%, 100% {
        background: radial-gradient(ellipse at 50% 60%,
        rgba(255, 0, 102, 0.18) 0%, rgba(120,0,30,0.08) 50%, transparent 70%);
    }
    15% {
        background: radial-gradient(ellipse at 50% 60%,
        rgba(255, 0, 102, 0.32) 0%, rgba(180,0,50,0.15) 50%, transparent 70%);
    }
    30% {
        background: radial-gradient(ellipse at 50% 60%,
        rgba(255, 0, 102, 0.18) 0%, rgba(120,0,30,0.08) 50%, transparent 70%);
    }
    45% {
        background: radial-gradient(ellipse at 50% 60%,
        rgba(255, 0, 102, 0.28) 0%, rgba(160,0,40,0.12) 50%, transparent 70%);
    }
}

/* ── Inner layout ── */
.alucard-inner
{
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 620px;
}

/* ── TOP BAR — Status terminal ── */
.alucard-terminal-bar
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 0, 102, 0.15);
    background: rgba(4, 0, 2, 0.9);
    gap: 1rem;
    flex-wrap: wrap;
}

.terminal-org
{
    font-family: var(--font-ghost);
    font-size: 0.6rem;
    letter-spacing: 0.45em;
    color: rgba(255, 0, 102, 0.78);
    text-transform: uppercase;
}

/* Restriction level display */
.terminal-level-display
{
    display: flex;
    align-items: center;
    gap: 1rem;
}

.terminal-level-label
{
    font-family: var(--font-ghost);
    font-size: 0.58rem;
    letter-spacing: 0.4em;
    color: rgba(255, 0, 102, 0.72);
    text-transform: uppercase;
}

/* The five restriction pips */
.terminal-pips
{
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.terminal-pip
{
    width: 18px;
    height: 18px;
    border-radius: 3px;
    border: 1px solid rgba(255, 0, 102, 0.56);
    background: rgba(255, 0, 102, 0.25);
    position: relative;
    transition: all 0.3s ease;
}

/* Pip label */
.terminal-pip::after
{
    content: attr(data-level);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-ghost);
    font-size: 0.5rem;
    color: rgba(255, 0, 102, 0.87);
}

/* Active pip — lit up */
.terminal-pip.active
{
    background: rgba(255, 0, 102, 0.5);
    border-color: #ff0066;
    box-shadow: 0 0 8px rgba(255, 0, 102, 0.8);
}

/* Released pip — fully engaged */
.alucard-containment.released .terminal-pip
{
    background: rgba(255, 0, 102, 0.7);
    border-color: #ff0066;
    box-shadow: 0 0 12px rgba(255, 0, 102, 0.9),
    0 0 25px rgba(255, 0, 102, 0.4);
    animation: pipFlicker 0.15s ease-in-out 3;
}

.alucard-containment.released .terminal-pip:nth-child(1) { animation-delay: 0s; }
.alucard-containment.released .terminal-pip:nth-child(2) { animation-delay: 0.1s; }
.alucard-containment.released .terminal-pip:nth-child(3) { animation-delay: 0.2s; }
.alucard-containment.released .terminal-pip:nth-child(4) { animation-delay: 0.3s; }
.alucard-containment.released .terminal-pip:nth-child(5) { animation-delay: 0.4s; }

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

/* Containment status readout */
.terminal-status
{
    font-family: var(--font-ghost);
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    color: rgba(255, 0, 102, 0.91);
    text-transform: uppercase;
    transition: all 0.5s ease;
}

.alucard-containment.released .terminal-status
{
    color: #ff0066;
    text-shadow: 0 0 10px rgba(255, 0, 102, 0.8);
    animation: statusBlink 1s step-end 4;
}

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

/* ── MIDDLE — Portrait + Stats ── */
.alucard-stage
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
}

/* ── LEFT — Portrait zone ── */
.alucard-portrait-zone
{
    position: relative;
    min-height: 420px;
    border-right: 1px solid rgba(255, 0, 102, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color 0.6s ease;
}

.alucard-containment.released .alucard-portrait-zone
{
    border-right-color: rgba(255, 0, 102, 0.35);
}

/* Portrait image — starts sealed */
.alucard-portrait-img
{
    width: 220px;
    height: 300px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    border-radius: 4px;
    position: relative;
    z-index: 3;

    /* Sealed state */
    filter: saturate(0) brightness(0.3) contrast(1.2);
    opacity: 0.4;
    transform: scale(0.95);
    transition: filter 1.2s ease 0.4s, opacity 1.2s ease 0.4s, transform 1.4s cubic-bezier(0.23, 1, 0.32, 1) 0.2s, box-shadow 1s ease 0.6s;
}

.alucard-containment.released .alucard-portrait-img
{
    filter: saturate(0.5) brightness(0.85) contrast(1.15);
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 40px rgba(255, 0, 102, 0.5), 0 0 80px rgba(255, 0, 102, 0.2);
}

/* Static noise texture over portrait — sealed state */
.alucard-portrait-static
{
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    opacity: 1;
    mix-blend-mode: overlay;
    transition: opacity 1s ease 0.3s;
    animation: staticShift 0.08s steps(1) infinite;
}

.alucard-containment.released .alucard-portrait-static
{
    opacity: 0;
    animation: none;
}

@keyframes staticShift
{
    0%   { background-position: 0 0; }
    25%  { background-position: -10px 5px; }
    50%  { background-position: 5px -8px; }
    75%  { background-position: -5px 10px; }
    100% { background-position: 8px -4px; }
}

/* SEALED overlay text */
.alucard-seal-overlay
{
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: opacity 0.6s ease;
}

.alucard-containment.released .alucard-seal-overlay
{
    opacity: 0;
    pointer-events: none;
}

.seal-cross
{
    width: 60px;
    height: 60px;
    position: relative;
    opacity: 0.35;
}

.seal-cross::before,
.seal-cross::after
{
    content: '';
    position: absolute;
    background: rgba(255, 0, 102, 0.6);
    border-radius: 2px;
}

.seal-cross::before
{
    width: 4px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.seal-cross::after
{
    width: 100%;
    height: 4px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.seal-text
{
    font-family: var(--font-ghost);
    font-size: 0.55rem;
    letter-spacing: 0.5em;
    color: rgba(255, 0, 115, 0.98);
    text-transform: uppercase;
}

/* Name revealed below portrait after release */
.alucard-portrait-name
{
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-ghost);
    font-size: 0.65rem;
    letter-spacing: 0.5em;
    color: rgba(255, 0, 102, 0.0);
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 6;
    transition: color 0.8s ease 1s,
    text-shadow 0.8s ease 1s;
}

.alucard-containment.released .alucard-portrait-name
{
    color: rgba(255, 100, 150, 0.7);
    text-shadow: 0 0 15px rgba(255, 0, 102, 0.6);
}

/* ── RIGHT — Stats zone ── */
.alucard-stats-zone
{
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

/* Section heading */
.alucard-stats-heading
{
    font-family: var(--font-ghost);
    font-size: 0.58rem;
    letter-spacing: 0.5em;
    color: rgba(255, 0, 102, 0.81);
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 0, 102, 0.36);
    padding-bottom: 0.7rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.alucard-stats-heading::before
{
    content: '▸';
    color: rgba(255, 0, 102, 0.4);
}

/* Each stat card — sealed/revealed */
.alucard-stat-card
{
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 0, 102, 0.07);
    display: grid;
    grid-template-columns: 45% 1fr;
    gap: 0.5rem;
    align-items: center;

    /* Sealed — all blurred and invisible */
    filter: blur(6px);
    opacity: 0;
    transform: translateX(12px);
    transition: filter 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
}

/* Stagger each card's reveal */
.alucard-containment.released .alucard-stat-card:nth-child(1)
{
    filter: none; opacity: 1; transform: none;
    transition-delay: 0.3s;
}
.alucard-containment.released .alucard-stat-card:nth-child(2)
{
    filter: none; opacity: 1; transform: none;
    transition-delay: 0.5s;
}
.alucard-containment.released .alucard-stat-card:nth-child(3)
{
    filter: none; opacity: 1; transform: none;
    transition-delay: 0.7s;
}
.alucard-containment.released .alucard-stat-card:nth-child(4)
{
    filter: none; opacity: 1; transform: none;
    transition-delay: 0.9s;
}
.alucard-containment.released .alucard-stat-card:nth-child(5)
{
    filter: none; opacity: 1; transform: none;
    transition-delay: 1.1s;
}
.alucard-containment.released .alucard-stat-card:nth-child(6)
{
    filter: none; opacity: 1; transform: none;
    transition-delay: 1.3s;
}

.alucard-stat-card:last-of-type
{
    border-bottom: none;
}

.alucard-stat-key
{
    font-family: var(--font-ghost);
    font-size: 0.63rem;
    letter-spacing: 0.18em;
    color: rgba(255, 0, 102, 0.6);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.alucard-stat-key::before
{
    content: '//';
    opacity: 0.4;
    font-size: 0.55rem;
}

.alucard-stat-val
{
    font-family: var(--font-ghost);
    font-size: 0.82rem;
    color: #ffb3cc;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

/* REDACTED field */
.alucard-stat-val.redacted
{
    position: relative;
    color: transparent;
    user-select: none;
}

.alucard-stat-val.redacted::after
{
    content: '██████████';
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(255, 0, 102, 0.63);
    letter-spacing: 0.05em;
}

.alucard-containment.released .alucard-stat-val.redacted
{
    color: #ffb3cc;
    transition: color 0.4s ease 1.8s;
}

.alucard-containment.released .alucard-stat-val.redacted::after
{
    opacity: 0;
    transition: opacity 0.3s ease 1.7s;
}

/* ── RELEASE BUTTON ── */
.alucard-release-wrap
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-top: auto;
    padding-top: 1.5rem;
}

.alucard-release-label
{
    font-family: var(--font-ghost);
    font-size: 0.58rem;
    letter-spacing: 0.4em;
    color: rgba(255, 0, 102, 0.35);
    text-transform: uppercase;
    transition: opacity 0.4s ease;
}

.alucard-containment.released .alucard-release-label
{
    opacity: 0;
    pointer-events: none;
}

.alucard-release-btn
{
    font-family: var(--font-ghost);
    font-size: 0.72rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #ff0066;
    background: transparent;
    border: 1px solid rgba(255, 0, 102, 0.5);
    border-radius: 4px;
    padding: 0.7rem 2rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 0, 102, 0.5);
    box-shadow: 0 0 15px rgba(255, 0, 102, 0.15),
    inset 0 0 15px rgba(255, 0, 102, 0.05);
}

.alucard-release-btn::before
{
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 0, 102, 0);
    transition: background 0.3s ease;
}

.alucard-release-btn:hover
{
    border-color: #ff0066;
    box-shadow: 0 0 30px rgba(255, 0, 102, 0.5),
    inset 0 0 20px rgba(255, 0, 102, 0.1);
    text-shadow: 0 0 20px rgba(255, 0, 102, 0.9);
    transform: scale(1.03);
}

.alucard-release-btn:hover::before
{
    background: rgba(255, 0, 102, 0.08);
}

/* Button state after release */
.alucard-containment.released .alucard-release-btn
{
    border-color: rgba(255, 0, 102, 0.2);
    color: rgba(255, 0, 102, 0.3);
    cursor: default;
    pointer-events: none;
    transform: none;
    box-shadow: none;
    text-shadow: none;
}

/* Seal-back button — appears after release */
.alucard-reseal-btn
{
    font-family: var(--font-ghost);
    font-size: 0.55rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgb(255, 206, 242);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.3rem 0.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease 2s, color 0.3s ease;
}

.alucard-containment.released .alucard-reseal-btn
{
    opacity: 1;
    pointer-events: all;
}

.alucard-reseal-btn:hover
{
    color: rgba(255, 0, 102, 0.6);
}

/* ── BOTTOM — Quote strip ── */
.alucard-quote-strip
{
    border-top: 1px solid rgba(255, 0, 102, 0.1);
    padding: 1.4rem 2.5rem;
    background: rgba(4, 0, 2, 0.95);
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.6s ease;
}

.alucard-containment.released .alucard-quote-strip
{
    border-top-color: rgba(255, 0, 102, 0.35);
}

.alucard-quote-strip::before
{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 0, 102, 0.04) 50%,
    transparent 100%);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.8s ease 1.5s;
    animation: none;
}

.alucard-containment.released .alucard-quote-strip::before
{
    opacity: 1;
    animation: silverStream 5s ease-in-out infinite;
}

.alucard-quote-mark
{
    font-family: var(--font-ghost);
    font-size: 3.5rem;
    color: rgba(255, 0, 102, 0.89);
    line-height: 1;
    flex-shrink: 0;
    margin-top: -0.8rem;
    transition: color 0.8s ease 1.2s;
}

.alucard-containment.released .alucard-quote-mark
{
    color: rgba(255, 0, 102, 0.67);
}

.alucard-quote-text
{
    font-family: var(--font-ghost);
    font-size: clamp(0.72rem, 1.4vw, 0.88rem);
    font-style: italic;
    line-height: 1.9;
    flex: 1;
    position: relative;
    z-index: 1;

    /* Sealed — invisible */
    color: transparent;
    text-shadow: none;
    transition: color 0.8s ease 1.5s, text-shadow 0.8s ease 1.5s;
}

.alucard-containment.released .alucard-quote-text
{
    color: rgb(255, 223, 246);
    text-shadow: none;
}

.alucard-quote-attr
{
    font-family: var(--font-ghost);
    font-size: 0.58rem;
    letter-spacing: 0.3em;
    color: transparent;
    text-transform: uppercase;
    line-height: 1.6;
    flex-shrink: 0;
    text-align: right;
    transition: color 0.6s ease 1.8s;
}

.alucard-containment.released .alucard-quote-attr
{
    color: rgba(255, 0, 102, 0.35);
}

/* ── LEVEL ZERO announcement ── */
.alucard-level-zero-announce
{
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
}

.alucard-containment.releasing .alucard-level-zero-announce
{
    animation: levelZeroFlash 1.2s ease forwards;
}

@keyframes levelZeroFlash
{
    0%   { opacity: 0; }
    10%  { opacity: 1; }
    60%  { opacity: 1; }
    100% { opacity: 0; }
}

.level-zero-text
{
    font-family: var(--font-ghost);
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: 0.2em;
    color: #ff0066;
    text-shadow: 0 0 30px rgba(255, 0, 102, 1), 0 0 60px rgba(255, 0, 102, 0.7), 0 0 120px rgba(255, 0, 102, 0.4), 4px 4px 0 rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    animation: levelZeroShake 0.15s ease-in-out infinite;
}

.alucard-containment:not(.releasing) .level-zero-text
{
    animation: none;
}

@keyframes levelZeroShake
{
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25%       { transform: translate(-2px, 1px) rotate(-0.5deg); }
    75%       { transform: translate(2px, -1px) rotate(0.5deg); }
}

/* ── Responsive ── */
@media (max-width: 700px)
{
    .alucard-stage
    {
        grid-template-columns: 1fr;
    }

    .alucard-portrait-zone
    {
        min-height: 280px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 0, 102, 0.47);
    }

    .alucard-quote-strip
    {
        flex-direction: column;
        gap: 0.6rem;
        text-align: center;
        padding: 1.2rem;
    }

    .alucard-quote-mark { display: none; }
    .alucard-quote-attr { text-align: center; }
}

/* ── Blood Tithe Ledger ── */
.alucard-blood-ledger
{
    position: relative;
    width: 100%;
    margin-bottom: 3rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 0, 102, 0.2);
    background: #020001;
    padding-bottom: 4rem; /* room for humanity bar */
}

.alucard-blood-ledger::before
{
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.07) 2px, rgba(0,0,0,0.07) 4px);
    z-index: 10;
    pointer-events: none;
}

.ledger-scanline
{
    position: absolute;
    top: 0; bottom: 0;
    width: 60px;
    background: linear-gradient(90deg, transparent, rgba(255,0,102,0.05), transparent);
    animation: ledgerScan 4s linear infinite;
    z-index: 6;
    pointer-events: none;
}

@keyframes ledgerScan
{
    0%   { left: -60px; }
    100% { left: 100%; }
}

/* ── Header bar ── */
.ledger-header
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 0, 102, 0.18);
    background: rgba(4, 0, 2, 0.95);
    position: relative;
    z-index: 5;
}

.ledger-org
{
    font-family: var(--font-ghost);
    font-size: 0.6rem;
    letter-spacing: 0.45em;
    color: rgba(255, 0, 102, 0.7);
    text-transform: uppercase;
}

.ledger-total
{
    font-family: var(--font-ghost);
    font-size: 1.4rem;
    color: #ff0066;
    text-shadow: 0 0 20px rgba(255, 0, 102, 0.9), 0 0 40px rgba(255, 0, 102, 0.4);
    letter-spacing: 0.1em;
}

/* ── Rows ── */
.ledger-body
{
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    z-index: 5;
}

.ledger-row
{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0 1.5rem;
    padding: 1rem 0.5rem;
    border-bottom: 1px solid rgba(255, 0, 102, 0.4);
    transition: background 0.3s ease, border-color 0.3s ease;
    cursor: default;
    position: relative;
}

.ledger-row:last-child { border-bottom: none; }

.ledger-row:hover
{
    background: rgba(255, 0, 102, 0.06);
    border-bottom-color: rgba(255, 0, 102, 0.25);
}

.ledger-key
{
    font-family: var(--font-ghost);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    color: rgba(255, 0, 102, 0.82);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ledger-key::before
{
    content: '//';
    opacity: 0.35;
    font-size: 0.55rem;
    flex-shrink: 0;
}

.ledger-val
{
    font-family: var(--font-ghost);
    font-size: 1.05rem;
    color: #ffb3cc;
    letter-spacing: 0.08em;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 179, 204, 0.59);
}

.ledger-note
{
    font-family: var(--font-ghost);
    font-size: 0.58rem;
    color: rgba(255, 192, 211, 0.85);
    letter-spacing: 0.18em;
    text-align: right;
    opacity: 0;
    transform: translateX(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.ledger-row:hover .ledger-note {
    opacity: 1;
    transform: translateX(0);
}

/* Civilians — redacted note */
.ledger-note.redacted {
    color: transparent;
    position: relative;
}

.ledger-note.redacted::after {
    content: '█████████████';
    position: absolute;
    right: 0;
    top: 0;
    color: rgba(255, 0, 102, 0.45);
    font-size: 0.58rem;
    letter-spacing: 0.05em;
}

/* ── Humanity bar ── */
.ledger-humanity-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 2rem 1.5rem;
    padding: 0.6rem 1rem;
    background: rgba(4, 0, 2, 0.9);
    border: 1px solid rgba(255, 0, 102, 0.2);
    border-radius: 6px;
    position: relative;
    z-index: 5;
}

.humanity-label {
    font-family: var(--font-ghost);
    font-size: 0.55rem;
    letter-spacing: 0.35em;
    color: rgba(255, 0, 102, 0.45);
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.humanity-track {
    flex: 1;
    height: 6px;
    background: rgba(255, 0, 102, 0.1);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(255, 0, 102, 0.2);
}

.humanity-fill {
    width: 0%;
    height: 100%;
    background: #ff0066;
    border-radius: 3px;
}

.humanity-val {
    font-family: var(--font-ghost);
    font-size: 0.65rem;
    color: rgba(255, 0, 102, 0.5);
    letter-spacing: 0.25em;
    flex-shrink: 0;
}



/* ── Faction War Room ── */
.faction-war-room {
    position: relative;
    width: 100%;
    margin-bottom: 3rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 0, 102, 0.2);
    background: #010002;
}

.war-bg-pulse {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(255, 0, 102, 0.06) 0%, transparent 70%);
    animation: warPulse 5s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes warPulse {
    0%, 100% { opacity: 0.4; }
    50%       { opacity: 0.9; }
}

.war-header
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(4, 0, 2, 0.95);
    border-bottom: 1px solid rgba(255, 0, 102, 0.36);
    position: relative;
    z-index: 5;
}

.war-title, .war-status
{
    font-family: var(--font-ghost);
    font-size: 0.6rem;
    letter-spacing: 0.4em;
    color: rgba(255, 0, 102, 0.93);
    text-transform: uppercase;
}

.war-status
{
    color: rgba(255, 0, 102, 0.81);
}

/* ── Three faction columns ── */
.war-grid
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
    z-index: 3;
}

/* Vertical dividers between columns */
.war-faction + .war-faction
{
    border-left: 1px solid rgba(255, 0, 102, 0.1);
}

.war-faction
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    transition: background 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
    position: relative;
}

.war-faction::after
{
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--faction-color, rgba(255, 0, 102, 0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.war-faction:hover::after,
.war-faction.active::after
{
    opacity: 1;
}

.war-faction:hover,
.war-faction.active
{
    background: rgba(255, 0, 102, 0.05);
}

/* Per-faction accent colours */
.war-faction.hellsing   { --faction-color: #ff0066; }
.war-faction.millennium { --faction-color: #ffd500; }
.war-faction.iscariot   { --faction-color: #fff5cd; }

.war-faction.hellsing:hover,
.war-faction.hellsing.active   { background: rgba(255, 0, 102, 0.16); }
.war-faction.millennium:hover,
.war-faction.millennium.active { background: rgba(255, 213, 0, 0.14); }
.war-faction.iscariot:hover,
.war-faction.iscariot.active   { background: rgba(212, 175, 55, 0.13); }

/* Sigil */
.faction-sigil
{
    font-size: 2rem;
    color: var(--faction-color, #ff0066);
    text-shadow: 0 0 15px var(--faction-color, rgba(255, 0, 102, 0.7));
    line-height: 1;
    transition: text-shadow 0.4s ease;
}

.war-faction:hover .faction-sigil
{
    text-shadow: 0 0 25px var(--faction-color, rgba(255, 0, 102, 1)),
    0 0 50px var(--faction-color, rgba(255, 0, 102, 0.4));
}

/* Faction title */
.faction-name
{
    font-family: var(--font-ghost);
    font-size: 0.85rem;
    letter-spacing: 0.4em;
    color: var(--faction-color, #ff0066);
    text-transform: uppercase;
    text-shadow: 0 0 10px var(--faction-color, rgba(255, 0, 102, 0.5));
}

/* Stats block */
.faction-stats
{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255, 0, 102, 0.31);
    padding-top: 1rem;
}

.faction-stat-row
{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 0, 102, 0.05);
}

.faction-stat-row:last-child { border-bottom: none; }

.faction-stat-key
{
    font-family: var(--font-ghost);
    font-size: 0.55rem;
    letter-spacing: 0.25em;
    color: rgba(255, 0, 102, 0.67);
    text-transform: uppercase;
    flex-shrink: 0;
}

.faction-stat-val
{
    font-family: var(--font-ghost);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: rgba(255, 195, 214, 0.96);
    text-align: right;
}

.faction-stat-val.threat {
    color: var(--faction-color, #ff0066);
    text-shadow: 0 0 8px var(--faction-color, rgba(255, 0, 102, 0.5));
}

/* ── Responsive ── */
@media (max-width: 700px)
{
    .war-grid {
        grid-template-columns: 1fr;
    }

    .war-faction + .war-faction
    {
        border-left: none;
        border-top: 1px solid rgba(255, 0, 102, 0.1);
    }

    .ledger-row
    {
        grid-template-columns: 1fr auto;
    }

    .ledger-note { display: none; }
}
