/* 업장 전용 계좌이체 안내 — 스타일 (외부 폰트·라이브러리 없음) */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --ink: #0f172a;
  --ink2: #475569;
  --ink3: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --brand: #0f766e;
  --brand2: #115e59;
  --soft: #f0fdfa;
  --warn: #b45309;
  --warnbg: #fffbeb;
}
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  line-height: 1.5;
}
.wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 20px 16px 44px;
}
.pay-t {
  font-size: 15px;
  color: var(--ink2);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.hidden { display: none !important; }
button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
}

/* ── 수취 계좌 카드 ── */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.rcard {
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}
.r-head {
  background: var(--brand);
  color: #fff;
  padding: 15px 18px;
}
.r-label {
  font-size: 11px;
  opacity: 0.9;
  font-weight: 600;
}
.r-name {
  font-size: 19px;
  font-weight: 800;
  margin-top: 2px;
  letter-spacing: -0.02em;
}
.r-acc {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 18px;
  text-align: left;
  background: var(--white);
}
.r-acc:active { background: var(--bg); }
.r-acc .bank {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink2);
  flex: 0 0 auto;
}
.r-acc .no {
  flex: 1 1 auto;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  word-break: break-all;
  font-variant-numeric: tabular-nums;
}
.r-acc .pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 34px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  border: 1.5px solid var(--brand);
  border-radius: 999px;
  background: var(--soft);
}
.r-acc .pill.on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* ── 은행 버튼 그리드 ── */
.bankwrap { margin-top: 20px; }
.bankhead {
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}
.bankhint {
  font-size: 12.5px;
  color: var(--ink2);
  text-align: center;
  margin-top: 3px;
}
.bgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.bk {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 70px;
  padding: 10px 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.bk-featured {
  border-color: #99f6e4;
  background: #f8fffe;
}
.bk:active {
  border-color: var(--brand);
  background: var(--soft);
}
.bk-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  text-align: center;
}
.bk-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--brand);
  background: var(--soft);
  padding: 1px 6px;
  border-radius: 999px;
}

.other-btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 13px 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink2);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
}
.other-btn:active {
  background: var(--soft);
  border-color: var(--brand);
  color: var(--brand);
}

.trust {
  font-size: 11.5px;
  color: var(--ink3);
  text-align: center;
  margin-top: 10px;
}

.warn {
  margin-top: 14px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--warn);
  background: var(--warnbg);
  border: 1px solid #fde68a;
  border-radius: 12px;
}

.notice {
  margin-top: 16px;
  padding: 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink2);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.notice b { color: var(--ink); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: #1e293b;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.22s ease;
  max-width: calc(100% - 32px);
  text-align: center;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}
.toast.on {
  opacity: 1;
  transform: translate(-50%, 0);
}
