.btn-google {color: white;background-color: #ea4335}
.btn-twitch {color: white;background-color: #9146ff}
.btn-twitter {color: white;background-color: #1DA1F2}

.community-logo {
    width: auto;
    height: auto;
    max-width: min(200px, 100%);
    max-height: 100px;
    object-fit: contain;
}

.community-explorer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
    gap: 1.5rem;
}

.community-explorer-card {
    overflow: hidden;
}

.community-explorer-vip {
    border-color: var(--bs-warning);
}

.community-explorer-cover {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 1;
    background: linear-gradient(135deg, var(--bs-bg-2), var(--bs-bg-1));
    color: var(--bs-fg-3);
    font-size: 2rem;
}

.community-explorer-cover > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.community-explorer-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--bs-warning);
    color: #000;
    font-size: 0.75rem;
}

.community-explorer-logo {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    border-radius: 0.5rem;
    object-fit: contain;
}

.community-explorer-name {
    min-width: 0;
}

.store-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.store-brand-logo {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
    flex-shrink: 0;
}

.store-customer-navigation {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-inline-start: auto;
    min-width: 0;
}

.store-player-name {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
    max-width: min(16rem, 40vw);
}

.store-player-name > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-player-name > i {
    flex-shrink: 0;
}

.store-cart-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.store-player-dialog {
    width: min(28rem, calc(100% - 2rem));
    max-height: calc(100dvh - 2rem);
    padding: 0;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: var(--bs-bg-1);
    color: var(--bs-fg-body);
    box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 30%);
    overflow-y: auto;
}

.store-player-dialog::backdrop {
    background: rgb(0 0 0 / 65%);
    backdrop-filter: blur(3px);
}

.store-player-header {
    position: relative;
    padding: 2rem 1.5rem 1.5rem;
    background: var(--bs-bg-2);
    color: var(--bs-primary-text-emphasis);
    text-align: center;
}

.store-player-header h2 {
    font-size: 1.3rem;
    margin: 1rem 0 0.75rem;
}

.store-player-header p {
    margin: 0;
    font-size: 0.9rem;
}

.store-player-symbol {
    display: inline-grid;
    place-items: center;
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background: rgb(255 255 255 / 18%);
    font-size: 2rem;
}

.store-player-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.4rem;
    border: 0;
    border-radius: 0.4rem;
    background: transparent;
    color: inherit;
}

.store-player-change {
    border: 0;
    background: transparent;
    color: var(--bs-link-color);
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.store-player-change:not(.menu-item) {
    padding: 0;
}

.store-player-label {
    text-transform: capitalize;
}

.store-player-change:hover {
    color: var(--bs-link-hover-color);
}

.store-purchase-controls {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
}

.store-purchase-controls input,
.store-cart-quantity input {
    width: 7rem;
}

.store-cart-empty {
    padding: 3rem 1.5rem;
    align-items: center;
    text-align: center;
}

.store-cart-empty > i {
    font-size: 4rem;
    color: var(--bs-fg-2);
    margin-bottom: 1rem;
}

.store-cart-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.store-cart-item {
    display: grid;
    grid-template-columns: 5rem minmax(0, 1fr) auto;
    align-items: start;
    gap: 1rem;
    padding-block: 1.5rem;
}

.store-cart-item + .store-cart-item {
    border-top: 1px solid var(--bs-border-color);
}

.store-cart-item-media {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--bs-bg-2), var(--bs-bg-body));
    color: var(--bs-fg-3);
    font-size: 2rem;
}

.store-cart-item-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-cart-item-description {
    min-width: 0;
    overflow-wrap: anywhere;
}

.store-cart-item-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.store-cart-item-heading h2 {
    min-width: 0;
    margin-bottom: 0;
}

.store-cart-item-heading form {
    flex-shrink: 0;
}

.store-cart-item-amount {
    min-width: 0;
    text-align: end;
}

.store-cart-item-subtotal {
    margin: 1rem 0 0;
    overflow-wrap: anywhere;
}

.store-cart-item h2,
.store-cart-summary h2 {
    font-size: 1.2rem;
}

.store-cart-quantity {
    display: flex;
    gap: 0.5rem;
}

.btn.store-mercadopago-button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-color: #009ee3;
    background-color: #009ee3;
    color: #002133;
    font-weight: 600;
}

.store-mercadopago-logo {
    flex-shrink: 0;
    width: 6rem;
    height: auto;
    max-width: 100%;
}

.btn.store-mercadopago-button:hover:not(:disabled):not(.disabled) {
    border-color: #32b6f0;
    background-color: #32b6f0;
    color: #002133;
}

.btn.store-mercadopago-button:active:not(:disabled):not(.disabled) {
    border-color: #009ee3;
    background-color: #009ee3;
    color: #002133;
}

.btn.store-mercadopago-button:focus-visible {
    outline: 3px solid #7fd8ff;
    outline-offset: 3px;
}

.btn.store-mercadopago-button:disabled,
.btn.store-mercadopago-button.disabled {
    opacity: 0.5;
}

@media (max-width: 767.98px) {
    .store-cart-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 991.98px) {
    .store-cart-item {
        grid-template-columns: 4rem minmax(0, 1fr);
    }

    .store-cart-item-amount {
        grid-column: 2;
        text-align: start;
    }

    .store-cart-quantity {
        flex-wrap: wrap;
    }
}

.store-navbar > .container {
    gap: 1rem;
}

.store-brand-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    min-width: 0;
    max-width: 100%;
}

.store-server-selector {
    min-width: 0;
    max-width: 100%;
}

.store-server-toggle,
.store-server-options .menu-item {
    white-space: normal;
    overflow-wrap: anywhere;
}

.store-server-options {
    max-width: min(24rem, calc(100vw - 2rem));
    max-height: 60vh;
    overflow-y: auto;
}

.store-mobile-navigation {
    display: none;
    position: relative;
    flex-shrink: 0;
    margin-inline-start: auto;
}

.store-mobile-options {
    width: min(22rem, calc(100vw - 2rem));
    max-height: calc(100dvh - 6rem);
    overflow-y: auto;
}

.store-mobile-submenu {
    /* Keep Bootstrap's positioned flyouts inside the mobile menu. */
    position: static !important;
    width: auto;
    margin: 0.25rem 0.5rem 0.5rem !important;
    max-height: min(24rem, calc(100dvh - 12rem));
    overflow-y: auto;
}

.store-mobile-options .menu-item {
    white-space: normal;
    overflow-wrap: anywhere;
}

.server-image {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.store-community-header {
    padding: 1.5rem 1rem 0;
}

.store-banner {
    display: block;
    width: 100%;
    height: clamp(7rem, 16vw, 13rem);
    border-radius: 1rem;
    object-fit: cover;
}

.store-community-details {
    display: flex;
    align-items: start;
    justify-content: center;
    gap: clamp(1rem, 3vw, 2rem);
    padding-top: 1.5rem;
}

.store-community-logo {
    width: clamp(4.5rem, 12vw, 10rem);
    aspect-ratio: 1;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--bs-bg-1);
    object-fit: contain;
}

.store-community-copy {
    min-width: 0;
    max-width: 48rem;
}

.store-community-details h1 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.store-description {
    max-width: 48rem;
    overflow-wrap: anywhere;
    margin-bottom: 0;
}

.store-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.store-social-links:has(.store-social-link) {
    margin-top: 1.5rem;
}

.store-social-link {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 50%;
    background: var(--bs-bg-1);
    color: var(--bs-fg-body);
    font-size: 1.25rem;
    text-decoration: none;
}

.store-social-link:hover {
    background: var(--bs-bg-2);
    color: var(--bs-primary-text-emphasis);
}

.store-social-link:focus-visible,
.community-explorer-card a:focus-visible,
.store-catalog-card a:focus-visible {
    outline: 3px solid var(--bs-primary);
    outline-offset: 4px;
}

.store-page-heading {
    padding: 2.5rem 1rem 0;
}

.store-server-overview {
    display: grid;
    gap: 2rem;
    align-items: start;
}

.store-server-overview > * {
    min-width: 0;
}

.store-server-description {
    overflow-wrap: anywhere;
    margin-bottom: 0;
}

.store-server-address,
[data-server-status] {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
}

.store-server-address {
    color: var(--bs-info-fg);
}

.store-copy-button {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    overflow-wrap: anywhere;
}

.store-copy-button:hover {
    text-decoration: underline;
}

.store-copy-button:focus-visible {
    outline: 2px solid var(--bs-primary-fg);
    outline-offset: 3px;
}

[data-server-status][data-state="online"] {
    color: var(--bs-success-fg);
}

[data-server-status][data-state="offline"] {
    color: var(--bs-danger-fg);
}

.store-players-list {
    overflow: auto;
}

.store-players th {
    white-space: nowrap;
}

.store-players td:first-child {
    overflow-wrap: anywhere;
}

@media (min-width: 992px) {
    .store-server-overview-with-players {
        grid-template-columns: minmax(0, 2fr) minmax(20rem, 1fr);
    }
}

.store-back-link {
    display: inline-flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    overflow-wrap: anywhere;
}

.store-catalog {
    padding: 2.5rem 1rem;
    container-type: inline-size;
}

.store-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
    gap: 1.5rem;
}

.store-server-grid .store-community-details {
    grid-column: 1 / -1;
    padding-top: 0;
    text-align: center;
}

.store-server-grid .store-social-links {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.375rem;
}

.store-server-grid .store-social-link {
    flex: 0 1 2rem;
    min-width: 0;
    width: 2rem;
    height: auto;
    aspect-ratio: 1;
    font-size: 1rem;
}

@container (min-width: 37.5rem) {
    .store-server-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@container (min-width: 57rem) {
    .store-server-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .store-server-grid .store-community-details {
        grid-column: span 1;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        gap: 1rem;
    }
}

.store-catalog-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
}

.community-explorer-card:hover,
.community-explorer-card:focus-within,
.store-catalog-card-linked:hover,
.store-catalog-card-linked:focus-within {
    border-color: var(--bs-primary);
}

.catalog-command {
    padding: 1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
}

.catalog-description {
    white-space: pre-wrap;
}

.product-command-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem;
}

.product-command-help {
    flex: 1 1 20rem;
    min-width: 0;
}

.product-command-examples {
    flex: 0 1 30rem;
    min-width: 0;
    padding: 0.75rem;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
}

.product-command-examples code {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.product-command-examples [data-command-example-game] + [data-command-example-game] {
    margin-top: 0.75rem;
}

.store-product-page,
.store-cart-page {
    padding: 2rem 1rem 3rem;
}

.store-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    padding: 0;
    margin: 0 0 1.5rem;
    list-style: none;
    color: var(--bs-fg-2);
}

.store-breadcrumbs li {
    min-width: 0;
    overflow-wrap: anywhere;
}

.store-breadcrumbs li + li::before {
    content: ">";
    margin-inline-end: 0.75rem;
    color: var(--bs-fg-3);
}

.store-product-details {
    display: grid;
    border-radius: 1rem;
    overflow: hidden;
}

.store-product-details > .store-product-media {
    aspect-ratio: 4 / 3;
    font-size: 5rem;
}

.store-product-media img {
    object-fit: contain;
    padding: 1rem;
}

.store-product-summary {
    display: flex;
    flex-direction: column;
    align-items: start;
    min-width: 0;
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.store-product-category {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.store-product-description {
    line-height: 1.7;
    margin-block: 0.5rem 1.5rem;
}

.store-product-purchase {
    width: 100%;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--bs-border-color);
}

.store-product-price {
    margin-bottom: 0.75rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--bs-primary-text-emphasis);
}

.store-original-price {
    font-size: 0.875rem;
    color: var(--bs-fg-2);
    white-space: nowrap;
}

.store-discount-badge {
    color: var(--bs-primary-text-emphasis);
    background-color: rgba(var(--bs-primary-rgb), 0.15);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.3);
}

.store-product-price .store-discount-badge {
    font-size: 0.875rem;
    vertical-align: middle;
}

.store-current-price {
    white-space: nowrap;
}

.store-price-row,
.store-price-discount {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

.store-price-row {
    vertical-align: middle;
}

.discount-choice-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-bottom: 0.5rem;
}

.discount-choice-value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 8rem;
}

.store-product-purchase .store-purchase-controls > button {
    flex: 1 1 12rem;
}

.store-related-products {
    margin-top: 3rem;
}

.store-related-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
    .store-product-details {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: start;
    }

    .store-product-summary {
        align-self: stretch;
    }
}

.dashboard-sidebar-navigation > .dashboard-sidebar-heading {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.store-card-media {
    display: grid;
    place-items: center;
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--bs-bg-2), var(--bs-bg-body));
    color: var(--bs-fg-3);
    font-size: 3rem;
}

.store-card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-card-body {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 1.5rem;
}

.store-card-body h3 a {
    text-decoration: none;
}

.store-card-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.store-card-cart {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: 1.25rem;
}

.store-card-price,
.store-card-action {
    margin: auto 0 0;
    padding-top: 1rem;
    font-weight: 600;
    color: var(--bs-primary-text-emphasis);
}

.store-empty {
    grid-column: 1 / -1;
    padding: 2rem;
    border: 1px dashed var(--bs-border-color);
    border-radius: 1rem;
    text-align: center;
}

.store-navbar .navbar-nav {
    margin-inline-start: auto;
}

.community-banner {
    width: auto;
    height: auto;
    max-width: min(1200px, 100%);
    max-height: 300px;
    object-fit: contain;
}

.community-editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18rem;
    align-items: start;
    gap: 1.5rem;
}

.community-editor-content {
    min-width: 0;
}

.server-connection-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.server-connection-grid > .card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.server-connection-test-area {
    margin-top: auto;
    padding: 1.5rem;
    border-top: 1px solid var(--bs-primary-border);
    background: var(--bs-bg-2);
}

.server-connection-test-area h3 {
    color: var(--bs-primary-text-emphasis);
}

[data-connection-result][data-state="success"] {
    color: var(--bs-success-text-emphasis, var(--bs-success, #75b798));
}

[data-connection-result][data-state="error"] {
    color: var(--bs-danger-text-emphasis, var(--bs-danger, #ea868f));
}

[data-connection-result][data-state="warning"] {
    color: var(--bs-warning-text-emphasis, var(--bs-warning, #ffda6a));
}

.server-configuration-heading {
    color: var(--bs-primary-text-emphasis);
}

@media (max-width: 767.98px) {
    .store-navbar > .container {
        flex-wrap: nowrap;
        gap: 0.75rem;
    }

    .store-brand-group {
        flex: 1 1 0;
    }

    .store-brand {
        width: 100%;
        margin-inline-end: 0;
        gap: 0.5rem;
    }

    .store-brand > span {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .store-customer-navigation {
        flex: 0 0 auto;
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    .store-server-selector,
    .store-desktop-options,
    .store-desktop-player {
        display: none;
    }

    .store-mobile-navigation {
        display: block;
        margin-inline-start: 0;
    }

    .store-community-details {
        display: none;
    }

    .server-connection-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.community-editor-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--bs-border-color);
    overflow-x: auto;
}

.community-editor-tab {
    padding: 0.875rem 1rem;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--bs-fg-2);
    font: inherit;
    white-space: nowrap;
}

.community-editor-tab:hover,
.community-editor-tab.active {
    color: var(--bs-primary-text-emphasis);
    border-bottom-color: var(--bs-primary);
}

.community-editor-tab:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: -3px;
}

[data-editor-panel][hidden] {
    display: none !important;
}

.community-editor-actions {
    position: sticky;
    top: 1.5rem;
}

@media (max-width: 1199.98px) {
    .community-editor-layout {
        grid-template-columns: minmax(0, 1fr);
        padding-bottom: 5rem;
    }

    .community-editor-actions {
        position: fixed;
        inset: auto 0 0;
        z-index: 1030;
        border-radius: 0;
        box-shadow: 0 -0.5rem 1.5rem #00000026;
    }

    .community-editor-actions .card-body {
        padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom)) !important;
    }

    .community-editor-actions h2,
    .community-editor-actions p {
        display: none;
    }
}

.dashboard-limit-hint {
    position: relative;
}

.dashboard-limit-tooltip {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1080;
    width: min(18rem, 75vw);
    padding: 0.75rem;
    border: 1px solid var(--bs-danger-border-subtle, #842029);
    border-radius: 0.5rem;
    background: var(--bs-danger-bg-subtle, #3b1720);
    color: var(--bs-danger-text-emphasis, #f8d7da);
    font-size: 0.875rem;
    box-shadow: 0 0.5rem 1rem #00000026;
}

.dashboard-limit-hint:hover .dashboard-limit-tooltip,
.dashboard-limit-hint:focus-within .dashboard-limit-tooltip {
    display: block;
}

.admin-login {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    max-width: 1080px;
    margin: auto;
    padding: clamp(2rem, 6vw, 5rem) 1.25rem;
}

.admin-login-eyebrow {
    display: block;
    margin-bottom: 1rem;
    color: var(--bs-primary-text-emphasis);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-login-intro h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.admin-login-description {
    margin-block: 1.25rem 2rem;
    color: var(--bs-fg-2);
    font-size: 1.125rem;
    line-height: 1.7;
}

.admin-login-benefits {
    display: grid;
    gap: 1.5rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

.admin-login-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.admin-login-benefits li > i {
    color: var(--bs-primary-text-emphasis);
    font-size: 1.5rem;
}

.admin-login-benefits p {
    margin: 0.25rem 0 0;
    color: var(--bs-fg-2);
    line-height: 1.6;
}

.admin-login-card {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid var(--bs-border-color);
    border-radius: 1.25rem;
    background: linear-gradient(145deg, var(--bs-bg-1), var(--bs-bg-body));
    box-shadow: 0 1.5rem 4rem #00000026;
    text-align: center;
}

.admin-login-symbol {
    display: inline-grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1.5rem;
    border-radius: 1rem;
    background: var(--bs-bg-2);
    color: var(--bs-primary-text-emphasis);
    font-size: 1.75rem;
}

.admin-login-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-wrap: balance;
}

.admin-google-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 0.875rem 1rem;
    border: 1px solid #747775;
    border-radius: 0.5rem;
    background: #ffffff;
    color: #1f1f1f;
    font-weight: 600;
    text-decoration: none;
}

.admin-google-button svg {
    flex-shrink: 0;
}

.admin-google-button:hover {
    background: #f2f2f2;
    color: #1f1f1f;
}

.admin-google-button:focus-visible {
    outline: 3px solid var(--bs-primary);
    outline-offset: 4px;
}

.admin-login-note,
.admin-login-terms,
.admin-login-player-note {
    color: var(--bs-fg-2);
    font-size: 0.875rem;
    line-height: 1.6;
}

.admin-login-note {
    margin-top: 1rem;
}

.admin-login-player-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--bs-border-color);
    text-align: start;
}

.admin-login-player-note p {
    margin: 0;
}

.community-login-layout .site-content {
    display: grid;
    align-items: center;
}

.community-login {
    width: 100%;
    max-width: 480px;
    margin: auto;
    padding: 3rem 1.25rem;
}

.community-login h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.community-login-logo {
    width: 5rem;
    height: 5rem;
    margin-bottom: 1.5rem;
    border-radius: 1rem;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .admin-login {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-login-card {
        grid-row: 1;
    }
}

:root[data-bs-theme="dark"] {
    --bs-bg-body: #141e2d;
    --bs-bg-1: #1d2a3b;
    --bs-bg-2: #26364a;
    --bs-bg-3: #30445b;
    --bs-bg-4: #3c526b;
    --bs-fg-body: #e8eef6;
    --bs-fg-1: #d4dfec;
    --bs-fg-2: #b8c7d9;
    --bs-fg-3: #9aacc1;
    --bs-fg-4: #7f94ad;
    --bs-border-color: #35485f;
    --bs-border-color-translucent: #35485f;
    --bs-body-bg: var(--bs-bg-body);
    --bs-body-color: var(--bs-fg-body);
    --bs-secondary-bg: var(--bs-bg-1);
    --bs-tertiary-bg: var(--bs-bg-2);
    --bs-secondary-color: var(--bs-fg-2);
    --bs-emphasis-color: var(--bs-fg-body);
    --bs-primary: #60a5fa;
    --bs-primary-rgb: 96, 165, 250;
    --bs-primary-text-emphasis: #93c5fd;
    --bs-primary-bg: #466b8b;
    --bs-primary-fg: #a9bfd6;
    --bs-primary-border: #466b8b;
    --bs-link-color: #93c5fd;
    --bs-link-color-rgb: 147, 197, 253;
    --bs-link-hover-color: #bfdbfe;
    --bs-link-hover-color-rgb: 191, 219, 254;
}

.bg-1 {
    background-color: var(--bs-bg-1) !important;
}

.bg-2 {
    background-color: var(--bs-bg-2) !important;
}

.bg-3 {
    background-color: var(--bs-bg-3) !important;
}

.bg-4 {
    background-color: var(--bs-bg-4) !important;
}

.fg-1 {
    color: var(--bs-fg-1) !important;
}

.fg-2 {
    color: var(--bs-fg-2) !important;
}

.fg-3 {
    color: var(--bs-fg-3) !important;
}

.fg-4 {
    color: var(--bs-fg-4) !important;
}

.delete-heading {
    color: var(--bs-danger-text-emphasis, var(--bs-danger, #dc3545));
}

.site-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1 0 auto;
}

.site-navbar {
    --bs-bg-body: #0e1725;
    --bs-bg-1: #182638;
    --bs-bg-2: #22344b;
    --bs-fg-body: #e8eef6;
    --bs-fg-1: #d4dfec;
    --bs-fg-2: #b8c7d9;
    --bs-fg-3: #9aacc1;
    --bs-border-color: #2c4058;
    --bs-border-color-translucent: #2c4058;
    --bs-navbar-color: var(--bs-fg-2);
    --bs-navbar-hover-color: #ffffff;
    --bs-navbar-active-color: #93c5fd;
    --bs-navbar-brand-color: #f4f7fa;
    --bs-navbar-brand-hover-color: #ffffff;
    background-color: var(--bs-bg-body);
}

.site-nav-drawer {
    --bs-drawer-bg: var(--bs-bg-body);
    --bs-drawer-color: var(--bs-fg-body);
    --bs-drawer-border-color: var(--bs-border-color);
}

.dashboard-menu {
    position: relative;
}

.dashboard-top-menu {
    min-width: 12rem;
}

.dashboard-top-menu .dashboard-sidebar-heading {
    margin-bottom: 0.25rem;
}

.dashboard-layout .site-navbar > .container-fluid {
    padding-inline: 1.5rem;
}

.dashboard-layout .site-content {
    display: flex;
}

.dashboard-layout footer {
    margin-top: 0 !important;
}

.dashboard-shell {
    display: grid;
    grid-template-columns: 15rem minmax(0, 1fr);
    width: 100%;
}

.dashboard-sidebar {
    padding: 2rem 1rem;
    border-right: 1px solid var(--bs-border-color);
    background: var(--bs-bg-1);
}

.dashboard-sidebar-heading {
    margin: 0 0.75rem 1rem;
    color: var(--bs-fg-3);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-sidebar-navigation {
    display: grid;
    gap: 0.5rem;
    position: sticky;
    top: 1rem;
}

.dashboard-sidebar-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.75rem;
    border: 1px solid transparent;
    border-radius: 0.625rem;
    background: transparent;
    color: var(--bs-fg-2);
    font: inherit;
    text-align: start;
    text-decoration: none;
}

.dashboard-sidebar-link:hover,
.dashboard-sidebar-link.active {
    border-color: var(--bs-border-color);
    background: var(--bs-bg-2);
    color: var(--bs-primary-text-emphasis);
}

.dashboard-sidebar-link:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

.dashboard-main {
    min-width: 0;
    padding: clamp(1.25rem, 3vw, 3rem);
}

.dashboard-content {
    width: 100%;
    max-width: 90rem;
    margin-inline: auto;
}

.dashboard-content .table-responsive {
    position: relative;
}

.dashboard-content .table-responsive > .table tbody td {
    white-space: nowrap;
}

.dashboard-content .table-responsive > .table tbody td.delivery-response {
    max-width: 24rem;
    min-width: 12rem;
    overflow-wrap: anywhere;
    white-space: normal;
}

.dashboard-page-header {
    margin-bottom: 2rem;
}

.detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.detail-back-link:hover {
    text-decoration: underline;
}

.detail-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
    gap: 1rem;
}

.detail-panel,
.detail-table-panel {
    min-width: 0;
}

.detail-panel-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.detail-panel-heading > i {
    display: inline-grid;
    flex: 0 0 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.6rem;
    background: var(--bs-bg-2);
    color: var(--bs-link-color);
}

.detail-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 7rem), 1fr));
    gap: 1.25rem;
    margin: 0;
}

.detail-fields > div,
.detail-output > div {
    min-width: 0;
}

.detail-field-wide {
    grid-column: 1 / -1;
}

.detail-fields dt,
.detail-output dt {
    margin-bottom: 0.35rem;
    color: var(--bs-fg-2);
    font-size: 0.85rem;
    font-weight: 500;
}

.detail-fields dd,
.detail-output dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.detail-value-emphasis {
    font-size: 1.15rem;
    font-weight: 700;
}

.detail-note {
    margin-top: 0.5rem;
    color: var(--bs-fg-2);
    font-size: 0.85rem;
}

.detail-output {
    display: grid;
    gap: 1.25rem;
    margin: 0;
}

.detail-output dd {
    padding: 1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
    background: var(--bs-bg-body);
    white-space: pre-wrap;
}

.detail-table-panel {
    padding: 1.5rem;
}

.detail-table-panel .table {
    margin-bottom: 0;
}

.delivery-command-dialog {
    width: min(44rem, calc(100% - 2rem));
    max-height: calc(100dvh - 2rem);
    padding: 0;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: var(--bs-bg-1);
    color: var(--bs-fg-body);
    overflow-y: auto;
}

.delivery-command-dialog::backdrop {
    background: rgb(0 0 0 / 65%);
    backdrop-filter: blur(3px);
}

.delivery-filters,
.delivery-command-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: 1rem;
}

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

.delivery-filters > button,
.delivery-command-form > button {
    grid-column: 1 / -1;
    justify-self: end;
}

.delivery-filters > div,
.delivery-command-form > div {
    min-width: 0;
}

@media (max-width: 575.98px) {
    .delivery-filters,
    .delivery-command-form {
        grid-template-columns: minmax(0, 1fr);
    }

    .delivery-filters > button,
    .delivery-command-form > button {
        justify-self: stretch;
    }
}

.dashboard-page-header h1 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    letter-spacing: -0.025em;
}

.dashboard-overview-groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: stretch;
}

.dashboard-section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    text-align: center;
}

.dashboard-section-heading h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.dashboard-section-heading p {
    margin: 0;
    color: var(--bs-fg-3);
    font-size: 0.75rem;
    white-space: nowrap;
}

.dashboard-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

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

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

.dashboard-overview-card {
    border-color: var(--bs-border-color);
    border-radius: 0.9rem;
    background: linear-gradient(145deg, var(--bs-bg-1), color-mix(in srgb, var(--bs-bg-1), var(--bs-bg-body) 35%));
    box-shadow: 0 0.5rem 1.5rem rgb(0 0 0 / 10%);
}

.dashboard-metric {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
    min-height: 4.5rem;
    padding: 0.6rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.7rem;
    background: color-mix(in srgb, var(--bs-bg-2), transparent 25%);
}

.dashboard-metric-icon {
    display: grid;
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 0.6rem;
    color: #fff;
    font-size: 0.95rem;
    box-shadow: 0 0.25rem 0.6rem rgb(0 0 0 / 18%);
}

.dashboard-metric-icon-cyan {
    background: linear-gradient(145deg, #06b6d4, #0891b2);
}

.dashboard-metric-icon-teal {
    background: linear-gradient(145deg, #14b8a6, #0f766e);
}

.dashboard-metric-icon-violet {
    background: linear-gradient(145deg, #a78bfa, #7c3aed);
}

.dashboard-metric-icon-blue {
    background: linear-gradient(145deg, #60a5fa, #2563eb);
}

.dashboard-metric-icon-green {
    background: linear-gradient(145deg, #34d399, #059669);
}

.dashboard-metric-icon-orange {
    background: linear-gradient(145deg, #fb923c, #ea580c);
}

.dashboard-metric-icon-pink {
    background: linear-gradient(145deg, #f472b6, #db2777);
}

.dashboard-metric-label {
    margin: 0 0 0.2rem;
    color: var(--bs-fg-3);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    line-height: 1.2;
}

.dashboard-metric-label a {
    color: inherit;
    text-decoration: none;
}

.dashboard-metric-label a:hover {
    color: var(--bs-link-hover-color);
    text-decoration: underline;
}

.dashboard-metric-content {
    min-width: 0;
}

.dashboard-metric-value {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 750;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.dashboard-income-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.1rem 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.82rem;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.dashboard-income-list strong {
    font-weight: 750;
}

.dashboard-income-list span {
    color: var(--bs-fg-3);
    font-size: 0.65rem;
    font-weight: 600;
}

.dashboard-metric-note {
    margin: 0;
    color: var(--bs-fg-3);
    font-size: 0.7rem;
    line-height: 1.2;
}

@media (max-width: 767.98px) {
    .dashboard-overview-groups {
        grid-template-columns: minmax(0, 1fr);
    }

    .dashboard-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .dashboard-sidebar {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .dashboard-metrics-grid,
    .dashboard-metrics-grid-2,
    .dashboard-metrics-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-section-heading {
        align-items: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 359.98px) {
    .dashboard-metrics-grid,
    .dashboard-metrics-grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }
}

.site-language-menu,
.store-currency-menu {
    position: relative;
}

.site-language-toggle,
.site-language-options .menu-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-language-options {
    min-width: 11rem;
}

.site-language-flag {
    flex-shrink: 0;
    width: 1.25rem;
    height: 0.9375rem;
    object-fit: cover;
}

.site-faq .accordion-item {
    color: var(--bs-fg-body);
    background-color: var(--bs-bg-1);
    border-color: var(--bs-border-color);
}

.site-faq .accordion-header {
    color: var(--bs-fg-body);
    background-color: var(--bs-bg-2);
}

.home-hero,
.server-features {
    width: calc(100% - 2.5rem);
    max-width: 1080px;
    margin-inline: auto;
}

.home-hero {
    padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3.5rem, 6vw, 5rem);
    text-align: center;
}

.home-hero h1 {
    max-width: 900px;
    margin: 0 auto 1.25rem;
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.home-hero p {
    max-width: 640px;
    margin: 0 auto;
    color: var(--bs-fg-2);
    font-size: 1.125rem;
    line-height: 1.75;
}

.home-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    max-width: 100%;
    margin-top: 2rem;
    padding: 1rem 1.75rem;
    border: 1px solid var(--bs-primary);
    border-radius: 0.75rem;
    background: var(--bs-primary);
    color: #0e1725;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
}

.home-hero-cta:hover {
    border-color: var(--bs-primary-text-emphasis);
    background: var(--bs-primary-text-emphasis);
    color: #0e1725;
}

.home-hero-cta:focus-visible {
    outline: 3px solid var(--bs-fg-body);
    outline-offset: 4px;
}

.server-features {
    padding-bottom: 4rem;
}

.server-features-heading {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.server-features-heading h2 {
    margin: 0 0 0.875rem;
    font-size: clamp(1.65rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.server-features-heading p {
    margin: 0;
    color: var(--bs-fg-2);
    line-height: 1.7;
}

.server-features-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

.server-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: linear-gradient(145deg, var(--bs-bg-1), var(--bs-bg-body));
}

.server-feature-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
}

.server-feature-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.875rem;
    color: var(--bs-primary-text-emphasis);
    background-color: var(--bs-bg-2);
    font-size: 1.5rem;
}

.server-feature-content {
    min-width: 0;
}

.server-feature-card p {
    margin: 0;
    color: var(--bs-fg-2);
    line-height: 1.75;
}

@media (min-width: 768px) {
    .server-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.games-page {
    width: calc(100% - 2.5rem);
    max-width: 1080px;
    margin-inline: auto;
}

.games-hero {
    width: 100%;
}

.games-eyebrow,
.games-protocol {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bs-primary-text-emphasis);
    font-weight: 700;
}

.games-eyebrow {
    margin-bottom: 1.25rem;
}

.games-section {
    padding-bottom: 5rem;
}

.games-section-heading {
    max-width: 700px;
    margin: 0 auto 2rem;
    text-align: center;
}

.games-section-heading h2,
.games-cta h2 {
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.025em;
}

.games-section-heading p,
.games-step p,
.games-cta p,
.games-delivery-note {
    color: var(--bs-fg-2);
    line-height: 1.7;
}

.games-grid,
.games-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}

.games-card,
.games-step,
.games-cta {
    overflow: hidden;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: linear-gradient(145deg, var(--bs-bg-1), var(--bs-bg-body));
}

.games-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    overflow: hidden;
    background: var(--bs-bg-2);
    color: var(--bs-primary-text-emphasis);
    font-size: 4rem;
}

.games-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.games-card-body,
.games-step {
    padding: 1.5rem;
}

.games-card-body {
    text-align: center;
}

.games-card-body h3,
.games-step h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.games-protocol {
    font-size: 0.875rem;
}

.games-step-number {
    display: block;
    margin-bottom: 1rem;
    color: var(--bs-primary-text-emphasis);
    font-size: 1.5rem;
    font-weight: 700;
}

.games-step p {
    margin-bottom: 0;
}

.games-delivery-note {
    margin: 1.5rem 0 0;
    text-align: center;
}

.games-cta {
    padding: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
}

.games-cta p {
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

.terms-section {
    margin-bottom: 1.25rem;
}

.terms-section > :last-child {
    margin-bottom: 0;
}

.terms-section-title {
    margin-bottom: 0.25rem;
    color: var(--bs-primary-text-emphasis);
    font-size: 1.2rem;
}

.dashboard-plan-limits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
    gap: 1.25rem;
    padding-top: 1.25rem;
    margin-bottom: 0;
    border-top: 1px solid var(--bs-border-color);
}

.dashboard-plan-limits dt {
    color: var(--bs-fg-2);
    font-size: 0.875rem;
    font-weight: 400;
}

.dashboard-plan-limits dd {
    margin: 0.5rem 0 0;
    font-size: 1.125rem;
    font-weight: 650;
}

.dashboard-plan-upgrade-grid {
    display: grid;
    gap: 1.5rem;
}

.dashboard-plan-upgrade-checkout {
    min-width: 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--bs-border-color);
}

.plan-comparison-dialog {
    width: min(1120px, calc(100% - 2rem));
    max-width: calc(100% - 2rem);
    max-height: calc(100dvh - 2rem);
    padding: 0;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: var(--bs-bg-body);
    color: var(--bs-fg-body);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.plan-comparison-dialog::backdrop {
    background: rgb(0 0 0 / 65%);
    backdrop-filter: blur(3px);
}

.plan-comparison-header {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--bs-border-color);
    background: var(--bs-bg-body);
}

.plan-comparison-content .site-pricing {
    width: 100%;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .plan-comparison-content .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .dashboard-plan-upgrade-grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
        align-items: center;
        gap: 2rem;
    }

    .dashboard-plan-upgrade-checkout {
        padding-top: 0;
        padding-left: 2rem;
        border-top: 0;
        border-left: 1px solid var(--bs-border-color);
    }
}

.dashboard-plan-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 4rem;
    margin-bottom: 0;
}

.dashboard-plan-summary dt {
    margin-bottom: 0.5rem;
    color: var(--bs-fg-2);
    font-size: 0.875rem;
    font-weight: 400;
}

.dashboard-plan-summary dd {
    margin-bottom: 0;
}

.site-pricing {
    width: calc(100% - 2.5rem);
    max-width: 1080px;
    margin-inline: auto;
    padding-block: 3rem;
}

.pricing-heading {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.pricing-heading h1,
.pricing-heading h2 {
    margin-bottom: 0.875rem;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 750;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.pricing-heading p,
.pricing-plan-description,
.pricing-notes {
    color: var(--bs-fg-2);
    line-height: 1.7;
}

.pricing-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(1.25rem, 2vw, 1.75rem);
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: linear-gradient(145deg, var(--bs-bg-1), var(--bs-bg-body));
}

.pricing-card-featured {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 1px var(--bs-primary);
}

.pricing-card h2,
.pricing-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.pricing-card .pricing-plan-title-highlight {
    color: var(--bs-primary-text-emphasis);
}

.pricing-plan-description {
    margin-bottom: 1.5rem;
}

.pricing-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: auto;
    margin-bottom: 1.5rem;
}

.pricing-price strong {
    font-size: clamp(2rem, 3vw, 2.75rem);
    letter-spacing: -0.04em;
}

.pricing-price span {
    color: var(--bs-fg-2);
    font-size: 0.875rem;
}

.pricing-features {
    margin-bottom: 1.75rem;
}

.pricing-features > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    padding-block: 0.75rem;
    border-bottom: 1px solid var(--bs-border-color);
    font-size: 0.875rem;
}

.pricing-features dt {
    color: var(--bs-fg-2);
    font-weight: 400;
}

.pricing-features dd {
    margin: 0;
    font-weight: 650;
    text-align: right;
}

.pricing-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border: 1px solid var(--bs-primary);
    border-radius: 0.75rem;
    color: var(--bs-primary-text-emphasis);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.pricing-card-featured .pricing-cta {
    color: #0e1725;
    background-color: var(--bs-primary);
}

.pricing-cta:hover {
    color: #0e1725;
    background-color: var(--bs-primary-text-emphasis);
}

.pricing-cta:focus-visible {
    outline: 3px solid var(--bs-fg-body);
    outline-offset: 4px;
}

.pricing-notes {
    max-width: 860px;
    margin: 2rem auto 0;
    font-size: 0.875rem;
    text-align: center;
    overflow-wrap: anywhere;
}

.pricing-notes p {
    margin-bottom: 0.5rem;
}

@media (min-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.cover-image{width:100%;height:calc(100vw/6.5 - 1px);min-height:100px;object-fit:cover}

.dt-container .dt-paging .dt-paging-button {
    color: var(--bs-fg-body) !important;
    background: var(--bs-bg-2) !important;
    border: 1px solid var(--bs-border-color) !important;
    border-radius: 0.375rem;
    opacity: 1 !important;
}

.dt-container .dt-paging .dt-paging-button:hover:not(.disabled) {
    color: var(--bs-fg-body) !important;
    background: var(--bs-bg-3) !important;
    border-color: var(--bs-primary) !important;
}

.dt-container .dt-paging .dt-paging-button.disabled {
    color: var(--bs-fg-2) !important;
    -webkit-text-fill-color: var(--bs-fg-2) !important;
    background: var(--bs-bg-1) !important;
    opacity: 1 !important;
}

.dt-container .dt-paging .dt-paging-button:focus-visible {
    outline: 3px solid var(--bs-primary);
    outline-offset: 2px;
}

.dt-container .dt-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dt-container .dt-search label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.dt-container > .dt-layout-row:nth-child(2) {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--bs-border-color);
}

.dt-container .dt-length select {
    color: var(--bs-fg-body) !important;
    background-color: var(--bs-bg-1) !important;
    border-color: var(--bs-border-color) !important;
}

.dt-container .dt-length select option {
    color: #17212f !important;
    background-color: #fff !important;
}