:root{
  --color-bg:#0b0f19;
  --color-paper:#151b2b;
  --color-ink:#e2e8f0;
  --color-muted:#94a3b8;
  --color-line:#334155;
  --color-soft:#1e293b;
  --color-accent:#10b981;
  --color-accent2:#0ea5e9;
  --color-shadow:0 10px 30px rgba(0,0,0,.5);
  --border-radius:18px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--color-ink);
  background:linear-gradient(180deg,#0b0f19 0%, #111827 48%, #0f172a 100%);
  background-attachment:fixed;
  line-height:1.65;
}
a{color:var(--color-accent); text-decoration:none}
a:hover{text-decoration:underline}
.site-header{
  background:#0f172a;
  color:#fff;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  padding:10px 16px;
  position:sticky;
  top:0;
  z-index:50;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.header-brand-wrap{
  display:inline-flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}
.header-logo{
  height:42px;
  width:auto;
  display:block;
}
.site-header .tag-item{
  display:inline-block;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);
  padding:4px 10px;
  border-radius:999px;
  font-weight:700;
}
.site-header .back-link{color:#e2e8f0; font-weight:700}
.container{max-width:1080px; margin:0 auto; padding:22px 16px 70px;}
.panel-box{
  background:var(--color-paper);
  border:1px solid var(--color-line);
  border-radius:var(--border-radius);
  box-shadow:var(--color-shadow);
  overflow:hidden;
  margin-top:10px;
}
.post-content{padding:28px 22px;}
.post-content p{margin:0 0 14px}
.category-label{
  display:inline-block;
  font-weight:700;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--color-accent);
  background:rgba(16,185,129,.08);
  border:1px solid rgba(16,185,129,.25);
  padding:6px 10px;
  border-radius:999px;
  margin-bottom:12px;
}
h1{
  margin:0 0 14px 0;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height:1.15;
  letter-spacing:-.02em;
}
h2{
  margin:26px 0 10px;
  font-size:21px;
  letter-spacing:-.01em;
  color:var(--color-accent);
}
h3{margin:18px 0 8px; font-size:17px; color:var(--color-ink);}
.muted{color:var(--color-muted); font-size:14px}
ul{padding-left:22px; margin:0 0 14px}
li{margin-bottom:6px}
.info-box{
  background:var(--color-soft);
  border:1px solid var(--color-line);
  border-radius:16px;
  padding:14px 16px;
  margin:16px 0;
}
.info-box strong{color:var(--color-accent2);}
.info-box p:last-child{margin-bottom:0}
table.data{
  width:100%;
  border-collapse:collapse;
  margin:14px 0 18px;
  font-size:14px;
  background:var(--color-soft);
  border:1px solid var(--color-line);
  border-radius:12px;
  overflow:hidden;
}
table.data th, table.data td{
  text-align:left;
  padding:10px 12px;
  border-bottom:1px solid var(--color-line);
  vertical-align:top;
}
table.data th{color:var(--color-accent2); font-weight:700; white-space:nowrap}
table.data tr:last-child td, table.data tr:last-child th{border-bottom:0}
.table-wrap{overflow-x:auto}
.site-footer{
  margin-top:18px;
  background:#0f172a;
  color:#e2e8f0;
  border-radius:18px;
  padding:18px;
  font-size:13px;
  border:1px solid var(--color-line);
}
.site-footer strong{color:#fff}
.footer-nav{
  display:flex; gap:8px 18px; flex-wrap:wrap;
  list-style:none; padding:0; margin:0 0 14px;
}
.footer-nav li{margin:0}
.footer-nav a.active{color:#fff; text-decoration:underline}
.divider{height:1px;background:rgba(255,255,255,.10); margin:14px 0;}
.brand-line{
  display:flex; gap:10px; align-items:center; flex-wrap:wrap;
  color:#94a3b8;
  font-size:12px;
}
