/* 888crypt design system. Tokens first, so every Vuetify component picks them up. */
:root, html .v-theme--eclipseReverie {
  --v-theme-background: 10, 18, 14 !important;
  --v-theme-on-background: 240, 240, 230 !important;
  --v-theme-surface: 18, 28, 22 !important;
  --v-theme-on-surface: 240, 240, 230 !important;
  --v-theme-surface-bright: 44, 62, 50 !important;
  --v-theme-surface-light: 27, 40, 32 !important;
  --v-theme-surface-variant: 27, 40, 32 !important;
  --v-theme-on-surface-variant: 170, 182, 170 !important;
  --v-theme-primary: 198, 242, 78 !important;
  --v-theme-primary-darken-1: 170, 214, 54 !important;
  --v-theme-on-primary: 10, 18, 14 !important;
  --v-theme-primary-container: 40, 58, 22 !important;
  --v-theme-on-primary-container: 220, 246, 150 !important;
  --v-theme-secondary: 170, 182, 170 !important;
  --v-theme-secondary-darken-1: 142, 156, 145 !important;
  --v-theme-on-secondary: 10, 18, 14 !important;
  --v-theme-secondary-container: 34, 48, 40 !important;
  --v-theme-on-secondary-container: 220, 226, 216 !important;
  --v-theme-error: 255, 123, 92 !important;
  --v-theme-on-error: 10, 18, 14 !important;
  --v-theme-success: 87, 217, 143 !important;
  --v-theme-on-success: 10, 18, 14 !important;
  --v-theme-warning: 245, 184, 65 !important;
  --v-theme-on-warning: 10, 18, 14 !important;
  --v-theme-info: 124, 199, 255 !important;
  --v-theme-on-info: 10, 18, 14 !important;
  --v-theme-app-bar: 10, 18, 14 !important;
  --v-theme-footer: 14, 23, 18 !important;
  --v-theme-on-footer: 240, 240, 230 !important;
  --v-theme-system-bar: 10, 18, 14 !important;
  --v-theme-on-image: 240, 240, 230 !important;
  --v-border-color: 240, 240, 230 !important;
  --v-border-opacity: .1 !important;

  --line: rgba(240, 240, 230, .1);
  --line-strong: rgba(240, 240, 230, .2);
  --muted: rgb(170, 182, 170);
  --radius: 18px;
  --radius-sm: 10px;
  --font-display: 'Bricolage Grotesque', 'Geist', system-ui, sans-serif;
  --font-body: 'Geist', system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;
}

/* Base */
html body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background: rgb(10, 18, 14); }
html { scrollbar-color: rgba(240, 240, 230, .22) transparent; scrollbar-width: thin; }
html ::selection { background: rgb(198, 242, 78); color: rgb(10, 18, 14); }
html :focus-visible { outline: 2px solid rgb(198, 242, 78); outline-offset: 2px; }
html a { text-underline-offset: 3px; }
html .text-h1, html .text-h2, html .text-h3, html .text-h4, html .text-h5, html .text-h6,
html h1, html h2, html h3, html h4, html h5, html h6 { letter-spacing: -.02em !important; font-weight: 650 !important; }
html .font-weight-thin { font-weight: 400 !important; }
html .text-disabled { color: var(--muted) !important; opacity: 1; }
html .v-application .text-primary { color: rgb(198, 242, 78) !important; }
html .v-divider { opacity: 1; border-color: var(--line); }
/* Particles behind the sign-in screens */
html canvas[id^="tsparticles"], html #tsparticles { display: none !important; }

/* Buttons */
html .v-btn { text-transform: none; letter-spacing: 0; font-weight: 600; border-radius: var(--radius-sm); box-shadow: none !important; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; }
html .v-btn--icon { border-radius: 50%; }
html .v-btn--rounded { border-radius: 999px; }
html .v-btn.bg-primary:hover { transform: translateY(-1px); }
html .v-btn.bg-secondary { background: transparent !important; color: rgb(240, 240, 230) !important; border: 1px solid var(--line-strong); }
html .v-btn.bg-secondary:hover { background: rgba(240, 240, 230, .06) !important; }
html .v-btn--variant-outlined { border-color: var(--line-strong); }
html .v-btn.v-btn--disabled.bg-primary { background: rgba(198, 242, 78, .25) !important; color: rgba(240, 240, 230, .5) !important; }

/* Surfaces */
html .v-card { border-radius: var(--radius) !important; box-shadow: none !important; border: 1px solid var(--line); background: rgb(18, 28, 22); }
html .v-card-title { font-weight: 600; letter-spacing: -.01em; }
html .v-sheet { box-shadow: none !important; }
html .v-dialog .v-overlay__content > .v-card, html .v-dialog .v-overlay__content > form > .v-card { border-radius: 22px !important; border-color: var(--line-strong); }
html .v-overlay__scrim { background: rgb(4, 8, 6); opacity: .72; }
html .v-menu .v-list, html .v-select__content .v-list, html .v-autocomplete__content .v-list { border: 1px solid var(--line-strong); border-radius: 14px; background: rgb(27, 40, 32); box-shadow: 0 16px 48px rgba(0, 0, 0, .45); padding: 6px; }
html .v-list-item { border-radius: 10px; }
html .v-list-item--active > .v-list-item__overlay { background: rgb(198, 242, 78); opacity: .12; }
html .v-list-item--active .v-list-item__prepend > .v-icon, html .v-list-item--active .v-list-item-title { color: rgb(198, 242, 78); }
html .v-snackbar__wrapper { border-radius: 12px; border: 1px solid var(--line-strong); box-shadow: 0 16px 48px rgba(0, 0, 0, .45); }
html .v-alert { border-radius: 12px; }
html .v-chip { border-radius: 8px; font-weight: 500; }
html .v-tooltip > .v-overlay__content { background: rgb(44, 62, 50); color: rgb(240, 240, 230); border-radius: 8px; }
html .v-tabs .v-tab { text-transform: none; letter-spacing: 0; font-weight: 600; }

/* Forms */
html .v-field { border-radius: var(--radius-sm); --v-field-border-opacity: .2; }
html .v-field--variant-outlined .v-field__outline__start { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
html .v-field--variant-outlined .v-field__outline__end { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
html .v-field--focused .v-field__outline { color: rgb(198, 242, 78); --v-field-border-opacity: 1; }
html .v-field--variant-filled .v-field__overlay { background: rgba(240, 240, 230, .05); opacity: 1; }
html .v-label { letter-spacing: 0; }
html .v-selection-control__wrapper .v-icon { color: var(--muted); }
html .v-selection-control--dirty .v-icon { color: rgb(198, 242, 78); }
html input[type="number"] { font-family: var(--font-mono); }

/* Tables and numbers */
html .v-table { background: transparent; border-radius: var(--radius); border: 1px solid var(--line); }
html .v-table th { color: var(--muted) !important; font-size: 12px !important; font-weight: 500 !important; }
html .v-table td, html .v-table th { border-color: var(--line) !important; }
html .v-table td { font-variant-numeric: tabular-nums; }
html .v-table tbody tr:hover { background: rgba(240, 240, 230, .03); }
html .v-data-table-footer { border-top: 1px solid var(--line); }

/* App bar */
html header.v-app-bar { background: rgba(10, 18, 14, .78) !important; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); box-shadow: none !important; }
html .header-logo .v-avatar { width: 30px !important; height: 30px !important; }
html .header-logo .text-h5 { font-size: 21px !important; font-weight: 700 !important; letter-spacing: -.035em !important; margin-left: 10px !important; }
html header.v-app-bar .v-btn { height: 38px; }

/* Navigation drawer */
html .v-navigation-drawer { background: rgb(14, 23, 18) !important; border-color: var(--line) !important; box-shadow: none !important; }
html .v-navigation-drawer .v-list-item { margin: 2px 8px; }
html .v-navigation-drawer .v-toolbar { background: transparent !important; box-shadow: none !important; }

/* Footer */
html footer.v-footer { background: rgb(14, 23, 18) !important; border-top: 1px solid var(--line); margin-top: 96px !important; padding: 64px 24px 48px !important; font-size: 14px; color: var(--muted); }
html .footer-logo .v-avatar { width: 34px !important; height: 34px !important; filter: none !important; }
html .footer-logo .v-avatar.grayscale, html .footer-logo .grayscale { filter: none !important; -webkit-filter: none !important; }
html .footer-logo h4 { font-size: 26px !important; font-weight: 700 !important; letter-spacing: -.035em !important; }
html footer.v-footer .v-divider { margin: 32px auto !important; max-width: 1280px; }
html footer.v-footer a { color: var(--muted); }
html footer.v-footer a:hover { color: rgb(240, 240, 230); }
html .gaming-banners svg { opacity: .55; }

/* Home: hero */
html .view-home .v-carousel { background: rgb(10, 18, 14); }
html .view-home .v-carousel .v-img__img { object-position: right center; }
html .view-home .slide-image .v-card-title { white-space: normal; }
html .view-home .slide-image .v-row { max-width: 1320px; margin: 0 auto !important; }
html .view-home .slide-image .v-col { text-align: left !important; padding: 0 24px; }
html .view-home .slide-image h2 { font-size: clamp(44px, 6.2vw, 92px) !important; line-height: .98 !important; letter-spacing: -.04em !important; font-weight: 700 !important; max-width: 7em; white-space: normal; }
html .view-home .slide-image h3 { font-family: var(--font-body) !important; font-size: clamp(16px, 1.4vw, 20px) !important; line-height: 1.5 !important; letter-spacing: 0 !important; font-weight: 400 !important; color: var(--muted); max-width: 30em; white-space: normal; margin-top: 24px !important; }
html .view-home .slide-image .mt-5 .v-btn { height: 52px; padding: 0 28px; font-size: 16px; margin-top: 12px; }

/* Home: rhythm */
html .view-home .v-container { max-width: 1320px; padding-left: 24px; padding-right: 24px; margin-top: 88px !important; }
html .view-home .v-container h3.text-h5 { font-size: clamp(28px, 3vw, 42px) !important; letter-spacing: -.03em !important; font-weight: 650 !important; line-height: 1.1 !important; }
html .view-home .v-container > * > .v-row > .v-col.text-center:has(> h3),
html .view-home .v-container > .v-row > .v-col.text-center:has(> h3) { text-align: left !important; }

/* Home: game search becomes a quiet control above the games */
html .view-home .home-page-search { margin-top: 40px !important; }
html .view-home .home-page-search .v-col-sm-6:first-child { display: none; }
html .view-home .home-page-search .v-col-sm-6:last-child { flex: 1 1 100%; max-width: 100%; text-align: left !important; }
html .view-home .home-page-search .v-btn { height: 48px; width: 100%; max-width: 420px; justify-content: flex-start; color: var(--muted) !important; border: 1px solid var(--line-strong); border-radius: 12px; font-weight: 500; }
html .view-home .home-page-search + .home-page-original-games { margin-top: 56px !important; }

/* Game tiles */
html .game-list .v-row.justify-center { justify-content: flex-start !important; margin: 8px -8px 0; }
html .game-card { padding: 8px !important; }
html .game-card .v-card { background: transparent !important; border: 0 !important; border-radius: 0 !important; overflow: visible; }
html .game-card .game-banner { border-radius: var(--radius); overflow: hidden; transition: transform .2s cubic-bezier(.2, .7, .3, 1); }
html .game-card a:hover .game-banner { transform: translateY(-4px); }
html .game-card .v-card-title { text-align: left !important; font-size: 15px !important; font-weight: 500 !important; padding: 10px 2px 0 !important; margin: 0 !important; color: rgb(240, 240, 230); }
html .game-card .v-card-actions { display: none !important; }
html .game-card .game-banner .v-btn--icon { box-shadow: 0 8px 24px rgba(0, 0, 0, .35) !important; }
html .game-list .v-row:last-child > .v-col.text-center .v-btn, html .game-list .v-btn--variant-tonal, html .game-list > .v-row:last-child .v-btn { border-radius: 12px; }

/* Home: predictions, a single wide tile */
html .home-page-predictions .game-card { flex: 0 0 100%; max-width: 100%; }
html .home-page-predictions .game-card .v-responsive { max-height: 260px; border-radius: var(--radius); }
html .home-page-predictions .game-card .v-responsive__sizer { padding-bottom: 260px !important; }
html .home-page-predictions .game-card .v-img__img { object-position: center 42%; }
html .home-page-predictions .game-card .v-img__gradient { background: linear-gradient(90deg, rgba(10, 18, 14, .9), rgba(10, 18, 14, 0) 70%) !important; }
html .home-page-predictions .game-card .v-responsive__content { display: flex; align-items: flex-end; padding: 24px; font-size: 22px; font-weight: 600; }

/* Home: bonuses */
html .bonus-card { border-width: 1px !important; border-color: var(--line) !important; background: rgb(18, 28, 22) !important; text-align: left !important; padding: 24px 12px 12px; height: 100%; }
html .bonus-card > .mt-5 { margin-top: 0 !important; padding-left: 16px; }
html .bonus-card .v-avatar { background: rgba(198, 242, 78, .14) !important; color: rgb(198, 242, 78) !important; border-radius: 12px; width: 44px; height: 44px; }
html .bonus-card .v-card-title { font-size: 19px; letter-spacing: -.02em; padding-top: 16px; white-space: normal; }
html .bonus-card .v-card-text { font-size: 15px; line-height: 1.5; color: var(--muted); padding-top: 6px; }
/* Chat is switched off, so a chat bonus would promise something the site doesn't offer. */
html .home-page-bonus-cards .v-row.justify-center > :nth-child(5) { display: none; }

/* Home: features strip */
html .home-page-features .v-divider { display: none; }
html .home-page-features .v-row { margin: 0 !important; border: 1px solid var(--line); border-radius: var(--radius); }
html .home-page-features .v-col-12 { padding: 24px; border-left: 1px solid var(--line); }
html .home-page-features .v-col-12:first-child { border-left: 0; }
html .home-page-features .d-flex { justify-content: flex-start !important; }
html .home-page-features .v-icon { color: rgb(198, 242, 78) !important; opacity: 1; margin-right: 14px !important; font-size: 24px; }
html .home-page-features h5 { font-family: var(--font-body) !important; font-size: 16px !important; font-weight: 500 !important; letter-spacing: 0 !important; color: rgb(240, 240, 230) !important; }

/* Home: recent games become a plain feed */
html .home-page-recent-games .v-timeline { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; width: 100%; padding: 0; }
html .home-page-recent-games .v-timeline::before { display: none; }
html .home-page-recent-games .v-timeline-item { display: block !important; width: 100%; }
html .home-page-recent-games .v-timeline-divider, html .home-page-recent-games .v-timeline-item__opposite { display: none !important; }
html .home-page-recent-games .v-timeline-item__body { padding: 0 !important; width: 100%; max-width: 100%; justify-self: stretch !important; grid-area: auto !important; display: block !important; }
html .home-page-recent-games .v-timeline-item__body .v-card { width: 100%; }
html .home-page-recent-games .recent-game-card .v-card-title { font-size: 15px; padding-bottom: 2px; }
html .home-page-recent-games .recent-game-card .v-card-text { color: var(--muted); font-size: 14px; }
html .home-page-recent-games .recent-game-card .v-card-actions { font-size: 12px; color: var(--muted); font-family: var(--font-mono); }

/* Home: contacts */
html .home-page-social .v-avatar, html .home-page-social .v-btn--icon { background: rgba(240, 240, 230, .06) !important; color: rgb(240, 240, 230) !important; }
html .home-page-social .v-col.text-center:has(.v-btn) { text-align: left !important; }

/* Sign-in screens */
html .v-main .v-card:has(input[type="password"]) { border-radius: 22px !important; }
html .v-card .v-toolbar { background: transparent !important; box-shadow: none !important; border-bottom: 1px solid var(--line); }

/* Promotion banner */
html #bf-promo { background: rgb(198, 242, 78) !important; box-shadow: 0 12px 32px rgba(0, 0, 0, .45) !important; border-radius: 12px !important; font-family: var(--font-body) !important; font-weight: 600 !important; }
html #bf-promo a, html #bf-promo button { color: rgb(10, 18, 14) !important; }

/* Small screens */
@media (max-width: 960px) {
  html .view-home .v-carousel .v-img__img { opacity: .34; object-position: 70% center; }
  html .home-page-features .v-col-12 { border-left: 0; border-top: 1px solid var(--line); }
  html .home-page-features .v-col-12:first-child { border-top: 0; }
  html .view-home .v-container { margin-top: 64px !important; }
}
@media (max-width: 600px) {
  html .view-home .v-container, html .view-home .slide-image .v-col { padding-left: 16px; padding-right: 16px; }
  html .game-card { padding: 6px !important; }
  html .game-card .v-card-title { font-size: 14px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html *, html *::before, html *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Home: section headings sit on the left */
html .view-home .v-container h3.text-center, html .view-home .v-container .v-col.text-center > h3, html .view-home .v-container .v-col > h3.text-h5 { text-align: left !important; }
html .view-home .v-container .v-col.text-center:has(> h3) { text-align: left !important; }

/* Home: no empty raffle section */
html .home-page-raffles:not(:has(.v-card)) { display: none; }

/* Home: provably fair is the one loud block on the page */
html .home-page-provably-fair { max-width: 1272px; width: calc(100% - 48px); margin: 88px auto 0 !important; border-radius: 28px; background: rgb(198, 242, 78); color: rgb(10, 18, 14) !important; overflow: hidden; }
html .home-page-provably-fair img.v-img__img { display: none !important; }
html .home-page-provably-fair .v-responsive__sizer { padding-bottom: 0 !important; }
html .home-page-provably-fair .v-responsive__content { min-height: 340px; display: flex; }
html .home-page-provably-fair .v-responsive__content > div { background: none !important; width: 100%; padding: 56px 48px; justify-content: flex-start !important; }
html .home-page-provably-fair .v-responsive__content > div::before, html .home-page-provably-fair .darken-50::before, html .home-page-provably-fair .darken-50::after { display: none !important; }
html .home-page-provably-fair .align-self-center { width: 100%; margin: 0 !important; text-align: left; }
html .home-page-provably-fair .v-col { justify-content: flex-start !important; text-align: left !important; flex: 0 0 100%; max-width: 100%; }
html .home-page-provably-fair .v-row { margin: 0 !important; }
html .home-page-provably-fair .v-col { padding: 0; }
html .home-page-provably-fair h3 { font-size: clamp(36px, 5vw, 64px) !important; line-height: 1 !important; letter-spacing: -.04em !important; font-weight: 700 !important; color: rgb(10, 18, 14) !important; }
html .home-page-provably-fair .v-icon { display: none; }
html .home-page-provably-fair p, html .home-page-provably-fair h4, html .home-page-provably-fair h5, html .home-page-provably-fair .text-h6, html .home-page-provably-fair .text-h5 { font-family: var(--font-body) !important; font-size: 18px !important; font-weight: 400 !important; letter-spacing: 0 !important; color: rgba(10, 18, 14, .78) !important; margin-top: 16px; }
html .home-page-provably-fair .v-btn { background: rgb(10, 18, 14) !important; color: rgb(240, 240, 230) !important; border: 0; height: 48px; padding: 0 24px; margin-top: 24px; }

/* Home: a two-year-old win doesn't help anyone */
html .home-page-biggest-win { display: none !important; }

/* Home: feature labels */
html .home-page-features h5 { font-family: var(--font-mono) !important; font-size: 13px !important; letter-spacing: .02em !important; font-weight: 500 !important; }

/* Recent games: remove the timeline carets, keep win and loss readable */
html .home-page-recent-games .recent-game-card { border-color: var(--line) !important; background: rgb(18, 28, 22) !important; }
html .home-page-recent-games .recent-game-card::before, html .home-page-recent-games .recent-game-card::after, html .home-page-recent-games .v-timeline-item__body::before, html .home-page-recent-games .v-timeline-item__body::after { display: none !important; }
html .home-page-recent-games .d-flex.justify-center { display: block !important; }
html .home-page-recent-games .v-timeline { max-width: 100% !important; grid-auto-rows: 1fr; }

/* Footer logo keeps its colour */
html .footer-logo, html .footer-logo * { opacity: 1 !important; filter: none !important; -webkit-filter: none !important; }

/* Shades of the accent, used by plain links */
:root, html .v-theme--eclipseReverie {
  --v-theme-primary-lighten-1: 208, 245, 110 !important;
  --v-theme-primary-lighten-2: 216, 247, 134 !important;
  --v-theme-primary-lighten-3: 198, 242, 78 !important;
  --v-theme-primary-lighten-4: 232, 250, 180 !important;
  --v-theme-primary-lighten-5: 242, 252, 214 !important;
  --v-theme-primary-darken-2: 142, 180, 44 !important;
  --v-theme-primary-darken-3: 114, 146, 34 !important;
  --v-theme-primary-darken-4: 88, 112, 26 !important;
}

/* Provably fair block: real heading sizes and a left-aligned action */
html .home-page-provably-fair .d-inline-flex { display: block !important; margin-bottom: 0 !important; }
html .home-page-provably-fair h3.text-h5 { font-family: var(--font-display) !important; font-size: clamp(40px, 5.6vw, 76px) !important; line-height: 1 !important; letter-spacing: -.04em !important; font-weight: 700 !important; color: rgb(10, 18, 14) !important; margin: 0 !important; }
html .home-page-provably-fair .text-h6 { font-size: 19px !important; max-width: 34em; margin: 18px 0 0 !important; }
html .home-page-provably-fair .text-center { text-align: left !important; }

/* Content pages read like an article */
html [class*="view-page-"] .v-main > .v-container { max-width: 760px; padding-top: 48px !important; }
html [class*="view-page-"] .v-main h1 { font-size: clamp(36px, 5vw, 56px) !important; line-height: 1.05 !important; letter-spacing: -.035em !important; margin-bottom: 28px !important; }
html [class*="view-page-"] .v-main h2 { font-size: 24px !important; margin-top: 36px; letter-spacing: -.02em !important; }
html [class*="view-page-"] .v-main p, html [class*="view-page-"] .v-main li { color: rgb(208, 214, 204); font-size: 16px; line-height: 1.7; }

/* Compact footer on the sign-in screens */
html footer.secondary-footer { margin-top: 0 !important; padding: 8px 16px !important; }
html footer.secondary-footer .v-btn { color: var(--muted); }

/* Prediction tile: art on the right, label on the left */
html .home-page-predictions .game-card .v-card { overflow: hidden; }
html .home-page-predictions .game-card .v-card-title { text-align: left !important; font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 32px) !important; letter-spacing: -.02em; padding: 0 !important; }

/* Prediction tile shows the whole chart on the right of the band */
html .home-page-predictions .game-card img.v-img__img { object-fit: contain; object-position: right center; background: rgb(18, 53, 40); }
html .home-page-predictions .game-card .v-img__gradient { background: none !important; }

/* Cookie notice */
html .v-card:has(> .v-card-title):has(a[href*="privacy"]) { border-color: var(--line-strong); }

@media (max-width: 600px) {
  html .home-page-provably-fair { width: calc(100% - 32px); margin-top: 64px !important; border-radius: 22px; }
  html .home-page-provably-fair .v-responsive__content > div { padding: 32px 24px; }
  html .home-page-provably-fair .v-responsive__content { min-height: 280px; }
  html #bf-promo { left: 12px !important; bottom: 12px !important; max-width: calc(100vw - 24px) !important; font-size: 13px !important; padding: 8px 10px 8px 14px !important; }
  html .home-page-predictions .game-card .v-card-title { font-size: 20px !important; max-width: 50%; white-space: normal; }
}

/* ==== Life and motion ==== */

/* The room: two soft lights drifting behind everything */
html .v-application, html .v-application__wrap, html .v-main { background: transparent !important; }
html body::before, html body::after { content: ""; position: fixed; z-index: 0; width: 70vmax; height: 70vmax; border-radius: 50%; pointer-events: none; }
html body::before { left: -25vmax; top: -30vmax; background: radial-gradient(circle, rgba(198, 242, 78, .13), transparent 62%); animation: drift-a 26s ease-in-out infinite alternate; }
html body::after { right: -25vmax; bottom: -30vmax; background: radial-gradient(circle, rgba(107, 59, 255, .2), transparent 62%); animation: drift-b 32s ease-in-out infinite alternate; }
html .v-application { position: relative; z-index: 1; }
@keyframes drift-a { to { transform: translate(18vmax, 22vmax) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-20vmax, -18vmax) scale(1.2); } }

/* Springy controls with a light passing over the main buttons */
html .v-btn { transition: transform .32s cubic-bezier(.34, 1.8, .5, 1), background-color .15s ease, border-color .15s ease; }
html .v-btn:hover:not(.v-btn--disabled) { transform: translateY(-2px) scale(1.03); }
html .v-btn:active:not(.v-btn--disabled) { transform: scale(.96); }
html .v-btn.bg-primary { overflow: hidden; position: relative; }
html .v-btn.bg-primary:not(.v-btn--disabled)::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent); transform: skewX(-18deg); animation: sheen 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes sheen { 0%, 62% { left: -60%; } 86%, 100% { left: 130%; } }
html .burst { position: fixed; z-index: 2147483600; width: 10px; height: 10px; border-radius: 3px; pointer-events: none; }

/* Blocks arrive as you scroll */
html .rv { opacity: 0; transform: translateY(28px) scale(.97); }
html .rv.rv-in { opacity: 1; transform: none; transition: opacity .5s ease var(--d, 0ms), transform .7s cubic-bezier(.2, 1.3, .4, 1) var(--d, 0ms); }

/* Section headings carry a turning chip */
html .view-home .v-container h3.text-h5::after { content: ""; display: inline-block; width: .78em; height: .78em; margin-left: .32em; vertical-align: -.06em; background: url(/design/chip-lime.svg) center / contain no-repeat; animation: spin 9s linear infinite; }
html .home-page-provably-fair h3.text-h5::after { display: none !important; }

/* Logo: the links draw themselves, and swing on hover */
html .header-logo .v-avatar { position: relative; overflow: visible; }
html .logo-live { position: absolute; inset: 0; z-index: 1; }
html .logo-live svg { display: block; width: 100%; height: 100%; overflow: visible; }
html .header-logo .v-avatar:has(.logo-live svg) .v-img { opacity: 0; }
html .logo-live circle, html .logo-live rect { stroke-dasharray: 1; animation: draw 1s cubic-bezier(.6, 0, .2, 1) both; }
html .logo-live .mark-bottom * { animation-delay: .25s; }
html .header-logo a:hover .logo-live svg { animation: logo-swing .7s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes logo-swing { 0% { transform: rotate(0); } 30% { transform: rotate(-16deg) scale(1.1); } 65% { transform: rotate(9deg); } 100% { transform: rotate(0); } }

/* Hero: walls of games sliding past, with chips floating in front */
html .view-home .slide-image.has-live > img.v-img__img { opacity: 0 !important; }
html .view-home .slide-image > .v-responsive__content { position: relative; z-index: 2; }
html .hero-live { position: absolute; inset: 0; overflow: hidden; z-index: 1; --px: 0; --py: 0; -webkit-mask-image: linear-gradient(90deg, transparent 43%, #000 60%); mask-image: linear-gradient(90deg, transparent 43%, #000 60%); }
html .hero-wall { position: absolute; right: -4%; top: -30%; bottom: -30%; width: 66%; display: flex; gap: 16px; justify-content: flex-end; transform: rotate(-8deg) translate(calc(var(--px) * -24px), calc(var(--py) * -24px)); transition: transform .5s ease-out; }
html .hero-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; animation: col-up 44s linear infinite; will-change: transform; }
html .hero-col-1, html .hero-col-3 { animation-name: col-down; animation-duration: 56s; }
html .hero-tile { display: block; aspect-ratio: 600 / 640; border-radius: 22px; overflow: hidden; flex: none; }
html .hero-tile img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
@keyframes col-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 8px)); } }
@keyframes col-down { from { transform: translateY(calc(-50% - 8px)); } to { transform: translateY(0); } }
html .floater { position: absolute; display: block; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .45)); will-change: transform; }
html .floater.f1 { width: 96px; left: 49%; top: 16%; animation: float-a 6s ease-in-out infinite; }
html .floater.f2 { width: 104px; left: 58%; top: 66%; animation: float-b 7.5s ease-in-out infinite; }
html .floater.f3 { width: 78px; left: 86%; top: 8%; animation: float-c 5.5s ease-in-out infinite; }
html .floater.f4 { width: 66px; left: 90%; top: 76%; animation: float-a 8s ease-in-out infinite reverse; }
html .floater.f5 { width: 54px; left: 72%; top: 44%; animation: float-b 6.5s ease-in-out infinite reverse; }
@keyframes float-a { 0%, 100% { transform: translate(calc(var(--px) * 40px), calc(var(--py) * 40px)) rotate(-14deg); } 50% { transform: translate(calc(var(--px) * 40px), calc(var(--py) * 40px - 26px)) rotate(14deg); } }
@keyframes float-b { 0%, 100% { transform: translate(calc(var(--px) * 64px), calc(var(--py) * 64px)) rotate(10deg); } 50% { transform: translate(calc(var(--px) * 64px), calc(var(--py) * 64px - 32px)) rotate(-20deg); } }
@keyframes float-c { 0%, 100% { transform: translate(calc(var(--px) * 90px), calc(var(--py) * 90px)) rotate(0); } 50% { transform: translate(calc(var(--px) * 90px), calc(var(--py) * 90px + 22px)) rotate(190deg); } }

/* Hero headline: the last word gets a highlighter stroke */
html .view-home .slide-image h2 .hl { position: relative; display: inline-block; color: rgb(10, 18, 14); padding: 0 .14em .05em; margin-left: -.04em; z-index: 0; animation: hl-wobble 5s ease-in-out 1.6s infinite; }
html .view-home .slide-image h2 .hl::before { content: ""; position: absolute; inset: .06em 0 0; z-index: -1; background: rgb(198, 242, 78); border-radius: .14em; transform: rotate(-1.6deg) scaleX(0); transform-origin: left; animation: hl-in .7s cubic-bezier(.3, 1.4, .5, 1) .35s forwards; }
@keyframes hl-in { to { transform: rotate(-1.6deg) scaleX(1); } }
@keyframes hl-wobble { 0%, 86%, 100% { transform: rotate(0); } 90% { transform: rotate(-2.4deg) scale(1.04); } 95% { transform: rotate(2deg) scale(1.02); } }

/* Ticker under the hero */
html .ticker { position: relative; z-index: 3; overflow: hidden; background: rgb(198, 242, 78); color: rgb(10, 18, 14); transform: rotate(-1deg); margin: -14px -2% 0; padding: 13px 0; }
html .ticker-move { display: flex; align-items: center; gap: 26px; width: max-content; animation: ticker 44s linear infinite; font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -.02em; white-space: nowrap; }
html .ticker:hover .ticker-move { animation-play-state: paused; }
html .ticker i { display: inline-block; width: 22px; height: 22px; flex: none; background: url(/design/chip-grape.svg) center / contain no-repeat; animation: spin 7s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Big colourful doors into the games */
html .vibes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1320px; margin: 56px auto 0; padding: 0 24px; position: relative; }
html .vibe { position: relative; display: block; height: 190px; border-radius: 24px; overflow: hidden; text-decoration: none; transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .35s cubic-bezier(.2, 1.5, .4, 1); }
html .vibe:hover { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(-6px) scale(1.02); }
html .vibe .cover-live { position: absolute; inset: 0; }
html .vibe .cover-live svg { width: 100%; height: 100%; display: block; }
html .vibe-title { position: absolute; left: 20px; bottom: 16px; z-index: 2; font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
html .vibe-fruit-slots .vibe-title { color: rgb(10, 18, 14); text-shadow: none; }

/* Game posters */
html .game-card .v-card { position: relative; transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .35s cubic-bezier(.2, 1.5, .4, 1); }
html .game-card:hover .v-card { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(-8px) scale(1.025); }
html .game-card:hover .game-banner { transform: none; }
html .game-card .game-banner { border-radius: 20px; box-shadow: 0 10px 26px rgba(0, 0, 0, .28); }
html .game-card .game-banner .v-responsive__sizer { padding-bottom: 130% !important; }
html .game-card .game-banner img.v-img__img { object-fit: cover; object-position: top; }
html .game-card .v-responsive__content { position: relative; z-index: 2; }
html .cover-live { position: absolute; inset: 0; z-index: 1; }
html .cover-live svg { display: block; width: 100%; height: 100%; }
html .game-card .v-card::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: 20px; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .34), transparent 55%); transition: opacity .25s ease; }
html .game-card:hover .v-card::after { opacity: 1; }
html .game-card .v-card-title { position: absolute !important; left: 14px; right: 14px; bottom: 13px; z-index: 4; padding: 0 !important; margin: 0 !important; white-space: normal !important; overflow: visible !important; pointer-events: none; font-family: var(--font-display); font-size: clamp(17px, 1.75vw, 25px) !important; font-weight: 700 !important; line-height: 1.02 !important; letter-spacing: -.025em !important; color: #fff; }
html .game-card[data-tone="light"] .v-card-title { color: rgb(10, 18, 14); }
html .game-card .game-banner .v-btn--icon { background: rgb(10, 18, 14) !important; color: rgb(198, 242, 78) !important; transition: transform .3s cubic-bezier(.34, 1.8, .5, 1) !important; }
html .game-card:hover .game-banner .v-btn--icon { transform: scale(1.12); }

/* Art movement: paused until the poster is on screen */
html .cover-live g[class^="a-"], html .cover-live path.a-draw, html .cover-live path.a-flame { animation-play-state: paused; }
html .cover-live.is-on g[class^="a-"], html .cover-live.is-on path.a-draw, html .cover-live.is-on path.a-flame { animation-play-state: running; }
html .a-spin { animation: spin 16s linear infinite; }
html .a-orbit { animation: orbit 5s linear infinite; }
html .a-sway { animation: sway 3.2s ease-in-out infinite alternate; }
html .a-sway2 { animation: sway2 3.6s ease-in-out infinite alternate; }
html .a-bob { animation: bob 1.5s ease-in-out infinite alternate; }
html .a-pulse { animation: pulse 2.6s ease-in-out infinite alternate; }
html .a-twinkle { animation: twinkle 3.3s ease-in-out infinite; }
html .a-pop { animation: pop 5s cubic-bezier(.3, 1.6, .5, 1) infinite; }
html .a-blink { animation: blink 1.5s steps(2, jump-none) infinite alternate; }
html .a-reel { animation: reel 3.4s cubic-bezier(.45, .05, .2, 1.03) infinite; }
html .a-wave { animation: wave 7s linear infinite; }
html .a-wave2 { animation: wave 5s linear infinite reverse; }
html .a-tumble { animation: tumble 2.6s cubic-bezier(.3, 0, .4, 1) infinite; }
html .a-groundshadow { animation: ground 2.6s cubic-bezier(.3, 0, .4, 1) infinite; }
html .a-hop { animation: hop 2.6s cubic-bezier(.3, 0, .4, 1) infinite; }
html .a-flip { animation: flip 2.4s cubic-bezier(.45, 0, .55, 1) infinite; }
html .a-grow { animation: grow 4.6s cubic-bezier(.2, 1.3, .4, 1) infinite; }
html .a-wheelspin { animation: wheelspin 6s cubic-bezier(.12, .7, .2, 1) infinite; }
html .a-tick { animation: tick .22s ease-in-out infinite alternate; }
html .a-binhit { animation: binhit 3.2s ease-in-out infinite; }
html .a-draw { stroke-dasharray: 1; animation: curve 4.8s ease-in infinite; }
html .a-ride { animation: ride 4.8s ease-in infinite; }
html .a-boom { animation: boom 4.8s ease-out infinite; opacity: 0; }
html .a-flame { animation: flame .16s linear infinite alternate; }
html .a-run { animation: run 5.2s cubic-bezier(.35, .05, .6, .95) infinite; }
html .a-drop { animation: drop 3.2s cubic-bezier(.3, 0, .6, 1) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes orbit { to { transform: rotate(-360deg); } }
@keyframes sway { from { transform: rotate(-3.5deg); } to { transform: rotate(4deg); } }
@keyframes sway2 { from { transform: rotate(4deg); } to { transform: rotate(-3deg); } }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-16px); } }
@keyframes pulse { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes twinkle { 0%, 100% { transform: scale(0) rotate(0); } 50% { transform: scale(1.15) rotate(45deg); } }
@keyframes pop { 0% { transform: scale(0); } 12% { transform: scale(1.14); } 18%, 84% { transform: scale(1); } 94%, 100% { transform: scale(0); } }
@keyframes blink { from { opacity: 1; } to { opacity: .45; } }
@keyframes reel { 0%, 12% { transform: translateY(0); } 78%, 100% { transform: translateY(600px); } }
@keyframes wave { to { transform: translateX(450px); } }
@keyframes tumble { 0%, 100% { transform: translateY(0) rotate(0) scale(1, 1); } 8% { transform: translateY(0) scale(1.08, .92); } 45% { transform: translateY(-90px) rotate(160deg) scale(.98, 1.02); } 82% { transform: translateY(0) rotate(360deg) scale(1.1, .9); } 92% { transform: translateY(-14px) rotate(360deg) scale(1); } }
@keyframes ground { 0%, 100%, 82% { transform: scale(1); opacity: 1; } 45% { transform: scale(.55); opacity: .5; } }
@keyframes hop { 0%, 100% { transform: translateY(0) scale(1, 1); } 10% { transform: translateY(0) scale(1.06, .92); } 45% { transform: translateY(-66px) scale(.98, 1.03); } 80% { transform: translateY(0) scale(1.07, .92); } 90% { transform: translateY(-10px) scale(1); } }
@keyframes flip { 0%, 100% { transform: translateY(0) scaleX(1); } 25% { transform: translateY(-40px) scaleX(0); } 50% { transform: translateY(-70px) scaleX(-1); } 75% { transform: translateY(-40px) scaleX(0); } }
@keyframes grow { 0% { transform: scaleY(0); } 14%, 86% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes wheelspin { 0% { transform: rotate(0); } 72%, 100% { transform: rotate(1080deg); } }
@keyframes tick { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
@keyframes binhit { 0%, 80%, 100% { transform: scale(1); } 88% { transform: scale(1.3) translateY(-8px); } }
@keyframes curve { 0% { stroke-dashoffset: 1; opacity: 1; } 68% { stroke-dashoffset: 0; opacity: 1; } 90% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes ride { 0% { offset-distance: 0%; opacity: 1; } 68% { offset-distance: 100%; opacity: 1; } 69%, 100% { offset-distance: 100%; opacity: 0; } }
@keyframes boom { 0%, 67% { transform: scale(0); opacity: 0; } 70% { transform: scale(.5); opacity: 1; } 88% { transform: scale(1.7); opacity: 0; } 100% { opacity: 0; } }
@keyframes flame { from { transform: scaleX(.75); } to { transform: scaleX(1.2); } }
@keyframes run { 0% { offset-distance: 0%; } 92%, 100% { offset-distance: 100%; } }
@keyframes drop { 0% { offset-distance: 0%; opacity: 0; } 6% { opacity: 1; } 78% { offset-distance: 100%; opacity: 1; } 92%, 100% { offset-distance: 100%; opacity: 0; } }

/* Bonuses: colour blocks instead of grey cards */
html .home-page-bonus-cards .v-row.justify-center > :nth-child(1) .bonus-card { --c: 198, 242, 78; }
html .home-page-bonus-cards .v-row.justify-center > :nth-child(2) .bonus-card { --c: 255, 107, 74; }
html .home-page-bonus-cards .v-row.justify-center > :nth-child(3) .bonus-card { --c: 255, 201, 51; }
html .home-page-bonus-cards .v-row.justify-center > :nth-child(4) .bonus-card { --c: 57, 183, 255; }
html .bonus-card { background: rgb(var(--c, 198, 242, 78)) !important; border: 0 !important; color: rgb(10, 18, 14) !important; transition: transform .35s cubic-bezier(.2, 1.5, .4, 1); }
html .bonus-card:hover { transform: translateY(-8px) rotate(-1.2deg); }
html .bonus-card .v-avatar { background: rgb(10, 18, 14) !important; color: rgb(var(--c, 198, 242, 78)) !important; }
html .bonus-card:hover .v-avatar { animation: wiggle .6s ease-in-out; }
html .bonus-card .v-card-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: rgb(10, 18, 14); }
html .bonus-card .v-card-text { color: rgba(10, 18, 14, .78); }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg) scale(1.12); } 60% { transform: rotate(10deg) scale(1.06); } }

/* Provably fair: a verified stamp and a running hash */
html .home-page-provably-fair { position: relative; }
html .home-page-provably-fair .v-responsive__content { min-height: 400px; padding-bottom: 44px; }
html .pf-stamp { position: absolute; right: 56px; top: 50%; width: 220px; height: 220px; margin-top: -132px; z-index: 2; pointer-events: none; }
html .pf-stamp svg { width: 100%; height: 100%; overflow: visible; }
html .pf-stamp text { font-family: var(--font-mono); font-size: 18.5px; font-weight: 500; letter-spacing: .13em; fill: rgb(10, 18, 14); }
html .pf-stamp-turn { transform-origin: 100px 100px; animation: spin 16s linear infinite; }
html .pf-check { fill: none; stroke: rgb(10, 18, 14); stroke-width: 15; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: check 3.6s cubic-bezier(.5, 0, .2, 1) infinite; }
@keyframes check { 0% { stroke-dashoffset: 1; } 30%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
html .pf-ribbon { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; overflow: hidden; background: rgb(10, 18, 14); color: rgb(198, 242, 78); padding: 11px 0; font-family: var(--font-mono); font-size: 13px; pointer-events: none; }
html .pf-ribbon-move { display: flex; gap: 32px; width: max-content; animation: ticker 60s linear infinite; white-space: nowrap; }

/* Features: icons nudge on hover */
html .home-page-features .v-col-12 { transition: background-color .2s ease; }
html .home-page-features .v-col-12:hover { background: rgba(198, 242, 78, .06); }
html .home-page-features .v-col-12:hover .v-icon { animation: wiggle .6s ease-in-out; }

/* Recent games: a little life when hovered */
html .recent-game-card { transition: transform .3s cubic-bezier(.2, 1.5, .4, 1), border-color .2s ease; }
html .recent-game-card:hover { transform: translateY(-3px); border-color: var(--line-strong) !important; }

/* Footer: the name, very large, with colour rolling through it */
html .footer-giant { font-family: var(--font-display); font-weight: 800; font-size: 19.5vw; line-height: .86; letter-spacing: -.06em; text-align: center; margin: 56px -24px -60px; white-space: nowrap; color: transparent; background: linear-gradient(90deg, #C6F24E, #39B7FF, #6B3BFF, #FF4FA3, #FF6B4A, #FFC933, #C6F24E); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; opacity: .9; animation: roll 14s linear infinite; user-select: none; }
html footer.v-footer { overflow: hidden; position: relative; }
@keyframes roll { to { background-position: 150% 0; } }

/* Black Friday banner bounces in */
html #bf-promo { animation: promo-in .8s cubic-bezier(.3, 1.6, .5, 1) 1.2s backwards; }
@keyframes promo-in { from { transform: translateY(90px) rotate(-3deg); opacity: 0; } }

@media (max-width: 960px) {
  html .hero-live { -webkit-mask-image: none; mask-image: none; opacity: .32; }
  html .hero-wall { width: 112%; right: -6%; }
  html .floater.f1, html .floater.f5 { display: none; }
  html .vibes { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 40px; padding: 0 16px; }
  html .vibe { height: 136px; border-radius: 20px; }
  html .vibe-title { font-size: 23px; left: 14px; bottom: 12px; }
  html .pf-stamp { width: 120px; height: 120px; right: 16px; top: 18px; margin-top: 0; opacity: .95; }
  html .pf-stamp text { letter-spacing: .1em; }
  html .home-page-provably-fair h3.text-h5 { max-width: 62%; }
  html .ticker-move { font-size: 17px; gap: 18px; }
  html .ticker i { width: 18px; height: 18px; }
}
@media (max-width: 600px) {
  html .game-card .game-banner, html .game-card .v-card::after { border-radius: 16px; }
  html .game-card .v-card-title { left: 11px; right: 11px; bottom: 10px; font-size: 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html body::before, html body::after, html .hero-col, html .floater, html .ticker-move, html .pf-ribbon-move, html .pf-stamp-turn, html .footer-giant, html .view-home .v-container h3.text-h5::after, html .ticker i, html .v-btn.bg-primary::after { animation: none !important; }
  html .pf-check { animation: none !important; stroke-dashoffset: 0; }
  html .view-home .slide-image h2 .hl, html .view-home .slide-image h2 .hl::before { animation: none !important; transform: rotate(-1.6deg); }
  html .rv { opacity: 1; transform: none; }
}

/* The slanted ticker must not widen the page */
html, html body, html .v-application__wrap { overflow-x: clip; }

/* Crash door: frame the flight, not the empty grid */
html .vibe-crash .cover-live svg { height: 168%; transform: translateY(-20%); }

/* Prediction tile: the chart sits on the right of the band, on the band's own colour */
html .home-page-predictions .game-card .v-responsive { background: linear-gradient(100deg, #1F6347, #0C281D); }
html .home-page-predictions .game-card img.v-img__img { display: none; }
html .home-page-predictions .cover-live { left: auto; right: 12px; width: 240px; }
html .home-page-predictions .cover-live svg > rect:first-of-type { fill: transparent; }
html .home-page-predictions .cover-live svg { overflow: visible; }

/* Dialogs take focus when they open; the outline is only for keyboard stops */
html .v-overlay__content:focus-visible, html .v-overlay:focus-visible, html .v-dialog:focus-visible, html .v-snackbar__wrapper:focus-visible, html .v-card:focus-visible { outline: 0; }

/* Recent games: an even grid */
html .home-page-recent-games .v-timeline { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)) !important; grid-template-rows: none !important; }
html .home-page-recent-games .v-timeline .v-timeline-item { grid-column: auto !important; grid-row: auto !important; width: 100% !important; }
html .home-page-recent-games .v-timeline .v-timeline-item__body { grid-column: auto !important; grid-row: auto !important; margin: 0 !important; padding: 0 !important; }
html .home-page-recent-games .recent-game-card { width: 100% !important; height: 100%; }

/* Cards door: keep the title clear of the art */
html .vibe-blackjack .cover-live svg { height: 150%; }

@media (max-width: 960px) {
  html .hero-live { opacity: .24; }
  html .view-home .slide-image h2, html .view-home .slide-image h3 { text-shadow: 0 1px 14px rgba(10, 18, 14, .95); }
  html .view-home .slide-image h3 { color: rgb(226, 232, 222); }
  html .home-page-predictions .cover-live { width: 150px; right: 4px; }
}

/* The timeline gives its body a fixed width; let the feed cards follow the grid */
html .home-page-recent-games .v-timeline-item, html .home-page-recent-games .v-timeline-item__body { min-width: 0 !important; max-width: 100% !important; width: 100% !important; }
html .home-page-recent-games .recent-game-card { min-width: 0 !important; max-width: 100% !important; }
html .home-page-recent-games .recent-game-card .v-card-text, html .home-page-recent-games .recent-game-card .v-card-title { white-space: normal; }

/* The highlighted word stays readable even if the animation never runs */
html .view-home .slide-image h2 .hl::before { transform: rotate(-1.6deg); animation: hl-in .7s cubic-bezier(.3, 1.4, .5, 1) .35s backwards; }
@keyframes hl-in { from { transform: rotate(-1.6deg) scaleX(0); } to { transform: rotate(-1.6deg) scaleX(1); } }

/* The word turns dark only once the marker is behind it, so it can never be dark on dark */
html .view-home .slide-image h2 .hl { color: rgb(240, 240, 230); animation: hl-text .15s linear .55s forwards, hl-wobble 5s ease-in-out 1.6s infinite; }
@keyframes hl-text { to { color: rgb(10, 18, 14); } }
/* Members already have an account */
html.is-member .view-home .slide-image .mt-5 .v-btn { display: none; }
@media (prefers-reduced-motion: reduce) {
  html .view-home .slide-image h2 .hl { color: rgb(10, 18, 14); animation: none !important; }
}

/* Logo: three linked eights. They draw left to right, then light keeps running along the chain. */
html .v-avatar:has(img[src*="/design/logo-888.svg"]) { width: 52px !important; height: 32px !important; border-radius: 0 !important; overflow: visible; position: relative; }
html .header-logo .v-avatar { width: 56px !important; height: 34px !important; border-radius: 0 !important; overflow: visible; position: relative; }
html .footer-logo .v-avatar { width: 68px !important; height: 41px !important; border-radius: 0 !important; overflow: visible; position: relative; }
html .v-avatar .v-img:has(img[src*="/design/logo-888.svg"]) { width: 100%; height: 100%; }
html .v-avatar img[src*="/design/logo-888.svg"] { object-fit: contain !important; }
html .v-avatar:has(.logo-live svg) .v-img { opacity: 0; }
html .logo-live circle, html .logo-live rect { stroke-dasharray: none; animation: none; }
html .logo-live .ring { stroke-dasharray: 1; animation: draw .8s cubic-bezier(.6, 0, .2, 1) calc(var(--i) * .11s) both; }
html .logo-live .ring-glow { stroke-opacity: .95; stroke-dasharray: .16 .84; animation: ring-flow 3.4s linear calc(var(--i) * -.55s) infinite; }
@keyframes ring-flow { to { stroke-dashoffset: -1; } }
html .header-logo a:hover .logo-live svg { animation: logo-swing .7s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes logo-swing { 0% { transform: rotate(0); } 30% { transform: rotate(-5deg) scale(1.08); } 65% { transform: rotate(3deg); } 100% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) {
  html .logo-live .ring { animation: none !important; stroke-dasharray: none; }
  html .logo-live .ring-glow { animation: none !important; stroke-opacity: 0; }
}

/* Logo with the name: the eights run on into "crypt", so the plain text name stays hidden. Phones keep the eights alone in the header. */
html .header-logo .text-h5, html .footer-logo h4 { display: none !important; }
html .footer-logo .v-avatar.v-avatar { width: 182px !important; height: 54px !important; }
html .footer-logo .v-avatar:has(.logo-live svg) .v-img { visibility: hidden; }
html .v-avatar img[src*="/design/logo-888.svg"] { object-position: left center !important; }
html .header-logo .logo-live svg, html .footer-logo .logo-live svg { height: auto; }
html .v-toolbar-title__placeholder:has(.header-logo) { overflow: visible; }
@media (min-width: 600px) {
  html .header-logo .v-avatar.v-avatar { width: 176px !important; height: 52px !important; }
  html .header-logo a:hover .logo-live svg { animation-name: logo-swing-wide; }
}
@keyframes logo-swing-wide { 0% { transform: rotate(0); } 30% { transform: rotate(-1.5deg) scale(1.03); } 65% { transform: rotate(1deg); } 100% { transform: rotate(0); } }

/* Poster titles: smaller, so long translated names take fewer lines; words too long for the tile break with a hyphen */
html .game-card .v-card-title { font-size: clamp(15px, 1.45vw, 21px) !important; line-height: 1.06 !important; overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 600px) {
  html .game-card .v-card-title { font-size: 15px !important; }
}

/* Titles are not meant to be selected while dragging over the posters */
html .game-card .v-card-title { user-select: none; -webkit-user-select: none; }

/* Phones. */
@media (max-width: 600px) {
  /* The logo keeps its room in the header, and long translated button labels give way instead. */
  html header.v-app-bar .v-toolbar-title { flex: 1 0 auto !important; min-width: 64px; margin-inline-start: 6px !important; }
  html .header-logo .v-avatar, html .v-toolbar .v-avatar:has(img[src*="/design/logo-888.svg"]) { width: 64px !important; height: 39px !important; }
  html header.v-app-bar .v-toolbar__content > .v-btn:not(.v-btn--icon) { flex: 0 1 auto; min-width: 0 !important; max-width: 44vw; padding: 0 10px !important; margin-inline-start: 6px !important; font-size: 13px !important; letter-spacing: 0 !important; }
  html header.v-app-bar .v-toolbar__content > .v-btn:not(.v-btn--icon) .v-btn__content { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* Dice: the four digit cards stay inside the screen. */
  html .v-main .v-row:has(> .v-col-3.v-col-md-2.v-col-lg-1) { margin-inline: 0 !important; }
  html .v-main .v-col-3.v-col-md-2.v-col-lg-1 { padding-inline: 6px !important; }
}

/* The side menu: readable current page, and names that fit. */
html .v-navigation-drawer .v-list-item--active { background: rgba(198, 242, 78, .14) !important; color: rgb(198, 242, 78) !important; }
html .v-navigation-drawer .v-list-item--active > .v-list-item__overlay { opacity: 0 !important; }
html .v-navigation-drawer .v-list-item-title { white-space: normal !important; overflow: visible !important; line-height: 1.25 !important; }
html .v-navigation-drawer .v-list-item__spacer { width: 14px !important; }

/* On a phone the promo bar would sit on top of the bet and Play buttons, so it stays out of the games. */
@media (max-width: 960px), (max-height: 600px) {
  html.on-game #bf-promo { display: none !important; }
}

/* Built-in partner programme is off. */
html [class*="v-col"]:has(> .bonus-card .mdi-link) { display: none !important; }
html a[href="/user/affiliates"] { display: none !important; }
