:root {
    --bg:        #010000;
    --red:       #e10017;
    --card-bg:   #141414;
    --border:    #120b0b;
    --text:      #ffffff;
    --muted:     #aaaaaa;
    --dim:       #555555;
    --sidebar-w: 130px;
    --header-h:  56px;
    --font-size-descriptive: 15px;
    --font-size-eyebrow: 45.5px;

    --color-gain: #16c172;
    --font-mono:  'IBM Plex Mono', monospace;
    --street-topbar-h: 64px;

    --color-token: #f5a623;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Bebas Neue', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar-w);
    background: #080000;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    z-index: 200;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar__logo {
    padding: 16px 10px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar__logo-icon {
    width: 100%;
    max-width: 110px;
    height: auto;
    display: block;
}

.sidebar__nav {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 64px;
    padding: 20px 20px 20px 17px;
    font-size: 18.4px;
    line-height: 1.3;
    letter-spacing: 0.4px;
    text-align: left;
    text-transform: uppercase;
    color: #ffffff;
    word-break: break-word;
    overflow-wrap: break-word;
    border-bottom: 1px solid var(--border);
    border-left: 3px solid transparent;
    position: relative;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-item--active {
    background: var(--red);
    color: #ffffff;
}

.nav-item--inactive:hover {
    border-left-color: var(--red);
    color: var(--red);
}

.sidebar__social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.sidebar__social-link {
    display: flex;
    color: var(--red);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.sidebar__social-link svg {
    width: 22px;
    height: 22px;
}

.sidebar__social-link:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

.site-header {
    position: fixed;
    top: 0;
    left: var(--sidebar-w);
    right: 0;
    height: var(--header-h);
    background: #080000;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 100;
}

.header__left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header__logo {
    display: flex;
    align-items: center;
}

.header__logo-icon {
    height: 44px;
    width: auto;
    display: block;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-flag {
    height: 32px;
    width: auto;
    border-radius: 2px;
    flex-shrink: 0;
}

.mobile-menu-toggle {
    display: none;
    flex-shrink: 0;
}

.points-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--red);
    font-size: 15px;
}

.points-badge__flame video {
    display: block;
    width: 15px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    background: var(--red);
}

.points-badge__count {
    font-family: var(--font-mono);
    font-size: 20px;
    line-height: 1;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text);
    font-size: 18px;
    padding: 0;
    position: relative;
    line-height: 1;
}

.icon-btn__dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 7px;
    height: 7px;
    background: var(--red);
    border-radius: 50%;
}


.gosan-launcher {
    position: fixed;
    right: 24px;
    bottom: 90px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--card-bg);
    border: 2px solid var(--red);
    box-shadow: 0 4px 16px rgba(225, 0, 23, 0.35);
    cursor: pointer;
    z-index: 250;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.gosan-launcher:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(225, 0, 23, 0.45);
}

.gosan-launcher__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.gosan-panel {
    position: fixed;
    right: 20px;
    bottom: 196px;
    width: min(320px, calc(100vw - 40px));
    max-height: min(480px, calc(100vh - 200px));
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 250;
}

.gosan-panel[hidden] {
    display: none;
}

.gosan-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 14px 14px 10px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.gosan-panel__title {
    color: var(--red);
    font-size: 20px;
    letter-spacing: 1px;
}

.gosan-panel__sub {
    font-family: sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.3;
    margin-top: 2px;
}

.gosan-panel__close {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 14px;
    line-height: 1;
    padding: 4px;
    transition: color 0.15s ease;
}

.gosan-panel__close:hover {
    color: var(--red);
}

.gosan-panel__messages {
    flex: 1;
    min-height: 220px;
    overflow-y: auto;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--red) #010000;
}

.gosan-panel__messages::-webkit-scrollbar {
    width: 6px;
}

.gosan-panel__messages::-webkit-scrollbar-track {
    background: #010000;
}

.gosan-panel__messages::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 4px;
}

.gosan-bubble {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 12px;
    font-family: sans-serif;
    font-size: 13px;
    line-height: 1.45;
    word-wrap: break-word;
}

.gosan-bubble--user {
    align-self: flex-end;
    background: var(--red);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.gosan-bubble--assistant {
    align-self: flex-start;
    background: #0d0d0d;
    color: var(--text);
    border: 1px solid #1e1e1e;
    border-bottom-left-radius: 4px;
}

.gosan-bubble--warning {
    border-color: var(--red);
}

.gosan-bubble--typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px;
}

.gosan-bubble--typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--muted);
    animation: gosan-typing 1s infinite ease-in-out;
}

.gosan-bubble--typing span:nth-child(2) { animation-delay: 0.15s; }
.gosan-bubble--typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes gosan-typing {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-3px); }
}

.gosan-panel__error {
    font-family: sans-serif;
    font-size: 12px;
    color: var(--red);
    padding: 0 14px 8px;
    flex-shrink: 0;
}

.gosan-panel__form {
    display: flex;
    margin: 0 14px 10px;
    background: #0d0d0d;
    border: 1px solid #1e1e1e;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
}

.gosan-panel__input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text);
    font-family: sans-serif;
    font-size: 13px;
    padding: 10px 12px;
    outline: none;
}

.gosan-panel__send {
    background: none;
    border: none;
    color: var(--red);
    font-size: 15px;
    padding: 0 12px;
}

.gosan-panel__disclaimer-link {
    display: block;
    font-family: sans-serif;
    font-size: 11px;
    color: var(--muted);
    text-align: center;
    padding: 8px 14px 12px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
    text-decoration: none;
}

.gosan-panel__disclaimer-link:hover {
    text-decoration: underline;
    color: var(--red);
}

.gosan-related {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-self: stretch;
    margin-top: 2px;
}

.gosan-related__label {
    font-family: sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
}

.gosan-related__card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    transition: border-color 0.2s ease;
}

.gosan-related__card:hover {
    border-color: var(--red);
}

.gosan-related__title {
    font-family: sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
}

.gosan-related__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-family: sans-serif;
    font-size: 11px;
    color: var(--muted);
}

.gosan-related__date {
    font-family: var(--font-mono);
}

@media (max-width: 480px) {
    .gosan-launcher {
        right: 16px;
        bottom: 80px;
    }

    .gosan-panel {
        right: 12px;
        bottom: 178px;
    }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 300;
}

.modal-overlay[hidden] {
    display: none;
}

.modal {
    position: relative;
    width: 100%;
    max-width: 380px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px 28px 28px;
}

.modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 16px;
    line-height: 1;
    padding: 4px;
    transition: color 0.15s ease;
}

.modal__close:hover {
    color: var(--red);
}

.modal__title {
    font-size: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text);
    margin-bottom: 20px;
}

.modal__form {
    display: flex;
    flex-direction: column;
}

.modal__form[hidden] {
    display: none;
}

.modal__label {
    font-family: sans-serif;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 6px;
}

.modal__label:not(:first-child) {
    margin-top: 16px;
}

.modal__input {
    font-family: sans-serif;
    font-size: var(--font-size-descriptive);
    color: var(--text);
    background: #0a0a0a;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    outline: none;
    transition: border-color 0.15s ease;
}

.modal__input:focus {
    border-color: var(--red);
}

.modal__input::-webkit-outer-spin-button,
.modal__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.modal__input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.modal__forgot {
    align-self: flex-start;
    font-family: sans-serif;
    font-size: 13px;
    color: var(--muted);
    margin-top: 10px;
    text-decoration: none;
    transition: text-decoration 0.15s ease, color 0.15s ease;
}

.modal__forgot:hover {
    color: var(--red);
    text-decoration: underline;
}

.modal__submit {
    justify-content: center;
    width: 100%;
    margin-top: 24px;
}

.modal__submit:disabled {
    opacity: 0.7;
}

.modal__error {
    font-family: sans-serif;
    font-size: 12.5px;
    color: var(--red);
    margin-top: 8px;
}

.modal__hint {
    font-family: sans-serif;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 4px;
    word-break: break-word;
}

.modal__input--code {
    text-align: center;
    font-size: 22px;
    letter-spacing: 8px;
}

.modal__divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 22px 0 16px;
}

.modal__signup-text {
    font-family: sans-serif;
    font-size: var(--font-size-descriptive);
    color: var(--muted);
    text-align: center;
}

.modal__signup-link {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

.modal__signup-link:hover {
    text-decoration: underline;
}

.modal__signup-highlight {
    color: var(--red);
}

.modal__signup-form {
    margin-top: 18px;
}

.modal__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    font-family: sans-serif;
    font-size: 13px;
    color: var(--muted);
    cursor: pointer;
}

.modal__checkbox input[type="checkbox"] {
    accent-color: var(--red);
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
}

.modal__checkbox a {
    color: var(--red);
    text-decoration: none;
}

.modal__checkbox a:hover {
    text-decoration: underline;
}

body.modal-open {
    overflow: hidden;
}

.dona-hero {
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.dona-hero__bizum {
    font-size: 32px;
    color: var(--red);
    margin-top: 18px;
    letter-spacing: 1px;
}

.dona-hero__bizum-label {
    font-family: sans-serif;
    font-size: var(--font-size-descriptive);
    color: var(--muted);
    letter-spacing: 0;
    margin-right: 6px;
}

.dona-hero__video {
    flex: 0 0 auto;
}

.dona-hero__video video {
    display: block;
    width: 360px;
    max-width: 100%;
    border-radius: 14px;
    background: var(--red);
}

@media (max-width: 768px) {
    .dona-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .dona-hero__video {
        width: 100%;
    }

    .dona-hero__video video {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
}

.main-content {
    margin-left: var(--sidebar-w);
    padding-top: var(--header-h);
}

.hero {
    display: flex;
    align-items: center;
    min-height: 340px;
    background: radial-gradient(ellipse at 65% 50%, #280000 0%, #090000 55%, var(--bg) 100%);
    border-bottom: 1px solid var(--border);
    padding: 48px 32px;
    position: relative;
    overflow: hidden;
}

.hero__content {
    flex-shrink: 0;
    max-width: 380px;
    position: relative;
    z-index: 2;
}

.hero__title {
    font-size: 54px;
    line-height: 0.95;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 14px;
}

.hero__title em {
    color: var(--red);
    font-style: normal;
}

.hero__subtitle {
    font-family: sans-serif;
    font-size: var(--font-size-descriptive);
    font-weight: 400;
    color: var(--muted);
    line-height: 1.6;
    letter-spacing: 0;
    margin-bottom: 28px;
}

.hero__art {
    flex: 1;
    align-self: stretch;
    min-width: 0;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.hero__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.btn-red {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    padding: 10px 20px 10px 24px;
    border-radius: 10px;
    border: none;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.btn-red:hover {
    background: #b8000f;
}

.btn-red__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    font-size: 15px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.btn-red:hover .btn-red__arrow {
    transform: translateX(4px);
}

.btn-sm {
    font-size: 16.8px;
    padding: 10px 16px 10px 20px;
    border-radius: 8px;
}

.btn-sm .btn-red__arrow {
    width: 22px;
    height: 22px;
    font-size: 12px;
}

.btn-red--back {
    flex-direction: row-reverse;
}

.btn-red--back.btn-sm {
    padding: 10px 20px 10px 16px;
}

.btn-red--back:hover .btn-red__arrow {
    transform: translateX(-4px);
}

.btn-neutral {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid var(--border);
    white-space: nowrap;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-neutral:hover {
    border-color: var(--muted);
    color: var(--muted);
}

.cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-top: 24px;
    border-bottom: 1px solid var(--border);
}

.card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid transparent;
    border-right-color: var(--border);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out;
}

.card:last-child { border-right: none; }

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(225, 0, 23, 0.25);
    border-color: var(--red);
}

.card__thumb {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
}

.card__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease-out;
}

.card:hover .card__thumb-img {
    transform: scale(1.05);
}

.card__thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 60%, rgba(225,0,23,0.18) 0%, transparent 65%),
                linear-gradient(180deg, #1c0006 0%, #060000 100%);
}

.cards-row .card:nth-child(1) .card__thumb::before {
    background: radial-gradient(ellipse at 72% 35%, rgba(225,0,23,0.22) 0%, transparent 58%),
                linear-gradient(135deg, #1e0004 0%, #050000 100%);
}

.cards-row .card:nth-child(2) .card__thumb::before {
    background: radial-gradient(ellipse at 32% 68%, rgba(225,0,23,0.18) 0%, transparent 55%),
                linear-gradient(225deg, #1a0005 0%, #040000 100%);
}

.cards-row .card:nth-child(3) .card__thumb::before {
    background: radial-gradient(ellipse at 62% 28%, rgba(225,0,23,0.15) 0%, transparent 70%),
                linear-gradient(160deg, #140003 0%, #050000 100%);
}

.card__body {
    padding: 14px 16px 8px;
    flex: 1;
}

.card__category {
    font-size: var(--font-size-eyebrow);
    letter-spacing: 1.5px;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.card__title {
    font-family: sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 8px;
}

.card__desc {
    font-family: sans-serif;
    font-size: var(--font-size-descriptive);
    font-weight: 400;
    color: var(--muted);
    line-height: 1.45;
    letter-spacing: 0;
}

.card__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 12px 16px 16px;
}

.card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--red);
    color: var(--red);
    font-size: 15px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.card:hover .card__arrow {
    transform: translateX(4px);
}

.stretched-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    cursor: pointer;
}

.stretched-link:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: -2px;
}

.split-row {
    display: grid;
    border-bottom: 1px solid var(--border);
}

.split-row--3col { grid-template-columns: repeat(3, 1fr); }
.split-row--2col { grid-template-columns: repeat(2, 1fr); }

.split-cell {
    position: relative;
    overflow: hidden;
    border-right: 1px solid var(--border);
    padding: 26px 22px;
}

.split-cell:last-child { border-right: none; }

.split-cell--image {
    background: linear-gradient(180deg, #1a0500 0%, #020000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-height: 280px;
    border: 1px solid transparent;
    border-right-color: var(--border);
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out;
}

.split-cell--image:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(225, 0, 23, 0.25);
    border-color: var(--red);
}

.split-cell__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease-out;
}

.split-cell--image:hover .split-cell__media {
    transform: scale(1.05);
}

.split-cell--product {
    border: 1px solid transparent;
    border-right-color: var(--border);
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out;
}

.split-cell--product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(225, 0, 23, 0.25);
    border-color: var(--red);
}

.split-cell__thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: 16px;
}

.split-cell__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease-out;
}

.split-cell--product:hover .split-cell__thumb-img {
    transform: scale(1.05);
}

.novela-protagonista .split-cell--image {
    background: #010000;
}

.novela-protagonista .split-cell__media {
    width: 60%;
    height: 60%;
    object-fit: contain;
    background: #010000;
}

.novela-capitulos-title {
    padding: 24px 32px 0;
    margin-bottom: 0;
}

.split-cell--linked {
    border: 1px solid transparent;
    border-right-color: var(--border);
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out;
}

.split-cell--linked:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(225, 0, 23, 0.25);
    border-color: var(--red);
}

.split-cell--linked:hover .btn-red,
.split-cell--product:hover .btn-red {
    background: #b8000f;
}

.split-cell--linked:hover .btn-red__arrow,
.split-cell--product:hover .btn-red__arrow {
    transform: translateX(4px);
}

.join-form {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.join-form__input {
    flex: 1;
    min-width: 0;
    background: #0a0a0a;
    border: 1px solid #1e1e1e;
    border-radius: 30px;
    color: var(--muted);
    font-family: sans-serif;
    font-size: 12px;
    padding: 8px 14px;
    outline: none;
}

.join-form__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 8px 16px;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.join-form__btn:hover {
    background: #b8000f;
}

.community-thanks__divider {
    border: none;
    border-top: 1px solid var(--red);
    margin: 0 0 14px;
}

.sponsors__label {
    font-size: var(--font-size-eyebrow);
    letter-spacing: 1.5px;
    color: var(--dim);
    text-transform: uppercase;
    margin: 14px 0 8px;
}

.sponsors__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.sponsor {
    background: #111;
    border: 1px solid #1c1c1c;
    border-radius: 4px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.sponsor__logo-wrap {
    width: 100%;
    aspect-ratio: 3/1;
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

a.sponsor__logo-wrap {
    text-decoration: none;
}

.sponsor__logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.sponsor__tagline {
    font-family: sans-serif;
    font-size: var(--font-size-descriptive);
    color: var(--red);
    text-align: center;
}

.sponsor__cta {
    font-family: sans-serif;
    font-size: var(--font-size-descriptive);
    color: var(--red);
    text-align: center;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    transition: text-decoration 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.sponsor__cta:hover,
.sponsor__cta:focus-visible {
    text-decoration: underline;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--border);
}

.stat {
    padding: 22px 16px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.stat:last-child { border-right: none; }

.stat__value {
    font-size: 26px;
    font-family: var(--font-mono);
    color: var(--text);
}

.stat__value-icon {
    color: var(--red);
    font-size: 18px;
    margin-right: 4px;
}

.stat-flame {
    display: inline-flex;
    align-items: flex-end;
    margin-right: 4px;
    transform: translateY(2px);
}

.stat-flame__video {
    display: block;
    width: 16px;
    height: 20px;
    object-fit: cover;
    border-radius: 2px;
    background: var(--red);
}

.stat__label {
    font-family: sans-serif;
    font-size: var(--font-size-descriptive);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--red);
    margin-top: 5px;
}

.disclaimer-bar {
    padding: 10px 32px;
    background: #070000;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.disclaimer-bar__icon {
    color: var(--red);
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.disclaimer-bar__text {
    font-family: sans-serif;
    font-size: var(--font-size-descriptive);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.55;
    letter-spacing: 0;
}

.disclaimer-bar__text strong { color: #ffffff; }

.legal-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 48px 32px 64px;
}

.legal-page__title {
    font-size: 42px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text);
    margin-bottom: 8px;
}

.legal-page__updated {
    font-family: sans-serif;
    font-size: 13px;
    color: var(--dim);
    margin-bottom: 28px;
}

.legal-page__disclaimer-wrap {
    margin-bottom: 32px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.legal-page h2 {
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--red);
    margin: 32px 0 12px;
}

.legal-page p {
    font-family: sans-serif;
    font-size: var(--font-size-descriptive);
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal-page ul {
    margin: 4px 0 16px 20px;
}

.legal-page li {
    font-family: sans-serif;
    font-size: var(--font-size-descriptive);
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 6px;
}

.legal-page a {
    color: var(--red);
}

.legal-page a:hover {
    text-decoration: underline;
}

.site-footer {
    background: #040000;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer__brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.footer__logo-icon {
    height: 28px;
    width: auto;
    display: block;
}

.footer__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    flex: 1;
}

.footer__links a {
    font-family: sans-serif;
    font-size: var(--font-size-descriptive);
    color: var(--dim);
    text-decoration: none;
    white-space: nowrap;
    transition: text-decoration 0.15s ease, color 0.15s ease;
}

.footer__links a:hover {
    text-decoration: underline;
    color: var(--red);
}

.footer__copy {
    font-family: sans-serif;
    font-size: var(--font-size-descriptive);
    color: var(--dim);
    flex-shrink: 0;
    white-space: nowrap;
}

.street-scroll-top {
    position: fixed;
    right: 32px;
    bottom: 28px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--red);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease-out, transform 0.25s ease-out,
        border-color 0.2s ease, box-shadow 0.2s ease;
}

.street-scroll-top--visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.street-scroll-top:hover {
    transform: translateY(-4px);
    border-color: var(--red);
    box-shadow: 0 8px 24px rgba(225, 0, 23, 0.25);
}

.scroll-top-btn {
    position: fixed;
    right: 32px;
    bottom: 28px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--red);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease-out, transform 0.25s ease-out,
        border-color 0.2s ease, box-shadow 0.2s ease;
}

.scroll-top-btn--visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.scroll-top-btn:hover {
    transform: translateY(-4px);
    border-color: var(--red);
    box-shadow: 0 8px 24px rgba(225, 0, 23, 0.25);
}

.street-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translate(-50%, 8px);
    background: var(--card-bg);
    border: 1px solid var(--red);
    border-radius: 8px;
    padding: 10px 20px;
    font-family: sans-serif;
    font-size: 13px;
    color: var(--text);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease-out, transform 0.25s ease-out, visibility 0.25s;
}

.street-toast--visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translate(-50%, 8px);
    background: var(--card-bg);
    border: 1px solid var(--red);
    border-radius: 8px;
    padding: 10px 20px;
    font-family: sans-serif;
    font-size: 13px;
    color: var(--text);
    z-index: 320;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease-out, transform 0.25s ease-out, visibility 0.25s;
}

.toast--visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 190;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.sidebar-overlay--visible {
    opacity: 1;
    pointer-events: auto;
}

.street-onboarding {
    max-width: 480px;
    padding: 48px 0;
}

.street-currency-choice {
    display: flex;
    gap: 16px;
    margin-bottom: 4px;
}

.street-currency-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: sans-serif;
    font-size: var(--font-size-descriptive);
    color: var(--text);
    cursor: pointer;
}

.street-header {
    border-bottom: 1px solid var(--border);
}

.street-header .stat__label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    letter-spacing: 1.5px;
    color: var(--red);
    margin-top: 0;
    margin-bottom: 5px;
}

.street-header .stat__value {
    font-family: var(--font-mono);
    letter-spacing: -0.5px;
    overflow-wrap: anywhere;
}

.street-ticker {
    border-bottom: 1px solid var(--border);
    background: var(--card-bg);
    overflow: hidden;
}

.street-ticker__track {
    display: flex;
    width: max-content;
    animation-name: street-ticker-scroll;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.street-ticker__seq {
    display: flex;
    flex-shrink: 0;
}

@keyframes street-ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .street-ticker__track {
        animation: none;
    }
}

.street-ticker__item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 10px 18px;
    border-right: 1px solid var(--border);
    white-space: nowrap;
}

.street-ticker__ticker {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text);
    font-weight: bold;
}

.street-ticker__price {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--muted);
}

.street-ticker__change {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: bold;
}

.street-ticker__change--up { color: var(--color-gain); }
.street-ticker__change--down { color: var(--red); }

.street-search {
    width: 100%;
    max-width: 420px;
}

.modal--wide {
    max-width: 560px;
}

.street-modal-header {
    margin-bottom: 4px;
}

.street-modal-header__ticker {
    margin-bottom: 0;
}

.street-modal-header__name {
    font-family: sans-serif;
    font-size: 13px;
    color: var(--muted);
    margin-top: -4px;
}

.street-modal-header__price {
    font-family: var(--font-mono);
    font-size: 32px;
    color: var(--text);
    margin-top: 12px;
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.street-modal-header__change {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: bold;
}

.street-modal-header__change--up { color: var(--color-gain); }
.street-modal-header__change--down { color: var(--red); }

.street-chart {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 16px 0;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.street-trade-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.street-trade-btn {
    flex: 1;
    justify-content: center;
    width: auto;
    margin-top: 0;
}

.street-trade-btn--preset {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.street-opa-preview,
.street-opa-result {
    margin-top: 16px;
}

.modal--gestion {
    max-width: 1760px;
}

.street-gestion-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 1vw, 22px);
    margin-top: 16px;
    align-items: stretch;
}

.street-gestion-block {
    background: var(--card-bg);
    border: 1px solid var(--red);
    border-radius: 10px;
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
}

.street-gestion-grid .street-gestion-block {
    padding: clamp(10px, 0.9vw, 18px) clamp(12px, 1vw, 20px) clamp(12px, 1vw, 20px);
}

.street-gestion-block__title {
    font-size: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--red);
    margin-bottom: 16px;
}

.street-gestion-grid .street-gestion-block__title {
    font-size: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.street-gestion-grid .modal__label:not(:first-child) {
    margin-top: 10px;
}

.street-gestion-grid .street-opa-preview,
.street-gestion-grid .street-opa-result {
    margin-top: 6px;
}

.street-gestion-grid .street-metric-list .street-metric-row__label {
    font-size: 12.5px;
}

.street-gestion-grid .street-metric-row,
.street-gestion-grid .street-metric-list .street-metric-row {
    padding: 3px 0;
    gap: 8px;
}

.street-gestion-grid .btn-red {
    font-size: 13px;
    padding: 6px 12px 6px 14px;
    gap: 6px;
}

.street-gestion-grid .btn-red__arrow {
    width: 20px;
    height: 20px;
    font-size: 11px;
}

.street-gestion-grid .street-gestion-block .modal__submit:last-of-type {
    padding-top: 8px;
}

.street-gestion-grid .modal__input {
    padding: 7px 10px;
}

.street-gestion-lead--placeholder {
    visibility: hidden;
}

#streetGestionFormFields {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.street-gestion-block .modal__submit:last-of-type {
    margin-top: auto;
    padding-top: 16px;
}

.street-gestion-block .modal__input {
    width: 100%;
    box-sizing: border-box;
    border-bottom: 2px solid var(--red);
}

.street-gestion-company-name {
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text);
    margin-bottom: 4px;
}

.street-gestion-block--standalone {
    margin-top: 20px;
}

.street-gestion-split-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.street-gestion-split-col:first-child {
    border-right: 1px solid var(--border);
    padding-right: 24px;
}

.info-tip {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.info-tip__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 15px;
    line-height: 1;
    cursor: help;
}

.info-tip__text {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    background: var(--card-bg);
    border: 1px solid var(--red);
    border-radius: 8px;
    color: var(--text);
    font-family: sans-serif;
    font-size: 11.5px;
    line-height: 1.4;
    padding: 8px 10px;
    text-align: left;
    z-index: 10;
    pointer-events: none;
}

.info-tip:hover .info-tip__text,
.info-tip:focus .info-tip__text,
.info-tip:focus-within .info-tip__text {
    display: block;
}

.street-gestion-tabs .info-tip__text {
    left: auto;
    right: 0;
    transform: none;
}

.street-gestion-tabs .info-tip {
    margin-left: auto;
}

.street-gestion-tabs {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding-bottom: 4px;
}

.street-gestion-tab {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 20px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--muted);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.street-gestion-tab:hover {
    border-color: var(--red);
    color: var(--red);
}

.street-gestion-tab--active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.street-gestion-tab--active:hover {
    background: #b8000f;
    border-color: #b8000f;
    color: #fff;
}

#streetGestionSubsidiariesTable {
    overflow-x: auto;
}

.street-subsidiaries-list {
    display: flex;
    flex-direction: column;
    margin-top: 0;
}

.street-subsidiary-head,
.street-subsidiary-row {
    display: grid;
    grid-template-columns: minmax(150px, 1.2fr) 150px 100px 110px 110px 70px 90px;
    gap: 10px 14px;
    align-items: center;
    min-width: 780px;
}

.street-subsidiary-head {
    margin-top: 12px;
    padding: 4px 4px 8px;
    font-family: sans-serif;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--red);
    border-bottom: 1px solid var(--border);
}

.street-subsidiary-head > *:nth-child(3),
.street-subsidiary-head > *:nth-child(4),
.street-subsidiary-head > *:nth-child(5) {
    text-align: right;
}

.street-subsidiary-head > *:nth-child(6),
.street-subsidiary-head > *:nth-child(7) {
    text-align: center;
}

.street-subsidiary-row {
    padding: 10px 4px;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 15px;
    color: var(--text);
}

.street-subsidiary-row__name {
    font-family: sans-serif;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.street-subsidiary-row__name strong {
    color: var(--text);
    font-weight: bold;
}

.street-subsidiary-row__badge {
    font-family: sans-serif;
    font-size: 10.5px;
    font-weight: bold;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-align: center;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: normal;
    box-sizing: border-box;
    width: 100%;
    line-height: 1.3;
}

.street-subsidiary-row__badge--subsidiary {
    background: var(--red);
    color: #fff;
}

.street-subsidiary-row__badge--minority {
    background: transparent;
    border: 1px solid var(--muted);
    color: var(--muted);
}

.street-subsidiary-row__percent,
.street-subsidiary-row__cost,
.street-subsidiary-row__value {
    text-align: right;
}

.street-subsidiary-row__divest-btn {
    padding: 8px 12px;
    white-space: nowrap;
}

.street-subsidiaries-acquire-form {
    margin-top: 20px;
    max-width: 420px;
}

.street-dashboard {
    display: grid;
    grid-template-columns: 340px 1fr 360px;
    grid-template-rows: auto 1fr;
    gap: 20px;
    margin-top: 24px;
}

.street-dashboard__selector {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.street-dashboard__leftbottom {
    grid-column: 1;
    grid-row: 2;
}

.street-dashboard__operations { grid-column: 2; grid-row: 1; align-self: start; }
.street-dashboard__quickaccess { grid-column: 2; grid-row: 2; }

.street-dashboard__watchlist {
    grid-column: 3;
    grid-row: 1 / span 2;
}

.street-panel {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 18px 18px;
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out;
}

.street-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(225, 0, 23, 0.25);
    border-color: var(--red);
}

.street-panel .card__category {
    font-size: 20px;
    margin-bottom: 12px;
}

.street-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.street-panel__header .card__category {
    margin-bottom: 0;
}

.street-panel__header-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.street-combobox {
    position: relative;
    margin-bottom: 16px;
}

.street-combobox__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #0a0a0a;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: sans-serif;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s ease;
}

.street-combobox__trigger:hover,
.street-combobox__trigger[aria-expanded="true"] {
    border-color: var(--red);
}

.street-combobox__trigger-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.street-combobox__trigger-arrow {
    flex-shrink: 0;
    color: var(--muted);
    font-size: 11px;
    transition: transform 0.15s ease;
}

.street-combobox__trigger[aria-expanded="true"] .street-combobox__trigger-arrow {
    transform: rotate(180deg);
}

.street-combobox__panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 320px;
    overflow-y: auto;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 0;
    z-index: 40;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.street-combobox__sector {
    font-family: sans-serif;
    font-weight: bold;
    font-size: 15.6px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--red);
    padding: 10px 14px 4px;
}

.street-combobox__sector:first-child {
    padding-top: 6px;
}

.street-combobox__subsector {
    font-family: sans-serif;
    font-weight: normal;
    font-size: 14.3px;
    color: var(--red);
    padding: 4px 14px 2px 20px;
}

.street-combobox__option {
    font-family: sans-serif;
    font-size: 13px;
    color: var(--text);
    padding: 7px 14px 7px 28px;
    cursor: pointer;
    outline: none;
}

.street-combobox__option:hover,
.street-combobox__option--focused {
    background: #1c1c1c;
}

.street-combobox__option--selected {
    font-weight: bold;
}

.street-selected__top {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.street-selected__ticker {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: bold;
    color: var(--text);
}

.street-selected__price {
    font-family: var(--font-mono);
    font-size: 18px;
    color: var(--text);
}

.street-selected__change {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: bold;
    color: var(--muted);
}

.street-selected__change--up { color: var(--color-gain); }
.street-selected__change--down { color: var(--red); }

.street-selected__name {
    font-family: sans-serif;
    font-size: 13px;
    color: var(--muted);
    margin-top: 2px;
    margin-bottom: 14px;
}

.street-link-btn {
    display: block;
    background: none;
    border: none;
    padding: 0;
    margin-bottom: 14px;
    font-family: sans-serif;
    font-size: 12.5px;
    color: var(--red);
    text-decoration: none;
    cursor: pointer;
    transition: text-decoration 0.15s ease;
}

.street-link-btn:hover {
    text-decoration: underline;
}

.street-link-btn[hidden] {
    display: none;
}

.street-selected__meta {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border);
    padding-top: 4px;
}

.street-selected .street-link-btn,
.street-selected__meta .street-metric-row__label,
.street-selected__meta .street-metric-row__value {
    font-size: 16.25px;
}

.street-selected__meta .street-metric-row__value {
    white-space: normal;
    overflow-wrap: break-word;
    min-width: 0;
    text-align: right;
}

.street-metric-list {
    display: flex;
    flex-direction: column;
}

.street-metric-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
}

.street-metric-list[hidden],
.street-metric-row[hidden] {
    display: none;
}

.street-metric-row + .street-metric-row {
    border-top: 1px solid var(--border);
}

.street-metric-row.street-metric-row--no-border-top {
    border-top: none;
}

.street-metric-row__label {
    font-family: sans-serif;
    font-size: 12.5px;
    color: var(--muted);
}

.street-metric-list .street-metric-row__label {
    font-size: 16.25px;
}

.street-metric-list .street-metric-row {
    padding: 9px 0;
}

.street-metric-row__value {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text);
    white-space: nowrap;
}

.street-metric-row__value--up { color: var(--color-gain); }
.street-metric-row__value--down { color: var(--red); }

.street-index-label {
    color: var(--text);
}

.street-index-value-group {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.street-metric-row--total .street-metric-row__label,
.street-metric-row--total .street-metric-row__value {
    font-weight: bold;
    color: var(--text);
}

.street-metric-row--muted .street-metric-row__label,
.street-metric-row--muted .street-metric-row__value {
    color: var(--dim);
}

.street-ops-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.street-ops-btn {
    justify-content: center;
    width: 100%;
    text-align: center;
    padding: 12px 10px;
}

.street-ops-btn--disabled {
    background: #2a2a2a;
    color: var(--dim);
    cursor: not-allowed;
}

.street-ops-btn--disabled:hover {
    background: #2a2a2a;
}

.street-quicklinks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.street-quicklinks[hidden] {
    display: none;
}

.street-quicklink {
    justify-content: center;
    width: 100%;
}

.street-quickview__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.street-quickview__label {
    font-family: sans-serif;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
}

.street-quick-portfolio-scroll {
    overflow-x: auto;
}

.street-quick-portfolio-head,
.street-quick-portfolio-row {
    display: grid;
    grid-template-columns: 280px 64px 110px 130px 160px 150px minmax(230px, 1fr);
    gap: 10px 24px;
    align-items: center;
}

.street-quick-portfolio-head {
    padding: 4px 4px 8px;
    font-family: sans-serif;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--red);
    border-bottom: 1px solid var(--border);
}

.street-quick-portfolio-head > * {
    white-space: nowrap;
}

.street-quick-portfolio-head--right {
    text-align: right;
}

.street-quick-portfolio-list {
    display: flex;
    flex-direction: column;
}

.street-quick-portfolio-row {
    padding: 8px 4px;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 16.25px;
    color: var(--text);
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.street-quick-portfolio-row:hover {
    background-color: #1c1c1c;
}

.street-quick-portfolio-row__name {
    font-family: sans-serif;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.street-quick-portfolio-row__ticker {
    font-weight: bold;
}

.street-quick-portfolio-row__shares,
.street-quick-portfolio-row__avg,
.street-quick-portfolio-row__current,
.street-quick-portfolio-row__pnl,
.street-quick-portfolio-row__dividends {
    text-align: right;
    white-space: nowrap;
}

.street-quick-portfolio-row__current {
    margin-right: 24px;
}

.street-quick-portfolio-head > *:nth-child(5) {
    margin-right: 24px;
}

.street-quick-portfolio-row__pnl--up { color: var(--color-gain); }
.street-quick-portfolio-row__pnl--down { color: var(--red); }

.street-quick-portfolio-row__dividends--gain { color: var(--color-gain); }

.street-quick-portfolio-row__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.street-quick-portfolio-row__action-btn {
    padding: 6px 12px;
    white-space: nowrap;
}

.street-quick-portfolio-row__action-btn:disabled {
    background: #2a2a2a;
    color: var(--dim);
    cursor: not-allowed;
}


.street-loan-slider {
    width: 100%;
    accent-color: var(--red);
    background: var(--card-bg);
    margin-top: 6px;
}

.street-loan-slider:disabled {
    accent-color: var(--dim);
    cursor: not-allowed;
}

.street-loan-card {
    margin-top: 12px;
}

.street-loan-card .modal__input {
    margin-top: 10px;
}

.street-loan-card .modal__submit {
    margin-top: 10px;
}

.street-bond-card {
    margin-top: 12px;
}

.street-bond-card .modal__hint {
    margin-top: 8px;
}

.street-bond-card .modal__submit {
    margin-top: 10px;
}

.modal--reports {
    max-width: 900px;
}

.modal--rankings {
    max-width: 900px;
    background: #010000;
}

.modal--rankings .street-file-section-title {
    font-size: 20px;
}

.street-reports-table {
    overflow-x: visible;
}

.street-reports-company-name {
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--red);
    margin-bottom: 16px;
}

.street-reports-head,
.street-reports-row {
    display: grid;
    grid-template-columns: 70px 90px 110px 90px 140px 110px 110px minmax(60px, 1fr);
    gap: 8px 18px;
    align-items: center;
    text-align: center;
}

.street-reports-head {
    padding: 4px 4px 8px;
    font-family: sans-serif;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--red);
    border-bottom: 1px solid var(--border);
}

.street-reports-head > * {
    white-space: nowrap;
}

.street-reports-list {
    display: flex;
    flex-direction: column;
}

.street-reports-row {
    padding: 8px 4px;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 16.25px;
    color: var(--text);
}

.street-reports-row > * {
    white-space: nowrap;
}

.street-reports-row__profit--up { color: var(--color-gain); }
.street-reports-row__profit--down { color: var(--red); }

.street-reports-row__rating--up { color: var(--color-gain); }
.street-reports-row__rating--down { color: var(--red); }

.street-reports-empty {
    text-align: center;
    padding: 24px 0;
}

.street-quick-search-results {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 10px;
    max-height: 260px;
    overflow-y: auto;
}

.street-quick-search-result {
    display: grid;
    grid-template-columns: 56px 1fr 76px;
    gap: 8px;
    align-items: center;
    width: 100%;
    text-align: left;
    background: #0a0a0a;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 10px;
    transition: border-color 0.15s ease;
}

.street-quick-search-result:hover {
    border-color: var(--red);
}

.street-quick-search-result__ticker {
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: bold;
    color: var(--text);
}

.street-quick-search-result__name {
    font-family: sans-serif;
    font-size: 12px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.street-quick-search-result__price {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--text);
    text-align: right;
    white-space: nowrap;
}

.street-file-compact {
    max-width: 300px;
}

.street-file-identity {
    margin-bottom: 14px;
}

.street-file-identity__name {
    font-size: 26px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--red);
    margin-bottom: 6px;
    line-height: 1.05;
}

.street-file-identity .street-selected__top {
    margin-bottom: 8px;
}

.street-file-section-title {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--red);
    margin: 18px 0 8px;
}

.street-file-reports.street-reports-table .street-reports-head,
.street-file-reports.street-reports-table .street-reports-row {
    grid-template-columns: 34px 40px 56px 48px 60px 50px 50px 34px;
    gap: 4px 6px;
    min-width: 0;
}

.street-file-reports .street-reports-head {
    font-size: 10px;
    padding: 4px 2px 6px;
}

.street-file-reports .street-reports-head > * {
    white-space: normal;
    line-height: 1.15;
}

.street-file-reports .street-reports-row {
    font-size: 12px;
    padding: 6px 2px;
}

.street-file-holdings-head {
    display: grid;
    grid-template-columns: 56px 1fr auto 64px;
    gap: 8px;
    padding: 4px 10px 6px;
    font-family: sans-serif;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--red);
    border-bottom: 1px solid var(--border);
}

.street-file-holdings-head > *:first-child {
    grid-column: 1 / 3;
}

.street-file-holdings-head > *:last-child {
    text-align: right;
}

.street-file-holdings-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 8px 0 4px;
}

.street-file-holding-row {
    display: grid;
    grid-template-columns: 56px 1fr auto 64px;
    gap: 8px;
    align-items: center;
    background: #0a0a0a;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 10px;
}

.street-file-holding-row__percent {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--text);
    text-align: right;
    white-space: nowrap;
}

.street-file-chart {
    max-height: 240px;
}

.street-panel--watchlist {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.street-watch-search {
    margin-bottom: 12px;
}

.street-watch-search__results {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
    max-height: 220px;
    overflow-y: auto;
}

.street-watch-search__result {
    text-align: left;
    background: #0a0a0a;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 10px;
    font-family: sans-serif;
    font-size: 12.5px;
    color: var(--text);
    transition: border-color 0.15s ease;
}

.street-watch-search__result:hover {
    border-color: var(--red);
}

.street-watch-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.street-watch-row {
    display: grid;
    grid-template-columns: 56px 1fr 88px 68px;
    align-items: center;
    gap: 8px;
    padding: 9px 4px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}

.street-watch-row__ticker {
    font-family: var(--font-mono);
    font-size: 16.25px;
    font-weight: bold;
    color: var(--text);
}

.street-watch-row__name {
    font-family: sans-serif;
    font-size: 16.25px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.street-watch-row__price {
    font-family: var(--font-mono);
    font-size: 16.25px;
    color: var(--text);
    text-align: right;
    white-space: nowrap;
}

.street-watch-row__change {
    font-family: var(--font-mono);
    font-size: 16.25px;
    font-weight: bold;
    text-align: right;
    white-space: nowrap;
}

.street-watch-row__change--up { color: var(--color-gain); }
.street-watch-row__change--down { color: var(--red); }

.street-news-panel {
    margin-top: 20px;
}

.street-news-panel__row {
    padding: 2px 0;
    font-family: sans-serif;
    font-size: 16.25px;
    color: var(--dim);
}

.street-news-ticker {
    overflow: hidden;
}

.street-news-ticker__track {
    display: flex;
    width: max-content;
    animation-name: street-ticker-scroll;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.street-news-ticker__seq {
    display: flex;
    flex-shrink: 0;
}

.street-news-ticker__item {
    font-family: sans-serif;
    font-size: 16.25px;
    color: var(--text);
    white-space: nowrap;
    padding: 2px 0;
    margin-right: 216px;
}

.street-news-ticker__item--up { color: var(--color-gain); }
.street-news-ticker__item--down { color: var(--red); }

@media (prefers-reduced-motion: reduce) {
    .street-news-ticker__track {
        animation: none;
    }
}

.street-news-banner {
    position: fixed;
    top: calc(var(--street-topbar-h) + 24px);
    left: 50%;
    z-index: 280;
    max-width: 90vw;
    padding: 28px 56px;
    border-radius: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -12px) scale(0.9);
}

.street-news-banner__text {
    position: relative;
    z-index: 1;
    font-family: sans-serif;
    font-size: 48.75px;
    line-height: 1.15;
    color: var(--text);
    white-space: normal;
}

.street-news-banner--flash {
    visibility: visible;
    pointer-events: none;
    animation:
        street-news-banner-pop 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards,
        street-news-banner-flash-bg 1.4s ease-out forwards;
}

.street-news-banner--flash .street-news-banner__sparkles span {
    animation: street-news-sparkle 1s ease-out forwards;
}

@keyframes street-news-banner-pop {
    0%   { opacity: 0; transform: translate(-50%, -12px) scale(0.85); }
    18%  { opacity: 1; transform: translate(-50%, 0) scale(1.06); }
    45%  { transform: translate(-50%, 0) scale(0.99); }
    100% { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

@keyframes street-news-banner-flash-bg {
    0%   { background-color: var(--red); box-shadow: 0 0 70px 14px rgba(225, 0, 23, 0.65); border-color: var(--red); }
    40%  { background-color: var(--red); box-shadow: 0 0 70px 14px rgba(225, 0, 23, 0.65); border-color: var(--red); }
    100% { background-color: var(--card-bg); box-shadow: 0 0 0 0 rgba(225, 0, 23, 0); border-color: var(--border); }
}

.street-news-banner__sparkles {
    position: absolute;
    inset: 0;
    overflow: visible;
    pointer-events: none;
}

.street-news-banner__sparkles span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    opacity: 0;
    background: #fff;
    transform: translate(-50%, -50%) rotate(45deg) scale(0);
}

.street-news-banner__sparkles span:nth-child(1) { top: 8%;  left: 12%; background: #fff; animation-delay: 0s; }
.street-news-banner__sparkles span:nth-child(2) { top: 15%; left: 85%; background: var(--red); animation-delay: 0.08s; }
.street-news-banner__sparkles span:nth-child(3) { top: 85%; left: 90%; background: #fff; animation-delay: 0.16s; }
.street-news-banner__sparkles span:nth-child(4) { top: 90%; left: 8%;  background: var(--red); animation-delay: 0.05s; }
.street-news-banner__sparkles span:nth-child(5) { top: 50%; left: -4%; background: #fff; animation-delay: 0.22s; }
.street-news-banner__sparkles span:nth-child(6) { top: 50%; left: 104%; background: var(--red); animation-delay: 0.12s; }
.street-news-banner__sparkles span:nth-child(7) { top: -6%; left: 50%; background: #fff; animation-delay: 0.18s; }
.street-news-banner__sparkles span:nth-child(8) { top: 106%; left: 55%; background: var(--red); animation-delay: 0.28s; }

@keyframes street-news-sparkle {
    0%   { opacity: 0; transform: translate(-50%, -50%) rotate(45deg) scale(0); }
    35%  { opacity: 1; transform: translate(-50%, -50%) rotate(135deg) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) rotate(225deg) scale(0.3); }
}

.street-news-banner--fading {
    transition: opacity 0.6s ease-in, transform 0.6s ease-in;
    opacity: 0;
    transform: translate(-50%, -12px) scale(0.96);
}

@media (prefers-reduced-motion: reduce) {
    .street-news-banner--flash {
        animation: none;
        visibility: visible;
        opacity: 1;
        background: var(--card-bg);
        transform: translate(-50%, 0) scale(1);
    }

    .street-news-banner--flash .street-news-banner__sparkles span {
        animation: none;
        opacity: 0;
    }
}

.street-ranking-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.street-ranking-row {
    display: grid;
    grid-template-columns: 56px 1fr 80px;
    gap: 8px;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
}

.street-ranking-row__ticker {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: bold;
    color: var(--text);
}

.street-ranking-row__name {
    font-family: sans-serif;
    font-size: 12.5px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.street-ranking-row__change {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: bold;
    text-align: right;
}

.street-ranking-row__change--up { color: var(--color-gain); }
.street-ranking-row__change--down { color: var(--red); }

.street-ranking-head,
.street-ranking-row--position {
    grid-template-columns: 28px 76px minmax(0, 1fr) 165px 178px;
}

.street-ranking-head {
    display: grid;
    gap: 8px;
    padding: 0 0 6px;
    font-family: sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--red);
    border-bottom: 1px solid var(--border);
}

.street-ranking-row__position {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--dim);
}

.street-ranking-row__value {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: bold;
    text-align: right;
    color: var(--text);
}

.street-ranking-row__actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.street-gate {
    display: none;
    max-width: 480px;
    padding: 48px 0;
}

.street-gate__title {
    font-size: 40px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--red);
    margin: 10px 0 14px;
}

.street-gate__text {
    font-family: sans-serif;
    font-size: var(--font-size-descriptive);
    font-weight: 400;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 28px;
}

.street-page .street-topbar {
    display: none;
}

.street-page .street-topbar__logo {
    height: 34px;
    width: auto;
    display: block;
}

.street-page .street-topbar__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

@media (min-width: 1280px) {
    .street-page .sidebar,
    .street-page .sidebar-overlay,
    .street-page .site-header {
        display: none;
    }

    .street-page .main-content {
        margin-left: 0;
        padding-top: var(--street-topbar-h);
    }

    .street-page .street-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: var(--street-topbar-h);
        padding: 0 28px;
        background: #080000;
        border-bottom: 1px solid var(--border);
        z-index: 250;
    }
}

@media (max-width: 1279px) {
    .street-page #streetOnboarding,
    .street-page #streetGame,
    .street-page #streetCompanyModalOverlay {
        display: none !important;
    }

    .street-page .street-gate {
        display: block;
    }
}

@media (max-width: 1024px) {
    .sidebar {
        width: 240px;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
    }

    .sidebar--open {
        transform: translateX(0);
    }

    .sidebar-overlay {
        display: block;
    }

    .site-header {
        left: 0;
    }

    .main-content {
        margin-left: 0;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    body.nav-open {
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
        padding: 32px 20px;
        gap: 24px;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__title {
        font-size: 36px;
    }

    .hero__art {
        flex: none;
        align-self: stretch;
        width: 100%;
        aspect-ratio: 16/9;
        border-radius: 10px;
    }

    .novela-chapter-hero {
        min-height: 220px;
    }

    .novela-chapter-hero__content {
        padding: 32px 20px;
    }

    .novela-capitulos-title {
        padding: 20px 20px 0;
    }

    .cards-row {
        padding-top: 20px;
        grid-template-columns: 1fr;
    }

    .card {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .card:last-child {
        border-bottom: none;
    }

    .split-row--3col,
    .split-row--2col {
        grid-template-columns: 1fr;
    }

    .split-cell {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 22px 20px;
    }

    .split-cell:last-child {
        border-bottom: none;
    }

    .split-cell--image {
        min-height: 200px;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .stat:nth-child(2n) {
        border-right: none;
    }

    .disclaimer-bar {
        padding: 10px 20px;
    }

    .site-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 20px;
    }

    .footer__links {
        justify-content: center;
    }

    .street-onboarding {
        padding: 32px 0;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 0 14px;
    }

    .header__left {
        gap: 8px;
    }

    .header__logo-icon {
        height: 26px;
    }

    .header__actions {
        gap: 8px;
    }

    .header-flag {
        display: none;
    }

    .header__actions .btn-red {
        font-size: 13px;
        letter-spacing: 0.4px;
        padding: 7px 12px;
        border-radius: 8px;
    }

    .points-badge {
        font-size: 13px;
    }

    .points-badge__flame video {
        width: 13px;
        height: 13px;
    }

    .hero__title {
        font-size: 28px;
    }

    .hero__subtitle {
        font-size: 13px;
    }

    .btn-red {
        font-size: 15px;
        padding: 9px 16px 9px 18px;
    }

    .stats-bar {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: none !important;
        border-bottom: 1px solid var(--border);
    }

    .stat:last-child {
        border-bottom: none;
    }

    .join-form {
        flex-direction: column;
    }

    .join-form__btn {
        width: 100%;
        justify-content: center;
    }

    .modal {
        padding: 26px 20px 22px;
    }

    .modal__title {
        font-size: 26px;
    }

    .street-onboarding {
        padding: 24px 0;
    }

    .street-currency-choice {
        flex-direction: column;
        gap: 10px;
    }

    .street-trade-actions {
        gap: 12px;
    }

    .street-header .stat__value {
        font-size: 19px;
    }

    .street-ticker__item {
        padding: 8px 14px;
    }

    .street-modal-header__price {
        font-size: 24px;
    }
}

.novela-chapter-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    background-color: var(--bg);
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.novela-chapter-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(1, 0, 0, 0.35) 0%, rgba(1, 0, 0, 0.8) 70%, var(--bg) 100%);
}

.novela-chapter-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 48px 32px;
}

.novela-chapter-hero__content .legal-page__title,
.novela-chapter-hero__content .card__category {
    margin-bottom: 0;
}

.novela-chapter-hero__content .card__category {
    margin-bottom: 8px;
}

.legal-page a.btn-red {
    color: #fff;
}

.novela-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 32px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}

.novela-tabs__btn {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--muted);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 15px;
    letter-spacing: 0.5px;
    padding: 8px 18px;
    transition: border-color 0.2s ease, color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .novela-tabs__btn:hover {
        border-color: var(--red);
        color: var(--red);
    }
}

.novela-tabs__btn--active,
.novela-tabs__btn:active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.novela-acto__title {
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--red);
    margin: 32px 0 12px;
}

.novela-reader__figure {
    margin: 28px 0;
    border-radius: 12px;
    overflow: hidden;
}

.novela-reader__img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.novela-reader__next {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    background: none;
    border: none;
    color: var(--red);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.novela-reader__next:hover {
    text-decoration: underline;
}

.novela-reader__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.btn-neutral[aria-disabled="true"] {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .novela-reader__nav {
        flex-direction: column;
        align-items: stretch;
    }
}

.compras-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center 22%;
    border-bottom: 1px solid var(--border);
    padding: 56px 48px;
    overflow: hidden;
}

.compras-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(1, 0, 0, 0.1) 0%, rgba(1, 0, 0, 0.6) 65%, var(--bg) 100%);
}

.compras-hero__content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.compras-badge {
    display: inline-block;
    font-family: sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--red);
    border: 1px solid var(--red);
    border-radius: 20px;
    padding: 5px 12px;
    margin-bottom: 16px;
}

.compras-section {
    padding: 56px 48px;
    border-bottom: 1px solid var(--border);
}

.compras-gallery + .compras-gallery {
    margin-top: 32px;
}

.compras-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.compras-gallery__item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border: 1px solid transparent;
    transition: transform 0.25s ease-out, border-color 0.25s ease-out, box-shadow 0.25s ease-out;
}

.compras-gallery__item:hover {
    transform: translateY(-4px);
    border-color: var(--red);
    box-shadow: 0 8px 24px rgba(225, 0, 23, 0.25);
}

.compras-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease-out;
}

.compras-gallery__item:hover .compras-gallery__img {
    transform: scale(1.05);
}

.compras-details__desc p {
    font-family: sans-serif;
    font-size: var(--font-size-descriptive);
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 14px;
}

.compras-details__sizes {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.compras-size {
    font-family: sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 14px;
}

.compras-price-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
}

.compras-price-card:not(.compras-nft-card) {
    padding: 14px;
}

.compras-price-card__amount {
    font-size: 40px;
    line-height: 1;
    color: var(--red);
    margin-bottom: 4px;
}

.compras-price-card__vat {
    font-family: sans-serif;
    font-size: 13px;
    color: var(--dim);
    margin-bottom: 14px;
}

.compras-highlights {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
    align-items: center;
}

.compras-nft-card__img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: var(--bg);
    border-radius: 8px;
    display: block;
    margin: 8px 0 16px;
}

.compras-nft-card__title {
    font-size: 30px;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 10px;
}

.compras-form-wrap {
    max-width: 480px;
    margin: 0 auto;
}

.compras-form-wrap .modal__hint {
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .compras-hero {
        min-height: 400px;
        padding: 40px 32px;
    }

    .compras-section {
        padding: 40px 32px;
    }

    .compras-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .compras-highlights {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .compras-hero {
        min-height: auto;
        padding: 32px 20px;
    }

    .compras-section {
        padding: 32px 20px;
    }

    .compras-price-card__amount {
        font-size: 32px;
    }

    .compras-nft-card__title {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .compras-gallery {
        grid-template-columns: 1fr;
    }

    .compras-details__sizes {
        flex-wrap: wrap;
    }
}

.comunidad-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 40px 32px;
    border-bottom: 1px solid var(--border);
}

.comunidad-hero__text {
    max-width: 560px;
}

.comunidad-saldo-card {
    flex-shrink: 0;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 24px;
    text-align: right;
    min-width: 220px;
}

.comunidad-saldo-card__label {
    font-family: sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin-bottom: 6px;
}

.comunidad-saldo-card__valor {
    font-family: var(--font-mono);
    font-size: 32px;
    color: var(--color-token);
    line-height: 1;
}

.comunidad-saldo-card__valor span {
    font-family: sans-serif;
    font-size: 13px;
    color: var(--muted);
}

.comunidad-saldo-card__cta {
    font-family: sans-serif;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 12px;
    max-width: 220px;
}

.comunidad-tabs {
    display: flex;
    gap: 4px;
    padding: 16px 32px 0;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.comunidad-tab {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    letter-spacing: 0.5px;
    color: var(--muted);
    text-decoration: none;
    padding: 10px 16px;
    border-bottom: 3px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.comunidad-tab:hover {
    color: var(--text);
}

.comunidad-tab--active {
    color: var(--red);
    border-bottom-color: var(--red);
}

.comunidad-tab--ranking {
    margin-left: auto;
}

.comunidad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 24px 32px;
}

.comunidad-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.comunidad-card--empty {
    grid-column: 1 / -1;
}

.comunidad-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 0;
}

.comunidad-card__body {
    padding-top: 6px;
}

.comunidad-card__pregunta {
    font-family: sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 14px;
}

.comunidad-card__gauge-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.comunidad-card__opciones {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.comunidad-card__opcion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-family: sans-serif;
    font-size: 13px;
    color: var(--muted);
}

.comunidad-card__opcion-nombre {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.comunidad-card__opcion-pct {
    font-family: var(--font-mono);
    color: var(--color-token);
    flex-shrink: 0;
}

.comunidad-card__footer {
    justify-content: space-between;
}

.mercado-badge-live {
    font-family: sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    background: var(--red);
    border-radius: 4px;
    padding: 3px 8px;
}

.mercado-gauge {
    flex-shrink: 0;
}

.mercado-gauge__track {
    stroke: var(--border);
}

.mercado-gauge__fill {
    stroke: var(--color-token);
    stroke-linecap: round;
    transition: stroke-dashoffset 0.4s ease-out;
}

.mercado-gauge__text {
    fill: var(--text);
    font-family: var(--font-mono);
    font-size: 14px;
}

.mercado-volumen {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--red);
    font-size: 13px;
}

.mercado-volumen__flame video {
    display: block;
    width: 14px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    background: var(--red);
}

.mercado-volumen__cifra {
    font-family: var(--font-mono);
    font-size: 15px;
}

.mercado-detalle {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    padding: 32px;
    align-items: start;
}

.mercado-detalle__pregunta {
    font-family: sans-serif;
    font-weight: 800;
    font-size: 32px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text);
    line-height: 1.15;
    margin: 8px 0 20px;
}

.mercado-detalle__stats {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 24px;
}

.mercado-detalle__stats-text {
    font-family: sans-serif;
    font-size: 14px;
    color: var(--text);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mercado-detalle__stats-text strong {
    color: var(--muted);
    font-weight: 600;
}

.mercado-detalle__cierre {
    color: var(--muted);
    font-size: 13px;
}

.mercado-detalle__chart {
    width: 100%;
    height: 200px;
    display: block;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 28px;
}

.mercado-detalle__subtitulo {
    font-size: 22px;
    letter-spacing: 0.5px;
    color: var(--text);
    margin-bottom: 10px;
}

.mercado-detalle__reglas {
    font-family: sans-serif;
    font-size: var(--font-size-descriptive);
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 28px;
    white-space: pre-line;
}

.mercado-detalle__sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mercado-prediccion-form,
.mercado-relacionados {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
}

.mercado-relacionado-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    font-family: sans-serif;
    font-size: 13.5px;
    transition: color 0.15s ease;
}

.mercado-relacionado-item:last-child {
    border-bottom: none;
}

.mercado-relacionado-item:hover {
    color: var(--red);
}

.mercado-relacionado-item__pct {
    font-family: var(--font-mono);
    color: var(--color-token);
    flex-shrink: 0;
}

.mercado-prediccion-form .modal__checkbox input[type="radio"] {
    accent-color: var(--color-token);
}

.comunidad-ranking-table-wrap {
    padding: 8px 32px 40px;
    overflow-x: auto;
}

.comunidad-ranking-table {
    width: 100%;
    border-collapse: collapse;
    font-family: sans-serif;
    font-size: 14px;
    min-width: 480px;
}

.comunidad-ranking-table th {
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
}

.comunidad-ranking-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.comunidad-ranking-table__pct {
    font-family: var(--font-mono);
    color: var(--color-token);
}

.admin-comunidad-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.admin-comunidad-card__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.admin-comunidad-card__actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.admin-comunidad__flash {
    background: var(--card-bg);
    border: 1px solid var(--color-token);
    border-radius: 8px;
    padding: 10px 14px;
    margin: 12px 32px 0;
}

.modal__token-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0a0a0a;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    margin: 14px 0;
}

.modal__token-balance-label {
    font-family: sans-serif;
    font-size: 13px;
    color: var(--muted);
}

.modal__token-balance-value {
    font-family: var(--font-mono);
    font-size: 18px;
    color: var(--color-token);
}

@media (max-width: 1024px) {
    .comunidad-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mercado-detalle {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .comunidad-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 20px;
    }

    .comunidad-saldo-card {
        text-align: left;
        width: 100%;
    }

    .comunidad-tabs {
        padding: 12px 20px 0;
    }

    .comunidad-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .mercado-detalle {
        padding: 20px;
    }

    .mercado-detalle__pregunta {
        font-size: 24px;
    }

    .mercado-detalle__stats {
        flex-direction: column;
        align-items: flex-start;
    }

    .comunidad-ranking-table-wrap {
        padding: 8px 20px 32px;
    }

    .comunidad-ranking-table {
        min-width: 0;
        font-size: 11.5px;
        table-layout: fixed;
        width: 100%;
    }

    .comunidad-ranking-table th,
    .comunidad-ranking-table td {
        padding: 8px 3px;
        overflow-wrap: break-word;
    }

    .comunidad-ranking-table th:first-child,
    .comunidad-ranking-table td:first-child {
        width: 22px;
    }

    .admin-comunidad-card__row {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------------------------------
   Formación — catálogo, ficha de curso y tema (formacion.php)
   --------------------------------------------------------------------- */

/*
 * .formacion-contenido — único contenedor del contenido RENDERIZADO de un
 * tema (párrafos/listas/citas/quiz/reto ya convertidos desde Markdown, ver
 * includes/formacion/formacion_parser.php), usado tanto en la página
 * pública del tema (formacion.php) como en la previsualización del panel
 * de admin (admin/formacion.php) — mismo HTML, mismas clases, para que la
 * previsualización sea fiel. Deliberadamente NO depende de .legal-page
 * (que en el panel de admin ni siquiera está presente): todas las reglas
 * de aquí son autocontenidas.
 *
 * Texto de lectura: fuente de cuerpo (sans-serif genérica, igual que
 * articulo.php), NUNCA Bebas Neue — la tipografía Bebas Neue del <body>
 * (ver body{} arriba) es prácticamente unicase (la minúscula no se
 * distingue de la mayúscula), que es la causa real de que el contenido se
 * viera "en mayúsculas": no hay ningún text-transform de por medio, es la
 * propia fuente. h3 y los títulos de bloque sí son Bebas Neue a propósito
 * (son titulares, no texto de lectura).
 */
.formacion-contenido {
    max-width: 68ch;
    margin: 0 auto;
    overflow-wrap: anywhere;
}

.formacion-contenido p {
    font-family: sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--muted);
    text-transform: none;
    margin: 0 0 1em;
}

.formacion-contenido strong {
    color: var(--text);
    font-weight: 700;
}

.formacion-contenido em {
    font-style: italic;
}

.formacion-contenido code {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1px 6px;
    font-family: var(--font-mono);
    font-size: 0.85em;
    color: var(--text);
}

.formacion-contenido ul,
.formacion-contenido ol {
    margin: 0 0 1em 1.3em;
    padding: 0;
}

.formacion-contenido ul ul,
.formacion-contenido ol ul {
    margin-top: 0.4em;
    margin-bottom: 0;
}

.formacion-contenido li {
    font-family: sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--muted);
    text-transform: none;
    margin-bottom: 0.4em;
}

.formacion-contenido li::marker {
    color: var(--red);
}

.formacion-contenido h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    letter-spacing: 0.5px;
    text-transform: none;
    color: var(--text);
    margin: 1.8em 0 0.5em;
}

.formacion-contenido blockquote {
    border-left: 3px solid var(--red);
    padding: 2px 0 2px 18px;
    margin: 1.2em 0;
}

.formacion-contenido blockquote p {
    font-style: italic;
    color: var(--text);
}

/* Título de cada bloque del tema (Desarrollo, Ejemplo, Error típico...) —
 * selector con dos clases a propósito: en la página pública,
 * .formacion-contenido vive dentro de .legal-page, cuya regla ambiental
 * ".legal-page h2" (uppercase/rojo/Bebas por herencia) tiene la MISMA
 * especificidad que un simple ".formacion-contenido__bloque-titulo" y
 * podría ganarle por orden de aparición — con dos clases se gana siempre,
 * en el admin (sin .legal-page de por medio) y en la página pública.
 */
.formacion-contenido .formacion-contenido__bloque-titulo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 30px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--red);
    margin: 2.2em 0 0.7em;
}

@media (max-width: 600px) {
    .formacion-contenido p,
    .formacion-contenido li {
        font-size: 17px;
    }
}

.formacion-idea-central {
    background: var(--card-bg);
    border-left: 3px solid var(--red);
    border-radius: 6px;
    padding: 20px 24px;
    margin-bottom: 1.5em;
}

.formacion-idea-central__eyebrow {
    font-family: sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--red);
    margin-bottom: 8px;
}

.formacion-idea-central p {
    color: var(--text);
    margin-bottom: 0;
}

.formacion-temario {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 12px 0 32px;
}

.formacion-tema-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 18px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.formacion-tema-item--disponible:hover {
    border-color: var(--red);
    transform: translateY(-2px);
}

.formacion-tema-item--bloqueado {
    opacity: 0.65;
}

.formacion-tema-item__numero {
    font-family: var(--font-mono);
    font-size: 15px;
    color: var(--dim);
    min-width: 22px;
}

.formacion-tema-item__cuerpo {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.formacion-tema-item__titulo {
    font-family: sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.formacion-tema-item--disponible .formacion-tema-item__titulo {
    color: var(--red);
}

.formacion-tema-item__resumen {
    font-family: sans-serif;
    font-size: 13px;
    color: var(--muted);
}

.formacion-tema-item__meta {
    font-family: sans-serif;
    font-size: 13px;
    color: var(--dim);
    white-space: nowrap;
}

.formacion-tema-item__meta--bloqueado {
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.formacion-waitlist {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
    margin-top: 32px;
    scroll-margin-top: 24px;
}

.formacion-waitlist h2 {
    margin-top: 0;
}

.formacion-waitlist .modal__form {
    margin-top: 14px;
}

.formacion-registro-aviso {
    font-family: sans-serif;
    font-size: var(--font-size-descriptive);
    color: var(--muted);
    margin: 0 0 16px;
}

.formacion-link-registro {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--red);
    cursor: pointer;
    text-decoration: none;
}

.formacion-link-registro:hover {
    text-decoration: underline;
}

.formacion-quiz {
    /* El título "Pon a prueba lo que has aprendido" ya va justo encima,
       como .formacion-contenido__bloque-titulo (con su propio margen) —
       aquí ya no hace falta separación extra. */
    margin-top: 0;
}

.formacion-quiz__pregunta {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.formacion-quiz__enunciado {
    font-family: sans-serif;
    font-size: var(--font-size-descriptive);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.formacion-quiz__opciones {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.formacion-quiz__opcion {
    text-align: left;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: sans-serif;
    font-size: 14px;
    color: var(--text);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.formacion-quiz__opcion:not(:disabled):hover {
    border-color: var(--red);
}

/* Paleta del proyecto: negro/rojo/blanco (ver docs/DESIGN.md) — sin verde:
   --color-gain está reservado al P&L de Gosanju Street. "Correcta" se marca
   en blanco (con un check delante, ver formacion.js), "incorrecta" en rojo. */
.formacion-quiz__opcion--correcta {
    border-color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 600;
}

.formacion-quiz__opcion--incorrecta {
    border-color: var(--red);
    background: rgba(225, 0, 23, 0.12);
}

.formacion-quiz__opcion:disabled {
    cursor: default;
}

.formacion-quiz__explicacion {
    font-family: sans-serif;
    font-size: 13px;
    color: var(--muted);
    margin-top: 12px;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .formacion-tema-item {
        flex-wrap: wrap;
    }
}
