@charset "utf-8";

/* 솔애드 테마 공통: 머리글, 바닥글, 본문 틀, 버튼. 그누보드 기본 게시판·회원 스킨의 밝은 색은 g5-skins.css에서 덮어쓴다. */
:root {
  --sl-bg: #0e0e10;
  --sl-surface: #17171a;
  --sl-surface-2: #212125;
  --sl-line: rgba(255, 255, 255, 0.09);
  --sl-line-strong: rgba(255, 255, 255, 0.18);
  --sl-text: #f4f4f5;
  --sl-muted: #a1a1aa;
  --sl-accent: #cdf352;
  --sl-on-accent: #18181a;
  --sl-wrap: 1280px;
  --sl-gutter: 24px;
  --sl-hd-h: 64px;
  --sl-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --sl-font:
    "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --sl-font-num: Inter, "Noto Sans KR", -apple-system, system-ui, sans-serif;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
input,
button,
textarea,
select {
  font-family: var(--sl-font);
}
body {
  background: var(--sl-bg);
  color: var(--sl-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.sl-skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--sl-accent);
  color: var(--sl-on-accent);
  font-size: 14px;
  font-weight: 700;
}
.sl-skip:focus {
  top: 12px;
}

:where(.sl-hd, .sl-ft, .sl-main--index, .sl-page) a:focus-visible,
:where(.sl-hd, .sl-ft, .sl-main--index, .sl-page) button:focus-visible,
:where(.sl-hd, .sl-ft, .sl-main--index, .sl-page) input:focus-visible {
  outline: 2px solid var(--sl-accent);
  outline-offset: 3px;
}
.sl-main:focus {
  outline: none;
}

/* 버튼 */
.sl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.2s var(--sl-ease);
}
.sl-btn:active {
  transform: scale(0.97);
}
.sl-btn--lg {
  height: 52px;
  padding: 0 26px;
  font-size: 16px;
}
.sl-btn--accent {
  background: var(--sl-accent);
  color: var(--sl-on-accent) !important;
}
.sl-btn--accent:hover {
  background: #dbff6e;
}
.sl-btn--glass {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.sl-btn--glass:hover {
  background: rgba(255, 255, 255, 0.18);
}
.sl-btn--ghost {
  border-color: var(--sl-line-strong);
  color: var(--sl-text) !important;
}
.sl-btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
}
.sl-btn--light {
  background: #fff;
  color: #111 !important;
}
.sl-btn--light:hover {
  background: #e4e4e7;
}

/* 브랜드 */
.sl-brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.sl-brand-mark {
  display: inline-flex;
  color: var(--sl-accent);
}
.sl-brand-mark svg {
  display: block;
}

/* 머리글 */
.sl-hd {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 14, 16, 0.94);
  border-bottom: 1px solid var(--sl-line);
  color: var(--sl-text);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}
.sl-hd--overlay {
  position: fixed;
  right: 0;
  left: 0;
  border-bottom-color: transparent;
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.72), rgba(8, 8, 10, 0));
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition:
    background-color 0.3s,
    border-color 0.3s;
}
.sl-hd--overlay.is-solid,
.sl-hd--overlay.is-open {
  border-bottom-color: var(--sl-line);
  background: rgba(14, 14, 16, 0.9);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}
.sl-hd-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: var(--sl-wrap);
  height: var(--sl-hd-h);
  margin: 0 auto;
  padding: 0 var(--sl-gutter);
}
.sl-nav-list {
  display: flex;
  gap: 4px;
}
.sl-nav-list a {
  position: relative;
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 600;
  transition:
    color 0.2s,
    background-color 0.2s;
}
.sl-nav-list a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.sl-nav-list a[aria-current="page"] {
  color: #fff;
}
.sl-nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 2px;
  left: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--sl-accent);
}
.sl-search {
  display: flex;
  align-items: center;
  margin-left: auto;
  width: 240px;
  height: 40px;
  border: 1px solid var(--sl-line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  transition:
    border-color 0.2s,
    background-color 0.2s,
    width 0.3s var(--sl-ease);
}
.sl-search:focus-within {
  width: 300px;
  border-color: rgba(205, 243, 82, 0.6);
  background: rgba(255, 255, 255, 0.1);
}
.sl-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 0 0 16px;
  border: 0 !important;
  background: transparent;
  color: #fff;
  font-size: 14px;
  box-shadow: none !important;
  outline: none;
}
.sl-search input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.sl-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 38px;
  border: 0;
  border-radius: 0 999px 999px 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
}
.sl-account {
  display: flex;
  flex: none;
  align-items: center;
  gap: 14px;
}
.sl-account-link {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 14px;
  font-weight: 600;
}
.sl-account-link:hover {
  color: #fff !important;
}
/* 데모 관리자로 로그인했을 때 머리글 표시 */
.sl-demo-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(205, 243, 82, 0.35);
  border-radius: 999px;
  color: var(--sl-accent);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.sl-drawer-demo {
  flex-basis: 100%;
  padding: 12px 0 4px;
}
.sl-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #fff;
}
.sl-menu-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}
.sl-menu-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform 0.3s var(--sl-ease),
    opacity 0.2s,
    top 0.3s var(--sl-ease);
}
.sl-menu-icon span:nth-child(1) {
  top: 0;
}
.sl-menu-icon span:nth-child(2) {
  top: 6px;
}
.sl-menu-icon span:nth-child(3) {
  top: 12px;
}
.sl-menu-btn[aria-expanded="true"] .sl-menu-icon span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
.sl-menu-btn[aria-expanded="true"] .sl-menu-icon span:nth-child(2) {
  opacity: 0;
}
.sl-menu-btn[aria-expanded="true"] .sl-menu-icon span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.sl-drawer {
  max-width: var(--sl-wrap);
  margin: 0 auto;
  padding: 8px var(--sl-gutter) 24px;
  border-top: 1px solid var(--sl-line);
}
.sl-drawer[hidden] {
  display: none;
}
.sl-drawer-search {
  display: flex;
  gap: 8px;
  margin: 12px 0 8px;
}
.sl-drawer-search input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--sl-line-strong) !important;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 15px;
}
.sl-drawer-search button {
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: var(--sl-accent);
  color: var(--sl-on-accent);
  font-size: 15px;
  font-weight: 700;
}
.sl-drawer-list a,
.sl-drawer-account a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border-bottom: 1px solid var(--sl-line);
}
.sl-drawer-account {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  margin-top: 8px;
}
.sl-drawer-account a {
  min-height: 44px;
  border-bottom: 0;
  color: var(--sl-muted);
  font-size: 15px;
}

/* 그누보드 팝업레이어 자리: 기본 css의 1200px 고정 폭이 좁은 화면을 넘지 않게 한다 */
#hd_pop {
  width: auto;
  max-width: 1200px;
}

/* 본문 틀: 게시판·회원 화면 */
.sl-page {
  max-width: var(--sl-wrap);
  min-height: 60vh;
  margin: 0 auto;
  padding: 32px var(--sl-gutter) 80px;
  font-size: 1em;
}
/* 로그인 계열 회원 화면(head.sub.php가 연다): 회원 상자를 본문 가운데에 둔다 */
.sl-page--member {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sl-page--member .mbskin {
  margin: 0 auto;
}
/* 바닥글 */
.sl-ft {
  border-top: 1px solid var(--sl-line);
  background: #09090b;
  color: var(--sl-muted);
  font-size: 14px;
}
.sl-ft-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: var(--sl-wrap);
  margin: 0 auto;
  padding: 56px var(--sl-gutter) 40px;
}
.sl-ft-about {
  max-width: 420px;
}
.sl-ft-about p {
  margin-top: 16px;
  line-height: 1.7;
  word-break: keep-all;
}
.sl-brand--footer {
  font-size: 16px;
}
.sl-ft-links {
  display: flex;
  gap: 64px;
}
.sl-ft-links h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.sl-ft-links a {
  display: block;
  padding: 5px 0;
  color: var(--sl-muted);
}
.sl-ft-links a:hover {
  color: #fff;
}
.sl-ft-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--sl-wrap);
  margin: 0 auto;
  padding: 20px var(--sl-gutter) 28px;
  border-top: 1px solid var(--sl-line);
  font-size: 13px;
  word-break: keep-all;
}
.sl-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--sl-line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--sl-text);
  font-size: 13px;
  font-weight: 600;
}
.sl-top:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1100px) {
  .sl-search,
  .sl-account {
    display: none;
  }
  .sl-menu-btn {
    display: inline-flex;
    margin-left: auto;
  }
}
@media (min-width: 1101px) {
  .sl-drawer {
    display: none !important;
  }
}
@media (max-width: 767px) {
  :root {
    --sl-gutter: 16px;
    --sl-hd-h: 56px;
  }
  .sl-nav {
    display: none;
  }
  .sl-page {
    padding-top: 20px;
    padding-bottom: 56px;
  }
  .sl-ft-inner {
    padding-top: 40px;
  }
  .sl-ft-links {
    gap: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sl-hd *,
  .sl-ft *,
  .sl-btn,
  .sl-hd,
  .sl-search {
    transition: none !important;
  }
}
