@font-face {
  font-family: 'Jua';
  src: url('./fonts/Jua-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard Variable';
  src: url('./fonts/PretendardVariable.woff2') format('woff2');
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}
body { font-family: 'Pretendard Variable', 'Malgun Gothic', sans-serif; font-synthesis: none; font-weight: 500; }
button, select, input, textarea { font-family: inherit; }
h1, h2, h3, strong, summary, .setupGrid label { font-weight: 700; }
#startPanel h1 { font-family: 'Jua', 'Malgun Gothic', sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25; }
.setupGrid > *, .row > * { min-width: 0; }
.setupGrid label, .playPolicy, .small, .subtitle { overflow-wrap: anywhere; line-height: 1.5; }
.setupGrid .check input { flex: 0 0 20px; }
.selectField { position: relative; display: block; min-width: 0; width: 100%; border: 1px solid #ccd9cc; border-radius: 12px; background: white; color: var(--ink); }
.selectField::after { content: ''; position: absolute; right: 15px; top: 50%; width: 8px; height: 8px; border-right: 2px solid #568377; border-bottom: 2px solid #568377; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.selectValue { display: block; padding: 11px 38px 11px 12px; min-height: 48px; font-size: 17px; line-height: 1.5; white-space: nowrap; overflow: hidden; overflow-wrap: anywhere; font-weight: 650; pointer-events: none; }
.setupGrid .check:has(.fitText) { grid-column: 1 / -1; }
.setupGrid .check .fitText { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; }
.selectField select, #startPanel .row .selectField select { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.selectField:focus-within { outline: 3px solid #edb04d; outline-offset: 3px; }
#startPanel .row .selectField { flex: 1 1 220px; }
@media (max-width: 600px) {
  #startPanel .setupGrid { grid-template-columns: minmax(0,1fr); gap: 14px; }
  #startPanel .card { padding: 16px; }
  #startPanel .setupGrid .check { align-items: flex-start; }
  #startPanel .row .selectField { flex-basis: 100%; }
  #startPanel h1 { font-size: clamp(30px,8vw,38px); }
  .setupHeading h2 { line-height: 1.4; }
}
