/* 겨자씨 브랜드 톤 (앱·어드민·사장웹과 동일 계열·머스타드/갈색/크림) */
:root {
  --mustard: #D4AE20; --mustard-d: #B8950F; --brown: #5C4A2E; --brown-s: #8A7350;
  --cream: #FBF7EC; --card: #FFFDF7; --page: #EDE6D4; --ink: #2A2419;
  --line: #E8E0CC; --green: #3C9A5F;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background: var(--page); color: var(--ink); -webkit-text-size-adjust: 100%;
}
.wrap { max-width: 480px; margin: 0 auto; padding: 24px 18px; min-height: 100vh; }
.card {
  background: var(--card); border-radius: 20px; padding: 28px 22px;
  border: 1px solid var(--line); box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
}
.logo {
  width: 72px; height: 72px; border-radius: 16px; object-fit: cover;
  display: block; margin: 0 auto 12px; background: #eee;
}
.store { font-size: 22px; font-weight: 900; text-align: center; color: var(--brown); }
.sub { text-align: center; font-size: 13px; color: var(--brown-s); margin-top: 4px; }
.goal {
  text-align: center; color: var(--mustard-d); font-weight: 800; margin-top: 12px;
  font-size: 14px; background: rgba(212, 174, 32, .12); border-radius: 10px; padding: 8px 12px;
}
label { display: block; font-size: 15px; font-weight: 700; margin: 18px 0 6px; color: var(--brown); }
input[type=tel], input[type=text] {
  width: 100%; font-size: 20px; padding: 14px; border: 2px solid var(--line);
  border-radius: 12px; background: var(--card); color: var(--ink); text-align: center; font-weight: 700;
}
input:focus { outline: none; border-color: var(--mustard); }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0; font-size: 13px; color: var(--brown-s); }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--mustard); }
.consent a { color: var(--mustard-d); }
button.primary {
  width: 100%; font-size: 19px; font-weight: 800; padding: 16px; border: 0;
  border-radius: 14px; background: var(--mustard); color: #fff; margin-top: 8px;
}
button.primary:disabled { background: #cbbf95; }
.intro { text-align: center; font-size: 11.5px; color: var(--brown-s); margin-top: 14px; line-height: 1.5; }
.result { text-align: center; padding: 16px; }
.check {
  width: 64px; height: 64px; border-radius: 50%; background: #E7F3EC; color: var(--green);
  font-size: 36px; line-height: 64px; margin: 0 auto 12px;
}
.result .big { font-size: 22px; font-weight: 900; color: var(--brown); }
.muted { color: var(--brown-s); font-size: 13px; text-align: center; margin-top: 8px; }
.detail { font-size: 12px; color: var(--brown-s); line-height: 1.6; margin-top: 6px; display: none; }
.detail.open { display: block; }
.hidden { display: none; }

/* 키오스크(태블릿) — 가로면 좌 사이니지 + 우 적립 */
.kiosk-layout { display: flex; flex-direction: column; gap: 16px; }
.signage { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; }
.signage img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; opacity: 0; transition: opacity .8s; }
.signage img.on { opacity: 1; }
.signage .ph {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 24px; color: #fff;
  background: linear-gradient(135deg, var(--mustard), var(--mustard-d));
}
.signage .ph .emoji { font-size: 56px; }
.signage .overlay {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; color: #fff;
  background: linear-gradient(to top, rgba(42, 36, 25, .8), transparent);
}
.signage .overlay .nm { font-size: 22px; font-weight: 900; }
.signage .overlay .ap { font-size: 12px; color: rgba(255, 255, 255, .8); margin-top: 2px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
@media (min-width: 720px) {
  .kiosk .wrap { max-width: 1100px; }
  .kiosk-layout { flex-direction: row; align-items: stretch; min-height: 84vh; }
  .signage { flex: 3; aspect-ratio: auto; }
  .panel { width: 360px; flex: none; display: flex; flex-direction: column; justify-content: center; }
}

/* 앱 유도 카드 (적립 완료 후) */
.appcard { margin-top: 18px; padding: 18px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line); text-align: center; }
.appcard-t { font-size: 15px; font-weight: 800; color: var(--brown); }
.appcard-s { font-size: 12.5px; color: var(--brown-s); margin-top: 5px; line-height: 1.5; }
.appbtn { display: block; margin-top: 12px; padding: 14px; border-radius: 12px; background: var(--brown); color: #fff; font-weight: 800; text-decoration: none; font-size: 15px; }
