/* Global Layout */
#kb-audio-engine {
    text-align: center;
    color: #d6d1a5;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
#kb-audio-engine button {
    padding: 12px 24px;
    font-size: 1.2rem;
    border: 2px solid #d6d1a5;
    background-color: transparent;
    color: #d6d1a5;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.04em;
    font-family: inherit;
}

#kb-audio-engine button:hover {
    background-color: #d6d1a5;
    color: #1d2835;
}

/* Portrait + Name + Segment */
#kb-current-wrapper {
    margin-top: 35px;
}

#kb-portrait-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

#kb-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
    opacity: 0;
}

#kb-name {
    margin-top: 20px;
    font-size: 2rem;
    transition: opacity 0.4s ease;
}

#kb-segment {
    margin-top: 10px;
    font-size: 1.1rem;
    transition: opacity 0.4s ease;
    color: #c9c6a8;
}

/* Options Toggle */
#kb-options-toggle {
    margin-top: 40px;
    cursor: pointer;
    color: #d6d1a5;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

#kb-options-toggle:hover {
    opacity: 1;
}

/* Options Panel */
#kb-options {
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.kb-option-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.kb-option-label {
    margin-right: 20px;
}

/* Minimal Toggle AN/AUS */
.kb-toggle {
    display: inline-flex;
    gap: 12px;
}

.kb-toggle-btn {
    padding: 4px 12px;
    border: 1px solid #d6d1a5;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.85;
    transition: all 0.2s ease;
}

.kb-toggle-btn:hover {
    opacity: 1;
}

.kb-toggle-btn.active {
    background: #d6d1a5;
    color: #1d2835;
    opacity: 1;
}

/* Sections */
.kb-section-label {
    display: block;
    margin-bottom: 4px;
    opacity: 0.8;
}

#opt-languages .lang-btn {
    padding: 4px 10px;
    border: 1px solid #d6d1a5;
    border-radius: 4px;
    margin-right: 6px;
    cursor: pointer;
    opacity: 0.8;
}

#opt-languages .lang-btn:hover {
    opacity: 1;
}

#kb-options select {
    background-color: #d6d1a5;
    color: #1d2835;
    border: 1px solid #c5bf97;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 1.1rem;
    font-family: inherit;
}