:root {
  --page: #f4f6f8;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --line: #dfe4ea;
  --line-strong: #c8d0d9;
  --text: #28313b;
  --muted: #687482;
  --faint: #8a96a3;
  --brand: #435d78;
  --brand-dark: #2d4158;
  --accent: #d4594e;
  --accent-soft: #fff0ee;
  --shadow: 0 10px 24px rgba(42, 52, 63, .06);
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--text); font-family: "Noto Sans KR", system-ui, sans-serif; line-height: 1.65; }
body.dark { --page: #20262d; --surface: #2a323b; --surface-soft: #252d35; --line: #3e4a56; --line-strong: #556372; --text: #edf1f4; --muted: #adb8c3; --faint: #8f9ba7; --brand: #8eb0cc; --brand-dark: #a6c6df; --accent: #ef8275; --accent-soft: #482b2a; --shadow: 0 10px 24px rgba(0, 0, 0, .18); }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input { font: inherit; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-shell { min-height: 100vh; }
.global-header { height: 78px; display: flex; align-items: center; gap: 34px; padding: 0 34px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 268px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #e46a5d, #b84258); color: white; font-size: 14px; font-weight: 800; letter-spacing: -.05em; box-shadow: 0 5px 10px rgba(180, 66, 88, .2); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 17px; letter-spacing: -.03em; }
.brand small { margin-top: 1px; color: var(--muted); font-size: 11px; }
.global-search { position: relative; display: flex; flex: 1; max-width: 620px; }
.global-search input { width: 100%; height: 42px; border: 1px solid var(--line-strong); border-radius: 6px; outline: 0; padding: 0 50px 0 16px; background: var(--surface-soft); color: var(--text); }
.global-search input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.global-search button { position: absolute; right: 0; top: 0; width: 46px; height: 42px; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 24px; }
.search-suggestions { position: absolute; top: 48px; left: 0; right: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); z-index: 30; }
.suggestion { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); padding: 9px 12px; text-align: left; }
.suggestion:last-child { border-bottom: 0; }
.suggestion:hover { background: var(--surface-soft); }
.suggestion img { width: 34px; height: 34px; object-fit: contain; }
.suggestion small { display: block; color: var(--muted); }
.header-actions { display: flex; gap: 8px; margin-left: auto; }
.icon-button, .menu-button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--muted); }
.menu-button { display: none; }

.site-grid { display: grid; grid-template-columns: 218px minmax(0, 1fr) 250px; gap: 30px; max-width: 1440px; margin: 0 auto; padding: 30px 34px 58px; }
.left-sidebar { min-width: 0; }
.left-sidebar nav { display: grid; gap: 4px; }
.nav-label, .eyebrow { margin: 0 0 10px; color: var(--faint); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.nav-link { display: flex; align-items: center; gap: 11px; border-radius: 6px; color: var(--muted); padding: 9px 12px; font-size: 14px; font-weight: 600; }
.nav-link span { width: 18px; color: var(--faint); font-size: 17px; text-align: center; }
.nav-link:hover, .nav-link.active { background: var(--surface); color: var(--brand); text-decoration: none; box-shadow: 0 2px 8px rgba(30, 44, 56, .04); }
.nav-link.active { border-left: 3px solid var(--accent); padding-left: 9px; }
.sidebar-card { margin-top: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 16px; box-shadow: var(--shadow); }
.sidebar-card p { margin: 0 0 12px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.sidebar-card a { font-size: 12px; font-weight: 700; }
.sidebar-footer { margin: 24px 12px; color: var(--faint); font-size: 11px; }

.main-content { min-width: 0; }
.article-header { border-bottom: 1px solid var(--line-strong); padding-bottom: 17px; }
.breadcrumbs { display: flex; gap: 8px; margin-bottom: 9px; color: var(--faint); font-size: 12px; }
.breadcrumbs a { color: var(--muted); }
.article-header h1 { margin: 0; font-size: clamp(27px, 3vw, 37px); letter-spacing: -.05em; line-height: 1.25; }
.article-subtitle { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.article-title-row { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.header-actions-inline { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.outline-button, .primary-button { border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--brand); padding: 7px 11px; font-size: 12px; font-weight: 700; }
.outline-button:hover { border-color: var(--brand); background: var(--surface-soft); }
.primary-button { border-color: var(--brand); background: var(--brand); color: #fff; }
.saved-badge { border-radius: 5px; background: #e9f5ec; color: #327146; padding: 4px 7px; font-size: 10px; font-weight: 800; }
.article-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.article-card-grid-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.article-card-shell { position: relative; display: flex; min-width: 0; }
.article-card-shell .article-card { flex: 1; padding-right: 58px; }
.card-edit-button { position: absolute; right: 10px; bottom: 10px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-soft); color: var(--brand); padding: 4px 7px; font-size: 10px; font-weight: 800; }
.card-edit-button:hover { border-color: var(--brand); background: var(--surface); }
.article-card { display: flex; align-items: flex-start; gap: 12px; min-height: 112px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 14px; color: var(--text); transition: transform .15s ease, border-color .15s ease; }
.article-card:hover { border-color: var(--brand); text-decoration: none; transform: translateY(-2px); }
.article-card-icon { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-size: 20px; font-weight: 800; }
.article-card-copy { min-width: 0; }
.article-card-copy strong, .article-card-copy small, .article-card-copy em { display: block; }
.article-card-copy strong { margin-bottom: 4px; font-size: 14px; }
.article-card-copy small { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.article-card-copy em { margin-top: 7px; color: var(--brand); font-size: 10px; font-style: normal; font-weight: 800; }
.official-hub-card, .official-source { display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid #cad9e5; border-radius: 8px; background: linear-gradient(135deg, var(--surface-soft), #eef5f9); padding: 14px 16px; }
.official-hub-card { margin: 17px 0; }
.official-hub-card strong, .official-hub-card p, .official-source strong, .official-source small { display: block; }
.official-hub-card strong, .official-source strong { color: var(--brand-dark); font-size: 14px; }
.official-hub-card p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.category-filter-row, .article-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 17px 0; }
.category-pill, .tag { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-soft); color: var(--muted); padding: 3px 8px; font-size: 11px; }
.category-pill b { color: var(--brand); }
.tag { border: 0; background: transparent; padding-left: 0; color: var(--faint); }
.article-overview { border-left: 4px solid var(--brand); border-radius: 0 7px 7px 0; background: var(--surface-soft); padding: 14px 16px; }
.article-overview strong { color: var(--brand); font-size: 13px; }
.article-overview p { margin: 5px 0 0; white-space: pre-line; }
.article-copy { white-space: pre-line; color: var(--text); font-size: 14px; }
.article-source-note { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 13px; color: var(--faint); font-size: 11px; }
.official-source { align-items: flex-end; margin-top: 28px; }
.official-source small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.topic-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-top: 22px; }
.topic-card { display: flex; align-items: flex-start; gap: 13px; min-height: 128px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); padding: 16px; color: var(--text); transition: transform .15s ease, border-color .15s ease; }
.topic-card:hover { border-color: var(--brand); text-decoration: none; transform: translateY(-2px); }
.topic-card-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); font-size: 22px; font-weight: 800; }
.topic-card-copy { min-width: 0; }
.topic-card-copy strong, .topic-card-copy small, .topic-card-copy em { display: block; }
.topic-card-copy strong { margin-bottom: 5px; font-size: 16px; }
.topic-card-copy small { color: var(--muted); font-size: 12px; line-height: 1.55; }
.topic-card-copy em { margin-top: 10px; color: var(--brand); font-size: 11px; font-style: normal; font-weight: 800; }
.topic-page-header { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 9px; background: linear-gradient(135deg, var(--surface), var(--surface-soft)); padding: 16px; }
.topic-page-header h2 { margin: 0; border: 0; padding: 0; font-size: 21px; }
.article-body .topic-page-header h2 { margin: 0; border: 0; padding: 0; }
.topic-page-header p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.topic-page-header .eyebrow { margin-bottom: 2px; }
.topic-overview-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.topic-backlink { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 17px; }
.topic-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0 30px; }
.topic-index a { display: block; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); padding: 11px 12px; color: var(--text); }
.topic-index a:hover { border-color: var(--brand); background: var(--surface-soft); text-decoration: none; }
.topic-index strong, .topic-index span { display: block; }
.topic-index strong { font-size: 13px; }
.topic-index span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.topic-group { scroll-margin-top: 100px; margin-top: 30px; }
.topic-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.topic-heading h2 { margin: 0; font-size: 21px; letter-spacing: -.04em; }
.topic-heading p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.topic-heading .eyebrow { margin-bottom: 3px; }
.suggestion-symbol { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-weight: 800; }

.editor-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; overflow-y: auto; background: rgba(28, 37, 47, .58); padding: 22px; }
.editor-modal { width: min(760px, 100%); max-height: calc(100vh - 44px); overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 22px 70px rgba(0, 0, 0, .25); padding: 22px; }
.editor-modal-header, .editor-modal-footer, .editor-list-heading, .editor-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.editor-modal-header { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 16px; }
.editor-modal-header h2 { margin: 2px 0 0; font-size: 22px; letter-spacing: -.05em; }
.modal-close { border: 0; background: transparent; color: var(--muted); font-size: 25px; }
.editor-modal form, .editor-section-list { display: grid; gap: 12px; }
.editor-modal label { display: grid; gap: 5px; color: var(--muted); font-size: 12px; font-weight: 700; }
.editor-modal input, .editor-modal select, .editor-modal textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 6px; outline: 0; background: var(--surface-soft); color: var(--text); padding: 9px 10px; font: inherit; font-size: 13px; font-weight: 400; resize: vertical; }
.editor-modal input:focus, .editor-modal select:focus, .editor-modal textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent); }
.editor-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.editor-section-list { margin-top: 5px; border-top: 1px solid var(--line); padding-top: 13px; }
.editor-section-heading { align-items: end; }
.editor-section-heading label { flex: 1; }
.editor-section { display: grid; gap: 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-soft); padding: 12px; }
.remove-section { border: 0; background: transparent; color: var(--accent); font-size: 11px; font-weight: 700; }
.editor-modal-footer { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 14px; color: var(--faint); font-size: 11px; }
.editor-modal-footer > div { display: flex; gap: 7px; }
.article-tabs { display: flex; align-items: center; gap: 14px; margin-top: 17px; color: var(--muted); font-size: 12px; }
.article-tabs a { border-bottom: 2px solid var(--accent); padding-bottom: 7px; color: var(--text); font-weight: 700; }
.article-body { padding-top: 24px; }
.article-body h2 { margin: 30px 0 10px; border-bottom: 1px solid var(--line); padding-bottom: 7px; font-size: 20px; letter-spacing: -.04em; }
.article-body h3 { margin: 20px 0 7px; font-size: 16px; }
.article-body p { margin: 8px 0; }
.lead { font-size: 15px; }
.muted { color: var(--muted); }
.callout { border-left: 4px solid var(--accent); border-radius: 0 7px 7px 0; background: var(--accent-soft); padding: 12px 15px; color: var(--text); font-size: 13px; }
.callout strong { color: var(--accent); }
.home-hero { display: grid; grid-template-columns: 1.4fr .85fr; gap: 22px; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, var(--surface), var(--surface-soft)); padding: 27px; }
.home-hero h1 { margin: 6px 0 10px; font-size: clamp(28px, 4vw, 43px); letter-spacing: -.07em; line-height: 1.2; }
.home-hero p { max-width: 560px; margin: 0; color: var(--muted); font-size: 14px; }
.hero-pokeballs { display: grid; place-items: center; min-height: 170px; position: relative; overflow: hidden; }
.hero-pokeballs::before, .hero-pokeballs::after { content: ""; position: absolute; border-radius: 50%; border: 17px solid rgba(212, 89, 78, .12); }
.hero-pokeballs::before { width: 160px; height: 160px; transform: rotate(27deg); right: 18px; top: 0; }
.hero-pokeballs::after { width: 72px; height: 72px; border-width: 9px; left: 15px; bottom: -5px; }
.hero-pokemon { position: relative; z-index: 1; width: 180px; height: 180px; object-fit: contain; filter: drop-shadow(0 12px 8px rgba(53, 67, 80, .18)); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin: 30px 0 13px; }
.section-heading h2 { margin: 0; border: 0; padding: 0; font-size: 20px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.quick-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quick-link { display: block; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 14px; color: var(--text); }
.quick-link:hover { border-color: var(--brand); text-decoration: none; transform: translateY(-1px); }
.quick-link strong, .quick-link span { display: block; }
.quick-link strong { margin-bottom: 4px; font-size: 14px; }
.quick-link span { color: var(--muted); font-size: 12px; }
.article-list { display: grid; gap: 8px; }
.article-list-item { display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); padding: 11px 3px; }
.article-list-item span { color: var(--muted); font-size: 12px; }

.info-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 16px; box-shadow: var(--shadow); }
.info-card + .info-card { margin-top: 14px; }
.card-heading { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; }
.card-heading h2 { margin: 0; font-size: 14px; letter-spacing: -.03em; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #e3a42a; box-shadow: 0 0 0 4px rgba(227, 164, 42, .12); }
.notice-icon, .book-icon { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 800; }
.book-icon { background: #eaf1f7; color: var(--brand); }
.mini-details { margin: 0 0 13px; }
.mini-details div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 7px 0; font-size: 12px; }
.mini-details div:last-child { border-bottom: 0; }
.mini-details dt { color: var(--muted); }
.mini-details dd { max-width: 140px; margin: 0; overflow: hidden; color: var(--text); font-weight: 700; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.info-card p { margin: 0 0 13px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.text-link { font-size: 12px; font-weight: 700; }
.site-footer { display: flex; justify-content: center; gap: 18px; border-top: 1px solid var(--line); color: var(--faint); padding: 20px 30px; font-size: 11px; }

.pokedex-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 21px 0 16px; }
.pokedex-toolbar input, .pokedex-toolbar select { height: 38px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--text); padding: 0 11px; outline: 0; }
.pokedex-toolbar input { flex: 1 1 220px; }
.pokedex-toolbar select { min-width: 138px; }
.result-count { width: 100%; color: var(--muted); font-size: 12px; }
.pokemon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.pokemon-card { display: block; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); padding: 14px; color: var(--text); transition: transform .15s ease, border-color .15s ease; }
.pokemon-card:hover { border-color: var(--brand); text-decoration: none; transform: translateY(-2px); }
.pokemon-card .dex-no { display: block; color: var(--faint); font-size: 11px; font-weight: 700; }
.pokemon-card img { display: block; width: 110px; height: 110px; margin: 4px auto 1px; object-fit: contain; }
.pokemon-card strong { display: block; font-size: 15px; }
.pokemon-card .english-name { display: block; color: var(--muted); font-size: 11px; }
.type-row { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.type-badge { display: inline-block; border-radius: 4px; padding: 1px 7px; color: #fff; font-size: 10px; font-weight: 800; text-shadow: 0 1px 1px rgba(0,0,0,.15); }
.type-노말 { background: #9da2a6; }.type-불꽃 { background: #ee8130; }.type-물 { background: #6390f0; }.type-전기 { background: #f7d02c; color: #604d00; }.type-풀 { background: #7ac74c; }.type-얼음 { background: #96d9d6; color: #245a5d; }.type-격투 { background: #c22e28; }.type-독 { background: #a33ea1; }.type-땅 { background: #e2bf65; color: #654d14; }.type-비행 { background: #a98ff3; }.type-에스퍼 { background: #f95587; }.type-벌레 { background: #a6b91a; }.type-바위 { background: #b6a136; }.type-고스트 { background: #735797; }.type-드래곤 { background: #6f35fc; }.type-악 { background: #705746; }.type-강철 { background: #b7b7ce; color: #404052; }.type-페어리 { background: #d685ad; }
.empty-state { border: 1px dashed var(--line-strong); border-radius: 8px; padding: 26px; color: var(--muted); text-align: center; }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 255px; gap: 24px; align-items: start; }
.infobox { overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); }
.infobox-title { margin: 0; background: var(--brand-dark); color: white; padding: 11px 13px; font-size: 17px; text-align: center; }
.infobox-art { display: grid; place-items: center; background: linear-gradient(180deg, var(--surface-soft), var(--surface)); padding: 12px; }
.infobox-art img { width: 180px; height: 180px; object-fit: contain; }
.infobox dl { margin: 0; }
.infobox dl div { display: grid; grid-template-columns: 92px 1fr; border-top: 1px solid var(--line); padding: 7px 10px; font-size: 12px; }
.infobox dt { color: var(--muted); font-weight: 700; }
.infobox dd { margin: 0; font-weight: 600; }
.stat-table, .data-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.data-table-scroll { overflow-x: auto; }
.data-table-scroll .data-table { min-width: 900px; }
.stat-table th, .stat-table td, .data-table th, .data-table td { border: 1px solid var(--line); padding: 7px 9px; text-align: left; }
.stat-table th, .data-table th { background: var(--surface-soft); color: var(--muted); font-weight: 700; }
.stat-bar { overflow: hidden; height: 7px; border-radius: 5px; background: var(--line); }
.stat-bar span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.stat-total th, .stat-total td { background: var(--accent-soft); color: var(--text); font-weight: 800; }
.spawn-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.spawn-table th, .spawn-table td { border: 1px solid var(--line); padding: 8px 9px; text-align: left; vertical-align: top; }
.spawn-table th { background: var(--surface-soft); color: var(--muted); font-weight: 800; }
.spawn-biomes-en { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.rarity { display: inline-block; border-radius: 4px; padding: 2px 6px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.rarity-common { background: #e8f5e8; color: #337444; }.rarity-uncommon { background: #eaf2fb; color: #356790; }.rarity-rare { background: #fff1d8; color: #96651c; }.rarity-ultra-rare { background: #fbe4e9; color: #a34256; }.rarity-서버-확인-필요 { background: var(--surface-soft); color: var(--muted); }
.spawn-note { margin-top: 8px; font-size: 11px; }
.spawn-topic { margin-top: 28px; }
.spawn-pokemon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.spawn-pokemon-card { display: flex; gap: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 11px; }
.spawn-pokemon-card > img { width: 72px; height: 72px; object-fit: contain; flex: 0 0 72px; }
.spawn-pokemon-copy { min-width: 0; flex: 1; }
.spawn-pokemon-title { display: flex; justify-content: space-between; gap: 8px; }
.spawn-pokemon-title strong, .spawn-pokemon-title small { display: block; }
.spawn-pokemon-title strong { font-size: 14px; }
.spawn-pokemon-title small { color: var(--muted); font-size: 10px; }
.spawn-pokemon-copy p { margin: 6px 0; color: var(--muted); font-size: 11px; }
.spawn-pokemon-meta { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 7px; }
.spawn-pokemon-meta span { border-radius: 4px; background: var(--surface-soft); color: var(--muted); padding: 2px 5px; font-size: 10px; }
.evolution-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.evolution-node { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-soft); padding: 5px 8px; color: var(--text); font-size: 12px; }
.evolution-node img { width: 34px; height: 34px; object-fit: contain; }
.evolution-arrow { color: var(--faint); }
.move-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; padding: 0; list-style: none; }
.move-list li { border: 1px solid var(--line); border-radius: 5px; background: var(--surface-soft); padding: 6px 8px; font-size: 12px; }
.move-list small { display: block; color: var(--muted); font-size: 10px; }
.toc { float: right; width: 190px; margin: 0 0 18px 22px; border: 1px solid var(--line); background: var(--surface-soft); padding: 12px 15px; font-size: 12px; }
.toc strong { display: block; margin-bottom: 5px; }
.toc a { display: block; padding: 2px 0; }
.clear { clear: both; }

@media (max-width: 1120px) { .site-grid { grid-template-columns: 190px minmax(0, 1fr); }.right-sidebar { display: none; } }
@media (max-width: 760px) { .global-header { height: 68px; gap: 12px; padding: 0 15px; }.brand { min-width: 0; }.brand small { display: none; }.brand strong { font-size: 15px; }.brand-mark { width: 36px; height: 36px; }.global-search { order: 3; flex-basis: 100%; max-width: none; }.global-header { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; }.header-actions { margin-left: auto; }.menu-button { display: block; }.site-grid { display: block; padding: 17px 15px 45px; }.left-sidebar { display: none; }.left-sidebar.open { display: block; margin-bottom: 20px; }.sidebar-card, .sidebar-footer { display: none; }.main-content { width: 100%; }.home-hero { grid-template-columns: 1fr; padding: 20px; }.hero-pokeballs { min-height: 120px; }.hero-pokemon { width: 140px; height: 140px; }.quick-links, .article-card-grid, .article-card-grid-wide, .topic-index, .topic-card-grid, .topic-overview-list, .spawn-pokemon-grid { grid-template-columns: 1fr; }.topic-page-header { align-items: flex-start; }.article-title-row { align-items: flex-start; flex-direction: column; gap: 10px; }.detail-layout { grid-template-columns: 1fr; }.detail-layout .infobox { order: -1; }.move-list { grid-template-columns: 1fr; }.toc { float: none; width: auto; margin: 0 0 18px; }.spawn-table { display: block; overflow-x: auto; white-space: nowrap; }.editor-backdrop { padding: 10px; }.editor-modal { max-height: calc(100vh - 20px); padding: 16px; }.editor-two-col { grid-template-columns: 1fr; }.editor-modal-footer { align-items: flex-start; flex-direction: column; }.site-footer { flex-wrap: wrap; gap: 8px 15px; } }
