/* Casino Monthly Leaderboard — all selectors are scoped to the shortcode. */
.cmlm-monthly,
.cmlm-monthly * { box-sizing: border-box; }
.cmlm-monthly {
  display: block;
  position: static;
  left: auto;
  transform: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: #fff;
  font-family: 'Funnel Display', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  container-type: inline-size;
}
.cmlm-monthly .cmlm-content {
  display: block;
  position: static;
  transform: none;
  width: 100%;
  max-width: 1240px;
  min-width: 0;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  padding: 0;
}
.cmlm-monthly .cmlm-intro {display:flex;flex-direction:column;gap:10px;margin-bottom:26px;}
.cmlm-monthly .cmlm-breadcrumb ol {display:flex;align-items:center;gap:7px;min-width:0;margin:0;padding:0;list-style:none;}
.cmlm-monthly .cmlm-breadcrumb li {font-size:14px;font-weight:500;line-height:20px;color:#fff;white-space:nowrap;}
.cmlm-monthly .cmlm-breadcrumb a {font-size:14px;font-weight:500;text-decoration:none;color:rgba(255,255,255,.5);transition:color .18s ease;}
.cmlm-monthly .cmlm-breadcrumb a:hover {color:#fff;}
.cmlm-monthly .cmlm-breadcrumb .cmlm-separator {color:rgba(255,255,255,.4);font-size:12px;}
.cmlm-monthly .cmlm-page-title {font-size:36px;font-weight:700;line-height:1.15;color:#fff;}
.cmlm-monthly .cmlm-hero {
  display:flex;flex-direction:row-reverse;align-items:center;justify-content:center;
  gap:26px;min-height:260px;overflow:hidden;border-radius:16px;
  border:1px solid rgba(255,255,255,.04);
  background:rgba(255,255,255,.05);
  padding:8px 36px 8px 28px;
  margin-bottom:8px;
}
.cmlm-monthly .cmlm-hero-illustration {position:relative;flex:0 0 31%;width:31%;min-width:0;min-height:235px;display:flex;align-items:center;justify-content:center;}
.cmlm-monthly .cmlm-hero-illustration img {position:relative;z-index:1;display:block;max-width:100%;width:332px;height:auto;max-height:290px;object-fit:contain;transform:translateY(-4px);}
.cmlm-monthly .cmlm-image-fallback {position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:132px;filter:drop-shadow(0 10px 22px rgba(255,43,138,.2));}
.cmlm-monthly .cmlm-hero-illustration img.cmlm-image-error {display:none;}
.cmlm-monthly .cmlm-hero-copy {flex:1 1 auto;min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;}
.cmlm-monthly .cmlm-hero-amount {
  font-size:clamp(54px,6.6vw,116px);
  line-height:1.06;
  letter-spacing:-.045em;
  font-weight:800;
  white-space:nowrap;
  background:linear-gradient(129deg,#5a85d3,#ff5cee 79.728%);
  color:transparent;-webkit-background-clip:text;background-clip:text;
}
.cmlm-monthly .cmlm-hero-title {font-size:clamp(24px,2.6vw,36px);font-weight:700;line-height:1.2;}
.cmlm-monthly .cmlm-overview-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;}
/* Countdown: four equally sized number tiles, with a clear UTC reset label. */
.cmlm-monthly .cmlm-timer-card,
.cmlm-monthly .cmlm-prize-card {
  min-width:0;min-height:224px;border-radius:20px;
  border:1px solid rgba(255,255,255,.08);
  position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;
}
.cmlm-monthly .cmlm-timer-card {
  padding:24px;
  background:radial-gradient(ellipse at 90% 0%,rgba(213,82,216,.12),transparent 62%),
    linear-gradient(132deg,rgba(91,103,212,.12),rgba(255,255,255,.045) 60%);
}
.cmlm-monthly .cmlm-timer-card::before {
  content:"";position:absolute;inset:0 0 auto;height:2px;
  background:linear-gradient(90deg,rgba(90,133,211,.85),rgba(255,92,238,.85));
}
.cmlm-monthly .cmlm-timer-inner {position:relative;z-index:1;width:100%;max-width:540px;min-width:0;}
.cmlm-monthly .cmlm-timer-heading {display:flex;align-items:center;gap:10px;margin-bottom:15px;min-width:0;}
.cmlm-monthly .cmlm-timer-icon {
  flex:0 0 34px;display:grid;place-items:center;width:34px;height:34px;
  color:#ffb6eb;border-radius:11px;
  background:rgba(240,94,208,.12);border:1px solid rgba(240,94,208,.20);
}
.cmlm-monthly .cmlm-timer-title {font-size:15px;font-weight:700;line-height:1.3;min-width:0;}
.cmlm-monthly .cmlm-timer-timezone {
  flex:none;margin-left:auto;font-size:10px;font-weight:800;letter-spacing:.10em;
  color:rgba(255,255,255,.66);border:1px solid rgba(255,255,255,.13);
  padding:4px 7px;border-radius:6px;
}
.cmlm-monthly .cmlm-countdown {
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;
  width:100%;font-variant-numeric:tabular-nums;
}
.cmlm-monthly .cmlm-time-unit {
  display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;
  min-height:82px;padding:10px 4px 8px;border-radius:12px;
  background:rgba(12,10,22,.32);border:1px solid rgba(255,255,255,.10);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
.cmlm-monthly .cmlm-time-number {
  display:block;color:#fff;font-size:clamp(24px,2.8vw,37px);
  font-weight:800;line-height:1.1;letter-spacing:-.04em;
}
.cmlm-monthly .cmlm-time-suffix {
  display:block;margin-top:7px;color:rgba(255,255,255,.54);
  font-size:10px;font-weight:700;line-height:1;letter-spacing:.09em;text-transform:uppercase;
}
.cmlm-monthly .cmlm-timer-footnote {
  margin-top:13px;text-align:center;color:rgba(255,255,255,.56);
  font-size:11px;line-height:1.4;
}
.cmlm-monthly .cmlm-prize-card {
  min-height:224px;background:linear-gradient(110deg,rgba(90,133,211,.12),rgba(255,92,238,.10)),rgba(255,255,255,.045);
  padding:24px;text-align:center;font-size:clamp(22px,2.5vw,32px);line-height:1.3;font-weight:700;
}
.cmlm-monthly .cmlm-gradient-text {
  background:linear-gradient(129deg,#5a85d3,#ff5cee 79.728%);
  -webkit-background-clip:text;background-clip:text;color:transparent;white-space:nowrap;
}
/* Prize amounts count upwards when scrolled into view; initial HTML stays at the full value. */
.cmlm-monthly [data-cmlm-countup] {
  direction:ltr;
  unicode-bidi:isolate;
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1;
}
.cmlm-monthly .cmlm-gradient-text[data-cmlm-countup] {display:inline-block;}
.cmlm-monthly .cmlm-money-step {
  animation:cmlm-money-step .32s cubic-bezier(.2,.9,.3,1) both;
}
.cmlm-monthly .cmlm-money-finished {
  animation:cmlm-money-finish .76s cubic-bezier(.2,.8,.25,1) both;
}
@keyframes cmlm-money-step {
  from {opacity:.7;transform:translateY(5px) scale(.985);filter:brightness(1.25);}
  to {opacity:1;transform:translateY(0) scale(1);filter:brightness(1);}
}
@keyframes cmlm-money-finish {
  0% {transform:scale(1);filter:brightness(1) drop-shadow(0 0 0 rgba(255,92,238,0));}
  40% {transform:scale(1.035);filter:brightness(1.38) drop-shadow(0 0 11px rgba(255,92,238,.36));}
  100% {transform:scale(1);filter:brightness(1) drop-shadow(0 0 0 rgba(255,92,238,0));}
}
@media (prefers-reduced-motion:reduce) {
  .cmlm-monthly .cmlm-money-step,
  .cmlm-monthly .cmlm-money-finished {animation:none;}
}
/* Rules are individual numbered cards rather than cramped text columns. */
.cmlm-monthly .cmlm-rules-card {
  grid-column:1/-1;position:relative;overflow:hidden;
  padding:28px 30px 30px;border:1px solid rgba(255,255,255,.08);
  border-radius:20px;background:linear-gradient(135deg,rgba(255,255,255,.065),rgba(255,255,255,.035));min-width:0;
}
.cmlm-monthly .cmlm-rules-heading {display:flex;align-items:center;gap:12px;margin-bottom:20px;}
.cmlm-monthly .cmlm-rules-icon {
  flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;
  color:#ffc1ee;border-radius:13px;
  background:linear-gradient(140deg,rgba(90,133,211,.20),rgba(255,92,238,.19));
  border:1px solid rgba(255,255,255,.09);
}
.cmlm-monthly .cmlm-rules-heading-copy {min-width:0;}
.cmlm-monthly .cmlm-rules-title {font-size:23px;line-height:1.25;font-weight:700;text-align:left;}
.cmlm-monthly .cmlm-rules-description {margin:5px 0 0;color:rgba(255,255,255,.53);font-size:13px;line-height:1.4;}
.cmlm-monthly .cmlm-rules {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;
  margin:0;padding:0;list-style:none;counter-reset:cmlm-rule;
}
.cmlm-monthly .cmlm-rules li {
  counter-increment:cmlm-rule;display:flex;align-items:flex-start;gap:12px;min-width:0;
  padding:16px 14px;min-height:90px;border:1px solid rgba(255,255,255,.07);
  border-radius:13px;background:rgba(11,9,20,.23);
  font-size:14px;font-weight:500;color:rgba(255,255,255,.77);line-height:1.5;
  overflow-wrap:anywhere;
}
.cmlm-monthly .cmlm-rules li::before {
  content:counter(cmlm-rule, decimal-leading-zero);flex:0 0 32px;
  display:grid;place-items:center;width:32px;height:32px;border-radius:10px;
  background:linear-gradient(145deg,rgba(90,133,211,.23),rgba(255,92,238,.18));
  border:1px solid rgba(255,178,239,.20);color:#ffc1ef;
  font-size:12px;line-height:1;font-weight:800;letter-spacing:.03em;
}
.cmlm-monthly .cmlm-standings {margin-top:32px;min-width:0;}
.cmlm-monthly .cmlm-standings-title {font-size:24px;font-weight:700;line-height:1.33;margin:0 0 20px;}
.cmlm-monthly .cmlm-rank-table {display:flex;flex-direction:column;gap:0;min-width:0;width:100%;}
.cmlm-monthly .cmlm-rank-row {display:grid;grid-template-columns:2fr 4fr 3fr 3fr;align-items:center;gap:12px;min-width:0;padding:12px 16px;line-height:1.45;}
.cmlm-monthly .cmlm-rank-head {padding-top:0;padding-bottom:10px;color:rgba(255,255,255,.5);font-size:14px;}
.cmlm-monthly .cmlm-rank-item {min-height:48px;border-radius:16px;color:#fff;font-size:16px;}
.cmlm-monthly [data-cmlm-list]>.cmlm-rank-item:nth-child(odd){background:rgba(255,255,255,.05)}
.cmlm-monthly .cmlm-rank-item[hidden] {display:none !important;}
.cmlm-monthly .cmlm-rank-row > div {min-width:0;}
.cmlm-monthly .cmlm-player{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.cmlm-monthly .cmlm-prize{color:#ff2b8a;font-weight:500;white-space:nowrap;}
.cmlm-monthly .cmlm-rank-head > div:last-child,
.cmlm-monthly .cmlm-rank-item > div:last-child {text-align:right;}
.cmlm-monthly .cmlm-place-1 {color:#eab308;}
.cmlm-monthly .cmlm-place-2 {color:#9ca3af;}
.cmlm-monthly .cmlm-place-3 {color:#f97316;}
.cmlm-monthly .cmlm-place-4 {color:#fff;}
.cmlm-monthly .cmlm-more-wrap {display:flex;justify-content:center;margin-top:20px;}
.cmlm-monthly .cmlm-more {display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;background:rgba(255,255,255,.1);color:#fff;font-family:inherit;font-size:16px;font-weight:700;border:0;border-radius:12px;padding:12px 18px;cursor:pointer;transition:background .17s ease;}
.cmlm-monthly .cmlm-more:hover {background:rgba(255,255,255,.16);}
.cmlm-monthly .cmlm-more:focus-visible {outline:2px solid #ff2b8a;outline-offset:2px;}
.cmlm-monthly .cmlm-empty {text-align:center;color:rgba(255,255,255,.65);background:rgba(255,255,255,.05);padding:40px;border-radius:16px;}
@container (max-width: 1050px) {
  .cmlm-monthly .cmlm-hero-amount {font-size:clamp(48px,7vw,86px);}
}
@container (max-width: 780px) {
  .cmlm-monthly .cmlm-hero {padding:24px 20px;min-height:0;flex-direction:column;gap:10px;}
  .cmlm-monthly .cmlm-hero-illustration {flex:none;width:100%;max-width:300px;min-height:180px;}
  .cmlm-monthly .cmlm-hero-illustration img {max-height:220px;}
  .cmlm-monthly .cmlm-hero-amount {font-size:clamp(50px,11vw,90px);}
  .cmlm-monthly .cmlm-hero-title {font-size:28px;}
  .cmlm-monthly .cmlm-overview-grid {grid-template-columns:1fr;}
  .cmlm-monthly .cmlm-timer-card {min-height:0;padding:22px 20px;}
  .cmlm-monthly .cmlm-prize-card {min-height:145px;}
  .cmlm-monthly .cmlm-rules-card {padding:24px;}
  .cmlm-monthly .cmlm-rules {grid-template-columns:repeat(2,minmax(0,1fr));}
  .cmlm-monthly .cmlm-rank-item {font-size:14px;}
}
@container (max-width: 510px) {
  .cmlm-monthly .cmlm-page-title {font-size:30px;}
  .cmlm-monthly .cmlm-hero-amount {font-size:clamp(44px,12vw,64px);}
  .cmlm-monthly .cmlm-hero-title {font-size:24px;}
  .cmlm-monthly .cmlm-timer-card {padding:18px 14px;}
  .cmlm-monthly .cmlm-timer-heading {margin-bottom:13px;}
  .cmlm-monthly .cmlm-timer-title {font-size:14px;}
  .cmlm-monthly .cmlm-countdown {gap:6px;}
  .cmlm-monthly .cmlm-time-unit {min-height:72px;padding:9px 2px 8px;border-radius:10px;}
  .cmlm-monthly .cmlm-time-number {font-size:clamp(22px,6vw,31px);}
  .cmlm-monthly .cmlm-time-suffix {font-size:9px;margin-top:6px;letter-spacing:.045em;}
  .cmlm-monthly .cmlm-rules-card {padding:20px 16px;}
  .cmlm-monthly .cmlm-rules {grid-template-columns:1fr;gap:9px;}
  .cmlm-monthly .cmlm-rules li {min-height:0;padding:13px 12px;}
  .cmlm-monthly .cmlm-rules-title {font-size:21px;}
  .cmlm-monthly .cmlm-standings-title {font-size:22px;}
  .cmlm-monthly .cmlm-rank-row {gap:6px;grid-template-columns:1.6fr 3.5fr 2.7fr 3.2fr;}
  .cmlm-monthly .cmlm-rank-head {padding:11px 8px;font-size:11px;}
  .cmlm-monthly .cmlm-rank-item {padding:11px 8px;font-size:12px;}
}
/* Match Tournament 10K row design and personal-row icon positioning exactly. */
.cmlm-monthly [data-cmlm-list]{display:flex;flex-direction:column;gap:0;min-width:0}
.cmlm-monthly .cmlm-rank-item.cmlm-personal-row{border:1px solid rgba(255,43,138,.78);background:rgba(255,43,138,.065);}
.cmlm-monthly .cmlm-below-icon{display:flex;align-items:center;color:#ff2b8a;}
.cmlm-monthly .cmlm-below-icon svg{display:block;width:20px;height:20px;flex:none;}
.cmlm-monthly .cmlm-rank-item[hidden]{display:none!important}
