* {
    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: 280px;
    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;
    position:sticky;
    background-attachment:fixed;
}

.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: 30px; padding-left: 0px; }

/* [?? 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: -35px; 
    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;
}

.banner-area { margin-top: 0px; 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??: ?? ??? ? */
}

/* [?? 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;
}

.sticky {
    position:sticky;
    top: 20px;
}