/* steak — white + orange theme */

:root {
  --bg: #ffffff;
  --bg-secondary: #ffffff;
  --bg-tertiary: #fff7f0;
  --border: #f0e0d0;
  --border-soft: #f7ece2;
  --text: #1a120e;
  --text-secondary: #5c4f47;
  --text-tertiary: #8a7b72;
  --accent: #ea580c;
  --accent-hover: #c2410c;
  --accent-soft: #fff0e6;
  --accent-text: #ffffff;
  --hover: #fff4eb;
  --sear: #c85a2a;
  --ember: #ed7a32;
  --gold: #ea580c;
  --good: #16a34a;
  --bad: #dc2626;
  --radius: 14px;
  --sidebar-w: 232px;
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, "Courier New", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background:
    radial-gradient(circle at 90% -5%, rgba(234, 88, 12, 0.1), transparent 34rem),
    radial-gradient(circle at 0% 100%, rgba(237, 122, 50, 0.08), transparent 28rem),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ---------------- Sidebar ---------------- */
.sidebar {
  width: var(--sidebar-w);
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  padding: 1.4rem 0.85rem;
  position: fixed;
  inset: 0 auto 0 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 30;
  box-shadow: 2px 0 16px rgba(234, 88, 12, 0.04);
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.35rem 0.5rem 1.4rem;
}

.logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 3px;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.15);
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo-text span { color: var(--accent); }

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.nav-item .ico { width: 18px; text-align: center; opacity: 0.85; }
.nav-item:hover { background: var(--hover); color: var(--accent); }
.nav-item.active { background: var(--accent); color: var(--accent-text); }
.nav-item.active .ico { opacity: 1; }

.sidebar-foot {
  padding: 0.75rem 0.6rem 0.2rem;
  font-size: 0.72rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

.sidebar-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: auto;
  margin-bottom: 0.5rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.12s;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.08);
}
.sidebar-x:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}
.sidebar-x .x-mark { font-size: 1rem; line-height: 1; }

/* ---------------- Layout ---------------- */
.main {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: transparent;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.topbar h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.content {
  padding: clamp(1.25rem, 3vw, 2.75rem);
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.content--wide {
  max-width: 1280px;
}

/* ---------------- Docs (FAT) ---------------- */
.docs-page { width: 100%; }

.docs-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 4rem);
  margin-bottom: 2.5rem;
  background:
    radial-gradient(circle at 95% 0%, rgba(234, 88, 12, 0.18), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(237, 122, 50, 0.12), transparent 35%),
    #ffffff;
  box-shadow: 0 20px 60px rgba(234, 88, 12, 0.08);
}

.docs-hero::after {
  content: "";
  position: absolute;
  right: -4%;
  bottom: -30%;
  width: min(42vw, 420px);
  aspect-ratio: 1;
  background: url("steak-logo.png") center / contain no-repeat;
  opacity: 0.1;
  transform: rotate(-10deg);
  pointer-events: none;
}

.docs-hero .badge { margin-bottom: 1.25rem; }

.docs-hero h1 {
  max-width: 900px;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.docs-hero h1 span { color: var(--accent); }

.docs-hero .lede {
  max-width: 680px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.docs-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.docs-stat-pill {
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-tertiary);
  min-width: 140px;
}

.docs-stat-pill strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.docs-stat-pill span {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.docs-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.docs-toc {
  position: sticky;
  top: 5rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.05);
}

.docs-toc h3 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: 0.85rem;
  font-weight: 800;
}

.docs-toc a {
  display: block;
  padding: 0.45rem 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: 0.65rem;
  transition: color 0.15s, border-color 0.15s;
}

.docs-toc a:hover { color: var(--accent); border-left-color: var(--accent); }

.docs-body { min-width: 0; }

.docs-section {
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-soft);
}

.docs-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.docs-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1rem;
}

.docs-section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  margin: 1.75rem 0 0.65rem;
}

.docs-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.docs-section ul,
.docs-section ol {
  color: var(--text-secondary);
  line-height: 1.85;
  margin: 0 0 1.25rem 1.35rem;
  font-size: 1.02rem;
}

.docs-section li { margin-bottom: 0.5rem; }

.docs-section code {
  font-family: var(--mono);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.12rem 0.45rem;
  font-size: 0.88em;
  color: var(--accent-hover);
}

.docs-section a { color: var(--accent); font-weight: 600; }

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.docs-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.04);
}

.docs-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.docs-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.docs-card p {
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.6;
}

.docs-steps {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.docs-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-tertiary);
}

.docs-step-num {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 800;
}

.docs-step h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.docs-step p {
  font-size: 0.95rem;
  margin: 0;
}

.docs-table-wrap {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin: 1.5rem 0;
  background: #fff;
}

table.docs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

table.docs-table th {
  text-align: left;
  padding: 1rem 1.25rem;
  background: var(--bg-tertiary);
  color: var(--text-tertiary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

table.docs-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-secondary);
  vertical-align: top;
}

table.docs-table tr:last-child td { border-bottom: none; }

table.docs-table code { font-size: 0.82em; }

.docs-faq {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.docs-faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  background: #fff;
}

.docs-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  list-style: none;
}

.docs-faq-item summary::-webkit-details-marker { display: none; }

.docs-faq-item p {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
}

.docs-banner {
  margin-top: 2rem;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 20px;
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #fff;
  text-align: center;
}

.docs-banner h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #fff;
}

.docs-banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
}

.docs-banner .connectAndClaim {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.docs-banner .connectAndClaim:hover { background: #fff7f0; }

.callout {
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  background: var(--bg-tertiary);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.callout strong { color: var(--text); }

@media (max-width: 960px) {
  .docs-layout { grid-template-columns: 1fr; }
  .docs-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }
  .docs-toc h3 { width: 100%; }
  .docs-toc a {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    border-left: 1px solid var(--border);
    font-size: 0.8rem;
  }
}

/* legacy .docs class kept for compatibility */
.docs { max-width: none; }
.docs h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1.25rem; color: var(--text); }
.docs h2 { font-size: 1.3rem; margin: 2rem 0 0.75rem; color: var(--accent); }
.docs p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 1rem; }
.docs ul { color: var(--text-secondary); line-height: 1.75; margin: 0 0 1rem 1.25rem; }
.docs code {
  font-family: var(--mono);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.1rem 0.4rem;
  font-size: 0.85em;
  color: var(--accent-hover);
}

/* ---------------- Buttons ---------------- */
.connectAndClaim {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-text);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s, background 0.15s, opacity 0.15s;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.22);
}
.connectAndClaim:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.connectAndClaim:active { transform: translateY(0); }
.connectAndClaim:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-text);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s, background 0.15s, opacity 0.15s;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.22);
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

.btn.secondary {
  background: var(--bg-tertiary);
  border-color: var(--border);
  color: var(--text);
  box-shadow: none;
}
.btn.secondary:hover { background: var(--hover); border-color: var(--accent); color: var(--accent); }

.btn.ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text-secondary);
  box-shadow: none;
}
.btn.ghost:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

/* ---------------- Wallet chip ---------------- */
.wallet-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-tertiary);
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  box-shadow: none;
  cursor: pointer;
}
.wallet-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 6px rgba(22, 163, 74, 0.5); }

/* ---------------- Cards ---------------- */
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-secondary);
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.05);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.stat-value { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.stat-value.mono { font-family: var(--mono); color: var(--accent); }
.stat-sub { margin-top: 0.35rem; font-size: 0.8rem; color: var(--text-secondary); }

.badge {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.badge.warm { background: #fff0e6; color: var(--sear); }

/* ---------------- Hero (home) ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(2.5rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 90% 10%, rgba(234, 88, 12, 0.12), transparent 24rem),
    radial-gradient(circle at 5% 90%, rgba(237, 122, 50, 0.1), transparent 22rem),
    #ffffff;
  box-shadow: 0 12px 40px rgba(234, 88, 12, 0.07);
}
.hero::after {
  content: "";
  position: absolute;
  right: -6%;
  bottom: -22%;
  width: min(46vw, 460px);
  aspect-ratio: 1;
  background: url("steak-logo.png") center / contain no-repeat;
  opacity: 0.14;
  transform: rotate(-8deg);
  pointer-events: none;
}
.hero h1 {
  max-width: 720px;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 1.2rem 0 1.25rem;
  color: var(--text);
}
.hero h1 span { color: var(--accent); }
.hero p.lede {
  max-width: 560px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.how {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.how .card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--text); }
.how .card .num {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 0.8rem;
}
.how .card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.55; }

.section-head { margin: 2.5rem 0 1rem; }
.section-head h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.section-head p { color: var(--text-secondary); margin-top: 0.3rem; font-size: 0.92rem; }

/* ---------------- Stake page ---------------- */
.stake-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem;
  align-items: start;
}
@media (max-width: 880px) { .stake-grid { grid-template-columns: 1fr; } }

.gate {
  border: 1px dashed #f5c4a8;
  border-radius: var(--radius);
  background: #fff5f0;
  padding: 1.25rem;
  color: var(--text-secondary);
  display: none;
}
.gate.show { display: block; }
.gate strong { color: var(--bad); display: block; margin-bottom: 0.35rem; }

.input-row {
  display: flex;
  gap: 0.6rem;
  margin: 1rem 0;
}
.input-row input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-family: var(--mono);
  font-size: 1rem;
}
.input-row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12); }

.timer-ring {
  display: grid;
  place-items: center;
  gap: 0.35rem;
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-tertiary);
  border-radius: 12px;
}
.timer-ring .count {
  font-family: var(--mono);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.muted { color: var(--text-secondary); }
.disabled-panel { opacity: 0.45; pointer-events: none; filter: grayscale(0.2); }

/* ---------------- Explorer tables ---------------- */
.explorer-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.explorer-toolbar .search {
  flex: 1;
  min-width: 180px;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: 0.9rem;
}
.explorer-toolbar .search:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1); }

.table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.05);
}
table.explorer {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
table.explorer thead th {
  text-align: left;
  padding: 0.85rem 1rem;
  background: var(--bg-tertiary);
  color: var(--text-tertiary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
table.explorer tbody td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-secondary);
  font-family: var(--mono);
}
table.explorer tbody tr:last-child td { border-bottom: none; }

.empty-state {
  display: grid;
  place-items: center;
  gap: 0.6rem;
  padding: 4rem 2rem;
  text-align: center;
  background: #fff;
}
.empty-state .emoji { font-size: 2.4rem; }
.empty-state strong { font-size: 1.15rem; font-weight: 700; color: var(--text); }
.empty-state p { color: var(--text-secondary); max-width: 420px; line-height: 1.55; }

/* ---------------- Docs (legacy inline - see FAT block above) ---------------- */

/* ---------------- Socials ---------------- */
.socials { display: grid; place-items: center; gap: 1.5rem; padding: 3rem 1rem; text-align: center; }
.socials h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 999px;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.25);
}
.social-link:hover { transform: translateY(-2px); background: var(--accent-hover); border-color: var(--accent-hover); }

/* ---------------- Disclaimer ---------------- */
.disclaimer {
  margin-top: 3rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-tertiary);
  color: var(--text-tertiary);
  font-size: 0.78rem;
  line-height: 1.6;
}

/* ---------------- Toast ---------------- */
.toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 999;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-size: 0.88rem;
  box-shadow: 0 12px 30px rgba(234, 88, 12, 0.15);
  transform: translateY(150%);
  transition: transform 0.3s ease;
  max-width: 320px;
}
.toast.show { transform: translateY(0); }

/* ---------------- Mobile ---------------- */
@media (max-width: 760px) {
  body { display: block; padding-bottom: 68px; }
  .sidebar {
    top: auto;
    inset: auto 0 0 0;
    flex-direction: row;
    width: 100%;
    height: 62px;
    padding: 6px;
    gap: 2px;
    border-right: none;
    border-top: 1px solid var(--border);
    overflow-x: auto;
    box-shadow: 0 -4px 16px rgba(234, 88, 12, 0.06);
  }
  .logo-section, .sidebar-foot { display: none; }
  .sidebar-x {
    position: fixed;
    left: 1rem;
    bottom: 74px;
    margin: 0;
    z-index: 25;
    width: auto;
    padding: 0.55rem 0.85rem;
  }
  .nav-item {
    flex-direction: column;
    flex: 1 0 auto;
    gap: 2px;
    padding: 6px 8px;
    font-size: 0.62rem;
    border-radius: 8px;
  }
  .nav-item .ico { font-size: 1.05rem; }
  .main { margin-left: 0; }
  .content { padding: 1.1rem; }
}
