/* FounderDex light theme. Palette: a16z red/black/cream. Pattern: Monarch dense list + Coinbase detail card (docs/MOBBIN-LOCAL.md). */
:root {
  --bg: #faf9f7;
  --ink: #141414;
  --mut: #6f6e6a;
  --line: rgba(20, 20, 20, 0.1);
  --acc: #ee2c24;
  --acc-ink: #ffffff;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.85);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { font-family: system-ui, -apple-system, sans-serif; margin: 0; background: var(--bg); color: var(--ink); }
header.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; gap: 12px; align-items: baseline;
  padding: 12px 20px;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
header h1 { font-size: 20px; margin: 0; letter-spacing: -0.02em; }
header h1 span { color: var(--acc); }
main.stage {
  display: grid; grid-template-columns: 340px 1fr 320px;
  gap: 12px; padding: 12px 20px 20px;
  height: calc(100vh - 57px);
}
.panel {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 8px 32px rgba(20, 20, 20, 0.08);
  padding: 14px; overflow-y: auto; min-height: 0;
}
.panel h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mut); margin: 14px 0 6px; }
.panel h2:first-child { margin-top: 0; }
input, select, button, textarea {
  width: 100%; margin: 4px 0; padding: 9px 10px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.9); color: var(--ink); font-size: 14px;
}
button { cursor: pointer; background: var(--acc); color: var(--acc-ink); font-weight: 700; border: none; }
button.ghost { background: rgba(255, 255, 255, 0.7); color: var(--ink); border: 1px solid var(--line); font-weight: 500; }
#views { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
#views button { width: auto; padding: 6px 10px; font-size: 12px; }
#views button.on { background: var(--ink); color: #fff; }
#list { display: flex; flex-direction: column; gap: 8px; }
.row {
  border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px;
  background: rgba(255, 255, 255, 0.85); cursor: pointer;
}
.row:hover { border-color: var(--acc); }
.row h3 { margin: 0 0 2px; font-size: 14px; }
.row p { margin: 0; color: var(--mut); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
/* Center globe stage */
#center { position: relative; min-width: 0; min-height: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(circle at 50% 35%, #ffffff 0%, #f1efe9 70%); }
#globe { width: 100%; height: 100%; display: block; }
.chip {
  position: absolute; top: 12px; left: 12px; z-index: 5;
  background: var(--glass-strong); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600;
}
.hint {
  position: absolute; bottom: 12px; left: 12px; z-index: 5;
  background: var(--glass-strong); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 12px; color: var(--mut);
}
/* Floating liquid glass detail over the globe */
#detail { position: absolute; top: 12px; right: 12px; width: 300px; max-height: calc(100% - 24px); overflow-y: auto; z-index: 6; display: none; }
#detail.open { display: block; }
#detail .sheet {
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 12px 40px rgba(20, 20, 20, 0.16);
  padding: 14px;
}
#detail h3 { margin: 0 0 2px; font-size: 16px; }
#detail dl { margin: 8px 0; font-size: 13px; display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; }
#detail dt { color: var(--mut); } #detail dd { margin: 0; }
#detail .actions { display: flex; gap: 8px; margin-top: 8px; }
#detail .actions button { white-space: nowrap; }
small { color: var(--mut); }
a { color: var(--acc); }
@media (max-width: 1000px) {
  main.stage { grid-template-columns: 1fr; height: auto; }
  #center { height: 70vh; }
  .panel { max-height: none; }
  #detail { width: calc(100% - 24px); }
}
