/* 우주 아지트 게시판 (site.css 색·간격 그대로 씀) — 10/29 밝은 하늘 테마 */
.azit { max-width: 980px; }
.azit [hidden] { display: none !important; }
.az-loading { color: var(--outline); padding: 40px 0; text-align: center; }
.az-crumb { font-size: 13px; color: var(--outline); margin-bottom: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.az-crumb a:hover { color: var(--text); }
.az-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px;
  padding: 8px 16px; border-radius: 10px; border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600;
  background: var(--surface); color: var(--btn2-ink); box-shadow: inset 0 0 0 1.5px var(--btn); text-decoration: none; white-space: nowrap;
}
.az-btn:hover { background: var(--btn2-hover); }
.az-btn.primary { background: var(--btn); color: var(--on-btn); box-shadow: none; }   /* 주요 버튼: 진한 파랑 (10/29) */
.az-btn.primary:hover { background: var(--btn-hover); }
.az-btn.soft { background: var(--surface); color: var(--btn2-ink); }
.az-btn.danger { background: #c2413b; color: #fff; box-shadow: none; }
.az-btn.small { min-height: 32px; padding: 4px 10px; font-size: 13px; }
.az-btn:disabled { background: var(--btn-off); color: var(--on-btn-off); box-shadow: none; cursor: not-allowed; }
.az-notice { margin: 0 0 14px; padding: 12px 14px; border-radius: var(--radius); background: #fdf3dc; color: var(--tertiary); font-size: 14px; }
.az-rules { margin: 0 0 16px; padding: 10px 14px; border-radius: var(--radius); background: rgba(63, 111, 196, 0.08); color: var(--primary); font-size: 13px; }
.az-err { color: #c2413b; font-size: 13px; margin: 6px 0 0; }
.az-ok { color: #1f8a4c; font-size: 13px; margin: 6px 0 0; }

/* 아지트 머리 (아지트 그림) */
.az-hero { position: relative; border-radius: 20px; overflow: hidden; min-height: 220px; display: flex; align-items: flex-end; margin-bottom: 16px; background: #0a0b20; }
.az-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.az-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,18,29,.95), rgba(18,18,29,.45) 60%, transparent); }
.az-hero div { position: relative; z-index: 1; padding: 22px; max-width: 520px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.7); }   /* 그림 위 글씨라 흰색 유지 */
.az-hero .eyebrow { color: #a9d4ff; }
.az-hero h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(26px, 5vw, 38px); margin: 4px 0 6px; }
.az-hero p { margin: 0; color: rgba(255,255,255,.88); }

/* 오늘의 우주 사진 띠 */
.az-apod { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; padding: 12px; margin-bottom: 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.az-apod .ph { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: radial-gradient(ellipse at 30% 30%, #f5f9ff 0%, #dcebff 60%, #bfd8ff 100%); display: grid; place-items: center; font-size: 30px; }
.az-apod .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.az-apod small { display: block; color: var(--secondary); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.az-apod b { display: block; margin: 2px 0; }
.az-apod p { margin: 0; font-size: 12px; color: var(--outline); }
.az-apod a.go { color: var(--secondary); font-size: 13px; font-weight: 600; }
.az-apod.big { grid-template-columns: 1fr; }
.az-apod.big .ph { aspect-ratio: 16 / 9; font-size: 44px; }
@media (min-width: 720px) { .az-apod.big { grid-template-columns: 1.3fr 1fr; } .az-apod.big .ph { aspect-ratio: 4 / 3; } }

/* 아이콘 카드 격자 (인벤 'HOT 게임 커뮤니티' 방식) */
.azb-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) { .azb-grid { grid-template-columns: 1fr 1fr; } }
.azb { padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.azb-top { display: flex; align-items: center; gap: 12px; }
.azb-iconwrap { flex-shrink: 0; }
.azb-icon { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; display: grid; place-items: center; background: var(--surface-high); box-shadow: 0 0 18px rgba(110,158,235,.25); }
.azb-emoji { font-size: 28px; }
img.azb-icon { background: none; border-radius: 22%; box-shadow: 0 4px 14px rgba(40,80,140,.16); }   /* 게시판 아이콘 그림 (assets/boards/*.svg, 밝은 타일 포함) */
.azb.is-soon .azb-icon { opacity: .5; filter: grayscale(1); }
.azb-headtext { min-width: 0; }
.azb-tags { display: flex; gap: 8px; font-size: 12px; letter-spacing: .04em; }
.azb-tag0 { color: var(--secondary); } .azb-tag1 { color: var(--tertiary); } .azb-tag2 { color: #c2416b; }
.azb-name { margin: 0; font-size: 18px; }
.azb-name a:hover { color: var(--primary); }
.azb.is-soon .azb-name { color: var(--text-muted); }
.azb-posts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.azb-posts li { display: flex; align-items: center; gap: 4px; min-width: 0; color: var(--text-muted); }
.azb-posts li::before { content: '·'; color: var(--outline); margin-right: 2px; flex-shrink: 0; }
.azb-posts a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.azb-posts a:hover { color: var(--text); text-decoration: underline; }
.azb-cat, .az-cat { color: var(--outline); }
.azb-cc { color: #c2413b; font-size: 12px; flex-shrink: 0; }
.azb-new { width: 6px; height: 6px; border-radius: 50%; background: #e5534b; flex-shrink: 0; display: inline-block; }
.azb-empty { color: var(--outline) !important; }
.azb-empty::before { content: '' !important; }
.azb-soon { margin: 0; font-size: 13px; color: var(--outline); }

/* 게시판 머리 */
.az-bhead { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.az-bhead .azb-icon { width: 64px; height: 64px; }
.az-bhead h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(24px, 4.5vw, 34px); margin: 0; line-height: 1.2; }
.az-bhead p { margin: 2px 0 0; color: var(--text-muted); font-size: 14px; }
.az-bhead .grow { flex: 1; min-width: 200px; }
.az-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin: 0 0 10px; }
.az-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.az-chip { padding: 5px 12px; border-radius: 999px; font-size: 13px; color: var(--text-muted); background: var(--surface); border: 1px solid var(--outline-variant); cursor: pointer; font-family: inherit; }
.az-chip[aria-pressed="true"], .az-chip[aria-current="page"] { background: var(--btn); color: var(--on-btn); border-color: var(--btn); }

/* 목록 */
.az-list { list-style: none; margin: 0; padding: 0; border-radius: 16px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.az-list:empty { display: none; }
.az-item { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.az-item:last-child { border-bottom: 0; }
.az-main { min-width: 0; flex: 1; }
.az-title { font-weight: 600; word-break: keep-all; overflow-wrap: anywhere; }
.az-title:hover { color: var(--primary); }
.az-sum { margin: 4px 0 0; font-size: 13px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.az-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 6px; font-size: 12px; color: var(--outline); }
.az-thumb { position: relative; width: 96px; height: 72px; flex-shrink: 0; border-radius: 10px; overflow: hidden; background: var(--surface-high); display: grid; place-items: center; font-size: 30px; }
.az-thumb img { width: 100%; height: 100%; object-fit: cover; }
.az-thumb em { position: absolute; right: 4px; bottom: 4px; font-style: normal; font-size: 10px; padding: 1px 6px; border-radius: 999px; background: rgba(0,0,0,.65); color: #fff; }
.az-flag { margin-left: 6px; font-size: 11px; padding: 1px 6px; border-radius: 6px; background: #fdf3dc; color: var(--tertiary); }
.az-pin { margin-right: 4px; }
.az-author { display: inline-flex; align-items: center; gap: 4px; color: var(--text-muted); }
.az-author b { font-weight: 600; }
.az-animal { width: 24px; height: 24px; object-fit: contain; }
.az-tag { font-size: 11px; padding: 0 6px; border-radius: 6px; background: var(--surface-highest); color: var(--secondary); }
.az-tag-new { color: #1f8a4c; } .az-tag-admin { color: var(--tertiary); }
.az-state { font-size: 11px; padding: 1px 7px; border-radius: 6px; margin-right: 6px; background: var(--surface-highest); color: var(--text-muted); }
.az-state-candidate { color: var(--secondary); } .az-state-picked, .az-state-making { color: var(--tertiary); } .az-state-done { color: #1f8a4c; } .az-state-declined { color: var(--outline); }
.az-heart { color: #c2416b; }
.az-pager { display: flex; gap: 6px; justify-content: center; margin: 16px 0 0; flex-wrap: wrap; }
.az-pager a, .az-pager span { min-width: 36px; padding: 6px 10px; border-radius: 8px; text-align: center; background: var(--surface-high); font-size: 13px; }
.az-pager span { background: var(--primary-container); color: var(--on-primary-container); }
.az-more { display: flex; justify-content: center; margin-top: 14px; }
.az-week { margin: 0 0 14px; padding: 14px 16px; border-radius: 16px; background: rgba(110,158,235,.12); }
.az-week h2 { margin: 0 0 8px; font-size: 15px; }
.az-week ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; }
.az-week small { color: var(--outline); }

/* 글 */
.az-post { padding: 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.az-post-head h1 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: clamp(22px, 4.5vw, 30px); line-height: 1.3; margin: 4px 0 6px; word-break: keep-all; overflow-wrap: anywhere; }
.az-body, .az-summary, .az-note { font-size: 15.5px; line-height: 1.75; word-break: keep-all; overflow-wrap: anywhere; }
.az-body p, .az-summary p, .az-note p { margin: 0 0 12px; }
.az-figure { margin: 16px 0; }
.az-figure img { width: 100%; border-radius: 12px; }
.az-figure figcaption { font-size: 12px; color: var(--outline); margin-top: 6px; }
.az-summary, .az-note { margin: 16px 0; padding: 14px 16px; border-radius: 12px; background: rgba(63,111,196,.06); }
.az-summary h2, .az-note h2 { margin: 0 0 8px; font-size: 14px; color: var(--secondary); }
.az-note { background: rgba(150,130,230,.12); }   /* 연한 라벤더 */
.az-source-btn { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(42,127,184,.08); color: var(--secondary); font-weight: 600; }
.az-source-btn span { color: var(--text-muted); font-weight: 400; font-size: 13px; }
.az-srcline { font-size: 12px; color: var(--outline); margin: 16px 0 4px; }
.az-srcline a { text-decoration: underline; }
.az-fine { font-size: 11px; color: var(--outline); margin: 0; }
.az-order { margin: 14px 0; display: grid; gap: 10px; }
.az-orow dt { font-size: 13px; color: var(--secondary); font-weight: 600; }
.az-orow dd { margin: 2px 0 0; }
.az-orow p { margin: 0; }
.az-orow ol { margin: 0; padding-left: 20px; }
.az-olinks { display: flex; gap: 8px; flex-wrap: wrap; }
.az-olink { padding: 6px 12px; border-radius: 8px; background: #e3f6ea; color: #1f8a4c; font-size: 13px; }

/* 카드뉴스 (옆으로 넘기기) */
.az-cards { margin: 16px auto; max-width: 520px; }   /* 카드뉴스는 인스타그램 카드 크기쯤 */
.az-cards-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; scrollbar-width: none; border-radius: 14px; }
.az-cards-track::-webkit-scrollbar { display: none; }
.az-card { flex: 0 0 100%; scroll-snap-align: start; margin: 0; position: relative; aspect-ratio: 4 / 5; max-height: 640px; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, #dcebff, #f5f9ff); }
.az-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.az-card figcaption { position: absolute; inset: auto 0 0 0; padding: 18px; color: #fff; background: linear-gradient(transparent, rgba(5,6,15,.92) 35%); }   /* 사진 위라 어두운 띠 + 흰 글씨 유지 */
.az-card.no-img figcaption { inset: 0; display: flex; flex-direction: column; justify-content: center; background: none; color: var(--text); }
.az-card b { display: block; font-size: 20px; margin-bottom: 6px; line-height: 1.35; }
.az-card p { margin: 0 0 6px; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.92); }
.az-card.no-img p { color: var(--text); }
.az-card small { font-size: 11px; color: rgba(255,255,255,.7); }
.az-card.no-img small { color: var(--outline); }
.az-card-no { position: absolute; top: -28px; right: 14px; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: rgba(0,0,0,.55); }
.az-card.no-img .az-card-no { top: 14px; background: var(--surface-highest); color: var(--on-primary-container); }
.az-cards-nav { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 8px; }
.az-cards-nav button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surface-high); color: var(--text); font-size: 20px; cursor: pointer; }
.az-cards-pos { font-size: 13px; color: var(--outline); }

/* 반응 · 메뉴 */
.az-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 18px 0 0; }
.az-react { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
.az-react[aria-pressed="true"] { background: rgba(194,65,107,.08); border-color: rgba(194,65,107,.4); }
.az-react:disabled { opacity: .5; cursor: not-allowed; }
.az-menu { position: relative; margin-left: auto; }
.az-menu > button { border: 0; background: transparent; color: var(--outline); font-size: 20px; cursor: pointer; padding: 4px 8px; }
.az-menu ul { position: absolute; right: 0; top: 100%; z-index: 20; list-style: none; margin: 4px 0 0; padding: 6px; min-width: 150px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(40,80,140,.16); }
.az-menu li button { width: 100%; text-align: left; border: 0; background: transparent; color: var(--text); padding: 8px 10px; border-radius: 8px; font: inherit; font-size: 14px; cursor: pointer; }
.az-menu li button:hover { background: var(--surface-high); }
.az-reported { font-size: 12px; color: var(--outline); }
.az-bridge { display: block; margin-top: 14px; text-align: center; padding: 12px; border-radius: 12px; background: #fdf3dc; color: var(--tertiary); font-weight: 600; }
.az-postnav { display: grid; gap: 6px; margin-top: 14px; font-size: 14px; }
.az-postnav a { padding: 10px 14px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.az-postnav small { color: var(--outline); margin-right: 8px; }

/* 댓글 */
.az-comments { margin-top: 18px; padding: 16px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.az-comments h2 { margin: 0 0 10px; font-size: 15px; }
.az-clist { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 2px; }
.az-c { padding: 10px 0; border-bottom: 1px solid var(--line); }
.az-c.reply { margin-left: 22px; padding-left: 12px; border-left: 2px solid var(--outline-variant); }
.az-c-head { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--outline); }
.az-c-body { font-size: 14.5px; margin: 4px 0 0; word-break: keep-all; overflow-wrap: anywhere; }
.az-c-body p { margin: 0 0 6px; }
.az-c-muted { color: var(--outline); font-size: 13px; font-style: italic; }
.az-c-tools { display: flex; gap: 10px; margin-top: 4px; }
.az-c-tools button { border: 0; background: none; color: var(--outline); font: inherit; font-size: 12px; cursor: pointer; padding: 0; }
.az-c-tools button:hover { color: var(--text); }
.az-cform { display: grid; gap: 8px; }
.az-cform .row { display: flex; gap: 8px; }
.az-cform textarea { flex: 1; }

/* 글쓰기 · 관리 폼 */
.az-form { display: grid; gap: 14px; padding: 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.az-form label, .az-label { font-size: 13px; font-weight: 600; color: var(--text); display: block; margin-bottom: 4px; }
.az-form .hint, .az-hint { font-size: 12px; color: var(--outline); margin: 4px 0 0; }
.azit input[type=text], .azit input[type=url], .azit input[type=date], .azit select, .azit textarea {
  width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--outline-variant);
  background: var(--surface-high); color: var(--text); font: inherit; font-size: 15px;
}
.azit textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.azit select { appearance: auto; color-scheme: light; }
.azit select option { background: #ffffff; color: #1f2d4a; }   /* 펼친 목록이 회색 바탕에 흐린 글씨로 안 보이던 문제 (윈도우 크롬) */
.az-count { float: right; font-weight: 400; color: var(--outline); }
.az-check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--text-muted); font-weight: 400 !important; }
.az-check input { margin-top: 4px; }
.az-grid2 { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .az-grid2 { grid-template-columns: 1fr 1fr; } }
.az-grid-cat { display: grid; gap: 12px; grid-template-columns: 1fr; }   /* 글쓰기 말머리 1/4 · 제목 3/4 */
@media (min-width: 640px) { .az-grid-cat { grid-template-columns: 1fr 3fr; } }
.az-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.az-nudge { padding: 10px 12px; border-radius: 10px; background: #fdf3dc; color: var(--tertiary); font-size: 13px; }
.az-panel { padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); margin-bottom: 14px; }
.az-panel h2 { margin: 0 0 10px; font-size: 15px; }
.az-cands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; max-height: 360px; overflow-y: auto; }
.az-cands li { min-width: 0; display: flex; gap: 8px; align-items: center; font-size: 13px; padding: 6px 8px; border-radius: 8px; background: rgba(63,111,196,.06); }
.az-cands li > span { flex: 0 0 auto; }
.az-cands li > span.t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.az-cands .src { flex: 0 0 auto; font-size: 11px; color: var(--outline); }
.az-ph { font-size: 11px; padding: 0 6px; border-radius: 6px; flex-shrink: 0; }
.az-ph.ok { background: #e3f6ea; color: #1f8a4c; } .az-ph.check { background: #fdf3dc; color: var(--tertiary); } .az-ph.no { background: #fde8e7; color: #c2413b; }
.az-slide-ed { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: rgba(63,111,196,.06); }
.az-slide-ed header { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; }
.az-preview { margin-top: 10px; }

/* 관리 화면 */
.az-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.az-q { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.az-q > li { padding: 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 8px; }
.az-q .urgent { box-shadow: inset 4px 0 0 #e5534b; }
.az-q .cmp { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .az-q .cmp { grid-template-columns: 1fr 1fr; } }
.az-q .cmp div { padding: 10px; border-radius: 10px; background: var(--surface-high); font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.az-q .cmp small { display: block; color: var(--outline); margin-bottom: 4px; }
.az-badges { display: flex; gap: 6px; flex-wrap: wrap; font-size: 12px; }
.az-badges span { padding: 1px 8px; border-radius: 6px; background: var(--surface-highest); }
.az-adminbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; padding: 12px; border-radius: 12px; background: #fdf3dc; font-size: 13px; }
.az-todo { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: #fde8e7; color: #c2413b; font-size: 12px; font-weight: 600; }
.az-banner { display: block; margin-bottom: 14px; padding: 12px 14px; border-radius: 12px; background: #e3f6ea; color: #1f8a4c; font-size: 14px; }
.az-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 14px; box-shadow: 0 8px 24px rgba(40,80,140,.18); max-width: calc(100% - 32px); }
.az-demo { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; padding: 8px 12px; margin: -20px 0 16px; border-radius: 0 0 12px 12px; background: #fdf3dc; color: var(--tertiary); font-size: 12px; }
@media (max-width: 600px) {
  .az-post, .az-form { padding: 16px; }
  .az-thumb { width: 76px; height: 60px; }
  .az-apod { grid-template-columns: 96px 1fr; }
}

/* ── 서식 있는 글 (회원 게시판 · 글쓰기 편집기, 10/29) ─────────────── */
.az-rich { white-space: pre-wrap; }
.az-rich ul, .az-rich ol { margin: 6px 0; padding-left: 1.4em; }
.az-rich blockquote { margin: 8px 0; padding: 8px 14px; border-left: 4px solid #a9c9ff; border-radius: 0; background: rgba(63,111,196,.06); color: var(--text-muted); }
.az-rich hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
.az-rich .az-al-c { text-align: center; }
.az-rich .az-al-r { text-align: right; }
.az-big { font-size: 1.3em; }
.az-small { font-size: .85em; }
.az-c-red { color: #c2413b; } .az-c-orange { color: #c2620c; } .az-c-green { color: #1f8a4c; }
.az-c-blue { color: #3f6fc4; } .az-c-purple { color: #6a4fc4; } .az-c-gray { color: #6b7c9c; }
.az-bg-yellow { background: #fff1a8; } .az-bg-green { background: #d6f5df; } .az-bg-blue { background: #dcebff; } .az-bg-pink { background: #ffe0ea; }
.az-st { display: inline-block; width: 96px; height: 96px; object-fit: contain; vertical-align: bottom; }
.az-form > *, .az-form > div > * { min-width: 0; }   /* 도구 줄이 길어도 글쓰기 칸이 화면 밖으로 밀리지 않게 */
.az-ed { min-width: 0; max-width: 100%; border: 1px solid var(--outline-variant); border-radius: 12px; background: var(--surface); position: relative; }
.az-ed-bar { display: flex; align-items: center; gap: 2px; padding: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: thin; }
.az-ed-btn { flex: 0 0 auto; min-width: 34px; height: 34px; padding: 0 6px; border: 0; border-radius: 8px; background: transparent; color: var(--text); font: inherit; font-size: 15px; cursor: pointer; }
.az-ed-btn:hover, .az-ed-btn:focus-visible { background: var(--surface-high); }
.az-ed-size { flex: 0 0 auto; width: auto !important; padding: 4px 6px !important; font-size: 13px !important; border-radius: 8px !important; }
.az-ed-sep { flex: 0 0 1px; height: 20px; margin: 0 4px; background: var(--line); }
.az-ed-a { color: #c2413b; text-decoration: underline 3px; }
.az-ed-hl { background: #fff1a8; padding: 0 2px; }
.az-ed-pop { position: absolute; z-index: 5; top: 48px; left: 6px; right: 6px; display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.az-ed-pop[hidden] { display: none; }
.az-ed-sw { min-width: 44px; height: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font: inherit; font-weight: 700; cursor: pointer; }
.az-ed-stickers { max-height: 260px; overflow-y: auto; }
.az-ed-stickers button { width: 64px; height: 64px; padding: 4px; border: 1px solid transparent; border-radius: 10px; background: transparent; cursor: pointer; }
.az-ed-stickers button:hover { border-color: var(--line); background: var(--surface-high); }
.az-ed-area { min-height: 260px; max-height: 70vh; overflow-y: auto; padding: 12px 14px; font-size: 15.5px; line-height: 1.75; outline: none; word-break: keep-all; overflow-wrap: anywhere; }
.az-ed-area.is-empty::before { content: attr(data-ph); color: var(--outline); pointer-events: none; position: absolute; }
.az-ed-area .az-st { width: 80px; height: 80px; }
.az-ed-msg { margin: 0; padding: 0 12px 8px; font-size: 13px; color: #c2413b; min-height: 0; }
.az-ed-msg:empty { display: none; }
.az-drafts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 8px; }
.az-drafts .az-hint { margin: 0 auto 0 0; }
.az-drafts select { width: auto !important; padding: 4px 8px !important; font-size: 13px !important; }
.az-count.over { color: #c2413b; font-weight: 700; }
@media (max-width: 640px) { .az-st { width: 80px; height: 80px; } .az-ed-area { min-height: 220px; } }

/* 관리 화면 숫자 (10/29) */
.az-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 0 0 14px; }
.az-stat { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.az-stat b { font-size: 24px; line-height: 1.2; color: var(--primary); }
.az-stat span { font-size: 13px; font-weight: 600; color: var(--text); }
.az-stat small { font-size: 12px; color: var(--text-muted); }

/* 게시판 이용 안내 (10/29) */
.az-guide { margin: 0 0 16px; padding: 10px 14px; border-radius: var(--radius); background: #fdf3dc; border: 1px solid #f2dca8; color: #5b4208; font-size: 13px; line-height: 1.6; }
.az-guide summary { cursor: pointer; font-weight: 700; color: #7a5208; }
.az-guide p { margin: 8px 0 4px; }
.az-guide ul { margin: 4px 0; padding-left: 1.2em; }
.az-guide li { margin: 2px 0; }
.az-guide-rules { list-style: none; padding-left: 0 !important; }
.az-guide-rules li::before { content: '· '; }
.az-guide a { color: var(--primary); text-decoration: underline; }
.az-guide-links { font-size: 12px; }
.az-guide-short { margin: 0; padding: 8px 12px; border-radius: 10px; background: #fdf3dc; color: #5b4208; font-size: 12.5px; line-height: 1.55; }
.az-guide-short a { color: var(--primary); text-decoration: underline; }
.az-cform .az-guide-short { margin-top: 6px; background: none; padding: 0; color: var(--text-muted); }

/* 응원 1위 글 (10/29) */
.azb-best { display: flex; align-items: center; gap: 6px; min-width: 0; margin: 0 0 2px; padding: 5px 8px; border-radius: 8px; background: #fdf3dc; }
.azb-best a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--text); }
.azb-best-tag { margin-right: 6px; font-size: 11px; font-weight: 700; color: #7a5208; }
.azb-best-n { flex-shrink: 0; font-size: 12px; color: #c2416b; }
.az-best { margin: 0 0 14px; }
.az-best h2 { margin: 0 0 8px; font-size: 15px; color: #7a5208; }
.az-best h2 small { font-size: 12px; font-weight: 400; color: var(--text-muted); }
.az-best .az-list { border-color: #f2dca8; background: #fffaf0; }
