:root{
  --bg:#f7f6f2;
  --card:#ffffff;
  --accent:#e25b3c;
  --muted:#6b6b6b;
  --glass: rgba(255,255,255,0.6);
}
*{box-sizing:border-box}
html,body,#app{height:100%;margin:0;font-family:Inter, system-ui, -apple-system, "Helvetica Neue", Arial;}
body{
  /* Circus striped background: alternating red and yellow vertical bands */
  background:
    repeating-linear-gradient(
      90deg,
      #ffd54d 0 56px,      /* yellow stripe */
      #e53935 56px 112px   /* red stripe */
    );
  display:flex;
  align-items:stretch;
  justify-content:center;
  padding:10px;
  /* subtle vignette to keep focus centered */
  position:relative;
}
#app{width:100%;max-width:820px;display:flex;flex-direction:column;gap:10px;height:100%;}
.topbar{display:flex;gap:8px}
.tab{flex:1;background:var(--card);border-radius:10px;padding:10px 8px;border:1px solid rgba(0,0,0,0.06);font-weight:600}
.tab.active{background:var(--accent);color:white;box-shadow:0 6px 18px rgba(0,0,0,0.09)}
.card{flex:1;background:var(--card);border-radius:12px;padding:12px;overflow:auto;box-shadow:0 6px 20px rgba(0,0,0,0.06)}
.searchbar{display:flex;gap:8px;padding:6px 2px}
.searchbar input{flex:1;padding:10px 12px;border-radius:10px;border:1px solid rgba(0,0,0,0.08);font-size:16px}
.searchbar button{width:44px;border-radius:10px;border:1px solid rgba(0,0,0,0.06);background:var(--card);font-size:20px}
.list{display:flex;flex-direction:column;gap:8px}
.item{display:flex;gap:12px;align-items:center;padding:8px;border-radius:10px;border:1px solid rgba(0,0,0,0.04)}
.thumb{width:56px;height:56px;border-radius:8px;background:linear-gradient(135deg,#ffd9c9,#ffeef0);display:flex;align-items:center;justify-content:center;font-weight:700;color:#8b3b2e}
.title{font-weight:700}
.meta{color:var(--muted);font-size:13px}
.section-title{font-weight:800;margin:6px 0 6px 0}
.pill{display:inline-block;background:var(--glass);padding:6px 8px;border-radius:999px;margin-right:6px;font-size:13px}
.small{font-size:14px;color:var(--muted)}
.note{font-size:13px;color:#8b8b8b;margin-top:8px}
.detail{display:flex;flex-direction:column;gap:6px}
.row{display:flex;gap:8px;flex-wrap:wrap}
.footer-note{font-size:12px;color:var(--muted);text-align:center;padding:6px}
@media (min-width:720px){
  body{padding:20px}
  .card{padding:18px}
}