/* OHAYO! — 화이트 카드뉴스 테마 */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --panel: #f7f7f9;
  --text: #191922;
  --text-soft: #70707e;
  --line: #ebebf0;
  --accent: #ff5c8a;
  --accent-deep: #e63e70;
  --accent-soft: #fff0f5;
  --star: #f5a623;
  --sun1: #ff9e64;
  --sun2: #ff5c8a;
  --sun3: #6c5ce7;
  --sunrise: linear-gradient(120deg, var(--sun1), var(--sun2) 45%, var(--sun3));
  --radius: 14px;
  --shadow: 0 1px 4px rgba(25, 25, 40, 0.05);
  --shadow-hover: 0 10px 28px rgba(25, 25, 40, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* 풀블리드 히어로(100vw)의 스크롤바 폭 보정 */
  word-break: keep-all; /* 한국어 어절 단위 줄바꿈 — 고아 글자 방지 */
  /* 짧은 페이지에서도 푸터를 바닥에 고정 */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main.wrap { flex: 1 0 auto; width: 100%; }

a { color: var(--accent-deep); text-decoration: none; }
img { max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* 헤더 */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand-logo { height: 30px; width: auto; display: block; }
.site-nav { display: flex; gap: 2px; flex-wrap: wrap; align-items: center; margin-left: auto; }
.site-nav a {
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.site-nav a:hover { color: var(--text); background: var(--panel); }

/* 장르별 드롭다운 */
.nav-drop { position: relative; }
.nav-drop-btn {
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-soft);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px 11px;
  border-radius: 8px;
}
.nav-drop:hover .nav-drop-btn, .nav-drop:focus-within .nav-drop-btn { color: var(--text); background: var(--panel); }
.nav-drop-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 160px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s, transform 0.15s;
  z-index: 30;
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}
.nav-drop-menu a { padding: 8px 12px; border-radius: 8px; white-space: nowrap; font-size: 0.9rem; }

/* 풀블리드 와이드 히어로 — 이미지 비율 고정(img 요소 기반) */
.hero-wide {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-bottom: 1px solid var(--line);
}
.hero-img { display: block; width: 100%; height: auto; }
.hero-wide-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
}
.hero-wide .hero-logo {
  width: min(360px, 66%);
  height: auto;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9))
          drop-shadow(0 0 22px rgba(255, 255, 255, 0.65))
          drop-shadow(0 8px 24px rgba(150, 100, 160, 0.2));
}
.hero-wide .hero-copy {
  margin: 0;
  font-weight: 800;
  font-size: 1.02rem;
  color: #4a3a55;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.85), 0 0 24px rgba(255, 255, 255, 0.6);
}
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; font-size: 0.83rem; font-weight: 700; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.95);
  color: #5a4868;
  backdrop-filter: blur(4px);
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sun2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* 서브 페이지 히어로 */
.hero-small { text-align: center; padding: 44px 0 10px; }
.hero-small h1 { font-size: 1.7rem; margin: 0 0 8px; letter-spacing: -0.02em; }
.hero-small p { color: var(--text-soft); margin: 0; }

/* 오늘의 리뷰 — 넷플릭스형 와이드 카드 */
.spotlight-tv {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 350px;
  margin: 28px 0 8px;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center 24%;
  color: #fff;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}
.spotlight-tv:hover { box-shadow: var(--shadow-hover); }
.spotlight-tv::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(78deg, rgba(8, 8, 14, 0.86) 0%, rgba(8, 8, 14, 0.52) 46%, rgba(8, 8, 14, 0.12) 78%, rgba(8, 8, 14, 0) 100%),
    linear-gradient(0deg, rgba(8, 8, 14, 0.7), rgba(8, 8, 14, 0) 48%);
}
.tv-body {
  position: relative;
  padding: 32px 36px;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.tv-label { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.18em; color: #ffb37a; text-shadow: 0 1px 6px rgba(8, 8, 14, 0.75); }
.tv-title { margin: 0; font-size: 2rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1.25; color: #fff; }
.tv-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 0.85rem; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.tv-score { color: #ffb26b; font-weight: 800; }
.tv-desc { margin: 0; font-size: 0.93rem; line-height: 1.65; color: rgba(255, 255, 255, 0.92); max-width: 56ch; }
.tv-cast { margin: 0; font-size: 0.8rem; color: rgba(255, 255, 255, 0.78); text-shadow: 0 1px 6px rgba(8, 8, 14, 0.85); }
.tv-title, .tv-meta, .tv-desc { text-shadow: 0 1px 8px rgba(8, 8, 14, 0.45); }
.tv-cta {
  margin-top: 8px;
  width: fit-content;
  background: #fff;
  color: #14141e;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 9px 20px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.spotlight-tv:hover .tv-cta { background: var(--accent); color: #fff; }
.grad-text {
  display: inline-block;
  background: var(--sunrise);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 카테고리 칩 */
.category-chips { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 20px 0 8px; }
.chip {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 999px;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.chip:hover { border-color: var(--accent); color: var(--accent-deep); background: var(--accent-soft); }

/* 카드뉴스 그리드 */
.section-title { font-size: 1.25rem; margin: 26px 0 16px; letter-spacing: -0.01em; }
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 22px 18px;
  padding-bottom: 56px;
}
.card {
  display: flex;
  flex-direction: column;
  color: var(--text);
  border-radius: 12px;
}
.card-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover .card-poster { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.poster-fb {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: #fff;
}
.poster-fb .fb-title { font-weight: 800; font-size: 1.02rem; line-height: 1.35; text-shadow: 0 1px 6px rgba(0,0,0,0.25); }
.poster-fb.badge-movie,      .spotlight-tv.badge-movie,      .critic-card.badge-movie      { background: linear-gradient(160deg, #ff9e64, #e8590c); }
.poster-fb.badge-action,      .spotlight-tv.badge-action,      .critic-card.badge-action      { background: linear-gradient(160deg, #6c8ef5, #3b4fd8); }
.poster-fb.badge-romance,     .spotlight-tv.badge-romance,     .critic-card.badge-romance     { background: linear-gradient(160deg, #ff8fab, #d6336c); }
.poster-fb.badge-healing,     .spotlight-tv.badge-healing,     .critic-card.badge-healing     { background: linear-gradient(160deg, #69d08c, #2b8a3e); }
.poster-fb.badge-mystery,     .spotlight-tv.badge-mystery,     .critic-card.badge-mystery     { background: linear-gradient(160deg, #7d8ca3, #34495e); }
.card-score {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  background: rgba(20, 20, 30, 0.72);
  padding: 3px 9px;
  border-radius: 8px;
  backdrop-filter: blur(3px);
}
.card-body { padding: 10px 2px 0; display: flex; flex-direction: column; gap: 3px; }
.card-cat { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.04em; }
.card-cat.cat-movie      { color: #e8590c; }
.card-cat.cat-action      { color: #3b4fd8; }
.card-cat.cat-romance     { color: #d6336c; }
.card-cat.cat-healing     { color: #2b8a3e; }
.card-cat.cat-mystery     { color: #46586e; }
.card-title {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}
.card:hover .card-title { color: var(--accent-deep); }
.card-meta { font-size: 0.78rem; color: var(--text-soft); }

/* 배지 (포스트 헤더) */
.badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-soft);
  background: var(--panel);
}
.rating { color: var(--star); font-weight: 700; }

/* ===== 포스트 (정보 모음집 템플릿) ===== */
.post { max-width: 760px; margin: 0 auto; padding: 44px 0 64px; }
.post-header { margin-bottom: 22px; }
.post-title { font-size: 1.85rem; line-height: 1.35; margin: 10px 0 10px; letter-spacing: -0.02em; }
.post-meta { display: flex; gap: 14px; color: var(--text-soft); font-size: 0.88rem; }

/* 작품 정보 박스 */
.anime-info {
  display: flex;
  gap: 22px;
  padding: 22px;
  margin: 8px 0 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.anime-info .info-poster {
  flex: 0 0 168px;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.anime-info .info-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.info-table { flex: 1; align-self: center; }
.info-table table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.info-table th {
  text-align: left;
  color: var(--text-soft);
  font-weight: 600;
  padding: 6px 14px 6px 0;
  white-space: nowrap;
  vertical-align: top;
  width: 74px;
}
.info-table td { padding: 6px 0; }
.info-table tr + tr th, .info-table tr + tr td { border-top: 1px solid var(--line); }
.img-credit { margin: 6px 0 0; font-size: 0.74rem; color: var(--text-soft); }

/* 평점 총정리 */
.ratings {
  padding: 20px 22px;
  margin: 0 0 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.ratings-title { margin: 0 0 12px; font-size: 1.02rem; font-weight: 800; }
.rating-row { display: grid; grid-template-columns: 110px 1fr 76px; align-items: center; gap: 12px; padding: 5px 0; }
.rating-site { font-size: 0.88rem; font-weight: 600; color: var(--text-soft); }
.rating-bar { height: 8px; border-radius: 999px; background: var(--panel); overflow: hidden; }
.rating-fill { height: 100%; border-radius: 999px; background: var(--sunrise); }
.rating-val { font-size: 0.9rem; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.rating-val .max { color: var(--text-soft); font-weight: 500; font-size: 0.78rem; }
.rating-row.ours .rating-site { color: var(--accent-deep); font-weight: 800; }
.rating-row.combined .rating-site { color: var(--accent-deep); font-weight: 800; }
.rating-row.combined .rating-fill { background: var(--accent-deep); }
.rating-row.combined .rating-val { color: var(--accent-deep); }
.ratings-note { margin: 10px 0 0; font-size: 0.76rem; color: var(--text-soft); }

/* 등장인물 */
.characters { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin: 16px 0 8px; }
.char-card {
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.char-face {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  background: var(--sunrise);
}
.char-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.char-name { font-weight: 800; font-size: 0.94rem; }
.char-va { font-size: 0.78rem; color: var(--text-soft); margin-bottom: 3px; }
.char-desc { font-size: 0.84rem; color: var(--text-soft); line-height: 1.55; }

/* 본문 */
.post-content { font-size: 1rem; }
.post-content h2 {
  font-size: 1.28rem;
  margin: 42px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
  letter-spacing: -0.01em;
}
.post-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 44px;
  height: 2px;
  background: var(--sunrise);
}
.post-content h3 { font-size: 1.06rem; margin: 26px 0 8px; }
.post-content blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  background: var(--panel);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  color: var(--text);
}
.post-content blockquote p { margin: 6px 0; }
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 0.92rem;
}
.post-content th, .post-content td {
  border: 1px solid var(--line);
  padding: 9px 14px;
  text-align: left;
}
.post-content th { background: var(--panel); font-weight: 700; }

.post-tags { margin-top: 30px; display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  font-size: 0.8rem;
  color: var(--text-soft);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 4px 11px;
  border-radius: 999px;
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}
.post-nav-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.post-nav-card:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.post-nav-card.next { text-align: right; align-items: flex-end; }
.post-nav-empty { visibility: hidden; }
.post-nav-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; color: var(--text-soft); }
.post-nav-card:hover .post-nav-label { color: var(--accent-deep); }
.post-nav-title {
  font-weight: 700;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 구독 유도 */
.subscribe-box {
  margin-top: 32px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  text-align: center;
}
.subscribe-box p { margin: 0 0 4px; font-weight: 700; }
.subscribe-box .sub-note { font-weight: 400; font-size: 0.86rem; color: var(--text-soft); }
.subscribe-box kbd {
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  background: var(--surface);
}
.rss-btn {
  display: inline-flex;
  margin-top: 12px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: var(--text);
  transition: background 0.15s;
}
.rss-btn:hover { background: var(--accent-deep); }

/* 관련 리뷰 */
.related { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.related-title { font-size: 1.1rem; margin: 0 0 14px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.related-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.related-card-title {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card-meta { font-size: 0.77rem; color: var(--text-soft); margin-top: auto; padding-top: 3px; }

.empty { color: var(--text-soft); grid-column: 1 / -1; text-align: center; padding: 40px 0; }

/* 푸터 */
.site-footer { border-top: 1px solid var(--line); background: var(--panel); margin-top: 24px; }
.footer-inner { padding: 28px 20px; text-align: center; color: var(--text-soft); font-size: 0.84rem; }
.footer-inner p { margin: 4px 0; }
.footer-note { font-size: 0.76rem; opacity: 0.85; }

@media (max-width: 640px) {
  .brand-logo { height: 26px; }
  .hero-wide-inner { position: static; align-items: center; text-align: center; padding: 14px 16px 20px; gap: 10px; }
  .hero-wide .hero-logo { width: min(250px, 76%); filter: none; }
  .hero-wide .hero-copy { font-size: 0.9rem; color: var(--text); text-shadow: none; }
  .hero-wide .hero-badge { background: var(--panel); border-color: var(--line); color: var(--text-soft); }
  .post-title { font-size: 1.45rem; }
  .post-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .spotlight-tv { min-height: 300px; }
  /* 모바일: 텍스트가 이미지 전체 위에 얹히므로 스크림을 강화해 크레딧까지 판독 확보 */
  .spotlight-tv::before {
    background:
      linear-gradient(0deg, rgba(8, 8, 14, 0.94) 0%, rgba(8, 8, 14, 0.68) 42%, rgba(8, 8, 14, 0.3) 70%, rgba(8, 8, 14, 0.1) 100%);
  }
  .tv-body { padding: 20px 20px 24px; }
  .tv-title { font-size: 1.4rem; }
  .tv-desc { font-size: 0.86rem; }
  .tv-cast { color: rgba(255, 255, 255, 0.85); }
  .anime-info { flex-direction: column; }
  .anime-info .info-poster { flex-basis: auto; width: 60%; margin: 0 auto; }
  .rating-row { grid-template-columns: 92px 1fr 70px; gap: 8px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-card.next { text-align: left; align-items: flex-start; }
  .post-nav-empty { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge .dot { animation: none; }
  .card-poster, .spotlight, .related-card, .chip, .card-title { transition: none; }
}

/* ===== 평론가 추천 ===== */
.critic-list { display: flex; flex-direction: column; gap: 18px; padding: 20px 0 8px; }
.critic-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 250px;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center 24%;
  color: #fff;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.critic-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.critic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  /* 텍스트가 앉는 하단·좌측을 집중적으로 어둡게 — 상단은 이미지 노출 유지 */
  background:
    linear-gradient(0deg, rgba(8, 8, 14, 0.92) 0%, rgba(8, 8, 14, 0.62) 42%, rgba(8, 8, 14, 0.24) 72%, rgba(8, 8, 14, 0.14) 100%),
    linear-gradient(90deg, rgba(8, 8, 14, 0.5), rgba(8, 8, 14, 0.05) 72%);
}
.critic-body { position: relative; padding: 28px 32px; max-width: 720px; }
.critic-quote {
  margin: 0 0 14px;
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 1px 10px rgba(8, 8, 14, 0.5);
}
.critic-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 0.88rem; }
.critic-score { color: #ffd166; font-weight: 800; }
.critic-name { color: rgba(255, 255, 255, 0.9); font-weight: 700; }
.critic-anime { color: rgba(255, 255, 255, 0.6); }
.critic-note { color: var(--text-soft); font-size: 0.78rem; padding-bottom: 40px; }

/* ===== 커뮤니티 공통 ===== */
.board { max-width: 860px; margin: 0 auto; padding: 16px 0 56px; }
.board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 22px 0 10px;
  font-weight: 800;
}
.write-btn {
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
  background: var(--text);
  border: 0;
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background 0.15s;
}
.write-btn:hover { background: var(--accent-deep); }
.board-note { font-size: 0.78rem; color: var(--text-soft); margin-top: 14px; }

/* 공지사항 */
.notice-item { border-bottom: 1px solid var(--line); }
.notice-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 6px;
  cursor: pointer;
  list-style: none;
}
.notice-item summary::-webkit-details-marker { display: none; }
.notice-item summary:hover .notice-title { color: var(--accent-deep); }
.notice-kind {
  flex: 0 0 auto;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
}
.kind-notice { background: var(--accent-soft); color: var(--accent-deep); }
.kind-maintenance { background: #fff4e0; color: #b8860b; }
.kind-event { background: #e9f7ef; color: #2b8a3e; }
.notice-title { font-weight: 700; }
.notice-date { margin-left: auto; font-size: 0.8rem; color: var(--text-soft); }
.notice-body { padding: 2px 6px 18px; color: var(--text-soft); font-size: 0.94rem; }

/* 자유게시판 인기글 */
.hot-posts { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.hot-post {
  font: inherit;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 13px 16px;
  border: 1px solid #ffd7e3;
  background: var(--accent-soft);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.hot-post:hover { border-color: var(--accent); }
.hot-flag {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: var(--accent);
  padding: 3px 9px;
  border-radius: 999px;
}
.hot-title { font-weight: 800; color: var(--accent-deep); }
.hot-stats { margin-left: auto; font-size: 0.78rem; color: var(--text-soft); white-space: nowrap; }

/* 게시판 테이블 */
.board-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.board-table th {
  text-align: left;
  font-size: 0.8rem;
  color: var(--text-soft);
  font-weight: 600;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap; /* 헤더 세로낙하 방지 */
}
/* 날짜·추천·댓글 등 숫자열 최소폭 확보 */
.board-table th:nth-last-child(-n+3),
.board-table td:nth-last-child(-n+3) { min-width: 48px; }
.board-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); color: var(--text-soft); white-space: nowrap; }
.board-table td.bt-title { color: var(--text); font-weight: 600; white-space: normal; width: 100%; }
.board-table tbody tr { cursor: pointer; }
.board-table tbody tr:hover td.bt-title { color: var(--accent-deep); }

/* 유저 리뷰 */
.ureview-list { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.ureview {
  font: inherit;
  text-align: left;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ureview:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); }
.ureview-top { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.ureview-anime { font-size: 0.8rem; font-weight: 800; color: var(--accent-deep); }
.ureview-rating { font-size: 0.82rem; font-weight: 800; color: var(--star); }
.ureview-title { font-weight: 800; margin-bottom: 6px; }
.ureview-excerpt { margin: 0 0 10px; font-size: 0.9rem; color: var(--text-soft); line-height: 1.6; }
.ureview-meta { font-size: 0.78rem; color: var(--text-soft); }

/* 홈: 유저 인기 리뷰 */
.ureview-home-section { padding-bottom: 40px; }
.ureview-home { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.ureview-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.ureview-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-hover); }
.ureview-card .ureview-title { font-size: 0.95rem; margin: 0; }

/* 회원 기능 게이트 모달 */
.gate-backdrop[hidden] { display: none; }
.gate-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 25, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}
.gate-modal {
  background: var(--surface);
  border-radius: 16px;
  padding: 28px 30px;
  max-width: 380px;
  text-align: center;
  box-shadow: var(--shadow-hover);
}
.gate-modal h3 { margin: 0 0 8px; }
.gate-modal p { margin: 0 0 16px; color: var(--text-soft); font-size: 0.92rem; }
.gate-actions { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; }
.gate-actions .rss-btn, .gate-actions .gate-close { white-space: nowrap; margin-top: 0; }
.gate-close {
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
}

/* ===== 태그 검색 ===== */
.tag-search { max-width: 860px; margin: 0 auto; padding: 16px 0 56px; }
#tag-input {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
#tag-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; }
.tag-btn { font: inherit; cursor: pointer; transition: border-color 0.15s, color 0.15s, background 0.15s; }
.tag-btn:hover { border-color: var(--accent); color: var(--accent-deep); }
.tag-btn.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.tag-btn.on .tag-count { color: rgba(255, 255, 255, 0.8); }
.tag-count { font-size: 0.72rem; color: var(--text-soft); }
.tag-results { display: flex; flex-direction: column; gap: 8px; }
.tag-result[hidden] { display: none; }
.tag-result {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.15s;
}
.tag-result:hover { border-color: var(--accent); }
.tag-result-title { font-weight: 700; }
.tag-result-meta { font-size: 0.78rem; color: var(--text-soft); }

/* 회차 목록 */
.ep-list { margin: 14px 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ep-list summary {
  padding: 13px 18px;
  font-weight: 700;
  cursor: pointer;
  background: var(--panel);
  list-style: none;
}
.ep-list summary::-webkit-details-marker { display: none; }
.ep-list summary::after { content: " ▾"; color: var(--text-soft); }
.ep-list[open] summary::after { content: " ▴"; }
.ep-list table { margin: 0 !important; border: 0; }
.ep-list th, .ep-list td { border-left: 0 !important; border-right: 0 !important; }

/* ===== 검색 인풋 공통 · 분기별/평론 필터 ===== */
.q-filter { max-width: 640px; margin: 14px auto 6px; padding: 0 0 4px; }
.search-input {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.q-item[hidden], .q-group[hidden], .c-item[hidden] { display: none; }
.q-group .post-grid { padding-bottom: 28px; }

/* 회차 한글 번역 병기 */
.ep-ko { display: block; font-size: 0.78rem; color: var(--text-soft); margin-top: 1px; }

/* 평론 출처 */
.critic-source { margin-top: 8px; font-size: 0.74rem; color: rgba(255, 255, 255, 0.55); }

/* ===== 오하요콘 ===== */
.con-guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.con-step {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.con-step b { font-size: 0.9rem; }
.con-step span { font-size: 0.8rem; color: var(--text-soft); line-height: 1.5; }
.con-notice {
  margin: 0 0 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  background: var(--panel);
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.7;
}
.con-notice b { color: var(--text); }
.con-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin: 16px 0; }
.con-pack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  font: inherit;
  color: var(--text);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}
.con-pack:hover { border-color: var(--accent); transform: translateY(-2px); }
.con-pack img { width: 84px; height: 84px; border-radius: 18px; object-fit: cover; margin-bottom: 4px; }
.con-pack-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  font-size: 2rem;
  color: var(--text-soft);
  margin-bottom: 4px;
}
.con-pack-name { font-weight: 700; font-size: 0.88rem; }
.con-pack-meta { font-size: 0.75rem; color: var(--text-soft); }
.con-pack-empty { cursor: pointer; font: inherit; color: inherit; text-align: center; }
.con-file-label { display: block; margin: 10px 0 6px; font-size: 0.82rem; font-weight: 600; color: var(--text-soft); }
#con-files { display: block; width: 100%; font-size: 0.82rem; }
.con-file-list { margin-top: 8px; font-size: 0.78rem; color: var(--text-soft); }
.con-progress { margin: 10px 0 0; font-size: 0.8rem; color: var(--accent-deep); font-weight: 600; }
@media (max-width: 640px) { .con-guide { grid-template-columns: 1fr; } }

/* ===== 관련 리뷰 썸네일 ===== */
.related-card { flex-direction: row; align-items: stretch; gap: 12px; }
.related-thumb {
  align-self: center;
  flex: 0 0 52px;
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.related-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }

/* ===== 헤더 사이트 검색 ===== */
.site-search-wrap { position: relative; margin-left: 4px; }
#site-search {
  font: inherit;
  font-size: 0.85rem;
  width: 130px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text);
  outline: none;
  transition: width 0.2s, border-color 0.15s;
}
#site-search:focus { width: 190px; border-color: var(--accent); }
.search-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 300px;
  max-height: 380px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-hover);
  padding: 6px;
  z-index: 60;
}
.search-panel[hidden] { display: none; }
.search-hit {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--text);
}
.search-hit:hover { background: var(--panel); }
.search-hit-title { font-weight: 700; font-size: 0.88rem; }
.search-hit-meta { font-size: 0.75rem; color: var(--text-soft); }
.search-none { padding: 14px; font-size: 0.85rem; color: var(--text-soft); text-align: center; }
/* 821~860px 중간 구간: 검색창이 한 줄을 독점하지 않도록 인라인 축소 유지 */
@media (max-width: 860px) and (min-width: 721px) {
  #site-search { width: 150px; }
  #site-search:focus { width: 170px; }
}
@media (max-width: 720px) { .site-search-wrap { width: 100%; } #site-search { width: 100%; } #site-search:focus { width: 100%; } .search-panel { left: 0; right: auto; width: 100%; } }

/* ===== 검증 원칙 링크 · 게이트 보조 버튼 ===== */
.verify-link { font-size: 0.78rem; color: var(--text-soft); text-decoration: underline; text-underline-offset: 3px; }
.verify-link:hover { color: var(--accent-deep); }
.gate-sub { background: var(--panel); color: var(--text); }

/* ===== 분기별 아카이브 — 컴팩트 그리드 ===== */
.post-grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(150px, 180px));
  justify-content: center;
  gap: 18px 14px;
}
.post-grid-compact .card-title { font-size: 0.88rem; }
.post-grid-compact .card-meta, .post-grid-compact .card-cat { font-size: 0.72rem; }

/* ===== 홈 유저 인기 리뷰 — 3장 좌측 몰림 방지 ===== */
@media (min-width: 768px) {
  .ureview-home { grid-template-columns: repeat(3, 1fr); }
}

/* ===== 정정 이력 (front matter corrections) ===== */
.corrections {
  margin: 28px 0 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  background: var(--panel);
  font-size: 0.85rem;
}
.corrections-title { margin: 0 0 6px; font-size: 0.85rem; font-weight: 800; }
.corrections ul { margin: 0; padding-left: 18px; }
.corrections li { color: var(--text-soft); line-height: 1.6; }
.corrections li + li { margin-top: 3px; }
.corrections time {
  margin-right: 8px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

/* ===== 모바일 헤더 다이어트 (스티키 영역 ≤100px) ===== */
.nav-m { display: none; } /* 드롭다운 평탄화 링크 — 모바일 전용 */
@media (max-width: 640px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 12px;
    padding-top: 7px;
    padding-bottom: 0;
  }
  /* 1행: 로고 + 컴팩트 검색 */
  .site-search-wrap { order: 2; width: auto; margin-left: auto; }
  #site-search { width: 132px; padding: 6px 12px; }
  #site-search:focus { width: 152px; }
  .search-panel { left: auto; right: 0; width: min(320px, 88vw); }
  /* 2행: 내비 — 한 줄 가로 스크롤 */
  .site-nav {
    order: 3;
    flex: 1 0 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -20px;
    padding: 2px 14px 7px;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  /* 터치 타깃 확대 */
  .site-nav a { white-space: nowrap; padding: 8px 12px; flex: 0 0 auto; }
  .chip { padding: 9px 16px; }
  /* 스크롤 컨테이너 안에서 드롭다운은 잘리므로 평탄화 링크로 대체 */
  .nav-drop { display: none; }
  .nav-m { display: block; }
  /* 게시판 표: 화면보다 넓어지면 표 자체가 가로 스크롤 */
  .board-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .board-table td.bt-title { min-width: 180px; }
  /* 분기별 컴팩트 그리드: 3열 */
  .post-grid-compact { grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
  .post-grid-compact .card-title { font-size: 0.8rem; }
  .post-grid-compact .card-body { padding-top: 7px; }
}

/* 모아보기 */
.all-item[hidden] { display: none; }
.section-title { margin: 34px 0 14px; font-size: 1.15rem; }

/* ===== 네임카드 ===== */
.namecard {
  position: relative;
  margin: 26px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  background-size: cover;
  background-position: center 30%;
}
.namecard .nc-scrim { position: absolute; inset: 0; background: rgba(255, 255, 255, 0.55); }
.namecard.has-bg .nc-scrim { background: linear-gradient(90deg, rgba(255,255,255,0.92) 30%, rgba(255,255,255,0.55)); }
.nc-inner { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
.nc-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
.nc-avatar-fb { display: flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; font-weight: 800; font-size: 1.4rem; }
.nc-body { flex: 1; min-width: 0; }
.nc-name { font-weight: 800; font-size: 1rem; margin: 0 0 3px; }
.nc-grade {
  font-size: 0.68rem; font-weight: 700;
  padding: 2px 8px; border-radius: 999px;
  vertical-align: 2px; margin-left: 4px;
}
.nc-grade-admin { background: var(--accent); color: #fff; }
.nc-grade-featured { background: #6c5ce7; color: #fff; }
.nc-grade-member { background: var(--line); color: var(--text-soft); }
.nc-bio { font-size: 0.83rem; color: var(--text-soft); margin: 0 0 3px; line-height: 1.5; }
.nc-stats { font-size: 0.75rem; color: var(--text-soft); margin: 0; }
.nc-actions { display: flex; flex-direction: column; gap: 7px; flex-shrink: 0; }
.nc-btn {
  font: inherit; font-size: 0.8rem; font-weight: 700;
  padding: 7px 18px; border-radius: 999px; cursor: pointer;
  border: 0; background: var(--text); color: var(--surface);
  white-space: nowrap;
  transition: opacity 0.15s;
}
.nc-btn:hover { opacity: 0.85; }
.nc-btn-sub { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
@media (max-width: 640px) {
  .nc-inner { flex-wrap: wrap; }
  .nc-actions { flex-direction: row; width: 100%; }
  .nc-btn { flex: 1; }
}

/* 유저 리뷰 베스트 카드 */
.ur-best { display: flex; flex-direction: column; gap: 14px; margin: 14px 0 30px; }
.bt-rating { font-size: 0.75rem; color: var(--accent-deep); font-weight: 700; margin-left: 6px; }
.board-table tbody tr { cursor: pointer; }

/* ===== 유저 별점 · 좋아요 ===== */
.user-rate { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--line); }
.star-row { display: flex; gap: 2px; }
.star {
  font: inherit; font-size: 1.35rem; line-height: 1;
  background: none; border: 0; padding: 2px; cursor: pointer;
  color: var(--line);
  transition: color 0.1s, transform 0.1s;
}
.star.on { color: #f5a623; }
.star:hover { transform: scale(1.15); }
.user-rate-msg { font-size: 0.78rem; color: var(--text-soft); }
.post-like { display: flex; align-items: center; gap: 12px; margin: 24px 0 6px; }
.like-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-size: 0.9rem; font-weight: 700;
  padding: 10px 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.like-heart {
  width: 14px; height: 14px; display: inline-block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.9-10-9.2C.3 8.6 1.6 4.8 5 4.1c2-.4 4 .4 5.2 2 .5.7.8 1.3.8 1.3s.3-.6.8-1.3c1.2-1.6 3.2-2.4 5.2-2 3.4.7 4.7 4.5 3 7.7C19.5 16.1 12 21 12 21z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.9-10-9.2C.3 8.6 1.6 4.8 5 4.1c2-.4 4 .4 5.2 2 .5.7.8 1.3.8 1.3s.3-.6.8-1.3c1.2-1.6 3.2-2.4 5.2-2 3.4.7 4.7 4.5 3 7.7C19.5 16.1 12 21 12 21z'/%3E%3C/svg%3E") center/contain no-repeat;
  color: var(--text-soft);
}
.like-btn:hover { border-color: var(--accent); }
.like-btn.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.like-btn.on .like-heart { color: #fff; }
.like-msg { font-size: 0.76rem; color: var(--text-soft); }
@media (max-width: 640px) { .user-rate { flex-wrap: wrap; } .post-like { flex-wrap: wrap; } }

/* ===== 홈 카드뉴스 슬라이더 ===== */
.hero-slider {
  position: relative;
  margin: 28px 0 8px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hs-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.35, 0.9, 0.25, 1);
  will-change: transform;
}
.hs-slide {
  flex: 0 0 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}
.hs-slide:hover { box-shadow: none; }
/* 공지형 카드 — 배경 이미지 대신 브랜드 그라디언트 */
.hs-notice { background-image: none; }
/* 공지 카드 배경: 일러스트가 있으면 일러, 없으면 그라디언트가 그대로 보인다(레이어 폴백) */
.hs-open {
  background-image: url("../img/notice-open.webp"), linear-gradient(120deg, #ff9e64, #ff5c8a 55%, #6c5ce7);
  background-size: cover, cover;
  background-position: right 18%, center;
  background-repeat: no-repeat, no-repeat;
}
.hs-recruit {
  background-image: url("../img/notice-recruit.webp"), linear-gradient(120deg, #6c5ce7, #3b4fd8 60%, #17151f);
  background-size: cover, cover;
  background-position: right 10%, center;
  background-repeat: no-repeat, no-repeat;
}
/* 일러 위 글자 가독성 — 카드 전체를 덮는 부드러운 좌→우 스크림 (경계 없음) */
.hs-open::before, .hs-recruit::before, .hs-con::before {
  background:
    linear-gradient(90deg,
      rgba(14, 10, 24, 0.88) 0%,
      rgba(14, 10, 24, 0.78) 22%,
      rgba(14, 10, 24, 0.55) 45%,
      rgba(14, 10, 24, 0.24) 66%,
      rgba(14, 10, 24, 0.06) 84%,
      rgba(14, 10, 24, 0) 100%),
    linear-gradient(180deg, rgba(14, 10, 24, 0.28) 0%, rgba(14, 10, 24, 0) 42%, rgba(14, 10, 24, 0.34) 100%);
}
@media (max-width: 640px) {
  .hs-open { background-position: 78% 16%, center; }
  .hs-recruit { background-position: 80% 8%, center; }
  .hs-open::before, .hs-recruit::before, .hs-con::before {
    background:
      linear-gradient(90deg, rgba(14, 10, 24, 0.92) 0%, rgba(14, 10, 24, 0.8) 45%, rgba(14, 10, 24, 0.5) 75%, rgba(14, 10, 24, 0.3) 100%),
      linear-gradient(180deg, rgba(14, 10, 24, 0.3) 0%, rgba(14, 10, 24, 0) 45%, rgba(14, 10, 24, 0.4) 100%);
  }
}
/* 텍스트 뒤 어둡게 깔기는 카드 전체(::before)에서 처리한다 — tv-body에 칠하면 사각 경계가 드러난다 */
.hs-notice .tv-body { background: none; }

.hs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%;
  background: rgba(20, 16, 30, 0.42);
  backdrop-filter: blur(4px);
  cursor: pointer;
  z-index: 3;
  transition: background 0.15s, opacity 0.15s;
  opacity: 0.75;
}
.hs-arrow:hover { background: rgba(20, 16, 30, 0.72); opacity: 1; }
.hs-prev { left: 14px; }
.hs-next { right: 14px; }
.hs-chev {
  width: 11px; height: 11px;
  border-top: 2.5px solid #fff;
  border-right: 2.5px solid #fff;
  display: block;
}
.hs-chev-r { transform: rotate(45deg); margin-left: -3px; }
.hs-chev-l { transform: rotate(-135deg); margin-right: -3px; }

.hs-dots {
  position: absolute;
  right: 18px; bottom: 16px;
  display: flex; gap: 7px;
  z-index: 3;
}
.hs-dot {
  width: 8px; height: 8px;
  padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.15s, width 0.2s;
}
.hs-dot.on { background: #fff; width: 22px; border-radius: 999px; }

@media (max-width: 640px) {
  .hs-arrow { width: 34px; height: 34px; }
  .hs-prev { left: 8px; }
  .hs-next { right: 8px; }
  .hs-dots { right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { .hs-track { transition: none; } }
/* 슬라이더 안에서는 화살표와 겹치지 않게 좌우 여백 확보 */
.hs-slide .tv-body { padding-left: 72px; padding-right: 72px; max-width: 700px; }
.hs-slide .tv-cast { margin-bottom: 2px; }
@media (max-width: 640px) { .hs-slide .tv-body { padding-left: 52px; padding-right: 52px; } }

/* ===== 오하요콘 팩 카드·상세 (디시콘식 뷰어) ===== */
.con-pack-preview {
  width: 96px; height: 96px;
  margin-bottom: 6px;
  background: var(--panel);
  border-radius: 14px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.con-pack-preview img { width: 100%; height: 100%; object-fit: contain; display: block; }

.conview { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin: 18px 0 26px; }
.conview-head {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.conview-cover {
  width: 108px; height: 108px;
  flex-shrink: 0;
  object-fit: contain;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.conview-info { flex: 1; min-width: 0; }
.conview-title { margin: 2px 0 6px; font-size: 1.2rem; }
.conview-desc { margin: 0 0 8px; font-size: 0.9rem; color: var(--text-soft); line-height: 1.6; }
.conview-meta { margin: 0; font-size: 0.82rem; color: var(--text-soft); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.conview-key {
  font-size: 0.72rem; font-weight: 700;
  padding: 2px 8px; border-radius: 6px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-soft);
}
.conview-badge {
  font-size: 0.72rem; font-weight: 800;
  padding: 2px 9px; border-radius: 999px;
  background: var(--accent); color: #fff;
}
.conview-date { margin-left: auto; }
.conview-use {
  flex-shrink: 0;
  font-size: 0.85rem; font-weight: 700;
  padding: 8px 20px; border-radius: 8px;
  background: var(--text); color: var(--surface);
}
.conview-use:hover { opacity: 0.85; }
.conview-sheet {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 8px;
  padding: 16px;
  background: var(--surface);
  max-height: 620px;
  overflow-y: auto;
}
.conview-cell {
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  overflow: hidden;
}
.conview-cell img { width: 100%; height: auto; display: block; }
.conview-foot {
  display: flex; align-items: flex-end; gap: 14px;
  padding: 14px 20px;
  background: var(--panel);
  border-top: 1px solid var(--line);
}
.conview-rules { margin: 0; padding-left: 16px; font-size: 0.76rem; color: var(--text-soft); line-height: 1.7; flex: 1; }
.conview-report {
  flex-shrink: 0;
  font-size: 0.82rem; font-weight: 700;
  padding: 7px 18px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text-soft);
}
.conview-report:hover { border-color: var(--accent); color: var(--accent-deep); }
@media (max-width: 640px) {
  .conview-head { flex-wrap: wrap; gap: 12px; }
  .conview-cover { width: 76px; height: 76px; }
  .conview-use { width: 100%; text-align: center; }
  .conview-date { margin-left: 0; }
  .conview-sheet { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 6px; padding: 12px; }
  .conview-foot { flex-direction: column; align-items: stretch; }
  .conview-report { text-align: center; }
}

/* 오하요콘 홍보 카드 일러 */
.hs-con {
  background-image: url("../img/notice-con.webp"), linear-gradient(120deg, #ff5c8a, #f2994a 55%, #ffb26b);
  background-size: cover, cover;
  background-position: right 20%, center;
  background-repeat: no-repeat, no-repeat;
}
@media (max-width: 640px) { .hs-con { background-position: 78% 14%, center; } }

/* ===== 로그인 · 계정 (헤더) ===== */
.auth-slot { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.auth-in, .auth-out {
  font: inherit; font-size: 0.82rem; font-weight: 700;
  padding: 7px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--text-soft);
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
}
.auth-in { background: var(--text); color: var(--surface); border-color: var(--text); }
.auth-in:hover { opacity: 0.88; }
.auth-out:hover { border-color: var(--accent); color: var(--accent-deep); }
.auth-me { display: inline-flex; align-items: center; gap: 7px; color: var(--text); font-weight: 700; font-size: 0.85rem; }
.auth-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.auth-avatar-fb { display: flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; font-size: 0.78rem; }
.auth-name { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-admin {
  font-size: 0.78rem; font-weight: 800;
  padding: 5px 12px; border-radius: 999px;
  background: #6c5ce7; color: #fff;
}
@media (max-width: 640px) { .auth-name { display: none; } .auth-slot { margin-left: auto; } }

/* ===== 게시판 (회원 기능) ===== */
.bd-list { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.bd-item { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.bd-item-title { margin: 0 0 4px; font-size: 1.02rem; }
.bd-item-anime { margin: 0 0 8px; font-size: 0.8rem; color: var(--accent-deep); font-weight: 700; }
.bd-item-body { font-size: 0.92rem; line-height: 1.75; color: var(--text); }
.bd-item-body img { max-width: 100%; border-radius: 10px; }
.bd-item-meta { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 0.78rem; color: var(--text-soft); }
.bd-item-author { font-weight: 700; color: var(--text); }
.bd-like {
  margin-left: auto; font: inherit; font-size: 0.78rem; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--panel); color: var(--text-soft);
}
.bd-like:hover { border-color: var(--accent); color: var(--accent-deep); }
.bd-form { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); margin: 14px 0; }
.bd-input {
  width: 100%; font: inherit; font-size: 0.95rem;
  padding: 11px 14px; margin-bottom: 10px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text);
  outline: none;
}
.bd-input:focus { border-color: var(--accent); }
.bd-row { display: flex; gap: 10px; }
.bd-row .bd-input { flex: 1; }
.bd-select { max-width: 140px; }
.bd-textarea { min-height: 200px; resize: vertical; line-height: 1.7; }
.bd-actions { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.bd-hint { flex: 1; font-size: 0.74rem; color: var(--text-soft); }
.bd-cancel {
  font: inherit; font-size: 0.85rem; font-weight: 700;
  padding: 9px 18px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--text-soft);
}
.bd-more-wrap { text-align: center; margin: 18px 0; }
.bd-more {
  font: inherit; font-size: 0.85rem; font-weight: 700;
  padding: 10px 30px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--text-soft);
}
.bd-more:hover { border-color: var(--accent); color: var(--accent-deep); }
