/* auth.css: 로그인·가입·내 서재 (모바일 우선) */
.auth { max-width: 440px; margin: 0 auto; padding: 24px 16px 48px; font-family: 'Pretendard Variable', Pretendard, system-ui, sans-serif; color: #1d1d1f; line-height: 1.6; }
.auth h1 { font-size: 22px; margin: 8px 0 12px; }
.auth h2 { font-size: 17px; margin: 28px 0 8px; }
.auth .auth-lead { color: #444; margin: 0 0 16px; }
.auth .hint { color: #6b6b70; font-size: 14px; }
.auth a { color: #4b3fb5; }
.auth .btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 0 16px; border: 1px solid #d0d0d6; border-radius: 10px; background: #fff; color: #1d1d1f; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; box-sizing: border-box; margin: 8px 0; }
.auth .btn-primary { background: #2a2350; border-color: #2a2350; color: #fff; }
.auth .btn-kakao { background: #fee500; border-color: #fee500; color: #191919; }
.auth .btn-danger { background: #c62828; border-color: #c62828; color: #fff; }
.auth .btn-small { min-height: 48px; width: auto; font-size: 14px; padding: 0 12px; }
.auth .btn[disabled] { opacity: .6; }
.auth .link { background: none; border: 0; padding: 0; color: #4b3fb5; font-size: 15px; text-decoration: underline; cursor: pointer; min-height: 48px; }
.auth-form { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 16px; }
.auth-form label { font-size: 14px; font-weight: 600; margin-top: 6px; }
.auth-form input[type=email], .auth-form input[type=text], .auth-form input[type=tel] { min-height: 48px; padding: 0 14px; font-size: 16px; border: 1px solid #c8c8cf; border-radius: 10px; box-sizing: border-box; width: 100%; }
.auth-form input:disabled { background: #f4f4f6; color: #666; }
.auth .auth-code { font-size: 24px !important; letter-spacing: 8px; text-align: center; }
/* 체크박스 줄: 글·링크가 한 문장으로 이어지게 블록 + 왼쪽 체크박스(flex면 '이용약관 에' 처럼 조각마다 간격이 생긴다) */
.auth .ck { display: block; position: relative; font-weight: 400; min-height: 44px; padding: 9px 0 9px 30px; font-size: 15px; }
.auth .ck input { position: absolute; left: 0; top: 12px; width: 20px; height: 20px; margin: 0; }
.auth .ck.all { font-size: 16px; }
.auth hr { border: 0; border-top: 1px solid #e4e4e8; margin: 8px 0; width: 100%; }
.auth fieldset { border: 1px solid #e4e4e8; border-radius: 10px; padding: 10px 12px; margin: 10px 0; }
.auth legend { font-weight: 600; font-size: 15px; padding: 0 4px; }
.auth details { font-size: 14px; color: #444; background: #f7f7f9; border-radius: 10px; padding: 8px 12px; }
.auth details ul { padding-left: 18px; margin: 6px 0; }
.auth-or { display: flex; align-items: center; gap: 10px; color: #8a8a90; font-size: 13px; margin: 12px 0; }
.auth-or::before, .auth-or::after { content: ''; flex: 1; border-top: 1px solid #e4e4e8; }
.auth-box { background: #f6f4ff; border-radius: 12px; padding: 12px 14px; margin: 16px 0; font-size: 14px; }
.auth-box p { margin: 4px 0; }
.auth-box ul { padding-left: 18px; margin: 4px 0; }
.auth-error { background: #fdecec; color: #a11; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.auth-ok { background: #e9f7ee; color: #17633a; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.auth-test { background: #fff7d6; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.auth-resend { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.auth-resend a { display: inline-flex; align-items: center; min-height: 44px; }
.me-nav { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 12px; scrollbar-width: none; }
.me-nav::-webkit-scrollbar { display: none; }
.me-nav a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; background: #f1f1f4; color: #333; text-decoration: none; font-size: 14px; }
.me-nav a.on { background: #2a2350; color: #fff; }
.me-books, .me-orders, .me-devices { list-style: none; padding: 0; margin: 0; }
.me-orders > li, .me-devices > li { border: 1px solid #e4e4e8; border-radius: 12px; padding: 12px; margin: 8px 0; }
.me-orders .row, .me-devices .row { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.me-orders .items { padding-left: 18px; margin: 6px 0 0; font-size: 14px; }
.me-orders .me-order-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: 14px; }
.me-library { display: inline-flex; align-items: center; min-height: 44px; }
.auth .st { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: #eee; white-space: nowrap; }
.auth .st-paid { background: #e3f1ff; color: #0b4f8a; }
.auth .st-refunded, .auth .st-canceled { background: #f2f2f2; color: #777; }
.me-withdraw { text-align: center; font-size: 13px; margin-top: 24px; }
.me-withdraw a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: #8a8a90; }
