@charset "utf-8";
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
	overflow: hidden;
}

.banner {
	aspect-ratio: 10 / 1;
	width: 100%;
    background-image: url('ranking_banner.png');
    background-size: cover;
    background-position: center;
	pointer-events: none;
	position: relative;
}

.container {
    flex: 1;
    display: flex;
    background: linear-gradient(to top, RGBa(227,120,138,0.4), rgba(253,218,162, 0.3));
    overflow: hidden;
	transition: all 0.3s ease;

}

.main-section {
    width: 55%;
    padding-left: 1.5vw;
    overflow-y: auto;
    background-color: transparent;
	position: relative;
    transition: width 0.3s ease


}

.search-section {
    width: 45%;
    padding: 1.2vw;
	overflow-y: auto;
    background-color: transparent;
	position: relative;
    transition: width 0.3s ease

}

.main-section.slide-out-left {
    transform: translateX(-100%);
    opacity: 0;
}

.search-section.slide-out-right {
    transform: translateX(100%);
    opacity: 0;
}

.honor-wrapper.fade-out {
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}

#black-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    opacity: 0;
    z-index: 4000;
    pointer-events: none;
    transition: opacity 1.5s ease;
    will-change: opacity;
}

#black-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

#rotating-emblem {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4001;
    opacity: 0;
    width: 300px;
    height: auto;
    pointer-events: none;
    transition: opacity 0.5s ease;
    will-change: opacity;
}

#rotating-emblem.visible {
    opacity: 1;
}

#hall-of-fame-container {
    position: fixed;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4002;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background-color: rgba(30, 30, 30, 0.85);
    border-radius: 15px;
    color: white;
    opacity: 0;
    transition: opacity 0.5s ease;
    max-height: 80vh;
    overflow-y: auto;
    width: 85%;
    will-change: opacity;
}

#hall-of-fame-container.visible {
    opacity: 1;
}

#hall-of-fame-container img.static-emblem {
    width: 200px;
    height: auto;
    margin-bottom: -5px;
}

#hall-of-fame-container h1 {
    font-size: 2.5em;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#hall-of-fame-container table {
    width: 100%;
/*    border-collapse: collapse;*/
	border-collapse: separate;
	border-spacing: 2px;
    margin-bottom: 20px;
    font-size: 1em;
    table-layout: fixed;

}

#hall-of-fame-container th,
#hall-of-fame-container td {
    opacity: 0;
    transform: translateY(15px);
 
    border: 1px solid rgba(255, 255, 255, 0.05);
	
	border-radius: 5px;
	
    padding: 10px 8px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    will-change: opacity, transform;
	background-clip: padding-box;
}

#hall-of-fame-container th {
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.83);
    position: relative;
    overflow: hidden;
}

#hall-of-fame-container th:hover {
    text-shadow:
        0 0 5px #FFD700,
        0 0 10px #FFD700;
}

#hall-of-fame-container th::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255,215,0,0.7) 50%, transparent 100%);
    mix-blend-mode: color-dodge;
    opacity: 0.2;
    pointer-events: none;
    animation: waveScrolling 4s linear infinite;
}

@keyframes waveScrolling {
    0% { left: -50%; }
    100% { left: 150%; }
}

#hall-of-fame-container tbody tr:nth-child(odd) td {
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
}
#hall-of-fame-container tbody tr:nth-child(even) td {
     background-color: rgba(230, 230, 230, 0.8);
     color: black;
}

#hall-of-fame-container tbody tr td:hover {
    color: white;
    text-shadow:
        0 0 5px #FFD700,
        0 0 10px #FFD700;
    background-color: rgba(0, 0, 0, 0.2);
}

#hall-of-fame-container th:first-child,
#hall-of-fame-container td:first-child {
    width: 7%;
}

#hall-of-fame-container table thead tr th:first-child {
    color: transparent;
    text-shadow: none;
    pointer-events: none;
    background: none;
	border: none;
}

#hall-of-fame-container table thead tr th:first-child::before {
    display: none;
}

#hall-of-fame-container.visible th {
    opacity: 1;
    transform: translateY(0);
    transition-property: opacity, transform;
    transition-duration: 2.5s;
    transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: calc(0.3s + var(--column-index, 0) * 0.2s) !important;
}
/* 
#hall-of-fame-container table tbody tr {
} */

#hall-of-fame-container table tbody tr.row-visible td {
    opacity: 1;
    transform: translateY(0);
    transition-property: opacity, transform;
    transition-duration: 2.5s;
    transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: calc(1.3s + var(--column-index, 0) * 0.2s)
}



#hof-back-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 4003;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: background-color 0.3s ease, transform 0.2s ease, opacity 0.5s ease;
    will-change: opacity, transform, background-color;
}

#hof-back-button.visible {
   opacity: 1;
   pointer-events: auto;
}

#hof-back-button:hover {
    background-color: #d32f2f;
    transform: scale(1.05);
}

#hof-back-button:active {
    transform: scale(0.98);
}

#hall-of-fame-container::-webkit-scrollbar {
    width: 10px;
}

#hall-of-fame-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

#hall-of-fame-container::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.6);
    border-radius: 10px;
}

#hall-of-fame-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.8);
}


.corner-image {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 37vw;
    height: 37vh;
    object-fit: contain;
	opacity: 0.3;
	pointer-events: none;
    
}

.search-bar {
    margin-bottom: 20px;
    position: relative;
}

.search-bar input {
    padding: 0.4vw;
    width: 13vw;
    margin-right: 0.5vw;
}

.search-bar button {
    padding: 8px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

.search-bar button:hover {
    background-color: #52C000;
}

button {
    padding: 5px 10px;
}

table {
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 0.85em;
    width: 96%;
    table-layout: fixed;
}

th, td {
    border: 1px solid rgba(200,67,77,0.6);
    padding: 8px 6px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trophy-column, .change-column {
    background-color: transparent !important;
    border: none !important;
}

.trophy-column {
    width: 15px;
    text-align: center;
}

.trophy-column img {
    width: 100%;
    height: auto;
    display: block;
}

.rank-column {
    width: 40px;
    text-align: center;
}

.th:nth-child(3), td:nth-child(3) {
    width: auto;
}

.change-column {
    width: 25px;
}

.th:first-child, td:first-child {
    width: 15px !important;
}

.th:nth-child(2), td:nth-child(2) {
    width: 30px !important;
}

.th:last-child, td:last-child {
    width: 32px !important;
}

.th.trophy-column, th.change-column {
    visibility: hidden;
}


th {
    background-color: #EC7B9A;
}

h1 {
    color: #333;
}

h2 {
    color: #333;
}

h3 {
    margin-top: 10px;
    margin-bottom: 8px;
    font-size: 1.2em;
}

.id-container {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ccc;
}

.period-tables {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
}

.period-container {
    flex: 1;
    min-width: 0;
}

#autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 30%;
    max-height: 200px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #ddd;
    z-index: 1000;
    display: none;
}

.autocomplete-item {
    padding: 5px 10px;
    cursor: pointer;
}

.autocomplete-item:hover {
    background-color: #F47F88;
}

.autocomplete-item.selected {
    background-color: #F47F88;
}

.section-nav-buttons {
	position: fixed;
 	display: flex;
 	flex-direction: column;
 	z-index: 1000;
	transition: all 0.1s ease;
}

.section-nav-buttons button {
 	width: 2.1vw;
 	height: 4.5vh;
 	padding: 0;
 	border: none;
 	background-color: rgba(255, 235, 59, 0.2);
 	border-radius: 5px;
 	cursor: pointer;
 	display: flex;
 	justify-content: center;
 	align-items: center;
 	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	transition: background-color 0.2s ease;
}

.section-nav-buttons button:first-child {
 	margin-bottom: 0;
 	border-bottom: 1px solid #ddd;
 	border-radius: 5px 5px 0 0;
}

.section-nav-buttons button:last-child {
 	border-radius: 0 0 5px 5px;
}

.section-nav-buttons button:hover {
    background-color: rgba(255, 215, 0, 0.8);
	opacity: 1;
}

.section-nav-buttons button:active {
    background-color: rgba(100, 200, 0, 1);
	opacity: 1;
}

.section-nav-buttons img {
 	width: 1.2vw;
 	height: 2.6vh;
	opacity: 0.7;
}


.main-section::-webkit-scrollbar,
.search-section::-webkit-scrollbar {
    width: 1.5vh;
}

.main-section::-webkit-scrollbar-track,
.search-section::-webkit-scrollbar-track {
    background: rgba(255, 192, 203, 0.2);
    border-radius: 10px;
}

.main-section::-webkit-scrollbar-thumb,
.search-section::-webkit-scrollbar-thumb {
    background: #DE668FFF;
    border-radius: 10px;
}

.main-section::-webkit-scrollbar-thumb:hover,
.search-section::-webkit-scrollbar-thumb:hover {
    background: #DE2865FF;
}

.streamer-banners {
    position: fixed;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1.5vw;
    padding: 1vw;
    z-index: 1000;
    transition: all 0.3s ease;
}

.streamer-banner-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.8;
/*    border: 3px solid transparent;*/
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.honor-text {
    position: absolute;
    top: 11vh;
    text-align: center;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, -5px);
    min-width: 3vw;
    white-space: nowrap;
    transition: opacity 1s ease, transform 1s ease;
    font-size: 18px;
    color: #F4F4F4;
    pointer-events: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.72);
}

.honor-wrapper:hover .honor-text {
    opacity: 1;
    transform: translate(-50%, 0);
}

.honor-wrapper img {
    transition: all 0.3s ease;
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.honor-wrapper.animate-in {
    animation: slideInFromRight 1s ease forwards;
}

.custom-tooltip {
    position: absolute;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    padding: 10px 12px;
    border-radius: 8px;
    pointer-events: none;
    max-width: 200px;
    white-space: normal;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.custom-tooltip.show {
    opacity: 1;
    visibility: visible;
}




/* --- 공지사항 팝업 스타일 --- */
#notice-popup {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  min-width: 300px;
  max-width: 600px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 25px;
  z-index: 9999;
  border-radius: 8px;
  color: #333;
}

#notice-popup #notice-content {
  margin-bottom: 20px;
  line-height: 1.6;
  max-height: 60vh;
  overflow-y: auto;
}

#notice-popup #notice-content h4 {
  margin-top: 0;
  color: #2c3e50;
  font-size: 1.3em;
  margin-bottom: 10px;
}

#notice-popup #notice-content p {
  margin-bottom: 10px;
}
#notice-popup #notice-content ul {
  padding-left: 20px;
  margin-bottom: 10px;
}
#notice-popup #notice-content li {
  margin-bottom: 5px;
}
#notice-popup #notice-content em {
  font-size: 0.9em;
  color: #7f8c8d;
  display: block;
  text-align: right;
  margin-top: 15px;
}


#notice-popup #close-notice-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 28px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
  line-height: 1;
  padding: 0 5px;
}

#notice-popup #close-notice-btn:hover {
  color: #333;
}

#notice-popup .notice-options {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

#notice-popup .notice-options input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer;
  vertical-align: middle;
}

#notice-popup .notice-options label {
  font-size: 0.9em;
  color: #555;
  cursor: pointer;
  vertical-align: middle;
}

/* --- ranking remodel (partial) --- */
.updated-time-chip {
    display: inline-flex;
    align-items: center;
    margin-top: 1vh;
    margin-left: 1.5vw;
    padding: 0.45vh 0.85vw;
    border-radius: 999px;
    border: 1px solid rgba(236, 123, 154, 0.8);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 18px rgba(95, 35, 55, 0.25);
    font-size: 14px;
    font-weight: 700;
    color: #5e1f3b;
}

.id-container {
    margin: 0 1.1vw 20px 0.6vw;
    padding: 14px 14px 12px;
    border: 1px solid rgba(240, 143, 170, 0.55);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 14px 28px rgba(85, 32, 55, 0.12);
}

.id-container h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    color: #4b2534;
    font-size: 1.25em;
}

.id-container h2 img {
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 14px rgba(71, 26, 44, 0.2);
}

.period-tables {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.period-container {
    border: 1px solid rgba(243, 192, 208, 0.85);
    border-radius: 14px;
    background: rgba(255, 247, 251, 0.95);
    padding: 9px;
}

.period-container h3 {
    margin: 0 0 8px !important;
    margin-left: 26px !important;
    color: #6b2642;
    font-size: 0.98em;
    font-weight: 700;
}

.period-container table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.84em;
}

.period-container th,
.period-container td {
    border: 0;
    border-bottom: 1px solid rgba(238, 197, 212, 0.85);
}

.period-container th {
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, #f3b2c9 0%, #ea93b6 100%);
    color: #582133;
    font-weight: 700;
}

.period-container tbody tr:last-child td {
    border-bottom: 0;
}

.period-container tbody tr:hover td {
    background: rgba(243, 192, 215, 0.35);
}

.search-section {
    border-left: 1px solid rgba(230, 128, 157, 0.45);
    background: linear-gradient(180deg, rgba(255, 236, 243, 0.62) 0%, rgba(255, 222, 232, 0.54) 100%);
}

.search-section h1 {
    display: inline-flex;
    align-items: center;
    margin: 0 0 14px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(231, 127, 159, 0.6);
    background: rgba(255, 255, 255, 0.85);
    color: #5d1f38;
    font-size: 1.35em;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 18px rgba(95, 35, 55, 0.14);
}

.search-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.search-bar input {
    width: min(350px, 70%) !important;
    padding: 10px 12px;
    margin-right: 0;
    border: 1px solid rgba(237, 159, 187, 0.8);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
}

.search-bar input:focus {
    outline: none;
    border-color: rgba(220, 93, 140, 0.95);
    box-shadow: 0 0 0 3px rgba(236, 123, 154, 0.2);
}

.search-bar button {
    border-radius: 12px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #e27a98 0%, #cc5277 100%);
    font-weight: 700;
    box-shadow: 0 8px 16px rgba(93, 30, 51, 0.18);
}

.search-bar button:hover {
    background: linear-gradient(135deg, #e57f9d 0%, #d25a7e 100%);
}

#autocomplete-dropdown {
    width: min(350px, 70%);
    border: 1px solid rgba(236, 178, 199, 0.95);
    border-radius: 10px;
    box-shadow: 0 12px 22px rgba(93, 30, 51, 0.15);
}

.autocomplete-item {
    padding: 8px 10px;
}

.main-section.slide-out-left {
    transform: translateX(-5%);
    opacity: 0.18;
    filter: blur(2px);
}

.search-section.slide-out-right {
    transform: translateX(5%);
    opacity: 0.18;
    filter: blur(2px);
}

#black-overlay {
    background-color: rgba(20, 8, 17, 0.18);
    backdrop-filter: blur(1px);
}

#hall-of-fame-container {
    top: 50%;
}

#hall-of-fame-container th:first-child,
#hall-of-fame-container td:first-child {
    width: 9.5%;
    min-width: 86px;
    text-overflow: clip;
}

@media (max-width: 1320px) {
    .period-tables {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .period-tables {
        grid-template-columns: 1fr;
    }

    .search-bar input,
    #autocomplete-dropdown {
        width: 100% !important;
    }
}

/* --- ranking remodel (v3) --- */
.banner {
    aspect-ratio: auto;
    min-height: 78px;
    max-height: 108px;
    background-image: none !important;
    background: linear-gradient(92deg, rgba(225, 101, 147, 0.92) 0%, rgba(214, 92, 141, 0.9) 54%, rgba(199, 84, 135, 0.88) 100%) !important;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.25);
}

.banner::before {
    content: "HEARTPOINT LEADERBOARD";
    position: absolute;
    right: clamp(110px, 16vw, 250px);
    bottom: 10px;
    font-size: clamp(12px, 1.12vw, 17px);
    font-weight: 800;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.96);
    -webkit-text-stroke: 0.4px rgba(255, 255, 255, 0.45);
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.28),
        0 4px 14px rgba(66, 14, 39, 0.46),
        0 0 22px rgba(255, 198, 224, 0.34);
    pointer-events: none;
    white-space: nowrap;
}

.container {
    position: relative;
    background: linear-gradient(180deg, rgba(249, 220, 232, 0.68) 0%, rgba(243, 202, 219, 0.62) 100%);
}

.container::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 10px 10px, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.28;
}

.main-section {
    background-color: rgba(255, 248, 252, 0.34);
}

.search-section {
    border-left: 1px solid rgba(219, 120, 154, 0.45);
    background: linear-gradient(180deg, rgba(255, 239, 246, 0.74) 0%, rgba(255, 230, 240, 0.68) 100%);
}

.search-section h1 {
    display: block;
    margin: 0 0 14px;
    padding: 0;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #5c1f38;
    font-size: 1.32em;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.search-section h1::after {
    content: "";
    display: block;
    width: 118px;
    height: 4px;
    margin-top: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(220, 84, 134, 0.95) 0%, rgba(240, 166, 195, 0.9) 100%);
}

.search-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.search-bar input {
    width: min(360px, 72%) !important;
    padding: 10px 12px;
    margin-right: 0;
    border: 1px solid rgba(237, 159, 187, 0.8);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
}

.search-bar button {
    border-radius: 12px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #e27a98 0%, #cc5277 100%);
    font-weight: 700;
    box-shadow: 0 8px 16px rgba(93, 30, 51, 0.18);
}

#autocomplete-dropdown {
    width: min(360px, 72%);
    border: 1px solid rgba(236, 178, 199, 0.95);
    border-radius: 10px;
    box-shadow: 0 12px 22px rgba(93, 30, 51, 0.15);
}

.id-container {
    background: linear-gradient(180deg, rgba(255, 252, 253, 0.95) 0%, rgba(255, 246, 250, 0.92) 100%);
    border-color: rgba(232, 148, 180, 0.65);
    box-shadow: 0 12px 26px rgba(87, 31, 55, 0.1);
}

.period-container {
    background: rgba(255, 251, 253, 0.96);
    border-color: rgba(237, 191, 211, 0.92);
}

.period-tables {
    grid-template-columns: 0.27fr 1fr 1fr;
    transition: grid-template-columns 0.24s ease;
}

.period-tables.alltime-expanded {
    grid-template-columns: 0.9fr 1fr 1fr;
}

.period-container th,
.period-container td {
    border: 0;
    border-bottom: 1px solid rgba(238, 197, 212, 0.84);
    background: transparent;
}

.period-container th:nth-child(2),
.period-container th:nth-child(3) {
    background: rgba(236, 123, 154, 0.86);
    color: #4f2234;
}

.period-container th:nth-child(3),
.period-container td:nth-child(3) {
    text-overflow: clip;
}

.period-container th {
    position: static;
    top: auto;
}

.period-container th:nth-child(2),
.period-container td:nth-child(2) {
    border-left: 1px solid rgba(226, 150, 183, 0.9);
}

.period-container th:nth-child(3),
.period-container td:nth-child(3) {
    border-right: 1px solid rgba(226, 150, 183, 0.9);
}

.period-container th:nth-child(2),
.period-container td:nth-child(2),
.period-container th:nth-child(3),
.period-container td:nth-child(3) {
    border-left-width: 1px;
    border-right-width: 1px;
}

.period-container th:nth-child(1),
.period-container td:nth-child(1),
.period-container th:nth-child(4),
.period-container td:nth-child(4) {
    background: transparent !important;
}

.period-container tbody tr:hover td:nth-child(1),
.period-container tbody tr:hover td:nth-child(4) {
    background: transparent !important;
}

.period-container tbody tr:last-child td {
    border-bottom: 1px solid rgba(238, 197, 212, 0.84);
}

.period-container.alltime-panel {
    position: relative;
    min-height: 82px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(238, 238, 238, 0.95);
    transition: background-color 1.5s ease;
}

.period-container.alltime-panel h3 {
    position: absolute;
    top: 20px;
    left: 50%;
    z-index: 2;
    width: calc(100% - 18px);
    max-width: calc(100% - 18px);
    margin: 0 !important;
    padding: 0;
    text-align: center;
    color: #6d2944;
    font-weight: 700;
    transform: translate(-50%, 0);
    transition: top 1.5s ease;
}

.period-container.alltime-panel table {
    margin-top: 30px;
    opacity: 0;
    max-height: 0;
    pointer-events: none;
    filter: blur(18px);
    transform: translateY(16px) scale(0.985);
    transition: opacity 1s ease, transform 1s ease, max-height 1s ease, filter 1s ease;
}

.period-container.alltime-panel:not(.is-expanded):hover h3 {
    top: 12px;
}

.period-container.alltime-panel:not(.is-expanded):hover {
    background: rgba(255, 255, 255, 1);
}

.period-container.alltime-panel:not(.is-expanded):hover table {
    opacity: 0.3;
    max-height: 240px;
    pointer-events: none;
    filter: blur(14px);
    transform: translateY(10px) scale(0.99);
    transition-delay: 0.5s, 0.5s, 0.5s, 0.5s;
}

.period-container.alltime-panel.is-expanded {
    cursor: default;
    background: rgba(255, 251, 253, 0.96);
}

.period-container.alltime-panel.is-expanded h3 {
    position: static;
    width: auto;
    max-width: none;
    margin: 0 0 8px !important;
    margin-left: 26px !important;
    padding: 0;
    text-align: left;
    transform: none;
}

.period-container.alltime-panel.is-expanded table {
    margin-top: 0;
    opacity: 1;
    max-height: 2000px;
    pointer-events: auto;
    filter: blur(0);
    transform: translateY(0) scale(1);
    transition-delay: 0s, 0s, 0s, 0s;
}

.corner-image {
    display: none !important;
}

#black-overlay {
    background-color: #000 !important;
    backdrop-filter: none !important;
}

#black-overlay.soft-visible {
    opacity: 1;
    pointer-events: auto;
    background-color: rgba(0, 0, 0, 0.38) !important;
    backdrop-filter: blur(4px) !important;
}

#hall-of-fame-container {
    background-color: rgba(20, 20, 20, 0.94);
    max-height: 72vh;
    top: 45%;
}

#hall-of-fame-container tbody tr:nth-child(odd) td {
    background-color: rgba(255, 255, 255, 0.93);
}

#hall-of-fame-container tbody tr:nth-child(even) td {
    background-color: rgba(235, 235, 235, 0.91);
}

#hof-back-button {
    bottom: 60px;
    right: 50px;
}
