.mobile-shell .mp-shell.game-jodi_bulk {
  --jb-brand: var(--theme-primary,#007c76); --jb-deep: var(--theme-primary-deep,#00615d);
  --jb-accent: var(--theme-accent,#ffd24a); --jb-ink: #173447; --jb-muted: #607581;
  --jb-surface: #fff; --jb-soft: color-mix(in srgb,var(--jb-brand) 7%,white);
  --jb-line: color-mix(in srgb,var(--jb-brand) 22%,white);
  --jb-shadow: color-mix(in srgb,var(--jb-deep) 14%,transparent);
  background: linear-gradient(var(--jb-soft),#f6f9fb); color: var(--jb-ink);
}
html[data-app-theme=neon] .mobile-shell .mp-shell.game-jodi_bulk {
  --jb-ink: #e6f3fc; --jb-muted: #b4c7d6; --jb-surface: #142332; --jb-soft: #1a2d40;
  --jb-line: color-mix(in srgb,var(--jb-brand) 45%,#203043); background: #0e1824;
}
.mobile-shell .game-jodi_bulk .mp-header { min-height: 56px; padding: 7px 10px !important; gap: 7px; border-radius: 0 0 17px 17px; background: radial-gradient(ellipse at 12% 0,#ffffff26,transparent 65%),linear-gradient(120deg,var(--jb-brand),var(--jb-deep)) !important; }
.mobile-shell .game-jodi_bulk .mp-header h1 { color: white !important; font: 900 clamp(14px,4vw,18px)/1.15 Arial,sans-serif; white-space: normal; overflow-wrap: anywhere; }
.mobile-shell .game-jodi_bulk .mp-back { width: 30px; height: 32px; }
.mobile-shell .game-jodi_bulk .mp-wallet-pill { min-height: 32px !important; padding: 0 8px; font-size: 11px; background: color-mix(in srgb,var(--jb-deep) 78%,black); }
.mobile-shell .game-jodi_bulk .mp-content { padding: 10px 10px 112px !important; }
.mobile-shell .game-jodi_bulk .jb-controls { display: grid; grid-template-columns: minmax(85px,1fr) minmax(0,1.65fr); gap: 8px; padding: 10px; border: 1px solid var(--jb-line); border-radius: 15px; background: var(--jb-surface); box-shadow: 0 4px 12px var(--jb-shadow); }
.mobile-shell .game-jodi_bulk .jb-points-label { display: flex; flex-direction: column; gap: 4px; min-width: 0; font: 700 10px Arial,sans-serif; color: var(--jb-muted); }
.mobile-shell .game-jodi_bulk .jb-points-label input { width: 100%; min-width: 0; height: 39px; padding: 0 9px; border: 1px solid var(--jb-line); border-radius: 10px; color: var(--jb-ink); background: var(--jb-soft); font: 800 18px Arial,sans-serif; }
.mobile-shell .game-jodi_bulk .jb-modes { display: flex; align-items: end; gap: 5px; }
.mobile-shell .game-jodi_bulk .jb-modes button { flex: 1; min-width: 0; min-height: 39px; padding: 5px; font: 800 11px Arial,sans-serif; border: 1px solid var(--jb-line); border-radius: 10px; background: var(--jb-soft); color: var(--jb-brand); }
.mobile-shell .game-jodi_bulk .jb-presets { grid-column: 1/-1; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; }
.mobile-shell .game-jodi_bulk .jb-presets button { min-height: 30px; border: 1px solid var(--jb-line); border-radius: 8px; background: var(--jb-surface); color: var(--jb-brand); font: 800 12px Arial,sans-serif; }
.mobile-shell .game-jodi_bulk .jb-modes [aria-pressed=true],
.mobile-shell .game-jodi_bulk .jb-presets [aria-pressed=true],
.mobile-shell .game-jodi_bulk .jb-filters [aria-pressed=true] { color: white; background: linear-gradient(135deg,var(--jb-brand),var(--jb-deep)); border-color: transparent; box-shadow: inset 0 1px 0 #ffffff55,0 3px 8px var(--jb-shadow); }
.mobile-shell .game-jodi_bulk .jb-help { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: 8px 0; font: 600 10px Arial,sans-serif; color: var(--jb-muted); }
.mobile-shell .game-jodi_bulk .jb-help button { min-height: 32px; border: 1px solid var(--jb-line); border-radius: 9px; padding: 5px 10px; background: var(--jb-surface); color: var(--jb-brand); font: 800 11px Arial,sans-serif; }
.mobile-shell .game-jodi_bulk .jb-help button:disabled { opacity: .5; }
.mobile-shell .game-jodi_bulk .jb-filters { display: grid; grid-template-columns: 1.35fr repeat(10,minmax(0,1fr)); gap: 3px; padding: 6px; border: 1px solid var(--jb-line); border-radius: 12px; background: var(--jb-surface); }
.mobile-shell .game-jodi_bulk .jb-filters button { min-width: 0; min-height: 34px; padding: 3px 0; border: 1px solid var(--jb-line); border-radius: 8px; background: var(--jb-soft); color: var(--jb-brand); font: 800 12px Arial,sans-serif; }
.mobile-shell .game-jodi_bulk .jb-filters button:first-child { font-size: 10px; }
.mobile-shell .game-jodi_bulk .jb-hint { margin: 8px 1px 10px; color: var(--jb-muted); font: 500 10px/1.4 Arial,sans-serif; }
.mobile-shell .game-jodi_bulk .jb-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px 6px; margin-bottom: 12px; }
.mobile-shell .game-jodi_bulk .jb-tile { position: relative; isolation: isolate; min-width: 0; min-height: 60px; padding: 8px 2px 20px; border: 1px solid var(--jb-line); border-bottom-width: 3px; border-radius: 13px; background: linear-gradient(145deg,var(--jb-surface),var(--jb-soft)); color: var(--jb-brand); box-shadow: 0 4px 9px var(--jb-shadow),inset 0 1px 0 #ffffff66; cursor: pointer; transition: transform 100ms ease,box-shadow 100ms ease; }
.mobile-shell .game-jodi_bulk .jb-tile strong { font: 900 21px/1.2 Arial,sans-serif; }
.mobile-shell .game-jodi_bulk .jb-tile.tinted { background: color-mix(in srgb,var(--jb-brand) 18%,var(--jb-surface)); }
.mobile-shell .game-jodi_bulk .jb-tile.series-start { border-color: var(--jb-accent); box-shadow: 0 0 0 1px color-mix(in srgb,var(--jb-accent) 65%,transparent),0 4px 9px var(--jb-shadow); }
.mobile-shell .game-jodi_bulk .jb-tile.selected { background: linear-gradient(140deg,var(--jb-brand),var(--jb-deep)); color: white; border-color: var(--jb-deep); }
.mobile-shell .game-jodi_bulk .jb-tile strong { color: inherit !important; }
.mobile-shell .game-jodi_bulk .jb-tile.selected { color: white !important; }
.mobile-shell .game-jodi_bulk .jb-tile:active { transform: translateY(2px) scale(.96); }
.mobile-shell .game-jodi_bulk .jb-badge { position: absolute; bottom: 4px; left: 4px; right: 4px; min-height: 16px; padding: 2px; border-radius: 6px; background: var(--jb-accent); color: #493400; font: 800 10px/1.15 Arial,sans-serif; overflow-wrap: anywhere; }
.mobile-shell .game-jodi_bulk .jb-selection { margin: 10px 0; padding: 10px; border: 1px solid var(--jb-line); border-radius: 13px; background: var(--jb-surface); }
.mobile-shell .game-jodi_bulk .jb-selection-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; color: var(--jb-muted); font: 500 10px Arial,sans-serif; }
.mobile-shell .game-jodi_bulk .jb-selection-head strong { color: var(--jb-ink); font-size: 12px; }
.mobile-shell .game-jodi_bulk .jb-selection-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mobile-shell .game-jodi_bulk .jb-selection-list button { display: flex; align-items: center; gap: 7px; min-height: 36px; padding: 5px 7px; border: 1px solid var(--jb-line); border-radius: 9px; background: var(--jb-soft); color: var(--jb-ink); font: 700 12px Arial,sans-serif; }
.mobile-shell .game-jodi_bulk .jb-selection-list b { color: var(--jb-brand); }
.mobile-shell .game-jodi_bulk .jb-selection-list i { font-style: normal; color: var(--jb-brand); }
.mobile-shell .game-jodi_bulk .jb-selection > p { margin: 10px 0 0; color: var(--jb-muted); font-size: 11px; }
.mobile-shell .game-jodi_bulk .jb-type-panel { padding: 12px; border: 1px solid var(--jb-line); border-radius: 13px; background: var(--jb-surface); }
.mobile-shell .game-jodi_bulk .jb-type-panel label { font: 800 12px Arial,sans-serif; color: var(--jb-ink); }
.mobile-shell .game-jodi_bulk .jb-type-panel input { width: 100%; min-width: 0; min-height: 44px; margin-top: 8px; padding: 8px; border: 1px solid var(--jb-line); border-radius: 10px; background: var(--jb-soft); color: var(--jb-ink); font-size: 16px; }
.mobile-shell .game-jodi_bulk .jb-type-panel p { color: var(--jb-muted); font: 500 10px/1.5 Arial,sans-serif; }
.mobile-shell .game-jodi_bulk .mp-bottom-bar { min-height: 62px; padding: 8px 10px; background: var(--jb-surface); color: var(--jb-muted); gap: 12px; border-top: 1px solid var(--jb-line); }
.mobile-shell .game-jodi_bulk .mp-bottom-bar .mp-stat strong { color: var(--jb-ink); }
.mobile-shell .game-jodi_bulk .mp-submit-btn { min-height: 44px; border-radius: 12px; background: linear-gradient(120deg,var(--jb-brand),var(--jb-deep)) !important; }
.mobile-shell .game-jodi_bulk .jb-editor { width: min(350px,calc(100vw - 28px)); max-height: calc(100dvh - 30px); margin: auto; padding: 18px; overflow-y: auto; border: 1px solid var(--jb-line); border-radius: 20px; color: var(--jb-ink); background: var(--jb-surface); box-shadow: 0 20px 70px #0005; }
.mobile-shell .game-jodi_bulk .jb-editor::backdrop { background: #07192399; backdrop-filter: blur(3px); }
.mobile-shell .game-jodi_bulk .jb-editor form { display: flex; flex-direction: column; gap: 8px; }
.mobile-shell .game-jodi_bulk .jb-editor h2 { margin: 0; font: 800 19px Arial,sans-serif; color: var(--jb-ink); }
.mobile-shell .game-jodi_bulk .jb-editor p { margin: 0 0 4px; font-size: 11px; color: var(--jb-muted); }
.mobile-shell .game-jodi_bulk .jb-editor label { font-size: 12px; font-weight: 700; }
.mobile-shell .game-jodi_bulk .jb-editor input,
.mobile-shell .game-jodi_bulk .jb-editor select { width: 100%; min-height: 44px; padding: 8px; border: 1px solid var(--jb-line); border-radius: 10px; font-size: 16px; background: var(--jb-soft); color: var(--jb-ink); }
.mobile-shell .game-jodi_bulk #jb-edit-error { min-height: 28px; font: 500 11px/1.4 Arial,sans-serif; color: #b4233b; }
.mobile-shell .game-jodi_bulk .jb-editor-actions { display: flex; gap: 8px; }
.mobile-shell .game-jodi_bulk .jb-editor-actions button { flex: 1; min-height: 44px; padding: 7px; border: 1px solid var(--jb-line); border-radius: 10px; background: var(--jb-soft); color: var(--jb-brand); font-weight: 800; }
.mobile-shell .game-jodi_bulk .jb-editor-actions button[type=submit] { background: var(--jb-brand); color: white; }
.mobile-shell .game-jodi_bulk .jb-remove { min-height: 40px; border: 1px solid #efc9d0; border-radius: 10px; background: #fff1f2; color: #a52d43; font-weight: 700; }
.mobile-shell .game-jodi_bulk button:focus-visible,
.mobile-shell .game-jodi_bulk input:focus-visible { outline: 2px solid var(--jb-brand); outline-offset: 2px; }
@media (prefers-reduced-motion:reduce) { .mobile-shell .game-jodi_bulk .jb-tile { transition: none; } }
html[data-app-theme=neon] .mobile-shell .game-jodi_bulk .jb-tile:not(.selected),
html[data-app-theme=neon] .mobile-shell .game-jodi_bulk .jb-modes [aria-pressed=false],
html[data-app-theme=neon] .mobile-shell .game-jodi_bulk .jb-presets [aria-pressed=false],
html[data-app-theme=neon] .mobile-shell .game-jodi_bulk .jb-filters [aria-pressed=false],
html[data-app-theme=neon] .mobile-shell .game-jodi_bulk .jb-help button,
html[data-app-theme=neon] .mobile-shell .game-jodi_bulk .jb-selection-list b,
html[data-app-theme=neon] .mobile-shell .game-jodi_bulk .jb-selection-list i,
html[data-app-theme=neon] .mobile-shell .game-jodi_bulk .jb-editor-actions button[type=button] { color: #c3f5ef; }

/* Match the large Single Digit Bulk dialer, retaining the tenant palette. */
.mobile-shell .mp-shell.game-jodi_bulk { min-height: calc(100dvh - 72px); padding-bottom: 150px; }
.mobile-shell .game-jodi_bulk .mp-header { min-height: 68px !important; padding: 9px 12px !important; border-radius: 0 0 22px 22px; }
.mobile-shell .game-jodi_bulk .mp-header h1::after { content: 'Jodi Bulk'; display: block; margin-top: 4px; color: #fff; font: 600 10px/1.1 Arial,sans-serif; letter-spacing: .025em; opacity: .9; }
.mobile-shell .game-jodi_bulk .mp-content { padding: 16px 12px 12px !important; }
.mobile-shell .game-jodi_bulk .jb-controls { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.mobile-shell .game-jodi_bulk .jb-points-label,
.mobile-shell .game-jodi_bulk .jb-session-label { display: flex; flex-direction: column; min-width: 0; gap: 6px; color: var(--jb-ink); font: 800 11px/1.2 Arial,sans-serif; }
.mobile-shell .game-jodi_bulk .jb-points-label input,
.mobile-shell .game-jodi_bulk .jb-session-label input { width: 100%; min-width: 0; height: 44px; min-height: 44px; padding: 0 12px; margin: 0; border: 1px solid var(--jb-line); border-radius: 12px; box-shadow: 0 3px 10px var(--jb-shadow); background: var(--jb-surface); color: var(--jb-ink); font: 800 16px/1.2 Arial,sans-serif; }
.mobile-shell .game-jodi_bulk .jb-more-options { margin-top: 7px; color: var(--jb-muted); font: 600 10px Arial,sans-serif; }
.mobile-shell .game-jodi_bulk .jb-more-options summary { width: max-content; min-height: 30px; padding: 8px 2px; cursor: pointer; }
.mobile-shell .game-jodi_bulk .jb-more-options[open] { padding-bottom: 8px; }
.mobile-shell .game-jodi_bulk .jb-more-options .jb-presets { margin-top: 7px; }
.mobile-shell .game-jodi_bulk .jb-help { margin: 1px 0 8px; min-height: 36px; }
.mobile-shell .game-jodi_bulk .jb-help button { min-height: 36px; padding: 0 12px; font-size: 12px; }
.mobile-shell .game-jodi_bulk .jb-grid { width: 100%; max-width: 420px; margin: 0 auto 16px; padding: 2px 2px 5px; grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-rows: clamp(64px,9.6dvh,84px); gap: 11px 12px; }
.mobile-shell .game-jodi_bulk .jb-tile,
.mobile-shell .game-jodi_bulk .jb-tile.tinted,
.mobile-shell .game-jodi_bulk .jb-tile.series-start { width: 100%; min-height: 64px; height: 100%; padding: 0 0 5px; border: 1px solid var(--jb-surface); border-radius: 20px; background: linear-gradient(145deg,var(--jb-surface),color-mix(in srgb,var(--jb-brand) 10%,var(--jb-surface))); color: var(--jb-brand); box-shadow: inset 0 2px 1px #ffffff99,0 4px 0 var(--jb-line),0 7px 13px var(--jb-shadow); }
.mobile-shell .game-jodi_bulk .jb-tile strong { font: 900 31px/1 Arial,sans-serif; font-variant-numeric: tabular-nums; }
.mobile-shell .game-jodi_bulk .jb-grid .jb-tile:last-child:nth-child(3n + 1) { grid-column: 2; }
.mobile-shell .game-jodi_bulk .jb-tile.selected { color: white !important; background: linear-gradient(145deg,color-mix(in srgb,var(--jb-brand) 80%,white),var(--jb-deep)) !important; border-color: var(--jb-brand); box-shadow: inset 0 1px 0 #ffffff66,0 4px 0 var(--jb-deep),0 8px 16px var(--jb-shadow); }
.mobile-shell .game-jodi_bulk .jb-badge { inset: 7px 8px auto auto; display: grid; place-items: center; min-width: 22px; height: 22px; max-width: calc(100% - 16px); padding: 0 5px; border-radius: 999px; background: #ffe8a0; color: #624312; border: 1px solid #fff4cc; font: 800 11px/1 Arial,sans-serif; animation: jb-badge-in 160ms ease-out; }
.mobile-shell .game-jodi_bulk .jb-tile:active { transform: translateY(3px) scale(.97); box-shadow: inset 0 1px 2px var(--jb-shadow),0 1px 0 var(--jb-line); }
.mobile-shell .game-jodi_bulk .mp-bottom-bar { width: min(456px,calc(100vw - 20px)); bottom: calc(78px + env(safe-area-inset-bottom,0px)); padding: 9px 12px; gap: 14px; border: 1px solid var(--jb-line); border-radius: 17px; box-shadow: 0 5px 20px var(--jb-shadow); }
.mobile-shell .game-jodi_bulk .mp-bottom-bar .mp-stat { font-size: 11px; }
.mobile-shell .game-jodi_bulk .mp-bottom-bar .mp-stat strong { display: inline; font-size: 18px; }
@keyframes jb-badge-in { from { transform: scale(.7); opacity: .4; } to { transform: scale(1); opacity: 1; } }
@media (max-height:700px) { .mobile-shell .game-jodi_bulk .jb-grid { grid-auto-rows: 64px; gap: 9px 11px; } .mobile-shell .game-jodi_bulk .jb-tile strong { font-size: 28px; } .mobile-shell .game-jodi_bulk .mp-content { padding-top: 10px !important; } }
@media (prefers-reduced-motion:reduce) { .mobile-shell .game-jodi_bulk .jb-badge { animation: none; } }
