/* overflow-guard */
:root { --brand-primary: #3a3d4a; --brand-primary-hover: #4a4d5a; --brand-secondary: #a8a9b3; --brand-secondary-hover: #b8b9c3; --brand-accent: #d11a3c; --background-main: #120d2b; --background-surface: #1b1436; --background-elevated: #251d42; --background-overlay: rgba(18, 13, 43, 0.75); --text-primary: #f2f2f7; --text-secondary: #d1d1d6; --text-muted: #b0b0b8; --text-brand-contrast: #ffffff; --text-link: #ffd1d9; --text-link-hover: #ffe4e9; --button-bg: #d11a3c; --button-text: #ffffff; --button-hover-bg: #b01533; --button-hover-text: #ffffff; --semantic-success: #2ecc71; --success: #2ecc71; --semantic-error: #e74c3c; --error: #e74c3c; --semantic-warning: #f1c40f; --warning: #f1c40f; --semantic-info: #3498db; --info: #3498db; --border-default: #2d254d; --border-strong: #3d345d; --border-brand: #d11a3c; --font-family-headings: Noto Sans Bengali, Space Grotesk, sans-serif; --font-family-body: Noto Sans Bengali, Source Sans 3, sans-serif; --font-family-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; --font-weight-regular: 400; --font-weight-medium: 500; --font-weight-semibold: 600; --font-weight-bold: 700; --font-weight-black: 900; --role-weight-h1: 800; --role-weight-h2: 700; --role-weight-h3: 700; --role-weight-h4: 600; --role-weight-body: 400; --font-size-xs: 0.75rem; --font-size-sm: 0.875rem; --font-size-base: 1rem; --font-size-lg: 1.125rem; --font-size-xl: 1.25rem; --font-size-h4: 1rem; --font-size-h3: 1rem; --font-size-h2: 1.5rem; --font-size-h1: 1.8rem; --font-size-display: 2.5rem; --line-height-heading: 1.35; --line-height-body: 1.55; --letter-spacing-heading: 0; --letter-spacing-body: 0; --spacing-section-desktop: 3.5rem; --section-desktop: 3.5rem; --spacing-item-desktop: 1.25rem; --item-desktop: 1.25rem; --spacing-section-mobile: 2rem; --section-mobile: 2rem; --spacing-item-mobile: 1rem; --item-mobile: 1rem; --spacing-container-pad-desktop: 2rem; --container-pad-desktop: 2rem; --spacing-container-pad-mobile: 1rem; --container-pad-mobile: 1rem; --spacing-card-pad-desktop: 1.5rem; --card-pad-desktop: 1.5rem; --spacing-card-pad-mobile: 1rem; --card-pad-mobile: 1rem; --spacing-content-max-width: 74rem; --content-max-width: 74rem; --spacing-reading-max-width: 64ch; --reading-max-width: 64ch; --radius-sm: 4px; --radius-md: 8px; --radius-lg: 12px; --radius-pill: 9999px; --shadow-card: 0 4px 12px rgba(8, 6, 19, 0.35); --shadow-elevated: 0 8px 24px rgba(8, 6, 19, 0.45); --shadow-glow: 0 0 0 1px rgba(209, 26, 60, 0.35), 0 6px 18px rgba(209, 26, 60, 0.35); --shadow-inset: inset 0 1px 0 rgba(255,255,255,.08); --gradient-brand: linear-gradient(135deg, #3a3d4a 0%, #4a4d5a 100%); --gradient-hero: linear-gradient(180deg, #221d3a 0%, #120d2b 100%); --gradient-surface: linear-gradient(#251d42, #251d42); --gradient-button: none; --effects-accent-bar: none; --recipes-transition: color 180ms, background-color 180ms, box-shadow 180ms, border-color 180ms, transform 180ms; --transition: color 180ms, background-color 180ms, box-shadow 180ms, border-color 180ms, transform 180ms; }
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; margin: 0; padding: 0; }
@supports not (overflow-x: clip) {
    html, body { overflow-x: hidden; }
}
body { background: #120d2b; color: #d1d1d6; font-family: Noto Sans Bengali, Source Sans 3, sans-serif; font-weight: 400; line-height: 1.55; padding-bottom: 4.25rem; -webkit-text-size-adjust: 100%; }
img, video, svg, iframe { max-width: 100%; }
img { height: auto; }
main *, header *, footer *, nav * { min-width: 0; }
p, li, td, th, h1, h2, h3, h4, dd, dt, figcaption, summary, a, span { overflow-wrap: anywhere; }
table { width: 100%; max-width: 100%; table-layout: fixed; border-collapse: collapse; }
pre { white-space: pre-wrap; overflow-x: auto; }
h1, h2, h3, h4 { margin: 0; font-family: Noto Sans Bengali, Space Grotesk, sans-serif; line-height: 1.35; letter-spacing: 0; color: #f2f2f7; }
h1 { font-size: 1.8rem; font-weight: 800; }
h2 { font-size: 1.5rem; font-weight: 700; }
h3 { font-size: 1rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0; color: #d1d1d6; }
ul, ol { margin: 0; }
a { color: #ffd1d9; text-decoration: none; transition: color 180ms, background-color 180ms, box-shadow 180ms, border-color 180ms, transform 180ms; }
a:hover { color: #ffe4e9; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #d11a3c; outline-offset: 2px; }
button { font: inherit; cursor: pointer; }
h1 a, h2 a, h3 a, h4 a { color: inherit; }
main [id] { scroll-margin-block-start: 5rem; }
main { width: 100%; max-width: none; margin-inline: 0; padding: 0 3%; }
main > section { padding-block: 3.5rem; }
main > section > * + *, main > article > * + *, .shell > * + *, .prose > * + *, .pile > * + *, .pile--center > * + * { margin-block-start: 1.25rem; }
@media (max-width: 48rem) {
    main > section { padding-block: 2rem; }
    main > section > * + *, main > article > * + *, .shell > * + *, .prose > * + *, .pile > * + *, .pile--center > * + * { margin-block-start: 1rem; }
}

.btn, .btn--sm, .btn--full, .btn--outline { background: #d11a3c; color: #ffffff; border-radius: 4px; min-height: 44px; font-weight: 700; box-shadow: 0 0 0 1px rgba(209, 26, 60, 0.35), 0 6px 18px rgba(209, 26, 60, 0.35); display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: 0 1.5rem; text-decoration: none; cursor: pointer; border: 0; line-height: 1.2; transition: color 180ms, background-color 180ms, box-shadow 180ms, border-color 180ms, transform 180ms; }
.btn:hover, .btn--sm:hover, .btn--full:hover, .btn--outline:hover { background: #b01533; box-shadow: 0 0 0 1px rgba(209, 26, 60, 0.5), 0 8px 26px rgba(209, 26, 60, 0.5); }
.btn--sm { min-height: 36px; padding: 0 1rem; font-size: 0.875rem; }
.btn--full { display: flex; width: 100%; }
.btn--outline { background: transparent; background-image: none; color: #f2f2f7; border: 1px solid #3d345d; box-shadow: none; }
.btn--outline:hover { background: transparent; border-color: #d11a3c; color: #f2f2f7; box-shadow: none; }

.trail { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: 1rem 0; font-size: 0.875rem; color: #d1d1d6; }
.trail a { color: #ffd1d9; }
.trail span { color: #f2f2f7; }

main > section.band { background: #1b1436; border-top: 1px solid #2d254d; border-bottom: 1px solid #2d254d; padding-block: 3.5rem; margin-inline: -3.1915%; padding-inline: 3%; }
@media (max-width: 48rem) {
    main > section.band { padding-block: 2rem; }
}
.stage { background: linear-gradient(180deg, #221d3a 0%, #120d2b 100%); padding-block: 3.5rem; text-align: center; margin-inline: -3.1915%; padding-inline: 3%; }
@media (max-width: 48rem) {
    .stage { padding-block: 2rem; }
}

.card { background: #251d42; border: 1px solid #3d345d; border-radius: 8px; box-shadow: 0 4px 12px rgba(8, 6, 19, 0.35), inset 0 1px 0 rgba(255,255,255,.08); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; transition: color 180ms, background-color 180ms, box-shadow 180ms, border-color 180ms, transform 180ms; }
.card:hover { border-color: #d11a3c; box-shadow: 0 0 0 1px rgba(209, 26, 60, 0.35), 0 6px 18px rgba(209, 26, 60, 0.35), inset 0 1px 0 rgba(255,255,255,.08); }
@media (max-width: 48rem) {
    .card { padding: 1rem; }
}
.card > img { width: 100%; height: auto; display: block; }

.medal, .medal--success, .medal--warning, .medal--error, .medal--info { width: 2.75rem; height: 2.75rem; border-radius: 4px; background: linear-gradient(135deg, #3a3d4a 0%, #4a4d5a 100%); color: #ffffff; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; font-weight: 700; }
.medal--success { background: #2ecc71; color: #fff; }
.medal--warning { background: #f1c40f; color: #fff; }
.medal--error { background: #e74c3c; color: #fff; }
.medal--info { background: #3498db; color: #fff; }

.foot { background: #120d2b; border-top: 1px solid #2d254d; padding: 3rem 3% 2rem; color: #b0b0b8; }
.foot__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; text-align: center; }
.foot__col > p, .foot__col > h3 { font-size: 0.875rem; font-weight: 700; color: #f2f2f7; margin: 0 0 .75rem; text-transform: uppercase; letter-spacing: .05em; }
.foot__col ul { list-style: none; padding: 0; margin: 0; }
.foot__col li + li { margin-block-start: .5rem; }
.foot__col a { color: #b0b0b8; font-size: 0.875rem; }
.foot__col a:hover { color: #ffe4e9; }
.foot__meta { margin-block-start: 2rem; padding-block-start: 1.5rem; border-top: 1px solid #2d254d; text-align: center; font-size: 0.875rem; }
.foot__meta > * + * { margin-block-start: .5rem; }

.datatable__wrap { background: #251d42; border: 1px solid #3d345d; border-radius: 8px; box-shadow: 0 4px 12px rgba(8, 6, 19, 0.35), inset 0 1px 0 rgba(255,255,255,.08); overflow-x: auto; max-width: 100%; }
.datatable { width: 100%; table-layout: fixed; border-collapse: collapse; }
.datatable th, .datatable td { padding: 1rem; text-align: start; border-bottom: 1px solid #2d254d; vertical-align: top; }
.datatable thead th { background: #251d42; color: #f2f2f7; font-weight: 600; }
.datatable tbody tr:last-child td { border-bottom: 0; }
.datatable td:first-child { color: #b0b0b8; font-weight: 600; }

.fine { font-size: 0.875rem; }
.soft { color: #b0b0b8; }
.middle { text-align: center; }
.tint--accent { color: #d11a3c; }
.tint--success { color: #2ecc71; }
.tint--warning { color: #f1c40f; }
.tint--error { color: #e74c3c; }
.tint--info { color: #3498db; }

.gamecard { background: #251d42; border: 1px solid #3d345d; border-radius: 8px; box-shadow: 0 4px 12px rgba(8, 6, 19, 0.35), inset 0 1px 0 rgba(255,255,255,.08); display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit; transition: color 180ms, background-color 180ms, box-shadow 180ms, border-color 180ms, transform 180ms; }
.gamecard:hover { border-color: #d11a3c; box-shadow: 0 0 0 1px rgba(209, 26, 60, 0.35), 0 6px 18px rgba(209, 26, 60, 0.35), inset 0 1px 0 rgba(255,255,255,.08); }
.gamecard__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.gamecard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 200ms; }
.gamecard:hover .gamecard__media img { transform: scale(1.04); }
.gamecard__play { position: absolute; bottom: .5rem; right: .5rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #d11a3c; color: #ffffff; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 150ms; }
.gamecard:hover .gamecard__play, .gamecard:focus-visible .gamecard__play { opacity: 1; }
@media (hover: none) {
    .gamecard__play { opacity: 1; }
}
.gamecard__name { padding: .6rem .75rem; background: #251d42; }
.gamecard__name h3 { margin: 0; font-size: 0.875rem; color: #f2f2f7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 48rem) {
    .gamecard__name h3 { white-space: normal; }
}

.bottombar { position: fixed; inset: auto 0 0 0; z-index: 1000; display: flex; justify-content: space-around; align-items: center; height: 4.25rem; background: #1b1436; border-top: 1px solid #2d254d; }
.bottombar__item { display: flex; flex-direction: column; align-items: center; gap: .25rem; flex: 1 1 0; padding: .5rem 0; font-size: 0.75rem; color: #b0b0b8; }
.bottombar__item i { font-size: 1.25rem; }
.bottombar__item:hover { color: #d11a3c; }

.masthead { background: #120d2b; border-bottom: 1px solid #2d254d; padding: .75rem 3%; position: sticky; top: 0; z-index: 100; }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.masthead__brand { display: inline-flex; align-items: center; gap: .5rem; color: #f2f2f7; }
.masthead__brand img { border-radius: 4px; }
.masthead__brand strong { font-size: 16px; font-weight: 400; }
.masthead__actions { display: flex; align-items: center; gap: .5rem; }

.scroller { display: flex; flex-wrap: nowrap; gap: .5rem; overflow-x: auto; max-width: 100%; min-width: 0; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-block: .25rem; }
.scroller::-webkit-scrollbar { display: none; }
.scroller__link { flex: 0 0 auto; white-space: nowrap; padding: .5rem 1rem; border-radius: 4px; background: #1b1436; border: 1px solid #2d254d; color: #d1d1d6; font-size: 0.875rem; transition: color 180ms, background-color 180ms, box-shadow 180ms, border-color 180ms, transform 180ms; }
.scroller__link:hover { border-color: #d11a3c; color: #f2f2f7; }

.marker { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem 1rem; border-radius: 9999px; background: #251d42; border: 1px solid #3d345d; color: #f2f2f7; font-size: 0.875rem; }
.marker > i { color: #d11a3c; }

.caption { position: relative; }
.caption::before { content: ""; display: block; width: 100%; height: 1px; background: linear-gradient(90deg, #d11a3c 0, #d11a3c 2.5rem, #2d254d 2.5rem, #2d254d 100%); margin-bottom: .6rem; }

.reveal { background: #251d42; border: 1px solid #3d345d; border-radius: 8px; box-shadow: 0 4px 12px rgba(8, 6, 19, 0.35), inset 0 1px 0 rgba(255,255,255,.08); transition: color 180ms, background-color 180ms, box-shadow 180ms, border-color 180ms, transform 180ms; }
.reveal + .reveal { margin-block-start: 1rem; }
.reveal[open] { border-color: #d11a3c; }
.reveal__q { display: flex; align-items: flex-start; gap: 1rem; padding: 1.5rem; cursor: pointer; list-style: none; }
.reveal__q::-webkit-details-marker { display: none; }
.reveal__q h3 { margin: 0; flex: 1 1 auto; min-width: 0; }
.reveal__q::after { content: "\f0d7"; font-family: "Font Awesome 6 Free"; font-weight: 900; flex: 0 0 auto; color: #d11a3c; transition: transform 200ms; }
.reveal[open] .reveal__q::after { transform: rotate(180deg); }
.reveal__a { margin: 0; padding: 0 1.5rem 1.5rem; }
@media (max-width: 48rem) {
    .reveal__q { padding: 1rem; }
    .reveal__a { padding: 0 1rem 1rem; }
}

.shell { width: 100%; max-width: 74rem; margin-inline: auto; }
.prose { max-width: 64ch; margin-inline: auto; }
.pile, .pile--center { display: block; }
.pile--center { text-align: center; }
.row, .row--center { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.row--center { justify-content: center; }
.matrix { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.25rem; }
.deck { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 48rem) {
    .deck { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
    .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
}
.points { list-style: none; padding: 0; }
.points > li { display: flex; align-items: flex-start; gap: .75rem; }
.points > li + li { margin-block-start: .75rem; }
.points > li > i { flex: 0 0 1.25rem; text-align: center; margin-top: .2em; color: #d11a3c; }

.entry, .card.entry { display: flex; flex-direction: row; align-items: flex-start; gap: 1rem; }
.entry__body { flex: 1 1 auto; min-width: 0; }
.entry__body > * + * { margin-block-start: .5rem; }

.callout, .callout--warning, .callout--info, .callout--success, .callout--error { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem; border-radius: 8px; background: #1b1436; border: 1px solid #2d254d; border-left: 4px solid #d11a3c; }
.callout > i, .callout--warning > i, .callout--info > i, .callout--success > i, .callout--error > i { flex: 0 0 auto; margin-top: .2em; color: #d11a3c; }
.callout--success { border-left-color: #2ecc71; }
.callout--warning { border-left-color: #f1c40f; }
.callout--error { border-left-color: #e74c3c; }
.callout--info { border-left-color: #3498db; }
.callout--success > i { color: #2ecc71; }
.callout--warning > i { color: #f1c40f; }
.callout--error > i { color: #e74c3c; }
.callout--info > i { color: #3498db; }

/* page */
.provider-name { font-weight: 700; letter-spacing: 0.02em; color: var(--text-primary); }
