@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,600,0,0&family=Roboto:wght@400;500;700;800;900&display=swap');

/* Variables de color */
:root {
    --color-texto: #353535;
    --color-botones: #fe4e4a;
    --color-iconos: #999999;
    --color-fondo: #ffffff;
    --brand-logo-header: url('../images/brand/modelsmind-logo-header.png');
    --brand-logo-auth: url('../images/brand/modelsmind-logo-principal.png');
    --brand-menu-banner-constructor: url('../images/brand/modelsmind-menu-banner-constructor-construcciones-merecen-clientes-promocionate.png');
    --brand-menu-banner-profesor: url('../images/brand/modelsmind-menu-banner-profesor-mas-alumnos-te-encuentren-publicitate.png');
    --brand-default-avatar: url('../images/brand/modelsmind-foto-perfil-defecto.png');
}

/* Estilos base para mobile */
html {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: var(--color-texto);
    background-color: var(--color-fondo);
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 480px; /* Para mobile */
    margin: 0 auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

button,
input,
textarea,
select {
    font-family: 'Roboto', Arial, sans-serif;
}

header, nav, main, footer {
    padding: 10px;
}

.app-shell {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    margin: 0 auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

button {
    background-color: var(--color-botones);
    color: var(--color-fondo);
    border: none;
    padding: 10px;
    cursor: pointer;
}

.material-symbols-rounded {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    direction: ltr;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

input, textarea {
    border: 1px solid var(--color-iconos);
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.error-page-body {
    background: #f5f5f5;
}

.error-page-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    box-sizing: border-box;
}

.error-card {
    width: 100%;
    padding: 28px 22px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
    text-align: center;
    box-sizing: border-box;
}

.error-logo {
    display: block;
    width: 138px;
    height: auto;
    margin: 0 auto 18px;
}

.error-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    background: rgba(254, 78, 74, 0.1);
    color: #fe4e4a;
    font-size: 24px;
    font-weight: 900;
    margin: 0 auto;
}

.error-card h1 {
    margin: 16px 0 0;
    color: #000000;
    font-size: 25px;
    line-height: 1.15;
}

.error-message {
    margin: 12px 0 0;
    color: #353535;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
}

.error-detail {
    margin: 10px 0 0;
    color: #353535;
    font-size: 13px;
    line-height: 1.55;
}

.error-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    margin-top: 22px;
    border-radius: 8px;
    background: #353535;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
}

.error-home-button .material-symbols-rounded {
    font-size: 21px;
}

.password-wrapper {
    position: relative;
    width: 100%;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-iconos);
}

.password-toggle-btn .material-symbols-rounded {
    font-size: 22px;
}

.register-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.register-logo {
    text-align: center;
    margin-bottom: 24px;
}

.register-brand-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-texto);
    text-decoration: none;
}

.auth-home-link {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #f5f5f5;
    border-radius: 6px;
    background: #ffffff;
    color: #fe4e4a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.auth-home-link .material-symbols-rounded {
    font-size: 18px;
}

.auth-intro {
    margin-top: 12px;
    text-align: center;
}

.auth-intro h2 {
    margin: 0;
    color: var(--color-texto);
    font-size: 24px;
    line-height: 1.15;
}

.auth-intro p {
    margin: 8px 0 0;
    color: var(--color-texto);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.auth-intro span {
    display: block;
    margin-top: 5px;
    color: var(--color-iconos);
    font-size: 12px;
    line-height: 1.35;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
    border-radius: 6px;
    background-color: var(--color-botones);
    background-image: var(--brand-logo-auth);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    color: #ffffff;
    font-size: 0;
    font-weight: 700;
}

.register-brand-link .logo-mark {
    width: 168px;
    height: 104px;
    margin-bottom: 0;
    border-radius: 0;
    background-color: transparent;
}

.register-brand-link h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.register-form {
    background-color: #ffffff;
    padding: 22px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.form-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 14px;
}

.register-form form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.register-form .field-input-shell {
    margin-top: 10px;
}

.register-form input[type="text"],
.register-form input[type="email"],
.register-form input[type="password"] {
    min-height: 42px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #ffffff;
    color: var(--color-texto);
    font-size: 14px;
    line-height: 1.45;
}

.register-form input[type="text"]:focus,
.register-form input[type="email"]:focus,
.register-form input[type="password"]:focus {
    outline: none;
    border-color: var(--color-botones);
    box-shadow: 0 0 0 3px rgba(254, 78, 74, 0.12);
}

.register-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.28;
}

.register-checkbox input {
    width: auto;
    margin-top: 10px;
}

.register-actions button {
    width: 100%;
    min-height: 44px;
    border-radius: 8px;
    font-weight: 800;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.register-footer {
    text-align: center;
    margin-top: 18px;
    color: #353535;
}

.register-footer span {
    color: #353535;
    font-weight: 400;
}

.register-footer a {
    color: var(--color-botones);
    font-weight: 800;
    text-decoration: underline;
}

.register-footer a:hover {
    text-decoration: underline;
}

.home-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 10px 18px;
    border-bottom: 1px solid #ececec;
    z-index: 60;
    box-sizing: border-box;
}

.topbar-stack {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 70;
    width: 100%;
    max-width: 480px;
    transform: translateX(-50%);
    background: #ffffff;
    border-bottom: 1px solid #ececec;
    box-sizing: border-box;
}

.topbar-stack .home-header {
    position: static;
    left: auto;
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
}

.topbar-stack-content {
    padding: 0 18px 0;
    background: #ffffff;
    box-sizing: border-box;
}

.topbar-stack .home-header + .topbar-stack-content {
    padding-top: 4px;
}

.topbar-stack-content .home-info-button,
.topbar-stack-content .home-feed-tabs,
.topbar-stack-content .home-post-type-tabs,
.topbar-stack-content .explore-filters,
.topbar-stack-content .explore-post-type-filters,
.topbar-controls .home-info-button,
.topbar-controls .home-feed-tabs,
.topbar-controls .home-post-type-tabs,
.topbar-controls .explore-filters,
.topbar-controls .explore-post-type-filters {
    position: static;
}

.home-header + main,
.home-header + section,
.home-header + div,
.home-header + .home-feed-wrapper {
    padding-top: 102px;
}

.sticky-bar-group {
    position: sticky;
    top: 102px;
    z-index: 65;
    background-color: #ffffff;
    padding-top: 8px;
    padding-bottom: 8px;
}

.sticky-bar-group .home-info-button,
.sticky-bar-group .home-feed-tabs,
.sticky-bar-group .home-post-type-tabs,
.sticky-bar-group .explore-filters,
.sticky-bar-group .explore-post-type-filters {
    position: static;
}

.topbar-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 10px;
    padding-bottom: 0;
    border-bottom: 0;
}

.topbar-info-row .home-info-button {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}

.topbar-auth-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.topbar-auth-actions .action-pill {
    min-width: 68px;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 900;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.home-info-button {
    margin-bottom: 6px;
}

.home-feed-tabs,
.explore-filters {
    margin-bottom: 6px;
}

.home-post-type-tabs,
.explore-post-type-filters {
    border-bottom: 1px solid #ececec;
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.notification-filter-bar {
    position: sticky;
    top: 102px;
    z-index: 65;
    background-color: #ffffff;
}

.home-header-left {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background-color: #f8f8f8;
    border: 1px solid #ececec;
    border-radius: 6px;
    color: var(--color-texto);
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
}

.menu-button .material-symbols-rounded {
    font-size: 23px;
}

.menu-button:hover {
    border-color: #dddddd;
    background-color: #ffffff;
}

.notification-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #ececec;
    border-radius: 999px;
    background: #f8f8f8;
    color: #8f98a1;
    cursor: pointer;
}

.notification-button .material-symbols-rounded {
    font-size: 23px;
}

.notification-button:hover {
    border-color: #dddddd;
    background: #ffffff;
}

.notification-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #fe4e4a;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-size: 10px;
    font-weight: 900;
    line-height: 15px;
    text-align: center;
    box-sizing: border-box;
}

.notification-title-count {
    color: #fe4e4a;
}

.profile-list-title-count {
    color: #fe4e4a;
}

.home-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.home-brand:focus-visible {
    outline: 2px solid var(--color-botones);
    outline-offset: 3px;
    border-radius: 6px;
}

.home-brand > div:last-child {
    min-width: 0;
    max-width: 116px;
}

.home-brand .logo-mark.small {
    width: 34px;
    height: 34px;
    margin: 0;
    background-image: var(--brand-logo-header);
    background-color: transparent;
    background-size: contain;
    font-size: 0;
}

.home-title {
    font-size: 13px;
    font-weight: 700;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-subtitle {
    display: block;
    font-size: 10px;
    color: var(--color-iconos);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-actions {
    display: flex;
    gap: 0;
    align-items: stretch;
    align-self: stretch;
    flex-shrink: 0;
    margin-left: auto;
    margin-top: -10px;
    margin-bottom: -10px;
}

.top-icon-button,
.top-filter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: auto;
    min-height: 100%;
    padding: 0;
    border: 0;
    text-decoration: none;
    box-sizing: border-box;
}

.top-icon-button .material-symbols-rounded,
.top-filter-button .material-symbols-rounded {
    font-size: 25px;
}

.top-search-button {
    position: relative;
    z-index: 2;
    background: #ffffff;
    color: #353535;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
}

.top-home-button {
    position: relative;
    z-index: 2;
    background: #fe4e4a;
    color: #ffffff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
}

.home-actions > .top-search-button:first-child,
.home-actions > .top-home-button:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.top-filter-control {
    display: inline-flex;
    align-items: center;
    height: auto;
    min-height: 100%;
}

.top-filter-label {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    min-width: 0;
    padding: 4px 7px;
    border: 1px solid rgba(53, 53, 53, 0.08);
    border-radius: 4px 0 0 4px;
    background: #ffffff;
    color: #fe4e4a;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.05;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
}

.top-filter-label-secondary {
    margin-top: 2px;
    font-size: 9px;
    font-weight: 400;
    line-height: 1;
}

.top-filter-button {
    position: relative;
    border-left: 1px solid rgba(53, 53, 53, 0.16);
    border-radius: 6px 0 0 6px;
    background: #fe4e4a;
    color: #ffffff;
    cursor: pointer;
}

.top-filter-button.active {
    background: #ffffff;
    color: #fe4e4a;
}

.top-filter-badge {
    position: absolute;
    right: 5px;
    bottom: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 999px;
    background: #ffffff;
    color: #353535;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.action-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background-color: var(--color-botones);
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    min-width: 76px;
    box-sizing: border-box;
}

.action-pill.secondary {
    background-color: #f8f8f8;
    color: var(--color-texto);
    border: 1px solid #ececec;
}

.home-feed-wrapper {
    min-height: calc(100vh - 138px);
    padding: 16px 18px 80px;
    background-color: #f7f7f7;
}

.home-footer {
    position: fixed;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 0;
    width: 100%;
    max-width: 480px;
    height: 62px;
    background-color: #ffffff;
    border-top: 1px solid #ececec;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    z-index: 60;
    box-sizing: border-box;
}

.home-feed-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.home-post-type-tabs {
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    margin-top: -4px;
}

.home-post-type-tabs::-webkit-scrollbar {
    display: none;
}

.home-post-type-tabs .home-feed-tab {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 7px;
    background: #f0f0f0;
    font-size: 12px;
    white-space: nowrap;
}

.home-post-type-tabs .home-feed-tab.active {
    border-color: #353535;
    background: #353535;
    color: #ffffff;
}

.home-feed-tab {
    min-height: 40px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #ffffff;
    color: var(--color-texto);
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.home-feed-tab.active {
    border-color: var(--color-texto);
    background: var(--color-texto);
    color: #ffffff;
}

.home-feed-tab:disabled {
    color: #b8b8b8;
    background: #f3f3f3;
    border-color: #eeeeee;
    opacity: 1;
    cursor: default;
    box-shadow: none;
}

.home-feed-separator {
    height: 1px;
    margin: 0 0 14px;
    background: #e5e5e5;
}

.explore-page .home-feed-wrapper {
    min-height: calc(100vh - 188px);
}

.explore-search {
    margin-bottom: 16px;
}

.search-row {
    display: flex;
    gap: 0;
    align-items: center;
    width: 100%;
}

.search-input-shell {
    flex: 1 1 auto;
    position: relative;
    min-width: 0;
}

.search-row input {
    display: block;
    width: 100%;
    min-width: 0;
    border: 1px solid #ececec;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    padding: 12px 42px 12px 14px;
    font-size: 14px;
    color: var(--color-texto);
    background-color: #ffffff;
    min-height: 46px;
}

.search-row input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.search-row input::-ms-clear,
.search-row input::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}

.search-clear-button {
    position: absolute;
    top: 50%;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-height: 24px;
    padding: 0;
    border: 1px solid #eeeeee;
    border-radius: 6px;
    background: #ffffff;
    color: #353535;
    transform: translateY(-50%);
    cursor: pointer;
}

.search-clear-button[hidden] {
    display: none;
}

.search-clear-button .material-symbols-rounded {
    color: #353535;
    font-size: 18px;
    font-weight: normal;
}

.search-row button {
    flex: 0 0 auto;
}

.search-hint {
    margin-top: 10px;
    font-size: 13px;
    color: var(--color-iconos);
}

.search-row input:focus {
    outline: none;
    border-color: var(--color-botones);
}

.search-filter-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    min-width: 48px;
    height: 46px;
    padding: 0;
    border: 1px solid #fe4e4a;
    border-radius: 6px 0 0 6px;
    background: #fe4e4a;
    color: #ffffff;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.search-filter-button .material-symbols-rounded {
    font-size: 23px;
}

.search-filter-badge {
    position: absolute;
    right: 5px;
    bottom: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 999px;
    background: #ffffff;
    color: #353535;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    min-width: 52px;
    height: 46px;
    border: none;
    border-radius: 0 6px 6px 0;
    background-color: var(--color-texto);
    color: #ffffff;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.search-button .material-symbols-rounded {
    font-size: 24px;
}

.search-separator {
    height: 1px;
    background-color: #ececec;
    margin-top: 16px;
}

.explore-filter-panel[hidden] {
    display: none;
}

.explore-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
    margin: 12px 0 0;
}

.explore-post-type-filters {
    border-bottom: 0;
    padding: 0;
    margin: 10px 0 0;
}

.explore-post-type-filters[hidden] {
    display: none;
}

.filter-btn {
    height: 36px;
    padding: 0;
    border-radius: 6px;
    background-color: #f0f0f0;
    color: var(--color-texto);
    border: 1px solid #ececec;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
}

.filter-btn.active {
    background-color: var(--color-texto);
    color: #ffffff;
    border-color: var(--color-texto);
}

.explore-post-type-filters .filter-btn {
    flex: 0 0 auto;
    height: 30px;
    padding: 0 12px;
    border-radius: 7px;
    background: #f0f0f0;
    font-size: 12px;
    white-space: nowrap;
}

.explore-post-type-filters .filter-btn.active {
    border-color: #353535;
    background: #353535;
    color: #ffffff;
}

.home-feed {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: calc(100vh - 245px);
    overflow-y: auto;
    padding: 8px 8px 18px;
    margin: -8px -8px 0;
    box-sizing: border-box;
}

.explore-page .home-feed {
    max-height: calc(100vh - 178px);
}

.post-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.post-card-clickable {
    cursor: pointer;
}

.post-card-clickable:focus-visible {
    outline: 2px solid var(--color-botones);
    outline-offset: -2px;
}

.post-card-clickable {
    cursor: pointer;
}

.post-card-clickable:focus-visible {
    outline: 2px solid var(--color-botones);
    outline-offset: -2px;
}

.post-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.post-profile-img {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 6px;
    background-color: #e0e0e0;
    background-image: var(--brand-default-avatar);
    background-size: cover;
    background-position: center;
}

.post-header-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.post-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-fullname {
    font-weight: 700;
    font-size: 14px;
    color: var(--color-texto);
}

.user-username {
    font-size: 12px;
    color: var(--color-iconos);
}

.post-date {
    font-size: 11px;
    color: var(--color-iconos);
}

.post-card-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-follow-btn {
    flex-shrink: 0;
    padding: 8px 12px;
    background-color: var(--color-botones);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
}

.post-follow-btn:disabled {
    background-color: #ffffff;
    color: #353535;
    border: 1px solid #ececec;
    opacity: 1; /* Sobrescribimos la opacidad por defecto de disabled */
}

.post-follow-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.post-profile-link {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    padding: 0 11px;
    background: #f5f5f5;
    color: var(--color-texto);
    border: 1px solid #ececec;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.post-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 8px 0 0;
    justify-content: flex-start;
}

.post-tag {
    display: inline-block;
    padding: 6px 10px;
    background-color: #f0f0f0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-texto);
}

.post-tag:first-child {
    background-color: #353535;
    color: #ffffff;
    border-radius: 0 6px 6px 0;
    margin-left: -16px;
    padding: 6px 10px;
}

.post-tag:first-child.post-tag-requirement {
    background-color: #fe4e4a;
    color: #ffffff;
}

.post-hashtags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0 8px;
    margin-top: 8px;
    color: #353535;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
}

.post-hashtag {
    color: #353535;
}


.post-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-texto);
    line-height: 1.4;
}

.post-description {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.post-reference-gallery {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 8px;
    align-items: center;
    width: 100%;
}

.post-reference-strip-viewport {
    min-width: 0;
    overflow: hidden;
    scroll-behavior: smooth;
    padding: 4px 0;
}

.post-reference-strip-track {
    display: flex;
    gap: 8px;
}

.post-reference-thumb {
    flex: 0 0 auto;
    width: auto;
    max-width: 150px;
    height: 92px;
    padding: 0;
    overflow: hidden;
    border: none;
    border-radius: 10px;
    background: #f3f3f3;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 5px rgba(0, 0, 0, 0.16);
    cursor: pointer;
    transition: box-shadow 120ms ease, transform 120ms ease;
}

.post-reference-thumb:hover {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 3px 7px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.post-reference-thumb img {
    display: block;
    width: auto;
    max-width: 150px;
    height: 100%;
    border-radius: 10px;
    object-fit: contain;
    background: #f3f3f3;
}

.post-reference-thumb:focus-visible,
.post-reference-strip-nav:focus-visible,
.post-reference-open-btn:focus-visible,
.post-detail-link:focus-visible,
.post-image-viewer-dots button:focus-visible {
    outline: 2px solid var(--color-botones);
    outline-offset: 2px;
}

.post-reference-strip-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #ececec;
    border-radius: 999px;
    background: #ffffff;
    color: var(--color-texto);
    line-height: 1;
    cursor: pointer;
}

.post-reference-strip-nav .material-symbols-rounded {
    font-size: 23px;
}

.post-reference-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.post-reference-actions .post-reference-open-btn:only-child {
    grid-column: 1 / -1;
}

.post-reference-open-btn,
.post-detail-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border: 1px solid #ececec;
    border-radius: 6px;
    background: #ffffff;
    color: var(--color-texto);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.post-detail-link {
    color: #fe4e4a;
}

.post-detail-link-standalone {
    width: 100%;
}

.post-image-viewer-modal {
    position: fixed;
    inset: 0;
    z-index: 4200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 140ms ease;
}

.post-image-viewer-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.post-image-viewer-modal.closing {
    opacity: 0;
    pointer-events: none;
}

.post-image-viewer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
}

.post-image-viewer-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: min(100%, 460px);
    max-height: calc(100vh - 36px);
    padding: 16px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    transform: translateY(6px) scale(0.99);
    transition: transform 140ms ease;
}

.post-image-viewer-modal.active .post-image-viewer-content {
    transform: translateY(0) scale(1);
}

.post-image-viewer-modal.closing .post-image-viewer-content {
    transform: translateY(4px) scale(0.99);
}

.post-image-viewer-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.post-image-viewer-title-group {
    flex: 1;
    min-width: 0;
}

.post-image-viewer-title {
    color: var(--color-texto);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.post-image-viewer-separator {
    width: 100%;
    height: 1px;
    margin-top: 10px;
    background: #ececec;
}

.post-image-viewer-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    overflow: hidden;
    border-radius: 8px;
    background: #f7f7f7;
}

.post-image-viewer-frame img {
    display: block;
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    opacity: 1;
    transition: opacity 80ms ease;
}

.post-image-viewer-frame img.is-changing {
    opacity: 0.2;
}

.post-image-viewer-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.post-image-viewer-dots button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 1px solid #ececec;
    border-radius: 999px;
    background: #ffffff;
    color: var(--color-texto);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.post-image-viewer-dots button.active {
    border-color: var(--color-texto);
    background: var(--color-texto);
    color: #ffffff;
}

.post-image-viewer-dots[hidden],
.post-image-viewer-nav[hidden] {
    display: none;
}

.post-image-viewer-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    background: var(--color-botones);
    color: #ffffff;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.post-image-viewer-nav .material-symbols-rounded {
    font-size: 27px;
}

.post-image-viewer-nav.prev {
    left: 10px;
}

.post-image-viewer-nav.next {
    right: 10px;
}

.feed-loading {
    margin-top: 0;
    text-align: center;
    color: var(--color-iconos);
    font-size: 13px;
    padding: 10px 0;
}

.explore-page .feed-loading {
    border-top: 1px solid #e5e5e5;
    margin-top: 0;
    padding-top: 28px;
}

.post-page {
    min-height: 100vh;
    background: #f7f7f7;
}

.post-topbar {
    border-bottom-color: #e8e8e8;
}

.post-compose-wrapper {
    min-height: calc(100vh - 126px);
    padding: 18px 16px 118px;
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
}

.post-compose-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    min-width: 0;
}

.post-compose-heading {
    text-align: center;
}

.post-compose-heading h1 {
    margin: 0;
    color: var(--color-texto);
    font-size: 30px;
    line-height: 1.1;
}

.post-heading-separator {
    height: 1px;
    margin: 14px 0 2px;
    background: #e5e5e5;
}

.post-compose-panel {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 16px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.post-step-viewport {
    width: 100%;
    overflow: hidden;
}

.post-step-track {
    display: grid;
    grid-template-columns: 100% 100%;
    width: 100%;
    max-width: 100%;
    transition: transform 320ms ease;
}

.post-compose-form.is-step-2 .post-step-track {
    transform: translateX(-100%);
}

.post-step-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-right: 0;
    box-sizing: border-box;
    transition: opacity 220ms ease;
}

.post-compose-form:not(.is-step-2) [data-post-step="references"],
.post-compose-form.is-step-2 [data-post-step="details"] {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}

.post-type-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
}

.post-type-option {
    position: relative;
    display: block;
    min-width: 0;
    overflow: hidden;
    cursor: pointer;
}

.post-type-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.post-type-option span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    min-width: 0;
    padding: 0 8px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #f7f7f7;
    color: var(--color-texto);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    box-sizing: border-box;
}

.post-type-option input:checked + span {
    border-color: var(--color-texto);
    background: var(--color-texto);
    color: #ffffff;
}

.post-type-option input:disabled + span {
    cursor: default;
    opacity: 0.55;
}

.post-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.post-field span {
    color: var(--color-texto);
    font-size: 15px;
    font-weight: 800;
}

.post-field .required-label::after {
    content: "*";
    margin-left: 4px;
    color: #fe4e4a;
}

.field-input-shell {
    position: relative;
    width: 100%;
}

.field-input-shell input,
.field-input-shell textarea {
    border-top-right-radius: 0;
    padding-right: 42px;
}

.post-field .field-input-shell input,
.post-field .field-input-shell textarea {
    border-top-right-radius: 0;
}

.password-wrapper.field-input-shell input {
    padding-right: 76px;
}

.password-wrapper.field-input-shell .field-clear-button {
    right: 38px;
    border-radius: 6px 6px 0 0;
}

.field-input-shell .field-clear-button {
    position: absolute;
    top: -24px;
    right: 0;
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-height: 24px;
    padding: 0;
    border: 1px solid #eeeeee;
    border-radius: 6px 6px 0 0;
    background: #ffffff;
    color: #353535;
    cursor: pointer;
}

.field-input-shell .field-clear-button.is-visible {
    display: inline-flex;
}

.field-input-shell .field-clear-button .material-symbols-rounded {
    color: #353535;
    font-size: 18px;
    font-weight: normal;
}

.post-field input,
.post-field textarea {
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #ffffff;
    color: var(--color-texto);
    font-size: 14px;
    line-height: 1.45;
    resize: vertical;
}

.post-field textarea[name="content"],
.post-field textarea[name="bio"] {
    min-height: 140px;
    max-height: 140px;
    overflow-y: auto;
    resize: none;
}

.post-field textarea[name="tag"],
.post-field textarea[name="hashtags"],
.post-field textarea[data-settings-profile-tag] {
    min-height: 70px;
    max-height: 70px;
    overflow: hidden;
    resize: none;
}

.post-field input:focus,
.post-field textarea:focus {
    outline: none;
    border-color: var(--color-botones);
    box-shadow: 0 0 0 3px rgba(254, 78, 74, 0.12);
}

.post-form-separator {
    height: 1px;
    border-radius: 0;
    background: #e5e5e5;
    opacity: 1;
}

.post-field .post-character-counter {
    align-self: flex-start;
    margin-top: -3px;
    color: var(--color-iconos);
    font-size: 12px;
    font-weight: 400;
}

.post-field-help {
    margin-top: -4px;
    color: #999999;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
}

.post-segment-counters {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.post-field .post-segment-counter {
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    padding: 1px 6px;
    border: 1px solid #dddddd;
    border-radius: 2px;
    background: #ffffff;
    color: #999999;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.1;
}

.post-field .post-segment-counter.is-over-limit {
    border-color: #fe4e4a;
    color: #fe4e4a;
}

.post-compose-actions {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 10px;
    align-items: center;
    width: min(100%, 480px);
    margin: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid #ececec;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    transform: translateX(-50%);
}

.post-compose-actions-step-2,
.post-compose-form.is-step-2 .post-compose-actions-step-1 {
    display: none;
}

.post-compose-form.is-step-2 .post-compose-actions-step-2 {
    display: grid;
}

.post-compose-actions button,
.post-cancel-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-sizing: border-box;
}

.post-compose-actions button {
    width: 100%;
}

#post-next-button {
    background: var(--color-texto);
    color: #ffffff;
}

.post-compose-actions button[type="submit"] {
    background: var(--color-botones);
    color: #ffffff;
}

.post-cancel-link {
    border: 1px solid #ececec;
    background: #f7f7f7;
    color: var(--color-texto);
}

.post-reference-heading {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.post-reference-heading h2 {
    margin: 0;
    color: var(--color-texto);
    font-size: 18px;
    line-height: 1.2;
}

.post-reference-heading p {
    margin: 0;
    color: var(--color-iconos);
    font-size: 13px;
    line-height: 1.45;
}

.post-reference-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.post-reference-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    padding: 8px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #fafafa;
    color: var(--color-texto);
    font-size: 12px;
    font-weight: 800;
    min-width: 0;
}

.post-reference-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.settings-profile-photo-heading > span:first-child {
    color: var(--color-texto);
    font-size: 15px;
    font-weight: 800;
}

.post-reference-title small {
    color: var(--color-iconos);
    font-size: 12px;
    font-weight: 400;
}

.post-reference-picker {
    position: relative;
    display: block;
    width: 100%;
}

.post-reference-picker input {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0;
}

.post-reference-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 54px;
    overflow: hidden;
    border: 1px dashed #bdbdbd;
    border-radius: 8px;
    background: #ffffff;
    color: var(--color-iconos);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    box-sizing: border-box;
}

.post-reference-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-reference-view-btn {
    width: 100%;
    min-height: 30px;
    border: 1px solid #ececec;
    border-radius: 999px;
    background: #ffffff;
    color: var(--color-texto);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.post-reference-view-btn:disabled {
    cursor: default;
    opacity: 0.45;
}

.settings-profile-photo-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.settings-profile-photo-change-btn {
    width: 100%;
    min-height: 30px;
    border: 1px solid #ececec;
    border-radius: 999px;
    background: #353535;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.reference-image-modal {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 140ms ease;
}

.reference-image-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.reference-image-modal.closing {
    opacity: 0;
    pointer-events: none;
}

.reference-image-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
}

.reference-image-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    width: min(100%, 430px);
    min-height: 260px;
    padding: 16px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
    box-sizing: border-box;
    transform: translateY(6px) scale(0.99);
    transition: transform 140ms ease;
}

.reference-image-modal.active .reference-image-content {
    transform: translateY(0) scale(1);
}

.reference-image-modal.closing .reference-image-content {
    transform: translateY(4px) scale(0.99);
}

.reference-image-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.reference-image-title-group {
    flex: 1;
    min-width: 0;
}

.reference-image-title {
    color: var(--color-texto);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.reference-image-separator {
    width: 100%;
    height: 1px;
    margin-top: 10px;
    background: #ececec;
}

.reference-image-content img {
    display: block;
    max-width: 100%;
    max-height: 70vh;
    border-radius: 8px;
    object-fit: contain;
}

.settings-page {
    min-height: 100vh;
    background: #f7f7f7;
}

.settings-topbar {
    border-bottom-color: #e8e8e8;
}

.settings-wrapper {
    min-height: calc(100vh - 126px);
    padding: 22px 16px 128px;
    box-sizing: border-box;
}

.settings-heading {
    text-align: center;
}

.settings-heading h1 {
    margin: 0;
    color: var(--color-texto);
    font-size: 30px;
    line-height: 1.1;
}

.settings-heading-separator {
    height: 1px;
    margin: 14px 0 18px;
    background: #e5e5e5;
}

.settings-heading p {
    margin: 0;
    color: var(--color-texto);
    font-size: 18px;
    font-weight: 800;
    text-align: left;
}

.settings-section-title {
    margin: 0;
    color: var(--color-texto);
    font-size: 18px;
    font-weight: 800;
    text-align: left;
}

.settings-profile-section {
    margin-top: 16px;
}

.settings-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.settings-alert {
    margin-top: 14px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.45;
}

.settings-alert.error {
    border: 1px solid #fca5a5;
    background: #fee2e2;
    color: #991b1b;
}

.settings-alert.success {
    border: 1px solid #86efac;
    background: #dcfce7;
    color: #166534;
}

.settings-options button {
    width: 100%;
    min-height: 50px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #ffffff;
    color: var(--color-texto);
    font-size: 15px;
    font-weight: 800;
    text-align: left;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.settings-options button::before {
    content: "edit";
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 22px;
    line-height: 1;
    color: #fe4e4a;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
}

.settings-options button[onclick*="names"]::before {
    content: "badge";
}

.settings-options button[onclick*="email"]::before {
    content: "mail";
}

.settings-options button[onclick*="credentials"]::before {
    content: "lock";
}

.settings-options button[onclick*="profile-photo"]::before {
    content: "photo_camera";
}

.settings-options button[onclick*="profile-tags"]::before {
    content: "sell";
}

.settings-options button[onclick*="bio"]::before {
    content: "notes";
}

.settings-options button:hover {
    border-color: var(--color-botones);
}

.settings-modal-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    padding: 0 4px 4px 0;
}

.settings-modal-body button {
    min-height: 44px;
    border-radius: 8px;
    font-weight: 800;
}

.settings-modal-body > button[type="submit"] {
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.settings-form-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.settings-form-actions button {
    width: 100%;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.settings-form-actions .settings-cancel-button {
    background: #353535;
    color: #ffffff;
}

.settings-inline-error {
    margin: 0;
    color: #fe4e4a;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.35;
    animation: settingsErrorAttention 0.42s ease both;
}

.post-field .settings-inline-error,
.post-reference-title .settings-inline-error {
    color: #fe4e4a;
}

.settings-inline-error-preview {
    display: none;
}

.settings-success-panel {
    display: none;
}

.settings-modal-success .bottom-modal-content {
    min-height: 330px;
    overflow: hidden;
}

.settings-modal-success .settings-modal-body {
    pointer-events: none;
    animation: settingsFormSavedOut 0.36s ease forwards;
}

.settings-modal-success .close-menu {
    display: none;
}

.settings-modal-success .settings-success-panel {
    position: absolute;
    inset: 76px 18px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: settingsSuccessIn 0.38s ease 0.08s both;
}

.settings-success-icon {
    width: 74px;
    height: 74px;
    border: 4px solid #fe4e4a;
    border-radius: 999px;
    background: #ffffff;
    color: #fe4e4a;
    font-size: 38px;
}

.settings-success-title {
    margin: 16px 0 0;
    color: #353535;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.35;
}

.settings-success-copy {
    margin: 8px 0 0;
    color: #999999;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
}

.settings-success-accept {
    width: 100%;
    min-height: 42px;
    margin-top: 18px;
    border: 0;
    border-radius: 8px;
    background: #fe4e4a;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

#settings-profile-photo-modal .bottom-modal-content,
#settings-names-modal .bottom-modal-content,
#settings-profile-tags-modal .bottom-modal-content,
#settings-email-modal .bottom-modal-content,
#settings-bio-modal .bottom-modal-content,
#settings-credentials-modal .bottom-modal-content {
    height: auto;
    max-height: calc(100dvh - 16px);
}

#settings-profile-tags-modal .bottom-modal-content {
    padding: 14px;
}

#settings-profile-tags-modal .settings-modal-body {
    gap: 8px;
    overflow: visible;
    padding: 0 0 4px;
}

#settings-profile-tags-modal .post-field {
    gap: 4px;
}

#settings-profile-tags-modal .post-field textarea[data-settings-profile-tag] {
    min-height: 48px;
    max-height: 48px;
}

#settings-profile-tags-modal .post-field .post-character-counter {
    margin-top: -2px;
    font-size: 11px;
}

#settings-profile-tags-modal .settings-modal-body button {
    margin-top: 0;
    margin-bottom: 0;
    min-height: 40px;
}

#settings-profile-tags-modal .post-field .field-clear-button {
    margin-top: 0;
    margin-bottom: 0;
    min-height: 24px;
}

.settings-profile-photo-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #fafafa;
}

.settings-profile-photo-picker {
    max-width: none;
}

.settings-profile-photo-preview {
    aspect-ratio: 1 / 1;
    min-height: 0;
    border-style: solid;
}

.settings-profile-photo-actions .settings-profile-photo-change-btn,
.settings-profile-photo-actions .post-reference-view-btn {
    min-height: 36px;
    font-size: 12px;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.legal-page {
    min-height: 100vh;
    background: #f7f7f7;
    overflow-x: visible;
}

.legal-topbar {
    z-index: 30;
    border-bottom-color: #e8e8e8;
}

.legal-back-button {
    text-decoration: none;
}

.legal-wrapper {
    min-height: calc(100vh - 64px);
    padding: 22px 16px 112px;
    box-sizing: border-box;
}

.legal-heading {
    text-align: center;
}

.legal-section-bar {
    display: flex;
    justify-content: flex-start;
}

.legal-document h2.version-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #fe4e4a;
    font-size: 26px;
    line-height: 1.15;
}

.legal-document h2.version-title small {
    color: #999999;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.action-pill.secondary.legal-section-button {
    background-color: #ffffff;
    font-weight: 700;
}

.legal-heading h1 {
    margin: 0;
    color: var(--color-texto);
    font-size: 30px;
    line-height: 1.1;
}

.legal-heading-separator {
    height: 1px;
    margin: 14px 0 18px;
    background: #e5e5e5;
}

.legal-heading p {
    margin: 0;
    color: #555555;
    font-size: 14px;
    line-height: 1.55;
    text-align: left;
}

.legal-page .legal-heading p,
.legal-page .legal-summary p,
.legal-page .legal-document p,
.legal-page .legal-link-list span {
    text-align: justify;
}

.legal-summary,
.legal-document {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.legal-summary p,
.legal-document p {
    margin: 0;
    color: #555555;
    font-size: 14px;
    line-height: 1.6;
}

.legal-summary p + p,
.legal-document p + h2 {
    margin-top: 14px;
}

.legal-document h2 {
    margin: 0 0 8px;
    color: var(--color-texto);
    font-size: 17px;
    line-height: 1.25;
}

.legal-link-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding: 0;
}

.legal-link-list a {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #ffffff;
    color: var(--color-texto);
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.legal-link-list strong {
    font-size: 15px;
}

.legal-link-list span {
    color: var(--color-iconos);
    font-size: 13px;
    line-height: 1.4;
}

.home-footer {
    position: fixed;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 0;
    width: 100%;
    max-width: 480px;
    height: 62px;
    background-color: #ffffff;
    border-top: 1px solid #ececec;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    z-index: 60;
    box-sizing: border-box;
}

.footer-link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1 1 0;
    align-self: stretch;
    min-width: 0;
    color: var(--color-iconos);
    font-size: 13px;
    text-decoration: none;
    text-align: center;
}

.footer-button-link {
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
}

.footer-link-disabled {
    color: #b8b8b8;
    cursor: default;
    pointer-events: none;
}

.footer-notification-badge {
    position: absolute;
    top: 8px;
    left: 50%;
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    border-radius: 999px;
    background: #fe4e4a;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-size: 10px;
    font-weight: 900;
    line-height: 13px;
    text-align: center;
    box-sizing: border-box;
}

.footer-icon {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 23px;
    line-height: 1;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
}

.footer-label {
    font-size: 11px;
    font-weight: 500;
}

.footer-link.active {
    color: var(--color-botones);
    font-weight: 600;
}

.footer-link.active .footer-icon {
    color: var(--color-botones);
}

.home-footer .footer-link:first-child {
    flex: 0 0 126px;
    border-radius: 0 8px 0 0;
    background: var(--color-botones);
    color: #ffffff;
}

.home-footer .footer-link:first-child .footer-icon,
.home-footer .footer-link:first-child .footer-label {
    color: #ffffff;
}

.profile-page {
    min-height: 100vh;
    background: #f7f7f7;
}

.profile-screen {
    padding: 0 0 84px;
}

.profile-summary {
    margin: 0 14px;
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.profile-avatar-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.profile-avatar {
    width: 94px;
    height: 94px;
    min-width: 94px;
    border-radius: 12px;
    border: 4px solid #ffffff;
    background-color: var(--color-botones);
    background-image: var(--brand-default-avatar);
    background-size: cover;
    background-position: center;
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.profile-side-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.profile-stat {
    min-height: 48px;
    border: 1px solid #ececec;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: #fafafa;
}

.profile-stat strong {
    font-size: 15px;
    color: var(--color-texto);
}

.profile-stat span {
    font-size: 10px;
    color: var(--color-iconos);
}

.profile-stat-button {
    padding: 0;
    cursor: pointer;
}

.profile-stat-button:hover {
    background: #f3f3f3;
}

.profile-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.profile-name-row h1 {
    margin: 0;
    font-size: 19px;
    line-height: 1.15;
    word-break: break-word;
}

.profile-name-row p {
    margin: 5px 0 0;
    color: var(--color-iconos);
    font-size: 13px;
}

.profile-follow-button {
    width: 100%;
    height: 40px;
    border-radius: 8px;
    font-weight: 700;
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-decoration: none;
}

.profile-follow-button[data-following="1"] {
    background-color: #ffffff;
    color: #353535;
    border: 1px solid #ececec;
}

.profile-follow-button:disabled {
    cursor: default;
    opacity: 0.55;
}

.profile-settings-button {
    background-color: #f5f5f5;
    color: #111111;
    border-radius: 10px;
    border: none;
    gap: 8px;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.profile-settings-button::before {
    content: "settings";
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.profile-tag {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 6px;
    background-color: #f0f0f0;
    color: var(--color-texto);
    font-size: 12px;
    font-weight: 600;
}

.profile-bio {
    margin: 14px 0 0;
    color: #555555;
    font-size: 14px;
    line-height: 1.5;
    text-align: justify;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.profile-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 14px;
    padding: 4px;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.profile-tabs.is-profile-tabs-fixed {
    position: fixed;
    top: var(--topbar-stack-bottom, var(--topbar-stack-height, 76px));
    left: 50%;
    z-index: 69;
    width: calc(100% - 28px);
    max-width: 452px;
    margin: 0;
    transform: translateX(-50%);
}

.profile-tab {
    min-height: 42px;
    border-radius: 6px;
    color: #353535;
    text-decoration: none;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    min-width: 0;
}

.profile-tab.active {
    background: var(--color-texto);
    color: #ffffff;
}

.profile-tab.disabled {
    color: var(--color-iconos);
    cursor: default;
    pointer-events: none;
    opacity: 0.7;
}

.profile-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 14px;
    min-height: 260px;
    padding-right: 4px;
    padding-bottom: 96px;
    box-sizing: border-box;
}

.profile-post-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-service-card,
.profile-post-preview {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #ececec;
    overflow: hidden;
}

.profile-service-body,
.profile-post-preview {
    padding: 14px;
}

.profile-service-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.profile-service-meta span {
    padding: 6px 9px;
    border-radius: 6px;
    background: #f0f0f0;
    color: var(--color-texto);
    font-size: 12px;
    font-weight: 700;
}

.profile-service-meta span:first-child {
    background: var(--color-botones);
    color: #ffffff;
}

.profile-service-body h2,
.profile-post-preview h2 {
    margin: 0;
    font-size: 17px;
    line-height: 1.3;
}

.profile-service-body p,
.profile-post-preview p {
    margin: 8px 0 0;
    color: #555555;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.profile-service-card .post-reference-gallery,
.profile-post-preview .post-reference-gallery {
    margin-top: 14px;
}

.profile-post-loading {
    text-align: center;
    color: var(--color-iconos);
    font-size: 13px;
    padding: 10px 0 4px;
}

.profile-post-loading.ended {
    position: relative;
    margin-top: 4px;
    margin-bottom: 96px;
    padding: 18px 0 18px;
}

.profile-post-loading.ended::before {
    content: "";
    display: block;
    height: 1px;
    background: #e0e0e0;
    margin: 0 0 14px;
}

.bottom-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    overflow: hidden;
}

.bottom-modal.active {
    display: block;
}

.modelsmind-info-modal {
    z-index: 180;
}

.bottom-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.bottom-modal-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: min(76vh, 620px);
    background: #ffffff;
    border-radius: 18px 18px 0 0;
    padding: 18px;
    box-sizing: border-box;
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.18);
    transform: translateY(100%);
    display: flex;
    flex-direction: column;
}

.bottom-modal.active .bottom-modal-content {
    animation: bottomModalIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.bottom-modal.closing .bottom-modal-content {
    animation: bottomModalOut 0.28s cubic-bezier(0.64, 0, 0.78, 0) forwards;
}

.top-modal {
    position: fixed;
    top: var(--topbar-header-height, 60px);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 125;
    display: none;
    overflow: hidden;
}

.top-modal.active {
    display: block;
}

.top-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.top-modal-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    max-height: min(76vh, 620px);
    background: #ffffff;
    border-radius: 0 0 18px 18px;
    padding: 18px;
    box-sizing: border-box;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    transform: translateY(-100%);
    display: flex;
    flex-direction: column;
}

.top-modal.active .top-modal-content {
    animation: topModalIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.top-modal.closing .top-modal-content {
    animation: topModalOut 0.28s cubic-bezier(0.64, 0, 0.78, 0) forwards;
}

.content-filter-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.content-filter-title-group {
    flex: 1 1 auto;
    min-width: 0;
}

.content-filter-body h2 {
    margin: 0;
    color: #353535;
    font-size: 22px;
    font-weight: 900;
}

.content-filter-close {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: #353535;
    color: #ffffff;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.content-filter-close .material-symbols-rounded {
    font-size: 24px;
}

.content-filter-title-separator {
    height: 1px;
    margin: 14px 0 0;
    background: #e5e5e5;
}

.content-filter-tabs {
    margin-bottom: 12px;
    padding-bottom: 3px;
}

.content-filter-tabs.home-post-type-tabs {
    border-bottom: 0;
    padding-bottom: 3px;
    margin-bottom: 0;
}

.content-filter-actions {
    display: flex;
    justify-content: stretch;
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid #ececec;
}

.content-filter-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    min-width: 148px;
    padding: 0 16px;
    border: 0;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.content-filter-apply {
    background: #fe4e4a;
}

.welcome-modal-content {
    height: auto;
    max-height: min(92vh, 780px);
    padding: 0;
    border-radius: 22px 22px 0 0;
}

.welcome-modal-body {
    overflow-y: auto;
    padding: 26px 22px 24px;
    box-sizing: border-box;
}

.welcome-logo {
    display: block;
    width: 104px;
    height: auto;
    margin: 0 auto 14px;
}

.welcome-hello,
.welcome-modal-body h3 {
    margin: 0;
    color: #000000;
    text-align: center;
    line-height: 1.22;
}

.welcome-hello {
    font-size: 24px;
    font-weight: 900;
}

.welcome-hello strong {
    color: #fe4e4a;
}

.welcome-modal-body h3 {
    margin-top: 14px;
    font-size: 18px;
    font-weight: 900;
}

.welcome-copy {
    margin: 12px 0 0;
    color: #353535;
    font-size: 13px;
    line-height: 1.48;
    text-align: center;
}

.welcome-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 13px;
}

.welcome-feature-icon {
    flex: 0 0 auto;
    color: #fe4e4a;
    font-size: 24px;
    margin-top: 1px;
}

.welcome-feature p {
    margin: 0;
    color: #353535;
    font-size: 13px;
    line-height: 1.45;
}

.welcome-feature strong {
    color: #fe4e4a;
    font-weight: 900;
}

.welcome-emphasis {
    margin: 16px 0 0;
    color: #353535;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.45;
    text-align: center;
}

.welcome-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.welcome-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.welcome-button-dark {
    background: #353535;
}

.welcome-button-primary {
    background: #fe4e4a;
}

.modelsmind-info-title {
    color: #000000;
}

@keyframes bottomModalIn {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes bottomModalOut {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(100%);
    }
}

@keyframes topModalIn {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes topModalOut {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-100%);
    }
}

@keyframes settingsFormSavedOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(-28px);
    }
}

@keyframes settingsErrorAttention {
    0% {
        opacity: 0;
        transform: translateX(-8px);
    }

    45% {
        opacity: 1;
        transform: translateX(4px);
    }

    70% {
        transform: translateX(-2px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes settingsSuccessIn {
    from {
        opacity: 0;
        transform: translateX(34px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.bottom-modal-top-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.bottom-modal-title-group {
    flex: 1;
    min-width: 0;
}

.bottom-modal-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-texto);
    margin-bottom: 12px;
}

.bottom-modal-separator {
    height: 1px;
    background: #ececec;
}

.notification-filter-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 0 0 12px;
    padding: 4px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #f7f7f7;
}

.notification-filter-button {
    min-width: 0;
    min-height: 34px;
    padding: 0 8px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--color-texto);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.notification-filter-button.active {
    background: #333333;
    color: #ffffff;
}

.notifications-list {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 4px;
}

.notification-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 26px;
    padding: 12px;
    border: 1px solid #ececec;
    border-radius: 0 8px 8px 8px;
    background: #ffffff;
    color: var(--color-texto);
    cursor: pointer;
}

.notification-type-label {
    position: absolute;
    top: 0;
    left: -1px;
    transform: translateY(-100%);
    padding: 7px 10px;
    border-radius: 6px 6px 0 0;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.notification-type-label.is-requirement {
    background: #fe4e4a;
    color: #ffffff;
}

.notification-type-label.is-service {
    background: #353535;
    color: #ffffff;
}

.notification-type-label.is-follow {
    background: #f5f5f5;
    color: #fe4e4a;
}

.notification-item.is-unread .notification-type-label.is-follow {
    border: 2px solid #fe4e4a;
    border-bottom: 0;
}

.notification-item.is-unread {
    border-color: rgba(254, 78, 74, 0.35);
    background: rgba(254, 78, 74, 0.05);
}

.notifications-list[data-notification-filter="all"] .notification-item.is-unread,
.notifications-list[data-notification-filter="unread"] .notification-item.is-unread {
    border: 2px solid #fe4e4a;
    background: #ffffff;
}

.notification-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background-color: var(--color-botones);
    background-image: var(--brand-default-avatar);
    background-size: cover;
    background-position: center;
}

.notification-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.notification-heading,
.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-heading p {
    margin: 0;
    color: var(--color-texto);
    font-size: 14px;
    line-height: 1.35;
}

.notification-heading strong {
    display: block;
    font-weight: 800;
}

.notification-username {
    display: block;
    color: var(--color-iconos);
    font-size: 12px;
    line-height: 1.35;
}

.notification-content {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding-left: 56px;
}

.notification-detail {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    padding: 5px 8px;
    border-radius: 6px;
    background: #f0f0f0;
    color: var(--color-texto);
    font-size: 12px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notification-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.notification-tags span {
    display: inline-flex;
    max-width: 100%;
    padding: 5px 8px;
    border-radius: 6px;
    background: #f0f0f0;
    color: var(--color-texto);
    font-size: 12px;
    font-weight: 700;
}

.notification-action {
    flex: 0 0 auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    padding: 0 11px;
    border-radius: 6px;
    background: #f5f5f5;
    border: 1px solid #ececec;
    color: var(--color-texto);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.notification-date,
.notifications-empty {
    color: var(--color-iconos);
    font-size: 12px;
}

.notifications-empty {
    margin: 8px 0 0;
    padding: 18px;
    border-radius: 8px;
    background: transparent;
    text-align: center;
    font-size: 14px;
}

.profile-list {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 4px;
}

.profile-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #ffffff;
}

.profile-list-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background-color: var(--color-botones);
    background-image: var(--brand-default-avatar);
    background-size: cover;
    background-position: center;
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
}

.profile-list-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.profile-list-info strong {
    color: var(--color-texto);
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-list-info span {
    color: var(--color-iconos);
    font-size: 12px;
}

.profile-list-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 5px;
}

.profile-list-tags small {
    display: inline-flex;
    max-width: 100%;
    padding: 5px 8px;
    border-radius: 6px;
    background: #f0f0f0;
    color: var(--color-texto);
    font-size: 12px;
    font-weight: 700;
}

.profile-list-link {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    padding: 0 11px;
    border-radius: 6px;
    background: #f5f5f5;
    border: 1px solid #ececec;
    color: var(--color-texto);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.profile-list-empty {
    margin: 8px 0 0;
    padding: 18px;
    border-radius: 8px;
    background: transparent;
    color: var(--color-iconos);
    text-align: center;
    font-size: 14px;
}

.profile-list-end {
    margin: 2px 0 0;
    padding: 10px 0 2px;
    color: var(--color-iconos);
    text-align: center;
    font-size: 13px;
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .home-header,
    .topbar-stack-content,
    .home-feed-wrapper {
        padding-left: 14px;
        padding-right: 14px;
    }

    .post-header {
        flex-wrap: wrap;
    }

    .post-header-content {
        min-width: 0;
    }

    .post-card-actions {
        margin-left: 64px;
    }
}

.home-header:has(.top-search-button),
.home-header:has(.top-home-button) {
    padding-right: 0;
}

hr {
    border: 1px solid var(--color-iconos);
}

.topbar-stack + main {
    padding-top: calc(var(--topbar-stack-height, 76px) + 16px);
}

.feed-topbar + main,
.explore-topbar + main {
    padding-top: calc(var(--topbar-stack-height, 240px) + 12px);
}

.explore-topbar + main {
    padding-top: calc(var(--topbar-stack-height, 330px) + 12px);
}

/* Estilos para modals */
.modal {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: var(--color-fondo);
    margin: 15% auto;
    padding: 20px;
    border: 1px solid var(--color-botones);
    width: 80%;
}

.side-modal {
    position: fixed;
    inset: 0;
    z-index: 140;
    display: none;
    overflow: hidden;
}

.side-modal.active {
    display: block;
}

.side-modal-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
}

.side-modal-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    background: #ffffff;
    box-sizing: border-box;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    display: flex;
    flex-direction: column;
    padding: 18px;
    box-shadow: 4px 0 28px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

.side-modal.active .side-modal-content {
    transform: translateX(0);
    animation: menuSlideIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.side-modal.closing .side-modal-content {
    animation: menuSlideOut 0.32s cubic-bezier(0.64, 0, 0.78, 0) forwards;
}

@keyframes menuSlideIn {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes menuSlideOut {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes menuBannerFirst {
    0%,
    37.5% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-100%);
    }

    50.01%,
    87.5% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes menuBannerSecond {
    0%,
    37.5% {
        transform: translateX(100%);
    }

    50%,
    87.5% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.menu-top-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.menu-title-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.menu-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--color-texto);
    white-space: nowrap;
}

.menu-heading-separator {
    width: 100%;
    height: 1px;
    background-color: #ececec;
}

.close-menu {
    width: 42px;
    height: 42px;
    background: #353535;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.close-menu .material-symbols-rounded {
    font-size: 24px;
}

.close-menu:hover {
    background-color: #222222;
}

.menu-profile-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    background: #f7f7f7;
    border-radius: 20px;
}

.menu-image-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 2617 / 792;
    min-height: 88px;
    max-height: 128px;
    overflow: hidden;
    border-radius: 6px;
    margin: 18px 0 11px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.03);
    background-color: #f7f7f7;
}

.menu-image-banner::before,
.menu-image-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    animation-duration: 8s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.menu-image-banner::before {
    background-image: var(--brand-menu-banner-constructor);
    animation-name: menuBannerFirst;
}

.menu-image-banner::after {
    background-image: var(--brand-menu-banner-profesor);
    animation-name: menuBannerSecond;
}

.menu-register-card {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 0;
    min-width: 0;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid #353535;
    border-radius: 8px;
    background: #353535;
    color: #ffffff;
    text-decoration: none;
    box-sizing: border-box;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.menu-register-info-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin-bottom: 0;
}

.menu-register-info-row .menu-info-button {
    flex: 1 1 0;
    width: auto;
    min-height: 58px;
    margin: 0;
    padding: 8px 10px;
}

.side-modal-content .menu-info-button {
    justify-content: flex-start;
    text-align: left;
}

.menu-info-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 40px;
    margin-top: 0;
    margin-bottom: 10px;
    padding: 8px 12px;
    border: 1px solid #fe4e4a;
    border-radius: 6px;
    background: #ffffff;
    color: #fe4e4a;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.menu-info-button::before {
    content: "info";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    border: 0;
    background: #fe4e4a;
    color: #ffffff;
    font-family: 'Material Symbols Rounded';
    font-size: 18px;
    font-weight: normal;
    line-height: 1;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
}

.menu-image-banner + .menu-info-button {
    margin-top: 0;
}

.menu-info-button:hover {
    background: #fff7f7;
}

.home-info-button {
    flex: 0 0 auto;
    margin: 0 0 10px;
    border: 1px solid #fe4e4a;
    border-radius: 10px;
    background: #ffffff;
    color: #fe4e4a;
    box-shadow: 0 3px 6px rgba(53, 53, 53, 0.18);
}

.home-info-button:hover {
    background: #fff7f7;
}

.menu-register-logo {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin: 0;
    background-image: var(--brand-logo-header);
    color: transparent;
    font-size: 0;
}

.menu-register-card p {
    margin: 0;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

.menu-register-card span {
    display: block;
    margin-top: 3px;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.25;
}

.menu-profile-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.menu-profile-info > div:not(.menu-profile-img) {
    min-width: 0;
}

.menu-profile-img {
    width: 32px;
    min-width: 32px;
    max-width: 32px;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    flex: 0 0 32px;
    border-radius: 6px;
    background-color: var(--color-botones);
    background-image: var(--brand-default-avatar);
    background-size: cover;
    background-position: center;
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.menu-user-name {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.menu-user-subtitle {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    color: var(--color-iconos);
}

.menu-view-profile {
    white-space: nowrap;
    text-decoration: none;
    color: var(--color-texto);
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.menu-separator {
    height: 1px;
    background-color: #ececec;
    margin: 20px 0;
}

.menu-profile-heading-separator {
    width: 100%;
    height: 1px;
    flex: 0 0 auto;
    background-color: #e0e0e0;
    margin: 18px 0;
}

.menu-profile-heading-separator + .menu-image-banner {
    margin-top: 0;
}

.menu-register-info-row + .menu-image-banner {
    margin-top: 12px;
}

.menu-profile-heading-separator + .menu-register-card {
    margin-top: 0;
}

.menu-register-card + .menu-image-banner {
    margin-top: 8px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: none;
}

.menu-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    background: #f7f7f7;
    border-radius: 14px;
    color: var(--color-texto);
    text-decoration: none;
    font-weight: 700;
    padding: 0 12px;
    text-align: center;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.menu-tile[href="home"],
.menu-tile[href="news"],
.menu-tile[href="https://wa.me/51987541263"] {
    justify-content: flex-start;
    min-height: 42px;
    border: 1px solid #eeeeee;
    border-radius: 6px;
    padding: 0 14px;
    text-align: left;
}

.register-form form {
    gap: 10px !important;
}

.register-form .auth-field {
    gap: 0 !important;
}

.register-form .auth-field > span:first-child {
    font-size: 15px !important;
    line-height: 1.2 !important;
}

.register-form .auth-field .settings-inline-error {
    margin-top: -1px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

.register-form .auth-field input {
    margin-top: 0 !important;
}

.register-form .auth-field .field-input-shell {
    margin-top: 0 !important;
}

.register-form .auth-field .password-wrapper {
    margin-top: 5px !important;
}

.register-form .auth-field .password-wrapper input {
    margin-top: 0 !important;
}

.menu-tile[href="home"]::before,
.menu-tile[href="settings"]::before,
.menu-tile[href="news"]::before,
.menu-tile[href="https://wa.me/51987541263"]::before {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
}

.menu-tile[href="home"]::before {
    content: "home";
}

.menu-tile[href="settings"]::before {
    content: "settings";
}

.menu-tile[href="https://wa.me/51987541263"]::before {
    content: "support_agent";
}

.menu-tile[href="news"]::before {
    content: "newspaper";
}

.menu-tile.disabled,
.menu-tile[aria-disabled="true"] {
    opacity: 0.48;
    pointer-events: none;
    cursor: default;
}

.menu-banner {
    text-decoration: none;
    margin: 0;
    padding: 16px 18px;
    background: #f7f7f7;
    border: 1px solid #ececec;
    border-radius: 6px;
    color: var(--color-texto);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.menu-banner-icon {
    flex: 0 0 auto;
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 28px;
    line-height: 1;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
}

.menu-banner p {
    margin: 0 0 1px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.18;
}

.menu-banner-link {
    color: var(--color-texto);
    font-weight: 700;
    line-height: 1.18;
    text-decoration: none;
}

.menu-banner-action {
    color: #fe4e4a;
}

.menu-bottom-bar {
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin-top: auto;
    padding-top: 12px;
    background-color: #ffffff;
    border-top: 1px solid #ececec;
}

.menu-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    border: 1px solid #ececec;
    border-radius: 6px;
    background: #353535;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.menu-back-button .material-symbols-rounded {
    font-size: 22px;
}

.menu-finance-card {
    padding: 18px;
    border-radius: 18px;
    background: #fff5f5;
}

.menu-finance-card span {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--color-texto);
    font-weight: 700;
}

.register-form .auth-field {
    gap: 7px;
}

.register-form .auth-field .settings-inline-error {
    margin-top: -2px;
}

.register-form .auth-field input {
    min-height: 42px;
}

.register-form .auth-field .password-wrapper input {
    padding-right: 46px;
}

.register-checkbox > span {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.menu-finance-card p {
    margin: 0;
    color: var(--color-iconos);
    font-size: 14px;
    line-height: 1.5;
}

.menu-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
}

.menu-links a {
    color: var(--color-texto);
    text-decoration: none;
    padding: 12px 0;
    font-weight: 700;
}

.menu-links .menu-legal-last {
    margin-bottom: 12px;
}

.menu-legal-separator {
    margin: 0 0 12px;
}

.logout-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--color-texto);
    font-weight: 400;
}

.logout-icon {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
}

.menu-copyright {
    margin: 0;
    color: #999999;
    font-size: 12px;
    line-height: 1.45;
}

.register-form .auth-field > .field-input-shell,
.register-form .auth-field > .password-wrapper.field-input-shell,
.register-form .auth-field > .password-wrapper {
    margin-top: 4px !important;
}

.register-form .auth-field > .field-input-shell input,
.register-form .auth-field > .password-wrapper input {
    margin-top: 0 !important;
}
.side-modal-content:has(.menu-profile-card) .menu-profile-card {
    padding-top: 6px;
    padding-bottom: 6px;
    border-radius: 8px;
}

.side-modal-content:has(.menu-profile-card) > .menu-info-button {
    margin-top: 12px;
    margin-bottom: 0;
}

.side-modal-content:has(.menu-profile-card) .menu-profile-heading-separator {
    display: none;
}

.side-modal-content:has(.menu-profile-card) .menu-profile-heading-separator + .menu-image-banner {
    margin-top: 12px;
}

.side-modal-content:has(.menu-profile-card) .menu-tile {
    justify-content: flex-start;
    border: 1px solid #eeeeee;
    border-radius: 6px;
    padding: 0 14px;
    text-align: left;
}

.side-modal-content:has(.menu-profile-card) .menu-grid + .menu-separator,
.side-modal-content:has(.menu-profile-card) .menu-banner + .menu-separator {
    height: 1px;
    margin: 14px 0;
    background-color: #ececec;
}

.side-modal-content:has(.menu-profile-card) .menu-links {
    gap: 0;
}

.side-modal-content:has(.menu-profile-card) .menu-links a {
    padding: 8px 0;
}

.side-modal-content:has(.menu-profile-card) .menu-links .menu-separator {
    margin: 8px 0;
}

.side-modal-content:has(.menu-profile-card) .menu-legal-separator {
    margin: 0 0 8px;
}

.side-modal-content:has(.menu-profile-card) .menu-copyright {
    margin-bottom: 92px;
}

.side-modal-content:has(.menu-profile-card) .menu-bottom-bar {
    margin-right: -18px;
    margin-bottom: -18px;
    margin-left: -18px;
    padding: 12px 18px max(18px, env(safe-area-inset-bottom));
    background-color: #ffffff;
    box-shadow: 0 -10px 0 10px #ffffff;
}

@media (max-height: 760px) {
    .side-modal-content:has(.menu-profile-card) .menu-profile-card {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .side-modal-content:has(.menu-profile-card) .menu-grid + .menu-separator,
    .side-modal-content:has(.menu-profile-card) .menu-banner + .menu-separator {
        margin: 12px 0;
    }

    .side-modal-content:has(.menu-profile-card) .menu-bottom-bar {
        margin-right: -12px;
        margin-bottom: -12px;
        margin-left: -12px;
        padding-right: 12px;
        padding-bottom: max(14px, env(safe-area-inset-bottom));
        padding-left: 12px;
    }
}

@media (max-height: 760px) {
    .side-modal-content {
        padding: 12px;
    }

    .menu-top-row {
        margin-bottom: 10px;
    }

    .menu-profile-card,
    .menu-register-card {
        min-height: 54px;
        padding: 10px 12px;
        border-radius: 8px;
    }

    .menu-register-info-row {
        gap: 6px;
    }

    .menu-register-info-row .menu-info-button {
        flex-basis: 0;
        min-height: 54px;
        padding: 7px 8px;
        font-size: 12px;
    }

    .menu-profile-heading-separator,
    .menu-separator {
        margin: 12px 0;
    }

    .menu-image-banner {
        min-height: 78px;
        margin: 8px 0 11px;
    }

    .menu-info-button {
        min-height: 40px;
        margin-bottom: 10px;
        padding: 8px 12px;
    }

    .menu-grid {
        gap: 10px;
    }

    .menu-tile {
        min-height: 44px;
        border-radius: 10px;
    }

    .menu-tile[href="home"],
    .menu-tile[href="news"],
    .menu-tile[href="https://wa.me/51987541263"] {
        min-height: 40px;
        border-radius: 6px;
    }

    .menu-banner {
        padding: 14px;
        border-radius: 6px;
    }
}

@media (max-height: 640px) {
    .menu-image-banner {
        min-height: 68px;
        max-height: 90px;
    }

    .menu-banner p {
        margin-bottom: 1px;
        font-size: 14px;
    }

    .menu-banner-link,
    .menu-links a,
    .menu-copyright {
        font-size: 12px;
    }
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 12px 0 16px;
    border-bottom: 1px solid #ececec;
}

.menu-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.menu-profile-img {
    width: 32px;
    min-width: 32px;
    max-width: 32px;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    flex: 0 0 32px;
    border-radius: 6px;
    background-color: var(--color-botones);
    background-image: var(--brand-default-avatar);
    background-size: cover;
    background-position: center;
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.menu-user-name {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.menu-user-subtitle {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    color: var(--color-iconos);
}

.menu-view-profile {
    white-space: nowrap;
    text-decoration: none;
    color: var(--color-texto);
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: none;
}

.menu-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    background: #f7f7f7;
    border-radius: 14px;
    font-size: 14px;
    color: var(--color-texto);
    text-decoration: none;
    font-weight: 700;
    padding: 0 10px;
    text-align: center;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.menu-tile[href="home"],
.menu-tile[href="news"],
.menu-tile[href="https://wa.me/51987541263"] {
    justify-content: flex-start;
    min-height: 42px;
    border: 1px solid #eeeeee;
    border-radius: 6px;
    padding: 0 14px;
    text-align: left;
}

.menu-promo {
    margin: 20px 0;
    padding: 18px;
    background: #fff5f5;
    border: 1px solid #ffe3e3;
    border-radius: 18px;
}

.menu-promo p {
    margin: 0 0 10px;
    font-weight: 700;
}

.menu-promo a {
    color: var(--color-botones);
    text-decoration: none;
    font-weight: 700;
}

.menu-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-links a {
    color: var(--color-texto);
    text-decoration: none;
    padding: 12px 0;
    font-weight: 700;
}

.menu-links .menu-legal-last {
    margin-bottom: 12px;
}

.logout-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--color-texto);
    font-weight: 400;
}

.menu-copyright {
    margin: 0;
    color: #999999;
    font-size: 12px;
    line-height: 1.45;
}

header, nav, main, footer {
    padding: 10px;
}

.app-shell {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    margin: 0 auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

button {
    background-color: var(--color-botones);
    color: var(--color-fondo);
    border: none;
    padding: 10px;
    cursor: pointer;
}

.material-symbols-rounded {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    direction: ltr;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

input, textarea {
    border: 1px solid var(--color-iconos);
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.error-page-body {
    background: #f5f5f5;
}

.error-page-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    box-sizing: border-box;
}

.error-card {
    width: 100%;
    padding: 28px 22px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
    text-align: center;
    box-sizing: border-box;
}

.error-logo {
    display: block;
    width: 138px;
    height: auto;
    margin: 0 auto 18px;
}

.error-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    background: rgba(254, 78, 74, 0.1);
    color: #fe4e4a;
    font-size: 24px;
    font-weight: 900;
    margin: 0 auto;
}

.error-card h1 {
    margin: 16px 0 0;
    color: #000000;
    font-size: 25px;
    line-height: 1.15;
}

.error-message {
    margin: 12px 0 0;
    color: #353535;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
}

.error-detail {
    margin: 10px 0 0;
    color: #353535;
    font-size: 13px;
    line-height: 1.55;
}

.error-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    margin-top: 22px;
    border-radius: 8px;
    background: #353535;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
}

.error-home-button .material-symbols-rounded {
    font-size: 21px;
}

.password-wrapper {
    position: relative;
    width: 100%;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-iconos);
}

.password-toggle-btn .material-symbols-rounded {
    font-size: 22px;
}

.register-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.register-logo {
    text-align: center;
    margin-bottom: 24px;
}

.register-brand-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-texto);
    text-decoration: none;
}

.auth-home-link {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #f5f5f5;
    border-radius: 6px;
    background: #ffffff;
    color: #fe4e4a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.auth-home-link .material-symbols-rounded {
    font-size: 18px;
}

.auth-intro {
    margin-top: 12px;
    text-align: center;
}

.auth-intro h2 {
    margin: 0;
    color: var(--color-texto);
    font-size: 24px;
    line-height: 1.15;
}

.auth-intro p {
    margin: 8px 0 0;
    color: var(--color-texto);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.auth-intro span {
    display: block;
    margin-top: 5px;
    color: var(--color-iconos);
    font-size: 12px;
    line-height: 1.35;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
    border-radius: 6px;
    background-color: var(--color-botones);
    background-image: var(--brand-logo-auth);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    color: #ffffff;
    font-size: 0;
    font-weight: 700;
}

.register-brand-link .logo-mark {
    width: 168px;
    height: 104px;
    margin-bottom: 0;
    border-radius: 0;
    background-color: transparent;
}

.register-brand-link h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.register-form {
    background-color: #ffffff;
    padding: 22px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.form-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 14px;
}

.register-form form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.register-form .field-input-shell {
    margin-top: 10px;
}

.register-form input[type="text"],
.register-form input[type="email"],
.register-form input[type="password"] {
    min-height: 42px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #ffffff;
    color: var(--color-texto);
    font-size: 14px;
    line-height: 1.45;
}

.register-form input[type="text"]:focus,
.register-form input[type="email"]:focus,
.register-form input[type="password"]:focus {
    outline: none;
    border-color: var(--color-botones);
    box-shadow: 0 0 0 3px rgba(254, 78, 74, 0.12);
}

.register-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.28;
    margin-top: 10px;
}

.register-checkbox input {
    width: auto;
    margin-top: 4px;
}

.register-actions button {
    width: 100%;
    min-height: 44px;
    border-radius: 8px;
    font-weight: 800;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.register-footer {
    text-align: center;
    margin-top: 18px;
    color: #353535;
}

.register-footer span {
    color: #353535;
    font-weight: 400;
}

.register-footer a {
    color: var(--color-botones);
    font-weight: 800;
    text-decoration: underline;
}

.register-footer a:hover {
    text-decoration: underline;
}

.home-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 10px 18px;
    border-bottom: 1px solid #ececec;
    z-index: 60;
    box-sizing: border-box;
}

.topbar-stack {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 70;
    width: 100%;
    max-width: 480px;
    transform: translateX(-50%);
    background: #ffffff;
    border-bottom: 1px solid #ececec;
    box-sizing: border-box;
}

.topbar-stack .home-header {
    position: static;
    left: auto;
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
}

.topbar-stack-content {
    padding: 0 18px 0;
    background: #ffffff;
    box-sizing: border-box;
}

.topbar-stack .home-header + .topbar-stack-content {
    padding-top: 4px;
}

.topbar-stack-content .home-info-button,
.topbar-stack-content .home-feed-tabs,
.topbar-stack-content .home-post-type-tabs,
.topbar-stack-content .explore-filters,
.topbar-stack-content .explore-post-type-filters,
.topbar-controls .home-info-button,
.topbar-controls .home-feed-tabs,
.topbar-controls .home-post-type-tabs,
.topbar-controls .explore-filters,
.topbar-controls .explore-post-type-filters {
    position: static;
}

.home-header + main,
.home-header + section,
.home-header + div,
.home-header + .home-feed-wrapper {
    padding-top: 102px;
}

.sticky-bar-group {
    position: sticky;
    top: 102px;
    z-index: 65;
    background-color: #ffffff;
    padding-top: 8px;
    padding-bottom: 8px;
}

.sticky-bar-group .home-info-button,
.sticky-bar-group .home-feed-tabs,
.sticky-bar-group .home-post-type-tabs,
.sticky-bar-group .explore-filters,
.sticky-bar-group .explore-post-type-filters {
    position: static;
}

.topbar-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 10px;
    padding-bottom: 0;
    border-bottom: 0;
}

.topbar-info-row .home-info-button {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}

.topbar-auth-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.topbar-auth-actions .action-pill {
    min-width: 68px;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 900;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.home-info-button {
    margin-bottom: 6px;
}

.home-feed-tabs,
.explore-filters {
    margin-bottom: 6px;
}

.home-post-type-tabs,
.explore-post-type-filters {
    border-bottom: 1px solid #ececec;
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.notification-filter-bar {
    position: sticky;
    top: 102px;
    z-index: 65;
    background-color: #ffffff;
}

.home-header-left {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background-color: #f8f8f8;
    border: 1px solid #ececec;
    border-radius: 6px;
    color: var(--color-texto);
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
}

.menu-button .material-symbols-rounded {
    font-size: 23px;
}

.menu-button:hover {
    border-color: #dddddd;
    background-color: #ffffff;
}

.notification-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #ececec;
    border-radius: 999px;
    background: #f8f8f8;
    color: #8f98a1;
    cursor: pointer;
}

.notification-button .material-symbols-rounded {
    font-size: 23px;
}

.notification-button:hover {
    border-color: #dddddd;
    background: #ffffff;
}

.notification-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #fe4e4a;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-size: 10px;
    font-weight: 900;
    line-height: 15px;
    text-align: center;
    box-sizing: border-box;
}

.notification-title-count {
    color: #fe4e4a;
}

.profile-list-title-count {
    color: #fe4e4a;
}

.home-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.home-brand > div:last-child {
    min-width: 0;
    max-width: 116px;
}

.home-brand .logo-mark.small {
    width: 34px;
    height: 34px;
    margin: 0;
    background-image: var(--brand-logo-header);
    background-color: transparent;
    background-size: contain;
    font-size: 0;
}

.home-title {
    font-size: 13px;
    font-weight: 700;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-subtitle {
    display: block;
    font-size: 10px;
    color: var(--color-iconos);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-actions {
    display: flex;
    gap: 0;
    align-items: stretch;
    align-self: stretch;
    flex-shrink: 0;
    margin-left: auto;
    margin-top: -10px;
    margin-bottom: -10px;
}

.top-icon-button,
.top-filter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: auto;
    min-height: 100%;
    padding: 0;
    border: 0;
    text-decoration: none;
    box-sizing: border-box;
}

.top-icon-button .material-symbols-rounded,
.top-filter-button .material-symbols-rounded {
    font-size: 25px;
}

.top-search-button {
    position: relative;
    z-index: 2;
    background: #ffffff;
    color: #353535;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
}

.top-home-button {
    position: relative;
    z-index: 2;
    background: #fe4e4a;
    color: #ffffff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
}

.home-actions > .top-search-button:first-child,
.home-actions > .top-home-button:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.top-filter-control {
    display: inline-flex;
    align-items: center;
    height: auto;
    min-height: 100%;
}

.top-filter-label {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    min-width: 0;
    padding: 4px 7px;
    border: 1px solid rgba(53, 53, 53, 0.08);
    border-radius: 4px 0 0 4px;
    background: #ffffff;
    color: #fe4e4a;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.05;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
}

.top-filter-label-secondary {
    margin-top: 2px;
    font-size: 9px;
    font-weight: 400;
    line-height: 1;
}

.top-filter-button {
    position: relative;
    border-left: 1px solid rgba(53, 53, 53, 0.16);
    border-radius: 6px 0 0 6px;
    background: #fe4e4a;
    color: #ffffff;
    cursor: pointer;
}

.top-filter-button.active {
    background: #ffffff;
    color: #fe4e4a;
}

.top-filter-badge {
    position: absolute;
    right: 5px;
    bottom: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 999px;
    background: #ffffff;
    color: #353535;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.action-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background-color: var(--color-botones);
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    min-width: 76px;
    box-sizing: border-box;
}

.action-pill.secondary {
    background-color: #f8f8f8;
    color: var(--color-texto);
    border: 1px solid #ececec;
}

.home-feed-wrapper {
    min-height: calc(100vh - 138px);
    padding: 16px 18px 80px;
    background-color: #f7f7f7;
}

.home-footer {
    position: fixed;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 0;
    width: 100%;
    max-width: 480px;
    height: 62px;
    background-color: #ffffff;
    border-top: 1px solid #ececec;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    z-index: 60;
    box-sizing: border-box;
}

.home-feed-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.home-post-type-tabs {
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    margin-top: -4px;
}

.home-post-type-tabs::-webkit-scrollbar {
    display: none;
}

.home-post-type-tabs .home-feed-tab {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 7px;
    background: #f0f0f0;
    font-size: 12px;
    white-space: nowrap;
}

.home-post-type-tabs .home-feed-tab.active {
    border-color: #353535;
    background: #353535;
    color: #ffffff;
}

.home-feed-tab {
    min-height: 40px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #ffffff;
    color: var(--color-texto);
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.home-feed-tab.active {
    border-color: var(--color-texto);
    background: var(--color-texto);
    color: #ffffff;
}

.home-feed-tab:disabled {
    color: #b8b8b8;
    background: #f3f3f3;
    border-color: #eeeeee;
    opacity: 1;
    cursor: default;
    box-shadow: none;
}

.home-feed-separator {
    height: 1px;
    margin: 0 0 14px;
    background: #e5e5e5;
}

.explore-page .home-feed-wrapper {
    min-height: calc(100vh - 188px);
}

.explore-search {
    margin-bottom: 16px;
}

.search-row {
    display: flex;
    gap: 0;
    align-items: center;
    width: 100%;
}

.search-input-shell {
    flex: 1 1 auto;
    position: relative;
    min-width: 0;
}

.search-row input {
    display: block;
    width: 100%;
    min-width: 0;
    border: 1px solid #ececec;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    padding: 12px 42px 12px 14px;
    font-size: 14px;
    color: var(--color-texto);
    background-color: #ffffff;
    min-height: 46px;
}

.search-row input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.search-row input::-ms-clear,
.search-row input::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}

.search-clear-button {
    position: absolute;
    top: 50%;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-height: 24px;
    padding: 0;
    border: 1px solid #eeeeee;
    border-radius: 6px;
    background: #ffffff;
    color: #353535;
    transform: translateY(-50%);
    cursor: pointer;
}

.search-clear-button[hidden] {
    display: none;
}

.search-clear-button .material-symbols-rounded {
    color: #353535;
    font-size: 18px;
    font-weight: normal;
}

.search-row button {
    flex: 0 0 auto;
}

.search-hint {
    margin-top: 10px;
    font-size: 13px;
    color: var(--color-iconos);
}

.search-row input:focus {
    outline: none;
    border-color: var(--color-botones);
}

.search-filter-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    min-width: 48px;
    height: 46px;
    padding: 0;
    border: 1px solid #fe4e4a;
    border-radius: 6px 0 0 6px;
    background: #fe4e4a;
    color: #ffffff;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.search-filter-button .material-symbols-rounded {
    font-size: 23px;
}

.search-filter-badge {
    position: absolute;
    right: 5px;
    bottom: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 999px;
    background: #ffffff;
    color: #353535;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    min-width: 52px;
    height: 46px;
    border: none;
    border-radius: 0 6px 6px 0;
    background-color: var(--color-texto);
    color: #ffffff;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.search-button .material-symbols-rounded {
    font-size: 24px;
}

.search-separator {
    height: 1px;
    background-color: #ececec;
    margin-top: 16px;
}

.explore-filter-panel[hidden] {
    display: none;
}

.explore-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
    margin: 12px 0 0;
}

.explore-post-type-filters {
    border-bottom: 0;
    padding: 0;
    margin: 10px 0 0;
}

.explore-post-type-filters[hidden] {
    display: none;
}

.filter-btn {
    height: 36px;
    padding: 0;
    border-radius: 6px;
    background-color: #f0f0f0;
    color: var(--color-texto);
    border: 1px solid #ececec;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
}

.filter-btn.active {
    background-color: var(--color-texto);
    color: #ffffff;
    border-color: var(--color-texto);
}

.explore-post-type-filters .filter-btn {
    flex: 0 0 auto;
    height: 30px;
    padding: 0 12px;
    border-radius: 7px;
    background: #f0f0f0;
    font-size: 12px;
    white-space: nowrap;
}

.explore-post-type-filters .filter-btn.active {
    border-color: #353535;
    background: #353535;
    color: #ffffff;
}

.home-feed {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: calc(100vh - 245px);
    overflow-y: auto;
    padding: 8px 8px 18px;
    margin: -8px -8px 0;
    box-sizing: border-box;
}

.explore-page .home-feed {
    max-height: calc(100vh - 178px);
}

.post-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.post-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.post-profile-img {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 6px;
    background-color: #e0e0e0;
    background-image: var(--brand-default-avatar);
    background-size: cover;
    background-position: center;
}

.post-header-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.post-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-fullname {
    font-weight: 700;
    font-size: 14px;
    color: var(--color-texto);
}

.user-username {
    font-size: 12px;
    color: var(--color-iconos);
}

.post-date {
    font-size: 11px;
    color: var(--color-iconos);
}

.post-card-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-follow-btn {
    flex-shrink: 0;
    padding: 8px 12px;
    background-color: var(--color-botones);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
}

.post-follow-btn:disabled {
    background-color: #ffffff;
    color: #353535;
    border: 1px solid #ececec;
    opacity: 1; /* Sobrescribimos la opacidad por defecto de disabled */
}

.post-follow-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.post-profile-link {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    padding: 0 11px;
    background: #f5f5f5;
    color: var(--color-texto);
    border: 1px solid #ececec;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.post-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 8px 0 0;
    justify-content: flex-start;
}

.post-tag {
    display: inline-block;
    padding: 6px 10px;
    background-color: #f0f0f0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-texto);
}

.post-tag:first-child {
    background-color: #353535;
    color: #ffffff;
    border-radius: 0 6px 6px 0;
    margin-left: -16px;
    padding: 6px 10px;
}

.post-tag:first-child.post-tag-requirement {
    background-color: #fe4e4a;
    color: #ffffff;
}

.post-hashtags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0 8px;
    margin-top: 8px;
    color: #353535;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
}

.post-hashtag {
    color: #353535;
}


.post-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-texto);
    line-height: 1.4;
}

.post-description {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.post-reference-gallery {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 8px;
    align-items: center;
    width: 100%;
}

.post-reference-strip-viewport {
    min-width: 0;
    overflow: hidden;
    scroll-behavior: smooth;
    padding: 4px 0;
}

.post-reference-strip-track {
    display: flex;
    gap: 8px;
}

.post-reference-thumb {
    flex: 0 0 auto;
    width: auto;
    max-width: 150px;
    height: 92px;
    padding: 0;
    overflow: hidden;
    border: none;
    border-radius: 10px;
    background: #f3f3f3;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 5px rgba(0, 0, 0, 0.16);
    cursor: pointer;
    transition: box-shadow 120ms ease, transform 120ms ease;
}

.post-reference-thumb:hover {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 3px 7px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.post-reference-thumb img {
    display: block;
    width: auto;
    max-width: 150px;
    height: 100%;
    border-radius: 10px;
    object-fit: contain;
    background: #f3f3f3;
}

.post-reference-thumb:focus-visible,
.post-reference-strip-nav:focus-visible,
.post-reference-open-btn:focus-visible,
.post-detail-link:focus-visible,
.post-image-viewer-dots button:focus-visible {
    outline: 2px solid var(--color-botones);
    outline-offset: 2px;
}

.post-reference-strip-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #ececec;
    border-radius: 999px;
    background: #ffffff;
    color: var(--color-texto);
    line-height: 1;
    cursor: pointer;
}

.post-reference-strip-nav .material-symbols-rounded {
    font-size: 23px;
}

.post-reference-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.post-reference-actions .post-reference-open-btn:only-child {
    grid-column: 1 / -1;
}

.post-reference-open-btn,
.post-detail-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border: 1px solid #ececec;
    border-radius: 6px;
    background: #ffffff;
    color: var(--color-texto);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.post-detail-link {
    color: #fe4e4a;
}

.post-detail-link-standalone {
    width: 100%;
}

.post-image-viewer-modal {
    position: fixed;
    inset: 0;
    z-index: 4200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 140ms ease;
}

.post-image-viewer-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.post-image-viewer-modal.closing {
    opacity: 0;
    pointer-events: none;
}

.post-image-viewer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
}

.post-image-viewer-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: min(100%, 460px);
    max-height: calc(100vh - 36px);
    padding: 16px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    transform: translateY(6px) scale(0.99);
    transition: transform 140ms ease;
}

.post-image-viewer-modal.active .post-image-viewer-content {
    transform: translateY(0) scale(1);
}

.post-image-viewer-modal.closing .post-image-viewer-content {
    transform: translateY(4px) scale(0.99);
}

.post-image-viewer-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.post-image-viewer-title-group {
    flex: 1;
    min-width: 0;
}

.post-image-viewer-title {
    color: var(--color-texto);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.post-image-viewer-separator {
    width: 100%;
    height: 1px;
    margin-top: 10px;
    background: #ececec;
}

.post-image-viewer-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    overflow: hidden;
    border-radius: 8px;
    background: #f7f7f7;
}

.post-image-viewer-frame img {
    display: block;
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    opacity: 1;
    transition: opacity 80ms ease;
}

.post-image-viewer-frame img.is-changing {
    opacity: 0.2;
}

.post-image-viewer-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.post-image-viewer-dots button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 1px solid #ececec;
    border-radius: 999px;
    background: #ffffff;
    color: var(--color-texto);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.post-image-viewer-dots button.active {
    border-color: var(--color-texto);
    background: var(--color-texto);
    color: #ffffff;
}

.post-image-viewer-dots[hidden],
.post-image-viewer-nav[hidden] {
    display: none;
}

.post-image-viewer-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    background: var(--color-botones);
    color: #ffffff;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.post-image-viewer-nav .material-symbols-rounded {
    font-size: 27px;
}

.post-image-viewer-nav.prev {
    left: 10px;
}

.post-image-viewer-nav.next {
    right: 10px;
}

.feed-loading {
    margin-top: 0;
    text-align: center;
    color: var(--color-iconos);
    font-size: 13px;
    padding: 10px 0;
}

.explore-page .feed-loading {
    border-top: 1px solid #e5e5e5;
    margin-top: 0;
    padding-top: 28px;
}

.post-page {
    min-height: 100vh;
    background: #f7f7f7;
}

.post-topbar {
    border-bottom-color: #e8e8e8;
}

.post-compose-wrapper {
    min-height: calc(100vh - 126px);
    padding: 18px 16px 118px;
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
}

.post-compose-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    min-width: 0;
}

.post-compose-heading {
    text-align: center;
}

.post-compose-heading h1 {
    margin: 0;
    color: var(--color-texto);
    font-size: 30px;
    line-height: 1.1;
}

.post-heading-separator {
    height: 1px;
    margin: 14px 0 2px;
    background: #e5e5e5;
}

.post-compose-panel {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 16px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.post-step-viewport {
    width: 100%;
    overflow: hidden;
}

.post-step-track {
    display: grid;
    grid-template-columns: 100% 100%;
    width: 100%;
    max-width: 100%;
    transition: transform 320ms ease;
}

.post-compose-form.is-step-2 .post-step-track {
    transform: translateX(-100%);
}

.post-step-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-right: 0;
    box-sizing: border-box;
    transition: opacity 220ms ease;
}

.post-compose-form:not(.is-step-2) [data-post-step="references"],
.post-compose-form.is-step-2 [data-post-step="details"] {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}

.post-type-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
}

.post-type-option {
    position: relative;
    display: block;
    min-width: 0;
    overflow: hidden;
    cursor: pointer;
}

.post-type-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.post-type-option span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    min-width: 0;
    padding: 0 8px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #f7f7f7;
    color: var(--color-texto);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    box-sizing: border-box;
}

.post-type-option input:checked + span {
    border-color: var(--color-texto);
    background: var(--color-texto);
    color: #ffffff;
}

.post-type-option input:disabled + span {
    cursor: default;
    opacity: 0.55;
}

.post-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.post-field span {
    color: var(--color-texto);
    font-size: 15px;
    font-weight: 800;
}

.post-field .required-label::after {
    content: "*";
    margin-left: 4px;
    color: #fe4e4a;
}

.field-input-shell {
    position: relative;
    width: 100%;
}

.field-input-shell input,
.field-input-shell textarea {
    border-top-right-radius: 0;
    padding-right: 42px;
}

.post-field .field-input-shell input,
.post-field .field-input-shell textarea {
    border-top-right-radius: 0;
}

.password-wrapper.field-input-shell input {
    padding-right: 76px;
}

.password-wrapper.field-input-shell .field-clear-button {
    right: 38px;
    border-radius: 6px 6px 0 0;
}

.field-input-shell .field-clear-button {
    position: absolute;
    top: -24px;
    right: 0;
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-height: 24px;
    padding: 0;
    border: 1px solid #eeeeee;
    border-radius: 6px 6px 0 0;
    background: #ffffff;
    color: #353535;
    cursor: pointer;
}

.field-input-shell .field-clear-button.is-visible {
    display: inline-flex;
}

.field-input-shell .field-clear-button .material-symbols-rounded {
    color: #353535;
    font-size: 18px;
    font-weight: normal;
}

.post-field input,
.post-field textarea {
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #ffffff;
    color: var(--color-texto);
    font-size: 14px;
    line-height: 1.45;
    resize: vertical;
}

.post-field textarea[name="content"],
.post-field textarea[name="bio"] {
    min-height: 140px;
    max-height: 140px;
    overflow-y: auto;
    resize: none;
}

.post-field textarea[name="tag"],
.post-field textarea[name="hashtags"],
.post-field textarea[data-settings-profile-tag] {
    min-height: 70px;
    max-height: 70px;
    overflow: hidden;
    resize: none;
}

.post-field input:focus,
.post-field textarea:focus {
    outline: none;
    border-color: var(--color-botones);
    box-shadow: 0 0 0 3px rgba(254, 78, 74, 0.12);
}

.post-form-separator {
    height: 1px;
    border-radius: 0;
    background: #e5e5e5;
    opacity: 1;
}

.post-field .post-character-counter {
    align-self: flex-start;
    margin-top: -3px;
    color: var(--color-iconos);
    font-size: 12px;
    font-weight: 400;
}

.post-field-help {
    margin-top: -4px;
    color: #999999;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
}

.post-segment-counters {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.post-field .post-segment-counter {
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    padding: 1px 6px;
    border: 1px solid #dddddd;
    border-radius: 2px;
    background: #ffffff;
    color: #999999;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.1;
}

.post-field .post-segment-counter.is-over-limit {
    border-color: #fe4e4a;
    color: #fe4e4a;
}

.post-compose-actions {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 10px;
    align-items: center;
    width: min(100%, 480px);
    margin: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid #ececec;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    transform: translateX(-50%);
}

.post-compose-actions-step-2,
.post-compose-form.is-step-2 .post-compose-actions-step-1 {
    display: none;
}

.post-compose-form.is-step-2 .post-compose-actions-step-2 {
    display: grid;
}

.post-compose-actions button,
.post-cancel-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-sizing: border-box;
}

.post-compose-actions button {
    width: 100%;
}

#post-next-button {
    background: var(--color-texto);
    color: #ffffff;
}

.post-compose-actions button[type="submit"] {
    background: var(--color-botones);
    color: #ffffff;
}

.post-cancel-link {
    border: 1px solid #ececec;
    background: #f7f7f7;
    color: var(--color-texto);
}

.post-reference-heading {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.post-reference-heading h2 {
    margin: 0;
    color: var(--color-texto);
    font-size: 18px;
    line-height: 1.2;
}

.post-reference-heading p {
    margin: 0;
    color: var(--color-iconos);
    font-size: 13px;
    line-height: 1.45;
}

.post-reference-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.post-reference-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    padding: 8px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #fafafa;
    color: var(--color-texto);
    font-size: 12px;
    font-weight: 800;
    min-width: 0;
}

.post-reference-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.settings-profile-photo-heading > span:first-child {
    color: var(--color-texto);
    font-size: 15px;
    font-weight: 800;
}

.post-reference-title small {
    color: var(--color-iconos);
    font-size: 12px;
    font-weight: 400;
}

.post-reference-picker {
    position: relative;
    display: block;
    width: 100%;
}

.post-reference-picker input {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0;
}

.post-reference-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 54px;
    overflow: hidden;
    border: 1px dashed #bdbdbd;
    border-radius: 8px;
    background: #ffffff;
    color: var(--color-iconos);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    box-sizing: border-box;
}

.post-reference-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-reference-view-btn {
    width: 100%;
    min-height: 30px;
    border: 1px solid #ececec;
    border-radius: 999px;
    background: #ffffff;
    color: var(--color-texto);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.post-reference-view-btn:disabled {
    cursor: default;
    opacity: 0.45;
}

.settings-profile-photo-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.settings-profile-photo-change-btn {
    width: 100%;
    min-height: 30px;
    border: 1px solid #ececec;
    border-radius: 999px;
    background: #353535;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.reference-image-modal {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 140ms ease;
}

.reference-image-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.reference-image-modal.closing {
    opacity: 0;
    pointer-events: none;
}

.reference-image-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
}

.reference-image-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    width: min(100%, 430px);
    min-height: 260px;
    padding: 16px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
    box-sizing: border-box;
    transform: translateY(6px) scale(0.99);
    transition: transform 140ms ease;
}

.reference-image-modal.active .reference-image-content {
    transform: translateY(0) scale(1);
}

.reference-image-modal.closing .reference-image-content {
    transform: translateY(4px) scale(0.99);
}

.reference-image-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.reference-image-title-group {
    flex: 1;
    min-width: 0;
}

.reference-image-title {
    color: var(--color-texto);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.reference-image-separator {
    width: 100%;
    height: 1px;
    margin-top: 10px;
    background: #ececec;
}

.reference-image-content img {
    display: block;
    max-width: 100%;
    max-height: 70vh;
    border-radius: 8px;
    object-fit: contain;
}

.settings-page {
    min-height: 100vh;
    background: #f7f7f7;
}

.settings-topbar {
    border-bottom-color: #e8e8e8;
}

.settings-wrapper {
    min-height: calc(100vh - 126px);
    padding: 22px 16px 128px;
    box-sizing: border-box;
}

.settings-heading {
    text-align: center;
}

.settings-heading h1 {
    margin: 0;
    color: var(--color-texto);
    font-size: 30px;
    line-height: 1.1;
}

.settings-heading-separator {
    height: 1px;
    margin: 14px 0 18px;
    background: #e5e5e5;
}

.settings-heading p {
    margin: 0;
    color: var(--color-texto);
    font-size: 18px;
    font-weight: 800;
    text-align: left;
}

.settings-section-title {
    margin: 0;
    color: var(--color-texto);
    font-size: 18px;
    font-weight: 800;
    text-align: left;
}

.settings-profile-section {
    margin-top: 16px;
}

.settings-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.settings-alert {
    margin-top: 14px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.45;
}

.settings-alert.error {
    border: 1px solid #fca5a5;
    background: #fee2e2;
    color: #991b1b;
}

.settings-alert.success {
    border: 1px solid #86efac;
    background: #dcfce7;
    color: #166534;
}

.settings-options button {
    width: 100%;
    min-height: 50px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #ffffff;
    color: var(--color-texto);
    font-size: 15px;
    font-weight: 800;
    text-align: left;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.settings-options button::before {
    content: "edit";
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 22px;
    line-height: 1;
    color: #fe4e4a;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
}

.settings-options button[onclick*="names"]::before {
    content: "badge";
}

.settings-options button[onclick*="email"]::before {
    content: "mail";
}

.settings-options button[onclick*="credentials"]::before {
    content: "lock";
}

.settings-options button[onclick*="profile-photo"]::before {
    content: "photo_camera";
}

.settings-options button[onclick*="profile-tags"]::before {
    content: "sell";
}

.settings-options button[onclick*="bio"]::before {
    content: "notes";
}

.settings-options button:hover {
    border-color: var(--color-botones);
}

.settings-modal-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    padding: 0 4px 4px 0;
}

.settings-modal-body button {
    min-height: 44px;
    border-radius: 8px;
    font-weight: 800;
}

.settings-modal-body > button[type="submit"] {
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.settings-form-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.settings-form-actions button {
    width: 100%;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.settings-form-actions .settings-cancel-button {
    background: #353535;
    color: #ffffff;
}

.settings-inline-error {
    margin: 0;
    color: #fe4e4a;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.35;
    animation: settingsErrorAttention 0.42s ease both;
}

.post-field .settings-inline-error,
.post-reference-title .settings-inline-error {
    color: #fe4e4a;
}

.settings-inline-error-preview {
    display: none;
}

.settings-success-panel {
    display: none;
}

.settings-modal-success .bottom-modal-content {
    min-height: 330px;
    overflow: hidden;
}

.settings-modal-success .settings-modal-body {
    pointer-events: none;
    animation: settingsFormSavedOut 0.36s ease forwards;
}

.settings-modal-success .close-menu {
    display: none;
}

.settings-modal-success .settings-success-panel {
    position: absolute;
    inset: 76px 18px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: settingsSuccessIn 0.38s ease 0.08s both;
}

.settings-success-icon {
    width: 74px;
    height: 74px;
    border: 4px solid #fe4e4a;
    border-radius: 999px;
    background: #ffffff;
    color: #fe4e4a;
    font-size: 38px;
}

.settings-success-title {
    margin: 16px 0 0;
    color: #353535;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.35;
}

.settings-success-copy {
    margin: 8px 0 0;
    color: #999999;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
}

.settings-success-accept {
    width: 100%;
    min-height: 42px;
    margin-top: 18px;
    border: 0;
    border-radius: 8px;
    background: #fe4e4a;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

#settings-profile-photo-modal .bottom-modal-content,
#settings-names-modal .bottom-modal-content,
#settings-profile-tags-modal .bottom-modal-content,
#settings-email-modal .bottom-modal-content,
#settings-bio-modal .bottom-modal-content,
#settings-credentials-modal .bottom-modal-content {
    height: auto;
    max-height: calc(100dvh - 16px);
}

#settings-profile-tags-modal .bottom-modal-content {
    padding: 14px;
}

#settings-profile-tags-modal .settings-modal-body {
    gap: 8px;
    overflow: visible;
    padding: 0 0 4px;
}

#settings-profile-tags-modal .post-field {
    gap: 4px;
}

#settings-profile-tags-modal .post-field textarea[data-settings-profile-tag] {
    min-height: 48px;
    max-height: 48px;
}

#settings-profile-tags-modal .post-field .post-character-counter {
    margin-top: -2px;
    font-size: 11px;
}

#settings-profile-tags-modal .settings-modal-body button {
    margin-top: 0;
    margin-bottom: 0;
    min-height: 40px;
}

#settings-profile-tags-modal .post-field .field-clear-button {
    margin-top: 0;
    margin-bottom: 0;
    min-height: 24px;
}

.settings-profile-photo-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #fafafa;
}

.settings-profile-photo-picker {
    max-width: none;
}

.settings-profile-photo-preview {
    aspect-ratio: 1 / 1;
    min-height: 0;
    border-style: solid;
}

.settings-profile-photo-actions .settings-profile-photo-change-btn,
.settings-profile-photo-actions .post-reference-view-btn {
    min-height: 36px;
    font-size: 12px;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.legal-page {
    min-height: 100vh;
    background: #f7f7f7;
    overflow-x: visible;
}

.legal-topbar {
    z-index: 30;
    border-bottom-color: #e8e8e8;
}

.legal-back-button {
    text-decoration: none;
}

.legal-wrapper {
    min-height: calc(100vh - 64px);
    padding: 22px 16px 112px;
    box-sizing: border-box;
}

.legal-heading {
    text-align: center;
}

.legal-section-bar {
    display: flex;
    justify-content: flex-start;
}

.legal-document h2.version-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #fe4e4a;
    font-size: 26px;
    line-height: 1.15;
}

.legal-document h2.version-title small {
    color: #999999;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.action-pill.secondary.legal-section-button {
    background-color: #ffffff;
    font-weight: 700;
}

.legal-heading h1 {
    margin: 0;
    color: var(--color-texto);
    font-size: 30px;
    line-height: 1.1;
}

.legal-heading-separator {
    height: 1px;
    margin: 14px 0 18px;
    background: #e5e5e5;
}

.legal-heading p {
    margin: 0;
    color: #555555;
    font-size: 14px;
    line-height: 1.55;
    text-align: left;
}

.legal-page .legal-heading p,
.legal-page .legal-summary p,
.legal-page .legal-document p,
.legal-page .legal-link-list span {
    text-align: justify;
}

.legal-summary,
.legal-document {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.legal-summary p,
.legal-document p {
    margin: 0;
    color: #555555;
    font-size: 14px;
    line-height: 1.6;
}

.legal-summary p + p,
.legal-document p + h2 {
    margin-top: 14px;
}

.legal-document h2 {
    margin: 0 0 8px;
    color: var(--color-texto);
    font-size: 17px;
    line-height: 1.25;
}

.legal-link-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding: 0;
}

.legal-link-list a {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #ffffff;
    color: var(--color-texto);
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.legal-link-list strong {
    font-size: 15px;
}

.legal-link-list span {
    color: var(--color-iconos);
    font-size: 13px;
    line-height: 1.4;
}

.home-footer {
    position: fixed;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 0;
    width: 100%;
    max-width: 480px;
    height: 62px;
    background-color: #ffffff;
    border-top: 1px solid #ececec;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    z-index: 60;
    box-sizing: border-box;
}

.footer-link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1 1 0;
    align-self: stretch;
    min-width: 0;
    color: var(--color-iconos);
    font-size: 13px;
    text-decoration: none;
    text-align: center;
}

.footer-button-link {
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
}

.footer-link-disabled {
    color: #b8b8b8;
    cursor: default;
    pointer-events: none;
}

.footer-notification-badge {
    position: absolute;
    top: 8px;
    left: 50%;
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    border-radius: 999px;
    background: #fe4e4a;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-size: 10px;
    font-weight: 900;
    line-height: 13px;
    text-align: center;
    box-sizing: border-box;
}

.footer-icon {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 23px;
    line-height: 1;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
}

.footer-label {
    font-size: 11px;
    font-weight: 500;
}

.footer-link.active {
    color: var(--color-botones);
    font-weight: 600;
}

.footer-link.active .footer-icon {
    color: var(--color-botones);
}

.home-footer .footer-link:first-child {
    flex: 0 0 126px;
    border-radius: 0 8px 0 0;
    background: var(--color-botones);
    color: #ffffff;
}

.home-footer .footer-link:first-child .footer-icon,
.home-footer .footer-link:first-child .footer-label {
    color: #ffffff;
}

.profile-page {
    min-height: 100vh;
    background: #f7f7f7;
}

.profile-screen {
    padding: 0 0 84px;
}

.profile-summary {
    margin: 0 14px;
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.profile-avatar-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.profile-avatar {
    width: 94px;
    height: 94px;
    min-width: 94px;
    border-radius: 12px;
    border: 4px solid #ffffff;
    background-color: var(--color-botones);
    background-image: var(--brand-default-avatar);
    background-size: cover;
    background-position: center;
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.profile-side-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.profile-stat {
    min-height: 48px;
    border: 1px solid #ececec;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: #fafafa;
}

.profile-stat strong {
    font-size: 15px;
    color: var(--color-texto);
}

.profile-stat span {
    font-size: 10px;
    color: var(--color-iconos);
}

.profile-stat-button {
    padding: 0;
    cursor: pointer;
}

.profile-stat-button:hover {
    background: #f3f3f3;
}

.profile-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.profile-name-row h1 {
    margin: 0;
    font-size: 19px;
    line-height: 1.15;
    word-break: break-word;
}

.profile-name-row p {
    margin: 5px 0 0;
    color: var(--color-iconos);
    font-size: 13px;
}

.profile-follow-button {
    width: 100%;
    height: 40px;
    border-radius: 8px;
    font-weight: 700;
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-decoration: none;
}

.profile-follow-button[data-following="1"] {
    background-color: #ffffff;
    color: #353535;
    border: 1px solid #ececec;
}

.profile-follow-button:disabled {
    cursor: default;
    opacity: 0.55;
}

.profile-settings-button {
    background-color: #f5f5f5;
    color: #111111;
    border-radius: 10px;
    border: none;
    gap: 8px;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.profile-settings-button::before {
    content: "settings";
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.profile-tag {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 6px;
    background-color: #f0f0f0;
    color: var(--color-texto);
    font-size: 12px;
    font-weight: 600;
}

.profile-bio {
    margin: 14px 0 0;
    color: #555555;
    font-size: 14px;
    line-height: 1.5;
    text-align: justify;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.profile-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 14px;
    padding: 4px;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.profile-tabs.is-profile-tabs-fixed {
    position: fixed;
    top: var(--topbar-stack-bottom, var(--topbar-stack-height, 76px));
    left: 50%;
    z-index: 69;
    width: calc(100% - 28px);
    max-width: 452px;
    margin: 0;
    transform: translateX(-50%);
}

.profile-tab {
    min-height: 42px;
    border-radius: 6px;
    color: #353535;
    text-decoration: none;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    min-width: 0;
}

.profile-tab.active {
    background: var(--color-texto);
    color: #ffffff;
}

.profile-tab.disabled {
    color: var(--color-iconos);
    cursor: default;
    pointer-events: none;
    opacity: 0.7;
}

.profile-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 14px;
    min-height: 260px;
    padding-right: 4px;
    padding-bottom: 96px;
    box-sizing: border-box;
}

.profile-post-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-service-card,
.profile-post-preview {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #ececec;
    overflow: hidden;
}

.profile-service-body,
.profile-post-preview {
    padding: 14px;
}

.profile-service-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.profile-service-meta span {
    padding: 6px 9px;
    border-radius: 6px;
    background: #f0f0f0;
    color: var(--color-texto);
    font-size: 12px;
    font-weight: 700;
}

.profile-service-meta span:first-child {
    background: var(--color-botones);
    color: #ffffff;
}

.profile-service-body h2,
.profile-post-preview h2 {
    margin: 0;
    font-size: 17px;
    line-height: 1.3;
}

.profile-service-body p,
.profile-post-preview p {
    margin: 8px 0 0;
    color: #555555;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.profile-service-card .post-reference-gallery,
.profile-post-preview .post-reference-gallery {
    margin-top: 14px;
}

.profile-post-loading {
    text-align: center;
    color: var(--color-iconos);
    font-size: 13px;
    padding: 10px 0 4px;
}

.profile-post-loading.ended {
    position: relative;
    margin-top: 4px;
    margin-bottom: 96px;
    padding: 18px 0 18px;
}

.profile-post-loading.ended::before {
    content: "";
    display: block;
    height: 1px;
    background: #e0e0e0;
    margin: 0 0 14px;
}

.bottom-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    overflow: hidden;
}

.bottom-modal.active {
    display: block;
}

.modelsmind-info-modal {
    z-index: 180;
}

.bottom-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.bottom-modal-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: min(76vh, 620px);
    background: #ffffff;
    border-radius: 18px 18px 0 0;
    padding: 18px;
    box-sizing: border-box;
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.18);
    transform: translateY(100%);
    display: flex;
    flex-direction: column;
}

.bottom-modal.active .bottom-modal-content {
    animation: bottomModalIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.bottom-modal.closing .bottom-modal-content {
    animation: bottomModalOut 0.28s cubic-bezier(0.64, 0, 0.78, 0) forwards;
}

.top-modal {
    position: fixed;
    top: var(--topbar-header-height, 60px);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 125;
    display: none;
    overflow: hidden;
}

.top-modal.active {
    display: block;
}

.top-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.top-modal-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    max-height: min(76vh, 620px);
    background: #ffffff;
    border-radius: 0 0 18px 18px;
    padding: 18px;
    box-sizing: border-box;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    transform: translateY(-100%);
    display: flex;
    flex-direction: column;
}

.top-modal.active .top-modal-content {
    animation: topModalIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.top-modal.closing .top-modal-content {
    animation: topModalOut 0.28s cubic-bezier(0.64, 0, 0.78, 0) forwards;
}

.content-filter-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.content-filter-title-group {
    flex: 1 1 auto;
    min-width: 0;
}

.content-filter-body h2 {
    margin: 0;
    color: #353535;
    font-size: 22px;
    font-weight: 900;
}

.content-filter-close {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: #353535;
    color: #ffffff;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.content-filter-close .material-symbols-rounded {
    font-size: 24px;
}

.content-filter-title-separator {
    height: 1px;
    margin: 14px 0 0;
    background: #e5e5e5;
}

.content-filter-tabs {
    margin-bottom: 12px;
    padding-bottom: 3px;
}

.content-filter-tabs.home-post-type-tabs {
    border-bottom: 0;
    padding-bottom: 3px;
    margin-bottom: 0;
}

.content-filter-actions {
    display: flex;
    justify-content: stretch;
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid #ececec;
}

.content-filter-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    min-width: 148px;
    padding: 0 16px;
    border: 0;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.content-filter-apply {
    background: #fe4e4a;
}

.welcome-modal-content {
    height: auto;
    max-height: min(92vh, 780px);
    padding: 0;
    border-radius: 22px 22px 0 0;
}

.welcome-modal-body {
    overflow-y: auto;
    padding: 26px 22px 24px;
    box-sizing: border-box;
}

.welcome-logo {
    display: block;
    width: 104px;
    height: auto;
    margin: 0 auto 14px;
}

.welcome-hello,
.welcome-modal-body h3 {
    margin: 0;
    color: #000000;
    text-align: center;
    line-height: 1.22;
}

.welcome-hello {
    font-size: 24px;
    font-weight: 900;
}

.welcome-hello strong {
    color: #fe4e4a;
}

.welcome-modal-body h3 {
    margin-top: 14px;
    font-size: 18px;
    font-weight: 900;
}

.welcome-copy {
    margin: 12px 0 0;
    color: #353535;
    font-size: 13px;
    line-height: 1.48;
    text-align: center;
}

.welcome-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 13px;
}

.welcome-feature-icon {
    flex: 0 0 auto;
    color: #fe4e4a;
    font-size: 24px;
    margin-top: 1px;
}

.welcome-feature p {
    margin: 0;
    color: #353535;
    font-size: 13px;
    line-height: 1.45;
}

.welcome-feature strong {
    color: #fe4e4a;
    font-weight: 900;
}

.welcome-emphasis {
    margin: 16px 0 0;
    color: #353535;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.45;
    text-align: center;
}

.welcome-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.welcome-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.welcome-button-dark {
    background: #353535;
}

.welcome-button-primary {
    background: #fe4e4a;
}

.modelsmind-info-title {
    color: #000000;
}

@keyframes bottomModalIn {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes bottomModalOut {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(100%);
    }
}

@keyframes topModalIn {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes topModalOut {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-100%);
    }
}

@keyframes settingsFormSavedOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(-28px);
    }
}

@keyframes settingsErrorAttention {
    0% {
        opacity: 0;
        transform: translateX(-8px);
    }

    45% {
        opacity: 1;
        transform: translateX(4px);
    }

    70% {
        transform: translateX(-2px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes settingsSuccessIn {
    from {
        opacity: 0;
        transform: translateX(34px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.bottom-modal-top-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.bottom-modal-title-group {
    flex: 1;
    min-width: 0;
}

.bottom-modal-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-texto);
    margin-bottom: 12px;
}

.bottom-modal-separator {
    height: 1px;
    background: #ececec;
}

.notification-filter-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 0 0 12px;
    padding: 4px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #f7f7f7;
}

.notification-filter-button {
    min-width: 0;
    min-height: 34px;
    padding: 0 8px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--color-texto);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.notification-filter-button.active {
    background: #333333;
    color: #ffffff;
}

.notifications-list {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 4px;
}

.notification-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 26px;
    padding: 12px;
    border: 1px solid #ececec;
    border-radius: 0 8px 8px 8px;
    background: #ffffff;
    color: var(--color-texto);
    cursor: pointer;
}

.notification-type-label {
    position: absolute;
    top: 0;
    left: -1px;
    transform: translateY(-100%);
    padding: 7px 10px;
    border-radius: 6px 6px 0 0;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.notification-type-label.is-requirement {
    background: #fe4e4a;
    color: #ffffff;
}

.notification-type-label.is-service {
    background: #353535;
    color: #ffffff;
}

.notification-type-label.is-follow {
    background: #f5f5f5;
    color: #fe4e4a;
}

.notification-item.is-unread .notification-type-label.is-follow {
    border: 2px solid #fe4e4a;
    border-bottom: 0;
}

.notification-item.is-unread {
    border-color: rgba(254, 78, 74, 0.35);
    background: rgba(254, 78, 74, 0.05);
}

.notifications-list[data-notification-filter="all"] .notification-item.is-unread,
.notifications-list[data-notification-filter="unread"] .notification-item.is-unread {
    border: 2px solid #fe4e4a;
    background: #ffffff;
}

.notification-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background-color: var(--color-botones);
    background-image: var(--brand-default-avatar);
    background-size: cover;
    background-position: center;
}

.notification-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.notification-heading,
.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-heading p {
    margin: 0;
    color: var(--color-texto);
    font-size: 14px;
    line-height: 1.35;
}

.notification-heading strong {
    display: block;
    font-weight: 800;
}

.notification-username {
    display: block;
    color: var(--color-iconos);
    font-size: 12px;
    line-height: 1.35;
}

.notification-content {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding-left: 56px;
}

.notification-detail {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    padding: 5px 8px;
    border-radius: 6px;
    background: #f0f0f0;
    color: var(--color-texto);
    font-size: 12px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notification-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.notification-tags span {
    display: inline-flex;
    max-width: 100%;
    padding: 5px 8px;
    border-radius: 6px;
    background: #f0f0f0;
    color: var(--color-texto);
    font-size: 12px;
    font-weight: 700;
}

.notification-action {
    flex: 0 0 auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    padding: 0 11px;
    border-radius: 6px;
    background: #f5f5f5;
    border: 1px solid #ececec;
    color: var(--color-texto);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.notification-date,
.notifications-empty {
    color: var(--color-iconos);
    font-size: 12px;
}

.notifications-empty {
    margin: 8px 0 0;
    padding: 18px;
    border-radius: 8px;
    background: transparent;
    text-align: center;
    font-size: 14px;
}

.profile-list {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 4px;
}

.profile-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #ffffff;
}

.profile-list-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background-color: var(--color-botones);
    background-image: var(--brand-default-avatar);
    background-size: cover;
    background-position: center;
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
}

.profile-list-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.profile-list-info strong {
    color: var(--color-texto);
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-list-info span {
    color: var(--color-iconos);
    font-size: 12px;
}

.profile-list-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 5px;
}

.profile-list-tags small {
    display: inline-flex;
    max-width: 100%;
    padding: 5px 8px;
    border-radius: 6px;
    background: #f0f0f0;
    color: var(--color-texto);
    font-size: 12px;
    font-weight: 700;
}

.profile-list-link {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    padding: 0 11px;
    border-radius: 6px;
    background: #f5f5f5;
    border: 1px solid #ececec;
    color: var(--color-texto);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.profile-list-empty {
    margin: 8px 0 0;
    padding: 18px;
    border-radius: 8px;
    background: transparent;
    color: var(--color-iconos);
    text-align: center;
    font-size: 14px;
}

.profile-list-end {
    margin: 2px 0 0;
    padding: 10px 0 2px;
    color: var(--color-iconos);
    text-align: center;
    font-size: 13px;
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .home-header,
    .topbar-stack-content,
    .home-feed-wrapper {
        padding-left: 14px;
        padding-right: 14px;
    }

    .post-header {
        flex-wrap: wrap;
    }

    .post-header-content {
        min-width: 0;
    }

    .post-card-actions {
        margin-left: 64px;
    }
}

.home-header:has(.top-search-button),
.home-header:has(.top-home-button) {
    padding-right: 0;
}

hr {
    border: 1px solid var(--color-iconos);
}

.topbar-stack + main {
    padding-top: calc(var(--topbar-stack-height, 76px) + 16px);
}

.feed-topbar + main,
.explore-topbar + main {
    padding-top: calc(var(--topbar-stack-height, 240px) + 12px);
}

.explore-topbar + main {
    padding-top: calc(var(--topbar-stack-height, 330px) + 12px);
}

/* Estilos para modals */
.modal {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: var(--color-fondo);
    margin: 15% auto;
    padding: 20px;
    border: 1px solid var(--color-botones);
    width: 80%;
}

.side-modal {
    position: fixed;
    inset: 0;
    z-index: 140;
    display: none;
    overflow: hidden;
}

.side-modal.active {
    display: block;
}

.side-modal-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
}

.side-modal-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    background: #ffffff;
    box-sizing: border-box;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    display: flex;
    flex-direction: column;
    padding: 18px;
    box-shadow: 4px 0 28px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

.side-modal.active .side-modal-content {
    transform: translateX(0);
    animation: menuSlideIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.side-modal.closing .side-modal-content {
    animation: menuSlideOut 0.32s cubic-bezier(0.64, 0, 0.78, 0) forwards;
}

@keyframes menuSlideIn {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes menuSlideOut {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes menuBannerFirst {
    0%,
    37.5% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-100%);
    }

    50.01%,
    87.5% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes menuBannerSecond {
    0%,
    37.5% {
        transform: translateX(100%);
    }

    50%,
    87.5% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.menu-top-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.menu-title-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.menu-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--color-texto);
    white-space: nowrap;
}

.menu-heading-separator {
    width: 100%;
    height: 1px;
    background-color: #ececec;
}

.close-menu {
    width: 42px;
    height: 42px;
    background: #353535;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.close-menu .material-symbols-rounded {
    font-size: 24px;
}

.close-menu:hover {
    background-color: #222222;
}

.menu-profile-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    background: #f7f7f7;
    border-radius: 20px;
}

.menu-image-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 2617 / 792;
    min-height: 88px;
    max-height: 128px;
    overflow: hidden;
    border-radius: 6px;
    margin: 18px 0 11px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.03);
    background-color: #f7f7f7;
}

.menu-image-banner::before,
.menu-image-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    animation-duration: 8s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.menu-image-banner::before {
    background-image: var(--brand-menu-banner-constructor);
    animation-name: menuBannerFirst;
}

.menu-image-banner::after {
    background-image: var(--brand-menu-banner-profesor);
    animation-name: menuBannerSecond;
}

.menu-register-card {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 0;
    min-width: 0;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid #353535;
    border-radius: 8px;
    background: #353535;
    color: #ffffff;
    text-decoration: none;
    box-sizing: border-box;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.menu-register-info-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin-bottom: 0;
}

.menu-register-info-row .menu-info-button {
    flex: 1 1 0;
    width: auto;
    min-height: 58px;
    margin: 0;
    padding: 8px 10px;
}

.side-modal-content .menu-info-button {
    justify-content: flex-start;
    text-align: left;
}

.menu-info-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 40px;
    margin-top: 0;
    margin-bottom: 10px;
    padding: 8px 12px;
    border: 1px solid #fe4e4a;
    border-radius: 6px;
    background: #ffffff;
    color: #fe4e4a;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.menu-info-button::before {
    content: "info";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    border: 0;
    background: #fe4e4a;
    color: #ffffff;
    font-family: 'Material Symbols Rounded';
    font-size: 18px;
    font-weight: normal;
    line-height: 1;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
}

.menu-image-banner + .menu-info-button {
    margin-top: 0;
}

.menu-info-button:hover {
    background: #fff7f7;
}

.home-info-button {
    flex: 0 0 auto;
    margin: 0 0 10px;
    border: 1px solid #fe4e4a;
    border-radius: 10px;
    background: #ffffff;
    color: #fe4e4a;
    box-shadow: 0 3px 6px rgba(53, 53, 53, 0.18);
}

.home-info-button:hover {
    background: #fff7f7;
}

.menu-register-logo {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin: 0;
    background-image: var(--brand-logo-header);
    color: transparent;
    font-size: 0;
}

.menu-register-card p {
    margin: 0;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

.menu-register-card span {
    display: block;
    margin-top: 3px;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.25;
}

.menu-profile-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.menu-profile-info > div:not(.menu-profile-img) {
    min-width: 0;
}

.menu-profile-img {
    width: 32px;
    min-width: 32px;
    max-width: 32px;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    flex: 0 0 32px;
    border-radius: 6px;
    background-color: var(--color-botones);
    background-image: var(--brand-default-avatar);
    background-size: cover;
    background-position: center;
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.menu-user-name {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.menu-user-subtitle {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    color: var(--color-iconos);
}

.menu-view-profile {
    white-space: nowrap;
    text-decoration: none;
    color: var(--color-texto);
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.menu-separator {
    height: 1px;
    background-color: #ececec;
    margin: 20px 0;
}

.menu-profile-heading-separator {
    width: 100%;
    height: 1px;
    flex: 0 0 auto;
    background-color: #e0e0e0;
    margin: 18px 0;
}

.menu-profile-heading-separator + .menu-image-banner {
    margin-top: 0;
}

.menu-register-info-row + .menu-image-banner {
    margin-top: 12px;
}

.menu-profile-heading-separator + .menu-register-card {
    margin-top: 0;
}

.menu-register-card + .menu-image-banner {
    margin-top: 8px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: none;
}

.menu-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    background: #f7f7f7;
    border-radius: 14px;
    color: var(--color-texto);
    text-decoration: none;
    font-weight: 700;
    padding: 0 12px;
    text-align: center;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.menu-tile[href="home"],
.menu-tile[href="news"],
.menu-tile[href="https://wa.me/51987541263"] {
    justify-content: flex-start;
    min-height: 42px;
    border: 1px solid #eeeeee;
    border-radius: 6px;
    padding: 0 14px;
    text-align: left;
}

.menu-tile[href="home"]::before,
.menu-tile[href="settings"]::before,
.menu-tile[href="news"]::before,
.menu-tile[href="https://wa.me/51987541263"]::before {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
}

.menu-tile[href="home"]::before {
    content: "home";
}

.menu-tile[href="settings"]::before {
    content: "settings";
}

.menu-tile[href="https://wa.me/51987541263"]::before {
    content: "support_agent";
}

.menu-tile[href="news"]::before {
    content: "newspaper";
}

.menu-tile.disabled,
.menu-tile[aria-disabled="true"] {
    opacity: 0.48;
    pointer-events: none;
    cursor: default;
}

.menu-banner {
    text-decoration: none;
    margin: 0;
    padding: 16px 18px;
    background: #f7f7f7;
    border: 1px solid #ececec;
    border-radius: 6px;
    color: var(--color-texto);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.menu-banner-icon {
    flex: 0 0 auto;
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 28px;
    line-height: 1;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
}

.menu-banner p {
    margin: 0 0 1px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.18;
}

.menu-banner-link {
    color: var(--color-texto);
    font-weight: 700;
    line-height: 1.18;
    text-decoration: none;
}

.menu-banner-action {
    color: #fe4e4a;
}

.menu-bottom-bar {
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin-top: auto;
    padding-top: 12px;
    background-color: #ffffff;
    border-top: 1px solid #ececec;
}

.menu-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    border: 1px solid #ececec;
    border-radius: 6px;
    background: #353535;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.menu-back-button .material-symbols-rounded {
    font-size: 22px;
}

.menu-finance-card {
    padding: 18px;
    border-radius: 18px;
    background: #fff5f5;
}

.menu-finance-card span {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--color-texto);
    font-weight: 700;
}

.menu-finance-card p {
    margin: 0;
    color: var(--color-iconos);
    font-size: 14px;
    line-height: 1.5;
}

.menu-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
}

.menu-links a {
    color: var(--color-texto);
    text-decoration: none;
    padding: 12px 0;
    font-weight: 700;
}

.menu-links .menu-legal-last {
    margin-bottom: 12px;
}

.menu-legal-separator {
    margin: 0 0 12px;
}

.logout-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--color-texto);
    font-weight: 400;
}

.logout-icon {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
}

.menu-copyright {
    margin: 0;
    color: #999999;
    font-size: 12px;
    line-height: 1.45;
}

.side-modal-content:has(.menu-profile-card) .menu-profile-card {
    padding-top: 6px;
    padding-bottom: 6px;
    border-radius: 8px;
}

.side-modal-content:has(.menu-profile-card) > .menu-info-button {
    margin-top: 12px;
    margin-bottom: 0;
}

.side-modal-content:has(.menu-profile-card) .menu-profile-heading-separator {
    display: none;
}

.side-modal-content:has(.menu-profile-card) .menu-profile-heading-separator + .menu-image-banner {
    margin-top: 12px;
}

.side-modal-content:has(.menu-profile-card) .menu-tile {
    justify-content: flex-start;
    border: 1px solid #eeeeee;
    border-radius: 6px;
    padding: 0 14px;
    text-align: left;
}

.side-modal-content:has(.menu-profile-card) .menu-grid + .menu-separator,
.side-modal-content:has(.menu-profile-card) .menu-banner + .menu-separator {
    height: 1px;
    margin: 14px 0;
    background-color: #ececec;
}

.side-modal-content:has(.menu-profile-card) .menu-links {
    gap: 0;
}

.side-modal-content:has(.menu-profile-card) .menu-links a {
    padding: 8px 0;
}

.side-modal-content:has(.menu-profile-card) .menu-links .menu-separator {
    margin: 8px 0;
}

.side-modal-content:has(.menu-profile-card) .menu-legal-separator {
    margin: 0 0 8px;
}

.side-modal-content:has(.menu-profile-card) .menu-copyright {
    margin-bottom: 92px;
}

.side-modal-content:has(.menu-profile-card) .menu-bottom-bar {
    margin-right: -18px;
    margin-bottom: -18px;
    margin-left: -18px;
    padding: 12px 18px max(18px, env(safe-area-inset-bottom));
    background-color: #ffffff;
    box-shadow: 0 -10px 0 10px #ffffff;
}

@media (max-height: 760px) {
    .side-modal-content:has(.menu-profile-card) .menu-profile-card {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .side-modal-content:has(.menu-profile-card) .menu-grid + .menu-separator,
    .side-modal-content:has(.menu-profile-card) .menu-banner + .menu-separator {
        margin: 12px 0;
    }

    .side-modal-content:has(.menu-profile-card) .menu-bottom-bar {
        margin-right: -12px;
        margin-bottom: -12px;
        margin-left: -12px;
        padding-right: 12px;
        padding-bottom: max(14px, env(safe-area-inset-bottom));
        padding-left: 12px;
    }
}

@media (max-height: 760px) {
    .side-modal-content {
        padding: 12px;
    }

    .menu-top-row {
        margin-bottom: 10px;
    }

    .menu-profile-card,
    .menu-register-card {
        min-height: 54px;
        padding: 10px 12px;
        border-radius: 8px;
    }

    .menu-register-info-row {
        gap: 6px;
    }

    .menu-register-info-row .menu-info-button {
        flex-basis: 0;
        min-height: 54px;
        padding: 7px 8px;
        font-size: 12px;
    }

    .menu-profile-heading-separator,
    .menu-separator {
        margin: 12px 0;
    }

    .menu-image-banner {
        min-height: 78px;
        margin: 8px 0 11px;
    }

    .menu-info-button {
        min-height: 40px;
        margin-bottom: 10px;
        padding: 8px 12px;
    }

    .menu-grid {
        gap: 10px;
    }

    .menu-tile {
        min-height: 44px;
        border-radius: 10px;
    }

    .menu-tile[href="home"],
    .menu-tile[href="news"],
    .menu-tile[href="https://wa.me/51987541263"] {
        min-height: 40px;
        border-radius: 6px;
    }

    .menu-banner {
        padding: 14px;
        border-radius: 6px;
    }
}

@media (max-height: 640px) {
    .menu-image-banner {
        min-height: 68px;
        max-height: 90px;
    }

    .menu-banner p {
        margin-bottom: 1px;
        font-size: 14px;
    }

    .menu-banner-link,
    .menu-links a,
    .menu-copyright {
        font-size: 12px;
    }
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 12px 0 16px;
    border-bottom: 1px solid #ececec;
}

.menu-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.menu-profile-img {
    width: 32px;
    min-width: 32px;
    max-width: 32px;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    flex: 0 0 32px;
    border-radius: 6px;
    background-color: var(--color-botones);
    background-image: var(--brand-default-avatar);
    background-size: cover;
    background-position: center;
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.menu-user-name {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.menu-user-subtitle {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    color: var(--color-iconos);
}

.menu-view-profile {
    white-space: nowrap;
    text-decoration: none;
    color: var(--color-texto);
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: none;
}

.menu-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    background: #f7f7f7;
    border-radius: 14px;
    font-size: 14px;
    color: var(--color-texto);
    text-decoration: none;
    font-weight: 700;
    padding: 0 10px;
    text-align: center;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.menu-tile[href="home"],
.menu-tile[href="news"],
.menu-tile[href="https://wa.me/51987541263"] {
    justify-content: flex-start;
    min-height: 42px;
    border: 1px solid #eeeeee;
    border-radius: 6px;
    padding: 0 14px;
    text-align: left;
}

.menu-promo {
    margin: 20px 0;
    padding: 18px;
    background: #fff5f5;
    border: 1px solid #ffe3e3;
    border-radius: 18px;
}

.menu-promo p {
    margin: 0 0 10px;
    font-weight: 700;
}

.menu-promo a {
    color: var(--color-botones);
    text-decoration: none;
    font-weight: 700;
}

.menu-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-links a {
    color: var(--color-texto);
    text-decoration: none;
    padding: 12px 0;
    font-weight: 700;
}

.menu-links .menu-legal-last {
    margin-bottom: 12px;
}

.logout-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--color-texto);
    font-weight: 400;
}

.menu-copyright {
    margin: 0;
    color: #999999;
    font-size: 12px;
    line-height: 1.45;
}

/* Home feed: publicaciones a pantalla completa, sin efecto de tarjeta. */
.home-feed-full-bleed {
    padding: 0 0 80px;
    background: #ffffff;
}

.home-feed-full-bleed .home-feed-separator {
    margin: 0;
}

#home-feed {
    gap: 0;
    width: 100%;
    padding: 0 0 18px;
    margin: 0;
}

#home-feed .post-card {
    width: 100%;
    border-radius: 0;
    background: transparent;
    box-shadow: 0 5px 8px -7px rgba(0, 0, 0, 0.55);
    box-sizing: border-box;
    z-index: 1;
}

/* Profile feed: mismo tratamiento visual que el feed de home. */
.profile-feed-full-bleed {
    margin: 0;
    padding-right: 0;
    background: #ffffff;
}

#profile-post-list {
    gap: 0;
    width: 100%;
}

#profile-post-list .post-card {
    width: 100%;
    border-radius: 0;
    background: transparent;
    box-shadow: 0 5px 8px -7px rgba(0, 0, 0, 0.55);
    box-sizing: border-box;
    z-index: 1;
}

.post-detail-screen {
    min-height: calc(100vh - 138px);
    padding: 14px 0 96px;
    background: #ffffff;
    box-sizing: border-box;
}

.post-detail-heading {
    width: 100%;
    padding: 8px 18px 14px;
    box-sizing: border-box;
}

.post-detail-heading h1 {
    margin: 0;
    color: var(--color-texto);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
}

.post-detail-heading-separator {
    width: 100%;
    height: 1px;
    margin-top: 12px;
    background: #ececec;
}

.post-detail-container {
    width: 100%;
}

.post-detail-container .post-card {
    width: 100%;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    box-sizing: border-box;
}

html.post-image-viewer-open,
body.post-image-viewer-open {
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
}

body.post-image-viewer-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
}

.post-image-viewer-modal {
    position: fixed;
    inset: 0;
    z-index: 4200;
    display: block;
    padding: 0;
    background: #000000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 140ms ease;
    touch-action: none;
    -ms-touch-action: none;
    overscroll-behavior: none;
}

body.post-image-viewer-open .side-modal.active {
    z-index: 4300;
}

.post-image-viewer-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.post-image-viewer-modal.closing {
    opacity: 0;
    pointer-events: none;
}

.post-image-viewer-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    height: var(--post-image-viewer-height, 100dvh);
    max-height: none;
    padding: 0;
    border-radius: 0;
    background: #000000;
    box-shadow: none;
    box-sizing: border-box;
    transform: none;
}

.post-image-viewer-modal.active .post-image-viewer-content,
.post-image-viewer-modal.closing .post-image-viewer-content {
    transform: none;
}

.post-image-viewer-header {
    position: static;
    width: 100%;
    z-index: 1;
}

.post-image-viewer-header.home-header {
    flex: 0 0 auto;
    padding-right: 12px;
}

.post-image-viewer-header .home-actions {
    align-self: center;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.post-image-viewer-header .home-subtitle {
    display: block;
}

.post-image-viewer-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: auto;
    height: 36px;
    min-height: 36px;
    padding: 0 12px 0 9px;
    border: 0;
    border-radius: 6px;
    background: #353535;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.post-image-viewer-back-button .material-symbols-rounded {
    color: #ffffff;
    font-size: 25px;
}

.post-image-viewer-frame {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding-bottom: max(72px, calc(58px + env(safe-area-inset-bottom)));
    overflow: hidden;
    border-radius: 0;
    background: #000000;
    box-sizing: border-box;
    touch-action: none;
    -ms-touch-action: none;
}

.post-image-viewer-frame::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: min(32vh, 220px);
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0));
}

.post-image-viewer-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: transform 145ms ease, opacity 145ms ease;
}

.post-image-viewer-slide.slide-from-right.is-changing {
    opacity: 0.45;
    transform: translateX(24px);
}

.post-image-viewer-slide.slide-from-left.is-changing {
    opacity: 0.45;
    transform: translateX(-24px);
}

.post-image-viewer-frame img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 1;
    transform-origin: center center;
    will-change: transform;
    transition: transform 120ms ease;
    user-select: none;
    -webkit-user-drag: none;
}

.post-image-viewer-frame img.is-changing {
    opacity: 1;
}

.post-image-viewer-frame img.is-zoomed {
    cursor: grab;
}

.post-image-viewer-counter {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    min-width: 44px;
    padding: 7px 10px;
    border-radius: 8px;
    background: rgba(53, 53, 53, 0.76);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    box-sizing: border-box;
}

.post-image-viewer-controls {
    position: absolute;
    left: 50%;
    bottom: max(18px, calc(env(safe-area-inset-bottom) + 18px));
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
}

.post-image-viewer-nav {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 46px;
    padding: 0;
    border: 0;
    background: #fe4e4a;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.post-image-viewer-nav.prev {
    left: auto;
    border-radius: 6px 0 0 6px;
}

.post-image-viewer-nav.next {
    right: auto;
    border-radius: 0 6px 6px 0;
}

.post-image-viewer-nav:disabled {
    opacity: 0.65;
    cursor: default;
}

.post-image-viewer-nav .material-symbols-rounded {
    color: #ffffff;
    font-size: 31px;
}

.post-image-viewer-dots,
.post-image-viewer-backdrop,
.post-image-viewer-separator {
    display: none;
}
