:root {
  --bg: #f4f1ea;
  --paper: #fffdf8;
  --ink: #1c1915;
  --muted: #6b645a;
  --line: #e6dfd2;
  --accent: #0f6e56;
  --accent-soft: #e4f4ee;
  --info: #1e4d7b;
  --info-soft: #e6eef6;
  --warn: #9a4a12;
  --warn-soft: #f8eadc;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  background:
    radial-gradient(1200px 500px at 10% -10%, #efe6d4 0%, transparent 55%),
    var(--bg);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--info); }
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.02em;
  font-size: 17px;
  line-height: 1.2;
}
.brand span { color: var(--accent); display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.nav a {
  text-decoration: none;
  color: #3d382f;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
}
.nav a:hover { background: #f3eee4; }
.nav a.active { background: var(--accent-soft); color: #0d5a46; }
.nav a .soon {
  display: inline-block;
  margin-left: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--warn);
  vertical-align: 1px;
}
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 20px 64px;
  width: 100%;
  flex: 1;
}
.hero {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 36px 34px;
  box-shadow: 0 10px 30px rgba(70, 50, 20, .06);
}
.kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}
h1 { font-size: 32px; line-height: 1.25; margin: 0 0 10px; }
.lead { color: var(--muted); margin: 0; max-width: 38em; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 16px;
  text-decoration: none;
  color: inherit;
  display: block;
}
.card:hover { border-color: #d4cbb8; }
.card b { display: block; font-size: 17px; margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card .meta {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}
.card .meta.wait { color: var(--warn); }
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  margin-top: 16px;
}
h2 { margin: 0 0 8px; font-size: 22px; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; }
.log-list { list-style: none; margin: 16px 0 0; padding: 0; }
.log-list li { border-bottom: 1px solid var(--line); }
.log-list li:last-child { border-bottom: 0; }
.log-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  text-decoration: none;
  color: inherit;
  padding: 14px 2px;
}
.log-list a:hover b { color: var(--accent); }
.log-list time { color: var(--muted); font-size: 13px; white-space: nowrap; }
.soon-box {
  text-align: center;
  padding: 48px 20px;
}
.soon-box h1 { font-size: 28px; }
.crumb { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.crumb a { color: var(--muted); text-decoration: none; }
.site-footer {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 0 20px 36px;
}
.intro p { margin: 0 0 10px; color: var(--muted); max-width: 40em; }
.intro p:last-child { margin-bottom: 0; }
.drop {
  margin-top: 16px;
  border: 2px dashed #d4cbb8;
  border-radius: 16px;
  padding: 28px 18px;
  text-align: center;
  background: #faf7f1;
  color: var(--muted);
  transition: border-color .15s, background .15s;
}
.drop.over { border-color: var(--accent); background: var(--accent-soft); color: #11493a; }
.drop b { display: block; color: var(--ink); margin-bottom: 6px; }
.drop input { display: none; }
.drop .pick {
  display: inline-block;
  margin-top: 10px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.status { margin-top: 10px; font-size: 13px; color: var(--muted); }
.status.err { color: #8a4038; }
.status.ok { color: #0d5a46; }
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.album-grid a {
  display: block;
  background: #f3eee4;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 1;
}
.album-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.empty { margin-top: 18px; color: var(--muted); font-size: 14px; }
.status-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.status-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(30, 20, 5, .03);
}
.status-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b8b1a2;
  flex: none;
  transition: background .25s ease, box-shadow .25s ease;
}
.status-pill .s-sep {
  width: 1px;
  height: 12px;
  background: var(--line);
  flex: none;
}
.status-pill .s-value {
  color: #948c7c;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.status-pill.on .dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.status-pill.on .s-value { color: #0d5a46; }
@media (max-width: 640px) {
  .site-header .inner { flex-direction: column; align-items: flex-start; padding: 12px 14px; }
  .wrap { padding: 20px 14px 48px; }
  .hero { padding: 24px 18px; }
  h1 { font-size: 24px; }
}
