/* 로그인: 왼쪽 = 밤의 간판, 오른쪽 = 프린터에서 나오는 영수증 */
body.login { min-height: 100vh; background: var(--night); color: var(--paper);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, 460px); }

.sign { position: relative; padding: clamp(32px, 6vw, 88px); display: flex; flex-direction: column;
  justify-content: space-between; overflow: hidden;
  background: radial-gradient(120% 80% at 20% 30%, var(--night-2) 0%, var(--night) 60%); }
.sign .board { margin-top: clamp(24px, 10vh, 120px); }
.sign .word { font-family: var(--display); font-weight: 700; line-height: .82; letter-spacing: -.04em;
  font-size: clamp(120px, 19vw, 300px); color: var(--sign); margin: 0;
  text-shadow: 0 0 18px rgba(255, 201, 60, .45), 0 0 60px rgba(255, 201, 60, .22); }
.sign .sub { font-family: var(--display); font-weight: 500; font-size: clamp(18px, 2vw, 26px);
  color: #E8ECF5; margin: 18px 0 0 6px; letter-spacing: -.01em; }
.sign .clock { display: flex; align-items: baseline; gap: 14px; color: #AFB8CC; }
.sign .clock b { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 4vw, 52px);
  color: var(--paper); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sign .clock span { font-size: 15px; }

/* 영수증 프린터 */
.printer { position: relative; display: flex; flex-direction: column; align-items: center;
  padding: clamp(28px, 7vh, 72px) 28px 40px; background: #0E1A33; }
.slot { width: 100%; max-width: 400px; height: 14px; border-radius: 8px; background: #050B18;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .8); position: relative; z-index: 2; }
.feed { width: calc(100% - 28px); max-width: 372px; overflow: hidden; margin-top: -7px; padding-bottom: 14px; }
.receipt { --zig: 12px; background: var(--paper); color: var(--ink); padding: 34px 28px 30px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--zig) 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--zig) 100%;
  padding-bottom: calc(30px + var(--zig)); animation: print 900ms cubic-bezier(.3, .7, .2, 1) 150ms both; }
@keyframes print { from { transform: translateY(-100%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .receipt { animation: none; } }

.receipt h1 { font-family: var(--display); font-weight: 700; font-size: 26px; margin: 0; letter-spacing: -.02em; }
.receipt .who { margin: 4px 0 0; color: var(--thermal); font-size: 14px; }
.cut { border: 0; border-top: 2px dashed var(--rule); margin: 22px 0; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field > span small { font-weight: 500; color: var(--thermal); margin-left: 6px; }
.field input { width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid #C9CED8; border-radius: 6px;
  background: #fff; font-size: 17px; }
.field input:focus { border-color: var(--night); outline: 3px solid rgba(255, 201, 60, .7); outline-offset: 0; }
.pw { position: relative; }
.pw button { position: absolute; right: 6px; top: 6px; height: 36px; padding: 0 10px; border: 0; border-radius: 4px;
  background: transparent; color: var(--thermal); font-size: 13px; cursor: pointer; }
.pw button:hover { color: var(--ink); background: #EEF0F4; }
.keep { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #3D4555; margin: 4px 0 20px; cursor: pointer; }
.keep input { width: 18px; height: 18px; accent-color: var(--night); }
.go { width: 100%; height: 54px; border: 0; border-radius: 6px; background: var(--night); color: var(--sign);
  font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .02em; cursor: pointer; }
.go:hover { background: var(--night-2); }
.go:active { transform: translateY(1px); }
.go[aria-busy="true"] { opacity: .7; cursor: progress; }
.err { margin: 0 0 18px; padding: 10px 12px; border-left: 4px solid var(--alert); background: #FCEDEF;
  color: #8A0C21; font-size: 14px; }
.foot { display: flex; justify-content: space-between; gap: 12px; color: var(--thermal); font-size: 13px; }
.help { margin: 14px 0 0; color: var(--thermal); font-size: 13px; }

@media (max-width: 860px) {
  body.login { grid-template-columns: 1fr; }
  .sign { padding: 28px 24px 18px; flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .sign .board { margin: 0; }
  .sign .word { font-size: 72px; }
  .sign .sub { font-size: 15px; margin: 8px 0 0 2px; }
  .sign .clock { flex-direction: column; align-items: flex-end; gap: 0; }
  .sign .clock b { font-size: 30px; }
  .sign .clock span { font-size: 13px; }
  .printer { padding: 8px 14px 28px; background: var(--night); }
}
