/* 아하 수학 계정(로그인/가입) 모달 — 연 통합 로그인 표준 */
.yauth-ov{ position:fixed; inset:0; background:rgba(20,25,25,.5); z-index:2147483400; opacity:0; visibility:hidden;
  transition:opacity .2s; display:flex; align-items:center; justify-content:center; padding:16px; }
.yauth-ov.open{ opacity:1; visibility:visible; }
.yauth-modal{ background:#fffdf8; border-radius:16px; max-width:360px; width:100%; box-shadow:0 16px 48px rgba(0,0,0,.3);
  font-family:"Pretendard","Apple SD Gothic Neo","Noto Sans KR",sans-serif; }
.yauth-modal .ya-head{ display:flex; align-items:center; justify-content:space-between; padding:16px 18px;
  background:linear-gradient(150deg,#13324a,#1f4a5e); color:#fff; border-radius:16px 16px 0 0; }
.yauth-modal .ya-title{ font-weight:800; font-size:1rem; }
.yauth-modal .ya-close{ background:rgba(255,255,255,.15); border:none; color:#fff; width:28px; height:28px; border-radius:8px; font-size:14px; cursor:pointer; }
.yauth-modal .ya-body{ padding:18px 20px 22px; }
.yauth-modal .ya-tabs{ display:flex; gap:6px; margin-bottom:14px; }
.yauth-modal .ya-tab{ flex:1; background:#f2f0e8; border:none; border-radius:999px; padding:9px 10px; font-size:13px; font-weight:700; color:#8a7a5f; cursor:pointer; font-family:inherit; }
.yauth-modal .ya-tab.on{ background:#2D5A68; color:#fff; }
.yauth-modal .ya-input{ width:100%; box-sizing:border-box; border:1.5px solid #e3d8c4; border-radius:10px; padding:11px 13px;
  font-size:14px; font-family:inherit; margin-bottom:9px; }
.yauth-modal .ya-input:focus{ outline:2px solid #B8955A; border-color:#B8955A; }
.yauth-modal .ya-main{ width:100%; background:#2D5A68; color:#fff; border:none; border-radius:10px; padding:12px; font-size:14.5px;
  font-weight:800; cursor:pointer; font-family:inherit; margin-top:2px; }
.yauth-modal .ya-main:hover{ filter:brightness(1.08); }
.yauth-modal .ya-or{ text-align:center; color:#a99; font-size:12px; margin:12px 0; }
.yauth-modal .ya-google{ width:100%; background:#fff; border:1.5px solid #dadce0; border-radius:10px; padding:11px; font-size:14px;
  font-weight:700; color:#3c4043; cursor:pointer; font-family:inherit; }
.yauth-modal .ya-google:hover{ background:#f7f8f8; }
.yauth-modal .ya-msg{ min-height:18px; font-size:12.5px; margin-bottom:6px; }
.yauth-modal .ya-msg.err{ color:#C0503D; font-weight:700; }
.yauth-modal .ya-note{ font-size:11.5px; color:#8a8170; margin-top:14px; line-height:1.6; }
.yauth-modal .ya-hello{ font-size:15px; margin-bottom:10px; }
.yauth-modal .ya-logout{ width:100%; background:#fff; border:1.5px solid #C0503D; color:#C0503D; border-radius:10px; padding:11px;
  font-size:14px; font-weight:800; cursor:pointer; font-family:inherit; margin-top:6px; }
.yauth-modal .ya-logout:hover{ background:#fdf2ef; }

@media print{ .yauth-ov{ display:none!important; } }
