/* A11y and shell overrides. The design's inline styles stay; these only
   correct targets the audit failed and stop the older shell.css from hiding
   the design modals. */

.cf-logo-hit {
  min-width: 44px !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
}
.cf-foot img[alt="CasinoFIFA"] { height: auto !important; min-height: 44px; max-height: 44px; }

.cf-tile {
  flex: 0 0 160px;
  position: relative;
  overflow: hidden;
  height: 216px;
  border-radius: 14px;
  background: linear-gradient(170deg, #1f3a1a, #0a140a);
  border: 1px solid var(--cf-border-tile);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 12px;
  box-sizing: border-box;
  transition: transform 0.15s;
}
.cf-tile__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none !important;
  object-fit: cover;
}
.cf-tile__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a0d05;
  background: #cdf545;
  padding: 3px 7px;
  border-radius: 5px;
}
.cf-tile__fav {
  position: absolute;
  z-index: 4;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 0;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
}
.cf-tile__mark {
  position: absolute;
  top: 34px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Exo 2", sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 58px;
  line-height: 1;
  color: rgba(205, 245, 69, 0.45);
}
.cf-tile__name {
  position: relative;
  font-family: "Exo 2", sans-serif;
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1.05;
  text-align: center;
  color: #fff;
}
.cf-tile__studio {
  position: relative;
  margin-top: 4px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.75);
}
.cf-tile .cf-btn {
  width: 100%;
  max-width: 132px;
  height: 46px;
  min-height: 44px;
  border-radius: 999px;
  border: 0;
  background: var(--cf-accent);
  color: var(--cf-accent-contrast);
  font-weight: 900;
}
.cf-tile .cf-btn--demo {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

/* Play / Demo overlay. Without a position it sat in the flow under the
   absolutely placed thumbnail: the buttons faded in behind the image and
   their invisible space pushed the game name up the card. Touch screens
   keep the bottom bar from casinofifa.css (its !important wins there). */
.cf-tile-acts {
  position: absolute;
  inset: 0;
  z-index: 2; /* above the image, below the tag (3) and heart (4) */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  box-sizing: border-box;
  background: rgba(5, 6, 8, 0.72);
  pointer-events: none;
}
.cf-tile:hover .cf-tile-acts,
.cf-tile:focus-within .cf-tile-acts {
  pointer-events: auto;
}
@media (hover: none) {
  .cf-tile-acts { pointer-events: auto; }
}

/* Hearts were 32px, chips and tabs 40px, logo hit area under 44px. */
[data-cf="fav"], .cf-tile__fav { width: 44px !important; height: 44px !important; }
.cf-rowcard > div > button,
.cf-rowcard > div > a,
.cf-top .cf-tab,
#cf-modal-search .cf-row > button,
aside[aria-label="Help topics"] button,
aside[aria-label="Help topics"] a {
  min-height: 44px !important;
}
button[style*="height: 40px"],
a[style*="height: 40px"],
button[style*="min-height: 40px"],
a[style*="min-height: 40px"] {
  min-height: 44px !important;
  height: 44px !important;
}
.cf-hero-terms, a.cf-hero-terms,
.cf-hit,
button[aria-label="Show password"],
button[aria-label="Hide password"] {
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  box-sizing: border-box;
  vertical-align: middle;
}
/* Sentence links keep their colour and underline. The 44px box is the hit area. */
a.cf-hit {
  padding: 0 4px !important;
  min-width: 44px !important;
}
.cf-consent a {
  display: inline !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
}
button[aria-label="Show password"],
button[aria-label="Hide password"] {
  height: 44px !important;
  top: 3px !important;
  min-width: 44px !important;
}
.cf-strength { margin: 8px 0 16px; position: relative; z-index: 0; }
.cf-logobox--pay { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; box-sizing: border-box; }
.cf-paychip { font-size: 12px; font-weight: 800; color: var(--cf-text); white-space: nowrap; }
#casino-chat-widget-launcher{display:none!important}
body.cf-modal-open #casino-chat-widget-launcher { display: none !important; }
.cf-su-field { display: flex; flex-direction: column; gap: 6px; }
.cf-su-field > label { font-size: 13px; font-weight: 600; color: var(--cf-text); }
.cf-step2 { display: flex; flex-direction: column; gap: 12px; }
.cf-step2-head { display: flex; align-items: center; gap: 12px; }
.cf-step2-back { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 10px; border: 1px solid var(--cf-border-control); background: var(--cf-surface-4); color: var(--cf-text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.cf-step2-title { margin: 0; font-family: "Exo 2", sans-serif; font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 24px; color: var(--cf-text); }
.cf-step2-kicker { margin: 2px 0 0; font-size: 12px; color: var(--cf-muted-3); }
.cf-offer-chip { display: flex; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(205, 245, 69, 0.08); border: 1px solid rgba(205, 245, 69, 0.3); color: var(--cf-text); font-weight: 700; font-size: 13px; }
.cf-signup-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cf-phone-row { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.cf-step2 .cf-in, .cf-step2 select.cf-in { width: 100%; height: 50px; border-radius: 10px; border: 1px solid rgb(107, 118, 132); background: var(--cf-field-bg); color: var(--cf-text); padding: 0 14px; font-family: Inter, sans-serif; font-size: 15px; box-sizing: border-box; }
.cf-step2 select.cf-in:focus, #cf-signup input.cf-in:focus { outline: none; border-color: var(--cf-accent); box-shadow: 0 0 0 3px rgba(205, 245, 69, 0.28); }
.cf-recaptcha-wrap { display: flex; flex-direction: column; align-items: center; }
.cf-signup-bar { position: sticky; bottom: 0; background: var(--cf-surface-modal); padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); }
.cf-signup-bar .cf-btn { height: 48px; width: 100%; border: 0; border-radius: 10px; background: #cdf545; color: #0a0d05; font-weight: 800; cursor: pointer; }
.cf-field-error { margin: 4px 0 0; color: #ffb4b4; font-size: 12px; line-height: 1.4; }
@media (max-width: 719px) {
  .cf-signup-row, .cf-phone-row { grid-template-columns: 1fr; }
  #cf-signup input, #cf-signup select { font-size: 16px !important; }
  .cf-signup-col { padding-left: 16px !important; padding-right: 16px !important; }
}
@media (max-width: 360px) {
  .cf-signup-col { padding-left: 12px !important; padding-right: 12px !important; }
  .cf-recaptcha-wrap { max-width: 100%; height: 70px; overflow: hidden; align-items: flex-start; }
  .cf-recaptcha-wrap .g-recaptcha { align-self: flex-start; transform: scale(0.86); transform-origin: left top; }
}
.cf-nav a, .cf-nav button, #cf-drawer a, #cf-drawer button { min-height: 44px !important; }
[data-cf="hero-dot"] {
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 16px 8px !important;
  background-clip: content-box !important;
  box-sizing: border-box !important;
}
input[type="range"] { min-height: 44px; }
.cf-vip-tab { min-height: 44px !important; height: 44px !important; }
[data-cf-chip].is-on { border-color: #cdf545 !important; color: #cdf545 !important; }
#cf-modal-deposit [role="dialog"],
#cf-modal-withdraw [role="dialog"] {
  max-width: min(900px, calc(100vw - 32px));
  overflow-x: hidden;
}
#cf-modal-deposit [data-cf-cash],
#cf-modal-withdraw [data-cf-cash] { min-width: 0; max-width: 100%; }
picture.cf-pic { display: contents; }
.cf-consent { min-height: 44px; }
.cf-consent input { width: 22px; height: 22px; accent-color: #cdf545; margin-top: 2px; flex: 0 0 auto; }

/* Design Telegram blue (#229ed9) with white text is 3.0:1. Dark text on that blue is 6.5:1. */
button[style*="--cf-telegram"],
a[style*="--cf-telegram"],
.cf-tg {
  color: #0a0d05 !important;
  background: #229ed9 !important;
  border-color: #229ed9 !important;
}

/* Older shell.css hides .cf-modal until .is-open. The design uses the hidden attribute. */
.cf-modal[hidden] { display: none !important; }
.cf-modal:not([hidden]) { display: block !important; background: transparent !important; padding: 0 !important; }
#cf-drawer[hidden] { display: none !important; }
#cf-drawer:not([hidden]) { display: block !important; }

.cf-hero-img, .cf-ban-img, .cf-wf-img, .cf-strip-img, .cf-logo-img { max-width: none !important; }
/* No sideways scroll from the oversized hero art. "clip", not "hidden": hidden turns
   body/.cf-app into scroll containers, and the sticky header and sidebar then scroll
   away with the page. html keeps hidden (it is the viewport, so sticky still works). */
html { overflow-x: hidden; max-width: 100%; }
body.cf-body, .cf-app { overflow-x: clip; max-width: 100%; }

/* Sidebar: a fixed-height flex column (max-height = viewport). Its items must keep
   their size and the sidebar scroll instead; by default flex shrank the 96px
   welcome / VIP rotator to a sliver once the menu grew. */
aside.cf-nav > *, #cf-drawer nav > *, .cf-side > * { flex-shrink: 0; }
.cf-top .cf-tab.is-on { background: var(--cf-divider) !important; color: var(--cf-text) !important; }

.cf-step2 { display: flex; flex-direction: column; gap: 12px; }
.cf-step2 .cf-in, .cf-step2 select.cf-in {
  width: 100%;
  height: 50px;
  border-radius: 10px;
  border: 1px solid var(--cf-field-border);
  background: var(--cf-field-bg);
  color: var(--cf-text);
  padding: 0 14px;
  font-family: Inter, sans-serif;
  font-size: 15px;
  box-sizing: border-box;
}

/* ---------- Game search popup (partials/search-modal, js/search.js) ---------- */
.cf-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.cf-search-backdrop {
  position: fixed; inset: 0; z-index: 80; background: rgba(3, 4, 6, 0.8);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 16px; box-sizing: border-box; overflow-y: auto;
}
.cf-search-dialog {
  position: relative; width: 100%; max-width: 1080px; max-height: calc(100vh - 32px);
  display: flex; flex-direction: column; box-sizing: border-box; overflow: hidden;
  background: var(--cf-surface-modal); border: 1px solid var(--cf-border-strong);
  border-radius: 18px; box-shadow: rgba(0, 0, 0, 0.6) 0 30px 80px;
}
.cf-search-head { padding: 18px 20px; border-bottom: 1px solid var(--cf-border); display: flex; flex-direction: column; gap: 12px; }
.cf-search-row { display: flex; align-items: center; gap: 10px; margin: 0; }
.cf-search-field { flex: 1 1 0; position: relative; display: flex; align-items: center; margin: 0; }
.cf-search-field svg { position: absolute; left: 14px; color: var(--cf-accent); pointer-events: none; }
.cf-search-field input {
  width: 100%; height: 52px; border-radius: 10px; border: 1.5px solid var(--cf-field-border);
  background: var(--cf-field-bg); color: var(--cf-text); padding: 0 14px 0 44px;
  font-family: Inter, sans-serif; font-size: 16px; box-sizing: border-box;
}
.cf-search-field input:focus { outline: none; border-color: var(--cf-accent); }
.cf-search-close {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 10px; border: 1px solid var(--cf-border-control);
  background: var(--cf-surface-4); color: var(--cf-text); font-size: 24px; line-height: 1; cursor: pointer;
}
.cf-search-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-search-chips button {
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--cf-border-control);
  background: transparent; color: var(--cf-text-2); font-weight: 700; font-size: 13px; cursor: pointer; font-family: Inter, sans-serif;
}
.cf-search-chips button.is-on { background: var(--cf-accent); border-color: var(--cf-accent); color: var(--cf-accent-contrast); }
.cf-search-body { padding: 16px 20px 20px; overflow-y: auto; }
.cf-search-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cf-search-label {
  margin: 0; font-family: "Exo 2", sans-serif; font-style: italic; font-weight: 900;
  text-transform: uppercase; font-size: 18px; color: var(--cf-text);
}
.cf-search-all { color: var(--cf-accent); font-weight: 700; text-decoration: underline; }
.cf-search-status { margin: 0 0 12px; color: var(--cf-muted); }
.cf-search-status[hidden] { display: none; }
.cf-search-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cf-search-grid .cf-tile { width: auto; }
[data-cf-search][aria-busy="true"] .cf-search-grid { opacity: 0.55; transition: opacity 0.15s; }
.cf-search-foot {
  padding: 12px 20px; border-top: 1px solid var(--cf-border); display: flex; gap: 18px;
  font-size: 12px; color: var(--cf-muted-3);
}
.cf-search-foot b { color: var(--cf-text-2); }
@media (max-width: 640px) {
  .cf-search-backdrop { padding: 0; }
  .cf-search-dialog { max-height: 100vh; height: 100vh; border-radius: 0; }
  .cf-search-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
  .cf-search-grid .cf-tile { height: 180px; }
}
/* .cf-hit forces display with !important; keep the hidden attribute working. */
.cf-search-all[hidden] { display: none !important; }
/* Flex/grid children default to min-width:auto (their content width); on a 390px
   phone that pushed the close button and the third column off screen. */
.cf-search-field, .cf-search-field input, .cf-search-grid > .cf-tile, .cf-search-body, .cf-search-head { min-width: 0; }
.cf-search-dialog { max-width: min(1080px, 100%); }

/* Hero / banner headlines are h2 now (the page's one h1 is Seo::homeH1, visually hidden). */
@media (max-width: 720px) {
  .cf-ban-c h2 { font-size: 6.4vw !important; line-height: 1 !important; }
}


/* Search popup: studios row (matching studios, or popular studios when the box is empty). */
.cf-search-studios { margin-bottom: 18px; }
.cf-search-studios[hidden] { display: none; }
.cf-search-studios .cf-search-label { margin-bottom: 10px; }
.cf-search-studio-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.cf-search-studio {
  flex: 0 0 auto; min-width: 132px; min-height: 64px; padding: 10px 14px; box-sizing: border-box;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
  border-radius: 12px; border: 1px solid var(--cf-border-control); background: var(--cf-surface-4);
  color: var(--cf-text); text-decoration: none;
}
.cf-search-studio:hover, .cf-search-studio:focus-visible { border-color: var(--cf-accent); color: var(--cf-text); }
.cf-search-studio img { height: 22px; width: auto; max-width: 110px; object-fit: contain; }
.cf-search-studio__name { font-weight: 700; font-size: 13px; }
.cf-search-studio__count { font-size: 11px; color: var(--cf-muted); }

/* ---------- Recent big wins strip (partials/big-wins) ---------- */
.cf-wins {
  display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 16px;
  background: var(--cf-surface-3); border: 1px solid var(--cf-border); overflow: hidden; min-width: 0;
}
.cf-wins__head { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.cf-wins__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cf-accent); box-shadow: 0 0 0 4px rgba(205, 245, 69, 0.18); }
.cf-wins__title {
  margin: 0; font-family: "Exo 2", sans-serif; font-style: italic; font-weight: 900; text-transform: uppercase;
  font-size: 15px !important; line-height: 1.1 !important; color: var(--cf-text); white-space: nowrap;
}
.cf-wins__viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.cf-wins__track { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; width: max-content; animation: cfWinsScroll 60s linear infinite; }
.cf-wins:hover .cf-wins__track, .cf-wins:focus-within .cf-wins__track { animation-play-state: paused; }
@keyframes cfWinsScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .cf-wins__track { animation: none; }
  .cf-wins__viewport { overflow-x: auto; }
}
.cf-wins__btn {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 4px 14px 4px 4px; border-radius: 12px;
  border: 1px solid var(--cf-border-control); background: var(--cf-surface-4); color: var(--cf-text);
  cursor: pointer; font-family: Inter, sans-serif; text-align: left;
}
.cf-wins__btn:hover, .cf-wins__btn:focus-visible { border-color: var(--cf-accent); }
.cf-wins__btn img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.cf-wins__text { display: flex; flex-direction: column; line-height: 1.2; }
.cf-wins__amount { font-weight: 900; font-size: 14px; color: var(--cf-accent); }
.cf-wins__meta { font-size: 12px; color: var(--cf-muted); white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) {
  .cf-wins { flex-direction: column; align-items: stretch; gap: 8px; }
}

/* ---------- Most played this week (partials/most-played) ---------- */
.cf-most__item { position: relative; flex: 0 0 auto; display: flex; }
.cf-most__rank {
  position: absolute; z-index: 5; left: -2px; bottom: 6px; pointer-events: none;
  font-family: "Exo 2", sans-serif; font-style: italic; font-weight: 900; font-size: 44px; line-height: 1;
  color: var(--cf-accent); -webkit-text-stroke: 2px #0a0d05; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* ---------- Full deposit page (/dashboard/deposit?cfpage=1, shared frontend.dashboard.deposit) ----------
   The other brands style this form in their own CSS; CasinoFIFA had none, so the panel kept
   Bootstrap's bg-white while the dark theme made its text light: amount chips, label, input
   and the Deposit button were light-on-white and unreadable. CasinoFIFA colours only. */
.cf-engine .paymentForm.bg-white {
  background: var(--cf-surface-3) !important;
  border: 1px solid var(--cf-border) !important;
  border-radius: 16px !important;
  color: var(--cf-text);
  padding: 22px !important;
}
.cf-engine .paymentForm .form-label,
.cf-engine .paymentForm label { color: var(--cf-text-2) !important; font-weight: 600; }
.cf-engine .paymentForm .chipsBtn .btnStyling,
.cf-engine .paymentForm .chipsBtn .gradientBtn {
  width: 100% !important;
  min-height: 44px;
  padding: 0 8px;
  border-radius: 10px !important;
  border: 1px solid var(--cf-border-control) !important;
  background: var(--cf-surface-4) !important;
  background-image: none !important;
  color: var(--cf-text) !important;
  font-weight: 700;
  font-size: 14px;
  box-shadow: none !important;
  opacity: 1 !important;
}
.cf-engine .paymentForm .chipsBtn .btnStyling:hover,
.cf-engine .paymentForm .chipsBtn .btnStyling:focus-visible {
  border-color: var(--cf-accent) !important;
  color: var(--cf-accent) !important;
}
.cf-engine .paymentForm input,
.cf-engine .paymentForm select,
.cf-engine .paymentForm textarea,
.cf-engine .paymentForm .custom-design-field,
.cf-engine .paymentForm .input-deposit {
  background: var(--cf-field-bg) !important;
  color: var(--cf-text) !important;
  border: 1px solid var(--cf-field-border) !important;
  border-radius: 10px !important;
  min-height: 48px;
  padding: 0 14px;
  -webkit-text-fill-color: var(--cf-text);
  opacity: 1 !important;
}
.cf-engine .paymentForm input::placeholder { color: var(--cf-muted) !important; -webkit-text-fill-color: var(--cf-muted); }
.cf-engine .paymentForm input:focus,
.cf-engine .paymentForm select:focus {
  outline: none;
  border-color: var(--cf-accent) !important;
  box-shadow: 0 0 0 3px rgba(205, 245, 69, 0.15) !important;
}
.cf-engine .paymentForm select option { background: var(--cf-surface-3); color: var(--cf-text); }
.cf-engine .paymentForm button[type="submit"].btnStyling,
.cf-engine .paymentForm button[type="submit"].gradientBtn {
  width: 100%;
  min-height: 48px;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--cf-accent) !important;
  background-image: none !important;
  color: var(--cf-accent-contrast) !important;
  font-weight: 800;
  font-size: 15px;
  opacity: 1 !important;
  box-shadow: none !important;
}
.cf-engine .paymentForm button[type="submit"].btnStyling:hover { filter: brightness(1.06); }
.cf-engine .paymentForm p,
.cf-engine .paymentForm small,
.cf-engine .paymentForm .text-muted { color: var(--cf-muted) !important; }
.cf-engine .pm-section-title i { color: var(--cf-accent); }
.cf-engine .paymentForm .input-deposit,
.cf-engine .paymentForm .custom-design-field { width: 100% !important; box-sizing: border-box; }

/* Sidebar / drawer: the current page's menu item (aria-current set in shell-sidebar / shell-drawer). */
.cf-nav [aria-current="page"], #cf-drawer [aria-current="page"] {
  background: var(--cf-surface-5) !important;
  color: var(--cf-text) !important;
}

/* Menu items are real links now (<a href data-route>, crawlable, open in a new tab). Keep the
   old button box for the few that set no display of their own; inline styles still win. */
a[data-route] { display: inline-flex; align-items: center; text-decoration: none; box-sizing: border-box; }

/* Hero "Up to 3,500 in your currency" (visitor's currency unknown): too long for one line on a
   phone, so let it wrap beside the big % instead of running off the card. */
.cf-hl-after.cf-hl-long { white-space: normal !important; flex: 1 1 0; min-width: 0; line-height: 1.05; }
@media (max-width: 720px) { .cf-hero:has(.cf-hl-long) { height: 494px !important; } }

/* ---------- Sign-up / sign-in (shell-modals) ---------- */
/* The inline styles left border-style empty, so inputs fell back to the browser's "inset" border
   (light right / bottom edges). Solid 1px; the colour (and the green focus colour) stay as they were. */
#cf-signup input.cf-in, #cf-signup select.cf-in, #cf-modal-login input.cf-in {
  border-style: solid !important;
  border-width: 1px !important;
}
/* Phones: the offer side panel is hidden (cf-hide-m), so show the package on top of the form. */
.cf-su-offer { display: none; }
@media (max-width: 720px) {
  .cf-su-offer {
    display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(205, 245, 69, 0.16), rgba(205, 245, 69, 0.04));
    border: 1px solid rgba(205, 245, 69, 0.35);
  }
  .cf-su-offer__kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cf-accent); }
  .cf-su-offer__big { font-family: "Exo 2", sans-serif; font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 26px; line-height: 1.05; color: var(--cf-text); }
  .cf-su-offer__big span { font-size: 16px; color: var(--cf-accent); white-space: nowrap; }
}
/* What the sign-up applies: the code, the whole package and its 1st-deposit part. */
.cf-bonus-applied { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--cf-text); }
.cf-bonus-applied strong { font-weight: 800; }
.cf-bonus-applied strong span { color: var(--cf-accent); }
.cf-bonus-applied small { font-size: 12px; color: var(--cf-muted); line-height: 1.4; }
/* Password strength (ui.js sets data-level 1..4 while typing). */
.cf-strength > span:not(:last-child) { transition: background 0.2s; }
.cf-strength[data-level="1"] > span:nth-child(-n+1) { background: #ff6b6b !important; }
.cf-strength[data-level="2"] > span:nth-child(-n+2) { background: #ffb44a !important; }
.cf-strength[data-level="3"] > span:nth-child(-n+3) { background: #cdf545 !important; }
.cf-strength[data-level="4"] > span:nth-child(-n+4) { background: #5ee07a !important; }
/* Phones: names side by side and code + number on one row, so step 2 fits without scrolling;
   country and currency keep full width (long names). */
@media (max-width: 719px) {
  .cf-signup-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cf-signup-row:has(#cf-country) { grid-template-columns: 1fr; }
  .cf-phone-row { grid-template-columns: 96px 1fr; gap: 10px; }
}
/* The sticky "Create account" bar sat over the reCAPTCHA, so players pressed it before ticking
   the box. In page order now: reCAPTCHA, then the button. */
.cf-signup-bar { position: static; padding-bottom: 4px; }
/* Step 2 already shows the bonus chip: drop the phone offer header there to keep the form short. */
#cf-modal-signup:has([data-cf-step="2"]:not([hidden])) .cf-su-offer { display: none; }
/* Space between the email field and the "Password" label. */
#cf-signup [data-cf-step="1"] > .cf-su-field { margin-bottom: 12px; }

/* ---------- Footer (shell-footer.blade.php), the Europa777 footer parts in the CasinoFIFA design ---------- */
.cf-foot.cf-foot2 {
  margin-top: 28px; padding: 36px 28px 28px; border: 1px solid var(--cf-divider); border-radius: 18px;
  background: var(--cf-surface-1); color: var(--cf-muted-2); display: flex; flex-direction: column; gap: 26px;
}
.cf-foot2__top { display: grid; grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 28px; }
.cf-foot2__brand { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cf-foot2__brand img { height: 36px !important; min-height: 0 !important; max-height: 36px !important; width: auto; align-self: flex-start; }
.cf-foot2__brand p { margin: 0; line-height: 1.55; }
.cf-foot2__status { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--cf-text); font-weight: 700; font-size: 14px; }
.cf-foot2__status li { display: flex; align-items: center; gap: 10px; }
.cf-foot2__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cf-accent); box-shadow: 0 0 0 4px rgba(205, 245, 69, 0.18); flex: 0 0 auto; }
.cf-foot2__diamond { width: 10px; height: 10px; background: var(--cf-accent); transform: rotate(45deg); flex: 0 0 auto; }
.cf-foot2__social { display: flex; gap: 8px; flex-wrap: wrap; }
.cf-foot2__social a { width: 44px; height: 44px; border-radius: 10px; background: var(--cf-surface-4); border: 1px solid var(--cf-border-strong); display: flex; align-items: center; justify-content: center; color: #c9ced6; }
.cf-foot2__col { display: flex; flex-direction: column; min-width: 0; }
.cf-foot2__col h2 { margin: 0 0 6px; font-family: "Exo 2", sans-serif; font-style: italic; font-weight: 800; font-size: 16px; color: var(--cf-text); }
.cf-foot2__col a { min-height: 44px; display: flex; align-items: center; }
.cf-foot2__pays { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--cf-divider); display: flex; flex-wrap: wrap; gap: 8px; }
.cf-foot2__pays li { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--cf-border-strong); background: var(--cf-surface-3); color: var(--cf-text); font-weight: 700; font-size: 13px; }
.cf-foot2__licence {
  display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 18px; padding: 18px;
  border: 1px solid var(--cf-border-strong); border-radius: 14px; background: var(--cf-surface-0, rgba(0, 0, 0, 0.18));
}
.cf-foot2__reg { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--cf-border-strong); border-radius: 12px; color: var(--cf-accent); }
.cf-foot2__reg > span { display: flex; flex-direction: column; gap: 2px; color: var(--cf-muted); font-size: 12px; }
.cf-foot2__reg strong { color: var(--cf-text); font-size: 14px; }
.cf-foot2__18 { display: inline-flex; align-items: center; justify-content: center; min-width: 58px; height: 40px; padding: 0 8px; border: 2px solid var(--cf-text); border-radius: 8px; color: var(--cf-text); font-family: "Exo 2", sans-serif; font-weight: 900; font-size: 20px; }
.cf-foot2__text { display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.55; }
.cf-foot2__text p { margin: 0; }
.cf-foot2__text a { display: inline; min-height: 0; color: var(--cf-accent); font-weight: 700; }
.cf-foot2__legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--cf-muted-3); }
.cf-foot2__legal p { margin: 0; }
@media (max-width: 1100px) {
  .cf-foot2__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cf-foot2__brand { grid-column: 1 / -1; }
  .cf-foot2__licence { grid-template-columns: auto 1fr; }
  .cf-foot2__text { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .cf-foot.cf-foot2 { padding: 26px 16px 22px; border-radius: 14px; gap: 22px; }
  .cf-foot2__top { gap: 18px 14px; }
  .cf-foot2__licence { grid-template-columns: 1fr auto; padding: 14px; gap: 14px; }
  .cf-foot2__legal { flex-direction: column; }
}
/* Long e-mail address: wrap inside its column on phones instead of touching the edge. */
.cf-foot2__col a[href^="mailto:"] { overflow-wrap: anywhere; }
/* Footer partner logos (partials/partner-logos.blade.php): compact boxes, logos at most 30px high. */
.cf-trusted { border-top: 1px solid var(--cf-divider); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.cf-trusted__title { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cf-muted); }
.cf-trusted__title svg { color: var(--cf-accent); flex: 0 0 auto; }
.cf-trusted__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; }
.cf-trusted__grid a { height: 56px; min-height: 0; padding: 8px 10px; border: 1px solid var(--cf-border-strong); border-radius: 12px; background: var(--cf-surface-3); display: flex; align-items: center; justify-content: center; transition: border-color 0.15s; }
.cf-trusted__grid a:hover { border-color: var(--cf-accent); }
.cf-trusted__grid img { max-width: 100%; max-height: 30px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 720px) { .cf-trusted__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* casinofifa.css sets every h2 to 21px !important on phones: keep this label small. Same for the footer column titles. */
.cf-foot2 .cf-trusted__title { font-size: 12px !important; line-height: 1.3 !important; }
.cf-foot2 .cf-foot2__col h2 { font-size: 16px !important; line-height: 1.3 !important; }
/* Phones: the Contact column takes a full row, so the e-mail address stays on one line. */
@media (max-width: 720px) { .cf-foot2__top > .cf-foot2__col:last-child { grid-column: 1 / -1; } }

/* ---------- Account menu (shell-header): e-mail + VIP progress, money, bonuses, account, log out ---------- */
.cf-menu__panel { width: 300px !important; max-height: calc(100dvh - 90px); overflow-y: auto; padding: 8px !important; }
.cf-menu__panel a, .cf-menu__panel button { gap: 12px; padding: 0 12px !important; font-size: 14px; }
.cf-menu__panel a svg, .cf-menu__panel button svg { flex: 0 0 auto; color: var(--cf-muted); }
.cf-menu__panel a:hover svg, .cf-menu__panel button:hover svg { color: var(--cf-accent); }
.cf-menu__panel hr { border: 0; border-top: 1px solid var(--cf-divider); margin: 6px 4px; }
.cf-menu__who { display: flex; flex-direction: column; gap: 10px; padding: 8px 8px 10px; }
.cf-menu__email { font-size: 13px; color: var(--cf-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cf-menu__panel a.cf-menu__vip { display: flex; align-items: center; gap: 12px; padding: 10px 12px !important; min-height: 0; border: 1px solid rgba(205, 245, 69, 0.35); border-radius: 12px; background: rgba(205, 245, 69, 0.06); }
.cf-menu__lvl { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; background: linear-gradient(135deg, #cdf545, #8fb52a); color: #0a0d05; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; }
.cf-menu__vipbody { flex: 1 1 auto; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cf-menu__bar { height: 6px; border-radius: 3px; background: var(--cf-surface-5); overflow: hidden; }
.cf-menu__bar > span { display: block; height: 100%; background: var(--cf-accent); border-radius: 3px; }
.cf-menu__viprow { display: flex; justify-content: space-between; gap: 6px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--cf-muted); }
.cf-menu__viprow b { color: var(--cf-text); }
.cf-menu__panel button.cf-menu__out, .cf-menu__panel button.cf-menu__out svg { color: #ff7a6b; }
@media (max-width: 720px) { .cf-menu__panel { width: min(300px, calc(100vw - 24px)) !important; } }
/* Account menu extras: balance split, active bonus wagering, today's offer. */
.cf-menu__money { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 0 8px 8px; }
.cf-menu__money > span { display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 10px; background: var(--cf-surface-4); min-width: 0; }
.cf-menu__money small, .cf-menu__today small, .cf-menu__wager small { font-size: 11px; color: var(--cf-muted); }
.cf-menu__money b { font-size: 13px; color: var(--cf-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Active top-nav tab (aria-current) — !important beats the per-tab inline color. */
.cf-tab[aria-current="page"] { background-color: var(--cf-divider) !important; color: var(--cf-text) !important; }
.cf-menu__panel a.cf-menu__wager { display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-height: 0; margin: 0 8px 8px; padding: 10px 12px !important; border-radius: 10px; background: var(--cf-surface-4); }
.cf-menu__today { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 8px 8px; padding: 10px 12px; border-radius: 10px; border: 1px dashed rgba(205, 245, 69, 0.5); }
.cf-menu__today > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cf-menu__today b { font-size: 14px; color: var(--cf-text); }
.cf-menu__panel .cf-menu__today button { min-height: 36px; padding: 0 14px !important; border-radius: 8px; background: var(--cf-accent); color: #0a0d05; font-weight: 800; }
.cf-menu__panel .cf-menu__today button:hover { background: var(--cf-accent); color: #0a0d05; filter: brightness(1.08); }
/* Sign-in and Join now: one window size (Join's 650px), so switching tabs doesn't make it jump.
   The tabs stay in the same place on both; sign-in's shorter form leaves space below. Phones keep their natural height. */
@media (min-width: 721px) {
  #cf-modal-signup [role="dialog"], #cf-modal-login [role="dialog"] { min-height: min(650px, calc(100vh - 32px)); }
}

/* Applied promo code box (shared frontend/dashboard/partials/promo_remove_form, Canada's red):
   CasinoFIFA colours. .cf-body outranks the partial's own <style>. */
.cf-body .promo-remove-btn { background: transparent; border: 1px solid var(--cf-border-strong); box-shadow: none; color: var(--cf-text); }
.cf-body .promo-remove-btn:hover { border-color: var(--cf-accent); color: var(--cf-accent); transform: none; opacity: 1; }
.cf-body .promo-bonus-headline { color: var(--cf-accent); }
.cf-body .promo-bonus-footer a, .cf-body .promo-bonus-footer a:hover { color: var(--cf-accent); }
.cf-body .promo-card-label i { color: var(--cf-accent); }
/* Section icons on the shared account pages (free spins, profile cards): lime, not Canada's red. */
.cf-body .fs-card-head i, .cf-body .ep-card-head i, .cf-body .bh-head i { color: var(--cf-accent); }

/* Home: payment and studio logo tiles. Were the same inline style on ~90 tiles (≈25 KB of HTML);
   identical values, now classes. The image size class keeps each logo's own max height, and
   `.cf-logobox img` outranks shell.css's .cf-logo { height: 34px }. */
.cf-logobox--pay, .cf-logobox--studio {
  height: 64px; border-radius: 12px; background: var(--cf-surface-3); border: 1px solid var(--cf-border);
  display: flex; align-items: center; justify-content: center; box-sizing: border-box; cursor: pointer;
}
.cf-logobox--pay { flex: 0 0 150px; padding: 10px 16px; }
.cf-logobox--studio { flex: 0 0 156px; padding: 10px 18px; }
.cf-logobox img.cf-logoimg-30, .cf-logobox img.cf-logoimg-34 { max-width: 100%; width: auto; height: auto; }
.cf-logobox img.cf-logoimg-30 { max-height: 30px; }
.cf-logobox img.cf-logoimg-34 { max-height: 34px; }


/* ===== Cashier (partials/cashier-live + the cashier header in shell-modals) ===== */
.cf-cash-step { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--cf-muted-3); }

/* Type filters: only rendered when there are more than six methods. One row, scrolls sideways. */
.cf-cash-filters { display: flex; gap: 6px; margin: 0 0 12px; overflow-x: auto; scrollbar-width: none; }
.cf-cash-filters::-webkit-scrollbar { display: none; }
.cf-cash-filters button {
  flex: none; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--cf-border-control);
  background: transparent; color: var(--cf-text-2, #c9ced6); font: 700 13px Inter, sans-serif; cursor: pointer;
}
.cf-cash-filters button.is-on { background: #cdf545; border-color: #cdf545; color: #0a0d05; }

/* Method tiles: as many per row as fit (five in one row on a PC), two per row on phones. */
.cf-methods { display: grid; grid-template-columns: repeat(var(--cf-cols, 4), minmax(0, 1fr)); gap: 10px; min-width: 0; }
@media (max-width: 900px) and (min-width: 641px) { .cf-methods { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cf-method {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-width: 0; padding: 14px 10px 12px; border-radius: 14px; border: 2px solid rgb(49,58,70);
  background: rgb(27,33,41); color: var(--cf-text); font-family: Inter, sans-serif; cursor: pointer; box-sizing: border-box;
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}
.cf-method[hidden] { display: none; }
.cf-method:hover { border-color: #5b6878; transform: translateY(-1px); }
.cf-method.is-on { border-color: #cdf545; background: rgba(205,245,69,.08); }
.cf-method:focus-visible { outline: 2px solid #cdf545; outline-offset: 2px; }
.cf-method__name { font: italic 900 15px 'Exo 2', sans-serif; line-height: 1.1; text-align: center; }
.cf-method__min { font-size: 11px; color: var(--cf-muted); }
.cf-method__check {
  position: absolute; top: 7px; right: 7px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; background: #cdf545; color: #0a0d05; opacity: 0; transform: scale(.6);
  transition: opacity .15s ease, transform .15s ease;
}
.cf-method.is-on .cf-method__check { opacity: 1; transform: none; }

/* Withdraw method buttons keep their inline styles; the highlight follows .is-on there too. */
[data-cf-cash="withdraw"] [data-cf-method]:not(.is-on) { border-color: rgb(49,58,70) !important; }
[data-cf-cash="withdraw"] [data-cf-method].is-on { border-color: #cdf545 !important; background: rgba(205,245,69,.08) !important; }

/* Payment logos: one white plate size for every method. */
.cf-paylogo {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  width: 100%; max-width: 132px; height: 40px; padding: 0 10px;
  border-radius: 8px; background: #fff; box-sizing: border-box;
}
.cf-paylogo img { height: 26px; width: auto; min-width: 0; max-width: 100%; flex: 0 1 auto; object-fit: contain; }
.cf-paylogo--square img { height: 32px; }          /* Interac's logo is square: a bit taller */
.cf-paylogo--pair { padding: 0 8px; }
.cf-paylogo--pair img { height: 22px; }           /* Visa + Mastercard side by side */

/* Bonus summary under the promo code. */
.cf-cash-bonus {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(205,245,69,.35); background: rgba(205,245,69,.07);
}
.cf-cash-bonus__icon {
  flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: #cdf545; color: #0a0d05;
}
.cf-cash-bonus__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cf-cash-bonus__text strong { font: italic 900 16px 'Exo 2', sans-serif; color: #cdf545; }
.cf-cash-bonus__text span { font-size: 12px; line-height: 1.45; color: var(--cf-muted); }
.cf-cash-bonus__text { flex: 1; }
.cf-cash-bonus__remove {
  flex: none; align-self: flex-start; background: none; border: 0; padding: 2px 0; cursor: pointer;
  font-size: 12px; font-weight: 600; color: var(--cf-muted); text-decoration: underline;
}
.cf-cash-bonus__remove:hover { color: var(--cf-text); }
.cf-cash-bonus[hidden], .cf-cash-offer[hidden] { display: none !important; }

/* Deposit / withdrawal being sent: spinner on the button, rest of the form locked. */
form.is-busy > *:not(.cf-cash-submit):not([data-cf-form-error]) { opacity: .55; pointer-events: none; transition: opacity .2s; }
.cf-cash-submit:disabled { cursor: progress; opacity: 1; }
form.is-busy .cf-cash-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; }
.cf-spin {
  width: 18px; height: 18px; flex: none; border-radius: 50%;
  border: 2.5px solid rgba(10,13,5,.25); border-top-color: #0a0d05; animation: cf-spin .8s linear infinite;
}
@keyframes cf-spin { to { transform: rotate(360deg); } }

/* Promo is optional: label hint + one-tap offer when the field is empty. */
.cf-cash-promo-label { font-size: 13px; font-weight: 600; color: var(--cf-text); }
.cf-cash-promo-label > span { font-weight: 400; color: var(--cf-muted); }
.cf-cash-offer {
  display: flex; gap: 10px; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: 10px; border: 1px dashed rgba(205,245,69,.35);
  font-size: 13px; color: var(--cf-muted);
}
.cf-cash-offer__add {
  flex: none; height: 32px; padding: 0 14px; border-radius: 8px; border: 1px solid #cdf545;
  background: transparent; color: #cdf545; font-weight: 700; font-size: 13px; cursor: pointer;
}
.cf-cash-offer__add:hover { background: rgba(205,245,69,.12); }

.cf-cash-submit {
  height: 52px; border: 0; border-radius: 12px; background: #cdf545; color: #0a0d05;
  font: italic 900 17px 'Exo 2', sans-serif; text-transform: uppercase; letter-spacing: .02em;
  width: 100%; max-width: 100%; box-sizing: border-box; cursor: pointer; transition: filter .15s ease;
}
.cf-cash-submit:hover { filter: brightness(1.06); }

/* Amount chips: selected chip gets the accent. */
[data-cf-cash] [data-cf-chip].is-on { border-color: #cdf545 !important; color: #cdf545 !important; background: rgba(205,245,69,.08) !important; }

/* Phones: compact header (tabs left, balance + close right, one row) and tighter tiles. */
@media (max-width: 640px) {
  .cf-cash-head { flex-wrap: nowrap !important; padding: 12px 14px !important; gap: 8px !important; }
  .cf-cash-head__kicker { display: none; }
  .cf-cash-tabs { margin-top: 0 !important; }
  .cf-cash-tabs button { height: 38px !important; padding: 0 12px !important; font-size: 14px !important; }
  .cf-cash-head__right { gap: 8px !important; }
  .cf-cash-head__bal span:first-child { font-size: 10px !important; }
  .cf-cash-head__right [aria-label="Close"] { width: 38px !important; height: 38px !important; }
  .cf-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cf-method { padding: 12px 8px 10px; gap: 5px; }
  .cf-paylogo { height: 36px; }
  .cf-paylogo img { height: 22px; }
  .cf-paylogo--square img { height: 28px; }
  .cf-paylogo--pair img { height: 18px; }
  .cf-method__name { font-size: 14px; }
}

/* Cashier notes (withdraw: verification, wagering progress). */
.cf-cash-note {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; padding: 12px 14px;
  border-radius: 12px; border: 1px solid var(--cf-border); background: rgb(27,33,41);
}
.cf-cash-note--warn { border-color: rgba(255,186,73,.4); background: rgba(255,186,73,.07); }
.cf-cash-note__icon {
  flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,186,73,.18); color: #ffba49;
}
.cf-cash-note__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.cf-cash-note__text strong { font: italic 900 15px 'Exo 2', sans-serif; color: var(--cf-text); }
.cf-cash-note__text span { font-size: 13px; line-height: 1.45; color: var(--cf-muted); }
.cf-cash-note__cta { align-self: flex-start; margin-top: 4px; font-weight: 800; font-size: 13px; color: #cdf545; text-decoration: none; }
.cf-cash-note__cta:hover { text-decoration: underline; }
.cf-cash-progress { display: block; height: 6px; margin-top: 6px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.cf-cash-progress > span { display: block; height: 100%; border-radius: inherit; background: #cdf545; }

/* Withdraw amount: title + minimum on one line, Max inside the amount row. */
.cf-cash-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.cf-cash-row__title { font-weight: 800; font-size: 15px; color: var(--cf-text); }
.cf-cash-row__min { font-size: 12px; color: var(--cf-muted-3); }
.cf-cash-amount { display: flex; gap: 8px; }
.cf-cash-amount input {
  flex: 1; min-width: 0; height: 50px; border-radius: 10px; border: 1px solid var(--cf-field-border);
  background: var(--cf-field-bg); color: var(--cf-text); padding: 0 14px; font-weight: 800; font-size: 18px; box-sizing: border-box;
}
.cf-cash-max {
  flex: none; height: 50px; padding: 0 18px; border-radius: 10px; border: 1px solid #cdf545;
  background: transparent; color: #cdf545; font: 800 14px Inter, sans-serif; cursor: pointer;
}
.cf-cash-max:hover { background: rgba(205,245,69,.1); }

/* Cashier header: tabs left, (withdraw: balance pill) and × right. */
.cf-cash-head { padding: 14px 20px !important; }
.cf-cash-tabs { margin-top: 0 !important; }
.cf-cash-balpill {
  display: inline-flex; align-items: baseline; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--cf-border-strong); background: var(--cf-surface-4); box-sizing: border-box; align-items: center;
}
.cf-cash-balpill span { font-size: 11px; font-weight: 700; color: var(--cf-muted-3); text-transform: uppercase; letter-spacing: .06em; }
.cf-cash-balpill strong { font-weight: 800; font-size: 15px; color: var(--cf-text); }

/* "Secure checkout" under the button: where the player decides to pay. */
.cf-cash-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 700; color: #cdf545; }

/* Backdrop click on a form modal: it stays open and gives a small bump instead. */
@keyframes cf-bump { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.015); } }
.cf-bump { animation: cf-bump .22s ease; }
@media (prefers-reduced-motion: reduce) { .cf-bump { animation: none; } }

@media (max-width: 640px) {
  .cf-cash-head { padding: 12px 14px !important; }
  .cf-cash-balpill { height: 32px; padding: 0 10px; }
  .cf-cash-balpill span { font-size: 10px; }
  .cf-cash-balpill strong { font-size: 14px; }
}

/* Phones: tabs + balance + × must fit one row; × never leaves the screen. */
@media (max-width: 640px) {
  .cf-cash-head > div:first-child { min-width: 0; flex: 1 1 auto; }
  .cf-cash-tabs button { padding: 0 10px !important; font-size: 13px !important; }
  .cf-cash-head__right { flex: none; }
}
@media (max-width: 420px) {
  .cf-cash-balpill span { display: none; }
}
