:root {
    --brand-night: #071423;
    --brand-deep: #0e2743;
    --brand-blue: #1e6aa8;
    --brand-gold: #f3bc4b;
    --brand-sand: #f4efe5;
    --brand-snow: #f6f8fb;
    --brand-line: rgba(9, 24, 43, 0.12);
    --brand-ink: #132235;
    --brand-shadow: 0 18px 50px rgba(7, 20, 35, 0.14);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
}

html {
    background: #061426;
}

html,
body {
    min-height: 100%;
}

body.site3-theme {
    min-height: 100vh;
    color: var(--brand-ink);
    font-family: 'Source Sans 3', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(30, 106, 168, 0.18), transparent 34%),
        linear-gradient(180deg, #071423 0%, #0a1d33 44%, #102946 100%);
}

h1,
h2,
h3,
h4,
h5,
h6,
.btn,
.portal-kicker,
.portal-title,
.portal-stat strong,
.portal-summary-card strong,
.site-header-nav a,
.site-footer h4,
.page-title .title {
    font-family: 'Barlow Semi Condensed', sans-serif;
}

a {
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

a:hover {
    text-decoration: none;
}

.site-main {
    padding: 0 0 48px;
}

.page-sports-home .site-main {
    flex: 1 1 auto;
    min-height: 0;
    padding-bottom: 0;
    background: #071423;
    overflow: hidden;
}

body.site3-theme.page-sports-home {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
}

html:has(body.page-sports-home) {
    overflow: hidden;
    overscroll-behavior: none;
}

.page-sports-home .site-header {
    flex: 0 0 auto;
}

.page-sports-home .site-header-main {
    position: relative;
    z-index: 2;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(9, 24, 43, 0.08);
    box-shadow: 0 10px 26px rgba(7, 20, 35, 0.10);
}

.site-header-main {
    padding: 8px 0;
}

.site-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-link img {
    max-height: 44px;
    width: auto;
    display: block;
}

.site-header-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-header-nav a {
    color: var(--brand-deep);
    font-size: 18px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.site-header-nav a:hover {
    color: var(--brand-gold);
}

.site-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-header-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 999px;
    padding: 0 16px;
    font-size: 16px;
    border-width: 1px;
    color: #fff;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.site-header-actions .btn-outline-light {
    color: #fff;
    border-color: var(--brand-deep);
    background: var(--brand-deep);
}

.site-header-actions .btn-outline-light:hover,
.site-header-actions .btn-outline-light:focus {
    color: #fff;
    border-color: #071423;
    background: #071423;
}

.site-header-actions .btn-warning {
    color: #fff;
    border-color: #115084;
    background: linear-gradient(135deg, #1e6aa8, #115084);
}

.site-header-actions .btn-warning:hover,
.site-header-actions .btn-warning:focus {
    color: #fff;
    border-color: #0d426d;
    background: linear-gradient(135deg, #115084, #0d426d);
}

.header-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(14, 39, 67, 0.06);
    color: var(--brand-deep);
    border: 1px solid rgba(14, 39, 67, 0.08);
}

.header-chip strong {
    margin-left: 6px;
    color: var(--brand-gold);
}

.site-slideshow img {
    border-radius: 24px;
    box-shadow: var(--brand-shadow);
}

.menu-mobile {
    position: fixed;
    inset: 0;
    background: rgba(7, 20, 35, 0.74);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
    z-index: 1200;
}

html.show-menu .menu-mobile {
    opacity: 1;
    pointer-events: auto;
}

.menu-mobile-dialog {
    width: min(78vw, 292px);
    height: 100vh;
    padding: 18px 16px 20px;
    background:
        radial-gradient(circle at top right, rgba(243, 188, 75, 0.18), transparent 26%),
        linear-gradient(180deg, #071423 0%, #0d2239 58%, #123252 100%);
    transform: translateX(-100%);
    transition: transform 0.24s ease;
    box-shadow: 16px 0 40px rgba(4, 12, 22, 0.36);
}

html.show-menu .menu-mobile-dialog {
    transform: translateX(0);
}

.menu-mobile-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    color: #fff;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.menu-mobile-head strong,
.menu-mobile-head span {
    display: block;
}

.menu-mobile-head strong {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 24px;
    line-height: 1;
}

.menu-mobile-head span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    margin-top: 6px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.menu-mobile-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
}

.menu-mobile-close:hover {
    background: rgba(255, 255, 255, 0.18);
}

.menu-mobile-section {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.54);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.menu-mobile-body {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

html .menu-mobile .menu-mobile-body a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

html .menu-mobile .menu-mobile-body a,
html .menu-mobile .menu-mobile-body a span {
    color: #fff !important;
}

html .menu-mobile .menu-mobile-body a:hover,
html .menu-mobile .menu-mobile-body a:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.16);
}

html .menu-mobile .menu-mobile-body a i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    color: var(--brand-gold);
    font-size: 16px;
}

html .menu-mobile .menu-mobile-body a span {
    flex: 1 1 auto;
    min-width: 0;
}

html .menu-mobile .menu-mobile-body a.text-danger {
    color: #fff !important;
    background: rgba(204, 67, 67, 0.18);
    border-color: rgba(204, 67, 67, 0.22);
}

html .menu-mobile .menu-mobile-body a.text-danger i {
    color: #ff8f8f;
}

.portal-hero {
    position: relative;
    overflow: hidden;
    padding: 56px 0 38px;
    color: #fff;
    background:
        linear-gradient(120deg, rgba(7, 20, 35, 0.92), rgba(14, 39, 67, 0.72)),
        var(--site-hero-image);
    background-size: cover;
    background-position: center;
}

.portal-hero::after {
    content: '';
    position: absolute;
    right: -120px;
    bottom: -130px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(243, 188, 75, 0.18);
    filter: blur(8px);
}

.portal-kicker,
.portal-eyebrow {
    display: inline-block;
    font-size: 14px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand-gold);
}

.portal-title {
    max-width: 760px;
    margin: 14px 0 14px;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 0.94;
    letter-spacing: -0.03em;
}

.portal-copy {
    max-width: 660px;
    font-size: 19px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.86);
}

.portal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.portal-actions .btn {
    min-height: 52px;
    border-radius: 999px;
    padding: 0 24px;
    font-size: 18px;
}

.portal-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.portal-stat {
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
}

.portal-stat strong,
.portal-summary-card strong {
    display: block;
    font-size: 30px;
    line-height: 1;
}

.portal-stat span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 15px;
}

.portal-summary-card,
.content-surface,
.portal-frame-card,
.casino-card,
.portal-callout {
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--brand-shadow);
}

.portal-summary-card {
    position: relative;
    padding: 28px;
    color: var(--brand-ink);
}

.portal-summary-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
}

.portal-summary-head span,
.portal-balance small,
.portal-summary-meta small {
    display: block;
    color: #607086;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.portal-summary-head strong {
    font-size: 24px;
    color: var(--brand-deep);
}

.portal-balance {
    margin-bottom: 18px;
    padding: 18px 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f7f1dd, #fef8ed);
}

.portal-summary-meta {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.portal-summary-meta strong {
    margin-top: 6px;
    font-size: 17px;
    line-height: 1.25;
}

.portal-shell {
    margin-top: -18px;
    position: relative;
    z-index: 2;
}

.sports-home {
    padding: 34px 0 0;
}

.sports-stage {
    display: grid;
    gap: 20px;
}

.sports-stage-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.sports-stage-copy h1 {
    margin: 8px 0 10px;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 0.94;
    color: var(--brand-deep);
}

.sports-stage-copy p {
    max-width: 760px;
    margin: 0;
    color: #607086;
    font-size: 18px;
    line-height: 1.55;
}

.sports-stage-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sports-stage-actions .btn {
    min-height: 48px;
    border-radius: 999px;
    padding: 0 22px;
    font-size: 18px;
}

.portal-switch {
    display: inline-flex;
    gap: 10px;
    margin-bottom: 22px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(10, 29, 51, 0.08);
}

.portal-switch button {
    min-width: 138px;
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--brand-deep);
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 19px;
    cursor: pointer;
}

.portal-switch button.active {
    background: var(--brand-night);
    color: #fff;
    box-shadow: 0 12px 25px rgba(7, 20, 35, 0.22);
}

.portal-pane {
    display: none;
}

.portal-pane.active {
    display: block;
}

.portal-frame-card {
    padding: 28px;
}

.sports-preview {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 760px;
    padding: 34px;
    overflow: hidden;
    border-radius: 22px;
    background-size: cover;
    background-position: center;
    box-shadow: var(--brand-shadow);
}

.sports-preview-card {
    max-width: 520px;
    padding: 28px 30px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    text-align: center;
    box-shadow: 0 18px 45px rgba(7, 20, 35, 0.22);
}

.sports-preview-card strong {
    display: block;
    margin-bottom: 10px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 34px;
    line-height: 0.96;
    color: var(--brand-deep);
}

.sports-preview-card span {
    display: block;
    color: #607086;
    font-size: 17px;
    line-height: 1.55;
}

.sports-preview-card .btn {
    min-height: 48px;
    border-radius: 999px;
    padding: 0 22px;
    font-size: 18px;
}

.sports-preview-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.portal-frame-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.portal-frame-head h2 {
    margin: 6px 0 0;
    font-size: 36px;
    color: var(--brand-deep);
}

.portal-frame-status {
    margin: 0 0 18px;
    color: #607086;
    font-size: 17px;
}

.portal-frame-wrap {
    display: none;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--brand-line);
    background: #d9e4ef;
}

.portal-frame-wrap.is-ready {
    display: block;
}

.portal-frame-wrap iframe {
    display: block;
    width: 100%;
    min-height: 760px;
    border: 0;
    background: #d9e4ef;
}

.sports-home-embed {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    background: #071423;
    overflow: hidden;
}

.sports-home-frame,
.sports-home-error {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    border-radius: 0;
    border-top: 1px solid rgba(9, 24, 43, 0.08);
    border-bottom: 1px solid rgba(9, 24, 43, 0.08);
    background: #071423;
    box-shadow: inset 0 20px 40px rgba(7, 20, 35, 0.08);
}

.sports-home-frame {
    display: flex;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.sports-home-frame iframe {
    flex: 1 1 auto;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    border: 0;
    background: #071423;
}

.sports-home-error {
    display: grid;
    place-items: center;
    gap: 10px;
    min-height: 720px;
    padding: 42px 24px;
    text-align: center;
}

.sports-home-error strong {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 42px;
    line-height: 0.96;
    color: var(--brand-deep);
}

.sports-home-error span {
    max-width: 560px;
    color: #607086;
    font-size: 18px;
}

.sports-home-error-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.sports-home-error-actions .btn {
    min-height: 48px;
    border-radius: 999px;
    padding: 0 22px;
}

.casino-shell {
    padding: 28px 0 0;
}

.casino-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.casino-toolbar h1 {
    margin: 10px 0 0;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 0.94;
    color: var(--brand-deep);
}

.casino-toolbar-actions {
    width: min(100%, 340px);
}

.casino-toolbar-actions .form-control {
    min-height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(9, 24, 43, 0.14);
    padding: 0 18px;
    box-shadow: none;
}

.casino-stage {
    margin-bottom: 26px;
}

.casino-stage-status {
    margin-bottom: 14px;
    color: #607086;
    font-size: 16px;
}

.casino-frame-shell {
    display: block;
    min-height: 680px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(228, 236, 245, 0.88));
}

.casino-frame-shell iframe {
    min-height: 680px;
}

.casino-stage-empty {
    display: grid;
    place-items: center;
    gap: 8px;
    min-height: 680px;
    padding: 28px;
    text-align: center;
}

.casino-stage-empty strong {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 34px;
    line-height: 0.96;
    color: var(--brand-deep);
}

.casino-stage-empty span {
    max-width: 540px;
    color: #607086;
    font-size: 17px;
}

.casino-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.portal-empty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    border-radius: 20px;
    background: linear-gradient(135deg, #eef4fa, #f7fafc);
}

.portal-empty-copy {
    display: grid;
    gap: 6px;
}

.portal-empty-copy strong {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 24px;
    color: var(--brand-deep);
}

.portal-empty-copy span {
    color: #607086;
    font-size: 16px;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.casino-card {
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(9, 24, 43, 0.08);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 36px rgba(7, 20, 35, 0.08);
}

.casino-card-thumb {
    aspect-ratio: 16 / 10;
    background: #d6e0ea;
}

.casino-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.casino-card-body {
    padding: 18px 20px 20px;
}

.casino-card-body strong {
    display: block;
    margin: 0 0 6px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 24px;
    line-height: 0.98;
    color: var(--brand-deep);
}

.casino-card-body span {
    display: block;
    min-height: 40px;
    margin-bottom: 14px;
    color: #607086;
    font-size: 15px;
}

.casino-card-body .btn {
    min-height: 42px;
    border-radius: 999px;
    padding: 0 18px;
}

.portal-callout {
    grid-column: 1 / -1;
    padding: 24px;
}

.portal-callout strong {
    display: block;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 26px;
    color: var(--brand-deep);
}

.portal-callout span {
    display: block;
    margin-top: 6px;
    color: #607086;
    font-size: 16px;
}

.content-surface {
    padding: 26px;
}

.site-main > .container {
    max-width: 1240px;
}

.site-main > .container.py-3,
.site-main > .container.py-3.pb-4,
.site-main > .container.py-3.mb-4,
.site-main > .container.py-4 {
    padding-top: 24px !important;
    padding-bottom: 32px !important;
}

.site-main form.admpage:not(#modal-login),
.site-main form.admpage-form-search,
.site-main form.admpage-form:not(.modal):not(#modal-login),
.site-main .panel,
.site-main .card,
.site-main .alert,
.site-main .content-surface {
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--brand-shadow);
}

.site-main form.admpage:not(#modal-login),
.site-main form.admpage-form-search,
.site-main form.admpage-form:not(.modal):not(#modal-login),
.site-main .panel,
.site-main .content-surface {
    background: rgba(255, 255, 255, 0.98);
}

.site-main form.admpage:not(#modal-login),
.site-main form.admpage-form-search,
.site-main form.admpage-form:not(.modal):not(#modal-login),
.site-main .panel {
    padding: 24px;
}

.site-main form.admpage-form-search {
    margin-bottom: 20px;
}

.site-main .panel {
    overflow: hidden;
}

.site-main .panel .panel-body {
    padding: 0;
}

.site-main form.admpage:not(#modal-login) .panel,
.site-main form.admpage-form:not(.modal):not(#modal-login) .panel {
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.site-main .admpage-container {
    margin-top: 18px;
}

.site-main .admpage-container .card,
.site-main .card {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
}

.site-main .card-footer,
.site-main .card-header {
    background: rgba(9, 24, 43, 0.04);
    border-color: rgba(9, 24, 43, 0.08);
}

.site-main .table-responsive {
    border-radius: inherit;
}

.site-main .table {
    margin-bottom: 0;
    font-size: 14px;
}

.site-main .table td,
.site-main .table th {
    vertical-align: middle;
}

.site-main label {
    margin-bottom: 8px;
    color: var(--brand-deep);
    font-size: 14px;
    font-weight: 700;
}

.site-main .form-control,
.site-main select.form-control {
    min-height: 46px;
    border-radius: 14px;
    border-color: rgba(9, 24, 43, 0.12);
    box-shadow: none;
}

.site-main textarea.form-control {
    min-height: 160px;
}

.site-main .btn {
    border-radius: 999px;
}

.site-main .btn-lg,
.site-main .input-group-lg > .form-control,
.site-main .input-group-lg > .input-group-append > .btn,
.site-main .input-group-lg > .input-group-prepend > .btn {
    min-height: 48px;
}

.site-main hr {
    border-top-color: rgba(9, 24, 43, 0.10);
}

.site-main .texto,
.site-main .mensagem {
    overflow-wrap: anywhere;
}

.modal-content {
    border: 0;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(7, 20, 35, 0.22);
}

.modal-header,
.modal-footer {
    border-color: rgba(9, 24, 43, 0.08);
}

.modal-footer {
    gap: 12px;
    flex-wrap: wrap;
}

#modal-login .modal-body .btn {
    min-height: 44px;
    border-radius: 999px;
}

.page-title {
    margin-bottom: 22px;
}

.page-title .title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.96;
    color: var(--brand-deep);
}

.site-footer {
    color: rgba(255, 255, 255, 0.84);
    background: linear-gradient(180deg, #081424 0%, #0d2037 100%);
}

.site-footer .container {
    padding-top: 42px;
    padding-bottom: 28px;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 24px;
}

.site-footer h4 {
    margin: 10px 0 8px;
    font-size: 30px;
    color: #fff;
}

.site-footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 16px;
    line-height: 1.6;
}

.site-footer a {
    display: block;
    color: rgba(255, 255, 255, 0.84);
    margin-top: 8px;
    font-size: 16px;
}

.site-footer a:hover {
    color: var(--brand-gold);
}

.site-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
}

@media (max-width: 1199px) {
    .portal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .casino-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .site-header {
        position: relative;
    }

    .site-header-row {
        gap: 12px;
    }

    .site-header-actions .btn,
    .header-chip {
        min-height: 36px;
    }

    .site-header-actions .btn {
        padding: 0 14px;
        font-size: 15px;
    }

    .portal-hero {
        padding: 42px 0 34px;
    }

    .sports-stage-head {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .casino-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .casino-toolbar-actions {
        width: 100%;
    }

    .casino-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-main > .container {
        max-width: 100%;
    }

    .site-main .page-title .row {
        row-gap: 12px;
    }
}

@media (max-width: 767px) {
    .site-header-main {
        padding: 6px 0;
    }

    .site-header-row {
        gap: 8px;
    }

    .site-header-actions {
        gap: 6px;
    }

    .site-header-actions .btn {
        min-height: 34px;
        padding: 0 10px;
        font-size: 13px;
    }

    .brand-link img {
        max-height: 34px;
    }

    .menu-mobile-dialog {
        width: min(80vw, 280px);
        padding: 16px 14px 18px;
    }

    .menu-mobile-body a {
        min-height: 44px;
        padding: 11px 13px;
        font-size: 14px;
    }

    .portal-title {
        font-size: 2.6rem;
    }

    .portal-actions,
    .portal-empty {
        flex-direction: column;
        align-items: stretch;
    }

    .sports-preview,
    .portal-frame-wrap iframe {
        min-height: 620px;
    }

    .sports-home-frame iframe,
    .sports-home-error,
    .casino-frame-shell,
    .casino-frame-shell iframe,
    .casino-stage-empty {
        min-height: 0;
    }

    .sports-home-frame iframe {
        height: 100%;
    }

    .sports-preview-card {
        width: 100%;
        padding: 24px 22px;
    }

    .sports-preview-actions,
    .sports-stage-actions {
        width: 100%;
    }

    .sports-preview-actions .btn,
    .sports-stage-actions .btn {
        width: 100%;
    }

    .portal-switch {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-switch button {
        width: 100%;
    }

    .portal-grid,
    .casino-grid,
    .site-footer-grid {
        grid-template-columns: 1fr;
    }

    .portal-frame-card,
    .portal-summary-card,
    .content-surface {
        padding: 22px;
    }

    .site-main {
        padding-bottom: 28px;
    }

    .site-main > .container.py-3,
    .site-main > .container.py-3.pb-4,
    .site-main > .container.py-3.mb-4,
    .site-main > .container.py-4 {
        padding-top: 16px !important;
        padding-bottom: 24px !important;
        padding-left: 14px;
        padding-right: 14px;
    }

    .site-main form.admpage:not(#modal-login),
    .site-main form.admpage-form-search,
    .site-main form.admpage-form:not(.modal):not(#modal-login),
    .site-main .panel,
    .site-main .content-surface,
    .site-main .card,
    .site-main .alert {
        border-radius: 20px;
    }

    .site-main form.admpage:not(#modal-login),
    .site-main form.admpage-form-search,
    .site-main form.admpage-form:not(.modal):not(#modal-login),
    .site-main .panel,
    .site-main .content-surface {
        padding: 18px;
    }

    .site-main .container-fluid.py-3 {
        padding: 18px 0 !important;
    }

    .page-title {
        margin-bottom: 16px;
    }

    .page-title .title {
        font-size: clamp(1.7rem, 7vw, 2.2rem);
    }

    .site-main .input-group,
    .site-main .input-group.input-group-lg {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .site-main .input-group-append,
    .site-main .input-group-prepend {
        margin-top: 10px;
        margin-left: 0;
    }

    .site-main .input-group-append .btn,
    .site-main .input-group-prepend .btn,
    .site-main .text-right .btn,
    .site-main .page-title .col-auto .btn,
    .site-main .admpage-form-search .col-auto .btn,
    .site-main .modal-footer .btn {
        width: 100%;
    }

    .site-main .page-title .row,
    .site-main .admpage-form-search .row {
        row-gap: 12px;
    }

    .site-main .page-title .col-auto,
    .site-main .admpage-form-search .col-auto {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .site-main .table {
        min-width: 640px;
    }

    .site-main .modal-dialog {
        margin: 0.75rem;
    }

    .modal-footer > * {
        width: 100%;
        margin: 0;
    }

    .site-main .comunicado .card-header .row {
        row-gap: 8px;
    }

    .portal-frame-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .sports-home-error strong,
    .casino-stage-empty strong {
        font-size: 30px;
    }
}
