/* ===========================================
   SAILOR MOON — Pluto & Saturn Theme
   Void of time, silence glaive, the end
   =========================================== */

.sailor-moon-theme
{
    --panel-accent: #4B0082;
}

.sailor-moon-theme .manga-show-content
{
    background: radial-gradient(ellipse at top left, rgba(75, 0, 130, 0.18) 0%, transparent 50%), radial-gradient(ellipse at bottom right, rgba(86, 3, 86, 0.18) 0%, transparent 50%);
}

.sailor-moon-theme .dedication-card
{
    border-color: #4B0082;
    box-shadow: 0 0 40px rgba(75,0,130,0.4), 0 0 80px rgba(75,0,130,0.1), inset 0 0 30px rgba(75,0,130,0.05), inset 0 1px 0 rgba(255,255,255,0.05);
}

.sailor-moon-theme .dedication-card::before {
    background: linear-gradient(90deg, transparent, #4B0082, #800080, #4B0082, transparent);
    animation: plutoGate 4s ease-in-out infinite;
}

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

.sailor-moon-theme .dedication-tagline {
    color: #c8a0e8;
    text-shadow: 0 0 15px rgba(75,0,130,0.9), 0 0 40px rgba(75,0,130,0.4);
    font-style: normal;
    letter-spacing: 0.06em;
}

.sailor-moon-theme .dedication-icon i {
    color: #800080;
    text-shadow: 0 0 20px rgba(75,0,130,0.9), 0 0 50px rgba(128,0,128,0.4);
    animation: silenceGlaive 6s linear infinite;
}

@keyframes silenceGlaive {
    0%   { transform: rotate(0deg);   opacity: 0.8; }
    50%  { transform: rotate(180deg); opacity: 1; }
    100% { transform: rotate(360deg); opacity: 0.8; }
}

.sailor-moon-theme .manga-hero-banner {
    filter: saturate(0.5) contrast(1.1);
}

.sailor-moon-theme .manga-hero-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(30,0,50,0.6) 60%, rgba(75,0,130,0.85) 100%);
}

.sailor-moon-theme .panel-glow-bar {
    background: linear-gradient(90deg, transparent, #4B0082, #800080, #4B0082, transparent);
}

.sailor-moon-theme .manga-panel-frame {
    border-color: rgba(75, 0, 130, 0.47);
    filter: saturate(0.7);
}

.sailor-moon-theme .manga-panel-frame:hover {
    border-color: #800080;
    box-shadow: 0 0 30px rgba(75,0,130,0.6);
    filter: saturate(1);
}

.sailor-moon-theme .section-title {
    background: linear-gradient(45deg, #4B0082, #800080, #c8a0e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sailor-moon-theme .section-line {
    background: linear-gradient(90deg, #4B0082, #800080, #4B0082);
    box-shadow: 0 0 20px rgba(75,0,130,0.5);
}

.sailor-moon-theme .cyber-button.secondary {
    border-color: #800080;
    color: #c8a0e8;
}

.sailor-moon-theme .cyber-button.secondary:hover {
    background: rgba(75,0,130,0.2);
    box-shadow: 0 0 30px rgba(75,0,130,0.6);
    color: #ffffff;
}

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

.recording-mode .sailor-moon-theme .dedication-card::before {
    animation: none !important;
}

/* ── Door of Space-Time ── */

.door-section
{
    border: 1px solid rgba(200, 160, 232, 0.37);
    background: rgba(5,0,15,0.7);
    overflow: hidden;
}

.door-status-bar
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1.2rem;
    background: rgba(75,0,130,0.12);
    border-bottom: 1px solid rgba(200, 160, 232, 0.18);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.door-status-label { color: rgba(200,160,232,0.5); }
.door-status-val   { color: #c8a0e8; }

.door-stage {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    flex-wrap: wrap;
    min-height: 340px;
}

/* Door scene */
.door-scene {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.door-frame {
    position: relative;
    width: 160px;
    height: 240px;
    border: 2px solid rgba(200, 160, 232, 0.48);
    border-bottom: none;
    box-shadow: 0 0 30px rgba(75,0,130,0.4), inset 0 0 20px rgba(75,0,130,0.1);
    overflow: hidden;
}

.door-frame::before,
.door-frame::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(200,160,232,0.6), rgba(75,0,130,0.2));
}
.door-frame::before { left: 0; }
.door-frame::after  { right: 0; }

/* Door panels (open/close) */
.door-panel {
    position: absolute;
    top: 0; bottom: 0;
    width: 50%;
    background: linear-gradient(135deg, rgba(30,0,60,0.95) 0%, rgba(50,0,80,0.9) 50%, rgba(30,0,60,0.95) 100%);
    border: 1px solid rgba(200, 160, 232, 0.27);
    transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left center;
    backface-visibility: hidden;
    z-index: 2;
}

.door-panel-left  { left: 0;   transform-origin: left center; }
.door-panel-right { right: 0;  transform-origin: right center; }

/* Open state */
.door-panel-left.open  { transform: perspective(400px) rotateY(-75deg); }
.door-panel-right.open { transform: perspective(400px) rotateY(75deg); }

/* Void behind door */
.door-void {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(20,0,40,0.95) 0%, rgba(0,0,0,1) 100%);
    z-index: 1;
    overflow: hidden;
}

.void-stars {
    position: absolute;
    inset: 0;
    background-image:
            radial-gradient(1px 1px at 20% 30%, rgba(200,160,232,0.8) 0%, transparent 100%),
            radial-gradient(1px 1px at 60% 20%, rgba(200,160,232,0.6) 0%, transparent 100%),
            radial-gradient(1px 1px at 40% 70%, rgba(200,160,232,0.5) 0%, transparent 100%),
            radial-gradient(1px 1px at 80% 50%, rgba(200,160,232,0.7) 0%, transparent 100%),
            radial-gradient(1px 1px at 15% 65%, rgba(200,160,232,0.4) 0%, transparent 100%),
            radial-gradient(1px 1px at 70% 80%, rgba(200,160,232,0.6) 0%, transparent 100%),
            radial-gradient(1px 1px at 90% 15%, rgba(200,160,232,0.5) 0%, transparent 100%),
            radial-gradient(1px 1px at 50% 45%, rgba(200,160,232,0.8) 0%, transparent 100%);
    animation: starsFlicker 4s ease-in-out infinite;
}

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

/* Keyhole */
.door-keyhole {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: filter 0.3s ease;
}

.door-keyhole:hover { filter: drop-shadow(0 0 8px rgba(200,160,232,0.9)); }

.keyhole-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid rgba(200,160,232,0.6);
    background: rgba(0,0,0,0.8);
}

.keyhole-slot {
    width: 8px;
    height: 14px;
    border: 1.5px solid rgba(200,160,232,0.6);
    border-top: none;
    border-radius: 0 0 4px 4px;
    margin-top: -1px;
    background: rgba(0,0,0,0.8);
}

.keyhole-glow {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,160,232,0.15) 0%, transparent 70%);
    animation: keyholeGlow 2.5s ease-in-out infinite;
}

@keyframes keyholeGlow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.3); }
}

/* Garnet Orb */
.garnet-orb {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    cursor: grab;
    user-select: none;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.garnet-orb:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(200,160,232,0.8));
}

.garnet-orb.dragging {
    cursor: grabbing;
    opacity: 0.7;
}

.garnet-orb.inserted {
    opacity: 0;
    pointer-events: none;
}

.orb-inner {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(200, 160, 232, 0.65);
    background: radial-gradient(circle at 35% 35%, rgba(168, 94, 229, 0.89), rgba(64, 1, 108, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(75,0,130,0.6), inset 0 0 10px rgba(200,160,232,0.2);
    font-size: 1.63rem;
}

.orb-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(185, 131, 227, 0.96);
}

/* Timeline fragments */
.timeline-fragments {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
    align-self: center;
}

.timeline-fragments.visible {
    opacity: 1;
    pointer-events: all;
}

.fragment-era {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid rgba(200, 160, 232, 0.34);
    background: rgba(30,0,60,0.4);
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.fragment-era::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: rgba(200,160,232,0.3);
    transition: background 0.3s ease;
}

.fragment-era:hover
{
    border-color: rgba(200, 160, 232, 0.49);
    background: rgba(75,0,130,0.2);
}

.fragment-era:hover::before
{
    background: #c8a0e8;
    box-shadow: 0 0 10px rgba(200,160,232,0.7);
}

.fragment-era[data-era="redacted"] {
    filter: contrast(0.6);
    letter-spacing: 0.06em;
}

.era-glyph { font-size: 1rem; }
.era-name  {
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(200,160,232,0.75);
}

/* Era Dossier */
.era-dossier
{
    flex: 1;
    min-width: 200px;
    border: 1px solid rgba(200, 160, 232, 0.32);
    background: rgba(10,0,25,0.5);
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.5s ease;
    align-self: center;
}

.era-dossier.visible { opacity: 1; }

.era-dossier-inner {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.era-dossier-name {
    font-family: 'Orbitron', monospace;
    font-size: 1.22rem;
    color: #c8a0e8;
    text-shadow: 0 0 15px rgba(200, 160, 232, 0.8);
}

.era-dossier-event,
.era-dossier-pluto,
.era-dossier-sanctioned
{
    font-size: 0.86rem;
    color: rgba(221, 176, 255, 0.8);
    line-height: 1.6;
}

.era-dossier-sanctioned
{
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(226, 191, 255, 0.81);
    border-top: 1px solid rgba(200, 160, 232, 0.18);
    padding-top: 0.5rem;
    margin-top: 0.2rem;
}

/* Slam animation */
.door-panel.slamming {
    transition: transform 0.25s cubic-bezier(0.6, 0, 1, 1) !important;
}


/* ── Stop Time Section ── */

.stop-time-wrap
{
    border: 1px solid rgba(200, 160, 232, 0.32);
    background: rgba(10,0,20,0.6);
    overflow: hidden;
}

.stop-time-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1.2rem;
    background: rgba(75,0,130,0.15);
    border-bottom: 1px solid rgba(200, 160, 232, 0.35);
    font-size: 0.8135rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stop-time-title { color: rgba(200,160,232,0.7); }

.stop-time-status {
    color: #c8a0e8;
    transition: color 0.4s ease;
}

.stop-time-body {
    display: flex;
    gap: 2.5rem;
    padding: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Clock */
.stop-time-clock-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stop-time-clock {
    position: relative;
    width: 180px;
    height: 180px;
}

.clock-face {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 15px rgba(75,0,130,0.6));
}

.clock-crack-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: transparent;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    background-image: linear-gradient(45deg,  transparent 48%, rgba(200,160,232,0.5) 49%, rgba(200,160,232,0.5) 51%, transparent 52%), linear-gradient(-30deg, transparent 47%, rgba(200,160,232,0.3) 48%, rgba(200,160,232,0.3) 50%, transparent 51%), linear-gradient(80deg,  transparent 50%, rgba(200,160,232,0.4) 51%, rgba(200,160,232,0.4) 52%, transparent 53%);
}

.clock-crack-overlay.cracked {
    opacity: 1;
}

/* Controls */
.stop-time-controls {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.stop-time-lore {
    font-size: 0.8765rem;
    color: rgba(226, 189, 253, 0.92);
    line-height: 1.7;
    margin: 0;
    font-style: italic;
}

/* Life drain bar */
.pluto-life-drain {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.life-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(221, 178, 255, 0.82);
}

.life-bar-track {
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    overflow: hidden;
}

.life-bar-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(to right, #800080, #c8a0e8);
    box-shadow: 0 0 8px rgba(200,160,232,0.7);
    transition: width 0.9s linear;
}

.life-countdown {
    font-family: 'Orbitron', monospace;
    font-size: 1.634rem;
    color: #c8a0e8;
    text-shadow: 0 0 15px rgba(227, 190, 255, 0.87);
    text-align: center;
    transition: color 0.3s ease;
}

.life-countdown.critical {
    color: #ff80ff;
    text-shadow: 0 0 20px rgba(255,128,255,1);
    animation: criticalPulse 0.4s ease-in-out infinite;
}

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

.stop-time-note {
    font-size: 0.82rem;
    font-style: italic;
    color: rgba(242, 176, 255, 0.8);
    margin: 0;
    min-height: 1.2rem;
    transition: opacity 0.6s ease;
}

/* Page-wide frozen state */
body.time-frozen *:not(#stopTimeWrap):not(#stopTimeWrap *):not(.life-bar-fill):not(.life-countdown):not(.stop-time-status):not(.stop-time-note):not(#lifeWrap):not(#lifeWrap *) {
    animation-play-state: paused !important;
}

body.time-frozen {
    filter: saturate(0.3);
    transition: filter 0.6s ease;
}

body.time-frozen.resuming {
    filter: saturate(2.5);
    transition: filter 0.1s ease;
}

body.time-resumed {
    filter: saturate(1);
    transition: filter 1.5s ease;
}

/* ════════════════════════════════════════════════
   CHARACTER SPOTLIGHT — Pluto & Saturn Duality
   ════════════════════════════════════════════════ */

.pluto-saturn-duality {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    min-height: 480px;
    border: 1px solid rgba(200, 160, 232, 0.31);
    overflow: hidden;
    background: rgba(5,0,15,0.8);
}

/* Void background */
.duality-void {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.duality-stars {
    position: absolute;
    inset: 0;
    background-image:
            radial-gradient(1px 1px at 8%  15%, rgba(200,160,232,0.7) 0%, transparent 100%),
            radial-gradient(1px 1px at 22% 72%, rgba(200,160,232,0.4) 0%, transparent 100%),
            radial-gradient(1px 1px at 45% 28%, rgba(200,160,232,0.6) 0%, transparent 100%),
            radial-gradient(1px 1px at 55% 81%, rgba(200,160,232,0.5) 0%, transparent 100%),
            radial-gradient(1px 1px at 78% 12%, rgba(200,160,232,0.7) 0%, transparent 100%),
            radial-gradient(1px 1px at 88% 60%, rgba(200,160,232,0.4) 0%, transparent 100%),
            radial-gradient(1px 1px at 33% 90%, rgba(200,160,232,0.5) 0%, transparent 100%),
            radial-gradient(1px 1px at 67% 45%, rgba(200,160,232,0.6) 0%, transparent 100%),
            radial-gradient(1px 1px at 12% 50%, rgba(200,160,232,0.3) 0%, transparent 100%),
            radial-gradient(1px 1px at 92% 33%, rgba(200,160,232,0.5) 0%, transparent 100%);
    animation: starsFlicker 5s ease-in-out infinite;
}

.duality-rift {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(200,160,232,0.3) 20%, rgba(200,160,232,0.6) 50%, rgba(200,160,232,0.3) 80%, transparent);
    animation: gateBeam 4s ease-in-out infinite;
}

/* Halves */
.duality-half {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem 2rem;
}

.duality-pluto {
    background: linear-gradient(135deg, rgba(30,0,60,0.6) 0%, rgba(10,0,30,0.4) 100%);
    border-right: 1px solid rgba(200, 160, 232, 0.21);
}

.duality-saturn {
    background: linear-gradient(225deg, rgba(20,0,50,0.6) 0%, rgba(8,0,25,0.4) 100%);
    border-left: 1px solid rgba(200, 160, 232, 0.22);
}

/* Portrait */
.duality-portrait-wrap {
    position: relative;
    width: 140px;
    height: 140px;
    flex-shrink: 0;
}

.duality-portrait {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-size: cover;
    background-position: center top;
    border: 1px solid rgba(200, 160, 232, 0.42);
    position: relative;
    z-index: 2;
}

/* Rotating rings around portraits */
.duality-rings {
    position: absolute;
    inset: -16px;
    z-index: 1;
}

.duality-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(200, 160, 232, 0.3);
}

.duality-ring-1 {
    inset: 0;
    animation: orbitSlow 12s linear infinite;
    border-color: rgba(200, 160, 232, 0.42);
}

.duality-ring-2 {
    inset: 8px;
    animation: orbitSlow 18s linear infinite reverse;
    border-style: dashed;
    border-color: rgba(200, 160, 232, 0.3);
}

.duality-ring-3 {
    inset: 16px;
    animation: orbitSlow 8s linear infinite;
    border-color: rgba(75, 0, 130, 0.61);
}

@keyframes orbitSlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.duality-portrait-glow {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    z-index: 0;
}

.pluto-glow
{
    background: radial-gradient(circle, rgba(135, 21, 241, 0.73) 0%, transparent 70%);
    animation: plutoAura 4s ease-in-out infinite;
}

.saturn-glow {
    background: radial-gradient(circle, rgba(252, 133, 11, 0.73) 0%, transparent 70%);
    animation: saturnAura 6s ease-in-out infinite;
}

@keyframes plutoAura {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.15); }
}

@keyframes saturnAura {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50%       { opacity: 0.9; transform: scale(1.2); }
}

/* Identity */
.duality-identity {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.duality-title-label {
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(199, 130, 255, 0.83);
}

.duality-name {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: #ffffff;
    text-shadow: 0 0 20px rgba(200, 160, 232, 0.83), 0 0 50px rgba(102, 20, 162, 0.65);
    margin: 0;
}

.duality-subtitle {
    font-size: 0.8135rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(207, 147, 255, 0.86);
}

/* Stats */
.duality-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 220px;
}

.duality-stat {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(58, 17, 93, 0.71);
    flex-wrap: wrap;
}

.duality-stat-key {
    font-size: 0.7215rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(211, 161, 255, 0.8);
    flex-shrink: 0;
}

.duality-stat-val {
    font-size: 0.8365rem;
    color: rgba(218, 179, 255, 0.92);
    text-align: right;
}

/* Planetary sigil — large watermark */
.duality-sigil {
    position: absolute;
    bottom: 1rem;
    font-size: 5rem;
    opacity: 0.04;
    color: #c8a0e8;
    pointer-events: none;
    line-height: 1;
    user-select: none;
}

/* Centre column */
.duality-centre {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 2px;
    padding: 2rem 0;
}

.duality-centre-line {
    flex: 1;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(213, 175, 245, 0.8));
}

.duality-centre-line:last-of-type
{
    background: linear-gradient(to bottom, rgba(211, 175, 239, 0.75), transparent);
}

.duality-centre-node {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(200, 160, 232, 0.54);
    background: radial-gradient(circle, rgba(101, 11, 169, 0.66), rgba(5,0,15,0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(75,0,130,0.6), 0 0 40px rgba(75,0,130,0.2);
    flex-shrink: 0;
    animation: nodeBreath 4s ease-in-out infinite;
    position: relative;
    z-index: 3;
}

.centre-node-inner {
    font-size: 0.85rem;
    color: #c8a0e8;
    text-shadow: 0 0 10px rgba(200,160,232,0.9);
}

@keyframes nodeBreath {
    0%, 100% { box-shadow: 0 0 20px rgba(75,0,130,0.6), 0 0 40px rgba(75,0,130,0.2); }
    50%       { box-shadow: 0 0 35px rgba(75,0,130,0.9), 0 0 60px rgba(75,0,130,0.4); }
}

.duality-quote {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    width: max-content;
    max-width: 90vw;
    white-space: normal;
    text-align: center;
    width: 280px;
    font-size: 0.76rem;
    font-style: italic;
    color: rgba(223, 192, 248, 0.86);
    line-height: 1.7;
    letter-spacing: 0.03em;
}

.duality-quote p { margin: 0; }

/* Responsive — stack on small screens */
@media (max-width: 640px)
{
    .pluto-saturn-duality
    {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    .duality-centre
    {
        flex-direction: row;
        width: 100%;
        height: 2px;
        padding: 0 2rem;
    }
    .duality-centre-line
    {
        flex: 1;
        height: 1px;
        width: auto;
    }
    .duality-quote { display: none; }
}


/* ════════════════════════════════════════════════
   SILENCE GLAIVE — Ritual Altar
   ════════════════════════════════════════════════ */

.glaive-altar {
    position: relative;
    border: 1px solid rgba(200, 160, 232, 0.35);
    background: radial-gradient(ellipse at 50% 0%,  rgba(75,0,130,0.12) 0%, transparent 60%), radial-gradient(ellipse at 50% 100%, rgba(50,0,80,0.1)  0%, transparent 60%), rgba(5,0,15,0.85);
    overflow: hidden;
}

/* Atmospheric corner glows */
.glaive-altar::before,
.glaive-altar::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.12;
}
.glaive-altar::before {
    top: -60px; left: -60px;
    background: radial-gradient(circle, #800080, transparent 70%);
}
.glaive-altar::after {
    bottom: -60px; right: -60px;
    background: radial-gradient(circle, #4B0082, transparent 70%);
}

/* Status ribbon */
.altar-ribbon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.7rem 1.5rem;
    background: rgba(75,0,130,0.12);
    border-bottom: 1px solid rgba(200, 160, 232, 0.24);
}

.altar-ribbon-sigil
{
    font-size: 0.9rem;
    color: rgba(217, 168, 255, 0.87);
    animation: silenceGlaive 8s linear infinite;
}

.altar-ribbon-status {
    font-size: 0.77rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #c8a0e8;
    text-shadow: 0 0 12px rgba(181, 110, 239, 0.67);
    transition: color 0.5s ease, text-shadow 0.5s ease;
}

/* Body grid */
.altar-body {
    display: grid;
    grid-template-columns: 140px 1fr 1fr;
    gap: 0;
    min-height: 360px;
    position: relative;
    z-index: 1;
}

/* LEFT — meter */
.altar-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 2rem 1.5rem;
    border-right: 1px solid rgba(200, 160, 232, 0.19);
}

.altar-section-label {
    font-size: 0.71rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(223, 184, 255, 0.92);
}

/* Glaive weapon visual */
.altar-glaive-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    gap: 0;
}

.altar-glaive-blade {
    position: relative;
    width: 60px;
    height: 70px;
    flex-shrink: 0;
}

.altar-blade-svg {
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    filter  0.8s ease;
    filter: drop-shadow(0 0 6px rgba(200,160,232,0.4));
}

.glaive-altar.armed .altar-blade-svg {
    transform: rotate(35deg) translateY(6px);
    filter: drop-shadow(0 0 16px rgba(255,100,255,0.9));
}

.blade-glow {
    position: absolute;
    inset: -4px;
    border-radius: 4px;
    background: radial-gradient(circle, rgba(200,160,232,0.2) 0%, transparent 70%);
    transition: opacity 0.5s ease;
    opacity: 0;
}

.glaive-altar.armed .blade-glow { opacity: 1; }

.altar-glaive-shaft {
    position: relative;
    width: 10px;
    flex: 1;
    min-height: 120px;
    border-radius: 5px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(200, 160, 232, 0.31);
    overflow: hidden;
}

.altar-glaive-fill {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 0%;
    background: linear-gradient(to top, #2a0060, #6a0080, #b060e0,#e8c0ff);
    box-shadow: 0 0 15px rgba(200,160,232,0.7);
    transition: height 0.5s ease;
}

.altar-glaive-runes {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    pointer-events: none;
    z-index: 2;
}

.altar-glaive-runes span {
    font-size: 0.5365rem;
    color: rgba(200, 160, 232, 0.45);
    writing-mode: horizontal-tb;
}

.altar-charge-val {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    color: #ffffff;
    text-shadow: 0 0 12px rgba(200,160,232,0.7);
}

.altar-markers {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 0.3rem;
}

.altar-marker {
    font-size: 0.635rem;
    color: rgba(213, 170, 245, 0.87);
    text-align: center;
    flex: 1;
    white-space: nowrap;
}

.altar-marker::after {
    content: attr(data-label);
    display: block;
    font-size: 0.634rem;
    letter-spacing: 0.06em;
    opacity: 0.7;
}

.altar-marker-critical { color: rgba(255,100,255,0.5); }

/* CENTRE — ritual ring */
.altar-centre {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-right: 1px solid rgba(200, 160, 232, 0.18);
}

.altar-ritual-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(200,160,232,0.15);
}

.altar-ritual-ring-outer {
    width: 180px; height: 180px;
    animation: orbitSlow 20s linear infinite;
    border-style: dashed;
}

.altar-ritual-ring-mid {
    width: 130px; height: 130px;
    animation: orbitSlow 14s linear infinite reverse;
    border-color: rgba(200, 160, 232, 0.29);
}

.altar-ritual-ring-inner {
    width: 80px; height: 80px;
    animation: orbitSlow 8s linear infinite;
    border-color: rgba(75, 0, 130, 0.49);
}

.altar-ritual-symbol {
    font-size: 2.5rem;
    color: rgba(195, 122, 255, 0.8);
    text-shadow: 0 0 30px rgba(200,160,232,0.5), 0 0 60px rgba(75,0,130,0.4);
    z-index: 2;
    transition: color 0.5s ease, text-shadow 0.5s ease, transform 0.5s ease;
}

.glaive-altar.armed .altar-ritual-symbol {
    color: rgba(255,120,255,0.9);
    text-shadow: 0 0 40px rgba(255,120,255,0.8), 0 0 80px rgba(200,0,200,0.5);
    transform: scale(1.3) rotate(180deg);
}

/* RIGHT — steps */
.altar-right {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 2rem 1.8rem;
}

.altar-step {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: opacity 0.4s ease;
}

.altar-step-sealed {
    opacity: 0.3;
    pointer-events: none;
}

.altar-step-sealed.unlocked {
    opacity: 1;
    pointer-events: all;
}

.altar-step-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.altar-step-num {
    font-family: 'Orbitron', monospace;
    font-size: 0.77rem;
    color: rgba(218, 171, 255, 0.84);
    background: rgba(75,0,130,0.2);
    border: 1px solid rgba(200, 160, 232, 0.29);
    border-radius: 2px;
    padding: 0.1rem 0.4rem;
}

.altar-step-name {
    font-size: 0.8235rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(215, 168, 255, 0.93);
}

.altar-step-lore {
    font-size: 0.84rem;
    color: rgba(211, 173, 245, 0.84);
    line-height: 1.65;
    margin: 0;
    font-style: italic;
}

.altar-final-warning {
    color: rgba(255,160,255,0.7) !important;
    font-size: 0.85rem !important;
}

.altar-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1rem;
    background: rgba(30,0,50,0.6);
    border: 1px solid rgba(200, 160, 232, 0.34);
    color: rgba(219, 175, 255, 0.8);
    font-family: 'Orbitron', monospace;
    font-size: 0.7135rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
}

.altar-btn-icon {
    opacity: 0.6;
    flex-shrink: 0;
}

.altar-btn:hover:not(:disabled) {
    background: rgba(75,0,130,0.35);
    border-color: rgba(200, 160, 232, 0.6);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(75,0,130,0.4);
}

.altar-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.altar-btn-armed {
    border-color: rgba(180, 0, 255, 0.46);
    color: rgba(220,100,255,0.8);
}

.altar-btn-armed:hover:not(:disabled) {
    background: rgba(100,0,150,0.4);
    border-color: rgba(200,0,255,0.6);
    box-shadow: 0 0 25px rgba(150,0,200,0.5);
}

.altar-btn-execute
{
    border-color: rgba(255, 80, 200, 0.61);
    color: rgba(255,150,255,0.9);
    animation: altarExecutePulse 1.8s ease-in-out infinite;
}
/* ── Forbidden Spell button — Pluto's taboo ── */

.altar-btn-forbidden
{
    border-color: rgba(160, 0, 200, 0.53);
    color: rgba(210, 130, 255, 0.9);
    background: rgba(40, 0, 60, 0.6);
    letter-spacing: 0.14em;
}

.altar-btn-forbidden:hover:not(:disabled)
{
    background: rgba(80, 0, 120, 0.45);
    border-color: rgba(200, 80, 255, 0.65);
    color: #ffffff;
    box-shadow: 0 0 25px rgba(160, 0, 200, 0.5), 0 0 60px rgba(100, 0, 150, 0.35), inset 0 0 15px rgba(160, 0, 200, 0.215);
}

.altar-btn-forbidden:disabled
{
    opacity: 0.3;
    cursor: not-allowed;
    animation: none;
}

/* Post-spell state — after Pluto dies */
.altar-btn-forbidden.spent
{
    border-color: rgba(100, 100, 100, 0.33);
    color: rgba(150, 150, 150, 0.4);
    letter-spacing: 0.1em;
}

.altar-btn-execute:disabled
{
    animation: none;
}

@keyframes altarExecutePulse
{
    0%, 100% {
        box-shadow: 0 0 8px rgba(255,80,200,0.2);
        border-color: rgba(255, 80, 200, 0.46);
    }
    50% {
        box-shadow: 0 0 25px rgba(255,80,200,0.6), 0 0 50px rgba(200,0,150,0.2);
        border-color: rgba(255, 80, 200, 0.9);
    }
}

.altar-note
{
    font-size: 0.81rem;
    font-style: italic;
    color: rgba(206, 154, 253, 0.85);
    margin-top: auto;
    line-height: 1.6;
}

/* Armed state — altar glows deeper */
.glaive-altar.armed
{
    border-color: rgba(255, 100, 255, 0.58);
    box-shadow: 0 0 60px rgba(150,0,180,0.3);
}

.glaive-altar.armed .altar-ribbon
{
    background: rgba(100,0,130,0.2);
}

.glaive-altar.armed .altar-ribbon-status
{
    color: rgba(255,150,255,0.9);
    text-shadow: 0 0 20px rgba(255,100,255,0.7);
}

/* Responsive */
@media (max-width: 700px)
{
    .altar-body
    {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    .altar-left  { border-right: none; border-bottom: 1px solid rgba(200,160,232,0.07); }
    .altar-centre { min-height: 160px; border-right: none; border-bottom: 1px solid rgba(200,160,232,0.07); }
}



/* ── Silence White-Out Overlay ── */

.silence-overlay
{
    position: fixed;
    inset: 0;
    background: #e7e7ff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.silence-overlay.active
{
    opacity: 1;
    pointer-events: all;
}

.silence-text-wrap
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.silence-dots
{
    font-size: 1.65rem;
    color: rgba(0, 0, 0, 0.82);
    letter-spacing: 0.4em;
    min-height: 1.5rem;
    transition: opacity 0.8s ease;
}

.silence-word
{
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    color: rgba(0, 0, 0, 0.84);
    font-style: italic;
    letter-spacing: 0.06em;
    min-height: 2rem;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.silence-word.visible
{
    opacity: 1;
}

.silence-hotaru
{
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.84);
    font-style: italic;
    letter-spacing: 0.08em;
    min-height: 1.2rem;
    opacity: 0;
    transition: opacity 2s ease;
}

.silence-hotaru.visible
{
    opacity: 1;
}

.silence-countdown
{
    font-family: 'Orbitron', monospace;
    font-size: 0.8135rem;
    color: rgba(0, 0, 0, 0.85);
    letter-spacing: 0.2em;
    min-height: 1rem;
}

/* ── Solitude Counter ── */

.solitude-counter-wrap
{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 3rem 2rem;
    border: 1px solid rgba(75, 0, 130, 0.68);
    background: radial-gradient(ellipse at center, rgba(75,0,130,0.08) 0%, transparent 70%);
    overflow: hidden;
}

.solitude-gate-glow
{
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(200,160,232,0.6), rgba(75,0,130,0.4), transparent);
    animation: gateBeam 4s ease-in-out infinite;
}

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

.solitude-label
{
    font-size: 0.8135rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(200, 160, 232, 0.76);
}

.solitude-display
{
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.solitude-unit
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.solitude-value
{
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    color: #ffffff;
    text-shadow: 0 0 20px rgba(214, 175, 246, 0.8), 0 0 50px rgba(75, 0, 130, 0.6);
    animation: solPulse 1s ease-in-out infinite;
}

@keyframes solPulse
{
    0%, 100% { text-shadow: 0 0 20px rgba(200,160,232,0.6), 0 0 50px rgba(75,0,130,0.3); }
    50%      { text-shadow: 0 0 30px rgba(200,160,232,1),   0 0 70px rgba(75,0,130,0.7); }
}

.solitude-key {
    font-size: 0.765rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(200, 160, 232, 0.82);
}

.solitude-sep
{
    font-size: 1.5rem;
    color: rgba(75, 0, 130, 0.85);
    align-self: center;
    margin-bottom: 1.2rem;
}

.solitude-heartbeat {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c8a0e8;
    box-shadow: 0 0 12px rgba(200,160,232,0.9);
    animation: heartbeat 1s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1);   opacity: 0.6; }
    50%       { transform: scale(1.6); opacity: 1; }
}

.solitude-memory {
    min-height: 2rem;
    font-size: 0.9rem;
    font-style: italic;
    color: rgba(200, 160, 232, 0.85);
    text-align: center;
    letter-spacing: 0.04em;
    max-width: 480px;
    transition: opacity 1.2s ease;
    opacity: 0;
}

.solitude-memory.visible {
    opacity: 1;
}


/* ── Why Sailor Moon — Reasons Card ── */
.sailor-moon-theme .sm-reasons-card
{
    border-color: #4B0082;
    background: linear-gradient(135deg, rgba(10, 0, 20, 0.95) 0%, rgba(25, 0, 50, 0.9) 100%);
    box-shadow: 0 0 40px rgba(75, 0, 130, 0.35), 0 0 80px rgba(75, 0, 130, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.sailor-moon-theme .sm-reasons-card::before
{
    background: linear-gradient(90deg, transparent, #4B0082, #800080, #4B0082, transparent);
}

.sailor-moon-theme .sm-reasons-card .dedication-tagline
{
    color: #c8a0e8;
    text-shadow: 0 0 15px rgba(200, 160, 232, 0.7), 0 0 40px rgba(75, 0, 130, 0.3);
    font-style: italic;
    letter-spacing: 0.04em;
}

.sailor-moon-theme .sm-reasons-card .dedication-icon i {
    color: #800080;
    text-shadow:
            0 0 20px rgba(128, 0, 128, 0.9),
            0 0 50px rgba(75, 0, 130, 0.4);
    animation: silenceGlaive 6s linear infinite;
}

/* ── About list ── */
.sm-about-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    text-align: left;
    max-width: 780px;
    margin: 0 auto;
}

.sm-about-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-family: var(--font-ghost);
    font-size: 0.88rem;
    color: rgba(200, 160, 232, 0.75);
    line-height: 1.85;
    padding: 0.9rem 1rem;
    border-left: 2px solid rgba(75, 0, 130, 0.55);
    background: rgba(75, 0, 130, 0.04);
    border-radius: 0 6px 6px 0;
    transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.sm-about-list li:hover {
    border-left-color: #800080;
    background: rgba(75, 0, 130, 0.1);
    color: rgba(200, 160, 232, 0.95);
}

.sm-about-list li i {
    color: #800080;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
    text-shadow: 0 0 10px rgba(128, 0, 128, 0.6);
    transition: text-shadow 0.3s ease;
}

.sm-about-list li:hover i {
    text-shadow: 0 0 15px rgba(128, 0, 128, 1), 0 0 30px rgba(75, 0, 130, 0.5);
}
