/* One-click publishing's number picker only (native picker and Vue fallback).
   Fresh baseline: current.js / current-base.css downloaded 2026-11-03.
   Keep the title and all actions outside the grid's emergency overflow area. */
.pool-modal-mask[data-v-a627e79b] {
  --lauren-pool-fit-gap: 8px;
  --lauren-pool-fit-ball: min(40px, calc((100vw - 100px) / 7), calc((100vh - 180px) / 7));
  box-sizing: border-box;
  align-items: flex-end;
  justify-content: center;
  padding: max(10px, env(safe-area-inset-top, 0px)) max(10px, env(safe-area-inset-right, 0px)) max(10px, env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px));
  overflow: hidden;
  overscroll-behavior: contain;
}
@supports (height: 100dvh) {
  .pool-modal-mask[data-v-a627e79b] {
    --lauren-pool-fit-ball: min(40px, calc((100vw - 100px) / 7), calc((100dvh - 180px) / 7));
  }
}
.pool-modal-mask[data-v-a627e79b] .pool-modal {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  max-width: 420px;
  min-height: 0;
  max-height: calc(100vh - max(10px, env(safe-area-inset-top, 0px)) - max(10px, env(safe-area-inset-bottom, 0px)));
  margin: 0;
  padding: 12px;
  overflow: hidden;
}
@supports (height: 100dvh) {
  .pool-modal-mask[data-v-a627e79b] .pool-modal {
    max-height: calc(100dvh - max(10px, env(safe-area-inset-top, 0px)) - max(10px, env(safe-area-inset-bottom, 0px)));
  }
}
.pool-modal-mask[data-v-a627e79b] .pool-modal-title {
  flex: 0 0 auto;
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 22px;
}
.pool-modal-mask[data-v-a627e79b] .pool-modal-grid {
  display: grid;
  flex: 0 1 auto;
  min-height: 0;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-auto-rows: var(--lauren-pool-fit-ball);
  gap: var(--lauren-pool-fit-gap);
  margin: 0 -4px;
  padding: 4px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
/* The 0–9 position picker keeps its familiar two rows where :has is available.
   Older WebViews retain a usable, compact seven-column fallback. */
@supports selector(:has(*)) {
  .pool-modal-mask[data-v-a627e79b] .pool-modal-grid:not(:has(> .pool-number[class*="ball-"])) {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.pool-modal-mask[data-v-a627e79b] .pool-number {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: var(--lauren-pool-fit-ball);
  min-height: 0;
  margin: 0;
  padding: 0;
  font-size: clamp(11px, 3.5vw, 14px);
  line-height: var(--lauren-pool-fit-ball);
  transform: none;
}
.pool-modal-mask[data-v-a627e79b] .pool-number[class*="ball-"] {
  justify-self: center;
  width: var(--lauren-pool-fit-ball);
  height: var(--lauren-pool-fit-ball);
  border-radius: 50%;
  line-height: var(--lauren-pool-fit-ball);
}
.pool-modal-mask[data-v-a627e79b] .pool-number { --lauren-pool-fit-tone: #dc2f37; }
.pool-modal-mask[data-v-a627e79b] .pool-number.ball-red { --lauren-pool-fit-tone: #e60012; }
.pool-modal-mask[data-v-a627e79b] .pool-number.ball-blue { --lauren-pool-fit-tone: #1f5fd1; }
.pool-modal-mask[data-v-a627e79b] .pool-number.ball-green { --lauren-pool-fit-tone: #12a852; }
.pool-modal-mask[data-v-a627e79b] .pool-number.active {
  transform: none !important;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--lauren-pool-fit-tone), inset 0 0 0 2px rgba(255, 255, 255, .9) !important;
}
.pool-modal-mask[data-v-a627e79b] .pool-modal-actions {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  padding: 0;
  background: #fff;
}
.pool-modal-mask[data-v-a627e79b] .pool-modal-actions button {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 40px;
  min-height: 40px;
  margin: 0;
  padding: 0 8px;
  font-size: 14px;
  line-height: 40px;
}
@media (max-height: 560px) {
  .pool-modal-mask[data-v-a627e79b] { --lauren-pool-fit-gap: 6px; }
  .pool-modal-mask[data-v-a627e79b] .pool-modal { padding: 10px 12px; }
  .pool-modal-mask[data-v-a627e79b] .pool-modal-title { margin-bottom: 7px; font-size: 15px; line-height: 20px; }
  .pool-modal-mask[data-v-a627e79b] .pool-modal-actions { margin-top: 9px; }
  .pool-modal-mask[data-v-a627e79b] .pool-modal-actions button { height: 36px; min-height: 36px; line-height: 36px; }
}
