.drop-admin {
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.action-btn {
    background: none;
    border: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--dark);
    text-decoration: none;
    padding: 0;
    cursor: pointer;
}
.action-btn:hover          { color: var(--accent); }
.action-btn--danger:hover  { color: var(--danger); }

.filter-dropdown { position: relative; display: inline-block; }

.filter-btn {
    background: transparent;
    color: var(--text);
    border: 1px solid black;
    padding: 0.35rem 2rem 0.35rem 0.7rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    cursor: pointer;
    text-align: left;
    position: relative;
    line-height: 1.4;
}

.filter-btn::after {
    content: '▾';
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: var(--text-muted);
    pointer-events: none;
}

.filter-btn.open {
    border-color: var(--accent);
    outline: 1px solid var(--accent);
}

.filter-panel {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    min-width: 100%;
    background: var(--white);
    border: 1px solid black;
    z-index: 200;
    max-height: 260px;
    overflow-y: auto;
    padding: 0.4rem 0;
}

.filter-panel.open { display: block; }

.filter-option {
    padding: 0.3rem 0.85rem;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text);
    white-space: nowrap;
}

.filter-option:hover,
.filter-option.selected { color: var(--accent); }

.drop-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.drop-meta {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.drop-subtitle {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.03em;
    margin: 0 0 1rem;
}

.rich-body { line-height: 1.8; }
.rich-body p   { margin-bottom: 1.2rem; }
.rich-body h1  { margin-top: 3rem;   margin-bottom: 0.75rem; }
.rich-body h2  { margin-top: 2.5rem; margin-bottom: 0.75rem; }
.rich-body h3  { margin-top: 2rem;   margin-bottom: 0.5rem; }

.rich-body code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    background: var(--bg);
    padding: 0.1em 0.3em;
}

.rich-body blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
    color: #555;
    font-style: italic;
    margin: 1.5rem 0;
}

.rich-body ol, .rich-body ul { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.rich-body li { margin-bottom: 0.3rem; }

.rich-body figure { margin: 2rem 0; }
.rich-body figure img    { max-width: 100%; height: auto; display: block; cursor: zoom-in; }
.rich-body figure video  { max-width: 100%; height: auto; display: block; }
.rich-body figure pre.ql-syntax {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 0.9em;
    padding: 1rem;
    overflow-x: auto;
    white-space: pre;
    margin: 0;
}
.rich-body figure figcaption {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: #888;
    margin-top: 0.5rem;
    font-style: italic;
}
.rich-body figure figcaption a { color: var(--accent); text-decoration: none; }
.rich-body figure figcaption a:hover { text-decoration: underline; }

#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0,0,0,0.92);
    cursor: pointer;
}
#lightbox.open { display: flex; align-items: center; justify-content: center; }

.lb-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    font-family: var(--font-mono);
}

.lb-body {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 92vw;
    cursor: default;
}

.lb-nav {
    background: none;
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    font-size: 2.2rem;
    cursor: pointer;
    padding: 0.2rem 0.7rem;
    line-height: 1;
    flex-shrink: 0;
    font-family: var(--font-mono);
}
.lb-nav:hover  { background: rgba(255,255,255,0.1); }
.lb-nav.hidden { visibility: hidden; }

.lb-center { text-align: center; }

#lb-img {
    max-width: 80vw;
    max-height: 82vh;
    object-fit: contain;
    display: block;
}

#lb-caption {
    color: var(--text-light);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    margin-top: 0.6rem;
    font-style: italic;
}

.loading-msg {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-light);
}

.back-link {
    display: inline-block;
    margin: 1rem 0;
    font-size: 0.9rem;
}

pre {
    font-family: var(--font-mono);
    background-color: #fafafa;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0;
    font-size: 0.875rem;
    line-height: 1.4;
    overflow-x: auto;
    width: 100%;
}

pre code {
    font-family: inherit;
    display: block;
    padding: 1rem;
}

.references { margin-top: 2rem; }

.references p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
    padding-left: 2em;
    text-indent: -2em;
}
