.ac_overlay{
display:none;
position:fixed;
z-index:999999;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.78);
overflow:auto;
}


/* =========================
   MODAL
========================= */

.ac_modal{
width:520px;
max-width:94%;
background:#1b2129;
border:1px solid #7CFC00;
border-radius:14px;
box-shadow:0 0 25px rgba(124,252,0,0.18);
padding:18px;
color:#ddd;
font-family:Arial,sans-serif;
position:relative;
margin:25px auto;
box-sizing:border-box;
}

.ac_modal h2{
margin:0 0 16px 0;
color:#7CFC00;
font-size:28px;
font-weight:bold;
line-height:1.2;
}

.ac_close{
position:absolute;
right:16px;
top:12px;
color:#aaa;
cursor:pointer;
font-size:26px;
font-weight:bold;
line-height:1;
}

.ac_close:hover{
color:#fff;
}


/* =========================
   INPUTS
========================= */

.ac_input{
display:block;
width:100%;
max-width:100%;
box-sizing:border-box;

padding:11px 13px;

background:#111;
border:1px solid #333;
border-radius:7px;

color:#fff;
font-size:15px;
outline:none;

margin-left:0;
margin-right:0;

appearance:none;
-webkit-appearance:none;
}


/* =========================
   WALLET
========================= */

.ac_wallet{
display:block;
width:100%;
max-width:100%;
box-sizing:border-box;

background:#0d0d0d;
border:1px solid #333;
border-radius:8px;

padding:12px;

word-break:break-all;

color:#fff;
font-size:15px;
line-height:1.35;

margin-top:6px;
margin-left:0;
margin-right:0;
}


/* =========================
   AMOUNT
========================= */

.ac_amount{
font-size:26px;
color:#7CFC00;
font-weight:bold;
text-align:center;
margin:12px 0 18px 0;
line-height:1.2;
}


/* =========================
   BUTTONS BASE
========================= */

.ac_btn,
.ac_btn_cancel{
display:inline-block;

box-sizing:border-box;

padding:13px 22px;

border:0;
border-radius:8px;

font-size:16px;
font-weight:bold;
line-height:1.2;
text-align:center;

cursor:pointer;

font-family:Arial,sans-serif;

transition:0.15s;

appearance:none;
-webkit-appearance:none;

text-indent:0;
}


/* =========================
   MODAL BUTTONS ONLY
========================= */

.ac_modal .ac_btn,
.ac_modal .ac_btn_cancel{
display:block;
width:100%;
max-width:100%;

margin-top:10px;

margin-left:0;
margin-right:0;

float:none;
clear:both;
}


/* =========================
   ESCROW ADMIN BUTTONS
========================= */

#ac_escrow_admin_overlay button{
display:inline-block !important;

width:auto !important;

vertical-align:middle !important;

margin-top:0 !important;

float:none !important;
clear:none !important;

padding:8px 14px !important;
}

/* контейнер кнопок */
#ac_escrow_admin_overlay .ac_modal > div:first-of-type{
display:flex !important;
flex-wrap:wrap !important;
align-items:center !important;
gap:5px !important;
}

/* статистика */
#ac_escrow_admin_stats{
display:block !important;
clear:both !important;
margin-top:12px !important;
}


/* =========================
   CHAT BUTTON FIX
========================= */

#chatbox .ac_btn,
#chat .ac_btn,
.chatbox .ac_btn,
.chat .ac_btn{
display:inline-block !important;

width:auto !important;
max-width:none !important;

min-width:180px !important;

margin-top:0 !important;

padding-left:25px !important;
padding-right:25px !important;

float:none !important;
clear:none !important;
}


/* =========================
   BUTTON COLORS
========================= */

.ac_btn{
background:#7CFC00;
color:#000;
}

.ac_btn:hover{
background:#92ff2f;
}

.ac_btn_cancel{
background:#4a4a4a;
color:#fff;
}

.ac_btn_cancel:hover{
background:#5b5b5b;
}


/* =========================
   CARDS
========================= */

.ac_card{
background:#151a20;
border:1px solid #333;
border-radius:8px;
padding:10px;
margin-bottom:8px;
box-sizing:border-box;
}


/* =========================
   NOTICE
========================= */

.ac_notice{
color:#ffcc00;
font-size:13px;
line-height:1.45;
margin-top:14px;
text-align:center;
}

.ac_green{
color:#7CFC00;
}

.ac_yellow{
color:#ffcc00;
}

.ac_red{
color:#ff5555;
}


/* =========================
   QR
========================= */

#ac_dep_qr{
display:none;
width:170px;
height:170px;
background:#fff;
padding:8px;
border-radius:8px;
box-sizing:border-box;
margin:18px auto 0 auto;
}


/* =========================
   STATUS
========================= */

#ac_dep_status{
margin-top:14px;
text-align:center;
color:#ffcc00;
font-size:14px;
font-weight:bold;
line-height:1.4;
}


/* =========================
   TYPO
========================= */

.ac_modal p{
margin:10px 0 6px 0;
font-size:15px;
}

.ac_modal b{
font-size:15px;
}

.deposit_add,
.deposit_out{
    padding-left:4px;
    display:inline-block;
}

/* ADS */

.ac_ads_banner_grid{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    margin:10px auto;
    max-width:1460px;
    clear:both;
}

.ac_ads_banner_item{
    width:468px;
    height:60px;
    overflow:hidden;
    flex:0 0 468px;
}

.ac_ads_banner_item a{
    display:block;
    width:468px;
    height:60px;
}

.ac_ads_banner_item img{
    width:468px;
    height:60px;
    display:block;
    border:0;
}

.ac_ads_text_slot{
    text-align:center;
    padding:8px 10px;
    margin:8px auto;
    line-height:24px;
}

.ac_ads_text_slot a{
    display:inline-block;
    margin:0 8px;
    font-size:13px;
    text-decoration:none;
    font-weight:bold;
}

.ac_ads_text_slot a:hover{
    text-decoration:underline;
}

@media screen and (max-width:1500px){

    .ac_ads_banner_grid{
        max-width:980px;
    }

}

@media screen and (max-width:1000px){

    .ac_ads_banner_grid{
        max-width:490px;
    }

}

.ac_sidebar_ads{
display:block;
clear:both;
margin-top:24px;
width:170px;
overflow:hidden;
}

.ac_sidebar_ads_title{
display:block;
font-size:11px;
font-weight:bold;
color:#bfc5ca;
text-transform:uppercase;
letter-spacing:1px;
padding-left:6px;
padding-bottom:6px;
margin-bottom:8px;
border-bottom:1px solid #3a3f44;
}

.ac_sidebar_ads .ac_ads_text_slot{
display:block;
padding:0;
margin:0;
text-align:left;
line-height:1.35;
}

.ac_sidebar_ads .ac_ads_text_slot a{
display:block;
font-size:12px;
line-height:1.35;
color:#e6b85c !important;
text-decoration:none;
margin:0 0 6px 0;
font-weight:bold;
padding-left:6px;
white-space:normal !important;
overflow-wrap:anywhere;
word-break:break-word;
}

.ac_sidebar_ads .ac_ads_text_slot a:hover{
color:#7CFC00 !important;
text-decoration:none;
}

.ac_ads_menu_btn{
color:#8cff00 !important;
font-weight:bold;
text-shadow:
0 0 4px rgba(140,255,0,0.45),
0 0 8px rgba(140,255,0,0.25);
transition:all .18s ease;
}

.ac_ads_menu_btn:hover{
color:#ffffff !important;
text-shadow:
0 0 6px rgba(140,255,0,0.9),
0 0 12px rgba(140,255,0,0.55);
}

.ac_sidebar_block_title{
display:block;
font-size:11px;
font-weight:bold;
color:#bfc5ca;
text-transform:uppercase;
letter-spacing:1px;
padding-left:6px;
padding-bottom:2px;
margin-bottom:2px;
border-bottom:1px solid #3a3f44;
line-height:1.1;
}

.ac_thread_badge{
display:inline-block;
font-size:11px;
line-height:16px;
padding:1px 6px;
border-radius:3px;
font-weight:bold;
margin-right:4px;
vertical-align:middle;
}

.ac_badge_approved{
background:#1f7a1f;
color:#fff;
}

.ac_badge_vip{
background:#ffd700;
color:#000;
}

.ac_badge_verified{
background:#007bff;
color:#fff;
}

.ac_thread_sparkle{
position:relative;
display:inline-block;
font-weight:bold;
color:#7CFC00 !important;
text-shadow:
0 0 3px rgba(124,252,0,0.75),
0 0 7px rgba(124,252,0,0.45);
overflow:visible;
}

.ac_thread_sparkle:before{
content:"";
position:absolute;
left:0;
right:0;
top:0;
bottom:0;
pointer-events:none;
background:
radial-gradient(circle, #ffffff 0 1px, transparent 2px) 0 0/18px 14px,
radial-gradient(circle, #ffffff 0 1px, transparent 2px) 9px 7px/22px 18px;
opacity:0;
animation:acSparkleText 1.4s infinite;
}

@keyframes acSparkleText{
0%{
opacity:0;
transform:translateX(-6px);
}
35%{
opacity:0.9;
}
70%{
opacity:0.25;
}
100%{
opacity:0;
transform:translateX(8px);
}
}
.ac_modal input[type="color"].ac_input{
width:100% !important;
height:55px !important;
padding:6px !important;
background:#111 !important;
border:1px solid #333 !important;
border-radius:8px !important;
cursor:pointer !important;
box-sizing:border-box !important;
}

.ac_modal input[type="color"].ac_input::-webkit-color-swatch-wrapper{
padding:0;
}

.ac_modal input[type="color"].ac_input::-webkit-color-swatch{
border:0;
border-radius:4px;
}

.ac_earn_public_box{
    margin:12px 0;
    padding:14px;
    border-radius:10px;
    background:linear-gradient(180deg,#151b22 0%,#0b0f14 100%);
    border:1px solid #2f3a45;
    box-shadow:0 0 12px rgba(0,0,0,.35), inset 0 0 8px rgba(255,255,255,.03);
    color:#d7d7d7;
    font-family:Tahoma,Arial;
}

.ac_earn_public_title{
    color:#7CFC00;
    font-size:20px;
    font-weight:900;
    margin-bottom:6px;
}

.ac_earn_public_desc{
    color:#b8bec6;
    font-size:13px;
    margin-bottom:10px;
}

.ac_earn_public_stats{
    display:flex;
    gap:10px;
    margin-bottom:10px;
}

.ac_earn_public_stats div{
    flex:1;
    background:#10151d;
    border:1px solid #26303b;
    border-radius:8px;
    padding:10px;
}

.ac_earn_public_stats span{
    display:block;
    color:#9ca7b3;
    font-size:12px;
}

.ac_earn_public_stats b{
    display:block;
    color:#7CFC00;
    font-size:20px;
    margin-top:3px;
}

.ac_earn_public_subtitle{
    color:#ffb347;
    font-weight:bold;
    margin-bottom:6px;
}

.ac_earn_last_row{
    display:flex;
    justify-content:space-between;
    padding:4px 0;
    border-bottom:1px solid rgba(255,255,255,.05);
    font-size:12px;
}

.ac_earn_last_row span{
    color:#d7d7d7;
}

.ac_earn_last_row b{
    color:#ffb347;
}

.ac_earn_empty{
    color:#9ca7b3;
    font-size:12px;
}

.ac_earn_public_btn{
    display:inline-block;
    margin-top:10px;
    padding:8px 12px;
    background:#7CFC00;
    color:#000 !important;
    border-radius:6px;
    text-decoration:none !important;
    font-weight:bold;
}

.ac_earn_public_btn:hover{
    opacity:.9;
}

.ac_earn_title{
    color:#d6d6d6;
    font-size:12px;
    font-weight:bold;
    text-transform:uppercase;
    letter-spacing:1px;
    margin:6px 0 2px 0;
    padding-left:8px;
}

.ac_earn_line_sep{
    height:1px;
    background:#3b3f45;
    margin:0 0 4px 0;
}

.ac_earn_side_line{
    font-size:11px;
    line-height:16px;
    color:#d7d7d7;
}

.ac_earn_side_line b{
    color:#7CFC00;
}

.ac_earn_side_last{
    margin-top:2px;
    font-size:11px;
    color:#ffb347;
}

.ac_earn_side_link{
    display:inline-block;
    margin-top:2px;
    color:#e6b85c !important;
    font-size:11px;
    text-decoration:none;
    font-weight:bold;
}

/* =========================
   Блок баланса депозита над меню
========================= */

.ac_left_balance_box{
    margin:6px 0 8px 0;
    padding:7px 8px;
    border:1px solid #646C71;
    background:rgba(10,15,20,0.55);
}

.ac_left_balance_title{
    color:#e6b85c;
    font-size:14px;
    font-weight:bold;
    text-transform:uppercase;
    letter-spacing:1px;
    border-bottom:1px solid #3a3f44;
    padding-bottom:5px;
    margin-bottom:8px;
    text-align:center;
}

.ac_left_balance_line{
    display:flex;
    justify-content:space-between;
    gap:6px;
    font-size:11px;
    font-weight:bold;
    color:#d7d7d7;
    margin:3px 0;
}

.ac_left_balance_line b{
    color:#ffd66b;
    white-space:nowrap;
}