/* ==========================================================================
   2026 강릉 한 상 대전 — 테마 스타일 (Modernist 디자인 시스템 기반)
   토큰: 배경 #f3f2f2 / 서피스 #eae9e9 / 텍스트 #201e1d / 액센트 #ec3013 / 라운드 0
   ========================================================================== */
:root {
  --bg: #f3f2f2;
  --surface: #eae9e9;
  --ink: #201e1d;
  --ink-2: #444141;
  --ink-3: #605d5d;
  --accent: #ec3013;
  --accent-hover: #dd2b0f;
  --accent-deep: #ae1800;
  --accent-100: #fff2ef;
  --accent-800: #7c1405;
  --rule: rgba(32, 30, 29, 0.4);
  --rule-strong: #201e1d;
  --font-body: "Noto Sans KR", "Archivo", system-ui, -apple-system, "Malgun Gothic", sans-serif;
  --font-num: "Archivo", "Noto Sans KR", system-ui, sans-serif;
  --max: 1280px;
  --gutter: 16px;
  --header-h: 56px;
  --bottombar-h: 58px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; word-break: keep-all; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 900; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: #ffc4b8; color: var(--ink); }
.sound_only, #skip_to_container a { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: -1px; }
#skip_to_container a:focus { position: fixed; top: 0; left: 0; width: auto; height: auto; padding: 10px 16px; background: var(--ink); color: #fff; z-index: 999; clip: auto; margin: 0; }
.sm-login-msg { position: fixed; right: 8px; bottom: 8px; z-index: 40; font-size: 16px; padding: 6px 10px; background: var(--ink); color: #fff; }
.sm-login-msg a { color: #ffc4b8; margin-left: 6px; }
@media (max-width: 820px) { .sm-login-msg { bottom: calc(var(--bottombar-h) + 8px); } }

/* ---------- Layout helpers ---------- */
.sm-inner { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sm-kicker { font-size: 20px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.sm-h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 900; }
.sm-lead { font-size: 18px; line-height: 1.65; color: var(--ink-2); max-width: 52ch; }
.sm-num { font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.sm-grid-rule { display: grid; gap: 2px; background: var(--rule); }
.sm-grid-rule > * { background: var(--bg); }
.sm-section { border-bottom: 2px solid var(--rule); }
.sm-section__inner { max-width: var(--max); margin: 0 auto; padding: clamp(32px, 5vw, 64px) var(--gutter); }

/* ---------- Buttons ---------- */
.sm-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; padding: 12px 16px; font-size: 18px; font-weight: 800; text-decoration: none; border: 1px solid var(--rule); color: var(--ink); background: transparent; transition: background .15s, color .15s; }
.sm-btn:hover { background: rgba(32, 30, 29, 0.07); color: var(--ink); }
.sm-btn--primary { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.sm-btn--primary:hover { background: var(--accent-hover); color: var(--bg); }
.sm-btn--sm { min-height: 40px; padding: 9px 14px; font-size: 18px; justify-content: flex-start; }
.sm-btn--block { display: flex; width: 100%; }
.sm-btn[disabled], .sm-btn.is-disabled { opacity: .45; pointer-events: none; }

/* ---------- Header ---------- */
.sm-header { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 2px solid var(--rule); }
.sm-header__inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 8px var(--gutter); min-height: var(--header-h); }
.sm-brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--ink); margin-right: auto; white-space: nowrap; }
.sm-brand__name { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.sm-brand__year { font-family: var(--font-num); font-weight: 800; font-size: 17px; color: var(--accent); }
.sm-nav { display: flex; gap: 24px; font-size: 18px; font-weight: 500; }
.sm-nav a { color: var(--ink); text-decoration: none; }
.sm-nav a:hover { color: var(--accent); }
.sm-header__cta { display: flex; gap: 8px; }
.sm-burger { display: none; width: 44px; height: 44px; place-items: center; background: transparent; border: 0; color: var(--ink); margin-right: -10px; }
.sm-burger span { position: relative; display: block; width: 22px; height: 2px; background: currentColor; transition: background .15s; }
.sm-burger span::before, .sm-burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; transition: transform .15s; }
.sm-burger span::before { top: -7px; }
.sm-burger span::after { top: 7px; }
.sm-burger[aria-expanded="true"] span { background: transparent; }
.sm-burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.sm-burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
.sm-mobile-nav { display: none; border-top: 2px solid var(--rule); }
.sm-mobile-nav a { display: block; padding: 16px; font-size: 20px; font-weight: 800; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.sm-mobile-nav a:last-child { border-bottom: 0; }
.sm-mobile-nav:not([hidden]) { display: grid; }
@media (max-width: 820px) {
  .sm-nav, .sm-header__cta { display: none; }
  .sm-burger { display: grid; }
}

@media (max-width: 380px) {
  .sm-header__inner { gap: 8px; }
  .sm-brand { min-width: 0; flex-wrap: wrap; gap: 2px 6px; white-space: normal; }
  .sm-brand__name { font-size: 16px; }
  .sm-burger { flex-shrink: 0; }
}

/* ---------- Bottom bar (mobile) ---------- */
.sm-bottombar { display: none; }
@media (max-width: 820px) {
  body { padding-bottom: calc(var(--bottombar-h) + env(safe-area-inset-bottom)); }
  .sm-bottombar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 2px; background: var(--rule); border-top: 2px solid var(--rule); padding-bottom: env(safe-area-inset-bottom); }
  .sm-bottombar__btn { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 12px 16px; font-size: 18px; font-weight: 800; color: var(--ink); background: var(--bg); text-decoration: none; }
  .sm-bottombar__btn:active { background: var(--surface); }
  .sm-bottombar__btn--primary { color: var(--bg); background: var(--accent); }
  .sm-bottombar__btn--primary:active { background: var(--accent-deep); }
}

/* ---------- Hero ---------- */
.sm-hero { border-bottom: 2px solid var(--rule); }
.sm-hero__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 2px; background: var(--rule); }
.sm-hero__copy { background: var(--bg); padding: clamp(24px, 5vw, 56px) var(--gutter); display: flex; flex-direction: column; gap: 24px; }
.sm-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 20px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep); }
.sm-hero__title { font-size: clamp(34px, 6.5vw, 68px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 900; }
.sm-hero__intro { max-width: 46ch; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.6; color: var(--ink-2); }
.sm-count { display: grid; grid-template-columns: auto 1fr; gap: 0 20px; align-items: end; border-top: 2px solid var(--rule-strong); padding-top: 16px; }
.sm-count__d { font-family: var(--font-num); font-weight: 800; font-size: clamp(56px, 10vw, 104px); line-height: 0.9; letter-spacing: -0.04em; color: var(--accent); }
.sm-count__right { display: flex; flex-direction: column; gap: 6px; padding-bottom: 6px; }
.sm-count__label { font-size: 20px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.sm-count__hms { display: flex; gap: 12px; font-family: var(--font-num); font-variant-numeric: tabular-nums; font-weight: 600; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -0.01em; }
.sm-count__hms small { font-size: 16px; font-weight: 400; color: var(--ink-3); margin-left: 2px; }
.sm-count__s { animation: sm-blink 1s steps(1) infinite; }
@keyframes sm-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.sm-hero__cta { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-hero__cta .sm-btn { flex: 1 1 160px; }
.sm-hero__visual { background: var(--bg); position: relative; min-height: 320px; display: grid; grid-template-rows: 1fr auto; }
.sm-hero__visual .sm-grayscale { position: relative; width: 100%; height: 100%; min-height: 320px; }
.sm-hero__visual .sm-grayscale img { display: block; width: 100%; height: auto; filter: grayscale(1) contrast(1.05); }
.sm-hero__placeholder { position: absolute; inset: 0; background: var(--surface); display: grid; place-items: center; padding: 24px; color: var(--ink-3); font-size: 17px; text-align: center; }
/* 키비주얼 슬라이드 */
.sm-kv { position: relative; display: grid; width: 100%; overflow: hidden; background: var(--surface); }
.sm-kv__img { grid-area: 1 / 1; align-self: center; display: block; width: 100%; height: auto; opacity: 0; transition: opacity .9s ease; }
.sm-kv__img.is-on { opacity: 1; }
.sm-kv__nav { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 6px; padding: 4px; background: rgba(32,30,29,.85); }
.sm-kv__btn { width: 30px; height: 30px; border: 0; background: transparent; color: var(--bg); font-family: var(--font-num); font-size: 18px; cursor: pointer; }
.sm-kv__btn:hover { background: var(--accent); }
.sm-kv__dots { display: flex; gap: 6px; padding: 0 4px; }
.sm-kv__dots button { width: 10px; height: 10px; padding: 0; border: 1px solid var(--bg); background: transparent; cursor: pointer; border-radius: 0; }
.sm-kv__dots button.is-on { background: var(--accent); border-color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .sm-kv__img { transition: none; } }
.sm-hero__caption { position: relative; padding: 8px 12px; background: var(--ink); color: var(--bg); font-family: var(--font-num); font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; pointer-events: none; }

/* ---------- Quick links ---------- */
.sm-quick { border-bottom: 2px solid var(--rule); }
.sm-quick__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 2px; background: var(--rule); }
.sm-quick__item { display: flex; flex-direction: column; gap: 12px; min-height: 180px; padding: 20px var(--gutter); background: var(--bg); color: var(--ink); text-decoration: none; }
.sm-quick__item:hover { background: var(--surface); color: var(--ink); }
.sm-quick__no { display: flex; justify-content: space-between; font-family: var(--font-num); font-size: 20px; font-weight: 600; letter-spacing: 0.08em; color: var(--accent); }
.sm-quick__title { margin-top: auto; font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
.sm-quick__desc { font-size: 18px; line-height: 1.5; color: var(--ink-3); }

/* ---------- About ---------- */
.sm-about__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 32px 48px; }
.sm-facts { display: grid; grid-template-columns: 1fr; border-top: 2px solid var(--rule-strong); }
.sm-facts > div { display: grid; grid-template-columns: minmax(88px, 120px) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.sm-facts dt { font-size: 17px; font-weight: 600; letter-spacing: 0.06em; color: var(--ink-3); padding-top: 3px; }
.sm-facts dd { font-size: 18px; line-height: 1.5; font-weight: 500; }

/* ---------- Judging (red field) ---------- */
.sm-judging { background: var(--accent); color: var(--bg); border-bottom: 2px solid var(--rule); }
.sm-judging .sm-section__inner { display: flex; flex-direction: column; gap: 32px; }
.sm-judging__head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px 48px; align-items: end; }
.sm-judging .sm-kicker { color: var(--bg); }
.sm-judging__title { font-size: clamp(34px, 6vw, 72px); line-height: 0.98; letter-spacing: -0.03em; font-weight: 900; }
.sm-judging__lead { font-size: 18px; line-height: 1.6; max-width: 48ch; }
.sm-score { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2px; }
.sm-score > div { padding: 16px 12px; min-height: 120px; display: flex; flex-direction: column; justify-content: space-between; }
.sm-score__pro { background: var(--bg); color: var(--ink); }
.sm-score__pub { background: var(--ink); color: var(--bg); }
.sm-score__label { font-size: 20px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.sm-score__val { font-family: var(--font-num); font-size: clamp(28px, 5vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.sm-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 2px; background: var(--bg); }
.sm-steps > div { background: var(--accent); padding: 16px 0 0 0; display: flex; flex-direction: column; gap: 8px; }
.sm-steps__no { font-family: var(--font-num); font-size: 22px; font-weight: 600; letter-spacing: 0.08em; }
.sm-steps__t { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.sm-steps__d { font-size: 17px; line-height: 1.5; padding-right: 12px; }
@media (max-width: 480px) { .sm-score { grid-template-columns: 1fr; } .sm-steps > div { padding-top: 12px; padding-bottom: 8px; } }

/* ---------- Program ---------- */
.sm-program__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 24px; }
.sm-program__pending { padding: clamp(32px, 5vw, 56px) 20px; text-align: center; background: var(--surface); border-top: 2px solid var(--rule-strong); border-bottom: 1px solid var(--rule); }
.sm-program__pending-title { margin: 0; font-size: clamp(20px, 2vw, 24px); font-weight: 800; line-height: 1.4; letter-spacing: -0.02em; color: var(--ink); }
.sm-program__pending-desc { margin: 12px 0 0; font-size: 18px; line-height: 1.6; color: var(--ink-3); word-break: keep-all; overflow-wrap: break-word; }
.sm-tabs { display: inline-flex; border: 1px solid var(--rule); }
.sm-tabs button { padding: 10px 16px; min-height: 44px; font-size: 18px; font-weight: 600; border: 0; background: transparent; color: var(--ink); }
.sm-tabs button:hover { opacity: .85; }
.sm-tabs button[aria-selected="true"] { background: var(--accent); color: var(--bg); }
.sm-schedule { border-top: 2px solid var(--rule-strong); }
.sm-schedule[hidden] { display: none; }
.sm-schedule > div { display: grid; grid-template-columns: minmax(72px, 110px) 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.sm-schedule__time { font-family: var(--font-num); font-variant-numeric: tabular-nums; font-weight: 800; font-size: clamp(18px, 1.8vw, 20px); letter-spacing: -0.01em; }
.sm-schedule__body { display: flex; flex-direction: column; gap: 4px; }
.sm-schedule__title { font-size: clamp(18px, 1.8vw, 20px); font-weight: 800; letter-spacing: -0.01em; }
.sm-schedule__desc { font-size: 18px; color: var(--ink-3); line-height: 1.5; }

/* ---------- Notice (latest) ---------- */
.sm-notice__head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 24px; }
.sm-more { font-size: 18px; font-weight: 800; color: var(--accent); text-decoration: none; padding: 10px 0; white-space: nowrap; }
.sm-more:hover { color: var(--accent-deep); }
.sm-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 2px; background: var(--rule); border: 2px solid var(--rule); }
.sm-card { display: flex; flex-direction: column; gap: 12px; padding: 20px var(--gutter); min-height: 160px; background: var(--bg); color: var(--ink); text-decoration: none; }
.sm-card:hover { background: var(--surface); color: var(--ink); }
.sm-card__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sm-tag { font-size: 15px; letter-spacing: 0.02em; padding: 3px 10px; background: var(--accent-100); color: var(--accent-800); }
.sm-tag--neutral { background: var(--surface); color: var(--ink-2); }
.sm-date { font-family: var(--font-num); font-size: 16px; color: var(--ink-3); }
.sm-card__title { font-size: 20px; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; }
.sm-card__desc { margin-top: auto; font-size: 17px; color: var(--ink-3); line-height: 1.5; }
.sm-card--empty { justify-content: center; color: var(--ink-3); font-size: 18px; }

/* ---------- Map ---------- */
.sm-map { border-bottom: 2px solid var(--rule); }
.sm-map__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 2px; background: var(--rule); }
.sm-map__info { background: var(--bg); padding: clamp(32px, 5vw, 64px) var(--gutter); display: flex; flex-direction: column; gap: 20px; }
.sm-map__addr { font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.sm-access { border-top: 2px solid var(--rule-strong); }
.sm-access > div { display: grid; grid-template-columns: minmax(72px, 100px) 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 18px; line-height: 1.5; }
.sm-access > div > span:first-child { font-weight: 600; color: var(--ink-3); }
.sm-map__visual { background: var(--surface); min-width: 0; min-height: 392px; position: relative; overflow: hidden; }
.sm-map__visual .root_daum_roughmap { position: absolute; inset: 0; display: flex; flex-direction: column; width: 100% !important; height: 100%; max-width: 100%; box-sizing: border-box; }
.sm-map__visual .root_daum_roughmap .wrap_map,
.sm-map__visual .root_daum_roughmap .wrap_controllers { width: 100% !important; box-sizing: border-box; }
.sm-map__visual .root_daum_roughmap .wrap_map { flex: 1; min-height: 0; height: auto !important; }
.sm-map__visual .root_daum_roughmap .wrap_controllers { flex-shrink: 0; }
.sm-map__visual .root_daum_roughmap .cont { display: none !important; }
.sm-map__visual iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1); }
.sm-map__placeholder { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; color: var(--ink-3); font-size: 17px; text-align: center; }

/* ---------- Footer ---------- */
.sm-footer__inner { max-width: var(--max); margin: 0 auto; width: 100%; padding: 32px var(--gutter) 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px 48px; font-size: 17px; color: var(--ink-3); line-height: 1.6; }
.sm-footer__title { font-weight: 800; font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.sm-footer__label { font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.sm-footer__links { display: flex; flex-direction: column; gap: 6px; }
.sm-footer__links a { color: var(--ink); text-decoration: none; }
.sm-footer__links a:hover { color: var(--accent); }
.sm-footer__login { opacity: .6; }
.sm-footer__copy { font-family: var(--font-num); margin-top: 8px; }

/* ---------- Sub page wrapper ---------- */
.sm-page { border-bottom: 2px solid var(--rule); min-height: 60vh; }
.sm-page__inner { max-width: var(--max); margin: 0 auto; padding: clamp(24px, 4vw, 48px) var(--gutter) clamp(40px, 6vw, 80px); }
.sm-page__head { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 2px solid var(--rule-strong); }
.sm-page__head h1, .sm-page__head h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 900; }
.sm-page__desc { margin-top: 8px; color: var(--ink-3); font-size: 18px; }

/* ---------- Board: list ---------- */
#bo_list { width: 100% !important; }
.sm-bo-cate { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.sm-bo-cate a { display: inline-block; padding: 7px 12px; font-size: 17px; font-weight: 600; color: var(--ink); text-decoration: none; border: 1px solid var(--rule); }
.sm-bo-cate a:hover { background: var(--surface); }
.sm-bo-cate a.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sm-bo-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; font-size: 17px; color: var(--ink-3); }
.sm-bo-top .sm-num { color: var(--ink); font-weight: 600; }
.sm-bo-tools { display: flex; gap: 6px; }
.sm-bo-tools a, .sm-bo-tools button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; font-size: 17px; font-weight: 600; color: var(--ink); background: transparent; border: 1px solid var(--rule); text-decoration: none; }
.sm-bo-tools a:hover, .sm-bo-tools button:hover { background: var(--surface); }
.sm-bo-tools .sm-bo-tools__write { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.sm-bo-list { border-top: 2px solid var(--rule-strong); }
.sm-bo-row { display: grid; grid-template-columns: 96px 1fr 110px; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.sm-bo-row--notice { background: linear-gradient(90deg, var(--accent-100), transparent 60%); }
.sm-bo-row__cate { font-size: 16px; }
.sm-bo-row__tit { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sm-bo-row__tit a { color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-bo-row__tit a:hover { color: var(--accent); }
.sm-bo-row__file { font-size: 15px; color: var(--ink-3); }
.sm-bo-row__new { font-family: var(--font-num); font-size: 14px; font-weight: 800; color: var(--accent); }
.sm-bo-row__date { font-family: var(--font-num); font-size: 17px; color: var(--ink-3); text-align: right; }
.sm-bo-empty { padding: 48px 0; text-align: center; color: var(--ink-3); border-bottom: 1px solid var(--rule); }
@media (max-width: 640px) {
  .sm-bo-row { grid-template-columns: 1fr auto; grid-template-areas: "cate date" "tit tit"; gap: 6px 12px; }
  .sm-bo-row__cate { grid-area: cate; }
  .sm-bo-row__date { grid-area: date; }
  .sm-bo-row__tit { grid-area: tit; }
  .sm-bo-row__tit a { white-space: normal; }
}
/* pagination (그누보드 .pg_wrap) */
.pg_wrap { display: flex; justify-content: center; margin: 24px 0 0; }
.pg { display: inline-flex; border: 1px solid var(--rule); }
.pg a, .pg strong { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 8px; font-family: var(--font-num); font-size: 18px; font-weight: 600; color: var(--ink); text-decoration: none; border-right: 1px solid var(--rule); }
.pg a:last-child, .pg strong:last-child { border-right: 0; }
.pg a:hover { background: var(--surface); }
.pg strong.pg_current { background: var(--accent); color: var(--bg); }
.pg .sound_only { display: none; }
/* search */
.sm-bo-sch { display: none; margin-top: 16px; }
.sm-bo-sch.is-open { display: block; }
.sm-bo-sch form { display: flex; gap: 6px; max-width: 520px; }
.sm-bo-sch select, .sm-bo-sch input[type="text"] { min-height: 44px; padding: 8px 12px; border: 1px solid var(--rule); background: var(--bg); }
.sm-bo-sch input[type="text"] { flex: 1; }
.sm-bo-sch button { min-height: 44px; padding: 8px 16px; background: var(--ink); color: var(--bg); border: 0; font-weight: 700; }

/* ---------- Board: view ---------- */
#bo_v { width: 100% !important; }
.sm-bo-v__head { padding-bottom: 20px; border-bottom: 2px solid var(--rule-strong); margin-bottom: 24px; }
.sm-bo-v__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.sm-bo-v__title { font-size: clamp(22px, 3vw, 34px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 900; }
.sm-bo-v__info { margin-top: 10px; font-size: 17px; color: var(--ink-3); display: flex; gap: 12px; flex-wrap: wrap; }
.sm-bo-v__con { font-size: 18px; line-height: 1.8; min-height: 120px; word-break: break-word; }
.sm-bo-v__con img { height: auto; }
.sm-bo-v__con table { border-collapse: collapse; }
.sm-bo-v__con td, .sm-bo-v__con th { border: 1px solid var(--rule); padding: 6px 10px; }
.sm-bo-v__files { margin-top: 32px; border-top: 2px solid var(--rule-strong); }
.sm-bo-v__files h3 { font-size: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); padding: 12px 0 4px; }
.sm-bo-v__files li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 18px; }
.sm-bo-v__files li a { color: var(--ink); font-weight: 600; text-decoration: none; }
.sm-bo-v__files li a:hover { color: var(--accent); }
.sm-bo-v__files li small { color: var(--ink-3); font-family: var(--font-num); }
.sm-bo-v__nav { margin-top: 32px; border-top: 2px solid var(--rule-strong); }
.sm-bo-v__nav li { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 18px; align-items: center; }
.sm-bo-v__nav li span:first-child { font-size: 16px; font-weight: 600; color: var(--ink-3); }
.sm-bo-v__nav li a { color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-bo-v__nav li a:hover { color: var(--accent); }
.sm-bo-v__nav .sm-date { text-align: right; }
.sm-bo-v__btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.sm-bo-v__btns a, .sm-bo-v__btns button { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; font-size: 18px; font-weight: 700; color: var(--ink); background: transparent; border: 1px solid var(--rule); text-decoration: none; }
.sm-bo-v__btns a:hover, .sm-bo-v__btns button:hover { background: var(--surface); }
.sm-bo-v__btns .sm-bo-v__list { background: var(--ink); border-color: var(--ink); color: var(--bg); }
#bo_v_share, #bo_vc, #bo_v_act { display: none; }

/* ---------- Board: write (그누보드 기본 마크업 재스타일) ---------- */
#bo_w { width: 100% !important; }
#bo_w .write_div { margin-bottom: 16px; }
#bo_w label, #bo_w .frm_info { font-size: 17px; color: var(--ink-3); }
#bo_w .frm_input, #bo_w select, #bo_w textarea { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--rule); background: var(--bg); font-size: 18px; }
#bo_w #wr_subject { font-weight: 700; }
#bo_w textarea { min-height: 320px; }
#bo_w .bo_w_flie, #bo_w .bo_w_link { padding: 10px 0; border-top: 1px solid var(--rule); }
#bo_w .bo_w_select select { width: auto; margin-bottom: 8px; }
#bo_w .bo_w_info { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 8px; margin-bottom: 8px; }
#bo_w .btn_confirm { display: flex; gap: 6px; margin-top: 24px; }
#bo_w .btn_submit, .btn_submit { min-height: 48px; padding: 10px 20px; background: var(--accent); color: var(--bg); border: 0; font-weight: 800; }
#bo_w .btn_cancel, .btn_cancel { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 20px; border: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
#bo_w .bo_w_tit label { font-weight: 700; }
#bo_w .chk_box { display: inline-flex; align-items: center; gap: 6px; margin-right: 12px; }
#char_count_wrap { font-size: 16px; color: var(--ink-3); }
#bo_w .frm_file, #bo_w input[type="file"] { min-height: 0; padding: 0; border: 0; font-size: 17px; }
#captcha { margin: 8px 0; }
#autosave_pop, .bo_w_flie .frm_file + label { display: none; }

/* ---------- Content page ---------- */
#ctt_con { font-size: 18px; line-height: 1.8; max-width: 800px; }
#ctt_con h2, #ctt_con h3 { margin: 28px 0 10px; font-size: 20px; }
#ctt_con h2:first-child, #ctt_con h3:first-child { margin-top: 0; }
#ctt_con p { margin-bottom: 12px; }
#ctt_con ul, #ctt_con ol { list-style: disc; padding-left: 20px; margin-bottom: 12px; }
#ctt_con ol { list-style: decimal; }
#ctt_con table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 18px; }
#ctt_con th, #ctt_con td { border: 1px solid var(--rule); padding: 8px 10px; text-align: left; vertical-align: top; }
#ctt_con th { background: var(--surface); font-weight: 700; }

/* ---------- 그누보드 공용 요소 (로그인, 회원 등 basic 스킨) 최소 정리 ---------- */
.sm-main--sub #mb_login, .sm-main--sub .form_01 { max-width: 480px; }
.sm-main--sub #mb_login .frm_input { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--rule); margin-bottom: 8px; }
.sm-main--sub #login_fs .btn_submit { width: 100%; }
.sm-main--sub #mb_login legend, .sm-main--sub .sound_only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sm-main--sub #login_info, .sm-main--sub #mb_login h2 { font-size: 18px; margin: 8px 0; }
.sm-main--sub #login_info a { color: var(--ink); margin-right: 8px; }
#hd_pop { display: none; }
#hd_pop.on { display: block; }

/* ── 2026 행사 계획 반영: 심사 항목 · 시상 내역 · 전체 추진 일정 ───────── */
.sm-judge-items { list-style: none; margin: 18px 0 6px; padding: 0; display: grid; gap: 2px; background: var(--rule); border: 2px solid var(--ink); }
.sm-judge-items li { background: var(--bg); padding: 14px clamp(2px, 1vw, 16px); display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-width: 0; border-bottom: 12px solid var(--ink); }
.sm-judge-items .k { font-size: clamp(12px, 2.5vw, 17px); font-weight: 700; letter-spacing: 0.02em; color: var(--ink); overflow-wrap: anywhere; }
.sm-judge-items .v { font-family: var(--font-num); font-variant-numeric: tabular-nums; font-size: clamp(11px, 3vw, 22px); font-weight: 800; color: var(--accent); white-space: nowrap; }
.sm-judging__note { font-size: 16px; color: rgba(255, 255, 255, 0.82); margin-top: 10px; }

.sm-sub-h { font-size: clamp(20px, 2vw, 24px); font-weight: 800; letter-spacing: -0.02em; margin: 28px 0 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.sm-sub-h span { font-size: 17px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.sm-awards { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.sm-awards li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: baseline; padding: 11px 2px; border-bottom: 1px solid var(--rule); }
.sm-awards .k { font-size: 18px; font-weight: 700; }
.sm-awards .n { font-family: var(--font-num); font-variant-numeric: tabular-nums; font-size: 17px; color: var(--ink-3); }
.sm-awards .v { font-family: var(--font-num); font-variant-numeric: tabular-nums; font-size: 18px; font-weight: 700; }
.sm-note { font-size: 16px; line-height: 1.7; color: var(--ink-3); margin-top: 10px; }
.sm-schedule--wide > div { grid-template-columns: minmax(0, 150px) 1fr; }
.sm-schedule--wide .sm-schedule__time { font-size: clamp(15px, 1.4vw, 17px); }
@media (max-width: 560px) { .sm-schedule--wide > div { grid-template-columns: 1fr; gap: 4px; } }
