﻿:root {
  --bg: #ffffff;
  --bg2: #f5f8f2;
  --card: #ffffff;
  --line: #e2e9dc;
  --text: #22301f;
  --muted: #5f6f5a;
  --accent: #4f9a2f;
  --accent-ink: #ffffff;
  --accent-soft: #eef6e6;
  --gold: #a8741a;
  --parch: #f6ead0;
  --parch-ink: #4a3218;
  --shadow: 0 4px 18px rgba(40, 70, 30, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans KR", system-ui, sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { font-family: "Gowun Batang", serif; letter-spacing: -0.01em; }

/* 상단 */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; white-space: nowrap; }
.brand img { width: 28px; height: 28px; }
nav { display: flex; gap: 16px; flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
nav a:hover { color: var(--accent); }
nav a.nav-discord { color: #5865f2; font-weight: 700; }
nav a.disabled { opacity: 0.45; cursor: default; }

/* 첫 화면: 원본 로그인 화면, 아래는 흰색으로 녹아든다 */
.hero {
  min-height: 86vh;
  display: grid; place-items: end center; text-align: center;
  padding: 80px 16px 72px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.28) 72%, rgba(255, 255, 255, 0) 88%, #fff 100%),
    url(assets/hero.jpg) center 30% / cover no-repeat;
}
.hero h1 {
  font-size: clamp(40px, 8vw, 76px); margin: 0; color: #fff8e2;
  text-shadow: 0 2px 0 #5a3d12, 0 4px 24px rgba(0, 0, 0, 0.5);
}
.tagline { color: #fff; font-size: clamp(15px, 2.4vw, 19px); margin: 6px 0 12px; font-style: italic; text-shadow: 0 1px 3px rgba(0,0,0,.9), 0 0 14px rgba(0,0,0,.6); }
.status {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 28px;
  padding: 6px 14px; border-radius: 999px; font-size: 14px;
  background: rgba(255, 255, 255, 0.9); border: 1px solid var(--line); color: var(--text);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #45c21e; box-shadow: 0 0 8px #45c21e; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 12px 24px; border-radius: 10px;
  font-weight: 700; text-decoration: none; border: 1px solid transparent;
  transition: transform .12s, filter .12s;
}
.btn.primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 4px 12px rgba(79, 154, 47, .3); }
.btn.ghost { background: #5865f2; color: #fff; box-shadow: 0 4px 12px rgba(88, 101, 242, .3); }
.btn.discord { background: #5865f2; color: #fff; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn.disabled { opacity: 0.45; cursor: default; transform: none; filter: none; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.block { padding: 64px 0 8px; scroll-margin-top: 60px; }
h2 { font-size: 30px; margin: 0 0 24px; color: #2c4a1f; }
h2::after { content: ""; display: block; width: 40px; height: 3px; margin-top: 8px; border-radius: 2px; background: var(--accent); }
.note { color: var(--muted); font-size: 14px; margin-top: 16px; }
.note b { color: var(--text); }

/* 직업: 게임 안 초상화 */
.classes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 1000px) { .classes { grid-template-columns: repeat(3, 1fr); } }
.classes article {
  text-align: center; padding: 18px 10px 14px; border-radius: 14px;
  background: radial-gradient(circle at 50% 36%, #e6f3da 0%, #fff 72%);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .15s;
}
.classes article:hover { transform: translateY(-3px); }
.classes img { height: 150px; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .18)); }
.classes h3 { margin: 8px 0 0; font-size: 22px; color: var(--gold); }
.classes p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }

/* 세계: 원본 월드맵 창 */
.world {
  margin-top: 72px; padding: 80px 16px; scroll-margin-top: 50px;
  background:
    linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 14%, rgba(255, 255, 255, 0) 86%, #fff 100%),
    url(assets/worldmap.jpg) center / cover no-repeat;
}
.world-inner { max-width: 1080px; margin: 0 auto; }
.world h2 { color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.world h2::after { background: #fff; }
.towns { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.towns article {
  background: rgba(255, 252, 244, 0.95); color: var(--parch-ink);
  border-radius: 12px; padding: 16px 18px; box-shadow: 0 6px 18px rgba(60, 40, 10, .25);
}
.towns h3 { margin: 0 0 4px; font-size: 20px; color: #7a4a14; }
.towns p { margin: 0; font-size: 14.5px; }

/* 사냥터 */
.hunt { display: grid; grid-template-columns: minmax(300px, 1fr) 1.3fr; gap: 20px; align-items: start; }
.grounds { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); font-size: 15px; }
.grounds th, .grounds td { padding: 0; border-bottom: 1px solid var(--line); text-align: left; }
.grounds thead th { background: #2c4a1f; color: #fff; padding: 10px 14px; font-weight: 700; font-size: 14px; border-bottom: 0; }
.grounds th.town { background: var(--accent-soft); color: #2c4a1f; font-family: "Gowun Batang", serif; font-size: 16px; padding: 0 12px; text-align: center; vertical-align: middle; width: 112px; white-space: nowrap; border-right: 1px solid var(--line); }
.grounds tbody tr:last-child td, .grounds tbody tr:last-child th { border-bottom: 0; }
.grounds td.g-name button { all: unset; display: block; width: 100%; box-sizing: border-box; padding: 9px 14px; cursor: pointer; }
.grounds td.g-lv { padding: 9px 14px; color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.grounds tbody tr:hover td { background: #f7faf4; }
.grounds tr.on td { background: #e3f1d6; }
.grounds tr.on td.g-name button { font-weight: 700; color: #2c4a1f; }

.hunt-side { position: sticky; top: 72px; display: grid; gap: 14px; }
.mob-panel, .mob-info { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); }
.mob-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.mob-head h3 { margin: 0; font-size: 22px; color: #2c4a1f; }
.mob-head span { color: var(--accent); font-weight: 700; }
.mob-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.mob { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border: 1px solid var(--line); border-radius: 12px; background: #fbfdf9; cursor: pointer; font: inherit; color: var(--text); transition: transform .12s, border-color .12s; }
.mob:hover { transform: translateY(-2px); border-color: var(--accent); }
.mob.on { border-color: var(--accent); background: #eef6e6; box-shadow: 0 0 0 2px rgba(79, 154, 47, .25); }
.mob.boss { border-color: #e0b36a; background: #fff8ea; }
.mob .pic { height: 92px; display: grid; place-items: end center; }
.mob .pic img { max-height: 92px; max-width: 96px; image-rendering: auto; }
.mob .nm { font-weight: 700; font-size: 14px; }
.mob .lv { font-size: 12px; color: var(--muted); }
.mob-hint { margin: 10px 0 0; font-size: 13px; color: var(--muted); }

.mob-info[hidden] { display: none; }
.mi-head { display: flex; align-items: center; gap: 14px; }
.mi-head img { max-height: 110px; max-width: 120px; }
.mi-head h3 { margin: 0; font-size: 24px; display: flex; align-items: center; gap: 8px; }
.mi-sub { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.badge { font-family: "Noto Sans KR", sans-serif; font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.badge.boss { background: #fbe3b8; color: #8a5a10; }
.mi-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin: 14px 0 0; }
.mi-stats div { background: var(--bg2); border-radius: 8px; padding: 6px 10px; }
.mi-stats dt { font-size: 12px; color: var(--muted); }
.mi-stats dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.mob-info h4 { margin: 16px 0 6px; font-size: 15px; }
.mi-drops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 12px; max-height: 260px; overflow-y: auto; }
.mi-drops li { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 2px 0; }
.mi-drops .ic { width: 28px; height: 28px; flex: none; display: grid; place-items: center; background: var(--bg2); border-radius: 6px; }
.mi-drops .ic img { max-width: 26px; max-height: 26px; }
.mi-drops .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 이야기 퀘스트 */
.story { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.story li { display: flex; gap: 10px; align-items: baseline; background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.story .ch { color: var(--gold); font-weight: 700; font-size: 13px; min-width: 32px; }

/* 갤러리 */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.shots figure { margin: 0; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.shots img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; transition: transform .25s; }
.shots figure:hover img { transform: scale(1.03); }
.shots figcaption { padding: 8px 12px; color: var(--muted); font-size: 14px; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .85); display: grid; place-items: center; padding: 16px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; border-radius: 8px; }

/* 다운로드: 원본 로그인 화면(나뭇잎) */
.download {
  margin-top: 72px; padding: 80px 16px; scroll-margin-top: 50px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 50%, rgba(255, 255, 255, 0.1) 100%),
    url(assets/bg-leaf.jpg) right center / cover no-repeat;
}
.download-inner { max-width: 1080px; margin: 0 auto; }
.download-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; box-shadow: var(--shadow);
}
.dl-title { margin: 0; font-weight: 700; font-size: 18px; }
.dl-meta { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.steps { max-width: 560px; padding-left: 22px; margin: 20px 0 0; }
.steps li { margin: 6px 0; }

/* 소식 */
.notices { list-style: none; padding: 0; margin: 0; }
.notices li { border-bottom: 1px solid var(--line); padding: 16px 0; }
.n-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.n-head time { margin-left: auto; color: var(--muted); font-size: 14px; }
.tag { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.notices p { margin: 6px 0 0; color: var(--muted); white-space: pre-line; }

/* 커뮤니티 */
.community { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.community > div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; box-shadow: var(--shadow); }
.community h3 { margin: 0 0 12px; font-size: 20px; color: var(--accent); }
.channels { margin: 0; }
.channels dt { font-weight: 700; margin-top: 10px; }
.channels dd { margin: 0; color: var(--muted); font-size: 14px; }
.rules { padding-left: 20px; margin: 0 0 4px; }
.rules li { margin: 6px 0; }

footer { text-align: center; margin-top: 64px; padding: 32px 16px 40px; color: var(--muted); font-size: 14px; background: var(--bg2); border-top: 1px solid var(--line); }
footer p { margin: 2px 0; }
.credit { font-size: 12px; opacity: .8; }

@media (max-width: 760px) {
  .hunt, .community { grid-template-columns: 1fr; }
  .hunt-side { position: static; }
  .mi-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .topbar { flex-direction: column; align-items: flex-start; padding: 10px 16px; }
  nav { gap: 12px; }
  .hero { min-height: 72vh; }
  .classes { grid-template-columns: repeat(2, 1fr); }
  .classes img { height: 120px; }
}

/* 대문 로고 */
.hero .logo { margin: 0 0 14px; line-height: 0; }
.hero .logo img { width: clamp(260px, 52vw, 600px); filter: drop-shadow(0 3px 2px rgba(20, 50, 10, .55)) drop-shadow(0 0 18px rgba(255, 255, 255, .55)); }

/* 버그제보 메뉴 */
nav a.nav-report { color: #c0392b; font-weight: 700; }

/* 창(모달) */
body.noscroll { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 40; background: rgba(20, 30, 15, .55); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.modal[hidden] { display: none; }
.modal-box { position: relative; width: min(100%, 520px); background: #fff; border-radius: 16px; padding: 28px 28px 24px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.modal-close { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; }
.modal-close:hover { color: var(--text); }
.modal-sub { margin: -8px 0 16px; color: var(--muted); font-size: 14px; }
.modal-sub b { color: #c0392b; }

.report-form label { display: block; margin: 0 0 12px; font-weight: 500; font-size: 14px; }
.report-form .opt { color: var(--muted); font-weight: 400; }
.report-form input, .report-form select, .report-form textarea {
  display: block; width: 100%; margin-top: 4px; padding: 9px 12px; font: inherit; font-size: 15px;
  border: 1px solid var(--line); border-radius: 8px; background: #fbfdf9; color: var(--text);
}
.report-form input:focus, .report-form select:focus, .report-form textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.report-form textarea { resize: vertical; }
.report-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.report-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.report-msg { font-size: 14px; color: var(--muted); }
.report-msg.ok { color: var(--accent); font-weight: 700; }
.report-msg.err { color: #c0392b; }

/* 직업 창: 슬라이드 + 설명 */
.section-hint { margin: -12px 0 18px; color: var(--muted); font-size: 14px; }
.classes article { cursor: pointer; }
.classes article:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.class-box { width: min(100%, 820px); padding: 24px; }
.class-view { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: center; }
.slide { display: grid; gap: 10px; }
.slide-stage {
  height: 320px; display: grid; place-items: end center; padding-bottom: 20px; border-radius: 14px;
  background: radial-gradient(ellipse at 50% 85%, #d9ecc8 0%, #f3f9ee 45%, #fff 75%); border: 1px solid var(--line);
}
.slide-stage img { max-height: 280px; max-width: 280px; height: auto; }
.slide-nav { display: flex; align-items: center; justify-content: space-between; }
.slide-nav button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; color: var(--text); }
.slide-nav button:hover { border-color: var(--accent); color: var(--accent); }
.slide-nav span { font-weight: 700; color: #2c4a1f; }
.slide-dots { display: flex; justify-content: center; gap: 6px; }
.slide-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; }
.slide-dots button.on { background: var(--accent); width: 20px; border-radius: 4px; }
.class-info h2 { margin: 0 0 4px; font-size: 32px; color: var(--gold); }
.class-info h2::after { display: none; }
.ci-weapon { margin: 0 0 12px; color: var(--accent); font-weight: 700; }
.ci-desc { margin: 0 0 16px; line-height: 1.8; }
.class-info h4 { margin: 0 0 8px; font-size: 15px; }
.ci-skills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ci-skills li { padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: #2c4a1f; font-size: 14px; }
@media (max-width: 700px) {
  .class-view { grid-template-columns: 1fr; }
  .slide-stage { height: 260px; }
  .slide-stage img { max-height: 230px; }
}
.mob-panel, .mob-info { scroll-margin-top: 110px; }

/* 탭 */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.tabs[hidden] { display: none; }
.tab { display: inline-flex; flex-direction: column; align-items: center; padding: 8px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.tab small { font-weight: 400; font-size: 12px; color: var(--muted); }
.tab:hover { border-color: var(--accent); }
.tab.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.tab.on small { color: rgba(255, 255, 255, .85); }
.tabs.big .tab { padding: 10px 22px; font-size: 16px; }
.tabs.big .tab.on { background: #2c4a1f; border-color: #2c4a1f; }

/* 스킬 */
.skill-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.skill { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow); }
.skill h3 { margin: 0; font-size: 18px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.skill.promo { border-color: #e0b36a; background: #fffaf0; }
.badge.promo { background: #f4c46a; color: #5a3a00; }
.badge.shared { background: var(--bg2); color: var(--muted); border: 1px solid var(--line); }
.sk-max { margin: 2px 0 6px; font-size: 13px; color: var(--accent); font-weight: 700; }
.sk-desc { margin: 0; padding-left: 16px; color: var(--muted); font-size: 14px; }
.promo-title { margin: 28px 0 0; font-size: 20px; color: #8a5a10; }
.promo-title + .note { margin: 2px 0 10px; }

/* 장비 */
.gear-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; align-items: start; }
.gear-group { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.gear-group h3 { margin: 0; padding: 10px 16px; background: var(--accent-soft); color: #2c4a1f; font-size: 17px; }
.gear-items { list-style: none; margin: 0; padding: 0; max-height: 520px; overflow-y: auto; }
.gear-items li { display: flex; align-items: center; gap: 10px; padding: 7px 14px; border-top: 1px solid var(--line); }
.gear-items li:first-child { border-top: 0; }
.gear-items .ic { width: 34px; height: 34px; flex: none; display: grid; place-items: center; background: var(--bg2); border-radius: 8px; }
.gear-items .ic img { max-width: 32px; max-height: 32px; }
.gi-body { flex: 1; min-width: 0; display: grid; }
.gi-body strong { font-size: 14.5px; }
.gi-stat { font-size: 12.5px; color: var(--muted); }
.gi-lv { font-size: 13px; font-weight: 700; color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* 스킬 카드 누르기 + 레벨표 */
button.skill { display: block; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: transform .12s, border-color .12s; }
button.skill:hover { transform: translateY(-2px); border-color: var(--accent); }
.section-hint.skills { margin-top: -8px; }
.skill-box { width: min(100%, 560px); }
.skill-box h2 { margin: 0 0 4px; }
.skill-box h2::after { display: none; }
.sm-table-wrap { max-height: 60vh; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; }
.sm-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.sm-table th { position: sticky; top: 0; background: #2c4a1f; color: #fff; padding: 8px 12px; text-align: left; font-size: 13px; }
.sm-table td { padding: 7px 12px; border-top: 1px solid var(--line); }
.sm-table tr:nth-child(even) td { background: var(--bg2); }
.sm-table td.lv { font-weight: 700; color: var(--accent); width: 60px; }
.sm-table td.mp { width: 80px; text-align: right; font-variant-numeric: tabular-nums; }
.sm-table th:last-child { text-align: right; }

/* 직업 카드: 복원한 초상화 (위쪽 기준으로 잘라 보여 준다) */
.classes article { padding: 10px 10px 14px; }
.classes img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: center top; border-radius: 10px; filter: none; }

/* 이야기 퀘스트 */
.story li { padding: 0; }
.story li button { all: unset; box-sizing: border-box; display: flex; gap: 10px; align-items: baseline; width: 100%; padding: 10px 14px; cursor: pointer; }
.story li:hover { border-color: var(--accent); background: #eef6e6; }
.story .q-count { margin-left: auto; font-size: 12px; color: var(--muted); }
.quest-box { width: min(100%, 760px); max-height: 88vh; overflow-y: auto; }
.quest-box h2 { margin: 0 0 8px; color: #2c4a1f; }
.quest-box h2::after { display: none; }
.q-intro { background: var(--accent-soft); border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; font-size: 14.5px; }
.q-intro p { margin: 2px 0; }
.q-intro .q-sub { padding-left: 8px; color: var(--muted); }
.q-step { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.q-pics { display: flex; flex-wrap: wrap; gap: 4px; align-content: flex-start; justify-content: center; }
.q-pics img.npc { width: 96px; height: 96px; object-fit: contain; background: radial-gradient(circle at 50% 70%, #e6f3da, #fff 70%); border-radius: 10px; }
.q-pics img.thing { width: 40px; height: 40px; object-fit: contain; background: var(--bg2); border-radius: 8px; padding: 2px; }
.q-body h4 { margin: 0 0 6px; font-size: 16px; color: #2c4a1f; }
.q-line { margin: 3px 0; font-size: 14.5px; }
.q-line b { color: var(--accent); margin-right: 2px; }
.q-line.talk { background: #fbfaf5; border-left: 3px solid #e0cf9a; padding: 6px 10px; border-radius: 0 8px 8px 0; }
@media (max-width: 560px) { .q-step { grid-template-columns: 64px 1fr; } .q-pics img.npc { width: 64px; height: 64px; } }
.ci-skills li.promo { background: #fbe3b8; color: #8a5a10; }

/* 업데이트 */
.up-list { display: grid; gap: 8px; max-height: 640px; overflow-y: auto; padding-right: 4px; }
.up-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); }
.up-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.up-head strong { font-size: 16px; }
.up-head time { margin-left: auto; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.up-item p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.up-cat { margin: 14px 0 2px; font-size: 17px; color: #2c4a1f; }
.up-cat:first-child { margin-top: 0; }
.up-item { padding: 10px 16px; }
.up-item .up-head strong { font-size: 15px; font-weight: 500; }
.up-item .up-head strong::before { content: "· "; color: var(--accent); font-weight: 700; }

/* 공식카페(네이버) */
nav a.nav-cafe { color: #03a94d; font-weight: 700; }
.btn.cafe { background: #03c75a; color: #fff; box-shadow: 0 4px 12px rgba(3, 199, 90, .3); }
