/* ════ 사이드바 ════ */
.sidebar {
  position: fixed; left: 0; top: 56px; bottom: 0;
  width: 220px; background: var(--surface);
  border-right: 1.5px solid var(--border);
  display: flex; flex-direction: column;
  padding: 16px 12px 20px; gap: 6px; z-index: 95;
  transform: translateX(-100%); transition: transform .28s cubic-bezier(.4,0,.2,1);
  box-shadow: 4px 0 24px rgba(26,24,20,.12);
}
.sidebar.open { transform: translateX(0); }
.sidebar-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 10px;
  border: 1.5px solid var(--border); background: transparent;
  color: var(--ink2); font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: 'Noto Sans KR', sans-serif;
  transition: all .15s; text-align: left; width: 100%;
}
.sidebar-btn:hover { border-color: var(--ink); color: var(--ink); background: var(--surface2); }
.sidebar-btn.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sidebar-icon { font-size: 18px; flex-shrink: 0; }
.nav-hamburger {
  width: 36px; height: 36px; border-radius: 8px;
  background: transparent; border: 1.5px solid var(--border);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: all .15s; flex-shrink: 0;
}
.nav-hamburger:hover { border-color: var(--ink); background: var(--surface2); }
.sidebar-overlay {
  display: none; position: fixed; inset: 0; z-index: 94;
  background: rgba(26,24,20,.4); backdrop-filter: blur(3px);
}
.sidebar-overlay.show { display: block; }

/* ════ 그때 우리는 페이지 ════ */
.hall-wrap { max-width: 960px; margin: 0 auto; padding: 32px 24px 80px; }
.hall-header {
  text-align: center; padding: 40px 24px 32px;
  border-bottom: 1.5px solid var(--border); margin-bottom: 32px;
}
.hall-title {
  font-family: 'Gmarket Sans', 'Noto Sans KR', sans-serif; font-size: clamp(28px,5vw,48px);
  font-weight: 900; letter-spacing: -2px; margin-bottom: 8px;
}
.hall-sub { font-size: 14px; color: var(--ink3); }
.hall-badge {
  display: inline-block; background: var(--ink); color: var(--bg);
  font-family: 'DM Mono', monospace; font-size: 11px;
  padding: 3px 10px; border-radius: 100px; margin-bottom: 16px;
  letter-spacing: .5px;
}
.hall-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 14px; margin-bottom: 16px; overflow: hidden;
  transition: all .2s;
}
.hall-card:hover { border-color: var(--border2); box-shadow: var(--shadow); }
.hall-rank {
  font-family: 'DM Mono', monospace; font-size: 13px; font-weight: 700;
  color: var(--ink3); padding: 16px 20px 0; margin-bottom: -4px;
}
.hall-rank.gold   { color: #c8960a; }
.hall-rank.silver { color: #7a7a7a; }
.hall-rank.bronze { color: #8a5020; }

/* ════ 사용법 팝업 ════ */
.guide-overlay {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(26,24,20,.6); backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: 20px;
}
.guide-overlay.open { display: flex; }
.guide-box {
  background: var(--surface); border: 2px solid var(--ink);
  border-radius: 20px; padding: 36px 32px;
  max-width: 520px; width: 100%; max-height: 85vh; overflow-y: auto;
  animation: mIn .25s cubic-bezier(.4,0,.2,1);
}
.guide-title {
  font-family: 'Gmarket Sans', 'Noto Sans KR', sans-serif; font-size: 22px; font-weight: 900;
  margin-bottom: 4px; letter-spacing: -.5px;
}
.guide-sub { font-size: 13px; color: var(--ink3); margin-bottom: 24px; }
.guide-section { margin-bottom: 20px; }
.guide-section-title {
  font-size: 13px; font-weight: 700; margin-bottom: 10px;
  padding-bottom: 6px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 6px;
}
.guide-item {
  display: flex; gap: 10px; margin-bottom: 8px;
  font-size: 13px; line-height: 1.6; color: var(--ink2);
}
.guide-item-icon { flex-shrink: 0; font-size: 16px; }

/* ════ 댓글 ════ */
.comments-section {
  border-top: 1px solid var(--border);
  padding: 0 20px 0;
}
.comments-toggle {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 0; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--ink2);
  border: none; background: transparent; width: 100%;
  font-family: 'Noto Sans KR', sans-serif; transition: color .15s;
}
.comments-toggle:hover { color: var(--ink); }
.comments-body { display: none; padding-bottom: 16px; }
.comments-body.open { display: block; }
.comment-input-wrap {
  display: flex; gap: 8px; margin-bottom: 14px;
}
.comment-input {
  flex: 1; padding: 9px 12px;
  background: var(--surface2); border: 1.5px solid var(--border);
  border-radius: 8px; color: var(--ink); font-size: 13px;
  font-family: 'Noto Sans KR', sans-serif; outline: none; resize: none;
  transition: border-color .15s; min-height: 40px;
}
.comment-input:focus { border-color: var(--ink); }
.comment-send-btn {
  padding: 9px 16px; background: var(--ink); color: var(--bg);
  border: none; border-radius: 8px; font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: 'Noto Sans KR', sans-serif;
  transition: all .15s; white-space: nowrap; align-self: flex-end;
}
.comment-send-btn:hover { background: #333; }
.comment-item {
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.comment-item:last-child { border-bottom: none; }
.comment-header {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 4px; flex-wrap: wrap;
}
.comment-nick { font-size: 12px; font-weight: 700; }
.comment-time { font-size: 11px; color: var(--ink3); font-family: 'DM Mono', monospace; }
.comment-text { font-size: 13px; color: var(--ink2); line-height: 1.6; margin-bottom: 8px; }
.comment-reactions {
  display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px;
}
.reaction-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 100px;
  border: 1px solid var(--border); background: transparent;
  font-size: 12px; cursor: pointer; transition: all .15s;
  font-family: 'Noto Sans KR', sans-serif; color: var(--ink2);
}
.reaction-btn:hover { border-color: var(--border2); background: var(--surface2); }
.reaction-btn.active { background: var(--surface2); border-color: var(--border2); font-weight: 700; }
.comment-reply-btn {
  font-size: 11px; color: var(--ink3); background: none;
  border: none; cursor: pointer; font-family: 'Noto Sans KR', sans-serif;
  padding: 0; margin-top: 4px; transition: color .15s;
}
.comment-reply-btn:hover { color: var(--ink2); }
.replies-wrap { margin-left: 20px; margin-top: 8px; border-left: 2px solid var(--border); padding-left: 12px; }
.no-comments { font-size: 13px; color: var(--ink3); text-align: center; padding: 16px 0; }


