:root {
  --home-background: #f5f6ff;
  --surface: #fff;
  --text: #303849;
  --secondary: #687797;
  --coral: #ff6065;
  --coral-ink: #a33140;
  --coral-wash: #fff1f2;
  --coral-border: #ffcdd1;
  --line: #e7e9f3;
  --home-width: 440px;
  --header-height: 58px;
  --category-sticky-top: var(--header-height);
  --category-bar-height: 54px;
  --category-heading-gap: 10px;
  --content-gutter: 14px;
  --card-radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #9195a3;
  color: var(--text);
  font-family: Inter, Segoe UI, Arial, sans-serif;
}
button { font: inherit; cursor: pointer; }

.app-shell {
  width: min(100%, var(--home-width));
  min-height: 100vh;
  min-height: 100dvh;
  margin: auto;
  background: var(--home-background);
  box-shadow: 0 3px 26px #30384929;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding-inline: var(--content-gutter);
  background: linear-gradient(105deg, var(--coral), #ff9992);
  box-shadow: 0 2px 8px #803b421c;
}
.topbar > .icon-btn { display: none; }
.brand{font-size:27px;font-weight:1000;letter-spacing:.7px;color:#ffa96c;text-shadow:0 2px #8a1712}
.brand em{font-size:13px;color:#ffe0a8;font-style:normal}
.top-actions { display: flex; gap: 8px; }
.top-actions .icon-btn {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #833444;
  font-size: 22px;
  line-height: 1;
}

.main {
  padding: 12px var(--content-gutter) calc(96px + env(safe-area-inset-bottom));
}
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 12px #3038491a;
}
.hero img, .promo-banner img { display: block; width: 100%; height: auto; }
.image-tag {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #242937e8;
  color: white;
  font-size: 10px;
}

.notice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--surface);
}
.notice p {
  margin: 0;
  flex: 1;
  min-width: 0;
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.45;
}
.notice .speaker { flex: none; font-size: 16px; }

.notice button, .more, .rec-counter {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding-inline: 10px;
  border: 1px solid var(--coral-border);
  border-radius: 999px;
  background: var(--coral-wash);
  color: var(--coral-ink);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.notice button, .more { min-height: 36px; }
.rec-counter { min-height: 28px; font-size: 11px; letter-spacing: .03em; }
.more span { font-size: 17px; line-height: 1; }
.notice button:hover, .more:hover { background: #ffe2e5; }

.categories {
  position: sticky;
  top: var(--category-sticky-top);
  z-index: 9;
  display: flex;
  gap: 8px;
  margin: 12px calc(-1 * var(--content-gutter)) 0;
  padding: 4px var(--content-gutter) 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: var(--content-gutter);
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  background: var(--home-background);
}
.categories::-webkit-scrollbar { display: none; }
.category {
  display: flex;
  flex: none;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 12px 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  scroll-snap-align: start;
}
.category img { width: 24px; height: 24px; object-fit: contain; }
.category:hover { border-color: var(--coral-border); }
.category[aria-current="true"] {
  border-color: #ee9da4;
  background: #ffe1e3;
  color: #862b3a;
  box-shadow: inset 0 0 0 1px #f5b8bd;
}

.game-section {
  margin-top: 16px;
  padding: 12px;
  scroll-margin-top: calc(var(--category-sticky-top) + var(--category-bar-height) + var(--category-heading-gap));
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 2px 7px #30384908;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin-bottom: 10px;
}
.section-header h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.25;
}
.section-title-icon {
  display: grid;
  flex: none;
  width: 23px;
  height: 23px;
  place-items: center;
  object-fit: contain;
  font-size: 16px;
}

.rec-grid, .tiles, .lottery-grid, .providers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.providers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lottery-grid, #sports .providers {
  grid-template-columns: repeat(2, minmax(0, 132px));
  justify-content: center;
}
.game-tile {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 333 / 450;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--card-radius);
  background: var(--home-background);
}
.game-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.wingo-link { text-decoration: none; }
.providers .game-tile { aspect-ratio: 340 / 108; }
#sports .game-tile {
  display: grid;
  grid-template-rows: auto auto;
  aspect-ratio: auto;
  color: var(--text);
}
#sports .game-tile img { aspect-ratio: 333 / 450; height: auto; }
#sports .game-tile span {
  padding: 5px 8px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 650;
  text-align: center;
}
.promo-banner { margin-top: 16px; overflow: hidden; border-radius: 16px; }
.preview-panel {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--home-background);
  font-size: 13px;
}
.preview-panel p { margin: 4px 0 0; color: var(--secondary); line-height: 1.5; }

/* ZUNO-FLOAT-ICONS-START */
.zuno-float-icons {
  position: fixed;
  z-index: 45;
  right: max(9px, calc((100vw - 430px) / 2 + 9px));
  top: 32%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: calc(100dvh - 145px);
  overflow-y: auto;
  scrollbar-width: none;
  pointer-events: none;
}
.zuno-float-icons::-webkit-scrollbar { display: none; }
.zuno-float-icons button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: clamp(43px, 12vw, 58px);
  height: clamp(43px, 12vw, 58px);
  display: block;
  cursor: pointer;
  pointer-events: auto;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.25));
}
.zuno-float-icons img { width: 100%; height: 100%; object-fit: contain; display: block; }
.zuno-float-icons button:focus-visible { outline: 2px solid #ffdfab; outline-offset: 2px; border-radius: 50%; }
@media (max-height: 580px) { .zuno-float-icons { top: 21%; gap: 5px; } }
/* ZUNO-FLOAT-ICONS-END */
/* ZUNO FLOATING GROUP POSITION START */
.zuno-float-icons {
    position: fixed !important;
    top: auto !important;
    bottom: calc(135px + env(safe-area-inset-bottom, 0px)) !important;
    right: 10px !important;
    max-height: calc(100dvh - 155px) !important;
    overflow: visible !important;
    z-index: 900 !important;
}

.zuno-float-icons button {
    flex-shrink: 0 !important;
}

/* ZUNO FLOATING GROUP POSITION END */
/* ZUNO FLOAT BUTTON SIZE START */
.zuno-float-icons button {
    scale: 1.10 !important;
    transform-origin: center center !important;
}
/* ZUNO FLOAT BUTTON SIZE END */

.topbar button:focus-visible, .main :is(a, button):focus-visible, .popup button:focus-visible {
  outline: 2px solid var(--coral-ink);
  outline-offset: 2px;
}

 

.overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #30384999;
}
.overlay[hidden] { display: none; }
.popup {
  position: relative;
  width: min(100%, 360px);
  padding: 22px;
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 12px 32px #30384933;
}
.popup h3 { margin: 0; padding-right: 36px; }
.popup p { color: var(--secondary); line-height: 1.5; }
.close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 23px;
}
.close:hover { background: var(--home-background); }
.popup-ok {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--coral-border);
  border-radius: 12px;
  background: var(--coral-wash);
  color: var(--coral-ink);
  font-weight: 650;
}

@media (max-width: 360px) {
  :root { --content-gutter: 10px; }
  .game-section { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

 /* ZUNO WIN HEADER LOGO */
.header-brand-logo {
    display: block;
    height: 34px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Homepage wallet and demo results */
.home-wallet-card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 12px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--surface);
}

.home-wallet-summary { display: grid; gap: 3px; }
.home-wallet-summary h2 { display: flex; align-items: center; gap: 5px; margin: 0; font-size: 13px; }
.home-wallet-summary h2 img { width: 16px; height: 16px; }
.home-demo-label {
  flex: none;
  justify-self: start;
  padding: 3px 6px;
  border-radius: 999px;
  background: var(--coral-wash);
  color: var(--coral-ink);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.home-wallet-summary .home-demo-label { position: absolute; top: 10px; right: 12px; }

.home-wallet-amount { display: flex; align-items: center; gap: 6px; font-size: 22px; font-variant-numeric: tabular-nums; }
.home-wallet-refresh {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  background: var(--home-background);
}
.home-wallet-refresh img { width: 100%; height: 100%; }
.home-wallet-actions { display: flex; gap: 6px; margin-top: 18px; }
.home-wallet-actions a {
  display: flex;
  align-items: center;
  gap: 3px;
  min-height: 40px;
  padding: 0 7px;
  border: 1px solid var(--coral-border);
  border-radius: 9px;
  color: var(--coral-ink);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  background-size: cover;
  background-position: center;
}
.home-wallet-actions img { width: 14px; height: 14px; filter: brightness(0) saturate(100%) invert(22%) sepia(40%) saturate(1899%) hue-rotate(317deg); }
.home-wallet-deposit { background-image: linear-gradient(#fff1f2dc, #fff1f2dc), url("assets/home-sections/deposit.svg"); }
.home-wallet-withdraw { background-image: linear-gradient(#fff6eddf, #fff6eddf), url("assets/home-sections/withdraw.svg"); }

.home-results .section-header { margin-bottom: 8px; }
.home-winners-card { background: #fff; border-radius: 12px; overflow: hidden; }
.home-winners-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12px; background: #fff; }
.home-winners-table thead { background: #fff; color: #444; }
.home-winners-table th, .home-winners-table td { padding: 11px 8px; text-align: left; vertical-align: middle; }
.home-winners-table th:first-child { width: 42%; }
.home-winners-table th:nth-child(2) { width: 28%; }
.home-winners-table th:last-child { width: 30%; }
.home-winners-table thead th { font-weight: 600; line-height: 1.25; }
.home-winners-table tbody th { font-weight: 500; }
.home-winners-table tbody th .home-winner-medal { display: inline-block; font-size: 15px; margin-right: 6px; vertical-align: middle; }
.home-winners-table tbody th span:last-child { vertical-align: middle; }
.home-winners-table tbody td:nth-child(2) { color: #666; }
.home-winners-table tr > :last-child { text-align: right; font-variant-numeric: tabular-nums; }
.home-winners-table tbody td:last-child { color: #d85b62; font-weight: 600; white-space: nowrap; }
.home-winners-table tbody tr + tr > * { border-top: 1px solid #f1f1f1; }

.home-earnings-podium {
  padding: 10px 6px 6px;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--home-background);
  text-align: center;
}
.home-earnings-podium > img { display: block; width: 100%; height: auto; }
.home-earnings-podium ol {
  display: grid;
  grid-template-columns: 31fr 38fr 31fr;
  gap: 3px;
  margin: 0;
  padding: 8px 0 4px;
  list-style: none;
}
.home-earnings-podium li { display: grid; gap: 3px; font-size: 11px; }
.home-earnings-first { grid-column: 2; grid-row: 1; }
.home-earnings-second { grid-column: 1; grid-row: 1; }
.home-earnings-podium strong, .home-earnings-list strong { color: var(--coral-ink); font-variant-numeric: tabular-nums; }
.home-earnings-list { margin: 6px 0 0; padding: 0; list-style: none; }
.home-earnings-list li {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 7px 6px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.home-earnings-list li:last-child { border-bottom: 0; }
.home-rank-position {
  display: grid;
  place-items: center;
  height: 24px;
  border-radius: 50%;
  background: var(--home-background);
  color: var(--secondary);
  font-weight: 700;
}

/* ZUNO WALLET EXACT STYLE START */
.home-wallet-card {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 8px 0 !important;
}

.home-wallet-actions {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 0 !important;
}

.home-wallet-actions a {
    display: block !important;
    flex: 0 0 88px !important;
    width: 88px !important;
    height: 52px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: hidden !important;
}

.home-wallet-actions a img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
    filter: none !important;
}
/* ZUNO WALLET EXACT STYLE END */
/* ZUNO WALLET BUTTON TEXT AND ARROW FIX */
.home-wallet-actions a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    text-decoration: none !important;
}

.home-wallet-actions .home-wallet-withdraw {
    background-image: url("assets/home-sections/withdraw.svg") !important;
}

.home-wallet-actions .home-wallet-deposit {
    background-image: url("assets/home-sections/deposit.svg") !important;
}

.home-wallet-actions .wallet-action-arrow {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    object-fit: contain !important;
    filter: brightness(0) invert(1) !important;
}

.home-wallet-actions a span {
    display: block;
    color: #ffffff !important;
    white-space: nowrap;
}

/* ZUNO ANNOUNCEMENT STYLE START */
.notice {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 48px !important;
    margin-top: 10px !important;
    padding: 6px 10px !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 30px !important;
    box-shadow: 0 3px 12px rgba(48,56,73,.05) !important;
}

.notice .speaker {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 24px !important;
}

.notice .speaker img {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    object-fit: contain !important;
}

.notice p {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    color: #303849 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
}

.notice button {
    flex: 0 0 auto !important;
    min-width: 76px !important;
    min-height: 32px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(105deg,#ff6065,#ff9992) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}
/* ZUNO ANNOUNCEMENT STYLE END */

/* ZUNO LOTTERY THREE COLUMN GRID */
#lottery .lottery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

#lottery .lottery-grid > * {
    min-width: 0;
    width: 100%;
}

#lottery .lottery-grid .game-tile {
    width: 100%;
    min-width: 0;
}

#lottery .lottery-grid .game-tile img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 333 / 450;
    object-fit: cover;
    border-radius: 10px;
}

/* Winning Information: new winner animation */
.home-winners-table tbody tr.zuno-winner-enter {
    animation: zunoWinnerSlide 0.55s ease-out both;
}

@keyframes zunoWinnerSlide {
    from {
        opacity: 0;
        transform: translateY(-22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ZUNO WIN: Winning Information rotation */
.home-winners-table tbody tr.zuno-winner-enter {
    animation: none !important;
}
.home-winners-table tbody th .home-winner-medal {
    display: inline-block;
    margin-right: 6px;
    font-size: 15px;
    vertical-align: middle;
}
/* Winning Information: borders move with animated cells */
.home-winners-table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.home-winners-table tbody tr > th,
.home-winners-table tbody tr > td {
    border-top: 0 !important;
    border-bottom: 1px solid #f1f1f1 !important;
    background: #ffffff;
}

.home-winners-table tbody tr:last-child > th,
.home-winners-table tbody tr:last-child > td {
    border-bottom: 0 !important;
}

.home-winners-table tbody tr {
    will-change: transform;
}
/* ZUNO WIN Winning Information header underline */
.home-winners-table thead th {
    border-bottom: 1px solid #eeeeee !important;
    padding-bottom: 18px;
}
/* ZUNO WIN: Winning heading outside card */
.home-results[aria-labelledby="home-winning-title"] {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible !important;
}

.home-results[aria-labelledby="home-winning-title"] > .section-header {
    background: transparent !important;
    padding: 0 4px !important;
    margin-bottom: 14px !important;
}

.home-results[aria-labelledby="home-winning-title"] > .section-header h2 {
    margin: 0 !important;
}

.home-results[aria-labelledby="home-winning-title"] > .home-winners-table {
    background: #ffffff !important;
    border: 1px solid #eeeeee !important;
    border-radius: 18px !important;
    overflow: hidden;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.035) !important;
}

.home-results[aria-labelledby="home-winning-title"] > .home-winners-table thead th {
    padding-top: 20px !important;
}
/* ZUNO EARNINGS LOTTERY STYLE V1 */
.zuno-earnings-section { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; overflow: visible !important; }
.zuno-earnings-section > .section-header { margin: 0 0 14px !important; padding: 0 3px !important; background: transparent !important; }
.zuno-earnings-section > .section-header h2 { margin: 0 !important; }
.zuno-earnings-card { background: #fff; border-radius: 18px; padding: 22px 16px 18px; box-shadow: 0 3px 14px rgba(40,32,70,.045); overflow: hidden; }
.zuno-earnings-podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 0; list-style: none; padding: 0; margin: 0 0 16px; min-height: 256px; }
.zuno-earnings-top { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: end; text-align: center; }
.zuno-earnings-rank-2 { grid-column: 1; grid-row: 1; }
.zuno-earnings-rank-1 { grid-column: 2; grid-row: 1; }
.zuno-earnings-rank-3 { grid-column: 3; grid-row: 1; }
.zuno-earnings-avatar { width: 62px; height: 62px; border: 3px solid #e9a167; border-radius: 50%; background: #fff; overflow: hidden; position: relative; z-index: 1; margin-bottom: -12px; box-shadow: 0 2px 5px #0002; }
.zuno-earnings-rank-1 .zuno-earnings-avatar { width: 78px; height: 78px; border-color: #f25a76; }
.zuno-earnings-rank-3 .zuno-earnings-avatar { border-color: #edc357; }
.zuno-earnings-avatar img, .zuno-earnings-small-avatar { width: 100%; height: 100%; object-fit: cover; display: block; }
.zuno-earnings-pillar { box-sizing: border-box; width: 100%; height: 155px; padding: 24px 2px 15px; border-radius: 16px 16px 0 0; background: linear-gradient(180deg,#ffd9c0 0%,#fff 100%); display: flex; flex-direction: column; align-items: center; justify-content: end; gap: 3px; min-width: 0; }
.zuno-earnings-rank-1 .zuno-earnings-pillar { height: 202px; background: linear-gradient(180deg,#ffb1bf 0%,#fff 100%); border-top: 2px solid #fa879d; }
.zuno-earnings-rank-3 .zuno-earnings-pillar { background: linear-gradient(180deg,#ffe7a5 0%,#fff 100%); }
.zuno-earnings-number { font-size: 64px; line-height: 1; font-weight: 900; color: #f8a46e; text-shadow: 0 3px 4px #fff9; margin-bottom: auto; }
.zuno-earnings-rank-1 .zuno-earnings-number { color: #f34b7a; font-size: 78px; }
.zuno-earnings-rank-3 .zuno-earnings-number { color: #efc858; }
.zuno-earnings-name { font-size: 13px; font-weight: 750; white-space: nowrap; color: #e87f35; }
.zuno-earnings-rank-1 .zuno-earnings-name { color: #e73567; }
.zuno-earnings-rank-3 .zuno-earnings-name { color: #d3ac36; }
.zuno-earnings-pillar strong { font-size: 12px; font-weight: 500; white-space: nowrap; color: #806344; font-variant-numeric: tabular-nums; }
.zuno-earnings-rank-1 .zuno-earnings-pillar strong { color: #b52e52; font-weight: 650; }
.zuno-earnings-ranking { margin: 0; padding: 0; list-style: none; }
.zuno-earnings-ranking li { display: flex; align-items: center; min-height: 72px; padding: 8px 0; gap: 9px; border-bottom: 1px solid #f0f0f0; box-sizing: border-box; }
.zuno-earnings-ranking li:last-child { border-bottom: 0; }
.zuno-earnings-position { flex: 0 0 16px; font-weight: 700; color: #20232b; font-size: 14px; }
.zuno-earnings-small-avatar { flex: 0 0 43px; width: 43px; height: 43px; border-radius: 50%; background: #f6f6f6; }
.zuno-earnings-list-name { flex: 1 1 auto; min-width: 0; font-size: 14px; color: #222630; white-space: nowrap; }
.zuno-earnings-ranking strong { flex: 0 0 auto; font-size: 12px; font-weight: 500; color: #c85e64; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media(max-width:360px) { .zuno-earnings-card { padding: 18px 10px; } .zuno-earnings-name { font-size: 11px; } .zuno-earnings-pillar strong { font-size: 10px; } .zuno-earnings-ranking strong { font-size: 11px; } }
/* ZUNO EARNINGS SIZE MATCH START */
/* Scope restricted to the Today's Earnings Chart. */
.zuno-earnings-section > .section-header { margin-bottom: 12px !important; }
.zuno-earnings-section .zuno-earnings-card { padding: 20px 12px 20px; border-radius: 16px; }
.zuno-earnings-section .zuno-earnings-podium {
  min-height: 305px;
  margin-bottom: 20px;
  grid-template-columns: 1fr 1.14fr 1fr;
}
.zuno-earnings-section .zuno-earnings-avatar { width: 70px; height: 70px; margin-bottom: -13px; }
.zuno-earnings-section .zuno-earnings-rank-1 .zuno-earnings-avatar { width: 86px; height: 86px; }
.zuno-earnings-section .zuno-earnings-pillar { height: 190px; padding: 27px 2px 19px; border-radius: 18px 18px 0 0; }
.zuno-earnings-section .zuno-earnings-rank-1 .zuno-earnings-pillar { height: 245px; }
.zuno-earnings-section .zuno-earnings-number { font-size: 72px; }
.zuno-earnings-section .zuno-earnings-rank-1 .zuno-earnings-number { font-size: 88px; }
.zuno-earnings-section .zuno-earnings-name { font-size: 13px; }
.zuno-earnings-section .zuno-earnings-pillar strong { font-size: 12px; }
.zuno-earnings-section .zuno-earnings-ranking li { min-height: 80px; padding: 11px 2px; gap: 11px; }
.zuno-earnings-section .zuno-earnings-small-avatar { width: 48px; height: 48px; flex-basis: 48px; }
.zuno-earnings-section .zuno-earnings-list-name { font-size: 14px; }
.zuno-earnings-section .zuno-earnings-ranking strong { font-size: 12px; }
@media (max-width: 360px) {
  .zuno-earnings-section .zuno-earnings-card { padding: 18px 9px 18px; }
  .zuno-earnings-section .zuno-earnings-avatar { width: 60px; height: 60px; }
  .zuno-earnings-section .zuno-earnings-rank-1 .zuno-earnings-avatar { width: 74px; height: 74px; }
  .zuno-earnings-section .zuno-earnings-pillar { height: 172px; }
  .zuno-earnings-section .zuno-earnings-rank-1 .zuno-earnings-pillar { height: 224px; }
  .zuno-earnings-section .zuno-earnings-number { font-size: 62px; }
  .zuno-earnings-section .zuno-earnings-rank-1 .zuno-earnings-number { font-size: 76px; }
  .zuno-earnings-section .zuno-earnings-podium { min-height: 282px; }
  .zuno-earnings-section .zuno-earnings-ranking li { min-height: 74px; }
  .zuno-earnings-section .zuno-earnings-small-avatar { width: 44px; height: 44px; flex-basis: 44px; }
}
/* ZUNO EARNINGS SIZE MATCH END */

/* ZUNO Earnings Chart - Lottery7 compact sizing */
.zuno-earnings-card {
    padding: 20px 16px 22px !important;
}

.zuno-earnings-podium {
    min-height: 205px !important;
    margin-bottom: 10px !important;
}

.zuno-earnings-avatar {
    width: 58px !important;
    height: 58px !important;
    margin-bottom: -12px !important;
}

.zuno-earnings-rank-1 .zuno-earnings-avatar {
    width: 72px !important;
    height: 72px !important;
}

.zuno-earnings-pillar {
    height: 125px !important;
    padding: 16px 2px 10px !important;
}

.zuno-earnings-rank-1 .zuno-earnings-pillar {
    height: 165px !important;
}

.zuno-earnings-number {
    font-size: 49px !important;
}

.zuno-earnings-rank-1 .zuno-earnings-number {
    font-size: 62px !important;
}

.zuno-earnings-name {
    font-size: 12px !important;
}

.zuno-earnings-pillar strong {
    font-size: 11px !important;
}

.zuno-earnings-ranking li {
    min-height: 65px !important;
    padding: 7px 0 !important;
}

.zuno-earnings-small-avatar {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
}


/* Winning Information - Game medal size fix */
.home-winners-table tbody th img.home-winner-medal {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    object-fit: contain !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin-right: 6px !important;
    flex-shrink: 0 !important;
}


/* ZUNO WIN: Rank 1 crown SVG */
.zuno-earnings-rank-1 .zuno-earnings-avatar {
    overflow: visible !important;
    position: relative !important;
    isolation: isolate;
}
.zuno-earnings-rank-1 .zuno-earnings-avatar > img:not(.zuno-crown-icon) {
    border-radius: 50% !important;
    object-fit: cover !important;
}
.zuno-earnings-rank-1 .zuno-earnings-avatar::after {
    content: '';
    position: absolute;
    width: 29px;
    height: 29px;
    right: -10px;
    top: -16px;
    background: url('assets/home-sections/icon-91-top1.svg') center / contain no-repeat;
    pointer-events: none;
    z-index: 5;
}