/* ShowZone — стили по дизайн-концепции */
:root {
  --bg: #0b0b16;
  --acc1: #57e6ff;
  --acc2: #a06bff;
  --glow: 0 8px 30px rgba(87, 230, 255, .33);
}

* { box-sizing: border-box; }

/* hidden должен работать даже у элементов с display: flex */
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: #fff;
  font-family: 'Onest', sans-serif;
}

a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { height: 8px; width: 8px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .12); border-radius: 99px; }
::-webkit-scrollbar-track { background: transparent; }

/* ======= HEADER ======= */
.hdr {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px 40px;
  background: rgba(11, 11, 22, .82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.hdr-logo { display: flex; align-items: center; gap: 10px; }
.hdr-logo .tri {
  width: 0; height: 0;
  border-top: 9px solid transparent; border-bottom: 9px solid transparent;
  border-left: 14px solid var(--acc1);
  filter: drop-shadow(0 0 8px var(--acc1));
}
.hdr-logo .word { font: 900 16px 'Unbounded', sans-serif; letter-spacing: .02em; color: #fff; }
.hdr-logo .word b {
  font-weight: 900;
  background: linear-gradient(90deg, var(--acc1), var(--acc2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hdr-nav { display: flex; gap: 20px; }
.hdr-nav a { font: 500 13px 'Onest', sans-serif; color: rgba(255, 255, 255, .55); transition: color .15s; }
.hdr-nav a:hover, .hdr-nav a.active { color: #fff; }
.hdr-search {
  margin-left: auto;
  display: flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 99px;
  padding: 8px 16px; width: 230px;
  transition: background .15s; cursor: pointer;
}
.hdr-search:hover { background: rgba(255, 255, 255, .1); }
.hdr-search .icon { color: rgba(255, 255, 255, .45); font-size: 13px; }
.hdr-search .ph { font: 400 12.5px 'Onest', sans-serif; color: rgba(255, 255, 255, .4); }
.hdr-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--acc1), var(--acc2));
  display: flex; align-items: center; justify-content: center;
  font: 700 12px 'Onest', sans-serif; color: var(--bg);
  flex: none;
}

/* мобильное меню (бургер + панель слева) */
.menu-btn {
  display: none;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px; width: 36px; height: 36px;
  color: #fff; font-size: 17px; cursor: pointer;
  align-items: center; justify-content: center; flex: none;
}
.drawer-overlay {
  position: fixed; inset: 0; z-index: 98;
  background: rgba(0, 0, 0, .55);
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 99;
  width: 250px;
  background: #11111f;
  border-right: 1px solid rgba(255, 255, 255, .08);
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 14px;
  transform: translateX(-100%); transition: transform .22s ease;
}
body.drawer-open .drawer { transform: translateX(0); }
body.drawer-open .drawer-overlay { opacity: 1; pointer-events: auto; }
.drawer .d-logo { display: flex; align-items: center; gap: 10px; padding: 6px 12px 18px; }
.drawer a {
  font: 500 15px 'Onest', sans-serif; color: rgba(255, 255, 255, .7);
  padding: 12px 14px; border-radius: 10px; transition: all .15s;
}
.drawer a:hover, .drawer a.active { color: #fff; background: rgba(87, 230, 255, .09); }

/* ======= СЕКЦИИ / КАРТОЧКИ ======= */
.section { padding: 36px 40px 8px; display: flex; flex-direction: column; gap: 16px; }
.section + .section { padding-top: 20px; }
/* на главной — по 20% свободного пространства по бокам */
.home .section { padding-left: 20%; padding-right: 20%; }
@media (max-width: 1200px) {
  .home .section { padding-left: 10%; padding-right: 10%; }
}
.section-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.section-title { font: 700 20px 'Unbounded', sans-serif; }
.section-all { font: 500 13px 'Onest', sans-serif; color: var(--acc1); margin-left: auto; }
.section-all:hover { color: var(--acc2); }

/* мини-сортировки подборок */
.mini-sorts { display: flex; gap: 6px; flex-wrap: wrap; }
.msbtn {
  background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .6);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 99px; padding: 6px 13px;
  font: 600 11.5px 'Onest', sans-serif; cursor: pointer; transition: all .15s;
}
.msbtn:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.msbtn.active {
  background: linear-gradient(90deg, var(--acc1), var(--acc2));
  color: var(--bg); border-color: transparent;
}

.row-scroll { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 14px; }

/* лента со стрелками прокрутки */
.row-wrap { position: relative; }
.rarr {
  position: absolute; top: 105px; z-index: 5;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(11, 11, 22, .85); backdrop-filter: blur(8px);
  color: #fff; font: 400 20px/1 'Onest', sans-serif;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  padding: 0 0 3px; transition: all .15s;
}
.rarr:hover { border-color: var(--acc1); color: var(--acc1); }
.rarr.left { left: -19px; }
.rarr.right { right: -19px; }

.card { width: 154px; flex: none; display: flex; flex-direction: column; gap: 8px; transition: transform .15s; }
.card:hover { transform: translateY(-4px); }
.card-poster {
  position: relative; width: 100%; aspect-ratio: 2/3;
  border-radius: 12px; overflow: hidden;
  background: linear-gradient(160deg, #191430, #0d1626);
  border: 1px solid rgba(255, 255, 255, .07);
}
.card-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge {
  position: absolute;
  background: rgba(11, 11, 22, .75); backdrop-filter: blur(6px);
  border-radius: 7px; padding: 3px 8px;
}
.badge-type { top: 8px; right: 8px; font: 500 10px 'Onest', sans-serif; color: rgba(255, 255, 255, .7); }
/* рейтинги в фирменных стилях: КП — оранжевый, IMDb — жёлтый */
.badge-kp {
  bottom: 8px; left: 8px;
  background: linear-gradient(135deg, #ff5500, #ff8800);
  color: #fff; font: 700 10.5px 'Onest', sans-serif;
}
.badge-imdb {
  bottom: 8px; right: 8px;
  background: #f5c518;
  color: #121212; font: 700 10.5px 'Onest', sans-serif;
}
.card-title { font: 600 13px 'Onest', sans-serif; color: #fff; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.card-meta { font: 400 11.5px 'Onest', sans-serif; color: rgba(255, 255, 255, .45); margin-top: -4px; }

/* жанры */
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 99px; padding: 10px 20px;
  font: 500 13px 'Onest', sans-serif; color: rgba(255, 255, 255, .75);
  transition: border-color .15s, color .15s; cursor: pointer;
}
.chip:hover { border-color: var(--acc1); color: #fff; }

/* ======= ПОИСК ======= */
.search-wrap {
  padding: 36px 40px 48px;
  display: flex; flex-direction: column; gap: 22px;
  max-width: 1280px; margin: 0 auto; width: 100%; flex: 1;
}
.page-title { font: 700 28px 'Unbounded', sans-serif; margin: 0; }
.page-title.center { text-align: center; }

/* фильтры поиска — кастомные дропдауны */
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.dd { position: relative; }
.dd-btn {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px; padding: 10px 14px;
  font: 500 12.5px 'Onest', sans-serif; color: rgba(255, 255, 255, .8);
  cursor: pointer; min-width: 150px; transition: all .15s;
}
.dd-btn::after {
  content: ''; margin-left: auto;
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .15s;
}
.dd.open .dd-btn::after { transform: rotate(-135deg) translateY(-2px); }
.dd-btn:hover, .dd.open .dd-btn { border-color: var(--acc1); }
/* подсветка при сделанном выборе */
.dd.has-value .dd-btn {
  border-color: var(--acc1);
  background: rgba(87, 230, 255, .1);
  color: var(--acc1); font-weight: 600;
}
.dd-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 60;
  min-width: 100%; max-height: 320px; overflow-y: auto;
  background: #14142a;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px; padding: 6px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .55);
  display: none;
}
.dd.open .dd-menu { display: block; }
.dd-opt {
  padding: 9px 14px; border-radius: 9px;
  font: 500 13px 'Onest', sans-serif; color: rgba(255, 255, 255, .75);
  cursor: pointer; white-space: nowrap; transition: background .12s, color .12s;
}
.dd-opt:hover { background: rgba(87, 230, 255, .12); color: #fff; }
.dd-opt.sel { color: var(--acc1); background: rgba(87, 230, 255, .07); }
.sort-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sort-label { font: 400 12.5px 'Onest', sans-serif; color: rgba(255, 255, 255, .4); }
.sbtn {
  background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 99px; padding: 8px 17px;
  font: 600 12.5px 'Onest', sans-serif; cursor: pointer; transition: all .15s;
}
.sbtn.active {
  background: linear-gradient(90deg, var(--acc1), var(--acc2));
  color: var(--bg); border-color: transparent;
}
.search-bar {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px; padding: 4px 8px 4px 20px;
}
.search-bar .icon { color: var(--acc1); font-size: 17px; }
.search-bar input {
  flex: 1; background: transparent; border: none; outline: none;
  color: #fff; font: 400 15px 'Onest', sans-serif; padding: 14px 0;
}
.search-bar input::placeholder { color: rgba(255, 255, 255, .35); }
.btn-find {
  background: linear-gradient(90deg, var(--acc1), var(--acc2));
  color: var(--bg); font: 700 13px 'Onest', sans-serif;
  padding: 11px 22px; border-radius: 12px; cursor: pointer; border: none;
}
.type-chips { display: flex; align-items: center; gap: 8px; }
.tchip {
  background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 99px; padding: 8px 17px;
  font: 600 12.5px 'Onest', sans-serif; cursor: pointer; transition: all .15s;
}
.tchip.active {
  background: linear-gradient(90deg, var(--acc1), var(--acc2));
  color: var(--bg); border-color: transparent;
}
.result-count { margin-left: auto; font: 400 12.5px 'Onest', sans-serif; color: rgba(255, 255, 255, .4); }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px 16px;
}
.grid .card { width: auto; }
.no-results { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 60px 0; }
.no-results .t1 { font: 700 18px 'Unbounded', sans-serif; color: rgba(255, 255, 255, .75); }
.no-results .t2 { font: 400 13.5px 'Onest', sans-serif; color: rgba(255, 255, 255, .45); }
.btn-more {
  align-self: center;
  border: 1px solid rgba(255, 255, 255, .22); background: transparent;
  color: #fff; font: 500 13px 'Onest', sans-serif;
  padding: 12px 34px; border-radius: 99px; cursor: pointer; transition: background .15s;
}
.btn-more:hover { background: rgba(255, 255, 255, .08); }

/* ======= ПЛЕЕР ======= */
.player-wrap {
  padding: 24px 40px 48px;
  display: flex; flex-direction: column; gap: 20px;
  max-width: 1180px; margin: 0 auto; width: 100%; flex: 1;
}
.crumbs { display: flex; align-items: center; gap: 8px; font: 400 12.5px 'Onest', sans-serif; flex-wrap: wrap; }
.crumbs a, .crumbs .sep { color: rgba(255, 255, 255, .45); }
.crumbs a:hover { color: #fff; }
.crumbs .cur { color: #fff; }

.player-tabs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ptab {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px; padding: 9px 16px;
  cursor: pointer; transition: all .15s;
}
.ptab .name { font: 600 12.5px 'Onest', sans-serif; color: rgba(255, 255, 255, .75); }
.ptab .q { font: 500 10px 'IBM Plex Mono', monospace; color: rgba(255, 255, 255, .4); }
.ptab.active { background: rgba(87, 230, 255, .12); border-color: var(--acc1); }
.ptab.active .name { color: var(--acc1); }
.player-voice { margin-left: auto; font: 400 12px 'Onest', sans-serif; color: rgba(255, 255, 255, .4); }
.player-voice b { color: rgba(255, 255, 255, .8); font-weight: 400; }

.player-frame {
  position: relative; aspect-ratio: 16/9;
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(160deg, #131022, #0d1626);
  border: 1px solid rgba(255, 255, 255, .09);
}
.player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.title-row { display: flex; align-items: flex-start; gap: 28px; flex-wrap: wrap; }
.title-info { display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 280px; }
.title-side { flex: none; width: 220px; display: flex; flex-direction: column; gap: 10px; }
.title-poster {
  width: 100%; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .09);
  display: block;
}
/* лайк/дизлайк тайтла */
.title-likes { display: flex; gap: 8px; }
.lbtn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px; padding: 9px 0;
  color: rgba(255, 255, 255, .65);
  font: 600 13px 'Onest', sans-serif; cursor: pointer; transition: all .15s;
}
.lbtn svg { width: 16px; height: 16px; fill: currentColor; }
.lbtn:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.lbtn.like.on { color: #6ee7a0; border-color: rgba(110, 231, 160, .55); background: rgba(110, 231, 160, .1); }
.lbtn.dislike.on { color: #ff7a7a; border-color: rgba(255, 122, 122, .55); background: rgba(255, 122, 122, .1); }
.title-name { font: 700 30px 'Unbounded', sans-serif; margin: 0; }
.title-orig { font: 400 14px 'Onest', sans-serif; color: rgba(255, 255, 255, .4); margin-top: -4px; }
.title-meta { display: flex; align-items: center; gap: 10px; font: 400 14px 'Onest', sans-serif; color: rgba(255, 255, 255, .55); flex-wrap: wrap; }
/* рейтинги в фирменных стилях КП и IMDb */
.rpill { border-radius: 8px; padding: 4px 11px; font: 700 13px 'Onest', sans-serif; }
.rpill.kp { background: linear-gradient(135deg, #ff5500, #ff8800); color: #fff; }
.rpill.imdb { background: #f5c518; color: #121212; }
.meta-link { color: rgba(255, 255, 255, .55); transition: color .15s; }
.meta-link:hover { color: var(--acc1); }
.title-desc { font: 400 14.5px/1.65 'Onest', sans-serif; color: rgba(255, 255, 255, .7); max-width: 760px; text-wrap: pretty; }
.title-people { font: 400 13px/1.6 'Onest', sans-serif; color: rgba(255, 255, 255, .45); max-width: 760px; }
.title-people b { color: rgba(255, 255, 255, .7); font-weight: 500; }
.title-actions { display: flex; gap: 10px; flex: none; padding-top: 6px; }
.abtn {
  border: 1px solid rgba(255, 255, 255, .22); background: transparent;
  border-radius: 99px; padding: 11px 19px;
  font: 500 13px 'Onest', sans-serif; color: #fff;
  cursor: pointer; transition: background .15s;
}
.abtn:hover { background: rgba(255, 255, 255, .08); }

.subsection { display: flex; flex-direction: column; gap: 16px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 22px; }
.subsection-title { font: 700 17px 'Unbounded', sans-serif; }
.card.sm { width: 140px; }

/* ======= КОММЕНТАРИИ ======= */
.cmt-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cmt-count { color: rgba(255, 255, 255, .4); font: 500 14px 'Onest', sans-serif; }
.cmt-sorts { display: flex; gap: 6px; }

.cmt-form { display: flex; flex-direction: column; gap: 10px; }
.cmt-nick, .cmt-text {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px; padding: 11px 15px;
  color: #fff; font: 400 13.5px 'Onest', sans-serif; outline: none;
}
.cmt-nick { width: 240px; max-width: 100%; }
.cmt-text { resize: vertical; min-height: 44px; }
.cmt-nick:focus, .cmt-text:focus { border-color: var(--acc1); }
.cmt-form-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cmt-msg { font: 500 12.5px 'Onest', sans-serif; color: #ff7a7a; }

.cmt-list { display: flex; flex-direction: column; gap: 18px; }
.cmt-empty { font: 400 13.5px 'Onest', sans-serif; color: rgba(255, 255, 255, .4); margin: 0; }
.cmt { display: flex; gap: 12px; }
.cmt-ava {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--acc1), var(--acc2));
  display: flex; align-items: center; justify-content: center;
  font: 700 14px 'Onest', sans-serif; color: var(--bg);
}
.cmt.reply .cmt-ava { width: 30px; height: 30px; font-size: 12px; }
.cmt-body { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.cmt-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cmt-author { font: 600 13.5px 'Onest', sans-serif; }
.cmt-date { font: 400 11.5px 'Onest', sans-serif; color: rgba(255, 255, 255, .35); }
.cmt-content {
  font: 400 13.5px/1.6 'Onest', sans-serif; color: rgba(255, 255, 255, .85);
  white-space: pre-wrap; overflow-wrap: break-word;
}
.cmt-actions { display: flex; align-items: center; gap: 6px; }
.vbtn {
  width: 26px; height: 26px; border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .6);
  font: 600 14px/1 'Onest', sans-serif; cursor: pointer; transition: all .15s;
  display: flex; align-items: center; justify-content: center;
}
.vbtn:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.vbtn.on { border-color: var(--acc1); color: var(--acc1); background: rgba(87, 230, 255, .1); }
.cmt-rating { min-width: 22px; text-align: center; font: 700 13px 'IBM Plex Mono', monospace; color: rgba(255, 255, 255, .6); }
.cmt-rating.pos { color: #6ee7a0; }
.cmt-rating.neg { color: #ff7a7a; }
.cmt-reply-btn {
  background: none; border: none; cursor: pointer;
  font: 600 12px 'Onest', sans-serif; color: rgba(255, 255, 255, .45);
  padding: 4px 8px; transition: color .15s;
}
.cmt-reply-btn:hover { color: var(--acc1); }
.cmt-replies {
  display: flex; flex-direction: column; gap: 14px;
  border-left: 2px solid rgba(255, 255, 255, .08);
  padding-left: 14px; margin-top: 8px;
}
.cmt-replies:empty { display: none; }
.cmt-reply-form { margin-top: 8px; }

/* ======= АДМИНКА ======= */
.adm-badge {
  font: 500 11px 'IBM Plex Mono', monospace;
  color: var(--acc1);
  border: 1px solid rgba(87, 230, 255, .35);
  border-radius: 99px; padding: 4px 12px;
}
.adm-logout { margin-left: auto; }

.adm-login { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 16px; }
.adm-login-card {
  display: flex; flex-direction: column; gap: 14px;
  width: 320px; max-width: 100%;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px; padding: 28px;
}
.adm-login-title { font: 700 16px 'Unbounded', sans-serif; }
.adm-pass { width: 100%; }

.adm-wrap {
  padding: 28px 40px 48px;
  display: flex; flex-direction: column; gap: 22px;
  max-width: 1180px; margin: 0 auto; width: 100%; flex: 1;
}
.adm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.adm-stat {
  display: flex; flex-direction: column; gap: 6px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px; padding: 16px 18px;
}
.adm-stat .v { font: 700 22px 'Unbounded', sans-serif; }
.adm-stat .l { font: 500 12px 'Onest', sans-serif; color: rgba(255, 255, 255, .5); }
.adm-stat .l i { font-style: normal; color: rgba(255, 255, 255, .35); }

.adm-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.adm-tab { display: flex; flex-direction: column; gap: 12px; }
.adm-tab .result-count { margin-left: 0; }
.adm-controls { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.adm-controls .cmt-nick { width: 260px; }

.adm-table-wrap { overflow-x: auto; }
.adm-table { width: 100%; border-collapse: collapse; }
.adm-table th {
  text-align: left; padding: 10px 12px;
  font: 600 11.5px 'Onest', sans-serif; color: rgba(255, 255, 255, .45);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  white-space: nowrap;
}
.adm-table td {
  padding: 10px 12px;
  font: 400 13px 'Onest', sans-serif; color: rgba(255, 255, 255, .8);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  vertical-align: top;
}
.adm-table td.num { font: 500 13px 'IBM Plex Mono', monospace; }
.adm-table td.num.pos { color: #6ee7a0; }
.adm-table td.num.neg { color: #ff7a7a; }
.adm-table td.nowrap { white-space: nowrap; }
.adm-table td.adm-text { max-width: 380px; overflow-wrap: break-word; white-space: pre-wrap; }
.adm-empty { color: rgba(255, 255, 255, .4) !important; }
.adm-link { color: rgba(255, 255, 255, .85); transition: color .15s; }
.adm-link:hover { color: var(--acc1); }
.adm-reply { font: 400 11px 'Onest', sans-serif; color: rgba(255, 255, 255, .35); font-style: normal; }
.adm-del {
  background: none; cursor: pointer;
  border: 1px solid rgba(255, 122, 122, .4);
  border-radius: 8px; padding: 5px 12px;
  font: 600 11.5px 'Onest', sans-serif; color: #ff7a7a; transition: all .15s;
}
.adm-del:hover { background: rgba(255, 122, 122, .12); }

@media (max-width: 760px) {
  .adm-wrap { padding-left: 16px; padding-right: 16px; }
}

/* ======= FOOTER ======= */
.ftr {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .07);
  margin-top: 40px;
}
.ftr-logo { display: flex; align-items: center; gap: 8px; }
.ftr-logo .tri {
  width: 0; height: 0;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
  border-left: 9px solid var(--acc1);
}
.ftr-logo .word { font: 900 12px 'Unbounded', sans-serif; color: rgba(255, 255, 255, .75); }
.ftr-tag { font: 400 11.5px 'Onest', sans-serif; color: rgba(255, 255, 255, .35); }
.ftr-links { display: flex; gap: 16px; font: 400 11.5px 'Onest', sans-serif; }
.ftr-links a { color: rgba(255, 255, 255, .4); }
.ftr-links a:hover { color: #fff; }

/* ======= ПРАВООБЛАДАТЕЛЯМ ======= */
.form {
  display: flex; flex-direction: column; gap: 14px;
  max-width: 640px; margin: 0 auto; width: 100%;
}
.form label { font: 600 13px 'Onest', sans-serif; color: rgba(255, 255, 255, .7); display: flex; flex-direction: column; gap: 7px; }
.form input, .form textarea {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px; padding: 12px 16px;
  color: #fff; font: 400 14px 'Onest', sans-serif; outline: none;
  resize: vertical;
}
.form input:focus, .form textarea:focus { border-color: var(--acc1); }
.form .hint { font: 400 12.5px/1.5 'Onest', sans-serif; color: rgba(255, 255, 255, .45); }
.form-msg { font: 500 13.5px 'Onest', sans-serif; }
.form-msg.ok { color: #6ee7a0; }
.form-msg.err { color: #ff7a7a; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
.page > .ftr { margin-top: auto; }

@media (max-width: 760px) {
  .hdr { padding: 12px 16px; gap: 14px; flex-wrap: wrap; }
  .hdr-search { width: auto; margin-left: auto; }
  .hdr-search .ph { display: none; }
  .section, .home .section, .search-wrap, .player-wrap { padding-left: 16px; padding-right: 16px; }
  .title-name { font-size: 22px; }
  .title-side { width: 160px; }

  /* мобильный подвал: всё в столбик по центру */
  .ftr {
    padding: 26px 16px;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 10px; text-align: center;
  }
  .ftr-tag { display: flex; flex-direction: column; gap: 4px; }
  .ftr-tag .dot { display: none; }
}

/* <500px: постер с лайками по центру */
@media (max-width: 500px) {
  .title-side { margin: 0 auto; }
}

@media (max-width: 520px) {
  .hdr { gap: 10px; }
  .hdr-nav { gap: 12px; }
  .hdr-avatar { display: none; }
  .hdr-logo .word { font-size: 14px; }
}

/* ≤420px: навигация уходит в бургер-меню слева */
@media (max-width: 420px) {
  .hdr-nav { display: none; }
  .menu-btn { display: flex; }
  .rarr.left { left: -8px; }
  .rarr.right { right: -8px; }
}
