:root {
  color-scheme: light;
  --ink: #172038; --muted: #788096; --line: #e8eaf0; --paper: #fff; --ground: #f5f6f8;
  --violet: #6657e8; --violet-deep: #4d3bc8; --meal: #ed7d3f; --notice: #6657e8; --letter: #24a885; --care: #df6586;
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ground); font-size: 16px; }
button, input { font: inherit; } button { cursor: pointer; } h1, h2, h3, p { margin: 0; }
.shell { width: min(1220px, calc(100% - 40px)); margin: 0 auto; padding: 30px 0 54px; }
.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { display: flex; align-items: end; gap: 3px; width: 46px; height: 46px; padding: 12px; border-radius: 15px; background: var(--ink); box-shadow: 0 10px 25px #17203821; }
.brand-mark span { display: block; flex: 1; border-radius: 8px; background: #fff; }
.brand-mark span:nth-child(1) { height: 45%; opacity: .65; }.brand-mark span:nth-child(2) { height: 78%; }.brand-mark span:nth-child(3) { height: 60%; opacity: .82; }
.school { color: var(--muted); font-size: .8rem; font-weight: 700; } h1 { margin-top: 1px; font-size: 1.3rem; letter-spacing: -.045em; }
#checkButton { display: flex; align-items: center; gap: 8px; border: 0; border-radius: 13px; padding: 12px 17px; color: #fff; background: var(--ink); font-weight: 750; box-shadow: 0 8px 20px #1720381c; transition: .18s; }
#checkButton:hover { background: var(--violet-deep); transform: translateY(-1px); } #checkButton:disabled { opacity: .66; cursor: wait; }
.overview { display: grid; grid-template-columns: 1.35fr 1fr; min-height: 245px; overflow: hidden; border-radius: 28px; color: white; background: linear-gradient(135deg, #201d44, #4237a8 58%, #7768ef); box-shadow: 0 20px 55px #2b236329; position: relative; }
.overview::after { content: ""; position: absolute; width: 300px; height: 300px; right: 28%; top: -205px; border: 1px solid #ffffff29; border-radius: 50%; box-shadow: 0 0 0 48px #ffffff09, 0 0 0 96px #ffffff08; }
.overview-copy { padding: 38px 46px; position: relative; z-index: 1; }
.live { display: flex; align-items: center; gap: 9px; color: #ddd9ff; font-size: .82rem; font-weight: 750; }
.live span { width: 8px; height: 8px; border-radius: 50%; background: #58e6b2; box-shadow: 0 0 0 6px #58e6b218; }
.overview h2 { margin-top: 20px; font-size: clamp(2.2rem, 4.5vw, 3.8rem); line-height: .98; letter-spacing: -.07em; }.overview h2 em { color: #b7adff; font-style: normal; }
.overview-note { margin-top: 20px; color: #d2cef3; font-size: .95rem; }
.summary { display: grid; align-content: center; padding: 30px 42px; background: #ffffff0d; backdrop-filter: blur(7px); position: relative; z-index: 1; }
.summary div { padding: 13px 0; border-bottom: 1px solid #ffffff1c; }.summary div:last-child { border-bottom: 0; }
.summary span { display: block; margin-bottom: 6px; color: #bbb7e1; font-size: .76rem; font-weight: 700; }
.summary strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .95rem; font-variant-numeric: tabular-nums; }
.error { display: flex; gap: 10px; margin: 18px 0 0; padding: 14px 17px; border: 1px solid #efc4c4; border-radius: 13px; color: #8b2f3c; background: #fff4f5; font-size: .86rem; }.error span { color: #a04a56; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meal-section, .notice-area { margin-top: 24px; padding: 27px 28px 29px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); box-shadow: 0 12px 38px #2b33510e; }
.section-title, .notice-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.title-with-icon { display: flex; align-items: center; gap: 13px; }
.restaurant-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: var(--meal); background: #fff1e8; }
.restaurant-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { color: var(--violet); font-size: .7rem; font-weight: 900; letter-spacing: .15em; }.meal-color { color: var(--meal); }
.section-title h2, .notice-heading h2 { margin-top: 4px; font-size: 1.55rem; letter-spacing: -.045em; }
.section-title > a { color: var(--muted); text-decoration: none; font-size: .86rem; font-weight: 750; }
.meal-gallery { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 12px; }
.meal-card { min-width: 0; overflow: hidden; color: inherit; text-decoration: none; border: 1px solid var(--line); border-radius: 17px; background: #fff; transition: .18s; }
.meal-card:hover { transform: translateY(-2px); box-shadow: 0 12px 25px #30271516; }
.meal-photo { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; color: #aa927f; background: #f8f0e9; font-size: .8rem; }
.meal-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .28s; }.meal-card:hover img { transform: scale(1.025); }
.meal-card.featured .meal-photo { aspect-ratio: 16 / 10; }
.meal-caption { display: flex; flex-direction: column; gap: 4px; padding: 13px 14px 14px; }.meal-caption strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }.meal-caption span { color: var(--muted); font-size: .74rem; }
.search { display: flex; align-items: center; gap: 8px; width: 230px; padding: 10px 13px; color: #9298a7; border: 1px solid var(--line); border-radius: 12px; background: #fafafd; }
.search:focus-within { border-color: #9d94ee; box-shadow: 0 0 0 3px #6657e811; }.search input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: .87rem; }
.board-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.board-panel { --accent: var(--notice); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }.board-panel.letter { --accent: var(--letter); }.board-panel.care { --accent: var(--care); }
.board-panel header { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 15px; border-bottom: 1px solid var(--line); }
.board-panel header div { display: flex; align-items: center; gap: 9px; min-width: 0; }.panel-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 11%, white); }
.board-panel h3 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1rem; letter-spacing: -.025em; }.board-panel header a { color: #989ead; text-decoration: none; }
.panel-post { display: block; padding: 15px 18px; color: inherit; text-decoration: none; border-bottom: 1px solid #eef0f3; transition: background .16s; }.panel-post:last-child { border-bottom: 0; }.panel-post:hover { background: color-mix(in srgb, var(--accent) 3%, white); }.panel-post[hidden] { display: none; }
.panel-post strong { display: -webkit-box; min-height: 2.8em; overflow: hidden; font-size: .91rem; line-height: 1.4; letter-spacing: -.018em; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }.panel-post time { display: block; margin-top: 8px; color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.panel-empty, .panel-no-results { padding: 48px 18px; text-align: center; color: var(--muted); font-size: .85rem; }
.empty { padding: 55px 28px; text-align: center; color: var(--muted); }.empty.compact { padding: 35px 20px; border-radius: 15px; background: #fafafa; }.empty strong { color: var(--ink); }.empty p { margin-top: 8px; font-size: .88rem; }.hidden { display: none !important; }
footer { display: flex; justify-content: space-between; align-items: center; padding: 22px 4px 0; color: #969cab; font-size: .78rem; } footer span { color: #6e7588; font-weight: 800; }
#toast { position: fixed; right: 24px; bottom: 24px; z-index: 10; padding: 13px 17px; border-radius: 12px; color: white; background: #282052; box-shadow: 0 14px 40px #17132c40; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s; }#toast.show { opacity: 1; transform: translateY(0); }#toast.bad { background: #922f40; }
.spin { display: inline-block; animation: spin .75s linear infinite; }@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 980px) { .meal-gallery { grid-template-columns: repeat(3, 1fr); }.meal-card.featured { grid-column: span 2; }.board-columns { grid-template-columns: 1fr; }.panel-list { display: grid; grid-template-columns: 1fr 1fr; }.panel-post:nth-child(7), .panel-post:nth-child(8) { display: none; } }
@media (max-width: 660px) {
  .shell { width: min(100% - 24px, 600px); padding-top: 18px; }.overview { grid-template-columns: 1fr; }.overview-copy { padding: 34px 28px 28px; }.overview h2 { font-size: 3rem; }
  .summary { grid-template-columns: 1fr 1fr; padding: 8px 28px 22px; }.summary div { padding: 14px 0; }.summary div:nth-child(2) { padding-left: 18px; border-left: 1px solid #ffffff1c; }.summary div:last-child { display: none; }
  .meal-section, .notice-area { padding: 21px 17px 22px; border-radius: 20px; }.meal-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 5px; }.meal-card, .meal-card.featured { flex: 0 0 76%; scroll-snap-align: start; }.meal-photo, .meal-card.featured .meal-photo { aspect-ratio: 4 / 3; }
  .notice-heading { align-items: end; }.search { width: 150px; }.panel-list { display: block; }.panel-post:nth-child(7), .panel-post:nth-child(8) { display: none; }
  footer { display: block; text-align: center; } footer p { margin-top: 5px; }
}
@media (max-width: 410px) { .school { display: none; }h1 { font-size: 1.08rem; }#checkButton { padding: 11px 13px; }.brand-mark { width: 42px; height: 42px; }.overview h2 { font-size: 2.65rem; }.section-title > a { font-size: .76rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }*, *::before, *::after { transition: none !important; animation-duration: .01ms !important; } }
