@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --green: #079f35;
  --blue: #064aa0;
  --white: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --bg: #fbfcff;
  --soft-green: #ecfdf3;
  --soft-blue: #eff6ff;
  --danger: #ef4444;
  --gold: #f59e0b;
  --radius: 16px;
  --shadow: 0 12px 30px rgba(15, 23, 42, .07);
}

* { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 500; }
[x-cloak] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.phone-stage { min-height: 100vh; background: var(--bg); }
.phone-shell { width: 100%; min-height: 100vh; margin: 0 auto; background: var(--bg); position: relative; overflow-x: hidden; }
.screen { padding: 14px 16px 104px; animation: fade-up .35s ease both; }
.screen-head { padding-bottom: 0; }
.auth-screen { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 18px; }

@media (min-width: 480px) {
  .phone-stage { padding: 18px 0; }
  .phone-shell { max-width: 430px; min-height: 932px; border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 24px 80px rgba(15, 23, 42, .12); overflow: hidden; }
}

.topbar { height: 78px; display: grid; grid-template-columns: 44px 1fr 84px; align-items: center; gap: 6px; }
.topbar.center-title { grid-template-columns: 38px minmax(0, 1fr) 88px; }
.topbar.center-title > div:nth-child(2) { min-width: 0; }
.topbar.center-title .page-title { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; padding-right: 8px; }
.icon-btn { width: 38px; height: 38px; border: 0; border-radius: 999px; display: inline-grid; place-items: center; background: transparent; color: #0b1b3f; transition: .2s ease; }
.icon-btn svg { width: 24px; height: 24px; }
.menu-btn svg { width: 30px; height: 30px; stroke-width: 1.8; }
.icon-btn:hover { background: #eef2f7; transform: translateY(-1px); }
.logo-lockup { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; letter-spacing: .03em; color: #12315f; line-height: .95; }
.logo-mark { width: 42px; height: 58px; display: block; overflow: hidden; position: relative; flex: 0 0 auto; }
.logo-mark img { position: absolute; left: 50%; top: -1px; width: 72px; max-width: none; transform: translateX(-50%); }
.logo-text { display: grid; gap: 1px; line-height: .9; text-align: left; color: #06357d; }
.logo-text strong { font-size: 25px; letter-spacing: .02em; }
.logo-text span { display: flex; gap: 4px; font-size: 24px; letter-spacing: 0; }
.logo-text span b { color: #06357d; }
.logo-text span b:nth-child(2) { color: #079f35; }
.logo-text span b:nth-child(3) { color: #e8173c; }
.logo-text small { margin-top: 1px; font-size: 10px; letter-spacing: .42em; color: #06357d; }
.top-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.notify-btn { position: relative; color: #0b1b3f; }
.notify-btn span { position: absolute; right: 2px; top: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--green); border: 2px solid #fff; color: #fff; font-size: 9px; line-height: 12px; display: grid; place-items: center; font-weight: 800; }
.notify-btn span.is-hidden { display: none; }
.avatar-link { display: grid; place-items: center; }
.avatar { width: 36px; height: 36px; border-radius: 999px; background: linear-gradient(180deg, #eef2f7, #f8fafc); border: 0; object-fit: cover; }
.avatar-empty { color: #d1d8e4; }
.avatar-empty svg { width: 26px; height: 26px; }
.topbar-home {
  grid-template-columns: minmax(0, 1fr) auto;
}

.topbar-home > div:first-child {
  display: none;
}

.topbar-home > div:nth-child(2) {
  min-width: 0;
}

.topbar-home .logo-lockup {
  justify-content: flex-start;
}

.topbar-home .top-actions {
  gap: 6px;
}

.top-auth-link {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.top-auth-login {
  border: 1px solid #bbf7d0;
  background: #ecfdf3;
  color: var(--green);
}

.top-auth-register {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 16px rgba(7, 159, 53, .16);
}
.icon-mirror { transform: rotate(180deg); }
.avatar-lg { width: 82px; height: 82px; border-radius: 999px; object-fit: cover; box-shadow: var(--shadow); border: 4px solid #fff; }

.page-title { font-size: 18px; line-height: 1.2; font-weight: 800; text-align: center; color: #0b1b3f; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 12px; }
.section-title { display: flex; align-items: center; gap: 12px; font-size: 20px; line-height: 1.1; font-weight: 800; color: #06163b; }
.section-icon { color: var(--green); display: inline-grid; place-items: center; }
.section-icon svg { width: 24px; height: 24px; }
.section-link { color: var(--green); font-size: 15px; font-weight: 800; display: inline-flex; align-items: center; gap: 4px; }
.section-link svg { width: 20px; height: 20px; }

.card { background: var(--white); border: 1px solid rgba(226, 232, 240, .72); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 15px; }
.hero-card { overflow: hidden; position: relative; }
.hero-banner { min-height: 0; aspect-ratio: 1240 / 462; background: #fff url('/images/home-banner-2026.png') center / cover no-repeat; border-color: rgba(226, 232, 240, .85); box-shadow: 0 14px 34px rgba(15, 23, 42, .07); }
.hero-card::before { content: none; }
.hero-title { max-width: 220px; font-size: 20px; line-height: 1.18; font-weight: 800; color: #06163b; text-transform: uppercase; }
.hero-copy { margin-top: 14px; color: var(--muted); font-size: 15px; font-weight: 700; line-height: 1.42; }
.hero-flags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; font-size: 12px; color: #50627f; font-weight: 800; }
.hero-flags span { display: inline-flex; align-items: center; gap: 5px; }
.hero-art { min-height: 138px; position: relative; display: grid; place-items: center; }
.hero-art > span { position: absolute; right: -2px; top: 2px; font-size: 112px; line-height: .85; font-weight: 800; letter-spacing: -6px; color: #e8163d; text-shadow: -58px 0 0 #064aa0; opacity: .98; }
.trophy { width: 42px; height: 70px; margin-top: 12px; border-radius: 20px 20px 10px 10px; background: linear-gradient(145deg, #fff3a6 8%, #f4b51d 48%, #995f08 100%); position: relative; box-shadow: 0 13px 18px rgba(62, 42, 10, .26); z-index: 2; }
.trophy::before, .trophy::after { content: ""; position: absolute; top: 20px; width: 18px; height: 25px; border: 5px solid #d99b14; border-radius: 999px; }
.trophy::before { left: -12px; border-right: 0; }
.trophy::after { right: -12px; border-left: 0; }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: -16px; position: relative; z-index: 2; }
.slider-dots span { width: 8px; height: 8px; border-radius: 99px; background: #cbd5e1; }
.slider-dots span.active { background: var(--blue); }

.pool-row { display: grid; grid-template-columns: 62px 1fr 86px 22px; align-items: center; gap: 12px; padding: 14px 10px 14px 16px; border-left: 5px solid var(--green); }
.pool-icon, .circle-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #eefbf1; color: var(--green); border: 0; font-weight: 800; }
.pool-icon svg, .circle-icon svg { width: 30px; height: 30px; }
.pool-icon img, .circle-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pool-image-icon, .pool-ball { overflow: hidden; }
.pool-ball { background: #effaf0; color: #07153a; }
.pool-name { font-size: 18px; line-height: 1.15; font-weight: 800; color: #06163b; }
.pool-meta { display: block; margin-top: 7px; color: var(--muted); font-size: 13px; font-weight: 700; line-height: 1.35; }
.pool-score { text-align: right; }
.pool-score em { display: block; color: var(--muted); font-size: 11px; font-style: normal; font-weight: 700; margin-bottom: 8px; }
.pool-score strong { display: block; color: var(--green); font-size: 21px; line-height: 1; font-weight: 800; }
.pool-score span { display: block; margin-top: 6px; font-size: 13px; color: var(--blue); font-weight: 800; }
.row-chevron { color: #64748b; display: grid; place-items: center; }
.row-chevron svg { width: 24px; height: 24px; }

.pool-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(166px, 1fr); gap: 12px; overflow-x: auto; padding: 0 2px 4px; scrollbar-width: none; }
.pool-grid::-webkit-scrollbar { display: none; }
.pool-tile { padding: 16px 12px 14px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; }
.tile-head { display: flex; gap: 10px; align-items: center; }
.tile-title { font-size: 15px; line-height: 1.16; font-weight: 800; color: #06163b; }
.status-open { margin-top: 6px; color: var(--green); font-size: 13px; font-weight: 800; }
.status-open span { color: #64748b; margin: 0 5px; }
.prize { margin: 5px 0 0; color: var(--green); font-weight: 800; font-size: 15px; }

.btn { min-height: 42px; border: 0; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; font-weight: 800; font-size: 14px; transition: .2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); filter: brightness(.98); }
.btn-green { background: var(--green); color: white; box-shadow: 0 10px 20px rgba(22, 163, 74, .18); }
.btn-blue { background: var(--blue); color: white; }
.btn-white { background: white; border: 1px solid var(--border); color: #0b1b3f; }
.btn-danger { background: #fff1f2; color: var(--danger); }
.btn-full { width: 100%; }
.app-btn, .app-btn-primary, .app-btn-ghost { min-height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; font-weight: 800; font-size: 13px; border: 0; transition: .2s ease; }
.app-btn-primary { background: var(--green); color: white; box-shadow: 0 10px 20px rgba(22, 163, 74, .18); }
.app-btn-ghost { background: white; color: #0b1b3f; border: 1px solid var(--border); }
.app-card, .app-panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 15px; }
.app-input { width: 100%; height: 44px; border: 1px solid var(--border); border-radius: 10px; padding: 0 12px; background: #fff; color: var(--text); font-weight: 600; outline: 0; }
.app-label { color: var(--muted); font-size: 11px; font-weight: 700; margin-bottom: 7px; display: block; }
.app-badge { display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid #bbf7d0; background: #ecfdf3; color: var(--green); padding: 5px 9px; font-size: 10px; font-weight: 800; }
.app-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.app-table th, .app-table td { padding: 11px 8px; border-bottom: 1px solid #f1f5f9; text-align: left; color: #0b1b3f; }

.match-mini { display: grid; grid-template-columns: 1fr 90px 1fr 22px; align-items: center; gap: 8px; padding: 18px 12px; }
.team-mini { display: grid; gap: 8px; justify-items: center; font-size: 14px; font-weight: 500; color: #06163b; text-align: center; line-height: 1.15; }
.flag { width: 52px; height: 52px; border-radius: 999px; display: grid; place-items: center; background: #f8fafc; border: 0; box-shadow: inset 0 0 0 4px white; overflow: hidden; }
.flag-img { width: 52px; height: 52px; border-radius: 999px; object-fit: cover; display: block; box-shadow: inset 0 0 0 4px white; }
.match-time { display: grid; justify-items: center; text-align: center; font-size: 11px; color: var(--muted); font-weight: 500; line-height: 1.15; }
.match-time > span { display: grid; place-items: center; width: 32px; height: 32px; margin: 10px auto 8px; border-radius: 50%; background: #f1f5f9; color: #334155; text-transform: uppercase; }
.match-time small { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 4px; color: #334155; font-size: 13px; font-weight: 500; line-height: 1.15; white-space: nowrap; }
.match-time b { color: #64748b; margin: 0 5px; }
.pool-game-static { grid-template-columns: 1fr 90px 1fr; cursor: default; }
.pool-game-static:hover { transform: none; }
.result-pill {
  display: grid;
  place-items: center;
  width: 48px;
  height: 32px;
  margin: 10px auto 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #079b31;
  font-size: 12px;
  font-weight: 600;
}

.referral-banner { margin-top: 22px; padding: 14px 12px 14px 18px; display: grid; grid-template-columns: 1fr 82px 42px; align-items: center; gap: 8px; background: linear-gradient(100deg, #fff, #f2fff5); border-color: rgba(226, 232, 240, .75); }
.referral-banner .pool-name { color: var(--green); }
.gift { width: 80px; height: 66px; border-radius: 14px; background: linear-gradient(135deg, #0b57b5 0 34%, #07a246 34% 68%, #e8173c 68%); position: relative; transform: rotate(-2deg); }
.gift::before { content: ""; position: absolute; left: 34px; top: 0; width: 12px; height: 66px; background: #0b57b5; filter: brightness(1.25); }
.gift::after { content: ""; position: absolute; left: 14px; right: 14px; top: -10px; height: 18px; border: 6px solid #0b57b5; border-bottom: 0; border-radius: 18px 18px 0 0; }

.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; justify-content: center; pointer-events: none; }
.bottom-nav-inner { pointer-events: auto; width: 100%; max-width: 430px; height: 84px; padding: 12px 12px 14px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; background: white; border-top: 1px solid var(--border); border-radius: 0; box-shadow: 0 -12px 32px rgba(15, 23, 42, .06); }
.nav-item { display: grid; place-items: center; gap: 5px; color: #7c879c; font-size: 11px; font-weight: 800; }
.nav-item svg { width: 25px; height: 25px; stroke-width: 2; }
.nav-item.active { color: var(--green); }

.flag-mini { width: 21px; height: 15px; border-radius: 2px; display: inline-block; box-shadow: 0 0 0 1px rgba(15, 23, 42, .08); overflow: hidden; }
.flag-can, .flag-mini.flag-can { background: linear-gradient(90deg, #e21b2d 0 28%, #fff 28% 72%, #e21b2d 72%); }
.flag-usa, .flag-mini.flag-usa { background: repeating-linear-gradient(180deg, #c41e3a 0 4px, #fff 4px 8px); position: relative; }
.flag-usa::before, .flag-mini.flag-usa::before { content: ""; position: absolute; left: 0; top: 0; width: 46%; height: 48%; background: #23407e; }
.flag-mex, .flag-mini.flag-mex { background: linear-gradient(90deg, #0f8f46 0 33%, #fff 33% 66%, #ce1126 66%); }
.flag-bra { background: #19965b; position: relative; }
.flag-bra::before { content: ""; width: 30px; height: 30px; background: #f8d047; transform: rotate(45deg); }
.flag-ball { color: #0b1b3f; }
.flag-ball::before { content: ""; width: 28px; height: 28px; border-radius: 50%; border: 3px solid currentColor; }

.tabs { display: grid; grid-template-columns: repeat(4, 1fr); height: 44px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 11px; font-weight: 800; }
.tabs span { display: grid; place-items: center; position: relative; }
.tabs .active { color: var(--green); }
.tabs .active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--green); border-radius: 99px; }

.detail-head { display: grid; grid-template-columns: 68px 1fr; align-items: center; gap: 14px; padding: 18px 0 12px; }
.info-list { display: grid; gap: 0; }
.info-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #f1f5f9; color: var(--muted); font-size: 12px; }
.info-row strong { color: var(--green); font-weight: 800; }

.prediction-card { padding: 16px; display: grid; gap: 14px; }
.prediction-teams { display: grid; grid-template-columns: 1fr 32px 1fr; align-items: center; gap: 10px; }
.score-inputs { display: grid; grid-template-columns: 1fr 34px 1fr; align-items: center; gap: 18px; }
.score-input { width: 100%; height: 48px; border: 1px solid var(--border); border-radius: 12px; text-align: center; font-size: 20px; font-weight: 800; color: #0b1b3f; background: #fff; }
.timer { padding: 18px; text-align: center; background: linear-gradient(180deg, #f8fffb, white); color: var(--green); font-weight: 800; }
.timer strong { display: block; margin-top: 8px; font-size: 22px; letter-spacing: .08em; }

.podium { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 10px; padding: 18px 8px; }
.podium-card { text-align: center; }
.medal { font-size: 32px; line-height: 1; }
.rank-list { display: grid; gap: 8px; }
.rank-row { display: grid; grid-template-columns: 34px 1fr 70px; align-items: center; gap: 8px; padding: 12px; }
.fixed-me { position: sticky; bottom: 82px; z-index: 10; display: flex; justify-content: space-between; align-items: center; background: #f0fdf4; border: 1px solid #bbf7d0; color: var(--green); }

.profile-head { text-align: center; padding-top: 18px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.stat-card { padding: 14px; text-align: center; }
.stat-card strong { display: block; font-size: 22px; color: var(--green); font-weight: 800; }
.menu-list { margin-top: 20px; overflow: hidden; border-radius: 14px; border: 1px solid #e5ecf5; box-shadow: 0 12px 28px rgba(15, 23, 42, .04); }
.menu-row { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border: 0; border-bottom: 1px solid #f1f5f9; background: #fff; color: #0b1b3f; font-size: 13px; font-weight: 600; text-align: left; }
.menu-row:last-child,
.menu-list form:last-child .menu-row { border-bottom: 0; }
.menu-list form { margin: 0; }

.form-card { padding: 20px; }
.input-group { display: grid; gap: 7px; }
.input-label { color: var(--muted); font-size: 11px; font-weight: 700; }
.input { width: 100%; height: 44px; border: 1px solid var(--border); border-radius: 10px; padding: 0 12px; background: #fff; color: var(--text); font-weight: 600; outline: 0; }
.file-input { padding: 10px 12px; height: auto; }
.input[readonly] { background: #f8fafc; color: #64748b; }
.profile-avatar-edit {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 2px 0 6px;
  cursor: pointer;
}
.profile-avatar-edit input { display: none; }
.profile-avatar-edit img {
  width: 86px;
  height: 86px;
  border-radius: 999px;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
}
.profile-avatar-edit span {
  color: #079b31;
  font-size: 12px;
  font-weight: 600;
}
.input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(22, 163, 74, .08); }
.input-error { color: var(--danger); }
.form-grid { display: grid; gap: 14px; }
.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.mt-18 { margin-top: 18px; }
.text-center { text-align: center; }
.auth-logo { display: grid; place-items: center; margin-bottom: 24px; }
.auth-logo .brand-logo { width: 146px; }
.auth-title { text-align: center; font-size: 15px; font-weight: 800; color: #0b1b3f; }
.auth-subtitle { margin-top: 6px; text-align: center; color: var(--muted); font-size: 12px; }
.social-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.auth-screen,
.auth-screen .page-title,
.auth-screen .auth-title,
.auth-screen .auth-subtitle,
.auth-screen .pool-meta,
.auth-screen .input-label,
.auth-screen .input,
.auth-screen .btn,
.auth-screen .section-link,
.auth-screen .auth-check {
  font-weight: 400;
}

.auth-screen .page-title,
.auth-screen .auth-title {
  font-size: 18px;
}

.auth-screen .social-row {
  grid-template-columns: 1fr;
}

.google-btn {
  gap: 10px;
}

.google-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.login-modal {
  width: min(392px, calc(100vw - 28px));
  max-height: min(86vh, 720px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--text);
}

.register-modal {
  max-height: min(92vh, 820px);
}

.login-modal::backdrop {
  background: rgba(15, 23, 42, .42);
  backdrop-filter: blur(4px);
}

.login-modal-panel {
  position: relative;
  padding: 28px 16px 16px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(15, 23, 42, .24);
  overflow: auto;
  max-height: inherit;
}

.login-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: #f1f5f9;
  color: #0b1b3f;
  font-size: 16px;
  cursor: pointer;
}

.login-modal .auth-logo {
  margin-bottom: 18px;
}

.login-modal .auth-logo .brand-logo {
  width: 128px;
}

.login-modal .form-card {
  box-shadow: none;
}

.login-modal .social-row {
  grid-template-columns: 1fr;
}

.notification-form { margin: 0; }
.notice-row { width: 100%; border: 1px solid rgba(226, 232, 240, .72); display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: flex-start; gap: 12px; padding: 14px; text-align: left; background: #fff; transition: .18s ease; }
.notice-row.unread { border-color: #bbf7d0; background: linear-gradient(180deg, #ffffff, #f7fff9); }
.notice-row:hover { transform: translateY(-1px); }
.notice-icon { width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; background: var(--soft-green); color: var(--green); font-weight: 800; font-size: 12px; flex: 0 0 auto; }
.notice-content { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.notice-line { min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.notice-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; line-height: 1.25; font-weight: 800; color: #0b1b3f; }
.notice-time { flex: 0 0 auto; max-width: 92px; color: #94a3b8; font-size: 10.5px; line-height: 1.25; font-weight: 700; text-align: right; }
.notice-copy { display: block; font-size: 11.5px; line-height: 1.35; color: var(--muted); white-space: normal; }

.admin-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.admin-stat { padding: 16px; text-align: center; }
.admin-stat strong { display: block; color: var(--green); font-size: 24px; font-weight: 800; }
.admin-actions { margin-top: 18px; }
.admin-list-row { display: grid; grid-template-columns: 48px 1fr 86px; align-items: center; gap: 10px; padding: 12px; }
.admin-actions-inline { display: flex; justify-content: flex-end; gap: 8px; }
.tiny-btn { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--border); background: white; display: grid; place-items: center; color: var(--blue); }

.splash { min-height: 100vh; display: grid; place-items: center; padding: 24px; text-align: center; }
.splash-logo { transform: scale(2.2); margin-bottom: 56px; }
.loading-cup { width: 92px; height: 130px; border-radius: 40px 40px 18px 18px; background: linear-gradient(145deg, #ffb11f, #f97316); margin: 0 auto 28px; }
.progress { width: 184px; height: 5px; border-radius: 99px; background: #e2e8f0; overflow: hidden; margin: 22px auto 8px; }
.progress span { display: block; height: 100%; width: 60%; background: var(--green); border-radius: inherit; animation: load 1.6s ease-in-out infinite alternate; }

.toast { position: fixed; left: 18px; right: 18px; bottom: 88px; z-index: 60; max-width: 394px; margin: 0 auto; padding: 14px 16px; border-radius: 16px; background: #0f172a; color: white; box-shadow: var(--shadow); font-size: 13px; font-weight: 800; }
.error-box { margin: 10px 16px; padding: 12px 14px; border-radius: 14px; background: #fff1f2; color: #be123c; border: 1px solid #fecdd3; font-size: 12px; font-weight: 800; }
.palpitometer-card { margin-bottom: 16px; display: grid; gap: 6px; }
.palpitometer-card strong { color: var(--green); font-size: 24px; line-height: 1; }
.palpitometer-card small { color: var(--muted); font-size: 12px; }
.palpitometer-winners { display: grid; gap: 8px; margin-top: 6px; }
.palpitometer-winners span { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; }
.palpitometer-winners b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.palpitometer-winners em { color: var(--green); font-size: 12px; font-style: normal; font-weight: 800; }
.withdrawal-list { overflow: hidden; }
.withdrawal-row { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.withdrawal-row:last-child { border-bottom: 0; }
.withdrawal-row span { min-width: 0; display: grid; gap: 4px; }
.withdrawal-row small { color: var(--muted); font-size: 11px; }
.withdrawal-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; }
.withdrawal-row b { color: var(--green); font-size: 13px; }
.withdrawal-row em { justify-self: end; padding: 4px 8px; border-radius: 999px; font-size: 10px; font-style: normal; font-weight: 700; background: #f1f5f9; color: #475569; }
.withdrawal-row .status-pending { background: #fef3c7; color: #b45309; }
.withdrawal-row .status-approved { background: #ecfdf3; color: var(--green); }
.withdrawal-row .status-rejected { background: #fee2e2; color: #b91c1c; }

@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes load { from { width: 35%; } to { width: 78%; } }

/* Dashboard reference layout */
body { background: #fff; }
.phone-stage, .phone-shell { background: #fff; }
.screen { animation: none; }
.screen-head { padding: 0 17px; border-bottom: 1px solid #e5e9f0; }
.topbar { height: 60px; grid-template-columns: 40px 1fr 88px; gap: 4px; }
.topbar-home { grid-template-columns: minmax(0, 1fr) max-content; }
.topbar-home > div:first-child { display: none; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; color: #05163a; }
.menu-btn svg { width: 27px; height: 27px; stroke-width: 2; }
.logo-lockup { justify-content: flex-start; }
.brand-logo { display: block; width: 106px; height: auto; }
.auth-logo .brand-logo { width: 146px; }
.top-actions { gap: 14px; }
.topbar-home .top-actions { gap: 6px; }
.topbar-home .top-auth-link {
  min-width: 0;
  height: 34px;
  padding: 0 10px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}
.notify-btn svg { width: 27px; height: 27px; stroke-width: 1.85; }
.notify-btn span { right: 2px; top: 2px; min-width: 16px; width: auto; height: 16px; border-width: 2px; background: #08a33b; }
.avatar-link { display: grid; place-items: center; width: 45px; height: 45px; }
.avatar { width: 45px; height: 45px; background: #f0f2f7; color: #fff; display: grid; place-items: center; }
.avatar-empty svg { width: 34px; height: 34px; stroke-width: 1.5; color: #fff; }

.home-exact { padding: 16px 17px 104px; overflow: hidden; color: #06153a; }
.home-card { background: #fff; border: 1px solid rgba(226, 232, 240, .8); border-radius: 8px; box-shadow: 0 11px 26px rgba(15, 23, 42, .06); }
.home-hero { width: 100%; height: 169px; border-radius: 16px; overflow: hidden; box-shadow: 0 16px 38px rgba(15, 23, 42, .07); background: #fff; border: 1px solid rgba(226, 232, 240, .72); }
.home-hero img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center; border-radius: inherit; background: #fff; }
.home-banner-strip { display: flex; gap: 0; overflow-x: hidden; scroll-snap-type: x mandatory; padding-bottom: 2px; border-radius: 16px; background: #fff; }
.home-banner-strip .home-hero { flex: 0 0 100%; min-width: 100%; scroll-snap-align: start; }

.home-section { margin-top: 24px; }
.home-section-head { height: 26px; margin: 0 2px 14px; display: flex; align-items: center; justify-content: space-between; }
.home-section-head h2 { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 17px; line-height: 1; font-weight: 800; letter-spacing: 0; color: #06153a; }
.home-section-head a { display: inline-flex; align-items: center; gap: 5px; color: #079b31; font-size: 11px; font-weight: 500; }
.home-section-head a svg { width: 15px; height: 15px; stroke-width: 2.2; }
.home-section-icon { display: grid; place-items: center; width: 20px; height: 20px; }
.home-section-icon svg { width: 21px; height: 21px; stroke-width: 2.1; }
.icon-green { color: #0aa33c; }
.icon-blue { color: #0750a6; }

.my-pool-card { height: 79px; position: relative; display: grid; grid-template-columns: 62px 1fr 20px; align-items: center; gap: 10px; padding: 0 12px 0 17px; overflow: hidden; }
.my-pool-accent { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: #09a53a; border-radius: 8px 0 0 8px; }
.my-pool-ball { width: 50px; height: 50px; border-radius: 12px; overflow: hidden; display: block; }
.my-pool-ball img { width: 100%; height: 100%; object-fit: cover; display: block; }
.my-pool-info { min-width: 0; display: grid; gap: 4px; }
.my-pool-info strong { font-size: 15.5px; line-height: 1.05; color: #06153a; font-weight: 800; white-space: nowrap; }
.my-pool-info > span { color: #465a78; font-size: 12.5px; line-height: 1; font-weight: 500; }
.my-pool-info small { color: #697992; font-size: 11.5px; line-height: 1; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.my-pool-info small svg { width: 13px; height: 13px; color: #61718b; stroke-width: 2.3; }
.my-pool-divider { height: 51px; background: #e7ebf2; }
.my-pool-score { display: grid; justify-items: center; gap: 5px; }
.my-pool-score small { color: #66758c; font-size: 11px; font-weight: 500; }
.my-pool-score strong { color: #089b32; font-size: 18px; line-height: 1; font-weight: 800; }
.my-pool-score b { color: #064a9d; font-size: 13px; line-height: 1; font-weight: 800; }
.home-chevron { color: #637089; display: grid; place-items: center; }
.home-chevron svg { width: 24px; height: 24px; stroke-width: 2.4; }

.home-available { margin-top: 29px; }
.available-strip { display: flex; gap: 11px; overflow-x: auto; overflow-y: hidden; padding: 0 17px 3px 0; margin-right: -17px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.available-strip::-webkit-scrollbar { display: none; }
.available-pool-wrap { flex: 0 0 166px; width: 166px; display: grid; gap: 5px; scroll-snap-align: start; }
.pool-type-badge { justify-self: start; display: inline-grid; place-items: center; min-height: 20px; max-width: 100%; padding: 0 8px; border: 1px solid #bbf7d0; border-radius: 999px; background: #ecfdf3; color: #079b31; font-size: 9px; line-height: 1; font-weight: 800; white-space: nowrap; }
.available-card { flex: 0 0 166px; width: 166px; height: 136px; border-radius: 8px; padding: 12px 11px 7px; display: grid; grid-template-rows: 43px 34px 25px; row-gap: 4px; align-items: start; scroll-snap-align: start; }
.available-top { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 9px; align-items: center; }
.available-top img { width: 34px; height: 34px; object-fit: cover; border-radius: 50%; display: block; }
.available-top strong { display: block; max-width: 100%; color: #06153a; font-size: 9.5px; line-height: 1; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.available-top small { margin-top: 6px; display: flex; align-items: center; gap: 7px; color: #62728b; font-size: 9.5px; line-height: 1; font-weight: 500; white-space: nowrap; }
.available-top small b { color: #089b32; font-size: 9.5px; }
.available-top small i { width: 3px; height: 3px; border-radius: 50%; background: #65758e; display: inline-block; }
.available-prices { margin-left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-self: start; }
.available-prices span { display: grid; gap: 2px; min-width: 0; }
.available-prices small { color: #697992; font-size: 7.5px; line-height: 1; font-weight: 500; white-space: nowrap; }
.available-prices b { color: #079b31; font-size: 8.5px; line-height: 1; font-weight: 500; white-space: nowrap; }
.available-card p { margin: 0 0 0 45px; color: #697992; font-size: 9.5px; line-height: 1; font-weight: 500; align-self: end; }
.available-card h3 { margin: 0 0 0 45px; color: #079b31; font-size: 11.5px; line-height: 1; font-weight: 500; white-space: nowrap; }
.available-card form { align-self: end; justify-self: center; margin: 0; }
.available-card button,
.available-join { width: 143px; height: 25px; border: 0; border-radius: 8px; background: #06a337; color: #fff; font-size: 11.5px; font-weight: 500; box-shadow: inset 0 -4px 9px rgba(0, 90, 22, .12); display: inline-grid; place-items: center; align-self: end; justify-self: center; margin-bottom: 0; }
.empty-available-card { grid-template-rows: 1fr; }

.home-games { margin-top: 25px; }
.game-card-exact { height: 84px; display: grid; grid-template-columns: 91px 1fr 116px 20px; align-items: center; gap: 5px; padding: 0 13px 0 18px; border-radius: 8px; }
.game-team { display: grid; justify-items: center; gap: 5px; color: #06153a; font-size: 12.5px; font-weight: 500; text-align: center; }
.game-team strong { font-weight: 700; }
.game-team img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; display: block; }
.game-center { display: grid; justify-items: center; gap: 5px; text-align: center; }
.game-center small { color: #65758e; font-size: 10.5px; line-height: 1; font-weight: 500; white-space: nowrap; }
.game-center em { width: 22px; height: 22px; border-radius: 50%; background: #eef1f6; color: #39465d; display: grid; place-items: center; font-size: 10px; font-style: normal; font-weight: 800; text-transform: uppercase; }
.game-center b { color: #263653; font-size: 11px; line-height: 1; font-weight: 800; }
.game-center b i { margin: 0 8px; color: #67778f; font-style: normal; }

.home-winners { margin-top: 25px; }
.winner-stories-strip {
  display: flex;
  gap: 13px;
  overflow-x: auto;
  padding: 2px 0 4px;
  scrollbar-width: none;
}
.winner-stories-strip::-webkit-scrollbar { display: none; }
.winner-stories-strip[data-auto-strip] {
  overflow-x: hidden;
  width: 100%;
  will-change: transform;
}
.winner-stories-strip[data-auto-strip] .winner-story {
  animation: winners-marquee var(--winner-duration, 18s) linear infinite;
}
.winner-stories-strip[data-auto-strip]:hover .winner-story,
.winner-stories-strip[data-auto-strip]:focus-within .winner-story,
.winner-stories-strip[data-auto-strip]:active .winner-story {
  animation-play-state: paused;
}
.winner-story {
  width: 68px;
  flex: 0 0 68px;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #06153a;
  text-decoration: none;
}
.winner-story-media {
  position: relative;
  width: 62px;
  height: 62px;
  padding: 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, #079b31, #0b4ea2 52%, #ef233c);
  box-shadow: 0 10px 20px rgba(15, 23, 42, .11);
}
.winner-story-media video,
.winner-story-media img,
.winner-story-media em,
.winner-video-placeholder {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  border: 2px solid #fff;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: #eef2f7;
  color: #0b4ea2;
  font-style: normal;
  font-size: 18px;
  font-weight: 700;
}
.winner-video-placeholder { background: linear-gradient(145deg, #e7edf5, #f8fafc); }
.winner-prize-badge {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  min-width: 56px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  border: 2px solid #fff;
  background: #079b31;
  color: #fff;
  box-shadow: 0 7px 14px rgba(7, 155, 49, .24);
  font-size: 9px;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
}
.winner-story small {
  max-width: 68px;
  margin-top: 5px;
  color: #53627a;
  font-size: 10.5px;
  line-height: 1.1;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.winner-empty {
  width: 100%;
  min-height: 72px;
  padding: 14px 16px;
  display: grid;
  gap: 4px;
  align-content: center;
  color: #53627a;
}
.winner-empty span { color: #06153a; font-size: 14px; font-weight: 600; }
.winner-empty small { font-size: 12px; line-height: 1.25; }
@keyframes winners-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc((81px * var(--winner-count, 1)) * -1)); }
}

.invite-card-exact { margin-top: 20px; min-height: 76px; padding: 10px 8px 10px 18px; display: grid; grid-template-columns: minmax(0, 1fr) 96px 34px; align-items: center; gap: 6px; border-radius: 8px; overflow: hidden; background: linear-gradient(90deg, #fff 0%, #f6fff8 100%); }
.invite-card-exact strong { color: #079b31; font-size: 15.5px; line-height: 1; font-weight: 800; display: block; }
.invite-card-exact small { margin-top: 7px; color: #66758c; font-size: 11.5px; line-height: 1.25; font-weight: 500; display: block; }
.invite-card-exact img { width: 96px; height: 62px; object-fit: contain; object-position: center; align-self: center; }
.invite-card-exact em { width: 30px; height: 30px; border-radius: 50%; background: #d9f5dc; color: #079b31; display: grid; place-items: center; font-style: normal; }
.invite-card-exact em svg { width: 19px; height: 19px; stroke-width: 2.4; }

.jackpot-card {
  background: linear-gradient(135deg, #06265f, #079b31);
  color: #fff;
  display: grid;
  gap: 6px;
  overflow: hidden;
  position: relative;
}
.jackpot-card::after {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
  animation: jackpot-shine 2.8s ease-in-out infinite;
}
.jackpot-card span,
.jackpot-card small { position: relative; z-index: 1; color: rgba(255,255,255,.82); }
.jackpot-card strong {
  position: relative;
  z-index: 1;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0;
}
.jackpot-value { display: block; color: #079b31; font-size: 15px; }
.pix-box textarea { height: auto; min-height: 86px; resize: vertical; }
.match-flags { display: flex; align-items: center; gap: 4px; }
.match-flags .avatar { width: 30px; height: 30px; }
.team-code-fallback {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f1f5f9;
  color: #06153a;
  font-size: 12px;
}

@keyframes jackpot-shine {
  0%, 45% { transform: translateX(-70%) rotate(12deg); }
  100% { transform: translateX(70%) rotate(12deg); }
}

.bottom-nav-inner { height: 72px; max-width: 430px; padding: 10px 16px 12px; border-radius: 0; box-shadow: none; border-top: 1px solid #e3e8f0; grid-template-columns: repeat(5, 1fr); }
.nav-item { gap: 4px; color: #7c879d; font-size: 11px; font-weight: 500; }
.nav-item.active { font-weight: 700; }
.nav-item svg { width: 24px; height: 24px; stroke-width: 2; }
.nav-item.active { color: #08a33b; }
.bottom-nav::after { content: none; display: none; }

.pool-tabs a { display: grid; place-items: center; position: relative; }
.pool-tabs a.active { color: var(--green); }
.pool-tabs a.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; border-radius: 999px; background: var(--green); }
.pool-wizard { display: grid; gap: 14px; }
.pool-summary-head {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 0;
  color: #06153a;
}
.pool-summary-head > span:last-child { display: grid; gap: 5px; min-width: 0; }
.pool-summary-head strong { font-size: 15px; line-height: 1.05; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pool-summary-head small { display: inline-flex; align-items: center; gap: 5px; color: #64748b; font-size: 11px; line-height: 1; font-weight: 500; }
.pool-summary-head small svg { width: 13px; height: 13px; }
.pool-summary-head .status-open { color: #079b31; }
.pool-summary-head .status-open span { width: 8px; height: 8px; border-radius: 99px; background: #079b31; }
.pool-ranking { display: grid; gap: 14px; }
.ranking-subtabs {
  height: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  color: #60708a;
  font-size: 11px;
  text-align: center;
}
.ranking-subtabs span { height: 100%; display: grid; place-items: center; position: relative; }
.ranking-subtabs .active { color: #079b31; font-weight: 600; }
.ranking-subtabs .active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 99px; background: #079b31; }
.ranking-podium {
  min-height: 168px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 10px;
  padding: 14px 6px 6px;
}
.ranking-podium-item {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #06153a;
  text-align: center;
}
.ranking-podium-item em { font-style: normal; font-size: 27px; line-height: 1; }
.ranking-podium-item img { width: 42px; height: 42px; border-radius: 999px; object-fit: cover; box-shadow: 0 8px 18px rgba(15, 23, 42, .1); }
.ranking-podium-item strong { font-size: 12px; line-height: 1; font-weight: 600; }
.ranking-podium-item small { color: #53627a; font-size: 11px; font-weight: 500; }
.ranking-podium-item.rank-1 { transform: translateY(-18px); }
.ranking-podium-item.rank-1 em { font-size: 34px; color: #f5a400; }
.ranking-podium-item.rank-2 em { color: #94a3b8; }
.ranking-podium-item.rank-3 em { color: #f97316; }
.ranking-podium-item.is-empty { min-height: 1px; }
.ranking-table { overflow: hidden; border-radius: 12px; box-shadow: none; }
.ranking-table article {
  min-height: 42px;
  display: grid;
  grid-template-columns: 38px 1fr 70px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-top: 1px solid #eef2f7;
  color: #06153a;
  font-size: 12px;
}
.ranking-table article:first-child { border-top: 0; }
.ranking-table article > span:first-child { color: #64748b; font-size: 13px; }
.ranking-table article > span:nth-child(2) { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ranking-table img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.ranking-table strong { color: #53627a; font-size: 11px; font-weight: 500; text-align: right; }
.my-ranking-position {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-color: #dcfce7;
  box-shadow: none;
}
.my-ranking-position span { display: grid; gap: 4px; }
.my-ranking-position small { color: #64748b; font-size: 11px; }
.my-ranking-position strong { color: #079b31; font-size: 18px; line-height: 1; font-weight: 600; }
.my-ranking-position b { color: #079b31; font-size: 13px; font-weight: 600; }
.pool-detail-card { border-radius: 14px; display: grid; gap: 8px; }
.pool-detail-card h3 { margin: 0; color: #06153a; font-size: 14px; line-height: 1.1; font-weight: 600; }
.pool-detail-list { display: grid; }
.pool-detail-list span { min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #eef2f7; color: #64748b; }
.pool-detail-list span:first-child { border-top: 0; }
.pool-detail-list small { color: #64748b; font-size: 11.5px; font-weight: 500; }
.pool-detail-list strong { color: #079b31; font-size: 11.5px; font-weight: 500; text-align: right; }
.pool-market-card { gap: 14px; }
.pool-option-list {
  display: grid;
  gap: 8px;
}
.pool-option-list label {
  min-height: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
}
.pool-option-list span {
  color: #06153a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.pool-option-list .pool-option-identity {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}
.pool-option-identity img,
.pool-option-identity i {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: cover;
}
.pool-option-identity i {
  display: grid;
  place-items: center;
  background: #ecfdf3;
  color: #079b31;
  font-style: normal;
  font-weight: 900;
}
.pool-option-identity b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pool-option-identity small {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
}
.pool-option-list em {
  min-width: 42px;
  min-height: 28px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #dbe4ef;
  border-radius: 999px;
  color: #64748b;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}
.pool-option-list .yes-no-choice {
  min-width: 39px;
  min-height: 30px;
  border: 0;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
}
.pool-option-list .yes-no-choice.yes {
  background: #dff7e8;
  color: #079b31;
}
.pool-option-list .yes-no-choice.no {
  background: #ffe4e6;
  color: #e11d48;
}
.pool-option-list .yes-no-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pool-option-list .yes-no-choice:has(input:checked) {
  box-shadow: inset 0 0 0 2px currentColor;
}
.pool-option-list input {
  width: 18px;
  height: 18px;
  accent-color: #079b31;
}
.rules-score-card {
  display: grid;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: none;
}
.rules-score-head,
.rules-score-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
}
.rules-score-head {
  min-height: 42px;
  background: #f8fafc;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  border-bottom: 1px solid #eef2f7;
}
.rules-score-head strong {
  color: #06153a;
  font-size: 11px;
  text-align: right;
}
.rules-score-row {
  min-height: 64px;
  border-bottom: 1px solid #eef2f7;
}
.rules-score-row:last-child { border-bottom: 0; }
.rules-score-row span {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.rules-score-row strong {
  color: #06153a;
  font-size: 12.5px;
  line-height: 1.15;
  font-weight: 700;
}
.rules-score-row small {
  color: #64748b;
  font-size: 10.5px;
  line-height: 1.25;
  font-weight: 500;
}
.rules-score-row b {
  color: #079b31;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}
.wizard-progress { display: grid; gap: 8px; color: #64748b; font-size: 12px; font-weight: 600; }
.wizard-progress div { height: 7px; border-radius: 999px; background: #e8edf4; overflow: hidden; }
.wizard-progress i { display: block; height: 100%; border-radius: inherit; background: #07a33a; transition: width .2s ease; }
.wizard-card { padding: 16px; display: grid; gap: 18px; border-radius: 14px; }
.wizard-match { display: grid; grid-template-columns: 1fr 38px 1fr; align-items: center; gap: 8px; }
.wizard-team { display: grid; justify-items: center; gap: 8px; text-align: center; color: #06153a; font-size: 14px; }
.wizard-team img { width: 58px; height: 58px; border-radius: 999px; object-fit: cover; box-shadow: 0 8px 18px rgba(15, 23, 42, .08); }
.wizard-team strong { font-weight: 700; line-height: 1.1; }
.wizard-vs { width: 34px; height: 34px; border-radius: 50%; background: #eef2f7; color: #334155; display: grid; place-items: center; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.wizard-score { display: grid; grid-template-columns: 1fr 28px 1fr; align-items: center; gap: 12px; }
.wizard-score label { display: grid; gap: 6px; color: #64748b; font-size: 11px; text-align: center; }
.wizard-score input { height: 58px; border: 1px solid #dfe6ef; border-radius: 12px; text-align: center; font-size: 26px; font-weight: 800; color: #06153a; outline: 0; }
.wizard-score b { color: #06153a; text-align: center; }
.pix-checkout { display: grid; gap: 14px; border-radius: 14px; }
.fake-qr { width: 154px; height: 154px; margin: 0 auto; border: 8px solid #fff; border-radius: 12px; background:
  linear-gradient(90deg, #06153a 10px, transparent 10px) 0 0/24px 24px,
  linear-gradient(#06153a 10px, transparent 10px) 0 0/24px 24px,
  #eef2f7;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .12);
}
.mini-qr { width: 132px; height: 132px; margin: 12px auto; }
.pix-qr-image {
  display: block;
  width: 176px;
  height: 176px;
  margin: 14px auto;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid #e5ecf5;
  background: #ffffff;
}
.pix-qr-image.mini-qr { width: 132px; height: 132px; }
.ticket-inline-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ticket-inline-head small { display: block; margin-top: 5px; color: #64748b; font-size: 12px; }
.closed-pool-card {
  display: grid;
  gap: 8px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f8fafc);
}
.closed-pool-card span {
  color: #64748b;
  font-size: 13px;
}
.closed-pool-card strong {
  color: #06153a;
  font-size: 18px;
  font-weight: 500;
}
.closed-pool-card small {
  color: #079b31;
  font-size: 13px;
}
.ticket-card { display: grid; gap: 12px; border-radius: 14px; }
.ticket-label { color: #079b31; font-size: 12px; font-weight: 700; }
.ticket-list { display: grid; gap: 8px; }
.ticket-list article { display: grid; grid-template-columns: 1fr 92px 1fr; align-items: center; gap: 8px; min-height: 50px; border-top: 1px solid #eef2f7; padding-top: 8px; color: #06153a; }
.ticket-list article > span { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; }
.ticket-list img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.ticket-list strong { text-align: center; font-size: 14px; }
.ticket-score { display: grid; justify-items: center; gap: 3px; line-height: 1.1; }
.ticket-score span { font-size: 14px; }
.ticket-score .final-score { font-size: 10.5px; font-weight: 500; font-style: normal; }
.final-score.won { color: #079b31; }
.final-score.lost { color: #b91c1c; }
.final-score.pending { color: #64748b; }
.ticket-summary {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 22px;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: 12px;
}
.ticket-summary strong {
  display: block;
  color: #06153a;
  font-size: 15px;
  font-weight: 500;
}
.ticket-summary small {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 12px;
  font-weight: 400;
}
.ticket-summary em {
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  white-space: nowrap;
}
.ticket-summary svg {
  width: 20px;
  height: 20px;
  color: #64748b;
}
.payment-badge,
.check-badge {
  display: inline-grid;
  place-items: center;
  width: fit-content;
  min-width: 24px;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 9px;
  font-size: 11px;
  line-height: 1;
  font-style: normal;
  font-weight: 500;
  text-transform: uppercase;
}
.payment-badge.paid { background: #dcfce7; color: #079b31; }
.payment-badge.pending { background: #fef3c7; color: #a16207; }
.payment-badge.expired { background: #fee2e2; color: #b91c1c; }
.check-badge {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  padding: 0;
  font-size: 13px;
}
.check-badge.won { background: #dcfce7; color: #079b31; }
.check-badge.lost { background: #fee2e2; color: #b91c1c; }
.check-badge.pending { background: #eef2f7; color: #64748b; }

.pools-list-screen,
.pools-list-screen strong,
.pools-list-screen b,
.pools-list-screen .section-title,
.pools-list-screen .section-link,
.pools-list-screen .pool-name,
.pools-list-screen .pool-meta,
.pools-list-screen .prize,
.pools-list-screen .jackpot-value,
.pools-list-screen .btn {
  font-weight: 400;
}

.pools-list-screen .section-title {
  font-size: 18px;
}

.pools-list-screen .pool-name {
  font-size: 15px;
}

.pools-list-screen .pool-meta {
  font-size: 12px;
}

.pools-list-screen .jackpot-value {
  font-size: 13px;
}

.ticket-screen {
  gap: 16px;
  padding: 16px 16px 26px;
  background: #f8fafc;
}

.ticket-screen .pix-checkout {
  border: 1px solid #dfe6ef;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.ticket-screen .pix-checkout .pool-name {
  color: #06153a;
  font-size: 17px;
  font-weight: 600;
}

.checkout-amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #dfe6ef;
  border-radius: 12px;
  background: #f8fafc;
}

.checkout-amount span {
  color: #51617b;
  font-size: 13px;
}

.checkout-amount strong {
    color: #079b31;
    font-size: 18px;
    font-weight: 700;
  }

.pix-copy-group {
  gap: 8px;
}

.pix-copy-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  align-items: stretch;
  gap: 8px;
}

.pix-copy-box code {
  min-width: 0;
  min-height: 44px;
  max-height: 48px;
  overflow: hidden;
  padding: 10px 12px;
  border: 1px solid #dfe6ef;
  border-radius: 10px;
  background: #f8fafc;
  color: #40516c;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.25;
  word-break: break-all;
}

.pix-copy-button {
  border: 0;
  border-radius: 10px;
  background: #08a63b;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.payment-confirmed-card {
  text-align: center;
}

.payment-confirmed-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 4px auto 2px;
  border-radius: 999px;
  background: #dcfce7;
  color: #079b31;
  font-size: 30px;
  font-weight: 800;
}
  
  .ticket-receipt {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 30px 16px 18px;
  border: 1px solid #dde5ef;
  border-radius: 28px;
  background: #ffffff;
  color: #06153a;
  box-shadow: 0 22px 48px rgba(15, 23, 42, .10);
  overflow: hidden;
}

.ticket-receipt::before,
.ticket-receipt::after {
  content: "";
  position: absolute;
  top: 515px;
  width: 34px;
  height: 34px;
  border: 1px solid #dde5ef;
  border-radius: 50%;
  background: #f8fafc;
  z-index: 2;
}

.ticket-receipt::before { left: -18px; }
.ticket-receipt::after { right: -18px; }

/* FINAL ABSOLUTO - clone visual do bilhete original */
.ticket-screen {
  padding: 26px 13px 108px;
  background: #f7fafc;
}

.ticket-receipt {
  position: relative;
  width: 100%;
  display: grid;
  gap: 18px;
  padding: 37px 18px 18px;
  border: 1px solid #d9e2ed;
  border-radius: 29px;
  background: #ffffff;
  color: #06153a;
  box-shadow: 0 22px 52px rgba(15, 23, 42, .12);
  overflow: hidden;
}

.ticket-top-holes {
  position: absolute;
  top: -11px;
  left: 58px;
  right: 58px;
  height: 22px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  background: none;
}

.ticket-top-holes i {
  display: block;
  width: 21px;
  height: 21px;
  border: 1px solid #d8e1ea;
  border-top: 0;
  border-radius: 0 0 999px 999px;
  background: #f7fafc;
  box-shadow: inset 0 -4px 7px rgba(15, 23, 42, .08);
}

.ticket-receipt::before,
.ticket-receipt::after {
  content: "";
  display: block;
  position: absolute;
  top: auto;
  bottom: 132px;
  width: 32px;
  height: 32px;
  border: 1px solid #d8e1ea;
  border-radius: 50%;
  background: #f7fafc;
  z-index: 3;
  box-shadow: inset 0 0 7px rgba(15, 23, 42, .08);
}

.ticket-receipt::before { left: -17px; }
.ticket-receipt::after { right: -17px; }

.ticket-receipt-head {
  grid-template-columns: 88px minmax(0, 1fr) 66px;
  gap: 10px;
  min-height: 72px;
}

.ticket-logo { width: 82px; }
.ticket-title-block { gap: 6px; }

.ticket-title-block strong {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.05;
}

.ticket-title-block small { font-size: 12px; }

.ticket-receipt-head time {
  font-size: 11.5px;
  line-height: 1.45;
}

.ticket-user-box {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr);
  min-height: 92px;
  padding: 14px;
  border-radius: 17px;
  border-color: #dce5ef;
}

.ticket-user-profile {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
}

.ticket-user-profile img {
  width: 58px;
  height: 58px;
}

.ticket-user-profile b,
.ticket-pool-name b {
  font-size: 14px;
  font-weight: 700;
}

.ticket-user-profile small,
.ticket-pool-name small {
  font-size: 11.5px;
}

.ticket-user-profile small strong { font-weight: 800; }

.ticket-columns {
  grid-template-columns: minmax(0, 1fr) 86px 86px;
  padding: 0 10px;
  font-size: 10px;
  font-weight: 600;
}

.ticket-game-row {
  grid-template-columns: minmax(0, 1fr) 86px 86px;
  min-height: 104px;
  padding: 12px 11px;
  border-radius: 15px;
  border-color: #dce5ef;
}

.ticket-game-teams { gap: 10px; }

.ticket-game-teams span {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
}

.ticket-game-teams img {
  width: 34px;
  height: 34px;
}

.ticket-game-teams b {
  font-size: 12.5px;
  font-weight: 600;
}

.ticket-prediction-score {
  grid-template-columns: 34px 18px 34px;
  gap: 4px;
}

.ticket-prediction-score b {
  width: 34px;
  height: 42px;
  border-radius: 10px;
  border-color: #dce5ef;
  font-size: 20px;
  font-weight: 700;
}

.ticket-prediction-score em {
  font-size: 20px;
  font-weight: 700;
}

.ticket-prediction-score small {
  font-size: 10px;
  font-weight: 500;
}

.ticket-game-status { gap: 6px; }

.ticket-game-status strong {
  min-height: 26px;
  min-width: 70px;
  padding: 0 7px;
  font-size: 10px;
  font-weight: 600;
}

.ticket-game-status small {
  font-size: 9.5px;
  line-height: 1.35;
}

.ticket-receipt-foot { gap: 18px; }

.ticket-cut-line {
  height: 0;
  margin: 3px 7px 0;
  border-top: 4px dashed #c9d1db;
}

.ticket-payment-grid {
  grid-template-columns: minmax(0, 1.1fr) 85px minmax(0, 1fr);
  gap: 10px;
  padding: 0 4px;
}

.ticket-payment-grid span { gap: 7px; }

.ticket-payment-grid small {
  font-size: 10px;
  font-weight: 600;
}

.ticket-payment-grid strong {
  font-size: 14px;
  font-weight: 700;
}

.ticket-payment-grid em { font-size: 10.5px; }

.ticket-payment-grid strong i {
  width: 22px;
  height: 22px;
}

.ticket-payment-grid strong i::before { font-size: 13px; }

.ticket-copy {
  width: 28px;
  height: 28px;
  border-radius: 9px;
}

.ticket-copy::before,
.ticket-copy::after {
  width: 10px;
  height: 12px;
}

.ticket-qr-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  align-items: center;
  gap: 12px;
  min-height: 116px;
  padding: 16px 14px 16px 18px;
  border-radius: 18px;
  background: linear-gradient(90deg, #eefbf3, #f4fbf7);
}

.ticket-qr-box span {
  display: grid;
  gap: 10px;
}

.ticket-qr-box strong {
  color: #06153a;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.32;
}

.ticket-qr-box small {
  color: #079b31;
  font-size: 12.5px;
}

.ticket-qr {
  width: 94px;
  height: 94px;
  margin: 0;
  border-width: 7px;
  border-radius: 12px;
}

.ticket-final-override-marker { display: none; }

/* Ajuste final do bilhete: placares e containers um pouco menores. */
.ticket-columns {
  grid-template-columns: minmax(0, 1fr) 86px 86px;
  padding: 0 10px;
}

.ticket-game-row {
  grid-template-columns: minmax(0, 1fr) 86px 86px;
  min-height: 104px;
  padding: 12px 11px;
  border-radius: 15px;
}

.ticket-game-teams { gap: 10px; }

.ticket-game-teams span {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
}

.ticket-game-teams img {
  width: 34px;
  height: 34px;
}

.ticket-game-teams b { font-size: 12.5px; }

.ticket-prediction-score {
  grid-template-columns: 34px 18px 34px;
  gap: 4px;
}

.ticket-prediction-score b {
  width: 34px;
  height: 42px;
  border-radius: 10px;
  font-size: 20px;
}

.ticket-prediction-score em { font-size: 20px; }
.ticket-game-status { gap: 6px; }

.ticket-game-status strong {
  min-height: 26px;
  min-width: 70px;
  padding: 0 7px;
  font-size: 10px;
}

.ticket-game-status small { font-size: 9.5px; }

/* Bilhetes de enquete e Sim/Nao usam texto, nao placar. */
.ticket-option-columns,
.ticket-option-row {
  grid-template-columns: minmax(0, 1fr) 78px 76px;
}

.ticket-option-row {
  min-height: 78px;
}

.ticket-option-row .ticket-game-teams {
  min-width: 0;
}

.ticket-option-row .ticket-game-teams span {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}

.ticket-option-row .ticket-game-teams b {
  display: -webkit-box;
  max-height: 24px;
  min-width: 0;
  overflow: hidden;
  color: #06153a;
  font-size: 10px;
  line-height: 1.2;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ticket-option-row .ticket-game-teams small {
  min-width: 0;
  overflow: hidden;
  color: #64748b;
  font-size: 9.5px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-option-row .ticket-prediction-score {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  min-width: 0;
}

.ticket-option-row .ticket-prediction-score b {
  width: auto;
  max-width: 100%;
  height: auto;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #079b31;
  font-size: 11px;
  line-height: 1.1;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.ticket-option-choice {
  max-width: 100%;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  padding: 4px 7px 4px 4px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #079b31;
}

.ticket-option-choice img {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  object-fit: cover;
}

.ticket-option-row .ticket-prediction-score .ticket-option-choice b {
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticket-option-row .ticket-game-status strong {
  min-width: 62px;
}

.ticket-option-columns,
.ticket-option-row {
  grid-template-columns: minmax(0, 1fr) 78px 76px;
}

.ticket-option-row {
  min-height: 78px;
}

.ticket-option-row .ticket-game-teams {
  min-width: 0;
}

.ticket-option-row .ticket-game-teams span {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}

.ticket-option-row .ticket-game-teams b,
.ticket-option-row .ticket-game-teams small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticket-option-row .ticket-game-teams b {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #06153a;
  font-size: 10.5px;
  line-height: 1.2;
}

.ticket-option-row .ticket-game-teams small {
  color: #64748b;
  font-size: 9.5px;
  line-height: 1.1;
  white-space: nowrap;
}

.ticket-option-row .ticket-prediction-score {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  min-width: 0;
}

.ticket-option-row .ticket-prediction-score b {
  width: auto;
  max-width: 100%;
  height: auto;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #079b31;
  font-size: 11px;
  line-height: 1.1;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.ticket-option-row .ticket-game-status strong {
  min-width: 62px;
}

/* Ajuste fino do bilhete: placares e cards um pouco menores. */
.ticket-columns {
  grid-template-columns: minmax(0, 1fr) 86px 86px;
  padding: 0 10px;
}

.ticket-game-row {
  grid-template-columns: minmax(0, 1fr) 86px 86px;
  min-height: 104px;
  padding: 12px 11px;
  border-radius: 15px;
}

.ticket-game-teams { gap: 10px; }

.ticket-game-teams span {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
}

.ticket-game-teams img {
  width: 34px;
  height: 34px;
}

.ticket-game-teams b { font-size: 12.5px; }

.ticket-prediction-score {
  grid-template-columns: 34px 18px 34px;
  gap: 4px;
}

.ticket-prediction-score b {
  width: 34px;
  height: 42px;
  border-radius: 10px;
  font-size: 20px;
}

.ticket-prediction-score em { font-size: 20px; }
.ticket-game-status { gap: 6px; }

.ticket-game-status strong {
  min-height: 26px;
  min-width: 70px;
  padding: 0 7px;
  font-size: 10px;
}

.ticket-game-status small { font-size: 9.5px; }

/* Ranking 1:1 baseado no layout enviado */
.ranking-screen {
  padding-top: 0;
}

.ranking-clone {
  display: grid;
  gap: 14px;
  color: #06153a;
}

.ranking-clone-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 40px;
  border-bottom: 1px solid #e4ebf3;
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
}

.ranking-clone-tabs span {
  display: grid;
  place-items: center;
  position: relative;
}

.ranking-clone-tabs .active {
  color: #079b31;
}

.ranking-clone-tabs .active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #079b31;
  border-radius: 99px;
}

.ranking-clone-podium {
  height: 152px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  padding: 6px 8px 0;
}

.ranking-clone-podium-item {
  display: grid;
  justify-items: center;
  align-content: end;
  gap: 5px;
  min-height: 118px;
  text-align: center;
}

.ranking-clone-podium-item.rank-1 {
  min-height: 146px;
}

.ranking-clone-podium-item em {
  font-style: normal;
  font-size: 30px;
  line-height: 1;
}

.ranking-clone-podium-item.rank-1 em {
  font-size: 40px;
}

.ranking-clone-podium-item img {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 9px 18px rgba(15, 23, 42, .12);
}

.ranking-clone-podium-item strong {
  max-width: 76px;
  color: #06153a;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.05;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-clone-podium-item small {
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.ranking-clone-list {
  overflow: hidden;
  border: 1px solid #e5ecf5;
  border-radius: 10px;
  background: #fff;
}

.ranking-clone-list article {
  min-height: 38px;
  display: grid;
  grid-template-columns: 35px 1fr 68px;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border-top: 1px solid #edf2f7;
}

.ranking-clone-list article:first-child {
  border-top: 0;
}

.ranking-clone-list article > span:first-child {
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.ranking-clone-list article > span:nth-child(2) {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #06153a;
  font-size: 11px;
  font-weight: 600;
}

.ranking-clone-list img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.ranking-clone-list strong {
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
  text-align: right;
}

.ranking-clone-me {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border: 1px solid #e5ecf5;
  border-radius: 10px;
  background: linear-gradient(90deg, #f7fffa, #ffffff);
}

.ranking-clone-me span {
  display: grid;
  gap: 5px;
}

.ranking-clone-me small {
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
}

.ranking-clone-me strong {
  color: #079b31;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.ranking-clone-me b {
  color: #079b31;
  font-size: 13px;
  font-weight: 700;
}

/* FINAL - clone visual do bilhete original */
.ticket-screen {
  padding: 26px 13px 108px;
  background: #f7fafc;
}

.ticket-receipt {
  position: relative;
  width: 100%;
  display: grid;
  gap: 18px;
  padding: 37px 18px 18px;
  border: 1px solid #d9e2ed;
  border-radius: 29px;
  background: #ffffff;
  color: #06153a;
  box-shadow: 0 22px 52px rgba(15, 23, 42, .12);
  overflow: hidden;
}

.ticket-top-holes {
  position: absolute;
  top: -11px;
  left: 58px;
  right: 58px;
  height: 22px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  background: none;
}

.ticket-top-holes i {
  display: block;
  width: 21px;
  height: 21px;
  border: 1px solid #d8e1ea;
  border-top: 0;
  border-radius: 0 0 999px 999px;
  background: #f7fafc;
  box-shadow: inset 0 -4px 7px rgba(15, 23, 42, .08);
}

.ticket-receipt::before,
.ticket-receipt::after {
  content: "";
  display: block;
  position: absolute;
  top: auto;
  bottom: 132px;
  width: 32px;
  height: 32px;
  border: 1px solid #d8e1ea;
  border-radius: 50%;
  background: #f7fafc;
  z-index: 3;
  box-shadow: inset 0 0 7px rgba(15, 23, 42, .08);
}

.ticket-receipt::before { left: -17px; }
.ticket-receipt::after { right: -17px; }

.ticket-receipt-head {
  grid-template-columns: 88px minmax(0, 1fr) 66px;
  gap: 10px;
  min-height: 72px;
}

.ticket-logo { width: 82px; }
.ticket-title-block { gap: 6px; }

.ticket-title-block strong {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.05;
}

.ticket-title-block small { font-size: 12px; }

.ticket-receipt-head time {
  font-size: 11.5px;
  line-height: 1.45;
}

.ticket-user-box {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr);
  min-height: 92px;
  padding: 14px;
  border-radius: 17px;
  border-color: #dce5ef;
}

.ticket-user-profile {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
}

.ticket-user-profile img {
  width: 58px;
  height: 58px;
}

.ticket-user-profile b,
.ticket-pool-name b {
  font-size: 14px;
  font-weight: 700;
}

.ticket-user-profile small,
.ticket-pool-name small {
  font-size: 11.5px;
}

.ticket-user-profile small strong { font-weight: 800; }

.ticket-columns {
  grid-template-columns: minmax(0, 1fr) 96px 92px;
  padding: 0 12px;
  font-size: 10px;
  font-weight: 600;
}

.ticket-game-row {
  grid-template-columns: minmax(0, 1fr) 96px 92px;
  min-height: 118px;
  padding: 15px 13px;
  border-radius: 17px;
  border-color: #dce5ef;
}

.ticket-game-teams { gap: 13px; }

.ticket-game-teams span {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 9px;
}

.ticket-game-teams img {
  width: 38px;
  height: 38px;
}

.ticket-game-teams b {
  font-size: 13px;
  font-weight: 600;
}

.ticket-prediction-score {
  grid-template-columns: 39px 22px 39px;
  gap: 5px;
}

.ticket-prediction-score b {
  width: 39px;
  height: 48px;
  border-radius: 12px;
  border-color: #dce5ef;
  font-size: 23px;
  font-weight: 700;
}

.ticket-prediction-score em {
  font-size: 23px;
  font-weight: 700;
}

.ticket-prediction-score small {
  font-size: 10px;
  font-weight: 500;
}

.ticket-game-status { gap: 8px; }

.ticket-game-status strong {
  min-height: 29px;
  min-width: 76px;
  padding: 0 9px;
  font-size: 10.5px;
  font-weight: 600;
}

.ticket-game-status small {
  font-size: 10px;
  line-height: 1.35;
}

.ticket-receipt-foot { gap: 18px; }

.ticket-cut-line {
  height: 0;
  margin: 3px 7px 0;
  border-top: 4px dashed #c9d1db;
}

.ticket-payment-grid {
  grid-template-columns: minmax(0, 1.1fr) 85px minmax(0, 1fr);
  gap: 10px;
  padding: 0 4px;
}

.ticket-payment-grid span { gap: 7px; }

.ticket-payment-grid small {
  font-size: 10px;
  font-weight: 600;
}

.ticket-payment-grid strong {
  font-size: 14px;
  font-weight: 700;
}

.ticket-payment-grid em { font-size: 10.5px; }

.ticket-payment-grid strong i {
  width: 22px;
  height: 22px;
}

.ticket-payment-grid strong i::before { font-size: 13px; }

.ticket-copy {
  width: 28px;
  height: 28px;
  border-radius: 9px;
}

.ticket-copy::before,
.ticket-copy::after {
  width: 10px;
  height: 12px;
}

.ticket-qr-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  align-items: center;
  gap: 12px;
  min-height: 116px;
  padding: 16px 14px 16px 18px;
  border-radius: 18px;
  background: linear-gradient(90deg, #eefbf3, #f4fbf7);
}

.ticket-qr-box span {
  display: grid;
  gap: 10px;
}

.ticket-qr-box strong {
  color: #06153a;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.32;
}

.ticket-qr-box small {
  color: #079b31;
  font-size: 12.5px;
}

.ticket-qr {
  width: 94px;
  height: 94px;
  margin: 0;
  border-width: 7px;
  border-radius: 12px;
}

/* Clone do bilhete enviado: recortes reais, proporcoes e QR final */
.ticket-screen {
  padding: 26px 13px 108px;
  background: #f7fafc;
}

.ticket-receipt {
  position: relative;
  width: 100%;
  display: grid;
  gap: 18px;
  padding: 37px 18px 18px;
  border: 1px solid #d9e2ed;
  border-radius: 29px;
  background: #ffffff;
  color: #06153a;
  box-shadow: 0 22px 52px rgba(15, 23, 42, .12);
  overflow: hidden;
}

.ticket-top-holes {
  position: absolute;
  top: -11px;
  left: 58px;
  right: 58px;
  height: 22px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  background: none;
}

.ticket-top-holes i {
  display: block;
  width: 21px;
  height: 21px;
  border: 1px solid #d8e1ea;
  border-top: 0;
  border-radius: 0 0 999px 999px;
  background: #f7fafc;
  box-shadow: inset 0 -4px 7px rgba(15, 23, 42, .08);
}

.ticket-receipt::before,
.ticket-receipt::after {
  content: "";
  display: block;
  position: absolute;
  top: auto;
  bottom: 132px;
  width: 32px;
  height: 32px;
  border: 1px solid #d8e1ea;
  border-radius: 50%;
  background: #f7fafc;
  z-index: 3;
  box-shadow: inset 0 0 7px rgba(15, 23, 42, .08);
}

.ticket-receipt::before { left: -17px; }
.ticket-receipt::after { right: -17px; }

.ticket-receipt-head {
  grid-template-columns: 88px minmax(0, 1fr) 66px;
  gap: 10px;
  min-height: 72px;
}

.ticket-logo { width: 82px; }

.ticket-title-block { gap: 6px; }

.ticket-title-block strong {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.05;
}

.ticket-title-block small { font-size: 12px; }

.ticket-receipt-head time {
  font-size: 11.5px;
  line-height: 1.45;
}

.ticket-user-box {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr);
  min-height: 92px;
  padding: 14px;
  border-radius: 17px;
  border-color: #dce5ef;
}

.ticket-user-profile {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
}

.ticket-user-profile img {
  width: 58px;
  height: 58px;
}

.ticket-user-profile b,
.ticket-pool-name b {
  font-size: 14px;
  font-weight: 700;
}

.ticket-user-profile small,
.ticket-pool-name small {
  font-size: 11.5px;
}

.ticket-user-profile small strong { font-weight: 800; }

.ticket-columns {
  grid-template-columns: minmax(0, 1fr) 96px 92px;
  padding: 0 12px;
  font-size: 10px;
  font-weight: 600;
}

.ticket-game-row {
  grid-template-columns: minmax(0, 1fr) 96px 92px;
  min-height: 118px;
  padding: 15px 13px;
  border-radius: 17px;
  border-color: #dce5ef;
}

.ticket-game-teams { gap: 13px; }

.ticket-game-teams span {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 9px;
}

.ticket-game-teams img {
  width: 38px;
  height: 38px;
}

.ticket-game-teams b {
  font-size: 13px;
  font-weight: 600;
}

.ticket-prediction-score {
  grid-template-columns: 39px 22px 39px;
  gap: 5px;
}

.ticket-prediction-score b {
  width: 39px;
  height: 48px;
  border-radius: 12px;
  border-color: #dce5ef;
  font-size: 23px;
  font-weight: 700;
}

.ticket-prediction-score em {
  font-size: 23px;
  font-weight: 700;
}

.ticket-prediction-score small {
  font-size: 10px;
  font-weight: 500;
}

.ticket-game-status { gap: 8px; }

.ticket-game-status strong {
  min-height: 29px;
  min-width: 76px;
  padding: 0 9px;
  font-size: 10.5px;
  font-weight: 600;
}

.ticket-game-status small {
  font-size: 10px;
  line-height: 1.35;
}

.ticket-receipt-foot { gap: 18px; }

.ticket-cut-line {
  height: 0;
  margin: 3px 7px 0;
  border-top: 4px dashed #c9d1db;
}

.ticket-payment-grid {
  grid-template-columns: minmax(0, 1.1fr) 85px minmax(0, 1fr);
  gap: 10px;
  padding: 0 4px;
}

.ticket-payment-grid span { gap: 7px; }

.ticket-payment-grid small {
  font-size: 10px;
  font-weight: 600;
}

.ticket-payment-grid strong {
  font-size: 14px;
  font-weight: 700;
}

.ticket-payment-grid em { font-size: 10.5px; }

.ticket-payment-grid strong i {
  width: 22px;
  height: 22px;
}

.ticket-payment-grid strong i::before { font-size: 13px; }

.ticket-copy {
  width: 28px;
  height: 28px;
  border-radius: 9px;
}

.ticket-copy::before,
.ticket-copy::after {
  width: 10px;
  height: 12px;
}

.ticket-qr-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  align-items: center;
  gap: 12px;
  min-height: 116px;
  padding: 16px 14px 16px 18px;
  border-radius: 18px;
  background: linear-gradient(90deg, #eefbf3, #f4fbf7);
}

.ticket-qr-box span {
  display: grid;
  gap: 10px;
}

.ticket-qr-box strong {
  color: #06153a;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.32;
}

.ticket-qr-box small {
  color: #079b31;
  font-size: 12.5px;
}

.ticket-qr {
  width: 94px;
  height: 94px;
  margin: 0;
  border-width: 7px;
  border-radius: 12px;
}

.ticket-top-holes {
  position: absolute;
  top: -16px;
  left: 74px;
  right: 74px;
  height: 34px;
  background:
    radial-gradient(circle at 17px 17px, #f8fafc 0 16px, #cfd6df 16.5px, transparent 17px) 0 0/54px 34px repeat-x;
  pointer-events: none;
}

.ticket-receipt-head {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 70px;
  align-items: center;
  gap: 10px;
  min-height: 70px;
}

.ticket-logo {
  width: 74px;
  height: auto;
  object-fit: contain;
}

.ticket-title-block {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.ticket-title-block strong {
  color: #06153a;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.ticket-title-block small,
.ticket-receipt-head time {
  color: #51617b;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.ticket-receipt-head time {
  text-align: right;
}

.ticket-user-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 14px;
  border: 1px solid #dde5ef;
  border-radius: 14px;
  background: #ffffff;
}

.ticket-user-profile {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ticket-user-profile img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  background: #eef2f7;
}

.ticket-user-profile span,
.ticket-pool-name {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.ticket-user-profile b,
.ticket-pool-name b {
  color: #06153a;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-user-profile small,
.ticket-pool-name small {
  color: #51617b;
  font-size: 14px;
  font-weight: 400;
}

.ticket-user-profile small strong {
  color: #079b31;
  font-weight: 800;
}

.ticket-columns {
  display: grid;
  grid-template-columns: 1fr 98px 92px;
  gap: 8px;
  padding: 0 12px;
  color: #51617b;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
}

.ticket-columns span:nth-child(2),
.ticket-columns span:nth-child(3) {
  text-align: center;
}

.ticket-games {
  display: grid;
  gap: 0;
}

.ticket-game-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 98px 92px;
  align-items: center;
  gap: 8px;
  min-height: 112px;
  padding: 14px 12px;
  border: 1px solid #dde5ef;
  border-radius: 14px;
  background: #ffffff;
}

.ticket-game-row + .ticket-game-row {
  margin-top: -1px;
}

.ticket-game-teams {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.ticket-game-teams span {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ticket-game-teams img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.ticket-game-teams b {
  color: #06153a;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-prediction-score {
  display: grid;
  grid-template-columns: 34px 22px 34px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #06153a;
  text-align: center;
}

.ticket-prediction-score b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 42px;
  border: 1px solid #dde5ef;
  border-radius: 12px;
  background: #ffffff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.ticket-prediction-score em {
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
}

.ticket-prediction-score small {
  grid-column: 1 / -1;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 500;
}

.ticket-prediction-score small.won { color: #079b31; }
.ticket-prediction-score small.lost { color: #b91c1c; }

.ticket-game-status {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  min-width: 0;
}

.ticket-game-status strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  max-width: 100%;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.ticket-game-status strong::before {
  margin-right: 5px;
  font-size: 13px;
}

.ticket-game-status strong.won {
  color: #079b31;
  border: 1px solid #a7e4bc;
  background: #dcfce7;
}

.ticket-game-status strong.won::before { content: "✓"; }

.ticket-game-status strong.lost {
  color: #b91c1c;
  border: 1px solid #fecaca;
  background: #fee2e2;
}

.ticket-game-status strong.lost::before { content: "×"; }

.ticket-game-status strong.running {
  color: #ea580c;
  border: 1px solid #fed7aa;
  background: #fff7ed;
}

.ticket-game-status strong.running::before { content: "◷"; }

.ticket-game-status strong.pending {
  color: #51617b;
  border: 1px solid #dde5ef;
  background: #f3f6fa;
}

.ticket-game-status strong.pending::before { content: "◷"; }

.ticket-game-status small {
  color: #51617b;
  font-size: 11px;
  line-height: 1.35;
}

.ticket-receipt-foot {
  display: grid;
  gap: 18px;
}

.ticket-cut-line {
  height: 1px;
  margin: 4px 4px 0;
  border-top: 4px dashed #cfd6df;
}

.ticket-payment-grid {
  display: grid;
  grid-template-columns: 1fr 86px 1fr;
  gap: 10px;
}

.ticket-payment-grid span {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
}

.ticket-payment-grid small {
  color: #51617b;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
}

.ticket-payment-grid strong {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #06153a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
}

.ticket-payment-grid strong.paid,
.ticket-payment-grid span:nth-child(2) strong {
  color: #079b31;
}

.ticket-payment-grid strong.pending { color: #a16207; }
.ticket-payment-grid strong.expired { color: #b91c1c; }

.ticket-payment-grid strong i {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #079b31;
  flex: 0 0 auto;
}

.ticket-payment-grid strong.pending i { background: #facc15; }
.ticket-payment-grid strong.expired i { background: #ef4444; }

.ticket-payment-grid strong i::before {
  content: "✓";
  color: #ffffff;
  font-size: 13px;
  font-style: normal;
  line-height: 1;
}

.ticket-payment-grid strong.pending i::before { content: "!"; }
.ticket-payment-grid strong.expired i::before { content: "×"; }

.ticket-payment-grid em {
  color: #51617b;
  font-size: 11px;
  font-style: normal;
  line-height: 1.25;
}

.ticket-copy {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #dde5ef;
  border-radius: 9px;
  background: #ffffff;
  color: transparent;
  position: relative;
  flex: 0 0 auto;
}

.ticket-copy::before,
.ticket-copy::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 12px;
  border: 1.5px solid #64748b;
  border-radius: 3px;
}

.ticket-copy::before {
  transform: translate(-2px, 2px);
}

.ticket-copy::after {
  background: #ffffff;
  transform: translate(2px, -2px);
}

.ticket-qr-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(90deg, #eefbf3, #f4fbf7);
}

.ticket-qr-box span {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.ticket-qr-box strong {
  color: #06153a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.ticket-qr-box small {
  color: #079b31;
  font-size: 13px;
  line-height: 1.3;
}

.ticket-qr {
  width: 94px;
  height: 94px;
  margin: 0;
  border-width: 7px;
}

@media (min-width: 431px) {
  .ticket-user-box {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
  }
}

/* Bilhete interativo - recibo visual baseado no modelo enviado */
.ticket-screen {
  display: grid;
  gap: 16px;
  padding: 20px 20px 30px;
  background: #f7fafc;
  overflow: visible;
}

.ticket-receipt {
  position: relative;
  display: grid;
  gap: 17px;
  padding: 34px 18px 16px;
  border: 1px solid #dde5ef;
  border-radius: 28px;
  background: #ffffff;
  color: #06153a;
  box-shadow: 0 26px 56px rgba(15, 23, 42, .12);
  overflow: hidden;
}

.ticket-receipt::before,
.ticket-receipt::after {
  top: auto;
  bottom: 214px;
  width: 31px;
  height: 31px;
  border-color: #dde5ef;
  background: #f7fafc;
}

.ticket-receipt::before { left: -17px; }
.ticket-receipt::after { right: -17px; }

.ticket-top-holes {
  top: -14px;
  left: 72px;
  right: 72px;
  height: 28px;
  background:
    radial-gradient(circle at 14px 14px, #f7fafc 0 13.4px, #cfd6df 13.8px, transparent 14.4px) 0 0/31px 28px repeat-x;
}

.ticket-receipt-head {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 10px;
  min-height: 74px;
}

.ticket-logo {
  width: 86px;
  display: block;
}

.ticket-title-block {
  display: grid;
  gap: 6px;
}

.ticket-title-block strong {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.ticket-title-block small {
  color: #51617b;
  font-size: 13px;
  line-height: 1.15;
}

.ticket-receipt-head time {
  color: #394b69;
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

.ticket-user-box {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(92px, .8fr);
  align-items: center;
  gap: 10px;
  min-height: 92px;
  padding: 14px;
  border: 1px solid #dde5ef;
  border-radius: 17px;
  background: #ffffff;
}

.ticket-user-profile {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.ticket-user-profile img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
}

.ticket-user-profile b,
.ticket-pool-name b {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  color: #06153a;
}

.ticket-user-profile small,
.ticket-pool-name small {
  color: #51617b;
  font-size: 12px;
  line-height: 1.25;
}

.ticket-pool-name {
  align-content: center;
  gap: 5px;
}

.ticket-columns {
  grid-template-columns: minmax(0, 1fr) 96px 94px;
  padding: 0 18px;
  color: #51617b;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
}

.ticket-game-row {
  grid-template-columns: minmax(0, 1fr) 96px 94px;
  gap: 8px;
  min-height: 118px;
  padding: 15px 12px;
  border: 1px solid #dde5ef;
  border-radius: 17px;
  background: #ffffff;
}

.ticket-game-row + .ticket-game-row {
  margin-top: -1px;
}

.ticket-game-teams {
  gap: 13px;
}

.ticket-game-teams span {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 9px;
}

.ticket-game-teams img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.ticket-game-teams b {
  color: #06153a;
  font-size: 14px;
  font-weight: 600;
}

.ticket-prediction-score {
  grid-template-columns: 38px 22px 38px;
  gap: 5px;
}

.ticket-prediction-score b {
  width: 38px;
  height: 48px;
  border: 1px solid #dde5ef;
  border-radius: 12px;
  background: #ffffff;
  color: #06153a;
  font-size: 24px;
  font-weight: 700;
}

.ticket-prediction-score em {
  color: #06153a;
  font-size: 24px;
  font-weight: 700;
}

.ticket-prediction-score small {
  margin-top: 2px;
  font-size: 10px;
}

.ticket-game-status {
  gap: 7px;
}

.ticket-game-status strong {
  min-height: 30px;
  min-width: 78px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.ticket-game-status small {
  color: #394b69;
  font-size: 11px;
  line-height: 1.35;
}

.ticket-cut-line {
  height: 0;
  margin: 5px 5px 0;
  border-top: 4px dashed #cfd6df;
}

.ticket-payment-grid {
  grid-template-columns: minmax(0, 1.15fr) 82px minmax(0, 1fr);
  gap: 10px;
  padding: 0 4px;
}

.ticket-payment-grid small {
  color: #51617b;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
}

.ticket-payment-grid strong {
  color: #06153a;
  font-size: 14px;
  font-weight: 700;
}

.ticket-payment-grid span:nth-child(2) strong {
  color: #079b31;
}

.ticket-payment-grid em {
  color: #51617b;
  font-size: 11px;
}

.ticket-payment-grid strong i {
  width: 22px;
  height: 22px;
}

.ticket-copy {
  width: 28px;
  height: 28px;
  border-radius: 9px;
}

.ticket-qr-box {
  grid-template-columns: minmax(0, 1fr) 102px;
  gap: 12px;
  min-height: 118px;
  padding: 16px 14px 16px 18px;
  border-radius: 19px;
  background: linear-gradient(90deg, #eefbf3 0%, #f3fbf6 100%);
}

.ticket-qr-box strong {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.ticket-qr-box small {
  color: #079b31;
  font-size: 13px;
}

.ticket-qr {
  width: 96px;
  height: 96px;
  border-width: 7px;
  border-radius: 12px;
}

/* Ajuste final: bilhete mais compacto e sem bloco inferior de QR */
.ticket-screen {
  padding: 15px 23px 28px;
}

.ticket-receipt {
  gap: 12px;
  padding: 27px 15px 15px;
  border-radius: 26px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .10);
}

.ticket-receipt::before,
.ticket-receipt::after {
  bottom: 104px;
  width: 28px;
  height: 28px;
}

.ticket-receipt::before { left: -15px; }
.ticket-receipt::after { right: -15px; }

.ticket-top-holes {
  top: -12px;
  left: 66px;
  right: 66px;
  height: 24px;
  background:
    radial-gradient(circle at 12px 12px, #f7fafc 0 11.6px, #cfd6df 12px, transparent 12.6px) 0 0/31px 24px repeat-x;
}

.ticket-receipt-head {
  grid-template-columns: 72px minmax(0, 1fr) 54px;
  gap: 8px;
  min-height: 58px;
}

.ticket-logo { width: 68px; }

.ticket-title-block { gap: 3px; }

.ticket-title-block strong {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.08;
}

.ticket-title-block small,
.ticket-receipt-head time {
  font-size: 10.5px;
  font-weight: 400;
}

.ticket-user-box {
  min-height: 70px;
  padding: 10px;
  border-radius: 14px;
  gap: 8px;
}

.ticket-user-profile {
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 9px;
}

.ticket-user-profile img {
  width: 44px;
  height: 44px;
}

.ticket-user-profile b,
.ticket-pool-name b {
  font-size: 12.5px;
  font-weight: 500;
}

.ticket-user-profile small,
.ticket-pool-name small {
  font-size: 10px;
}

.ticket-user-profile small strong {
  font-weight: 600;
}

.ticket-columns {
  grid-template-columns: minmax(0, 1fr) 72px 76px;
  padding: 0 12px;
  font-size: 9px;
  font-weight: 500;
}

.ticket-game-row {
  grid-template-columns: minmax(0, 1fr) 72px 76px;
  gap: 6px;
  min-height: 84px;
  padding: 10px 9px;
  border-radius: 14px;
}

.ticket-game-teams { gap: 8px; }

.ticket-game-teams span {
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 6px;
}

.ticket-game-teams img {
  width: 26px;
  height: 26px;
}

.ticket-game-teams b {
  font-size: 10.5px;
  font-weight: 400;
}

.ticket-prediction-score {
  grid-template-columns: 27px 15px 27px;
  gap: 2px;
}

.ticket-prediction-score b {
  width: 27px;
  height: 32px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 500;
}

.ticket-prediction-score em {
  font-size: 15px;
  font-weight: 500;
}

.ticket-prediction-score small {
  font-size: 8.5px;
  font-weight: 400;
}

.ticket-game-status { gap: 4px; }

.ticket-game-status strong {
  min-height: 21px;
  min-width: 58px;
  padding: 0 6px;
  font-size: 8.8px;
  font-weight: 500;
}

.ticket-game-status strong::before {
  margin-right: 3px;
  font-size: 9px;
}

.ticket-game-status small {
  font-size: 8.5px;
  line-height: 1.25;
}

.ticket-receipt-foot { gap: 10px; }

.ticket-cut-line {
  margin: 4px 8px 0;
  border-top-width: 3px;
}

.ticket-payment-grid {
  grid-template-columns: minmax(0, 1.1fr) 62px minmax(0, 1fr);
  gap: 7px;
}

.ticket-payment-grid span { gap: 5px; }

.ticket-payment-grid small {
  font-size: 8px;
  font-weight: 500;
}

.ticket-payment-grid strong {
  gap: 4px;
  font-size: 10.5px;
  font-weight: 500;
}

.ticket-payment-grid em {
  font-size: 8.5px;
}

.ticket-payment-grid strong i {
  width: 16px;
  height: 16px;
}

.ticket-payment-grid strong i::before {
  font-size: 10px;
}

.ticket-copy {
  width: 22px;
  height: 22px;
  border-radius: 7px;
}

.ticket-copy::before,
.ticket-copy::after {
  width: 8px;
  height: 9px;
}

.ticket-qr-box {
  display: none;
}

/* Refinamento do bilhete: escala e espacamento mais proximos da referencia */
.ticket-screen {
  padding: 56px 16px 108px;
  background: #f7fafc;
}

.ticket-receipt {
  width: 100%;
  gap: 15px;
  padding: 34px 16px 18px;
  border-radius: 28px;
}

.ticket-top-holes {
  top: -13px;
  left: 68px;
  right: 68px;
  height: 26px;
  background:
    radial-gradient(circle at 13px 13px, #f7fafc 0 12px, #cfd6df 12.5px, transparent 13px) 0 0/31px 26px repeat-x;
}

.ticket-receipt::before,
.ticket-receipt::after {
  bottom: 110px;
}

.ticket-receipt-head {
  grid-template-columns: 76px minmax(0, 1fr) 64px;
  gap: 8px;
  min-height: 64px;
}

.ticket-logo {
  width: 72px;
}

.ticket-title-block strong {
  font-size: 16px;
  font-weight: 700;
}

.ticket-title-block small,
.ticket-receipt-head time {
  font-size: 11px;
}

.ticket-user-box {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr);
  min-height: 86px;
  padding: 13px;
  border-radius: 16px;
}

.ticket-user-profile {
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 11px;
}

.ticket-user-profile img {
  width: 54px;
  height: 54px;
}

.ticket-user-profile b,
.ticket-pool-name b {
  font-size: 13px;
  font-weight: 600;
}

.ticket-user-profile small,
.ticket-pool-name small {
  font-size: 10.5px;
}

.ticket-columns {
  grid-template-columns: minmax(0, 1fr) 88px 84px;
  padding: 0 14px;
  font-size: 9.5px;
}

.ticket-game-row {
  grid-template-columns: minmax(0, 1fr) 88px 84px;
  min-height: 104px;
  padding: 13px 11px;
  border-radius: 16px;
}

.ticket-game-teams {
  gap: 11px;
}

.ticket-game-teams span {
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 8px;
}

.ticket-game-teams img {
  width: 32px;
  height: 32px;
}

.ticket-game-teams b {
  font-size: 11.5px;
  font-weight: 500;
}

.ticket-prediction-score {
  grid-template-columns: 33px 18px 33px;
  gap: 3px;
}

.ticket-prediction-score b {
  width: 33px;
  height: 40px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 500;
}

.ticket-prediction-score em {
  font-size: 18px;
  font-weight: 500;
}

.ticket-game-status strong {
  min-height: 24px;
  min-width: 68px;
  padding: 0 7px;
  font-size: 9.5px;
}

.ticket-game-status small {
  font-size: 9px;
}

.ticket-payment-grid {
  grid-template-columns: minmax(0, 1.05fr) 72px minmax(0, 1fr);
  gap: 9px;
}

.ticket-payment-grid small {
  font-size: 8.5px;
}

.ticket-payment-grid strong {
  font-size: 11px;
  font-weight: 600;
}

.ticket-payment-grid em {
  font-size: 9px;
}

/* FINAL ABSOLUTO - clone visual do bilhete original */
.ticket-screen {
  padding: 26px 13px 108px;
  background: #f7fafc;
}

.ticket-receipt {
  position: relative;
  width: 100%;
  display: grid;
  gap: 18px;
  padding: 37px 18px 18px;
  border: 1px solid #d9e2ed;
  border-radius: 29px;
  background: #ffffff;
  color: #06153a;
  box-shadow: 0 22px 52px rgba(15, 23, 42, .12);
  overflow: hidden;
}

.ticket-top-holes {
  position: absolute;
  top: -11px;
  left: 58px;
  right: 58px;
  height: 22px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  background: none;
}

.ticket-top-holes i {
  display: block;
  width: 21px;
  height: 21px;
  border: 1px solid #d8e1ea;
  border-top: 0;
  border-radius: 0 0 999px 999px;
  background: #f7fafc;
  box-shadow: inset 0 -4px 7px rgba(15, 23, 42, .08);
}

.ticket-receipt::before,
.ticket-receipt::after {
  content: "";
  display: block;
  position: absolute;
  top: auto;
  bottom: 132px;
  width: 32px;
  height: 32px;
  border: 1px solid #d8e1ea;
  border-radius: 50%;
  background: #f7fafc;
  z-index: 3;
  box-shadow: inset 0 0 7px rgba(15, 23, 42, .08);
}

.ticket-receipt::before { left: -17px; }
.ticket-receipt::after { right: -17px; }

.ticket-receipt-head {
  grid-template-columns: 88px minmax(0, 1fr) 66px;
  gap: 10px;
  min-height: 72px;
}

.ticket-logo { width: 82px; }
.ticket-title-block { gap: 6px; }

.ticket-title-block strong {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.05;
}

.ticket-title-block small { font-size: 12px; }

.ticket-receipt-head time {
  font-size: 11.5px;
  line-height: 1.45;
}

.ticket-user-box {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr);
  min-height: 92px;
  padding: 14px;
  border-radius: 17px;
  border-color: #dce5ef;
}

.ticket-user-profile {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
}

.ticket-user-profile img {
  width: 58px;
  height: 58px;
}

.ticket-user-profile b,
.ticket-pool-name b {
  font-size: 14px;
  font-weight: 700;
}

.ticket-user-profile small,
.ticket-pool-name small {
  font-size: 11.5px;
}

.ticket-user-profile small strong { font-weight: 800; }

.ticket-columns {
  grid-template-columns: minmax(0, 1fr) 96px 92px;
  padding: 0 12px;
  font-size: 10px;
  font-weight: 600;
}

.ticket-game-row {
  grid-template-columns: minmax(0, 1fr) 96px 92px;
  min-height: 118px;
  padding: 15px 13px;
  border-radius: 17px;
  border-color: #dce5ef;
}

.ticket-game-teams { gap: 13px; }

.ticket-game-teams span {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 9px;
}

.ticket-game-teams img {
  width: 38px;
  height: 38px;
}

.ticket-game-teams b {
  font-size: 13px;
  font-weight: 600;
}

.ticket-prediction-score {
  grid-template-columns: 39px 22px 39px;
  gap: 5px;
}

.ticket-prediction-score b {
  width: 39px;
  height: 48px;
  border-radius: 12px;
  border-color: #dce5ef;
  font-size: 23px;
  font-weight: 700;
}

.ticket-prediction-score em {
  font-size: 23px;
  font-weight: 700;
}

.ticket-prediction-score small {
  font-size: 10px;
  font-weight: 500;
}

.ticket-game-status { gap: 8px; }

.ticket-game-status strong {
  min-height: 29px;
  min-width: 76px;
  padding: 0 9px;
  font-size: 10.5px;
  font-weight: 600;
}

.ticket-game-status small {
  font-size: 10px;
  line-height: 1.35;
}

.ticket-receipt-foot { gap: 18px; }

.ticket-cut-line {
  height: 0;
  margin: 3px 7px 0;
  border-top: 4px dashed #c9d1db;
}

.ticket-payment-grid {
  grid-template-columns: minmax(0, 1.1fr) 85px minmax(0, 1fr);
  gap: 10px;
  padding: 0 4px;
}

.ticket-payment-grid span { gap: 7px; }

.ticket-payment-grid small {
  font-size: 10px;
  font-weight: 600;
}

.ticket-payment-grid strong {
  font-size: 14px;
  font-weight: 700;
}

.ticket-payment-grid em { font-size: 10.5px; }

.ticket-payment-grid strong i {
  width: 22px;
  height: 22px;
}

.ticket-payment-grid strong i::before { font-size: 13px; }

.ticket-copy {
  width: 28px;
  height: 28px;
  border-radius: 9px;
}

.ticket-copy::before,
.ticket-copy::after {
  width: 10px;
  height: 12px;
}

.ticket-qr-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  align-items: center;
  gap: 12px;
  min-height: 116px;
  padding: 16px 14px 16px 18px;
  border-radius: 18px;
  background: linear-gradient(90deg, #eefbf3, #f4fbf7);
}

.ticket-qr-box span {
  display: grid;
  gap: 10px;
}

.ticket-qr-box strong {
  color: #06153a;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.32;
}

.ticket-qr-box small {
  color: #079b31;
  font-size: 12.5px;
}

.ticket-qr {
  width: 94px;
  height: 94px;
  margin: 0;
  border-width: 7px;
  border-radius: 12px;
}

/* Ajuste final do bilhete: placares e containers um pouco menores. */
.ticket-columns {
  grid-template-columns: minmax(0, 1fr) 86px 86px;
  padding: 0 10px;
}

.ticket-game-row {
  grid-template-columns: minmax(0, 1fr) 86px 86px;
  min-height: 104px;
  padding: 12px 11px;
  border-radius: 15px;
}

.ticket-game-teams { gap: 10px; }

.ticket-game-teams span {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
}

.ticket-game-teams img {
  width: 34px;
  height: 34px;
}

.ticket-game-teams b { font-size: 12.5px; }

.ticket-prediction-score {
  grid-template-columns: 34px 18px 34px;
  gap: 4px;
}

.ticket-prediction-score b {
  width: 34px;
  height: 42px;
  border-radius: 10px;
  font-size: 20px;
}

.ticket-prediction-score em { font-size: 20px; }
.ticket-game-status { gap: 6px; }

.ticket-game-status strong {
  min-height: 26px;
  min-width: 70px;
  padding: 0 7px;
  font-size: 10px;
}

.ticket-game-status small { font-size: 9.5px; }

/* Override final: bilhetes de enquete/sim-nao com pergunta em duas linhas e avatar. */
.ticket-option-columns,
.ticket-option-row {
  grid-template-columns: minmax(0, 1fr) 82px 76px;
}

.ticket-option-row {
  min-height: 82px;
}

.ticket-option-row .ticket-game-teams span {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}

.ticket-option-row .ticket-game-teams b {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  color: #06153a;
  font-size: 10px;
  line-height: 1.2;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ticket-option-row .ticket-game-teams small {
  min-width: 0;
  overflow: hidden;
  color: #64748b;
  font-size: 9.5px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-option-row .ticket-prediction-score {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  min-width: 0;
}

.ticket-option-choice {
  max-width: 100%;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  padding: 4px 7px 4px 4px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #079b31;
}

.ticket-option-choice img,
.ticket-option-choice i {
  width: 24px;
  height: 24px;
  border-radius: 999px;
}

.ticket-option-choice img {
  object-fit: cover;
}

.ticket-option-choice i {
  display: grid;
  place-items: center;
  background: #dff7e8;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
}

.ticket-option-row .ticket-prediction-score .ticket-option-choice b,
.ticket-option-row .ticket-prediction-score > b {
  width: auto;
  max-width: 100%;
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #079b31;
  font-size: 10px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticket-option-row .ticket-prediction-score > b {
  min-height: 28px;
  display: inline-grid;
  place-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #ecfdf3;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Ajuste final do bilhete: pergunta em ate duas linhas e avatar do item no Sim/Nao. */
.ticket-receipt .ticket-option-columns,
.ticket-receipt .ticket-option-row {
  grid-template-columns: minmax(0, 1fr) 82px 76px !important;
}

.ticket-receipt .ticket-option-row {
  min-height: 86px !important;
}

.ticket-receipt .ticket-option-row .ticket-game-teams {
  min-width: 0 !important;
}

.ticket-receipt .ticket-option-row .ticket-game-teams span {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 6px !important;
  min-width: 0 !important;
}

.ticket-receipt .ticket-option-row .ticket-game-teams b {
  display: block !important;
  min-width: 0 !important;
  max-height: 25px !important;
  overflow: hidden !important;
  color: #06153a !important;
  font-size: 10px !important;
  line-height: 12.5px !important;
  white-space: normal !important;
  text-overflow: clip !important;
}

.ticket-receipt .ticket-answer-option {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 6px !important;
  min-width: 0 !important;
  color: #64748b !important;
  font-size: 9.5px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}

.ticket-receipt .ticket-answer-option img,
.ticket-receipt .ticket-answer-option i {
  width: 22px !important;
  height: 22px !important;
  border-radius: 999px !important;
}

.ticket-receipt .ticket-answer-option img {
  object-fit: cover !important;
}

.ticket-receipt .ticket-answer-option i {
  display: grid !important;
  place-items: center !important;
  background: #ecfdf3 !important;
  color: #079b31 !important;
  font-size: 9px !important;
  font-style: normal !important;
  font-weight: 800 !important;
}

.ticket-receipt .ticket-answer-option em {
  min-width: 0 !important;
  overflow: hidden !important;
  font-style: normal !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.topbar.topbar-home {
  grid-template-columns: minmax(0, 1fr) 134px !important;
}

.topbar.topbar-home .top-actions {
  width: 134px !important;
  gap: 6px !important;
  justify-content: flex-end !important;
}

.topbar.topbar-home .top-auth-link {
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

.topbar.topbar-home .top-auth-login {
  width: 48px !important;
  border: 1px solid #bbf7d0 !important;
  background: #ecfdf3 !important;
  color: #079b31 !important;
}

.topbar.topbar-home .top-auth-register {
  width: 80px !important;
  border: 1px solid #079b31 !important;
  background: #079b31 !important;
  color: #fff !important;
}
