:root {
  color-scheme: light;
  --ink: #16233e;
  --blue: #233d8f;
  --muted: #53627b;
  --line: #d8deea;
  --paper: #f5f7fb;
  --accent: #ffac71;
  font-family: NanumSquare, "Nanum Square", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: weight;
  line-height: 1.55;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, input, select { font: inherit; }
a { text-decoration: none; color: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
:focus-visible { outline: 3px solid #c15d0b; outline-offset: 3px; }
[hidden] { display: none !important; }
.icon { display: inline-block; width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.symbol-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; left: 1rem; top: .5rem; padding: .6rem 1rem; z-index: 5; background: #fff; border-radius: .3rem; }
.shell { width: min(100% - 3rem, 70rem); margin-inline: auto; }
.masthead { background: #fff; border-bottom: 1px solid #e6eaf1; }
.masthead-inner, .identity, .result-options, .heading-line, .event-nav, .event-nav a, .event-date, .results-bar, .footer-inner { display: flex; align-items: center; }
.masthead-inner { justify-content: space-between; min-height: 4.25rem; gap: .65rem; }
.identity { gap: .6rem; font-size: 1rem; font-weight: 700; letter-spacing: -.045em; white-space: nowrap; }
.university-logo { display: block; width: auto; height: clamp(2.4rem, 4vw, 3rem); aspect-ratio: 372 / 150; object-fit: contain; object-position: left center; }
.identity-rule { height: .9rem; width: 1px; background: #c5cbd5; margin-inline: .15rem; }
.event-label { font-size: .875rem; color: #526078; font-weight: 700; }
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: "copy art" "links art"; gap: 1.1rem 1.75rem; align-content: center; padding: 1.85rem clamp(1.5rem, 4vw, 3rem); margin-top: 1.45rem; border-radius: 1.25rem; background: #213882; color: #fff; }
.hero-content { grid-area: copy; align-self: end; min-width: 0; }
.event-date { gap: .55rem; font-size: .875rem; font-weight: 700; color: #edf2ff; letter-spacing: .065em; font-variant-numeric: tabular-nums; }
.event-date > span { width: 1.6rem; height: 3px; background: var(--accent); }
.hero-kicker { font-size: clamp(1rem, 1.7vw, 1.25rem); font-weight: 650; color: #e1e9ff; margin: 1.05rem 0 .12rem; letter-spacing: -.04em; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.65rem, 5vw, 4.25rem); letter-spacing: -.075em; line-height: 1.13; font-weight: 850; }
.event-nav { grid-area: links; gap: .48rem; align-self: start; align-items: stretch; flex-wrap: wrap; }
.event-nav a { gap: .4rem; border: 1px solid #7d90ca; padding: .3rem .68rem; min-height: 2.75rem; border-radius: .55rem; color: #fff; font-size: .9rem; font-weight: 700; line-height: 1.3; background: #213882; white-space: nowrap; }
.event-nav .icon { width: 1rem; height: 1rem; }
.dinner-label { display: flex; flex-direction: column; }
.dinner-label small { font-size: .76rem; font-weight: 600; color: #e2e9ff; }
.hero-art { grid-area: art; display: grid; align-items: center; justify-items: center; min-width: 0; }
.hero-art img { display: block; width: 100%; height: clamp(12.5rem, 21vw, 16rem); object-fit: contain; }
.directory { margin: 2.75rem 0 4.5rem; scroll-margin-top: 1rem; }
.heading-line { gap: .65rem; }
.heading-bar { width: .32rem; height: 1.55rem; border-radius: .15rem; background: var(--blue); }
h2 { font-size: clamp(1.45rem, 2.3vw, 1.9rem); letter-spacing: -.06em; line-height: 1.3; }
.controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(9rem, 13rem) minmax(9rem, 12rem); gap: .6rem; margin: 1rem 0 1.15rem; }
.search-wrap, .filter-wrap { display: flex; align-items: center; position: relative; min-width: 0; min-height: 3rem; background: white; border: 1px solid #bcc7d7; border-radius: .65rem; }
.search-wrap:focus-within, .filter-wrap:focus-within { border-color: var(--blue); box-shadow: 0 0 0 2px #bbcaf0; }
.search-wrap > .icon { color: #526481; margin-left: .95rem; }
.search-wrap input { width: 100%; min-width: 0; padding: .64rem .5rem .64rem .7rem; border: 0; background: transparent; color: var(--ink); outline: 0; font-size: 1rem; }
input::-webkit-search-cancel-button { display: none; }
.search-wrap input::placeholder { color: #5f6d80; opacity: 1; }
.input-clear { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: transparent; flex: none; color: var(--muted); }
.filter-wrap select, .sort-wrap select { appearance: none; -webkit-appearance: none; min-width: 0; width: 100%; height: 100%; padding: .55rem 2.2rem .55rem .85rem; background: transparent; border: 0; color: var(--ink); font-size: .95rem; text-overflow: ellipsis; border-radius: inherit; }
.filter-wrap select:focus-visible { outline: none; }
.filter-wrap > .icon, .sort-wrap > .icon { position: absolute; right: .65rem; pointer-events: none; width: 1rem; height: 1rem; color: #53617a; }
.results-bar { justify-content: space-between; gap: .45rem; min-height: 2.75rem; margin-bottom: .55rem; }
#summary { font-size: .94rem; color: var(--muted); }
#summary strong { color: var(--blue); font-weight: 800; }
.result-options { gap: .32rem; flex-shrink: 0; }
.sort-wrap { display: flex; align-items: center; position: relative; }
.sort-wrap select { padding: .55rem 1.25rem .55rem .25rem; min-height: 2.75rem; color: var(--muted); font-size: .875rem; }
.sort-wrap > .icon { right: 0; }
.reset { display: inline-flex; align-items: center; gap: .2rem; background: transparent; border: none; padding: .35rem; min-height: 2.75rem; color: var(--blue); font-size: .875rem; font-weight: 700; }
.reset .icon { width: .92rem; height: .92rem; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.card { min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: .85rem; padding: 1.2rem 1.15rem 1.05rem; }
.category { align-self: flex-start; background: #edf1fb; padding: .16rem .55rem; color: #324e88; border-radius: .3rem; font-size: .875rem; line-height: 1.5; font-weight: 700; }
.card h3 { margin: .68rem 0 .32rem; font-size: 1.25rem; font-weight: 800; letter-spacing: -.045em; line-height: 1.4; overflow-wrap: anywhere; }
.metadata { display: flex; flex-wrap: wrap; column-gap: .55rem; row-gap: .2rem; align-items: center; font-size: .875rem; color: #586780; }
.metadata span { display: inline-flex; gap: .19rem; align-items: center; }
.metadata span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; background: #8792a4; border-radius: 50%; margin-right: .24rem; }
.metadata .icon { width: .95rem; height: .95rem; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: .46rem; margin-top: auto; padding-top: 1.05rem; }
.act { display: inline-flex; align-items: center; justify-content: center; min-height: 2.8rem; gap: .35rem; white-space: nowrap; border: 1px solid #bcc8dc; border-radius: .48rem; font-weight: 700; font-size: .91rem; line-height: 1.3; color: #30466e; background: #fff; }
.act .icon { width: 1rem; height: 1rem; }
.act-view { color: var(--blue); background: #eef2ff; border-color: #cad5f1; }
.empty { text-align: center; background: #fff; border: 1px dashed #b9c6da; padding: 2.4rem 1rem; border-radius: .8rem; }
.empty > .icon { width: 1.8rem; height: 1.8rem; margin-bottom: .35rem; color: var(--muted); }
.empty h3 { font-size: 1.2rem; }
.empty p { color: var(--muted); margin: .35rem 0 .85rem; }
.empty button { border-radius: .5rem; background: var(--blue); color: white; border: none; font-weight: 700; padding: .65rem 1rem; min-height: 2.75rem; }
footer { border-top: 1px solid #dce2ec; color: var(--muted); }
.footer-inner { gap: 1rem; justify-content: space-between; padding-block: 1.4rem; font-size: .875rem; }
@media (hover: hover) {
  .act:hover { border-color: #859abf; background: #f4f6fb; }
  .act-view:hover { background: #dfe7ff; border-color: #98abde; }
  .event-nav a:hover { background: #344e96; }
}
@media (max-width: 58rem) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.13fr); grid-template-areas: "copy art" "links art"; gap: .9rem 1rem; }
}
@media (max-width: 42rem) {
  .shell { width: min(100% - 2rem, 34rem); }
  .masthead-inner { min-height: 3.45rem; }
  .identity { gap: .35rem; }
  .event-label { font-size: .83rem; }
  .hero { grid-template-areas: "copy art" "links links"; margin-top: 1rem; border-radius: .9rem; padding: 1.1rem; }
  .hero-content { align-self: center; }
  .hero-kicker { margin-top: .8rem; }
  .event-date { font-size: .82rem; }
  .event-nav { display: grid; grid-template-columns: 1fr 1fr 1.16fr; gap: .35rem; }
  .event-nav a { justify-content: center; padding: .35rem .2rem; gap: .25rem; text-align: center; }
  .hero-art img { height: 10rem; }
  .directory { margin: 1.75rem 0 3rem; }
  .controls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .48rem; margin: .78rem 0 .35rem; }
  .search-wrap { grid-column: 1 / -1; }
  .filter-wrap { min-height: 2.75rem; }
  .results-bar { margin-bottom: .35rem; }
  .cards { grid-template-columns: 1fr; gap: .6rem; }
  .card { padding: 1.05rem 1.05rem .95rem; }
  .card h3 { margin-top: .5rem; }
  .actions { padding-top: .8rem; }
  .footer-inner { flex-wrap: wrap; gap: .2rem 1rem; }
}
@media (max-width: 30rem) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "art" "links"; gap: .55rem; padding: 1.05rem .8rem .8rem; }
  .hero-content { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .12rem .4rem; padding-inline: .15rem; }
  .hero-content h1 { grid-column: 1 / -1; font-size: 2.4rem; }
  .hero-kicker { grid-row: 1; grid-column: 1; margin: 0; }
  .event-date { grid-row: 1; grid-column: 2; font-size: .78rem; letter-spacing: .02em; }
  .event-date > span { display: none; }
  .hero-art img { width: 100%; height: clamp(8rem, 37vw, 10rem); }
}
@media (max-width: 21rem) {
  .shell { width: calc(100% - 1.35rem); }
  .identity-rule { margin-inline: 0; }
  .identity { font-size: .9rem; }
  .event-label { font-size: .76rem; }
  .event-nav .icon { display: none; }
}
@media (forced-colors: active) {
  .hero { border: 1px solid CanvasText; }
  .heading-bar, .event-date > span { border: 1px solid CanvasText; }
}
