#bet163-sections1-root {
    --bet163-home-shell-width: 390px;
    --bet163-home-outer-bg: #141414;
    --bet163-s1-footer-height: 64px;
    display: none;
}

body.bet163-s1-active #root {
    display: none !important;
}

body.bet163-s1-active #bet163-home-buttons,
body.bet163-s1-active #bet163-jackpot {
    display: none !important;
}

body.bet163-s1-active #bet163-sections1-root {
    --bet163-s1-scale: 1.25;
    --bet163-shell-scale: calc(var(--bet163-s1-scale) * 1.1025);
    --bet163-s1-footer-scale: 1.35;
    font-size: calc(16px * var(--bet163-s1-scale));
    display: block;
}

.bet163-s1-page {
    min-height: 100dvh;
    padding: 0 0 var(--bet163-s1-footer-height) 0;
    background: var(--bet163-home-outer-bg);
    color: #fff;
}

.bet163-s1-center {
    width: 100%;
    max-width: min(96vw, calc(var(--bet163-home-shell-width, 390px) * var(--bet163-shell-scale, 1.378125)));
    margin: 0 auto;
    min-height: 100dvh;
    background: #3b3127;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.bet163-s1-header {
    padding: 0.625em 0.75em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5em;
    background: rgba(0, 0, 0, 0.18);
}

.bet163-s1-header h2 {
    margin: 0;
    font-size: 1em;
    line-height: 1.2;
}

.bet163-s1-badge {
    font-size: 0.6875em;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.125em 0.5em;
    color: rgba(255, 255, 255, 0.8);
}

.bet163-s1-body {
    padding: 0.75em;
    display: grid;
    gap: 0.625em;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.bet163-s1-card {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.75em;
    padding: 0.625em;
    background: rgba(0, 0, 0, 0.22);
}

.bet163-s1-card h3 {
    margin: 0 0 0.5em;
    font-size: 0.8125em;
}

.bet163-s1-card p {
    margin: 0;
    font-size: 0.75em;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.bet163-s1-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5em;
}

.bet163-s1-cell {
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 0.625em;
    padding: 0.5em;
}

.bet163-s1-cell strong {
    display: block;
    font-size: 0.6875em;
    color: rgba(255, 255, 255, 0.62);
}

.bet163-s1-cell span {
    display: block;
    margin-top: 0.25em;
    font-size: 0.75em;
}

.bet163-s1-actions {
    display: flex;
    gap: 0.5em;
    flex-wrap: wrap;
}

.bet163-s1-btn {
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 0.625em;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.75em;
    padding: 0.5em 0.625em;
    text-decoration: none;
    cursor: pointer;
}

.bet163-s1-btn.primary {
    border-color: rgba(247, 192, 69, 0.7);
    background: rgba(247, 192, 69, 0.2);
}

.bet163-s1-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    background: var(--bet163-home-outer-bg);
}

.bet163-s1-footer-inner {
    max-width: min(96vw, calc(var(--bet163-home-shell-width, 390px) * var(--bet163-shell-scale, 1.378125)));
    font-size: calc(1em * var(--bet163-s1-footer-scale, 1.35));
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background: #524334;
}

.bet163-s1-footer-link {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
    font-size: 0.625em;
    line-height: 1.1;
    padding: 0.8em 0.35em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35em;
    cursor: pointer;
}

.bet163-s1-footer-link svg {
    width: 1.45em;
    height: 1.45em;
    opacity: 0.86;
}

.bet163-s1-footer-link.active {
    color: #fff;
}

.bet163-s1-footer-link.active svg {
    opacity: 1;
}

.bet163-s1-pre {
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: 0.6875em;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.82);
    max-height: 11.25em;
    overflow: auto;
}
