/* ===== CSS cho các trang bên trong iframe ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    background: #0c0a08;
    background: -webkit-linear-gradient(135deg, #0c0a08 0%, #12090a 50%, #0c0a08 100%);
    background: -moz-linear-gradient(135deg, #0c0a08 0%, #12090a 50%, #0c0a08 100%);
    background: -ms-linear-gradient(135deg, #0c0a08 0%, #12090a 50%, #0c0a08 100%);
    background: linear-gradient(135deg, #0c0a08 0%, #12090a 50%, #0c0a08 100%);
    color: #d4c8a0;
    font-family: Tahoma, Arial, 'Segoe UI', Verdana, sans-serif !important;
    font-size: 13px;
    line-height: 1.4;
    -webkit-font-smoothing: subpixel-antialiased;
    text-shadow: 0 0 1px rgba(0,0,0,1);
}

.inner-content {
    padding: 20px 24px;
    -webkit-animation: fadeInUp 0.4s ease-out;
    animation: fadeInUp 0.4s ease-out;
}

@-webkit-keyframes fadeInUp {
    0% { opacity: 0; -webkit-transform: translateY(10px); transform: translateY(10px); }
    100% { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ===== WELCOME BOX ===== */
.welcome-box {
    text-align: center;
    margin-bottom: 20px;
    padding: 18px 14px;
    background: -webkit-linear-gradient(top, rgba(40, 20, 5, 0.6), rgba(15, 10, 5, 0.3));
    background: -moz-linear-gradient(top, rgba(40, 20, 5, 0.6), rgba(15, 10, 5, 0.3));
    background: -ms-linear-gradient(top, rgba(40, 20, 5, 0.6), rgba(15, 10, 5, 0.3));
    background: linear-gradient(to bottom, rgba(40, 20, 5, 0.6), rgba(15, 10, 5, 0.3));
    border: 1px solid #3a1a08;
    border-top: 2px solid #8b3a0a;
    position: relative;
    overflow: hidden;
}

/* Subtle corner decorations */
.welcome-box::before,
.welcome-box::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: #5a2a0a;
    border-style: solid;
}

.welcome-box::before {
    top: 4px;
    left: 4px;
    border-width: 1px 0 0 1px;
}

.welcome-box::after {
    bottom: 4px;
    right: 4px;
    border-width: 0 1px 1px 0;
}

.welcome-box h1 {
    font-size: 24px;
    font-weight: 700;
    color: #e8c868;
    text-transform: uppercase;
    letter-spacing: 0px !important;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 0 12px rgba(200, 120, 20, 0.4);
}

.welcome-box h1 .highlight {
    color: #ff4422;
    text-shadow: 0 0 14px rgba(255, 68, 34, 0.5), 0 2px 4px rgba(0,0,0,0.8);
}

.divider {
    width: 60%;
    height: 1px;
    margin: 10px auto;
    background: -webkit-linear-gradient(left, transparent, #8b3a0a, #e8c868, #8b3a0a, transparent);
    background: -moz-linear-gradient(left, transparent, #8b3a0a, #e8c868, #8b3a0a, transparent);
    background: -ms-linear-gradient(left, transparent, #8b3a0a, #e8c868, #8b3a0a, transparent);
    background: linear-gradient(to right, transparent, #8b3a0a, #e8c868, #8b3a0a, transparent);
}

.welcome-box .desc {
    font-size: 11px;
    color: #8a7a58;
    letter-spacing: 0px !important;

    font-weight: 300;
}

/* ===== INFO CARDS ===== */
.info-cards {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.card {
    -ms-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 12px 14px;
    background: rgba(30, 15, 5, 0.7);
    border: 1px solid #2a1808;
    border-left: 3px solid #8b3a0a;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: -webkit-linear-gradient(left, transparent, rgba(139, 58, 10, 0.05));
    background: linear-gradient(to right, transparent, rgba(139, 58, 10, 0.05));
    pointer-events: none;
}

.card:hover {
    border-left-color: #cc5500;
    background: rgba(40, 20, 8, 0.9);
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card-icon {
    font-size: 22px;
    color: #cc5500;
    margin-right: 12px;
    text-shadow: 0 0 8px rgba(200, 80, 0, 0.3);
}

.card-title {
    font-size: 11px;
    color: #a09070;
    text-transform: uppercase;
    letter-spacing: 0px !important;
    font-weight: 700 !important;
    margin-bottom: 2px;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.8);
}

.card-value {
    font-size: 20px;
    font-weight: 700;
    color: #e8c868;
    text-shadow: 0 0 10px rgba(200, 150, 50, 0.3);
}

/* ===== NEWS SECTION ===== */
.section-header {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    margin-bottom: 12px;
}

.header-line {
    -ms-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    height: 1px;
    background: -webkit-linear-gradient(left, transparent, #3a1a08);
    background: -moz-linear-gradient(left, transparent, #3a1a08);
    background: -ms-linear-gradient(left, transparent, #3a1a08);
    background: linear-gradient(to right, transparent, #3a1a08);
}

.header-line:last-child {
    background: -webkit-linear-gradient(left, #3a1a08, transparent);
    background: -moz-linear-gradient(left, #3a1a08, transparent);
    background: -ms-linear-gradient(left, #3a1a08, transparent);
    background: linear-gradient(to right, #3a1a08, transparent);
}

.header-text {
    padding: 0 14px;
    font-size: 12px;
    font-weight: 700 !important;
    color: #cc5500;
    text-transform: uppercase;
    letter-spacing: 0px !important;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 0 8px rgba(204, 85, 0, 0.3);
}

.news-list {
    list-style: none;
}

.news-list li {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 9px 12px;
    border-bottom: 1px solid rgba(42, 24, 8, 0.5);
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.news-list li:hover {
    background: rgba(40, 20, 8, 0.5);
    padding-left: 16px;
}

.news-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-right: 12px;
    min-width: 50px;
    text-align: center;
    -ms-flex-negative: 0;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}

.news-tag.hot {
    background: rgba(139, 26, 26, 0.8);
    color: #ff9999;
    border: 1px solid #cc3333;
    -webkit-box-shadow: 0 0 6px rgba(204, 51, 51, 0.2);
    box-shadow: 0 0 6px rgba(204, 51, 51, 0.2);
}

.news-tag.update {
    background: rgba(26, 74, 26, 0.8);
    color: #88cc88;
    border: 1px solid #338833;
}

.news-tag.event {
    background: rgba(74, 58, 10, 0.8);
    color: #e8c868;
    border: 1px solid #8b6a1a;
}

.news-tag.news {
    background: rgba(26, 40, 80, 0.8);
    color: #88aaff;
    border: 1px solid #3355aa;
}

.news-tag.notice {
    background: rgba(100, 50, 20, 0.8);
    color: #ff8866;
    border: 1px solid #cc5533;
}

.news-tag.new {
    background: rgba(20, 80, 80, 0.8);
    color: #44dddd;
    border: 1px solid #33aaaa;
}

.news-list a {
    -ms-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    color: #b8a878;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    -webkit-transition: color 0.2s ease;
    -moz-transition: color 0.2s ease;
    -ms-transition: color 0.2s ease;
    transition: color 0.2s ease;
}

.news-list a:hover {
    color: #e8c868;
}

.news-date {
    font-size: 11px;
    color: #5a4a30;
    margin-left: 12px;
    -ms-flex-negative: 0;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}

/* ===== PAGE TITLE (cho các trang con) ===== */
.page-title {
    font-size: 18px;
    font-weight: 700;
    color: #e8c868;
    text-transform: uppercase;
    letter-spacing: 0px !important;

    margin-bottom: 6px;
    padding-bottom: 10px;
    border-bottom: 2px solid #8b3a0a;
    text-shadow: 0 0 10px rgba(200, 120, 20, 0.3), 0 2px 4px rgba(0,0,0,0.6);
    position: relative;
}

.page-title::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #cc5500;
    -webkit-box-shadow: 0 0 8px rgba(204, 85, 0, 0.5);
    box-shadow: 0 0 8px rgba(204, 85, 0, 0.5);
}

.page-desc {
    font-size: 12px;
    color: #8a7a58;
    margin-bottom: 20px;
}

/* ===== FORM STYLES (cho đăng ký, v.v.) ===== */
.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 11px;
    color: #8a7a58;
    text-transform: uppercase;
    letter-spacing: 0px !important;

    margin-bottom: 5px;
    font-weight: 700;
}

.form-group input {
    width: 100%;
    padding: 9px 14px;
    background: rgba(20, 12, 5, 0.8);
    border: 1px solid #2a1808;
    color: #d4c8a0;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-size: 13px;
    outline: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #8b3a0a;
    -webkit-box-shadow: 0 0 8px rgba(139, 58, 10, 0.2), inset 0 0 8px rgba(139, 58, 10, 0.05);
    box-shadow: 0 0 8px rgba(139, 58, 10, 0.2), inset 0 0 8px rgba(139, 58, 10, 0.05);
    background: rgba(25, 15, 5, 0.9);
}

.form-group input::-webkit-input-placeholder { color: #4a3a25; }
.form-group input::-moz-placeholder { color: #4a3a25; }
.form-group input:-ms-input-placeholder { color: #4a3a25; }
.form-group input::placeholder { color: #4a3a25; }

.btn-submit {
    display: inline-block;
    padding: 10px 28px;
    background: -webkit-linear-gradient(top, #8b3a0a, #5a2208);
    background: -moz-linear-gradient(top, #8b3a0a, #5a2208);
    background: -ms-linear-gradient(top, #8b3a0a, #5a2208);
    background: linear-gradient(to bottom, #8b3a0a, #5a2208);
    color: #e8c868;
    border: 1px solid #cc5500;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0px !important;

    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: -webkit-linear-gradient(left, transparent, rgba(255, 255, 255, 0.1), transparent);
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    -webkit-transition: left 0.5s ease;
    transition: left 0.5s ease;
}

.btn-submit:hover {
    background: -webkit-linear-gradient(top, #a84a12, #6a2a0a);
    background: -moz-linear-gradient(top, #a84a12, #6a2a0a);
    background: -ms-linear-gradient(top, #a84a12, #6a2a0a);
    background: linear-gradient(to bottom, #a84a12, #6a2a0a);
    -webkit-box-shadow: 0 0 12px rgba(204, 85, 0, 0.3);
    box-shadow: 0 0 12px rgba(204, 85, 0, 0.3);
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:active {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* ===== TABLE STYLES (cho bảng xếp hạng) ===== */
.rank-table {
    width: 100%;
    border-collapse: collapse;
}

.rank-table th {
    background: rgba(40, 20, 5, 0.8);
    color: #cc5500;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0px !important;

    padding: 9px 12px;
    text-align: left;
    border-bottom: 2px solid #3a1a08;
    text-shadow: 0 0 6px rgba(204, 85, 0, 0.2);
}

.rank-table td {
    padding: 8px 12px;
    font-size: 12px;
    border-bottom: 1px solid rgba(42, 24, 8, 0.4);
    color: #b8a878;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.rank-table tr {
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.rank-table tbody tr:hover {
    background: rgba(40, 20, 8, 0.5);
}

.rank-table tbody tr:hover td {
    color: #e8c868;
    padding-left: 16px;
}

.rank-table .rank-num {
    font-weight: 700;
    color: #cc5500;
    width: 30px;
}

.rank-table .rank-gold {
    color: #e8c868;
    text-shadow: 0 0 8px rgba(232, 200, 104, 0.4);
}

.rank-table .rank-silver {
    color: #c0c0c0;
    text-shadow: 0 0 6px rgba(192, 192, 192, 0.3);
}

.rank-table .rank-bronze {
    color: #cd7f32;
    text-shadow: 0 0 6px rgba(205, 127, 50, 0.3);
}

/* ===== INFO LIST (cho thông tin máy chủ) ===== */
.info-list {
    list-style: none;
}

.info-list li {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    padding: 9px 12px;
    border-bottom: 1px solid rgba(42, 24, 8, 0.4);
    font-size: 12px;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.info-list li:hover {
    background: rgba(40, 20, 8, 0.4);
    padding-left: 16px;
}

.info-list .info-label {
    color: #8a7a58;
    font-weight: 400;
}

.info-list .info-value {
    color: #e8c868;
    font-weight: 700;
}

/* ===== DOWNLOAD BUTTONS ===== */
.download-buttons {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    gap: 12px;
    margin-top: 20px;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.btn-download {
    display: -ms-inline-flexbox;
    display: -webkit-inline-flex;
    display: inline-flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 12px 24px;
    text-decoration: none;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0px !important;

    border: 1px solid;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-download::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: -webkit-linear-gradient(left, transparent, rgba(255, 255, 255, 0.08), transparent);
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.08), transparent);
    -webkit-transition: left 0.5s ease;
    transition: left 0.5s ease;
}

.btn-download:hover::before {
    left: 100%;
}

.btn-download.primary {
    background: -webkit-linear-gradient(top, #8b3a0a, #5a2208);
    background: linear-gradient(to bottom, #8b3a0a, #5a2208);
    color: #e8c868;
    border-color: #cc5500;
}

.btn-download.primary:hover {
    -webkit-box-shadow: 0 0 16px rgba(204, 85, 0, 0.3);
    box-shadow: 0 0 16px rgba(204, 85, 0, 0.3);
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}

.btn-download.secondary {
    background: -webkit-linear-gradient(top, #2a4a1a, #1a2a0a);
    background: linear-gradient(to bottom, #2a4a1a, #1a2a0a);
    color: #88cc88;
    border-color: #338833;
}

.btn-download.secondary:hover {
    -webkit-box-shadow: 0 0 16px rgba(51, 136, 51, 0.3);
    box-shadow: 0 0 16px rgba(51, 136, 51, 0.3);
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}

.btn-icon {
    margin-right: 8px;
    font-size: 16px;
}

/* ===== SCROLLBAR 3D RED (IE) ===== */
html {
    scrollbar-face-color: #5a1a0a;
    scrollbar-highlight-color: #8b3a1a;
    scrollbar-shadow-color: #2a0a02;
    scrollbar-3dlight-color: #a04a1a;
    scrollbar-darkshadow-color: #1a0500;
    scrollbar-track-color: #0e0804;
    scrollbar-arrow-color: #cc5500;
    scrollbar-base-color: #3a1208;
}

/* ===== SCROLLBAR 3D RED (Webkit / Chrome) ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0e0804;
    border-left: 1px solid #1a0a04;
    border-right: 1px solid #1a0a04;
    -webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.6);
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.6);
}

::-webkit-scrollbar-thumb {
    background: #5a1a0a;
    background: -webkit-linear-gradient(left, #8b3a1a, #5a1a0a, #3a0e05);
    background: linear-gradient(to right, #8b3a1a, #5a1a0a, #3a0e05);
    border-top: 1px solid #a04a1a;
    border-bottom: 1px solid #2a0a02;
    border-left: 1px solid #8b3a1a;
    border-right: 1px solid #2a0a02;
    -webkit-box-shadow: inset 0 1px 0 #a04a1a, inset 0 -1px 0 #1a0500;
    box-shadow: inset 0 1px 0 #a04a1a, inset 0 -1px 0 #1a0500;
}

::-webkit-scrollbar-thumb:hover {
    background: #7a2a12;
    background: -webkit-linear-gradient(left, #a84a22, #7a2a12, #4a1208);
    background: linear-gradient(to right, #a84a22, #7a2a12, #4a1208);
    border-top: 1px solid #cc5500;
    border-left: 1px solid #a84a22;
}

::-webkit-scrollbar-button:single-button {
    height: 14px;
    width: 10px;
    display: block;
    background: #3a1208;
    background: -webkit-linear-gradient(top, #5a1a0a, #2a0a02);
    background: linear-gradient(to bottom, #5a1a0a, #2a0a02);
    border: 1px solid #1a0500;
    border-top-color: #8b3a1a;
    border-left-color: #6a2a10;
}

::-webkit-scrollbar-button:single-button:hover {
    background: -webkit-linear-gradient(top, #7a2a12, #3a0e05);
    background: linear-gradient(to bottom, #7a2a12, #3a0e05);
}

::-webkit-scrollbar-corner {
    background: #0e0804;
}

/* ===== GUIDE SECTION ===== */
.guide-section {
    margin-bottom: 14px;
    padding: 12px 16px;
    background: rgba(20, 12, 5, 0.5);
    border-left: 3px solid #3a1a08;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.guide-section:hover {
    border-left-color: #8b3a0a;
    background: rgba(30, 15, 5, 0.6);
    -webkit-transform: translateX(3px);
    transform: translateX(3px);
}

.guide-title {
    font-size: 13px;
    font-weight: 700;
    color: #cc5500;
    text-transform: uppercase;
    letter-spacing: 0px !important;

    margin-bottom: 6px;
    text-shadow: 0 0 6px rgba(204, 85, 0, 0.2);
}

.guide-text {
    font-size: 12px;
    color: #a89870;
    line-height: 1.7;
}

/* ===== EVENT STATUS BADGES ===== */
.status-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.status-badge.open {
    color: #88cc88;
}

.status-badge.closed {
    color: #8a7a58;
}

.status-badge.special {
    color: #ff6633;
    -webkit-animation: specialPulse 2s ease-in-out infinite;
    animation: specialPulse 2s ease-in-out infinite;
}

.status-badge.daily {
    color: #e8c868;
}

@-webkit-keyframes specialPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
@keyframes specialPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ===== REGISTER SUCCESS MSG ===== */
.msg-success {
    padding: 10px 14px;
    background: rgba(26, 74, 26, 0.3);
    border: 1px solid #338833;
    border-left: 3px solid #88cc88;
    color: #88cc88;
    font-size: 12px;
    margin-bottom: 14px;
}

.msg-error {
    padding: 10px 14px;
    background: rgba(139, 26, 26, 0.3);
    border: 1px solid #cc3333;
    border-left: 3px solid #ff6666;
    color: #ff9999;
    font-size: 12px;
    margin-bottom: 14px;
}

/* ===== ONLINE / OFFLINE DOTS ===== */
.dot-online,
.dot-offline {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    vertical-align: middle;
}

.dot-online {
    background: #88cc88;
    -webkit-box-shadow: 0 0 6px rgba(136, 204, 136, 0.6);
    box-shadow: 0 0 6px rgba(136, 204, 136, 0.6);
    -webkit-animation: dotPulseInner 2s ease-in-out infinite;
    animation: dotPulseInner 2s ease-in-out infinite;
}

.dot-offline {
    background: #5a3a2a;
    -webkit-box-shadow: none;
    box-shadow: none;
}

@-webkit-keyframes dotPulseInner {
    0%, 100% { -webkit-box-shadow: 0 0 4px rgba(136, 204, 136, 0.4); box-shadow: 0 0 4px rgba(136, 204, 136, 0.4); }
    50% { -webkit-box-shadow: 0 0 10px rgba(136, 204, 136, 0.8); box-shadow: 0 0 10px rgba(136, 204, 136, 0.8); }
}
@keyframes dotPulseInner {
    0%, 100% { box-shadow: 0 0 4px rgba(136, 204, 136, 0.4); }
    50% { box-shadow: 0 0 10px rgba(136, 204, 136, 0.8); }
}

/* ===== GM ROW (CtlCode = 32) ===== */
.row-gm td {
    color: #00e5ff !important;
    text-shadow: 0 0 4px rgba(0, 229, 255, 0.3);
}

.gm-name {
    color: #00e5ff !important;
    font-weight: 700;
    text-shadow: 0 0 6px rgba(0, 229, 255, 0.4);
}

.gm-hidden {
    color: #4a3a25 !important;
    text-shadow: none !important;
}

/* ===== GUILD LOGO IN RANKING ===== */
.guild-cell {
    white-space: nowrap;
}

.guild-logo {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 5px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    border: 1px solid rgba(232, 200, 104, 0.2);
}

/* Medal Icons */
.medal-icon {
    width: 48px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    -webkit-filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

