@media(min-width:900px){
html{min-height:100%;background:#0b100d}
body{--rail:232px;width:auto;max-width:none!important;margin:0 0 0 var(--rail)!important;padding:34px clamp(26px,4vw,76px) 60px!important;min-height:100vh}
body>section{max-width:1280px;margin:0 auto}
body>header.zeca-brand-header{position:fixed;inset:0 auto auto 0;width:var(--rail);height:92px;background:#101913;z-index:21;padding:24px 18px!important;box-sizing:border-box}
header .zeca-wordmark{font-size:20px!important}header .zeca-app-version{display:none}
body nav.nav{position:fixed;inset:92px auto 0 0;width:var(--rail);height:auto;background:#101913!important;border-top:0;border-right:1px solid #2b3d31;padding:10px 12px;box-sizing:border-box}
nav.nav .nav-inner{display:flex;flex-direction:column;align-items:stretch;padding:0;gap:7px;height:auto;max-width:none}
nav.nav .nav-inner>button{display:flex;flex:none;flex-direction:row;gap:13px;justify-content:flex-start;align-items:center;padding:12px 14px;font-size:15px;min-height:48px;text-align:left;color:#bfd0c3;border-radius:9px}
nav.nav .nav-inner>button.active{color:#8ff2b2;background:#223d2b}
#home:not(.hidden){display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr);column-gap:20px;align-items:start}
#home>.web-title,#home>.hero,#home>.sectionhead:nth-of-type(2),#home>.grid{grid-column:1/-1}
.web-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}
.web-title h1{font-size:30px;letter-spacing:-1px}
.web-title .primary{width:auto;padding:11px 18px}
#home>.action{display:none}
#home>.hero{padding:30px 32px!important}
#home>.sectionhead{grid-column:1/-1}
#home>.grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start}
#home>.grid>.card{grid-column:auto!important;display:block!important;min-height:135px}
#home>.sectionhead:has(+.card #chart){grid-column:1;grid-row:5}
#home>.card:has(#chart){grid-column:1;grid-row:6}
#home>.sectionhead:has(+ #summary){grid-column:2;grid-row:5}
#home>#summary{grid-column:2;grid-row:6}
#add,#tools{max-width:780px}
#historyList{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(330px,100%),1fr));gap:15px}
#historyList>.history-modern{margin:0}
#history .ledger-search{max-width:520px;margin:18px 0}
}
@media(max-width:899px){.web-title{display:none}}
@media (min-width:900px) {
  body { --rail:clamp(198px,16vw,242px); }
  .web-title h1 { font-size:clamp(28px,2.5vw,38px); line-height:1.12; font-weight:750; }
  .web-title { margin-bottom:22px; }
  #home:not(.hidden) { grid-template-columns:minmax(0,1.9fr) minmax(218px,1fr); }
  #home .hero { isolation:isolate; position:relative; overflow:hidden; }
  body:not(.light-theme) #home .hero { background:linear-gradient(108deg,#132c20,#153e29 65%,#1d5035); border-color:#38694b; }
  #home .hero::after { display:none; }
  .field-art { position:absolute; pointer-events:none; right:5%; top:50%; width:clamp(170px,26%,300px); aspect-ratio:1.65; border:2px solid currentColor; color:#98e8b5; opacity:.24; border-radius:3px; transform:translateY(-50%) rotate(-7deg); background:linear-gradient(90deg,transparent calc(50% - 1px),currentColor 50%,transparent calc(50% + 1px)); z-index:-1; }
  .field-art i { position:absolute; width:22%; aspect-ratio:1; border:2px solid currentColor; border-radius:50%; inset:50% auto auto 50%; transform:translate(-50%,-50%); }
  .field-art::before,.field-art::after { content:''; position:absolute; top:22%; height:56%; width:16%; border:2px solid currentColor; }
  .field-art::before { left:-2px; } .field-art::after { right:-2px; }
  #home>.hero .big { font-size:clamp(42px,4vw,62px); line-height:1.08; margin:10px 0; }
  .sectionhead .eyebrow { display:none; }
  nav.nav .nav-inner>button.active { box-shadow:inset 3px 0 #6de59c; }
  #home .summaryrow { padding:13px 0; font-variant-numeric:tabular-nums; }
  #home>.card:has(#chart),#home>#summary { align-self:stretch; }
  .light-theme .field-art { color:#1b6537; }
}
@media(max-width:899px){.field-art{display:none}}
@media(min-width:900px) and (max-width:1140px){#home>.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@keyframes deskEnter { from { opacity:.55; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
@media(min-width:900px) and (prefers-reduced-motion:no-preference){
  body>section.zeca-page-enter:not(.hidden),.status-overlay:not(.hidden)>.status-modal { animation:deskEnter 220ms cubic-bezier(.2,.75,.25,1) both!important; }
  .web-title .primary, nav.nav .nav-inner>button,.pending-link,.bet-actions button { transition:background-color 160ms ease,color 160ms ease,transform 180ms ease,box-shadow 180ms ease; }
  nav.nav .nav-inner>button:hover { background-color:#223529; }
  #home .pending-link:hover,.web-title .primary:hover { transform:translateY(-2px); box-shadow:0 7px 18px #0003; }
  .web-title .primary:active,.bet-actions button:active { transform:translateY(1px); }
}

@media (min-width:900px) {
  body {
    --gutter:max(32px, calc((100vw - 1296px) / 2));
    --masthead:70px;
    margin:0!important;
    padding:calc(var(--masthead) + 32px) var(--gutter) 56px!important;
  }
  body>header.zeca-brand-header {
    inset:0 0 auto; width:100%; height:var(--masthead);
    padding:0 var(--gutter)!important; background:#101a14;
    border-bottom:1px solid #334238; flex-wrap:nowrap; margin:0;
  }
  body nav.nav {
    inset:0 var(--gutter) auto auto; height:var(--masthead); width:auto;
    padding:0; border:0; z-index:22; background:transparent!important;
    box-shadow:none; backdrop-filter:none;
  }
  nav.nav .nav-inner { flex-direction:row; align-items:stretch; height:100%; gap:2px; }
  nav.nav .nav-inner>button {
    width:auto; white-space:nowrap; gap:7px; padding:0 clamp(9px,1vw,18px);
    border-radius:0; border:0; font-size:14px; line-height:1.2;
    background:transparent; min-height:0;
  }
  nav.nav .nav-inner>button.active { background:transparent; box-shadow:inset 0 -3px #64dc90; }
  nav.nav .nav-inner>button .ico { min-width:0; width:18px; padding:0; background:transparent!important; box-shadow:none!important; }
  .web-title { border-bottom:1px solid #728c782e; padding-bottom:18px; margin-bottom:18px; }
  .web-title h1 { font-size:30px; }
  #home>.hero { padding:18px 24px!important; border-radius:12px; }
  #home>.hero #balance { font-size:clamp(26px,2.15vw,32px)!important; letter-spacing:-.035em; margin:5px 0; }
  #home>.hero .field-art { width:145px; right:35px; }
  #home>.grid { gap:0; padding:4px 0; border:1px solid #71887742; border-radius:13px; }
  #home>.grid>.card { border:0!important; border-right:1px solid #71887742!important; border-radius:0!important; box-shadow:none!important; background:transparent!important; margin:0; min-height:114px; }
  #home>.grid>.card:last-child { border-right:0!important; }
  #home>.card:has(#chart),#summary { border-radius:13px; }
  #profitCalendar { align-items:center; justify-content:center; }
  #profitCalendar .profit-calendar.status-modal { width:min(650px,94vw); max-width:650px; max-height:90vh; overflow:auto; border-radius:16px; }
  #profitCalendar .cal-day { min-height:50px; padding:4px 6px; border-radius:8px; }
  #profitCalendar .cal-day span { font-size:12px; }
  #profitCalendar .cal-day strong { font-size:15px; }
  #profitCalendar .cal-heading,#profitCalendar .cal-nav { padding:10px 16px; }
}
@media(min-width:900px) and (max-width:1060px) {
  nav.nav .nav-inner>button .ico { display:none; }
  #home>.grid>.card:nth-child(2) { border-right:0!important; }
}

.bet-search-icon{font-size:0!important;display:inline-grid;place-items:center}.bet-search-icon::before{content:"";display:block;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%203a7%207%200%201%200%200%2014%207%207%200%200%200%200-14z%20M15%2015l6%206%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.date-trigger-icon,.calendar-emoji{font-size:0!important;display:inline-grid;place-items:center}.date-trigger-icon::before,.calendar-emoji::before{content:"";display:block;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h18v15H3z%20M3%2010h18%20M7%203v5%20M17%203v5%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.choice-arrow,.date-trigger-chevron,.category-picker-arrow,.accordion-chevron{font-size:0!important;display:inline-grid;place-items:center}.choice-arrow::before,.date-trigger-chevron::before,.category-picker-arrow::before,.accordion-chevron::before{content:"";display:block;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%209l6%206%206-6%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.choice-icon,.category-picker-symbol,.category-modal-symbol{font-size:0!important;display:inline-grid;place-items:center}.choice-icon::before,.category-picker-symbol::before,.category-modal-symbol::before{content:"";display:block;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%204h9l9%209-8%208-10-10z%20M8%208h.1%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.zeca-backup-symbol{font-size:0!important;display:inline-grid;place-items:center}.zeca-backup-symbol::before{content:"";display:block;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2014v6h16v-6%20M12%203v12%20M7%2010l5%205%205-5%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.status-symbol{font-size:0!important;display:inline-grid;place-items:center}.status-symbol::before{content:"";display:block;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2012l5%205%2011-11%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
[data-status="perdida"] .status-symbol{font-size:0!important;display:inline-grid;place-items:center}[data-status="perdida"] .status-symbol::before{content:"";display:block;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%206l12%2012%20M18%206L6%2018%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
[data-status="pendente"] .status-symbol{font-size:0!important;display:inline-grid;place-items:center}[data-status="pendente"] .status-symbol::before{content:"";display:block;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203a9%209%200%201%200%200%2018%209%209%200%200%200%200-18z%20M12%207v5l3%202%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
[data-status="anulada"] .status-symbol{font-size:0!important;display:inline-grid;place-items:center}[data-status="anulada"] .status-symbol::before{content:"";display:block;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203a9%209%200%201%200%200%2018%209%209%200%200%200%200-18z%20M6%2018L18%206%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
[onclick="addProtection()"] .choice-icon{font-size:0!important;display:inline-grid;place-items:center}[onclick="addProtection()"] .choice-icon::before{content:"";display:block;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%204v16%20M4%2012h16%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
@media(min-width:900px){.history-modern .bet-meta,.history-modern .bet-actions button{font-size:13px!important}.history-modern .bet-stats small{font-size:11px!important}.nav .ico svg,.kpi-icon svg{shape-rendering:geometricPrecision} #home canvas{transform:none;filter:none}.web-title h1,.page-title,.bet-title{text-rendering:optimizeLegibility}}