/* OG工具箱 · 共享主题 v7 */
:root {
    --og-bg: #0c0e14;
    --og-surface: rgba(22, 27, 38, 0.85);
    --og-border: rgba(255, 255, 255, 0.08);
    --og-text: #e8eaef;
    --og-muted: #8b93a7;
    --og-gold: #d4af37;
    --og-gold-light: #f0cc5a;
    --og-gold-dim: rgba(212, 175, 55, 0.35);
}

body.og-page {
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    background: var(--og-bg);
    color: var(--og-text);
    position: relative;
}

.og-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 60% at 10% 0%, rgba(91, 140, 255, 0.18), transparent 50%),
        radial-gradient(ellipse 70% 50% at 90% 10%, rgba(61, 214, 198, 0.12), transparent 45%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(255, 140, 66, 0.08), transparent 50%),
        var(--og-bg);
}

.og-grid-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
}

.og-content {
    position: relative;
    z-index: 1;
}

.og-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.og-topbar a {
    color: var(--og-gold-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 8px;
    background: rgba(22, 27, 38, 0.9);
    border: 1px solid var(--og-border);
    backdrop-filter: blur(8px);
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.og-topbar a:hover {
    background: rgba(30, 36, 50, 0.95);
    border-color: var(--og-gold-dim);
    color: var(--og-gold-light);
}

.og-topbar .og-crumb {
    color: var(--og-muted);
}

.og-topbar .og-sep {
    color: rgba(255, 255, 255, 0.15);
}

.og-page-title {
    color: var(--og-text);
}

.og-page-hint {
    color: var(--og-muted);
}

.og-page-footer {
    color: var(--og-muted);
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
}

.og-page-footer a {
    color: var(--og-gold);
    text-decoration: none;
}

.og-page-footer a:hover {
    text-decoration: underline;
}

.og-logo-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background:
        radial-gradient(ellipse 90% 75% at 50% 110%, rgba(212, 175, 55, 0.38) 0%, transparent 58%),
        radial-gradient(ellipse 55% 45% at 15% 10%, rgba(240, 204, 90, 0.18) 0%, transparent 52%),
        radial-gradient(ellipse 40% 35% at 88% 78%, rgba(184, 134, 11, 0.14) 0%, transparent 50%),
        linear-gradient(155deg,
            #2a2218 0%,
            #0f0c08 28%,
            #000000 52%,
            #1a1408 78%,
            #080808 100%);
    border: 1px solid rgba(212, 175, 55, 0.48);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    color: var(--og-gold-light);
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.65),
        0 2px 12px rgba(212, 175, 55, 0.12),
        inset 0 1px 0 rgba(240, 204, 90, 0.32),
        inset 0 -3px 10px rgba(212, 175, 55, 0.2);
    letter-spacing: -1px;
    text-shadow:
        0 0 18px rgba(212, 175, 55, 0.5),
        0 1px 2px rgba(0, 0, 0, 0.8);
}
