@font-face {
  font-family: v;
  src: url(/fonts/vazirmatn.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #100f15;
  --surface: #1b1922;
  --line: #302b39;
  --muted: #a49bae;
  --violet: #bd80ff;
  --primary: #ab63f4;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: #faf8fc;
  background: var(--bg);
  font:
    14px/1.65 v,
    Tahoma,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
  background: transparent;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}
.icon {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
header {
  border-bottom: 1px solid var(--line);
  background: #151319;
}
.bar,
main,
footer {
  width: min(1380px, 93%);
  margin: auto;
}
.bar {
  display: flex;
  align-items: center;
  gap: 45px;
  min-height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  font-weight: 950;
  font-size: 27px;
  letter-spacing: -1px;
  white-space: nowrap;
}
.brand svg {
  margin-left: 9px;
}
.brand span {
  color: var(--violet);
}
nav,
.actions,
.btn,
.login,
.studio,
.navbtn,
.row,
.chip,
.search,
.sectiontitle,
.meta,
.flag,
.arrows,
.filters,
.formhead,
.controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
nav {
  align-self: stretch;
  gap: 22px;
}
.navbtn {
  font-size: 13px;
  color: #aba5b5;
  border-bottom: 2px solid transparent;
  padding: 0 2px;
}
.navbtn.on {
  border-color: var(--primary);
  color: #ead8ff;
}
.actions {
  margin-right: auto;
  gap: 10px;
}
.login,
.studio,
.btn {
  justify-content: center;
  padding: 8px 15px;
  border-radius: 9px;
  font-weight: 650;
}
.studio {
  border: 1px solid #744c99;
  color: #d0a2fa;
  background: #291e34;
}
.login,
.quiet {
  background: #25212c;
  color: #ddd5e5;
}
.btn {
  background: #b36af5;
  color: #170d21;
}
.btn:hover {
  background: #c58bfc;
}
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #24142d;
  border-radius: 19px;
  min-height: 325px;
  display: flex;
  align-items: center;
  padding: 35px 5%;
  margin: 26px 0 33px;
  border: 1px solid #4a365a;
}
.hero:before,
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero:before {
  background-image: var(--image);
  background-size: cover;
  background-position: 50% 42%;
}
.hero:after {
  background:
    linear-gradient(270deg, #110b1be8 0%, #1b102cb3 32%, transparent 68%),
    linear-gradient(0deg, #100c1f99, transparent 38%);
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: #e0c5fa;
  background: #32213dce;
  border: 1px solid #89659a7a;
  border-radius: 20px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.eyebrow .icon {
  width: 14px;
  height: 14px;
}
.hero h1 {
  font-size: clamp(32px, 4.1vw, 58px);
  font-weight: 950;
  letter-spacing: -1.8px;
  line-height: 1.35;
  margin: 13px 0 4px;
}
.hero p {
  color: #ded3e8;
  margin: 0 0 20px;
}
.hero .btn {
  padding: 9px 18px;
}
.arrows {
  position: absolute;
  bottom: 15px;
  left: 21px;
  direction: ltr;
}
.arrows button {
  background: #1913218a;
  border: 1px solid #ffffff48;
  border-radius: 50%;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: white;
}
.arrows .icon {
  width: 15px;
}
.dots {
  display: flex;
  gap: 5px;
  position: absolute;
  bottom: 15px;
  right: 5%;
}
.dots i {
  width: 5px;
  height: 5px;
  border-radius: 9px;
  background: #ffffff55;
}
.dots i.active {
  width: 20px;
  background: #c27bff;
}
.sectiontitle {
  justify-content: space-between;
  margin-bottom: 12px;
}
.heading {
  display: flex;
  align-items: center;
  gap: 9px;
}
.heading > .icon {
  color: var(--violet);
  width: 26px;
  height: 26px;
}
h2 {
  font-size: 24px;
  letter-spacing: -0.8px;
  margin: 0;
}
.sectiontitle p,
.muted {
  color: var(--muted);
}
.sectiontitle p {
  margin: 1px 0;
  font-size: 13px;
}
.search {
  background: #1a181f;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 12px;
  color: #aca4b6;
}
.search input {
  width: 170px;
  border: none;
  background: none;
  outline: 0;
  padding: 2px;
  color: white;
}
.search:focus-within {
  border-color: var(--violet);
}
.filters {
  gap: 7px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.chip {
  padding: 5px 14px;
  border-radius: 21px;
  border: 1px solid var(--line);
  background: #1b1922;
  color: #bfb7ca;
  font-size: 12px;
}
.chip.on {
  background: #33213f;
  color: #d4a3ff;
  border-color: #694185;
}
.chip .icon {
  width: 15px;
  height: 15px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card {
  background: #1b1922;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  display: block;
  transition:
    transform 0.18s,
    border-color 0.18s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: #735486;
}
.thumb {
  aspect-ratio: 2.1;
  position: relative;
  background: #251630;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.flag {
  position: absolute;
  top: 11px;
  right: 12px;
  font-size: 10px;
  font-weight: 650;
  background: #17121bd9;
  color: white;
  padding: 3px 8px;
  border: 1px solid #ffffff25;
  border-radius: 6px;
  gap: 5px;
}
.flag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #bea3d0;
}
.flag.live i {
  background: #ff4f73;
}
.cardbody {
  padding: 13px 15px 15px;
}
.cardbody h3 {
  font-size: 17px;
  margin: 0 0 8px;
}
.meta {
  justify-content: space-between;
  color: #aaa1b5;
  font-size: 12px;
}
.avatar {
  display: inline-grid;
  place-items: center;
  background: #413052;
  color: #d4a2f8;
  border: 1px solid #664981;
  font: 700 12px system-ui;
  width: 26px;
  height: 26px;
  border-radius: 50%;
}
.cat {
  background: #27232e;
  border: 1px solid #36303d;
  border-radius: 6px;
  font-size: 10px;
  padding: 1px 8px;
}
.empty,
.box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}
.empty {
  text-align: center;
  color: var(--muted);
  grid-column: 1/-1;
}
.section {
  margin: 30px 0;
}
.formhead {
  justify-content: space-between;
}
.x {
  font-size: 22px;
  color: #bcb4c4;
}
.field {
  display: grid;
  gap: 5px;
  margin: 12px 0;
  font-size: 13px;
}
.field input,
.field select,
.field textarea,
.chatinput {
  background: #121117;
  border: 1px solid #423b49;
  border-radius: 9px;
  padding: 10px;
  width: 100%;
  color: white;
}
.formnote,
.err {
  font-size: 12px;
  color: #bfb3ca;
}
.err {
  color: #ffa6bc;
}
.formbtn {
  width: 100%;
  margin-top: 15px;
}
.link {
  color: #d3a0ff;
}
.between {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.stack {
  display: grid;
  gap: 10px;
}
.narrow {
  max-width: 700px;
  margin: 32px auto;
}
.check {
  display: flex;
  align-items: center;
  gap: 7px;
}
.check input {
  accent-color: #b36af5;
}
dialog {
  color: #f5effa;
  background: #211e29;
  border: 1px solid #493c55;
  border-radius: 17px;
  padding: 25px;
  width: min(420px, 94vw);
}
dialog::backdrop {
  background: #050409bd;
}
#notice:not(:empty) {
  position: fixed;
  z-index: 9;
  bottom: 20px;
  left: 20px;
  background: #3a2947;
  color: #f6eaff;
  border: 1px solid #694584;
  padding: 10px 17px;
  border-radius: 10px;
}
.pageTitle {
  margin: 25px 0 14px;
  font-size: 27px;
}
.catgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.catgrid button {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: right;
}
.catgrid .icon {
  color: var(--violet);
  width: 32px;
  height: 32px;
}
.catgrid small {
  display: block;
  color: var(--muted);
}
footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 18px 0 25px;
  color: #8e8698;
  font-size: 12px;
}
@media (min-width: 1550px) {
  .hero {
    min-height: 395px;
  }
}
@media (max-width: 850px) {
  .bar {
    gap: 18px;
  }
  nav {
    gap: 12px;
  }
  .navbtn .icon {
    display: none;
  }
  .hero {
    min-height: 285px;
  }
  .grid {
    gap: 10px;
  }
}
@media (max-width: 640px) {
  .bar {
    flex-wrap: wrap;
    gap: 0;
    min-height: 0;
    padding-top: 10px;
  }
  .brand {
    font-size: 22px;
  }
  .brand svg {
    width: 31px;
  }
  nav {
    order: 3;
    width: 100%;
    justify-content: space-around;
  }
  .navbtn {
    padding: 9px 3px;
  }
  .navbtn .icon {
    display: block;
    width: 16px;
  }
  .studio,
  .login {
    font-size: 11px;
    padding: 6px 9px;
  }
  .bar,
  main,
  footer {
    width: 93%;
  }
  .hero {
    min-height: 245px;
    margin: 17px 0 23px;
  }
  .hero:before {
    background-position: 36% center;
  }
  .hero:after {
    background: linear-gradient(270deg, #160d23f5, #20132b99 56%, transparent);
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero p {
    font-size: 12px;
    max-width: 235px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .thumb {
    aspect-ratio: 1.55;
  }
  .cardbody {
    padding: 10px;
  }
  .cardbody h3 {
    font-size: 14px;
  }
  .meta {
    flex-wrap: wrap;
    font-size: 10px;
  }
  .avatar {
    width: 21px;
    height: 21px;
  }
  .sectiontitle {
    flex-wrap: wrap;
  }
  h2 {
    font-size: 21px;
  }
  .search input {
    width: 105px;
    font-size: 12px;
  }
  .chip {
    padding: 4px 10px;
  }
  .catgrid {
    grid-template-columns: 1fr 1fr;
  }
  .catgrid button {
    padding: 12px;
    gap: 8px;
  }
}
@media (max-width: 390px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .thumb {
    aspect-ratio: 2.1;
  }
}
.radar {
  min-height: 300px;
}
.direct {
  display: flex;
  width: min(370px, 85vw);
  padding: 4px;
  gap: 5px;
  border: 1px solid #a180b666;
  border-radius: 12px;
  background: #16101ecc;
}
.direct input {
  border: 0;
  background: none;
  min-width: 0;
  flex: 1;
  color: white;
  outline: 0;
  padding: 5px 9px;
}
.direct input::placeholder {
  color: #bcaec4;
}
.direct:focus-within {
  border-color: #b97ae5;
}
.direct .btn {
  font-size: 12px;
}
.direct .icon {
  width: 14px;
}
.counter {
  font-size: 11px;
  padding: 2px 9px;
  color: #dcb9f4;
  background: #2f213a;
  border-radius: 20px;
}
.feedbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
  color: #aea6b5;
  font-size: 12px;
}
.feedbar a {
  color: #c5a1dd;
  margin-right: auto;
}
.signal {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: #bc9f67;
}
.signal.fresh {
  background: #58d1a0;
}
.tile {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 5% 90%, #8853a9, transparent 65%), #302142;
}
.tile1 {
  background:
    radial-gradient(ellipse at 5% 85%, #408d92, transparent 66%), #10353d;
}
.tile2 {
  background:
    radial-gradient(ellipse at 5% 85%, #b47062, transparent 66%), #493138;
}
.station {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  direction: ltr;
  padding: 18px;
  overflow: hidden;
}
.station span {
  font: 9px monospace;
  letter-spacing: 2px;
  color: #fffc;
}
.station strong {
  font: 800 clamp(19px, 2vw, 34px) system-ui;
  color: white;
  line-height: 1.3;
  z-index: 1;
}
.station i {
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #fff3;
  box-shadow:
    0 0 0 13px #ffffff08,
    0 0 0 25px #ffffff0e,
    0 0 0 38px #ffffff08;
  position: absolute;
  right: -18%;
  top: -21%;
}
.tile img {
  position: absolute;
  inset: 0;
}
.tile img[hidden] {
  display: none;
}
.channelcard h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.watch .origin-note {
  font-size: 12px;
  color: #bbaec6;
}
.channelhead {
  margin-bottom: 10px;
}
@media (max-width: 640px) {
  .radar {
    min-height: 251px;
  }
  .direct {
    max-width: 77vw;
  }
  .feedbar {
    font-size: 10px;
  }
  .radar p {
    max-width: 275px;
  }
  .station {
    padding: 10px;
  }
}
