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

(Install package: clbiwiki-mainpage-graph-in-status-square-lang-20260711 / css/MainPage.css)
(Install package: clbiwiki-portal-frame-checklist-20260721-007 / css/MainPage.css)
 
(같은 사용자의 중간 판 131개는 보이지 않습니다)
1번째 줄: 1번째 줄:
/* =========================================
/* =========================================
COASTLINE: BLACK ICE - MainPage
COASTLINE: BLACK ICE - MainPage
대문 전용 v3 스타일
로고 + 카테고리 네비 + 선언문 대문
========================================= */
========================================= */


10번째 줄: 10번째 줄:
- 사이트 공통 셸은 Layout.css가 담당한다.
- 사이트 공통 셸은 Layout.css가 담당한다.
- 카테고리 네비의 SVG 구조는 CategoryNav.js가 생성한다.
- 카테고리 네비의 SVG 구조는 CategoryNav.js가 생성한다.
- 대문에서 제거된 보조 모듈의 레거시 스타일은 파일에 두지 않는다.
- 콘솔, 그래프, STATUS, INFORMATION, PROJECTS는 대문에서 제거한다.
- 「진창」 선언문 배치는 파일이 담당하며, 폰트 선언은 Theme.css가 담당한다.
*/
*/


16번째 줄: 17번째 줄:
     --panel:#1d1d1d;
     --panel:#1d1d1d;
     --well:#080808;
     --well:#080808;
    --item:#101010;
     --edge:#050505;
     --edge:#050505;
     --highlight:#555555;
     --highlight:#555555;
22번째 줄: 22번째 줄:
     --text:#e2e2e2;
     --text:#e2e2e2;
     --text-strong:#ffffff;
     --text-strong:#ffffff;
     --meta:#8a8a8a;
     --block-gap:2px;
    --muted:#626262;
    --gap:2px;
    --block-gap:8px;
     --frame:8px;
     --frame:8px;
    --manifesto-divider-gap:8px;
     width:100%;
     width:100%;
     min-height:100%;
     min-height:100%;
40번째 줄: 38번째 줄:
}
}


/* 대문 본문 우물을 세로 플렉스 컨테이너로 연결한다.
  내용이 짧을 때는 포털이 남는 높이를 채우고, 길 때는 기존 본문 스크롤을 사용한다. */
body.action-view.clbi-main-page .liberty-content-main .mw-parser-output {
body.action-view.clbi-main-page .liberty-content-main .mw-parser-output {
     display:flex !important;
     display:flex !important;
68번째 줄: 64번째 줄:
     color:var(--text-strong) !important;
     color:var(--text-strong) !important;
     text-decoration:none !important;
     text-decoration:none !important;
}
/* 과거 대문 구조가 캐시에 남아 있어도 화면에는 나타나지 않게 한다. */
.main-portal > .console,
.main-portal > .portal-bottom-row,
.main-portal > [data-archive-graph] {
    display:none !important;
}
}


74번째 줄: 77번째 줄:
----------------------------------------- */
----------------------------------------- */


.main-portal .lab-logo,
.main-portal .lab-logo {
.main-portal .console,
.portal-category-nav {
     background:var(--panel, #1d1d1d);
     background:var(--panel, #1d1d1d);
     border:1px solid var(--edge, #050505);
     border:1px solid var(--edge, #050505);
87번째 줄: 88번째 줄:
}
}


.main-portal .lab-logo,
.main-portal .lab-logo {
.main-portal [data-component="category-nav"],
.main-portal .console {
     flex:0 0 auto;
     flex:0 0 auto;
     margin:0 0 var(--block-gap);
     margin:0 0 var(--block-gap);
}
.main-portal [data-component="category-nav"] {
    flex:0 0 auto;
    display:block;
    width:100%;
    margin:0;
}
}


138번째 줄: 144번째 줄:
카테고리 네비
카테고리 네비
----------------------------------------- */
----------------------------------------- */
.main-portal [data-component="category-nav"] {
    display:block;
    width:100%;
}


.portal-category-nav {
.portal-category-nav {
     position:relative;
     position:relative;
     width:100%;
     width:100%;
     height:24px;
     height:36px;
     margin:0;
     margin:0;
     padding:0;
     padding:0;
     overflow:hidden;
     overflow:hidden;
    background:var(--well, #080808);
    border:0;
    border-radius:0;
    box-shadow:none;
}
}


157번째 줄: 162번째 줄:
     width:100%;
     width:100%;
     height:100%;
     height:100%;
    overflow:visible;
}
/*
각 버튼은 SVG 안에서 독립된 사선 프레임으로 그린다.
- 외곽 1px: #050505
- 본체: #1d1d1d
- 상단/우측 inset: #555555
- 좌측/하단 inset: #101010
- 버튼 사이 배경: #080808 2px
*/
.portal-cat-edge {
    fill:#050505;
    stroke:none;
}
.portal-cat-surface {
    fill:#1d1d1d;
    stroke:none;
}
.portal-cat-inset {
    fill:none;
    stroke-width:1;
    vector-effect:non-scaling-stroke;
    shape-rendering:crispEdges;
}
}


.portal-cat-shape {
.portal-cat-inset-top,
.portal-cat-inset-right {
    stroke:#555555;
}
 
.portal-cat-inset-bottom,
.portal-cat-inset-left {
    stroke:#101010;
}
 
.portal-cat-hit {
     fill:transparent;
     fill:transparent;
     stroke:none;
     stroke:none;
     pointer-events:all;
     cursor:pointer;
}
 
.portal-cat-anchor:hover .portal-cat-surface,
.portal-cat-anchor:focus .portal-cat-surface {
    fill:#242424;
}
}


.portal-cat-anchor:hover .portal-cat-shape {
.portal-cat-anchor:active .portal-cat-surface {
     fill:rgba(255,255,255,0.035);
     fill:#101010;
}
}


.portal-cat-anchor:active .portal-cat-shape {
.portal-cat-anchor:active .portal-cat-inset-top,
     fill:rgba(0,0,0,0.18);
.portal-cat-anchor:active .portal-cat-inset-right {
     stroke:#101010;
}
 
.portal-cat-anchor:active .portal-cat-inset-bottom,
.portal-cat-anchor:active .portal-cat-inset-left {
    stroke:#555555;
}
}


187번째 줄: 239번째 줄:
}
}


.portal-cat-anchor:hover .portal-cat-label {
.portal-cat-anchor:hover .portal-cat-label,
.portal-cat-anchor:focus .portal-cat-label {
     fill:#ffffff;
     fill:#ffffff;
}
}


.portal-cat-divider {
.main-portal a,
     stroke:#050505;
.main-portal .portal-cat-surface,
    stroke-width:1;
.main-portal .portal-cat-inset,
     shape-rendering:crispEdges;
.main-portal .portal-cat-label {
     vector-effect:non-scaling-stroke;
     transition:none !important;
     pointer-events:none;
}
 
@media screen and (max-width:820px) {
     .portal-cat-label {
        font-size:11px;
     }
}
 
@media screen and (max-width:620px) {
    .main-portal {
        --frame:6px;
     }
}
}


/* -----------------------------------------
/* -----------------------------------------
메인 콘솔
대문 선언문 / 실제 픽셀 웹폰트 단일 구현
----------------------------------------- */
----------------------------------------- */


.main-portal .console {
@font-face {
    font-family:'NanumMyeongjoBold Pixel 18';
    src:url('/fonts/NanumMyeongjoBoldPixel18.woff2?v=20260713-perfect-bottom-direct-002') format('woff2');
    font-weight:400;
    font-style:normal;
    font-display:block;
}
 
.main-portal .main-manifesto {
    flex:1 0 auto;
    min-height:0;
     width:100%;
     width:100%;
     padding:0 var(--frame) var(--frame);
    margin:0;
     padding:10px 0 24px;
    display:flex;
    align-items:flex-start;
    justify-content:center;
    overflow:visible;
}
 
.main-portal .main-manifesto-inner {
    position:relative !important;
    top:0 !important;
    left:0 !important;
    width:660px !important;
    min-width:660px !important;
    max-width:660px !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    margin:0 auto !important;
    padding:0 !important;
    overflow:visible !important;
    color:#e2e2e2 !important;
    background:transparent !important;
    transform:none !important;
}
 
.main-portal .main-manifesto-inner::before,
.main-portal .main-manifesto-inner::after {
    content:none !important;
    display:none !important;
    background:none !important;
}
 
.main-portal .main-manifesto-title {
    position:static !important;
    top:auto !important;
    left:auto !important;
    width:660px !important;
    height:calc(48px + var(--manifesto-divider-gap) + 1px) !important;
    min-height:calc(48px + var(--manifesto-divider-gap) + 1px) !important;
    max-height:calc(48px + var(--manifesto-divider-gap) + 1px) !important;
    margin:0 0 var(--manifesto-divider-gap) !important;
    padding:0 0 var(--manifesto-divider-gap) !important;
    overflow:visible !important;
    clip:auto !important;
    clip-path:none !important;
    color:#e2e2e2 !important;
    -webkit-text-fill-color:#e2e2e2 !important;
    background:transparent !important;
    border:0 !important;
    /* 구분선은 ManifestoIntro가 만드는 좌우 실선 두 개만 사용한다. */
    border-bottom:0 !important;
    font-family:'NanumMyeongjoBold Pixel 18' !important;
    font-size:36px !important;
    font-weight:400 !important;
    font-style:normal !important;
    font-synthesis:none !important;
    font-kerning:none !important;
    font-variant-ligatures:none !important;
    font-feature-settings:'kern' 0, 'liga' 0 !important;
    line-height:48px !important;
    letter-spacing:0 !important;
    text-align:center !important;
    text-shadow:none !important;
    transform:none !important;
    user-select:text !important;
}
 
.main-portal .main-manifesto-copy {
    position:static !important;
    top:auto !important;
    left:auto !important;
    width:620px !important;
    min-width:620px !important;
    max-width:620px !important;
    height:auto !important;
    margin:0 auto !important;
    padding:0 !important;
    overflow:visible !important;
    color:#e2e2e2 !important;
    -webkit-text-fill-color:#e2e2e2 !important;
    background:transparent !important;
    font-family:'NanumMyeongjoBold Pixel 18' !important;
    font-size:18px !important;
    font-weight:400 !important;
    font-style:normal !important;
    font-synthesis:none !important;
    font-kerning:none !important;
    font-variant-ligatures:none !important;
    font-feature-settings:'kern' 0, 'liga' 0 !important;
    line-height:26px !important;
    letter-spacing:0 !important;
    word-break:keep-all !important;
    overflow-wrap:break-word !important;
    text-align:left !important;
    text-shadow:none !important;
    transform:none !important;
    user-select:text !important;
}
 
.main-portal .main-manifesto-copy,
.main-portal .main-manifesto-copy * {
    font-family:'NanumMyeongjoBold Pixel 18' !important;
    font-size:18px !important;
    font-weight:400 !important;
    font-style:normal !important;
    font-synthesis:none !important;
    font-kerning:none !important;
    font-variant-ligatures:none !important;
    font-feature-settings:'kern' 0, 'liga' 0 !important;
    line-height:26px !important;
    letter-spacing:0 !important;
    color:#e2e2e2 !important;
    -webkit-text-fill-color:#e2e2e2 !important;
}
 
.main-portal .main-manifesto-copy p {
    position:static !important;
    top:auto !important;
    left:auto !important;
    width:620px !important;
    height:auto !important;
    margin:0 0 10px !important;
    padding:0 !important;
    overflow:visible !important;
    clip:auto !important;
    clip-path:none !important;
    white-space:normal !important;
    transform:none !important;
    user-select:text !important;
}
 
.main-portal .main-manifesto-copy p:last-child {
    margin-bottom:0 !important;
}
 
.main-portal .main-manifesto-bitmap,
.main-portal canvas.main-manifesto-bitmap {
    display:none !important;
}
 
/*
길라잡이는 시대의 대륙 패널처럼 본문 DOM을 유지한 채 화면만 전환한다.
현재 단계에서는 왼쪽 더미 메뉴로 진입 애니메이션과 버튼 디자인만 확인한다.
*/
.main-portal .main-body-well > .main-guide-screen {
    flex:1 1 0;
    display:block;
    position:relative;
    width:100%;
    height:auto;
    min-height:0;
    margin:0;
    padding:0;
     overflow:hidden;
     overflow:hidden;
    background:transparent;
    border:0;
    box-shadow:none;
    z-index:1;
}
}


.main-portal .titlebar,
.main-portal .main-body-well > .main-guide-screen[hidden],
.main-portal .screen-title {
.main-portal .main-body-well > .main-manifesto[hidden] {
     height:34px;
    display:none !important;
     min-height:34px;
}
 
.main-portal .main-guide-menu {
     position:absolute;
    top:10px;
     left:10px;
    width:230px;
    margin:0;
    padding:0;
     display:flex;
     display:flex;
    flex-direction:column;
    gap:2px;
    z-index:2;
}
.main-portal .main-guide-menu-item {
    width:230px;
    height:30px;
    margin:0;
    padding:0;
    opacity:0;
    transform:translateX(-240px);
    will-change:transform, opacity;
}
.main-portal .main-guide-screen.is-guide-menu-entering .main-guide-menu-item {
    animation:main-guide-menu-enter 260ms cubic-bezier(.16,.84,.24,1) both;
    animation-delay:calc(var(--guide-menu-order) * 44ms);
}
@keyframes main-guide-menu-enter {
    0% {
        opacity:0;
        transform:translateX(-240px);
    }
    72% {
        opacity:1;
        transform:translateX(4px);
    }
    100% {
        opacity:1;
        transform:translateX(0);
    }
}
.main-portal .main-guide-menu-button {
    appearance:none;
    -webkit-appearance:none;
    display:grid;
    grid-template-columns:30px minmax(0,1fr) 14px;
     align-items:center;
     align-items:center;
     justify-content:space-between;
     width:230px;
     gap:8px;
     height:30px;
    margin:0;
     padding:0;
     padding:0;
     overflow:hidden;
     overflow:hidden;
     background:transparent;
    box-sizing:border-box;
     border:0;
    color:#e2e2e2;
     box-shadow:none;
     background:#1d1d1d;
     color:var(--text-strong);
    border:1px solid #050505;
     border-radius:0;
     box-shadow:
        inset 0 1px 0 #555555,
        inset -1px 0 0 #555555,
        inset 1px 0 0 #101010,
        inset 0 -1px 0 #101010;
     font-family:inherit;
     font-size:12px;
     font-size:12px;
     font-weight:700;
     font-weight:700;
     line-height:34px;
     line-height:28px;
     white-space:nowrap;
     text-align:left;
    text-shadow:1px 1px 0 #050505;
    cursor:pointer;
}
 
.main-portal .main-guide-menu-number {
    display:block;
    width:30px;
    height:28px;
    color:#8f8f8f;
    background:#101010;
    border-right:1px solid #050505;
    box-shadow:inset 0 1px 0 #242424;
    line-height:28px;
    text-align:center;
}
}


.main-portal .titlebar > span,
.main-portal .main-guide-menu-label {
.main-portal .screen-title > span {
    display:block;
     min-width:0;
     min-width:0;
    height:28px;
    padding:0 8px;
     overflow:hidden;
     overflow:hidden;
    line-height:28px;
    white-space:nowrap;
     text-overflow:ellipsis;
     text-overflow:ellipsis;
}
}


.main-portal .titlebar > span:last-child,
.main-portal .main-guide-menu-arrow {
.main-portal .screen-title > span:last-child {
    display:block;
     flex:0 0 auto;
    width:14px;
    color:var(--meta);
    height:28px;
     font-size:11px;
    color:#8f8f8f;
    line-height:27px;
    text-align:center;
}
 
.main-portal .main-guide-menu-button:hover,
.main-portal .main-guide-menu-button:focus-visible {
     color:#ffffff;
    background:#242424;
    outline:0;
}
 
.main-portal .main-guide-menu-button:hover .main-guide-menu-number,
.main-portal .main-guide-menu-button:focus-visible .main-guide-menu-number,
.main-portal .main-guide-menu-button:hover .main-guide-menu-arrow,
.main-portal .main-guide-menu-button:focus-visible .main-guide-menu-arrow {
     color:#ffffff;
}
}


.main-portal .console-body {
.main-portal .main-guide-menu-button:active {
     padding:3px;
     color:#e2e2e2;
     background:var(--well);
     background:#101010;
    border:0;
     box-shadow:
     box-shadow:
         inset 0 1px 0 var(--shadow),
         inset 0 1px 0 #101010,
         inset -1px 0 0 var(--shadow),
         inset -1px 0 0 #101010,
         inset 1px 0 0 var(--highlight),
         inset 1px 0 0 #555555,
        inset 0 -1px 0 var(--highlight);
        inset 0 -1px 0 #555555;
}
 
@media (prefers-reduced-motion:reduce) {
    .main-portal .main-guide-screen.is-guide-menu-entering .main-guide-menu-item {
        animation:none;
        opacity:1;
        transform:none;
    }
}
 
/* -----------------------------------------
상단 카테고리 중앙 「프로젝트」 기둥 / 20260716
-----------------------------------------
버튼 2개 - #1d1d1d 기둥 - 버튼 2개.
 
CategoryPillar.js가 기존 project 버튼의 좌우 사선과 2px 간격을 그대로 사용한다.
기둥은 같은 경사를 유지한 채 SVG의 위·아래로 3px 우물을 관통하며 외곽 프레임과 같은
#1d1d1d 면에 직접 닿는다. 상하 외곽선은 두지 않아 하나의 패널로
이어진다. 버튼과 접하는 좌우의 #050505 외곽선은 생략하되,
기존 안쪽 방향성 광원선을 그 외곽선 좌표로 한 칸 이동한다.
안쪽선이 있던 자리는 별도 선 없이 #1d1d1d 본체 면으로 돌아간다.
*/
.main-portal .portal-category-svg.has-category-pillar
.portal-cat-anchor[data-category-key="project"],
.main-portal .portal-category-svg.has-category-pillar
.portal-category-pillar-source {
    display:none !important;
    pointer-events:none !important;
}
 
.main-portal .portal-category-pillar {
    pointer-events:none;
    shape-rendering:crispEdges;
}
 
.main-portal .portal-category-pillar-surface {
    fill:#1d1d1d;
    stroke:none;
}
 
.main-portal .portal-category-pillar-line {
    fill:none;
    stroke-width:1;
    vector-effect:non-scaling-stroke;
    shape-rendering:crispEdges;
}
 
.main-portal .portal-category-pillar-shadow {
    stroke:#101010;
}
 
.main-portal .portal-category-pillar-highlight {
    stroke:#555555;
}
 
.main-portal .portal-category-pillar-label {
    fill:#e2e2e2;
    cursor:default;
    pointer-events:none;
}
 
/* -----------------------------------------
상단 카테고리 하단 작품 버튼 / 20260721
-----------------------------------------
상단 카테고리 프레임은 001 기준의 완전한 사각 외곽을 유지한다.
하단 작품 섹션은 상단 하부 프레임을 덮지 않는다.
두 구조는 #050505 하부 외곽선 1px만 공유한다.
 
행 구조(비축소 CSS px):
- 공유 외곽선 1px
- 순수 #080808 우물 2px
- 버튼 외곽 22px
- 순수 #080808 우물 2px
- 하단 프레임 8px
- SVG 전체 35px, margin-top:-1px, 실제 추가 높이 34px
*/
.main-portal > [data-component="portal-section-nav"] {
    flex:0 0 35px !important;
    display:block !important;
    position:relative !important;
    width:100% !important;
    height:35px !important;
    min-height:35px !important;
    max-height:35px !important;
    margin:-1px 0 0 !important;
    padding:0 !important;
    overflow:hidden !important;
    z-index:2 !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    isolation:auto !important;
}
 
.main-portal .portal-section-nav,
.main-portal .portal-section-svg {
    display:block !important;
    position:relative !important;
    width:100% !important;
    height:35px !important;
    min-height:35px !important;
    max-height:35px !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
}
 
.main-portal .portal-section-frame-edge {
    fill:#050505;
    stroke:none;
}
 
.main-portal .portal-section-frame-surface {
    fill:#1d1d1d;
    stroke:none;
}
 
.main-portal .portal-section-frame-well {
    fill:#080808;
    stroke:none;
}
 
.main-portal .portal-section-frame-edge,
.main-portal .portal-section-frame-surface,
.main-portal .portal-section-frame-well,
.main-portal .portal-section-button-geometry .portal-cat-edge,
.main-portal .portal-section-button-geometry .portal-cat-surface {
    shape-rendering:crispEdges;
}
 
.main-portal .portal-section-frame-highlight,
.main-portal .portal-section-frame-shadow,
.main-portal .portal-section-well-highlight,
.main-portal .portal-section-well-shadow {
    fill:none;
    stroke-width:1;
    vector-effect:non-scaling-stroke;
    shape-rendering:crispEdges;
}
 
.main-portal .portal-section-frame-highlight,
.main-portal .portal-section-well-highlight {
    stroke:#555555;
}
 
.main-portal .portal-section-frame-shadow,
.main-portal .portal-section-well-shadow {
    stroke:#101010;
}
 
.main-portal .portal-section-anchor,
.main-portal .portal-section-button-geometry {
    pointer-events:auto;
}
 
.main-portal .portal-section-label {
    fill:#e2e2e2;
}
 
/* 선언문 전용 장식은 길라잡이 화면으로 넘어갈 때 함께 숨긴다. */
.main-portal.is-guide-screen-active .main-body-well > .wiki-decoration,
.main-portal.is-guide-screen-active .main-body-well > [data-wiki-decoration-rendered="1"] {
    visibility:hidden !important;
    pointer-events:none !important;
}
 
@media screen and (max-width:700px) {
    .main-portal .main-manifesto {
        padding-top:10px;
        overflow-x:auto;
        justify-content:flex-start;
    }
}
 
/* -----------------------------------------
하단 길라잡이 버튼
-----------------------------------------
상단의 설정–프로젝트–기업 및 공동체 합산 폭을 공유한다.
사선 방향은 상단 묶음과 반대로, 넓은 변이 하단에 놓인다.
*/
.main-portal [data-component="category-guide-nav"] {
    flex:0 0 auto;
    display:block;
    width:100%;
    height:65px;
    margin:2px 0 0;
    padding:0;
    position:relative;
    z-index:2147483000 !important;
    pointer-events:auto;
}
}


.main-portal .console-grid {
.main-portal .portal-guide-nav {
     display:grid;
     width:100%;
     grid-template-columns:minmax(0,1fr);
    height:65px;
     gap:var(--gap);
     margin:0;
    align-items:stretch;
     background:var(--well, #080808);
}
}


.main-portal .main-screen,
.main-portal .portal-guide-svg {
.main-portal .archive-screen {
     width:100%;
     min-width:0;
     height:65px;
    padding:var(--frame);
    overflow:hidden;
    background:var(--panel);
    border:1px solid var(--edge);
     box-shadow:
        inset 0 1px 0 var(--highlight),
        inset -1px 0 0 var(--highlight),
        inset 1px 0 0 var(--shadow),
        inset 0 -1px 0 var(--shadow);
}
}


.main-portal .main-screen {
.main-portal .portal-guide-label {
     display:grid;
     fill:#e2e2e2;
    grid-template-rows:auto auto;
    gap:var(--gap);
}
}


.main-portal .archive-screen {
 
     display:flex;
/* 본문 데코가 별도 stacking context를 만들더라도 길라잡이 클릭면을 최상단에 유지한다. */
    flex-direction:column;
.main-portal .portal-guide-nav,
     padding-top:0;
.main-portal .portal-guide-svg,
.main-portal .portal-guide-anchor {
     position:relative;
     z-index:2147483000 !important;
}
}


/* -----------------------------------------
/* -----------------------------------------
이미지 피드
대문 본문 패널 / 실제 래퍼·데코 클리핑
----------------------------------------- */
-----------------------------------------
구조:
로고 → 상단 버튼 → #1d1d1d 본문 프레임
                    └ #080808 우물
                      ├ 선언문
                      ├ 대문 데코
                      └ 길라잡이


.main-portal .image-feed {
외곽 프레임과 내부 우물 모두 paint를 잘라낸다.
따라서 데코는 저장된 좌표와 z-index에 관계없이
#1d1d1d 프레임의 경계를 넘어 보일 수 없다.
*/
.main-portal .main-body-panel {
    flex:1 0 auto;
    min-height:0;
    width:100%;
    margin:2px 0 0;
    padding:9px;
     position:relative;
     position:relative;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    isolation:isolate;
    background:#1d1d1d;
    border:1px solid #050505;
    border-radius:0;
    box-shadow:
        inset 0 1px 0 #555555,
        inset -1px 0 0 #555555,
        inset 1px 0 0 #101010,
        inset 0 -1px 0 #101010;
}
.main-portal .main-body-well {
    flex:1 0 auto;
    min-height:0;
     width:100%;
     width:100%;
     height:260px;
     position:relative;
     min-height:260px;
     display:flex;
    flex-direction:column;
     overflow:hidden;
     overflow:hidden;
     isolation:isolate;
     isolation:isolate;
     background:#030303;
     background:#080808;
     border:0;
     border:0;
    /* 오목한 우물의 안쪽 경계: 상단/우측 어둡게, 좌측/하단 밝게. */
     box-shadow:
     box-shadow:
         inset 0 1px 0 var(--shadow),
         inset 0 1px 0 #101010,
         inset -1px 0 0 var(--shadow),
         inset -1px 0 0 #101010,
         inset 1px 0 0 var(--highlight),
         inset 1px 0 0 #555555,
         inset 0 -1px 0 var(--highlight);
         inset 0 -1px 0 #555555;
}
}


.main-portal .feed-layer {
/* 기존 선언문 좌표와 폭은 유지하되 새 우물 안의 흐름 요소로 둔다. */
     position:absolute;
.main-portal .main-body-well > .main-manifesto {
     inset:-12px;
    flex:1 0 auto;
    min-height:0;
    width:100%;
    margin:0 !important;
    /*
    길라잡이 하단에 추가한 3px을 전체 높이에 더하지 않는다.
    기존 하단 여유 24px 안에서 3px을 넘겨 전체 패널 높이를 보존한다.
    */
    padding:10px 0 21px !important;
     position:relative !important;
    top:auto !important;
    left:auto !important;
     overflow:visible !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    transform:none !important;
     z-index:1;
     z-index:1;
    opacity:0;
    background-position:center;
    background-repeat:no-repeat;
    background-size:cover;
    filter:brightness(0.78) contrast(1.12) saturate(0.78) grayscale(0.16);
    transform:translate(0,0) scale(1.06);
    transform-origin:center;
    will-change:opacity, transform;
    animation-duration:24s;
    animation-iteration-count:infinite;
    animation-timing-function:linear;
}
}


.main-portal .feed-bg-001 { background-image:url('/index.php?title=특수:Redirect/file/Bg-Feed-001.png'); }
/*
.main-portal .feed-bg-002 { background-image:url('/index.php?title=특수:Redirect/file/Bg-Feed-002.png'); }
대문 장식 렌더러가 일반 장식을 이 우물의 직접 자식으로 넣는다.
.main-portal .feed-bg-003 { background-image:url('/index.php?title=특수:Redirect/file/Bg-Feed-003.png'); }
position:absolute를 보장하고, 우물 overflow:hidden으로 절단한다.
.main-portal .feed-bg-004 { background-image:url('/index.php?title=특수:Redirect/file/Bg-Feed-004.png'); }
*/
.main-portal .main-body-well > .wiki-decoration,
.main-portal .main-body-well > [data-wiki-decoration-rendered="1"] {
    position:absolute !important;
    margin:0 !important;
    max-width:none !important;
    max-height:none !important;
}


.main-portal .feed-layer-1 { animation-name:image-feed-drift-left; animation-delay:0s; }
/* 길라잡이는 우물 최하단의 정상 흐름 요소다. */
.main-portal .feed-layer-2 { animation-name:image-feed-drift-right; animation-delay:6s; }
.main-portal .main-body-well > [data-component="category-guide-nav"] {
.main-portal .feed-layer-3 { animation-name:image-feed-drift-left; animation-delay:12s; }
    flex:0 0 65px;
.main-portal .feed-layer-4 { animation-name:image-feed-drift-right; animation-delay:18s; }
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    height:65px !important;
    /*
    위쪽은 2px.
    아래쪽은 우물의 1px inset을 제외하고 순수 #080808이 2px 보이도록
    CSS margin-bottom을 3px로 둔다.
    */
    margin:2px 0 3px !important;
    padding:0 !important;
    position:relative !important;
    overflow:visible !important;
    z-index:2147483000 !important;
    pointer-events:auto !important;
}


@keyframes image-feed-drift-left {
.main-portal .main-body-well .portal-guide-nav,
    0% { opacity:0; transform:translate(0,0) scale(1.06); }
.main-portal .main-body-well .portal-guide-svg,
    4.166% { opacity:1; transform:translate(0,0) scale(1.06); }
.main-portal .main-body-well .portal-guide-anchor {
    25% { opacity:1; transform:translate(-22px,14px) scale(1.075); }
     position:relative;
    29.166% { opacity:0; transform:translate(-26px,16px) scale(1.078); }
    z-index:2147483000 !important;
     100% { opacity:0; transform:translate(0,0) scale(1.06); }
}
}


@keyframes image-feed-drift-right {
/* 실패했던 display:contents 우회 구조는 사용하지 않는다. */
    0% { opacity:0; transform:translate(0,0) scale(1.06); }
.main-portal > .main-body-panel,
    4.166% { opacity:1; transform:translate(0,0) scale(1.06); }
.main-portal .main-body-well {
    25% { opacity:1; transform:translate(22px,14px) scale(1.075); }
     box-sizing:border-box;
    29.166% { opacity:0; transform:translate(26px,16px) scale(1.078); }
     100% { opacity:0; transform:translate(0,0) scale(1.06); }
}
}


.main-portal .image-feed::before {
@media screen and (max-width:700px) {
    content:"";
    .main-portal .main-body-panel {
    position:absolute;
        min-width:660px;
    inset:0;
     }
    z-index:5;
    pointer-events:none;
     background:
        linear-gradient(to bottom, rgba(0,0,0,0.18), transparent 22%, transparent 74%, rgba(0,0,0,0.30)),
        linear-gradient(to right, rgba(0,0,0,0.22), transparent 10%, transparent 90%, rgba(0,0,0,0.22));
}
}


.main-portal .image-feed::after {
/* -----------------------------------------
    content:"";
대문 높이 체인 / 외부 스크롤 완전 제거
    position:absolute;
-----------------------------------------
    inset:-40px 0;
Layout.css의 .mw-parser-output은 일반 문서를 위해 overflow-y:auto이다.
    z-index:6;
대문에서는 전체 패널이 남은 높이를 정확히 나눠 써야 하므로 예외 처리한다.
    pointer-events:none;
 
    opacity:0.18;
핵심:
    background:
- 바깥 스크롤 박스 비활성화
        repeating-linear-gradient(
- 높이 전달 체인을 100%로 고정
            to bottom,
- 각 세로 flex 구간을 flex:1 1 0으로 축소 가능하게 변경
            rgba(255,255,255,0.09) 0,
- min-height:0으로 min-content 높이 강제 확장을 차단
            rgba(255,255,255,0.09) 1px,
*/
            transparent 2px,
body.action-view.clbi-main-page .liberty-content-main,
            transparent 5px
body.action-view.clbi-main-page .liberty-content-main > #mw-content-text,
        );
body.action-view.clbi-main-page .liberty-content-main > .mw-body-content,
     mix-blend-mode:screen;
body.action-view.clbi-main-page .liberty-content-main #mw-content-text,
body.action-view.clbi-main-page .liberty-content-main .mw-body-content,
body.action-view.clbi-main-page .liberty-content-main .mw-parser-output {
    min-height:0 !important;
     overflow:hidden !important;
}
}


.main-portal .feed-caption {
body.action-view.clbi-main-page .liberty-content-main .mw-parser-output {
     position:absolute;
     flex:1 1 0 !important;
    left:0;
     height:100% !important;
     right:0;
     max-height:100% !important;
     bottom:0;
     display:flex !important;
    z-index:8;
     flex-direction:column !important;
    height:24px;
     overflow-y:hidden !important;
    padding:0 8px;
     overflow-x:hidden !important;
     display:flex;
     scrollbar-width:none !important;
     align-items:center;
     justify-content:space-between;
    gap:8px;
     overflow:hidden;
     background:rgba(16,16,16,0.94);
    border-top:1px solid var(--edge);
    color:var(--text);
    font-size:11px;
    font-weight:700;
    line-height:23px;
}
}


.main-portal .feed-caption span:first-child {
body.action-view.clbi-main-page .liberty-content-main .mw-parser-output::-webkit-scrollbar {
     min-width:0;
     display:none !important;
    overflow:hidden;
     width:0 !important;
     text-overflow:ellipsis;
     height:0 !important;
     white-space:nowrap;
}
}


.main-portal .feed-caption span:last-child {
body.action-view.clbi-main-page .liberty-content-main .mw-parser-output > .main-portal {
     flex:0 0 auto;
     flex:1 1 0 !important;
     color:var(--meta);
    width:100% !important;
     height:100% !important;
    min-height:0 !important;
    max-height:100% !important;
    overflow:hidden !important;
}
}


/* -----------------------------------------
body.action-view.clbi-main-page .main-portal {
선언문
    flex:1 1 0 !important;
----------------------------------------- */
    height:100% !important;
    min-height:0 !important;
    max-height:100% !important;
    overflow:hidden !important;
}


.main-portal .statement-plate {
body.action-view.clbi-main-page .main-portal .main-body-panel {
     padding:12px 16px;
     flex:1 1 0 !important;
     background:var(--well);
     height:auto !important;
     border:0;
     min-height:0 !important;
     box-shadow:
     max-height:none !important;
        inset 0 1px 0 var(--shadow),
    overflow:hidden !important;
        inset -1px 0 0 var(--shadow),
        inset 1px 0 0 var(--highlight),
        inset 0 -1px 0 var(--highlight);
}
}


.main-portal .statement-plate h2 {
body.action-view.clbi-main-page .main-portal .main-body-well {
     margin:0 0 8px !important;
     flex:1 1 0 !important;
     padding:0 0 7px !important;
     height:auto !important;
    border:0 !important;
     min-height:0 !important;
     border-bottom:1px solid var(--item) !important;
     max-height:none !important;
     color:var(--text-strong) !important;
     overflow:hidden !important;
    font-size:14px !important;
    font-weight:700 !important;
    line-height:20px !important;
     text-align:center !important;
}
}


.main-portal .statement-plate p {
body.action-view.clbi-main-page .main-portal .main-body-well > .main-manifesto {
     max-width:840px;
     flex:1 1 0 !important;
     margin:0 auto 8px;
     height:auto !important;
     color:var(--text);
     min-height:0 !important;
    font-size:12px;
     max-height:none !important;
     font-weight:400;
     overflow:hidden !important;
    line-height:18px;
     text-align:center;
    word-break:keep-all;
}
}


.main-portal .statement-plate p:last-child {
/* 길라잡이는 42px 본체·광원 + 상하 1px #050505 외곽선으로 44px이다.
     margin-bottom:0;
  상하 2px #080808 간격, 상단 9px·하단 8px 프레임을 포함한 전체 행은 65px이다.
  상단 9px 중 외곽선·광원선을 제외한 #1d1d1d 실색 영역은 7px이다. */
body.action-view.clbi-main-page
.main-portal
.main-body-well > [data-component="category-guide-nav"] {
     flex:0 0 65px !important;
}
}


/* -----------------------------------------
/* -----------------------------------------
ARCHIVE STATUS
버튼 프레임 / 상단 유지·하단 연속 용접
----------------------------------------- */
-----------------------------------------
상단 총 36px:
4px 프레임 + 2px #080808 + 24px 버튼 + 2px #080808 + 4px 프레임
 
하단 총 65px:
중앙에서 위로 솟은 패널 하단 프레임 + 2px #080808
+ 44px 길라잡이 외곽 + 2px #080808 + 공유 하단 프레임
 
하단은 별도 ㄷ자 상자가 아니다.
본문 패널의 하단 외곽선 자체가 중앙에서 사선으로 올라갔다 내려오는
하나의 연속된 프레임이다.
*/
 
/* ─────────────────────────────────────────
상단: 버튼 24px / 프레임과 2px 간격을 실제로 확보
───────────────────────────────────────── */
.main-portal > [data-component="category-nav"] {
    flex:none !important;
    display:block !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    margin:0 !important;
    padding:8px !important;
    position:relative !important;
    overflow:hidden !important;
    isolation:isolate !important;
    box-sizing:border-box !important;
    background:#1d1d1d !important;
    border:1px solid #050505 !important;
    border-radius:0 !important;
    box-shadow:
        inset 0 1px 0 #555555,
        inset -1px 0 0 #555555,
        inset 1px 0 0 #101010,
        inset 0 -1px 0 #101010 !important;
}
 
.main-portal > [data-component="category-nav"] > .portal-category-nav {
    display:block !important;
    position:relative !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    margin:0 !important;
    padding:2px !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
    background:#080808 !important;
    border:0 !important;
    /* 2px 간격은 순수 #080808이며 별도 광원선을 두지 않는다. */
    box-shadow:none !important;
}


.main-portal .archive-screen .screen-title {
.main-portal > [data-component="category-nav"] .portal-category-svg {
     flex:0 0 34px;
     display:block !important;
    position:relative !important;
    inset:auto !important;
    width:100% !important;
    height:24px !important;
    min-height:24px !important;
    max-height:24px !important;
    overflow:visible !important;
}
}


.main-portal .instrument-body {
/* ─────────────────────────────────────────
    flex:1 1 auto;
하단: 기본 하단 프레임 위로만 중앙 버튼 프레임이 돌출
    min-height:0;
───────────────────────────────────────── */
    padding:3px;
 
    display:grid;
/*
    grid-template-columns:minmax(0,1fr);
본문 패널의 기본 하단 프레임 두께는 유지하고,
    align-content:start;
그 위로만 길라잡이 사다리꼴 프레임이 돌출된다.
    gap:var(--gap);
패널 전체가 두꺼운 하단 밴드가 되지 않도록 한다.
     background:var(--well);
*/
     border:0;
body.action-view.clbi-main-page .main-portal .main-body-panel,
.main-portal .main-body-panel {
     padding:9px !important;
     border-bottom:0 !important;
     box-shadow:
     box-shadow:
         inset 0 1px 0 var(--shadow),
         inset 0 1px 0 #555555,
         inset -1px 0 0 var(--shadow),
         inset -1px 0 0 #555555,
         inset 1px 0 0 var(--highlight),
         inset 1px 0 0 #101010 !important;
        inset 0 -1px 0 var(--highlight);
}
 
.main-portal .main-body-panel > [data-component="category-guide-nav"] {
    display:block !important;
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:auto !important;
    height:65px !important;
    min-height:65px !important;
    max-height:65px !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
    isolation:isolate !important;
    z-index:2147483000 !important;
    pointer-events:auto !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
}
}


.main-portal .instrument-grid {
.main-portal .main-body-panel > [data-component="category-guide-nav"] > .portal-guide-nav,
     display:grid;
.main-portal .main-body-panel > [data-component="category-guide-nav"] .portal-guide-svg {
     grid-template-columns:minmax(0,1fr) minmax(0,1fr);
     display:block !important;
     gap:var(--gap);
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:65px !important;
     min-height:65px !important;
    max-height:65px !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
    background:transparent !important;
     border:0 !important;
    box-shadow:none !important;
    z-index:2147483000 !important;
}
}


.main-portal .gauge,
/* 기본 하단 프레임 + 중앙 돌출 프레임 */
.main-portal .instrument-line {
.main-portal .portal-guide-panel-bottom-surface,
    background:var(--item);
.main-portal .portal-guide-weld-outer {
     border:1px solid var(--edge);
     fill:#1d1d1d;
     box-shadow:inset 0 1px 0 var(--panel);
     stroke:none;
}
}


.main-portal .gauge {
.main-portal .portal-guide-weld-well {
    height:72px;
     fill:#080808;
    padding:8px;
     stroke:none;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
     overflow:hidden;
     text-align:center;
}
}


.main-portal .gauge b {
.main-portal .portal-guide-panel-bottom-edge,
     display:block;
.main-portal .portal-guide-weld-edge {
     color:var(--text-strong);
     stroke:#050505;
     font-family:Consolas, Monaco, monospace !important;
     stroke-width:1;
     font-size:20px;
     fill:none;
    font-weight:700;
     vector-effect:non-scaling-stroke;
     line-height:24px;
     shape-rendering:crispEdges;
}
}


.main-portal .gauge span {
/* 하단 기본 프레임: 상단만 #555555, 하단만 #101010. */
     display:block;
.main-portal .portal-guide-panel-bottom-highlight,
     margin-top:4px;
.main-portal .portal-guide-panel-bottom-shadow,
     color:var(--meta);
.main-portal .portal-guide-weld-shadow,
     font-size:10px;
.main-portal .portal-guide-panel-bottom-inner {
    line-height:12px;
     stroke:#101010;
     white-space:nowrap;
     stroke-width:1;
     fill:none;
     vector-effect:non-scaling-stroke;
     shape-rendering:crispEdges;
}
}


.main-portal .instrument-lines {
/* 실제 길라잡이 버튼 외곽은 44px 사다리꼴이다. 바깥 돌출 프레임만 하단 기본 프레임과 용접된다. */
    display:grid;
.main-portal .portal-guide-nav.is-continuous-weld
    grid-template-columns:minmax(0,1fr);
.portal-cat-inset-bottom {
     gap:var(--gap);
     display:block !important;
}
}


.main-portal .instrument-line {
/*
    height:24px;
길라잡이 진입 상태:
    min-height:24px;
- 전체 좌표계가 65px에서 45px로 실제 축소된다.
    padding:0 8px;
- 중앙 버튼은 44px에서 24px으로만 줄고, #1d1d1d 실면 7px의 9/8px 프레임은 유지한다.
    display:grid;
- 좌우 우물은 중앙 버튼과 접합되는 단일 메인 프레임이 하단에서 올라와 메운다.
    grid-template-columns:76px minmax(0,1fr);
*/
    align-items:center;
.main-portal .portal-guide-button-geometry {
    gap:8px;
     transform:none;
    overflow:hidden;
    font-size:11px;
     line-height:22px;
}
}


.main-portal .instrument-label {
.main-portal .portal-guide-rising-main-frame {
     color:var(--meta);
     transform-box:fill-box;
     white-space:nowrap;
     transform-origin:center bottom;
}
}


.main-portal .instrument-value {
.main-portal .portal-guide-rising-main-frame-edge {
    min-width:0;
     fill:#050505;
    overflow:hidden;
     stroke:none;
    color:var(--text);
     shape-rendering:crispEdges;
     text-align:right;
     text-overflow:ellipsis;
     white-space:nowrap;
}
}


.main-portal .gauge:hover,
.main-portal .portal-guide-rising-main-frame-surface {
.main-portal .instrument-line:hover {
    fill:#1d1d1d;
     color:var(--text-strong);
     stroke:none;
    shape-rendering:crispEdges;
}
}


.main-portal .instrument-line:hover .instrument-value {
.main-portal .portal-guide-rising-main-frame-highlight-top,
     color:var(--text-strong);
.main-portal .portal-guide-rising-main-frame-highlight-left {
     fill:#555555;
    stroke:none;
    shape-rendering:crispEdges;
}
}


/* -----------------------------------------
.main-portal .portal-guide-rising-main-frame-shadow-right,
반응형
.main-portal .portal-guide-rising-main-frame-shadow-bottom {
----------------------------------------- */
    fill:#101010;
    stroke:none;
    shape-rendering:crispEdges;
}


@media screen and (max-width:1100px) {
/* 예전 우물 내부 mount 규칙 차단 */
    .main-portal .console-grid {
.main-portal .main-body-well > [data-component="category-guide-nav"],
        grid-template-columns:minmax(0,1fr);
body.action-view.clbi-main-page
     }
.main-portal
.main-body-well > [data-component="category-guide-nav"] {
    flex:none !important;
    width:0 !important;
    height:0 !important;
    min-height:0 !important;
    max-height:0 !important;
    margin:0 !important;
    padding:0 !important;
     overflow:hidden !important;
}


     .main-portal .archive-screen {
@media screen and (max-width:700px) {
         min-height:190px;
    .main-portal > [data-component="category-nav"],
     .main-portal .main-body-panel {
         min-width:660px !important;
     }
     }
}
}


@media screen and (max-width:820px) {


    .main-portal .image-feed {
        height:220px;
        min-height:220px;
    }


    .portal-cat-label {
/* -----------------------------------------
        font-size:11px;
광원선 중복 방지 확정 규칙
     }
-----------------------------------------
#555555는 독립된 #1d1d1d 돌출면의 상단·우측에만 사용한다.
#101010은 같은 면의 좌측·하단에만 사용한다.
#080808 우물과 2px 간격에는 광원선을 추가하지 않는다.
*/
.main-portal > [data-component="category-nav"] > .portal-category-nav {
    box-shadow:none !important;
}
 
/* 본문 우물은 오목한 방향성 선을 유지한다. */
.main-portal .main-body-well {
     box-shadow:
        inset 0 1px 0 #101010,
        inset -1px 0 0 #101010,
        inset 1px 0 0 #555555,
        inset 0 -1px 0 #555555 !important;
}
}


@media screen and (max-width:620px) {
/* -----------------------------------------
    .main-portal .lab-logo,
프레임 안쪽선·하단 아치 오버레이 확정 규칙
    .main-portal .console {
-----------------------------------------
        --frame:6px;
상단:
     }
- 기존 구조와 치수 유지
- #1d1d1d 프레임의 안쪽 경계에 방향성 1px 선 추가
- 안쪽 우물 경계는 상단/우측 #101010, 좌측/하단 #555555
- 선은 프레임의 마지막 1px에 놓여 2px #080808 간격을 침범하지 않음
 
하단:
- main-body-panel의 원래 전체 프레임을 그대로 복구
- SVG는 전체 하단 프레임을 다시 그리지 않음
- 버튼과 하부를 비운 중앙 아치형 프레임 조각만 기존 프레임 위에 얹음
*/
 
/* 상단 외곽 프레임의 안쪽 우물 경계
  우물은 오목하므로 돌출면과 반대 방향이다.
  상단/우측 #101010, 좌측/하단 #555555. */
.main-portal > [data-component="category-nav"]::after {
    content:"";
    display:block;
    position:absolute;
    inset:8px;
    z-index:3;
    pointer-events:none;
    box-sizing:border-box;
    border-style:solid;
    border-width:1px;
     border-color:#101010 #101010 #555555 #555555;
}


    .main-portal .statement-plate {
/* 2px 우물 간격과 버튼은 안쪽선보다 아래 레이어에 둔다. */
        padding:10px 12px;
.main-portal > [data-component="category-nav"] > .portal-category-nav {
     }
    z-index:1 !important;
     box-shadow:none !important;
}


    .main-portal .instrument-grid {
.main-portal > [data-component="category-nav"] .portal-category-svg {
        grid-template-columns:minmax(0,1fr);
    z-index:1 !important;
    }
}
}


/* 아날로그 UI는 상태 변화를 즉시 보여준다. */
/* 기존 본문 패널의 전체 프레임을 복구한다. */
.main-portal a,
body.action-view.clbi-main-page .main-portal .main-body-panel,
.main-portal button,
.main-portal .main-body-panel {
.main-portal .portal-cat-shape,
    padding:9px !important;
.main-portal .portal-cat-label,
    border:1px solid #050505 !important;
.main-portal .gauge,
    box-shadow:
.main-portal .instrument-line {
        inset 0 1px 0 #555555,
    transition:none !important;
        inset -1px 0 0 #555555,
        inset 1px 0 0 #101010,
        inset 0 -1px 0 #101010 !important;
}
}


/* =========================================
/* 아치 오버레이 좌표계. 패널 하부 자체는 투명하게 둔다. */
대문 하단 3분할 도크
.main-portal .main-body-panel > [data-component="category-guide-nav"] {
- 왼쪽: STATUS (DOCUMENTS / CONNECTIONS 4:3)
    height:65px !important;
- 가운데: INFORMATION (남는 폭 전체 사용)
    min-height:65px !important;
- 오른쪽: PROJECTS
    max-height:65px !important;
- 세 프레임 모두 왼쪽 33px 시각 면의 세로 제목을 사용한다.
    background:transparent !important;
- 독립 프레임 사이는 2px, 우물 내부와 버튼 사이는 시각 2px 기준이다.
    border:0 !important;
- 하단 행은 남는 높이를 위쪽 여백으로 흡수하여 본문 우물 최하단에 고정된다.
    box-shadow:none !important;
========================================= */
}


.main-portal .portal-bottom-row {
.main-portal .main-body-panel > [data-component="category-guide-nav"] > .portal-guide-nav,
     width:100%;
.main-portal .main-body-panel > [data-component="category-guide-nav"] .portal-guide-svg {
     min-width:0;
     height:65px !important;
    margin:0;
     min-height:65px !important;
     margin-top:auto;
     max-height:65px !important;
     padding:0;
     background:transparent !important;
     flex:0 0 auto;
     border:0 !important;
    display:grid;
     box-shadow:none !important;
    grid-template-columns:520px minmax(0,1fr) 415px;
    column-gap:2px;
    row-gap:2px;
     align-items:stretch;
}
}


.main-portal .portal-bottom-frame {
/* 아치 프레임 면과 내부 우물 */
     min-width:0;
.main-portal .portal-guide-arch-outer {
    height:360px;
     fill:#1d1d1d;
    padding:var(--frame) var(--frame) var(--frame) 0;
     stroke:none;
    display:grid;
     grid-template-columns:34px minmax(0,1fr);
    gap:0;
    align-items:stretch;
    overflow:hidden;
    background:var(--panel);
    border:1px solid var(--edge);
    box-shadow:
        inset 0 1px 0 var(--highlight),
        inset -1px 0 0 var(--highlight),
        inset 1px 0 0 var(--shadow),
        inset 0 -1px 0 var(--shadow);
}
}


.main-portal .portal-side-title {
.main-portal .portal-guide-arch-well {
     grid-column:1;
     fill:#080808;
    grid-row:1;
     stroke:none;
    width:34px;
    min-width:34px;
    max-width:34px;
    position:relative;
    display:block;
    padding:0;
    background:transparent;
    color:var(--text-strong);
    font-size:12px;
     font-weight:700;
    line-height:12px;
    text-align:center;
}
}


.main-portal .portal-side-title-stack {
/* 아치의 최외곽: 상단과 양쪽 사선만 */
     position:absolute;
.main-portal .portal-guide-arch-edge {
    left:50%;
     stroke:#050505;
    top:50%;
     stroke-width:1;
     width:12px;
     fill:none;
     display:flex;
     vector-effect:non-scaling-stroke;
     flex-direction:column;
     shape-rendering:crispEdges;
    align-items:center;
     justify-content:center;
    gap:4px;
    transform:translate(-50%,-50%) translateX(1px);
}
}


.main-portal .portal-side-title-stack > span {
/* 바깥 돌출면의 광원 */
     width:12px;
.main-portal .portal-guide-arch-highlight {
     height:12px;
     stroke:#555555;
     display:flex;
     stroke-width:1;
     align-items:center;
     fill:none;
    justify-content:center;
     vector-effect:non-scaling-stroke;
    line-height:12px;
     shape-rendering:crispEdges;
     text-align:center;
}
}


.main-portal .portal-dock-body {
.main-portal .portal-guide-arch-shadow {
     grid-column:2;
     stroke:#101010;
     grid-row:1;
     stroke-width:1;
     min-width:0;
     fill:none;
     min-height:0;
     vector-effect:non-scaling-stroke;
    height:100%;
     shape-rendering:crispEdges;
    padding:3px;
    background:var(--well);
     box-shadow:
        inset 0 1px 0 var(--shadow),
        inset -1px 0 0 var(--shadow),
        inset 1px 0 0 var(--highlight),
        inset 0 -1px 0 var(--highlight);
}
}


/* STATUS
 
  - 왼쪽에는 1:1 관계 그래프, 오른쪽에는 언어별 문서 수를 배치한다.
/* 버튼과 마주 보는 하단 본문 프레임의 상단 1px만 담당한다.
   - 그래프와 통계 사이 간격은 2px이다. */
   선 stroke가 아니라 정수 좌표의 1px rect이므로 2px로 번지지 않는다. */
.main-portal .portal-status-body {
.main-portal .portal-guide-facing-highlight {
     display:grid;
     fill:#555555;
     grid-template-columns:minmax(0,1fr) 148px;
     stroke:none;
     grid-template-rows:minmax(0,1fr);
     shape-rendering:crispEdges;
    align-items:center;
    gap:var(--gap);
}
}


/* INFORMATION / PROJECTS 공통 버튼 */
/* 아치 안쪽 우물 경계: 상단/우측 어두움, 좌측 밝음. 하부는 열림. */
.main-portal .portal-button-list {
.main-portal .portal-guide-arch-inner-highlight {
     display:grid;
     stroke:#101010;
     grid-template-columns:minmax(0,1fr);
     stroke-width:1;
     gap:var(--gap);
    fill:none;
     vector-effect:non-scaling-stroke;
    shape-rendering:crispEdges;
}
}


.main-portal .portal-information-body {
.main-portal .portal-guide-arch-inner-shadow {
     grid-template-columns:repeat(5,minmax(0,1fr));
     stroke:#555555;
     grid-template-rows:minmax(0,1fr);
    stroke-width:1;
    fill:none;
    vector-effect:non-scaling-stroke;
     shape-rendering:crispEdges;
}
}


.main-portal .portal-information-body .portal-dock-button > a {
/* 이전 SVG가 그리던 독립 하단 프레임은 강제로 숨긴다. */
    padding:8px 0;
.main-portal .portal-guide-panel-bottom-surface,
    writing-mode:vertical-rl;
.main-portal .portal-guide-panel-bottom-edge,
    text-orientation:upright;
.main-portal .portal-guide-panel-bottom-highlight,
    letter-spacing:1px;
.main-portal .portal-guide-panel-bottom-shadow,
     white-space:normal;
.main-portal .portal-guide-panel-bottom-inner,
.main-portal .portal-guide-weld-outer,
.main-portal .portal-guide-weld-well,
.main-portal .portal-guide-weld-edge,
.main-portal .portal-guide-weld-highlight,
.main-portal .portal-guide-weld-shadow {
     display:none !important;
}
}


.main-portal .portal-project-body {
/* -----------------------------------------
     grid-template-rows:repeat(2,minmax(0,1fr));
최종 시각 픽셀 보정 / 20260712
-----------------------------------------
목표는 선언값이 아니라 화면에서 보이는 색 면이다.
 
상단 카테고리:
- 우물 inset 1px
- 순수 #080808 간격 2px
- 실제 버튼 22px
- 기존 전체 행 높이는 유지
 
본문 패널:
- #050505 외곽선 1px
- 방향성 inset 1px
- 순수 #1d1d1d 면 7px
- 내부 #080808 우물
*/
 
/* ─────────────────────────────────────────
상단 카테고리: 실제 보이는 우물 간격 2px
───────────────────────────────────────── */
.main-portal > [data-component="category-nav"] {
     padding:8px !important;
    background:#1d1d1d !important;
    border:1px solid #050505 !important;
    box-shadow:
        inset 0 1px 0 #555555,
        inset -1px 0 0 #555555,
        inset 1px 0 0 #101010,
        inset 0 -1px 0 #101010 !important;
}
}


.main-portal .portal-dock-button,
/* 이전 border 기반 내부선은 코너 혼색을 만들므로 완전히 제거한다. */
.main-portal .portal-dock-button > a {
.main-portal > [data-component="category-nav"]::after {
     width:100%;
     content:none !important;
     min-width:0;
     display:none !important;
     height:100%;
    border:0 !important;
     box-shadow:none !important;
}
}


.main-portal .portal-dock-button > a {
/*
     display:flex;
우물 inset 1px + padding 3px.
     align-items:center;
첫 1px은 inset이고, 그 뒤 순수 #080808이 정확히 2px 남는다.
     justify-content:center;
*/
     padding:0 8px;
.main-portal > [data-component="category-nav"] > .portal-category-nav {
     overflow:hidden;
     display:block !important;
     background:var(--panel);
    position:relative !important;
     border:1px solid var(--edge);
    width:100% !important;
     height:auto !important;
     margin:0 !important;
     padding:3px !important;
    box-sizing:border-box !important;
     overflow:hidden !important;
     background:#080808 !important;
     border:0 !important;
     box-shadow:
     box-shadow:
         inset 0 1px 0 var(--highlight),
         inset 0 1px 0 #101010,
         inset -1px 0 0 var(--highlight),
         inset -1px 0 0 #101010,
         inset 1px 0 0 var(--shadow),
         inset 1px 0 0 #555555,
         inset 0 -1px 0 var(--shadow);
         inset 0 -1px 0 #555555 !important;
     color:var(--text) !important;
}
     font-size:13px;
 
     font-weight:700;
.main-portal > [data-component="category-nav"] .portal-category-svg {
     line-height:normal;
    display:block !important;
     text-align:center;
     position:relative !important;
     text-overflow:ellipsis;
     inset:auto !important;
     white-space:nowrap;
     width:100% !important;
     height:22px !important;
     min-height:22px !important;
     max-height:22px !important;
     overflow:visible !important;
}
}


.main-portal .portal-project-body .portal-dock-button > a {
/* ─────────────────────────────────────────
     font-size:14px;
본문 패널: 순수 #1d1d1d 면 7px + 선명한 inset
───────────────────────────────────────── */
body.action-view.clbi-main-page .main-portal .main-body-panel,
.main-portal .main-body-panel {
     padding:8px !important;
    position:relative !important;
    background:#1d1d1d !important;
    border:1px solid #050505 !important;
    border-radius:0 !important;
    box-shadow:none !important;
}
}


.main-portal .portal-dock-button > a:hover,
/*
.main-portal .portal-dock-button > a:focus {
box-shadow 코너 중첩 대신 네 개의 불투명 1px 면을 직접 그린다.
     color:var(--text-strong) !important;
첫 번째 레이어가 코너 우선권을 가진다.
- 상단 #555555가 좌상단/우상단 우선
- 우측 #555555가 우하단 우선
- 좌측/하단 #101010
*/
body.action-view.clbi-main-page .main-portal .main-body-panel::before,
.main-portal .main-body-panel::before {
     content:"" !important;
    display:block !important;
    position:absolute !important;
    inset:0 !important;
    z-index:2147482990 !important;
    pointer-events:none !important;
    border:0 !important;
    background:
        linear-gradient(#555555,#555555) 0 0 / 100% 1px no-repeat,
        linear-gradient(#555555,#555555) 100% 0 / 1px 100% no-repeat,
        linear-gradient(#101010,#101010) 0 0 / 1px 100% no-repeat,
        linear-gradient(#101010,#101010) 0 100% / 100% 1px no-repeat !important;
}
}


.main-portal .portal-dock-button > a:active {
/* 본문 우물의 오목한 inset도 최종 규칙으로 고정한다. */
     color:var(--text) !important;
.main-portal .main-body-well {
    background:#080808 !important;
     border:0 !important;
     box-shadow:
     box-shadow:
         inset 0 1px 0 var(--shadow),
         inset 0 1px 0 #101010,
         inset -1px 0 0 var(--shadow),
         inset -1px 0 0 #101010,
         inset 1px 0 0 var(--highlight),
         inset 1px 0 0 #555555,
         inset 0 -1px 0 var(--highlight);
         inset 0 -1px 0 #555555 !important;
}
}


@media screen and (max-width:1100px) {
/* -----------------------------------------
    .main-portal .portal-bottom-row {
본문 프레임 최종 시각 폭 7px
        grid-template-columns:520px minmax(0,1fr);
-----------------------------------------
    }
inset은 layout 폭을 소비하지 않고 padding 면 위에 그려진다.
 
따라서 순수 프레임 폭 7px 목표에는 padding 자체를 7px로 둔다.
    .main-portal .portal-project-frame {
상단 버튼과 하단 아치 구조는 변경하지 않는다.
        grid-column:1 / -1;
*/
     }
body.action-view.clbi-main-page .main-portal .main-body-panel,
.main-portal .main-body-panel {
    /*
    inset 1px이 프레임 면 위를 덮으므로 레이아웃 padding은 8px을 사용한다.
    최종 화면에서 보이는 순수 #1d1d1d 면은 7px이다.
    */
     padding:8px !important;
}
}


@media screen and (max-width:620px) {
/* -----------------------------------------
    .main-portal .portal-bottom-row {
하단 아치 프레임 외곽·하단 안쪽선 정확 보정 / 20260712
        grid-template-columns:minmax(0,1fr);
-----------------------------------------
    }
대상 구분:
- 버튼 자체의 외곽 #050505는 유지
- 아치형 바깥 프레임의 외부 #050505만 제거
- 버튼 하단 inset은 기본 #101010 유지
- 아치 프레임 하단 안쪽 면에만 #555555 1px 추가
*/


    .main-portal .portal-project-frame {
/* 버튼 자체는 원래 마감으로 복구한다. */
        grid-column:auto;
.main-portal .portal-guide-nav .portal-cat-edge {
    }
    fill:#050505 !important;
}
}


/* =========================================
.main-portal .portal-guide-nav .portal-cat-inset-bottom {
ArchiveGraph STATUS 내장형
    stroke:#101010 !important;
- 중앙 콘솔은 기존 IMAGE FEED / 선언문을 유지한다.
}
- 관계 그래프는 STATUS 프레임 안에서 1:1 정사각형으로 표시한다.
- 사용자 드래그와 패닝은 허용하지 않는다.
========================================= */


.main-portal .portal-status-graph-body {
/* 아치형 프레임 바깥의 #050505 외곽선만 제거한다. */
     min-width:0;
.main-portal .portal-guide-arch-edge {
    min-height:0;
     display:none !important;
}
}


.main-portal .archive-graph {
/* 아치 프레임의 실제 하단 안쪽 면. 버튼과는 별도 요소다. */
    position:relative;
.main-portal .portal-guide-arch-inner-bottom {
    width:100%;
     display:block !important;
    max-width:100%;
     fill:#555555 !important;
    aspect-ratio:1 / 1;
     stroke:none !important;
    height:auto;
     shape-rendering:crispEdges;
    min-width:0;
     min-height:0;
     align-self:center;
    overflow:hidden;
    isolation:isolate;
    background:
        radial-gradient(circle at center, rgba(255,255,255,0.025) 0, transparent 62%),
        #030303;
     box-shadow:
        inset 0 1px 0 var(--shadow),
        inset -1px 0 0 var(--shadow),
        inset 1px 0 0 var(--highlight),
        inset 0 -1px 0 var(--highlight);
    user-select:none;
     touch-action:auto;
}
}


.main-portal .archive-graph::before {
/* 이전에 잘못 집었던 패널 하단 보조선에는 밝은 선을 두지 않는다. */
    content:"";
.main-portal .portal-guide-panel-bottom-inner {
    position:absolute;
     stroke:#101010 !important;
    inset:0;
    z-index:1;
    pointer-events:none;
    opacity:0.18;
    background-image:radial-gradient(circle, rgba(226,226,226,0.22) 0 1px, transparent 1px);
     background-size:18px 18px;
    mask-image:radial-gradient(circle at center, #000 0, transparent 78%);
}
}


.main-portal .archive-graph-canvas {
 
     position:absolute;
 
    inset:0;
/* -----------------------------------------
    z-index:2;
하단 길라잡이 통합 프레임 위치 확정 / 20260713
    display:block;
본문 패널의 원래 하단 프레임은 분리하지 않는다.
    width:100%;
버튼·아치·클릭 영역만 현재 상태에서 1px 위로 이동한다.
    height:100%;
----------------------------------------- */
    cursor:default;
.main-portal .main-body-panel > [data-component="category-guide-nav"] {
    outline:0;
     bottom:1px !important;
}
}


.main-portal .archive-graph-loading {
 
    position:absolute;
/* -----------------------------------------
    left:50%;
하단 중앙 접합: 애드온 프레임 1px 연장 / 20260713
    top:50%;
- 본문 패널의 원래 전체 프레임은 그대로 유지
    z-index:4;
- 버튼과 좌·우·상단 아치 프레임만 애드온
    width:calc(100% - 32px);
- 별도 #555555 하단선은 생성하지 않음
    max-width:240px;
- JS가 아치 외곽면만 아래로 1px 연장하여 원래 우물 하단선을 같은 행에서 덮음
    min-width:0;
----------------------------------------- */
    padding:8px;
.main-portal .portal-guide-arch-inner-bottom {
    display:flex;
     display:none !important;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
    transform:translate(-50%,-50%);
    overflow:hidden;
    background:var(--panel);
    border:1px solid var(--edge);
    box-shadow:
        inset 0 1px 0 var(--highlight),
        inset -1px 0 0 var(--highlight),
        inset 1px 0 0 var(--shadow),
        inset 0 -1px 0 var(--shadow);
    color:var(--text-strong);
    font-size:11px;
    font-weight:700;
    line-height:15px;
    text-align:center;
     pointer-events:none;
}
}


.main-portal .archive-graph-loading small {
 
    display:block;
/* -----------------------------------------
    max-width:100%;
대문 선언문 절차적 진입 애니메이션 / 20260713
    overflow:hidden;
-----------------------------------------
    color:var(--meta);
제목·구분선·본문 행은 실제 HTML 요소를 Web Animations API로 움직인다.
    font-size:9px;
CSS transition 클래스 전환에 의존하지 않아 초기 진입·새로고침·SPA에서
    font-weight:400;
최종 상태로 순간 점프하는 문제를 피한다.
     line-height:13px;
*/
     text-overflow:ellipsis;
 
     white-space:nowrap;
/*
원문은 기본 표시 상태다.
JS가 폰트·행 측정·구분선 DOM까지 모두 준비한 뒤 붙이는
.manifesto-intro-prepared만 애니메이션의 초기 프레임을 소유한다.
따라서 강력 새로고침이나 raw 스크립트 실패가 본문을 숨길 수 없다.
*/
 
.main-portal.manifesto-intro-prepared .main-manifesto-title {
     position:relative !important;
     opacity:0;
     border-bottom:0 !important;
}
}


.main-portal .archive-graph-loading.is-hidden {
.main-portal .main-manifesto-title {
     display:none;
    position:relative !important;
    border-bottom:0 !important;
    box-shadow:none !important;
    background-image:none !important;
     text-decoration:none !important;
}
}


.main-portal .archive-graph-loading.is-error {
.main-portal .main-manifesto-title::before,
     color:#ffffff;
.main-portal .main-manifesto-title::after {
     content:none !important;
    display:none !important;
}
}


.main-portal .archive-graph-caption {
.main-portal .main-manifesto-title > .manifesto-divider {
    display:block;
     position:absolute;
     position:absolute;
     left:0;
     left:0;
     right:0;
     right:0;
     bottom:0;
     bottom:0;
     z-index:3;
     width:100%;
     height:24px;
     height:1px;
     padding:0 6px;
     margin:0;
     display:flex;
     padding:0;
    align-items:center;
     overflow:visible;
    justify-content:space-between;
     background:transparent !important;
    gap:6px;
     border:0 !important;
     overflow:hidden;
     box-shadow:none !important;
     background:rgba(16,16,16,0.95);
     border-top:1px solid var(--edge);
     color:var(--text);
    font-size:10px;
    font-weight:700;
    line-height:23px;
     pointer-events:none;
     pointer-events:none;
    z-index:4;
}
/* ManifestoIntro가 소유권을 얻은 뒤에는 이전 구분선 소스를 모두 차단한다. */
.main-portal.manifesto-divider-controlled .main-manifesto-title {
    border-bottom:0 !important;
    box-shadow:none !important;
    background-image:none !important;
    text-decoration:none !important;
}
}


.main-portal .archive-graph-caption-title {
.main-portal.manifesto-divider-controlled .main-manifesto-title::before,
    min-width:0;
.main-portal.manifesto-divider-controlled .main-manifesto-title::after,
    overflow:hidden;
.main-portal.manifesto-divider-controlled .main-manifesto-inner > hr,
     text-overflow:ellipsis;
.main-portal.manifesto-divider-controlled .main-manifesto-divider,
     white-space:nowrap;
.main-portal.manifesto-divider-controlled [data-manifesto-divider-track] {
     content:none !important;
     display:none !important;
}
}


.main-portal .archive-graph-caption-count {
.main-portal .main-manifesto-title > .manifesto-divider > .manifesto-divider-half {
     flex:0 0 auto;
     display:block;
     color:var(--meta);
    position:absolute;
     white-space:nowrap;
    top:0;
    width:50%;
    height:1px;
    margin:0;
    padding:0;
    background:#626262;
    border:0;
     box-shadow:none;
    transform:scaleX(0);
     will-change:transform;
}
}


.main-portal .graph-language-stats {
.main-portal .main-manifesto-title > .manifesto-divider > .manifesto-divider-left {
     min-width:0;
     left:0;
     min-height:0;
     transform-origin:100% 50%;
    height:100%;
    display:grid;
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:repeat(6,minmax(0,1fr));
    gap:var(--gap);
}
}


.main-portal .graph-language-stat {
.main-portal .main-manifesto-title > .manifesto-divider > .manifesto-divider-right {
    min-width:0;
     right:0;
    min-height:0;
     transform-origin:0 50%;
    padding:8px;
    overflow:hidden;
    background:var(--panel);
     border:1px solid var(--edge);
     box-shadow:
        inset 0 1px 0 var(--highlight),
        inset -1px 0 0 var(--highlight),
        inset 1px 0 0 var(--shadow),
        inset 0 -1px 0 var(--shadow);
}
}


.main-portal .graph-language-stat-well {
/*
제목 구분선이 완성된 뒤 같은 위치에서 분리되어 본문 하단까지 내려가는 실선.
최종 이동 거리는 ManifestoIntro가 실제 렌더된 본문 높이를 정수 px로 측정한다.
*/
.main-portal .main-manifesto-inner > .manifesto-divider-drop {
    display:block;
    position:absolute;
    left:0;
     width:100%;
     width:100%;
     height:100%;
     height:1px;
     min-width:0;
     margin:0;
    min-height:0;
     padding:0;
     padding:0 8px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
     overflow:hidden;
     overflow:hidden;
     background:var(--well);
     background:#626262;
     box-shadow:
    border:0;
        inset 0 1px 0 var(--shadow),
     box-shadow:none;
        inset -1px 0 0 var(--shadow),
    opacity:0;
        inset 1px 0 0 var(--highlight),
    transform:translateY(0);
        inset 0 -1px 0 var(--highlight);
    will-change:transform, opacity;
    pointer-events:none;
    z-index:3;
}
}


.main-portal .graph-language-stat-label {
.main-portal .main-manifesto-copy.manifesto-line-measuring .manifesto-measure-token {
     color:var(--meta);
     display:inline;
     font-size:10px;
     white-space:normal;
     font-weight:700;
     font:inherit;
     white-space:nowrap;
     color:inherit;
}
}


.main-portal .graph-language-stat-value {
.main-portal .main-manifesto-copy .manifesto-line {
     color:var(--text);
     display:block;
     font-family:Consolas, Monaco, monospace !important;
    width:100%;
     font-size:16px;
    height:26px;
     font-weight:700;
    min-height:0;
     line-height:20px;
    max-height:26px;
     white-space:nowrap;
    margin:0;
     padding:0;
     overflow:visible;
     opacity:1;
     line-height:26px !important;
    clip-path:inset(0 0 0 0);
     will-change:height, max-height, opacity, clip-path;
}
}


.main-portal .graph-language-stat.is-current-language .graph-language-stat-label,
.main-portal .main-manifesto-copy .manifesto-line-inner {
.main-portal .graph-language-stat.is-current-language .graph-language-stat-value {
    display:block;
     color:var(--text-strong);
    width:100%;
    height:26px;
    margin:0;
    padding:0;
    line-height:26px !important;
    opacity:1;
     transform:translateY(0);
    will-change:transform, opacity;
}
}


/* INFORMATION / PROJECTS는 링크 카드가 아니라 그래프 조작부로 동작한다. */
.main-portal.manifesto-intro-prepared .main-manifesto-copy {
.main-portal .graph-control {
     visibility:visible !important;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 8px;
    overflow:hidden;
    background:var(--panel);
    border:1px solid var(--edge);
    box-shadow:
        inset 0 1px 0 var(--highlight),
        inset -1px 0 0 var(--highlight),
        inset 1px 0 0 var(--shadow),
        inset 0 -1px 0 var(--shadow);
    color:var(--text);
    font-size:13px;
    font-weight:700;
    line-height:normal;
    text-align:center;
    text-overflow:ellipsis;
    white-space:nowrap;
    cursor:pointer;
     outline:0;
}
}


.main-portal .portal-information-body .graph-control {
.main-portal.manifesto-intro-prepared .main-manifesto-copy .manifesto-line {
     padding:8px 0;
     height:0;
     writing-mode:vertical-rl;
     max-height:0;
     text-orientation:upright;
     overflow:hidden;
     letter-spacing:1px;
     opacity:0;
     white-space:normal;
     clip-path:inset(0 0 100% 0);
}
}


.main-portal .portal-project-body .graph-control {
.main-portal.manifesto-intro-prepared .main-manifesto-copy .manifesto-line-inner {
     font-size:14px;
     opacity:.18;
    transform:translateY(-10px);
}
}


.main-portal .graph-control:hover,
.main-portal.manifesto-intro-complete .main-manifesto-title {
.main-portal .graph-control:focus {
     opacity:1;
     color:var(--text-strong);
    border-bottom:0 !important;
}
}


.main-portal .graph-control.is-active {
.main-portal.manifesto-intro-complete .main-manifesto-title > .manifesto-divider > .manifesto-divider-half {
    background:var(--well);
     transform:scaleX(1);
    color:var(--text-strong);
     box-shadow:
        inset 0 1px 0 var(--shadow),
        inset -1px 0 0 var(--shadow),
        inset 1px 0 0 var(--highlight),
        inset 0 -1px 0 var(--highlight);
}
}


.main-portal .graph-control:active {
.main-portal.manifesto-intro-complete .main-manifesto-copy .manifesto-line {
     color:var(--text);
     height:26px;
    max-height:26px;
    overflow:visible;
    opacity:1;
    clip-path:inset(0 0 0 0);
}
}


@media screen and (max-width:1280px) {
.main-portal.manifesto-intro-complete .main-manifesto-copy .manifesto-line-inner {
    .main-portal .portal-bottom-row {
    opacity:1;
        grid-template-columns:480px minmax(0,1fr) 360px;
    transform:translateY(0);
    }
 
    .main-portal .portal-status-body {
        grid-template-columns:minmax(0,1fr) 132px;
    }
}
}


@media screen and (max-width:1100px) {
@media (prefers-reduced-motion:reduce) {
     .main-portal .portal-bottom-row {
     .main-portal.manifesto-intro-prepared .main-manifesto-title {
         grid-template-columns:520px minmax(0,1fr);
         opacity:1;
        border-bottom:0 !important;
     }
     }


     .main-portal .portal-project-frame {
     .main-portal .main-manifesto-title > .manifesto-divider {
         grid-column:1 / -1;
         display:block !important;
        left:0 !important;
        width:100% !important;
        background:transparent !important;
     }
     }
}


@media screen and (max-width:760px) {
     .main-portal .main-manifesto-title > .manifesto-divider > .manifesto-divider-half {
     .main-portal .portal-bottom-row {
         transform:scaleX(1) !important;
         grid-template-columns:minmax(0,1fr);
     }
     }


     .main-portal .portal-bottom-frame {
     .main-portal .main-manifesto-inner > .manifesto-divider-drop {
         height:360px;
         opacity:1;
     }
     }


     .main-portal .portal-project-frame {
     .main-portal.manifesto-intro-prepared .main-manifesto-copy .manifesto-line,
         grid-column:auto;
    .main-portal.manifesto-intro-prepared .main-manifesto-copy .manifesto-line-inner {
         height:26px;
        max-height:26px;
        overflow:visible;
        opacity:1;
        clip-path:none;
        transform:none;
     }
     }
}
}

2026년 7월 21일 (화) 11:56 기준 최신판

/* =========================================
COASTLINE: BLACK ICE - MainPage
로고 + 카테고리 네비 + 선언문 대문
========================================= */

/*
책임 범위
-----------------------------------------
- 대문 본문 .main-portal 내부만 담당한다.
- 사이트 공통 셸은 Layout.css가 담당한다.
- 카테고리 네비의 SVG 구조는 CategoryNav.js가 생성한다.
- 콘솔, 그래프, STATUS, INFORMATION, PROJECTS는 대문에서 제거한다.
- 「진창」 선언문 배치는 이 파일이 담당하며, 폰트 선언은 Theme.css가 담당한다.
*/

.main-portal {
    --panel:#1d1d1d;
    --well:#080808;
    --edge:#050505;
    --highlight:#555555;
    --shadow:#101010;
    --text:#e2e2e2;
    --text-strong:#ffffff;
    --block-gap:2px;
    --frame:8px;
    --manifesto-divider-gap:8px;
    width:100%;
    min-height:100%;
    margin:0;
    padding:0;
    display:flex;
    flex-direction:column;
    color:var(--text);
    background:transparent;
    font-size:12px;
    line-height:18px;
    box-sizing:border-box;
}

body.action-view.clbi-main-page .liberty-content-main .mw-parser-output {
    display:flex !important;
    flex-direction:column !important;
}

body.action-view.clbi-main-page .liberty-content-main .mw-parser-output > .main-portal {
    flex:1 0 auto;
    min-height:0;
}

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

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

.main-portal a:hover,
.main-portal a:focus {
    color:var(--text-strong) !important;
    text-decoration:none !important;
}

/* 과거 대문 구조가 캐시에 남아 있어도 화면에는 나타나지 않게 한다. */
.main-portal > .console,
.main-portal > .portal-bottom-row,
.main-portal > [data-archive-graph] {
    display:none !important;
}

/* -----------------------------------------
공통 돌출 프레임
----------------------------------------- */

.main-portal .lab-logo {
    background:var(--panel, #1d1d1d);
    border:1px solid var(--edge, #050505);
    border-radius:0;
    box-shadow:
        inset 0 1px 0 var(--highlight, #555555),
        inset -1px 0 0 var(--highlight, #555555),
        inset 1px 0 0 var(--shadow, #101010),
        inset 0 -1px 0 var(--shadow, #101010);
}

.main-portal .lab-logo {
    flex:0 0 auto;
    margin:0 0 var(--block-gap);
}

.main-portal [data-component="category-nav"] {
    flex:0 0 auto;
    display:block;
    width:100%;
    margin:0;
}

/* -----------------------------------------
로고 프레임
----------------------------------------- */

.main-portal .lab-logo {
    padding:var(--frame);
    overflow:hidden;
}

.main-portal .portal-logo-well {
    min-height:86px;
    padding:10px 8px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    background:var(--well);
    border:0;
    box-shadow:
        inset 0 1px 0 var(--shadow),
        inset -1px 0 0 var(--shadow),
        inset 1px 0 0 var(--highlight),
        inset 0 -1px 0 var(--highlight);
    line-height:0;
}

.main-portal .portal-logo-well a,
.main-portal .portal-logo-well .mw-file-description {
    display:inline-block;
    line-height:0;
}

.main-portal .portal-logo-well img,
.main-portal .portal-logo-well .mw-file-element {
    display:block;
    width:1000px;
    max-width:144%;
    height:auto;
    filter:grayscale(1) contrast(1.04) brightness(1.02);
}

/* -----------------------------------------
카테고리 네비
----------------------------------------- */

.portal-category-nav {
    position:relative;
    width:100%;
    height:36px;
    margin:0;
    padding:0;
    overflow:hidden;
    background:var(--well, #080808);
    border:0;
    border-radius:0;
    box-shadow:none;
}

.portal-category-svg {
    display:block;
    width:100%;
    height:100%;
    overflow:visible;
}

/*
각 버튼은 SVG 안에서 독립된 사선 프레임으로 그린다.
- 외곽 1px: #050505
- 본체: #1d1d1d
- 상단/우측 inset: #555555
- 좌측/하단 inset: #101010
- 버튼 사이 배경: #080808 2px
*/
.portal-cat-edge {
    fill:#050505;
    stroke:none;
}

.portal-cat-surface {
    fill:#1d1d1d;
    stroke:none;
}

.portal-cat-inset {
    fill:none;
    stroke-width:1;
    vector-effect:non-scaling-stroke;
    shape-rendering:crispEdges;
}

.portal-cat-inset-top,
.portal-cat-inset-right {
    stroke:#555555;
}

.portal-cat-inset-bottom,
.portal-cat-inset-left {
    stroke:#101010;
}

.portal-cat-hit {
    fill:transparent;
    stroke:none;
    cursor:pointer;
}

.portal-cat-anchor:hover .portal-cat-surface,
.portal-cat-anchor:focus .portal-cat-surface {
    fill:#242424;
}

.portal-cat-anchor:active .portal-cat-surface {
    fill:#101010;
}

.portal-cat-anchor:active .portal-cat-inset-top,
.portal-cat-anchor:active .portal-cat-inset-right {
    stroke:#101010;
}

.portal-cat-anchor:active .portal-cat-inset-bottom,
.portal-cat-anchor:active .portal-cat-inset-left {
    stroke:#555555;
}

.portal-cat-label {
    fill:#e2e2e2;
    font-family:inherit;
    font-size:12px;
    font-weight:700;
    text-anchor:middle;
    dominant-baseline:middle;
    pointer-events:none;
    paint-order:stroke;
    stroke:#050505;
    stroke-width:2px;
    stroke-linejoin:round;
}

.portal-cat-anchor:hover .portal-cat-label,
.portal-cat-anchor:focus .portal-cat-label {
    fill:#ffffff;
}

.main-portal a,
.main-portal .portal-cat-surface,
.main-portal .portal-cat-inset,
.main-portal .portal-cat-label {
    transition:none !important;
}

@media screen and (max-width:820px) {
    .portal-cat-label {
        font-size:11px;
    }
}

@media screen and (max-width:620px) {
    .main-portal {
        --frame:6px;
    }
}

/* -----------------------------------------
대문 선언문 / 실제 픽셀 웹폰트 단일 구현
----------------------------------------- */

@font-face {
    font-family:'NanumMyeongjoBold Pixel 18';
    src:url('/fonts/NanumMyeongjoBoldPixel18.woff2?v=20260713-perfect-bottom-direct-002') format('woff2');
    font-weight:400;
    font-style:normal;
    font-display:block;
}

.main-portal .main-manifesto {
    flex:1 0 auto;
    min-height:0;
    width:100%;
    margin:0;
    padding:10px 0 24px;
    display:flex;
    align-items:flex-start;
    justify-content:center;
    overflow:visible;
}

.main-portal .main-manifesto-inner {
    position:relative !important;
    top:0 !important;
    left:0 !important;
    width:660px !important;
    min-width:660px !important;
    max-width:660px !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    margin:0 auto !important;
    padding:0 !important;
    overflow:visible !important;
    color:#e2e2e2 !important;
    background:transparent !important;
    transform:none !important;
}

.main-portal .main-manifesto-inner::before,
.main-portal .main-manifesto-inner::after {
    content:none !important;
    display:none !important;
    background:none !important;
}

.main-portal .main-manifesto-title {
    position:static !important;
    top:auto !important;
    left:auto !important;
    width:660px !important;
    height:calc(48px + var(--manifesto-divider-gap) + 1px) !important;
    min-height:calc(48px + var(--manifesto-divider-gap) + 1px) !important;
    max-height:calc(48px + var(--manifesto-divider-gap) + 1px) !important;
    margin:0 0 var(--manifesto-divider-gap) !important;
    padding:0 0 var(--manifesto-divider-gap) !important;
    overflow:visible !important;
    clip:auto !important;
    clip-path:none !important;
    color:#e2e2e2 !important;
    -webkit-text-fill-color:#e2e2e2 !important;
    background:transparent !important;
    border:0 !important;
    /* 구분선은 ManifestoIntro가 만드는 좌우 실선 두 개만 사용한다. */
    border-bottom:0 !important;
    font-family:'NanumMyeongjoBold Pixel 18' !important;
    font-size:36px !important;
    font-weight:400 !important;
    font-style:normal !important;
    font-synthesis:none !important;
    font-kerning:none !important;
    font-variant-ligatures:none !important;
    font-feature-settings:'kern' 0, 'liga' 0 !important;
    line-height:48px !important;
    letter-spacing:0 !important;
    text-align:center !important;
    text-shadow:none !important;
    transform:none !important;
    user-select:text !important;
}

.main-portal .main-manifesto-copy {
    position:static !important;
    top:auto !important;
    left:auto !important;
    width:620px !important;
    min-width:620px !important;
    max-width:620px !important;
    height:auto !important;
    margin:0 auto !important;
    padding:0 !important;
    overflow:visible !important;
    color:#e2e2e2 !important;
    -webkit-text-fill-color:#e2e2e2 !important;
    background:transparent !important;
    font-family:'NanumMyeongjoBold Pixel 18' !important;
    font-size:18px !important;
    font-weight:400 !important;
    font-style:normal !important;
    font-synthesis:none !important;
    font-kerning:none !important;
    font-variant-ligatures:none !important;
    font-feature-settings:'kern' 0, 'liga' 0 !important;
    line-height:26px !important;
    letter-spacing:0 !important;
    word-break:keep-all !important;
    overflow-wrap:break-word !important;
    text-align:left !important;
    text-shadow:none !important;
    transform:none !important;
    user-select:text !important;
}

.main-portal .main-manifesto-copy,
.main-portal .main-manifesto-copy * {
    font-family:'NanumMyeongjoBold Pixel 18' !important;
    font-size:18px !important;
    font-weight:400 !important;
    font-style:normal !important;
    font-synthesis:none !important;
    font-kerning:none !important;
    font-variant-ligatures:none !important;
    font-feature-settings:'kern' 0, 'liga' 0 !important;
    line-height:26px !important;
    letter-spacing:0 !important;
    color:#e2e2e2 !important;
    -webkit-text-fill-color:#e2e2e2 !important;
}

.main-portal .main-manifesto-copy p {
    position:static !important;
    top:auto !important;
    left:auto !important;
    width:620px !important;
    height:auto !important;
    margin:0 0 10px !important;
    padding:0 !important;
    overflow:visible !important;
    clip:auto !important;
    clip-path:none !important;
    white-space:normal !important;
    transform:none !important;
    user-select:text !important;
}

.main-portal .main-manifesto-copy p:last-child {
    margin-bottom:0 !important;
}

.main-portal .main-manifesto-bitmap,
.main-portal canvas.main-manifesto-bitmap {
    display:none !important;
}

/*
길라잡이는 시대의 대륙 패널처럼 본문 DOM을 유지한 채 화면만 전환한다.
현재 단계에서는 왼쪽 더미 메뉴로 진입 애니메이션과 버튼 디자인만 확인한다.
*/
.main-portal .main-body-well > .main-guide-screen {
    flex:1 1 0;
    display:block;
    position:relative;
    width:100%;
    height:auto;
    min-height:0;
    margin:0;
    padding:0;
    overflow:hidden;
    background:transparent;
    border:0;
    box-shadow:none;
    z-index:1;
}

.main-portal .main-body-well > .main-guide-screen[hidden],
.main-portal .main-body-well > .main-manifesto[hidden] {
    display:none !important;
}

.main-portal .main-guide-menu {
    position:absolute;
    top:10px;
    left:10px;
    width:230px;
    margin:0;
    padding:0;
    display:flex;
    flex-direction:column;
    gap:2px;
    z-index:2;
}

.main-portal .main-guide-menu-item {
    width:230px;
    height:30px;
    margin:0;
    padding:0;
    opacity:0;
    transform:translateX(-240px);
    will-change:transform, opacity;
}

.main-portal .main-guide-screen.is-guide-menu-entering .main-guide-menu-item {
    animation:main-guide-menu-enter 260ms cubic-bezier(.16,.84,.24,1) both;
    animation-delay:calc(var(--guide-menu-order) * 44ms);
}

@keyframes main-guide-menu-enter {
    0% {
        opacity:0;
        transform:translateX(-240px);
    }
    72% {
        opacity:1;
        transform:translateX(4px);
    }
    100% {
        opacity:1;
        transform:translateX(0);
    }
}

.main-portal .main-guide-menu-button {
    appearance:none;
    -webkit-appearance:none;
    display:grid;
    grid-template-columns:30px minmax(0,1fr) 14px;
    align-items:center;
    width:230px;
    height:30px;
    margin:0;
    padding:0;
    overflow:hidden;
    box-sizing:border-box;
    color:#e2e2e2;
    background:#1d1d1d;
    border:1px solid #050505;
    border-radius:0;
    box-shadow:
        inset 0 1px 0 #555555,
        inset -1px 0 0 #555555,
        inset 1px 0 0 #101010,
        inset 0 -1px 0 #101010;
    font-family:inherit;
    font-size:12px;
    font-weight:700;
    line-height:28px;
    text-align:left;
    text-shadow:1px 1px 0 #050505;
    cursor:pointer;
}

.main-portal .main-guide-menu-number {
    display:block;
    width:30px;
    height:28px;
    color:#8f8f8f;
    background:#101010;
    border-right:1px solid #050505;
    box-shadow:inset 0 1px 0 #242424;
    line-height:28px;
    text-align:center;
}

.main-portal .main-guide-menu-label {
    display:block;
    min-width:0;
    height:28px;
    padding:0 8px;
    overflow:hidden;
    line-height:28px;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.main-portal .main-guide-menu-arrow {
    display:block;
    width:14px;
    height:28px;
    color:#8f8f8f;
    line-height:27px;
    text-align:center;
}

.main-portal .main-guide-menu-button:hover,
.main-portal .main-guide-menu-button:focus-visible {
    color:#ffffff;
    background:#242424;
    outline:0;
}

.main-portal .main-guide-menu-button:hover .main-guide-menu-number,
.main-portal .main-guide-menu-button:focus-visible .main-guide-menu-number,
.main-portal .main-guide-menu-button:hover .main-guide-menu-arrow,
.main-portal .main-guide-menu-button:focus-visible .main-guide-menu-arrow {
    color:#ffffff;
}

.main-portal .main-guide-menu-button:active {
    color:#e2e2e2;
    background:#101010;
    box-shadow:
        inset 0 1px 0 #101010,
        inset -1px 0 0 #101010,
        inset 1px 0 0 #555555,
        inset 0 -1px 0 #555555;
}

@media (prefers-reduced-motion:reduce) {
    .main-portal .main-guide-screen.is-guide-menu-entering .main-guide-menu-item {
        animation:none;
        opacity:1;
        transform:none;
    }
}

/* -----------------------------------------
상단 카테고리 중앙 「프로젝트」 기둥 / 20260716
-----------------------------------------
버튼 2개 - #1d1d1d 기둥 - 버튼 2개.

CategoryPillar.js가 기존 project 버튼의 좌우 사선과 2px 간격을 그대로 사용한다.
기둥은 같은 경사를 유지한 채 SVG의 위·아래로 3px 우물을 관통하며 외곽 프레임과 같은
#1d1d1d 면에 직접 닿는다. 상하 외곽선은 두지 않아 하나의 패널로
이어진다. 버튼과 접하는 좌우의 #050505 외곽선은 생략하되,
기존 안쪽 방향성 광원선을 그 외곽선 좌표로 한 칸 이동한다.
안쪽선이 있던 자리는 별도 선 없이 #1d1d1d 본체 면으로 돌아간다.
*/
.main-portal .portal-category-svg.has-category-pillar
.portal-cat-anchor[data-category-key="project"],
.main-portal .portal-category-svg.has-category-pillar
.portal-category-pillar-source {
    display:none !important;
    pointer-events:none !important;
}

.main-portal .portal-category-pillar {
    pointer-events:none;
    shape-rendering:crispEdges;
}

.main-portal .portal-category-pillar-surface {
    fill:#1d1d1d;
    stroke:none;
}

.main-portal .portal-category-pillar-line {
    fill:none;
    stroke-width:1;
    vector-effect:non-scaling-stroke;
    shape-rendering:crispEdges;
}

.main-portal .portal-category-pillar-shadow {
    stroke:#101010;
}

.main-portal .portal-category-pillar-highlight {
    stroke:#555555;
}

.main-portal .portal-category-pillar-label {
    fill:#e2e2e2;
    cursor:default;
    pointer-events:none;
}

/* -----------------------------------------
상단 카테고리 하단 작품 버튼 / 20260721
-----------------------------------------
상단 카테고리 프레임은 001 기준의 완전한 사각 외곽을 유지한다.
하단 작품 섹션은 상단 하부 프레임을 덮지 않는다.
두 구조는 #050505 하부 외곽선 1px만 공유한다.

행 구조(비축소 CSS px):
- 공유 외곽선 1px
- 순수 #080808 우물 2px
- 버튼 외곽 22px
- 순수 #080808 우물 2px
- 하단 프레임 8px
- SVG 전체 35px, margin-top:-1px, 실제 추가 높이 34px
*/
.main-portal > [data-component="portal-section-nav"] {
    flex:0 0 35px !important;
    display:block !important;
    position:relative !important;
    width:100% !important;
    height:35px !important;
    min-height:35px !important;
    max-height:35px !important;
    margin:-1px 0 0 !important;
    padding:0 !important;
    overflow:hidden !important;
    z-index:2 !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    isolation:auto !important;
}

.main-portal .portal-section-nav,
.main-portal .portal-section-svg {
    display:block !important;
    position:relative !important;
    width:100% !important;
    height:35px !important;
    min-height:35px !important;
    max-height:35px !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
}

.main-portal .portal-section-frame-edge {
    fill:#050505;
    stroke:none;
}

.main-portal .portal-section-frame-surface {
    fill:#1d1d1d;
    stroke:none;
}

.main-portal .portal-section-frame-well {
    fill:#080808;
    stroke:none;
}

.main-portal .portal-section-frame-edge,
.main-portal .portal-section-frame-surface,
.main-portal .portal-section-frame-well,
.main-portal .portal-section-button-geometry .portal-cat-edge,
.main-portal .portal-section-button-geometry .portal-cat-surface {
    shape-rendering:crispEdges;
}

.main-portal .portal-section-frame-highlight,
.main-portal .portal-section-frame-shadow,
.main-portal .portal-section-well-highlight,
.main-portal .portal-section-well-shadow {
    fill:none;
    stroke-width:1;
    vector-effect:non-scaling-stroke;
    shape-rendering:crispEdges;
}

.main-portal .portal-section-frame-highlight,
.main-portal .portal-section-well-highlight {
    stroke:#555555;
}

.main-portal .portal-section-frame-shadow,
.main-portal .portal-section-well-shadow {
    stroke:#101010;
}

.main-portal .portal-section-anchor,
.main-portal .portal-section-button-geometry {
    pointer-events:auto;
}

.main-portal .portal-section-label {
    fill:#e2e2e2;
}

/* 선언문 전용 장식은 길라잡이 화면으로 넘어갈 때 함께 숨긴다. */
.main-portal.is-guide-screen-active .main-body-well > .wiki-decoration,
.main-portal.is-guide-screen-active .main-body-well > [data-wiki-decoration-rendered="1"] {
    visibility:hidden !important;
    pointer-events:none !important;
}

@media screen and (max-width:700px) {
    .main-portal .main-manifesto {
        padding-top:10px;
        overflow-x:auto;
        justify-content:flex-start;
    }
}

/* -----------------------------------------
하단 길라잡이 버튼
-----------------------------------------
상단의 설정–프로젝트–기업 및 공동체 합산 폭을 공유한다.
사선 방향은 상단 묶음과 반대로, 넓은 변이 하단에 놓인다.
*/
.main-portal [data-component="category-guide-nav"] {
    flex:0 0 auto;
    display:block;
    width:100%;
    height:65px;
    margin:2px 0 0;
    padding:0;
    position:relative;
    z-index:2147483000 !important;
    pointer-events:auto;
}

.main-portal .portal-guide-nav {
    width:100%;
    height:65px;
    margin:0;
    background:var(--well, #080808);
}

.main-portal .portal-guide-svg {
    width:100%;
    height:65px;
}

.main-portal .portal-guide-label {
    fill:#e2e2e2;
}


/* 본문 데코가 별도 stacking context를 만들더라도 길라잡이 클릭면을 최상단에 유지한다. */
.main-portal .portal-guide-nav,
.main-portal .portal-guide-svg,
.main-portal .portal-guide-anchor {
    position:relative;
    z-index:2147483000 !important;
}

/* -----------------------------------------
대문 본문 패널 / 실제 래퍼·데코 클리핑
-----------------------------------------
구조:
로고 → 상단 버튼 → #1d1d1d 본문 프레임
                    └ #080808 우물
                       ├ 선언문
                       ├ 대문 데코
                       └ 길라잡이

외곽 프레임과 내부 우물 모두 paint를 잘라낸다.
따라서 데코는 저장된 좌표와 z-index에 관계없이
#1d1d1d 프레임의 경계를 넘어 보일 수 없다.
*/
.main-portal .main-body-panel {
    flex:1 0 auto;
    min-height:0;
    width:100%;
    margin:2px 0 0;
    padding:9px;
    position:relative;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    isolation:isolate;
    background:#1d1d1d;
    border:1px solid #050505;
    border-radius:0;
    box-shadow:
        inset 0 1px 0 #555555,
        inset -1px 0 0 #555555,
        inset 1px 0 0 #101010,
        inset 0 -1px 0 #101010;
}

.main-portal .main-body-well {
    flex:1 0 auto;
    min-height:0;
    width:100%;
    position:relative;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    isolation:isolate;
    background:#080808;
    border:0;
    /* 오목한 우물의 안쪽 경계: 상단/우측 어둡게, 좌측/하단 밝게. */
    box-shadow:
        inset 0 1px 0 #101010,
        inset -1px 0 0 #101010,
        inset 1px 0 0 #555555,
        inset 0 -1px 0 #555555;
}

/* 기존 선언문 좌표와 폭은 유지하되 새 우물 안의 흐름 요소로 둔다. */
.main-portal .main-body-well > .main-manifesto {
    flex:1 0 auto;
    min-height:0;
    width:100%;
    margin:0 !important;
    /*
    길라잡이 하단에 추가한 3px을 전체 높이에 더하지 않는다.
    기존 하단 여유 24px 안에서 3px을 넘겨 전체 패널 높이를 보존한다.
    */
    padding:10px 0 21px !important;
    position:relative !important;
    top:auto !important;
    left:auto !important;
    overflow:visible !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    transform:none !important;
    z-index:1;
}

/*
대문 장식 렌더러가 일반 장식을 이 우물의 직접 자식으로 넣는다.
position:absolute를 보장하고, 우물 overflow:hidden으로 절단한다.
*/
.main-portal .main-body-well > .wiki-decoration,
.main-portal .main-body-well > [data-wiki-decoration-rendered="1"] {
    position:absolute !important;
    margin:0 !important;
    max-width:none !important;
    max-height:none !important;
}

/* 길라잡이는 우물 최하단의 정상 흐름 요소다. */
.main-portal .main-body-well > [data-component="category-guide-nav"] {
    flex:0 0 65px;
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    height:65px !important;
    /*
    위쪽은 2px.
    아래쪽은 우물의 1px inset을 제외하고 순수 #080808이 2px 보이도록
    CSS margin-bottom을 3px로 둔다.
    */
    margin:2px 0 3px !important;
    padding:0 !important;
    position:relative !important;
    overflow:visible !important;
    z-index:2147483000 !important;
    pointer-events:auto !important;
}

.main-portal .main-body-well .portal-guide-nav,
.main-portal .main-body-well .portal-guide-svg,
.main-portal .main-body-well .portal-guide-anchor {
    position:relative;
    z-index:2147483000 !important;
}

/* 실패했던 display:contents 우회 구조는 사용하지 않는다. */
.main-portal > .main-body-panel,
.main-portal .main-body-well {
    box-sizing:border-box;
}

@media screen and (max-width:700px) {
    .main-portal .main-body-panel {
        min-width:660px;
    }
}

/* -----------------------------------------
대문 높이 체인 / 외부 스크롤 완전 제거
-----------------------------------------
Layout.css의 .mw-parser-output은 일반 문서를 위해 overflow-y:auto이다.
대문에서는 전체 패널이 남은 높이를 정확히 나눠 써야 하므로 예외 처리한다.

핵심:
- 바깥 스크롤 박스 비활성화
- 높이 전달 체인을 100%로 고정
- 각 세로 flex 구간을 flex:1 1 0으로 축소 가능하게 변경
- min-height:0으로 min-content 높이 강제 확장을 차단
*/
body.action-view.clbi-main-page .liberty-content-main,
body.action-view.clbi-main-page .liberty-content-main > #mw-content-text,
body.action-view.clbi-main-page .liberty-content-main > .mw-body-content,
body.action-view.clbi-main-page .liberty-content-main #mw-content-text,
body.action-view.clbi-main-page .liberty-content-main .mw-body-content,
body.action-view.clbi-main-page .liberty-content-main .mw-parser-output {
    min-height:0 !important;
    overflow:hidden !important;
}

body.action-view.clbi-main-page .liberty-content-main .mw-parser-output {
    flex:1 1 0 !important;
    height:100% !important;
    max-height:100% !important;
    display:flex !important;
    flex-direction:column !important;
    overflow-y:hidden !important;
    overflow-x:hidden !important;
    scrollbar-width:none !important;
}

body.action-view.clbi-main-page .liberty-content-main .mw-parser-output::-webkit-scrollbar {
    display:none !important;
    width:0 !important;
    height:0 !important;
}

body.action-view.clbi-main-page .liberty-content-main .mw-parser-output > .main-portal {
    flex:1 1 0 !important;
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    max-height:100% !important;
    overflow:hidden !important;
}

body.action-view.clbi-main-page .main-portal {
    flex:1 1 0 !important;
    height:100% !important;
    min-height:0 !important;
    max-height:100% !important;
    overflow:hidden !important;
}

body.action-view.clbi-main-page .main-portal .main-body-panel {
    flex:1 1 0 !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:hidden !important;
}

body.action-view.clbi-main-page .main-portal .main-body-well {
    flex:1 1 0 !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:hidden !important;
}

body.action-view.clbi-main-page .main-portal .main-body-well > .main-manifesto {
    flex:1 1 0 !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:hidden !important;
}

/* 길라잡이는 42px 본체·광원 + 상하 1px #050505 외곽선으로 44px이다.
   상하 2px #080808 간격, 상단 9px·하단 8px 프레임을 포함한 전체 행은 65px이다.
   상단 9px 중 외곽선·광원선을 제외한 #1d1d1d 실색 영역은 7px이다. */
body.action-view.clbi-main-page
.main-portal
.main-body-well > [data-component="category-guide-nav"] {
    flex:0 0 65px !important;
}

/* -----------------------------------------
버튼 프레임 / 상단 유지·하단 연속 용접
-----------------------------------------
상단 총 36px:
4px 프레임 + 2px #080808 + 24px 버튼 + 2px #080808 + 4px 프레임

하단 총 65px:
중앙에서 위로 솟은 패널 하단 프레임 + 2px #080808
+ 44px 길라잡이 외곽 + 2px #080808 + 공유 하단 프레임

하단은 별도 ㄷ자 상자가 아니다.
본문 패널의 하단 외곽선 자체가 중앙에서 사선으로 올라갔다 내려오는
하나의 연속된 프레임이다.
*/

/* ─────────────────────────────────────────
상단: 버튼 24px / 프레임과 2px 간격을 실제로 확보
───────────────────────────────────────── */
.main-portal > [data-component="category-nav"] {
    flex:none !important;
    display:block !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    margin:0 !important;
    padding:8px !important;
    position:relative !important;
    overflow:hidden !important;
    isolation:isolate !important;
    box-sizing:border-box !important;
    background:#1d1d1d !important;
    border:1px solid #050505 !important;
    border-radius:0 !important;
    box-shadow:
        inset 0 1px 0 #555555,
        inset -1px 0 0 #555555,
        inset 1px 0 0 #101010,
        inset 0 -1px 0 #101010 !important;
}

.main-portal > [data-component="category-nav"] > .portal-category-nav {
    display:block !important;
    position:relative !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    margin:0 !important;
    padding:2px !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
    background:#080808 !important;
    border:0 !important;
    /* 2px 간격은 순수 #080808이며 별도 광원선을 두지 않는다. */
    box-shadow:none !important;
}

.main-portal > [data-component="category-nav"] .portal-category-svg {
    display:block !important;
    position:relative !important;
    inset:auto !important;
    width:100% !important;
    height:24px !important;
    min-height:24px !important;
    max-height:24px !important;
    overflow:visible !important;
}

/* ─────────────────────────────────────────
하단: 기본 하단 프레임 위로만 중앙 버튼 프레임이 돌출
───────────────────────────────────────── */

/*
본문 패널의 기본 하단 프레임 두께는 유지하고,
그 위로만 길라잡이 사다리꼴 프레임이 돌출된다.
패널 전체가 두꺼운 하단 밴드가 되지 않도록 한다.
*/
body.action-view.clbi-main-page .main-portal .main-body-panel,
.main-portal .main-body-panel {
    padding:9px !important;
    border-bottom:0 !important;
    box-shadow:
        inset 0 1px 0 #555555,
        inset -1px 0 0 #555555,
        inset 1px 0 0 #101010 !important;
}

.main-portal .main-body-panel > [data-component="category-guide-nav"] {
    display:block !important;
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:auto !important;
    height:65px !important;
    min-height:65px !important;
    max-height:65px !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
    isolation:isolate !important;
    z-index:2147483000 !important;
    pointer-events:auto !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
}

.main-portal .main-body-panel > [data-component="category-guide-nav"] > .portal-guide-nav,
.main-portal .main-body-panel > [data-component="category-guide-nav"] .portal-guide-svg {
    display:block !important;
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:65px !important;
    min-height:65px !important;
    max-height:65px !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    z-index:2147483000 !important;
}

/* 기본 하단 프레임 + 중앙 돌출 프레임 */
.main-portal .portal-guide-panel-bottom-surface,
.main-portal .portal-guide-weld-outer {
    fill:#1d1d1d;
    stroke:none;
}

.main-portal .portal-guide-weld-well {
    fill:#080808;
    stroke:none;
}

.main-portal .portal-guide-panel-bottom-edge,
.main-portal .portal-guide-weld-edge {
    stroke:#050505;
    stroke-width:1;
    fill:none;
    vector-effect:non-scaling-stroke;
    shape-rendering:crispEdges;
}

/* 하단 기본 프레임: 상단만 #555555, 하단만 #101010. */
.main-portal .portal-guide-panel-bottom-highlight,
.main-portal .portal-guide-panel-bottom-shadow,
.main-portal .portal-guide-weld-shadow,
.main-portal .portal-guide-panel-bottom-inner {
    stroke:#101010;
    stroke-width:1;
    fill:none;
    vector-effect:non-scaling-stroke;
    shape-rendering:crispEdges;
}

/* 실제 길라잡이 버튼 외곽은 44px 사다리꼴이다. 바깥 돌출 프레임만 하단 기본 프레임과 용접된다. */
.main-portal .portal-guide-nav.is-continuous-weld
.portal-cat-inset-bottom {
    display:block !important;
}

/*
길라잡이 진입 상태:
- 전체 좌표계가 65px에서 45px로 실제 축소된다.
- 중앙 버튼은 44px에서 24px으로만 줄고, #1d1d1d 실면 7px의 9/8px 프레임은 유지한다.
- 좌우 우물은 중앙 버튼과 접합되는 단일 메인 프레임이 하단에서 올라와 메운다.
*/
.main-portal .portal-guide-button-geometry {
    transform:none;
}

.main-portal .portal-guide-rising-main-frame {
    transform-box:fill-box;
    transform-origin:center bottom;
}

.main-portal .portal-guide-rising-main-frame-edge {
    fill:#050505;
    stroke:none;
    shape-rendering:crispEdges;
}

.main-portal .portal-guide-rising-main-frame-surface {
    fill:#1d1d1d;
    stroke:none;
    shape-rendering:crispEdges;
}

.main-portal .portal-guide-rising-main-frame-highlight-top,
.main-portal .portal-guide-rising-main-frame-highlight-left {
    fill:#555555;
    stroke:none;
    shape-rendering:crispEdges;
}

.main-portal .portal-guide-rising-main-frame-shadow-right,
.main-portal .portal-guide-rising-main-frame-shadow-bottom {
    fill:#101010;
    stroke:none;
    shape-rendering:crispEdges;
}

/* 예전 우물 내부 mount 규칙 차단 */
.main-portal .main-body-well > [data-component="category-guide-nav"],
body.action-view.clbi-main-page
.main-portal
.main-body-well > [data-component="category-guide-nav"] {
    flex:none !important;
    width:0 !important;
    height:0 !important;
    min-height:0 !important;
    max-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
}

@media screen and (max-width:700px) {
    .main-portal > [data-component="category-nav"],
    .main-portal .main-body-panel {
        min-width:660px !important;
    }
}



/* -----------------------------------------
광원선 중복 방지 확정 규칙
-----------------------------------------
#555555는 독립된 #1d1d1d 돌출면의 상단·우측에만 사용한다.
#101010은 같은 면의 좌측·하단에만 사용한다.
#080808 우물과 2px 간격에는 광원선을 추가하지 않는다.
*/
.main-portal > [data-component="category-nav"] > .portal-category-nav {
    box-shadow:none !important;
}

/* 본문 우물은 오목한 방향성 선을 유지한다. */
.main-portal .main-body-well {
    box-shadow:
        inset 0 1px 0 #101010,
        inset -1px 0 0 #101010,
        inset 1px 0 0 #555555,
        inset 0 -1px 0 #555555 !important;
}

/* -----------------------------------------
프레임 안쪽선·하단 아치 오버레이 확정 규칙
-----------------------------------------
상단:
- 기존 구조와 치수 유지
- #1d1d1d 프레임의 안쪽 경계에 방향성 1px 선 추가
- 안쪽 우물 경계는 상단/우측 #101010, 좌측/하단 #555555
- 선은 프레임의 마지막 1px에 놓여 2px #080808 간격을 침범하지 않음

하단:
- main-body-panel의 원래 전체 프레임을 그대로 복구
- SVG는 전체 하단 프레임을 다시 그리지 않음
- 버튼과 하부를 비운 중앙 아치형 프레임 조각만 기존 프레임 위에 얹음
*/

/* 상단 외곽 프레임의 안쪽 우물 경계
   우물은 오목하므로 돌출면과 반대 방향이다.
   상단/우측 #101010, 좌측/하단 #555555. */
.main-portal > [data-component="category-nav"]::after {
    content:"";
    display:block;
    position:absolute;
    inset:8px;
    z-index:3;
    pointer-events:none;
    box-sizing:border-box;
    border-style:solid;
    border-width:1px;
    border-color:#101010 #101010 #555555 #555555;
}

/* 2px 우물 간격과 버튼은 안쪽선보다 아래 레이어에 둔다. */
.main-portal > [data-component="category-nav"] > .portal-category-nav {
    z-index:1 !important;
    box-shadow:none !important;
}

.main-portal > [data-component="category-nav"] .portal-category-svg {
    z-index:1 !important;
}

/* 기존 본문 패널의 전체 프레임을 복구한다. */
body.action-view.clbi-main-page .main-portal .main-body-panel,
.main-portal .main-body-panel {
    padding:9px !important;
    border:1px solid #050505 !important;
    box-shadow:
        inset 0 1px 0 #555555,
        inset -1px 0 0 #555555,
        inset 1px 0 0 #101010,
        inset 0 -1px 0 #101010 !important;
}

/* 아치 오버레이 좌표계. 패널 하부 자체는 투명하게 둔다. */
.main-portal .main-body-panel > [data-component="category-guide-nav"] {
    height:65px !important;
    min-height:65px !important;
    max-height:65px !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
}

.main-portal .main-body-panel > [data-component="category-guide-nav"] > .portal-guide-nav,
.main-portal .main-body-panel > [data-component="category-guide-nav"] .portal-guide-svg {
    height:65px !important;
    min-height:65px !important;
    max-height:65px !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
}

/* 아치 프레임 면과 내부 우물 */
.main-portal .portal-guide-arch-outer {
    fill:#1d1d1d;
    stroke:none;
}

.main-portal .portal-guide-arch-well {
    fill:#080808;
    stroke:none;
}

/* 아치의 최외곽: 상단과 양쪽 사선만 */
.main-portal .portal-guide-arch-edge {
    stroke:#050505;
    stroke-width:1;
    fill:none;
    vector-effect:non-scaling-stroke;
    shape-rendering:crispEdges;
}

/* 바깥 돌출면의 광원 */
.main-portal .portal-guide-arch-highlight {
    stroke:#555555;
    stroke-width:1;
    fill:none;
    vector-effect:non-scaling-stroke;
    shape-rendering:crispEdges;
}

.main-portal .portal-guide-arch-shadow {
    stroke:#101010;
    stroke-width:1;
    fill:none;
    vector-effect:non-scaling-stroke;
    shape-rendering:crispEdges;
}


/* 버튼과 마주 보는 하단 본문 프레임의 상단 1px만 담당한다.
   선 stroke가 아니라 정수 좌표의 1px rect이므로 2px로 번지지 않는다. */
.main-portal .portal-guide-facing-highlight {
    fill:#555555;
    stroke:none;
    shape-rendering:crispEdges;
}

/* 아치 안쪽 우물 경계: 상단/우측 어두움, 좌측 밝음. 하부는 열림. */
.main-portal .portal-guide-arch-inner-highlight {
    stroke:#101010;
    stroke-width:1;
    fill:none;
    vector-effect:non-scaling-stroke;
    shape-rendering:crispEdges;
}

.main-portal .portal-guide-arch-inner-shadow {
    stroke:#555555;
    stroke-width:1;
    fill:none;
    vector-effect:non-scaling-stroke;
    shape-rendering:crispEdges;
}

/* 이전 SVG가 그리던 독립 하단 프레임은 강제로 숨긴다. */
.main-portal .portal-guide-panel-bottom-surface,
.main-portal .portal-guide-panel-bottom-edge,
.main-portal .portal-guide-panel-bottom-highlight,
.main-portal .portal-guide-panel-bottom-shadow,
.main-portal .portal-guide-panel-bottom-inner,
.main-portal .portal-guide-weld-outer,
.main-portal .portal-guide-weld-well,
.main-portal .portal-guide-weld-edge,
.main-portal .portal-guide-weld-highlight,
.main-portal .portal-guide-weld-shadow {
    display:none !important;
}

/* -----------------------------------------
최종 시각 픽셀 보정 / 20260712
-----------------------------------------
목표는 선언값이 아니라 화면에서 보이는 색 면이다.

상단 카테고리:
- 우물 inset 1px
- 순수 #080808 간격 2px
- 실제 버튼 22px
- 기존 전체 행 높이는 유지

본문 패널:
- #050505 외곽선 1px
- 방향성 inset 1px
- 순수 #1d1d1d 면 7px
- 내부 #080808 우물
*/

/* ─────────────────────────────────────────
상단 카테고리: 실제 보이는 우물 간격 2px
───────────────────────────────────────── */
.main-portal > [data-component="category-nav"] {
    padding:8px !important;
    background:#1d1d1d !important;
    border:1px solid #050505 !important;
    box-shadow:
        inset 0 1px 0 #555555,
        inset -1px 0 0 #555555,
        inset 1px 0 0 #101010,
        inset 0 -1px 0 #101010 !important;
}

/* 이전 border 기반 내부선은 코너 혼색을 만들므로 완전히 제거한다. */
.main-portal > [data-component="category-nav"]::after {
    content:none !important;
    display:none !important;
    border:0 !important;
    box-shadow:none !important;
}

/*
우물 inset 1px + padding 3px.
첫 1px은 inset이고, 그 뒤 순수 #080808이 정확히 2px 남는다.
*/
.main-portal > [data-component="category-nav"] > .portal-category-nav {
    display:block !important;
    position:relative !important;
    width:100% !important;
    height:auto !important;
    margin:0 !important;
    padding:3px !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
    background:#080808 !important;
    border:0 !important;
    box-shadow:
        inset 0 1px 0 #101010,
        inset -1px 0 0 #101010,
        inset 1px 0 0 #555555,
        inset 0 -1px 0 #555555 !important;
}

.main-portal > [data-component="category-nav"] .portal-category-svg {
    display:block !important;
    position:relative !important;
    inset:auto !important;
    width:100% !important;
    height:22px !important;
    min-height:22px !important;
    max-height:22px !important;
    overflow:visible !important;
}

/* ─────────────────────────────────────────
본문 패널: 순수 #1d1d1d 면 7px + 선명한 inset
───────────────────────────────────────── */
body.action-view.clbi-main-page .main-portal .main-body-panel,
.main-portal .main-body-panel {
    padding:8px !important;
    position:relative !important;
    background:#1d1d1d !important;
    border:1px solid #050505 !important;
    border-radius:0 !important;
    box-shadow:none !important;
}

/*
box-shadow 코너 중첩 대신 네 개의 불투명 1px 면을 직접 그린다.
첫 번째 레이어가 코너 우선권을 가진다.
- 상단 #555555가 좌상단/우상단 우선
- 우측 #555555가 우하단 우선
- 좌측/하단 #101010
*/
body.action-view.clbi-main-page .main-portal .main-body-panel::before,
.main-portal .main-body-panel::before {
    content:"" !important;
    display:block !important;
    position:absolute !important;
    inset:0 !important;
    z-index:2147482990 !important;
    pointer-events:none !important;
    border:0 !important;
    background:
        linear-gradient(#555555,#555555) 0 0 / 100% 1px no-repeat,
        linear-gradient(#555555,#555555) 100% 0 / 1px 100% no-repeat,
        linear-gradient(#101010,#101010) 0 0 / 1px 100% no-repeat,
        linear-gradient(#101010,#101010) 0 100% / 100% 1px no-repeat !important;
}

/* 본문 우물의 오목한 inset도 최종 규칙으로 고정한다. */
.main-portal .main-body-well {
    background:#080808 !important;
    border:0 !important;
    box-shadow:
        inset 0 1px 0 #101010,
        inset -1px 0 0 #101010,
        inset 1px 0 0 #555555,
        inset 0 -1px 0 #555555 !important;
}

/* -----------------------------------------
본문 프레임 최종 시각 폭 7px
-----------------------------------------
inset은 layout 폭을 소비하지 않고 padding 면 위에 그려진다.
따라서 순수 프레임 폭 7px 목표에는 padding 자체를 7px로 둔다.
상단 버튼과 하단 아치 구조는 변경하지 않는다.
*/
body.action-view.clbi-main-page .main-portal .main-body-panel,
.main-portal .main-body-panel {
    /*
    inset 1px이 프레임 면 위를 덮으므로 레이아웃 padding은 8px을 사용한다.
    최종 화면에서 보이는 순수 #1d1d1d 면은 7px이다.
    */
    padding:8px !important;
}

/* -----------------------------------------
하단 아치 프레임 외곽·하단 안쪽선 정확 보정 / 20260712
-----------------------------------------
대상 구분:
- 버튼 자체의 외곽 #050505는 유지
- 아치형 바깥 프레임의 외부 #050505만 제거
- 버튼 하단 inset은 기본 #101010 유지
- 아치 프레임 하단 안쪽 면에만 #555555 1px 추가
*/

/* 버튼 자체는 원래 마감으로 복구한다. */
.main-portal .portal-guide-nav .portal-cat-edge {
    fill:#050505 !important;
}

.main-portal .portal-guide-nav .portal-cat-inset-bottom {
    stroke:#101010 !important;
}

/* 아치형 프레임 바깥의 #050505 외곽선만 제거한다. */
.main-portal .portal-guide-arch-edge {
    display:none !important;
}

/* 아치 프레임의 실제 하단 안쪽 면. 버튼과는 별도 요소다. */
.main-portal .portal-guide-arch-inner-bottom {
    display:block !important;
    fill:#555555 !important;
    stroke:none !important;
    shape-rendering:crispEdges;
}

/* 이전에 잘못 집었던 패널 하단 보조선에는 밝은 선을 두지 않는다. */
.main-portal .portal-guide-panel-bottom-inner {
    stroke:#101010 !important;
}



/* -----------------------------------------
하단 길라잡이 통합 프레임 위치 확정 / 20260713
본문 패널의 원래 하단 프레임은 분리하지 않는다.
버튼·아치·클릭 영역만 현재 상태에서 1px 위로 이동한다.
----------------------------------------- */
.main-portal .main-body-panel > [data-component="category-guide-nav"] {
    bottom:1px !important;
}


/* -----------------------------------------
하단 중앙 접합: 애드온 프레임 1px 연장 / 20260713
- 본문 패널의 원래 전체 프레임은 그대로 유지
- 버튼과 좌·우·상단 아치 프레임만 애드온
- 별도 #555555 하단선은 생성하지 않음
- JS가 아치 외곽면만 아래로 1px 연장하여 원래 우물 하단선을 같은 행에서 덮음
----------------------------------------- */
.main-portal .portal-guide-arch-inner-bottom {
    display:none !important;
}


/* -----------------------------------------
대문 선언문 절차적 진입 애니메이션 / 20260713
-----------------------------------------
제목·구분선·본문 행은 실제 HTML 요소를 Web Animations API로 움직인다.
CSS transition 클래스 전환에 의존하지 않아 초기 진입·새로고침·SPA에서
최종 상태로 순간 점프하는 문제를 피한다.
*/

/*
원문은 기본 표시 상태다.
JS가 폰트·행 측정·구분선 DOM까지 모두 준비한 뒤 붙이는
.manifesto-intro-prepared만 애니메이션의 초기 프레임을 소유한다.
따라서 강력 새로고침이나 raw 스크립트 실패가 본문을 숨길 수 없다.
*/

.main-portal.manifesto-intro-prepared .main-manifesto-title {
    position:relative !important;
    opacity:0;
    border-bottom:0 !important;
}

.main-portal .main-manifesto-title {
    position:relative !important;
    border-bottom:0 !important;
    box-shadow:none !important;
    background-image:none !important;
    text-decoration:none !important;
}

.main-portal .main-manifesto-title::before,
.main-portal .main-manifesto-title::after {
    content:none !important;
    display:none !important;
}

.main-portal .main-manifesto-title > .manifesto-divider {
    display:block;
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    height:1px;
    margin:0;
    padding:0;
    overflow:visible;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    pointer-events:none;
    z-index:4;
}

/* ManifestoIntro가 소유권을 얻은 뒤에는 이전 구분선 소스를 모두 차단한다. */
.main-portal.manifesto-divider-controlled .main-manifesto-title {
    border-bottom:0 !important;
    box-shadow:none !important;
    background-image:none !important;
    text-decoration:none !important;
}

.main-portal.manifesto-divider-controlled .main-manifesto-title::before,
.main-portal.manifesto-divider-controlled .main-manifesto-title::after,
.main-portal.manifesto-divider-controlled .main-manifesto-inner > hr,
.main-portal.manifesto-divider-controlled .main-manifesto-divider,
.main-portal.manifesto-divider-controlled [data-manifesto-divider-track] {
    content:none !important;
    display:none !important;
}

.main-portal .main-manifesto-title > .manifesto-divider > .manifesto-divider-half {
    display:block;
    position:absolute;
    top:0;
    width:50%;
    height:1px;
    margin:0;
    padding:0;
    background:#626262;
    border:0;
    box-shadow:none;
    transform:scaleX(0);
    will-change:transform;
}

.main-portal .main-manifesto-title > .manifesto-divider > .manifesto-divider-left {
    left:0;
    transform-origin:100% 50%;
}

.main-portal .main-manifesto-title > .manifesto-divider > .manifesto-divider-right {
    right:0;
    transform-origin:0 50%;
}

/*
제목 구분선이 완성된 뒤 같은 위치에서 분리되어 본문 하단까지 내려가는 실선.
최종 이동 거리는 ManifestoIntro가 실제 렌더된 본문 높이를 정수 px로 측정한다.
*/
.main-portal .main-manifesto-inner > .manifesto-divider-drop {
    display:block;
    position:absolute;
    left:0;
    width:100%;
    height:1px;
    margin:0;
    padding:0;
    overflow:hidden;
    background:#626262;
    border:0;
    box-shadow:none;
    opacity:0;
    transform:translateY(0);
    will-change:transform, opacity;
    pointer-events:none;
    z-index:3;
}

.main-portal .main-manifesto-copy.manifesto-line-measuring .manifesto-measure-token {
    display:inline;
    white-space:normal;
    font:inherit;
    color:inherit;
}

.main-portal .main-manifesto-copy .manifesto-line {
    display:block;
    width:100%;
    height:26px;
    min-height:0;
    max-height:26px;
    margin:0;
    padding:0;
    overflow:visible;
    opacity:1;
    line-height:26px !important;
    clip-path:inset(0 0 0 0);
    will-change:height, max-height, opacity, clip-path;
}

.main-portal .main-manifesto-copy .manifesto-line-inner {
    display:block;
    width:100%;
    height:26px;
    margin:0;
    padding:0;
    line-height:26px !important;
    opacity:1;
    transform:translateY(0);
    will-change:transform, opacity;
}

.main-portal.manifesto-intro-prepared .main-manifesto-copy {
    visibility:visible !important;
}

.main-portal.manifesto-intro-prepared .main-manifesto-copy .manifesto-line {
    height:0;
    max-height:0;
    overflow:hidden;
    opacity:0;
    clip-path:inset(0 0 100% 0);
}

.main-portal.manifesto-intro-prepared .main-manifesto-copy .manifesto-line-inner {
    opacity:.18;
    transform:translateY(-10px);
}

.main-portal.manifesto-intro-complete .main-manifesto-title {
    opacity:1;
    border-bottom:0 !important;
}

.main-portal.manifesto-intro-complete .main-manifesto-title > .manifesto-divider > .manifesto-divider-half {
    transform:scaleX(1);
}

.main-portal.manifesto-intro-complete .main-manifesto-copy .manifesto-line {
    height:26px;
    max-height:26px;
    overflow:visible;
    opacity:1;
    clip-path:inset(0 0 0 0);
}

.main-portal.manifesto-intro-complete .main-manifesto-copy .manifesto-line-inner {
    opacity:1;
    transform:translateY(0);
}

@media (prefers-reduced-motion:reduce) {
    .main-portal.manifesto-intro-prepared .main-manifesto-title {
        opacity:1;
        border-bottom:0 !important;
    }

    .main-portal .main-manifesto-title > .manifesto-divider {
        display:block !important;
        left:0 !important;
        width:100% !important;
        background:transparent !important;
    }

    .main-portal .main-manifesto-title > .manifesto-divider > .manifesto-divider-half {
        transform:scaleX(1) !important;
    }

    .main-portal .main-manifesto-inner > .manifesto-divider-drop {
        opacity:1;
    }

    .main-portal.manifesto-intro-prepared .main-manifesto-copy .manifesto-line,
    .main-portal.manifesto-intro-prepared .main-manifesto-copy .manifesto-line-inner {
        height:26px;
        max-height:26px;
        overflow:visible;
        opacity:1;
        clip-path:none;
        transform:none;
    }
}