@import "/css/news.css";
/* @import "/css/barter.css"; */

.is-hidden {
    display: none !important;
}
*, *::before, *::after {
    box-sizing: border-box;
}
.top-navbar {
    width: 100%;
    background-color: #151515;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: center;
    min-width: 800px; 
}
.nav-content {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    width: 100%;
    /* max-width: 800px; */
    max-width: 900px;
    padding: 0 20px;
}
.tab-btn {
    background-color: transparent;
    color: #888888;
    border: none;
    border-bottom: 3px solid transparent; 
    padding: 10px 0; 
    font-size: 0.7rem; 
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.2s ease;


    position: relative;

}
.tab-btn:hover {
    color: #ffffff;
}
.tab-btn.active {
    color: #ffffff;
    border-bottom: 3px solid #ffffff;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
.tab-btn-right {
    margin-left: auto;
}

.wiki-link {
    text-decoration: none;
    color: inherit; 
    transition: opacity 0.2s;
}

.wiki-link:hover {
    text-decoration: underline dotted;
    text-underline-offset: 3px;
    opacity: 0.8;
}


body {
    font-family: Arial, sans-serif;
    background-color: #1e1e1e;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0;
    margin: 0;
    overflow-x: hidden;
    min-width: 800px; 
}



.container {
    text-align: center;
    width: 100%;
    /* max-width: 800px; */
    max-width: 900px;
    
    margin-top: 40px; 
    
    padding-bottom: 50px;
}

h1 {
    margin-bottom: 30px;
    color: #ffffff;
}

.section-title {
    color: #aaaaaa;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
    margin: 0 0 20px 0;
    text-align: left;
}

.clock-box {
    margin-bottom: 30px;
}

.clock-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffcc00;
    margin-bottom: 5px;
    font-weight: bold;
}

.clock-box h2 {
    font-family: monospace;
    font-size: 2.8rem;
    margin: 0 0 5px 0;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.clock-box p {
    font-size: 0.9rem;
    color: #aaaaaa;
    margin: 0;
}





.irl-section { 
    margin: 0 20px 40px 20px; 
}

.irl-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.irl-title {
    position: absolute;
    top: 12px;
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    font-weight: bold;
    margin: 0;
    color: #ffffff;
    padding: 0 10px;
    box-sizing: border-box;
}

.irl-countdown {
    font-family: monospace;
    font-size: 1.3rem; 
    color: #ffcc00;
    text-shadow: 0 0 5px rgba(255, 204, 0, 0.3);
    
    margin-bottom: 10px; 
}

.irl-square {
    position: relative; 
    background-color: #2a2a2a;
    border-top: 4px solid var(--bg-color);
    border-radius: 8px;
    width: 150px;
    height: 120px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    box-sizing: border-box;
    overflow: hidden;
    
    padding: 15px 10px 0 10px; 
}

.irl-note {
    position: absolute;
    bottom: 0;       
    left: 0;         
    width: 100%;     
    height: 30px;    
    
    background-color: #1a1a1a;
    border-top: 1px solid #333;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    color: #aaaaaa;
    font-size: 0.65rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-align: center;
    margin: 0;
}









.timeline-wrapper { margin: 0 20px; }

.schedule-container {
    position: relative;
    width: 100%;
    margin-top: 10px;
    padding-bottom: 10px;
}


.laser-wrapper {
    position: absolute;
    top: 0; 
    bottom: 0;
    left: 60px;
    right: 0;
    pointer-events: none;
    z-index: 10;
}

.time-marker {
    position: absolute;
    top: -10px; 
    bottom: 0;
    left: 0%;
    width: 2px;
    background-color: #ff3333;
    box-shadow: 0 0 8px rgba(255, 51, 51, 0.9);
}

.ptj-row {
    display: flex;
    align-items: center; 
    gap: 15px;
    margin-bottom: 20px;
}

.ptj-avatar {
    width: 45px; 
    height: 45px;
    border-radius: 6px;
    border: 1px solid #444;
    background-color: #1a1a1a;
    object-fit: cover;
    flex-shrink: 0;
}

.ptj-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}






.ptj-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 5px;
    padding: 0 5px;
}

.ptj-name { font-weight: bold; }
.ptj-status { font-size: 0.8rem; font-weight: bold; }

.ptj-track {
    position: relative;
    width: 100%;
    height: 25px;
    background-color: #333;
    border-radius: 6px;
    overflow: hidden;
}

.seg { position: absolute; height: 100%; top: 0; }

.seg-recruit {
    background-color: #3b82f6;
    left: calc((var(--recruit) / 24) * 100%);
    width: calc((((var(--recruit-report) - var(--recruit)) / 24) * 100%) + 1px);
}

.seg-recruit-report {
    background-color: #10b981;
    left: calc((var(--recruit-report) / 24) * 100%);
    width: calc((((var(--report) - var(--recruit-report)) / 24) * 100%) + 1px);
}

.seg-report {
    background-color: #f59e0b;
    left: calc((var(--report) / 24) * 100%);
    width: calc(((23 - var(--report)) / 24) * 100%);
}












.about-container {
    background-color: #2a2a2a;
    border-top: 4px solid #5865F2;
    border-radius: 8px;
    padding: 20px 25px;
    margin: 0 20px 40px 20px;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    line-height: 1.6;
    font-size: 0.95rem;
    color: #dddddd;
}

.about-container p {
    margin-top: 0;
    margin-bottom: 15px;
}

.discord-link {
    color: #5865F2;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.2s;
}

.discord-link:hover {
    color: #7289da;
}





.ptj-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    text-align: left;
}

.ptj-avatar {
    width: 45px;
    height: 45px;
    border-radius: 6px;
    border: 1px solid #444;
    background-color: #1a1a1a;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
    flex-shrink: 0;
}

.ptj-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}












.ptj-tags {
    display: inline-flex;
    gap: 6px;
    margin-left: 10px;
    vertical-align: middle;
}

.ptj-tag {
    font-size: 0.65rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;

    background-color: #333333;
    color: #cccccc;
    border: 1px solid #444444;
}

.ptj-avatar {
    width: 45px; 
    height: 45px;
    border-radius: 6px;
    border: 1px solid #444;
    background-color: #1a1a1a;
    object-fit: cover;
    flex-shrink: 0;
    cursor: pointer;
}


.pinned-separator {
    width: 80px;
    height: 2px;
    background-color: #333;
    margin: 25px auto;
    border-radius: 2px;
}

#pinned-container:empty, 
#pinned-container:empty + #pinned-separator {
    display: none;
}









.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
}

.section-header .section-title {
    border-bottom: none;
    margin-bottom: 0;
}

/* .help-btn { */
/*     background-color: #333; */
/*     color: #888; */
/*     border: none; */
/*     width: 20px; */
/*     height: 20px; */
/*     border-radius: 50%; */
/*     font-size: 0.75rem; */
/*     font-weight: bold; */
/*     cursor: pointer; */
/*     transition: all 0.2s; */
/*     display: flex; */
/*     align-items: center; */
/*     justify-content: center; */
/* } */

/* .help-btn:hover { */
/*     background-color: #444; */
/*     color: #fff; */
/* } */














/* .help-popup { */
/*     display: none; */
/*     position: absolute; */
/*     width: 220px; */
/*     background-color: #2a2a2a; */
/*     border: 1px solid #444; */
/*     border-radius: 6px; */
/*     box-shadow: 0 4px 12px rgba(0,0,0,0.5); */
/*     z-index: 2000; */
/*     padding: 12px; */
/*     pointer-events: auto; */

/*     transform: translateX(-100%);  */
/* } */

/* .help-popup.active { */
/*     display: block; */
/* } */

/* .help-content { */
/*     font-size: 0.75rem; */
/*     color: #ccc; */
/*     line-height: 1.6; */
/* } */

/* .help-content b { */
/*     font-family: monospace; */
/*     color: #38bdf8; */
/*     font-size: 0.8rem; */
/* } */

/* .help-row { */
/*     display: flex; */
/*     align-items: center; */
/*     gap: 8px; */
/*     margin-bottom: 4px; */
/* } */

/* .help-popup hr { */
/*     border: 0; */
/*     border-top: 1px solid #333; */
/*     margin: 10px 0; */
/* } */

/* .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; } */
/* .dot-blue { background: #3b82f6; } */
/* .dot-green { background: #10b981; } */
/* .dot-orange { background: #f59e0b; } */






/* alban */
.top-alban-header {
    /* position: sticky; */
    top: 0;
    padding: 15px 30px;
    margin: 0 20px 20px 20px;
    display: flex;
    justify-content: center;
    gap: 50px;
}

.alban-header-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.alban-header-title {
    font-size: 0.75rem;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.alban-score-text {
    font-family: monospace;
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
}

.alban-tier-text {
    font-size: 2rem;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.alban-column-container {
    display: flex;
    gap: 20px;
    margin: 0 20px 40px 20px;
    align-items: flex-start;
}

.alban-column {
    flex: 1;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.3);
}

.alban-col-title {
    margin: 0 0 15px 0;
    font-size: 1rem;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.alban-control-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 0;
    text-align: left;
}

.alban-control-group label {
    font-size: 0.75rem;
    color: #aaaaaa;
    font-weight: bold;
}

.alban-control-group select {
    background-color: #2a2a2a;
    color: #ffffff;
    border: 1px solid #444;
    padding: 8px 10px;
    border-radius: 4px;
    outline: none;
    font-size: 0.85rem;
    cursor: pointer;
}

.alban-control-group select:hover {
    border-color: #666;
}




.alban-stone-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}



.alban-select-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.alban-stone-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}


.alban-select-wrapper select {
    flex: 1;
}
