:root{
  --bg:#0b0f2a;
  --card:rgba(255,255,255,.06);
  --border:rgba(255,255,255,.12);
  --text:#ffffff;
  --muted:rgba(255,255,255,.82);
  --accent:#ffd54a;
  --accentText:#111111;
  --radius:16px;
}
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;background:var(--bg);color:var(--text)}
a{color:inherit}
.wrap{max-width:1100px;margin:0 auto;padding:24px}
.topbar{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;border-radius:12px;text-decoration:none;font-weight:900}
.btn-ghost{border:1px solid rgba(255,255,255,.18);background:transparent}
.btn-primary{background:var(--accent);color:var(--accentText);border:0}
.small{opacity:.86;font-size:13px}
.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius)}
.grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:16px
}
@media (max-width:820px){.grid{grid-template-columns:1fr}}
.story{overflow:hidden;display:flex;gap:14px;padding:14px}
.cover{
  width:120px;aspect-ratio:3/4;border-radius:14px;overflow:hidden;
  border:1px solid rgba(255,255,255,.14);background:rgba(0,0,0,.16);flex:0 0 auto;
}
.cover img{width:100%;height:100%;object-fit:cover;display:block}
.story-meta{flex:1;min-width:0}
.story-meta h3{margin:0 0 6px;font-size:18px}
.story-meta p{margin:0 0 12px;color:var(--muted)}
.story-actions{display:flex;gap:10px;flex-wrap:wrap}
.badge{display:inline-block;padding:6px 10px;border:1px solid rgba(255,255,255,.15);border-radius:999px;font-size:12px;opacity:.9}
.frame{
  margin-top:14px;border-radius:var(--radius);overflow:hidden;
  border:1px solid var(--border);background:rgba(255,255,255,.03)
}
.reader-iframe{width:100%;height:86vh;min-height:620px;border:0}
@media (max-width:768px){.reader-iframe{height:78vh;min-height:520px}}
.wm{
  position:fixed; inset:0; pointer-events:none;
  opacity:.09; font-weight:900; font-size:22px; color:#fff;
  display:flex; align-items:center; justify-content:center;
  transform:rotate(-22deg); text-align:center;
}
