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

편집 요약 없음
편집 요약 없음
 
(같은 사용자의 중간 판 49개는 보이지 않습니다)
1번째 줄: 1번째 줄:
/* =========================================
/* =========================================
  TEST REMAKE v2.1
COASTLINE: BLACK ICE
  Contrast Softener
MediaWiki:Test.css
  기존 v2 아래에 추가
Sandbox main-page integration test
  ========================================= */
Existing full portal body + SVG category nav from CategoryNav.js
========================================= */


/* 전체 톤: 순흑/순백을 줄이고 회색 폭을 넓힘 */
/*
body.page-대문 {
Scope:
    background: #060606 !important;
- This file is globally imported while the test page is still active.
    color: #c9c9c9 !important;
- 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 {
body.page-대문 .WW-bg {
content:"";
    background:
position:absolute;
        repeating-linear-gradient(
inset:0;
            0deg,
z-index:5;
            #070707 0px,
pointer-events:none;
            #070707 15px,
background:
            #0a0a0a 16px
linear-gradient(
        ),
to bottom,
        #060606 !important;
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%
);
}
}


body.page-대문 .WW-bg::before {
.stylelab .image-feed::after {
    opacity: 0.28 !important;
content:"";
    background-image:
position:absolute;
        linear-gradient(rgba(150,150,150,0.060) 1px, transparent 1px),
inset:-40px 0;
        linear-gradient(90deg, rgba(150,150,150,0.060) 1px, transparent 1px),
z-index:6;
        repeating-linear-gradient(
pointer-events:none;
            135deg,
opacity:0.20;
            rgba(255,255,255,0.010) 0px,
background:
            rgba(255,255,255,0.010) 1px,
repeating-linear-gradient(
            transparent 1px,
to bottom,
            transparent 6px
rgba(255,255,255,0.090) 0px,
        ) !important;
rgba(255,255,255,0.090) 1px,
transparent 2px,
transparent 5px
);
mix-blend-mode:screen;
}
}


body.page-대문 .WW-bg::after {
.stylelab .feed-caption {
    opacity: 0.34 !important;
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 {
body.page-대문 #clbi-top-nav {
min-width:0;
    border-top-color: #565656 !important;
overflow:hidden;
    border-left-color: #4a4a4a !important;
text-overflow:ellipsis;
    border-right-color: #181818 !important;
white-space:nowrap;
    border-bottom-color: #111111 !important;
    background:
        linear-gradient(to bottom, #282828 0%, #1a1a1a 48%, #101010 100%) !important;
    box-shadow:
        inset 1px 1px 0 rgba(255,255,255,0.10),
        inset -1px -1px 0 rgba(0,0,0,0.58),
        1px 1px 0 #050505 !important;
}
}


body.page-대문 .clbi-top-nav-item {
.stylelab .feed-caption span:last-child {
    border-left-color: #303030 !important;
flex:0 0 auto;
    border-right-color: #171717 !important;
color:var(--text-dim);
    background:
        linear-gradient(to bottom, #282828 0%, #1b1b1b 50%, #111111 100%) !important;
    box-shadow:
        inset 1px 1px 0 rgba(255,255,255,0.08),
        inset -1px -1px 0 rgba(0,0,0,0.55) !important;
    color: #d0d0d0 !important;
    text-shadow: 1px 1px 0 #050505 !important;
}
}


body.page-대문 .clbi-top-nav-item:hover,
/* -----------------------------------------
body.page-대문 .clbi-top-nav-item.clbi-tnav-active {
7. Statement plate below image feed
    background:
----------------------------------------- */
        linear-gradient(to bottom, #333333 0%, #232323 50%, #151515 100%) !important;
 
    color: #ededed !important;
.stylelab .statement-plate {
margin:var(--space-inner) 0 0;
padding:13px 18px 12px;
border:1px solid var(--edge-soft);
background:#080808;
}
}


body.page-대문 #clbi-top-search-input {
.stylelab .statement-plate h2 {
    border-top-color: #171717 !important;
margin:0 0 10px !important;
    border-left-color: #171717 !important;
padding:0 0 8px !important;
    border-right-color: #3f3f3f !important;
border-bottom:1px solid var(--edge-soft) !important;
    border-bottom-color: #3a3a3a !important;
color:#f4f4f4 !important;
    background: #0e0e0e !important;
font-size:20px !important;
    color: #cccccc !important;
line-height:1.25 !important;
    box-shadow:
text-align:center !important;
        inset 1px 1px 3px rgba(0,0,0,0.70),
text-shadow:
        inset -1px -1px 0 rgba(255,255,255,0.045) !important;
1px 1px 0 #000,
0 0 4px rgba(255,255,255,0.10) !important;
}
}


body.page-대문 #clbi-sub-worldbuilding {
.stylelab .statement-plate p {
    background: #111111 !important;
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;
}
}


body.page-대문 .clbi-tnav-sub-item {
.stylelab .statement-plate p:last-child {
    border-right-color: #191919 !important;
margin-bottom:0;
    background:
        linear-gradient(to bottom, #262626 0%, #181818 52%, #101010 100%) !important;
    box-shadow:
        inset 1px 1px 0 rgba(255,255,255,0.07),
        inset -1px -1px 0 rgba(0,0,0,0.52) !important;
    color: #d2d2d2 !important;
}
}


/* 좌우 사이드바 패널: 날카로움 유지, 대비만 완화 */
/* -----------------------------------------
body.page-대문 .clbi-left-box,
8. Screen guestbook
body.page-대문 .clbi-right-box {
Top-right body content module.
    border-top-color: #575757 !important;
Dummy only. Final interactive function later.
    border-left-color: #4b4b4b !important;
----------------------------------------- */
    border-right-color: #191919 !important;
 
    border-bottom-color: #111111 !important;
.stylelab .screen-title {
    background:
height:var(--screen-title-h);
        repeating-linear-gradient(
min-height:var(--screen-title-h);
            135deg,
margin:0 0 var(--space-inner);
            rgba(255,255,255,0.014) 0px,
padding:0 7px;
            rgba(255,255,255,0.014) 1px,
display:flex;
            transparent 1px,
align-items:center;
            transparent 5px
justify-content:space-between;
        ),
gap:6px;
        linear-gradient(to bottom, #1a1a1a 0%, #121212 100%) !important;
border:1px solid var(--edge-soft);
    box-shadow:
background:#151515;
        inset 1px 1px 0 rgba(255,255,255,0.08),
color:#f0f0f0;
        inset -1px -1px 0 rgba(0,0,0,0.55),
font-size:10px;
        1px 1px 0 #050505 !important;
font-weight:700;
line-height:1;
text-shadow:1px 1px 0 #000;
}
}


body.page-대문 .clbi-left-title,
.stylelab .screen-title span:last-child {
body.page-대문 .clbi-right-title {
color:var(--text-dim);
    border-bottom-color: #171717 !important;
font-size:9px;
    background:
        linear-gradient(to bottom, #2b2b2b 0%, #1c1c1c 55%, #111111 100%) !important;
    box-shadow:
        inset 1px 1px 0 rgba(255,255,255,0.09),
        inset 0 -1px 0 rgba(0,0,0,0.55) !important;
    color: #d8d8d8 !important;
}
}


body.page-대문 .clbi-left-content,
.stylelab .guestbook-device {
body.page-대문 .clbi-right-content {
flex:1 1 auto;
    background: #101010 !important;
min-height:0;
    color: #c7c7c7 !important;
display:flex;
flex-direction:column;
gap:var(--space-inner);
}
}


body.page-대문 .clbi-recent-item {
.stylelab .guestbook-messages {
    border-top-color: #262626 !important;
flex:1 1 auto;
    border-left-color: #262626 !important;
min-height:0;
    border-right-color: #121212 !important;
border-top:1px solid var(--edge-soft);
    border-bottom-color: #121212 !important;
border-bottom:1px solid var(--edge-soft);
    background: #171717 !important;
overflow:hidden;
}
}


body.page-대문 .clbi-recent-title {
.stylelab .guestbook-message {
    color: #cfcfcf !important;
padding:6px 2px;
border-bottom:1px solid var(--edge-soft);
}
}


body.page-대문 .clbi-recent-title:hover {
.stylelab .guestbook-message:last-child {
    color: #eeeeee !important;
border-bottom:none;
}
}


body.page-대문 .clbi-recent-time {
.stylelab .guestbook-message:hover {
    color: #777777 !important;
background:#111111;
}
}


/* 로고 배너 */
.stylelab .guestbook-message-head {
body.page-대문 #clbi-main-logo {
display:flex;
    border-top-color: #575757 !important;
align-items:center;
    border-left-color: #4b4b4b !important;
justify-content:space-between;
    border-right-color: #191919 !important;
gap:6px;
    border-bottom-color: #111111 !important;
margin-bottom:3px;
    background:
font-size:9px;
        radial-gradient(ellipse at 50% 20%, rgba(255,255,255,0.055), transparent 45%),
line-height:1.2;
        linear-gradient(to bottom, #1b1b1b 0%, #0d0d0d 100%) !important;
    box-shadow:
        inset 1px 1px 0 rgba(255,255,255,0.08),
        inset -1px -1px 0 rgba(0,0,0,0.58),
        1px 1px 0 #050505 !important;
}
}


body.page-대문 #clbi-main-logo img {
.stylelab .guestbook-name {
    filter:
color:#eeeeee;
        grayscale(1)
font-weight:700;
        contrast(1.05)
white-space:nowrap;
        brightness(0.96)
        drop-shadow(1px 1px 0 #080808) !important;
}
}


/* 중앙 본문 컨테이너 */
.stylelab .guestbook-time {
body.page-대문 .Liberty .content-wrapper .liberty-content .liberty-content-main,
color:var(--text-dim);
body.page-대문 .liberty-content-main {
white-space:nowrap;
    border-top-color: #575757 !important;
    border-left-color: #4b4b4b !important;
    border-right-color: #191919 !important;
    border-bottom-color: #111111 !important;
    background:
        repeating-linear-gradient(
            0deg,
            #141414 0px,
            #141414 18px,
            #171717 19px
        ) !important;
    color: #d2d2d2 !important;
    box-shadow:
        inset 1px 1px 0 rgba(255,255,255,0.075),
        inset -1px -1px 0 rgba(0,0,0,0.56),
        1px 1px 0 #050505 !important;
}
}


/* 히어로 프레임 */
.stylelab .guestbook-text {
.clbi-y2k-hero {
color:var(--text-soft);
    border-top-color: #575757;
font-size:10px;
    border-left-color: #4b4b4b;
line-height:1.45;
    border-right-color: #191919;
word-break:keep-all;
    border-bottom-color: #111111;
    background:
        repeating-linear-gradient(
            135deg,
            rgba(255,255,255,0.015) 0px,
            rgba(255,255,255,0.015) 1px,
            transparent 1px,
            transparent 5px
        ),
        #171717;
    box-shadow:
        inset 1px 1px 0 rgba(255,255,255,0.08),
        inset -1px -1px 0 rgba(0,0,0,0.58),
        1px 1px 0 #050505;
}
}


.clbi-y2k-hero-top {
.stylelab .guestbook-form {
    border-top-color: #4f4f4f;
display:grid;
    border-left-color: #404040;
grid-template-columns:minmax(0,1fr) 48px;
    border-right-color: #171717;
gap:var(--space-tight);
    border-bottom-color: #111111;
    background:
        linear-gradient(to bottom, #292929 0%, #1b1b1b 58%, #101010 100%);
    color: #d5d5d5;
}
}


.clbi-y2k-feature {
.stylelab .guestbook-input {
    border-top-color: #171717;
height:24px;
    border-left-color: #171717;
padding:0 7px;
    border-right-color: #3a3a3a;
display:flex;
    border-bottom-color: #414141;
align-items:center;
    background:
border:1px solid var(--edge-soft);
        linear-gradient(to bottom, rgba(255,255,255,0.025), transparent 26%),
background:#070707;
        repeating-linear-gradient(
color:var(--text-faint);
            to bottom,
font-size:10px;
            rgba(255,255,255,0.024) 0px,
line-height:1;
            rgba(255,255,255,0.024) 1px,
overflow:hidden;
            transparent 1px,
white-space:nowrap;
            transparent 4px
text-overflow:ellipsis;
        ),
        #101010;
    box-shadow:
        inset 1px 1px 5px rgba(0,0,0,0.70),
        inset -1px -1px 0 rgba(255,255,255,0.045);
}
}


.clbi-y2k-feature h2 {
.stylelab .guestbook-input:hover {
    color: #e4e4e4 !important;
background:#0c0c0c;
    border-bottom-color: #303030 !important;
color:#8f8f8f;
    text-shadow:
        1px 1px 0 #050505,
        0 0 4px rgba(255,255,255,0.14);
}
}


.clbi-y2k-feature p {
.stylelab .guestbook-submit {
    color: #c8c8c8;
height:24px;
    text-shadow: 1px 1px 0 #060606;
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;
}
}


.clbi-y2k-sideplate {
.stylelab .guestbook-submit:hover {
    border-top-color: #171717;
background:#222222;
    border-left-color: #171717;
color:#ffffff;
    border-right-color: #393939;
    border-bottom-color: #414141;
    background: #101010;
    box-shadow:
        inset 1px 1px 4px rgba(0,0,0,0.68),
        inset -1px -1px 0 rgba(255,255,255,0.04);
}
}


.clbi-y2k-plate-title {
/* -----------------------------------------
    border-top-color: #505050;
9. Ticker
    border-left-color: #434343;
Type: RECORD STRIP
    border-right-color: #171717;
Not a screen device.
    border-bottom-color: #111111;
----------------------------------------- */
    background:
 
        linear-gradient(to bottom, #292929 0%, #1a1a1a 55%, #101010 100%);
.stylelab .ticker {
    color: #dcdcdc;
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;
}
}


/* 내부 테이블 */
/* -----------------------------------------
.clbi-y2k-mini-table td {
10. Module grid
    border-color: #292929;
----------------------------------------- */
    background: #171717;
 
    color: #c4c4c4;
.stylelab .module-grid {
display:grid;
grid-template-columns:minmax(0,1fr) minmax(0,1fr) 280px;
gap:var(--space-inner);
align-items:stretch;
}
}


.clbi-y2k-mini-table td:first-child {
.stylelab .panel,
    color: #858585;
.stylelab .instrument-panel {
    background: #121212;
min-width:0;
height:100%;
display:flex;
flex-direction:column;
}
}


/* 티커와 하단 박스 */
.stylelab .panel-body,
.clbi-y2k-ticker {
.stylelab .instrument-body {
    border-top-color: #4d4d4d;
flex:1 1 auto;
    border-left-color: #414141;
min-height:0;
    border-right-color: #171717;
padding:var(--pad-panel);
    border-bottom-color: #111111;
background:var(--surface-well);
    background:
        linear-gradient(to bottom, #232323 0%, #141414 100%);
    color: #a9a9a9;
}
}


.clbi-y2k-box {
/* -----------------------------------------
    border-top-color: #575757;
11. Record modules
    border-left-color: #4b4b4b;
No scanlines. No screen treatment.
    border-right-color: #191919;
----------------------------------------- */
    border-bottom-color: #111111;
 
    background: #151515;
.stylelab .record-list {
    box-shadow:
margin:0 !important;
        inset 1px 1px 0 rgba(255,255,255,0.08),
padding:0 !important;
        inset -1px -1px 0 rgba(0,0,0,0.56),
list-style:none !important;
        1px 1px 0 #050505;
}
}


.clbi-y2k-box-title {
.stylelab .record-list li {
    border-bottom-color: #171717;
display:grid;
    background:
grid-template-columns:minmax(0,1fr) auto;
        linear-gradient(to bottom, #2b2b2b 0%, #1b1b1b 56%, #101010 100%);
align-items:center;
    color: #dddddd;
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;
}
}


.clbi-y2k-box-body {
.stylelab .record-list li:first-child {
    background:
border-top:1px solid var(--edge-soft);
        repeating-linear-gradient(
            135deg,
            rgba(255,255,255,0.012) 0px,
            rgba(255,255,255,0.012) 1px,
            transparent 1px,
            transparent 5px
        ),
        #101010;
}
}


.clbi-y2k-list li {
.stylelab .record-list li:hover {
    border-top-color: #272727;
background:#151515;
    border-left-color: #272727;
color:#ffffff;
    border-right-color: #121212;
    border-bottom-color: #121212;
    background: #171717;
    color: #c7c7c7;
}
}


.clbi-y2k-list a {
.stylelab .record-list li span:first-child {
    color: #d0d0d0 !important;
min-width:0;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}
}


.clbi-y2k-list a:hover {
.stylelab .meta {
    color: #eeeeee !important;
color:var(--text-dim);
white-space:nowrap;
font-size:9px;
line-height:1;
}
}


.clbi-y2k-meta {
.stylelab .record-list li:hover .meta {
    color: #7d7d7d;
color:#c0c0c0;
}
}


/* 숫자 패널 */
/* -----------------------------------------
.clbi-y2k-counter {
12. Status tags
    border-top-color: #171717;
Small functional color only.
    border-left-color: #171717;
No structural color use.
    border-right-color: #3a3a3a;
----------------------------------------- */
    border-bottom-color: #414141;
 
    background: #101010;
.stylelab .status-tag {
    box-shadow: inset 1px 1px 4px rgba(0,0,0,0.68);
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;
}
}


.clbi-y2k-counter b {
.stylelab .status-tag.is-progress {
    color: #dedede;
border-color:#6d5b2c;
background:#19170f;
}
}


.clbi-y2k-counter span {
.stylelab .status-tag.is-review {
    color: #858585;
border-color:#36515d;
background:#10171a;
}
}


/* 방명록 */
.stylelab .status-tag.is-wait {
.clbi-y2k-guest {
border-color:#484848;
    border-top-color: #272727;
background:#151515;
    border-left-color: #272727;
}
    border-right-color: #121212;
 
    border-bottom-color: #121212;
.stylelab .status-tag.is-done {
    background: #171717;
border-color:#3d5c38;
    color: #c3c3c3;
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;
}
}