:root{
  --bg:#05070b;
  --panel:#0b0f18;
  --panel2:#070a11;
  --line:rgba(255,255,255,.08);
  --text:#e8efff;
  --muted:rgba(232,239,255,.70);
  --muted2:rgba(232,239,255,.52);
  --cyan:#00e5ff;
  --blue:#4aa3ff;
  --amber:#ffb020;
  --red:#ff4d6d;
  --shadow: 0 14px 50px rgba(0,0,0,.55);
  --radius: 16px;
  --radius2: 20px;
  --max: 1280px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans KR", Helvetica, Arial, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 520px at 50% -15%, rgba(0,229,255,.12), transparent 60%),
    radial-gradient(820px 520px at 90% 10%, rgba(74,163,255,.10), transparent 60%),
    radial-gradient(700px 420px at 10% 25%, rgba(255,176,32,.06), transparent 60%),
    linear-gradient(180deg, #02040a 0%, #05070b 35%, #03040a 100%);
}
a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 16px}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(5,7,11,.64);
  border-bottom:1px solid var(--line);
}
.header{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:12px 0;
}
.brand{display:flex; align-items:center; gap:10px}
.logo{
  width:34px;height:34px;border-radius:12px;
  background: radial-gradient(circle at 30% 30%, rgba(0,229,255,.9), rgba(74,163,255,.35) 35%, rgba(255,255,255,.06) 70%);
  box-shadow: 0 0 24px rgba(0,229,255,.16);
  border:1px solid rgba(255,255,255,.10);
}
.brand b{font-size:15px; letter-spacing:.2px}
.brand small{display:block; color:var(--muted2); font-size:12px; margin-top:2px}

.actions{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.search{
  display:flex; align-items:center; gap:10px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  border-radius: 999px;
  padding:9px 12px;
}
.search input{
  width:240px; max-width:55vw;
  border:0; outline:0;
  background:transparent;
  color:var(--text);
  font-size:13px;
}
.kbd{
  font-family:var(--mono);
  font-size:11px;
  color:var(--muted2);
  border:1px solid rgba(255,255,255,.12);
  padding:3px 7px;
  border-radius:10px;
  background: rgba(255,255,255,.03);
}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border-radius: 14px;
  padding: 9px 12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-weight:900;
  font-size:13px;
  cursor:pointer;
  user-select:none;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover{background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18)}
.btn:active{transform: translateY(1px)}
.btnPrimary{
  border-color: rgba(0,229,255,.25);
  background: linear-gradient(180deg, rgba(0,229,255,.16), rgba(0,229,255,.06));
  box-shadow: 0 0 22px rgba(0,229,255,.14);
}
.btnDanger{
  border-color: rgba(255,77,109,.28);
  background: linear-gradient(180deg, rgba(255,77,109,.14), rgba(255,77,109,.06));
}

.panel{
  margin-top:14px;
  background: linear-gradient(180deg, rgba(11,15,24,.86), rgba(7,10,17,.86));
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.panelHead{
  padding:14px 14px 10px;
  border-bottom:1px solid rgba(255,255,255,.08);
  display:flex; align-items:flex-end; justify-content:space-between; gap:10px; flex-wrap:wrap;
}
.panelHead h1, .panelHead h2{margin:0; font-size:15px; letter-spacing:-.2px}
.panelHead .hint{color:var(--muted2); font-size:12px}
.panelBody{padding:12px 14px 14px}

.tabs{display:flex; gap:8px; flex-wrap:wrap}
.tab{
  font-size:12px; padding:7px 10px; border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  color: var(--muted2);
  background: rgba(255,255,255,.03);
  cursor:pointer;
  user-select:none;
}
.tab.active{border-color: rgba(74,163,255,.30); color: rgba(74,163,255,.95); background: rgba(74,163,255,.08)}
.metaLine{color:var(--muted2); font-size:12px; line-height:1.5}

.tableWrap{overflow:auto; border-radius: 14px; border:1px solid rgba(255,255,255,.10)}
table{width:100%; border-collapse:collapse; min-width: 720px; background: rgba(0,0,0,.14)}
thead th{
  text-align:left;
  font-size:12px;
  color:var(--muted2);
  padding:10px 10px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.14);
  white-space:nowrap;
}
tbody td{
  font-size:13px;
  padding:10px 10px;
  border-bottom:1px solid rgba(255,255,255,.06);
  color:var(--muted);
  white-space:nowrap;
}
tbody tr:hover{background: rgba(255,255,255,.03)}
.titleCell{max-width: 520px; white-space:normal}
.titleLink{
  font-weight:900;
  color: var(--text);
}
.badge{
  display:inline-block;
  font-size:11px;
  padding:3px 7px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  color: var(--muted2);
  background: rgba(0,0,0,.16);
  margin-left:8px;
}
.bRed{border-color: rgba(255,77,109,.25); color: rgba(255,77,109,.92); background: rgba(255,77,109,.07)}
.bCyan{border-color: rgba(0,229,255,.24); color: rgba(0,229,255,.92); background: rgba(0,229,255,.07)}
.bAmber{border-color: rgba(255,176,32,.24); color: rgba(255,176,32,.92); background: rgba(255,176,32,.07)}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
@media (max-width: 980px){ .grid{grid-template-columns: repeat(2, 1fr)} }
@media (max-width: 600px){ .grid{grid-template-columns: 1fr} }
.card{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding:14px;
}
.card:hover{background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16)}
.card strong{display:block; font-size:14px; margin-bottom:6px}
.card .sub{color:var(--muted2); font-size:12px; line-height:1.45}
.card .row{display:flex; gap:8px; flex-wrap:wrap; margin-top:10px}

hr.sep{border:0; border-top:1px solid rgba(255,255,255,.08); margin:12px 0}

.postTitle{font-size:18px; font-weight:1000; letter-spacing:-.3px; margin:6px 0 10px}
.postContent{
  color: var(--muted);
  font-size:13.5px;
  line-height:1.7;
  white-space:pre-wrap;
}
.small{color:var(--muted2); font-size:12px}
footer{
  padding: 16px 0 30px;
  color: var(--muted2);
  font-size:12px;
  line-height:1.5;
}
/* ===== DC-style extras (comments / pinned / alert) ===== */
.pinnedRow td{
  background: rgba(0,229,255,.05);
}
.pinnedRow:hover td{
  background: rgba(0,229,255,.08);
}

.alertBox{
  border:1px solid rgba(255,77,109,.26);
  background: rgba(255,77,109,.08);
  border-radius: 14px;
  padding:12px;
  color: var(--text);
}
.alertBox b{color: rgba(255,77,109,.95)}
.alertBox .small{margin-top:6px}

.commentWrap{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.14);
  border-radius: 14px;
  padding:12px;
}
.commentHead{
  display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap;
  margin-bottom:10px;
}
.commentHead .count{color: var(--muted2); font-size:12px}
.commentList{display:flex; flex-direction:column; gap:10px}
.comment{
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  border-radius: 12px;
  padding:10px;
}
.comment .meta{
  color: var(--muted2);
  font-size:12px;
  display:flex; gap:10px; flex-wrap:wrap;
  margin-bottom:6px;
}
.comment .body{
  color: var(--muted);
  font-size:13px;
  line-height:1.55;
  white-space:pre-wrap;
}
.commentComposer{
  margin-top:12px;
  display:flex; gap:10px; align-items:flex-start; flex-wrap:wrap;
}
.commentComposer textarea{
  flex: 1 1 420px;
  min-height: 54px;
}
.commentComposer .btn{padding:10px 12px}
/* ===== Ads ===== */
.adBox{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  border-radius: 14px;
  padding: 10px;
}
.adLabel{
  font-size: 11px;
  color: rgba(255,255,255,.55);
  margin-bottom: 6px;
}
.adInner{
  display:block;
  padding: 16px 12px;
  border-radius: 12px;
  border:1px dashed rgba(255,255,255,.18);
  color: rgba(255,255,255,.75);
  text-decoration:none;
  text-align:center;
}
.adInner:hover{
  border-color: rgba(0,229,255,.35);
}
.adNote{display:block;margin-top:8px;font-size:11px;opacity:.6}
