@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;800&family=Playfair+Display:wght@600;700&display=swap");

:root {
  --nt-bg: #07050b;
  --nt-card: #14111b;
  --nt-line: rgba(224, 184, 74, .22);
  --nt-gold: #e0b84a;
  --nt-rose: #ff3d6e;
  --nt-cream: #f4ead6;
  --nt-mute: #9a8f7a;
  --bs-body-bg: #07050b;
  --bs-body-color: #f4ead6;
  --bs-link-color: #e0b84a;
  --bs-link-hover-color: #ffd56a;
  --bs-border-color: rgba(224, 184, 74, .22);
}

html, body.nt-body {
  background:
    radial-gradient(900px 380px at 12% -8%, rgba(224,184,74,.13), transparent 55%),
    radial-gradient(640px 300px at 100% 0%, rgba(255,61,110,.09), transparent 50%),
    var(--nt-bg);
  color: var(--nt-cream);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
#hd_login_msg, #tnb, #hd_pop, #popular, .popular_inner { display: none !important; }

.nt-wordmark { line-height: 1.05; color: inherit; }
.nt-wordmark .en {
  display: block; font-size: 10px; letter-spacing: .28em;
  color: var(--nt-rose); font-weight: 800;
}
.nt-wordmark strong {
  display: block; font-family: "Playfair Display", Georgia, serif;
  font-size: 26px; color: var(--nt-gold); font-weight: 700;
}

.nt-topbar {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(7,5,11,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nt-line);
}
.nt-search .form-control {
  background: #1a1624; border: 1px solid var(--nt-line); color: #fff; height: 42px;
}
.nt-search .form-control::placeholder { color: #7d7464; }
.nt-search .form-control:focus { background: #1a1624; color: #fff; border-color: var(--nt-gold); box-shadow: none; }

.btn-nt {
  background: var(--nt-rose); border-color: var(--nt-rose); color: #fff; font-weight: 800;
}
.btn-nt:hover { background: #ff5a84; border-color: #ff5a84; color: #fff; }
.btn-nt-ghost {
  background: transparent; border: 1px solid var(--nt-line); color: var(--nt-gold); font-weight: 700;
}
.btn-nt-ghost:hover { border-color: var(--nt-gold); color: var(--nt-gold); }
.btn-nt-gold { background: var(--nt-gold); border-color: var(--nt-gold); color: #1a1204; font-weight: 800; }

.nt-gnb { background: #100c16; border-bottom: 2px solid var(--nt-rose); }
.nt-gnb .nav { overflow: visible; flex-wrap: wrap; }
.nt-gnb .nav-link {
  color: #fff; font-weight: 800; font-size: 14px; white-space: nowrap; padding: .85rem .95rem;
}
.nt-gnb .nav-link:hover, .nt-gnb .nav-link.active { color: var(--nt-gold); }

.nt-kicker {
  color: var(--nt-rose); letter-spacing: .28em; font-size: 11px; font-weight: 800; margin: 0 0 8px;
}
.nt-kicker a { color: var(--nt-rose); }
.nt-muted { color: var(--nt-mute); }

.nt-hero {
  position: relative; overflow: hidden; border-radius: 18px; min-height: 240px;
  border: 1px solid var(--nt-line); background: #0b0910;
}
.nt-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.nt-hero .copy {
  position: relative; z-index: 1; padding: 36px 28px 28px;
  background: linear-gradient(90deg, rgba(7,5,11,.9), rgba(7,5,11,.2) 70%);
}
.nt-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin: 0 0 8px; color: #fff; }
.nt-hero p { max-width: 36rem; color: var(--nt-mute); margin: 0; line-height: 1.7; }
.nt-hero-xl { min-height: 380px; }
.nt-hero-xl .copy { padding: 56px 32px 40px; }

body.nt-home #container_wr > .row { display: block; }
body.nt-home #container,
body.nt-home #aside { width: 100% !important; max-width: 100%; float: none !important; }
body.nt-home #aside {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px;
}

.nt-sec { margin-bottom: 28px; }
.nt-sec-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.nt-sec-head h2 { font-size: 1.45rem; font-weight: 800; color: #fff; margin: 0; }
.nt-sec-head .more { margin-left: auto; color: var(--nt-gold); font-weight: 700; font-size: 13px; }

.nt-shopgrid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
}
.nt-shopcard {
  position: relative; display: block; overflow: hidden; border-radius: 14px;
  aspect-ratio: 3/4; border: 1px solid var(--nt-line); background: #111;
}
.nt-shopcard img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .45s ease;
}
.nt-shopcard:hover img { transform: scale(1.08); }
.nt-shopcard .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 48px 12px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.88));
}
.nt-shopcard em { display: block; color: var(--nt-rose); font-size: 11px; font-style: normal; letter-spacing: .12em; font-weight: 800; }
.nt-shopcard strong { display: block; font-size: 16px; color: #fff; }

.nt-choice {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px;
}
.nt-choice a { display: block; overflow: hidden; border-radius: 10px; aspect-ratio: 1; }
.nt-choice img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.nt-choice a:hover img { transform: scale(1.1); }

.nt-vids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.nt-vid {
  position: relative; display: block; overflow: hidden; border-radius: 14px;
  aspect-ratio: 16/10; background: #000; border: 1px solid var(--nt-line);
}
.nt-vid video, .nt-vid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nt-vid .play {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--nt-rose); color: #fff; font-size: 18px;
  display: grid; place-items: center; font-weight: 800;
}
.nt-vid strong {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.85));
  color: #fff; font-size: 14px;
}

.nt-mix { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nt-mix-item {
  display: grid; grid-template-columns: 120px 1fr; gap: 12px;
  background: var(--nt-card); border: 1px solid var(--nt-line); border-radius: 14px; padding: 10px;
}
.nt-mix-item .thumb img, .nt-mix-item .nt-thumb-ph {
  width: 120px; height: 84px; object-fit: cover; border-radius: 10px; display: block;
}
.nt-mix-item h3 { font-size: 16px; font-weight: 800; margin: 0 0 6px; line-height: 1.35; }
.nt-mix-item h3 a:hover { color: var(--nt-gold); }
.nt-mix-item p { margin: 0 0 6px; color: #cbbfa6; font-size: 13px; line-height: 1.5; }
.nt-mix-item span { color: var(--nt-mute); font-size: 12px; }

.nt-shops { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.nt-shops a {
  display: block; text-align: center; padding: 12px 6px; font-weight: 800; font-size: 13px;
  background: var(--nt-card); border: 1px solid var(--nt-line); border-radius: 12px;
}
.nt-shops a:hover { border-color: var(--nt-gold); color: var(--nt-gold); }

.nt-panel {
  background: var(--nt-card); border: 1px solid var(--nt-line); border-radius: 16px; padding: 16px 18px; height: 100%;
}
.nt-panel h2, .nt-panel h3 {
  font-size: 16px; color: var(--nt-gold); margin: 0 0 12px; padding-bottom: 10px;
  border-bottom: 1px solid var(--nt-line); display: flex; justify-content: space-between; align-items: center;
  font-weight: 800;
}
.nt-panel h2 a, .nt-panel h3 a { color: var(--nt-gold); }
.nt-panel .more { font-size: 12px; color: var(--nt-mute) !important; font-weight: 500; }
.nt-panel ul { list-style: none; margin: 0; padding: 0; }
.nt-panel li {
  display: flex; gap: 8px; align-items: baseline; padding: 9px 0;
  border-bottom: 1px solid #241f2d; font-size: 15px; font-weight: 700; line-height: 1.4;
}
.nt-panel li:last-child { border-bottom: 0; }
.nt-panel li a { flex: 1; min-width: 0; }
.nt-panel li a:hover { color: var(--nt-gold); }
.nt-panel time, .nt-panel .lt_date { color: var(--nt-mute); font-size: 12px; font-weight: 500; margin-left: auto; }
.nt-panel .cmt { color: var(--nt-rose); font-weight: 800; font-size: 12px; }
.nt-pic { display: block; }
.nt-pic img, .nt-thumb-ph {
  width: 100%; height: 120px; object-fit: cover; border-radius: 10px; background: #1c1826; display: block;
}
.nt-pic strong { display: block; margin-top: 8px; font-size: 14px; line-height: 1.35; }

.nt-pagehead { margin-bottom: 18px; }
.nt-pagehead h1 { font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 800; color: #fff; margin: 0 0 8px; }
.nt-lead { color: var(--nt-mute); margin: 0; line-height: 1.6; }

.nt-post {
  background: var(--nt-card); border: 1px solid var(--nt-line); border-radius: 16px;
  padding: 16px; margin-bottom: 12px;
}
.nt-post:hover { border-color: rgba(224,184,74,.5); }
.nt-post.is-notice { border-color: var(--nt-gold); }
.nt-post-title { font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-weight: 800; line-height: 1.35; margin: 0 0 8px; }
.nt-post-title a { color: #fff; }
.nt-post-title a:hover { color: var(--nt-gold); }
.nt-post-title em { font-style: normal; color: var(--nt-gold); font-size: .8em; }
.nt-excerpt { color: #cbbfa6; font-size: 15px; line-height: 1.65; margin: 0 0 8px; }
.nt-meta { color: var(--nt-mute); font-size: 13px; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.nt-meta .cmt { color: var(--nt-rose); font-weight: 800; }
.nt-thumb-link img, .nt-thumb-ph {
  width: 100%; height: 110px; object-fit: cover; border-radius: 12px; background: #1c1826;
}
.nt-thumb-ph {
  display: grid; place-items: center; color: var(--nt-gold); font-size: 11px; letter-spacing: .2em; font-weight: 800;
}
.nt-new { background: var(--nt-rose); color: #fff; border-radius: 4px; padding: 1px 6px; font-size: 10px; margin-left: 6px; }
.nt-empty { text-align: center; color: var(--nt-mute); padding: 48px 12px; }

/* detail — content first */
.nt-article { background: var(--nt-card); border: 1px solid var(--nt-line); border-radius: 20px; padding: 28px 28px 36px; }
.nt-article-head { margin-bottom: 22px; }
.nt-article-head h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; line-height: 1.3;
  color: #fff; margin: 0 0 12px;
}
.nt-toolbar { display: flex; gap: 12px; margin-top: 12px; font-size: 13px; font-weight: 700; }
.nt-toolbar a { color: var(--nt-gold); }
.nt-body { font-size: 1.125rem; line-height: 1.95; color: #efe6d4; }
.nt-body p { margin: 0 0 1.1em; }
.nt-body a { color: var(--nt-gold); text-decoration: underline; }
.nt-body img, #bo_v_con img, #bo_v_img img {
  display: block; max-width: 100%; height: auto; border-radius: 12px; margin: 16px 0;
}
.nt-good { text-align: center; margin: 28px 0 8px; }
.nt-cta {
  margin: 24px 0; padding: 16px 18px; border-radius: 14px;
  border: 1px dashed var(--nt-line); background: #1a1522;
}
.nt-cta strong { color: var(--nt-gold); display: block; margin-bottom: 4px; }
.nt-cta a { color: var(--nt-rose); font-weight: 800; }
.nt-nextprev { border-top: 1px solid var(--nt-line); margin-top: 24px; }
.nt-nextprev a { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--nt-line); font-weight: 700; }
.nt-nextprev span { color: var(--nt-gold); min-width: 2.5rem; }

.nt-side {
  background: var(--nt-card); border: 1px solid var(--nt-line); border-radius: 16px;
  padding: 16px; margin-bottom: 12px;
}
.nt-side h3 { color: var(--nt-gold); font-size: 14px; margin: 0 0 10px; font-weight: 800; }
.nt-side ul { list-style: none; margin: 0; padding: 0; }
.nt-side li { padding: 8px 0; border-bottom: 1px solid #241f2d; font-size: 14px; }
.nt-side li:last-child { border-bottom: 0; }
.nt-side a:hover { color: var(--nt-gold); }

.nt-foot { background: #07050a; color: var(--nt-mute); border-top: 1px solid var(--nt-line); margin-top: 8px; }
.nt-top { position: fixed; right: 16px; bottom: 16px; z-index: 20; }

/* gnuboard widgets that still emit these IDs */
#ol_before, #ol_after, .ol {
  background: var(--nt-card); border: 1px solid var(--nt-line); border-radius: 16px;
  padding: 16px; margin-bottom: 12px; color: var(--nt-cream);
}
#ol_before h2, #ol_after strong { color: var(--nt-gold); font-size: 14px; }
#ol_id, #ol_pw, .frm_input, input[type=text], input[type=password], input[type=email], select, textarea {
  background: #1c1826; color: #fff; border: 1px solid var(--nt-line); border-radius: 8px; padding: .5rem .75rem;
}
#ol_submit, .btn_submit, #btn_submit {
  background: var(--nt-rose); color: #fff; border: 0; border-radius: 8px; font-weight: 800; padding: .5rem 1rem;
}
.btn_b01, .btn_b02, .btn_admin, .btn_cancel, .btn_frmline {
  display: inline-block; padding: .4rem .8rem; border-radius: 8px;
  background: #1c1826; color: var(--nt-cream); border: 1px solid var(--nt-line);
}

#bo_w { background: var(--nt-card); border: 1px solid var(--nt-line); border-radius: 16px; padding: 22px; }
#bo_w .full_input, #wr_subject { width: 100%; }
.write_div { margin-bottom: 12px; }

.cmt_btn {
  width: 100%; background: transparent; border: 0; color: var(--nt-gold);
  text-align: left; padding: 16px 0 8px; font-size: 16px; font-weight: 800;
}
#bo_vc, #bo_vc_w { color: var(--nt-cream); }
#bo_vc h2, #bo_vc_w h2 { color: var(--nt-gold); font-size: 16px; }
#bo_vc article {
  background: #1a1522; border: 1px solid #2a2434; border-radius: 12px; padding: 12px; margin: 8px 0;
}
#bo_vc_w { margin-top: 16px; padding: 16px; background: #1a1522; border-radius: 14px; border: 1px solid var(--nt-line); }

.pg_wrap { text-align: center; margin: 18px 0; }
.pg_page, .pg_current, .pg_start, .pg_end, .pg_next, .pg_prev {
  display: inline-block; background: #1c1826; color: #fff; border-radius: 8px;
  padding: 6px 10px; margin: 0 3px;
}
.pg_current { background: var(--nt-rose); }

.bo_sch_wrap:not([hidden]) { position: fixed; inset: 0; z-index: 2000; display: block; }
.bo_sch_bg { position: absolute; inset: 0; background: rgba(0,0,0,.65); }
.bo_sch {
  position: relative; z-index: 1; max-width: 420px; margin: 18vh auto 0;
  background: var(--nt-card); border: 1px solid var(--nt-line); border-radius: 16px; padding: 20px;
}
.bo_sch h3 { color: var(--nt-gold); }

#mb_login, .mbskin, #fregisterform, .new_win {
  background: var(--nt-card); color: var(--nt-cream); border: 1px solid var(--nt-line);
  border-radius: 16px; padding: 24px; margin: 20px auto; max-width: 520px;
}

@media (max-width: 991.98px) {
  .nt-actions .btn-nt-ghost { display: none; }
  .nt-article { padding: 18px 16px 28px; }
  .nt-hero .copy { padding: 28px 16px 20px; }
  .nt-shops { grid-template-columns: repeat(2, 1fr); }
  .nt-thumb-link img, .nt-thumb-ph { height: 92px; }
  body.nt-home #aside { grid-template-columns: 1fr; }
  .nt-shopgrid { grid-template-columns: repeat(2, 1fr); }
  .nt-choice { grid-template-columns: repeat(4, 1fr); }
  .nt-vids, .nt-mix { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .nt-wordmark strong { font-size: 22px; }
  .nt-post-title { font-size: 1.12rem; }
  .nt-shopgrid { grid-template-columns: 1fr 1fr; }
  .nt-mix-item { grid-template-columns: 88px 1fr; }
  .nt-mix-item .thumb img, .nt-mix-item .nt-thumb-ph { width: 88px; height: 66px; }
}
