/* ===== 라이브 운영 화면 (LIVEOPS U1): 공지 목록·로비 팝업·점검/업데이트 화면·📢 버튼 ===== */
/* 공용 클래스(U3 가 그대로 씀): .nk(종류 배지) .ochk(체크 줄) .ofull(안내 화면 바탕) .ocard(안내 카드) */

/* ---- 로비 📢 버튼 · 점이 붙는 배지 ---- */
.lbar .ibtn{width:42px;height:42px;font-size:20px}
.ibtn .bdg.dot{min-width:12px;height:12px;padding:0;font-size:0;line-height:0;top:1px;right:1px;border:2px solid #fff;box-shadow:none}

/* ---- 종류 배지 (공지 회색 · 이벤트 분홍 · 점검 노랑 · 업데이트 하늘) ---- */
.nk{display:inline-block;flex:none;font-size:12.5px;line-height:1;padding:5px 10px;border-radius:999px;color:#fff;background:#B9B0C8;letter-spacing:-.2px}
.nk.k-event{background:#FF6FA5}
.nk.k-maint{background:#FFE08A;color:#7A5200}
.nk.k-update{background:#5BB6FF}

/* ---- 공지 목록 화면 ---- */
#notice .tabs{max-width:480px;width:100%;justify-content:space-between}
#notice .tabs button{flex:1;padding:9px 4px;font-size:15px}
/* 「공지사항」「패치노트」 탭(2.46.0): 두 칸 반반 · 새 글 수 동그라미 */
html #notice #ntTabs button{flex:1 1 0;min-width:0;min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:15px}
#ntTabs .tl{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ntTabs .tcnt{flex:none;font:800 12px/20px Pretendard,"Apple SD Gothic Neo",sans-serif;font-style:normal;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#FF5C8D;color:#fff;box-sizing:border-box;text-align:center}
#ntTabs .tcnt.hidden{display:none}
#ntOff{margin:0;font-size:13.5px}
#ntList{gap:10px}
.nrow{background:rgba(255,255,255,.94);border-radius:22px;box-shadow:0 5px 0 rgba(200,170,220,.45);overflow:hidden}
.nrow.fresh{outline:3px solid #FFC845;background:#FFFBEA}
.nhead{font-family:inherit;width:100%;border:0;background:transparent;text-align:left;color:var(--ink);cursor:pointer;
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:6px 8px;padding:12px 14px}
.nhead .tt{grid-column:1/4;font-size:18px;line-height:1.35;word-break:keep-all}
.nhead .dt{justify-self:end;color:var(--sub);font-size:13.5px}
.nhead .nn{font-style:normal;font-size:14px;justify-self:start}
.nhead .nn .mnew{margin:0}
.nhead .chev{grid-column:3;grid-row:1;justify-self:end;font-size:14px;color:#C9B8DC;transition:transform .15s}
.nrow.open .chev{transform:rotate(180deg)}
.nbody{display:none;padding:0 14px 14px;font-size:16px;line-height:1.6;word-break:keep-all}
.nrow.open .nbody{display:block}
.nbody img,.ntcard img{display:block;max-width:100%;max-height:200px;margin:2px auto 10px;border-radius:16px;object-fit:cover}
.nbody .btn{display:block;margin:12px auto 0;font-size:16px;padding:11px 22px}

/* ---- 로비 팝업 ---- */
#npop{z-index:6}
.ntcard{background:#fff;max-width:360px;gap:9px;align-items:stretch;animation:ntIn .35s cubic-bezier(.2,1.5,.4,1) both}
.ntcard .nk{align-self:center}
.ntcard h2{font-size:24px;line-height:1.3;word-break:keep-all}
.nclamp{display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden;text-align:left;font-size:16px;line-height:1.55;word-break:keep-all}
.ntcard .more1{align-self:center;font-family:inherit;border:0;background:transparent;color:#E04482;font-size:15px;text-decoration:underline;cursor:pointer;padding:2px 8px}
.ntcard .row{flex-wrap:nowrap;margin-top:2px}
.ntcard .row .btn{flex:1;padding:12px 8px;font-size:16px}
/* 2.45.0: 팝업 아래 두 버튼 — 「오늘 하루 보지 않기」가 360 폭(412 도)에서 두 줄로 꺾이던 것(ui240d 의 버튼 여백 24px 때문).
   글자 크기는 그대로, 버튼 안 여백을 10px 로 줄이고 긴 쪽에 폭을 더 줘 한 줄로 고정(320 폭에서도 들어감) */
html #npop .ntcard .row .btn{padding:0 10px;white-space:nowrap;min-width:0}
html #npop .ntcard .row .btn[data-p=snooze]{flex:1.6 1 0}
html #npop .ntcard .row .btn[data-p=ok]{flex:1 1 0}
@keyframes ntIn{0%{transform:scale(.8);opacity:0}100%{transform:scale(1);opacity:1}}

/* ---- 점검 1단계 띠 ---- */
.maintstrip{font-family:inherit;width:100%;max-width:440px;flex:none;border:0;border-radius:16px;background:linear-gradient(135deg,#FFF3C4,#FFE08A);color:#7A5200;
  font-size:14.5px;padding:9px 12px;line-height:1.4;cursor:pointer;box-shadow:0 4px 0 #E8C25A;text-align:center;word-break:keep-all}
.maintstrip.admin{background:linear-gradient(135deg,#E6F4FF,#C9E8FF);color:#24608F;box-shadow:0 4px 0 #A5D1F0}

/* ---- 강제 업데이트 · 점검 2단계 화면 (닫을 수 없음) ---- */
#gate{z-index:9;gap:14px;text-align:center;background:linear-gradient(180deg,#FFE3F1,#E9E2FF 55%,#DDF3FF)}
body.gate-lock #notice.over{z-index:10}
.gate-ico{font-size:88px;line-height:1;animation:bob 1.8s ease-in-out infinite;filter:drop-shadow(0 10px 12px rgba(255,111,165,.35))}
.gate-ico.wrench{animation:wrench 1.5s ease-in-out infinite;transform-origin:50% 70%}
@keyframes wrench{0%,100%{transform:rotate(-14deg)}50%{transform:rotate(16deg)}}
.gate-card{width:100%;max-width:360px;background:rgba(255,255,255,.94);border-radius:28px;padding:22px 20px;display:flex;flex-direction:column;gap:10px;align-items:center;
  box-shadow:0 8px 0 rgba(200,170,220,.5),0 18px 40px rgba(120,80,160,.18)}
.gate-card.shake{animation:gshake .4s}
@keyframes gshake{0%,100%{transform:none}25%{transform:translateX(-7px)}75%{transform:translateX(7px)}}
.gate-card h2{margin:0;font-weight:400;font-size:27px;word-break:keep-all}
.gate-card p{margin:0;font-size:17px;line-height:1.55;color:var(--ink);word-break:keep-all}
.gate-card .until{font-size:15px;color:#C9820A;background:#FFF6D6;border-radius:999px;padding:5px 14px}
.gate-card .row{width:100%;flex-wrap:nowrap}
.gate-card .row .btn{flex:1;padding:13px 8px;font-size:18px}
.gate-card>.btn{width:100%}

/* ---- U3 공용: 안내 화면 · 체크 줄 ---- */
.ofull{position:fixed;inset:0;z-index:8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:22px 16px;overflow-y:auto;
  background:linear-gradient(180deg,#FFE3F1,#E9E2FF 55%,#DDF3FF)}
.ocard{width:100%;max-width:400px;background:rgba(255,255,255,.94);border-radius:28px;padding:22px 20px;display:flex;flex-direction:column;gap:11px;
  box-shadow:0 8px 0 rgba(200,170,220,.5),0 18px 40px rgba(120,80,160,.18)}
.ochk{display:flex;align-items:center;gap:10px;font-size:17px;background:#FFF8FC;border-radius:16px;padding:12px 14px;cursor:pointer}
.ochk input{width:22px;height:22px;accent-color:#FF6FA5;flex:none}
.ochk span{flex:1;min-width:0}
.ochk a{flex:none;font-size:14px;color:var(--sub)}
.ochk.all{background:#FFF0F7;color:#E04482}

/* ---- U3: 동의 시트 · 도움말 묶음 · 계정 삭제 화면 ---- */
.cnote{margin:0;padding:10px 12px 10px 28px;background:#F7F3FB;border-radius:14px;font-size:13.5px;line-height:1.5;color:var(--sub);text-align:left;word-break:keep-all}
.cnote li{margin:2px 0}
.cnote1{margin:-4px 4px 2px!important;font-size:13px!important;line-height:1.45!important;color:var(--sub);text-align:left!important;word-break:keep-all}
.ochk small{display:block;font-size:12.5px;color:var(--sub)}
.sheet .cperr{min-height:0}
.sheet .cperr:empty{display:none}
.spline{margin:0;font-size:12.5px;max-width:340px;line-height:1.5}

.shelp{display:flex;flex-direction:column;gap:8px;width:100%}
.shelp .hbtns{display:flex;flex-direction:column;gap:8px}
.shelp .hbtns .btn{position:relative;width:100%;font-size:17px;padding:12px 16px}
.shelp .hbtns .bdg.dot{position:absolute;top:8px;right:14px}
.shelp .hcode{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#F7F3FB;border-radius:14px;padding:8px 12px;font-size:14.5px}
.shelp .hcode b{letter-spacing:2px;font-weight:400;color:#E04482;font-size:17px;user-select:text;-webkit-user-select:text}
.shelp .hcode .btn{font-size:14px;padding:7px 14px;box-shadow:0 3px 0 #F3C9DD}
.shelp .hlinks{margin:0}

.dcard{max-height:92vh;overflow-y:auto;text-align:left}
.dcard h2{margin:0;font-weight:400;font-size:26px;text-align:center}
.dcard h4{margin:4px 0 0;font-weight:400;font-size:16px;color:#E04482}
.dcard p{margin:0;font-size:15.5px;line-height:1.55;word-break:keep-all}
.dcard .dq{font-size:19px;text-align:center}
.dcard .dlist{margin:0;padding:0 0 0 22px;font-size:15px;line-height:1.55;word-break:keep-all}
.dcard .dkeep{color:var(--sub)}
.dcard .ddone{font-size:20px;text-align:center;padding:10px 0}
.dcard .hint{text-align:center}
.dcard input.dword{font-family:inherit;font-size:20px;text-align:center;border:2px solid #F3C9DD;border-radius:14px;padding:12px 14px;color:var(--ink);width:100%;background:#fff;box-sizing:border-box}
.dcard .kakao{max-width:none}
.dmail{background:#F7F3FB;border-radius:16px;padding:12px;display:flex;flex-direction:column;gap:6px}
.dmail b{font-weight:400;font-size:15.5px}
.dmail p{font-size:13.5px!important;color:var(--sub)}
.dmail a.btn{text-align:center;text-decoration:none;font-size:16px;padding:10px 14px;box-sizing:border-box}
.dmail small{font-size:12.5px;color:var(--sub);word-break:break-all}

/* 검토용 로그인(2.43.3, js/screens/reviewer.js) — 숨은 입구는 눌러도 아무 표시가 없게(하이라이트·선택·확대 없음) */
.rv-ver{-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;touch-action:manipulation;cursor:default;padding:8px 4px;margin:-8px -4px}
.shelp .hver{margin:0 0 2px;text-align:center;font-size:12px;line-height:1.4;color:var(--sub);opacity:.75}
#sheet .rv-nb{white-space:nowrap}
#sheet .rv-note{margin:0;font-size:13.5px;line-height:1.5;color:var(--sub);word-break:keep-all}
#sheet .rv-f{display:flex;flex-direction:column;gap:4px;font-size:14px;color:var(--ink)}
#sheet .rv-f input{height:46px;border:2px solid #F7C6DC;border-radius:14px;padding:0 12px;font:600 16px/1 Pretendard,sans-serif;color:var(--ink);background:#fff;box-sizing:border-box;width:100%;min-width:0}
#sheet .rv-f input:focus{outline:none;border-color:var(--pink,#FF7FAE)}
#sheet .rv-err{min-height:1.4em;font-size:13.5px;line-height:1.4;text-align:center;word-break:keep-all}
