@charset "utf-8";
body { background:repeat url(img/bbg1.gif) #251D1A fixed; margin:0px auto; color:#FFFFFF; border:0px; font-size:11px; font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;cursor:url("img/cursor.png"),auto; }
a, a:link, a:visited { color:#ffdca8; font-size:11px; text-decoration:none; cursor:url("img/cursor.png"),auto; }
li { list-style:square;}
a:hover { text-decoration: none; cursor:url("img/cursor.png"),auto; }
span,label { cursor:url("img/cursor.png"),auto; }
img { border:0px; }
hr { border:1px solid #D883FF; }
form { margin:0px; padding:0px; }
* html .outlinemenu li {height: 1%; }
* html .outlinemenu li a { height: 1%; }
input,select,textarea { border:1px solid #3b3028; background:url(img/page_center_center.png); color:#FFDAAA; color-scheme: dark !important; font-family:"Times New Roman", Times, serif; padding:3px 5px 3px 5px;  cursor:url("img/cursor.png"),auto;  }
select { background:#0a0503; color-scheme: dark !important; }
select option { background-color: #1a120c !important; color: #ffdca8 !important; }
textarea { background:url(img/texarea_bg.png) no-repeat right bottom #0a0503; }
#h4 { font-size:15px; font-family:Arial, Helvetica, sans-serif; }
/* Slighti Window */
#mask { position:fixed; width:100%; height:100%; left:0; top:0; z-index:9000; background-color:rgba(0,0,0,0.75); display:none; }
#boxes .window { position:fixed; left:0; top:0; width:375px; height:203px; display:none; z-index:9999; padding:0; box-sizing:content-box; }
/* =========================================================
   MODERN LOGIN MODAL STYLES (Dark RPG Theme)
   ========================================================= */
#boxes #dialog1,
#boxes #dialog1.login-modal-window {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 92% !important;
    max-width: 400px !important;
    height: auto !important;
    min-height: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-sizing: border-box !important;
    z-index: 10000 !important;
}

.login-modal-card {
    background: linear-gradient(180deg, #1d1510 0%, #110c08 100%);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.95), 0 0 25px rgba(212, 175, 55, 0.2);
    padding: 24px 22px 20px 22px;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    color: #e2e8f0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Trebuchet MS", sans-serif;
}

.login-modal-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #f59e0b, #ef4444, #f59e0b, transparent);
}

.login-modal-close-icon {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    color: #8b9bb4;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.15s ease, transform 0.15s ease;
}

.login-modal-close-icon:hover {
    color: #f59e0b;
    transform: scale(1.15);
}

.login-modal-header {
    margin-bottom: 18px;
}

.login-modal-icon {
    font-size: 34px;
    margin-bottom: 6px;
    line-height: 1;
    filter: drop-shadow(0 2px 10px rgba(245, 158, 11, 0.5));
}

.login-modal-title {
    font-size: 20px;
    font-weight: 800;
    color: #f59e0b;
    margin: 0 0 6px 0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.login-modal-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #ffdca8;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 2px 10px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.login-modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.login-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.login-input-icon {
    position: absolute;
    left: 12px;
    font-size: 16px;
    pointer-events: none;
    opacity: 0.75;
    z-index: 2;
}

.login-modal-input {
    width: 100% !important;
    height: 42px !important;
    background: rgba(12, 9, 6, 0.85) !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    border-radius: 8px !important;
    color: #f8fafc !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 0 12px 0 38px !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    outline: none !important;
}

.login-modal-input:focus {
    border-color: #f59e0b !important;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.35) !important;
    background: rgba(18, 13, 9, 0.95) !important;
}

.login-modal-input::placeholder {
    color: #718096 !important;
    font-weight: 500 !important;
}

.login-modal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    padding: 2px 2px;
}

.login-remember-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #cbd5e1;
    user-select: none;
}

.login-checkbox {
    accent-color: #d97706;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.login-remember-text {
    font-size: 12px;
    color: #cbd5e1;
}

.login-recovery-link {
    color: #f59e0b;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.15s ease;
}

.login-recovery-link:hover {
    color: #ffd790;
    text-decoration: underline;
}

.login-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.login-modal-actions .login-btn {
    flex: 1;
    height: 42px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.login-btn-submit {
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    color: #1a0b02;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
    border: 1px solid rgba(254, 240, 138, 0.5);
}

.login-btn-submit:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.6);
}

.login-btn-cancel {
    background: rgba(30, 20, 15, 0.85);
    color: #cbd5e1;
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.login-btn-cancel:hover {
    background: rgba(50, 30, 20, 0.95);
    color: #f8fafc;
    border-color: rgba(212, 175, 55, 0.5);
}

.login-modal-footer {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.login-register-link {
    color: #f59e0b;
    font-weight: 700;
    text-decoration: none;
}

.login-register-link:hover {
    color: #ffd790;
    text-decoration: underline;
}

/* =========================================================
   MODERN LOGOUT MODAL STYLES (Dark RPG Theme)
   ========================================================= */
#boxes #dialog2,
#boxes #dialog2.logout-modal-window {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 92% !important;
    max-width: 420px !important;
    height: auto !important;
    min-height: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-sizing: border-box !important;
    z-index: 10000 !important;
}

.logout-modal-card {
    background: linear-gradient(180deg, #1d1510 0%, #110c08 100%);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.95), 0 0 25px rgba(212, 175, 55, 0.2);
    padding: 24px 22px 20px 22px;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    color: #e2e8f0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Trebuchet MS", sans-serif;
}

.logout-modal-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #f59e0b, #ef4444, #f59e0b, transparent);
}

.logout-modal-close-icon {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    color: #8b9bb4;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.15s ease, transform 0.15s ease;
}

.logout-modal-close-icon:hover {
    color: #f59e0b;
    transform: scale(1.15);
}

.logout-modal-header {
    margin-bottom: 14px;
}

.logout-modal-icon {
    font-size: 34px;
    margin-bottom: 6px;
    line-height: 1;
    filter: drop-shadow(0 2px 10px rgba(245, 158, 11, 0.5));
}

.logout-modal-title {
    font-size: 20px;
    font-weight: 800;
    color: #f59e0b;
    margin: 0 0 6px 0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.logout-modal-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #ffdca8;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 2px 10px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.logout-modal-body {
    margin-bottom: 20px;
    padding: 0 6px;
}

.logout-modal-message {
    font-size: 14px;
    color: #f1f5f9;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.45;
}

.logout-modal-subtext {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

.logout-modal-actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
}

.logout-btn {
    flex: 1 1 50%;
    max-width: 175px;
    padding: 10px 14px;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
}

.logout-btn-confirm {
    background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%);
    border-color: #ef4444;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}

.logout-btn-confirm:hover {
    background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.6);
    transform: translateY(-1px);
}

.logout-btn-cancel {
    background: linear-gradient(180deg, #2b1d16 0%, #19100c 100%);
    border-color: rgba(212, 175, 55, 0.4);
    color: #ffdca8 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.logout-btn-cancel:hover {
    background: linear-gradient(180deg, #3d291e 0%, #261610 100%);
    border-color: #f59e0b;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
    transform: translateY(-1px);
}
.mu_online {position:fixed; top:-27px; margin-left:442px; z-index:1000; }
.download { position:absolute; top:125px; margin-left:16px; }
.top_menu { 
    z-index: 100; 
    height: 40px; 
    position: fixed; 
    top: 0px; 
    width: 1000px; 
    background: url(img/topmenu.png); 
    opacity: .95; 
    transition: opacity 0.2s ease;
}
.top_menu:hover { 
    opacity: 1; 
}
.top_menu_links { 
    float: right; 
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    height: 40px; 
    margin: 0 28px 0 0; 
    line-height: normal; 
}
.top-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 7px;
    height: 25px;
    box-sizing: border-box;
    font-family: 'Cinzel', serif;
    font-size: 10.5px;
    font-weight: 700;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    user-select: none;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Default Dark Obsidian / Bronzed Steel theme */
    background: linear-gradient(180deg, rgba(42, 33, 26, 0.95) 0%, rgba(22, 17, 13, 0.98) 100%);
    border: 1px solid rgba(197, 160, 89, 0.45);
    color: #e2e8f0 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 230, 160, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.6);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}
.top-nav-btn .nav-icon {
    font-size: 11px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8));
    transition: transform 0.2s ease;
}
.top-nav-btn .nav-text {
    line-height: 1;
    display: inline-block;
}
.top-nav-btn:hover {
    color: #ffffff !important;
    border-color: #d4af37;
    background: linear-gradient(180deg, rgba(68, 50, 36, 0.96) 0%, rgba(38, 27, 19, 0.98) 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8), 0 0 10px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 240, 200, 0.3);
    transform: translateY(-1.5px);
}
.top-nav-btn:hover .nav-icon {
    transform: scale(1.1);
}
.top-nav-btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.8), inset 0 1px 2px rgba(0, 0, 0, 0.7);
}

/* 1. Support Desk - Regal Amber & Gold Glow */
.top-nav-btn.support-btn {
    background: linear-gradient(180deg, rgba(78, 50, 16, 0.96) 0%, rgba(42, 25, 7, 0.98) 100%);
    border: 1px solid #d4af37;
    color: #fef08a !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7), 0 0 7px rgba(212, 175, 55, 0.25), inset 0 1px 0 rgba(254, 240, 138, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.6);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}
.top-nav-btn.support-btn:hover {
    background: linear-gradient(180deg, rgba(120, 75, 20, 0.98) 0%, rgba(68, 40, 9, 1) 100%);
    border-color: #fef08a;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 0 15px rgba(245, 158, 11, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* 2. Server Statistics - Crimson Ruby Fantasy Red */
.top-nav-btn.stats-btn {
    background: linear-gradient(180deg, rgba(88, 20, 28, 0.96) 0%, rgba(48, 10, 15, 0.98) 100%);
    border: 1px solid rgba(244, 63, 94, 0.65);
    color: #ffe4e6 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7), 0 0 6px rgba(225, 29, 72, 0.28), inset 0 1px 0 rgba(255, 200, 210, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.6);
}
.top-nav-btn.stats-btn:hover {
    background: linear-gradient(180deg, rgba(160, 28, 48, 0.98) 0%, rgba(88, 14, 26, 1) 100%);
    border-color: #fb7185;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 0 15px rgba(244, 63, 94, 0.68), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* 3. Register - Deep Emerald & Mithril */
.top-nav-btn.register-btn {
    background: linear-gradient(180deg, rgba(20, 52, 32, 0.96) 0%, rgba(10, 28, 17, 0.98) 100%);
    border: 1px solid rgba(34, 197, 94, 0.6);
    color: #86efac !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(134, 239, 172, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.6);
}
.top-nav-btn.register-btn:hover {
    background: linear-gradient(180deg, rgba(28, 80, 48, 0.98) 0%, rgba(14, 45, 26, 1) 100%);
    border-color: #4ade80;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 0 14px rgba(34, 197, 94, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* 4. Log In - Radiant Celestial Sapphire / Royal Blue */
.top-nav-btn.login-btn {
    background: linear-gradient(180deg, #38bdf8 0%, #0284c7 48%, #0369a1 100%);
    border: 1px solid #7dd3fc;
    color: #ffffff !important;
    font-weight: 800;
    letter-spacing: 0.8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.7), 0 0 12px rgba(14, 165, 233, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.7), inset 0 -1px 2px rgba(0, 0, 0, 0.5);
    text-shadow: 0 1px 2px rgba(0, 25, 60, 0.85);
}
.top-nav-btn.login-btn:hover {
    background: linear-gradient(180deg, #7dd3fc 0%, #38bdf8 45%, #0284c7 100%);
    border-color: #ffffff;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.8), 0 0 18px rgba(56, 189, 248, 0.85), inset 0 1px 1px #ffffff;
}

/* 5. Account Manager - Royal Sapphire */
.top-nav-btn.account-btn {
    background: linear-gradient(180deg, rgba(26, 44, 72, 0.96) 0%, rgba(13, 23, 40, 0.98) 100%);
    border: 1px solid rgba(96, 165, 250, 0.55);
    color: #93c5fd !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(147, 197, 253, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.6);
}
.top-nav-btn.account-btn:hover {
    background: linear-gradient(180deg, rgba(38, 68, 112, 0.98) 0%, rgba(18, 36, 64, 1) 100%);
    border-color: #60a5fa;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 0 14px rgba(96, 165, 250, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* 6. Log Out - Dark Crimson Velvet */
.top-nav-btn.logout-btn {
    background: linear-gradient(180deg, rgba(68, 22, 22, 0.96) 0%, rgba(35, 11, 11, 0.98) 100%);
    border: 1px solid rgba(239, 68, 68, 0.55);
    color: #fca5a5 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(252, 165, 165, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.6);
}
.top-nav-btn.logout-btn:hover {
    background: linear-gradient(180deg, #dc2626 0%, #881337 100%);
    border-color: #f87171;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 0 14px rgba(239, 68, 68, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.top_menu_language {z-index:70; position:absolute; cursor:url("img/cursor.png"),auto; width:57px; height:30px; margin:5px 0 0 15px; text-align:center; padding:3px 0 0 5px; background:url(img/language.gif) top center no-repeat;}
.lang_select {z-index:100; }
#languages { position:absolute;z-index:90; margin:0 0 0 15px; cursor:pointer; padding:5px 0 5px 5px; width:57px; top:27px; text-align:center; background:url(img/fon-language-bottom.gif) bottom center no-repeat;}
.menu_in {
    background: url(img/b_left_img_sm.gif) no-repeat bottom center;
    padding-bottom: 15px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}
.menu_in ul {
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
    text-align: center !important;
    width: 100%;
}
.menu_in li {
    background: url(img/menu_in.gif) repeat-y center center;
    width: 180px !important;
    max-width: 100%;
    min-height: 15px;
    list-style: none !important;
    padding: 1px 16px !important;
    margin: 0 auto !important;
    text-align: center !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu_in li a {
    display: block;
    width: 100%;
    text-align: center !important;
    color: #ffdca8;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none !important;
    line-height: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: transform 0.15s ease, filter 0.15s ease;
}
.menu_in li a:hover,
.menu_in li a:focus {
    filter: brightness(1.35) !important;
    text-shadow: 0 0 8px currentColor !important;
    transform: scale(1.04);
}
#gm_access ul, #admin_access ul {
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
    text-align: center !important;
    width: 100%;
}
#gm_access li, #admin_access li {
    background: url(img/menu_in.gif) repeat-y center center;
    width: 180px !important;
    max-width: 100%;
    min-height: 15px;
    list-style: none !important;
    padding: 1px 16px !important;
    margin: 0 auto !important;
    text-align: center !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
#gm_access li a, #admin_access li a {
    display: block;
    width: 100%;
    text-align: center !important;
    color: #ffdca8;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none !important;
    line-height: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: transform 0.15s ease, filter 0.15s ease;
}
#gm_access li a:hover, #admin_access li a:hover,
#gm_access li a:focus, #admin_access li a:focus {
    filter: brightness(1.35) !important;
    text-shadow: 0 0 8px currentColor !important;
    transform: scale(1.04);
}
.pages { position:relative; top:-40px; }
.top_logo { position:absolute; z-index:-100; top:0px; width:1000px; height:278px; background:url(img/logo.png); opacity: .6; filter: alpha(opacity=60); }
.who_is_top { height:21px; width:600px; }
.who_is_top_left { background:url(img/body_top_left.gif) no-repeat; width:20px; }
.who_is_top_center { background:url(img/body_top_center.gif) repeat; }
.who_is_top_right { background:url(img/body_top_right.gif) no-repeat; width:20px; }
.who_is_center { width:600px; }
.who_is_center img { cursor:url("img/cursor.png"),auto; }
.who_is_center_left { background:url(img/body_center_left.gif) repeat; width:10px; }
.who_is_center_center { background:url(img/body_center_center.gif) repeat; padding-top:10px; font-size:11px; }
.who_is_center_right { background:url(img/body_center_right.gif) repeat; width:10px; }
.who_is_bottom { height:21px; width:600px; }
.who_is_bottom_left { background:url(img/body_bottom_left.gif) no-repeat; width:20px; }
.who_is_bottom_center { background:url(img/body_bottom_center.gif) repeat; }
.who_is_bottom_right { background:url(img/body_bottom_right.gif) no-repeat; width:20px; }
.left_menu_top { height:21px; width:200px; }
.left_menu_top_left { background:url(img/body_top_left.gif) no-repeat; width:20px; }
.left_menu_top_center { background:url(img/body_top_center.gif) repeat; }
.left_menu_top_right { background:url(img/body_top_right.gif) no-repeat; width:20px; }
.left_menu_center { width:100%; }
.left_menu_center img { cursor:url("img/cursor.png"),auto; }
.left_menu_center_left { background:url(img/body_center_left.gif) repeat; width:10px; }
.left_menu_center_center { background:url(img/body_center_center.gif) repeat; width:180px; padding-top:10px; text-align:center !important; list-style:none; }
.left_menu_center_center li { list-style:none; }
.left_menu_center_center ul {margin:0px; padding:0px; }
.left_menu_center_right { background:url(img/body_center_right.gif) repeat; width:10px; }
.left_menu_bottom { height:21px; width:200px; }
.left_menu_bottom_left { background:url(img/body_bottom_left.gif) no-repeat; width:20px; }
.left_menu_bottom_center { background:url(img/body_bottom_center.gif) repeat; }
.left_menu_bottom_right { background:url(img/body_bottom_right.gif) no-repeat; width:20px; }
.right_menu_center { width:100%;}
.right_menu_center img { cursor:url("img/cursor.png"),auto; }
.right_menu_center_left { background:url(img/body_center_left.gif) repeat; width:10px; }
.right_menu_center_center { background:url(img/body_center_center.gif) repeat; width:180px; padding-top:10px; text-align:center; list-style:none; }
.right_menu_center_center li { list-style:none; }
.right_menu_center_center ul {margin:0px; padding:0px; }
.right_menu_center_right { background:url(img/body_center_right.gif) repeat; width:10px; }
.body { width:1000px; margin:0px auto; margin-top:200px; }
.template { width:1000px; margin:0px auto; position: relative !important; }
.pages_top { width:100%; height:118px; }
.pages_top_left { background:url(img/page_top_left.png) no-repeat; width:145px; }
.pages_top_center { background:url(img/page_top_center.png) repeat; }
.pages_top_right { background:url(img/page_top_right.png) no-repeat; width:145px; }
.pages_center { width:100%; }
.pages_center_left { background:url(img/page_center_left.png) repeat; width:10px; }
.pages_center_left2 { width:10px; }
.pages_center_center { background:url(img/page_center_center.png) repeat; }
.pages_center_right { background:url(img/page_center_right.png) repeat; width:10px; }
.pages_center_right2 { width:10px; }
.pages_bottom { width:100%; height:50px; }
.pages_bottom_left { background:url(img/page_bottom_left.png) no-repeat; width:50px; }
.pages_bottom_center { background:url(img/page_bottom_center.png) repeat; }
.pages_bottom_right { background:url(img/page_bottom_right.png) no-repeat; width:50px; }
.pages_title { position:absolute; top:150px; margin-left:135px; width:530px; z-index:10; }
.pages_title_top { width:100%; height:39px; }
.pages_title_top_left { background:url(img/pages_title_top_left.png) no-repeat; width:27px; }
.pages_title_top_center { background:url(img/pages_title_top_center.png) repeat; }
.pages_title_top_right { background:url(img/pages_title_top_right.png) no-repeat; width:27px; }
.pages_title_center { width:100%; }
.pages_title_center_left { background:url(img/pages_title_center_left.png) repeat; width:15px; }
.pages_title_center_left2 { width:15px; }
.pages_title_center_center { background:url(img/pages_title_center_center.png) repeat; height:20px; }
.pages_title_center_right { background:url(img/pages_title_center_right.png) repeat; width:15px; }
.pages_title_center_right2 { width:15px; }
.pages_title_bottom { width:100%; height:8px; }
.pages_title_bottom_left { background:url(img/pages_title_bottom_left.png) no-repeat; width:22px; }
.pages_title_bottom_center { background:url(img/pages_title_bottom_center.png) repeat-x; }
.pages_title_bottom_right { background:url(img/pages_title_bottom_right.png) no-repeat; width:22px; }
.left_menu_name { text-align:center; color:#FF4AA3; font-weight:bold; padding-top:3px; }
.footer { 
    width: 1000px;
    max-width: 1000px;
    margin: 8px auto 0 auto !important;
    text-align: center; 
    background: linear-gradient(180deg, rgba(20, 15, 12, 0.96) 0%, rgba(10, 8, 6, 0.99) 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 3px 12px rgba(0, 0, 0, 0.6);
    padding: 10px 18px 12px 18px;
    border-radius: 8px;
    box-sizing: border-box;
}
.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 6px;
}
.footer-link {
    color: #e2e8f0 !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
    padding: 2px 5px;
    border-radius: 3px;
}
.footer-link:hover {
    color: #fde047 !important;
    background: rgba(245, 158, 11, 0.15);
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
    transform: translateY(-1px);
}
.footer-sep {
    color: #f59e0b;
    font-size: 8px;
    opacity: 0.7;
}
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.4) 50%, transparent 100%);
    width: 50%;
    margin: 6px auto 8px auto;
}
.footer-copyright {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.footer-powered {
    font-size: 13px;
    color: #cbd5e1;
    margin: 0;
    letter-spacing: 0.2px;
}
.footer-brand {
    color: #f59e0b !important;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
    letter-spacing: 0.4px;
    transition: color 0.2s ease;
}
.footer-brand:hover {
    color: #fde047 !important;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}
.footer-copy-text {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
    letter-spacing: 0.2px;
}
.mu-table-responsive {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 4px 0 10px 0;
}
#chatwindow {border:1px solid #352C23; padding-left:5px; padding-right:5px; color:white; font-family:courier new; height:100px; overflow:auto; display:block;}
#chatnick { border: none; border:1px solid #3b3028; background-color:url(img/page_center_center.png);}
#chatmsg { margin-left:4px; border: none; border:1px solid #3b3028; background-color:url(img/page_center_center.png); width:647px;}
#chatcolor { width:50px; margin:4px; background-image:none;}
.gameservers { position:fixed; margin-left:800px; top:60px; z-index:10; }
.gameserver { font-family: Verdana,Arial, Helvetica, sans-serif; color: #a0a0a0; font-size: 11px; font-weight: bold; width:193px; height:23px; text-align:center; padding-top:3px; margin:0px auto; cursor:url("img/cursor.png"),auto; }
.gsinfo { width:193px; text-align:left; margin-bottom:2px; }
.gsinfotop { margin:0px auto; padding:0px; background:top center no-repeat url(img/topgsinfo.png); height:5px; }
.gsinfocenter { padding-left:15px; padding-top:2px; padding-bottom:2px; font-family: Verdana,Arial, Helvetica, sans-serif; color: #ffffff; font-size: 11px; font-weight: bold; background:top center repeat-y url(img/centergsinfo.png); }
.gsinfobottom { background:top center no-repeat url(img/bottomgsinfo.png); height:5px; }
.contet_table td { border:1px solid #3A163C; }
.post_title {color:#FF910B; font-size:14px; font-weight:bolder; }
.news { width:100%;border:0px solid #3C0000; background:url(img/line.png) bottom center repeat-x; }
/* Top Bar Modern Language Selector - Direct Visible Flags */
.top_lang_bar {
    position: absolute;
    top: 10px;
    left: 15px;
    z-index: 120;
    height: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.lang-flag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 16px;
    border-radius: 3px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #0a0a0a;
    padding: 0;
    text-decoration: none;
}
.lang-flag-btn:hover {
    border-color: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
    transform: translateY(-1px) scale(1.12);
}
.lang-flag-btn.active {
    border: 1.5px solid #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.9);
}
.lang-flag-svg {
    width: 24px;
    height: 16px;
    display: block;
    object-fit: cover;
}

.serverold { 
    position: absolute; 
    top: 0; 
    left: 195px; 
    width: 245px; 
    height: 40px; 
    display: flex; 
    align-items: center; 
    justify-content: flex-start; 
    text-align: left;
    font-size: 10px;
    white-space: nowrap;
    overflow: visible;
    letter-spacing: 0.1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}
.float_right {border:1px solid #C30; padding:5px 10px 5px 10px; }
.quest_table { font-size:9px; border:1px solid #FFFFFF; }
.top_table td { border:1px solid #7A579F; text-align:center; }
.quote { color:#FFD7A2; padding:5px; background-color:#331700; border:1px solid #424242; }
#all_view { position:relative; margin:0px auto; width:610px;}
#store_ { margin:0px auto; display:inline-block; float:left; }
#inventory_ { margin:0px auto; display:inline-block; float:left; }
#character_ { margin:0px auto; display:inline-block; float:left; }
table.btb { border-collapse:collapse; margin:0px 0px 4px 0px; }
table.btb td { border:1px solid #f76d08; padding:3px; }
table.btb td.nobtb table td { border:0px; padding:0px; }
table.btb tr.style2 td { padding:2px; }
table.btb tr.style3 td { padding:5px; }
table.btb tr.colhead { background-image:url(img/m_header2.gif); background-repeat:repeat-x; }
table.btb tr.colhead td { padding:3px; color:#ffffff; font-weight:bold; }
table.btb tr.colhead2 { background-color:#cecece; }
table.btb tr.colhead2 td { padding:3px; color:#f76d08; font-weight:bold; }
#divNewsHolder { text-align:left; }
.ADVICEFeed { font-weight:bold; color:#FF7E00; }
#divControls { text-align:center; padding-top:4px; padding-bottom:4px; }
.itemTitle { color: #FDB853; }
.opac0 { opacity: .0; filter: alpha(opacity=0); }
.opac1 { opacity: .1; filter: alpha(opacity=10); }
.opac2 { opacity: .2; filter: alpha(opacity=20); }
.opac3 { opacity: .3; filter: alpha(opacity=30); }
.opac4 { opacity: .4; filter: alpha(opacity=40); }
.opac5 { opacity: .5; filter: alpha(opacity=50); }
.opac6 { opacity: .6; filter: alpha(opacity=60); }
.opac7 { opacity: .7; filter: alpha(opacity=70); }
.opac8 { opacity: .8; filter: alpha(opacity=80); }
.faq table
{ margin:0px auto; }
.faq table.tableborder { border:1px solid; vertical-align:middle; text-align:center; margin:0px auto; }
.faq table.tableborder td { border:1px solid; padding:5px; }
.faq table a { text-decoration:underline; }
.faq ul li { margin:20px; }
.faq a:hover { text-decoration:none; }
.faq span { cursor:url("img/cursor.png"),auto; }
.faq H3 { color:#FFAF97; font-weight:bold; }
.faq H5 { margin :0px; text-align:center; padding :0px; font-size:16px; font-family:Sylfaen; text-transform:uppercase; color :#7A579F; width :100%; }
.flashtext { position: absolute; top: 30px; left: 45px; z-index: 25; margin: 0; padding: 0; }

/* =========================================================
   RESPONSIVE & MOBILE STYLES (Modern Refactor for PHP 8+)
   ========================================================= */

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================================================
   MULTICOLOR MMORPG HEADER TITLE & BADGE SYSTEM (FLAWLESS WRITE-ON & KERNING)
   ========================================================= */
.template {
    width: 1000px;
    margin: 0px auto;
    position: relative !important;
}

.flashtext {
    position: absolute !important;
    top: 50px !important;
    left: 45px !important;
    z-index: 25 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.stardust-canvas {
    position: absolute !important;
    top: -25px !important;
    left: -35px !important;
    width: calc(100% + 70px) !important;
    height: calc(100% + 50px) !important;
    pointer-events: none !important;
    z-index: 35 !important;
    overflow: visible !important;
}

.modern-header-link {
    text-decoration: none !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    cursor: pointer;
    background: transparent !important;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modern-header-link:hover {
    transform: translateY(-2px) scale(1.02);
}

.modern-server-title {
    font-family: 'Cinzel Decorative', 'Cinzel', 'Trajan Pro', Georgia, serif;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    line-height: 1.1;
    display: inline-block !important;
    position: relative;
    user-select: none;
    white-space: nowrap;
    background: transparent !important;
    border: none !important;
    outline: none !important;
}

/* Single-piece continuous text: 100% natural kerning, zero overlap */
.modern-server-title .title-inner {
    display: inline-block !important;
    background-size: 200% 100% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    
    /* Pure GPU-accelerated write-on unroll from left to right + ongoing light sweep */
    animation: titleWriteOn 1.3s cubic-bezier(0.25, 1, 0.5, 1) forwards, neonLightSweep 8.5s ease-in-out infinite 1.4s;
}

@keyframes titleWriteOn {
    0% {
        clip-path: inset(0 100% 0 0);
        opacity: 0.15;
        filter: brightness(2) drop-shadow(0 0 14px currentColor);
    }
    60% {
        opacity: 1;
        filter: brightness(1.5);
    }
    100% {
        clip-path: inset(0 0% 0 0);
        opacity: 1;
        filter: brightness(1);
    }
}

@keyframes neonLightSweep {
    0% { background-position: 100% 0; }
    50% { background-position: -100% 0; }
    100% { background-position: -100% 0; }
}

/* -------------------------------------------------------------
   THEME 1: NEON BLUE (Silver & Electric Cyan / Archangel)
   ------------------------------------------------------------- */
.theme-neon_blue .modern-server-title,
.flashtext:not([class*="theme-"]) .modern-server-title {
    filter: drop-shadow(0 2px 0 #021a29) drop-shadow(0 3px 4px #000) drop-shadow(0 0 10px rgba(56,189,248,0.9)) drop-shadow(0 0 25px rgba(14,165,233,0.6));
    animation: auraPulse 4.5s ease-in-out infinite alternate;
    will-change: opacity;
}
.theme-neon_blue .modern-server-title .title-inner,
.flashtext:not([class*="theme-"]) .modern-server-title .title-inner {
    background-image: linear-gradient(180deg, #ffffff 0%, #f0f9ff 15%, #bae6fd 35%, #38bdf8 60%, #0284c7 80%, #bae6fd 100%);
}
@keyframes auraPulse {
    0% { opacity: 0.90; }
    100% { opacity: 1.0; }
}
.theme-neon_blue .modern-server-subtitle {
    color: #e0f2fe;
    background: linear-gradient(90deg, rgba(2,18,30,0) 0%, rgba(8,38,64,0.85) 20%, rgba(8,38,64,0.85) 80%, rgba(2,18,30,0) 100%);
    border-top: 1px solid rgba(56,189,248,0.45);
    border-bottom: 1px solid rgba(56,189,248,0.45);
    text-shadow: 0 0 8px rgba(56,189,248,0.7), 1px 1px 2px #000;
}
.theme-neon_blue .sub-sparkle { color: #38bdf8; }

/* -------------------------------------------------------------
   THEME 2: GOLD (Royal Sun Amber & 3D Gold Flame)
   ------------------------------------------------------------- */
.theme-gold .modern-server-title {
    filter: drop-shadow(0 2px 0 #3b1402) drop-shadow(0 3px 4px #000) drop-shadow(0 0 10px rgba(245,158,11,0.9)) drop-shadow(0 0 25px rgba(217,119,6,0.6));
    animation: auraPulse 4.5s ease-in-out infinite alternate;
    will-change: opacity;
}
.theme-gold .modern-server-title .title-inner {
    background-image: linear-gradient(180deg, #ffffff 0%, #fff6d1 15%, #fed7aa 35%, #f59e0b 60%, #d97706 80%, #fde68a 100%);
}
.theme-gold .modern-server-subtitle {
    color: #fef3c7;
    background: linear-gradient(90deg, rgba(30,20,5,0) 0%, rgba(60,35,10,0.85) 20%, rgba(60,35,10,0.85) 80%, rgba(30,20,5,0) 100%);
    border-top: 1px solid rgba(245,158,11,0.45);
    border-bottom: 1px solid rgba(245,158,11,0.45);
    text-shadow: 0 0 8px rgba(245,158,11,0.7), 1px 1px 2px #000;
}
.theme-gold .sub-sparkle { color: #fbbf24; }

/* -------------------------------------------------------------
   THEME 3: BLOOD RED (Crimson Kundun Ruby Flame)
   ------------------------------------------------------------- */
.theme-blood_red .modern-server-title {
    filter: drop-shadow(0 2px 0 #3b020c) drop-shadow(0 3px 4px #000) drop-shadow(0 0 10px rgba(244,63,94,0.9)) drop-shadow(0 0 25px rgba(225,29,72,0.6));
    animation: auraPulse 4.5s ease-in-out infinite alternate;
    will-change: opacity;
}
.theme-blood_red .modern-server-title .title-inner {
    background-image: linear-gradient(180deg, #ffffff 0%, #ffe4e6 15%, #fecdd3 35%, #f43f5e 60%, #be123c 80%, #fecdd3 100%);
}
.theme-blood_red .modern-server-subtitle {
    color: #ffe4e6;
    background: linear-gradient(90deg, rgba(30,5,10,0) 0%, rgba(65,10,22,0.85) 20%, rgba(65,10,22,0.85) 80%, rgba(30,5,10,0) 100%);
    border-top: 1px solid rgba(244,63,94,0.45);
    border-bottom: 1px solid rgba(244,63,94,0.45);
    text-shadow: 0 0 8px rgba(244,63,94,0.7), 1px 1px 2px #000;
}
.theme-blood_red .sub-sparkle { color: #fb7185; }

/* -------------------------------------------------------------
   THEME 4: EMERALD GREEN (Mystic Lorencia Jade Glow)
   ------------------------------------------------------------- */
.theme-emerald_green .modern-server-title {
    filter: drop-shadow(0 2px 0 #02281b) drop-shadow(0 3px 4px #000) drop-shadow(0 0 10px rgba(52,211,153,0.9)) drop-shadow(0 0 25px rgba(16,185,129,0.6));
    animation: auraPulse 4.5s ease-in-out infinite alternate;
    will-change: opacity;
}
.theme-emerald_green .modern-server-title .title-inner {
    background-image: linear-gradient(180deg, #ffffff 0%, #ecfdf5 15%, #a7f3d0 35%, #34d399 60%, #059669 80%, #a7f3d0 100%);
}
.theme-emerald_green .modern-server-subtitle {
    color: #ecfdf5;
    background: linear-gradient(90deg, rgba(2,25,18,0) 0%, rgba(6,50,35,0.85) 20%, rgba(6,50,35,0.85) 80%, rgba(2,25,18,0) 100%);
    border-top: 1px solid rgba(52,211,153,0.45);
    border-bottom: 1px solid rgba(52,211,153,0.45);
    text-shadow: 0 0 8px rgba(52,211,153,0.7), 1px 1px 2px #000;
}
.theme-emerald_green .sub-sparkle { color: #34d399; }

/* -------------------------------------------------------------
   THEME 5: VIOLET ARCANE (Dark Wizard Cosmic Amethyst)
   ------------------------------------------------------------- */
.theme-violet_arcane .modern-server-title {
    filter: drop-shadow(0 2px 0 #280a3d) drop-shadow(0 3px 4px #000) drop-shadow(0 0 10px rgba(192,132,252,0.9)) drop-shadow(0 0 25px rgba(147,51,234,0.6));
    animation: auraPulse 4.5s ease-in-out infinite alternate;
    will-change: opacity;
}
.theme-violet_arcane .modern-server-title .title-inner {
    background-image: linear-gradient(180deg, #ffffff 0%, #faf5ff 15%, #e9d5ff 35%, #c084fc 60%, #7e22ce 80%, #e9d5ff 100%);
}
.theme-violet_arcane .modern-server-subtitle {
    color: #f3e8ff;
    background: linear-gradient(90deg, rgba(20,5,30,0) 0%, rgba(45,15,65,0.85) 20%, rgba(45,15,65,0.85) 80%, rgba(20,5,30,0) 100%);
    border-top: 1px solid rgba(192,132,252,0.45);
    border-bottom: 1px solid rgba(192,132,252,0.45);
    text-shadow: 0 0 8px rgba(192,132,252,0.7), 1px 1px 2px #000;
}
.theme-violet_arcane .sub-sparkle { color: #c084fc; }

/* -------------------------------------------------------------
   THEME 6: RAINBOW (Chromatic Prismatic Shimmer)
   ------------------------------------------------------------- */
.theme-rainbow .modern-server-title {
    filter: drop-shadow(0 2px 0 #111) drop-shadow(0 3px 4px #000) drop-shadow(0 0 12px rgba(254,202,87,0.9)) drop-shadow(0 0 25px rgba(72,219,251,0.6));
    animation: chromaticShift 6s linear infinite;
}
.theme-rainbow .modern-server-title .title-inner {
    background-image: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3, #54a0ff, #5f27cd, #ff6b6b);
    background-size: 300% 100% !important;
}
@keyframes chromaticShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.theme-rainbow .modern-server-subtitle {
    color: #ffffff;
    background: linear-gradient(90deg, rgba(20,20,30,0) 0%, rgba(35,25,50,0.85) 20%, rgba(35,25,50,0.85) 80%, rgba(20,20,30,0) 100%);
    border-top: 1px solid rgba(254,202,87,0.5);
    border-bottom: 1px solid rgba(72,219,251,0.5);
    text-shadow: 0 0 8px rgba(255,255,255,0.8), 1px 1px 2px #000;
}
.theme-rainbow .sub-sparkle { color: #feca57; }

/* Subtitle base */
.modern-server-subtitle {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Cinzel', 'Segoe UI', Tahoma, sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 2px 14px;
    box-sizing: border-box;
    animation: subtitleFadeIn 1s ease-out 0.8s backwards;
}

@keyframes subtitleFadeIn {
    0% { opacity: 0; transform: translateY(4px); }
    100% { opacity: 1; transform: translateY(0); }
}

.sub-sparkle {
    font-size: 9px;
    animation: sparkleTwinkleUniversal 2s infinite ease-in-out alternate;
}

@keyframes sparkleTwinkleUniversal {
    0% { opacity: 0.35; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1.15); filter: drop-shadow(0 0 6px currentColor); }
}

/* Mobile Header Layout */
@media screen and (max-width: 1024px) {
    .template {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 6px !important;
        margin: 0 auto !important;
        position: relative !important;
    }
    .flashtext {
        position: static !important;
        margin: 12px auto 6px auto !important;
        text-align: center !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }
    .modern-header-link {
        align-items: center !important;
    }
    .modern-server-title {
        font-size: 18px !important;
        letter-spacing: 1.2px !important;
        margin: 0 !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        text-align: center !important;
    }
    .modern-server-subtitle {
        font-size: 9px !important;
        letter-spacing: 1.2px !important;
        padding: 2px 8px !important;
    }
}
.modern-download-btn {
    display: inline-block;
    padding: 12px 20px;
    background: linear-gradient(180deg, #d33c16 0%, #851e06 100%);
    border: 2px solid #ffaa44;
    border-radius: 6px;
    color: #fff !important;
    font-size: 13px;
    font-weight: bold;
    text-shadow: 1px 1px 2px #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.4);
    transition: all 0.2s ease;
    text-decoration: none !important;
    text-align: center;
}

.modern-download-btn:hover {
    background: linear-gradient(180deg, #f04e22 0%, #a42609 100%);
    box-shadow: 0 0 15px rgba(255, 120, 0, 0.7);
    transform: translateY(-1px);
}

/* Mobile Navigation & Responsive Layout */
@media screen and (max-width: 1024px) {
    /* Base Mobile Container */
    .template {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 6px !important;
        margin: 0 auto !important;
    }

    /* Mobile Header Layout */
    .flashtext {
        position: static !important;
        margin: 10px auto 4px auto !important;
        text-align: center !important;
        width: 100% !important;
    }

    .modern-header-link { align-items: center !important; }
    .modern-server-title {
        font-size: 18px !important;
        letter-spacing: 1.2px !important;
        margin: 0 !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        text-align: center !important;
    }
    .modern-server-subtitle {
        font-size: 9px !important;
        letter-spacing: 1.2px !important;
        padding: 2px 8px !important;
    }

    .mu_online {
        position: static !important;
        display: block !important;
        margin: 4px auto !important;
        max-height: 48px !important;
        width: auto !important;
        filter: drop-shadow(0 2px 8px rgba(0,0,0,0.8));
    }

    .top_menu {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        background: rgba(22, 16, 13, 0.96) !important;
        border-top: 1px solid #3d2b20 !important;
        border-bottom: 1px solid #3d2b20 !important;
        border-radius: 6px !important;
        padding: 6px 8px !important;
        opacity: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 5px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.6) !important;
    }

    .serverold {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
        padding: 2px 4px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        font-size: 10.5px !important;
        line-height: 1.4 !important;
        color: #fffe90 !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9) !important;
    }

    .top_menu_links {
        float: none !important;
        width: 100% !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        line-height: normal !important;
    }

    .top_menu_links .top-nav-btn {
        flex: 0 0 auto !important;
        height: 24px !important;
        padding: 0 6px !important;
        font-size: 10px !important;
        gap: 3px !important;
        letter-spacing: 0.25px !important;
        margin: 0 !important;
    }

    .top_menu_links .top-nav-btn .nav-icon {
        font-size: 10px !important;
    }

    .gameservers {
        position: static !important;
        margin: 6px auto !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 6px !important;
        z-index: 1 !important;
    }

    .gameserver {
        width: auto !important;
        min-width: 120px !important;
        margin: 0 !important;
        height: auto !important;
        padding: 3px 6px !important;
        font-size: 10.5px !important;
    }

    .gsinfo {
        width: auto !important;
        min-width: 120px !important;
        margin-bottom: 0 !important;
    }

    .top_logo {
        position: relative !important;
        width: calc(100% - 12px) !important;
        max-width: 480px !important;
        height: 100px !important;
        background-size: cover !important;
        background-position: center 25% !important;
        background-repeat: no-repeat !important;
        margin: 6px auto !important;
        border-radius: 8px !important;
        border: 1px solid rgba(212, 175, 55, 0.3) !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.7) !important;
        overflow: hidden !important;
    }

    /* Main Responsive Column Stack */
    table.body {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        margin-top: 4px !important;
        padding: 0 4px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    table.body > tbody,
    table.body > tbody > tr {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .left-sidebar-td {
        order: 1 !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 auto 6px auto !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .main-content-td {
        order: 2 !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 4px auto 0 auto !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    /* Hide desktop decorations, download shield, servertime and right sidebar on mobile */
    .download,
    #servertime,
    table.left_menu_top,
    table.left_menu_bottom,
    .left_menu_center_left,
    .left_menu_center_right,
    .right-sidebar-td,
    #banner_panel,
    #friends_panel,
    #server_info,
    #top_10g,
    #top_10c {
        display: none !important;
    }

    table.left_menu_center {
        width: 100% !important;
        background: none !important;
        border: none !important;
        margin: 0 auto !important;
    }

    .left_menu_center_center {
        width: 100% !important;
        background: none !important;
        padding: 0 !important;
        text-align: center !important;
    }

    /* Mobile Accordion Menu Header Buttons */
    .left-sidebar-td img[onClick^="show_hide"] {
        display: block !important;
        max-width: 220px !important;
        width: 85% !important;
        height: auto !important;
        margin: 4px auto !important;
        cursor: pointer !important;
        filter: drop-shadow(0 2px 6px rgba(0,0,0,0.7));
        transition: transform 0.15s ease, filter 0.15s ease;
    }

    .left-sidebar-td img[onClick^="show_hide"]:active {
        transform: scale(0.97);
    }

    /* Mobile Accordion Dropdown Panels */
    .left-sidebar-td .menu_in,
    .left-sidebar-td #admin_access,
    .left-sidebar-td #gm_access {
        background: rgba(18, 12, 10, 0.96) !important;
        border: 1px solid rgba(212, 175, 55, 0.35) !important;
        border-radius: 8px !important;
        padding: 6px 4px !important;
        max-width: 260px !important;
        width: 90% !important;
        margin: 4px auto 10px auto !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.8) !important;
    }

    .left-sidebar-td .menu_in ul,
    .left-sidebar-td #admin_access ul,
    .left-sidebar-td #gm_access ul {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .left-sidebar-td .menu_in li,
    .left-sidebar-td #admin_access li,
    .left-sidebar-td #gm_access li {
        background: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 2px 0 !important;
        list-style: none !important;
    }

    .left-sidebar-td .menu_in li a,
    .left-sidebar-td #admin_access li a,
    .left-sidebar-td #gm_access li a {
        display: block !important;
        padding: 7px 10px !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border: 1px solid rgba(212, 175, 55, 0.15) !important;
        border-radius: 4px !important;
        color: #ffdca8 !important;
        font-size: 11.5px !important;
        font-weight: 500 !important;
        text-align: center !important;
        text-decoration: none !important;
        transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    }

    .left-sidebar-td .menu_in li a:hover,
    .left-sidebar-td .menu_in li a:active,
    .left-sidebar-td #admin_access li a:hover,
    .left-sidebar-td #gm_access li a:hover {
        background: rgba(212, 175, 55, 0.2) !important;
        border-color: #f59e0b !important;
        color: #ffffff !important;
    }

    /* Mobile User Greeting */
    .mobile-user-greeting {
        max-width: 240px !important;
        width: 90% !important;
        margin: 4px auto 8px auto !important;
        text-align: center !important;
        font-size: 11px !important;
        line-height: 1.5 !important;
        color: #ffdca8 !important;
        background: rgba(26, 18, 14, 0.9) !important;
        border: 1px solid rgba(212, 175, 55, 0.3) !important;
        border-radius: 6px !important;
        padding: 6px 10px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.5) !important;
    }

    /* Pages Title Frame */
    .pages_title {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 6px auto !important;
        z-index: 1 !important;
    }

    table.pages_title_top,
    table.pages_title_center,
    table.pages_title_bottom {
        width: 100% !important;
    }

    /* Pages Container Frame */
    .pages {
        position: static !important;
        top: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    table.pages_top,
    table.pages_center,
    table.pages_bottom {
        width: 100% !important;
        max-width: 100% !important;
        table-layout: fixed !important;
        box-sizing: border-box !important;
    }

    .pages_top {
        height: 30px !important;
    }
    .pages_top_left,
    .pages_top_right {
        width: 30px !important;
        background-size: contain !important;
    }

    .pages_bottom {
        height: 20px !important;
    }
    .pages_bottom_left,
    .pages_bottom_right {
        width: 20px !important;
        background-size: contain !important;
    }

    .pages_center_left,
    .pages_center_right {
        width: 6px !important;
        min-width: 6px !important;
        max-width: 6px !important;
        padding: 0 !important;
    }

    .pages_center_left2,
    .pages_center_right2 {
        width: 6px !important;
    }

    .pages_center_center {
        width: calc(100% - 12px) !important;
        max-width: calc(100% - 12px) !important;
        padding: 8px 4px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    #sh_ {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 4px 2px !important;
    }

    /* Content & Ranking Tables Responsive */
    #sh_ table {
        box-sizing: border-box !important;
    }

    /* Multi-column ranking & character management tables */
    #sh_ table tr.top_table,
    #sh_ table tr.contet_table {
        min-height: 32px !important;
    }

    #sh_ table tr.top_table td,
    #sh_ table tr.top_table th {
        background: linear-gradient(180deg, #2c1d16 0%, #170e0a 100%) !important;
        color: #f59e0b !important;
        border: 1px solid rgba(212, 175, 55, 0.3) !important;
        padding: 8px 6px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        text-align: center !important;
        white-space: nowrap !important;
    }

    #sh_ table tr.contet_table td {
        background: rgba(18, 12, 10, 0.85) !important;
        border: 1px solid rgba(212, 175, 55, 0.15) !important;
        padding: 7px 6px !important;
        font-size: 11px !important;
        vertical-align: middle !important;
    }

    #sh_ table tr.contet_table:nth-child(even) td {
        background: rgba(28, 18, 14, 0.9) !important;
    }

    #sh_ table tr.contet_table:hover td {
        background: rgba(212, 175, 55, 0.14) !important;
    }

    /* Ranking tables min-width to prevent column collapsing on mobile */
    #sh_ table:not(#warehouse):not(.news):not(.im-grid-layout):not(.type2):not(.btb) {
        min-width: 500px !important;
    }

    /* User Control Panel Character Action Buttons */
    #sh_ tr.contet_table input[type="button"],
    #sh_ tr.contet_table input[type="submit"] {
        background: linear-gradient(180deg, #3d291e 0%, #1e130c 100%) !important;
        border: 1px solid rgba(212, 175, 55, 0.45) !important;
        border-radius: 4px !important;
        color: #ffdca8 !important;
        padding: 5px 8px !important;
        font-size: 10.5px !important;
        font-weight: 600 !important;
        cursor: pointer !important;
        white-space: nowrap !important;
        display: inline-block !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
        transition: all 0.15s ease !important;
    }

    #sh_ tr.contet_table input[type="button"]:hover,
    #sh_ tr.contet_table input[type="submit"]:hover {
        background: linear-gradient(180deg, #f59e0b 0%, #b45309 100%) !important;
        border-color: #ffd790 !important;
        color: #000000 !important;
        box-shadow: 0 0 8px rgba(245, 158, 11, 0.5) !important;
    }

    /* Server Statistics Table (btb) Responsive */
    table.btb {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    table.btb td[width="300"],
    table.btb td[width="300px"] {
        width: 45% !important;
        min-width: 85px !important;
    }

    table.btb td[width="100"],
    table.btb td[width="100px"] {
        width: 25% !important;
        min-width: 60px !important;
        white-space: nowrap !important;
        text-align: right !important;
    }

    table.btb td {
        padding: 6px 8px !important;
        font-size: 11px !important;
    }

    #all_view {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Footer */
    .footer {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px 10px !important;
        margin-top: 15px !important;
        box-sizing: border-box !important;
    }

    /* Mobile Inputs */
    input[type="text"],
    input[type="password"],
    select,
    textarea {
        max-width: 100% !important;
        font-size: 14px !important;
    }

    /* Modal Dialogs */
    #boxes .window:not(.login-modal-window):not(.logout-modal-window) {
        width: 92% !important;
        max-width: 340px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        height: auto !important;
        padding: 10px !important;
    }
}

.original-download-btn {
    display: block;
    margin: 0 auto;
    transition: transform 0.25s ease, filter 0.25s ease;
}
.original-download-btn:hover {
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 190, 40, 0.75));
    transform: scale(1.03);
}

/* =========================================================
   MODERN WEBSHOP & RPG UI ENHANCEMENTS
   ========================================================= */

.ws-layout-wrap {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    width: 100%;
    max-width: 780px;
    margin: 15px auto;
}

.ws-form-pane {
    flex: 1 1 480px;
    min-width: 320px;
}

.ws-preview-pane {
    flex: 0 0 260px;
    position: -webkit-sticky;
    position: sticky;
    top: 15px;
    z-index: 10;
    margin-top: 0;
}

.ws-layout-wrap #buycontet {
    margin: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.ws-layout-wrap #itemview {
    margin: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 760px) {
    .ws-layout-wrap {
        flex-direction: column;
        align-items: center;
    }
    .ws-form-pane,
    .ws-preview-pane {
        width: 100%;
        max-width: 100%;
        position: static;
        margin-top: 15px;
    }
}

#buycontet {
    background: rgba(18, 12, 10, 0.88);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 10px;
    padding: 24px 20px;
    margin: 15px auto;
    max-width: 680px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85), inset 0 0 25px rgba(212, 175, 55, 0.08);
    color: #ffdca8;
    box-sizing: border-box;
    overflow: hidden;
}

#buycontet table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0 8px;
    box-sizing: border-box;
}

#buycontet table td {
    padding: 4px 6px;
    vertical-align: middle;
    box-sizing: border-box;
}

#buycontet table td[align="right"],
#buycontet table td:first-child:not([colspan]) {
    text-align: left !important;
    font-size: 13px;
    font-weight: 600;
    color: #f3caa0;
    text-shadow: 1px 1px 2px #000;
    width: 150px;
    min-width: 140px;
    max-width: 155px;
    padding-left: 8px;
    letter-spacing: 0.2px;
}

#buycontet table td:nth-child(2) {
    overflow: hidden;
    box-sizing: border-box;
}

.ws-select-with-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.ws-select-with-badge select {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: 100% !important;
}

.ws-select-with-badge .ws-price-badge {
    flex: 0 0 auto;
    margin: 0;
    white-space: nowrap;
}

.ws-price-badge {
    display: inline-block;
    background: rgba(255, 170, 0, 0.15);
    border: 1px solid rgba(255, 170, 0, 0.45);
    color: #ffd066;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 6px;
    white-space: nowrap;
    vertical-align: middle;
}

.ws-helper-note {
    font-size: 11px;
    color: #bfa07a;
    background: rgba(30, 20, 15, 0.65);
    border-left: 3px solid #d4af37;
    padding: 6px 12px;
    border-radius: 4px;
    margin: 4px 0 6px 4px;
    line-height: 1.4;
}

.ws-helper-note strong {
    color: #ffd700;
}

/* Modern RPG Select dropdowns */
#buycontet select,
.pages_center_center select {
    background: linear-gradient(180deg, #221611 0%, #130b08 100%) !important;
    border: 1px solid #7c5828 !important;
    border-radius: 6px !important;
    color: #ffe0b2 !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    font-family: "Trebuchet MS", Arial, sans-serif !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.7), 0 1px 0 rgba(255,255,255,0.1) !important;
    outline: none !important;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-overflow: ellipsis;
}

#buycontet select:hover,
#buycontet select:focus {
    border-color: #f1b335 !important;
    box-shadow: 0 0 10px rgba(241, 179, 53, 0.4), inset 0 2px 4px rgba(0,0,0,0.7) !important;
    color: #fff !important;
}

select option,
.pages_center_center select option,
#buycontet select option,
.vault-select option {
    background-color: #190f0c !important;
    color: #ffdca8 !important;
    padding: 8px 12px !important;
}

/* Checkbox and Radio styling */
#buycontet input[type="checkbox"],
#buycontet input[type="radio"] {
    accent-color: #ff8c00;
    cursor: pointer;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 6px;
}

#buycontet label {
    cursor: pointer;
    color: #ffdca8;
    font-size: 12px;
    vertical-align: middle;
    transition: color 0.2s ease;
}

#buycontet label:hover {
    color: #fff;
    text-shadow: 0 0 6px rgba(255, 170, 0, 0.6);
}

/* Exe options container grid */
.exe-options-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
    width: 100%;
}

.exe-option-chip {
    display: flex;
    align-items: center;
    background: rgba(35, 22, 17, 0.6);
    border: 1px solid rgba(135, 90, 45, 0.45);
    border-radius: 6px;
    padding: 7px 10px;
    transition: all 0.2s ease;
    cursor: pointer;
}
.exe-option-chip:hover {
    background: rgba(60, 35, 22, 0.8);
    border-color: #e5a73b;
    box-shadow: 0 0 8px rgba(229, 167, 59, 0.3);
}

/* Epic "Get Item" Button */
#sh_ #get_item,
#sh_ input[name="get_item"],
#sh_ .ws-btn-get-item,
#get_item,
input[name="get_item"],
.ws-btn-get-item {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Trebuchet MS", sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    background: linear-gradient(180deg, #f59e0b 0%, #ea580c 50%, #c2410c 100%) !important;
    border: 2px solid #fde047 !important;
    border-radius: 8px !important;
    padding: 12px 36px !important;
    min-width: 170px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 8px rgba(0, 0, 0, 0.7) !important;
    box-shadow: 0 4px 18px rgba(234, 88, 12, 0.55), 0 0 12px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
    transition: all 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 15px auto !important;
    line-height: normal !important;
}

#sh_ #get_item:hover,
#sh_ input[name="get_item"]:hover,
#sh_ .ws-btn-get-item:hover,
#get_item:hover,
input[name="get_item"]:hover,
.ws-btn-get-item:hover {
    background: linear-gradient(180deg, #fbbf24 0%, #f97316 50%, #ea580c 100%) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    box-shadow: 0 6px 25px rgba(249, 115, 22, 0.8), 0 0 18px rgba(253, 224, 71, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-2px) scale(1.03) !important;
    filter: brightness(1.1) !important;
}

#sh_ #get_item:active,
#sh_ input[name="get_item"]:active,
#sh_ .ws-btn-get-item:active,
#get_item:active,
input[name="get_item"]:active,
.ws-btn-get-item:active {
    transform: translateY(1px) scale(0.99) !important;
    box-shadow: 0 2px 10px rgba(234, 88, 12, 0.4) !important;
}

/* Itemview / Result Preview Box */
#itemview {
    margin: 15px auto;
    max-width: 680px;
    text-align: center;
}

#itemview ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 10px auto !important;
}

#itemview ul li {
    list-style: none !important;
    display: inline-block;
    background: rgba(80, 15, 10, 0.85);
    border: 1px solid #ff4444;
    border-radius: 6px;
    padding: 10px 20px;
    color: #ffcccc;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
    text-shadow: 1px 1px 2px #000;
}

#itemview table {
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(20, 14, 10, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8);
}

.item-price-tag {
    display: inline-block;
    background: linear-gradient(180deg, rgba(70, 45, 15, 0.9) 0%, rgba(35, 20, 5, 0.9) 100%);
    border: 1px solid #ffd066;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 15px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.7), 1px 1px 2px #000;
    margin: 10px 0;
}

.msg-success-box,
#itemview .msg_success {
    display: inline-block;
    background: rgba(15, 60, 20, 0.9);
    border: 1px solid #44ff66;
    border-radius: 6px;
    padding: 12px 24px;
    color: #ccffdd;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 18px rgba(0, 255, 100, 0.35);
    text-shadow: 1px 1px 2px #000;
    margin: 10px auto;
}

/* =========================================================
   MODERN AUCTION & MARKETPLACE STYLES
   ========================================================= */

.auction-wrapper {
    display: flex;
    gap: 16px;
    width: 100%;
    margin-top: 10px;
}
@media (max-width: 768px) {
    .auction-wrapper {
        flex-direction: column;
    }
}

.auction-sidebar {
    width: 180px;
    flex-shrink: 0;
    background: rgba(18, 12, 10, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
}
@media (max-width: 768px) {
    .auction-sidebar {
        width: 100%;
    }
}

.auction-sidebar-title {
    font-size: 12px;
    font-weight: bold;
    color: #e5b878;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    text-align: center;
}

.auction-cat-link {
    display: block;
    padding: 7px 12px;
    margin: 3px 0;
    background: rgba(30, 20, 15, 0.5);
    border: 1px solid rgba(135, 90, 45, 0.3);
    border-radius: 5px;
    color: #ffdca8 !important;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.auction-cat-link:hover,
.auction-cat-link.active {
    background: linear-gradient(90deg, rgba(80, 45, 20, 0.9) 0%, rgba(40, 25, 15, 0.7) 100%);
    border-color: #ffd066;
    color: #ffffff !important;
    transform: translateX(3px);
    box-shadow: 0 0 10px rgba(255, 190, 40, 0.3);
}

.auction-myitems-link {
    display: block;
    padding: 9px 12px;
    margin-top: 10px;
    background: linear-gradient(180deg, #993d00 0%, #551800 100%);
    border: 1px solid #ffaa44;
    border-radius: 6px;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 3px 10px rgba(255, 80, 0, 0.4);
    transition: all 0.2s ease;
}
.auction-myitems-link:hover {
    transform: scale(1.02);
    filter: brightness(1.2);
    box-shadow: 0 0 14px rgba(255, 150, 0, 0.6);
}

.auction-content {
    flex-grow: 1;
    min-width: 0;
}

.auction-card {
    background: rgba(18, 12, 10, 0.92);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.85), inset 0 0 20px rgba(212, 175, 55, 0.05);
    transition: all 0.25s ease;
}
.auction-card:hover {
    border-color: #ffd066;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.95), 0 0 15px rgba(255, 180, 40, 0.25);
    transform: translateY(-2px);
}

.auction-item-view {
    min-width: 170px;
    background: rgba(10, 6, 4, 0.9);
    border: 1px solid rgba(180, 140, 70, 0.4);
    border-radius: 6px;
    padding: 12px;
    text-align: center;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.9);
}

.auction-item-details {
    flex: 1;
    min-width: 200px;
    font-size: 12px;
    line-height: 1.8;
    color: #e5cfb8;
}

.auction-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
}
.auction-badge-seller {
    background: rgba(60, 40, 20, 0.7);
    color: #ffdca8;
    border: 1px solid rgba(200, 150, 60, 0.5);
}
.auction-badge-bidder {
    background: rgba(20, 60, 25, 0.7);
    color: #a0ffa0;
    border: 1px solid rgba(80, 200, 100, 0.5);
}

.auction-price-box {
    margin: 8px 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.auction-price-tag {
    background: rgba(30, 20, 10, 0.8);
    border: 1px solid #d4af37;
    border-radius: 5px;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: bold;
    color: #ffd700;
}
.auction-price-next {
    background: rgba(40, 25, 10, 0.8);
    border: 1px solid #ff8800;
    border-radius: 5px;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: bold;
    color: #ffaa33;
}

.auction-btn-bet,
input[name="buy_item"] {
    background: linear-gradient(180deg, #ff7a18 0%, #ba2400 100%) !important;
    border: 2px solid #ffd066 !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 9px 24px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(255, 60, 0, 0.5) !important;
    transition: all 0.2s ease !important;
}
.auction-btn-bet:hover,
input[name="buy_item"]:hover {
    transform: translateY(-2px) scale(1.03) !important;
    filter: brightness(1.2) !important;
    box-shadow: 0 6px 20px rgba(255, 90, 0, 0.7) !important;
}

.auction-btn-secondary,
input[name="get_back"],
input[name="re_new"] {
    background: linear-gradient(180deg, #443022 0%, #22150d 100%) !important;
    border: 1px solid #c9933e !important;
    border-radius: 5px !important;
    color: #ffdca8 !important;
    font-size: 12px !important;
    font-weight: bold !important;
    padding: 7px 16px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin-right: 6px !important;
}
.auction-btn-secondary:hover,
input[name="get_back"]:hover,
input[name="re_new"]:hover {
    background: linear-gradient(180deg, #664530 0%, #3a2215 100%) !important;
    border-color: #ffd066 !important;
    color: #fff !important;
}

/* Vault / Warehouse Window Styling */
#warehouse {
    position: relative !important;
    width: 307px !important;
    min-height: 685px !important;
    height: 685px !important;
    box-sizing: border-box !important;
    margin: 15px auto 45px auto !important;
    padding-top: 57px !important;
    padding-left: 25px !important;
    background-repeat: no-repeat !important;
    background-position: top left !important;
    overflow: visible !important;
}

/* Custom RPG Menu Colors & Glow Effects */
.menu_in li a {
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.9);
}
.menu_in li a:hover,
.menu_in li a:focus {
    filter: brightness(1.35) !important;
    text-shadow: 0 0 10px currentColor !important;
    transform: translateX(3px) scale(1.03);
}

/* Specific Menu Links Colors */
.menu-home { color: #f0f0f0 !important; }
.menu-register { color: #00e5ff !important; font-weight: bold !important; }
.menu-rules { color: #ffd700 !important; }
.menu-download { color: #00ff88 !important; font-weight: bold !important; }
.menu-admin { color: #ff4d4d !important; font-weight: bold !important; }
.menu-facebook { color: #4da6ff !important; }
.menu-forum { color: #d980ff !important; }
.menu-stats { color: #ffaa00 !important; }
.menu-donations { color: #ffd700 !important; }
.menu-online { color: #33ff99 !important; }
.menu-recover { color: #ff99bb !important; }
.menu-dc { color: #ff6666 !important; }

/* Top Menu */
.menu-top-char { color: #ffd700 !important; }
.menu-top-guild { color: #ff9933 !important; }
.menu-top-kill { color: #ff3344 !important; }
.menu-top-rich { color: #33ff77 !important; }
.menu-top-ref { color: #00e5ff !important; }

/* Game Menu */
.menu-banned-c { color: #ff4d4d !important; }
.menu-banned-a { color: #ff6666 !important; }
.menu-auction { color: #ff9400 !important; font-weight: bold !important; }
.menu-market { color: #70db70 !important; font-weight: bold !important; }

/* Profile Menu */
.menu-profile { color: #00e5ff !important; }
.menu-referrals { color: #ffd700 !important; }
.menu-messages { color: #ff80df !important; }

/* General Menu */
.menu-acc-panel { color: #4da6ff !important; }
.menu-bank { color: #ffd700 !important; }
.menu-vault { color: #ffd700 !important; font-weight: bold !important; }
.menu-webwh { color: #ffaa33 !important; font-weight: bold !important; }
.menu-playershop { color: #70db70 !important; font-weight: bold !important; }
.menu-vault-sec { color: #00e5ff !important; }
.menu-arena { color: #ff5555 !important; }
.menu-create-guild { color: #ffaa00 !important; }
.menu-class { color: #c266ff !important; }
.menu-zen { color: #ffff4d !important; }
.menu-antibug { color: #33ffcc !important; }
.menu-vote { color: #ff66cc !important; }
.menu-webshop { color: #ff3344 !important; font-weight: bold !important; }

/* GM & Admin Menu */
.menu-gm-news { color: #ffcc66 !important; }
.menu-gm-search { color: #66ffcc !important; }
.menu-gm-item { color: #ff99bb !important; }
.menu-gm-ban { color: #ff5555 !important; }
.menu-gm-box { color: #ffd700 !important; }
.menu-adm-mgr { color: #4da6ff !important; font-weight: bold !important; }
.menu-adm-resets { color: #ff9933 !important; }
.menu-adm-credits { color: #ffd700 !important; }
.menu-adm-logs { color: #cc66ff !important; }
.menu-adm-quest { color: #33ff99 !important; }

/* WebShop Force Full Option Mode */
.ws-full-card {
    background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.15) 0%, rgba(18, 12, 8, 0.95) 70%);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 15px auto;
    max-width: 520px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 215, 0, 0.2);
    text-align: center;
    box-sizing: border-box;
}

.ws-full-badge {
    display: inline-block;
    padding: 4px 14px;
    background: linear-gradient(135deg, #d4af37, #996515);
    color: #0b0704;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
    margin-bottom: 8px;
}

.ws-full-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff2cc;
    letter-spacing: 0.8px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    margin-bottom: 4px;
}

.ws-full-sub {
    font-size: 11px;
    color: #a89f91;
    margin-bottom: 16px;
    line-height: 1.5;
}

.ws-full-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 10px;
    text-align: left;
}

.ws-full-spec-item {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 11px;
    color: #e0d8cc;
    display: flex;
    align-items: center;
    gap: 7px;
    box-sizing: border-box;
}

.ws-full-spec-item.ws-spec-highlight {
    border-color: rgba(0, 250, 154, 0.45);
    background: rgba(0, 250, 154, 0.08);
    color: #00fa9a;
}

.ws-full-spec-item.ws-spec-socket {
    border-color: rgba(178, 102, 255, 0.45);
    background: rgba(178, 102, 255, 0.1);
    color: #d1a8ff;
}

.ws-full-spec-item.ws-spec-harmony {
    border-color: rgba(255, 215, 0, 0.45);
    background: rgba(255, 215, 0, 0.08);
    color: #ffd700;
}

.ws-spec-check {
    font-weight: 900;
    font-size: 12px;
    color: #2ecc71;
}

.ws-full-spec-item.ws-spec-highlight .ws-spec-check {
    color: #00fa9a;
}

.ws-full-spec-item.ws-spec-socket .ws-spec-check {
    color: #b266ff;
}

.ws-full-spec-item.ws-spec-harmony .ws-spec-check {
    color: #ffd700;
}

/* =========================================================
   SITE-WIDE MODERN DARK RPG CARD & TABLE THEME (UNIFIED)
   ========================================================= */

/* General Card Container */
.rpg-card {
    background: rgba(18, 14, 12, 0.88);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 10px;
    padding: 22px 24px;
    margin-bottom: 20px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
}

.rpg-title {
    color: #f59e0b;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Modern News Posts (Home Page) */
table.news {
    width: 100% !important;
    max-width: 760px;
    margin: 12px auto 20px auto !important;
    background: rgba(18, 14, 12, 0.88) !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    border-radius: 10px !important;
    padding: 16px 20px !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

table.news td.post_title {
    color: #f59e0b !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
}

table.news td {
    color: #e2e8f0 !important;
    line-height: 1.6 !important;
    padding: 10px 4px !important;
    border: none !important;
}

table.news tr[align="right"] td {
    padding-top: 10px !important;
    border-top: 1px dashed rgba(212, 175, 55, 0.2) !important;
    font-size: 11.5px !important;
    color: #94a3b8 !important;
}

table.news tr[align="right"] td a {
    color: #f59e0b !important;
    font-weight: 700 !important;
}

/* Modern Tables (Rankings, Characters, Statistics, Lists) */
#sh_ table:not(#warehouse):not(.news):not(.im-grid-layout):not(.type2):not(.bbcode-toolbar) {
    margin: 12px auto !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: rgba(18, 14, 12, 0.88) !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.55) !important;
    overflow: hidden !important;
}

#sh_ table:not(#warehouse):not(.news):not(.im-grid-layout):not(.type2):not(.bbcode-toolbar) tr.top_table td,
#sh_ table:not(#warehouse):not(.news):not(.im-grid-layout):not(.type2):not(.bbcode-toolbar) tr:first-child th {
    background: linear-gradient(180deg, rgba(35, 25, 20, 0.95) 0%, rgba(20, 14, 12, 0.95) 100%) !important;
    color: #f59e0b !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    padding: 12px 14px !important;
    white-space: nowrap !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.4) !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

#sh_ table:not(#warehouse):not(.news):not(.im-grid-layout):not(.type2):not(.bbcode-toolbar):not(.guildlogo-tbl) td {
    padding: 10px 14px !important;
    color: #e2e8f0 !important;
    font-size: 12.5px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    transition: background 0.15s ease;
}

#sh_ table:not(#warehouse):not(.news):not(.im-grid-layout):not(.type2):not(.bbcode-toolbar):not(.guildlogo-tbl) tr:hover td {
    background: rgba(245, 158, 11, 0.06) !important;
}

#sh_ table:not(#warehouse):not(.news):not(.im-grid-layout):not(.type2):not(.bbcode-toolbar):not(.guildlogo-tbl) tr:last-child td {
    border-bottom: none !important;
}

/* MU Guild Logo Emblem (Vector Pixel-Art) */
.mu-guild-logo {
    display: inline-block !important;
    vertical-align: middle !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.6) !important;
    image-rendering: pixelated !important;
    transition: transform 0.15s ease !important;
}
tr:hover .mu-guild-logo {
    filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.5)) !important;
}
.gi-emblem-box .mu-guild-logo {
    width: 56px !important;
    height: 56px !important;
}

/* BBCode Color Matrix Palette (News & Forum Editors) */
#sh_ table.type2,
table.type2 {
    width: auto !important;
    max-width: 620px !important;
    margin: 10px 0 14px 0 !important;
    border-collapse: separate !important;
    border-spacing: 2px !important;
    background: #0a0d14 !important;
    border: 1px solid #2a3342 !important;
    border-radius: 6px !important;
    padding: 6px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
    display: table !important;
}

#sh_ table.type2 tr,
table.type2 tr {
    background: transparent !important;
}

#sh_ table.type2 td,
table.type2 td {
    width: 22px !important;
    height: 18px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(0, 0, 0, 0.5) !important;
    border-radius: 2px !important;
    line-height: 0 !important;
    font-size: 0 !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease, outline 0.15s ease !important;
    cursor: pointer !important;
}

#sh_ table.type2 td:hover,
table.type2 td:hover {
    transform: scale(1.4) !important;
    z-index: 100 !important;
    position: relative !important;
    outline: 2px solid #ffffff !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.9) !important;
}

#sh_ table.type2 td a,
table.type2 td a {
    display: block !important;
    width: 22px !important;
    height: 18px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
}

#sh_ table.type2 td img,
table.type2 td img {
    display: block !important;
    width: 22px !important;
    height: 18px !important;
    border: 0 !important;
    opacity: 0 !important;
}

/* BBCode Editor Toolbar & Controls */
.bb-toolbar-wrap {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    margin: 10px 0 8px 0 !important;
    background: #0f131a !important;
    padding: 6px 10px !important;
    border: 1px solid #2a3342 !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    overflow-x: auto !important;
}

.bb-btn,
#sh_ input.bb-btn {
    background: linear-gradient(180deg, #d97706 0%, #b45309 100%) !important;
    border: 1px solid #f59e0b !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 7px !important;
    height: 26px !important;
    min-height: 26px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 5px rgba(217, 119, 6, 0.3) !important;
    transition: all 0.15s ease !important;
    margin: 0 !important;
    display: inline-block !important;
    line-height: normal !important;
}

.bb-btn:hover,
#sh_ input.bb-btn:hover {
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%) !important;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5) !important;
    transform: translateY(-1px) !important;
}

.bb-select,
#sh_ select.bb-select {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 52px !important;
    height: 26px !important;
    background: #0a0d14 !important;
    border: 1px solid #2a3342 !important;
    color: #ffffff !important;
    padding: 2px 4px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    text-align: center !important;
    margin: 0 !important;
    display: inline-block !important;
    box-sizing: border-box !important;
}

.bb-select:focus,
#sh_ select.bb-select:focus {
    border-color: #f59e0b !important;
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.3) !important;
}

.bb-rest-input,
#sh_ input.bb-rest-input {
    width: 44px !important;
    height: 24px !important;
    background: #0a0d14 !important;
    border: 1px solid #2a3342 !important;
    color: #38bdf8 !important;
    font-family: monospace !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding: 1px 3px !important;
    border-radius: 4px !important;
    margin: 0 !important;
    display: inline-block !important;
    box-sizing: border-box !important;
}

/* Modern Form Controls Across All Pages */
#sh_ input[type="text"]:not(#chatmsg):not(.im-input):not(#wgSearchInput):not(.wg-search-input),
#sh_ input[type="password"],
#sh_ input[type="number"],
#sh_ input[type="email"],
#sh_ select:not(.im-select) {
    background: #0a0d14 !important;
    border: 1px solid #2a3342 !important;
    color: #f1f5f9 !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

#sh_ input[type="text"]:focus,
#sh_ input[type="password"]:focus,
#sh_ input[type="number"]:focus,
#sh_ select:focus {
    border-color: #f59e0b !important;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.35) !important;
}

/* Modern Submit & Action Buttons Across All Pages */
#sh_ input[type="submit"]:not(#get_item),
#sh_ input[type="button"]:not(#get_item):not(#chatcolor) {
    background: linear-gradient(180deg, #d97706 0%, #b45309 100%) !important;
    border: 1px solid #f59e0b !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 8px 18px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    box-shadow: 0 3px 12px rgba(217, 119, 6, 0.35) !important;
    transition: all 0.2s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 4px 2px !important;
}

#sh_ input[type="submit"]:hover,
#sh_ input[type="button"]:hover {
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%) !important;
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.55) !important;
    transform: translateY(-1px) !important;
}

/* Modern Pagination Controls */
#sh_ .pstrnav a[rel="history2"],
#sh_ .pagination a[rel="history2"],
#sh_ .page-nav a[rel="history2"] {
    display: inline-block;
    padding: 3px 9px;
    background: #161b24;
    border: 1px solid #2d3748;
    border-radius: 4px;
    color: #cbd5e1 !important;
    font-size: 11px;
    font-weight: 600;
    margin: 2px 3px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

#sh_ .pstrnav a[rel="history2"]:hover,
#sh_ .pagination a[rel="history2"]:hover,
#sh_ .page-nav a[rel="history2"]:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: #f59e0b;
    color: #f59e0b !important;
}


/* =========================================================
   MOBILE RESPONSIVE OVERRIDES FOR MODULES & TABLES (max-width: 1024px)
   Must be placed at the very end of styles.css to take precedence
   ========================================================= */
@media screen and (max-width: 1024px) {
    /* 1. Content Wrapper */
    #sh_ {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 4px 2px !important;
    }

    .mu-table-responsive {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin: 4px 0 10px 0 !important;
    }

    #sh_::-webkit-scrollbar,
    .mu-table-responsive::-webkit-scrollbar,
    .dl-table-wrap::-webkit-scrollbar {
        height: 5px !important;
    }
    #sh_::-webkit-scrollbar-track,
    .mu-table-responsive::-webkit-scrollbar-track,
    .dl-table-wrap::-webkit-scrollbar-track {
        background: rgba(15, 10, 8, 0.7) !important;
        border-radius: 4px !important;
    }
    #sh_::-webkit-scrollbar-thumb,
    .mu-table-responsive::-webkit-scrollbar-thumb,
    .dl-table-wrap::-webkit-scrollbar-thumb {
        background: rgba(245, 158, 11, 0.5) !important;
        border-radius: 4px !important;
    }
    #sh_::-webkit-scrollbar-thumb:hover,
    .mu-table-responsive::-webkit-scrollbar-thumb:hover,
    .dl-table-wrap::-webkit-scrollbar-thumb:hover {
        background: rgba(245, 158, 11, 0.85) !important;
    }

    /* 2. Ranking & Data Tables (Top Characters, Top Guilds, Top Kills, Top Zen, Top Referrals, Online Players, Account Panel, View Logs) */
    .mu-table-responsive table,
    #sh_ table.top-ranking-table {
        width: 100% !important;
        min-width: 440px !important;
        margin: 0 !important;
        border-collapse: collapse !important;
    }

    #sh_ table:not(#warehouse):not(.news):not(.im-grid-layout):not(.type2):not(.btb):not(.top-ranking-table):not(.mu-reg-card table) {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #sh_ table:not(#warehouse):not(.news):not(.im-grid-layout):not(.type2):not(.bbcode-toolbar) tr.top_table td,
    #sh_ table:not(#warehouse):not(.news):not(.im-grid-layout):not(.type2):not(.bbcode-toolbar) tr:first-child th {
        padding: 7px 5px !important;
        font-size: 11px !important;
        letter-spacing: 0.3px !important;
        white-space: nowrap !important;
    }

    #sh_ table:not(#warehouse):not(.news):not(.im-grid-layout):not(.type2):not(.bbcode-toolbar):not(.guildlogo-tbl) td {
        padding: 6px 4px !important;
        font-size: 11px !important;
        white-space: nowrap !important;
    }

    #sh_ table tr.contet_table td a {
        font-size: 11px !important;
    }

    /* 3. Account Panel (User Control Panel) Action Buttons */
    #sh_ tr.contet_table input[type="button"],
    #sh_ tr.contet_table input[type="submit"] {
        background: linear-gradient(180deg, #3d291e 0%, #1c110a 100%) !important;
        border: 1px solid rgba(212, 175, 55, 0.45) !important;
        border-radius: 4px !important;
        color: #ffdca8 !important;
        padding: 4px 7px !important;
        font-size: 10.5px !important;
        font-weight: 600 !important;
        cursor: pointer !important;
        white-space: nowrap !important;
        display: inline-block !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
        transition: all 0.15s ease !important;
    }

    #sh_ tr.contet_table input[type="button"]:hover,
    #sh_ tr.contet_table input[type="submit"]:hover {
        background: linear-gradient(180deg, #f59e0b 0%, #b45309 100%) !important;
        border-color: #ffd790 !important;
        color: #000000 !important;
        box-shadow: 0 0 8px rgba(245, 158, 11, 0.5) !important;
    }

    /* 4. Server Statistics Table (.btb) */
    table.btb {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    table.btb td[width="300"],
    table.btb td[width="300px"] {
        width: 45% !important;
        min-width: 80px !important;
    }

    table.btb td[width="100"],
    table.btb td[width="100px"] {
        width: 25% !important;
        min-width: 55px !important;
        white-space: nowrap !important;
        text-align: right !important;
    }

    table.btb td {
        padding: 5px 6px !important;
        font-size: 11px !important;
    }

    /* 5. View Character Sheet & Inventory */
    #all_view {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    #inventory_, #character_ {
        display: block !important;
        margin: 0 auto 12px auto !important;
        max-width: 100% !important;
    }

    /* 6. Form Inputs & Actions inside #sh_ */
    #sh_ form:not(.vl-page-form):not(.inline-form) {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .vl-pagination-wrap,
    #sh_ .vl-pagination-wrap {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 5px !important;
        margin: 16px 0 8px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .vl-page-btn,
    #sh_ .vl-page-btn {
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 32px !important;
        height: 32px !important;
        padding: 0 8px !important;
        margin: 0 !important;
        font-size: 11px !important;
        border-radius: 5px !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
    }

    #sh_ form table {
        max-width: 100% !important;
        margin: 8px auto !important;
    }

    #sh_ form input[type="text"],
    #sh_ form input[type="password"],
    #sh_ form select {
        box-sizing: border-box !important;
        border-radius: 4px !important;
        border: 1px solid rgba(212, 175, 55, 0.3) !important;
        background: #0d0907 !important;
        color: #ffdca8 !important;
        padding: 6px 10px !important;
        font-size: 13px !important;
    }

    /* 7. Guild Emblem Sizing on Mobile */
    .mu-guild-logo {
        width: 20px !important;
        height: 20px !important;
    }
}

/* =========================================================
   ACCOUNT PANEL & PRICE LIST CARDS & LOGS MODERN DESIGN
   ========================================================= */
.acc-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(245, 158, 11, 0.25);
    padding-bottom: 8px;
    margin: 24px 0 16px 0;
}
.acc-section-header h3 {
    font-size: 17px !important;
    font-family: 'Cinzel', serif !important;
    color: #fde047 !important;
    margin: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-shadow: 0 0 10px rgba(253, 224, 71, 0.4) !important;
}
.acc-section-icon {
    font-size: 20px;
    filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.6));
}
.acc-section-sub {
    font-size: 11px;
    color: #94a3b8;
    font-style: italic;
    margin-left: auto;
    letter-spacing: 0.3px;
}

/* Price Grid & Cards */
.mu-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}
.mu-price-card {
    background: linear-gradient(145deg, rgba(22, 17, 14, 0.95), rgba(13, 10, 8, 0.98));
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 8px;
    padding: 16px 14px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.mu-price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    opacity: 0.8;
}
.mu-price-card.theme-stats::before {
    background: linear-gradient(90deg, transparent, #38bdf8, transparent);
}
.mu-price-card.theme-reset::before {
    background: linear-gradient(90deg, transparent, #fbbf24, transparent);
}
.mu-price-card.theme-pk::before {
    background: linear-gradient(90deg, transparent, #ef4444, transparent);
}
.mu-price-card:hover {
    transform: translateY(-3px);
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(245, 158, 11, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.mu-price-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.mu-price-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}
.theme-stats .mu-price-icon-wrap {
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}
.theme-reset .mu-price-icon-wrap {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.4);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}
.theme-pk .mu-price-icon-wrap {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.4);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.mu-price-card h4 {
    font-family: 'Cinzel', serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #f8fafc !important;
    margin: 0 !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
}
.mu-price-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.55);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14.5px;
    font-weight: 800;
    font-family: 'Cinzel Decorative', 'Cinzel', sans-serif;
    color: #fde047;
    text-shadow: 0 0 8px rgba(253, 224, 71, 0.45);
    border: 1px solid rgba(245, 158, 11, 0.35);
    margin: 8px 0 10px 0;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
}
.mu-price-tag img {
    width: 17px;
    height: 17px;
    vertical-align: middle;
}
.mu-price-desc {
    font-size: 11.5px;
    line-height: 1.45;
    color: #cbd5e1;
    margin-bottom: 10px;
    min-height: 32px;
}
.mu-price-meta {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}
.theme-stats .mu-price-meta {
    background: rgba(56, 189, 248, 0.15);
    color: #7dd3fc;
    border: 1px solid rgba(56, 189, 248, 0.3);
}
.theme-reset .mu-price-meta {
    background: rgba(245, 158, 11, 0.15);
    color: #fde047;
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.theme-pk .mu-price-meta {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Notice Box */
.acc-info-notice {
    background: linear-gradient(90deg, rgba(30, 24, 16, 0.9) 0%, rgba(18, 14, 10, 0.95) 100%);
    border-left: 3px solid #f59e0b;
    border-top: 1px solid rgba(212, 175, 55, 0.18);
    border-right: 1px solid rgba(212, 175, 55, 0.18);
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 6px;
    padding: 11px 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 11.5px;
    line-height: 1.5;
    color: #e2e8f0;
    margin: 8px 0 24px 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.acc-info-notice .notice-icon {
    font-size: 18px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.5));
}
.acc-info-notice strong {
    color: #fde047;
}

/* Modern Account Log Cards */
.mu-logs-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}
.mu-log-card {
    background: linear-gradient(145deg, rgba(22, 18, 15, 0.95), rgba(14, 11, 9, 0.95));
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-left: 3px solid #f59e0b;
    border-radius: 6px;
    padding: 10px 14px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.mu-log-card:hover {
    border-color: rgba(251, 191, 36, 0.45);
    border-left-color: #38bdf8;
    transform: translateX(3px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
.mu-log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 6px;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #fde047;
    letter-spacing: 0.3px;
}
.mu-log-user {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.mu-log-time {
    font-size: 11px;
    font-weight: 400;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.mu-log-time img {
    width: 13px;
    height: 13px;
    opacity: 0.8;
}
.mu-log-body {
    font-size: 12px;
    line-height: 1.5;
    color: #cbd5e1;
    margin-bottom: 6px;
    word-break: break-word;
}
.mu-log-body b, .mu-log-body strong {
    color: #38bdf8;
}
.mu-log-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #fbbf24;
    font-weight: 600;
    border-top: 1px dashed rgba(255, 255, 255, 0.05);
    padding-top: 5px;
}
.mu-log-credits {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.35);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}
.mu-empty-logs {
    background: rgba(15, 12, 10, 0.7);
    border: 1px dashed rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
    font-style: italic;
}

/* Pagination modern gold styling */
.pstrnav-wrap {
    width: 100%;
    text-align: center;
    margin: 18px auto 8px auto;
}
.pstrnav {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
    flex-wrap: wrap;
    background: rgba(14, 10, 7, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 6px;
    padding: 6px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.pstrnav a, .pstrnav b {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 28px !important;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.pstrnav a {
    background: #141821 !important;
    color: #e2e8f0 !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
}
.pstrnav a:hover {
    background: rgba(245, 158, 11, 0.25) !important;
    border-color: #f59e0b !important;
    color: #fde047 !important;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
    transform: translateY(-1px);
}
.pstrnav b {
    background: linear-gradient(180deg, #f59e0b 0%, #b45309 100%) !important;
    color: #000 !important;
    border: 1px solid #fbbf24 !important;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

/* Feedback / Status Alert Boxes inside #sh_ */
#sh_ ul {
    list-style: none !important;
    margin: 12px auto !important;
    padding: 0 !important;
    max-width: 95% !important;
}
#sh_ ul li {
    background: linear-gradient(145deg, rgba(25, 20, 15, 0.95), rgba(15, 12, 10, 0.98)) !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    border-left: 4px solid #f59e0b !important;
    border-radius: 6px !important;
    padding: 12px 18px !important;
    color: #f8fafc !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
    margin-bottom: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
#sh_ ul li::before {
    content: '✦';
    color: #fde047;
    font-size: 16px;
}

/* =========================================================
   MASTER ADMIN, GM & USER PANEL UNIFIED DARK FANTASY SUITE
   Applies luxury gold & obsidian styling to all panels:
   - Add Credits (.ak-)
   - Account Manager (.am-)
   - Ban Manager (.bm-)
   - Ban IP Manager (.bip-)
   - Advanced Search (.as-)
   - Add News (.an-)
   - Reset Rewards Manager (.rr-)
   - Item Maker (.im-)
   - Create Quest (.cq-)
   - Website & WebShop Manager (.wm-)
   - Weekly Rewards Manager (.wrm-)
   - Links Manager (.lm-)
   - Vote Links Manager (.vm-)
   - In-Game Server & Char Tools (.ep-)
   - View Logs (.vl-)
   - Extra Vaults Manager (.em-)
   - Arena Pack Manager (.ea-)
   - Bank Panel Manager (.eb-)
   - Reset Manager (.er-)
   - My Profile (.prf-)
   - My Referrals (.ref-)
   - Private Messages (.pm-)
   - Bank Panel (.zb-)
   - Web Warehouse (.ev-)
   - Move Arena (.arena-)
   - Buy Zen (.bz-)
   - Anti-Bug Recovery (.ant-)
   - Vote for Rewards (.vr-)
   - Generic Admin / Managers (.adm-, .mng-)
   ========================================================= */

/* 1. Main Containers & Page Headers */
.ak-container, .am-container, .bm-container, .bip-container,
.as-container, .an-container, .rr-container, .im-container,
.cq-container, .wm-container, .wrm-container, .lm-container,
.vm-container, .ep-container, .vl-container,
.em-container, .ea-container, .eb-container, .er-container,
.prf-container, .ref-container, .pm-container, .zb-container,
.arena-container, .bz-container, .ant-container, .vr-container,
.adm-container, .mng-container {
    max-width: 820px !important;
    width: 100% !important;
    margin: 15px auto !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #e0e6ed !important;
    box-sizing: border-box !important;
}

.ak-title, .am-title, .bm-title, .bip-title,
.as-title, .an-title, .rr-title, .im-title,
.cq-title, .wm-title, .wrm-title, .lm-title,
.vm-title, .ep-title, .vl-title,
.em-title, .ea-title, .eb-title, .er-title,
.prf-title, .ref-title, .pm-title, .zb-title,
.arena-title, .bz-title, .ant-title, .vr-title,
.adm-title, .mng-title {
    font-size: 21px !important;
    font-family: 'Cinzel', serif !important;
    font-weight: 700 !important;
    color: #fde047 !important;
    margin: 0 0 6px 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-shadow: 0 0 12px rgba(253, 224, 71, 0.45) !important;
    text-align: center !important;
}

.ak-subtitle, .am-subtitle, .bm-subtitle, .bip-subtitle,
.as-subtitle, .an-subtitle, .rr-subtitle, .im-subtitle,
.cq-subtitle, .wm-subtitle, .wrm-subtitle, .lm-subtitle,
.vm-subtitle, .ep-subtitle, .vl-subtitle,
.em-subtitle, .ea-subtitle, .eb-subtitle, .er-subtitle,
.prf-subtitle, .ref-subtitle, .pm-subtitle, .zb-subtitle,
.arena-subtitle, .bz-subtitle, .ant-subtitle, .vr-subtitle,
.adm-subtitle, .mng-subtitle {
    font-size: 12.5px !important;
    color: #94a3b8 !important;
    margin: 0 0 16px 0 !important;
    font-style: italic !important;
    text-align: center !important;
}

/* 2. Navigation Bars & Tabs */
.cq-nav, .wm-nav, .prf-nav, .pm-nav {
    display: flex !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
    background: rgba(14, 11, 8, 0.95) !important;
    padding: 6px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(212, 175, 55, 0.28) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
    flex-wrap: wrap !important;
}

.cq-nav-btn, .wm-nav-btn, .prf-nav-item, .pm-nav-item {
    flex: 1 !important;
    text-align: center !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.cq-nav-btn:hover, .wm-nav-btn:hover, .prf-nav-item:hover, .pm-nav-item:hover {
    color: #fde047 !important;
    background: rgba(245, 158, 11, 0.12) !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
}

.cq-nav-btn.active, .wm-nav-btn.active, .prf-nav-item.active, .pm-nav-item.active {
    color: #000000 !important;
    background: linear-gradient(180deg, #f59e0b 0%, #b45309 100%) !important;
    border-color: #fbbf24 !important;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.45) !important;
}

/* 3. Obsidian-Gold Master Cards */
.ak-card, .am-card, .bm-card, .bip-card,
.as-card, .an-card, .rr-card, .im-card,
.cq-card, .wm-card, .wrm-card, .wrm-control-card, .wrm-event-card,
.lm-card, .vm-card, .ep-card, .ep-option-card, .vl-filter-card,
.em-card, .ea-card, .eb-card, .er-card,
.prf-card, .ref-card, .pm-card, .zb-card, .ev-container,
.arena-card, .bz-card, .ant-card, .vr-card,
.adm-card, .mng-card, .as-result-card {
    background: linear-gradient(145deg, rgba(22, 17, 14, 0.96), rgba(13, 10, 8, 0.98)) !important;
    border: 1px solid rgba(212, 175, 55, 0.32) !important;
    border-radius: 10px !important;
    padding: 24px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 4. Subcards, Stats & Vault Boxes */
.bm-subcard, .zb-subcard, .zb-box, .zb-stat-bar, .zb-overview-card, .zb-vault-box, .ant-char-card,
.arena-char-card, .vr-item, .ev-card, .ev-header-bar,
.ref-banner, .ref-stat-card, .bz-preview-box, .ant-info-box,
.vr-info-box, .arena-status-box, .bz-rate-banner {
    background: rgba(12, 9, 7, 0.75) !important;
    border: 1px solid rgba(212, 175, 55, 0.22) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

.bm-subcard-title, .zb-subcard-title, .zb-box-title, .zb-overview-title, .vr-site-name, .ant-char-name,
.ev-card-title, .ev-preview-title {
    color: #fde047 !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

/* 5. Inputs, Selects & Textareas */
.ak-input, .am-input, .bm-input, .bip-input,
.as-input, .an-input, .rr-input, .im-input,
.cq-input, .wm-input, .wrm-input, .lm-input,
.vm-input, .ep-input, .vl-input, .adm-input,
.em-input, .ea-input, .eb-input, .er-input,
.prf-input, .pm-input, .zb-input, .bz-input, .ref-input, .ref-link-input,
.ak-select, .am-select, .bm-select, .bip-select,
.as-select, .an-select, .rr-select, .im-select,
.cq-select, .wm-select, .wrm-select, .lm-select,
.vm-select, .ep-select, .vl-select, .adm-select,
.em-select, .ea-select, .eb-select, .er-select,
.prf-select, .zb-select, .bz-select,
#sh_ input[type="text"]:not(.search-box):not(#wgSearchInput):not(.wg-search-input), 
#sh_ input[type="password"], 
#sh_ input[type="number"],
#sh_ select, 
#sh_ textarea {
    background: rgba(10, 8, 6, 0.9) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 6px !important;
    color: #ffdca8 !important;
    padding: 9px 12px !important;
    font-size: 13px !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.ak-input:focus, .am-input:focus, .bm-input:focus, .bip-input:focus,
.as-input:focus, .an-input:focus, .rr-input:focus, .im-input:focus,
.cq-input:focus, .wm-input:focus, .wrm-input:focus, .lm-input:focus,
.vm-input:focus, .ep-input:focus, .vl-input:focus, .adm-input:focus,
.em-input:focus, .ea-input:focus, .eb-input:focus, .er-input:focus,
.prf-input:focus, .pm-input:focus, .zb-input:focus, .bz-input:focus,
.ref-input:focus, .ref-link-input:focus,
.ak-select:focus, .am-select:focus, .bm-select:focus, .bip-select:focus,
.as-select:focus, .an-select:focus, .rr-select:focus, .im-select:focus,
.cq-select:focus, .wm-select:focus, .wrm-select:focus, .lm-select:focus,
.vm-select:focus, .ep-select:focus, .vl-select:focus, .adm-select:focus,
.em-select:focus, .ea-select:focus, .eb-select:focus, .er-select:focus,
.prf-select:focus, .zb-select:focus, .bz-select:focus,
#sh_ input[type="text"]:focus, #sh_ input[type="password"]:focus, #sh_ input[type="number"]:focus,
#sh_ select:focus, #sh_ textarea:focus {
    border-color: #f59e0b !important;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.4) !important;
}

/* 6. Gold 3D Action Buttons */
.ak-btn, .am-btn, .bm-btn, .bip-btn,
.as-btn, .an-btn, .rr-btn, .im-btn,
.cq-btn, .wm-btn, .wm-btn-primary, .wrm-btn, .wrm-btn-distribute,
.lm-btn, .vm-btn, .ep-btn-primary, .vl-btn,
.em-btn, .ea-btn, .eb-btn, .er-btn,
.prf-btn, .pm-btn, .zb-btn-deposit, .arena-btn-warp, .bz-btn,
.ref-btn-copy, .ref-btn-claim, .ev-btn-switch,
.vr-badge-ready, .zb-quick-btn, .zb-qbtn,
.adm-btn,
#sh_ input[type="submit"]:not(.vl-del-btn):not(.btn-danger):not(.vl-btn-danger):not(.cq-btn-danger):not(.wm-btn-danger):not(.ep-btn-danger):not(.wrm-btn-reset):not(.bm-btn-ban):not(#get_item):not(.ws-btn-get-item),
#sh_ input[type="button"]:not(.vl-del-btn):not(.btn-danger):not(.vl-btn-danger):not(.cq-btn-danger):not(.wm-btn-danger):not(.ep-btn-danger):not(.wrm-btn-reset):not(.bm-btn-ban):not(.vault-tab-btn):not(#get_item):not(.ws-btn-get-item) {
    background: linear-gradient(180deg, #f59e0b 0%, #b45309 100%) !important;
    border: 1px solid #fbbf24 !important;
    border-radius: 6px !important;
    color: #000000 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 9px 18px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ak-btn:hover, .am-btn:hover, .bm-btn:hover, .bip-btn:hover,
.as-btn:hover, .an-btn:hover, .rr-btn:hover, .im-btn:hover,
.cq-btn:hover, .wm-btn:hover, .wm-btn-primary:hover, .wrm-btn:hover, .wrm-btn-distribute:hover,
.lm-btn:hover, .vm-btn:hover, .ep-btn-primary:hover, .vl-btn:hover,
.em-btn:hover, .ea-btn:hover, .eb-btn:hover, .er-btn:hover,
.prf-btn:hover, .pm-btn:hover, .zb-btn-deposit:hover, .arena-btn-warp:hover, .bz-btn:hover,
.ref-btn-copy:hover, .ref-btn-claim:hover, .ev-btn-switch:hover,
.vr-badge-ready:hover, .zb-quick-btn:hover, .zb-qbtn:hover,
.adm-btn:hover,
#sh_ input[type="submit"]:not(.vl-del-btn):not(.btn-danger):not(.vl-btn-danger):not(.cq-btn-danger):not(.wm-btn-danger):not(.ep-btn-danger):not(.wrm-btn-reset):not(.bm-btn-ban):not(#get_item):not(.ws-btn-get-item):hover,
#sh_ input[type="button"]:not(.vl-del-btn):not(.btn-danger):not(.vl-btn-danger):not(.cq-btn-danger):not(.wm-btn-danger):not(.ep-btn-danger):not(.wrm-btn-reset):not(.bm-btn-ban):not(.vault-tab-btn):not(#get_item):not(.ws-btn-get-item):hover {
    background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%) !important;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.5) !important;
    transform: translateY(-1px) !important;
    color: #000000 !important;
}

/* Secondary / Cyan Action Buttons */
.zb-btn-withdraw, .ant-btn-stats, .ant-btn-teleport, .ref-btn-sync {
    background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%) !important;
    border: 1px solid #38bdf8 !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 8px 16px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.2s ease !important;
}
.zb-btn-withdraw:hover, .ant-btn-stats:hover, .ant-btn-teleport:hover, .ref-btn-sync:hover {
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.6) !important;
}

/* Danger / Ban Buttons */
.ak-btn-danger, .am-btn-danger, .bm-btn-danger, .bip-btn-danger,
.as-btn-danger, .an-btn-danger, .rr-btn-danger, .im-btn-danger,
.cq-btn-danger, .wm-btn-danger, .wrm-btn-reset, .ep-btn-danger,
.vl-del-btn, .vl-btn-danger, .bm-btn-ban, .prf-btn-danger,
.adm-btn-danger, .btn-danger {
    background: rgba(239, 68, 68, 0.18) !important;
    border: 1px solid rgba(239, 68, 68, 0.5) !important;
    color: #fca5a5 !important;
    border-radius: 6px !important;
    padding: 7px 16px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.ak-btn-danger:hover, .am-btn-danger:hover, .bm-btn-danger:hover, .bip-btn-danger:hover,
.as-btn-danger:hover, .an-btn-danger:hover, .rr-btn-danger:hover, .im-btn-danger:hover,
.cq-btn-danger:hover, .wm-btn-danger:hover, .wrm-btn-reset:hover, .ep-btn-danger:hover,
.vl-del-btn:hover, .vl-btn-danger:hover, .bm-btn-ban:hover, .prf-btn-danger:hover,
.adm-btn-danger:hover, .btn-danger:hover {
    background: #dc2626 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5) !important;
}

/* 7. Tables */
.ak-table, .am-table, .bm-table, .bip-table,
.as-table, .an-table, .rr-table, .cq-table,
.wm-table, .lm-table, .vm-table, .adm-table,
.em-table, .ea-table, .eb-table, .er-table,
.ref-table, .zb-table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 12.5px !important;
    margin-top: 10px !important;
}

.ak-table th, .am-table th, .bm-table th, .bip-table th,
.as-table th, .an-table th, .rr-table th, .cq-table th,
.wm-table th, .lm-table th, .vm-table th, .adm-table th,
.em-table th, .ea-table th, .eb-table th, .er-table th,
.ref-table th, .zb-table th {
    background: rgba(15, 12, 10, 0.95) !important;
    color: #fde047 !important;
    padding: 10px 12px !important;
    border-bottom: 2px solid rgba(245, 158, 11, 0.3) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-size: 11.5px !important;
}

.ak-table td, .am-table td, .bm-table td, .bip-table td,
.as-table td, .an-table td, .rr-table td, .cq-table td,
.wm-table td, .lm-table td, .vm-table td, .adm-table td,
.em-table td, .ea-table td, .eb-table td, .er-table td,
.ref-table td, .zb-table td {
    padding: 10px 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #e2e8f0 !important;
    vertical-align: middle !important;
}

.ak-table tr:hover td, .am-table tr:hover td, .bm-table tr:hover td, .bip-table tr:hover td,
.as-table tr:hover td, .an-table tr:hover td, .rr-table tr:hover td, .cq-table tr:hover td,
.wm-table tr:hover td, .lm-table tr:hover td, .vm-table tr:hover td, .adm-table tr:hover td,
.em-table tr:hover td, .ea-table tr:hover td, .eb-table tr:hover td, .er-table tr:hover td,
.ref-table tr:hover td, .zb-table tr:hover td {
    background: rgba(245, 158, 11, 0.05) !important;
}

/* 8. Alerts & Notifications */
.ak-alert, .am-alert, .bm-alert, .bip-alert,
.as-alert, .an-alert, .rr-alert, .im-alert,
.cq-alert, .wm-alert, .wrm-alert, .lm-alert,
.vm-alert, .ep-alert, .vl-alert,
.em-alert, .ea-alert, .eb-alert, .er-alert,
.prf-alert, .ref-alert, .pm-alert, .zb-alert,
.ev-alert, .arena-alert, .bz-alert, .ant-alert, .vr-alert {
    padding: 11px 16px !important;
    border-radius: 6px !important;
    font-size: 12.5px !important;
    margin-bottom: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3) !important;
}

.ak-alert.success, .am-alert.success, .bm-alert.success, .bip-alert.success,
.as-alert.success, .an-alert.success, .rr-alert.success, .im-alert.success,
.cq-alert.success, .wm-alert.success, .wrm-alert.success, .lm-alert.success,
.vm-alert.success, .ep-alert.success, .vl-alert.success,
.em-alert.success, .ea-alert.success, .eb-alert.success, .er-alert.success,
.prf-alert.success, .ref-alert.success, .pm-alert.success, .zb-alert.success,
.ev-alert.success, .arena-alert.success, .bz-alert.success, .ant-alert.success, .vr-alert.success {
    background: rgba(34, 197, 94, 0.15) !important;
    border: 1px solid rgba(34, 197, 94, 0.45) !important;
    border-left: 4px solid #22c55e !important;
    color: #86efac !important;
}

.ak-alert.error, .am-alert.error, .bm-alert.error, .bip-alert.error,
.as-alert.error, .an-alert.error, .rr-alert.error, .im-alert.error,
.cq-alert.error, .wm-alert.error, .wrm-alert.error, .lm-alert.error,
.vm-alert.error, .ep-alert.error, .vl-alert.error,
.em-alert.error, .ea-alert.error, .eb-alert.error, .er-alert.error,
.prf-alert.error, .ref-alert.error, .pm-alert.error, .zb-alert.error,
.ev-alert.error, .arena-alert.error, .bz-alert.error, .ant-alert.error, .vr-alert.error {
    background: rgba(239, 68, 68, 0.15) !important;
    border: 1px solid rgba(239, 68, 68, 0.45) !important;
    border-left: 4px solid #ef4444 !important;
    color: #fca5a5 !important;
}

.ak-alert.info, .as-alert.info, .cq-alert.info, .wrm-alert.info, .vl-alert.info,
.ev-alert.info, .ref-alert.info, .ant-alert.info {
    background: rgba(56, 189, 248, 0.15) !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    border-left: 4px solid #38bdf8 !important;
    color: #bae6fd !important;
}
