.brands-page { background: #0c0c0e; }
.brands-page [hidden] { display: none !important; }
.brands-page .floating-brands-btn { display: none !important; }
.brands-wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.brands-hero {
    position: relative; overflow: hidden; padding: 24px 0 36px; border-bottom: 1px solid #383039;
    /* Six brand accents form a quiet mesh; the copy stays over the darker side. */
    background:
        linear-gradient(90deg, #0c0c0ed9, #0c0c0e33 65%, #0c0c0e1a),
        radial-gradient(ellipse at 7% 20%, rgb(var(--hero-reddragon) / .33), transparent 52%),
        radial-gradient(ellipse at 48% 0%, rgb(var(--hero-qqpk) / .25), transparent 47%),
        radial-gradient(ellipse at 90% 10%, rgb(var(--hero-wptg) / .30), transparent 48%),
        radial-gradient(ellipse at 95% 95%, rgb(var(--hero-coinpoker) / .28), transparent 48%),
        radial-gradient(ellipse at 62% 100%, rgb(var(--hero-nexa) / .22), transparent 44%),
        radial-gradient(ellipse at 22% 100%, rgb(var(--hero-ggpoker) / .28), transparent 50%),
        #101014;
}
.brands-hero .brands-wrap { position: relative; z-index: 1; }
.brands-hero .site-breadcrumb { margin-bottom: 20px; }
.brands-eyebrow { color: #dbb56b; font-size: .75rem; font-weight: 700; letter-spacing: .13em; margin: 0 0 16px; }
.brands-eyebrow span { color: #918689; margin-left: 10px; }
.brands-hero h1 { font-size: 3.75rem; font-weight: 900; line-height: 1.2; letter-spacing: -.035em; margin: 0 0 10px; }
.brands-hero h1 span { color: #f04e68; }
.brands-hero-tagline { font-size: 2rem; font-weight: 700; color: #e5e7eb; line-height: 1.35; margin: 0 0 20px; }
.brands-lead { font-size: 1.25rem; line-height: 1.65; color: #d1d5db; max-width: 640px; }
.brands-hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 20px; color: #aaa3a7; font-size: .875rem; }
.brands-hero-meta > span:first-child { border-right: 1px solid #4a373b; padding-right: 24px; }
.brands-hero-meta strong { font-size: 1.25rem; color: #f0d197; margin-right: 5px; }
.brands-directory { padding-top: 42px; padding-bottom: 72px; }
.brands-section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 26px; }
.brands-section-head .brands-eyebrow { margin-bottom: 8px; }
.brands-section-head h2 { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; }
.brands-view-switch { display: flex; padding: 4px; background: #19181b; border: 1px solid #333035; border-radius: 10px; flex-shrink: 0; }
.brands-view-switch button { display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 6px; padding: 10px 16px; color: #bdb7bb; font-size: .875rem; line-height: 1.5; min-height: 42px; }
.brands-view-switch button[aria-pressed="true"] { background: #373035; color: #fff; }
.brands-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; padding: 20px 24px; border: 1px solid #302d32; border-radius: 12px; background: #151416; }
.brands-filter-panel > summary { display: none; width: fit-content; min-height: 44px; padding: 10px 15px; border: 1px solid #554c55; border-radius: 7px; background: #211e23; color: #e5dce2; font-size: .875rem; cursor: pointer; }
#brands-main[data-view="table"] .brands-filter-panel > summary { display: inline-flex; }
.brands-filter-panel[open] > summary { margin-bottom: 12px; }
#brands-filter-count { display: inline-flex; justify-content: center; min-width: 22px; margin-left: 8px; padding-inline: 5px; border-radius: 4px; background: #5aee91; color: #0c2716; font-weight: 700; }
.brands-filter-row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.brands-filter-label { color: #bdb5ba; font-size: .875rem; }
.brands-filter-buttons { display: flex; gap: 6px; flex-wrap: wrap; }
.brands-filter-buttons button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; min-height: 42px; border: 1px solid transparent; border-radius: 7px; color: #bdb5ba; font-size: .875rem; }
.brands-filter-buttons button:hover { color: #fff; background: #242024; }
.brands-filter-buttons button[aria-pressed="true"] { background: #173323; border-color: #5aee91; color: #bdffd4; }
.brands-live-filter { display: flex; align-items: center; gap: 10px; color: #ccc5ca; font-size: .875rem; cursor: pointer; min-height: 44px; }
.brands-live-filter input { width: 18px; height: 18px; accent-color: #5aee91; flex-shrink: 0; }
.brands-badge-filters { flex-basis: 100%; min-width: 0; display: grid; gap: 18px; border-top: 1px solid #353036; padding-top: 16px; }
.brands-badge-group { min-width: 0; border: 0; padding: 0; margin: 0; }
.brands-badge-group legend { color: #c7bec5; font-size: .875rem; margin-bottom: 8px; }
.brands-filter-options { display: flex; flex-wrap: wrap; gap: 8px; }
.brands-language-row { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.brands-language-row .brands-filter-options { flex: 1; min-width: 0; }
.brands-language-row[data-expanded="false"] .brands-filter-options { flex-wrap: nowrap; }
.brands-language-row .brands-filter-badge { flex-shrink: 0; }
.brands-language-toggle { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; min-height: 44px; padding: 8px 12px; border: 1px solid #554c55; border-radius: 6px; background: #211e23; color: #bdffd4; font-size: .875rem; font-variant-numeric: tabular-nums; line-height: 1.5; white-space: nowrap; }
.brands-language-toggle:hover { border-color: #5aee91; }
.brands-language-hidden { margin-top: 6px; color: #bdffd4; font-size: .8125rem; line-height: 1.5; }
.brands-filter-badge { position: relative; display: inline-flex; max-width: 100%; cursor: pointer; }
.brands-filter-badge input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; margin: 0; }
.brands-filter-badge > span { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid #554c55; border-radius: 6px; background: #211e23; color: #ddd5dc; font-size: .875rem; line-height: 1.5; overflow-wrap: anywhere; }
.brands-filter-badge > span::before { content: ''; flex-shrink: 0; width: 16px; height: 16px; border: 1px solid #a0949c; border-radius: 3px; }
.brands-filter-badge input:checked + span { border-color: #5aee91; background: #173323; color: #bdffd4; }
.brands-filter-badge input:checked + span::before { content: '✓'; display: grid; place-items: center; background: #5aee91; border-color: #5aee91; color: #0c2716; font-size: 12px; font-weight: 800; line-height: 1; }
.brands-filter-badge input:focus-visible + span { outline: 2px solid #f2ca82; outline-offset: 3px; }
.brands-filter-badge:hover > span { border-color: #bba58e; }
.brands-filter-note { flex-basis: 100%; color: #b8adb5; font-size: .8125rem; line-height: 1.6; }
.brands-result-line { display: flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 62px; font-size: .875rem; color: #a9a1a6; }
.brands-reset { color: #e7c88e; text-decoration: underline; text-underline-offset: 4px; padding: 10px 0; }
.brands-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
/* Brand identity stays compact in both presentations. */
.brand-identity { display: flex; align-items: flex-start; flex-direction: column; min-width: 0; gap: 12px; }
.brand-logo { width: 104px; height: auto; aspect-ratio: 1; object-fit: contain; object-position: center; }
.brand-name { color: #b8afb6; font-size: .8125rem; font-weight: 400; line-height: 1.4; }
.brand-feature { color: var(--brand-accent); font-size: 1rem; font-weight: 700; line-height: 1.55; overflow-wrap: anywhere; }
.brand-intro { color: #d2c8d0; font-size: 1rem; line-height: 1.8; margin: 0; }
.brand-tour-kind { display: block; color: #d9b775; font-size: .875rem; margin-bottom: 6px; }
.brand-status { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; white-space: nowrap; }
.brand-status > span:first-child { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 5px; font-weight: 800; line-height: 1; }
.brand-status.is-supported > span:first-child { background: #6cdb9a; color: #10271b; }
.brand-status.is-unknown > span:first-child { background: #f4ae65; color: #35200d; }
.brand-status.is-unsupported > span:first-child { background: #ff8c91; color: #38171c; }
.brand-status.is-supported { color: #6cdb9a; }
.brand-status.is-unknown { color: #f4ae65; }
.brand-status.is-unsupported { color: #ff8c91; }
.brands-status-legend { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-bottom: 20px; }
.brand-pending { color: #f4ae65; }
.brand-link { display: inline-flex; color: #e9c78b; font-size: .875rem; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; min-height: 32px; align-items: center; }
.brand-link:hover { color: #fff; }
.brand-sources { font-size: .8125rem; line-height: 1.7; color: #a99da7; max-width: 100%; }
.brand-sources summary { cursor: pointer; min-height: 32px; padding-top: 3px; }
.brand-sources ul { list-style: none; padding-top: 10px; overflow-wrap: anywhere; }
.brand-sources a { text-decoration: underline; text-underline-offset: 3px; }
.brand-sources li + li { margin-top: 7px; }
.brands-table-container { border: 1px solid #3c333b; border-radius: 12px; overflow: clip; }
.brands-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; text-align: left; font-size: .875rem; }
.brands-table thead th { background: #252025; color: #d9c6d1; font-weight: 500; padding: 18px 16px; border-bottom: 1px solid #443941; }
.brands-table th:first-child { width: 15%; }
.brands-table th[data-attribute="profile"] { width: 29%; }
.brands-table th[data-attribute="tour"] { width: 19%; }
.brands-table th[data-attribute="platforms"] { width: 19%; }
.brands-table td, .brands-table tbody th { padding: 24px 16px; vertical-align: top; line-height: 1.7; border-bottom: 1px solid #302b30; background: #171518; overflow-wrap: anywhere; }
.brands-table tbody th { border-right: 1px solid #3c333b; font-weight: 400; }
.brands-table tbody th > .brand-link { margin-top: 14px; }
.brands-table tbody tr:last-child > * { border-bottom: none; }
.brands-table .brand-logo { max-width: 100%; }
.brands-mobile-attribute { display: none; }
.brands-empty { padding: 64px 20px; text-align: center; background: #171416; border: 1px solid #383038; border-radius: 12px; }
.brands-empty > i { font-size: 1.5rem; color: #cfac71; margin-bottom: 20px; }
.brands-empty h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; }
.brands-empty p { color: #b5a9b2; margin-bottom: 24px; }
.brands-empty button { background: #d90429; border-radius: 8px; min-height: 44px; padding: 10px 22px; }
.brands-notes { margin-top: 36px; padding: 26px 28px; border-left: 2px solid #a18452; background: #1c1913; border-radius: 0 10px 10px 0; }
.brands-notes > div { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.brands-notes h2 { font-size: 1rem; font-weight: 600; color: #ebd4aa; }
.brands-notes time { font-size: .8125rem; color: #b5a98e; }
.brands-notes p { font-size: .875rem; line-height: 1.85; color: #c4bba9; }
.brands-notes p + p { margin-top: 8px; }
.brands-page button, .brands-page input { touch-action: manipulation; }
.brands-page main :is(button, a, input, summary, [tabindex]):focus-visible { outline: 2px solid #f2ca82; outline-offset: 5px; }
@media (max-width: 800px) {
    /* Keep the comparison readable; the same destinations remain in the header/footer. */
    .brands-page :is(.floating-download-btn, .floating-gift-btn, .floating-stats-menu, .floating-menu, .back-to-top-btn) { display: none !important; }
    .brands-wrap { width: calc(100% - 40px); }
    .brands-section-head { align-items: start; flex-direction: column; }
    .brands-toolbar { padding: 16px; gap: 12px; }
    .brands-filter-row { gap: 10px; }
    .brands-grid { grid-template-columns: 1fr; gap: 18px; }
    .brands-view-switch { align-self: stretch; }
    .brands-view-switch button { flex: 1; }
}
@media (max-width: 480px) {
    .brands-wrap { width: calc(100% - 32px); }
    .brands-hero { padding: 20px 0 26px; }
    .brands-hero .site-breadcrumb { margin-bottom: 28px; }
    .brands-lead { font-size: 1.125rem; }
    .brands-hero-meta { gap: 12px; margin-top: 24px; }
    .brands-hero-meta > span:first-child { padding-right: 12px; }
    .brands-hero-meta > span:last-child { font-size: .8125rem; }
    .brands-directory { padding-top: 30px; }
    .brands-filter-row { display: block; width: 100%; }
    .brands-filter-label { display: block; margin-bottom: 10px; }
    .brands-filter-buttons { gap: 2px; }
    .brands-filter-buttons button { padding-inline: 12px; }
    .brands-notes { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { .brand-card { transition: none; } }

.brands-hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 44px; align-items: center; }
.brands-hero-copy { min-width: 0; max-width: 640px; }
.brands-hero-meta { line-height: 1.7; }
.brand-pool { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 14px; padding: 46px 26px; }
.brand-pool::before { content: ''; position: absolute; z-index: -2; inset: 2px -8px; border: 13px solid #382a2b; border-radius: 46%; background: #17352e; box-shadow: 0 0 0 2px #786453, 0 9px 0 2px #1b171a, inset 0 0 0 2px #9a8057; transform: rotate(-5deg); }
.brand-pool::after { content: ''; position: absolute; z-index: -1; inset: 30px 20px; border: 1px dashed #b7a17480; border-radius: 44%; transform: rotate(-5deg); pointer-events: none; }
.brand-pool-chip { display: flex; align-items: center; justify-content: center; min-width: 0; aspect-ratio: 1; padding: 0; border-radius: 12px; overflow: hidden; background: #19181c; border: 1px solid #5d515d; border-bottom: 3px solid var(--brand-accent); }
.brand-pool-chip:nth-child(even) { transform: translateY(13px) rotate(4deg); }
.brand-pool-chip:nth-child(odd) { transform: translateY(-6px) rotate(-4deg); }
.brand-pool-chip img { display: block; width: 80%; height: 80%; min-height: 0; object-fit: contain; }
@media (max-width: 1050px) {
    .brands-hero h1 { font-size: 3rem; }
    .brands-hero-tagline { font-size: 1.875rem; }
    .brands-hero-layout { gap: 24px; }
    .brand-pool { gap: 16px 10px; padding: 35px 14px; }
    .brands-table td, .brands-table thead th, .brands-table tbody th { padding-inline: 12px; }
}
@media (max-width: 800px) {
    .brands-hero h1 { font-size: 2.25rem; }
    .brands-hero-tagline { font-size: 1.5rem; }
    .brands-hero-layout { grid-template-columns: 1fr; gap: 24px; }
    .brand-pool { width: min(100%, 540px); justify-self: center; padding: 28px 20px; }
    .brand-logo { width: 76px; }
    .brand-feature { font-size: .875rem; }
    .brand-identity { gap: 9px; }
    .brands-mobile-attribute { display: grid; gap: 10px; margin-bottom: 18px; font-size: .875rem; color: #c9bdc6; }
    .brands-attribute-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .brands-attribute-buttons button { min-width: 0; min-height: 44px; padding: 10px; border: 1px solid #554c55; border-radius: 6px; background: #211e23; color: #ddd5dc; line-height: 1.5; overflow-wrap: anywhere; }
    .brands-attribute-buttons button[aria-pressed="true"] { border-color: #5aee91; background: #173323; color: #bdffd4; }
    .brands-mobile-attribute p { color: #aa9da6; line-height: 1.6; }
    .brands-table th:first-child { width: 104px; }
    .brands-table th[data-attribute] { width: auto; }
    .brands-table td, .brands-table tbody th, .brands-table thead th { padding: 18px 12px; }
    #brands-comparison [data-attribute] { display: none; }
    #brands-comparison[data-active-attribute="profile"] [data-attribute="profile"],
    #brands-comparison[data-active-attribute="tour"] [data-attribute="tour"],
    #brands-comparison[data-active-attribute="platforms"] [data-attribute="platforms"],
    #brands-comparison[data-active-attribute="availability"] [data-attribute="availability"] { display: table-cell; }
}
@media (max-width: 360px) {
    .brand-logo { width: 68px; }
    .brands-table th:first-child { width: 94px; }
    .brands-table td, .brands-table tbody th, .brands-table thead th { padding-inline: 10px; }
    .brand-pool { padding-inline: 8px; gap: 14px 8px; }
}

/* Compact introductions: brand header, checked games, then stacked specifications. */
.brands-grid { align-items: start; gap: 18px; }
.brand-card { min-width: 0; padding: 20px; border: 1px solid #403840; border-radius: 10px; background: #19171b; scroll-margin-top: 150px; }
.brand-card-top { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 18px; }
.brand-card-content { min-width: 0; padding-left: 18px; border-left: 1px solid #373036; }
.brand-logo { max-width: 100%; }
.brand-intro { line-height: 1.65; }
.brand-game-groups { display: grid; gap: 9px; margin-top: 12px; }
.brand-game-groups h4 { font-size: .875rem; color: #aea2ac; margin: 0 0 5px; font-weight: 400; }
.brand-check-list, .brand-locale-list { display: flex; flex-wrap: wrap; align-items: start; gap: 5px 6px; list-style: none; padding: 0; margin: 0; }
.brand-check-tag, .brand-locale { display: inline-flex; align-items: center; gap: 6px; padding: 4px 7px; border: 1px solid #4b414b; border-radius: 5px; background: #242027; font-size: .875rem; line-height: 1.45; color: #f0e9ef; max-width: 100%; overflow-wrap: anywhere; }
.brand-check-tag > span:not(.brand-check-icon) { min-width: 0; }
.brand-check-tag.is-supported { border-color: #396a4b; background: #192c22; color: #e5f7eb; }
.brand-check-tag.is-supported .brand-check-icon { background: #6cdb9a; color: #10271b; }
.brand-check-tag.is-unknown { border-color: #855d35; background: #30251a; color: #ffe0b9; }
.brand-check-tag.is-unknown .brand-check-icon { background: #f4ae65; color: #35200d; }
.brand-check-tag.is-unsupported, .brand-locale.is-unsupported { border-color: #875158; color: #ffbdc0; background: #321e23; }
.brand-check-tag.is-unsupported .brand-check-icon { background: #ff8c91; color: #38171c; }
.brand-check-icon { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 4px; font-size: .8125rem; line-height: 1; font-weight: 800; flex-shrink: 0; }
.brand-card-tour { display: grid; grid-template-columns: 1fr; gap: 4px; border-top: 1px solid #332c32; margin-top: 12px; padding-top: 10px; font-size: .875rem; line-height: 1.5; }
.brand-card-tour h3, .brand-card-platforms h3 { color: #b9aeb7; font-size: .875rem; font-weight: 400; }
.brand-card-tour .brand-tour-kind { display: inline; margin: 0 7px 0 0; }
.brand-card-specs { display: grid; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #373036; }
.brand-card-platforms, .brand-card .brand-availability > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 18px; align-items: baseline; }
.brand-card-platforms > div, .brand-availability dd { min-width: 0; }
.brand-availability { display: grid; gap: 12px; font-size: .875rem; line-height: 1.5; }
.brand-availability dt { color: #b9aeb7; margin-bottom: 6px; }
.brand-card .brand-availability dt { margin: 0; }
.brand-card-bottom { display: flex; align-items: start; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding-top: 10px; border-top: 1px solid #343036; }
.brand-data-note { color: #b7abb4; font-size: .8125rem; line-height: 1.5; margin-top: 6px; }
.brand-more { margin-top: 5px; font-size: .875rem; color: #cdb17f; }
.brand-more summary { cursor: pointer; min-height: 32px; padding: 5px 0; width: fit-content; }
.brand-more[open] summary { margin-bottom: 5px; }
.brand-more > summary, .brand-sources > summary, .brands-filter-panel > summary { align-items: center; gap: 9px; list-style: none; }
.brand-more > summary, .brand-sources > summary { display: inline-flex; }
.brand-more > summary::-webkit-details-marker, .brand-sources > summary::-webkit-details-marker, .brands-filter-panel > summary::-webkit-details-marker { display: none; }
.brand-more > summary::after, .brand-sources > summary::after, .brands-filter-panel > summary::after, .brands-language-toggle::after { content: ''; flex-shrink: 0; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.brand-more[open] > summary::after, .brand-sources[open] > summary::after, .brands-filter-panel[open] > summary::after, .brands-language-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
.brand-region-pending { display: inline-flex; align-items: center; gap: 7px; color: #f4ae65; font-size: .875rem; }
.brand-vpn-icon { display: inline-flex; align-items: center; gap: 3px; border: 1px solid #f4ae6530; border-radius: 5px; padding: 4px 5px; font-size: .75rem; font-weight: 600; }
.brands-table .brand-platform-list { display: grid; justify-items: start; gap: 6px; }
.brands-table .brand-game-groups { gap: 10px; }
.brands-table td, .brands-table tbody th { padding-block: 20px; }
@media (max-width: 1050px) and (min-width: 801px) {
    .brand-card { padding: 16px; }
    .brand-card-top { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
    .brand-card-content { padding-left: 12px; }
    .brand-card-platforms, .brand-card .brand-availability > div { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 800px) {
    .brand-card { padding: 16px; }
    .brand-card-top { grid-template-columns: 82px minmax(0, 1fr); gap: 12px; }
    .brand-card-content { padding-left: 12px; }
    .brand-card-platforms, .brand-card .brand-availability > div { grid-template-columns: 82px minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 360px) {
    .brand-card { padding: 12px; }
    .brand-card-top { grid-template-columns: 72px minmax(0, 1fr); gap: 10px; }
    .brand-card-content { padding-left: 10px; }
    .brand-card-platforms, .brand-card .brand-availability > div { grid-template-columns: 72px minmax(0, 1fr); gap: 10px; }
}
