:root {
  --bg: #f4f7ff;
  --surface: #ffffff;
  --text: #4a2f82;
  --muted: #7d63ad;
  --blue: #2f80ed;
  --green: #27ae60;
  --orange: #f2994a;
  --pink: #eb5757;
  --border: #d9e2f2;
  --text-on-accent: #ffe2a8;
  --text-hero-strong: #5b2f8f;
  --text-hero-main: #45207a;
}

* { box-sizing: border-box; }
.hidden { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Heebo", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
}

.container { width: min(1120px, 92%); margin-inline: auto; }
.site-header,
.site-header.site-header--overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: transparent;
  border: none;
  box-shadow: none;
}
.site-header.site-header--static {
  position: static;
}
.nav-wrap {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-wrap--tools {
  justify-content: flex-end;
}
.nav-wrap--tools.has-logo {
  justify-content: space-between;
}
.header-brand-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem 0.15rem;
}
body:not(.home-page) .header-brand-link {
  margin-inline-end: 0.35rem;
}
body:not(.home-page) main {
  padding-top: 3.75rem;
}
body.order-page main {
  padding-top: 0.6rem;
}
.site-logo-badge {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: min(248px, 54vw);
  min-width: 0;
  min-height: 48px;
  max-height: 58px;
  height: auto;
  margin: 0;
  padding: 9px clamp(14px, 2.8vw, 22px);
  border-radius: 10px;
  background: #085041;
  color: #9fe1cb;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 2.15vw, 21px);
  line-height: 1.12;
  direction: rtl;
  white-space: nowrap;
  text-align: center;
  box-shadow: 0 2px 8px rgba(8, 80, 65, 0.22);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
body:not(.home-page) .site-logo-badge {
  min-height: 40px;
  max-height: 48px;
  padding: 7px clamp(12px, 2.2vw, 18px);
  font-size: clamp(14px, 1.7vw, 18px);
  border-radius: 11px;
  box-shadow: 0 4px 14px rgba(8, 80, 65, 0.2);
  animation: logoBreath 4.2s ease-in-out infinite;
}
body:not(.home-page) .header-brand-link:hover .site-logo-badge {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(8, 80, 65, 0.28);
}
@keyframes logoBreath {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
}

.hero-logo-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.75rem;
  padding-top: 0.25rem;
}
.hero-brand-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease;
}
.hero-brand-link:hover {
  opacity: 1;
}
.hero-brand-link:hover .site-logo-badge--hero {
  box-shadow:
    0 6px 22px rgba(8, 80, 65, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.22) inset;
  transform: translateY(-2px);
}
.hero-brand-link:focus-visible .site-logo-badge--hero {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
.site-logo-badge--hero {
  max-width: min(580px, 96vw);
  min-height: 108px;
  max-height: 158px;
  padding: 20px clamp(32px, 5.5vw, 64px);
  font-size: clamp(28px, 5vw, 52px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    0 10px 40px rgba(8, 40, 35, 0.42),
    0 4px 16px rgba(8, 80, 65, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.main-nav { display: flex; gap: 1rem; }
.main-nav a, .small-cta { text-decoration: none; color: var(--text); font-weight: 600; }
.small-cta { padding: 0.45rem 0.9rem; border: 1px solid var(--blue); border-radius: 10px; color: var(--blue); background: #fff; }
.small-cta.secondary { border-color: #aab7d3; color: #607196; }
.auth-actions { display: flex; gap: 0.5rem; }
.auth-actions a.small-cta { display: inline-flex; align-items: center; }

.side-quick-actions {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-108%);
  z-index: 53;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: min(300px, 84vw);
  max-width: 100%;
  border-radius: 0 18px 18px 0;
  border: 0;
  box-shadow: 10px 0 30px rgba(15, 40, 70, 0.26);
  padding: 1.1rem 0.7rem 0.95rem;
  justify-content: flex-start;
  background: #fff;
  transition: transform 0.24s ease;
  overflow-y: auto;
}
.side-quick-action {
  min-width: 100%;
  border: 0;
  border-radius: 12px;
  color: var(--text-on-accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.2;
  padding: 0.72rem 0.9rem;
  text-align: right;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(15, 40, 70, 0.2);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
.side-quick-action:hover {
  transform: translateX(3px);
  filter: brightness(1.06);
  box-shadow: 0 8px 18px rgba(15, 40, 70, 0.25);
}
.side-quick-action--personal { background: linear-gradient(180deg, #2f80ed 0%, #266ac3 100%); }
.side-quick-action--support { background: linear-gradient(180deg, #27ae60 0%, #1d9250 100%); }
.side-quick-action--terms { background: linear-gradient(180deg, #9b51e0 0%, #7f3fbc 100%); }
.side-quick-action--privacy { background: linear-gradient(180deg, #eb5757 0%, #cf4040 100%); }
.side-quick-action--price { background: linear-gradient(180deg, #f2994a 0%, #de7f2d 100%); }
.side-quick-action--intro { background: linear-gradient(180deg, #0d9488 0%, #0f766e 100%); }
.side-quick-action--winners { background: linear-gradient(180deg, #b45309 0%, #92400e 100%); }

.side-quick-actions-extra {
  margin-top: 0.4rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(29, 42, 68, 0.14);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.side-quick-actions-toggle {
  display: block;
  position: fixed;
  left: 0.9rem;
  top: 5.25rem;
  z-index: 55;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #2f80ed 0%, #276dc8 100%);
  color: var(--text-on-accent);
  box-shadow: 0 10px 20px rgba(15, 40, 70, 0.24);
  cursor: pointer;
}
.side-quick-actions-toggle span {
  font-size: 1.24rem;
  line-height: 1;
}

.side-quick-actions-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(20, 32, 56, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
body.quick-actions-open {
  overflow: hidden;
}
body.quick-actions-open .side-quick-actions {
  transform: translateX(0);
}
body.quick-actions-open .side-quick-actions-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.intro-points {
  margin: 0.75rem 0 0;
  padding: 0 1.1rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}
.intro-points li { margin-bottom: 0.35rem; }
.intro-points--tight { margin-top: 0.4rem; }
.intro-points--tight li { margin-bottom: 0.55rem; }

.about-intro-prose {
  max-width: 46rem;
  margin-inline: auto;
}
.about-intro-prose h3 {
  margin: 1.85rem 0 0.55rem;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text);
}
.about-intro-prose h3:first-child { margin-top: 0.25rem; }
.about-intro-prose p {
  margin: 0 0 0.9rem;
  color: var(--text);
  line-height: 1.62;
  font-size: 0.98rem;
}
.about-intro-prose p:last-child { margin-bottom: 0; }
.about-intro-prose a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.about-intro-prose a:hover { text-decoration-thickness: 2px; }
.about-intro-prose .intro-points { color: var(--text); }
.about-intro-prose .intro-points strong { color: var(--text); }

body.view-order .hero,
body.view-order #results-2026,
body.view-order #personal {
  display: none;
}
body.view-personal .hero,
body.view-personal #order,
body.view-personal #results-2026 {
  display: none;
}

.page-order-fill {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}
.page-order-fill .builder-progress-wrap {
  margin-top: 0;
}

.hero {
  position: relative;
  padding: 4rem 0;
  color: var(--text);
  overflow: hidden;
  background: linear-gradient(175deg, #f3fbff 0%, #dff3fb 24%, #c8e8f4 52%, #b5dfee 78%, #ceeaf5 100%);
}
body.home-page .hero {
  padding-top: 7.25rem;
  padding-bottom: 4rem;
}
.hero-motion {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* תעלה/מסלול מים בהיר — רק גרדיאנטים קלים, ללא תמונה או וידאו */
.hero-canal-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 118% 90% at 50% -4%, rgba(255, 255, 255, 0.97) 0%, rgba(237, 250, 255, 0.55) 32%, transparent 58%),
    radial-gradient(ellipse 55% 70% at 0% 52%, rgba(214, 244, 234, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 55% 70% at 100% 50%, rgba(210, 235, 250, 0.4) 0%, transparent 55%),
    radial-gradient(ellipse 72% 48% at 50% 100%, rgba(130, 200, 222, 0.28) 0%, transparent 62%),
    linear-gradient(
      173deg,
      rgba(251, 254, 255, 1) 0%,
      rgba(232, 248, 255, 1) 22%,
      rgba(206, 236, 248, 1) 45%,
      rgba(172, 220, 236, 1) 68%,
      rgba(156, 214, 232, 1) 84%,
      rgba(178, 228, 240, 1) 100%
    ),
    radial-gradient(ellipse 85% 45% at 50% 88%, rgba(120, 200, 220, 0.22) 0%, transparent 55%);
}
.hero-canal-shine {
  position: absolute;
  left: -15%;
  right: -15%;
  top: 42%;
  height: 55%;
  pointer-events: none;
  background: linear-gradient(
    185deg,
    transparent 0%,
    rgba(255, 255, 255, 0.22) 18%,
    rgba(255, 255, 255, 0.06) 44%,
    transparent 72%
  );
  filter: blur(24px);
  opacity: 0.85;
}
.ball-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  contain: layout style paint;
}
.hero-ball {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: radial-gradient(circle at 30% 24%, #ffffff 0%, #f2f5ff 25%, #a7c6ff 100%);
  color: #163f74;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 12px 22px rgba(15, 55, 90, 0.22),
    inset -7px -10px 14px rgba(0, 0, 0, 0.1);
  animation: canalBallDrift linear infinite;
}
.hero-ball.tone-blue { background: radial-gradient(circle at 30% 24%, #fff 0%, #e8f2ff 25%, #5ca9ff 100%); }
.hero-ball.tone-gold { background: radial-gradient(circle at 30% 24%, #fff8dc 0%, #ffe8a4 24%, #f2b63f 100%); color: #6b4907; }
.hero-ball.tone-red { background: radial-gradient(circle at 30% 24%, #fff 0%, #ffd6dc 25%, #ff5f7d 100%); color: #6f1028; }
.hero-ball.tone-green { background: radial-gradient(circle at 30% 24%, #f6fff8 0%, #c4ffd2 25%, #29c763 100%); color: #0c5a2c; }
.hero-ball.tone-purple { background: radial-gradient(circle at 30% 24%, #fff 0%, #eed9ff 25%, #9f68f1 100%); color: #451980; }
.hero-ball.tone-cyan { background: radial-gradient(circle at 30% 24%, #fff 0%, #d8feff 25%, #2ed5d8 100%); color: #0f5a60; }
.hero-ball.tone-orange { background: radial-gradient(circle at 30% 24%, #fff3e9 0%, #ffd4b0 25%, #ff8b3d 100%); color: #6a3208; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 38%),
    linear-gradient(to top, rgba(25, 88, 115, 0.14), transparent 45%),
    radial-gradient(ellipse 92% 55% at 50% 0%, rgba(255, 255, 255, 0.42) 0%, transparent 55%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-hero-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.version-badge { display: inline-block; background: #ffffff33; padding: 0.2rem 0.55rem; border-radius: 8px; font-weight: 700; }
.hero-inner .notice {
  margin: 0.7rem 0 0.25rem;
  font-weight: 800;
  color: #7a1515;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}
h1 { margin: 0; font-size: clamp(2rem, 4.5vw, 3.3rem); }
.hero-inner > h1 {
  color: var(--text-hero-main);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95),
    0 2px 12px rgba(255, 255, 255, 0.5);
}
.hero-subtext {
  margin: 0.8rem auto 1.3rem;
  max-width: 760px;
  font-size: 1.1rem;
  color: #152942;
  font-weight: 700;
  line-height: 1.55;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}
.hero-jackpot {
  margin: 1.35rem auto 0;
  width: min(920px, 94vw);
  max-width: 100%;
  background: linear-gradient(168deg, #ea5f6d 0%, #d94555 46%, #d03e4e 100%);
  border: 1px solid rgba(100, 18, 28, 0.38);
  border-radius: 20px;
  padding: clamp(1.15rem, 3vw, 1.65rem) clamp(1.2rem, 3.5vw, 2rem);
  display: grid;
  gap: 0.55rem;
  justify-items: center;
  text-align: center;
  box-shadow:
    0 20px 44px rgba(140, 24, 38, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.hero-jackpot--today {
  border-color: rgba(90, 14, 22, 0.5);
  box-shadow:
    0 24px 52px rgba(130, 22, 36, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  background: linear-gradient(168deg, #ed6472 0%, #db4858 44%, #d4424f 100%);
}
.hero-jackpot strong {
  font-size: clamp(1.32rem, 3.6vw, 2rem);
  color: #fceabb;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.hero-jackpot span {
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  color: rgba(252, 234, 187, 0.88);
  font-weight: 600;
  max-width: 36rem;
  line-height: 1.45;
}
.jackpot-btn {
  justify-self: center;
  margin-top: 0.45rem;
  padding: 0.72rem 1.45rem;
  font-size: 1rem;
  font-weight: 800;
  border: 1px solid rgba(255, 215, 140, 0.45);
  color: #1a0a0c;
  background: linear-gradient(180deg, #ffe8a8 0%, #e8b84a 45%, #c9972e 100%);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}
.jackpot-btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
}
@keyframes canalBallDrift {
  0% {
    transform: translate3d(0, -14vh, 0) rotate(0deg) scale(0.9);
    opacity: 0;
  }
  12% {
    opacity: 0.95;
  }
  48% {
    transform: translate3d(14px, 42vh, 0) rotate(140deg) scale(1);
  }
  100% {
    transform: translate3d(-12px, 118vh, 0) rotate(300deg) scale(0.94);
    opacity: 0.9;
  }
}
.cta-btn {
  border: 0;
  border-radius: 10px;
  padding: 0.78rem 1.25rem;
  background: #fff;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.section { padding: 2rem 0; }
.section h2 { margin: 0 0 1rem; font-size: 1.7rem; color: #213559; }
.section-head p { margin: -0.35rem 0 1rem; color: var(--muted); }

.draws-grid, .products-grid, .personal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.draw-card, .product-card, .step-card, .checkout-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
}
.step-card {
  text-align: right;
}
.personal-tab {
  width: 100%;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.personal-tab.is-active {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(47, 128, 237, 0.16) inset;
}
.draw-card h3, .product-card h3 { margin: 0 0 0.3rem; }
.draw-amount { color: var(--blue); font-weight: 800; margin: 0 0 0.45rem; }
.draw-date { margin: 0 0 0.35rem; color: var(--muted); font-weight: 600; }
.draw-time { margin: 0; color: var(--muted); font-weight: 600; }
.result-lotto {
  background: linear-gradient(180deg, #edf8ff 0%, #dff1ff 100%);
  border-color: #c6e6ff;
}
.result-chance {
  background: linear-gradient(180deg, #edf8ff 0%, #dff1ff 100%);
  border-color: #c6e6ff;
}
.result-777 {
  background: linear-gradient(180deg, #edf8ff 0%, #dff1ff 100%);
  border-color: #c6e6ff;
}
.result-123 {
  background: linear-gradient(180deg, #edf8ff 0%, #dff1ff 100%);
  border-color: #c6e6ff;
}
.result-lotto h3,
.result-lotto .draw-amount,
.result-lotto .draw-date,
.result-lotto .draw-time,
.result-chance h3,
.result-chance .draw-amount,
.result-chance .draw-date,
.result-chance .draw-time,
.result-777 h3,
.result-777 .draw-amount,
.result-777 .draw-date,
.result-777 .draw-time,
.result-123 h3,
.result-123 .draw-amount,
.result-123 .draw-date,
.result-123 .draw-time {
  color: inherit;
}
.result-lotto h3,
.result-lotto .draw-amount,
.result-lotto .draw-date,
.result-lotto .draw-time { color: #d62839; }
.result-chance h3,
.result-chance .draw-amount,
.result-chance .draw-date,
.result-chance .draw-time { color: #15803d; }
.result-777 h3,
.result-777 .draw-amount,
.result-777 .draw-date,
.result-777 .draw-time { color: #db2777; }
.result-lotto .chance-res-label { color: #d62839; }
.result-chance .chance-res-label { color: #15803d; }
.result-777 .chance-res-label { color: #db2777; }
.result-123 .chance-res-label { color: #ea580c; }
.draw-nums-123 {
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.chance-res-label {
  display: block;
  font-weight: 800;
}

.chance-results-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: flex-end;
  justify-content: center;
}

.chance-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.22rem;
  min-width: 2.65rem;
}

.chance-suit-img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.chance-rank {
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1;
}

.result-chance .chance-draw-output {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.price { color: var(--green); font-weight: 700; margin: 0.35rem 0 0.7rem; }
.home-price-hidden { color: #8a9ab8; font-weight: 500; }
.table-count {
  width: 100%;
  margin: 0.3rem 0 0.8rem;
  padding: 0.62rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
}
.add-to-cart {
  width: 100%;
  border: 0;
  background: var(--blue);
  color: var(--text-on-accent);
  border-radius: 10px;
  padding: 0.68rem;
  font-weight: 700;
  cursor: pointer;
}
.game-lotto {
  background: linear-gradient(180deg, #edf8ff 0%, #dff1ff 100%);
  color: #d62839;
  border-color: #c6e6ff;
}
.game-chance {
  background: linear-gradient(180deg, #edf8ff 0%, #dff1ff 100%);
  color: #15803d;
  border-color: #c6e6ff;
}
.game-777 {
  background: linear-gradient(180deg, #edf8ff 0%, #dff1ff 100%);
  color: #db2777;
  border-color: #c6e6ff;
}
.game-123 {
  background: linear-gradient(180deg, #edf8ff 0%, #dff1ff 100%);
  color: #ea580c;
  border-color: #c6e6ff;
}
.game-lotto .price,
.game-chance .price,
.game-777 .price,
.game-123 .price,
.game-lotto h3,
.game-chance h3,
.game-777 h3,
.game-123 h3 {
  color: inherit;
}

.result-123 h3,
.result-123 .draw-amount,
.result-123 .draw-date,
.result-123 .draw-time {
  color: #ea580c;
}
.game-lotto .add-to-cart,
.game-chance .add-to-cart,
.game-777 .add-to-cart,
.game-123 .add-to-cart {
  color: #fff7eb;
}
.game-lotto .add-to-cart {
  background: #d62839;
  border: 1px solid #d62839;
}
.game-chance .add-to-cart {
  background: #15803d;
  border: 1px solid #15803d;
}
.game-777 .add-to-cart {
  background: #db2777;
  border: 1px solid #db2777;
}
.game-123 .add-to-cart {
  background: #ea580c;
  border: 1px solid #ea580c;
}
.badge {
  position: absolute;
  top: -10px;
  left: 1rem;
  background: var(--orange);
  color: var(--text-on-accent);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.8rem;
}
.product-card {
  position: relative;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.product-card h3 { text-align: center; }
.products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-card .draw-amount,
.product-card .draw-time {
  color: inherit;
}
.product-card .draw-time strong {
  color: inherit;
}

.checkout-box { margin-top: 1rem; }
.checkout-box.hidden { display: none; }
#cart-list { margin: 0.45rem 0; padding-right: 1rem; }
.empty { color: var(--muted); }
.total-line { margin: 0.8rem 0; }
.checkout { width: 100%; margin-bottom: 0.5rem; background: var(--green); color: var(--text-on-accent); }
.checkout-status { min-height: 1.2rem; color: var(--green); margin: 0.4rem 0 0; }
.price-note { color: var(--muted); font-size: 0.94rem; }
.builder-box {
  margin-top: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
}
.builder-box--physical {
  border: 1px solid #cad6ee;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: 0 18px 38px rgba(33, 59, 106, 0.08);
}
.builder-progress {
  display: flex;
  gap: 0.32rem;
  margin-bottom: 1rem;
  align-items: center;
}
.builder-progress .progress-step {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 5px;
  border-radius: 999px;
  background: #dce7f8;
  border: 1px solid #cad8ee;
  font-size: 0;
  line-height: 0;
}
.builder-progress.step-1 .progress-step:nth-child(1),
.builder-progress.step-2 .progress-step:nth-child(-n + 2),
.builder-progress.step-3 .progress-step:nth-child(-n + 3),
.builder-progress.step-4 .progress-step:nth-child(-n + 4) {
  border-color: #2f80ed;
  background: linear-gradient(180deg, #4a9af0 0%, #2f80ed 100%);
}
.builder-progress .progress-step::after {
  position: absolute;
  right: 50%;
  transform: translateX(50%);
  top: 0.55rem;
  font-size: 0.62rem;
  line-height: 1;
  font-weight: 700;
  color: #7b8da9;
  white-space: nowrap;
}
.builder-progress .progress-step:nth-child(1)::after { content: "בחירת משחק"; }
.builder-progress .progress-step:nth-child(2)::after { content: "מילוי טופס"; }
.builder-progress .progress-step:nth-child(3)::after { content: "פרטים ותשלום"; }
.builder-progress .progress-step:nth-child(4)::after { content: "אישור"; }
.builder-progress.step-1 .progress-step:nth-child(1)::after,
.builder-progress.step-2 .progress-step:nth-child(-n + 2)::after,
.builder-progress.step-3 .progress-step:nth-child(-n + 3)::after,
.builder-progress.step-4 .progress-step:nth-child(-n + 4)::after {
  color: #2b5fa8;
}
.builder-progress--compact .progress-step {
  height: 4px;
}
.page-order-fill #builder-progress.builder-progress--compact {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  margin: 0 0 1rem;
  width: 100%;
}
.page-order-fill #builder-progress.builder-progress--compact .progress-step {
  flex: 1 1 0;
  min-width: 0;
  height: 4px;
  border-radius: 999px;
  border: 1px solid #c7d6ee;
  background: #dce7f8;
  font-size: 0;
  line-height: 0;
  padding: 0;
}
.page-order-fill #builder-progress.builder-progress--compact .progress-step::after {
  position: absolute;
  right: 50%;
  transform: translateX(50%);
  top: 0.52rem;
  font-size: 0.58rem;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
  color: #7b8da9;
}
.page-order-fill #builder-progress.builder-progress--compact.step-1 .progress-step:nth-child(1),
.page-order-fill #builder-progress.builder-progress--compact.step-2 .progress-step:nth-child(-n + 2),
.page-order-fill #builder-progress.builder-progress--compact.step-3 .progress-step:nth-child(-n + 3),
.page-order-fill #builder-progress.builder-progress--compact.step-4 .progress-step:nth-child(-n + 4) {
  border-color: #2f80ed;
  background: linear-gradient(180deg, #4a9af0 0%, #2f80ed 100%);
}
.builder-progress-wrap {
  margin: 0.2rem 0 0.85rem;
}
.builder-progress-caption {
  margin: 0 0 0.38rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.builder-progress-bar {
  display: flex;
  flex-direction: row;
  gap: 3px;
  height: 5px;
  width: 100%;
  max-width: 100%;
}
.builder-progress-bar .progress-seg {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 2px;
  background: #dfe8f6;
  box-shadow: inset 0 0 0 1px rgba(29, 42, 68, 0.06);
  transition: background 0.22s ease, box-shadow 0.22s ease;
}
.builder-progress-bar.step-1 .progress-seg:nth-child(-n + 1),
.builder-progress-bar.step-2 .progress-seg:nth-child(-n + 2),
.builder-progress-bar.step-3 .progress-seg:nth-child(-n + 3),
.builder-progress-bar.step-4 .progress-seg:nth-child(-n + 4) {
  background: linear-gradient(180deg, #4a9af0 0%, #2f80ed 100%);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}
.builder-box.hidden { display: none; }
.builder-workspace {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}
.numbers-panel {
  background: #f2f7ff;
  border: 1px solid #c9d9f5;
  border-radius: 12px;
  padding: 0.6rem;
}
.physical-board-head {
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.78rem;
  color: #47628d;
  margin-bottom: 0.5rem;
}
.physical-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(38px, 1fr));
  gap: 0.36rem;
}
.physical-strong-wrap {
  margin-top: 0.65rem;
  padding-top: 0.5rem;
  border-top: 1px dashed #c9d8ef;
}
.physical-strong-title {
  font-size: 0.76rem;
  font-weight: 800;
  color: #2f5f9f;
  margin-bottom: 0.38rem;
}
.physical-strong-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.34rem;
}
.physical-ball {
  border: 1px solid #c7d6f1;
  background: #fff;
  color: #35527f;
  border-radius: 999px;
  min-height: 34px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.16s ease, background 0.2s ease;
}
.physical-ball:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(45, 98, 182, 0.2);
}
.physical-ball.selected {
  background: linear-gradient(180deg, #4a9af0 0%, #2f80ed 100%);
  color: #fff;
  border-color: #2f80ed;
}
.physical-ball--strong {
  border-color: #d8bedf;
  color: #7a4f8e;
}
.physical-ball--strong.selected {
  background: linear-gradient(180deg, #d64ba2 0%, #b63d87 100%);
  border-color: #b63d87;
}
.physical-slip-head {
  font-size: 0.92rem;
  font-weight: 800;
  color: #274674;
  margin-bottom: 0.2rem;
}
.physical-slip-sub {
  font-size: 0.74rem;
  color: #5f7497;
  margin-bottom: 0.45rem;
}
.physical-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}
.preview-ticket .physical-chip-row {
  gap: 0.45rem;
}
.physical-chip {
  padding: 0.18rem 0.42rem;
  border-radius: 999px;
  font-size: 0.72rem;
  background: #eef4ff;
  border: 1px solid #cbdaf7;
  color: #284a84;
  font-weight: 700;
}
.physical-chip--strong {
  margin-inline-start: 0.9rem;
  background: #f7ebff;
  border-color: #d6b0f2;
  color: #7a3bb0;
  font-weight: 800;
}
.physical-chip--strong.physical-chip--empty {
  background: #f8f0ff;
  color: #9468b8;
}
.physical-chip--chance-suit-red {
  color: #c62828;
  border-color: rgba(198, 40, 40, 0.45);
  background: #fff5f5;
  font-weight: 800;
}
.physical-chip--chance-suit-black {
  color: #1a1a1a;
  border-color: #cfd4dc;
  background: #f5f6f8;
  font-weight: 800;
}
.physical-empty {
  font-size: 0.76rem;
  color: #7e8fa9;
}
.form-preview-card {
  background: linear-gradient(180deg, #fef8dd 0%, #fffdf2 100%);
  border: 1px solid #e7d58c;
  border-radius: 12px;
  padding: 0.65rem;
}
.form-preview-card h4 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  color: #745b20;
}
.preview-table {
  border: 1px dashed #afc5eb;
  border-radius: 8px;
  padding: 0.45rem;
  margin-bottom: 0.35rem;
  background: linear-gradient(180deg, #f2f7ff 0%, #eaf2ff 100%);
  font-size: 0.82rem;
  color: #2f4f82;
}
.preview-table.active {
  border-color: #2f80ed;
  box-shadow: 0 0 0 2px #d8e8ff inset;
}
.preview-ticket {
  border: 1px solid #a8bfe8;
  border-radius: 10px;
  padding: 0.5rem;
  margin-bottom: 0.45rem;
  background: linear-gradient(180deg, #fcfdff 0%, #f2f7ff 100%);
}
.preview-ticket {
  width: 100%;
  text-align: right;
  cursor: pointer;
}
.preview-tables-stack {
  display: grid;
  gap: 0.45rem;
}
.preview-ticket.active {
  border-color: #2f80ed;
  box-shadow: 0 0 0 2px #dbe9ff inset;
}
.preview-ticket.invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 2px #fee2e2 inset;
}
.preview-ticket.lotto-ticket {
  border-color: #dc9aa1;
  background: linear-gradient(180deg, #fff7f8 0%, #ffeef0 100%);
}
.preview-ticket.chance-ticket {
  border-color: #e5b9c2;
  background: linear-gradient(180deg, #fff7fb 0%, #ffeff7 100%);
}
.preview-ticket.p777-ticket {
  border-color: #c3afe7;
  background: linear-gradient(180deg, #f8f4ff 0%, #f0e9ff 100%);
}
.preview-ticket.p123-ticket {
  border-color: #f0c996;
  background: linear-gradient(180deg, #fff9ef 0%, #fff3de 100%);
}
.ticket-head {
  font-weight: 800;
  color: #284a84;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
}
.preview-ticket.lotto-ticket .ticket-head { color: #b42538; }
.preview-ticket.chance-ticket .ticket-head { color: #b03f67; }
.preview-ticket.p777-ticket .ticket-head { color: #6d39b7; }
.preview-ticket.p123-ticket .ticket-head { color: #b56a1f; }
.ticket-subhead {
  font-size: 0.7rem;
  font-weight: 700;
  color: #8f5a64;
  margin-bottom: 0.35rem;
}
.ticket-main-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0.18rem;
  margin-bottom: 0.3rem;
}
.ticket-strong-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.18rem;
}
.ticket-num {
  border: 1px solid #c7d6f1;
  border-radius: 6px;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #3b5683;
  background: #fff;
  padding: 0.15rem 0;
}
.ticket-num.selected {
  background: #2f80ed;
  border-color: #2f80ed;
  color: var(--text-on-accent);
}
.lotto-ticket .ticket-num {
  border-color: #e3b5bc;
  color: #a54c5a;
}
.lotto-ticket .ticket-num.selected {
  background: #d62839;
  border-color: #d62839;
}
.ticket-num.strong {
  border-color: #e5bdd2;
}
.ticket-num.strong.selected {
  background: #eb5757;
  border-color: #eb5757;
}
.ticket-line-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.22rem;
}
.ticket-line-cell {
  border: 1px dashed #d2b8e8;
  border-radius: 6px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #69409e;
  background: #fff;
  padding: 0.25rem 0;
}
.ticket-line-cell.selected {
  background: #9b51e0;
  border-color: #9b51e0;
  color: var(--text-on-accent);
}
.ticket-digits-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}
.ticket-digit-col {
  border: 1px solid #efcfaa;
  border-radius: 8px;
  background: #fffdf8;
  padding: 0.3rem;
}
.ticket-digit-title {
  font-size: 0.66rem;
  text-align: center;
  color: #a86b2c;
  margin-bottom: 0.22rem;
  font-weight: 800;
}
.ticket-digit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.14rem;
}
.ticket-digit-cell {
  border: 1px solid #efd8ba;
  border-radius: 5px;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #8f6a3b;
  background: #fff;
  padding: 0.16rem 0;
}
.ticket-digit-cell.selected {
  background: #f2994a;
  border-color: #f2994a;
  color: var(--text-on-accent);
}
.preview-header {
  font-weight: 800;
  color: #274a85;
  margin-bottom: 0.3rem;
}
.preview-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  min-height: 1.8rem;
}
.preview-ball {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  background: #ffffff;
  border: 1px solid #9db9ea;
  color: #2f4f82;
}
.preview-ball.strong {
  background: #eb5757;
  border-color: #eb5757;
  color: var(--text-on-accent);
}
.preview-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #9db9ea;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  background: #fff;
  color: #2f4f82;
  font-size: 0.72rem;
  font-weight: 700;
}
.preview-empty {
  color: #7083a8;
  font-size: 0.8rem;
}
.preview-strong {
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
}
.lotto-options.hidden { display: none; }
.lotto-options { margin-bottom: 0.8rem; }
.compact-inline-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  align-items: end;
}
.compact-field .table-count.compact {
  margin-top: 0.25rem;
}
.lotto-mode-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}
.lotto-mode-btn {
  border: 1px solid #c7d5ef;
  border-radius: 10px;
  background: #fff;
  color: #36517f;
  font-weight: 700;
  padding: 0.5rem;
  cursor: pointer;
}
.lotto-mode-btn.active {
  background: #2f80ed;
  border-color: #2f80ed;
  color: var(--text-on-accent);
}
.digit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}
.digit-row {
  border: 1px solid #d2def4;
  border-radius: 10px;
  padding: 0.45rem;
  background: #f9fbff;
}
.digit-row-title {
  font-size: 0.82rem;
  color: #4b628d;
  margin-bottom: 0.3rem;
  font-weight: 700;
}
.digit-buttons {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0.25rem;
}
.digit-btn {
  border: 1px solid #c8d4ea;
  border-radius: 7px;
  background: #fff;
  color: #344766;
  font-weight: 700;
  padding: 0.22rem 0;
  cursor: pointer;
}
.digit-btn.selected {
  background: #2f80ed;
  border-color: #2f80ed;
  color: var(--text-on-accent);
}
.chance-suits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}
.chance-suit-row {
  border: 1px solid #d2def4;
  border-radius: 10px;
  padding: 0.45rem;
  background: #f9fbff;
}
.chance-suit-title {
  font-size: 0.82rem;
  color: #4b628d;
  margin-bottom: 0.3rem;
  font-weight: 700;
}
.chance-card-buttons {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.25rem;
}
.chance-board-ticket {
  border: 2px solid #3d6bb8;
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  background: linear-gradient(165deg, #f7faff 0%, #e5edf9 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  margin-top: 0.35rem;
}
.chance-board-ticket .chance-series-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.chance-board-hint {
  font-size: 0.78rem;
  color: #526a96;
  margin: 0 0 0.55rem;
  line-height: 1.35;
}
.chance-series-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.88rem;
}
.chance-series-row {
  border: 1px solid #d2def4;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  background: #f9fbff;
  width: 100%;
  box-sizing: border-box;
}
.chance-series-row--suit-red {
  border-left: 4px solid #e53935;
}
.chance-series-row--suit-black {
  border-left: 4px solid #263238;
}
.chance-series-row--inactive {
  opacity: 0.48;
}
.chance-series-title {
  font-size: 0.82rem;
  color: #4b628d;
  margin-bottom: 0.45rem;
  font-weight: 700;
}
.chance-ranks-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0.25rem 0.4rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.chance-card-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid #c8d4ea;
  border-radius: 8px;
  background: #fff;
  font-weight: 700;
  padding: 0.42rem 0.55rem;
  cursor: pointer;
  min-height: 2.85rem;
  min-width: 3.35rem;
  flex: 0 0 auto;
  gap: 0.1rem;
  line-height: 1.05;
}
.chance-card-rank {
  font-size: 0.76rem;
  font-weight: 800;
  color: #2a3a55;
}
.chance-card-btn--suit-red .chance-card-rank {
  color: #c62828;
}
.chance-card-btn--suit-black .chance-card-rank {
  color: #1a1a1a;
}
.chance-card-btn--suit-red .chance-card-suit {
  color: #c62828;
  font-size: 1.02rem;
  line-height: 1;
}
.chance-card-btn--suit-black .chance-card-suit {
  color: #111;
  font-size: 1.02rem;
  line-height: 1;
}
.chance-card-btn.selected {
  background: #fff;
  border: 1px solid #eb5757;
  box-shadow: 0 0 0 2px rgba(235, 87, 87, 0.38);
}
.chance-card-btn--suit-red.selected {
  background: #fff5f5;
  border: 1px solid #e57373;
  box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.22);
}
.chance-card-btn--suit-black.selected {
  background: #f5f7fa;
  border: 1px solid #546e7a;
  box-shadow: 0 0 0 2px rgba(38, 50, 56, 0.14);
}
.chance-card-btn--suit-red.selected .chance-card-rank,
.chance-card-btn--suit-red.selected .chance-card-suit {
  color: #c62828;
}
.chance-card-btn--suit-black.selected .chance-card-rank,
.chance-card-btn--suit-black.selected .chance-card-suit {
  color: #1a1a1a;
}
.chance-card-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.lotto-layout-tools.hidden { display: none; }
.lotto-layout-tools {
  background: #f6f9ff;
  border: 1px solid #cddaf1;
  border-radius: 12px;
  padding: 0.75rem;
  margin-bottom: 0.8rem;
}
.lotto-layout-buttons {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
}
.builder-quick-actions { display: flex; gap: 0.5rem; margin-bottom: 0.6rem; }
.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  margin: 0 0 0.65rem;
}
.trust-strip span {
  border: 1px dashed #b8cae9;
  background: #f9fcff;
  border-radius: 8px;
  padding: 0.35rem 0.45rem;
  font-size: 0.78rem;
  color: #49648f;
}
.order-confirmation {
  margin-top: 0.7rem;
  border: 1px solid #b8e3c6;
  background: #f3fdf7;
  border-radius: 10px;
  padding: 0.7rem;
}
.order-confirmation.hidden { display: none; }
.order-confirmation h4 {
  margin: 0 0 0.35rem;
  color: #1f7f46;
}
.order-confirmation p {
  margin: 0 0 0.55rem;
  color: #2e6f4a;
}
.lotto-tables-preview {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}
.lotto-table-pill {
  text-align: center;
  border: 1px solid #c7d5ef;
  border-radius: 8px;
  padding: 0.35rem 0;
  font-size: 0.86rem;
  background: #fff;
  color: #3d5378;
}
.lotto-table-pill.active {
  background: #2f80ed;
  border-color: #2f80ed;
  color: var(--text-on-accent);
  font-weight: 700;
}
.lotto-table-pill.filled {
  background: #27ae60;
  color: var(--text-on-accent);
  border-color: #27ae60;
}
.lotto-table-pill.invalid {
  background: #fff1f2;
  border-color: #ef4444;
  color: #b91c1c;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}
.num-btn {
  width: 100%;
  border: 1px solid #c8d4ea;
  border-radius: 8px;
  padding: 0.28rem 0;
  background: #fff;
  color: #344766;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.78rem;
}
.num-btn.selected {
  background: var(--blue);
  color: var(--text-on-accent);
  border-color: var(--blue);
}
.extra-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
  color: var(--muted);
}
.price-breakdown {
  background: #f7fbff;
  border: 1px dashed #bcd5f8;
  border-radius: 10px;
  padding: 0.7rem;
  margin-bottom: 0.8rem;
  color: #2a4770;
  min-height: 2rem;
}
.price-breakdown.hidden { display: none; }
.price-breakdown-total {
  font-size: 1rem;
  font-weight: 800;
  color: #1f4d86;
  margin-bottom: 0.25rem;
}
.price-breakdown-total strong {
  color: #12407a;
}
.price-breakdown-inline-type {
  font-size: 0.78rem;
  font-weight: 600;
  color: #4a668f;
  white-space: normal;
}
.personal-orders {
  margin: 0 0 1rem;
  padding-right: 1rem;
}
.personal-orders li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem;
  margin-bottom: 0.5rem;
}
.personal-panels {
  margin-top: 0.85rem;
}

.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 32, 56, 0.45);
  display: grid;
  place-items: center;
  z-index: 40;
}
.auth-modal.hidden { display: none; }
.auth-card {
  width: min(460px, 92%);
  background: #fff;
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid var(--border);
}
.auth-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.auth-modal-header h3 {
  margin: 0;
  flex: 1 1 auto;
  font-size: 1.1rem;
}

.personal-page main {
  padding-top: 5.5rem;
}
.personal-auth-gate .personal-gate-card {
  max-width: 420px;
  margin: 0 auto;
}
.personal-gate-card h1 {
  margin-bottom: 0.35rem;
  font-size: 1.55rem;
}
.personal-gate-lead {
  margin-bottom: 1.1rem;
}
.personal-required {
  color: var(--blue, #1a4fa3);
  font-weight: 700;
}
.personal-optional {
  font-weight: 400;
  color: var(--muted, #5c6b82);
  font-size: 0.88em;
}
.personal-auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.15rem 0;
  color: var(--muted, #5c6b82);
  font-size: 0.9rem;
}
.personal-auth-divider::before,
.personal-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border, #d8e0ee);
}
.personal-google-slot {
  display: flex;
  justify-content: center;
  min-height: 44px;
  margin: 0.5rem 0;
}
.personal-google-fallback {
  width: 100%;
  margin: 0.35rem 0 0.5rem;
}
.personal-google-fallback.hidden {
  display: none !important;
}
.personal-google-slot.hidden,
.personal-dashboard.hidden,
#auth-logout-btn.hidden {
  display: none !important;
}
.personal-wallet-box {
  margin-top: 1rem;
}
.personal-orders-box,
.personal-wallet-box {
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(18, 43, 81, 0.08);
}
.personal-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.personal-section-head h3 {
  margin: 0;
}
.personal-wallet-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0.6rem 0 0.95rem;
}
.personal-wallet-actions .small-cta {
  width: 100%;
}
.personal-action-panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f9fbff;
  padding: 0.85rem;
  margin-bottom: 0.8rem;
}
.personal-action-panel h4 {
  margin: 0 0 0.55rem;
  color: #18457f;
}
.personal-panel-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.65rem;
}
.personal-orders li {
  border-inline-start: 4px solid #d7e6ff;
}
.auth-otp-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border, #d8e0ee);
}
.auth-otp-section.hidden {
  display: none !important;
}
#auth-go-personal-btn {
  width: 100%;
  margin-top: 0.65rem;
}
@media (max-width: 900px) {
  .personal-wallet-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.results-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0.8rem 0 1rem;
}
.results-links a {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem;
  text-decoration: none;
  color: var(--blue);
  font-weight: 700;
  text-align: center;
}
.results-links .archive-link--lotto { color: #d62839; border-color: #f0b8bf; }
.results-links .archive-link--chance { color: #15803d; border-color: #bde7c8; }
.results-links .archive-link--777 { color: #db2777; border-color: #f2b8d6; }
.results-links .archive-link--123 { color: #ea580c; border-color: #f5c7ac; }

.site-footer { margin-top: 2rem; border-top: 1px solid var(--border); background: #fff; padding: 1.1rem 0; }
.footer-wrap { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem; }
.legal { color: var(--muted); }
.footer-ass-bar {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 0 0.35rem;
  margin-top: 0.85rem;
  border-top: 1px solid var(--border);
}
.footer-ass-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.25rem;
  padding: 0.48rem 1.15rem;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--text-on-accent);
  background: linear-gradient(180deg, #4a5568 0%, #2d3748 98%);
  border-radius: 10px;
  border: 1px solid #1a202c;
  box-shadow: 0 2px 8px rgba(26, 32, 44, 0.2);
}
.footer-ass-cta:hover {
  filter: brightness(1.07);
  color: var(--text-on-accent);
}
.footer-ass-cta--current {
  opacity: 0.88;
  cursor: default;
  pointer-events: none;
}
.footer-ass-cta--admin {
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 98%);
  border-color: #1e40af;
}

.game-card-hint { font-size: 0.92rem; margin-top: 0.35rem; }
.products-grid .product-card {
  cursor: pointer;
}
.products-grid .product-card .add-to-cart {
  cursor: pointer;
}
.products-grid .product-card:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.game-rules-modal {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(22, 35, 58, 0.48);
  overflow-y: auto;
}
.game-rules-modal.hidden {
  display: none;
}
.game-rules-card {
  width: min(520px, 100%);
  max-height: min(90vh, 860px);
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(15, 40, 70, 0.2);
}
.game-rules-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.game-rules-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text);
}
.game-rules-disclaimer {
  background: linear-gradient(180deg, #fff8ed 0%, #fff4e5 100%);
  border: 1px solid #ecd4a8;
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #3d3318;
  margin-bottom: 0.85rem;
}
.game-rules-lead {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.game-rules-links {
  margin: 0;
  padding-right: 1.15rem;
  line-height: 1.55;
}
.game-rules-links li {
  margin-bottom: 0.55rem;
}
.game-rules-links a {
  color: var(--blue);
  font-weight: 700;
  word-break: break-word;
}
.game-rules-foot {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

/* מגירת מחשבון מחירים (נפתחת מהצד) */
.price-drawer-root {
  position: fixed;
  inset: 0;
  z-index: 43;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.28s step-end;
}
.price-drawer-root.is-open {
  pointer-events: auto;
  visibility: visible;
  transition: visibility 0s;
}
.price-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 32, 56, 0);
  transition: background 0.28s ease;
}
.price-drawer-root.is-open .price-drawer-backdrop {
  background: rgba(20, 32, 56, 0.48);
}
.price-drawer-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(420px, 94vw);
  max-width: 100%;
  background: var(--surface);
  border-left: 1px solid var(--border);
  box-shadow: -12px 0 40px rgba(15, 40, 70, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow: hidden;
}
.price-drawer-root.is-open .price-drawer-panel {
  transform: translateX(0);
}
.price-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.price-drawer-header h2 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--text);
}
.price-drawer-body {
  padding: 1rem 1.1rem 1.25rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.price-drawer-body > label {
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 0.25rem;
}
.price-drawer-lead {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  line-height: 1.45;
}
.price-calc-lotto-fields {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.price-calc-double-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.45;
  cursor: pointer;
}
.price-calc-double-row input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.price-calc-output {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, #f6f9ff 0%, #eef4fc 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.price-calc-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}
.price-calc-line strong {
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}
.price-calc-tier {
  margin: 0.2rem 0 0.6rem;
  min-height: 1.25rem;
}
.price-calc-total {
  margin-bottom: 0;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--border);
  font-size: 1.05rem;
}
.price-calc-total strong {
  color: var(--blue);
  font-size: 1.15rem;
}
.checkout-status--warn { color: #b42318; font-weight: 500; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.operator-numbers-label {
  margin: 0.5rem 0 0.2rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.operator-numbers {
  margin: 0 0 0.4rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  line-height: 1.35;
  white-space: pre-wrap;
  unicode-bidi: plaintext;
}
.operator-draw-hint {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.operator-upload-row {
  align-items: center;
}
.operator-file-visually-hidden {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.operator-file-wrap {
  position: relative;
  cursor: pointer;
  margin: 0;
  display: inline-flex;
  align-items: center;
}

.camera-modal {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.camera-modal.hidden { display: none; }
.camera-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.camera-modal-inner {
  position: relative;
  background: #111;
  border-radius: 12px;
  padding: 0.65rem;
  max-width: min(92vw, 520px);
  width: 100%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.camera-video {
  width: 100%;
  border-radius: 8px;
  background: #000;
  vertical-align: middle;
}
.camera-modal-actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.55rem;
}

.operator-page body { padding: 1rem 0 2rem; background: var(--cream, #f7f8fa); }
.operator-card { max-width: 780px; margin: 0 auto; background: #fff; padding: 1.25rem; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06); }
.operator-login label { display: block; margin: 0.5rem 0 0.2rem; font-weight: 600; }
.operator-login input[type="password"] { width: 100%; max-width: 280px; }
.operator-toolbar { margin: 1rem 0; display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.operator-orders { list-style: none; padding: 0; margin: 0; }
.operator-orders li { border: 1px solid var(--border); border-radius: 10px; padding: 0.75rem; margin-bottom: 0.6rem; }
.operator-order-item--scanned {
  background: #ecfff0;
  border-color: #b9e7c3 !important;
}
.operator-orders .row { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; justify-content: space-between; }
.operator-orders .meta { font-size: 0.9rem; color: var(--muted); }
.operator-demo-tag {
  display: inline-block;
  font-size: 0.72rem;
  color: #6b7280;
  border: 1px solid #d6d9df;
  background: #f7f8fa;
  border-radius: 999px;
  padding: 0.08rem 0.45rem;
  margin-inline-start: 0.35rem;
  vertical-align: middle;
}
.operator-order-details { margin-top: 0.45rem; }
.operator-order-details summary { cursor: pointer; font-weight: 700; color: #365784; }
.operator-order-details pre {
  margin: 0.35rem 0 0;
  white-space: pre-wrap;
  background: #f8fbff;
  border: 1px solid #d4e0f2;
  border-radius: 8px;
  padding: 0.55rem;
  font-size: 0.76rem;
  max-height: 220px;
  overflow: auto;
}
.operator-scan-input { max-width: 260px; }
.operator-scan-input--hidden { display: none; }
.operator-status { font-size: 0.85rem; margin-top: 0.35rem; }

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin-bottom: 0.75rem;
}
.footer-legal-links a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-legal-links a:hover { text-decoration: underline; }

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: 12px;
  padding: 0.5rem 0.85rem;
  background: var(--blue);
  color: var(--text-on-accent);
  font-weight: 700;
  border-radius: 8px;
  z-index: 100;
  transform: translateY(-120%);
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.legal-page-wrap {
  padding: 2rem 0 3rem;
  background: var(--bg);
  min-height: 55vh;
}
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  padding: 2rem 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 28px #1d2a4410;
}
.legal-page h1 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 0 0 0.5rem;
  color: var(--text);
  line-height: 1.25;
}
.legal-page h2 {
  font-size: 1.18rem;
  margin: 2rem 0 0.75rem;
  color: var(--blue);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.35rem;
}
.legal-page h2:first-of-type { margin-top: 1.25rem; }
.legal-page h3 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--text);
}
.legal-page p { margin: 0.65rem 0; }
.legal-page ul,
.legal-page ol {
  margin: 0.5rem 0;
  padding-inline-start: 1.35rem;
}
.legal-page li { margin: 0.35rem 0; }
.legal-page .legal-meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}
.legal-page .legal-note {
  background: #fff9e6;
  border: 1px solid #f5e0a8;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin: 1rem 0;
  font-size: 0.95rem;
}
.legal-page .placeholder {
  background: #eef4ff;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  font-weight: 600;
}
.legal-page code {
  font-size: 0.9em;
  background: #f0f4fc;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  font-family: ui-monospace, monospace;
}

.reveal { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 920px) {
  body:not(.home-page) main {
    padding-top: 3.35rem;
  }
  .site-logo-badge.site-logo-badge--hero {
    max-width: min(480px, 98vw);
    min-height: 76px;
    max-height: none;
    padding: 14px clamp(18px, 4.5vw, 36px);
    font-size: clamp(22px, 6.2vw, 42px);
    line-height: 1.18;
    white-space: normal;
    border-radius: 12px;
    box-shadow:
      0 8px 28px rgba(8, 40, 35, 0.4),
      0 3px 14px rgba(8, 80, 65, 0.2);
  }
  .hero-logo-slot {
    margin-bottom: 1.25rem;
  }
  body.home-page .hero {
    padding-top: 6.25rem;
  }
  .nav-wrap { flex-wrap: wrap; }
  .draws-grid, .products-grid, .personal-grid, .results-links { grid-template-columns: 1fr; }
  .builder-progress {
    gap: 0.24rem;
    margin-bottom: 0.85rem;
  }
  .page-order-fill #builder-progress.builder-progress--compact .progress-step::after {
    font-size: 0.54rem;
    top: 0.48rem;
  }
  .builder-progress .progress-step::after {
    font-size: 0.56rem;
    top: 0.5rem;
  }
  .numbers-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .builder-workspace { grid-template-columns: 1fr; }
  .auth-actions { flex-direction: column; }
  .ticket-main-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .lotto-layout-buttons { flex-direction: column; }
  .builder-quick-actions { flex-direction: column; }
  .lotto-tables-preview { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lotto-mode-buttons { grid-template-columns: 1fr; }
  .compact-inline-controls { grid-template-columns: 1fr; }
  .digit-buttons { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .chance-card-buttons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .chance-series-wrap { grid-template-columns: 1fr; }
  .chance-series-row { width: 100%; }
  .chance-ranks-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1.15rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0.25rem 0.35rem 0.3rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .chance-card-btn {
    flex: 0 0 auto;
    min-width: 3.15rem;
    padding-inline: 0.5rem;
  }
  .trust-strip { grid-template-columns: 1fr; }
  .hero-ball {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-canal-shine { opacity: 0.55; filter: blur(14px); }
  .hero-ball {
    animation: none !important;
    opacity: 0 !important;
    visibility: hidden;
  }
  .hero-brand-link:hover .site-logo-badge--hero {
    transform: none;
  }
}

/* -------------------------------------------------------------------------- */
/* AMM — פאנל מנהל: דשבורד מנהלתי (admin.html בלבד, html.admin-dashboard)    */
/* -------------------------------------------------------------------------- */

html.admin-dashboard body {
  background: #e4e9f2;
}

.admin-dashboard-wrap {
  max-width: 1140px;
}

.admin-dashboard-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #c5d0e0;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 22px 48px rgba(15, 41, 77, 0.14);
  background: var(--surface);
}

.admin-dashboard-hero {
  background: linear-gradient(128deg, #0c2744 0%, #164a72 42%, #12395a 100%);
  color: #f8fafc;
  padding: 1.35rem 1.6rem 1.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-dashboard-hero-inner {
  max-width: 42rem;
}

.admin-dashboard-eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.82;
  color: #bae6fd;
}

.admin-dashboard-title {
  margin: 0.35rem 0 0.2rem;
  font-size: clamp(1.45rem, 3.2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.02em;
}

.admin-dashboard-tagline {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.92);
}

.admin-dashboard-login {
  padding: 1.45rem 1.6rem 1.6rem;
  background: linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
  border-bottom: 1px solid #d8e2ef;
}

.admin-dashboard-login .table-count {
  max-width: 320px;
}

.admin-dashboard-login-actions.operator-toolbar {
  margin-top: 1rem;
  margin-bottom: 0.35rem;
}

.admin-dashboard-msg {
  margin-top: 0.65rem;
}

.admin-dashboard-app {
  padding: 1.2rem 1.5rem 1.85rem;
  background: linear-gradient(180deg, #eef2f8 0%, #e6ebf3 100%);
}

.admin-dashboard-top-band {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.75rem 1rem;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.admin-dashboard-toolbar.operator-toolbar {
  margin: 0;
  justify-content: flex-end;
  gap: 0.55rem;
  align-self: center;
  flex: 0 0 auto;
}

.admin-dashboard-top-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  flex: 1 1 280px;
  min-width: 0;
  max-width: min(100%, 620px);
}

.admin-dashboard-panel--compact.admin-dashboard-panel--top-list {
  margin-bottom: 0;
  padding: 0.55rem 0.72rem 0.62rem;
  min-width: 0;
}

.admin-dashboard-section-title--compact {
  margin: 0 0 0.38rem;
  padding-bottom: 0.28rem;
  font-size: 0.66rem;
  letter-spacing: 0.07em;
}

html.admin-dashboard .admin-dashboard-panel--top-list .admin-dashboard-list {
  max-height: 220px;
  overflow-y: auto;
  margin: 0;
  -webkit-overflow-scrolling: touch;
}

html.admin-dashboard .admin-dashboard-panel--top-list .admin-dashboard-list > li {
  font-size: 0.8rem;
  padding: 0.42rem 0.48rem;
  margin-bottom: 0.4rem;
}

html.admin-dashboard .admin-dashboard-panel--top-list .admin-dashboard-list > li:last-child {
  margin-bottom: 0;
}

.admin-dashboard-status {
  margin: 0 0 1.1rem;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #d0dae8;
  font-size: 0.9rem;
  color: #334155;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.admin-dashboard-panel {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #d5deeb;
  padding: 1.05rem 1.2rem 1.2rem;
  margin-bottom: 0.95rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.045);
}

.admin-dashboard-panel--kpi {
  border-top: 3px solid #1d6fb8;
}

.admin-dashboard-section-title {
  margin: 0 0 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid #e8edf4;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #0f2942;
  text-transform: uppercase;
}

.admin-dashboard-list {
  margin: 0;
}

html.admin-dashboard .admin-summary-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

html.admin-dashboard .admin-summary-row > li {
  margin-bottom: 0;
  padding: 0.75rem 0.55rem;
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #d0dae8;
  border-radius: 10px;
  box-shadow: inset 0 1px 0 #fff;
}

html.admin-dashboard .admin-summary-row > li strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 0.2rem;
  letter-spacing: 0.02em;
}

html.admin-dashboard .admin-dashboard-list > li {
  margin-bottom: 0.6rem;
  border-radius: 10px;
  border-color: #dce4ee;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.035);
}

html.admin-dashboard .admin-dashboard-list > li:last-child {
  margin-bottom: 0;
}

html.admin-dashboard #admin-withdrawals .operator-order-item {
  border-inline-start: 3px solid #2563eb;
}

html.admin-dashboard #admin-orders > li {
  border-inline-start: 3px solid #475569;
}

html.admin-dashboard #admin-wallets > li,
html.admin-dashboard #admin-customers > li {
  border-inline-start: 3px solid #0d7a55;
}

html.admin-dashboard .operator-order-item .operator-toolbar {
  margin: 0.85rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid #eef2f7;
  justify-content: flex-end;
}

html.admin-dashboard .operator-orders .meta {
  font-size: 0.86rem;
  color: #5c6578;
}

.withdraw-source-badge {
  display: inline-block;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  border: 1px solid transparent;
}

.withdraw-source-badge.is-topup {
  background: #e8f4ff;
  color: #0f4d8a;
  border-color: #bfdbfe;
}

.withdraw-source-badge.is-win {
  background: #e8fff2;
  color: #166534;
  border-color: #bbf7d0;
}

.withdraw-source-badge.is-both {
  background: #fff7e6;
  color: #9a3412;
  border-color: #fed7aa;
}

.withdraw-source-badge.is-unknown {
  background: #f3f4f6;
  color: #4b5563;
  border-color: #d1d5db;
}

@media (max-width: 900px) {
  html.admin-dashboard .admin-summary-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-dashboard-top-band {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-dashboard-toolbar.operator-toolbar {
    justify-content: flex-end;
    width: 100%;
  }

  .admin-dashboard-top-lists {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  html.admin-dashboard .admin-summary-row {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-top-lists {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-toolbar.operator-toolbar {
    justify-content: stretch;
  }

  .admin-dashboard-toolbar.operator-toolbar .small-cta {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
}

/* —— איך זה עובד (דף הבית) —— */
.hiw-section {
  padding: clamp(2.75rem, 6vw, 4.25rem) 0 clamp(3rem, 7vw, 4.5rem);
  background:
    linear-gradient(180deg, #eef4ff 0%, #f8faff 38%, #ffffff 100%);
  border-top: 1px solid rgba(47, 128, 237, 0.12);
  position: relative;
  overflow: hidden;
}
.hiw-section::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(ellipse at 50% 0%, rgba(91, 47, 143, 0.08) 0%, transparent 62%);
  pointer-events: none;
}
.hiw-wrap {
  width: min(920px, 92vw);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.hiw-hero {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 2.85rem);
}
.hiw-eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2f80ed;
  background: rgba(47, 128, 237, 0.1);
  border: 1px solid rgba(47, 128, 237, 0.22);
  border-radius: 999px;
}
.hiw-title {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 4.2vw, 2.15rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: #2a1650;
  max-width: 18ch;
  margin-inline: auto;
}
.hiw-lead {
  margin: 0 auto;
  max-width: 36rem;
  font-size: clamp(1.02rem, 2.4vw, 1.15rem);
  font-weight: 500;
  line-height: 1.65;
  color: #5c4588;
}

.hiw-steps {
  list-style: none;
  margin: 0 0 clamp(2rem, 4vw, 2.75rem);
  padding: 0;
  display: grid;
  gap: 1.1rem;
  counter-reset: hiw-step;
}
.hiw-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem 1.35rem;
  align-items: start;
  padding: 1.35rem 1.35rem 1.35rem 1.2rem;
  background: #ffffff;
  border: 1px solid rgba(74, 47, 130, 0.1);
  border-radius: 18px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 14px 36px rgba(42, 22, 80, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hiw-step:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 20px 44px rgba(42, 22, 80, 0.11);
}
.hiw-step__badge {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(145deg, #5b9cf5 0%, #2f80ed 55%, #1d5fbd 100%);
  box-shadow:
    0 4px 14px rgba(47, 128, 237, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}
.hiw-step:nth-child(2) .hiw-step__badge {
  background: linear-gradient(145deg, #9b6ee8 0%, #6b3fc4 55%, #4a2789 100%);
  box-shadow: 0 4px 14px rgba(107, 63, 196, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.hiw-step:nth-child(3) .hiw-step__badge {
  background: linear-gradient(145deg, #3ecf8e 0%, #27ae60 55%, #1a8a4a 100%);
  box-shadow: 0 4px 14px rgba(39, 174, 96, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.hiw-step:nth-child(4) .hiw-step__badge {
  background: linear-gradient(145deg, #f5b04a 0%, #e67e22 55%, #c45f12 100%);
  box-shadow: 0 4px 14px rgba(230, 126, 34, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.hiw-step__body {
  min-width: 0;
}
.hiw-step__title {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  font-weight: 800;
  color: #2a1650;
  line-height: 1.3;
}
.hiw-step__body p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.68;
  color: #4a3870;
}
.hiw-step__body p + p {
  margin-top: 0.65rem;
}
.hiw-step__accent {
  margin-top: 0.75rem !important;
  margin-bottom: 0.75rem !important;
  padding: 0.55rem 0.85rem;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.55;
  color: #3d2d66;
  text-align: center;
  background: linear-gradient(135deg, rgba(155, 110, 232, 0.1) 0%, rgba(47, 128, 237, 0.08) 100%);
  border: 1px solid rgba(107, 63, 196, 0.14);
  border-inline-start: 3px solid rgba(107, 63, 196, 0.45);
  border-radius: 10px;
}

.hiw-trust {
  margin: 0 0 clamp(2rem, 4vw, 2.5rem);
  padding: 1.5rem 1.45rem 1.4rem;
  background: linear-gradient(135deg, #f0faf4 0%, #ffffff 48%, #f5f9ff 100%);
  border: 1px solid rgba(39, 174, 96, 0.22);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(39, 174, 96, 0.08);
}
.hiw-trust__title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e5c38;
  line-height: 1.35;
}
.hiw-trust__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.hiw-trust__list li {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: #2d4a3a;
  padding: 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 10px;
  border: 1px solid rgba(39, 174, 96, 0.12);
}

.hiw-compare {
  margin-bottom: 2rem;
}
.hiw-compare__title {
  margin: 0 0 1.1rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #2a1650;
}
.hiw-compare__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 16px 40px rgba(42, 22, 80, 0.09);
}
.hiw-compare__table {
  width: 100%;
  min-width: 320px;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border: 1px solid rgba(74, 47, 130, 0.12);
  border-radius: 16px;
  overflow: hidden;
  font-size: 0.95rem;
}
.hiw-compare__caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hiw-compare__th,
.hiw-compare__row-label,
.hiw-compare__table td {
  padding: 0.85rem 1rem;
  text-align: center;
  vertical-align: middle;
}
.hiw-compare__th {
  font-weight: 800;
  font-size: 0.92rem;
  color: #ffffff;
  background: linear-gradient(180deg, #4a2f82 0%, #3a2268 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.hiw-compare__th--feature {
  width: 28%;
  background: linear-gradient(180deg, #5c4588 0%, #4a3570 100%);
}
.hiw-compare__th--brand {
  background: linear-gradient(180deg, #2f80ed 0%, #1d5fbd 100%);
}
.hiw-compare__row-label {
  text-align: right;
  font-weight: 700;
  color: #3a2860;
  background: #f7f5fc;
  border-bottom: 1px solid rgba(74, 47, 130, 0.08);
}
.hiw-compare__table tbody td {
  color: #4a3870;
  border-bottom: 1px solid rgba(74, 47, 130, 0.07);
  background: #ffffff;
}
.hiw-compare__table tbody tr:last-child th,
.hiw-compare__table tbody tr:last-child td {
  border-bottom: none;
}
.hiw-compare__table tbody tr:nth-child(even) td:not(.hiw-compare__highlight) {
  background: #faf9fd;
}
.hiw-compare__highlight {
  font-weight: 700;
  color: #1a4a9e;
  background: linear-gradient(180deg, #eef5ff 0%, #e3efff 100%) !important;
}

.hiw-cta-wrap {
  margin: 0;
  text-align: center;
}
.hiw-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 2rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a0a0c;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe8a8 0%, #e8b84a 45%, #c9972e 100%);
  border: 1px solid rgba(180, 130, 40, 0.45);
  box-shadow: 0 8px 24px rgba(180, 120, 30, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.hiw-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 12px 28px rgba(180, 120, 30, 0.34);
}
.hiw-cta:focus-visible {
  outline: 3px solid #2f80ed;
  outline-offset: 3px;
}

@media (min-width: 720px) {
  .hiw-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
  .hiw-step {
    height: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    text-align: center;
    padding: 1.5rem 1.35rem 1.4rem;
  }
  .hiw-step__badge {
    margin-inline: auto;
  }
  .hiw-trust__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

@media (max-width: 519px) {
  .hiw-step {
    grid-template-columns: auto 1fr;
    text-align: right;
  }
  .hiw-title {
    max-width: none;
  }
}
