/* Listener screens: explicit component styles, independent of generated utilities. */
.listener-navbar {
    background: rgba(8, 8, 8, .96);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    backdrop-filter: blur(16px);
}
.light .listener-navbar { background: rgba(255, 255, 255, .97); }
.profile-page {
    color-scheme: dark;
}
.profile-page .profile-layout {
    grid-template-columns: minmax(240px, 3.5fr) minmax(0, 8.5fr);
}
.profile-page .profile-layout > *,
.profile-page .form-group,
.profile-page .stat-content,
.profile-page .promo-info-group,
.profile-page .promo-text {
    min-width: 0;
}
.profile-page .profile-user-name,
.profile-page .promo-text,
.profile-page .stat-value,
.profile-page .message-card-body {
    overflow-wrap: anywhere;
}
.profile-page .sidebar-menu-item {
    min-height: 44px;
    border: 1px solid transparent;
    line-height: 1.5;
}
.profile-page .sidebar-menu-item.active {
    border-color: rgba(255, 102, 0, .3);
}
.profile-page .form-header-desc,
.profile-page .profile-user-email,
.profile-page .switch-desc,
.profile-page .stat-title,
.profile-page .promo-text p,
.profile-page .available-body p {
    color: #a3a3a3;
    line-height: 1.65;
}
.profile-page .form-grid {
    gap: 20px 16px;
}
.profile-page .form-group {
    margin: 0;
}
.profile-page .form-group .field-label {
    color: #c3c3c3;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 8px;
}
.profile-page .form-group .input-field {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid #353535;
    background-color: #151515;
    color: #f5f5f5;
}
.profile-page .form-group .select-field {
    padding-right: 40px;
}
.profile-page .input-field::placeholder {
    color: #929292;
    opacity: 1;
}
.profile-page .form-group .input-field:disabled {
    color: #aaa;
    background-color: #111;
    border-color: #292929;
    opacity: 1;
    -webkit-text-fill-color: #aaa;
}
.profile-page .form-group .input-field:focus {
    border-color: #ff8533;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, .18);
}
.profile-page :is(a, button):focus-visible,
.listener-auth-card :is(a, button, input):focus-visible {
    outline: 2px solid #ff8533;
    outline-offset: 4px;
}
.profile-page .section-title {
    line-height: 1.6;
    letter-spacing: 1px;
}
.profile-page .section-title i,
.profile-page .promo-thumb {
    flex-shrink: 0;
}
.profile-page .save-btn,
.profile-page .view-codes-btn,
.profile-page .join-btn {
    min-height: 44px;
}
.profile-page .switch-container {
    gap: 20px;
    padding: 16px;
}
.profile-page .switch-input-wrapper {
    height: 44px;
    margin: 0;
}
.profile-page .switch-input-wrapper input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}
.profile-page .switch-slider {
    top: 10px;
    bottom: 10px;
    background-color: #4a4a4a;
}
.profile-page input:checked + .switch-slider {
    background-color: #ff6600;
}
.profile-page input:focus-visible + .switch-slider {
    outline: 2px solid #ff8533;
    outline-offset: 4px;
}
.profile-page .empty-state,
.profile-page .listener-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 32px 24px;
    border: 1px dashed #36302b;
    border-radius: 16px;
    background: rgba(255, 102, 0, .025);
    text-align: center;
    color: #e5e5e5;
    font-size: 14px;
    line-height: 1.65;
}
.profile-page .listener-empty-icon,
.profile-page .empty-state > i {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    margin: 0 0 4px;
    border: 1px solid rgba(255, 102, 0, .16);
    border-radius: 50%;
    background: rgba(255, 102, 0, .08);
    color: #ff8533;
    font-size: 26px;
}
.profile-page .listener-empty-title {
    margin: 0;
    font-weight: 600;
    color: #e5e5e5;
}
.profile-page .listener-empty-description {
    margin: 0;
    max-width: 440px;
    color: #a3a3a3;
    font-size: 13px;
}
.profile-page .mural-compose {
    margin-bottom: 32px;
}
.profile-page #mensagem {
    min-height: 128px;
    resize: vertical;
}
.profile-page .message-field-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    color: #a3a3a3;
    font-size: 12px;
    line-height: 1.6;
}
.profile-page .message-counter {
    flex-shrink: 0;
    padding: 3px 9px;
    border: 1px solid #363636;
    border-radius: 30px;
    background: #191919;
    color: #bcbcbc;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.profile-page .message-counter.is-warning {
    color: #ffd166;
    border-color: #756026;
}
.profile-page .message-counter.is-limit {
    color: #ff9b8e;
    border-color: #80463e;
}
.profile-page .message-card {
    padding: 20px;
}
.profile-page .message-card-header {
    justify-content: space-between;
    border-bottom: 1px solid #292929;
    padding-bottom: 12px;
    margin-bottom: 4px;
}
.profile-page .message-date,
.profile-page .message-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1.6;
}
.profile-page .message-date {
    color: #a3a3a3;
    font-size: 12px;
}
.profile-page .promo-badge-group {
    flex-wrap: wrap;
}
.profile-page .footer-links {
    flex-wrap: wrap;
}
.listener-auth-section {
    padding: 48px 0 64px;
}
.listener-auth-card {
    width: 100%;
    max-width: 648px;
    margin: 0 auto;
    border: 1px solid #292929;
    border-radius: 20px;
    padding: 32px;
}
.listener-auth-card .form-input {
    border-radius: 10px;
    min-height: 48px;
}
.listener-auth-card .iti {
    width: 100%;
}
.listener-auth-card .listener-login-options {
    flex-wrap: wrap;
    row-gap: 16px;
}
.listener-auth-card #login-remember {
    appearance: auto;
    position: static;
    opacity: 1;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #ff6600;
}
.listener-auth-card .checkbox-container {
    display: flex;
    align-items: center;
    min-height: 44px;
}
.listener-auth-card input:autofill {
    -webkit-text-fill-color: #f5f5f5;
    box-shadow: 0 0 0 1000px #171717 inset;
}
.light .listener-auth-card h3,
.light .listener-auth-card a:not(.primary-btn) {
    color: #202020;
}
.light .listener-auth-card input:autofill {
    -webkit-text-fill-color: #202020;
    box-shadow: 0 0 0 1000px #fff inset;
}
.listener-auth-card .primary-btn {
    border-radius: 10px;
    white-space: normal;
}
@media (max-width: 991px) {
    .profile-page .profile-layout { grid-template-columns: minmax(0, 1fr); }
    .profile-page .profile-sidebar-card { position: static; }
    .profile-page .sidebar-menu-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .profile-page .profile-container { padding: 0 16px; }
    .profile-page .profile-form-card,
    .profile-page .profile-sidebar-card { padding: 24px 16px; }
    .profile-page .sidebar-menu-item { padding: 10px 8px; font-size: 12px; gap: 7px; }
    .profile-page .form-group .input-field,
    .listener-auth-card .form-input { font-size: 16px; }
    .profile-page .save-btn { width: 100%; padding: 12px 16px; }
    .profile-page .form-grid > .form-group { grid-column: span 12; }
    .profile-page .listener-empty-state,
    .profile-page .empty-state { padding: 28px 16px; }
    .listener-auth-section { padding: 32px 0 48px; }
    .listener-auth-card { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .profile-page *, .profile-page *::before { transition: none !important; }
}
