:root {
  --green: #0f3d2e;
  --green-2: #185b42;
  --lime: #d9ff43;
  --yellow: #ffd337;
  --orange: #ff6b35;
  --cream: #fff9e9;
  --ink: #17201c;
  --muted: #65736c;
  --white: #fff;
  --line: #dfe6df;
  --shadow: 0 20px 60px rgba(15, 61, 46, .18);
}
[hidden] { display: none !important; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Nunito", sans-serif; color: var(--ink); background: var(--cream); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }
.photo-bg { position: fixed; inset: 0; z-index: -3; background-color: #0c3326; background-image: url("/assets/jambalaia.png"); background-size: cover; background-position: center 42%; background-repeat: no-repeat; }
.photo-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,35,25,.93) 0%, rgba(7,35,25,.82) 45%, rgba(7,35,25,.58) 100%); }
.hero { color: #fff; min-height: 720px; position: relative; overflow: hidden; }
.hero::before { content: "⚽"; position: absolute; right: 7vw; top: 170px; font-size: clamp(140px, 24vw, 330px); opacity: .17; filter: grayscale(1); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-18px) rotate(4deg); } }
.nav { height: 88px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.brand { font: 22px "Bowlby One SC", sans-serif; letter-spacing: 1px; color: #fff; }
.admin-link { font-weight: 800; padding: 10px 16px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; }
.hero-content { padding-top: 95px; position: relative; z-index: 2; }
.eyebrow { display: inline-block; color: var(--lime); font-size: 12px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; }
.eyebrow.dark { color: var(--green-2); }
.hero h1 { font: clamp(54px, 8.5vw, 112px)/.88 "Bowlby One SC", sans-serif; text-transform: uppercase; margin: 20px 0 26px; max-width: 850px; letter-spacing: -3px; }
.hero h1 em { color: var(--yellow); font-style: normal; text-shadow: 5px 5px 0 var(--orange); }
.hero-content p { max-width: 560px; color: rgba(255,255,255,.83); font-size: 20px; margin: 0 0 32px; }
.button { border: 0; border-radius: 14px; padding: 14px 20px; font-weight: 900; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: var(--green); box-shadow: 0 8px 0 rgba(7,35,25,.38); }
.button-primary:active { transform: translateY(4px); box-shadow: 0 3px 0 rgba(7,35,25,.38); }
.button-ghost { background: #fff; border: 1px solid var(--line); color: var(--green); }
.button.full { width: 100%; }
.ticker { position: absolute; bottom: 0; width: 110%; margin-left: -5%; background: var(--yellow); color: var(--green); transform: rotate(-1.5deg); padding: 14px 0; font-weight: 1000; white-space: nowrap; overflow: hidden; }
.ticker div { animation: ticker 22s linear infinite; width: max-content; }
@keyframes ticker { to { transform: translateX(-50%); } }
.rules { margin-top: -1px; background: var(--green); color: #fff; display: grid; grid-template-columns: repeat(3, 1fr); padding: 26px; gap: 20px; border-radius: 0 0 26px 26px; }
.rules article { display: flex; align-items: center; gap: 14px; padding: 12px; }
.rules article + article { border-left: 1px solid rgba(255,255,255,.15); }
.rules article > span { font: 38px "Bowlby One SC"; color: var(--yellow); opacity: .85; }
.rules strong, .rules small { display: block; }
.rules strong { font-size: 17px; }.rules small { color: rgba(255,255,255,.65); margin-top: 3px; }
.matches-section { padding: 90px 0 110px; background: var(--cream); }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 26px; }
.section-heading h2, .modal-card h2, .panel h2 { font: 36px "Bowlby One SC"; margin: 7px 0 0; color: var(--green); }
.live-pill { background: #e5f8e7; color: #28723a; border-radius: 999px; padding: 9px 14px; font-size: 13px; font-weight: 900; }
.live-pill i { display: inline-block; width: 8px; height: 8px; background: #2fc34e; border-radius: 50%; margin-right: 5px; box-shadow: 0 0 0 5px rgba(47,195,78,.15); animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.important-notice { background: #fff3bf; border: 1px dashed #dba900; border-radius: 15px; padding: 15px 18px; margin-bottom: 25px; font-weight: 800; color: #765b00; }
.matches-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.match-card { background: #fff; border: 1px solid #e7e9e1; border-radius: 24px; padding: 24px; box-shadow: 0 8px 28px rgba(22,44,33,.07); position: relative; overflow: hidden; transition: .25s; }
.match-card:hover { transform: translateY(-4px) rotate(-.3deg); box-shadow: var(--shadow); }
.match-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 13px; font-weight: 800; }
.status { padding: 6px 10px; border-radius: 999px; background: #eef2ee; }
.status.live { background: #ffe4dc; color: #b53b17; }.status.finished { background: #e7e9e7; color: #526059; }
.teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 15px; margin: 26px 0; }
.team { text-align: center; font-weight: 1000; }.team span { display: block; font-size: 54px; margin-bottom: 4px; }
.score { font: 32px "Bowlby One SC"; color: var(--green); white-space: nowrap; }
.live-box { background: var(--green); color: #fff; border-radius: 16px; padding: 15px; margin-bottom: 18px; }
.live-box strong { color: var(--lime); }.winner-names { font-size: 13px; color: rgba(255,255,255,.75); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.match-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.pool small { display: block; color: var(--muted); }.pool strong { font-size: 20px; color: var(--green); }
.empty-state { grid-column: 1/-1; padding: 60px 25px; border: 2px dashed #ccd5cc; text-align: center; border-radius: 24px; color: var(--muted); }
.modal { position: fixed; inset: 0; background: rgba(5,25,18,.78); z-index: 20; display: none; place-items: center; padding: 20px; backdrop-filter: blur(7px); }
.modal.open { display: grid; }
.modal-card { width: min(620px, 100%); max-height: 92vh; overflow: auto; background: var(--cream); border-radius: 25px; padding: 30px; position: relative; box-shadow: 0 30px 100px rgba(0,0,0,.35); animation: modalIn .25s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.modal-close { position: absolute; right: 16px; top: 12px; border: 0; background: transparent; font-size: 33px; cursor: pointer; color: var(--muted); }
.modal-match { background: var(--green); color: #fff; padding: 13px 16px; border-radius: 13px; text-align: center; font-weight: 900; margin: 20px 0; }
label { display: block; color: #435049; font-weight: 900; font-size: 14px; margin-bottom: 16px; }
label small { font-weight: 600; }
input, select, textarea { display: block; width: 100%; border: 1px solid #ccd5cc; background: #fff; border-radius: 11px; padding: 12px 13px; margin-top: 6px; outline: none; color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(24,91,66,.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.score-form { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; text-align: center; }
.score-form input { font: 30px "Bowlby One SC"; text-align: center; color: var(--green); }
.score-form b { font-size: 27px; }
.quota-control { display: flex; width: 165px; margin-top: 7px; }.quota-control button { width: 44px; border: 0; background: var(--green); color: #fff; font-size: 22px; cursor: pointer; }.quota-control button:first-child { border-radius: 10px 0 0 10px; }.quota-control button:last-child { border-radius: 0 10px 10px 0; }.quota-control input { margin: 0; border-radius: 0; text-align: center; }
.total-line { display: flex; justify-content: space-between; padding: 16px 0; margin: 5px 0 15px; border-top: 1px solid var(--line); font-size: 19px; }.total-line strong { color: var(--green); font-size: 25px; }
.form-error { min-height: 20px; color: #c83d21; font-weight: 800; text-align: center; }
.success-view { text-align: center; padding: 15px; }.success-icon { margin: auto; width: 75px; height: 75px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--green); font-size: 38px; font-weight: 1000; }.pix-box { background: #fff; border: 2px dashed var(--green-2); padding: 15px; border-radius: 14px; margin: 20px 0; word-break: break-word; }.pix-plain-key { margin-top: 8px; font-size: .85rem; color: var(--muted); font-weight: 800; word-break: break-word; }
#receiverPixValue { display: block; max-height: 130px; overflow: auto; font-size: .85rem; line-height: 1.35; }
.success-view .button + .button { margin-top: 10px; }
footer { background: #092b20; color: #fff; padding: 30px 0; }footer .container { display: flex; justify-content: space-between; }footer span { color: rgba(255,255,255,.55); }

/* Admin */
.admin-body { background: #f2f5f1; min-height: 100vh; }
.login-screen { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(circle at 70% 20%, #d9ff43 0, transparent 23%), var(--green); padding: 20px; }
.login-card { width: min(430px, 100%); background: var(--cream); border-radius: 25px; padding: 35px; box-shadow: var(--shadow); }.login-card h1 { font: 32px "Bowlby One SC"; color: var(--green); }.dark-brand { color: var(--green); display: block; margin-bottom: 35px; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 240px 1fr; }
.sidebar { position: sticky; top: 0; height: 100vh; background: var(--green); padding: 27px 18px; color: #fff; display: flex; flex-direction: column; gap: 9px; }.sidebar .brand { margin: 0 7px 38px; }.sidebar-label { color: rgba(255,255,255,.4); text-transform: uppercase; font-size: 10px; letter-spacing: 2px; font-weight: 900; padding: 0 10px 7px; }
.nav-button { border: 0; background: transparent; color: rgba(255,255,255,.68); text-align: left; padding: 12px 14px; border-radius: 10px; cursor: pointer; font-weight: 800; }.nav-button.active, .nav-button:hover { background: rgba(255,255,255,.11); color: var(--lime); }.nav-button.logout { margin-top: auto; }
.admin-main { padding: 35px; min-width: 0; }.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }.admin-header h1 { font: 37px "Bowlby One SC"; color: var(--green); margin: 5px 0; }
.admin-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; margin-bottom: 20px; }
.panel { background: #fff; border: 1px solid #e0e7df; border-radius: 18px; padding: 24px; box-shadow: 0 6px 20px rgba(21,56,42,.05); }.panel h2 { font-size: 23px; margin: 0 0 20px; }.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }.panel-heading select { width: 260px; margin: 0; }
.stats-panel { display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 12px; }.stat { background: #eff5ef; padding: 18px; border-radius: 13px; }.stat strong { display: block; font: 26px "Bowlby One SC"; color: var(--green); }.stat span { color: var(--muted); font-size: 13px; font-weight: 800; }
.admin-match-list { display: grid; gap: 14px; }.admin-match { display: grid; grid-template-columns: 1.3fr auto auto auto; align-items: center; gap: 20px; background: #fff; border: 1px solid var(--line); padding: 18px; border-radius: 16px; }.admin-match .identity strong { display: block; font-size: 18px; color: var(--green); }.admin-match .identity small { color: var(--muted); }.admin-score { display: flex; align-items: center; gap: 7px; }.admin-score input { width: 60px; margin: 0; text-align: center; font-weight: 1000; }.small-button { border: 0; background: #eef3ed; color: var(--green); padding: 10px 12px; border-radius: 9px; font-weight: 900; cursor: pointer; }.danger { background: #ffe7df; color: #b83818; }.finish { background: var(--yellow); color: #5c4800; }
.winner-payouts { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 16px; color: var(--green); }.payout-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 9px; margin-top: 10px; }.payout-grid > div { background: #eff6ee; border-radius: 10px; padding: 11px; }.payout-grid span, .payout-grid small { display: block; }.payout-grid b { display: block; color: var(--green-2); font-size: 18px; margin: 3px 0; }.payout-grid small { color: var(--muted); word-break: break-word; }.empty-payout { color: var(--muted); font-size: 13px; }
.match-pix-editor { grid-column: 1 / -1; }.match-pix-editor label { margin: 0; }.inline-editor { display: flex; gap: 8px; margin-top: 6px; }.inline-editor input { margin: 0; }.inline-editor button { white-space: nowrap; }
.table-wrap { overflow-x: auto; }table { width: 100%; border-collapse: collapse; min-width: 800px; }th, td { text-align: left; padding: 13px 10px; border-bottom: 1px solid #edf0ed; font-size: 13px; }th { color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-size: 10px; }.paid-toggle { cursor: pointer; accent-color: var(--green); }
.upload-box { border: 2px dashed #afbfaf; border-radius: 15px; padding: 28px; text-align: center; cursor: pointer; background: #f7faf6; }.upload-box input { border: 0; padding: 5px; }.background-preview { min-height: 140px; margin-top: 20px; border-radius: 14px; background-size: cover; background-position: center; }
.toast { position: fixed; right: 25px; bottom: 25px; background: var(--green); color: #fff; padding: 13px 18px; border-radius: 11px; font-weight: 800; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .2s; }.toast.show { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .matches-grid, .admin-grid { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; }.sidebar { position: static; height: auto; flex-direction: row; overflow-x: auto; align-items: center; }.sidebar .brand { margin: 0 20px 0 0; }.sidebar-label, .nav-button.logout { display: none; }.admin-main { padding: 24px; }
  .admin-match { grid-template-columns: 1fr auto; }.admin-match .admin-score { grid-row: 2; }.admin-match .actions { grid-row: 2; }
}
@media (max-width: 650px) {
  .photo-bg { background-position: center top; }
  .photo-bg::after { background: linear-gradient(180deg, rgba(7,35,25,.72) 0%, rgba(7,35,25,.88) 68%, rgba(7,35,25,.95) 100%); }
  .hero { min-height: 650px; }.hero-content { padding-top: 70px; }.hero h1 { letter-spacing: -2px; }.hero::before { right: -70px; top: 250px; }
  .rules { grid-template-columns: 1fr; }.rules article + article { border-left: 0; border-top: 1px solid rgba(255,255,255,.15); }
  .section-heading { align-items: start; flex-direction: column; gap: 15px; }.matches-section { padding-top: 65px; }.match-card { padding: 19px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }.modal-card { padding: 24px 18px; }.modal { padding: 10px; }
  footer .container { flex-direction: column; gap: 7px; }.admin-main { padding: 18px 12px; }.admin-header { align-items: start; }.admin-header .button { padding: 10px; }.admin-match { grid-template-columns: 1fr; gap: 12px; }.admin-match .admin-score, .admin-match .actions { grid-row: auto; }.panel { padding: 18px; }.panel-heading { align-items: start; flex-direction: column; }.panel-heading select { width: 100%; }
  .inline-editor { flex-direction: column; }
}

/* Ajustes mobile e operação ao vivo - 20260624-4 */
.live-result-editor { display: grid; gap: 7px; }
.live-result-editor > span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; font-weight: 1000; }
.pix-cell { display: inline-block; max-width: 220px; word-break: break-word; vertical-align: middle; }
.mini-copy { margin-left: 8px; border: 0; background: #eef3ed; color: var(--green); border-radius: 8px; padding: 6px 8px; font-size: 11px; font-weight: 900; cursor: pointer; }
.success-view #copyReceiverPix { margin-bottom: 10px; }

@media (max-width: 780px) {
  body { overflow-x: hidden; }
  .container { width: min(100% - 28px, 1180px); }
  .nav { padding-top: 18px; align-items: center; }
  .brand { font-size: 13px; }
  .admin-link { padding: 9px 12px; font-size: 12px; }
  .hero { min-height: 560px; }
  .hero-content { width: 100%; padding-top: 62px; }
  .hero h1 { font-size: clamp(38px, 13vw, 64px); line-height: .9; max-width: 100%; word-break: normal; }
  .hero p { max-width: 92%; font-size: 15px; }
  .ticker { height: 38px; transform: rotate(-1.5deg) translateY(18px); }
  .rules { margin-top: -35px; border-radius: 20px; }
  .matches-section { padding: 58px 0 60px; }
  .section-heading h2 { font-size: 28px; }
  .important-notice { font-size: 12px; line-height: 1.35; }
  .matches-grid { gap: 16px; }
  .match-card { border-radius: 18px; }
  .teams { gap: 8px; }
  .team { min-width: 0; font-size: 13px; overflow-wrap: anywhere; }
  .team span { font-size: 26px; }
  .score { font-size: 24px; min-width: 72px; }
  .live-box { font-size: 13px; }
  .match-footer { align-items: stretch; flex-direction: column; }
  .match-footer .button { width: 100%; text-align: center; }
  .modal-card { width: calc(100vw - 20px); border-radius: 20px; }
  .score-form { gap: 10px; }
  .score-form input { font-size: 25px; padding: 10px 8px; }
}

@media (max-width: 650px) {
  .admin-shell { display: block; padding-bottom: 74px; }
  .sidebar { position: fixed; left: 0; right: 0; bottom: 0; top: auto; height: 66px; z-index: 30; padding: 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; overflow: visible; }
  .sidebar .brand, .sidebar-label, .nav-button.logout { display: none; }
  .nav-button { text-align: center; padding: 9px 6px; font-size: 12px; background: rgba(255,255,255,.08); }
  .admin-header { gap: 10px; flex-direction: column; }
  .admin-header h1 { font-size: 30px; }
  .admin-grid { gap: 14px; }
  .stats-panel { grid-template-columns: 1fr 1fr; }
  .stat { padding: 13px; }
  .stat strong { font-size: 20px; }
  .admin-match { padding: 15px; border-radius: 14px; }
  .admin-match .identity strong { font-size: 16px; }
  .live-result-editor { background: #f4f8f3; border-radius: 12px; padding: 12px; }
  .admin-score { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; width: 100%; }
  .admin-score input { width: 100%; font-size: 18px; }
  .admin-score button { grid-column: 1 / -1; width: 100%; }
  .finish, .actions .small-button { width: 100%; }
  .match-pix-editor { display: grid; gap: 12px; }
  .inline-editor { gap: 8px; }
  .table-wrap { margin: 0 -18px; padding: 0 18px; }
  table { min-width: 720px; }
  .toast { left: 12px; right: 12px; bottom: 82px; text-align: center; }
}

@media (max-width: 420px) {
  .hero { min-height: 520px; }
  .hero h1 { font-size: clamp(34px, 14vw, 52px); }
  .rules article { padding: 16px; }
  .modal-card h2 { font-size: 25px; }
  .quota-control { width: 100%; }
}

/* Tela única do bolão + PIX/aprovação - 20260624-5 */
.single-bolao-body { min-height: 100vh; background: var(--cream); }
.single-bolao { min-height: 100vh; padding: 22px 0 46px; position: relative; z-index: 1; }
.compact-nav { padding-top: 10px; margin-bottom: 22px; }
.bolao-board { display: grid; gap: 18px; }
.bolao-main-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: stretch; }
.bolao-hero-text { min-height: 430px; border-radius: 34px; padding: 34px; color: #fff; background: linear-gradient(135deg, rgba(8,48,35,.86), rgba(8,48,35,.52)); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; position: relative; }
.bolao-hero-text::after { content: ""; position: absolute; right: -70px; top: 70px; width: 230px; height: 230px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.bolao-hero-text h1 { font: clamp(42px, 6vw, 82px)/.92 "Bowlby One SC", cursive; letter-spacing: -2px; margin: 12px 0 18px; max-width: 820px; text-shadow: 0 7px 0 rgba(0,0,0,.12); }
.bolao-hero-text p { font-size: 18px; max-width: 700px; color: rgba(255,255,255,.86); margin: 0; }
.score-panel { background: #fff; border-radius: 34px; padding: 26px; box-shadow: var(--shadow); border: 1px solid rgba(19,60,45,.12); display: grid; gap: 18px; align-content: center; }
.big-teams { margin: 8px 0 0; }
.big-teams .team { font-size: 19px; }
.big-teams .team span { font-size: 44px; }
.big-teams .score { font-size: clamp(36px, 5vw, 58px); min-width: 160px; }
.payment-mini { color: var(--muted); font-size: 13px; font-weight: 800; text-align: center; }
.locked-message { text-align: center; background: #eef3ed; color: var(--green); border-radius: 15px; padding: 16px; font-weight: 900; }
.kpi-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kpi { background: #fff; border-radius: 22px; padding: 21px; box-shadow: 0 9px 27px rgba(21,56,42,.08); border: 1px solid rgba(19,60,45,.1); }
.kpi span, .kpi small { display: block; color: var(--muted); font-weight: 900; }
.kpi span { text-transform: uppercase; letter-spacing: 1.4px; font-size: 10px; }
.kpi strong { display: block; font: clamp(25px, 4vw, 39px) "Bowlby One SC"; color: var(--green); margin: 6px 0; }
.kpi.approved { background: #efffed; }
.kpi.pending { background: #fff7d6; }
.top-results-panel { background: var(--cream); border-radius: 30px; padding: 26px; box-shadow: 0 8px 28px rgba(21,56,42,.08); border: 1px solid rgba(19,60,45,.08); }
.compact-heading { margin-bottom: 18px; }
.compact-heading h2 { margin: 4px 0 0; font-size: clamp(24px, 4vw, 42px); }
.top-results-list { display: grid; gap: 10px; }
.top-result { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; background: #fff; border-radius: 17px; padding: 16px 18px; border: 1px solid rgba(19,60,45,.1); }
.top-result.leader { border-color: var(--lime); box-shadow: inset 5px 0 0 var(--lime); }
.top-result strong { display: block; font: 27px "Bowlby One SC"; color: var(--green); }
.top-result span, .top-result small { color: var(--muted); font-weight: 900; }
.empty-inline { background: #fff; border-radius: 17px; padding: 18px; color: var(--muted); font-weight: 900; }
.same-result-hint { background: #eef9e6; color: var(--green); border: 1px solid #d1eebe; border-radius: 14px; padding: 12px 14px; font-weight: 900; margin: 10px 0; }
.same-result-hint small { color: var(--muted); }
.form-help { margin: 10px 0 0; color: var(--muted); font-size: 12px; font-weight: 800; text-align: center; }

@media (max-width: 860px) {
  .single-bolao { padding-top: 10px; }
  .compact-nav { margin-bottom: 10px; }
  .bolao-main-card { grid-template-columns: 1fr; gap: 12px; }
  .bolao-hero-text { min-height: 230px; border-radius: 0 0 28px 28px; padding: 26px 20px; margin: 0 -14px; }
  .bolao-hero-text h1 { font-size: clamp(39px, 13vw, 61px); line-height: .9; margin: 7px 0 11px; }
  .bolao-hero-text p { font-size: 14px; line-height: 1.35; }
  .score-panel { border-radius: 24px; padding: 20px; margin-top: -8px; }
  .big-teams .score { font-size: 37px; min-width: 92px; }
  .big-teams .team { font-size: 14px; }
  .big-teams .team span { font-size: 31px; }
  .kpi-strip { grid-template-columns: 1fr; gap: 10px; }
  .kpi { padding: 16px; border-radius: 18px; }
  .kpi strong { font-size: 27px; }
  .top-results-panel { padding: 18px; border-radius: 22px; }
  .top-result { grid-template-columns: 1fr; gap: 4px; padding: 14px; }
  .top-result strong { font-size: 24px; }
  .compact-heading { align-items: start; flex-direction: column; gap: 10px; }
}

@media (max-width: 420px) {
  .bolao-hero-text { min-height: 215px; }
  .score-panel { padding: 17px; }
  .teams { grid-template-columns: 1fr auto 1fr; }
  .top-results-panel { margin-bottom: 10px; }
}

/* Admin: tornar aprovação de PIX mais clara */
.approval-badge { display: inline-block; padding: 6px 9px; border-radius: 999px; font-size: 11px; font-weight: 1000; }
.approval-badge.ok { background: #dff8dc; color: #176b20; }
.approval-badge.pending { background: #fff0c2; color: #805c00; }
.approve-button { background: var(--lime); color: var(--green); }
.reject-button { background: #ffe7df; color: #b83818; }

/* Ajustes WhatsApp + PIX + resumo de apostas - 20260624-6 */
.pot-highlight {
  background: linear-gradient(135deg, var(--lime), #baf52d);
  color: var(--green);
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
  border: 1px solid rgba(15,61,46,.12);
}
.pot-highlight span, .pot-highlight small { display: block; font-weight: 1000; }
.pot-highlight span { text-transform: uppercase; letter-spacing: 1.2px; font-size: 11px; }
.pot-highlight strong { display: block; font: clamp(34px, 5vw, 56px) "Bowlby One SC"; line-height: 1; margin: 5px 0; }
.pot-highlight small { color: rgba(15,61,46,.75); font-size: 13px; }
.kpi-main { background: linear-gradient(135deg, var(--lime), #c9ff40); transform: scale(1.02); border-color: rgba(15,61,46,.18); }
.kpi-main span, .kpi-main small, .kpi-main strong { color: var(--green); }
.live-box small { display: block; margin-top: 5px; color: rgba(255,255,255,.72); font-weight: 800; }
.top-result em { display: block; font-style: normal; margin-top: 5px; color: var(--green-2); font-weight: 800; font-size: 13px; }
.pix-qr { text-align: center; background: #f5f8f3; border: 1px solid var(--line); border-radius: 18px; padding: 14px; margin: 12px 0; }
.pix-qr img { width: min(220px, 70vw); height: auto; display: block; margin: 0 auto 8px; border-radius: 12px; background: #fff; padding: 8px; }
.pix-qr small { color: var(--muted); font-weight: 800; }
.whatsapp-button { background: #25d366; color: #083b2b; box-shadow: 0 8px 0 rgba(7,35,25,.22); }
.form-help.left { text-align: left; margin-top: -6px; }

@media (max-width: 860px) {
  .hero-pot { order: -1; }
  .pot-highlight { padding: 16px; }
  .pot-highlight strong { font-size: 34px; }
  .kpi-main { transform: none; }
}

/* Atalho fixo para enviar comprovante mesmo depois de sair do modal */
.floating-proof-link {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: #25d366;
  color: #073b2b;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .28);
  border: 2px solid rgba(255, 255, 255, .65);
}

.floating-proof-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.floating-proof-link span {
  font-size: 1.15rem;
}

@media (max-width: 760px) {
  .floating-proof-link {
    left: 16px;
    right: 16px;
    bottom: 14px;
    width: auto;
    min-height: 56px;
    font-size: 1rem;
  }

  .single-bolao {
    padding-bottom: 86px;
  }
}

/* Revisão antes de registrar aposta */
.review-view { text-align: left; padding: 8px; }
.review-view .button + .button { margin-top: 10px; }
.review-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 10px; margin: 18px 0; }
.review-box div { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 9px; }
.review-box div:last-child { border-bottom: 0; padding-bottom: 0; align-items: flex-start; }
.review-box span { color: var(--muted); font-weight: 900; font-size: .9rem; }
.review-box strong { color: var(--green); font-weight: 1000; text-align: right; word-break: break-word; }
.strong-warning { background: #fff7d7; border: 1px dashed #d7b531; color: #5c4800; padding: 12px; border-radius: 12px; }
#confirmBetButton:disabled { opacity: .7; cursor: wait; transform: none; }
@media (max-width: 560px) { .review-box div { display: grid; gap: 3px; } .review-box strong { text-align: left; } }

/* Encerramento do bolão e resultado final - 20260624-10 */
.status.closed { background: #fff0c2; color: #805c00; }
.closed-banner, .final-banner {
  border-radius: 30px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.38);
}
.closed-banner {
  background: linear-gradient(135deg, #fff7d6, #ffd337);
  color: #4d3900;
}
.closed-banner > span, .final-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 999px;
  padding: 8px 12px;
}
.closed-banner > span { background: rgba(255,255,255,.55); }
.closed-banner > strong {
  display: block;
  font: clamp(24px, 4vw, 44px) "Bowlby One SC";
  line-height: 1.05;
  margin: 13px 0 18px;
}
.closed-banner-grid, .final-prize-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.closed-banner-grid div, .final-prize-grid div {
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.55);
}
.closed-banner-grid small, .final-prize-grid span, .final-prize-grid small {
  display: block;
  font-weight: 900;
  opacity: .82;
}
.closed-banner-grid b, .final-prize-grid strong {
  display: block;
  font: clamp(25px, 4vw, 42px) "Bowlby One SC";
  line-height: 1;
  margin-top: 6px;
}
.closed-banner p { margin: 16px 0 0; font-weight: 900; }
.final-banner {
  background: linear-gradient(135deg, #0f3d2e, #1d6b4c);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.final-banner::after {
  content: "🏆";
  position: absolute;
  right: -22px;
  top: -42px;
  font-size: 160px;
  opacity: .12;
}
.final-badge { background: var(--lime); color: var(--green); }
.final-banner h2 {
  position: relative;
  z-index: 1;
  font: clamp(32px, 6vw, 70px)/.9 "Bowlby One SC";
  margin: 16px 0 20px;
}
.final-prize-grid { position: relative; z-index: 1; }
.final-prize-grid div {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.18);
}
.final-prize-grid strong { color: var(--lime); }
.final-winners {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 16px;
  font-weight: 900;
}
.final-winners.empty { color: rgba(255,255,255,.82); }

@media (max-width: 760px) {
  .closed-banner, .final-banner { border-radius: 22px; padding: 18px; }
  .closed-banner-grid, .final-prize-grid { grid-template-columns: 1fr; }
  .closed-banner > strong { font-size: 27px; }
  .final-banner h2 { font-size: 34px; }
}

/* Melhorias: botão de aposta, placar dinâmico e exclusão de duplicidades - 20260624-11 */
.bet-cta {
  display: grid;
  gap: 4px;
  min-height: 72px;
  align-content: center;
  text-align: center;
  font-size: 1.05rem;
}
.bet-cta span { display: block; }
.bet-cta small {
  display: block;
  font-family: Nunito, sans-serif;
  font-size: .78rem;
  font-weight: 900;
  color: rgba(7, 35, 25, .72);
  text-transform: none;
  letter-spacing: 0;
}
.live-box {
  border: 2px solid rgba(206, 255, 45, .18);
}
.live-box .winner-names {
  white-space: normal;
  overflow: visible;
  text-overflow: initial;
  font-size: 14px;
  line-height: 1.35;
}
.live-result-editor span small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .6px;
}
#betsTable .danger {
  white-space: nowrap;
}
@media (max-width: 760px) {
  .bet-cta { min-height: 66px; }
  .bet-cta small { font-size: .72rem; }
}


/* Ajuste de prioridade visual: aposta mais chamativa que comprovante - 20260624-12 */
.bet-cta {
  position: relative;
  min-height: 86px;
  border-radius: 22px;
  background: linear-gradient(135deg, #d9ff43 0%, #baff22 45%, #ffd337 100%);
  color: var(--green);
  border: 3px solid rgba(255,255,255,.9);
  box-shadow: 0 11px 0 rgba(7,35,25,.42), 0 18px 38px rgba(217,255,67,.42);
  transform: translateY(0);
  animation: betPulse 1.7s ease-in-out infinite;
}
.bet-cta::before {
  content: "🎯";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.55rem;
}
.bet-cta::after {
  content: "Toque aqui";
  position: absolute;
  right: 14px;
  top: -13px;
  background: #ff6b35;
  color: #fff;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: .72rem;
  font-weight: 1000;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}
.bet-cta span {
  font-size: clamp(1.12rem, 2.3vw, 1.42rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.bet-cta small {
  font-size: .86rem;
  color: rgba(7,35,25,.82);
}
.bet-cta:hover {
  transform: translateY(-3px) scale(1.012);
  box-shadow: 0 13px 0 rgba(7,35,25,.42), 0 22px 44px rgba(217,255,67,.52);
}
.bet-cta:active {
  transform: translateY(5px);
  box-shadow: 0 4px 0 rgba(7,35,25,.42), 0 12px 26px rgba(217,255,67,.36);
}
@keyframes betPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.08); }
}
.floating-proof-link {
  min-height: 46px;
  padding: 0 15px;
  background: rgba(37,211,102,.92);
  color: #083b2b;
  font-size: .92rem;
  box-shadow: 0 10px 24px rgba(0,0,0,.20);
  border: 1px solid rgba(255,255,255,.55);
  opacity: .92;
}
.floating-proof-link:hover { opacity: 1; }

@media (max-width: 760px) {
  .bet-cta {
    min-height: 84px;
    margin-top: 10px;
    padding-left: 58px;
    padding-right: 18px;
  }
  .bet-cta::before { left: 18px; font-size: 1.7rem; }
  .bet-cta::after { right: 12px; top: -11px; font-size: .68rem; }
  .bet-cta span { font-size: 1.15rem; }
  .bet-cta small { font-size: .78rem; }
  .floating-proof-link {
    left: auto;
    right: 14px;
    bottom: 14px;
    width: auto;
    min-height: 44px;
    padding: 0 13px;
    font-size: .82rem;
  }
  .floating-proof-link span { font-size: 1rem; }
  .single-bolao { padding-bottom: 74px; }
}
