/* ChatkoStories — standalone UX skin (overrides global theme) */
:root{
  --cs-card-bg: rgba(0,0,0,.55);
  --cs-card-border: rgba(255,255,255,.10);
  --cs-accent: rgba(255,255,255,.92);
  --cs-muted: rgba(255,255,255,.72);
  --cs-shadow: 0 18px 60px rgba(0,0,0,.55);
  --cs-story-font: 18px;
}

body.chatkostories {
  min-height: 100vh;
  background: #000;
  background-image: url("./space.svg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

body.chatkostories .page-wrap{
  position: relative;
  min-height: 100vh;
}

body.chatkostories .page-wrap::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(1200px 700px at 20% 10%, rgba(0,0,0,.20), rgba(0,0,0,.65)),
              linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.70));
  pointer-events:none;
}

body.chatkostories .container,
body.chatkostories main,
body.chatkostories header,
body.chatkostories footer{
  position: relative;
  z-index: 1;
}

body.chatkostories .card{
  background: var(--cs-card-bg) !important;
  border: 1px solid var(--cs-card-border) !important;
  box-shadow: var(--cs-shadow);
  backdrop-filter: blur(10px);
}

body.chatkostories h1, body.chatkostories h2{
  letter-spacing: .2px;
}

body.chatkostories .muted{ color: var(--cs-muted) !important; }

body.chatkostories .story-text{
  font-size: var(--cs-story-font);
  line-height: 1.55;
  white-space: pre-wrap;
}

.cs-controls{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
  margin-top: 10px;
}

.cs-font{
  display:flex;
  gap:8px;
  align-items:center;
}

.cs-font .btn{
  padding: 8px 10px;
  min-width: 44px;
}

.cs-pill{
  font-size: 12px;
  color: var(--cs-muted);
  padding: 6px 10px;
  border: 1px solid var(--cs-card-border);
  border-radius: 999px;
  background: rgba(0,0,0,.35);
}

@media (max-width: 520px){
  :root{ --cs-story-font: 17px; }
  body.chatkostories .card{ padding: 14px !important; }
}
