.indicators-container {
    display: flex;
    gap: 8px;
    margin-right: 15px;
    align-items: center;
}

.status-ball {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
    background-color: #ff4444;
    transition: background-color 0.3s ease;
    position: relative;
    min-width: 20px;
    min-height: 20px;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.status-ball[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 5px;
}

#timetosend {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.upgrade-character-btn {
    
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(45deg, #4CAF50, #45a049) !important;
    color: white !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.upgrade-character-btn:hover {
    background: linear-gradient(45deg, #45a049, #4CAF50) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3) !important;
}

.person-button.expired {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.person-button.expired .person-name {
    color: #999 !important;
}

.upgrade-arrow-btn {
    display: inline-flex !important;
    align-items: center !important;
    background: linear-gradient(45deg, #4CAF50, #45a049) !important;
    color: white !important;
    text-decoration: none !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.upgrade-arrow-btn:hover {
    background: linear-gradient(45deg, #45a049, #4CAF50) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3) !important;
    color: white !important;
    text-decoration: none !important;
}

.upgrade-arrow-btn-mini {
    display: inline-flex !important;
    align-items: center !important;
    background: #43e97b !important;
    color: #fff !important;
    text-decoration: none !important;
    padding: 2px 10px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    height: 22px !important;
    line-height: 18px !important;
    border: 1px solid #38b76c !important;
    box-shadow: none !important;
    vertical-align: middle !important;
    transition: background 0.2s;
}

.upgrade-arrow-btn-mini:hover {
    background: #38b76c !important;
    color: #fff !important;
}

.upgrade-arrow {
    font-size: 16px;
    font-weight: bold;
    margin-right: 4px;
    color: #fff;
    text-shadow: 0 1px 2px #38b76c;
    line-height: 1;
}


.upgrade-membership-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: linear-gradient(45deg, #43e97b, #2fbf63) !important;
    color: #fff !important;
    text-decoration: none !important;
    padding: 7px 16px !important;
    border-radius: 20px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(67, 233, 123, 0.35) !important;
    transition: all 0.2s ease !important;
}
.upgrade-membership-btn:hover {
    background: linear-gradient(45deg, #2fbf63, #43e97b) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(67, 233, 123, 0.45) !important;
    color: #fff !important;
    text-decoration: none !important;
}
.upgrade-membership-arrow {
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    color: #fff;
}


.hamburger-hint {
    position: fixed;
    top: 66px;
    left: 16px;
    
    z-index: 500;
    max-width: 230px;
    background: #37474F;
    color: #fff;
    font-size: 14px;
    line-height: 1.35;
    padding: 10px 30px 10px 12px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    animation: hamburgerHintIn 0.25s ease;
}
.hamburger-hint::before {
    
    content: "";
    position: absolute;
    top: -7px;
    left: 18px;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #37474F;
}
.hamburger-hint-close {
    position: absolute;
    top: 4px;
    right: 6px;
    background: transparent;
    border: none;
    color: #cfd8dc;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.hamburger-hint-close:hover { color: #fff; }
@keyframes hamburgerHintIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}


.person-button.gender-hidden {
    display: none !important;
}


.person-button.deselected {
    opacity: 0.45;
    filter: grayscale(70%);
    transition: opacity 0.2s ease, filter 0.2s ease;
}
.person-button.deselected:hover {
    opacity: 0.8;
    filter: grayscale(20%);
}

.person-button.active.deselected {
    opacity: 0.45 !important;
    filter: grayscale(100%) !important;
}
.person-button.active.deselected:hover {
    opacity: 0.8 !important;
    filter: grayscale(20%) !important;
}


.button-menu img {
    width: 22px;
    height: 22px;
    vertical-align: middle;
    object-fit: contain;
}
.chat-menu button img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.menu-icon span {
    background-color: #ffffff;
}


#pauseValue {
    min-width: 38px;
    text-align: right;
    display: inline-block;
}




.modal-overlay.active {
    background: rgba(8, 12, 14, 0.78);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    animation: aist-modal-fade 0.18s ease-out;
}


#customConfirm .modal-box,
#customAlert   .modal-box,
#customPrompt  .modal-box {
    background: #263238;
    border: 2px solid #333;
    border-radius: 1.25rem;
    padding: 26px 24px 22px;
    max-width: 340px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.04);
    animation: aist-modal-pop 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}


#customConfirmMessage,
#customAlertMessage,
#customPromptMessage {
    margin: 4px 0 2px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.1px;
    color: #fff;
}


#customConfirm .modal-buttons,
#customPrompt  .modal-buttons {
    margin-top: 24px;
    width: 100%;
    gap: 12px;
}
#customConfirm .modal-button,
#customPrompt  .modal-button {
    flex: 1 1 0;
    min-width: 0;
}


#customConfirm .modal-button,
#customAlert  .modal-button,
#customPrompt .modal-button {
    font-size: 15px;
    font-weight: 600;
    padding: 12px 22px;
    letter-spacing: 0.2px;
    border-radius: 0.5rem;
}
#customConfirm .modal-button:hover,
#customAlert  .modal-button:hover,
#customPrompt .modal-button:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
    transform: translateY(-1px);
}
#customConfirm .modal-button:active,
#customAlert  .modal-button:active,
#customPrompt .modal-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}


#customConfirmYes,
#customPromptOk,
#customAlertOk {
    background: #4caf50;
    color: #fff;
    box-shadow: 0 4px 14px rgba(76, 175, 80, 0.32);
}
#customConfirmYes:hover,
#customPromptOk:hover,
#customAlertOk:hover {
    background: #43a047;
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}
#customConfirmNo,
#customPromptCancel {
    background: transparent;
    border: 2px solid #555;
    color: #ccc;
    box-shadow: none;
}
#customConfirmNo:hover,
#customPromptCancel:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: #777;
    color: #fff;
    box-shadow: none;
    transform: translateY(-1px);
}

@keyframes aist-modal-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes aist-modal-pop {
    from { opacity: 0; transform: translateY(8px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0)   scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .modal-overlay.active,
    #customConfirm .modal-box,
    #customAlert   .modal-box,
    #customPrompt  .modal-box { animation: none; }
}
