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

:root{
  --bg:#f5f7fb;
  --stroke:#d1d5db;
  --stroke2:#e5e7eb;
  --white:#ffffff;
  --soft:#f3f4f6;
  --soft2:#eeeeef;
  --green:#16a34a;
  --text:#111827;
  --muted:#6b7280;
  --stepOff:#d1d5db;
  --badge:#0b2a5a;
  --cota:#b36b00;
  --danger:#ef4444;
  --ok:#16a34a;
  --key:#e5e7eb;
  --keyText:#111827;
  --warn:#f59e0b;
  --blue:#2563eb;
  --chipStroke:#cbd5e1;
  --shadow:0 10px 22px rgba(0,0,0,.10);
  --step6BarH:168px;
  --kbdH:342px;
}

*{ -webkit-tap-highlight-color:transparent; }
html,body{ -webkit-text-size-adjust:100%; touch-action:manipulation; }
body{
  background:var(--bg) !important;
  font-family:"DM Sans",system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial,"Noto Sans";
  color:var(--text);
  margin:0;
}

.container-fluid{ width:100%; margin:0; padding:0; box-sizing:border-box; }
.hidden{ display:none !important; }

.main-content{
  padding-top:12px !important;
  padding-left:calc(18px + env(safe-area-inset-left)) !important;
  padding-right:calc(18px + env(safe-area-inset-right)) !important;
  padding-bottom:calc(52px + env(safe-area-inset-bottom)) !important;
  width:100% !important;
  overflow-x:hidden;
  box-sizing:border-box;
}
@media (min-width:992px){
  .main-content{
    margin-left:250px !important;
    width:calc(100% - 250px) !important;
    padding-top:12px !important;
    padding-left:22px !important;
    padding-right:22px !important;
    padding-bottom:28px !important;
  }
}
@media (max-width:991.98px){
  .main-content{
    margin-left:0 !important;
    width:100% !important;
    padding-top:10px !important;
    padding-left:calc(18px + env(safe-area-inset-left)) !important;
    padding-right:calc(18px + env(safe-area-inset-right)) !important;
    padding-bottom:calc(72px + env(safe-area-inset-bottom)) !important;
  }
}
@media (max-width:420px){
  .main-content{
    padding-top:8px !important;
    padding-left:calc(16px + env(safe-area-inset-left)) !important;
    padding-right:calc(16px + env(safe-area-inset-right)) !important;
    padding-bottom:calc(88px + env(safe-area-inset-bottom)) !important;
  }
}
body.kbd-fixed .main-content{ padding-bottom:calc(var(--kbdH) + 20px + env(safe-area-inset-bottom)) !important; }
body.step2-fixed .main-content{ padding-bottom:calc(110px + env(safe-area-inset-bottom)) !important; }

.content-wrap{ width:100%; max-width:100%; margin:0; }
.header{ width:100%; margin:0 0 12px; }
.header-row{ display:grid; grid-template-columns:44px 1fr 44px; align-items:start; gap:10px; }
.btn-back{
  width:44px; height:44px;
  border:0 !important;
  background:transparent !important;
  border-radius:0 !important;
  padding:0 !important;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  color:#111827 !important;
  text-decoration:none;
  box-shadow:none !important;
  outline:none !important;
  -webkit-appearance:none;
  appearance:none;
  justify-self:start;
}
.btn-back i{ font-size:24px; line-height:1; }
.btn-back:active,.btn-back:focus,.btn-back:focus-visible{ box-shadow:none !important; outline:none !important; }
.header-center{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; text-align:center; }
.top-title{
  font-weight:900;
  color:#000;
  letter-spacing:.2px;
  font-size:20px;
  margin:0;
  line-height:1.05;
  text-align:center;
  min-height:22px;
}
.steps{ display:flex; align-items:center; justify-content:center; width:min(720px,100%); gap:clamp(6px,1.6vw,14px); }
.step{
  flex:1 1 0;
  height:6px;
  min-width:16px;
  border-radius:999px;
  background:var(--stepOff);
  position:relative;
  overflow:hidden;
  box-shadow:none !important;
}
.step::after{
  content:"";
  position:absolute;
  inset:0;
  background:var(--green);
  transform:translateX(-105%);
  transition:transform .35s ease;
}
.step.done::after,.step.active::after{ transform:translateX(0%); }
.cart-btn{
  width:44px; height:44px;
  border:0 !important;
  background:transparent !important;
  padding:0 !important;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  color:#111827;
  text-decoration:none;
  position:relative;
  box-shadow:none !important;
  outline:none !important;
  -webkit-appearance:none;
  appearance:none;
  justify-self:end;
}
.cart-btn i{ font-size:22px; line-height:1; }
.cart-badge{
  position:absolute;
  top:-3px;
  right:-3px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:var(--badge);
  color:#fff;
  font-weight:900;
  font-size:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  pointer-events:none;
}
.step-view{ width:100%; }

.date-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  width:100%;
  max-width:100%;
  margin-bottom:18px;
}
@media (max-width:420px){ .date-grid{ gap:14px; margin-bottom:26px; } }
.date-card{
  border-radius:14px;
  overflow:hidden;
  background:var(--white);
  border:1px solid var(--stroke);
  user-select:none;
  -webkit-user-select:none;
  touch-action:manipulation;
  cursor:pointer;
  box-shadow:none !important;
  outline:none !important;
  -webkit-appearance:none;
  appearance:none;
}
.date-card,.date-card *{ -webkit-tap-highlight-color:transparent !important; }
.date-card:active,.date-card:focus,.date-card:focus-visible{ box-shadow:none !important; outline:none !important; }
.date-top{
  background:var(--green);
  color:#fff;
  font-weight:900;
  text-align:center;
  padding:12px 10px;
  font-size:20px;
  letter-spacing:.2px;
  text-transform:lowercase;
  border-bottom:1px solid rgba(0,0,0,.12);
}
.date-body{ display:flex; align-items:center; justify-content:center; padding:26px 10px; background:var(--white); }
.date-number{ font-size:50px; line-height:1; font-weight:900; color:#000; font-variant-numeric:tabular-nums; }
.date-bottom{
  background:var(--soft2);
  border-top:1px solid var(--stroke);
  text-align:center;
  padding:12px 10px;
  font-weight:900;
  color:var(--muted);
  font-size:16px;
  letter-spacing:.2px;
}
.date-card.selected{ outline:3px solid rgba(22,163,74,.45); box-shadow:none !important; }

.tipo-tabs{
  width:100%;
  display:flex;
  gap:12px;
  margin-top:6px;
  margin-bottom:10px;
  position:relative;
}
.tipo-tab{
  flex:1 1 0;
  height:44px;
  border-radius:0;
  border:2px solid #ff7a18;
  background:#fff;
  color:#ff7a18;
  font-weight:900;
  font-size:18px;
  letter-spacing:.2px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:none !important;
  outline:none !important;
  -webkit-appearance:none;
  appearance:none;
  transition:background .18s ease,color .18s ease,transform .18s ease,filter .18s ease;
  will-change:transform;
}
.tipo-tab.active{ background:#ff7a18; color:#fff; }
.tipo-tab:active{ transform:scale(.99); }
.tipo-indicator{
  position:absolute;
  left:0;
  bottom:-6px;
  height:4px;
  background:#ff7a18;
  border-radius:999px;
  width:0;
  transform:translateX(0);
  transition:transform .28s cubic-bezier(.22,1,.36,1), width .28s cubic-bezier(.22,1,.36,1);
  pointer-events:none;
}
@keyframes tabPulse{
  0%{ transform:scale(1); filter:saturate(1); }
  55%{ transform:scale(1.03); filter:saturate(1.08); }
  100%{ transform:scale(1); filter:saturate(1); }
}
.tipo-tab.tab-anim{ animation:tabPulse .28s ease; }

.lot-acc{
  width:100%;
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:6px;
  margin-bottom:16px;
  padding-bottom:90px;
}
.acc{
  background:#fff;
  border:1px solid var(--stroke2);
  overflow:hidden;
  box-shadow:none !important;
}
.acc-head{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 14px;
  cursor:pointer;
  user-select:none;
  -webkit-user-select:none;
  touch-action:manipulation;
  background:#fff;
  border:0;
  outline:0 !important;
  -webkit-appearance:none;
  appearance:none;
}
.acc-title{ font-weight:900; letter-spacing:.3px; text-transform:uppercase; color:#111827; font-size:16px; line-height:1.1; }
.acc-right{ display:flex; align-items:center; gap:10px; flex:0 0 auto; }
.acc-badge{
  width:24px;
  height:24px;
  border-radius:999px;
  background:var(--green);
  color:#fff;
  font-weight:900;
  font-size:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:0;
}
.acc-ico{
  width:30px;
  height:30px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent;
  border:0;
  color:#111827;
  transition:transform .22s ease;
  opacity:.85;
}
.acc.open .acc-ico{ transform:rotate(180deg); }
.acc-body{
  display:block;
  max-height:0;
  overflow:hidden;
  border-top:1px solid #f1f5f9;
  background:#fff;
  transition:max-height .26s ease;
}
.acc-body-inner{ padding:0; }
.lot-opt{
  width:100%;
  display:grid;
  grid-template-columns:28px 1fr auto;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  background:#fff;
  cursor:pointer;
  user-select:none;
  -webkit-user-select:none;
  touch-action:manipulation;
  border-top:1px solid #f1f5f9;
}
.lot-opt:first-child{ border-top:0; }
.lot-check{
  width:18px;
  height:18px;
  border-radius:3px;
  border:2px solid #cbd5e1;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  background:#fff;
}
.lot-opt.selected .lot-check{ background:var(--green); border-color:var(--green); }
.lot-check i{
  font-size:12px;
  line-height:1;
  color:#fff !important;
  opacity:0;
  transform:scale(.8);
  transition:opacity .12s ease,transform .12s ease;
}
.lot-opt.selected .lot-check i{ opacity:1; transform:scale(1); }
.lot-mid{
  font-weight:900;
  color:#111827;
  font-size:14px;
  line-height:1.1;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.lot-time{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:900;
  color:#6b7280;
  font-size:12px;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
  flex:0 0 auto;
}
.lot-clock{
  width:22px;
  height:22px;
  border-radius:999px;
  border:1px solid #e5e7eb;
  background:#f3f4f6;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#6b7280;
}
.lot-clock i{ font-size:12px; color:#6b7280 !important; }

#step2 .btn-step2-advance{
  width:auto !important;
  height:56px;
  border-radius:10px;
  border:0;
  background:#000;
  color:#fff;
  font-weight:900;
  font-size:18px;
  letter-spacing:.2px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  box-shadow:0 14px 34px rgba(0,0,0,.22);
  -webkit-appearance:none;
  appearance:none;
  outline:none !important;
  position:fixed;
  left:calc(18px + env(safe-area-inset-left));
  right:calc(18px + env(safe-area-inset-right));
  bottom:calc(18px + env(safe-area-inset-bottom));
  z-index:9998;
  transform:none !important;
  margin:0 !important;
}
@media (max-width:420px){
  #step2 .btn-step2-advance{
    left:calc(16px + env(safe-area-inset-left));
    right:calc(16px + env(safe-area-inset-right));
  }
}
@media (min-width:992px){
  #step2 .btn-step2-advance{ left:calc(250px + 22px); right:22px; }
}
#step2 .btn-step2-advance:active{ transform:scale(.99) !important; }
#step2 .btn-step2-advance[disabled]{ opacity:.45; filter:grayscale(1); box-shadow:none !important; }

.search-wrap{ width:100%; margin:6px 0 14px; }
.search-box{
  display:flex;
  align-items:center;
  gap:10px;
  background:#fff;
  border:1px solid var(--stroke2);
  border-radius:12px;
  padding:10px 12px;
  box-shadow:none !important;
}
.search-ico{ color:#7b8794; font-size:16px; width:18px; text-align:center; flex:0 0 18px; }
.search-input{
  border:0 !important;
  outline:0 !important;
  width:100%;
  font-weight:700;
  color:#111827;
  background:transparent;
  font-size:16px;
}
.search-input::placeholder{ color:#9aa4b2; font-weight:700; }
.mod-list{ display:flex; flex-direction:column; gap:10px; margin-bottom:14px; }
.mod-item{
  background:#fff;
  border:1px solid var(--stroke2);
  border-radius:12px;
  padding:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
  user-select:none;
  -webkit-user-select:none;
  touch-action:manipulation;
  box-shadow:none !important;
  position:relative;
}
.mod-left{
  font-weight:900;
  color:#111827;
  font-size:16px;
  line-height:1.15;
  padding-right:10px;
  min-width:0;
  overflow:visible;
  text-overflow:clip;
  white-space:normal;
  max-width:none;
}
.mod-right{ display:flex; align-items:center; gap:0; flex:0 0 auto; }
.mod-cota{ font-weight:900; color:var(--cota); font-size:16px; white-space:nowrap; }
.mod-arrow{ color:#111827; opacity:.65; font-size:18px; }

.pos-list{ display:flex; flex-direction:column; gap:10px; margin-top:6px; margin-bottom:10px; }
.pos-item{
  background:#fff;
  border:1px solid var(--stroke2);
  border-radius:12px;
  padding:12px 44px 12px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
  user-select:none;
  -webkit-user-select:none;
  touch-action:manipulation;
  box-shadow:none !important;
  position:relative;
}
.pos-item::after{
  content:"\f054";
  font-family:"Font Awesome 5 Free";
  font-weight:900;
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  color:#111827;
  opacity:.65;
  font-size:16px;
}
.pos-left{ display:flex; flex-direction:column; gap:0; padding-right:10px; min-width:0; flex:1 1 auto; }
.pos-nome{
  font-weight:900;
  color:#111827;
  font-size:16px;
  line-height:1.15;
  text-transform:lowercase;
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  max-width:none;
}
.pos-right{ display:flex; align-items:center; gap:10px; flex:0 0 auto; }
.pos-cota{ font-weight:900; color:var(--cota); font-size:16px; white-space:nowrap; }
.pos-item.selected{ outline:3px solid rgba(22,163,74,.30); background:#eef2f7; }
.mini-back{ width:100%; margin:0 0 10px; display:flex; align-items:center; justify-content:flex-start; gap:10px; }
.mini-back button{
  border:0;
  background:transparent;
  padding:6px 0;
  font-weight:900;
  color:#111827;
  display:flex;
  align-items:center;
  gap:8px;
  box-shadow:none !important;
  outline:none !important;
  -webkit-appearance:none;
  appearance:none;
}
.mini-back i{ font-size:16px; opacity:.8; }

.palpite-wrap{ width:100%; max-width:100%; margin:0 auto; }
.palpite-subtitle{
  font-weight:900;
  color:#111827;
  text-align:center;
  font-size:14px;
  margin:6px 0 10px;
  letter-spacing:.2px;
  text-transform:uppercase;
  opacity:.9;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.palpite-input{
  width:100%;
  border:2px solid var(--stroke2);
  border-radius:0;
  padding:10px 8px;
  font-size:24px;
  font-weight:900;
  letter-spacing:2px;
  outline:none !important;
  background:#ffffe6;
  font-variant-numeric:tabular-nums;
  box-shadow:var(--shadow) !important;
}
.palpite-input:focus,.palpite-input:focus-visible{
  border-color:var(--stroke2) !important;
  outline:none !important;
  box-shadow:0 10px 22px rgba(0,0,0,.12) !important;
}
.chips{
  margin-top:12px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  width:100%;
  max-height:92px;
  -webkit-overflow-scrolling:touch;
  padding-bottom:2px;
}
.chip{
  position:relative;
  background:#fff;
  border:1.5px solid var(--chipStroke);
  border-radius:2px;
  padding:10px 8px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:14px;
  color:#000;
  font-variant-numeric:tabular-nums;
  min-height:44px;
  overflow:visible;
}
.chip .chip-x{
  position:absolute;
  top:-12px;
  right:-12px;
  width:30px;
  height:30px;
  border-radius:50%;
  background:var(--danger);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  cursor:pointer;
  box-shadow:none !important;
  border:0;
  outline:none !important;
  -webkit-appearance:none;
  appearance:none;
  z-index:900;
}
.chip .chip-x i{ font-size:14px; color:#fff !important; }
@media (max-width:420px){
  .chips{ gap:8px; max-height:88px; }
  .chip{ font-size:13px; min-height:42px; }
  .chip .chip-x{ width:28px; height:28px; top:-10px; right:-10px; }
}
.palpites-scroll{
  width:100%;
  margin-top:12px;
  max-height:250px;
  overflow-y:auto;
  overflow-x:hidden;
  -webkit-overflow-scrolling:touch;
  padding:10px;
}
.keypad{
  margin-top:14px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  user-select:none;
  background-color:#fff;
  -webkit-user-select:none;
  touch-action:manipulation;
}
body.kbd-fixed .keypad{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:9998;
  margin-top:0 !important;
  padding-left:calc(16px + env(safe-area-inset-left));
  padding-right:calc(16px + env(safe-area-inset-right));
  padding-bottom:calc(12px + env(safe-area-inset-bottom));
  padding-top:12px;
  box-sizing:border-box;
}
@media (min-width:992px){
  body.kbd-fixed .keypad{ left:250px; padding-left:22px; padding-right:22px; }
}
.key{
  background:var(--key);
  border:1px solid #dfe3ea;
  border-radius:6px;
  min-height:62px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:30px;
  color:var(--keyText);
  cursor:pointer;
  box-shadow:none !important;
  outline:none !important;
  -webkit-appearance:none;
  appearance:none;
}
.key:active{ transform:scale(.99); }
.key.action{ background:#f8fafc; border:1px solid #e5e7eb; }
.key.action.back1{ background:var(--warn) !important; border-color:rgba(0,0,0,.06) !important; color:#fff !important; }
.key.action.clear{ background:var(--danger) !important; border-color:rgba(0,0,0,.06) !important; color:#fff !important; }
.key.action.swap{ background:var(--blue) !important; border-color:rgba(0,0,0,.06) !important; color:#fff !important; }
.key.action.save{ background:var(--ok) !important; border-color:rgba(0,0,0,.06) !important; color:#fff !important; }
.key i{ font-size:30px; line-height:1; color:#fff !important; }
.key.advance{
  grid-column:1 / -1;
  background:#000 !important;
  border-color:rgba(255,255,255,.08) !important;
  color:#fff !important;
  gap:10px;
  font-size:22px;
  min-height:62px;
  justify-content:center;
}
.key.advance .adv-text{ font-weight:900; letter-spacing:.3px; color:#fff !important; }

.segmented{ width:100%; display:flex; gap:12px; margin:10px 0; justify-content:center; }
.seg-btn{
  flex:1 1 0;
  border:0;
  border-radius:4px;
  padding:12px 10px;
  font-weight:900;
  letter-spacing:.2px;
  background:#e5e7eb;
  color:#6b7280;
  box-shadow:none !important;
  outline:none !important;
  transform:translateY(0);
  transition:transform .16s ease,background .16s ease,color .16s ease,filter .16s ease;
  -webkit-appearance:none;
  appearance:none;
}
.seg-btn.active{ background:#15803d; color:#fff; transform:translateY(-1px) scale(1.01); filter:saturate(1.05); }
.seg-btn:active{ transform:scale(.99); }
.valor-input{
  width:100%;
  border:2px solid var(--stroke2);
  border-radius:0;
  padding:10px 8px;
  font-size:28px;
  font-weight:900;
  letter-spacing:1px;
  outline:none !important;
  background:#fff;
  box-shadow:var(--shadow) !important;
  font-variant-numeric:tabular-nums;
}
.valor-input::placeholder{ color:#9aa4b2; font-weight:900; }
@media (max-width:420px){
  .top-title{ font-size:16px; min-height:18px; }
  .header-row{ grid-template-columns:38px 1fr 38px; }
  .btn-back,.cart-btn{ width:38px; height:38px; }
  .btn-back i{ font-size:22px; }
  .cart-btn i{ font-size:20px; }
  .palpite-subtitle{ font-size:12px; }
  .palpite-input{ font-size:20px; padding:10px 8px; }
  .valor-input{ font-size:22px; padding:10px 8px; }
  .key{ min-height:56px; font-size:26px; }
  .key i{ font-size:26px; }
  .key.advance{ min-height:56px; font-size:18px; }
  .date-number{ font-size:50px; }
  .date-number.small-day-25-27{ font-size:50px; }
  .mod-left{ font-size:15px; line-height:1.18; }
  .mod-cota{ font-size:15px; }
  .pos-nome{ font-size:15px; line-height:1.18; }
  .pos-item::after{ font-size:15px; }
  .palpites-scroll{ max-height:250px; }
}

#loaderBlock.loader-block{
  position:fixed;
  inset:0;
  z-index:10000;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(245,247,251,.92);
  padding-left:calc(18px + env(safe-area-inset-left));
  padding-right:calc(18px + env(safe-area-inset-right));
  padding-bottom:calc(18px + env(safe-area-inset-bottom));
  box-sizing:border-box;
}
body.is-loading{ overflow:hidden; }
.loader{
  width:54px;
  height:54px;
  border-radius:50%;
  border:6px solid #e6efff;
  border-top-color:#2563eb;
  animation:spin .8s linear infinite;
  margin-inline:auto;
  box-shadow:none !important;
}
.loader-text{ margin-top:12px; color:#1f2937; font-weight:900; text-align:center; }
@keyframes spin{ to{ transform:rotate(360deg); } }

.toast-bottom{
  position:fixed;
  left:50%;
  bottom:calc(16px + env(safe-area-inset-bottom));
  transform:translateX(-50%) translateY(140%);
  opacity:0;
  z-index:99999;
  pointer-events:none;
  transition:transform .28s ease,opacity .28s ease;
  width:min(520px, calc(100% - 24px));
}
.toast-bottom.show{ transform:translateX(-50%) translateY(0%); opacity:1; }
.toast-card{
  background:rgba(243,252,4,.96);
  color:#000;
  border-radius:14px;
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  letter-spacing:.3px;
  box-shadow:0 12px 30px rgba(0,0,0,.25);
  text-align:center;
}

.step6-resumo{ width:100%; position:relative; }
.step6-scroll{
  max-height:calc(100vh - 220px);
  overflow:auto;
  padding-bottom:calc(var(--step6BarH) + env(safe-area-inset-bottom) + 18px);
  -webkit-overflow-scrolling:touch;
}
@media (min-width:992px){ .step6-scroll{ max-height:calc(100vh - 190px); } }
.lot-list{
  background:#fff;
  border:1px solid var(--stroke2);
  border-radius:12px;
  overflow:hidden;
  margin-top:4px;
}
.lot-line{ display:flex; align-items:center; justify-content:space-between; padding:10px 12px; border-top:1px solid #f1f5f9; }
.lot-line:first-child{ border-top:0; }
.lot-nome{ font-weight:900; color:#111827; font-size:14px; letter-spacing:.2px; text-transform:uppercase; }
.lot-turno{ font-weight:900; color:#111827; font-size:14px; font-variant-numeric:tabular-nums; }
.bet-card{
  margin-top:10px;
  background:#fff;
  border:1px solid var(--stroke2);
  border-radius:12px;
  overflow:hidden;
}
.bet-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px;
  border-bottom:1px solid var(--stroke2);
  background:#fff;
}
.bet-title{ font-weight:900; color:#6b7280; font-size:14px; letter-spacing:.2px; line-height:1.15; min-width:0; }
.bet-trash{
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid #fee2e2;
  background:#fff;
  color:var(--danger);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:none !important;
  outline:none !important;
  -webkit-appearance:none;
  appearance:none;
  flex:0 0 auto;
}
.bet-trash i{ color:var(--danger) !important; }
.bet-body{ padding:12px 12px 10px; background:#fff; }
.bet-palpites{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:10px; }
.pal-box{
  min-width:58px;
  padding:10px;
  border:1px solid #d1d5db;
  border-radius:10px;
  background:#fff;
  font-weight:900;
  color:#111827;
  font-size:16px;
  text-align:center;
  font-variant-numeric:tabular-nums;
}
@media (max-width:520px){
  .bet-palpites{ gap:8px; }
  .pal-box{ flex:0 0 calc(33.333% - 6px); min-width:0; padding:8px 6px; border-radius:8px; font-size:12px; }
}
.bet-values{ display:flex; flex-direction:column; gap:2px; padding-top:2px; }
.bet-total{ font-weight:900; color:#6b7280; font-size:14px; }
.bet-footer{ padding:10px 12px 12px; background:#fff; }
.btn-valendo{
  width:100%;
  height:44px;
  border-radius:5px;
  border:1px solid var(--green);
  background:#fff;
  color:#888;
  font-weight:400;
  font-size:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  box-shadow:none !important;
  outline:none !important;
  -webkit-appearance:none;
  appearance:none;
}
.btn-valendo i{ color:var(--green) !important; }
.btn-valendo:active{ transform:scale(.99); }
.step6-bar{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:9999;
  padding-left:calc(18px + env(safe-area-inset-left));
  padding-right:calc(18px + env(safe-area-inset-right));
  padding-bottom:calc(12px + env(safe-area-inset-bottom));
  padding-top:5px;
  background-color:#fff;
}
@media (min-width:992px){
  .step6-bar{ left:250px; padding-left:22px; padding-right:22px; }
}
.total-row{
  width:100%;
  background:#fff;
  border:1px solid var(--stroke2);
  border-radius:10px;
  padding:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.total-label{ font-weight:900; color:#6b7280; font-size:14px; }
.total-value{ font-weight:900; color:var(--green); font-size:16px; font-variant-numeric:tabular-nums; }
.btn-continue{
  width:100%;
  height:54px;
  border-radius:10px;
  border:1px solid #cfe7f3;
  background:#1099d9;
  color:#fff;
  font-weight:900;
  font-size:16px;
  letter-spacing:.2px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:none !important;
  outline:none !important;
  -webkit-appearance:none;
  appearance:none;
  margin-bottom:10px;
}
.btn-continue:active{ transform:scale(.99); }
.btn-advance{
  width:100%;
  height:56px;
  border-radius:10px;
  border:0;
  background:#000;
  color:#fff;
  font-weight:900;
  font-size:18px;
  letter-spacing:.2px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  box-shadow:0 14px 34px rgba(0,0,0,.22);
  -webkit-appearance:none;
  appearance:none;
  outline:none !important;
}
.btn-advance:active{ transform:scale(.99); }
.btn-advance .arr{ font-weight:900; font-size:18px; opacity:.95; }

.acc .acc-body{
  overflow:hidden;
  opacity:0;
  transform:translateY(-6px);
  transition:max-height .28s ease,opacity .22s ease,transform .22s ease;
  will-change:max-height,opacity,transform;
}
.acc.open .acc-body{ opacity:1; transform:translateY(0); }
.acc .acc-ico i{ transition:transform .22s ease; will-change:transform; }
.acc.open .acc-ico i{ transform:rotate(180deg); }
.lot-actions{ width:100%; display:flex; justify-content:flex-end; align-items:center; margin:6px 0 8px; }
.lot-trash-btn{
  width:40px;
  height:34px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:none !important;
  outline:none !important;
  -webkit-appearance:none;
  appearance:none;
}
.lot-trash-btn i{ color:var(--danger) !important; font-size:16px; }
.lot-trash-btn:active{ transform:scale(.98); }
.lot-opt,.acc-head{ touch-action:manipulation; }
#toastBottom .toast-card.warn{
  background:#f1c40f !important;
  color:#111 !important;
  border:1px solid rgba(0,0,0,.18);
}

.modal-blur{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:9999;
  background:rgba(0,0,0,.25);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.modal-blur.show{ display:flex; }
.modal-card-own{
  width:min(520px, calc(100vw - 36px));
  background:#fff;
  border-radius:12px;
  box-shadow:0 18px 40px rgba(0,0,0,.28);
  overflow:hidden;
  transform:translateY(10px) scale(.98);
  opacity:0;
}
.modal-blur.show .modal-card-own{ animation:modalIn .18s ease forwards; }
.modal-blur.closing .modal-card-own{ animation:modalOut .16s ease forwards; }
@keyframes modalIn{
  from{ transform:translateY(10px) scale(.98); opacity:0; }
  to{ transform:translateY(0) scale(1); opacity:1; }
}
@keyframes modalOut{
  from{ transform:translateY(0) scale(1); opacity:1; }
  to{ transform:translateY(10px) scale(.98); opacity:0; }
}
.modal-own-head{ display:flex; align-items:center; justify-content:space-between; padding:14px 14px 8px 16px; }
.modal-own-title{ font-size:16px; font-weight:800; margin:0; color:#222; }
.modal-own-x{
  border:0;
  background:transparent;
  width:36px;
  height:36px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.modal-own-x i{ color:#111; font-size:16px; }
.modal-own-body{ padding:0 16px 14px; color:#666; font-size:14px; font-weight:600; }
.modal-own-actions{ display:flex; gap:12px; padding:14px 16px 16px; background:#f6f6f6; border-top:1px solid rgba(0,0,0,.06); }
.modal-own-btn{
  flex:1;
  height:44px;
  border-radius:10px;
  font-weight:800;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  color:#222;
}
.modal-own-btn.confirm{ border:0; background:#e51919; color:#fff; }
