/* 공지사항 목록·상세(assets/notice.js) — 한 행 한 줄, PC·휴대폰 2단만 */
.nlist{list-style:none;margin:0;padding:0;border-top:2px solid var(--ink)}
.nlist li{border-bottom:1px solid var(--line)}
.nrow{display:flex;align-items:center;gap:16px;min-height:68px;padding:0 8px}
.nrow:hover .ntt{color:var(--accent)}
.ntag{flex:0 0 auto;font-size:15px;font-weight:700;line-height:1;padding:7px 12px;border-radius:999px;background:var(--bg2);color:var(--sub);white-space:nowrap}
.ntag.news{background:var(--accent-soft);color:var(--accent)}
.ntt{flex:1 1 auto;min-width:0;font-size:18px;font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .2s}
.ndt{flex:0 0 auto;font-size:16px;color:var(--mute);white-space:nowrap;font-variant-numeric:tabular-nums}
.ndoc{border-top:2px solid var(--ink)}
.nhead{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:32px 8px 28px;border-bottom:1px solid var(--line)}
.nhead h2{font-size:30px;line-height:1.35;font-weight:800}
.nimg{width:auto;max-width:100%;height:auto;margin:32px auto 0;border-radius:12px}
.nbody{padding:32px 8px 8px;display:flex;flex-direction:column;gap:18px;font-size:17px;line-height:1.8;color:var(--sub)}
.nback{display:flex;justify-content:center;margin-top:44px;padding-top:32px;border-top:1px solid var(--line)}
@media (max-width:1023px){
  .nrow{gap:10px;min-height:60px;padding:0 4px}
  .ntag{font-size:14px;padding:6px 10px}
  .ntt{font-size:16px}
  .ndt{font-size:14px}
  .nhead{padding:24px 4px 20px}
  .nhead h2{font-size:23px}
  .nbody{padding:24px 4px 4px;font-size:16px}
}

/* 공지 본문 디자인 카드(.wd-notice) — OS 포털 static/css/notice-body.css 사본(2026-10-10).
   OS 관리자가 공지 본문에 <div class="wd-notice">… 를 쓰면 홈페이지 공지 상세에서도 같은 모양으로 보인다.
   홈페이지 규칙에 맞춰 16px 미만 글자만 16px로 올렸다. 규칙은 .wd-notice 안으로만 한정. */
.wd-notice {
  --wdn-paper: #fff;
  --wdn-ink: #1a2236;
  --wdn-body: #2c3550;
  --wdn-muted: #5d6680;
  --wdn-line: #e1e5ee;
  --wdn-soft: #f6f8fc;
  --wdn-navy: #1d5bd6;
  --wdn-red: #d93a2b;
  --wdn-icon: #1b2a5c;
  --wdn-iconbg: #eaf0ff;
  background: var(--wdn-paper);
  color: var(--wdn-body);
  font-size: 17px;
  line-height: 1.85;
  word-break: keep-all;
  overflow-wrap: break-word;
  white-space: normal;
  text-align: left;
  border: 1px solid var(--wdn-line);
  border-radius: 14px;
  overflow: hidden;
}
.wd-notice * { box-sizing: border-box; }
.wd-notice .brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 26px;
  background: var(--wdn-soft);
  border-bottom: 1px solid var(--wdn-line);
}
.wd-notice .brand img { height: 34px; width: auto; max-width: 70%; display: block; }
.wd-notice .brand .no { font-size: 16px; font-weight: 700; color: var(--wdn-muted); letter-spacing: .02em; white-space: nowrap; }
.wd-notice .head { padding: 22px 26px 6px; display: flex; flex-direction: column; gap: 6px; }
.wd-notice .kind { font-size: 16px; font-weight: 700; color: var(--wdn-red); }
.wd-notice h2 {
  font-size: 22px;
  line-height: 1.45;
  margin: 0;
  color: var(--wdn-ink);
  font-weight: 800;
  text-wrap: balance;
}
.wd-notice .body { padding: 14px 26px 26px; display: flex; flex-direction: column; gap: 18px; }
.wd-notice .body p { margin: 0; }
.wd-notice h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  line-height: 1.5;
  margin: 8px 0 -6px;
  color: var(--wdn-ink);
  font-weight: 800;
}
.wd-notice h3::before { content: ""; flex: none; width: 4px; height: 18px; border-radius: 2px; background: var(--wdn-red); }
.wd-notice .rows { display: flex; flex-direction: column; border: 1px solid var(--wdn-line); border-radius: 10px; overflow: hidden; }
.wd-notice .row {
  display: grid;
  grid-template-columns: 36px 132px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-top: 1px solid var(--wdn-line);
}
.wd-notice .row:first-child { border-top: none; }
.wd-notice .ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--wdn-iconbg);
  display: grid;
  place-items: center;
}
.wd-notice .ic::before {
  content: "";
  width: 20px;
  height: 20px;
  background: var(--wdn-icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 20px 20px;
  mask-size: 20px 20px;
}
.wd-notice .k { font-weight: 700; color: var(--wdn-ink); padding-top: 5px; }
.wd-notice .v { min-width: 0; padding-top: 5px; color: var(--wdn-ink); }
.wd-notice .v b { color: var(--wdn-navy); }
.wd-notice .v small { display: block; color: var(--wdn-muted); font-size: 16px; line-height: 1.7; margin-top: 2px; }
.wd-notice .body a { color: var(--wdn-navy); font-weight: 700; }
.wd-notice .hl { font-weight: 800; color: var(--wdn-navy); }
.wd-notice .em { font-weight: 800; color: var(--wdn-red); }
.wd-notice .v b,
.wd-notice .body b { font-weight: 800; }
.wd-notice .note { color: var(--wdn-muted); font-size: 16px; }

/* 휴대폰: 표를 [아이콘 | 이름] 위, 내용은 이름 아래로 */
@media (max-width: 767px) {
  .wd-notice { font-size: 16px; line-height: 1.8; }
  .wd-notice .brand { padding: 12px 18px; }
  .wd-notice .brand img { height: 28px; }
  .wd-notice .head { padding: 18px 18px 4px; }
  .wd-notice h2 { font-size: 20px; }
  .wd-notice .body { padding: 12px 18px 22px; gap: 16px; }
  .wd-notice .row { grid-template-columns: 36px minmax(0, 1fr); gap: 4px 12px; padding: 12px 14px; }
  .wd-notice .row .v { grid-column: 2; padding-top: 0; }
}

/* 항목 아이콘(공지 시안의 아이콘과 같은 선 그림) */
.wd-notice .ic-server::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='8' rx='2'/%3E%3Crect x='2' y='13' width='20' height='8' rx='2'/%3E%3Cpath d='M6 7h.01M6 17h.01'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='8' rx='2'/%3E%3Crect x='2' y='13' width='20' height='8' rx='2'/%3E%3Cpath d='M6 7h.01M6 17h.01'/%3E%3C/svg%3E")}
.wd-notice .ic-lock::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E")}
.wd-notice .ic-flow::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h4l3-8 4 16 3-8h4'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h4l3-8 4 16 3-8h4'/%3E%3C/svg%3E")}
.wd-notice .ic-shield::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E")}
.wd-notice .ic-cal::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E")}
.wd-notice .ic-up::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E")}
.wd-notice .ic-won::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M7 9l2 7 3-6 3 6 2-7M6.5 12h11'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M7 9l2 7 3-6 3 6 2-7M6.5 12h11'/%3E%3C/svg%3E")}
.wd-notice .ic-box::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5z'/%3E%3Cpath d='M3 8l9 5 9-5M12 13v8'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5z'/%3E%3Cpath d='M3 8l9 5 9-5M12 13v8'/%3E%3C/svg%3E")}
.wd-notice .ic-tool::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18l3 3 6.3-6.3a4 4 0 0 0 5.4-5.4l-2.5 2.5-2.4-.6-.6-2.4z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18l3 3 6.3-6.3a4 4 0 0 0 5.4-5.4l-2.5 2.5-2.4-.6-.6-2.4z'/%3E%3C/svg%3E")}
.wd-notice .ic-gift::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='13' rx='1'/%3E%3Cpath d='M12 8v13M3 12h18M12 8c-2-4-6-4-6-1s6 1 6 1 6 2 6-1-4-3-6 1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='13' rx='1'/%3E%3Cpath d='M12 8v13M3 12h18M12 8c-2-4-6-4-6-1s6 1 6 1 6 2 6-1-4-3-6 1'/%3E%3C/svg%3E")}
.wd-notice .ic-ticket::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9a3 3 0 0 0 0 6v3h18v-3a3 3 0 0 1 0-6V6H3z'/%3E%3Cpath d='M13 6v12'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9a3 3 0 0 0 0 6v3h18v-3a3 3 0 0 1 0-6V6H3z'/%3E%3Cpath d='M13 6v12'/%3E%3C/svg%3E")}
.wd-notice .ic-globe::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E")}

/* 디자인 카드가 아닌 HTML 본문(문단·목록만 쓴 공지) */
.wd-notice-html ul, .wd-notice-html ol { margin: 0 0 22px; padding-left: 1.4em; }
.wd-notice-html a { color: var(--accent-ink, #1d5bd6); font-weight: 700; }
.wd-notice-html img { max-width: 100%; height: auto; }
.wd-notice img { max-width: 100%; }

/* 디자인 카드 공지: 제목 줄 숨김(읽기 프로그램용으로는 남김) */
.nsr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ncard{padding-top:24px}
.nbody.nhtml{display:block}
.nbody.nhtml img{max-width:100%;height:auto}
