#customprofilediv:empty {
    display: none;
}

#customprofilediv {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ja-profile-dropdown {
    position: relative;
    display: inline-block;
}

.ja-profile-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2a2a2a;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    padding: 0;
    overflow: hidden;
}

.ja-profile-circle:hover {
    background: #3a3a3a;
}

.ja-profile-circle .ja-kids-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ja-profile-circle svg {
    width: 20px;
    height: 20px;
    fill: #fbbf24;
}

.ja-kids-info-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 100000;
    align-items: center;
    justify-content: center;
}

.ja-kids-info-modal.active {
    display: flex;
}

.ja-kids-info-content {
    background: #000;
    border: 2px solid #fbbf24;
    border-radius: 12px;
    padding: 40px 32px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.ja-kids-info-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: #666;
    font-size: 28px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    padding: 0;
    line-height: 1;
}

.ja-kids-info-close:hover {
    color: #fbbf24;
}

.ja-kids-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 20px 0;
}

.ja-kids-info-content h2 {
    color: #fbbf24;
    font-size: 26px;
    margin: 0 0 20px 0;
    font-weight: 700;
}

.ja-kids-info-text {
    color: #ccc;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 28px 0;
    text-align: left;
}

.ja-kids-info-text p {
    margin: 0 0 12px 0;
}

.ja-kids-info-text strong {
    color: #fbbf24;
}

.ja-kids-info-text ul {
    margin: 12px 0 0 0;
    padding-left: 24px;
    list-style: none;
}

.ja-kids-info-text ul li {
    position: relative;
    margin: 8px 0;
    padding-left: 4px;
}

.ja-kids-info-text ul li::before {
    content: "✓";
    position: absolute;
    left: -20px;
    color: #fbbf24;
    font-weight: bold;
}

.ja-kids-info-activate {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000;
    border: none;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.ja-kids-info-activate:hover {
    transform: translateY(-2px);
}

.ja-kids-mode-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #fbbf24;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.ja-kids-mode-bar.ja-kids-bar-visible {
    transform: translateY(0);
}

.ja-kids-mode-bar-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ja-kids-mode-bar-icon {
    font-size: 20px;
}

.ja-kids-mode-bar-exit {
    position: absolute;
    right: 16px;
    background: transparent;
    border: none;
    color: #000;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.ja-kids-mode-bar-exit:hover {
    background: rgba(251, 191, 36, 0.1);
    transform: scale(1.1);
}

body.ja-kids-mode-active {
    padding-top: 10px !important;
}

.ja-pin-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 100001;
    align-items: center;
    justify-content: center;
}

.ja-pin-modal.active {
    display: flex;
}

.ja-pin-modal-content {
    background: #000;
    border: 2px solid #fbbf24;
    border-radius: 12px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
}

.ja-pin-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: #666;
    font-size: 24px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    padding: 0;
    line-height: 1;
}

.ja-pin-modal-close:hover {
    color: #fbbf24;
}

.ja-pin-modal h2 {
    color: #fbbf24;
    font-size: 22px;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.ja-pin-modal-hint {
    color: #666;
    font-size: 12px;
    margin: 0 0 20px 0;
    font-style: italic;
    letter-spacing: 0.5px;
}

.ja-pin-display {
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin: 0 0 20px 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.ja-pin-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #666;
    background: #0a0a0a;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: transparent;
}

.ja-pin-dot.show-number {
    color: #000;
    font-size: 16px;
}

.ja-pin-dot.filled {
    background: #fbbf24;
    border-color: #fbbf24;
}

.ja-pin-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.ja-pin-key {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ja-pin-key:hover {
    background: #2a2a2a;
    border-color: #fbbf24;
    color: #fbbf24;
}

.ja-pin-key:active {
    transform: scale(0.95);
    background: #2a2a2a;
}

.ja-pin-key.wide {
    grid-column: span 3;
}

.ja-pin-error {
    color: #ef4444;
    font-size: 13px;
    margin-top: 12px;
    min-height: 20px;
}

.ja-kids-blocked-flash {
    position: fixed;
    inset: 0;
    z-index: 999998;
    background: rgba(239, 68, 68, 0.18);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.12s ease;
}

.ja-kids-blocked-flash.ja-flash-active {
    opacity: 1;
    transition: opacity 0s;
}