* {
    cursor: url('images/take_cusor.png'), auto !important; /* 죽순 마우스커서 */
}


  /* ========== 기본 설정 ========== */
  body {
    margin: 0;
    padding: 0;
    background-color: #87D4DA;
    font-family: 'Gulim', '굴림', 'Dotum', '돋움', sans-serif;
    font-size: 15.5px;
    color: #444;
    line-height: 1.5;
    overflow-x: auto;
}

.container {
    width: 100%;
    min-width: 1350px; 
    display: flex;
    min-height: 100vh;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    box-sizing: border-box;
}

/* ========== 왼쪽 사이드바 ========== */
.sidebar {
    width: 260px;
    flex-shrink: 0;
    background-color: #FDFAC8;
    background-image: url('images/bg_yellow.jpg');
    background-repeat: repeat;
    padding: 20px;
    border-right: 1px solid #808080; /* [프레임] 1단계: 바깥쪽 어두운 선 */
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-sizing: border-box;
}

.menu-header {
    font-weight: bold;
    font-size: 17px;
    color: #333;
    margin-bottom: 10px;
    border-bottom: 2px dotted #cc9966;
    padding-bottom: 5px;
    text-align: center;
    background-color: rgba(255,255,255,0.3);
}

.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-list li { margin-bottom: 12px; padding-left: 5px; }

/* [수정 2] 왼쪽 메뉴 텍스트 파란색 링크 스타일 적용 */
.menu-list a { 
    color: #0000CD; /* 파란색으로 변경 */
    font-weight: bold; 
    font-size: 16px; 
    text-decoration: underline; /* 밑줄 추가 */
}
.menu-list a:hover { color: #ff6600; }

.menu-icon {
    color: #D26432;
    font-size: 18px;
    vertical-align: middle;
    margin-right: 3px;
}

.new-tag {
    color: red; 
    font-size: 12px; 
    font-weight: bold;
    vertical-align: top;
    animation: blink 1s step-end infinite;
}

.link-info {
    font-size: 13px; 
    color: #222; 
    font-weight: bold;
    margin-top: 10px; 
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.locale-switcher {
    font-size: 13px;
    color: #333;
    margin-top: 8px;
    padding: 6px 0;
    border-top: 1px dotted #cc9966;
    text-align: center;
}
.locale-switcher .locale-label { margin-right: 4px; }
.locale-switcher .locale-sep { margin: 0 6px; color: #999; }
.locale-switcher a {
    color: #0000CD;
    font-weight: bold;
    text-decoration: underline;
}
.locale-switcher a:hover { color: #ff6600; }
.locale-switcher .locale-disabled {
    color: #999;
    cursor: default;
    text-decoration: none;
}

.fan-notice {
    font-size: 10px;
    color: #666666;
    margin-top: 6px;
    line-height: 1.4;
    text-align: center;
    animation: fanNoticeSlide 10s ease-in-out infinite alternate;
}

@keyframes fanNoticeSlide {
    0%   { transform: translateX(-6px); }
    50%  { transform: translateX(6px); }
    100% { transform: translateX(-6px); }
}

.banner-area { margin-top: 10px; text-align: center; }
.banner-img {
    border: 2px solid #CC9966; display: block;
}

/* fetch 뷰 로딩/에러 */
.view-loading, .view-error {
    text-align: center;
    padding: 40px 20px;
    color: #444;
    font-size: 15px;
}
.view-error a { color: #0000CD; text-decoration: underline; }

/* ========== 오른쪽 메인 컨텐츠 ========== */
.main-content {
    flex: 1;
    padding: 30px 40px;
    background-color: #D0F0F5;
    background-image: url('images/bg_blue.png');
    background-repeat: repeat;   /* 0 0 / 72px 72px = position / size (단축 속성에서 크기 지정) */
    border-left: 7px solid #D3D3D3; /* [프레임] 2단계: 중간 밝은 회색 선 */
    box-shadow: inset 2px 0 0 #808080;  /* [프레임] 3단계: 안쪽 어두운 선 */
}

/* 동맹 페이지(멘다코/달/오므라이스): 뷰 컨텐츠 상하좌우 여백 없음 */
.main-content:has(.mentako-alliance-view),
.main-content:has(.moon-alliance-view),
.main-content:has(.omelet-alliance-view) {
    padding: 0;
}

/* [수정 1] 헤더 섹션 레이아웃 변경 (제목 옆에 로고 배치) */
.header-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 2px; /* 인사말과의 간격을 위해 다시 늘림 */
    text-align: center;
}

.header-top-row {
    display: flex;
    align-items: center; /* 수직 중앙 정렬 */
    justify-content: center;
    gap: 2px; /* 로고와 텍스트 사이 간격 */
    margin-bottom: 25px; /* title_text.png와 인사말 사이 간격 추가 */
}

.logo-side { width: 45px;  /* 로고 크기 조정 */
     height: auto;
     align-self: flex-end; } /* 컨테이너 바닥으로 로고 붙히기*/


.title-img {
    width: 520px;
    height: auto;
}
html[lang="ko"] .title-img {
    width: 480px;
}

.welcome-msg {
    font-weight: bold; 
    margin-top: 0;
    color: #333;
    font-size: 16px; 
    text-shadow: 1px 1px 0 #fff;
}

/* 무단 전재 경고바 — main.main-content 너비에 맞춤 */
.warning-bar {
    margin-left: -40px;
    margin-right: -40px;
    width: calc(100% + 80px);
    box-sizing: border-box;
    background-color: #0f5e6d;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 4px 4px;
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
    padding: 1px 40px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0px;
    border-top: 1px solid #0a4550;
    border-bottom: 1px solid #0a4550;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}
.warning-bar marquee {
    display: block;
    width: 100%;
}

.star-orange { color: #ffad33; text-shadow: 1px 1px 0 #333; }
.star-green  { color: #00cc66; text-shadow: 1px 1px 0 #333; }
.star-purple { color: #aa44dd; text-shadow: 1px 1px 0 #333; }

/* 디지털 카운터 */
.counter-area { 
    text-align: center; 
    margin-top: 0;
    margin-bottom: 4px; 
    font-weight: bold; 
    font-size: 18px; 
    position: relative; 
    z-index: 10; 
}
/* キリ番 報告は 拍手 もしくは BBS まで — フォント 2px 大きく */
.counter-area > div:last-of-type {
    font-size: 17px !important;
}
.counter-wrapper {
    background-color: #0a0a1a; 
    display: inline-block;
    padding: 2px 2px; 
    border: 1px solid #333;
    border-radius: 2px; 
    box-shadow: inset 0 0 5px rgba(0,0,0,0.7);
    vertical-align: bottom;
    position: relative;
    margin: 0;
}
.digital-clock {
    font-family: 'DSEG7-Classic', monospace; 
    font-size: 28px; 
    letter-spacing: 2px; 
    line-height: 1;
    position: relative; 
}
.digital-bg { 
    color: #1a3a1a; 
    position: absolute; 
    top: 0; 
    left: 0; 
    z-index: 1; 
}
.digital-fg { 
    color: #32ff32; 
    position: relative; 
    z-index: 2; 
    text-shadow: 0 0 4px #00ff00; 
}

.kiriban-info {
    font-size: 14px; 
    margin-top: 3px; 
    font-weight: normal;
}

.counter-credit {
    font-size: 6px; /* 더 작게 */
    color: #888; /* 더 밝은 회색 */
    margin-top: -3px; 
    font-family: monospace;
    line-height: 1;
}
.counter-credit a {
    color: #888; /* 링크도 회색 */
    text-decoration: none; /* 밑줄 제거 */
    text-transform: uppercase;
}
.counter-credit a:hover {
    text-decoration: none; /* 호버 시에도 밑줄 제거 */
}

/* 툴팁 CSS */
.tooltip-container {
    position: relative;
    
    border-bottom: 1px dashed #336699;
    color: #336699;
    display: inline-block;
}
.tooltip-container.btn-mode { border-bottom: none; }

.tooltip-content {
    display: none;
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    background-color: #fff;
    border: 2px solid #FF9966;
    padding: 10px;
    z-index: 999;
    text-align: left;
    font-size: 13px;
    font-weight: normal;
    color: #555;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.2);
    line-height: 1.4;
    white-space: normal;
}

.tooltip-content::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #FF9966 transparent;
}

.tooltip-container:hover .tooltip-content {
    display: block;
}

.h-point { color: #ff6600; font-weight: bold; }
.h-bg { background-color: #eee; padding: 3px; display: block; margin: 5px 0; border: 1px dotted #999; }

/* 메인 컨텐츠 영역 */
.center-area {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 0px;
}

.illust-container { flex: 0 0 650px; text-align: center; }
.main-illust {
    width: 100%; height: auto;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.1);
}
.illust-container .main-illust {
    display: block;
    margin-bottom: 0;
    vertical-align: bottom;
}
.illust-container > div {
    margin-top: 0 !important;
    padding-top: 2px;
}

.log-container {
    flex: 0 0 450px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.update-box {
    width: 100%; height: 160px;
    background-color: #f7f7f7;
    border: 1px solid #ccc;
    overflow-y: scroll;
    padding: 15px; font-size: 14px;
    box-sizing: border-box;
}
.update-box ul { 
    padding-left: 10px; 
    margin: 0; 
    list-style-position: inside;
}
.update-box li {
    white-space: nowrap;
    margin-bottom: 5px;
}
.date { 
    color: #333; 
    font-family: monospace;
    margin-right: 15px;
}

/* Web박수 영역 스타일 */
.web-clap-area {
    text-align: center; 
    font-size: 14px; 
    color: #333;
    margin-top: 15px;
}

.web-clap-btn {
    background: #fff; 
    color: #FF9966; 
    padding: 2px 8px; 
    border: 2px solid #FF9966;
    font-size: 13px;
    margin-bottom: 1px;
    display: inline-block;
    
    font-weight: bold;
    text-shadow: 1px 1px 0 #FF9966; 
}

.clap-sub-text {
    font-size: 12px;
    color: #444;
    margin-bottom: -6px;
    
}

.clap-highlight-text {
    font-size: 22px; 
    font-weight: bold;
    color: #000;
}

.clap-purple { color: #C71585; } 
.clap-link { color: blue; text-decoration: underline; }

.notice-box {
    background-color: transparent; border: none;
    padding: 8px; text-align: center; margin-bottom: 8px;
    color: #224466;
}

.notice-title {
    font-size: 24px;
    font-weight: bold;
    color: black;
}

.notice-content {
    font-size: 14px;
    margin-top: 15px;
    color: black;
}

/* 하단 테이블 */
.info-table {
    width: 45%; /* 테이블 전체 너비 살짝 줄임 */
    margin: 0 auto;
    margin-top: 0;
    border-collapse: separate; 
    border-spacing: 2px;
    background-color: transparent;
    border: 2px solid #487A8A; 
    font-size: 13px;
}
.info-table th {
    background-color: transparent; color: #000; padding: 2px 4px;
    border: 1px solid #487A8A; font-weight: bold; text-align: center;
}
.info-table td {
    background-color: transparent; border: 1px solid #487A8A;
    padding: 2px 4px; color: #000; font-weight: bold;
}
.col-page-link {
    color: #0000CD; text-decoration: underline; font-weight: bold; 
}
/* [수정 3] 테이블 첫 번째 열 너비 확장 */
.col-page { 
    width: 200px; /* 140px -> 200px로 넓혀서 텍스트 줄바꿈 방지 */
    text-align: left; 
    vertical-align: top; 
}

@keyframes blink { 50% { opacity: 0; } }

/* 동맹 링크 섹션 */
.alliance-section {
    margin-top: 30px;
    text-align: center; /* 제목과 링크 컨테이너를 중앙 정렬 */
}

.alliance-title {
    font-size: 20px;
    font-weight: bold;
    color: #4a4a4a;
    margin-bottom: 1px;
}

.clover-icon {
    vertical-align: middle;
    width: 20px;
    height: 20px;
}

.alliance-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.alliance-link {
    display: flex;
    flex-direction: column; /* 이미지와 텍스트를 세로로 정렬 */
    align-items: center;   /* 가로축 중앙 정렬 */
    text-decoration: none;
    color: inherit;
    width: 150px; /* 각 링크의 너비 고정 */
}

.alliance-link img {
    height: 31px; /* 이미지 높이 고정 */
    margin-bottom: 8px; /* 이미지와 텍스트 사이 간격 */

}

.alliance-text {
    font-size: 14px;
    font-weight: bold;
    color: #0000CD; /* 파란색으로 변경 */
    text-decoration: underline; /* 밑줄 추가 */
}

/* ========================================= */
/* 추가된 스타일 (링크 페이지 등) */
/* ========================================= */

.content-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* H1 스타일 */
.content-container h1 {
    font-family: 'Gulim', '굴림', 'Dotum', '돋움', sans-serif;
    color: #4a4a4a;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 2.5em;
    text-shadow: 2px 2px 0px #ffe0e0;
}

.section-description {
    text-align: center;
    margin-bottom: 40px;
    font-size: 0.95em;
    color: #666;
    line-height: 1.6;
}

/* 링크 카테고리 박스 */
.link-category {
    background-color: rgba(255, 255, 255, 0.7); /* 반투명 흰색 배경 */
    border: 1px dashed #ffc0cb; /* 딸기우유색 점선 테두리 */
    padding: 25px 30px;
    margin-bottom: 30px;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.05);
    border-radius: 8px;
}

.link-category h2 {
    font-family: 'Gulim', '굴림', 'Dotum', '돋움', sans-serif;
    color: #d17a8c;
    font-size: 1.5em;
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffe6f0;
    letter-spacing: 1px;
}

/* 레트로 리스트 스타일 */
.retro-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.retro-list li {
    margin-bottom: 15px;
    border-bottom: 1px dotted #a0c0d0;
    padding-bottom: 15px;
}

.retro-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.retro-list li a {
    font-family: 'Gulim', '굴림', 'Dotum', '돋움', sans-serif;
    color: #007bff;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: color 0.2s ease-in-out;
}

.retro-list li a:hover {
    color: #ff69b4;
    text-decoration: underline;
}

.retro-list li p {
    font-size: 0.9em;
    color: #555;
    margin-top: 5px;
    line-height: 1.5;
}

/* 친구 사이트 점검 중 박스 */
.retro-notice {
    background-color: #fff0f5;
    border: 1px solid #ffb6c1;
    padding: 15px 20px;
    text-align: center;
    border-radius: 5px;
    margin-top: 10px;
}

.retro-notice .notice-title {
    font-weight: bold;
    color: #e91e63;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.retro-notice .notice-content {
    font-size: 0.95em;
    color: #555;
    line-height: 1.6;
}
