/* 부르심 · 믿음의 여정 — 16-bit 픽셀아트 UI
   패널·버튼·아이콘은 assets/ui-kit/ 의 개별 PNG를 그대로 씁니다 (패널은 border-image 9-slice: 원본 3px = 1 화면 px). */
@font-face { font-family: 'Galmuri11'; src: url('./assets/fonts/Galmuri11.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Galmuri11'; src: url('./assets/fonts/Galmuri11-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --navy-950: #070b1f; --navy-900: #0d1330; --navy-800: #141c45; --navy-700: #1b2a5e; --blue: #3f8de8; --sky: #9fd0ff;
  --gold: #ffd34d; --gold-2: #ffb22e; --orange: #e8742a; --red: #e0402f; --green: #36b06a; --purple: #7d4ad8;
  --paper: #f9d99a; --paper-2: #ffefc8; --brown: #8e3c20; --ink: #2a1408; --text: #fff4e0; --muted: #c9c2e8;
  --font-body: 'Pretendard', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Noto Sans CJK KR', 'Malgun Gothic', system-ui, sans-serif;
  --font-title: 'Black Han Sans', var(--font-body);
  --font-px: 'Galmuri11', var(--font-body);
  --col: 480px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; color: var(--text); font-family: var(--font-body); font-size: 15px; line-height: 1.5;
  background: var(--navy-950);
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(7, 11, 31, .78), rgba(7, 11, 31, .92)), url('./assets/ui/night-panorama.webp') center top / cover;
  image-rendering: pixelated;
}
img { image-rendering: pixelated; max-width: 100%; }
a { color: var(--gold); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.px { font-family: var(--font-px); font-weight: 700; letter-spacing: -.02em; }
.gold { color: var(--gold); }
.center { text-align: center; }
.small { font-size: 12.5px; color: #6b4a2a; }
.hint { font-size: 12px; margin: 4px 0 0; color: #7a4a2a; }

/* ---------- 패널 (개별 PNG 9-slice) ---------- */
.pnl-paper { border-style: solid; border-color: transparent; border-width: 20px 26px; border-image: url('./assets/ui-kit/panel_yangpiji-gibon.png') 60 78 fill / 20px 26px stretch; color: var(--ink); }
.pnl-paper-thin { border-style: solid; border-color: transparent; border-width: 14px 18px; border-image: url('./assets/ui-kit/panel_yangpiji-malsseum.png') 60 78 fill / 14px 18px stretch; color: var(--ink); }
.pnl-blue { border: 16px solid transparent; border-image: url('./assets/ui-kit/panel_paransaeg-jeongbocang.png') 48 fill / 16px stretch; }
.pnl-gold { border: 16px solid transparent; border-image: url('./assets/ui-kit/panel_hwanggeum-gyeolgwacang.png') 48 fill / 16px stretch; }
.pnl-gold-r { border: 12px solid transparent; border-image: url('./assets/ui-kit/panel_yangpiji-geumbicgangjo.png') 48 fill / 12px stretch; }
.pnl-purple { border: 16px solid transparent; border-image: url('./assets/ui-kit/panel_borasaeg-annaecang.png') 48 fill / 16px stretch; }
.pnl-red { border: 16px solid transparent; border-image: url('./assets/ui-kit/panel_bbalgansaeg-gyeonggocang.png') 48 fill / 16px stretch; }
.pnl-locked { border: 16px solid transparent; border-image: url('./assets/ui-kit/panel_jamgin-paeneol.png') 48 fill / 16px stretch; }
.pnl-dark { border: 14px solid transparent; border-image: url('./assets/ui-kit/panel_tumyeong-daehwacang.png') 48 fill / 14px stretch; }
.pnl-head { border: 12px solid transparent; border-image: url('./assets/ui-kit/panel_paransaeg-hedeo.png') 48 fill / 12px stretch; }

/* ---------- 제목 글씨 (디자인 시안의 금빛 외곽선 글씨) ---------- */
.title-art {
  font-family: var(--font-title); font-weight: 400; margin: 0; line-height: 1.12; letter-spacing: .01em;
  background: linear-gradient(#fff7b0 0%, #ffd23f 42%, #ff9d2e 70%, #e8572a 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(2px 0 0 #2a1408) drop-shadow(-2px 0 0 #2a1408) drop-shadow(0 2px 0 #2a1408) drop-shadow(0 -2px 0 #2a1408) drop-shadow(0 4px 0 rgba(0, 0, 0, .45));
}
.title-art.red { background-image: linear-gradient(#ff8a5c, #e0402f 55%, #a8201a); }
.title-art .en { font-size: .78em; background: linear-gradient(#fff, #c9d6ff); -webkit-background-clip: text; background-clip: text; }
.t-xl { font-size: 52px; } .t-lg { font-size: 32px; } .t-md { font-size: 27px; } .t-sm { font-size: 21px; }

/* ---------- 이미지 버튼 (개별 PNG) ---------- */
.btn-img { display: block; background: none; border: 0; padding: 0; text-decoration: none; transition: transform .08s; }
.btn-img img { display: block; width: 100%; height: auto; }
.btn-img:active { transform: translateY(3px); }
.btn-img[disabled] { opacity: .45; filter: grayscale(.8); pointer-events: none; }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0; }
.btn-xl { width: min(340px, 86%); margin: 0 auto; }
.btn-wide { width: min(360px, 92%); margin: 16px auto 6px; }
.mini-btn { display: inline-block; padding: 5px 12px; font-weight: 800; font-size: 14px; border: 3px solid var(--navy-950); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .35), inset 0 -3px 0 rgba(0, 0, 0, .25); text-decoration: none; color: #fff; }
.mini-btn.red { background: var(--red); } .mini-btn.gold { background: var(--gold); color: var(--ink); }
.link { background: none; border: 0; padding: 0; color: #2457b8; text-decoration: underline; font-weight: 700; }
.link.danger { color: var(--red); }
.small-link { display: block; text-align: center; font-size: 13px; color: #6b3a1e; margin-top: 8px; }
.ico { width: 28px; height: 28px; vertical-align: middle; flex: none; }

/* ---------- 화면 기본 ---------- */
#app { min-height: 100dvh; }
.screen { width: 100%; max-width: var(--col); margin: 0 auto; padding: max(10px, env(safe-area-inset-top)) 14px calc(24px + env(safe-area-inset-bottom)); position: relative; }
.mode-badge { margin: 18px auto 0; max-width: 360px; text-align: center; font-size: 12px; padding: 6px 10px; border: 2px solid; background: rgba(7, 11, 31, .7); }
.mode-badge.cloud { color: #8ef0b3; border-color: #2f8f5b; }
.mode-badge.local { color: #ffd98a; border-color: #8a6a2a; }
.mode-badge.test { color: #9fd0ff; border-color: #2f5fae; }
.note { text-align: center; font-size: 13px; color: var(--muted); margin: 8px 0; }
.warn { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; }
.warn p { margin: 0; font-size: 13.5px; } .warn b { display: block; font-size: 15px; }

.sub-head { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 8px; margin-bottom: 10px; }
.back-btn { width: 48px; height: 48px; display: block; }
.back-btn img { width: 48px; height: 48px; }
.sub-head .title-art { display: flex; align-items: center; gap: 6px; }
.head-deco { width: 38px; height: 38px; filter: none; }
.player-chip { display: flex; align-items: center; gap: 6px; background: var(--navy-800); border: 3px solid var(--navy-950); box-shadow: inset 0 0 0 2px #3c6fd0; padding: 3px 10px 3px 3px; font-size: 12.5px; max-width: 190px; }
.player-chip img { width: 30px; height: 36px; object-fit: cover; object-position: top; }
.player-chip b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

/* ---------- 1. 메인 ---------- */
.hud { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.player-card { display: flex; gap: 8px; align-items: center; text-decoration: none; color: var(--text); background: var(--navy-800); border: 3px solid var(--navy-950); box-shadow: inset 0 0 0 2px #3c6fd0; padding: 4px 12px 4px 4px; text-align: left; min-width: 0; }
.player-card img { width: 42px; height: 50px; object-fit: cover; object-position: top; background: #2a5a9a; }
.player-card b { display: block; font-size: 15px; }
.player-card small { display: block; font-size: 11.5px; color: var(--sky); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
.hud-icons { display: flex; gap: 4px; }
.hud-icons a, .hud-icons button { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--text); font-size: 10.5px; background: none; border: 0; padding: 0; }
.hud-icons .ico { width: 44px; height: 44px; }
.hero { position: relative; margin: 8px -14px 0; padding-top: 4px; background: linear-gradient(#3f8de8 0%, #8fc3f2 35%, #f7c48a 70%, #f2a25e 100%); overflow: hidden; }
.hero-logo { display: block; width: 86%; margin: 0 auto -6px; position: relative; z-index: 1; image-rendering: auto; }
.hero-tag { position: relative; z-index: 1; text-align: center; margin: 0 0 -10px; font-weight: 800; font-size: 14px; color: #fff; text-shadow: 2px 2px 0 #2a1408, -1px -1px 0 #2a1408, 1px -1px 0 #2a1408, -1px 1px 0 #2a1408; }
.hero-pano { display: block; width: 100%; height: auto; aspect-ratio: 941 / 304; object-fit: cover; }
.verse-scroll { display: grid; grid-template-columns: 64px 1fr 30px; gap: 8px; align-items: center; margin: -10px 0 8px; position: relative; text-decoration: none; }
.verse-scroll img:first-child { width: 64px; height: 56px; object-fit: cover; image-rendering: auto; }
.verse-scroll small { display: block; font-weight: 700; color: #8e3c20; }
.verse-scroll strong { font-size: 17px; line-height: 1.35; }
.verse-scroll > span { text-align: center; }
.chev { width: 30px; height: 30px; }
.count-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.count-card { display: flex; gap: 8px; align-items: center; min-height: 80px; }
.count-card img { width: 64px; height: 50px; object-fit: cover; image-rendering: auto; border: 2px solid #090f25; }
.count-card small { display: block; font-size: 12px; color: var(--sky); }
.count-card b { font-size: 25px; color: var(--gold); line-height: 1.1; }
.cta { margin: 14px 0 4px; }
.apply-banner { display: grid; grid-template-columns: 56px 1fr auto 46px; align-items: center; gap: 8px; width: 100%; text-align: left; margin-top: 8px; background: none; }
.apply-banner .tents { width: 54px; } .apply-banner .elder { width: 44px; }
.apply-banner small { display: block; font-size: 12px; color: #e6dcff; }
.trial-link { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 10px; background: none; font-size: 13.5px; text-align: left; }
.trial-link .ico { width: 30px; height: 30px; }
.gift-line { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13.5px; margin: 12px 0 0; }

/* ---------- 2. 캠프 안내 ---------- */
.poster { display: block; width: 100%; padding: 0; position: relative; background: none; }
.poster img { display: block; width: 100%; max-height: 520px; object-fit: contain; image-rendering: auto; background: #0d1330; }
.zoom-pill { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); background: rgba(7, 11, 31, .82); padding: 2px 12px 2px 4px; font-size: 12.5px; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.zoom-pill .ico { width: 26px; height: 26px; }
.camp-card { margin-top: 12px; }
.camp-title { display: flex; gap: 10px; align-items: center; justify-content: center; }
.camp-title img { width: 58px; image-rendering: auto; }
.camp-title small { display: block; font-weight: 800; }
.verse-band { background: rgba(142, 60, 32, .1); border-top: 2px dashed #b47a3a; border-bottom: 2px dashed #b47a3a; padding: 8px; text-align: center; font-weight: 700; font-size: 14px; margin: 10px 0; }
.info-rows { margin: 0; }
.info-rows div { display: grid; grid-template-columns: 98px 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px dashed #c9a46a; align-items: start; }
.info-rows dt { background: var(--navy-800); color: var(--text); font-weight: 800; display: flex; align-items: center; gap: 4px; padding: 0 8px 0 2px; height: 32px; font-size: 14px; }
.info-rows dt .ico { width: 26px; height: 26px; }
.info-rows dd { margin: 0; font-weight: 700; padding-top: 4px; }
.callings { margin-top: 12px; }
.ribbon { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-family: var(--font-title); font-weight: 400; font-size: 22px; color: var(--ink); }
.ribbon img { width: 36px; }
.calling-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.calling { display: flex; align-items: center; gap: 4px; padding: 10px 6px; border: 3px solid var(--navy-950); font-weight: 800; color: #fff; font-size: 14px; line-height: 1.25; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .3), inset 0 -4px 0 rgba(0, 0, 0, .25); }
.calling .ico { width: 34px; height: 34px; }
.c-red { background: #c8432f; } .c-green { background: #2f8f5b; } .c-blue { background: #2f6fd0; }
.apply-notes { margin-top: 12px; word-break: keep-all; }
.apply-notes .notes-head { display: flex; align-items: center; gap: 4px; margin: 0 0 6px; font-family: var(--font-title); font-weight: 400; font-size: 19px; color: var(--ink); }
.apply-notes .notes-head .ico { width: 28px; height: 28px; }
.apply-notes .notes-lead { margin: 0 0 8px; padding: 8px 10px; background: var(--navy-800); color: var(--text); font-weight: 800; font-size: 14px; line-height: 1.45; }
.apply-notes ul { margin: 0; padding: 0; list-style: none; font-size: 13.5px; font-weight: 700; line-height: 1.45; }
.apply-notes li { position: relative; padding: 4px 0 4px 16px; border-bottom: 1px dashed #c9a46a; }
.apply-notes li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; background: #c8432f; box-shadow: 1px 1px 0 var(--navy-950); }
.apply-notes .notes-more { margin: 8px 0 0; font-size: 12.5px; font-weight: 700; opacity: .8; }
.event-card { margin-top: 12px; display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: center; }
.event-art { text-align: center; }
.event-art img { width: 80px; image-rendering: auto; }
.event-art .title-art { display: block; font-size: 18px; }
.event-card ul { list-style: none; padding: 0; margin: 0; font-size: 13.5px; font-weight: 700; }
.event-card li { display: flex; align-items: center; gap: 4px; padding: 2px 0; }
.event-card li .ico { width: 24px; height: 24px; }
.camp-btns { margin-top: 14px; }

/* ---------- 3. 등록 ---------- */
.reg-hero { position: relative; margin: 0 -14px; overflow: hidden; background: linear-gradient(#3f8de8, #a9d2f5 60%, #f7c48a); padding-top: 10px; }
.reg-hero h2 { position: relative; z-index: 1; }
.reg-hero .hero-pano { margin-top: -6px; }
.reg-hero.short .hero-pano { aspect-ratio: 941 / 220; object-position: center 70%; }
.reg-form { word-break: keep-all; }
.reg-form { margin-top: -12px; position: relative; }
.field-body { min-width: 0; }
.field { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 8px; border: 0; padding: 8px 0; margin: 0; border-bottom: 2px dashed #c9a46a; }
.field-label { display: flex; flex-direction: column; align-items: center; font-weight: 900; font-size: 15px; padding: 0; }
.field-label img { width: 44px; height: 44px; object-fit: contain; }
.search-box, .name-input, .stack input { display: flex; align-items: center; gap: 6px; background: #fff; border: 3px solid #4a3a6a; box-shadow: inset 0 3px 0 #e6e0f0; min-height: 50px; padding: 0 10px; }
.search-box input { border: 0; outline: 0; flex: 1; font-size: 17px; min-width: 0; background: none; }
.search-box img { width: 30px; }
.search-box .clear { border: 0; background: #b9b5c9; color: #fff; width: 26px; height: 26px; border-radius: 50%; font-weight: 900; }
.name-input, .stack input { width: 100%; font-size: 17px; }
.church-row { display: grid; grid-template-columns: 1fr 92px; gap: 6px; margin-top: 4px; }
.church-row .name-input, .church-row input { width: 100%; min-width: 0; }
.region-select { font: inherit; font-size: 17px; font-weight: 700; min-height: 50px; padding: 0 6px; border: 3px solid #4a3a6a; background: #fff; color: var(--ink); box-shadow: inset 0 3px 0 #e6e0f0; border-radius: 0; }
.church-sug { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.church-sug:empty { display: none; }
.church-sug small { width: 100%; color: #7a5a3a; font-weight: 700; font-size: 12.5px; }
.church-sug .sug { border: 2px solid #c9a46a; background: #fff8e6; color: var(--ink); font: inherit; font-weight: 800; font-size: 14px; padding: 5px 10px; }
.church-list { display: grid; gap: 6px; margin-top: 6px; }
.church-item { display: grid; grid-template-columns: 40px 1fr 26px; align-items: center; gap: 6px; text-align: left; background: #fff8e6; border: 3px solid #c9a46a; padding: 4px 8px; color: var(--ink); }
.church-item.on { background: #fff1b0; border-color: var(--gold-2); box-shadow: 0 0 0 2px #8e3c20; }
.church-item b { display: block; font-size: 16px; } .church-item small { color: #7a5a3a; font-size: 12px; }
.church-item .ico:last-child { width: 24px; height: 24px; }
.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.role { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 56px; border: 3px solid #4a3a6a; background: #fff8e6; font-weight: 900; font-size: 17px; position: relative; }
.role img { width: 34px; height: 40px; object-fit: cover; object-position: top; }
.role input { position: absolute; opacity: 0; }
.role.on { background: #1d4fbf; color: #fff; border-color: #0a1a44; box-shadow: inset 0 0 0 3px var(--gold); }
.role.on::after { content: ''; width: 26px; height: 26px; background: url('./assets/ui-kit/form_seontaegdoen-radio.png') center / contain no-repeat; }
.consent { display: grid; grid-template-columns: 34px 1fr; gap: 8px; align-items: start; margin-top: 12px; font-size: 13.5px; font-weight: 600; }
.consent input { position: absolute; opacity: 0; }
.consent .box { width: 34px; height: 34px; background: url('./assets/ui-kit/form_bin-seontaegbagseu.png') center / contain no-repeat; }
.consent input:checked + .box { background-image: url('./assets/ui-kit/form_cekeudoen-seontaegbagseu.png'); }
.consent input:focus-visible + .box { outline: 3px solid var(--blue); }
.stack { display: block; font-weight: 800; margin: 10px 0; }
.stack input { margin-top: 4px; }
.code-big { font-size: 40px; text-align: center; letter-spacing: .15em; color: #1d4fbf; margin: 8px 0; }
.privacy { margin: 8px 0; font-size: 13.5px; }
.privacy div { display: grid; grid-template-columns: 86px 1fr; gap: 6px; padding: 4px 0; border-bottom: 1px dashed #c9a46a; }
.privacy dt { font-weight: 900; } .privacy dd { margin: 0; }
.todo { color: var(--red); font-style: normal; font-weight: 800; }

/* ---------- 4. 여정 선택 ---------- */
.journeys { display: grid; gap: 8px; margin-top: -10px; position: relative; }
.journey { display: grid; grid-template-columns: 92px minmax(0, 1fr) 28px; gap: 10px; align-items: center; width: 100%; text-align: left; background: none; }
.journey.ranked { filter: drop-shadow(0 0 6px rgba(255, 211, 77, .9)); }
.j-art img { width: 92px; height: 72px; object-fit: cover; image-rendering: auto; border: 3px solid #8e3c20; display: block; }
.j-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-family: var(--font-title); font-weight: 400; font-size: 18px; word-break: keep-all; color: var(--ink); line-height: 1.15; }
.tag { display: inline-flex; align-items: center; gap: 2px; font-family: var(--font-body); font-weight: 800; font-size: 11px; padding: 0 6px 0 0; }
.tag.gold { background: var(--navy-800); color: var(--gold); border: 2px solid var(--gold); }
.tag .ico { width: 20px; height: 20px; }
.done-badge { width: 26px; height: 26px; }
.j-sub { display: block; font-size: 12.5px; font-weight: 600; margin: 2px 0; }
.j-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; font-size: 12px; font-weight: 800; }
.j-meta .ico { width: 22px; height: 22px; }
.j-meta i { width: 2px; height: 14px; background: #c9a46a; }
.j-best { display: flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 800; color: #1d4fbf; }
.j-best .ico { width: 22px; height: 22px; }
.journey.locked { color: #fff; }
.journey.locked .j-sub, .journey.locked .j-meta { color: #eef2ff; text-shadow: 0 1px 0 #1a1028; }
.journey.locked .j-title { color: #e6ebf4; }
.journey.locked .j-art img { filter: grayscale(.5) brightness(.7); border-color: #2a3448; }
.journey .lock { width: 30px; }
.church-bar { display: grid; grid-template-columns: 48px auto 1fr auto 26px; gap: 8px; align-items: center; margin-top: 10px; text-decoration: none; color: var(--text); }
.church-bar .kids { width: 46px; }
.church-bar .lbl { font-size: 12.5px; font-weight: 800; line-height: 1.25; }
.church-bar .big { font-size: 30px; color: var(--gold); text-align: center; }
.church-bar .rank { display: flex; align-items: center; color: var(--gold); font-weight: 900; }
.choice-list { display: grid; gap: 6px; margin: 10px 0; }
.choice { display: flex; align-items: center; gap: 6px; text-align: left; width: 100%; background: none; font-weight: 800; color: var(--text); }

/* ---------- 5. 플레이 ---------- */
.in-play body { overflow: hidden; overscroll-behavior: none; }
.screen.play {
  position: fixed; left: 0; right: 0; top: var(--vvt, 0); height: var(--vvh, 100dvh); margin: 0 auto; padding: 8px 10px max(8px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 6px; overflow: hidden;
  background: linear-gradient(rgba(13, 19, 48, .2), rgba(13, 19, 48, .9) 45%), var(--scene) center top / cover; image-rendering: pixelated;
}
.play-hud { display: grid; grid-template-columns: 44px 1fr auto; gap: 6px; align-items: center; }
.icon-btn { background: none; border: 0; padding: 0; width: 44px; height: 44px; }
.icon-btn img { width: 44px; height: 44px; }
.play-title { text-align: center; min-width: 0; }
.play-title .title-art { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 19px; }
.route { display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.route img { width: 16px; height: 16px; } .route img[src*='현재'] { width: 22px; height: 22px; }
.route i { width: 8px; height: 3px; background: #ffefc8; }
.step-count { text-align: right; line-height: 1; } .step-count b { font-size: 17px; display: block; } .step-count small { font-size: 11px; color: var(--muted); }
.stage { position: relative; flex: 1 1 auto; min-height: 104px; max-height: 250px; border: 3px solid var(--navy-950); box-shadow: inset 0 0 0 2px #ffcf47; overflow: hidden; }
.scene-bg { position: absolute; inset: 0; background: var(--scene) center bottom / cover; image-rendering: pixelated; }
.path { position: absolute; left: 0; right: 0; bottom: 14%; width: 100%; height: 22%; }
.path path { fill: none; stroke: #fff4c2; stroke-width: 1.4; stroke-dasharray: 2 2.4; vector-effect: non-scaling-stroke; stroke-width: 4; }
.node { position: absolute; bottom: 10%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; z-index: 2; }
.node.prev { left: 15%; } .node.cur { left: 54%; } .node.next { left: 87%; }
.node .ring { display: block; width: 56px; height: 56px; border-radius: 50%; background: #fff4e0; border: 3px solid #1a1028; box-shadow: 0 0 0 3px #c9c2d6; overflow: hidden; }
.node .ring img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.node.cur .ring { width: 78px; height: 78px; box-shadow: 0 0 0 4px var(--gold), 0 0 18px 6px rgba(255, 211, 77, .85); background: #ffe9a8; animation: glow 1.4s ease-in-out infinite; }
.node.prev .ring { filter: saturate(.7); }
.node .tag-name { background: #1a1028; color: var(--text); border: 2px solid #c9c2d6; font-size: 11.5px; font-weight: 800; padding: 0 6px; margin-bottom: 3px; white-space: nowrap; }
.node.cur .tag-name { border-color: var(--gold); color: var(--gold); font-size: 13px; }
.node .ok { position: absolute; right: -8px; bottom: -4px; width: 26px; height: 26px; }
.node .end { font-weight: 800; font-size: 12px; background: rgba(26, 16, 40, .8); padding: 2px 6px; }
.walker { position: absolute; left: 30%; bottom: 6%; height: 66px; z-index: 3; transform: translateX(-50%); }
.walker.walk { animation: walk .6s steps(6) both; }
@keyframes walk { from { left: 14%; } to { left: 30%; } }
@keyframes glow { 50% { box-shadow: 0 0 0 4px var(--gold), 0 0 26px 10px rgba(255, 211, 77, .95); } }
.desc { display: grid; grid-template-columns: 46px 1fr; gap: 8px; align-items: center; flex: none; }
.desc img { width: 46px; height: 46px; object-fit: contain; }
.desc small { display: block; font-weight: 900; color: #8e3c20; font-size: 13px; }
.desc b { font-size: 14.5px; line-height: 1.35; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; flex: none; }
.stats.two { grid-template-columns: 1fr 1fr; margin-top: 6px; }
.stat { display: flex; gap: 3px; align-items: center; min-width: 0; border-width: 11px; border-image-width: 11px; }
.stat > span { min-width: 0; white-space: nowrap; }
.stat .ico { width: 26px; height: 26px; }
.stat small { display: block; font-size: 10.5px; color: var(--sky); font-weight: 700; }
.stat b { font-size: clamp(14px, 4.4vw, 19px); line-height: 1.05; }
.stat i { font-style: normal; font-size: 10.5px; color: var(--muted); margin-left: 1px; }
.word-row { display: grid; grid-template-columns: 70px 1fr 70px; gap: 6px; flex: none; align-items: stretch; }
.side { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-width: 10px; border-image-width: 10px; font-size: 12px; min-width: 0; }
.side small { font-size: 10.5px; color: var(--sky); white-space: nowrap; }
.side img { width: 34px; height: 34px; object-fit: contain; }
.side b { font-size: 12.5px; word-break: keep-all; line-height: 1.15; }
.side .dim { color: var(--muted); }
.pnl-gold-word {
  border: 14px solid transparent; border-image: url('./assets/ui-kit/panel_yangpiji-malsseum.png') 60 / 14px stretch;
  background: radial-gradient(circle at 50% 55%, #fffbe6 0 22%, transparent 60%), repeating-conic-gradient(from 0deg at 50% 55%, #ffe39a 0 8deg, #fff1c4 8deg 16deg);
  background-clip: padding-box; display: flex; align-items: center; justify-content: center; min-height: 96px; color: var(--ink);
}
.word .w { font-family: var(--font-title); font-size: clamp(34px, 11vw, 54px); line-height: 1.05; letter-spacing: .03em; text-align: center; word-break: keep-all; }
.word .w span.ok { color: #2a1408; }
.word .w span.todo { color: #a88a5a; opacity: .55; }
.word .w span.typing { color: #1d4fbf; }
.word .w span.bad { color: var(--red); text-decoration: underline wavy; }
.word .w .sp { display: inline-block; width: .3em; }
.word.wrong { box-shadow: inset 0 0 0 3px var(--red); }
.shake { animation: shake .3s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.type-form { display: block; margin: 0; flex: none; }
.torch { width: 26px; height: 34px; object-fit: contain; animation: flick 1s steps(2) infinite; }
@keyframes flick { 50% { transform: scaleY(.88) translateY(2px); } }
.type-box { display: flex; align-items: center; min-width: 0; border: 15px solid transparent; border-image: url('./assets/ui-kit/form_taiping-ibryeog.png') 45 / 15px stretch; background: #fcfcfa; background-clip: padding-box; height: 66px; padding: 0 0 0 8px; box-shadow: 0 0 0 3px rgba(255, 211, 77, .55); }
.type-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-family: var(--font-title); font-size: 26px; color: var(--ink); text-align: center; height: 34px; padding: 0; caret-color: #1d4fbf; }
.type-box input.wrong { color: var(--red); }
.enter-btn { background: none; border: 0; padding: 0; width: 34px; height: 34px; flex: none; }
.enter-btn img { width: 34px; height: 34px; }
.type-help { text-align: center; font-size: 12.5px; margin: 0; min-height: 18px; color: var(--muted); flex: none; }
.type-help.bad { color: #ff9a8e; font-weight: 800; } .type-help.good { color: #8ef0b3; font-weight: 800; }
.kb-open .screen.play .desc { display: none; }
.kb-open .screen.play .stage { max-height: 128px; min-height: 92px; }
.kb-open .screen.play .route { display: none; }
.kb-open .screen.play .node .ring { width: 44px; height: 44px; } .kb-open .screen.play .node.cur .ring { width: 56px; height: 56px; }
.kb-open .screen.play .walker { height: 48px; }
.kb-open .screen.play .word-row { grid-template-columns: 58px 1fr 58px; }
.kb-open .screen.play .pnl-gold-word { min-height: 72px; }
.kb-open .screen.play .side img { display: none; }

/* 도착(주제말씀) */
.arrival { text-align: center; }
.arr-logo { width: 110px; image-rendering: auto; }
.arrival .kicker { font-weight: 900; color: #8e3c20; margin: 4px 0; }
.arrival .verse { font-size: 25px; line-height: 1.3; margin: 6px 0; }
.arrival .ref { font-weight: 800; margin: 2px 0 8px; }
.camp-line { display: flex; align-items: center; justify-content: center; gap: 4px; font-weight: 800; font-size: 13.5px; }

/* ---------- 6. 결과 ---------- */
.res-head .mini-logo { width: 150px; image-rendering: auto; }
.res-hero { margin: -6px -14px 0; }
.res-hero img { display: block; width: 100%; image-rendering: auto; }
.res-title { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: -30px; position: relative; }
.res-title img { width: 40px; }
.res-sub { text-align: center; margin: 4px auto; max-width: 320px; font-size: 18px; }
.res-tag { text-align: center; margin: 0 0 8px; font-weight: 700; }
.res-msg { text-align: center; font-size: 13px; margin: 8px 0; color: #ffe39a; }
.res-msg .ico { width: 20px; height: 20px; vertical-align: -5px; }
.res-msg.bad { color: #ff9a8e; }
.result .stats.three .stat b { font-size: clamp(14px, 4.2vw, 18px); }
.met { margin-top: 8px; }
.met h2 { text-align: center; margin: 0 0 6px; font-size: 15px; }
.met-row { display: flex; align-items: center; justify-content: center; gap: 4px; }
.met-one { position: relative; display: flex; flex-direction: column; align-items: center; font-size: 13px; }
.met-one .ring { width: 66px; height: 66px; border-radius: 50%; overflow: hidden; border: 3px solid #1a1028; box-shadow: 0 0 0 3px var(--gold); background: #fff4e0; }
.met-one .ring img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.met-one .ok { position: absolute; right: -4px; top: 46px; width: 24px; height: 24px; }
.met-one b { background: #f2e2b8; border: 2px solid #8e3c20; padding: 0 6px; margin-top: 2px; }
.dots { width: 26px; border-top: 4px dotted #8e3c20; }
.share-banner { display: grid; grid-template-columns: 92px 1fr 30px; gap: 8px; align-items: center; width: 100%; margin-top: 8px; background: none; text-align: left; }
.share-banner img:first-child { width: 92px; height: 56px; object-fit: cover; image-rendering: auto; border: 2px solid #8e3c20; }
.share-banner small { display: block; font-weight: 800; }
.share-preview { display: block; width: 100%; max-height: 60vh; object-fit: contain; image-rendering: auto; border: 3px solid #1a1028; }

/* ---------- 7. 랭킹 ---------- */
.sub-head .podium { width: 58px; image-rendering: auto; filter: none; border: 2px solid #1a1028; }
.ranking .sub-head .head-right:not(:empty) + * { display: none; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0 8px; }
.tab { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px; font-weight: 900; font-size: 17px; background: var(--navy-800); color: var(--text); border: 3px solid var(--navy-950); box-shadow: inset 0 0 0 2px #3c6fd0; }
.tab img { width: 34px; height: 38px; object-fit: cover; object-position: top; }
.tab.on { background: linear-gradient(#ffe98a, #ffc23a); color: var(--ink); box-shadow: inset 0 0 0 2px #fff4c2, 0 0 0 2px #8e3c20; }
.rank-board { padding: 0; }
.rank-row { display: grid; grid-template-columns: 40px 38px 1fr 96px 58px; align-items: center; gap: 4px; min-height: 44px; padding: 2px 6px; border-bottom: 1px solid #e3c48a; font-size: 13px; }
.rank-row.ch { grid-template-columns: 40px 38px 1fr 116px; }
.rank-row.head { min-height: 34px; background: #3a2414; color: #ffe9b0; font-weight: 800; font-size: 12px; }
.rank-row.head .ico { width: 20px; height: 20px; }
.rank-row.first { background: linear-gradient(90deg, #ffe680, #ffd04a); }
.rank-row .rk { text-align: center; font-family: var(--font-px); font-weight: 700; font-size: 17px; }
.rank-row .rk img { width: 34px; height: 34px; }
.rank-row .av img { width: 34px; height: 38px; object-fit: cover; object-position: top; }
.rank-row > b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-row .num { text-align: right; } .rank-row .num b { font-size: 17px; }
.rank-empty { padding: 26px 10px; text-align: center; font-weight: 700; }
.my-rank { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; font-size: 14px; }
.my-rank .pill { background: var(--gold); color: var(--ink); font-weight: 900; padding: 2px 10px; clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%); }
.my-rank .big { font-size: 28px; }
.my-rank img { width: 32px; height: 38px; object-fit: cover; object-position: top; }
.rank-foot { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 10px; }

/* ---------- 모달 · 토스트 ---------- */
.modal-wrap { position: fixed; inset: 0; z-index: 50; background: rgba(4, 6, 18, .72); display: flex; align-items: center; justify-content: center; padding: 14px; overflow-y: auto; }
.modal { width: min(420px, 100%); max-height: calc(100dvh - 28px); overflow-y: auto; }
.modal.wide { width: min(720px, 100%); }
.modal h2 { margin: 2px 0 8px; text-align: center; }
.modal h3 { margin: 12px 0 2px; font-size: 15px; }
.modal p { margin: 6px 0; }
.modal .btn-img { width: min(240px, 80%); margin: 10px auto 0; }
.modal .btn-row .btn-img { width: 100%; }
.modal .mode-badge { margin-top: 10px; }
.poster-zoom { overflow: auto; max-height: 75dvh; touch-action: pinch-zoom pan-x pan-y; }
.poster-zoom img { width: 100%; image-rendering: auto; }
.toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translate(-50%, 140%); z-index: 60; max-width: min(440px, 92vw); background: #1a1028; color: var(--text); border: 3px solid var(--gold); padding: 10px 14px; font-weight: 700; font-size: 14px; transition: transform .25s; text-align: center; }
.toast.show { transform: translate(-50%, 0); }
.toast.bad { border-color: var(--red); } .toast.good { border-color: var(--green); }
.in-play .toast { bottom: auto; top: calc(var(--vvt, 0px) + 10px); transform: translate(-50%, -160%); }
.in-play .toast.show { transform: translate(-50%, 0); }

/* ---------- 넓은 화면 (900px 등) ---------- */
@media (min-width: 760px) {
  body { font-size: 16px; }
  .screen { padding-top: 22px; }
  #app::before { content: ''; position: fixed; left: 50%; top: 0; bottom: 0; width: calc(var(--col) + 28px); transform: translateX(-50%); background: rgba(13, 19, 48, .55); border-left: 3px solid #1b2a5e; border-right: 3px solid #1b2a5e; z-index: -1; }
  .ranking { --col: 560px; max-width: 560px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- 8. 관리자 ---------- */
.screen.admin { max-width: 1100px; }
.admin-login { max-width: 460px; text-align: center; }
.admin-login .hero-logo { width: 300px; margin: 10px auto 0; }
.admin-login section { margin: 12px 0; text-align: left; }
.adm-head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.adm-logo { width: 180px; image-rendering: auto; }
.adm-plate { justify-self: center; padding: 0 18px; }
.adm-who { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 12px; }
.adm-who .mini-btn { display: flex; align-items: center; gap: 4px; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-who .ico { width: 22px; height: 22px; }
.adm-who .link { color: var(--sky); }
.adm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0; }
.adm-stats > div { display: flex; gap: 6px; align-items: center; }
.adm-stats .ico { width: 38px; height: 38px; }
.adm-stats small { display: block; color: var(--sky); font-size: 12px; }
.adm-stats b { font-size: 22px; color: var(--gold); }
.adm-nav { position: sticky; top: 0; z-index: 5; display: flex; gap: 6px; overflow-x: auto; padding: 6px 0; background: rgba(7, 11, 31, .92); }
.adm-nav a { flex: none; padding: 6px 12px; background: var(--navy-800); border: 2px solid #3c6fd0; color: var(--text); text-decoration: none; font-weight: 800; font-size: 13.5px; }
.adm-sec { margin-top: 14px; scroll-margin-top: 54px; }
.sec-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.sec-title h2 { margin: 0; font-family: var(--font-title); font-weight: 400; font-size: 23px; flex: 1; }
.sec-title > img { width: 40px; height: 40px; }
.small-search { min-height: 40px; max-width: 320px; flex: 1 1 220px; }
.small-search input { font-size: 15px; }
.adm-table { overflow-x: auto; border: 3px solid #3a2414; background: #fff8e6; }
.adm-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }
.adm-table th { background: #3a2414; color: #ffe9b0; text-align: left; padding: 6px 8px; white-space: nowrap; }
.adm-table td { padding: 5px 8px; border-bottom: 1px solid #e3c48a; vertical-align: middle; }
.adm-table tr:nth-child(even) td { background: #fdf0d2; }
.adm-table .num { text-align: right; font-family: var(--font-px); font-weight: 700; }
.adm-table .num.good { color: var(--green); }
.adm-table .rk { font-family: var(--font-px); font-weight: 700; white-space: nowrap; }
.adm-table .medal { width: 24px; height: 24px; vertical-align: middle; margin-right: 2px; }
.adm-table .dev { display: block; font-size: 10.5px; color: #8a6a4a; }
.adm-table .reasons { font-size: 12px; color: #a8201a; }
.nowrap { white-space: nowrap; }
.trash { background: none; border: 0; padding: 0; width: 36px; height: 36px; }
.trash img { width: 36px; height: 36px; }
.sbtn { font-weight: 800; font-size: 12.5px; padding: 5px 9px; margin: 1px; background: #e6e0f0; border: 2px solid #1a1028; color: #1a1028; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .15); }
.sbtn.ok { background: #36b06a; color: #fff; } .sbtn.no { background: #e0402f; color: #fff; }
.chip { font-size: 11.5px; font-weight: 800; padding: 1px 6px; border: 2px solid; white-space: nowrap; }
.chip.ok { color: #1f6b44; border-color: #36b06a; } .chip.warn { color: #a8201a; border-color: #e0402f; }
.pager { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin: 8px 0; font-size: 13px; }
.pager span { margin-left: auto; }
.pg { min-width: 36px; height: 36px; background: var(--navy-800); color: var(--text); border: 2px solid #3c6fd0; font-weight: 800; }
.pg.on { background: var(--gold); color: var(--ink); border-color: #8e3c20; }
.pg[disabled] { opacity: .4; }
.adm-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0 4px; }
.merge-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0; }
.merge-row label { display: flex; flex-direction: column; font-weight: 800; font-size: 13px; }
.merge-row select, .merge-row input, .content-form input, .content-form select, .content-form textarea, .bulk textarea, .stack input { font: inherit; font-size: 15px; padding: 7px 8px; border: 3px solid #4a3a6a; background: #fff; min-height: 40px; color: var(--ink); }
.merge-row .btn-img { width: 200px; }
.bulk, .danger-zone { margin-top: 10px; }
.bulk summary, .danger-zone summary, .draw-sec summary { cursor: pointer; font-weight: 800; }
.bulk textarea { width: 100%; }
.bulk .btn-img { width: 180px; margin-top: 6px; }
.danger-zone { border: 3px dashed var(--red); padding: 8px; }
.inline { display: flex; align-items: center; gap: 6px; font-weight: 700; margin: 6px 0; }
.inline input { width: 22px; height: 22px; }
.content-form fieldset { border: 2px solid #c9a46a; margin: 10px 0; padding: 8px 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.content-form legend { font-weight: 900; padding: 0 6px; }
.content-form label { display: flex; flex-direction: column; font-weight: 800; font-size: 13px; gap: 2px; }
.content-form label.inline { flex-direction: row; grid-column: 1 / -1; }
.content-form textarea { grid-column: 1 / -1; }
.content-form label:has(textarea) { grid-column: 1 / -1; }
.content-form .round { grid-column: 1 / -1; display: grid; grid-template-columns: 90px 1fr 1fr 1fr; gap: 6px; }
.poster-edit { display: grid; grid-template-columns: 160px 1fr; gap: 10px; align-items: start; }
.poster-edit img { width: 160px; border: 3px solid #1a1028; image-rendering: auto; }
.draw-sec { color: var(--text); }
.draw-sec .sec-title h2 { color: #fff4e0; }
.light { color: #fff1d0 !important; }
.slot-wrap { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 10px 0; }
.slot-wrap .torch { width: 34px; height: 44px; }
.slot { display: flex; gap: 8px; justify-content: center; background: #3a2414; padding: 10px 14px; border: 4px solid #1a1028; box-shadow: inset 0 0 0 3px #c8841f; }
.slot span { width: 64px; height: 86px; display: flex; align-items: center; justify-content: center; background: #fff8e6; color: #1a1028; font-size: 56px; border: 3px solid #1a1028; box-shadow: inset 0 -8px 0 #e3c48a; }
.draw-result { text-align: center; color: var(--ink); margin-top: 8px; }
.draw-result .merge-row { justify-content: center; }
.draw-log { font-size: 13px; color: #fff4e0; }
.big-screen { position: fixed; inset: 0; z-index: 70; background: linear-gradient(rgba(13, 19, 48, .6), rgba(13, 19, 48, .95)), url('./assets/ui/night-panorama.webp') center / cover; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 20px; text-align: center; }
.big-screen .hero-logo { width: min(520px, 70vw); margin: 0; }
.big-screen .slot.big span { width: 18vmin; height: 24vmin; font-size: 17vmin; }
.big-screen .big-name { font-size: clamp(32px, 7vmin, 84px); min-height: 1.2em; }
.big-screen .btn-img { width: min(360px, 60vw); }
.big-screen .close { position: absolute; top: 14px; right: 14px; }
code { background: rgba(0, 0, 0, .08); padding: 0 4px; }
@media (max-width: 760px) {
  .adm-head { grid-template-columns: 1fr auto; } .adm-plate { display: none; } .adm-logo { width: 140px; }
  .adm-stats { grid-template-columns: 1fr 1fr; }
  .adm-actions { grid-template-columns: 1fr 1fr; }
  .content-form fieldset { grid-template-columns: 1fr; }
  .content-form .round { grid-template-columns: 1fr 1fr; }
  .poster-edit { grid-template-columns: 1fr; }
  .slot span { width: 52px; height: 70px; font-size: 44px; }
}
.content-form input, .content-form select, .content-form textarea { width: 100%; min-width: 0; }
.content-form .round label, .content-form fieldset > label { min-width: 0; }
body[data-page='admin'] #app::before { display: none; }
/* 랭킹 초기화 · 기록 직접 입력 */
.reset-modes { display: grid; gap: 8px; margin: 8px 0; }
.reset-modes label.inline { display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; }
.reset-modes input { margin-top: 4px; flex: none; }
#recLines { width: 100%; min-width: 0; font: inherit; font-size: 15px; padding: 8px; box-sizing: border-box; }
#recPreview .bad, .modal .bad { color: var(--red); }
.danger-zone + .danger-zone { margin-top: 12px; }
[hidden] { display: none !important; }
/* 캠프 신청 방법 3단계 (카페 → 신청서 → 이메일) */
.apply-steps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.apply-steps li { background: rgba(255, 248, 225, .9); border: 2px solid #8a5a2b; border-radius: 4px; padding: 6px 6px 7px; font-size: 13px; line-height: 1.3; text-align: center; font-weight: 700; color: #4a2a12; }
.apply-steps b { display: block; font-family: 'Galmuri11', monospace; color: #c0392b; font-size: 15px; }
.info-rows a { color: #1d4ed8; word-break: break-all; }
.info-rows dd, .apply-steps li { word-break: keep-all; overflow-wrap: anywhere; }

/* ===== 가독성 개선 (2026-10-16) ===== */
/* 목표 단어: 아직 안 쓴 글자도 진하게 — 맞은 글자는 초록, 쓰는 중 파랑, 틀린 글자는 빨강 바탕 */
.pnl-gold-word { background: radial-gradient(ellipse at 50% 55%, #fffdf2 0 45%, #fff6d6 75%), #fff6d6; background-clip: padding-box; }
.word .w { text-shadow: 0 2px 0 rgba(255, 255, 255, .9); letter-spacing: .06em; }
.word .w span { display: inline-block; padding: 0 .02em; border-radius: 4px; }
.word .w span.todo { color: #3b2410; opacity: 1; }
.word .w span.ok { color: #13843f; }
.word .w span.typing { color: #1d4fbf; box-shadow: inset 0 -.12em 0 #1d4fbf; }
.word .w span.bad { color: #fff; background: var(--red); text-decoration: none; text-shadow: none; }
/* 입력칸: 둥근 제목 글꼴 대신 또렷한 본문 굵은 글꼴 */
.type-box input { font-family: var(--font-body); font-weight: 900; font-size: 28px; letter-spacing: .04em; color: #1a0d05; }
.type-box input.wrong { color: var(--red); }
.type-box input::placeholder { color: #9c8a70; font-weight: 700; font-size: 17px; }
.type-box.flash-bad { box-shadow: 0 0 0 4px var(--red); background: #ffe9e6; background-clip: padding-box; }
/* 작은 글씨 키우기 */
.type-help { font-size: 15px; font-weight: 800; color: #e9e4ff; min-height: 22px; line-height: 1.35; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.type-help.bad { color: #ffb4aa; } .type-help.good { color: #9af5bf; }
.desc small { font-size: 14px; }
.desc b { font-size: 16px; line-height: 1.35; word-break: keep-all; }
.stat small { font-size: 12px; }
.stat i { font-size: 12px; }
.side small { font-size: 12px; color: #d8e6ff; }
.side b { font-size: 14px; }
.node .tag-name { font-size: 13px; }
.node.cur .tag-name { font-size: 15px; }

/* 관리자 설정: 체크박스·날짜 입력 정리 */
.content-form label.inline { flex-direction: row; align-items: center; gap: 8px; font-size: 14px; }
.content-form input[type=checkbox] { width: 22px; height: 22px; min-height: 0; flex: none; padding: 0; }
.content-form input[type=date] { min-height: 40px; }

/* 등록 화면 (간결 버전) */
.screen.register .reg-form.simple { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.reg-lead { margin: 0 0 6px; font-family: var(--font-title); font-size: 21px; color: var(--ink); text-align: center; line-height: 1.3; }
.reg-label { font-weight: 900; font-size: 15px; margin-top: 8px; color: var(--ink); }
.reg-form.simple .church-row { margin-top: 0; }
.reg-form.simple .role-pick { margin-top: 12px; }
.reg-form.simple .consent { align-items: center; margin: 10px 0 4px; font-size: 15px; font-weight: 700; }
.reg-form.simple .btn-wide { margin-top: 4px; }
.reg-note { margin: 4px 0 0; text-align: center; font-size: 13px; font-weight: 700; color: #7a5a3a; }
.church-sug .sug { margin-top: 2px; }
.sec-title h2 { white-space: nowrap; }
@media (max-width: 600px) { .small-search { flex: 1 1 100%; max-width: none; } }
.apply-how { font-size: 14px; color: #7a5a3a; font-weight: 700; }

/* ---- 최종 다듬기 (V3.8) ---- */
body { word-break: keep-all; overflow-wrap: anywhere; }
.sel-tip { margin: 14px 0 10px; text-align: center; font-weight: 800; font-size: 14px; color: #ffe9b0; position: relative; z-index: 1; }
.screen.select .journeys { margin-top: 0; }
/* 메인 신청 배너: 제목이 한 줄에, 날짜가 잘리지 않게 */
.apply-banner { grid-template-columns: 44px minmax(0, 1fr) auto 40px; gap: 6px; }
.apply-banner .tents { width: 42px; } .apply-banner .elder { width: 38px; }
.apply-banner b.title-art { font-size: 18px; line-height: 1.2; white-space: nowrap; }
.apply-banner small { font-size: 12.5px; line-height: 1.35; white-space: normal; }
.apply-banner .mini-btn { white-space: nowrap; }
/* 교회 랭킹: 이름이 잘리지 않게 두 줄까지 */
.rank-row.ch > b { white-space: normal; overflow: visible; font-size: 15px; line-height: 1.25; }
/* 캠프 이벤트 카드: 휴대폰에서는 그림 위, 목록 아래 */
@media (max-width: 480px) {
  .event-card { grid-template-columns: 1fr; justify-items: center; }
  .event-art { display: flex; align-items: center; gap: 10px; }
  .event-art img { width: 60px; }
  .event-card ul { width: 100%; font-size: 14px; }
  .event-card li { padding: 4px 0; border-bottom: 1px dashed #c9a46a; }
}
.verse-band { word-break: keep-all; }
.rank-row.ch { grid-template-columns: 36px 34px minmax(0, 1fr) 92px; }
.rank-row.ch .num b { font-size: 16px; }
.apply-banner small { white-space: nowrap; }
.me-form { display: flex; flex-direction: column; gap: 6px; }
.me-form .reg-label { margin-top: 4px; }
.me-form .role-pick { margin-top: 8px; }
.me-best { margin: 8px 0 0; text-align: center; font-size: 14px; color: #5a3a1a; }
.modal .center { text-align: center; }
.me-code { display: grid; justify-items: center; gap: 2px; margin: 10px 0 0; padding: 8px; background: var(--navy-800); color: var(--text); }
.me-code span { font-size: 13px; font-weight: 800; color: #ffe9b0; }
.me-code b { font-size: 26px; letter-spacing: 4px; color: #ffd04a; }
.me-code small { font-size: 12px; color: var(--muted); }
td.code { font-weight: 700; letter-spacing: 1px; white-space: nowrap; }
.choice-list { display: grid; gap: 8px; margin: 10px 0 4px; }
.choice { display: grid; gap: 2px; text-align: left; padding: 10px 12px; background: #fff8e6; border: 3px solid #4a3a6a; color: var(--ink); font: inherit; }
.choice b { font-size: 17px; } .choice small { font-size: 13px; color: #7a5a3a; font-weight: 700; }
.choice:active, .choice:focus-visible { background: #fff1b0; border-color: var(--gold-2); }
button.reg-note.link { background: none; border: 0; text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; font-weight: 800; color: #5a3a1a; margin-top: 8px; }
.code-input { text-transform: uppercase; letter-spacing: 6px; text-align: center; font-size: 22px; }
