@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Black.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "GapyeongHanseokbong";
  src: url("fonts/GapyeongHanseokbongL.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "GapyeongHanseokbong";
  src: url("fonts/GapyeongHanseokbongR.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "GapyeongHanseokbong";
  src: url("fonts/GapyeongHanseokbongB.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "GapyeongWave";
  src: url("fonts/GapyeongWave.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  --font-sans: "Pretendard", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-event-number: "양재참숯체B", "Yangjae Chamsoot B", "Noto Serif KR", Batang, serif;
  --font-event-title: "ON월인석보R", "ON Wolinseokbo R", "Noto Serif KR", Batang, serif;
  --font-event-yut: "GapyeongWave", "가평물결", "Gapyeong Mulgyeol", "ON월인석보R", "Noto Serif KR", Batang, serif;
  --ink: #171717;
  --muted: #5f6368;
  --paper: #fffaf0;
  --line: #eadfce;
  --red: #f04438;
  --blue: #1888d3;
  --yellow: #ffc928;
  --green: #68bd45;
  --purple: #8972bd;
  --radius: 8px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-sans); font-size: 16px; font-weight: 400; line-height: 1.65; color: var(--ink); background: #fffdf8; overflow-x: hidden; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: var(--font-sans); }
p, li, dd, td, th { word-break: keep-all; overflow-wrap: anywhere; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #111; color: #fff; padding: 10px; z-index: 20; }
.skip-link:focus { left: 8px; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,253,248,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.header-inner { max-width: 1180px; margin: 0 auto; height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; }
.brand img { width: 245px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-item > a, .nav-cta { display: flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 16px; font-weight: 700; line-height: 1.2; }
.nav-item > a.active { color: var(--blue); }
.nav-cta { margin-left: 8px; background: var(--red); color: #fff; border-radius: var(--radius); }
.dropdown { display: none; position: absolute; top: 44px; left: 0; min-width: 180px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 28px rgba(0,0,0,.12); padding: 8px; }
.dropdown a { display: block; padding: 10px 12px; border-radius: 6px; color: #3a332e; font-size: 15px; line-height: 1.35; }
.dropdown a:hover { background: var(--paper); }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: block; }
.menu-toggle { display: none; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); min-height: 44px; padding: 0 14px; font-weight: 700; }
.hero-slider { position: relative; height: 500px; min-height: 500px; max-height: 500px; overflow: hidden; background: #f3f8ff; }
.hero-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .45s ease; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide picture { display: block; width: 100%; height: 100%; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.48) 0%, rgba(255,255,255,.34) 24%, rgba(255,255,255,.12) 48%, rgba(255,255,255,0) 78%); }
.hero-copy { position: absolute; inset: 0; z-index: 1; max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; padding: 0 24px; color: #111b35; text-shadow: 0 1px 0 rgba(255,255,255,.95), 0 2px 8px rgba(255,255,255,.76), 0 6px 18px rgba(0,0,0,.2); }
.eyebrow { margin: 0 0 10px; color: var(--red); font-size: 15px; font-weight: 700; line-height: 1.25; letter-spacing: 0; }
.hero-copy .eyebrow { color: #111b35; font-size: 21px; text-shadow: 0 1px 0 rgba(255,255,255,.96), 0 2px 8px rgba(255,255,255,.86), 0 5px 15px rgba(0,0,0,.2); }
.hero-copy h1 { margin: 0; max-width: 920px; font-size: clamp(38px, 5vw, 68px); font-weight: 900; line-height: 1.08; letter-spacing: 0; color: #0b4aa2; -webkit-text-stroke: 3px rgba(255,255,255,.96); paint-order: stroke fill; word-break: keep-all; overflow-wrap: normal; white-space: normal; text-shadow: 0 2px 0 rgba(255,255,255,.95), 0 5px 14px rgba(255,255,255,.75), 0 10px 24px rgba(0,0,0,.24); }
.hero-copy h1.event-title { font-weight: 400; }
.event-title { font-family: var(--font-event-title); font-weight: 400; letter-spacing: 0; }
.event-title-number { font-family: var(--font-event-number); font-size: .93em; font-weight: 400; }
.event-title-text { font-family: var(--font-event-title); font-size: 1em; font-weight: 400; }
.event-title-yut { font-family: var(--font-event-yut); font-size: 1.18em; font-weight: 400; }
.event-title-inline { display: inline-block; line-height: 1.25; color: inherit; }
.hero-copy p { max-width: 760px; margin: 16px 0 0; font-size: clamp(22px, 2.6vw, 32px); font-weight: 900; line-height: 1.18; color: #ffd34f; -webkit-text-stroke: 1.2px rgba(35,24,8,.78); paint-order: stroke fill; text-shadow: 0 2px 0 rgba(0,0,0,.62), 0 5px 12px rgba(0,0,0,.42), 0 0 14px rgba(255,255,255,.42); }
.place { font-weight: 700; color: #111b35; -webkit-text-stroke: 0; text-shadow: 0 1px 0 rgba(255,255,255,.95), 0 2px 8px rgba(255,255,255,.82), 0 5px 15px rgba(0,0,0,.22); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: var(--radius); font-size: 15px; font-weight: 700; line-height: 1.2; border: 1px solid transparent; }
.primary { background: var(--red); color: #fff; }
.light { background: #fff; color: #1f1a17; }
.outline { border-color: var(--red); color: var(--red); background: #fff; }
.hero-actions, .media-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-actions .button { text-shadow: none; -webkit-text-stroke: 0; paint-order: normal; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; font-size: 32px; cursor: pointer; }
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 24px; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.55); }
.slider-dots button.active { background: var(--yellow); }
.section { max-width: 1180px; margin: 0 auto; padding: 84px 24px; }
.admin-panel { padding-top: 26px; }
.admin-panel > .section-head { margin-bottom: 18px; }
.admin-panel > .section-head .eyebrow { margin-bottom: 6px; }
.admin-panel > .section-head h1 { margin: 0; }
.official-summary { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 24px; align-items: center; padding-top: 30px; padding-bottom: 20px; }
.official-summary h1 { margin: 0 0 10px; font-size: 30px; line-height: 1.25; color: #0b4aa2; }
.official-summary p { margin: 0; color: #403833; font-size: 18px; line-height: 1.75; }
.official-summary dl { display: grid; gap: 8px; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.official-summary dl div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: baseline; }
.official-summary dt { color: var(--blue); font-weight: 800; }
.official-summary dd { margin: 0; font-weight: 700; color: #1d2433; }
.home-program-section { padding-top: 28px; padding-bottom: 22px; }
.home-dashboard-section { padding-top: 6px; }
.section.warm { max-width: none; background: var(--paper); padding-left: max(24px, calc((100vw - 1180px) / 2 + 24px)); padding-right: max(24px, calc((100vw - 1180px) / 2 + 24px)); }
.section-head { margin-bottom: 28px; }
.section-head.row { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
h1, h2, h3 { letter-spacing: 0; font-weight: 700; line-height: 1.28; }
.section h2 { margin: 0; font-size: 32px; line-height: 1.24; }
.program-grid, .media-grid, .sponsor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.program-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .2s ease, box-shadow .2s ease; padding-bottom: 18px; }
.program-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.program-image { aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; padding: 0; background: linear-gradient(135deg, var(--yellow), #fff2a8 45%, var(--green)); font-size: 25px; font-weight: 700; text-align: center; overflow: hidden; }
.program-image img { width: 100%; height: 100%; object-fit: cover; }
.program-badge { position: absolute; left: 22px; top: clamp(118px, 12vw, 166px); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; transform: translateY(-50%); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.program-card:nth-child(2) .program-badge { background: var(--green); }
.program-card:nth-child(3) .program-badge { background: #f47b20; }
.program-card:nth-child(4) .program-badge { background: var(--purple); }
.program-card h3 { margin: 18px 0 8px; padding: 0 18px; text-align: center; font-size: 20px; line-height: 1.3; }
.program-card p { margin: 0; padding: 0 18px 18px; text-align: left; color: var(--muted); font-size: 15px; line-height: 1.7; white-space: normal; word-break: keep-all; overflow-wrap: anywhere; }
.mini-button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 14px; margin: 0 18px; border: 1px solid #d6e0ed; border-radius: 6px; background: #fff; color: #143b76; font-size: 14px; font-weight: 700; line-height: 1.2; }
.dashboard-grid { display: grid; grid-template-columns: 1.05fr 1fr 1.1fr; gap: 18px; padding-top: 18px; }
.home-panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 24px; box-shadow: 0 12px 34px rgba(27,44,71,.08); }
.home-panel h2 { font-size: 23px; line-height: 1.25; margin-bottom: 14px; }
.schedule-panel { position: relative; overflow: hidden; background: #fff url("images/home-schedule-pungmul.png") right bottom / 86% auto no-repeat; }
.schedule-panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.92) 44%, rgba(255,255,255,.72) 68%, rgba(255,255,255,.5) 100%); pointer-events: none; }
.schedule-panel > * { position: relative; z-index: 1; }
.day-tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #cbd8e8; border-radius: 6px; overflow: hidden; margin: 14px 0; }
.day-tabs.single { grid-template-columns: 1fr; }
.day-tabs span { padding: 11px 8px; text-align: center; font-weight: 700; }
.day-tabs span:first-child { background: #0b57b7; color: #fff; }
.schedule-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.schedule-list li { display: grid; grid-template-columns: 68px 1fr; gap: 12px; font-size: 15px; line-height: 1.55; }
.schedule-list time { color: #0b57b7; font-weight: 700; }
.schedule-page { max-width: 980px; display: grid; gap: 28px; }
.schedule-day { display: grid; gap: 12px; }
.schedule-day h2 { color: #0b57b7; }
.schedule-item { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.schedule-item time { color: var(--red); font-size: 22px; font-weight: 900; }
.schedule-item h3 { margin: 0 0 8px; font-size: 22px; }
.schedule-item p { margin: 0 0 8px; color: var(--muted); line-height: 1.6; }
.schedule-item span { font-weight: 700; color: #3d4a5f; }
.schedule-image { width: min(100%, 520px); aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); margin: 0 0 14px; }
.media-tile-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0; }
.media-tile-row a { min-height: 64px; display: grid; place-items: center; border-radius: 8px; background: #edf7e9; color: #277020; font-size: 16px; font-weight: 700; line-height: 1.25; }
.media-tile-row a:last-child { background: #eaf3ff; color: #075fb5; }
.media-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.media-preview img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 6px; }
.notice-panel { grid-row: span 1; }
.panel-title-row { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.panel-title-row > a { border: 1px solid #d6e0ed; border-radius: 6px; padding: 8px 12px; font-size: 13px; font-weight: 700; }
.apply-panel { grid-column: 3; background: #fff4dc; min-height: 170px; background-image: radial-gradient(circle at 85% 35%, rgba(255,201,40,.42), transparent 26%); }
.apply-panel h2 { color: #1d2f58; }
.split { display: grid; grid-template-columns: 1.4fr .6fr; align-items: center; gap: 24px; }
.notice-row { display: grid; grid-template-columns: minmax(0, 1fr) 94px; align-items: center; gap: 12px; min-height: 36px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.notice-row span { min-width: 0; font-size: 15px; font-weight: 700; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-row time { display: block; width: 94px; color: #333; font-size: 14px; line-height: 1.2; text-align: right; white-space: nowrap; }
.cta-band { margin: 0; padding: 86px 24px; text-align: center; background: #1e1a16; color: #fff; }
.cta-band h2 { font-size: 40px; margin: 0 0 12px; }
.sponsor { min-height: 86px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; background: #fff; font-weight: 700; }
.site-footer { background: linear-gradient(135deg, #122033, #07111f); color: #eef5ff; padding: 44px 24px; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(260px, 1.2fr) minmax(190px, .7fr) minmax(190px, .8fr) auto; gap: 24px; align-items: start; }
.footer-links { display: flex; gap: 10px; flex-wrap: wrap; align-content: start; }
.footer-links span { width: 100%; font-weight: 700; }
.footer-links a { color: #dbe8f8; }
.footer-links a:hover, .footer-links a:focus { color: #ffcf59; }
.footer-user-protection { border-left: 1px solid rgba(255,255,255,.16); padding-left: 22px; }
.admin-link { color: #ffcf59; }
.policy-page { max-width: 980px; }
.policy-page h2 { margin: 28px 0 10px; font-size: 24px; }
.policy-page h2:first-child { margin-top: 0; }
.policy-page p, .policy-page li { font-size: 16px; line-height: 1.82; color: #403833; }
.policy-page ul { display: grid; gap: 8px; padding-left: 22px; }
.competition-guide { max-width: 980px; }
.competition-guide .info-list { margin-bottom: 24px; }
.competition-summary div { grid-template-columns: 74px minmax(0, 1fr); gap: 10px; align-items: center; padding: 22px 24px; }
.competition-summary dt, .competition-summary dd { font-size: 24px; line-height: 1.45; }
.competition-summary dt { white-space: pre; }
.competition-summary dd { font-weight: 700; min-width: 0; overflow-wrap: anywhere; word-break: keep-all; }
.competition-summary dd br { display: block; }
.guide-block { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 24px; margin-top: 18px; }
.guide-block h2 { margin: 0 0 14px; font-size: 27px; line-height: 1.28; color: #0b57b7; }
.guide-block h3 { margin: 20px 0 8px; font-size: 21px; line-height: 1.35; }
.guide-block ul { display: grid; gap: 8px; padding-left: 22px; }
.guide-block li, .guide-block p { line-height: 1.82; color: #403833; font-size: 16px; }
.guide-note { margin-top: 12px; padding: 12px 14px; border-radius: 6px; background: var(--paper); font-weight: 700; }
.guide-table { display: grid; border-top: 2px solid #0b57b7; }
.guide-table div { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.guide-table strong { color: #111827; font-size: 23px; line-height: 1.5; }
.guide-table span { color: #403833; line-height: 1.72; font-size: 23px; }
.team-layout-figure { margin: 18px 0 6px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.team-layout-figure img { display: block; width: 100%; height: auto; }
.rules-book { max-width: 1100px; }
.rules-book-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 18px; }
.rules-book-head h2 { margin: 0; font-size: 29px; line-height: 1.25; }
.rules-book-head p { margin: 0; color: var(--muted); font-weight: 700; }
.rule-page { margin: 0 0 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: 0 12px 30px rgba(27,44,71,.08); }
.rule-page figcaption { padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--paper); color: #1d2f58; font-weight: 700; text-align: right; }
.rule-page img { display: block; width: 100%; height: auto; }
.sub-hero { position: relative; min-height: 190px; display: flex; align-items: center; background: #1e2c3d var(--sub-hero-image, url("images/subpage-hero-festival.png")) center/cover no-repeat; border-bottom: 1px solid var(--line); overflow: hidden; }
.sub-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,24,38,.76) 0%, rgba(12,24,38,.52) 20%, rgba(12,24,38,.12) 34%, rgba(12,24,38,0) 44%); }
.sub-hero > div { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 30px 24px; width: 100%; color: #fff; }
.sub-hero .eyebrow { color: #ffd05b; text-shadow: 2px 2px 5px rgba(0,0,0,.38); }
.sub-hero h1 { font-size: 42px; line-height: 1.18; margin: 0 0 8px; font-weight: 700; text-shadow: 3px 3px 7px rgba(0,0,0,.44); }
.sub-hero p:last-child { max-width: 720px; color: rgba(255,255,255,.92); font-size: 17px; line-height: 1.65; text-shadow: 2px 2px 5px rgba(0,0,0,.36); }
.sub-hero + .section { padding-top: 22px; }
.sub-hero + .section > :first-child { margin-top: 0; }
.sub-hero + .section.content-page h2:first-child { margin-top: 0; }
.content-page { max-width: 980px; font-size: 23px; }
.content-page h2 { margin-top: 34px; font-size: 25px; line-height: 1.35; }
.content-page p, .content-page li, .content-page dd { font-size: 23px; line-height: 1.78; color: #4d443f; }
.location-map-figure { margin: 18px 0 8px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.location-map-figure img { display: block; width: 100%; height: auto; }
.info-list { display: grid; gap: 12px; }
.info-list div { display: grid; grid-template-columns: 160px 1fr; gap: 18px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; line-height: 1.55; }
.info-list dt { font-weight: 700; color: var(--blue); }
.ready-box, .toast { padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; }
.toast { max-width: 900px; margin: 24px auto 0; background: #eaf8ee; border-color: #b9e2c2; color: #236b35; }
.toast.inline { margin: 0 0 18px; }
.form-section { max-width: 980px; }
.form-section > form { max-width: 760px; }
.contact-intro { margin-bottom: 22px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 26px rgba(27,44,71,.06); }
.contact-intro p { margin: 0 0 10px; line-height: 1.72; color: #332d29; font-size: 22px; font-weight: 600; word-break: keep-all; }
.contact-intro p:last-child { margin-bottom: 0; color: #0b57b7; }
.apply-intro { padding-bottom: 12px; }
.apply-form-section { max-width: 980px; padding-top: 8px; }
.apply-form-section form { max-width: 760px; }
.admin-login { max-width: 760px; }
form { display: grid; gap: 16px; }
label { display: grid; gap: 8px; font-size: 15px; font-weight: 700; line-height: 1.45; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px; font: inherit; line-height: 1.45; background: #fff; }
.check { display: flex; align-items: center; gap: 10px; }
.check input { width: 18px; }
.error { color: var(--red); font-weight: 700; }
.admin-form, .admin-lists { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 24px; margin-bottom: 24px; line-height: 1.6; }
.admin-help { display: block; margin: 4px 0 10px; color: var(--muted); font-size: 14px; font-weight: 700; line-height: 1.5; }
#admin-hero > form:nth-of-type(3) { display: none; }
.admin-lists p { padding: 10px 0; border-bottom: 1px solid var(--line); }
.admin-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.admin-menu { position: sticky; top: 98px; display: grid; gap: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 12px; }
.admin-menu a { display: flex; align-items: center; min-height: 42px; padding: 0 12px; border-radius: 6px; font-size: 15px; font-weight: 700; line-height: 1.25; color: #2f3a4a; }
.admin-menu a:hover, .admin-menu a:focus, .admin-menu a.active { background: var(--paper); color: #0b57b7; }
.admin-content { min-width: 0; }
.admin-section { scroll-margin-top: 110px; margin-bottom: 18px; }
.admin-section.is-hidden { display: none; }
.admin-section.active { display: block; }
.admin-section > .admin-form:last-child, .admin-section > .admin-grid:last-child, .admin-section > .admin-lists:last-child { margin-bottom: 0; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.admin-fieldset { display: grid; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 0 0 18px; }
.admin-fieldset.compact { gap: 10px; padding: 14px; }
.admin-fieldset legend { padding: 0 8px; font-weight: 700; color: #0b57b7; }
.admin-list-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.admin-list-row.stacked { align-items: flex-start; }
.admin-list-row > span, .admin-list-row > div:first-child { flex: 1 1 auto; min-width: 0; line-height: 1.5; }
.admin-list-row .mini-button { flex: 0 0 auto; margin: 0 4px 0 auto; }
.admin-list-row form { display: block; flex: 0 0 auto; margin: 0; }
.admin-list-row button { border: 1px solid #f0b5af; background: #fff5f3; color: #b92c20; border-radius: 6px; padding: 7px 10px; font-weight: 700; cursor: pointer; }
.admin-summary { display: grid; gap: 5px; min-width: 0; }
.admin-summary strong { color: #0b57b7; font-size: 17px; }
.admin-summary span, .admin-summary small { color: #4d443f; line-height: 1.45; overflow-wrap: anywhere; }
.admin-subtabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.admin-subtabs a { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #2f3a4a; font-weight: 700; }
.admin-subtabs a.active, .admin-subtabs a:hover, .admin-subtabs a:focus { background: #0b57b7; border-color: #0b57b7; color: #fff; }
.admin-subtabs span { font-size: 13px; opacity: .8; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.admin-data-table { width: 100%; min-width: 980px; border-collapse: collapse; table-layout: fixed; }
.admin-data-table th, .admin-data-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14px; line-height: 1.55; }
.admin-data-table th { background: var(--paper); color: #1d2f58; font-weight: 700; white-space: nowrap; }
.admin-data-table td { color: #332d29; }
.admin-data-table details { margin-top: 4px; }
.admin-data-table summary { color: #0b57b7; font-weight: 700; cursor: pointer; }
.admin-detail-text { margin-top: 6px; color: var(--muted); line-height: 1.55; overflow-wrap: anywhere; }
.inline-status.compact { min-width: 0; gap: 6px; }
.inline-status.compact select { min-width: 86px; padding: 6px 8px; }
.inline-status.compact button { padding: 6px 8px; }
.agreement-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--paper); display: grid; gap: 8px; }
.agreement-box p { margin: 0; color: var(--muted); line-height: 1.55; }
.admin-title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.inline-status { display: flex !important; align-items: center; gap: 8px; min-width: 220px; }
.inline-status select { padding: 8px 10px; min-width: 110px; }
.security-key-box { display: grid; gap: 8px; padding: 14px; margin: 14px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.security-key-box code { display: block; padding: 10px; border-radius: 6px; background: #fff; color: #0b57b7; font-size: 18px; font-weight: 900; overflow-wrap: anywhere; }
.security-key-box small { color: var(--muted); overflow-wrap: anywhere; }
.media-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: #fff; }
.media-open, .media-open-link { display: grid; gap: 6px; width: 100%; border: 0; background: transparent; padding: 0; color: inherit; text-align: left; cursor: pointer; }
.media-thumb { position: relative; display: block; overflow: hidden; border-radius: 6px; background: var(--paper); }
.media-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .2s ease; }
.media-open:hover .media-thumb img, .media-open-link:hover .media-thumb img { transform: scale(1.03); }
.media-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 0; color: #172033; font-size: 17px; line-height: 1.35; font-weight: 700; }
.media-card time { color: var(--muted); font-size: 14px; }
.media-pager { max-width: 1180px; margin: -48px auto 64px; padding: 0 24px; display: flex; justify-content: center; align-items: center; gap: 12px; }
.media-pager button { min-width: 82px; height: 40px; border: 1px solid #d6e0ed; border-radius: 6px; background: #fff; color: #143b76; font-weight: 700; cursor: pointer; }
.media-pager button:disabled { opacity: .45; cursor: default; }
.media-pager span { min-width: 56px; text-align: center; color: var(--muted); font-size: 14px; font-weight: 700; }
.play-mark { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(11,87,183,.92); color: #fff; font-size: 22px; padding-left: 4px; }
.video-modal, .photo-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.video-modal.open, .photo-modal.open { display: flex; }
.video-modal-backdrop, .photo-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.62); }
.video-modal-dialog, .photo-modal-dialog { position: relative; z-index: 1; width: min(1180px, calc(100vw - 48px)); background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,.35); }
.video-modal-head, .photo-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.video-modal-head h2, .photo-modal-head h2 { margin: 0; font-size: 20px; line-height: 1.35; }
.photo-modal-head time { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
.video-modal-head button, .photo-modal-head button { min-height: 38px; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 0 12px; font-weight: 700; cursor: pointer; }
.video-frame-wrap { aspect-ratio: 16/9; background: #000; }
.video-frame-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.photo-stage { position: relative; display: grid; place-items: center; min-height: 520px; background: #111; }
.photo-stage img { display: block; max-width: 100%; max-height: min(70vh, 760px); width: auto; height: auto; object-fit: contain; }
.photo-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: #111827; font-size: 30px; line-height: 1; cursor: pointer; box-shadow: 0 8px 22px rgba(0,0,0,.22); }
.photo-nav.prev { left: 18px; }
.photo-nav.next { right: 18px; }
.photo-nav:hover, .photo-nav:focus { background: #fff; outline: 3px solid rgba(11,87,183,.24); }
.notice-detail { padding: 22px 0; border-bottom: 1px solid var(--line); }
.notice-detail h2 { margin: 6px 0 12px; }
.board-list { max-width: 1180px; }
.board-table { width: 100%; border-collapse: collapse; table-layout: fixed; border-top: 2px solid #111; background: #fffdf8; }
.board-table th { height: 42px; border-bottom: 1px solid #111; color: #111; font-size: 15px; font-weight: 700; line-height: 1.35; text-align: center; }
.board-table td { height: 42px; border-bottom: 1px solid #d8dde5; vertical-align: middle; font-size: 15px; line-height: 1.45; }
.board-no-col { width: 150px; }
.board-date-col { width: 220px; }
.board-no, .board-date { text-align: center; color: #111; white-space: nowrap; }
.board-subject { text-align: left; overflow: hidden; }
.board-subject a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #111; }
.board-subject a:hover, .board-subject a:focus { color: #0b57b7; }
.new-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; height: 24px; margin-right: 8px; background: #ffd26b; color: #c98200; font-size: 15px; font-weight: 700; vertical-align: middle; }
.board-count { display: inline-block; margin-left: 6px; color: var(--muted); font-size: 13px; font-weight: 700; }
.board-detail { border-bottom: 0; }
.board-body { font-size: 16px; line-height: 1.85; color: #4d443f; }
.board-body p, .board-body div { margin: 0 0 12px; }
.board-body a { color: #0b57b7; text-decoration: underline; font-weight: 700; }
.board-gallery { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 18px 0 18px; }
.board-image { width: min(100%, 860px); max-height: none; object-fit: contain; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.board-file { margin-top: 12px; }
.editor-toolbar { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; background: var(--paper); }
.editor-toolbar button, .editor-toolbar select, .editor-toolbar input[type="color"] { width: auto; min-height: 34px; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 0 10px; font: inherit; font-weight: 700; cursor: pointer; }
.editor-toolbar input[type="color"] { width: 44px; padding: 3px; }
.rich-editor { min-height: 180px; padding: 14px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); background: #fff; line-height: 1.7; outline: none; }
.rich-editor:focus { border-color: #88b8ef; box-shadow: 0 0 0 3px rgba(24,136,211,.14); }
.editor-image-preview { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: -6px; padding: 10px; border: 1px dashed #cbd6e2; border-radius: var(--radius); background: #f8fbff; }
.editor-image-preview-item { display: grid; gap: 6px; min-width: 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.editor-image-preview-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); background: #fff; }
.editor-image-preview-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-image-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.admin-image-list .check { align-items: flex-start; font-size: 14px; line-height: 1.35; }
.admin-image-list img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.admin-current-image { display: grid; grid-template-columns: 132px 1fr; gap: 8px 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.admin-current-image span { grid-column: 1 / -1; font-size: 14px; font-weight: 700; color: var(--blue); }
.admin-current-image img { width: 132px; aspect-ratio: 16/10; object-fit: cover; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.admin-current-image small { min-width: 0; color: var(--muted); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .header-inner { height: auto; min-height: 72px; flex-wrap: wrap; }
  .brand img { width: 205px; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .site-nav { display: none; width: 100%; max-height: calc(100vh - 90px); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 8px 0 12px; align-items: stretch; flex-direction: column; }
  .site-nav.open { display: flex; }
  .nav-item { width: 100%; }
  .nav-item > a, .nav-cta { justify-content: space-between; width: 100%; min-height: 38px; padding: 8px 4px; }
  .nav-cta { margin-left: 0; justify-content: center; }
  .dropdown { display: block; position: static; width: 100%; min-width: 0; box-shadow: none; border: 0; padding: 0 0 4px 10px; background: transparent; }
  .dropdown a { padding: 7px 8px; }
  .hero-slider { min-height: 300px; height: 300px; max-height: 300px; }
  .hero-copy { justify-content: center; align-items: flex-start; padding: 14px 24px 18px; }
  .hero-copy .eyebrow { margin-bottom: 6px; font-size: 18px; line-height: 1.25; }
  .hero-copy h1 { max-width: 330px; margin-bottom: 9px; font-size: 32px; line-height: 1.1; -webkit-text-stroke-width: 2px; overflow-wrap: anywhere; }
  .hero-copy p { max-width: 340px; margin: 0 0 9px; font-size: 19px; line-height: 1.18; -webkit-text-stroke-width: .9px; }
  .hero-copy .place { margin-bottom: 12px; font-size: 15px; line-height: 1.4; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { min-height: 40px; padding: 0 14px; font-size: 15px; }
  .slider-arrow { display: none; }
  .program-grid, .media-grid, .sponsor-grid, .timeline, .split, .dashboard-grid, .admin-grid { grid-template-columns: 1fr; }
  .official-summary { grid-template-columns: 1fr; padding-top: 24px; padding-bottom: 12px; }
  .official-summary h1 { font-size: 26px; }
  .official-summary p { font-size: 17px; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-menu { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-menu a { justify-content: center; text-align: center; padding: 0 8px; }
  .admin-subtabs { gap: 6px; }
  .admin-subtabs a { flex: 1 1 calc(50% - 6px); justify-content: center; padding: 0 8px; }
  .admin-lists { padding: 16px; }
  .schedule-item { grid-template-columns: 1fr; gap: 8px; }
  .apply-panel { grid-column: auto; }
  .program-badge { top: clamp(160px, 39vw, 280px); }
  .section { padding: 58px 20px; }
  .admin-panel { padding-top: 22px; }
  .admin-panel > .section-head { margin-bottom: 14px; }
  .home-program-section { padding-top: 20px; padding-bottom: 14px; }
  .home-dashboard-section { padding-top: 4px; }
  .schedule-panel { background-size: 68% auto; background-position: right bottom; }
  .schedule-panel::before { background: linear-gradient(110deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 58%, rgba(255,255,255,.72) 100%); }
  .section.warm { padding-left: 20px; padding-right: 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-user-protection { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.16); padding-top: 18px; }
  .content-page { font-size: 20px; }
  .content-page p, .content-page li, .content-page dd { font-size: 20px; line-height: 1.72; }
  .contact-intro p { font-size: 20px; }
  .info-list div { grid-template-columns: 1fr; gap: 6px; }
  .competition-summary div { grid-template-columns: max-content minmax(0, 1fr); column-gap: 9px; align-items: center; padding: 15px 22px; }
  .competition-summary dt { font-size: 20px; }
  .competition-summary dd { font-size: 20px; line-height: 1.45; white-space: nowrap; letter-spacing: 0; overflow-wrap: normal; }
  .guide-block { padding: 18px; }
  .guide-block h2 { font-size: 24px; }
  .guide-block h3 { font-size: 20px; }
  .guide-block li, .guide-block p, .guide-table strong, .guide-table span { font-size: 20px; }
  .guide-table div { grid-template-columns: 1fr; gap: 6px; }
  .sub-hero { min-height: 160px; }
  .sub-hero > div { padding: 24px 20px; }
  .sub-hero h1 { font-size: 32px; }
  .sub-hero + .section { padding-top: 16px; }
  .media-title { font-size: 16px; min-height: 0; }
  .video-modal, .photo-modal { padding: 12px; }
  .video-modal-dialog, .photo-modal-dialog { width: calc(100vw - 24px); }
  .photo-stage { min-height: 360px; }
  .photo-nav { width: 36px; height: 36px; font-size: 26px; }
  .photo-nav.prev { left: 10px; }
  .photo-nav.next { right: 10px; }
  .board-table th { height: 38px; font-size: 14px; }
  .board-table td { height: 44px; font-size: 14px; }
  .board-no-col { width: 54px; }
  .board-date-col { width: 94px; }
  .new-badge { min-width: 42px; height: 20px; margin-right: 5px; font-size: 12px; }
  .board-count { display: none; }
}
@media (max-width: 390px) {
  .competition-summary div { grid-template-columns: max-content minmax(0, 1fr); column-gap: 8px; padding: 14px 16px; }
  .competition-summary dt { font-size: 18px; }
  .competition-summary dd { font-size: 18px; }
}
