/* 포스터 시안 E(테크 패널)와 같은 디자인.
   점무늬가 깔린 검은 바탕 위에 모서리가 깎인 밝은 패널을 놓는다. 강조색은 웰프렌·급식온 로고의 연두와 주황.
   글자색은 --fg 변수로 정한다: 바탕 위에서는 밝은색, 패널 안에서는 어두운색으로 바뀐다. */
:root {
  --bg: #0a0c0f; --panel: rgba(252,255,249,.9); /* 90% 불투명. 검은 바탕 위에서는 예전 색(#e4e7e2)과 같게 보이고, 뒤의 심벌만 살짝 비친다 */ --panel-line: #c4c8c2; --dark: #0e1114;
  --lime: #9bd023; --coral: #ff6a45;
  --fg: #f2f4f0; --fg-muted: #c9cec8; --link: #9bd023; --line: rgba(242,244,240,.35);
  --ok: #3d6100; --ok-bg: #dcefb4; --warn: #8a3a12; --warn-bg: #ffe1d6; --err: #a12222; --err-bg: #fde8e6;
  --mono: "Space Grotesk", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --cut: 18px;
}
/* 패널 안에서는 글자색을 어둡게 */
.top-in, .panel, .card, fieldset, .tbl, .sched, .stats div, .urow, .note, .todo, .flash {
  --fg: #0e1114; --fg-muted: #3a3f3b; --link: #456c00; --line: var(--panel-line);
  color: var(--fg);
}
* { box-sizing: border-box; }
html { font-size: 16px; }
body { margin: 0; color: var(--fg); line-height: 1.6;
  background-color: var(--bg); background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px); background-size: 7px 7px;
  font-family: "Noto Sans KR", Pretendard, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  word-break: keep-all; overflow-wrap: anywhere; }
a { color: var(--link); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
main.wrap { padding-top: 28px; padding-bottom: 56px; }

/* 머리띠: 밝은 패널에 로고와 메뉴 */
.top { padding-top: 24px; }
.top-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding: 10px 26px; background: var(--panel);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--fg); font-weight: 700; }
.brand img { display: block; width: auto; }
.brand .logo-w { height: 48px; }
.brand .logo-g { height: 28px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; flex: 1; font-weight: 700; }
.nav a { position: relative; color: var(--fg); text-decoration: none; padding: 10px 14px; transition: background .18s, color .18s; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--dark); transform: scaleX(0); transform-origin: left; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.on { background: var(--dark); color: var(--lime); }
.nav a.on::after { display: none; }
.who { display: flex; align-items: center; gap: 12px; font-size: .95rem; margin: 0; }
.who .link { color: var(--fg-muted); }

/* 패널: 모서리가 깎인 밝은 판 */
.panel, .card { background: var(--panel); padding: 24px 26px 28px; margin-bottom: 20px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.card h2 { margin-top: 0; }
.card.accent { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.card.off { opacity: .6; }
.card .k, .k { margin: 0; font-family: var(--mono); font-size: .95rem; font-weight: 700; letter-spacing: .06em; color: var(--link); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.grid2 > .card, .grid2 > .panel { margin-bottom: 0; }
.big { font-size: 2.1rem; font-weight: 900; margin: 4px 0; line-height: 1.3; }
.big.mid { font-size: 1.5rem; line-height: 1.4; }
.big.ok { color: var(--ok); } .big.warn { color: var(--warn); }

/* 대표 영역 */
.hero-band { position: relative; margin-top: 20px; }
.hero-in { position: relative; display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
/* 심벌: 화면에 고정(스크롤해도 같은 자리)되어 모든 내용의 맨 뒤에서 떠다닌다. */
.hero-symbol { position: fixed; z-index: -1; top: 70px; right: max(-90px, calc((100vw - 1160px) / 2 + 218px - var(--symbol-w, 600px) / 2));
  width: var(--symbol-w, 600px); height: auto; pointer-events: none;
  filter: drop-shadow(0 0 40px rgba(155,208,35,.55)); animation: float 7s ease-in-out infinite; }
.hero-symbol.dim { opacity: .3; filter: none; }   /* 홈·로그인 밖의 화면: 같은 자리에 옅게 */
.hero-main { position: relative; flex: 999 1 560px; min-width: 0; margin: 0; padding: 44px 36px 36px; display: flex; flex-direction: column;
  clip-path: polygon(0 26px, 26px 0, 34% 0, 37% 20px, 62% 20px, 65% 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%); }
.eyebrow { margin: 0; font-family: var(--mono); font-size: .82rem; font-weight: 500; letter-spacing: .1em; color: var(--fg-muted); }
.hero { margin: 18px 0 0; font-weight: 900; line-height: 1.04; letter-spacing: -.03em; }
.hero span { display: block; }
.hero .h-co { font-size: clamp(26px, 3.4vw, 40px); }
.hero .h-key { display: flex; align-items: center; gap: 16px; font-size: clamp(60px, 9.5vw, 124px); }
.hero .h-key b { display: inline-block; background: var(--lime); padding: 0 16px; font-family: var(--mono); font-weight: 700; letter-spacing: 0; }
.hero .h-sub { font-size: clamp(60px, 9.5vw, 124px); }
.hero .h-plain { font-size: clamp(40px, 6.5vw, 84px); line-height: 1.15; }
/* 판이 넘어가는 숫자(플립 시계, 점수판). 글자 크기는 .flip을 감싼 쪽에서 font-size로 정한다 */
.flip { display: inline-flex; gap: .08em; font-family: "Orbitron", var(--mono); font-weight: 900; line-height: 1; vertical-align: middle; }
.flip .fd { position: relative; display: inline-block; width: .82em; height: 1.36em; perspective: 4em; font-size: 1em; }
.flip .fd .h { position: absolute; left: 0; display: block; width: 100%; height: 50%; overflow: hidden; background: #171b20; color: var(--lime);
  font: inherit; line-height: 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.fd .h i { position: absolute; left: 0; width: 100%; height: 200%; line-height: 1.36em; text-align: center; font-style: normal; }
.fd .top, .fd .ftop { top: 0; border-radius: .09em .09em 0 0; box-shadow: inset 0 -1px 0 #000; }
.fd .bot, .fd .fbot { bottom: 0; border-radius: 0 0 .09em .09em; background: #1e242a; }
.fd .top i, .fd .ftop i { top: 0; }
.fd .bot i, .fd .fbot i { top: -100%; }
.fd .ftop, .fd .fbot { z-index: 2; visibility: hidden; }
.fd .ftop { transform-origin: 50% 100%; }
.fd .fbot { transform-origin: 50% 0; transform: rotateX(90deg); }
.fd.go .ftop { visibility: visible; animation: flip-down .26s ease-in both; }
.fd.go .fbot { visibility: visible; animation: flip-up .26s ease-out .26s both; }
@keyframes flip-down { from { transform: rotateX(0); } to { transform: rotateX(-90deg); } }
@keyframes flip-up { from { transform: rotateX(90deg); } to { transform: rotateX(0); } }
/* 오픈 전 COMING SOON 화면 */
.soon { min-height: calc(100vh - 220px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 0 30px; }
.soon .eyebrow { color: var(--lime); font-size: .95rem; }
.soon h1 { margin: 14px 0 0; font-weight: 900; font-size: clamp(2.2rem, 7vw, 5rem); line-height: 1.12; letter-spacing: -.03em; color: #fff; }
.soon h1 b { display: inline-block; background: var(--lime); color: var(--dark); padding: 0 .16em; font-family: var(--mono); font-weight: 700; }
.soon .cs { margin: 22px 0 0; font-family: "Orbitron", var(--mono); font-weight: 900; font-size: clamp(1.3rem, 4.4vw, 2.9rem); letter-spacing: .34em; padding-left: .34em; color: #ff2d4e;
  text-shadow: 0 0 14px rgba(255,45,78,.8), 0 0 40px rgba(255,45,78,.5); animation: total-glow 2.6s ease-in-out infinite; }
.soon .tease { margin: 20px 0 0; font-size: clamp(1.3rem, 3.4vw, 2.1rem); font-weight: 900; color: #fff; }
.soon .tease em { font-style: normal; color: var(--lime); }
.soon .clock { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 26px; margin: 38px 0 0; font-size: clamp(2.4rem, 8.4vw, 5.6rem); }
.soon .clock > div { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.soon .clock small { font-size: .95rem; font-weight: 700; letter-spacing: .2em; color: var(--fg-muted); font-family: "Noto Sans KR", sans-serif; }
.soon .when { margin: 34px 0 0; font-family: var(--mono); font-weight: 700; font-size: 1.15rem; letter-spacing: .06em; color: var(--fg-muted); }
.soon .when b { color: #fff; }
/* 관리자가 들어가는 문: 화면 오른쪽 아래 모서리. 눈에 덜 띄게 두되 찾을 수는 있게(누를 수 있는 넓이는 넉넉히) */
.soon-door { position: fixed; right: 0; bottom: 0; z-index: 30; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.soon-door::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); opacity: .45; transition: opacity .2s, transform .2s, box-shadow .2s; }
.soon-door:hover::before, .soon-door:focus::before { opacity: 1; transform: scale(1.5); box-shadow: 0 0 12px rgba(155,208,35,.9); }
/* 홈의 오른쪽 칸: 내 출품 상태(3)와 'AI와 만들었습니다' 버튼(1)을 위아래로. 합친 높이는 왼쪽 카드와 같다 */
.side-stack { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.side-stack > .status-card { flex: 3 1 0; margin-bottom: 0; padding-top: 18px; padding-bottom: 20px; }
.status-card .status-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.status-card .big { font-size: 1.7rem; margin: 2px 0 0; }
.status-card p { margin: 4px 0; }
.made-btn { flex: 1 1 0; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 22px;
  background: var(--dark); color: var(--lime); border: 1px solid var(--lime); font-weight: 900; font-size: 1.08rem; text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%); transition: box-shadow .2s, letter-spacing .2s; }
.made-btn .go { font-family: var(--mono); font-size: 1.3rem; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.made-btn:hover { box-shadow: 0 0 0 2px var(--lime), 0 0 22px rgba(155,208,35,.6); }
.made-btn:hover .go { transform: translateX(6px); }
/* '이 사이트는 AI와 만들었습니다' 페이지 */
.foot-made { color: var(--lime); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.made-top { margin: 8px 0 26px; }
.made-top .k { color: var(--lime); }
.made-top h1 { margin: 10px 0 14px; font-size: clamp(1.9rem, 4.6vw, 3.3rem); font-weight: 900; line-height: 1.2; letter-spacing: -.02em; }
.made-top .lead { max-width: 46em; font-size: 1.15rem; color: var(--fg-muted); }
.made-stats { margin-bottom: 34px; }
.stats .made-count b.flip { display: flex; font-family: "Orbitron", var(--mono); font-size: 2.1rem; font-weight: 900; line-height: 1; margin: 2px 0 8px; }
.made-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-bottom: 10px; }
.made-case { margin-bottom: 0; }
.made-case .said { margin: 0 0 12px; font-size: 1.08rem; font-weight: 700; line-height: 1.55; }
.made-case .done { margin: 0; padding-top: 12px; border-top: 1px solid var(--panel-line); color: var(--fg-muted); }
.made-case .arrow { display: inline-block; margin-right: 4px; padding: 0 7px; background: var(--dark); color: var(--lime); font-family: var(--mono); font-weight: 700; }
.made-end { margin-top: 26px; }
/* 신경망 움직임을 그리는 판: 화면에 고정, 모든 내용과 둥실대는 심벌보다 뒤 */
#net { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; z-index: -2; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
#net.on { opacity: 1; }
/* 한 글자씩 써지는 AI 활용 예시(터미널 모양), 이름을 부르는 인사, 오늘의 팁 */
.typed { display: inline-block; max-width: 100%; margin: 18px 0 0; padding: 8px 14px; min-height: 2.6em; background: var(--dark); color: var(--lime);
  font-family: var(--mono); font-weight: 700; font-size: 1.05rem; line-height: 1.6; align-self: flex-start; }
.typed .pr { color: #fff; opacity: .7; }
.typed .tx::after, .greet.typing::after { content: ""; display: inline-block; width: .55em; height: 1.05em; margin-left: 3px; vertical-align: -2px; background: currentColor; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.greet { margin: 14px 0 0; font-size: 1.1rem; font-weight: 700; min-height: 1.6em; }
.tip { margin: 0 0 28px; padding: 16px 22px; border-left: 6px solid var(--lime); background: rgba(255,255,255,.06); }
.tip .k { color: var(--lime); }
.tip p { margin: 6px 0 0; min-height: 3.2em; font-size: 1.15rem; font-weight: 700; color: var(--fg); transition: opacity .45s ease, transform .45s ease; }
.tip p.out { opacity: 0; transform: translateY(8px); }
.tip .tip-no { margin-left: 8px; font-weight: 500; color: var(--fg-muted); letter-spacing: 0; }
label.check { display: flex; align-items: center; gap: 8px; font-weight: 500; margin: 8px 0; }
label.check input { width: auto; }
.slogan { margin: 18px 0 0; font-size: 1.15rem; font-weight: 500; color: var(--fg-muted); }
.hero-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.code { font-family: var(--mono); font-size: .82rem; font-weight: 500; letter-spacing: .08em; color: var(--fg-muted); }
.btn-hero { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 28px; border-radius: 26px;
  background: var(--dark); color: var(--lime); font-size: 1.12rem; font-weight: 900; text-decoration: none;
  transition: box-shadow .2s, transform .12s, letter-spacing .2s; }
.btn-hero::before { content: ""; width: 20px; height: 20px; flex: none; background: var(--lime);
  clip-path: polygon(42% 0, 58% 0, 58% 36%, 89% 18%, 97% 32%, 66% 50%, 97% 68%, 89% 82%, 58% 64%, 58% 100%, 42% 100%, 42% 64%, 11% 82%, 3% 68%, 34% 50%, 3% 32%, 11% 18%, 42% 36%);
  transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.btn-hero:hover { box-shadow: 0 0 0 3px var(--lime), 0 0 26px rgba(155,208,35,.7); }
.btn-hero:hover::before { transform: rotate(180deg); }
.btn-hero:active { transform: scale(.96); }
.hero-side { position: relative; flex: 1 1 340px; display: flex; flex-direction: column; gap: 20px; }
.glass { flex: 1; min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 24px; color: #fff;
  background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.5); border-radius: 10px; }
.glass .in { border-left: 2px solid var(--lime); padding-left: 12px; line-height: 1.55; }
.glass .t { font-family: var(--mono); font-weight: 700; letter-spacing: .06em; }
.glass .v { font-size: 1.9rem; font-weight: 900; line-height: 1.3; }
/* 총상금 카드: 숫자를 크게, 연두색으로 빛나게 */
.glass.total { justify-content: center; border-color: rgba(155,208,35,.75); box-shadow: 0 0 0 1px rgba(155,208,35,.25), 0 0 34px rgba(155,208,35,.28), inset 0 0 40px rgba(155,208,35,.10); }
.glass.total .in { border-left: 4px solid var(--lime); padding-left: 16px; }
.glass.total .t { font-size: 1.15rem; color: var(--lime); letter-spacing: .12em; }
.glass.total .v { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 10px; line-height: 1; margin-top: 6px; }
.glass.total .n { font-family: var(--mono); font-weight: 700; font-size: clamp(3.6rem, 6.4vw, 5.2rem); letter-spacing: -.04em; color: #ff2d4e; white-space: nowrap; word-break: keep-all; overflow-wrap: normal;
  text-shadow: 0 0 18px rgba(255,45,78,.8), 0 0 46px rgba(255,45,78,.5); font-variant-numeric: tabular-nums; animation: total-glow 2.6s ease-in-out infinite; }
.glass.total .u { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; color: #fff; }
/* 숫자 색: 분홍과 빨강 사이에서 빨강에 가까운 색(#ff2d4e), 네온처럼 숨 쉬듯 빛난다 */
@keyframes total-glow { 0%, 100% { text-shadow: 0 0 18px rgba(255,45,78,.8), 0 0 46px rgba(255,45,78,.5); } 50% { text-shadow: 0 0 26px rgba(255,45,78,1), 0 0 70px rgba(255,45,78,.7); } }
.dday { margin: 0; padding: 22px 26px 26px;
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%, 0 22px); }
.dday .lbl { font-size: .95rem; font-weight: 900; color: var(--link); }
.dday .num { font-family: var(--mono); font-size: clamp(4rem, 7.4vw, 6.2rem); font-weight: 500; line-height: 1.05; letter-spacing: -.04em; white-space: nowrap; }
.dday .num.ko { font-family: inherit; font-weight: 900; font-size: 4.5rem; letter-spacing: -.02em; line-height: 1.15; }
.dday .when { font-weight: 700; margin-top: 6px; }
.dday .sub { margin-top: 4px; font-size: .92rem; color: var(--fg-muted); }
.pips { margin-top: 14px; display: flex; gap: 7px; }
.pips i { width: 9px; height: 9px; background: var(--link); }
.pips i:nth-child(n+4) { background: #9a9f9a; }
.hero-login .card { margin: 0; }
.hero-login .btn.primary { margin-top: 14px; }

/* 시상 내역 */
.prizes { margin: 0 0 28px; }
.prize-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 12px; }
.prize-head .k { color: var(--lime); }
.prize-total { font-size: 1.15rem; font-weight: 700; }
.prize-total b { font-size: 1.6rem; font-weight: 900; color: var(--lime); }
.prize-top { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 16px; align-items: end; }
.prize-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.prize-card { --fg: #0e1114; color: #0e1114; background: var(--panel); padding: 20px 24px 22px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), filter .25s; }
.prize-card:hover { transform: translateY(-4px); filter: drop-shadow(0 0 16px rgba(155,208,35,.55)); }
.prize-card .rank { font-size: 1.15rem; font-weight: 900; }
.prize-card .rank .cnt { margin-left: 6px; padding: 2px 8px; font-size: .8rem; background: var(--dark); color: var(--lime); vertical-align: middle; }
.prize-card .amt { font-family: var(--mono); font-weight: 500; line-height: 1; letter-spacing: -.04em; font-size: clamp(3rem, 6vw, 4.6rem); font-variant-numeric: tabular-nums; white-space: nowrap; }
.prize-card .amt small { margin-left: 6px; font-family: "Noto Sans KR", sans-serif; font-size: 1.1rem; font-weight: 900; letter-spacing: 0; }
.prize-card.p1 { background: var(--lime); padding-top: 28px; padding-bottom: 30px; }
.prize-card.p1 .amt { font-size: clamp(4rem, 9vw, 7rem); }
.prize-card.p1 .rank { font-size: 1.4rem; }
.prize-card.p3 .amt small, .prize-card.p2 .amt small { color: #c23a17; }
.prize-card.sm { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px 16px; }
.prize-card .who2 { margin-top: 4px; font-size: .9rem; color: #3a3f3b; }
.prize-note { margin: 12px 0 0; font-size: .92rem; color: var(--fg-muted); }
.prize-card.sm .amt { font-size: clamp(2rem, 4vw, 2.8rem); }
.prize-card.sp { border-left: 6px solid var(--coral); }

h1 { font-size: 1.75rem; font-weight: 900; margin: 0 0 16px; line-height: 1.3; }
h2 { font-size: 1.2rem; font-weight: 900; margin: 28px 0 10px; }
h3 { font-size: 1rem; margin: 0; }
h2.sec { display: flex; align-items: baseline; gap: 14px; font-size: 1.6rem; margin: 44px 0 14px; }
h2.sec::before { content: attr(data-en); font-family: var(--mono); font-size: .82rem; font-weight: 700; letter-spacing: .1em; color: var(--lime); }
section { margin-bottom: 8px; }
.lead { margin-bottom: 20px; }
.narrow { max-width: 480px; margin: 40px auto; }
.muted { color: var(--fg-muted); }
.hint { color: var(--fg-muted); font-size: .9rem; margin: 6px 0; }
.note { background: var(--panel); border-left: 6px solid var(--lime); padding: 12px 14px; }
.pre { white-space: pre-wrap; }
/* 올린 파일 미리 보기: 사진은 작은 그림, 영상은 그 자리에서 재생 */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 6px 0 12px; }
.gitem { margin: 0; min-width: 0; }
.gitem img, .gitem video, .gitem .gdoc { display: block; width: 100%; height: 165px; background: #14181c; border: 1px solid var(--panel-line); }
.gitem img { object-fit: contain; }
.gitem video { object-fit: contain; }
.gitem .gdoc { display: flex; align-items: center; justify-content: center; color: var(--lime); font-family: var(--mono); font-weight: 700; font-size: 1.6rem; text-decoration: none; }
.gitem a:hover img, .gitem .gdoc:hover { border-color: var(--dark); box-shadow: 0 0 0 3px var(--lime); }
.gitem figcaption { margin-top: 4px; font-size: .85rem; line-height: 1.4; overflow-wrap: anywhere; }
/* 심사 화면: 이전·다음 출품작 넘기기, A4 양식 모양의 기획안 */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 18px; }
.pager .pos { color: var(--fg); font-family: var(--mono); }
.pager .btn.off { opacity: .35; cursor: default; }
.paper { --fg: #111; --fg-muted: #555; --link: #456c00; color: #111; background: #fff; padding: 22px 24px 24px; margin-bottom: 20px; box-shadow: 0 2px 14px rgba(0,0,0,.35); }
.paper-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 4px 16px; border-bottom: 3px solid #111; padding-bottom: 6px; font-size: 1.05rem; }
.paper-top span { font-size: .9rem; color: #333; }
.sheet-tbl { width: 100%; border-collapse: collapse; margin-top: 10px; table-layout: fixed; }
.paper .sheet-tbl th, .paper .sheet-tbl td { border: 1px solid #444; padding: 7px 10px; vertical-align: top; text-align: left; }
.paper .sheet-tbl th { width: 8.5em; background: #eef0ec; font-weight: 700; }
.paper .sheet-tbl .title { font-size: 1.2rem; font-weight: 700; }
.paper .muted { color: #555; }
@media (max-width: 760px) { .paper { padding: 14px 12px 16px; } .paper .sheet-tbl th { width: 5.6em; } }
/* 파일 올리기 진행 표시 */
.upbox { margin: 12px 0; padding: 12px 14px; background: #14181c; color: #f2f4f0; border-left: 4px solid var(--lime); }
.upbox.err { border-left-color: var(--coral); }
.upbar { height: 14px; background: #2a3036; overflow: hidden; }
.upbar i { display: block; height: 100%; width: 0; background: var(--lime); transition: width .25s linear; }
.upbox.err .upbar i { background: var(--coral); }
.uptext { margin-top: 8px; font-weight: 700; font-variant-numeric: tabular-nums; }
.logbox { margin: 8px 0; padding: 14px 16px; max-height: 420px; overflow: auto; background: #14181c; color: #d9ded6; border-left: 4px solid var(--lime);
  font-family: Consolas, "D2Coding", monospace; font-size: .85rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.plain { padding-left: 18px; }
.empty { border: 1px solid var(--line); padding: 22px 26px; color: var(--fg-muted); }

.tbl { width: 100%; border-collapse: collapse; background: var(--panel); margin: 8px 0; }
.tbl th, .tbl td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--panel-line); vertical-align: top; }
.tbl th { background: #1a1e22; color: #f2f4f0; font-family: var(--mono); font-weight: 700; white-space: nowrap; border-bottom: 2px solid var(--lime); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.num { white-space: nowrap; }
.tbl tr { transition: background .15s; }
.tbl tr:hover td { background: rgba(155,208,35,.16); }
.card .tbl, fieldset .tbl { background: #eef0ec; }
.scroll { overflow-x: auto; }

/* 진행 일정 */
.sched { list-style: none; margin: 0; padding: 0; background: var(--panel);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.sched li { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 16px 26px; border-bottom: 1px solid var(--panel-line); transition: padding-left .2s; }
.sched li:hover { padding-left: 34px; }
.sched li:last-child { border-bottom: 0; padding-bottom: 22px; }
.sched .no { flex: none; width: 34px; font-family: var(--mono); font-weight: 700; color: var(--link); }
.sched .d { flex: 1 1 200px; font-weight: 700; }
.sched .t { flex: 3 1 300px; }
.sched li.key { background: var(--lime); }
.sched li.key .no { color: var(--dark); }
.sched li.key .d, .sched li.key .t { font-weight: 900; }
/* 본선(시연 발표): 일정의 중심. 검은 바탕에 크고 굵게 */
.sched li.main { align-items: center; padding-top: 16px; padding-bottom: 18px; background: var(--dark); color: #fff; border-bottom: 0; }
.sched li.main:last-child { padding-bottom: 20px; }
.sched li.main .no { color: var(--lime); }
.sched li.main .d { font-weight: 900; font-size: 1.25rem; color: var(--lime); }
.sched li.main .t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
.sched li.main .t strong { font-size: 1.45rem; font-weight: 900; line-height: 1.3; letter-spacing: -.01em; }
.sched li.main .t small { font-size: .95rem; font-weight: 500; color: #c9cec8; }

label { display: block; font-weight: 700; margin: 12px 0 4px; }
.dgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 20px; }
input[type=text], input[type=email], input[type=number], input[type=password], input:not([type]), textarea, select {
  width: 100%; padding: 10px 12px; border: 1px solid #8f968f; border-radius: 2px; font: inherit; background: #fff; color: #0e1114;
  transition: border-color .15s, box-shadow .2s; }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--dark); box-shadow: 0 0 0 3px var(--lime), 0 0 18px rgba(155,208,35,.55); }
button:focus-visible, a:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
fieldset { border: 0; background: var(--panel); padding: 22px 26px 28px; margin: 0 0 20px; min-width: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
legend { float: left; width: 100%; padding: 0; margin: 0 0 12px; font-weight: 900; font-size: 1.15rem; }
legend + * { clear: both; }
.radios { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.radios label { font-weight: 400; margin: 0; display: flex; align-items: center; gap: 6px; }
.inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
.inline select, .inline input[type=file] { flex: 1; min-width: 200px; width: auto; }
.inline form { margin: 0; }
input.pts { width: 6.5rem; padding: 8px 10px; border: 1px solid #8f968f; border-radius: 2px; font: inherit; font-family: var(--mono); font-weight: 700; text-align: right; background: #fff; color: #0e1114; }
fieldset:disabled { opacity: .75; }

/* 단추: 알약 모양. 누르면 살짝 눌리고, 올리면 연두 빛이 돈다. */
.btn { display: inline-block; padding: 10px 22px; border-radius: 999px; border: 1px solid var(--dark); background: var(--panel); color: #0e1114;
  font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: box-shadow .2s, transform .12s, background .15s; }
.btn:hover { box-shadow: 0 0 0 2px var(--lime), 0 0 18px rgba(155,208,35,.6); }
.btn:active { transform: scale(.96); }
.btn.primary { background: var(--dark); border-color: var(--lime); color: var(--lime); }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--link); text-decoration: underline; cursor: pointer; }
.link.danger { color: #ff8a6c; }
.card .link.danger, fieldset .link.danger, .tbl .link.danger { color: var(--err); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 20px 0 8px; }
.sub-actions { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); }

.flash { padding: 12px 16px; margin-bottom: 14px; border-left: 6px solid; animation: flash-in .45s cubic-bezier(.2,.8,.2,1) both; }
.flash.ok { background: var(--ok-bg); border-color: var(--lime); color: #2c4700; }
.flash.error { background: var(--err-bg); border-color: var(--coral); color: #7c1717; }
.todo { background: var(--warn-bg); border-left: 6px solid var(--coral); padding: 12px 16px; margin-bottom: 16px; }
.head-row { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.head-row h1 { margin: 0; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: 2px 8px; background: var(--lime); color: var(--dark); vertical-align: middle; }
.state { display: inline-block; font-size: .85rem; font-weight: 700; padding: 3px 10px; white-space: nowrap; }
.state.ok { background: var(--ok-bg); color: var(--ok); }
.state.warn { background: var(--warn-bg); color: var(--warn); }
.state.none { background: #cfd3cd; color: #3a3f3b; }

.ro { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ro:last-child { border-bottom: 0; }
.ro-l { font-weight: 700; color: var(--fg-muted); }
.notice h2, .notice h3 { margin: 0; }
.notice { margin-bottom: 12px; }
details.card summary { cursor: pointer; font-weight: 700; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 16px 0; }
.stats div { background: var(--panel); padding: 14px 16px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); }
.stats b { display: block; font-family: var(--mono); font-size: 2.2rem; font-weight: 500; line-height: 1.15; }
.stats span { color: var(--fg-muted); font-size: .9rem; }

.urow { display: grid; grid-template-columns: 90px 70px 150px minmax(170px, 1fr) repeat(5, auto) auto; gap: 8px; align-items: center;
  background: var(--panel); padding: 8px 10px; margin-bottom: 6px; }
.urow label { font-weight: 400; margin: 0; font-size: .85rem; white-space: nowrap; }
.urow input { padding: 7px 8px; }
.urow .btn { padding: 7px 14px; }
.warnbox { border-color: var(--err) !important; background: var(--err-bg) !important; }

.foot { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 14px; padding-bottom: 32px; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 8px 24px; font-size: .9rem; color: var(--fg-muted); }
.foot { align-items: center; }
.foot-left { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.foot-sp { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.foot-sp em { font-style: normal; font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.sp-logos { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 18px; min-width: 0; max-width: 100%; }
.sp-logos img { display: block; width: auto; min-width: 0; flex: 0 1 auto; object-fit: contain; }  /* 좁으면 줄을 바꾸지 않고 함께 줄어든다 */
.foot-sp img { opacity: .92; }
.foot-sp .sp-tyf { height: 15px; }
.foot-sp .sp-hma { height: 34px; }
/* 시상 아래의 협찬사 띠: 로고가 어두운 글자라 밝은 바탕 위에 놓는다 */
.sponsors { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; margin-top: 16px; padding: 14px 24px; background: var(--panel); }
.sponsors .k { color: #456c00; }
.sponsors .sp-logos { gap: 32px; }
.sponsors .sp-tyf { height: 22px; }
.sponsors .sp-hma { height: 46px; }
.foot .chips { display: flex; align-items: center; gap: 8px; font-family: var(--mono); letter-spacing: .08em; }
.foot .chips i { width: 22px; height: 14px; background: var(--coral); }
.foot .chips i:first-child { width: 34px; background: var(--lime); }

/* ---------------------------------------------------------------- 움직임
   1) 화면이 열릴 때: 맨 위로 연두 빛줄이 지나가고, 패널이 아래에서 차례로 켜진다.
   2) 화면을 넘길 때: 이전 화면이 흐려지며 물러나고 새 화면이 위에서부터 훑으며 나타난다(지원하는 브라우저만).
   3) 누르거나 올릴 때: 단추에 빛이 돌고 살짝 눌린다. 입력 칸은 연두 빛 테두리가 켜진다.
   움직임을 줄이도록 설정한 기기에서는 모두 끈다. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s ease-in both; }
::view-transition-new(root) { animation: vt-in .5s cubic-bezier(.2,.8,.2,1) both; }
/* 메뉴를 넘길 때 위쪽 메뉴 띠는 그대로 두고 아래 내용만 바뀌어 보이게 한다(지원 브라우저에서만). */
.top { view-transition-name: topbar; }
::view-transition-group(topbar) { animation: none; }
::view-transition-old(topbar) { display: none; }
::view-transition-new(topbar) { animation: none; }
@keyframes vt-out { to { opacity: 0; filter: blur(6px); transform: scale(.985); } }
@keyframes vt-in { from { opacity: 0; clip-path: inset(0 0 100% 0); } 60% { opacity: 1; } to { clip-path: inset(0 0 0 0); } }

body::before { content: ""; position: fixed; left: 0; top: 0; z-index: 50; width: 100%; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--lime) 40%, #fff 50%, var(--lime) 60%, transparent);
  transform: translateX(-100%); animation: scan .9s cubic-bezier(.3,.7,.2,1) .05s both; }
@keyframes scan { from { transform: translateX(-100%); opacity: 1; } to { transform: translateX(100%); opacity: 0; } }

@keyframes boot { from { opacity: 0; transform: translateY(18px); filter: blur(5px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes flash-in { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-22px) rotate(-3deg); } }
@keyframes num-in { from { opacity: 0; letter-spacing: .3em; filter: blur(8px); } to { opacity: 1; filter: none; } }

.top-boot .top-in { animation: boot .5s cubic-bezier(.2,.8,.2,1) both; }  /* 로그인 전 화면에서만. 로그인 뒤에는 메뉴 띠가 매번 다시 켜지지 않게 */
.hero-main { animation: boot .6s cubic-bezier(.2,.8,.2,1) .08s both; }
.hero-side > * { animation: boot .6s cubic-bezier(.2,.8,.2,1) .2s both; }
.hero-side > *:nth-child(2) { animation-delay: .3s; }
.dday .num span, .glass .v span, .stats b { font-variant-numeric: tabular-nums; }
.dday .num { animation: num-in .9s cubic-bezier(.2,.8,.2,1) .45s both; }
main.wrap > * { animation: boot .55s cubic-bezier(.2,.8,.2,1) both; }
main.wrap > *:nth-child(1) { animation-delay: .12s; }
main.wrap > *:nth-child(2) { animation-delay: .18s; }
main.wrap > *:nth-child(3) { animation-delay: .24s; }
main.wrap > *:nth-child(4) { animation-delay: .3s; }
main.wrap > *:nth-child(n+5) { animation-delay: .36s; }
form.form > fieldset { animation: boot .55s cubic-bezier(.2,.8,.2,1) both; }
form.form > fieldset:nth-of-type(2) { animation-delay: .06s; }
form.form > fieldset:nth-of-type(3) { animation-delay: .12s; }
form.form > fieldset:nth-of-type(n+4) { animation-delay: .18s; }
.grid2 > .card { transition: filter .25s; }
.grid2 > .card:hover { filter: drop-shadow(0 0 14px rgba(155,208,35,.5)); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  @view-transition { navigation: none; }
}

@media (max-width: 760px) {
  .brand .logo-w { height: 40px; }
  .brand .logo-g { height: 23px; }
  .nav { order: 3; flex-basis: 100%; }
  .nav a { padding: 8px 10px; }
  .who { margin-left: auto; }
  .hero-main { padding: 36px 22px 28px; }
  .prize-top { grid-template-columns: 1fr 1fr; }
  .prize-card.p1 { grid-column: 1 / -1; }
  .hero-symbol { width: calc(var(--symbol-w, 600px) * .73); top: 110px; right: -70px; }
  /* 좁은 화면의 시상: 작은 상 카드는 한 줄에 하나씩(두 칸이면 글자가 세로로 깨진다), 큰 숫자는 조금 줄인다 */
  .prize-more { grid-template-columns: 1fr; gap: 12px; }
  .prize-top { gap: 12px; }
  .prize-top > *, .prize-more > * { min-width: 0; }
  .prize-card { padding: 16px 16px 18px; }
  .prize-card .amt { font-size: 2.6rem; }
  .prize-card.p1 .amt { font-size: 3.8rem; }
  .prize-card.sm { padding: 12px 16px 14px; }
  .prize-card.sm .amt { font-size: 2rem; }
  .foot-sp { flex-direction: column; align-items: flex-start; gap: 6px; max-width: 100%; }   /* 'Sponsored by' 한 줄, 로고 두 개 한 줄 */
  .foot-left { max-width: 100%; }
  .sponsors { flex-direction: column; align-items: flex-start; padding: 12px 16px; }
  .sponsors .sp-logos { gap: 20px; }
  .ro { grid-template-columns: 1fr; gap: 2px; }
  .urow { grid-template-columns: 1fr 1fr; }
  .tbl th, .tbl td { padding: 8px; }
}
.sr-default { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
