/* HB Mini Theme: Minimal (Low-Saturation Architectural Monochrome) */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
  --hb-color-primary: #18181b;
  --hb-color-primary-hover: #27272a;
  --hb-color-secondary: #52525b;
  --hb-color-background: #ffffff;
  --hb-color-surface: #fafafa;
  --hb-color-text: #18181b;
  --hb-color-text-muted: #71717a;
  --hb-color-border: #e4e4e7;
  --hb-font-sans: 'Pretendard', system-ui, -apple-system, sans-serif;
  --hb-font-base-size: 15px;
  --hb-line-height-base: 1.65;
  --hb-layout-container-max-width: 1140px;
  --hb-layout-header-height: 68px;
  --hb-layout-border-radius: 6px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--hb-font-sans);
  font-size: var(--hb-font-base-size);
  line-height: var(--hb-line-height-base);
  color: var(--hb-color-text);
  background-color: var(--hb-color-background);
}

.hb-container {
  max-width: var(--hb-layout-container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.hb-site-header {
  border-bottom: 1px solid var(--hb-color-border);
  height: var(--hb-layout-header-height);
  background: #ffffff;
  position: sticky;
  top: 40px;
  z-index: 100;
}

.hb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.hb-brand a {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--hb-color-primary);
  text-decoration: none;
}

.hb-nav-desktop ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 28px;
}

.hb-nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  color: var(--hb-color-secondary);
  text-decoration: none;
}

.hb-nav-desktop a:hover {
  color: var(--hb-color-primary);
}

.hb-member-status-bar {
  display: inline-flex;
  gap: 8px;
}

.hb-btn-login,
.hb-btn-join {
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.hb-btn-login {
  border: 1px solid var(--hb-color-border);
  color: var(--hb-color-text);
  background: #ffffff;
}

.hb-btn-join {
  background: #27272a;
  color: #ffffff;
  border: 1px solid #27272a;
}

/* Boards */
.hb-post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hb-badge-pinned,
.hb-badge-cat {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-right: 10px;
}

.hb-badge-pinned {
  background: #27272a;
  color: #ffffff;
}

.hb-badge-cat {
  background: #f4f4f5;
  color: #52525b;
  border: 1px solid #e4e4e7;
}

.hb-skin-list .hb-post-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 4px;
  border-bottom: 1px solid var(--hb-color-border);
}

.hb-list-main {
  display: flex;
  align-items: center;
  flex: 1;
}

.hb-post-link {
  color: var(--hb-color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.hb-post-meta {
  font-size: 12.5px;
  color: var(--hb-color-text-muted);
}

.hb-skin-card .hb-post-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.hb-skin-card .hb-post-item {
  border: 1px solid var(--hb-color-border);
  border-radius: 6px;
  padding: 20px;
  background: #fafafa;
}

.hb-card-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.hb-card-date {
  font-size: 12px;
  color: var(--hb-color-text-muted);
}

.hb-skin-card .hb-post-link {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}

.hb-post-excerpt {
  font-size: 13.5px;
  color: #52525b;
  margin: 0 0 14px;
}

.hb-card-foot {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--hb-color-border);
}

.hb-card-more {
  font-size: 12.5px;
  font-weight: 600;
  color: #27272a;
}

/* Webzine & FAQ */
.hb-skin-webzine .hb-post-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hb-skin-webzine .hb-post-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--hb-color-border);
  border-radius: 6px;
}

.hb-webzine-datebox {
  width: 60px;
  height: 60px;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hb-wz-day {
  font-size: 19px;
  font-weight: 700;
}

.hb-wz-ym {
  font-size: 11px;
  color: #71717a;
}

.hb-skin-faq .hb-post-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hb-faq-details {
  border: 1px solid var(--hb-color-border);
  border-radius: 6px;
}

.hb-faq-summary {
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.hb-faq-summary::-webkit-details-marker {
  display: none;
}

.hb-faq-q-badge,
.hb-faq-a-badge {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #27272a;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.hb-faq-a-badge {
  background: #52525b;
}

.hb-faq-answer {
  padding: 14px 16px;
  background: #fafafa;
  border-top: 1px solid var(--hb-color-border);
  display: flex;
  gap: 10px;
}

.hb-faq-answer p {
  margin: 0;
  font-size: 13.5px;
  color: #3f3f46;
}

/* Inquiry Form */
.minimal-inquiry {
  border: 1px solid var(--hb-color-border);
  border-radius: 6px;
  padding: 28px;
  background: #fafafa;
}

.hb-inquiry-form,
.hb-login-form,
.hb-join-form,
.hb-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hb-newsletter-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.hb-newsletter-row input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--hb-color-border);
  border-radius: 4px;
  font-size: 14px;
}

.hb-history-tab-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.hb-tab-pill {
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  background: #f4f4f5;
  color: #52525b;
  border: 1px solid #e4e4e7;
}

.hb-tab-pill.active {
  background: #27272a;
  color: #ffffff;
  border-color: #27272a;
}

.hb-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hb-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hb-form-group label {
  font-size: 13px;
  font-weight: 600;
}

.hb-req {
  color: #71717a;
}

.hb-form-group input,
.hb-form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--hb-color-border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  background: #ffffff;
}

.hb-form-consent {
  font-size: 12.5px;
  color: #52525b;
}

.hb-btn-submit {
  padding: 12px 18px;
  background: #27272a;
  color: #ffffff;
  border: 1px solid #27272a;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* History & Catalog */
.hb-history-timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 16px;
  border-left: 1px solid var(--hb-color-border);
}

.hb-year {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.hb-desc {
  margin: 2px 0 0;
  font-size: 13px;
  color: #52525b;
}

.hb-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.hb-catalog-card {
  border: 1px solid var(--hb-color-border);
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

.hb-catalog-thumb {
  background: #27272a;
  color: #fafafa;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
}

.hb-catalog-body {
  padding: 16px;
}

.hb-catalog-body h4 {
  margin: 0 0 6px;
  font-size: 15px;
}

.hb-catalog-body p {
  margin: 0 0 12px;
  font-size: 13px;
  color: #52525b;
}

.hb-catalog-btn {
  font-size: 13px;
  font-weight: 600;
  color: #27272a;
  text-decoration: none;
}

/* Footer */
.hb-site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--hb-color-border);
  font-size: 13px;
  color: var(--hb-color-text-muted);
  margin-top: 64px;
}

.hb-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.hb-footer-info p {
  margin: 4px 0;
}

.footer-hosting {
  color: #27272a;
  font-weight: 600;
  text-decoration: none;
}
