/* toond.ai — recent toons feed */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue: #1e64ff;
  --blue-light: #4a8cff;
  --bg: #07080c;
  --bg-card: #14161d;
  --bg-up: #1c1f29;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f0f1f4;
  --text-mute: #9aa0ad;
  --text-faint: #5f6571;
  --green: #4ad07f;
  --amber: #e0b04a;
}

html, body { background: var(--bg); }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 60px;
}
a { color: var(--blue-light); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── install bar ── */
.install-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 18px;
  background: linear-gradient(90deg, #0e1f4d, #14161d);
  border-bottom: 1px solid var(--line);
}
.install-bar__logo { width: 30px; height: 30px; flex: 0 0 auto; }
.install-bar__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.install-bar__text strong { font-size: 13px; }
.install-bar__text span { font-size: 12px; color: var(--text-mute); }
.install-bar__btn {
  flex: 0 0 auto; background: var(--blue); color: #fff;
  padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600;
}
.install-bar__btn:hover { background: var(--blue-light); text-decoration: none; }
.install-bar__close {
  flex: 0 0 auto; background: none; border: 0; color: var(--text-faint);
  font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px;
}

/* ── hero ── */
.hero {
  background: radial-gradient(900px 320px at 50% -60px, rgba(30,100,255,0.22), transparent 70%);
  border-bottom: 1px solid var(--line);
  padding: 30px 18px 26px;
}
.hero__inner { max-width: 720px; margin: 0 auto; }
.hero__brand { display: flex; align-items: center; gap: 9px; }
.hero__logo { width: 26px; height: 26px; }
.hero__name { font-weight: 700; font-size: 16px; letter-spacing: 0.2px; }
.hero__title { font-size: 30px; font-weight: 800; margin-top: 14px; letter-spacing: -0.5px; }
.hero__sub { color: var(--text-mute); font-size: 14px; margin-top: 4px; }

.search { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.search__field {
  flex: 1; min-width: 150px;
  background: var(--bg-card); border: 1px solid var(--line); color: var(--text);
  padding: 9px 12px; border-radius: 9px; font-size: 13px; font-family: inherit;
}
.search__field--wide { flex-basis: 100%; }
.search__field:focus { outline: none; border-color: var(--blue); }
.search__field::placeholder { color: var(--text-faint); }
.search__btn, .search__clear {
  background: var(--blue); color: #fff; border: 0; cursor: pointer;
  padding: 9px 18px; border-radius: 9px; font-size: 13px; font-weight: 600; font-family: inherit;
}
.search__btn:hover { background: var(--blue-light); }
.search__clear { background: var(--bg-up); color: var(--text-mute); }

/* ── feed ── */
.wrap { max-width: 720px; margin: 0 auto; padding: 22px 18px; }
.state { color: var(--text-faint); font-size: 13px; text-align: center; padding: 26px 0; }
.feed { display: flex; flex-direction: column; gap: 14px; }

.card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 14px; padding: 15px 16px;
}
.card__head { display: flex; align-items: center; gap: 10px; }
.card__avatar {
  width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  background: var(--bg-up); border: 1px solid var(--line);
}
.card__avatar--mono {
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: var(--blue-light);
}
.card__who { flex: 1; min-width: 0; }
.card__author {
  font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.card__verified {
  font-size: 9px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--green);
  background: rgba(74, 208, 127, 0.14); border-radius: 20px;
  padding: 2px 7px 2px 16px; position: relative;
}
.card__verified::before {
  content: '✓'; position: absolute; left: 6px; top: 50%;
  transform: translateY(-50%); font-size: 9px;
}
.card__channel {
  font-size: 9px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--blue-light);
  background: rgba(74, 140, 255, 0.16); border-radius: 20px;
  padding: 2px 8px;
}
.card__tagline { font-size: 11.5px; color: var(--text-faint); }
.card__time { font-size: 11px; color: var(--text-faint); flex: 0 0 auto; }

.card__site {
  display: flex; align-items: center; gap: 6px;
  margin-top: 11px; font-size: 12px; color: var(--text-mute);
}
.card__favicon { width: 14px; height: 14px; border-radius: 3px; }
.card__title {
  display: block; font-size: 15px; font-weight: 600; color: var(--text);
  margin-top: 3px; line-height: 1.35;
}
.card__title:hover { color: var(--blue-light); text-decoration: none; }

.diff { margin-top: 11px; border-left: 2px solid var(--line); padding-left: 11px; }
.diff__row { font-size: 12.5px; }
.diff__o { color: var(--text-faint); text-decoration: line-through; }
.diff__r { color: var(--text); margin-top: 3px; }
.diff__r::before {
  content: 'tooned'; display: inline-block; font-size: 9px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--green);
  margin-right: 6px; vertical-align: 1px;
}

.card__foot {
  display: flex; align-items: center; gap: 14px;
  margin-top: 12px; font-size: 11.5px; color: var(--text-faint);
}
.card__count {
  background: var(--bg-up); border-radius: 20px; padding: 2px 9px;
  color: var(--text-mute);
}
.card__open { margin-left: auto; }
.card__report {
  background: none; border: 0; color: var(--text-faint); cursor: pointer;
  font-size: 11.5px; font-family: inherit; padding: 0;
}
.card__report:hover { color: var(--amber); }
.card__report[disabled] { color: var(--text-faint); cursor: default; opacity: 0.6; }

.more {
  display: block; margin: 22px auto 0;
  background: var(--bg-up); color: var(--text); border: 1px solid var(--line);
  padding: 10px 24px; border-radius: 10px; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: inherit;
}
.more:hover { border-color: var(--blue); }

/* ── footer ── */
.foot {
  max-width: 720px; margin: 30px auto 0; padding: 20px 18px 0;
  border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--text-faint); line-height: 1.6;
}
.foot strong { color: var(--text-mute); }
.foot__links { margin-top: 8px; }
