/* AUREA Network white-label tenant theme.
   Theme colors are injected per tenant by the provisioner. */
:root {
  --bg: #0D0A1A;
  --surface: #181230;
  --border: #3D3560;
  --text: #F4F0FA;
  --muted: #B3AEC9;
  --accent: #FF5C8A;
  --accent2: #8A7CFF;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  line-height: 1.6;
}
a { color: var(--accent); }
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--border);
  background: var(--surface); position: sticky; top: 0; z-index: 5;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 8px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0B0F1E; font-weight: 800; font-size: 15px;
  box-shadow: 0 0 14px var(--accent);
}
.brand-name { font-weight: 700; font-size: 18px; }
.header-right { display: flex; align-items: center; gap: 10px; }
.api-badge {
  font-size: 11.5px; color: var(--muted); border: 1px solid var(--border);
  border-radius: 999px; padding: 4px 10px; white-space: nowrap;
}
.api-badge.live { color: var(--accent); border-color: var(--accent); }
select {
  background: var(--bg); color: var(--text); border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 8px; font-size: 13.5px;
}
.hero { padding: 44px 20px 10px; text-align: center; }
.hero h1 {
  margin: 0 0 8px; font-size: clamp(30px, 6vw, 46px); font-weight: 800;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tagline { color: var(--muted); font-size: 16.5px; margin: 0 0 10px; }
.hero-note { color: var(--muted); font-size: 13.5px; max-width: 680px; margin: 0 auto; }
.cat-bar {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  padding: 18px 16px 4px;
}
.cat-bar button {
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 14px; font-size: 13px; cursor: pointer;
}
.cat-bar button.on { border-color: var(--accent); color: var(--accent); }
main { max-width: 1080px; margin: 0 auto; padding: 18px 16px 30px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.card {
  display: block; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--text);
  box-shadow: 0 0 0 rgba(0,0,0,0); transition: box-shadow .15s, border-color .15s;
}
.card:hover { border-color: var(--accent); box-shadow: 0 0 18px -4px var(--accent); }
.card-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.card-chip {
  display: inline-block; margin: 12px 14px 0; font-size: 11px; font-weight: 700;
  color: var(--accent2); text-transform: uppercase; letter-spacing: .06em;
}
.card-title { display: block; margin: 6px 14px 0; font-weight: 700; font-size: 16.5px; line-height: 1.45; }
.card-dek {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; margin: 6px 14px 0; color: var(--muted); font-size: 13.5px;
}
.card-date { display: block; margin: 10px 14px 14px; color: var(--muted); font-size: 12px; }
.status { color: var(--muted); text-align: center; padding: 14px 0; font-size: 14px; }
.reader { max-width: 760px; }
.back-link { font-size: 14px; }
.reader-cover { width: 100%; border-radius: 14px; border: 1px solid var(--border); margin-top: 14px; }
.reader-meta { color: var(--accent2); font-size: 13px; margin: 16px 0 4px; }
.reader-title { font-size: clamp(24px, 4.5vw, 34px); line-height: 1.35; margin: 0 0 16px; }
.article-body { font-size: 16.5px; }
.article-body p { margin: 0 0 14px; }
.article-body img { max-width: 100%; border-radius: 10px; }
.source-line { color: var(--muted); font-size: 12.5px; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 24px; }
.site-footer {
  border-top: 1px solid var(--border); padding: 22px 20px 30px;
  color: var(--muted); font-size: 13px; text-align: center;
  max-width: 860px; margin: 0 auto;
}
