:root{
  --bg:#0b0b10;
  --panel:#101018;
  --border:#222738;
  --text:#eaeaf0;
  --muted:#9aa3b2;
  --meta:#7e889a;
  --link:#7aa7ff;
  --title:#ff7a18;
  --pill:#1a1f2e;
}

body.theme-light{
  --bg:#f5f6fa;
  --panel:#ffffff;
  --border:#d7dbe6;
  --text:#12131a;
  --muted:#4a5568;
  --meta:#6b7280;
  --link:#1d4ed8;
  --title:#cc4f00;
  --pill:#eef0f6;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size:16px;
  line-height:1.35;
}

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

.header-inner{
  max-width:900px;
  margin:0 auto;
  padding:20px;
}

.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand{
  font-weight:800;
  letter-spacing:0.5px;
  font-size:28px;
  color:var(--text);
}

.brand-dot{
  color: var(--title);
}

.tagline{
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.2px;
}


.theme-toggle{
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  user-select:none;
  border:1px solid var(--border);
  background:var(--panel);
  color:var(--text);
  padding:8px 12px;
  border-radius:10px;
}

.theme-icon{ font-size:16px; }
.theme-label{ font-size:14px; color:var(--muted); }

.wrap{
  max-width:900px;
  margin:0 auto;
  padding:0 20px 40px;
}

.card{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:14px;
  padding:16px 16px 14px;
  margin:14px 0;
}

.meta{
  display:flex;
  gap:10px;
  align-items:center;
  color:var(--meta);
  font-size:13px;
}

.pill{
  display:inline-block;
  background:var(--pill);
  border:1px solid var(--border);
  padding:2px 8px;
  border-radius:999px;
}

.title{
  color:var(--title);
  font-weight:800;
  margin:8px 0 10px;
  font-size:20px;
  line-height:1.2;
}

.summary{
  white-space:pre-wrap;
  margin:0;
}

.source{
  margin-top:12px;
  font-size:13px;
  color:var(--muted);
}

.actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:12px;
  flex-wrap:wrap;
}

.share-primary{
  white-space: nowrap;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
}

.source-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:10px;
}

.source-row .actions{
  margin-top:0;
}

button.pill{
  cursor: pointer;
  font-family: inherit;
}
button.pill{
  appearance: none;
  -webkit-appearance: none;
  background: var(--pill);
  border: 1px solid var(--border);
  padding: 2px 8px;        /* EXACT same as .pill */
  line-height: normal;
  cursor: pointer;
  font-family: inherit;
}


button.pill:hover{
  filter: brightness(1.1);
}

.brand{
  text-decoration: none;
}

.brand{
  text-decoration: none;
}

.brand:hover{
  text-decoration: none;
}

