/* 대학정보 (/univ) — premium editorial: 아이보리 지면, 잉크 블랙, 딥 네이비, 헤어라인, 세리프 제목 */
.uv { padding-top: 14px; padding-bottom: 48px; }
.uv .sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.uv a:not(.uv-btn):not(.uv-badge):hover { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.uv .n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.uv-crumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.uv-crumb span[aria-hidden] { color: var(--faint); }

/* 머리 */
.uv-head { border-bottom: 1px solid var(--ink); padding: 6px 0 18px; }
.uv-head h1 { font-family: var(--serif); font-weight: 800; font-size: 38px; line-height: 1.22; letter-spacing: -0.055em; margin: 6px 0 10px; }
.uv-head .dek { font-size: 16.5px; line-height: 1.6; margin: 0 0 10px; max-width: 760px; }
.uv-src { margin: 0; font-size: 12.5px; color: var(--muted); }
.uv-src a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.uv-dhead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: end; }
.uv-h-campus { font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--muted); letter-spacing: -0.01em; vertical-align: 0.4em; margin-left: 4px; padding: 1px 7px; border: 1px solid var(--rule); }
.uv-facts { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; font-size: 13.5px; }
.uv-facts div { display: flex; gap: 6px; min-width: 0; }
.uv-facts dt { color: var(--muted); font-weight: 600; }
.uv-facts dd { margin: 0; color: var(--ink-2); }
.uv-facts dd a { text-decoration: underline; text-underline-offset: 2px; }
.uv-dhead-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.uv-logo { max-width: 120px; height: auto; }
.uv-save { margin: 0; }
.uv-cmp-link { font-size: 13px; color: var(--muted); }

/* 버튼·폼 */
.uv-btn { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 16px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-weight: 700; font-size: 14px; cursor: pointer; border-radius: 0; white-space: nowrap; }
.uv-btn:hover { background: var(--accent); border-color: var(--accent); }
.uv-btn:disabled { background: var(--paper-2); border-color: var(--rule); color: var(--faint); cursor: not-allowed; }
.uv-btn-line { background: #fff; color: var(--ink); }
.uv-btn-line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.uv-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.uv-q { flex: 1 1 240px; min-width: 0; }
.uv-q input, .uv-sel select, .uv-cmpform select { width: 100%; height: 38px; padding: 0 12px; border: 1px solid var(--rule); background: #fff; border-radius: 0; font-size: 14.5px; }
.uv-q input:focus, .uv-sel select:focus, .uv-cmpform select:focus { border-color: var(--ink); outline: none; }
.uv-chk { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.uv-chk input { width: 16px; height: 16px; accent-color: var(--ink); }
.uv-sel { flex: 0 1 180px; min-width: 140px; }
.uv-reset { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

.uv-count { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0 8px; font-size: 13.5px; color: var(--ink-2); }
.uv-count b { font-variant-numeric: tabular-nums; }
.uv-count-hint { color: var(--muted); font-size: 12.5px; }

/* 지표 띠 */
.uv-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--ink); }
.uv-strip > div { display: flex; flex-direction: column; padding: 14px 18px; border-left: 1px solid var(--rule); min-width: 0; }
.uv-strip > div:first-child { border-left: 0; padding-left: 0; }
.uv-strip span { font-size: 12px; color: var(--muted); font-weight: 600; }
.uv-strip b { font-size: 28px; font-weight: 900; letter-spacing: -0.04em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.uv-strip b small { font-size: 13px; font-weight: 700; margin-left: 2px; }
.uv-strip em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.uv-groups { display: flex; gap: 4px; flex-wrap: wrap; }
.uv-groups i { font-style: normal; font-family: var(--serif); font-size: 20px; font-weight: 800; width: 34px; height: 34px; display: inline-grid; place-items: center; border: 1px solid var(--ink); margin-top: 2px; }

/* 표 */
.uv-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.uv-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.uv-table th, .uv-table td { padding: 10px 10px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: middle; }
.uv-table thead th { font-size: 12.5px; font-weight: 700; color: var(--muted); border-bottom: 1px solid var(--ink); padding-top: 8px; padding-bottom: 8px; white-space: nowrap; }
.uv-table tbody th { font-weight: 600; }
.uv-table th:first-child, .uv-table td:first-child { padding-left: 0; }
.uv-table th:last-child, .uv-table td:last-child { padding-right: 0; }
.uv-table tbody tr:hover { background: rgba(19, 41, 75, .035); }

.uv-list .c-pick { width: 34px; }
.uv-list .c-pick input { width: 17px; height: 17px; accent-color: var(--ink); cursor: pointer; display: block; }
.uv-list .c-name { font-family: var(--serif); font-weight: 700; font-size: 16px; letter-spacing: -0.03em; white-space: nowrap; }
.uv-list .c-detail { width: 92px; text-align: right; }
.uv-list .c-ratio { min-width: 120px; }
.uv-campus { display: inline-block; font-family: var(--sans); font-size: 11.5px; font-weight: 600; color: var(--muted); border: 1px solid var(--rule); padding: 0 5px; margin-left: 4px; vertical-align: 1px; letter-spacing: 0; }
.uv-ratio { display: inline-block; width: 48px; height: 6px; background: var(--paper-2); margin-right: 8px; vertical-align: 1px; position: relative; }
.uv-ratio i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); }
.uv-badge { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent); border: 1px solid var(--accent); padding: 1px 7px; white-space: nowrap; }
.uv-badge:hover { background: var(--accent); color: #fff; }
.uv-none, .uv-nodata { color: var(--faint); }
.uv-nodata { font-size: 13px; font-weight: 600; }

.uv-more { text-align: center; padding: 18px 0 4px; }
.uv-more a { display: inline-block; border: 1px solid var(--ink); padding: 9px 28px; font-weight: 700; font-size: 14px; }
.uv-more a:hover { background: var(--ink); color: var(--paper) !important; text-decoration: none !important; }
.uv-more span { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.uv-more a:hover span { color: inherit; }

.uv-notes { margin: 22px 0 0; padding: 12px 0 0; border-top: 1px solid var(--rule); list-style: none; font-size: 12.5px; color: var(--muted); display: grid; gap: 4px; }
.uv-notes li::before { content: '※ '; }
.uv-notes a { text-decoration: underline; text-underline-offset: 2px; }

.uv-empty { padding: 28px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); font-size: 14.5px; }
.uv-empty p { margin: 0 0 4px; }
.uv-empty a { text-decoration: underline; text-underline-offset: 2px; }
.uv-empty-s { font-size: 13.5px; color: var(--muted); margin: 0; }
.uv-alert { margin: 14px 0 0; padding: 10px 14px; border-left: 2px solid var(--alert); background: #fff; font-size: 13.5px; }

/* 비교 바 (목록 하단 고정) */
.uv-cmpbar { position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 10px 16px; margin-top: 18px; padding: 10px 0; background: var(--paper); border-top: 2px solid var(--ink); }
.uv-cmpbar-t { font-weight: 800; font-size: 14px; white-space: nowrap; }
.uv-cmpbar-t b { font-variant-numeric: tabular-nums; color: var(--accent); }
.uv-cmpbar-h { flex: 1; min-width: 0; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uv-cmpbar.on .uv-cmpbar-h { color: var(--ink-2); }

/* 상세 레이아웃 */
.uv-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; margin-top: 30px; }
.uv-main, .uv-side { min-width: 0; }
.uv-main > .uv-sec + .uv-sec { margin-top: 40px; }
.uv-side { display: flex; flex-direction: column; gap: 32px; }
.uv-sec-meta { font-size: 13px; color: var(--muted); }
.uv-lead { font-size: 14.5px; color: var(--ink-2); margin: 0 0 16px; }
.uv-lead a { text-decoration: underline; text-underline-offset: 2px; }
.uv-foot { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }

.uv-quota tbody tr.zero td, .uv-quota tbody tr.zero th { color: var(--faint); }
.uv-quota tfoot th, .uv-quota tfoot td { font-weight: 700; border-bottom: 1px solid var(--rule); }
.uv-quota tfoot tr:first-child th, .uv-quota tfoot tr:first-child td { border-top: 1px solid var(--ink); }
.uv-quota tfoot tr.sub th, .uv-quota tfoot tr.sub td { font-weight: 500; color: var(--ink-2); }
.uv-quota tfoot tr.tot th, .uv-quota tfoot tr.tot td { border-bottom: 2px solid var(--ink); font-size: 15.5px; font-weight: 800; }
.uv-chart { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--rule); }

.uv-regional p { margin: 0; font-size: 14.5px; }
.uv-bignum { font-size: 28px; font-weight: 900; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; margin-right: 2px; }

/* 전형 카드 */
.uv-tracks { list-style: none; margin: 0; padding: 0; }
.uv-track { padding: 20px 0 18px; border-top: 1px solid var(--rule); }
.uv-track:first-child { border-top: 1px solid var(--ink); }
.uv-track > header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 12px; }
.uv-track h3 { font-family: var(--serif); font-size: 21px; font-weight: 800; letter-spacing: -0.045em; line-height: 1.3; margin: 0; flex: 1 1 auto; min-width: 0; }
.uv-period { font-size: 11.5px; font-weight: 800; padding: 1px 7px; border: 1px solid currentColor; }
.uv-period.p-s { color: var(--accent); }
.uv-period.p-j { color: var(--ink); background: var(--ink); color: var(--paper); border-color: var(--ink); }
.uv-cat { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.uv-tq { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
.uv-tq b { font-size: 20px; font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; margin-right: 1px; }

.uv-stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 24px; margin-bottom: 14px; }
.uv-stages h4 { grid-column: 1 / -1; margin: 0; font-size: 12.5px; font-weight: 800; color: var(--muted); }
.uv-stage { border-top: 1px solid var(--ink); padding-top: 6px; min-width: 0; }
.uv-stage-h { font-size: 13px; font-weight: 800; margin-bottom: 4px; }
.uv-stage-h span { font-weight: 600; color: var(--muted); }
.uv-stage ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.uv-stage li { display: grid; grid-template-columns: minmax(56px, auto) minmax(40px, 1fr) auto; align-items: center; gap: 10px; font-size: 13.5px; }
.uv-stage .el { font-weight: 600; white-space: nowrap; }
.uv-stage .bar { height: 6px; background: var(--paper-2); position: relative; }
.uv-stage .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); }
.uv-stage .w { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 13px; text-align: right; min-width: 36px; }

.uv-tdl { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.uv-tdl > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.uv-tdl dt { font-weight: 700; color: var(--muted); font-size: 12.5px; padding-top: 2px; }
.uv-tdl dd { margin: 0; color: var(--ink-2); line-height: 1.6; }
.uv-tdl dd.has { color: var(--ink); }

.uv-ev { margin-top: 10px; font-size: 13.5px; }
.uv-ev summary { cursor: pointer; font-weight: 700; font-size: 13px; color: var(--accent); padding: 4px 0; list-style-position: inside; }
.uv-ev ul { list-style: none; margin: 6px 0 0; padding: 0 0 0 12px; border-left: 2px solid var(--rule); display: grid; gap: 6px; }
.uv-ev li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px; }
.uv-ev .pg { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; font-size: 12.5px; }
.uv-ev q { font-family: var(--serif); color: var(--ink-2); quotes: '“' '”'; }

.uv-track > footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.uv-verify { font-weight: 700; padding-left: 12px; position: relative; }
.uv-verify::before { content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: #8a5a00; }
.uv-verify.v-done::before { background: var(--ok); }
.uv-verify.v-auto { color: #6b4a08; }
.uv-verify.v-done { color: var(--ok); }
.uv-verify.v-none::before { background: var(--faint); }
.uv-tsrc a { text-decoration: underline; text-underline-offset: 2px; }

.uv-metrics td .uv-nodata { color: var(--alert); font-weight: 700; }
.uv-metrics td a { text-decoration: underline; text-underline-offset: 2px; font-size: 13.5px; }

/* 사이드 */
.uv-news { list-style: none; margin: 0; padding: 0; }
.uv-news li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.uv-news li:first-child a { font-family: var(--serif); font-size: 17px; font-weight: 700; }
.uv-news small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 2px; font-variant-numeric: tabular-nums; }
.uv-srcbox { border: 1px solid var(--rule); background: #fff; padding: 14px 16px; font-size: 13px; }
.uv-srcbox h2 { margin: 0 0 8px; font-size: 13px; font-weight: 800; padding-bottom: 6px; border-bottom: 1px solid var(--ink); }
.uv-srcbox dl { margin: 0; display: grid; gap: 10px; }
.uv-srcbox dt { font-size: 12px; font-weight: 700; color: var(--muted); }
.uv-srcbox dd { margin: 0; line-height: 1.5; }
.uv-srcbox dd a { text-decoration: underline; text-underline-offset: 2px; color: var(--ink); }
.uv-srcbox dd span { font-size: 12px; color: var(--muted); }
.uv-srcbox p { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 12.5px; }
.uv-srcbox p a { text-decoration: underline; }

.uv-partner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 14px; padding: 10px 14px; border: 1px solid var(--rule); background: var(--paper-2); font-size: 14px; }
.uv-partner p { margin: 0; flex: 1 1 200px; }
.uv-partner a { font-weight: 700; font-size: 13px; text-decoration: underline; }
.uv-ad { font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--muted); border: 1px solid var(--faint); padding: 0 6px; }

/* 비교 */
.uv-cmpform { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 10px 12px; align-items: end; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.uv-cmpform label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.uv-cmpform label span { font-size: 12px; font-weight: 700; color: var(--muted); }
.uv-cmp { margin-top: 20px; table-layout: fixed; min-width: 520px; }
.uv-cmp.cols-1 { min-width: 0; }
.uv-cmp .c-lab { width: 34%; }
.uv-cmp thead th.c-u { font-family: var(--serif); font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: -0.04em; white-space: normal; vertical-align: bottom; }
.uv-cmp thead th.c-u .uv-campus { display: block; width: fit-content; margin: 3px 0 0 auto; }
.uv-cmp tbody th { font-size: 13.5px; color: var(--ink-2); }
.uv-cmp tr.grp th { padding-top: 20px; font-size: 12.5px; font-weight: 800; color: var(--accent); border-bottom: 1px solid var(--ink); background: transparent; }
.uv-cmp tbody tr.grp:hover { background: transparent; }
.uv-cmp td.hi { font-weight: 800; color: var(--accent); }
.uv-cmp td .uv-ratio { width: 36px; }
.uv-cmp .c-tracks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 13px; text-align: right; }
.uv-cmp .c-tracks small { color: var(--muted); }
.uv-cmp .c-tracks { vertical-align: top; text-align: right; }

/* 반응형 */
@media (max-width: 1100px) {
  .uv-grid { grid-template-columns: 1fr; gap: 36px; }
  .uv-side { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .uv-head h1 { font-size: 28px; }
  .uv-head .dek { font-size: 15px; }
  .uv-dhead { grid-template-columns: 1fr; }
  .uv-dhead-side { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 10px 14px; }
  .uv-strip { grid-template-columns: 1fr 1fr; }
  .uv-strip > div { border-top: 1px solid var(--rule); padding: 12px 0 12px 14px; }
  .uv-strip > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .uv-strip > div:nth-child(-n+2) { border-top: 0; }
  .uv-strip b { font-size: 22px; }
  .uv-side { grid-template-columns: 1fr; }
  .uv-cmpform { grid-template-columns: 1fr; }
  .uv-cmpform .uv-btn { width: 100%; }
  .uv-tdl > div { grid-template-columns: 1fr; gap: 2px; }
  .uv-track h3 { font-size: 19px; flex-basis: 100%; order: 3; }
  .uv-tq { order: 4; }
  .uv-list .c-ratio .uv-ratio { display: none; }
  .uv-list .c-ratio { min-width: 0; }
  .uv-table { font-size: 14px; }
  .uv-table th, .uv-table td { padding: 9px 6px; }
  .uv-list .c-name { font-size: 15px; white-space: normal; min-width: 96px; }
  .uv-count-hint { display: none; }
}
@media (max-width: 420px) {
  .uv-head h1 { font-size: 25px; }
  .uv-sel { flex: 1 1 100%; }
  .uv-tools .uv-btn { flex: 1; }
  .uv-list th.c-detail, .uv-list td.c-detail { width: auto; }
  .uv-badge { font-size: 11px; padding: 0 5px; }
}
@media (max-width: 760px) {
  .uv-cmp { min-width: 0; font-size: 13px; }
  .uv-cmp .c-lab { width: 30%; }
  .uv-cmp thead th.c-u { font-size: 15px; }
  .uv-cmp tbody th { font-size: 12.5px; }
  .uv-cmp td .uv-ratio { display: none; }
  .uv-cmp .c-tracks ul { font-size: 12px; }
  .uv-cmp .c-tracks small { display: block; }
  .uv-badge-x { display: none; }
  .uv-list .c-detail { width: 44px; }
}
