/* Ycash Labs — light base; dark from OS preference or an explicit choice.
   Mirrors prlstats' data-theme + prefers-color-scheme pattern:
   :not([data-theme="light"]) lets manual light beat OS dark;
   [data-theme="dark"] lets manual dark beat OS light. */

:root {
  color-scheme: light;
  --bg: #f5f5f3;
  --surface: #fcfcfb;
  --surface-2: #f0f0ed;
  --border: #e0e0dc;
  --text: #0b0b0b;
  --text-2: #52514e;
  --text-3: #6b6963;
  --accent: #c48a1a;
  --accent-dim: #9a6c14;
  --accent-wash: rgba(196, 138, 26, 0.10);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0a0a0b;
    --surface: #141416;
    --surface-2: #1b1b1e;
    --border: #28282d;
    --text: #f4f4f2;
    --text-2: #a5a49e;
    --text-3: #8a8984;
    --accent: #f5a623;
    --accent-dim: #c48a1a;
    --accent-wash: rgba(245, 166, 35, 0.12);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0a0b;
  --surface: #141416;
  --surface-2: #1b1b1e;
  --border: #28282d;
  --text: #f4f4f2;
  --text-2: #a5a49e;
  --text-3: #8a8984;
  --accent: #f5a623;
  --accent-dim: #c48a1a;
  --accent-wash: rgba(245, 166, 35, 0.12);
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 8px;
  z-index: 100;
  background: var(--surface);
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
}

/* Sticky top bar — same approach as prlstats (.nav sticky, solid surface, bottom border) */
.nav {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 40;
}

.nav-in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 58px;
}

.brand {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 4px;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }

.brand .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-wash);
  flex: none;
}

.nav .spacer { flex: 1; }

.theme-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  border-radius: 6px;
  padding: 3px 8px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  position: sticky;
  right: 0;
  flex: none;
}
.theme-btn:hover {
  color: var(--text);
  border-color: var(--text-3);
}

@media (max-width: 560px) {
  .nav-in {
    padding: 0 16px;
    gap: 14px;
  }
  .nav .brand { font-size: 16px; }
}

/* Centered coming-soon body */
.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}

.hero {
  text-align: center;
  max-width: 36rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
}

.hero p {
  margin: 14px 0 0;
  font-size: 16px;
  color: var(--text-2);
}

footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-3);
  font-size: 13px;
}
footer .in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
footer .spacer { flex: 1; }
