* { box-sizing: border-box; }
body {
  margin: 0; background: #f2f3f7; color: #1c1d22;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  line-height: 1.5; word-break: keep-all;
}
[hidden] { display: none !important; }
.phone { max-width: 420px; min-height: 100vh; margin: 0 auto; padding: 16px; background: #fff; }
.brand { font-weight: 800; color: #5b3df5; padding-bottom: 12px; border-bottom: 1px solid #ececf2; margin-bottom: 20px; }
.fake { font-weight: 400; font-size: 12px; color: #5f6170; margin-left: 6px; }
h1 { font-size: 24px; margin: 24px 0 8px; }
h2 { font-size: 20px; margin: 16px 0 8px; }
.note { color: #6b6d7a; font-size: 14px; margin: 8px 0 16px; }
a { color: #5b3df5; }

.btn { font: inherit; border: 0; border-radius: 12px; cursor: pointer; }
.btn-big { display: block; width: 100%; min-height: 52px; margin: 12px 0; padding: 12px; font-size: 17px; font-weight: 700; color: #fff; background: #5b3df5; }
.btn-tiny { display: block; margin: 14px auto; padding: 6px 10px; border: 0; background: none; font: inherit; font-size: 12px; color: #a3a5b1; text-decoration: underline; cursor: pointer; }
.btn-plain { display: block; width: 100%; min-height: 44px; margin: 12px 0; padding: 10px; font-size: 16px; color: #5b3df5; background: #f2f3f7; }
.row { display: flex; gap: 10px; }
.slot { min-height: 76px; }

.status { display: flex; justify-content: space-between; font-size: 14px; color: #6b6d7a; font-variant-numeric: tabular-nums; }
.menu { display: flex; flex-direction: column; }
.menu-item { min-height: 44px; padding: 10px 4px; border: 0; border-bottom: 1px solid #ececf2; background: none; font: inherit; font-size: 16px; text-align: left; color: inherit; cursor: pointer; }
.menu-faint { min-height: 0; border-bottom: 0; font-size: 11px; color: #c3c5cf; }
.check { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; }
.check input { width: 20px; height: 20px; }

.bar { height: 10px; border-radius: 5px; background: #ececf2; overflow: hidden; margin: 16px 0; }
.bar-fill { width: 0; height: 100%; background: #5b3df5; transition: width 1.5s ease-out; }

.toast { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); padding: 10px 18px; border-radius: 20px; background: #1c1d22; color: #fff; font-size: 15px; white-space: nowrap; }
.fallback { width: 100%; padding: 10px; font: inherit; font-size: 14px; border: 1px solid #d5d7e0; border-radius: 8px; }

.cards { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.card { display: block; padding: 16px; border-radius: 14px; background: #f2f3f7; color: inherit; text-decoration: none; }
.card strong { display: block; font-size: 18px; }
.card span { font-size: 14px; color: #6b6d7a; }
.card-soon { opacity: 0.55; }

.countdown { margin: 8px 0; font-size: 56px; font-weight: 800; text-align: center; color: #e5484d; font-variant-numeric: tabular-nums; }
.terms { height: 240px; overflow-y: auto; padding: 12px; border: 1px solid #d5d7e0; border-radius: 8px; font-size: 13px; color: #6b6d7a; }
.terms p { margin: 0 0 14px; }
.inline-link { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pad-key { min-height: 56px; font-size: 20px; font-weight: 700; background: #f2f3f7; color: #1c1d22; }
.pad-hot { background: #5b3df5; color: #fff; }
.grade { margin: 16px 0 0; font-size: 30px; font-weight: 800; color: #5b3df5; }
.row .btn-big { flex: 1; }
