:root{
  --bg:#f5f7fb;
  --bg2:#eef3f9;

  --panel:#ffffff;
  --panel2:#f9fbff;

  --card:#ffffff;
  --card2:#f6f9fe;

  --line:rgba(15,23,42,.10);
  --line2:rgba(15,23,42,.06);

  --text:#0f172a;
  --muted:rgba(51,65,85,.78);
  --muted2:rgba(51,65,85,.56);

  --c1:#2563eb;
  --c2:#06b6d4;
  --c3:#14b8a6;
  --c4:#8b5cf6;
  --c5:#f97316;

  --brand:#2563eb;
  --brand2:#06b6d4;

  --radius:16px;
  --radius2:24px;

  --shadow:0 24px 60px rgba(15,23,42,.10);
  --shadow2:0 12px 28px rgba(15,23,42,.08);

  --max:1360px;
  --pad:18px;

  --focus:0 0 0 4px rgba(37,99,235,.16);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(37,99,235,.08), transparent 60%),
    radial-gradient(760px 360px at 100% 0%, rgba(6,182,212,.08), transparent 58%),
    linear-gradient(180deg, #f8fbff 0%, #f5f7fb 100%);
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  background:
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 22%),
    repeating-linear-gradient(
      90deg,
      rgba(15,23,42,.018) 0,
      rgba(15,23,42,.018) 1px,
      transparent 1px,
      transparent 120px
    );
  opacity:.55;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:none; }
button,input,select,textarea{ font:inherit; }
::selection{ background:rgba(37,99,235,.16); color:var(--text); }

.s-muted{ color:var(--muted); }
.s-muted2{ color:var(--muted2); }

.s-head__inner,
.s-foot__inner,
.v-page{
  width:min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline:auto;
}

.v-page{ padding-block:20px 34px; }

/* ========== Header ========== */

.s-head{
  position:relative;
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--line2);
  box-shadow:0 10px 28px rgba(15,23,42,.05);
  margin-bottom:18px;
}

.s-head__inner{
  display:grid;
  grid-template-columns:240px minmax(280px,1fr) 220px;
  grid-template-areas:
    "brand search actions"
    "nav nav nav"
    "terms terms terms";
  gap:14px 16px;
  align-items:center;
  padding:18px 0 14px;
}

.s-brand{ grid-area:brand; min-width:0; }
.s-actions{ grid-area:actions; min-width:0; display:flex; justify-content:flex-end; }
.s-nav{ grid-area:nav; width:100%; }
.s-head__terms{ grid-area:terms; width:100%; }

.s-brand__link{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:12px 18px;
  border-radius:999px;
  background:linear-gradient(135deg, #ffffff, #f3f8ff);
  border:1px solid rgba(37,99,235,.14);
  box-shadow:0 14px 34px rgba(37,99,235,.08);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.s-brand__link::before{
  content:"";
  width:23px;
  height:23px;
  flex:0 0 23px;
  border-radius:0;
  background:url("/12.ico") center center / contain no-repeat;
  box-shadow:0 6px 16px rgba(37,99,235,.18);
}

.s-brand__link h1,
.s-brand__link div{
  margin:0;
  font-size:22px;
  line-height:1;
  font-weight:1000;
  letter-spacing:.02em;
  white-space:nowrap;
}

.s-brand__link:hover{
  transform:translateY(-1px);
  border-color:rgba(37,99,235,.24);
  box-shadow:0 18px 40px rgba(37,99,235,.12);
}

.s-search{
  grid-area:search;
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 10px 9px 14px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 14px 34px rgba(15,23,42,.06);
}

.s-search__label{ position:absolute; left:-9999px; }

.s-search__input{
  flex:1 1 auto;
  min-width:0;
  padding:10px 6px;
  border:0 !important;
  outline:none !important;
  background:transparent;
  color:var(--text);
  font-size:15px;
  font-weight:800;
  box-shadow:none !important;
}

.s-search__input::placeholder{ color:rgba(51,65,85,.42); }

.s-search__btn{
  border:0;
  border-radius:999px;
  padding:11px 18px;
  background:linear-gradient(135deg, var(--brand), var(--brand2));
  color:#fff;
  font-weight:1000;
  cursor:pointer;
  white-space:nowrap;
  box-shadow:0 14px 32px rgba(37,99,235,.22);
  transition:transform .14s ease, filter .14s ease, box-shadow .14s ease;
}

.s-search__btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.03);
  box-shadow:0 18px 36px rgba(37,99,235,.28);
}

.s-search:focus-within{
  border-color:rgba(37,99,235,.26);
  box-shadow:0 18px 40px rgba(37,99,235,.12);
}

.s-brand__link:focus,
.s-nav__link:focus,
.s-search__input:focus,
.s-search__btn:focus,
.s-head__term:focus{
  outline:none;
  box-shadow:var(--focus);
}

.s-nav{
  padding-top:2px;
}

.s-nav__list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(8, minmax(0,1fr));
  gap:10px;
  width:100%;
}

.s-nav__item{ min-width:0; }

.s-nav__link{
  width:100%;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 12px;
  border-radius:14px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(15,23,42,.08);
  color:rgba(15,23,42,.74);
  font-size:13px;
  font-weight:950;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  transition:transform .14s ease, border-color .14s ease, box-shadow .14s ease, color .14s ease, background .14s ease;
}

.s-nav__item:nth-child(5n+1) .s-nav__link{ --nav:#2563eb; }
.s-nav__item:nth-child(5n+2) .s-nav__link{ --nav:#06b6d4; }
.s-nav__item:nth-child(5n+3) .s-nav__link{ --nav:#14b8a6; }
.s-nav__item:nth-child(5n+4) .s-nav__link{ --nav:#8b5cf6; }
.s-nav__item:nth-child(5n+5) .s-nav__link{ --nav:#f97316; }

.s-nav__link:hover{
  transform:translateY(-1px);
  color:var(--text);
  border-color:rgba(15,23,42,.14);
  box-shadow:0 12px 24px rgba(15,23,42,.08);
}

.s-nav__link[aria-current="page"],
.s-nav__link.is-active{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(135deg, var(--nav), color-mix(in srgb, var(--nav) 72%, #ffffff));
  box-shadow:0 14px 30px rgba(15,23,42,.12);
}

.s-head__terms{
  margin: 2px auto 0;
  width: fit-content;
  max-width: 100%;
  display:flex;
  flex-direction: column;
  align-items:center;
  gap:8px;
  text-align:center;
  padding-top: 20px;
}

.s-head__termsLabel{
  font-size:12px;
  color:var(--muted);
}

.s-head__termsList{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}

.s-head__term{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 14px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  color:rgba(15,23,42,.74);
  font-weight:900;
  font-size:13px;
  transition:transform .14s ease, border-color .14s ease, box-shadow .14s ease, color .14s ease, background .14s ease;
}

.s-head__term:hover{
  transform:translateY(-1px);
  color:var(--text);
  border-color:rgba(15,23,42,.14);
  box-shadow:0 12px 24px rgba(15,23,42,.08);
}

.s-head__term.is-active{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(135deg, var(--brand), var(--brand2));
}

/* ========== Home ========== */

.m-home{
  padding-top:0;
}

.m-home__mast{
  margin-top:20px;
  margin-bottom:24px;
}

.mast__grid{
  display:grid;
  grid-template-columns:minmax(0, 1.02fr) minmax(340px, .98fr);
  gap:22px;
  align-items:start;
}

.mast__copy{
  padding:26px 28px;
  border-radius:32px;
  background:
    radial-gradient(360px 220px at 0% 0%, rgba(37,99,235,.10), transparent 62%),
    linear-gradient(180deg, #ffffff, #f9fbff);
  border:1px solid rgba(15,23,42,.06);
  box-shadow:var(--shadow);
}

.mast__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:#edf5ff;
  border:1px solid rgba(37,99,235,.10);
  color:var(--brand);
  font-size:12px;
  font-weight:1000;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.mast__title{
  margin:16px 0 12px;
  font-size:clamp(34px, 5vw, 64px);
  line-height:.98;
  font-weight:1000;
  letter-spacing:-.03em;
}

.mast__desc{
  margin:0;
  max-width:50ch;
  color:var(--muted);
  font-size:15px;
}

.mast__stats{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
  margin-top:22px;
}

.mast__stat{
  padding:16px 16px 14px;
  border-radius:22px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(15,23,42,.06);
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

.mast__stat strong{
  display:block;
  font-size:18px;
  line-height:1.1;
  font-weight:1000;
}

.mast__stat span{
  display:block;
  margin-top:6px;
  font-size:12px;
  color:var(--muted2);
}

.mast__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}

.m-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 16px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.08);
  background:#fff;
  color:var(--text);
  font-size:14px;
  font-weight:1000;
  box-shadow:0 12px 26px rgba(15,23,42,.06);
  transition:transform .14s ease, border-color .14s ease, box-shadow .14s ease;
}

.m-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(15,23,42,.14);
  box-shadow:0 16px 32px rgba(15,23,42,.08);
}

.m-btn--primary{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow:0 16px 34px rgba(37,99,235,.24);
}

.m-btn--ghost{
  background:#fff;
}

.mast__chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}

.mast__chip{
  display:inline-flex;
  align-items:center;
  padding:9px 13px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  color:rgba(15,23,42,.76);
  font-size:13px;
  font-weight:900;
  transition:transform .14s ease, border-color .14s ease, box-shadow .14s ease, color .14s ease;
}

.mast__chip:hover{
  transform:translateY(-1px);
  color:var(--text);
  border-color:rgba(15,23,42,.14);
  box-shadow:0 12px 24px rgba(15,23,42,.08);
}

.mast__panel{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.hero-card{
  overflow:hidden;
  border-radius:32px;
  background:#fff;
  border:1px solid rgba(15,23,42,.06);
  box-shadow:var(--shadow);
}

.hero-card__media{
  position:relative;
  aspect-ratio:16/9;
  background:#dde7f5;
  overflow:hidden;
}

.hero-card__media::after{
  content:"";
  position:absolute;
  left:18px;
  bottom:18px;
  width:48px;
  height:48px;
  border-radius:999px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 6v12l10-6z'/%3E%3C/svg%3E") center center / 16px 16px no-repeat,
    linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow:0 12px 28px rgba(37,99,235,.24);
}

.hero-card__img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}

.hero-card:hover .hero-card__img{
  transform:scale(1.04);
}

.hero-card__body{
  padding:20px 22px 22px;
}

.hero-card__badge{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background:#eef6ff;
  color:var(--brand);
  font-size:12px;
  font-weight:1000;
}

.hero-card__title{
  margin:0 0 8px 0;
  font-size:24px;
  line-height:1.18;
  font-weight:1000;
}

.hero-card__meta{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted2);
  font-size:13px;
  font-weight:800;
}

.hero-card--empty .hero-card__media{
  display:none;
}

.hero-news{
  padding:20px 22px;
  border-radius:28px;
  background:#fff;
  border:1px solid rgba(15,23,42,.06);
  box-shadow:var(--shadow2);
}

.hero-news__hd{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.hero-news__hd h3{
  margin:0;
  font-size:18px;
  font-weight:1000;
}

.hero-news__hd a{
  color:var(--brand);
  font-size:13px;
  font-weight:900;
}

.hero-news__list{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.hero-news__item{
  display:grid;
  grid-template-columns:44px 1fr;
  gap:12px;
  padding:12px;
  border-radius:18px;
  background:#f7fbff;
  border:1px solid rgba(15,23,42,.05);
  transition:transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.hero-news__item:hover{
  transform:translateY(-1px);
  border-color:rgba(15,23,42,.10);
  box-shadow:0 12px 22px rgba(15,23,42,.06);
}

.hero-news__no{
  display:grid;
  place-items:center;
  border-radius:14px;
  background:linear-gradient(135deg, #2563eb, #06b6d4);
  color:#fff;
  font-size:14px;
  font-weight:1000;
}

.hero-news__text{
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.hero-news__text strong{
  color:var(--text);
  font-size:14px;
  line-height:1.35;
  font-weight:1000;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.hero-news__text em{
  margin-top:5px;
  color:var(--muted2);
  font-size:12px;
  font-style:normal;
}

.m-home__channels{
  margin-bottom:22px;
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}

.section-head__eyebrow{
  margin:0 0 6px;
  color:var(--muted2);
  font-size:12px;
  font-weight:1000;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.section-head__title{
  margin:0;
  font-size:30px;
  line-height:1.02;
  font-weight:1000;
}

.channel-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:14px;
}

.channel-card{
  position:relative;
  overflow:hidden;
  min-height:120px;
  padding:16px 16px 14px;
  border-radius:24px;
  color:#fff;
  box-shadow:var(--shadow2);
  transition:transform .16s ease, box-shadow .16s ease;
}

.channel-card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 36px rgba(15,23,42,.14);
}

.channel-card::after{
  content:"";
  position:absolute;
  right:-26px;
  bottom:-28px;
  width:120px;
  height:120px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
}

.channel-card__index{
  position:relative;
  z-index:1;
  display:inline-block;
  color:rgba(255,255,255,.76);
  font-size:12px;
  font-weight:900;
}

.channel-card__title{
  position:relative;
  z-index:1;
  display:block;
  margin-top:16px;
  font-size:22px;
  line-height:1.08;
  font-weight:1000;
}

.channel-card__meta{
  position:relative;
  z-index:1;
  display:block;
  margin-top:10px;
  color:rgba(255,255,255,.82);
  font-size:13px;
  font-weight:900;
}

.channel-card--1{ background:linear-gradient(135deg, #2563eb, #60a5fa); }
.channel-card--2{ background:linear-gradient(135deg, #06b6d4, #22d3ee); }
.channel-card--3{ background:linear-gradient(135deg, #14b8a6, #2dd4bf); }
.channel-card--4{ background:linear-gradient(135deg, #8b5cf6, #a78bfa); }
.channel-card--5{ background:linear-gradient(135deg, #f97316, #fb923c); }
.channel-card--6{ background:linear-gradient(135deg, #0f766e, #14b8a6); }

.m-home__rows{
  display:flex;
  flex-direction:column;
  gap:20px;
  margin-top: 20px;
}

.shelf{
  padding:20px;
  border-radius:28px;
  background:#fff;
  border:1px solid rgba(15,23,42,.06);
  box-shadow:var(--shadow2);
}

.shelf__hd{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}

.shelf__titleWrap{
  display:flex;
  align-items:center;
  gap:14px;
}

.shelf__no{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:linear-gradient(135deg, #edf5ff, #e9fcff);
  color:var(--brand);
  font-size:16px;
  font-weight:1000;
}

.shelf__title{
  margin:0;
  font-size:24px;
  line-height:1.06;
  font-weight:1000;
}

.shelf__sub{
  margin:6px 0 0;
  color:var(--muted2);
  font-size:13px;
}

.shelf__more{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:0 14px;
  border-radius:999px;
  background:#f7fbff;
  border:1px solid rgba(15,23,42,.06);
  color:var(--brand);
  font-size:13px;
  font-weight:1000;
}

.shelf__more:hover{
  box-shadow:0 12px 24px rgba(15,23,42,.06);
}

/* ========== Shared cards / grids ========== */

.v-top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  padding:12px 0 10px;
}

.v-top__h1{
  margin:0;
  font-size:30px;
  font-weight:1000;
  letter-spacing:.01em;
}

.v-top__sub{
  margin:6px 0 0;
  font-size:13px;
  color:var(--muted);
}

.v-top__tools{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.v-chip{
  display:inline-flex;
  align-items:center;
  padding:10px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:950;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  color:rgba(15,23,42,.74);
  transition:transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.v-chip:hover{
  transform:translateY(-1px);
  border-color:rgba(15,23,42,.14);
  box-shadow:0 12px 24px rgba(15,23,42,.06);
}

.v-chip.is-active{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(135deg, var(--brand), var(--brand2));
}

.v-breadcrumb{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:13px;
}

.v-breadcrumb a{
  color:var(--muted);
  font-weight:850;
}

.v-breadcrumb a:hover{
  color:var(--text);
}

.v-section{ margin-top:14px; }

.v-section__hd{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:12px 0 10px;
  gap:12px;
}

.v-section__title{
  margin:0;
  display:flex;
  align-items:center;
  gap:10px;
  font-size:17px;
  font-weight:1000;
}

.v-section__title::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:4px;
  background:linear-gradient(135deg, var(--brand), var(--brand2));
}

.v-section__meta{
  color:var(--muted);
  font-size:13px;
}

.v-grid__inner{
  display:grid;
  grid-template-columns:repeat(5, minmax(0,1fr));
  gap:16px;
}

.v-grid--large .v-grid__inner{
  grid-template-columns:repeat(5, minmax(0,1fr));
}

.v-card{
  position:relative;
  overflow:hidden;
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(15,23,42,.06);
  box-shadow:var(--shadow2);
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.v-card:hover{
  transform:translateY(-3px);
  border-color:rgba(37,99,235,.18);
  box-shadow:0 18px 40px rgba(15,23,42,.10);
}

.v-card__media{
  position:relative;
  display:block;
  background:#e9eef6;
  overflow:hidden;
}

.v-card__media::after{
  content:"";
  position:absolute;
  left:12px;
  bottom:12px;
  z-index:2;
  width:40px;
  height:40px;
  border-radius:999px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 6v12l10-6z'/%3E%3C/svg%3E") center center / 14px 14px no-repeat,
    linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow:0 10px 22px rgba(37,99,235,.20);
}

.v-card__img,
.v-card__img--placeholder{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  display:block;
  transition:transform .34s ease;
}

.v-card__img--placeholder{
  background:
    radial-gradient(280px 140px at 15% 15%, rgba(37,99,235,.14), transparent 60%),
    radial-gradient(240px 120px at 85% 20%, rgba(6,182,212,.12), transparent 56%),
    linear-gradient(180deg, #eef4fb, #dfe9f5);
}

.v-card:hover .v-card__img{
  transform:scale(1.05);
}

.v-card__body{
  padding:12px 12px 14px;
}

.v-card__title{
  margin:0 0 10px;
  font-size:14px;
  line-height:1.35;
  font-weight:1000;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:38px;
}

.v-card__meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font-size:12px;
  color:var(--muted2);
}

.v-card__metaL,
.v-card__metaR{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}

.v-meta__pill{
  display:inline-flex;
  align-items:center;
  max-width:170px;
  padding:6px 10px;
  border-radius:999px;
  background:#f7fbff;
  border:1px solid rgba(15,23,42,.06);
  color:rgba(15,23,42,.78);
  font-weight:900;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  transition:transform .14s ease, border-color .14s ease, box-shadow .14s ease;
}

.v-meta__pill:hover{
  transform:translateY(-1px);
  border-color:rgba(15,23,42,.12);
  box-shadow:0 10px 20px rgba(15,23,42,.06);
}

.v-meta__item{ white-space:nowrap; }

.v-meta__item--hot{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(249,115,22,.10);
  border:1px solid rgba(249,115,22,.18);
  color:#9a3412;
  font-weight:950;
}

.v-empty{
  padding:36px 16px;
  border-radius:24px;
  border:1px dashed rgba(15,23,42,.14);
  background:#fff;
  text-align:center;
}

.v-empty__title{
  margin:0 0 6px;
  font-weight:1000;
}

.v-grid--compact .v-grid__inner{
  grid-template-columns:1fr;
  gap:10px;
}

.v-grid--compact .v-card{
  display:grid;
  grid-template-columns:168px 1fr;
  gap:10px;
  align-items:stretch;
  border-radius:18px;
}

.v-grid--compact .v-card__media{
  margin:10px 0 10px 10px;
  border-radius:14px;
  overflow:hidden;
}

.v-grid--compact .v-card__body{
  padding:10px 12px 10px 0;
}

.v-grid--compact .v-card__title{
  font-size:13px;
  margin-bottom:8px;
  min-height:unset;
}

.v-grid--compact .v-meta__pill{
  max-width:120px;
  padding:5px 8px;
}

/* ========== Pager ========== */

.v-pager{
  margin-top:18px;
  display:flex;
  justify-content:center;
}

.v-pager__inner{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  width:100%;
}

.pagination{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:center;
  padding:12px 14px;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(15,23,42,.06);
  box-shadow:var(--shadow2);
}

.pagination a,
.pagination span,
.pagination em{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  height:38px;
  padding:0 12px;
  border-radius:12px;
  font-size:13px;
  font-weight:1000;
  font-style:normal;
  color:rgba(15,23,42,.76);
  background:#f7fbff;
  border:1px solid rgba(15,23,42,.06);
  transition:transform .14s ease, border-color .14s ease, box-shadow .14s ease;
}

.pagination a:hover{
  transform:translateY(-1px);
  border-color:rgba(15,23,42,.12);
  box-shadow:0 10px 20px rgba(15,23,42,.06);
}

.pagination em.current,
.pagination span.current{
  color:#fff;
  background:linear-gradient(135deg, var(--brand), var(--brand2));
  border-color:transparent;
  box-shadow:0 14px 28px rgba(37,99,235,.18);
}

.pagination .disabled{
  opacity:.4;
  box-shadow:none;
}

.pagination .gap{
  background:transparent;
  border-color:transparent;
  min-width:auto;
  padding:0 4px;
  opacity:.55;
}

.v-pager__jump{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(15,23,42,.06);
  box-shadow:var(--shadow2);
}

.v-pager__jump label{
  font-size:12px;
  color:var(--muted);
  font-weight:850;
}

.v-pager__jump input{
  width:88px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.08);
  background:#f7fbff;
  color:var(--text);
  outline:none;
}

.v-pager__jump input:focus{ box-shadow:var(--focus); }

.v-pager__jump button{
  border:0;
  border-radius:999px;
  padding:10px 14px;
  background:linear-gradient(135deg, var(--brand), var(--brand2));
  color:#fff;
  font-weight:1000;
  cursor:pointer;
  box-shadow:0 12px 26px rgba(37,99,235,.18);
}

.pagination--mini{ display:none; }

/* ========== Play page shared ========== */

.v-layout--play{
  display:grid;
  grid-template-columns:1.75fr 1fr;
  gap:18px;
  align-items:start;
  margin-top:10px;
}

.v-playerpro{
  overflow:hidden;
  border-radius:28px;
  background:#fff;
  border:1px solid rgba(15,23,42,.06);
  box-shadow:var(--shadow);
}

.v-playerpro__stage{
  position:relative;
  background:#000;
}

.v-playerpro__video{
  width:100%;
  aspect-ratio:16/9;
  background:#000;
}

.v-playerpro__bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px;
  border-top:1px solid rgba(15,23,42,.06);
  background:#f9fbff;
}

.v-playerpro__left,
.v-playerpro__right{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.v-pill{
  display:inline-flex;
  align-items:center;
  padding:6px 11px;
  border-radius:999px;
  background:rgba(20,184,166,.10);
  border:1px solid rgba(20,184,166,.18);
  color:#0f766e;
  font-weight:1000;
  font-size:12px;
}

.v-ctl{
  display:flex;
  align-items:center;
  gap:8px;
}

.v-ctl__label{
  font-size:12px;
  color:var(--muted);
  font-weight:850;
}

.v-select{
  appearance:none;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.08);
  background:#fff;
  color:var(--text);
  padding:9px 12px;
  font-size:12px;
  font-weight:850;
  outline:none;
}

.v-select:focus{ box-shadow:var(--focus); }

.v-btn{
  appearance:none;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.08);
  background:#fff;
  color:var(--text);
  padding:9px 12px;
  font-size:12px;
  font-weight:1000;
  cursor:pointer;
  transition:transform .14s ease, border-color .14s ease, box-shadow .14s ease;
}

.v-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(15,23,42,.12);
  box-shadow:0 10px 20px rgba(15,23,42,.06);
}

.v-btn:focus{
  outline:none;
  box-shadow:var(--focus);
}

.v-playerpro__overlay{ pointer-events:none !important; }

/* ========== Footer ========== */

.s-foot{
  margin-top:30px;
  border-top:1px solid rgba(15,23,42,.06);
  background:rgba(255,255,255,.70);
  backdrop-filter:blur(10px);
}

.s-foot__inner{ padding:18px 0; }

.s-foot__line{
  margin:0 0 6px;
  color:var(--muted);
}

.s-foot__site{
  font-weight:1000;
  color:var(--text);
}

.s-foot__sep{
  margin:0 8px;
  color:var(--muted2);
}

.s-foot__info{
  color:var(--muted);
}

.s-fl{
  width:100%;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  padding:10px 0 6px;
}

.s-fl__item{
  width:clamp(120px, 18vw, 190px);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:999px;
  background:#ffffff;
  border:1px solid rgba(15,23,42,.06);
  color:rgba(15,23,42,.78);
  font-size:13px;
  font-weight:950;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  transition:transform .14s ease, border-color .14s ease, box-shadow .14s ease;
}

.s-fl__item:hover{
  transform:translateY(-1px);
  border-color:rgba(15,23,42,.12);
  box-shadow:0 10px 20px rgba(15,23,42,.06);
}

.s-fl__txt{
  display:inline-block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* ========== Responsive ========== */

@media (max-width: 1200px){
  .channel-grid{
    grid-template-columns:repeat(3, minmax(0,1fr));
  }

  .v-grid__inner,
  .v-grid--large .v-grid__inner{
    grid-template-columns:repeat(4, minmax(0,1fr));
  }
}

@media (max-width: 980px){
  .s-head__inner{
    grid-template-columns:220px minmax(200px,1fr);
    grid-template-areas:
      "brand actions"
      "search search"
      "nav nav"
      "terms terms";
  }

  .s-nav__list{
    grid-template-columns:repeat(6, minmax(0,1fr));
  }

  .mast__grid{
    grid-template-columns:1fr;
  }

  .channel-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

  .v-layout--play{
    grid-template-columns:1fr;
  }

  .v-grid--compact .v-card{
    grid-template-columns:1fr;
  }

  .v-grid--compact .v-card__media{
    margin:0;
    border-radius:0;
  }

  .v-grid--compact .v-card__body{
    padding:10px 12px 12px;
  }
}

@media (max-width: 760px){
  .s-head__inner{
    grid-template-columns:1fr !important;
    grid-template-areas:
      "brand"
      "search"
      "actions"
      "nav"
      "terms";
    gap:10px !important;
  }

  .s-actions{
    justify-content:flex-start !important;
  }

  .s-nav__list{
    grid-template-columns:repeat(5, minmax(0,1fr));
  }

  .v-top{
    flex-direction:column;
    align-items:flex-start;
  }

  .v-top__tools{
    justify-content:flex-start;
  }

  .mast__copy{
    padding:22px;
    border-radius:26px;
  }

  .mast__stats{
    grid-template-columns:1fr;
  }

  .hero-card,
  .hero-news,
  .shelf{
    border-radius:24px;
  }

  .section-head{
    flex-direction:column;
    align-items:flex-start;
  }

  .pagination--full{ display:none; }
  .pagination--mini{ display:block; }
}

@media (max-width: 600px){
  .s-nav__list{
    grid-template-columns:repeat(4, minmax(0,1fr));
    gap:8px;
  }

  .s-nav__link{
    min-height:40px;
    font-size:12px;
    padding:0 8px;
  }

  .channel-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:10px;
  }

  .channel-card{
    min-height:98px;
    padding:12px;
    border-radius:18px;
  }

  .channel-card__title{
    margin-top:12px;
    font-size:16px;
  }

  .v-grid__inner,
  .v-grid--large .v-grid__inner{
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:10px;
  }

  .v-card{
    border-radius:14px;
  }

  .v-card__media::after{
    width:28px;
    height:28px;
    left:8px;
    bottom:8px;
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 6v12l10-6z'/%3E%3C/svg%3E") center center / 10px 10px no-repeat,
      linear-gradient(135deg, #2563eb, #06b6d4);
  }

  .v-card__body{
    padding:8px 8px 10px;
  }

  .v-card__title{
    font-size:12px;
    min-height:32px;
    margin-bottom:6px;
  }

  .v-card__meta{
    font-size:10px;
    gap:6px;
  }

  .v-meta__pill{
    max-width:88px;
    padding:4px 6px;
    font-size:10px;
  }

  .shelf{
    padding:14px;
  }

  .shelf__hd{
    align-items:flex-start;
    flex-direction:column;
  }

  .shelf__titleWrap{
    gap:10px;
  }

  .shelf__no{
    width:36px;
    height:36px;
    border-radius:12px;
    font-size:13px;
  }

  .shelf__title{
    font-size:20px;
  }

  .v-playerpro__bar{
    padding:12px;
  }

  .v-playerpro__left,
  .v-playerpro__right{
    width:100%;
    justify-content:flex-start;
  }
}

@media (hover:none){
  .v-card:hover,
  .channel-card:hover,
  .hero-news__item:hover,
  .s-nav__link:hover,
  .m-btn:hover{
    transform:none;
  }
}
.v-card__media::after{
  content:none !important;
  display:none !important;
}
.v-playerpro__bar{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px 14px;
  align-items:center;
}

.v-playerpro__left{
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.v-playerpro__right{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}

.v-ctl{
  min-width:0;
}

.v-select{
  min-width:110px;
}

@media (max-width: 760px){
  .v-playerpro__bar{
    grid-template-columns:1fr;
    align-items:stretch;
  }

  .v-playerpro__left,
  .v-playerpro__right{
    width:100%;
    justify-content:flex-start;
  }

  .v-playerpro__right{
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:10px;
  }

  .v-playerpro__right .v-ctl{
    width:100%;
  }

  .v-playerpro__right .v-select{
    width:100%;
    min-width:0;
  }

  .v-playerpro__right .v-btn{
    width:100%;
    min-height:42px;
  }
}

@media (max-width: 600px){
  .v-playerpro{
    border-radius:22px;
  }

  .v-playerpro__bar{
    padding:12px;
    gap:10px;
  }

  .v-playerpro__left{
    gap:8px;
  }

  .v-playerpro__right{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

  .v-playerpro__right #pip-btn{
    grid-column:1 / -1;
  }

  .v-ctl{
    padding:4px;
  }

  .v-ctl__label{
    display:none;
  }

  .v-select{
    height:40px;
    padding:0 12px;
  }

  .v-btn{
    min-height:40px;
  }

  .v-aside .v-grid--compact .v-grid__inner{
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
    gap:10px;
  }

  .v-aside .v-grid--compact .v-card{
    display:block !important;
    border-radius:16px;
  }

  .v-aside .v-grid--compact .v-card__media{
    margin:0 !important;
    border-radius:16px 16px 0 0;
  }

  .v-aside .v-grid--compact .v-card__body{
    padding:8px 8px 10px !important;
  }

  .v-aside .v-grid--compact .v-card__title{
    font-size:12px;
    line-height:1.32;
    margin-bottom:6px;
    -webkit-line-clamp:2;
  }

  .v-aside .v-grid--compact .v-card__meta{
    gap:6px;
    font-size:10px;
  }

  .v-aside .v-grid--compact .v-meta__pill{
    max-width:86px;
    padding:4px 6px;
    font-size:10px;
  }
}