/* 뭐든지 랜덤 — styles */

*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --bg: #0a0b0d;
  --panel: #12151a;
  --panel-2: #0e1116;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #eef1f5;
  --muted: #8b93a1;
  --dim: #5f6674;
  --accent: #d7ff5c;
  --radius: 22px;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  word-break: keep-all;
  overflow-wrap: break-word;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(820px 460px at 8% -12%, rgba(215, 255, 92, .11), transparent 62%),
    radial-gradient(680px 420px at 96% -6%, rgba(87, 199, 255, .09), transparent 62%),
    radial-gradient(600px 500px at 60% 110%, rgba(183, 156, 255, .07), transparent 65%);
}

button { font-family: inherit; }

/* ---------- layout ---------- */

.app {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  max-width: 1440px;
  margin: 0 auto;
  min-height: 100vh;
}

.side {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 30px 18px 22px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 6px;
}

.mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 32%, rgba(215, 255, 92, .20), rgba(215, 255, 92, .03) 72%);
  border: 1px solid rgba(215, 255, 92, .26);
  box-shadow: 0 10px 28px -12px rgba(215, 255, 92, .55), inset 0 0 16px rgba(215, 255, 92, .07);
  flex: none;
}

.mark img {
  width: 46px;
  height: 46px;
  display: block;
  filter: drop-shadow(0 0 7px rgba(215, 255, 92, .3));
}

.brand b {
  display: block;
  font-size: 16px;
  letter-spacing: -.02em;
}

.brand span {
  display: block;
  font-size: 11px;
  color: var(--dim);
  margin-top: 2px;
  letter-spacing: -.01em;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  /* 모든 OS에서 스크롤바 숨김 (맥은 원래 안 보이고 윈도우만 보였음) */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav.more {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 34px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 34px), transparent 100%);
}

.nav::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.nav-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 9px 10px 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  transition: background .16s, color .16s, border-color .16s, transform .16s;
}

.nav-item:hover {
  background: rgba(255, 255, 255, .045);
  color: var(--text);
}

.nav-item .ico {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex: none;
  filter: saturate(.9);
}

.nav-item .txt { min-width: 0; }

.nav-item b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-item i {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  color: var(--dim);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-item.on {
  background: rgba(255, 255, 255, .06);
  border-color: var(--line-strong);
  color: var(--text);
}

.nav-item.on b { color: #fff; }

.side-foot {
  margin-top: 0;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 6px;
}

.counter {
  font-size: 11.5px;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

.counter b {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.ghost-btn {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px dashed var(--line-strong);
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: .16s;
}

.ghost-btn:hover {
  border-style: solid;
  color: var(--text);
  background: rgba(255, 255, 255, .04);
}

.main {
  padding: 44px 46px 90px;
  min-width: 0;
}

/* ---------- panel ---------- */

.panel {
  max-width: 820px;
  margin: 0 auto;
  animation: fade .35s ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

.panel h1 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.panel .desc {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  max-width: 56ch;
  text-wrap: pretty;
}

/* ---------- stage ---------- */

.stage {
  position: relative;
  margin-top: 26px;
  padding: 38px 30px;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #13171d 0%, #0d1015 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .075) 1px, transparent 1px);
  background-size: 17px 17px;
  mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 78%);
  pointer-events: none;
}

.stage::after {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  width: 520px;
  height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(215, 255, 92, .07), transparent);
  pointer-events: none;
}

.stage-inner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.big {
  font-size: clamp(40px, 7.6vw, 72px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.04;
  text-align: center;
  word-break: break-word;
}

.big.sm { font-size: clamp(28px, 4.4vw, 42px); letter-spacing: -.03em; }

.big.mono {
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .06em;
  font-weight: 600;
}

.sub {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  letter-spacing: -.01em;
}

.tip {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--dim);
  text-align: center;
  max-width: 40ch;
  line-height: 1.6;
}

.res-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  margin-top: 6px;
}

.chip-res {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .045);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.chip-res i {
  font-style: normal;
  font-size: 11px;
  font-weight: 400;
  color: var(--dim);
}

.card-res {
  width: 100%;
  max-width: 420px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .035);
}

.card-res .k {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .08em;
}

.card-res .v {
  font-size: 11.5px;
  color: var(--dim);
  text-align: right;
  line-height: 1.5;
}

/* lotto */

.lotto {
  width: 100%;
  max-width: 470px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lotto-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 4px;
  border-radius: 12px;
}

.lotto-row .lbl {
  width: 22px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--dim);
  flex: none;
}

.balls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ball {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .22);
}

/* teams */

.teams {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.team {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .035);
}

.team h4 {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.team p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text);
}

/* meter */

.meter {
  width: 100%;
  max-width: 340px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.meter span {
  display: block;
  height: 100%;
  border-radius: 99px;
  transition: width .4s cubic-bezier(.2, .8, .2, 1);
}

/* numbers */

.nums {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 100%;
}

.num {
  min-width: 66px;
  height: 66px;
  padding: 0 14px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .05);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.nums.xl .num {
  min-width: 150px;
  height: 124px;
  font-size: 58px;
  border-radius: 24px;
  background: rgba(215, 255, 92, .09);
  border-color: rgba(215, 255, 92, .28);
  color: #eaffa8;
}

/* color */

.swatch-main {
  width: 100%;
  max-width: 460px;
  height: 172px;
  border-radius: 20px;
  display: flex;
  align-items: flex-end;
  padding: 16px 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 18px 40px -20px rgba(0, 0, 0, .8);
}

.palette {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 460px;
}

.sw {
  height: 62px;
  border-radius: 13px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 7px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}

/* outfit */

.look {
  width: 100%;
  max-width: 430px;
  display: flex;
  flex-direction: column;
}

.look-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}

.look-row:last-child { border-bottom: none; }

.look-row .k {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
  flex: none;
}

.look-row .v {
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  letter-spacing: -.01em;
}

/* ---------- actions ---------- */

.actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.draw-btn {
  flex: 1;
  height: 58px;
  border: none;
  border-radius: 16px;
  background: var(--accent);
  color: #0a0b0d;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: transform .14s, box-shadow .2s, filter .2s;
  box-shadow: 0 10px 30px -12px rgba(215, 255, 92, .5);
}

.draw-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.draw-btn:active { transform: scale(.985); }

.copy-btn {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-size: 17px;
  cursor: pointer;
  transition: .16s;
}

.copy-btn:hover { color: var(--text); background: rgba(255, 255, 255, .08); }

/* ---------- controls ---------- */

.controls {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 22px 30px;
  align-items: flex-start;
}

.ctrl { display: flex; flex-direction: column; gap: 9px; }
.ctrl.grow { flex: 1 1 100%; }

.ctrl.tight { width: 108px; }

.ctrl.tight input {
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: .02em;
}

.ctrl > label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
}

.chips { display: flex; flex-wrap: wrap; gap: 7px; }

.chip {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: .14s;
  letter-spacing: -.01em;
}

.chip:hover { border-color: var(--line-strong); color: var(--text); }

.chip.on {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0b0d;
}

input[type='text'],
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .035);
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
  transition: border-color .16s;
  resize: vertical;
}

input[type='text']:focus,
textarea:focus { border-color: var(--line-strong); }

input::placeholder,
textarea::placeholder { color: var(--dim); }

.range-row { display: flex; align-items: center; gap: 14px; }

input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 190px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .12);
  outline: none;
}

input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(215, 255, 92, .16);
}

.range-val {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  color: var(--text);
  min-width: 34px;
}

/* ---------- history ---------- */

.history {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 26px;
}

.history .hl {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-right: 2px;
}

.history .h-chip {
  padding: 5px 11px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  background: rgba(255, 255, 255, .025);
}

/* ---------- more ---------- */

.more { margin-top: 34px; }

.more-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 12px;
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.more-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: .16s;
}

.more-card:hover {
  background: rgba(255, 255, 255, .06);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.more-card .ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 15px;
  flex: none;
}

.more-card .txt { min-width: 0; flex: 1; }

.more-card b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.more-card i {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  color: var(--dim);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.more-card .arrow { color: var(--dim); font-size: 13px; transition: .16s; }
.more-card:hover .arrow { color: var(--accent); }

/* ---------- footer ---------- */

.foot {
  max-width: 820px;
  margin: 48px auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--dim);
  line-height: 1.75;
}

.foot-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.foot-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
}

.foot-title::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(215, 255, 92, .7);
  flex: none;
}

.foot-intro p {
  margin: 0;
  max-width: 50ch;
  color: var(--muted);
  text-wrap: pretty;
}

.foot-intro b {
  font-weight: 600;
  color: #b6bdc9;
}

.foot-intro .nb { white-space: nowrap; }

.foot-intro .count-num {
  color: var(--accent);
  font-weight: 700;
}

.foot-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
}

.foot-list li {
  position: relative;
  padding-left: 15px;
}

.foot-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-strong);
}

.foot-list b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #b6bdc9;
  letter-spacing: -.005em;
}

.foot-list span {
  display: block;
  font-size: 11.5px;
  color: #6f7684;
}

.foot-base {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11.5px;
}

.keys {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

kbd {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .05);
  color: var(--muted);
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 14px);
  padding: 11px 20px;
  border-radius: 12px;
  background: #f2f4f7;
  color: #0a0b0d;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: .24s cubic-bezier(.2, .8, .2, 1);
  z-index: 99;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- animation ---------- */

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes up {
  from { opacity: 0; transform: translateY(10px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

.reveal { animation: up .42s cubic-bezier(.2, .8, .2, 1) both; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }

  .side {
    position: relative;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 20px 16px 14px;
    gap: 14px;
  }

  .nav {
    flex-direction: row;
    flex: none;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 6px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar { display: none; }

  .nav.more {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent 100%);
    mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent 100%);
  }

  .nav-label { display: none; }

  .nav-item {
    width: auto;
    flex: none;
    padding: 8px 12px 8px 8px;
    border-radius: 999px;
    border-color: var(--line);
  }

  .nav-item i { display: none; }
  .nav-item b { font-size: 12.5px; }

  .side-foot { flex-direction: row; align-items: center; padding: 0; }
  .counter { flex: 1; }
  .ghost-btn { width: auto; padding: 8px 14px; font-size: 11.5px; }

  .main { padding: 28px 18px 70px; }
  .keys { display: none; }

  .foot { margin-top: 38px; padding-top: 22px; }
  .foot-main { grid-template-columns: 1fr; gap: 24px; }
  .foot-intro p { max-width: none; }
  .foot-base { flex-direction: column; align-items: flex-start; gap: 6px; }
  .stage { padding: 30px 18px; min-height: 210px; border-radius: 18px; }
  .controls { gap: 18px 22px; }
  .copy-btn { width: 54px; height: 54px; }
  .draw-btn { height: 54px; }
  .ball { width: 36px; height: 36px; font-size: 13px; }
  .lotto-row { gap: 10px; }

  .num { min-width: 56px; height: 56px; font-size: 18px; border-radius: 13px; }
  .nums.xl .num { min-width: 130px; height: 100px; font-size: 46px; }
  .swatch-main { height: 140px; }
  .sw { height: 54px; }
  .ctrl.tight { width: 88px; }
}
