미디어위키:Test.css: 두 판 사이의 차이

편집 요약 없음
편집 요약 없음
 
(같은 사용자의 중간 판 51개는 보이지 않습니다)
1번째 줄: 1번째 줄:
/* =========================================
/* =========================================
  TEST REMAKE: Matte Gunmetal Industrial Main
COASTLINE: BLACK ICE
  대문 전용 테스트 스타일
MediaWiki:Test.css
  ========================================= */
Sandbox main-page integration test
Existing full portal body + SVG category nav from CategoryNav.js
========================================= */


body.page-대문 {
/*
    --clbi-metal-0: #030404;
Scope:
    --clbi-metal-1: #080909;
- This file is globally imported while the test page is still active.
    --clbi-metal-2: #111213;
- Every visual rule is scoped to .stylelab, except the bridge for nested .main-portal.
    --clbi-metal-3: #1b1c1d;
- No body, top-nav, sidebar, page shell, or global layout selectors.
    --clbi-metal-4: #2a2b2c;
 
    --clbi-metal-5: #3a3b3c;
Current role:
    --clbi-line-soft: #343536;
- Test.css still owns the full test page layout: notice rail, logo, console, image feed, guestbook, tracker, status, footer.
    --clbi-line-hard: #050505;
- MainPage.css + CategoryNav.js own the SVG category navigation.
    --clbi-text-main: #e5e5e5;
- This file only provides a bridge so the new JS/SVG category nav can sit inside the old test body without double padding or background.
    --clbi-text-sub: #a5a5a5;
 
    --clbi-text-dim: #686868;
Cleanup plan:
    --clbi-accent: #b8b8b8;
- After the full main page is migrated, these .stylelab rules should be renamed or moved into MainPage.css as .main-portal components.
    --clbi-alert: #d7d7d7;
- Then Test.css can be removed from Common.css import.
    --clbi-shadow: rgba(0,0,0,0.78);
*/
 
/* -----------------------------------------
0. Style tokens
----------------------------------------- */
 
.stylelab {
--surface-page:#070707;
--surface-frame:#101010;
--surface-frame-soft:#141414;
--surface-title:#1d1d1d;
--surface-title-hover:#252525;
--surface-well:#080808;
--surface-screen:#060606;
--surface-row:#121212;
--surface-row-alt:#151515;
--surface-inset:#070707;
 
--edge-top:#555555;
--edge-side:#2b2b2b;
--edge-bottom:#050505;
--edge-soft:#202020;
--edge-mid:#333333;
--edge-weak:#181818;
 
--text-main:#e2e2e2;
--text-soft:#c8c8c8;
--text-dim:#8a8a8a;
--text-faint:#626262;
 
--signal-blue:#6f8fa8;
--signal-teal:#5a9b92;
--signal-green:#78966c;
--signal-amber:#c4a04a;
--signal-red:#a85c50;
--signal-gray:#9a9a9a;
 
--wip-yellow:#f2c300;
--wip-black:#050505;
 
--space-block:8px;
--space-inner:6px;
--space-tight:4px;
--pad-panel:8px;
 
--title-h:24px;
--screen-title-h:22px;
--nav-h:30px;
--ticker-h:22px;
--row-h:23px;
--gauge-h:48px;
 
width:100%;
margin:0 auto;
padding:var(--space-block);
color:var(--text-main);
background:var(--surface-page);
font-size:11px;
line-height:1.5;
box-sizing:border-box;
}
 
.stylelab *,
.stylelab *::before,
.stylelab *::after {
box-sizing:border-box;
}
 
.stylelab a {
color:var(--text-main) !important;
text-decoration:none !important;
}
 
.stylelab a:hover {
color:#ffffff !important;
text-decoration:none !important;
}
 
/* -----------------------------------------
1. Frame system
North-light rule:
top bright / sides neutral / bottom dark
----------------------------------------- */
 
.stylelab .frame,
.stylelab .notice-rail,
.stylelab .lab-logo,
.stylelab .console,
.stylelab .panel,
.stylelab .instrument-panel,
.stylelab .ticker {
border:1px solid;
border-color:
var(--edge-top)
var(--edge-side)
var(--edge-bottom)
var(--edge-side);
background:var(--surface-frame);
border-radius:0;
box-shadow:none;
outline:none;
overflow:hidden;
}
 
.stylelab .titlebar {
position:relative;
height:var(--title-h);
min-height:var(--title-h);
padding:0 var(--pad-panel);
display:flex;
align-items:center;
justify-content:space-between;
gap:var(--space-block);
background:var(--surface-title);
border-bottom:1px solid var(--edge-bottom);
color:#f0f0f0;
font-size:10px;
font-weight:700;
line-height:1;
white-space:nowrap;
overflow:hidden;
text-shadow:1px 1px 0 #000;
}
 
.stylelab .titlebar > span {
display:block;
min-width:0;
overflow:hidden;
text-overflow:ellipsis;
}
 
.stylelab .titlebar > span:first-child {
flex:1 1 auto;
}
 
.stylelab .titlebar > span:last-child {
flex:0 0 auto;
color:#a8a8a8;
font-weight:700;
text-align:right;
}
}


/* 배경: 기존 보라 그리드를 공업용 어두운 격자로 전환 */
/* -----------------------------------------
body.page-대문 .WW-bg {
2. Notice rail
    background:
Important notices above logo.
        radial-gradient(circle at 50% 16%, rgba(255,255,255,0.035), transparent 28%),
Maintenance alert uses construction stripe on the whole row.
        linear-gradient(to bottom, #050606 0%, #020202 100%) !important;
Normal notice remains neutral.
----------------------------------------- */
 
.stylelab .notice-rail {
width:100%;
margin:0 0 var(--space-block);
background:#101010;
border:1px solid;
border-color:
#606060
var(--edge-side)
var(--edge-bottom)
var(--edge-side);
box-shadow:none;
}
}


body.page-대문 .WW-bg::before {
.stylelab .notice-line {
    top: -160px;
position:relative;
    left: -160px;
display:grid;
    width: calc(100% + 320px);
grid-template-columns:72px 96px minmax(0,1fr) 48px;
    height: calc(100% + 320px);
align-items:center;
    background-image:
gap:7px;
        linear-gradient(rgba(130,130,130,0.13) 1px, transparent 1px),
min-height:30px;
        linear-gradient(90deg, rgba(130,130,130,0.13) 1px, transparent 1px),
padding:0 8px;
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
border-bottom:1px solid #050505;
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
background:#141414;
    background-size:
font-size:12px;
        64px 64px,
line-height:1.25;
        64px 64px,
color:#dcdcdc;
        16px 16px,
overflow:hidden;
        16px 16px;
    opacity: 0.76;
    filter: none;
    animation: none;
}
}


body.page-대문 .WW-bg::after {
.stylelab .notice-line:last-child {
    content: "";
border-bottom:none;
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            135deg,
            rgba(255,255,255,0.018) 0,
            rgba(255,255,255,0.018) 1px,
            transparent 1px,
            transparent 8px
        );
    opacity: 0.38;
}
}


/* 전체 폭과 중앙 중량감 */
.stylelab .notice-line > * {
body.page-대문 .content-wrapper {
position:relative;
    max-width: 1780px !important;
z-index:2;
    padding-top: 12px !important;
}
}


body.page-대문 .container-fluid.liberty-content {
.stylelab .notice-line:hover {
    width: 1500px !important;
background:#1c1c1c;
    max-width: 1500px !important;
color:#ffffff;
    min-width: 1500px !important;
}
}


/* 상단 네비게이션: 무광 금속 바 */
.stylelab .notice-line.is-alert {
body.page-대문 #clbi-top-nav {
background:
    background:
repeating-linear-gradient(
        linear-gradient(to bottom, #242526 0%, #151617 42%, #080909 100%) !important;
45deg,
    border: 1px solid #050505 !important;
var(--wip-yellow) 0 9px,
    border-radius: 3px !important;
var(--wip-yellow) 9px 10px,
    box-shadow:
var(--wip-black) 10px 19px,
        inset 0 1px 0 rgba(255,255,255,0.18),
var(--wip-black) 19px 20px
        inset 0 -1px 0 rgba(0,0,0,0.88),
);
        0 0 0 1px #343536,
        0 8px 24px rgba(0,0,0,0.58) !important;
}
}


body.page-대문 .clbi-top-nav-item,
.stylelab .notice-line.is-alert::before {
body.page-대문 .clbi-tnav-sub-item {
content:"";
    color: #d8d8d8 !important;
position:absolute;
    background:
inset:0;
        linear-gradient(to bottom, #242526 0%, #161718 55%, #0b0c0c 100%) !important;
z-index:1;
    border-right: 1px solid #050505 !important;
pointer-events:none;
    box-shadow:
background:rgba(0,0,0,0.42);
        inset 1px 0 0 rgba(255,255,255,0.08),
        inset 0 1px 0 rgba(255,255,255,0.10),
        inset 0 -1px 0 rgba(0,0,0,0.72) !important;
    text-shadow: 0 -1px 0 #000 !important;
}
}


body.page-대문 .clbi-top-nav-item:hover,
.stylelab .notice-line.is-alert:hover::before {
body.page-대문 .clbi-tnav-sub-item:hover {
background:rgba(0,0,0,0.34);
    background:
        linear-gradient(to bottom, #303132 0%, #1d1e1f 55%, #0c0d0d 100%) !important;
    color: #ffffff !important;
}
}


body.page-대문 #clbi-top-search-input {
.stylelab .notice-line.is-notice {
    background: #090a0a !important;
background:#141414;
    border: 1px solid #3a3b3c !important;
    color: #e6e6e6 !important;
    box-shadow:
        inset 0 2px 5px rgba(0,0,0,0.82),
        0 1px 0 rgba(255,255,255,0.06) !important;
}
}


/* 우측 검색은 상단 검색으로 통일 */
.stylelab .notice-line.is-notice:hover {
body.page-대문 #clbi-right-sidebar .clbi-right-box:has(#clbi-title-search) {
background:#1c1c1c;
    display: none !important;
}
}


/* 좌측 뉴스 박스는 사이트 체인지로그 전용으로 축소 */
.stylelab .notice-badge {
body.page-대문 #clbi-left-news-recent-title,
display:inline-flex;
body.page-대문 #clbi-left-recent-list,
align-items:center;
body.page-대문 .clbi-news-divider {
justify-content:center;
    display: none !important;
height:20px;
padding:0 7px;
border:1px solid #444444;
background:#0b0b0b;
color:#d8d8d8;
font-size:10px;
font-weight:700;
line-height:1;
text-shadow:1px 1px 0 #000;
}
}


body.page-대문 .clbi-left-news-box {
.stylelab .notice-line.is-alert .notice-badge,
    min-height: 0 !important;
.stylelab .notice-line.is-notice .notice-badge {
border-color:#505050;
background:#101010;
color:#eeeeee;
}
}


body.page-대문 .clbi-news-box {
.stylelab .notice-date {
    min-height: 0 !important;
color:#9d9d9d;
white-space:nowrap;
font-size:10px;
font-family:Consolas, Monaco, monospace !important;
}
}


/* 좌우 패널 공통: 무광 건메탈 제어반 */
.stylelab .notice-text {
body.page-대문 .clbi-left-box,
min-width:0;
body.page-대문 .clbi-right-box {
overflow:hidden;
    position: relative;
text-overflow:ellipsis;
    border: 1px solid #050505 !important;
white-space:nowrap;
    border-radius: 4px !important;
color:#e0e0e0;
    overflow: hidden !important;
font-size:12px;
    background:
font-weight:700;
        radial-gradient(circle at 18% 12%, rgba(255,255,255,0.035) 0%, transparent 24%),
        repeating-linear-gradient(
            135deg,
            rgba(255,255,255,0.020) 0,
            rgba(255,255,255,0.020) 1px,
            transparent 1px,
            transparent 7px
        ),
        linear-gradient(to bottom, #202122 0%, #151617 48%, #0b0c0c 100%) !important;
    box-shadow:
        inset 1px 0 0 rgba(255,255,255,0.10),
        inset 0 1px 0 rgba(255,255,255,0.12),
        inset -1px -1px 0 rgba(0,0,0,0.72),
        0 0 0 1px #343536,
        0 8px 22px rgba(0,0,0,0.62) !important;
}
}


body.page-대문 .clbi-left-box::after,
.stylelab .notice-line.is-alert .notice-badge,
body.page-대문 .clbi-right-box::after {
.stylelab .notice-line.is-alert .notice-date,
    content: "";
.stylelab .notice-line.is-alert .notice-text,
    position: absolute;
.stylelab .notice-line.is-alert .notice-action {
    inset: 7px;
text-shadow:
    pointer-events: none;
-1px 0 0 #000,
    background:
1px 0 0 #000,
        radial-gradient(circle at 0 0, #050505 0 2px, #555 2px 3px, transparent 3px),
0 -1px 0 #000,
        radial-gradient(circle at 100% 0, #050505 0 2px, #555 2px 3px, transparent 3px),
0 1px 0 #000,
        radial-gradient(circle at 0 100%, #050505 0 2px, #555 2px 3px, transparent 3px),
-1px -1px 0 #000,
        radial-gradient(circle at 100% 100%, #050505 0 2px, #555 2px 3px, transparent 3px);
1px -1px 0 #000,
    opacity: 0.9;
-1px 1px 0 #000,
1px 1px 0 #000;
}
}


body.page-대문 .clbi-left-title,
.stylelab .notice-line:hover .notice-text {
body.page-대문 .clbi-right-title {
color:#ffffff;
    min-height: 30px;
    padding: 8px 13px 7px !important;
    background:
        linear-gradient(to bottom, #303132 0%, #1f2021 45%, #111213 100%) !important;
    border-bottom: 1px solid #050505 !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.18),
        inset 0 -1px 0 rgba(0,0,0,0.74),
        0 1px 0 #3a3b3c !important;
    color: #e4e4e4 !important;
    font-size: 11px !important;
    letter-spacing: 0.2px !important;
    text-transform: uppercase;
}
}


body.page-대문 .clbi-left-content,
.stylelab .notice-action {
body.page-대문 .clbi-right-content {
justify-self:end;
    color: #cfcfcf !important;
display:inline-flex;
    background:
align-items:center;
        linear-gradient(to bottom, rgba(0,0,0,0.10), rgba(0,0,0,0.32)) !important;
justify-content:center;
height:20px;
min-width:38px;
padding:0 5px;
border:1px solid #3a3a3a;
background:#0b0b0b;
color:#c8c8c8;
font-size:10px;
font-weight:700;
white-space:nowrap;
line-height:1;
}
}


body.page-대문 .clbi-recent-title {
.stylelab .notice-line:hover .notice-action {
    color: #dedede !important;
border-color:#606060;
background:#181818;
color:#ffffff;
}
}


body.page-대문 .clbi-recent-title:hover {
/* -----------------------------------------
    color: #ffffff !important;
3. Top logo
Site signboard. Placed before category navigation and content.
----------------------------------------- */
 
.stylelab .lab-logo {
width:100%;
height:auto;
margin:0 0 var(--space-block);
padding:10px 0 8px;
text-align:center;
line-height:0;
background:#0b0b0b;
}
}


body.page-대문 .clbi-recent-time {
.stylelab .lab-logo a,
    color: #7f7f7f !important;
.stylelab .lab-logo .mw-file-description {
display:inline-block;
line-height:0;
}
}


/* 본문 컨테이너: 중앙 주 모듈 */
.stylelab .lab-logo img,
body.page-대문 .Liberty .content-wrapper .liberty-content .liberty-content-main,
.stylelab .lab-logo .mw-file-element {
body.page-대문 .liberty-content-main {
width:760px;
    position: relative;
max-width:90%;
    border: 1px solid #050505 !important;
height:auto;
    border-radius: 5px !important;
filter:
    background:
grayscale(1)
        radial-gradient(circle at 50% 0%, rgba(255,255,255,0.045), transparent 28%),
contrast(1.04)
        linear-gradient(to bottom, #1b1c1d 0%, #121314 48%, #090a0a 100%) !important;
brightness(1.02);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.16),
        inset 0 -2px 0 rgba(0,0,0,0.88),
        0 0 0 2px #080808,
        0 0 0 4px #2e2f30,
        0 16px 40px rgba(0,0,0,0.66) !important;
    overflow: hidden;
}
}


body.page-대문 .liberty-content-main::before {
/* -----------------------------------------
    content: "";
4. Category navigation bridge
    position: absolute;
----------------------------------------- */
    inset: 0;
 
    pointer-events: none;
/*
    background:
The actual category navigation is now generated by CategoryNav.js
        repeating-linear-gradient(
and styled by MainPage.css as SVG.
            to bottom,
 
            rgba(255,255,255,0.025) 0,
Why this bridge exists:
            rgba(255,255,255,0.025) 1px,
- The old full test body is still wrapped in .stylelab.
            transparent 1px,
- MainPage.css expects a .main-portal wrapper.
            transparent 5px
- If .main-portal keeps its own padding/background inside .stylelab, the category nav gets a double frame and the ratio feels different from the original body.
        );
 
    opacity: 0.28;
So, inside .stylelab, .main-portal is treated as a transparent mount wrapper only.
    mix-blend-mode: screen;
The SVG nav itself remains owned by MainPage.css.
*/
 
.stylelab .main-portal {
width:100%;
margin:0;
padding:0;
background:transparent;
font-size:11px;
line-height:1.5;
}
}


/* 기존 로고를 금속 패널 위의 빛나는 간판처럼 */
.stylelab .main-portal [data-component="category-nav"] {
body.page-대문 #clbi-main-logo {
width:100%;
    padding: 18px 0 12px !important;
margin:0 0 var(--space-block);
padding:0;
}
}


body.page-대문 #clbi-main-logo img {
/* -----------------------------------------
    width: 760px !important;
5. Main console
    max-width: 88% !important;
Type: SCREEN DEVICE
    filter:
frame > titlebar > body > screen panels
        grayscale(1)
----------------------------------------- */
        contrast(1.12)
 
        brightness(1.18)
.stylelab .console {
        drop-shadow(0 0 10px rgba(255,255,255,0.20))
width:100%;
        drop-shadow(0 12px 22px rgba(0,0,0,0.75)) !important;
margin:0 0 var(--space-block);
padding:0;
}
}


/* 대문 전용 내부 레이아웃 */
.stylelab .console-body {
.clbi-industrial-home {
padding:var(--space-inner);
    position: relative;
background:var(--surface-frame);
    z-index: 1;
    padding: 20px;
    color: var(--clbi-text-main);
}
}


.clbi-industrial-hero {
.stylelab .console-grid {
    position: relative;
display:grid;
    margin: 0 auto 18px;
grid-template-columns:minmax(0,1fr) 260px;
    padding: 22px;
gap:var(--space-inner);
    border-radius: 16px;
align-items:stretch;
    background:
        linear-gradient(145deg, #303132 0%, #171819 34%, #070808 70%, #1f2021 100%);
    border: 1px solid #050505;
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,0.16),
        inset 0 -3px 0 rgba(0,0,0,0.88),
        0 0 0 3px #080808,
        0 0 0 5px #292a2b,
        0 16px 32px rgba(0,0,0,0.66);
}
}


.clbi-industrial-hero::before {
.stylelab .main-screen,
    content: "";
.stylelab .side-screen {
    position: absolute;
position:relative;
    inset: 8px;
min-width:0;
    border-radius: 12px;
height:100%;
    pointer-events: none;
overflow:hidden;
    background:
border:1px solid var(--edge-soft);
        radial-gradient(circle at 0 0, #050505 0 3px, #5c5d5e 3px 4px, transparent 4px),
background:var(--surface-screen);
        radial-gradient(circle at 100% 0, #050505 0 3px, #5c5d5e 3px 4px, transparent 4px),
box-shadow:
        radial-gradient(circle at 0 100%, #050505 0 3px, #5c5d5e 3px 4px, transparent 4px),
inset 0 0 0 1px rgba(255,255,255,0.018),
        radial-gradient(circle at 100% 100%, #050505 0 3px, #5c5d5e 3px 4px, transparent 4px);
inset 0 0 18px rgba(0,0,0,0.70);
    opacity: 0.85;
}
}


.clbi-industrial-screen {
.stylelab .main-screen::before,
    position: relative;
.stylelab .side-screen::before {
    overflow: hidden;
content:"";
    min-height: 350px;
position:absolute;
    border-radius: 9px / 18px;
inset:0;
    border: 1px solid #050505;
z-index:6;
    background:
pointer-events:none;
        radial-gradient(ellipse at 50% 36%, rgba(255,255,255,0.065) 0%, transparent 34%),
background:
        linear-gradient(to bottom, #111213 0%, #090a0a 60%, #030303 100%);
radial-gradient(
    box-shadow:
ellipse at 50% 42%,
        inset 0 0 0 2px #171819,
rgba(255,255,255,0.030) 0%,
        inset 0 0 34px rgba(0,0,0,0.94),
transparent 42%
        inset 0 0 80px rgba(0,0,0,0.72),
),
        0 1px 0 rgba(255,255,255,0.10);
linear-gradient(
to bottom,
rgba(255,255,255,0.030) 0%,
transparent 24%,
rgba(0,0,0,0.16) 100%
);
}
}


.clbi-industrial-screen::before {
.stylelab .main-screen::after,
    content: "";
.stylelab .side-screen::after {
    position: absolute;
content:"";
    inset: 0;
position:absolute;
    background:
inset:-40px 0;
        linear-gradient(
z-index:7;
            105deg,
pointer-events:none;
            transparent 0%,
opacity:0.13;
            rgba(255,255,255,0.045) 18%,
background:
            transparent 36%,
repeating-linear-gradient(
            transparent 100%
to bottom,
        ),
rgba(255,255,255,0.080) 0px,
        repeating-linear-gradient(
rgba(255,255,255,0.080) 1px,
            to bottom,
transparent 2px,
            rgba(255,255,255,0.055) 0,
transparent 5px
            rgba(255,255,255,0.055) 1px,
);
            transparent 2px,
mix-blend-mode:screen;
            transparent 5px
        );
    opacity: 0.26;
    pointer-events: none;
    mix-blend-mode: screen;
}
}


.clbi-industrial-screen::after {
.stylelab .main-screen > *,
    content: "";
.stylelab .side-screen > * {
    position: absolute;
position:relative;
    left: -10%;
z-index:3;
    right: -10%;
    bottom: -4%;
    height: 42%;
    background-image:
        linear-gradient(to right, rgba(180,180,180,0.22) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(180,180,180,0.18) 1px, transparent 1px);
    background-size: 48px 100%, 100% 24px;
    transform-origin: 50% 100%;
    transform: perspective(440px) rotateX(64deg);
    opacity: 0.35;
    filter: drop-shadow(0 0 3px rgba(255,255,255,0.14));
    pointer-events: none;
}
}


.clbi-industrial-copy {
.stylelab .main-screen {
    position: relative;
min-height:392px;
    z-index: 2;
padding:var(--pad-panel);
    width: min(880px, 86%);
display:flex;
    margin: 0 auto;
flex-direction:column;
    padding: 48px 20px 42px;
justify-content:flex-start;
    text-align: center;
    color: #eeeeee;
    text-shadow:
        0 0 2px rgba(255,255,255,0.45),
        0 0 12px rgba(255,255,255,0.10);
}
}


.clbi-industrial-kicker {
.stylelab .side-screen {
    margin-bottom: 16px;
padding:var(--pad-panel);
    color: #777;
display:flex;
    font-size: 10px;
flex-direction:column;
    letter-spacing: 1.4px;
}
}


.clbi-industrial-title {
/* -----------------------------------------
    margin: 0 0 24px;
6. Image feed crossfade + alternating drift
    font-family: 'BoldRound', sans-serif !important;
Current image fades down, next layer becomes visible.
    font-size: 28px;
Image drift alternates: left-down / right-down.
    line-height: 1.25;
----------------------------------------- */
    color: #ffffff;
 
    letter-spacing: 0.5px;
.stylelab .image-feed {
position:relative;
width:100%;
height:240px;
min-height:240px;
overflow:hidden;
border:1px solid var(--edge-soft);
background:#030303;
isolation:isolate;
}
}


.clbi-industrial-copy p {
.stylelab .feed-layer {
    margin: 0 auto 16px;
position:absolute;
    max-width: 780px;
inset:-12px;
    font-size: 13px;
z-index:1;
    line-height: 1.78;
opacity:0;
    color: #e0e0e0;
background-size:cover;
background-position:center center;
background-repeat:no-repeat;
filter:
brightness(0.78)
contrast(1.12)
saturate(0.78)
grayscale(0.16);
transform:translate(0,0) scale(1.06);
transform-origin:center center;
will-change:opacity, transform;
animation-duration:24s;
animation-timing-function:linear;
animation-iteration-count:infinite;
}
}


/* 하단 정보 모듈 */
.stylelab .feed-bg-001 {
.clbi-industrial-grid {
background-image:url('/index.php?title=특수:Redirect/file/Bg-Feed-001.png');
    display: grid;
    grid-template-columns: 1.1fr 1fr 0.85fr;
    gap: 12px;
    margin-top: 18px;
}
}


.clbi-industrial-module {
.stylelab .feed-bg-002 {
    position: relative;
background-image:url('/index.php?title=특수:Redirect/file/Bg-Feed-002.png');
    min-height: 128px;
    padding: 12px 13px 13px;
    border-radius: 4px;
    border: 1px solid #050505;
    background:
        radial-gradient(circle at 18% 8%, rgba(255,255,255,0.035), transparent 28%),
        linear-gradient(to bottom, #222324 0%, #171819 46%, #0b0c0c 100%);
    box-shadow:
        inset 1px 0 0 rgba(255,255,255,0.10),
        inset 0 1px 0 rgba(255,255,255,0.14),
        inset -1px -1px 0 rgba(0,0,0,0.70),
        0 0 0 1px #343536,
        0 6px 16px rgba(0,0,0,0.45);
}
}


.clbi-industrial-module::after {
.stylelab .feed-bg-003 {
    content: "";
background-image:url('/index.php?title=특수:Redirect/file/Bg-Feed-003.png');
    position: absolute;
    inset: 6px;
    pointer-events: none;
    background:
        radial-gradient(circle at 0 0, #050505 0 2px, #545556 2px 3px, transparent 3px),
        radial-gradient(circle at 100% 0, #050505 0 2px, #545556 2px 3px, transparent 3px);
    opacity: 0.82;
}
}


.clbi-industrial-module-title {
.stylelab .feed-bg-004 {
    margin: -4px -5px 10px;
background-image:url('/index.php?title=특수:Redirect/file/Bg-Feed-004.png');
    padding: 7px 9px 6px;
    border-bottom: 1px solid #050505;
    background:
        linear-gradient(to bottom, #303132 0%, #202122 46%, #111213 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.13),
        inset 0 -1px 0 rgba(0,0,0,0.70),
        0 1px 0 #38393a;
    color: #f0f0f0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
}


.clbi-industrial-list {
.stylelab .feed-layer-1 {
    margin: 0;
animation-name:image-feed-drift-left;
    padding: 0;
animation-delay:0s;
    list-style: none;
}
}


.clbi-industrial-list li {
.stylelab .feed-layer-2 {
    display: flex;
animation-name:image-feed-drift-right;
    justify-content: space-between;
animation-delay:6s;
    gap: 10px;
    margin: 0 0 5px;
    padding: 5px 7px;
    background:
        linear-gradient(to bottom, #171818 0%, #101111 100%);
    border: 1px solid #242526;
    box-shadow:
        inset 1px 0 0 rgba(255,255,255,0.04),
        inset 0 1px 0 rgba(255,255,255,0.04);
    color: #cfcfcf;
    font-size: 11px;
    line-height: 1.35;
}
}


.clbi-industrial-list a {
.stylelab .feed-layer-3 {
    color: #e5e5e5 !important;
animation-name:image-feed-drift-left;
    text-decoration: none !important;
animation-delay:12s;
}
}


.clbi-industrial-list a:hover {
.stylelab .feed-layer-4 {
    color: #ffffff !important;
animation-name:image-feed-drift-right;
animation-delay:18s;
}
}


.clbi-industrial-meta {
@keyframes image-feed-drift-left {
    color: #777;
0% {
    white-space: nowrap;
opacity:0;
    font-size: 10px;
transform:translate(0,0) scale(1.06);
}
4.166% {
opacity:1;
transform:translate(0,0) scale(1.06);
}
25% {
opacity:1;
transform:translate(-22px,14px) scale(1.075);
}
29.166% {
opacity:0;
transform:translate(-26px,16px) scale(1.078);
}
100% {
opacity:0;
transform:translate(0,0) scale(1.06);
}
}
}


.clbi-industrial-stats {
@keyframes image-feed-drift-right {
    display: grid;
0% {
    grid-template-columns: 1fr 1fr;
opacity:0;
    gap: 7px;
transform:translate(0,0) scale(1.06);
}
4.166% {
opacity:1;
transform:translate(0,0) scale(1.06);
}
25% {
opacity:1;
transform:translate(22px,14px) scale(1.075);
}
29.166% {
opacity:0;
transform:translate(26px,16px) scale(1.078);
}
100% {
opacity:0;
transform:translate(0,0) scale(1.06);
}
}
}


.clbi-industrial-stat {
.stylelab .image-feed::before {
    padding: 10px 8px;
content:"";
    background:
position:absolute;
        linear-gradient(to bottom, #111213 0%, #090a0a 100%);
inset:0;
    border: 1px solid #2c2d2e;
z-index:5;
    box-shadow:
pointer-events:none;
        inset 0 2px 5px rgba(0,0,0,0.78),
background:
        0 1px 0 rgba(255,255,255,0.04);
linear-gradient(
to bottom,
rgba(0,0,0,0.18) 0%,
transparent 22%,
transparent 74%,
rgba(0,0,0,0.30) 100%
),
linear-gradient(
to right,
rgba(0,0,0,0.22) 0%,
transparent 10%,
transparent 90%,
rgba(0,0,0,0.22) 100%
);
}
}


.clbi-industrial-stat-num {
.stylelab .image-feed::after {
    display: block;
content:"";
    color: #f2f2f2;
position:absolute;
    font-size: 20px;
inset:-40px 0;
    line-height: 1;
z-index:6;
    font-family: 'Consolas', 'Monaco', monospace !important;
pointer-events:none;
opacity:0.20;
background:
repeating-linear-gradient(
to bottom,
rgba(255,255,255,0.090) 0px,
rgba(255,255,255,0.090) 1px,
transparent 2px,
transparent 5px
);
mix-blend-mode:screen;
}
}


.clbi-industrial-stat-label {
.stylelab .feed-caption {
    display: block;
position:absolute;
    margin-top: 5px;
left:0;
    color: #858585;
right:0;
    font-size: 10px;
bottom:0;
z-index:8;
height:22px;
padding:0 7px;
display:flex;
align-items:center;
justify-content:space-between;
gap:8px;
border-top:1px solid rgba(255,255,255,0.09);
background:rgba(5,5,5,0.86);
color:#cfcfcf;
font-size:10px;
line-height:22px;
text-shadow:1px 1px 0 #000;
}
}


.clbi-industrial-guest {
.stylelab .feed-caption span:first-child {
    min-height: 50px;
min-width:0;
    padding: 9px;
overflow:hidden;
    background:
text-overflow:ellipsis;
        linear-gradient(to bottom, #111213 0%, #080909 100%);
white-space:nowrap;
    border: 1px solid #2c2d2e;
    color: #bdbdbd;
    font-size: 11px;
    line-height: 1.55;
}
}


.clbi-industrial-guest-name {
.stylelab .feed-caption span:last-child {
    color: #f0f0f0;
flex:0 0 auto;
    font-weight: 700;
color:var(--text-dim);
}
}


@media screen and (max-width: 1720px) {
/* -----------------------------------------
    body.page-대문 .container-fluid.liberty-content {
7. Statement plate below image feed
        width: 1180px !important;
----------------------------------------- */
        max-width: 1180px !important;
        min-width: 1180px !important;
    }


    .clbi-industrial-grid {
.stylelab .statement-plate {
        grid-template-columns: 1fr 1fr;
margin:var(--space-inner) 0 0;
    }
padding:13px 18px 12px;
border:1px solid var(--edge-soft);
background:#080808;
}
 
.stylelab .statement-plate h2 {
margin:0 0 10px !important;
padding:0 0 8px !important;
border-bottom:1px solid var(--edge-soft) !important;
color:#f4f4f4 !important;
font-size:20px !important;
line-height:1.25 !important;
text-align:center !important;
text-shadow:
1px 1px 0 #000,
0 0 4px rgba(255,255,255,0.10) !important;
}
 
.stylelab .statement-plate p {
max-width:820px;
margin:0 auto 9px;
color:#d8d8d8;
font-size:12px;
line-height:1.68;
text-align:center;
text-shadow:1px 1px 0 #000;
}
 
.stylelab .statement-plate p:last-child {
margin-bottom:0;
}
 
/* -----------------------------------------
8. Screen guestbook
Top-right body content module.
Dummy only. Final interactive function later.
----------------------------------------- */
 
.stylelab .screen-title {
height:var(--screen-title-h);
min-height:var(--screen-title-h);
margin:0 0 var(--space-inner);
padding:0 7px;
display:flex;
align-items:center;
justify-content:space-between;
gap:6px;
border:1px solid var(--edge-soft);
background:#151515;
color:#f0f0f0;
font-size:10px;
font-weight:700;
line-height:1;
text-shadow:1px 1px 0 #000;
}
 
.stylelab .screen-title span:last-child {
color:var(--text-dim);
font-size:9px;
}
 
.stylelab .guestbook-device {
flex:1 1 auto;
min-height:0;
display:flex;
flex-direction:column;
gap:var(--space-inner);
}
 
.stylelab .guestbook-messages {
flex:1 1 auto;
min-height:0;
border-top:1px solid var(--edge-soft);
border-bottom:1px solid var(--edge-soft);
overflow:hidden;
}
 
.stylelab .guestbook-message {
padding:6px 2px;
border-bottom:1px solid var(--edge-soft);
}
 
.stylelab .guestbook-message:last-child {
border-bottom:none;
}
 
.stylelab .guestbook-message:hover {
background:#111111;
}
 
.stylelab .guestbook-message-head {
display:flex;
align-items:center;
justify-content:space-between;
gap:6px;
margin-bottom:3px;
font-size:9px;
line-height:1.2;
}
 
.stylelab .guestbook-name {
color:#eeeeee;
font-weight:700;
white-space:nowrap;
}
 
.stylelab .guestbook-time {
color:var(--text-dim);
white-space:nowrap;
}
 
.stylelab .guestbook-text {
color:var(--text-soft);
font-size:10px;
line-height:1.45;
word-break:keep-all;
}
 
.stylelab .guestbook-form {
display:grid;
grid-template-columns:minmax(0,1fr) 48px;
gap:var(--space-tight);
}
 
.stylelab .guestbook-input {
height:24px;
padding:0 7px;
display:flex;
align-items:center;
border:1px solid var(--edge-soft);
background:#070707;
color:var(--text-faint);
font-size:10px;
line-height:1;
overflow:hidden;
white-space:nowrap;
text-overflow:ellipsis;
}
 
.stylelab .guestbook-input:hover {
background:#0c0c0c;
color:#8f8f8f;
}
 
.stylelab .guestbook-submit {
height:24px;
display:flex;
align-items:center;
justify-content:center;
border:1px solid var(--edge-soft);
background:#161616;
color:var(--text-soft);
font-size:9px;
font-weight:700;
line-height:1;
text-shadow:1px 1px 0 #000;
}
 
.stylelab .guestbook-submit:hover {
background:#222222;
color:#ffffff;
}
 
/* -----------------------------------------
9. Ticker
Type: RECORD STRIP
Not a screen device.
----------------------------------------- */
 
.stylelab .ticker {
height:var(--ticker-h);
margin:0 0 var(--space-inner);
padding:0 var(--pad-panel);
color:#bdbdbd;
background:#171717;
font-size:10px;
line-height:var(--ticker-h);
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
text-shadow:1px 1px 0 #000;
}
 
/* -----------------------------------------
10. Module grid
----------------------------------------- */
 
.stylelab .module-grid {
display:grid;
grid-template-columns:minmax(0,1fr) minmax(0,1fr) 280px;
gap:var(--space-inner);
align-items:stretch;
}
 
.stylelab .panel,
.stylelab .instrument-panel {
min-width:0;
height:100%;
display:flex;
flex-direction:column;
}
 
.stylelab .panel-body,
.stylelab .instrument-body {
flex:1 1 auto;
min-height:0;
padding:var(--pad-panel);
background:var(--surface-well);
}
 
/* -----------------------------------------
11. Record modules
No scanlines. No screen treatment.
----------------------------------------- */
 
.stylelab .record-list {
margin:0 !important;
padding:0 !important;
list-style:none !important;
}
 
.stylelab .record-list li {
display:grid;
grid-template-columns:minmax(0,1fr) auto;
align-items:center;
gap:var(--space-block);
height:var(--row-h);
min-height:var(--row-h);
margin:0;
padding:0 2px;
border-bottom:1px solid var(--edge-soft);
color:var(--text-soft);
line-height:1.25;
}
 
.stylelab .record-list li:first-child {
border-top:1px solid var(--edge-soft);
}
 
.stylelab .record-list li:hover {
background:#151515;
color:#ffffff;
}
 
.stylelab .record-list li span:first-child {
min-width:0;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}
 
.stylelab .meta {
color:var(--text-dim);
white-space:nowrap;
font-size:9px;
line-height:1;
}
 
.stylelab .record-list li:hover .meta {
color:#c0c0c0;
}
 
/* -----------------------------------------
12. Status tags
Small functional color only.
No structural color use.
----------------------------------------- */
 
.stylelab .status-tag {
display:inline-flex;
align-items:center;
justify-content:center;
min-width:34px;
height:16px;
padding:0 4px;
border:1px solid #303030;
background:#161616;
color:var(--text-soft);
font-size:9px;
text-align:center;
line-height:1;
}
 
.stylelab .status-tag.is-progress {
border-color:#6d5b2c;
background:#19170f;
}
 
.stylelab .status-tag.is-review {
border-color:#36515d;
background:#10171a;
}
 
.stylelab .status-tag.is-wait {
border-color:#484848;
background:#151515;
}
 
.stylelab .status-tag.is-done {
border-color:#3d5c38;
background:#111811;
}
 
.stylelab .status-tag.is-alert {
border-color:#6a3933;
background:#1b1110;
}
 
/* -----------------------------------------
13. Team work module
Use WIP construction motif only where the making team is foregrounded.
Only motif: left vertical construction rail.
----------------------------------------- */
 
.stylelab .team-panel .panel-body {
position:relative;
padding-left:15px;
}
 
.stylelab .team-panel .panel-body::before {
content:"";
position:absolute;
left:6px;
top:8px;
bottom:8px;
width:4px;
pointer-events:none;
background:
repeating-linear-gradient(
45deg,
var(--wip-yellow) 0 4px,
var(--wip-yellow) 4px 5px,
var(--wip-black) 5px 9px,
var(--wip-black) 9px 10px
);
opacity:0.95;
}
 
.stylelab .team-panel .titlebar > span:last-child {
color:#c6c6c6;
}
 
/* -----------------------------------------
14. Status instrument
Type: STATUS INSTRUMENT
No scanlines. Gauge cells may have recessed finish.
----------------------------------------- */
 
.stylelab .instrument-grid {
display:grid;
grid-template-columns:minmax(0,1fr) minmax(0,1fr);
gap:var(--space-inner);
margin:0 0 var(--space-inner);
}
 
.stylelab .gauge {
height:var(--gauge-h);
min-width:0;
padding:6px;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
border:1px solid var(--edge-soft);
background:var(--surface-inset);
text-align:center;
box-shadow:
inset 0 1px 0 rgba(255,255,255,0.025),
inset 0 -1px 0 rgba(0,0,0,0.55);
}
 
.stylelab .gauge:hover {
background:#0d0d0d;
}
 
.stylelab .gauge b {
display:block;
color:#f0f0f0;
font-family:Consolas, Monaco, monospace !important;
font-size:18px;
line-height:1;
text-shadow:1px 1px 0 #000;
}
 
.stylelab .gauge span {
display:block;
margin-top:5px;
color:var(--text-dim);
font-size:9px;
line-height:1;
}
 
.stylelab .instrument-lines {
border-top:1px solid var(--edge-soft);
border-bottom:1px solid var(--edge-soft);
}
 
.stylelab .instrument-line {
display:grid;
grid-template-columns:82px minmax(0,1fr);
align-items:center;
gap:6px;
height:22px;
min-height:22px;
padding:0 2px;
border-bottom:1px solid var(--edge-soft);
font-size:10px;
line-height:1.2;
}
 
.stylelab .instrument-line:last-child {
border-bottom:none;
}
 
.stylelab .instrument-line:hover {
background:#151515;
}
 
.stylelab .instrument-label {
color:var(--text-dim);
white-space:nowrap;
}
 
.stylelab .instrument-value {
color:var(--text-soft);
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}
 
.stylelab .instrument-line:hover .instrument-value {
color:#ffffff;
}
 
/* -----------------------------------------
15. Footer split
Left: style rule check
Right: policy / license / credits / socials
----------------------------------------- */
 
.stylelab .footer-grid {
display:grid;
grid-template-columns:minmax(0,1fr) 300px;
gap:var(--space-inner);
margin-top:var(--space-inner);
align-items:stretch;
}
 
.stylelab .footer-grid .panel {
height:100%;
}
 
.stylelab .manual-panel {
margin-top:0;
}
 
.stylelab .sample-row {
display:grid;
grid-template-columns:150px minmax(0,1fr);
align-items:center;
gap:var(--space-inner);
min-height:24px;
padding:4px 0;
border-bottom:1px solid var(--edge-soft);
}
 
.stylelab .sample-row:first-child {
border-top:1px solid var(--edge-soft);
}
 
.stylelab .sample-row:hover {
background:#151515;
}
 
.stylelab .sample-label {
color:var(--text-dim);
font-size:10px;
line-height:1.25;
}
 
.stylelab .sample-value {
color:var(--text-soft);
font-size:10px;
line-height:1.35;
}
 
.stylelab .sample-row:hover .sample-value {
color:#ffffff;
}
 
.stylelab .policy-list {
border-top:1px solid var(--edge-soft);
border-bottom:1px solid var(--edge-soft);
}
 
.stylelab .policy-row {
display:grid;
grid-template-columns:minmax(0,1fr) 18px;
align-items:center;
gap:var(--space-inner);
height:24px;
padding:0 2px;
border-bottom:1px solid var(--edge-soft);
font-size:10px;
line-height:1.2;
}
 
.stylelab .policy-row:last-child {
border-bottom:none;
}
 
.stylelab .policy-row:hover {
background:#151515;
}
 
.stylelab .policy-row a {
display:block;
min-width:0;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
color:var(--text-soft) !important;
}
 
.stylelab .policy-row:hover a {
color:#ffffff !important;
text-decoration:none !important;
}
 
.stylelab .policy-mark {
color:var(--text-dim);
font-size:14px;
line-height:1;
white-space:nowrap;
text-align:right;
}
 
.stylelab .policy-row:hover .policy-mark {
color:#ffffff;
}
 
.stylelab .social-strip {
display:grid;
grid-template-columns:repeat(4,1fr);
gap:var(--space-tight);
margin-top:var(--space-inner);
}
 
.stylelab .social-icon {
display:block;
height:26px;
min-width:0;
}
 
.stylelab .social-icon a {
display:flex !important;
align-items:center !important;
justify-content:center !important;
width:100% !important;
height:26px !important;
border:1px solid var(--edge-soft) !important;
background:#111111 !important;
color:var(--text-soft) !important;
font-size:10px !important;
font-weight:700 !important;
line-height:1 !important;
text-decoration:none !important;
text-shadow:1px 1px 0 #000 !important;
box-sizing:border-box !important;
}
 
.stylelab .social-icon a:hover {
background:#1c1c1c !important;
color:#ffffff !important;
border-color:#3a3a3a !important;
text-decoration:none !important;
}
 
/* -----------------------------------------
16. Responsive
----------------------------------------- */
 
@media screen and (max-width:1380px) {
.stylelab .module-grid {
grid-template-columns:minmax(0,1fr) minmax(0,1fr);
}
 
.stylelab .footer-grid {
grid-template-columns:minmax(0,1fr);
}
}
 
@media screen and (max-width:1180px) {
.stylelab .console-grid {
grid-template-columns:minmax(0,1fr);
}
 
.stylelab .module-grid {
grid-template-columns:minmax(0,1fr);
}
 
.stylelab .notice-line {
grid-template-columns:62px minmax(0,1fr);
min-height:32px;
}
 
.stylelab .notice-date,
.stylelab .notice-action {
display:none;
}
}
}

2026년 5월 19일 (화) 08:31 기준 최신판

/* =========================================
COASTLINE: BLACK ICE
MediaWiki:Test.css
Sandbox main-page integration test
Existing full portal body + SVG category nav from CategoryNav.js
========================================= */

/*
Scope:
- This file is globally imported while the test page is still active.
- Every visual rule is scoped to .stylelab, except the bridge for nested .main-portal.
- No body, top-nav, sidebar, page shell, or global layout selectors.

Current role:
- Test.css still owns the full test page layout: notice rail, logo, console, image feed, guestbook, tracker, status, footer.
- MainPage.css + CategoryNav.js own the SVG category navigation.
- This file only provides a bridge so the new JS/SVG category nav can sit inside the old test body without double padding or background.

Cleanup plan:
- After the full main page is migrated, these .stylelab rules should be renamed or moved into MainPage.css as .main-portal components.
- Then Test.css can be removed from Common.css import.
*/

/* -----------------------------------------
0. Style tokens
----------------------------------------- */

.stylelab {
--surface-page:#070707;
--surface-frame:#101010;
--surface-frame-soft:#141414;
--surface-title:#1d1d1d;
--surface-title-hover:#252525;
--surface-well:#080808;
--surface-screen:#060606;
--surface-row:#121212;
--surface-row-alt:#151515;
--surface-inset:#070707;

--edge-top:#555555;
--edge-side:#2b2b2b;
--edge-bottom:#050505;
--edge-soft:#202020;
--edge-mid:#333333;
--edge-weak:#181818;

--text-main:#e2e2e2;
--text-soft:#c8c8c8;
--text-dim:#8a8a8a;
--text-faint:#626262;

--signal-blue:#6f8fa8;
--signal-teal:#5a9b92;
--signal-green:#78966c;
--signal-amber:#c4a04a;
--signal-red:#a85c50;
--signal-gray:#9a9a9a;

--wip-yellow:#f2c300;
--wip-black:#050505;

--space-block:8px;
--space-inner:6px;
--space-tight:4px;
--pad-panel:8px;

--title-h:24px;
--screen-title-h:22px;
--nav-h:30px;
--ticker-h:22px;
--row-h:23px;
--gauge-h:48px;

width:100%;
margin:0 auto;
padding:var(--space-block);
color:var(--text-main);
background:var(--surface-page);
font-size:11px;
line-height:1.5;
box-sizing:border-box;
}

.stylelab *,
.stylelab *::before,
.stylelab *::after {
box-sizing:border-box;
}

.stylelab a {
color:var(--text-main) !important;
text-decoration:none !important;
}

.stylelab a:hover {
color:#ffffff !important;
text-decoration:none !important;
}

/* -----------------------------------------
1. Frame system
North-light rule:
top bright / sides neutral / bottom dark
----------------------------------------- */

.stylelab .frame,
.stylelab .notice-rail,
.stylelab .lab-logo,
.stylelab .console,
.stylelab .panel,
.stylelab .instrument-panel,
.stylelab .ticker {
border:1px solid;
border-color:
var(--edge-top)
var(--edge-side)
var(--edge-bottom)
var(--edge-side);
background:var(--surface-frame);
border-radius:0;
box-shadow:none;
outline:none;
overflow:hidden;
}

.stylelab .titlebar {
position:relative;
height:var(--title-h);
min-height:var(--title-h);
padding:0 var(--pad-panel);
display:flex;
align-items:center;
justify-content:space-between;
gap:var(--space-block);
background:var(--surface-title);
border-bottom:1px solid var(--edge-bottom);
color:#f0f0f0;
font-size:10px;
font-weight:700;
line-height:1;
white-space:nowrap;
overflow:hidden;
text-shadow:1px 1px 0 #000;
}

.stylelab .titlebar > span {
display:block;
min-width:0;
overflow:hidden;
text-overflow:ellipsis;
}

.stylelab .titlebar > span:first-child {
flex:1 1 auto;
}

.stylelab .titlebar > span:last-child {
flex:0 0 auto;
color:#a8a8a8;
font-weight:700;
text-align:right;
}

/* -----------------------------------------
2. Notice rail
Important notices above logo.
Maintenance alert uses construction stripe on the whole row.
Normal notice remains neutral.
----------------------------------------- */

.stylelab .notice-rail {
width:100%;
margin:0 0 var(--space-block);
background:#101010;
border:1px solid;
border-color:
#606060
var(--edge-side)
var(--edge-bottom)
var(--edge-side);
box-shadow:none;
}

.stylelab .notice-line {
position:relative;
display:grid;
grid-template-columns:72px 96px minmax(0,1fr) 48px;
align-items:center;
gap:7px;
min-height:30px;
padding:0 8px;
border-bottom:1px solid #050505;
background:#141414;
font-size:12px;
line-height:1.25;
color:#dcdcdc;
overflow:hidden;
}

.stylelab .notice-line:last-child {
border-bottom:none;
}

.stylelab .notice-line > * {
position:relative;
z-index:2;
}

.stylelab .notice-line:hover {
background:#1c1c1c;
color:#ffffff;
}

.stylelab .notice-line.is-alert {
background:
repeating-linear-gradient(
45deg,
var(--wip-yellow) 0 9px,
var(--wip-yellow) 9px 10px,
var(--wip-black) 10px 19px,
var(--wip-black) 19px 20px
);
}

.stylelab .notice-line.is-alert::before {
content:"";
position:absolute;
inset:0;
z-index:1;
pointer-events:none;
background:rgba(0,0,0,0.42);
}

.stylelab .notice-line.is-alert:hover::before {
background:rgba(0,0,0,0.34);
}

.stylelab .notice-line.is-notice {
background:#141414;
}

.stylelab .notice-line.is-notice:hover {
background:#1c1c1c;
}

.stylelab .notice-badge {
display:inline-flex;
align-items:center;
justify-content:center;
height:20px;
padding:0 7px;
border:1px solid #444444;
background:#0b0b0b;
color:#d8d8d8;
font-size:10px;
font-weight:700;
line-height:1;
text-shadow:1px 1px 0 #000;
}

.stylelab .notice-line.is-alert .notice-badge,
.stylelab .notice-line.is-notice .notice-badge {
border-color:#505050;
background:#101010;
color:#eeeeee;
}

.stylelab .notice-date {
color:#9d9d9d;
white-space:nowrap;
font-size:10px;
font-family:Consolas, Monaco, monospace !important;
}

.stylelab .notice-text {
min-width:0;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
color:#e0e0e0;
font-size:12px;
font-weight:700;
}

.stylelab .notice-line.is-alert .notice-badge,
.stylelab .notice-line.is-alert .notice-date,
.stylelab .notice-line.is-alert .notice-text,
.stylelab .notice-line.is-alert .notice-action {
text-shadow:
-1px 0 0 #000,
1px 0 0 #000,
0 -1px 0 #000,
0 1px 0 #000,
-1px -1px 0 #000,
1px -1px 0 #000,
-1px 1px 0 #000,
1px 1px 0 #000;
}

.stylelab .notice-line:hover .notice-text {
color:#ffffff;
}

.stylelab .notice-action {
justify-self:end;
display:inline-flex;
align-items:center;
justify-content:center;
height:20px;
min-width:38px;
padding:0 5px;
border:1px solid #3a3a3a;
background:#0b0b0b;
color:#c8c8c8;
font-size:10px;
font-weight:700;
white-space:nowrap;
line-height:1;
}

.stylelab .notice-line:hover .notice-action {
border-color:#606060;
background:#181818;
color:#ffffff;
}

/* -----------------------------------------
3. Top logo
Site signboard. Placed before category navigation and content.
----------------------------------------- */

.stylelab .lab-logo {
width:100%;
height:auto;
margin:0 0 var(--space-block);
padding:10px 0 8px;
text-align:center;
line-height:0;
background:#0b0b0b;
}

.stylelab .lab-logo a,
.stylelab .lab-logo .mw-file-description {
display:inline-block;
line-height:0;
}

.stylelab .lab-logo img,
.stylelab .lab-logo .mw-file-element {
width:760px;
max-width:90%;
height:auto;
filter:
grayscale(1)
contrast(1.04)
brightness(1.02);
}

/* -----------------------------------------
4. Category navigation bridge
----------------------------------------- */

/*
The actual category navigation is now generated by CategoryNav.js
and styled by MainPage.css as SVG.

Why this bridge exists:
- The old full test body is still wrapped in .stylelab.
- MainPage.css expects a .main-portal wrapper.
- If .main-portal keeps its own padding/background inside .stylelab, the category nav gets a double frame and the ratio feels different from the original body.

So, inside .stylelab, .main-portal is treated as a transparent mount wrapper only.
The SVG nav itself remains owned by MainPage.css.
*/

.stylelab .main-portal {
width:100%;
margin:0;
padding:0;
background:transparent;
font-size:11px;
line-height:1.5;
}

.stylelab .main-portal [data-component="category-nav"] {
width:100%;
margin:0 0 var(--space-block);
padding:0;
}

/* -----------------------------------------
5. Main console
Type: SCREEN DEVICE
frame > titlebar > body > screen panels
----------------------------------------- */

.stylelab .console {
width:100%;
margin:0 0 var(--space-block);
padding:0;
}

.stylelab .console-body {
padding:var(--space-inner);
background:var(--surface-frame);
}

.stylelab .console-grid {
display:grid;
grid-template-columns:minmax(0,1fr) 260px;
gap:var(--space-inner);
align-items:stretch;
}

.stylelab .main-screen,
.stylelab .side-screen {
position:relative;
min-width:0;
height:100%;
overflow:hidden;
border:1px solid var(--edge-soft);
background:var(--surface-screen);
box-shadow:
inset 0 0 0 1px rgba(255,255,255,0.018),
inset 0 0 18px rgba(0,0,0,0.70);
}

.stylelab .main-screen::before,
.stylelab .side-screen::before {
content:"";
position:absolute;
inset:0;
z-index:6;
pointer-events:none;
background:
radial-gradient(
ellipse at 50% 42%,
rgba(255,255,255,0.030) 0%,
transparent 42%
),
linear-gradient(
to bottom,
rgba(255,255,255,0.030) 0%,
transparent 24%,
rgba(0,0,0,0.16) 100%
);
}

.stylelab .main-screen::after,
.stylelab .side-screen::after {
content:"";
position:absolute;
inset:-40px 0;
z-index:7;
pointer-events:none;
opacity:0.13;
background:
repeating-linear-gradient(
to bottom,
rgba(255,255,255,0.080) 0px,
rgba(255,255,255,0.080) 1px,
transparent 2px,
transparent 5px
);
mix-blend-mode:screen;
}

.stylelab .main-screen > *,
.stylelab .side-screen > * {
position:relative;
z-index:3;
}

.stylelab .main-screen {
min-height:392px;
padding:var(--pad-panel);
display:flex;
flex-direction:column;
justify-content:flex-start;
}

.stylelab .side-screen {
padding:var(--pad-panel);
display:flex;
flex-direction:column;
}

/* -----------------------------------------
6. Image feed crossfade + alternating drift
Current image fades down, next layer becomes visible.
Image drift alternates: left-down / right-down.
----------------------------------------- */

.stylelab .image-feed {
position:relative;
width:100%;
height:240px;
min-height:240px;
overflow:hidden;
border:1px solid var(--edge-soft);
background:#030303;
isolation:isolate;
}

.stylelab .feed-layer {
position:absolute;
inset:-12px;
z-index:1;
opacity:0;
background-size:cover;
background-position:center center;
background-repeat:no-repeat;
filter:
brightness(0.78)
contrast(1.12)
saturate(0.78)
grayscale(0.16);
transform:translate(0,0) scale(1.06);
transform-origin:center center;
will-change:opacity, transform;
animation-duration:24s;
animation-timing-function:linear;
animation-iteration-count:infinite;
}

.stylelab .feed-bg-001 {
background-image:url('/index.php?title=특수:Redirect/file/Bg-Feed-001.png');
}

.stylelab .feed-bg-002 {
background-image:url('/index.php?title=특수:Redirect/file/Bg-Feed-002.png');
}

.stylelab .feed-bg-003 {
background-image:url('/index.php?title=특수:Redirect/file/Bg-Feed-003.png');
}

.stylelab .feed-bg-004 {
background-image:url('/index.php?title=특수:Redirect/file/Bg-Feed-004.png');
}

.stylelab .feed-layer-1 {
animation-name:image-feed-drift-left;
animation-delay:0s;
}

.stylelab .feed-layer-2 {
animation-name:image-feed-drift-right;
animation-delay:6s;
}

.stylelab .feed-layer-3 {
animation-name:image-feed-drift-left;
animation-delay:12s;
}

.stylelab .feed-layer-4 {
animation-name:image-feed-drift-right;
animation-delay:18s;
}

@keyframes image-feed-drift-left {
0% {
opacity:0;
transform:translate(0,0) scale(1.06);
}
4.166% {
opacity:1;
transform:translate(0,0) scale(1.06);
}
25% {
opacity:1;
transform:translate(-22px,14px) scale(1.075);
}
29.166% {
opacity:0;
transform:translate(-26px,16px) scale(1.078);
}
100% {
opacity:0;
transform:translate(0,0) scale(1.06);
}
}

@keyframes image-feed-drift-right {
0% {
opacity:0;
transform:translate(0,0) scale(1.06);
}
4.166% {
opacity:1;
transform:translate(0,0) scale(1.06);
}
25% {
opacity:1;
transform:translate(22px,14px) scale(1.075);
}
29.166% {
opacity:0;
transform:translate(26px,16px) scale(1.078);
}
100% {
opacity:0;
transform:translate(0,0) scale(1.06);
}
}

.stylelab .image-feed::before {
content:"";
position:absolute;
inset:0;
z-index:5;
pointer-events:none;
background:
linear-gradient(
to bottom,
rgba(0,0,0,0.18) 0%,
transparent 22%,
transparent 74%,
rgba(0,0,0,0.30) 100%
),
linear-gradient(
to right,
rgba(0,0,0,0.22) 0%,
transparent 10%,
transparent 90%,
rgba(0,0,0,0.22) 100%
);
}

.stylelab .image-feed::after {
content:"";
position:absolute;
inset:-40px 0;
z-index:6;
pointer-events:none;
opacity:0.20;
background:
repeating-linear-gradient(
to bottom,
rgba(255,255,255,0.090) 0px,
rgba(255,255,255,0.090) 1px,
transparent 2px,
transparent 5px
);
mix-blend-mode:screen;
}

.stylelab .feed-caption {
position:absolute;
left:0;
right:0;
bottom:0;
z-index:8;
height:22px;
padding:0 7px;
display:flex;
align-items:center;
justify-content:space-between;
gap:8px;
border-top:1px solid rgba(255,255,255,0.09);
background:rgba(5,5,5,0.86);
color:#cfcfcf;
font-size:10px;
line-height:22px;
text-shadow:1px 1px 0 #000;
}

.stylelab .feed-caption span:first-child {
min-width:0;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

.stylelab .feed-caption span:last-child {
flex:0 0 auto;
color:var(--text-dim);
}

/* -----------------------------------------
7. Statement plate below image feed
----------------------------------------- */

.stylelab .statement-plate {
margin:var(--space-inner) 0 0;
padding:13px 18px 12px;
border:1px solid var(--edge-soft);
background:#080808;
}

.stylelab .statement-plate h2 {
margin:0 0 10px !important;
padding:0 0 8px !important;
border-bottom:1px solid var(--edge-soft) !important;
color:#f4f4f4 !important;
font-size:20px !important;
line-height:1.25 !important;
text-align:center !important;
text-shadow:
1px 1px 0 #000,
0 0 4px rgba(255,255,255,0.10) !important;
}

.stylelab .statement-plate p {
max-width:820px;
margin:0 auto 9px;
color:#d8d8d8;
font-size:12px;
line-height:1.68;
text-align:center;
text-shadow:1px 1px 0 #000;
}

.stylelab .statement-plate p:last-child {
margin-bottom:0;
}

/* -----------------------------------------
8. Screen guestbook
Top-right body content module.
Dummy only. Final interactive function later.
----------------------------------------- */

.stylelab .screen-title {
height:var(--screen-title-h);
min-height:var(--screen-title-h);
margin:0 0 var(--space-inner);
padding:0 7px;
display:flex;
align-items:center;
justify-content:space-between;
gap:6px;
border:1px solid var(--edge-soft);
background:#151515;
color:#f0f0f0;
font-size:10px;
font-weight:700;
line-height:1;
text-shadow:1px 1px 0 #000;
}

.stylelab .screen-title span:last-child {
color:var(--text-dim);
font-size:9px;
}

.stylelab .guestbook-device {
flex:1 1 auto;
min-height:0;
display:flex;
flex-direction:column;
gap:var(--space-inner);
}

.stylelab .guestbook-messages {
flex:1 1 auto;
min-height:0;
border-top:1px solid var(--edge-soft);
border-bottom:1px solid var(--edge-soft);
overflow:hidden;
}

.stylelab .guestbook-message {
padding:6px 2px;
border-bottom:1px solid var(--edge-soft);
}

.stylelab .guestbook-message:last-child {
border-bottom:none;
}

.stylelab .guestbook-message:hover {
background:#111111;
}

.stylelab .guestbook-message-head {
display:flex;
align-items:center;
justify-content:space-between;
gap:6px;
margin-bottom:3px;
font-size:9px;
line-height:1.2;
}

.stylelab .guestbook-name {
color:#eeeeee;
font-weight:700;
white-space:nowrap;
}

.stylelab .guestbook-time {
color:var(--text-dim);
white-space:nowrap;
}

.stylelab .guestbook-text {
color:var(--text-soft);
font-size:10px;
line-height:1.45;
word-break:keep-all;
}

.stylelab .guestbook-form {
display:grid;
grid-template-columns:minmax(0,1fr) 48px;
gap:var(--space-tight);
}

.stylelab .guestbook-input {
height:24px;
padding:0 7px;
display:flex;
align-items:center;
border:1px solid var(--edge-soft);
background:#070707;
color:var(--text-faint);
font-size:10px;
line-height:1;
overflow:hidden;
white-space:nowrap;
text-overflow:ellipsis;
}

.stylelab .guestbook-input:hover {
background:#0c0c0c;
color:#8f8f8f;
}

.stylelab .guestbook-submit {
height:24px;
display:flex;
align-items:center;
justify-content:center;
border:1px solid var(--edge-soft);
background:#161616;
color:var(--text-soft);
font-size:9px;
font-weight:700;
line-height:1;
text-shadow:1px 1px 0 #000;
}

.stylelab .guestbook-submit:hover {
background:#222222;
color:#ffffff;
}

/* -----------------------------------------
9. Ticker
Type: RECORD STRIP
Not a screen device.
----------------------------------------- */

.stylelab .ticker {
height:var(--ticker-h);
margin:0 0 var(--space-inner);
padding:0 var(--pad-panel);
color:#bdbdbd;
background:#171717;
font-size:10px;
line-height:var(--ticker-h);
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
text-shadow:1px 1px 0 #000;
}

/* -----------------------------------------
10. Module grid
----------------------------------------- */

.stylelab .module-grid {
display:grid;
grid-template-columns:minmax(0,1fr) minmax(0,1fr) 280px;
gap:var(--space-inner);
align-items:stretch;
}

.stylelab .panel,
.stylelab .instrument-panel {
min-width:0;
height:100%;
display:flex;
flex-direction:column;
}

.stylelab .panel-body,
.stylelab .instrument-body {
flex:1 1 auto;
min-height:0;
padding:var(--pad-panel);
background:var(--surface-well);
}

/* -----------------------------------------
11. Record modules
No scanlines. No screen treatment.
----------------------------------------- */

.stylelab .record-list {
margin:0 !important;
padding:0 !important;
list-style:none !important;
}

.stylelab .record-list li {
display:grid;
grid-template-columns:minmax(0,1fr) auto;
align-items:center;
gap:var(--space-block);
height:var(--row-h);
min-height:var(--row-h);
margin:0;
padding:0 2px;
border-bottom:1px solid var(--edge-soft);
color:var(--text-soft);
line-height:1.25;
}

.stylelab .record-list li:first-child {
border-top:1px solid var(--edge-soft);
}

.stylelab .record-list li:hover {
background:#151515;
color:#ffffff;
}

.stylelab .record-list li span:first-child {
min-width:0;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

.stylelab .meta {
color:var(--text-dim);
white-space:nowrap;
font-size:9px;
line-height:1;
}

.stylelab .record-list li:hover .meta {
color:#c0c0c0;
}

/* -----------------------------------------
12. Status tags
Small functional color only.
No structural color use.
----------------------------------------- */

.stylelab .status-tag {
display:inline-flex;
align-items:center;
justify-content:center;
min-width:34px;
height:16px;
padding:0 4px;
border:1px solid #303030;
background:#161616;
color:var(--text-soft);
font-size:9px;
text-align:center;
line-height:1;
}

.stylelab .status-tag.is-progress {
border-color:#6d5b2c;
background:#19170f;
}

.stylelab .status-tag.is-review {
border-color:#36515d;
background:#10171a;
}

.stylelab .status-tag.is-wait {
border-color:#484848;
background:#151515;
}

.stylelab .status-tag.is-done {
border-color:#3d5c38;
background:#111811;
}

.stylelab .status-tag.is-alert {
border-color:#6a3933;
background:#1b1110;
}

/* -----------------------------------------
13. Team work module
Use WIP construction motif only where the making team is foregrounded.
Only motif: left vertical construction rail.
----------------------------------------- */

.stylelab .team-panel .panel-body {
position:relative;
padding-left:15px;
}

.stylelab .team-panel .panel-body::before {
content:"";
position:absolute;
left:6px;
top:8px;
bottom:8px;
width:4px;
pointer-events:none;
background:
repeating-linear-gradient(
45deg,
var(--wip-yellow) 0 4px,
var(--wip-yellow) 4px 5px,
var(--wip-black) 5px 9px,
var(--wip-black) 9px 10px
);
opacity:0.95;
}

.stylelab .team-panel .titlebar > span:last-child {
color:#c6c6c6;
}

/* -----------------------------------------
14. Status instrument
Type: STATUS INSTRUMENT
No scanlines. Gauge cells may have recessed finish.
----------------------------------------- */

.stylelab .instrument-grid {
display:grid;
grid-template-columns:minmax(0,1fr) minmax(0,1fr);
gap:var(--space-inner);
margin:0 0 var(--space-inner);
}

.stylelab .gauge {
height:var(--gauge-h);
min-width:0;
padding:6px;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
border:1px solid var(--edge-soft);
background:var(--surface-inset);
text-align:center;
box-shadow:
inset 0 1px 0 rgba(255,255,255,0.025),
inset 0 -1px 0 rgba(0,0,0,0.55);
}

.stylelab .gauge:hover {
background:#0d0d0d;
}

.stylelab .gauge b {
display:block;
color:#f0f0f0;
font-family:Consolas, Monaco, monospace !important;
font-size:18px;
line-height:1;
text-shadow:1px 1px 0 #000;
}

.stylelab .gauge span {
display:block;
margin-top:5px;
color:var(--text-dim);
font-size:9px;
line-height:1;
}

.stylelab .instrument-lines {
border-top:1px solid var(--edge-soft);
border-bottom:1px solid var(--edge-soft);
}

.stylelab .instrument-line {
display:grid;
grid-template-columns:82px minmax(0,1fr);
align-items:center;
gap:6px;
height:22px;
min-height:22px;
padding:0 2px;
border-bottom:1px solid var(--edge-soft);
font-size:10px;
line-height:1.2;
}

.stylelab .instrument-line:last-child {
border-bottom:none;
}

.stylelab .instrument-line:hover {
background:#151515;
}

.stylelab .instrument-label {
color:var(--text-dim);
white-space:nowrap;
}

.stylelab .instrument-value {
color:var(--text-soft);
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

.stylelab .instrument-line:hover .instrument-value {
color:#ffffff;
}

/* -----------------------------------------
15. Footer split
Left: style rule check
Right: policy / license / credits / socials
----------------------------------------- */

.stylelab .footer-grid {
display:grid;
grid-template-columns:minmax(0,1fr) 300px;
gap:var(--space-inner);
margin-top:var(--space-inner);
align-items:stretch;
}

.stylelab .footer-grid .panel {
height:100%;
}

.stylelab .manual-panel {
margin-top:0;
}

.stylelab .sample-row {
display:grid;
grid-template-columns:150px minmax(0,1fr);
align-items:center;
gap:var(--space-inner);
min-height:24px;
padding:4px 0;
border-bottom:1px solid var(--edge-soft);
}

.stylelab .sample-row:first-child {
border-top:1px solid var(--edge-soft);
}

.stylelab .sample-row:hover {
background:#151515;
}

.stylelab .sample-label {
color:var(--text-dim);
font-size:10px;
line-height:1.25;
}

.stylelab .sample-value {
color:var(--text-soft);
font-size:10px;
line-height:1.35;
}

.stylelab .sample-row:hover .sample-value {
color:#ffffff;
}

.stylelab .policy-list {
border-top:1px solid var(--edge-soft);
border-bottom:1px solid var(--edge-soft);
}

.stylelab .policy-row {
display:grid;
grid-template-columns:minmax(0,1fr) 18px;
align-items:center;
gap:var(--space-inner);
height:24px;
padding:0 2px;
border-bottom:1px solid var(--edge-soft);
font-size:10px;
line-height:1.2;
}

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

.stylelab .policy-row:hover {
background:#151515;
}

.stylelab .policy-row a {
display:block;
min-width:0;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
color:var(--text-soft) !important;
}

.stylelab .policy-row:hover a {
color:#ffffff !important;
text-decoration:none !important;
}

.stylelab .policy-mark {
color:var(--text-dim);
font-size:14px;
line-height:1;
white-space:nowrap;
text-align:right;
}

.stylelab .policy-row:hover .policy-mark {
color:#ffffff;
}

.stylelab .social-strip {
display:grid;
grid-template-columns:repeat(4,1fr);
gap:var(--space-tight);
margin-top:var(--space-inner);
}

.stylelab .social-icon {
display:block;
height:26px;
min-width:0;
}

.stylelab .social-icon a {
display:flex !important;
align-items:center !important;
justify-content:center !important;
width:100% !important;
height:26px !important;
border:1px solid var(--edge-soft) !important;
background:#111111 !important;
color:var(--text-soft) !important;
font-size:10px !important;
font-weight:700 !important;
line-height:1 !important;
text-decoration:none !important;
text-shadow:1px 1px 0 #000 !important;
box-sizing:border-box !important;
}

.stylelab .social-icon a:hover {
background:#1c1c1c !important;
color:#ffffff !important;
border-color:#3a3a3a !important;
text-decoration:none !important;
}

/* -----------------------------------------
16. Responsive
----------------------------------------- */

@media screen and (max-width:1380px) {
.stylelab .module-grid {
grid-template-columns:minmax(0,1fr) minmax(0,1fr);
}

.stylelab .footer-grid {
grid-template-columns:minmax(0,1fr);
}
}

@media screen and (max-width:1180px) {
.stylelab .console-grid {
grid-template-columns:minmax(0,1fr);
}

.stylelab .module-grid {
grid-template-columns:minmax(0,1fr);
}

.stylelab .notice-line {
grid-template-columns:62px minmax(0,1fr);
min-height:32px;
}

.stylelab .notice-date,
.stylelab .notice-action {
display:none;
}
}