/* == 这还是冬天吗？ 版式 == */
 
/**
* [2026 Wikidot Theme]
* 作者: gudagudaorder123
**/
 
:root {
    --header-background: var(--WT-header-background);
    --primary-background: #181822;
    --content-bar-background: #3b3b57;
    --primary-text-color: #f8f8ff;
    --text-color: #d0d0d0;
    --nav-hover-background: #5b5b77;
    --link-color: #253697;
    --link-hover-color: #4556b7;
    --new-page-color: #051657;
    --content-box-shadow-color: #130909;
    --tabview-side-scrollbar-thumb-background: #484e6a;
    --tabview-side-scrollbar-thumb-hover-background: #5b5b77;
    --BT-scrollbar-thumb-background: #484e6a;
    --BT-scrollbar-thumb-hover-background: #5b5b77;
    --star-rating-hue: 30deg;
    --modal-header-background: #1a1414;
    --body-background: #1e1e1e;
    --content-bar-color: #c0c0c0;
    --topbar-text-color: #d0d0d0;
    --header-text-visibility: hidden;
    --header-custom-text: 'RPC管理局中文数据库';
    --header-tagline-custom-text: '表 "Header-H2" 中没有 "custom-text" 这个字段';
}
 
body {
    background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 2px, rgba(220, 220, 230, 0.04) 2px, rgba(220, 220, 230, 0.04) 4px);
    background-size: 100% 4px;
    animation: scanline-move 75s linear infinite;
    isolation: isolate;
    overflow-x: hidden;
}
 
@keyframes scanline-move {
    0% { background-position: 0 0; }
    100% { background-position: 0 100vh; }
}
 
body::before, body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: inherit;
    pointer-events: none;
}
 
body::before {
    z-index: -2;
    mix-blend-mode: overlay;
    opacity: 0.09;
    background-image:
        radial-gradient(circle at 15% 25%, #ddd 0.8px, transparent 1.8px),
        radial-gradient(circle at 75% 65%, #eee 0.7px, transparent 1.6px);
        radial-gradient(circle at 40% 80%, #ccc 1px, transparent 2px);
    background-size: 140px 140px, 200px 200px, 180px 180px;
    animation: noise-drift 22s linear infinite;
}
 
@keyframes noise-drift {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 140px 140px, -200px -200px, 180px 180px; }
}
 
body::after {
    z-index: -1;
    mix-blend-mode: difference;
    transform: translate(1.2px, -0.8px);
    opacity: 0.6;
    filter: brightness(1.1) contrast(1.15);
    animation: glitch-pulse 75s infinite steps(4);
}
 
@keyframes glitch-pulse {
    0%, 8%, 16%, 25%, 33%, 41%, 50%, 58%, 66%, 75%, 83%, 91%, 100% {
        opacity: 0.55;
        filter: brightness(1.1) contrast(1.2) saturate(1.2);
        transform: translate(1.2px, -0.8px);
    }
    4%, 20%, 37%, 54%, 71%, 88% {
        opacity: 0.85;
        filter: brightness(1.4) contrast(1.8) saturate(2.0);
        transform: translate(-3px, 2px) skew(2deg);
    }
    12%, 29%, 46%, 63%, 80%, 96% {
        opacity: 0.75;
        filter: brightness(1.3) contrast(1.6) saturate(1.8);
        transform: translate(4px, -3px) skew(-2deg);
    }
}
 
body * {
    font-family: '宋体', Simsun, monospace !important;
    letter-spacing: 0.8px;
    text-shadow: 0.5px 0 #552222, -0.5px 0 #225522;
}
 
#main-content::after {
    content: "ERROR";
    position: fixed;
    background: #80000088;
    color: #ffcccc;
    padding: 8px 14px;
    border: 2px dashed #ff0000;
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    animation: random-popup 25s infinite steps(1);
    z-index: 999;
}
 
@keyframes random-popup {
    0%, 100% {
        opacity: 0;
        top: 20%; left: 10%;
    }
    3%, 10% { opacity: 0.95; top: 15%; left: 8%;  transform: translate(0,0); }
    10.5% { opacity: 0; }
    18%, 25% { opacity: 0.92; top: 45%; left: 65%; transform: translate(-40px, 15px); }
    25.5% { opacity: 0; }
    32%, 42% { opacity: 0.94; top: 60%; left: 12%; transform: translate(25px, -15px); }
    42.5% { opacity: 0; }
    48%, 55% { opacity: 0.90; top: 10%; left: 48%; transform: translate(-20px, 5px); }
    55.5% { opacity: 0; }
    62%, 72% { opacity: 0.93; top: 78%; left: 35%; transform: translate(15px, 30px); }
    72.5% { opacity: 0; }
    78%, 88% { opacity: 0.91; top: 28%; left: 72%; transform: translate(-10px, -25px); }
    88.5% { opacity: 0; }
}
 
.open-themes-container {
    display: none;
}
 
#page-title, .meta-title {
    font-size: 225%;
    margin: -3px 0 5px;
    padding-bottom: 7px;
    text-align: center;
}
 
.blockquote, blockquote {
    border: 2px dashed #c0c0c0;
    background: unset;
    border-radius: unset;
}
 
#top-bar .open-menu a {
    border-radius: 0.3em;
}
 
#side-bar .menu-item a::before {
    filter: hue-rotate(20deg);
}
 
#side-bar::after {
    content: "Version: 6.13.11\ALast Update: 29-04-14";
    white-space: pre;
}
 
@media (max-width: 768px) {
    body * {
        font-family: '宋体', Simsun, serif !important;
    }
    #side-bar::after {
        position: static;
    }
}
 
#action-area-top {
    padding-bottom: 7px;
}
 
#action-area-top::after {
    content: "注意：不要使用IE阅览内网数据，这可能会造成显示上的问题。";
    color: red;
}
 
#page-info::before {
    content: "禁止使用内网服务器连接外部网络服务\A违规行为将被OIRS记录并处理\A";
    white-space: pre;
}
