/* ========================================================
   ATMOSPHERIC — style.css
   ======================================================== */

/* ====== ПЕРЕМЕННЫЕ ====== */
:root{
  --bg:#0d0c0b;
  --bg-soft:#141211;
  --bg-card:#181615;
  --line:#2a2624;
  --text:#d9d4cc;
  --text-dim:#8a8178;
  --accent:#b08e5a;
}

/* ====== БАЗА ====== */
*,*::before,*::after{box-sizing:border-box;}

html{scroll-behavior:smooth;}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Georgia,'Times New Roman',serif;
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;height:auto;display:block;}

a{
  color:var(--accent);
  text-decoration:none;
  transition:opacity .2s;
}
a:hover{opacity:.75;}

p{margin:0 0 18px 0;}
p:last-child{margin-bottom:0;}

/* ====== КОНТЕЙНЕР ====== */
.wrap{
  max-width:1180px;
  margin:0 auto;
  padding:0 28px;
}

/* ====== ВЕРХНЯЯ ПАНЕЛЬ ====== */
.topbar{
  border-bottom:1px solid var(--line);
  padding:18px 0;
}

.topbar .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.topbar-brand{
  font-family:'Courier New',monospace;
  font-size:.78rem;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--text-dim);
}
.topbar-brand:hover{color:var(--accent);opacity:1;}

.topbar-links{
  display:flex;
  align-items:center;
  gap:28px;
  margin-left:auto;
}

.topbar-links a{
  font-family:'Courier New',monospace;
  font-size:.72rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--text-dim);
}
.topbar-links a:hover{color:var(--accent);opacity:1;}

/* ====== ШАПКА ====== */
header{
  padding:56px 0 48px;
  border-bottom:1px solid var(--line);
}

header .head-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  margin-bottom:24px;
}

header .head-top .logo{
  width:96px;
  height:auto;
  max-width:96px;
  margin:0;
  flex:0 0 auto;
}

header .head-top .logo-link{
  display:block;
  flex:0 0 auto;
  line-height:0;
}
header .head-top .logo-link:hover{opacity:1;}

header .head-socials{
  display:flex;
  gap:10px;
  flex:0 0 auto;
}

header .head-socials a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  overflow:hidden;
  border:1px solid var(--line);
  color:var(--text-dim);
  transition:color .2s, border-color .2s;
}
header .head-socials a:hover{
  color:var(--accent);
  border-color:var(--accent);
  opacity:1;
}

header .head-socials svg{
  width:18px;
  height:18px;
  max-width:18px;
  max-height:18px;
  fill:currentColor;
}

.kicker{
  font-family:'Courier New',monospace;
  font-size:.7rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--text-dim);
  margin:0 0 14px 0;
}

h1{
  font-size:3.4rem;
  font-weight:normal;
  letter-spacing:.02em;
  margin:0 0 18px 0;
  line-height:1.05;
}

.lead{
  max-width:720px;
  font-size:1.05rem;
  color:var(--text-dim);
  margin:0;
}

/* ====== ЗАГОЛОВКИ СЕКЦИЙ ====== */
main > section{
  padding:64px 0;
  border-bottom:1px solid var(--line);
}
main > section:last-child{border-bottom:0;}

h2{
  font-size:1.6rem;
  font-weight:normal;
  letter-spacing:.02em;
  margin:0 0 32px 0;
}

h3{
  font-size:1.1rem;
  font-weight:normal;
  margin:0 0 12px 0;
}

/* ====== ВЕРХНИЙ БЛОК ====== */
.top-layout{
  display:grid;
  grid-template-columns:1fr 320px;
  gap:40px;
  align-items:start;
}

/* ====== СЕТКА ЛУЧШИХ ОБЗОРОВ ====== */
.picks{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.pick{
  display:flex;
  flex-direction:column;
}

.pick-title{
  font-size:.95rem;
  font-weight:normal;
  line-height:1.35;
  margin:0 0 12px 0;
  min-height:2.6em;
}
.pick-title a{color:var(--text);}

.pick-cover{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border:1px solid var(--line);
  transition:border-color .25s;
}
.pick a:hover .pick-cover{border-color:var(--accent);}

/* ====== БЛОК КОНЦЕРТОВ ====== */
.concert-block .section-heading{
  font-family:'Courier New',monospace;
  font-size:.72rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--text-dim);
  margin:0 0 16px 0;
  font-weight:normal;
}

.concerts-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.concert-card{
  position:relative;
  display:block;
  overflow:hidden;
  min-height:92px;
  padding:16px 18px;
  border:1px solid var(--line);
  transition:border-color .25s;
}
.concert-card:hover{opacity:1;}

.concert-card::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:var(--poster);
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1.06);
  transition:opacity .35s ease, transform .6s ease;
  z-index:0;
}

.concert-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,
    rgba(13,12,11,.95) 0%,
    rgba(13,12,11,.82) 60%,
    rgba(13,12,11,.55) 100%);
  opacity:0;
  transition:opacity .35s ease;
  z-index:1;
}

.concert-card:hover{border-color:var(--accent);}
.concert-card:hover::before{opacity:.9;transform:scale(1);}
.concert-card:hover::after{opacity:1;}

.concert-inner{position:relative;z-index:2;}

.concert-title{
  margin:0 0 6px 0;
  font-size:.9rem;
  line-height:1.35;
  color:var(--text);
  transition:color .25s;
}

.concert-date{
  margin:0;
  font-family:'Courier New',monospace;
  font-size:.68rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--text-dim);
}

.concert-card:hover .concert-title{color:var(--accent);}

/* ====== ЖАНРОВЫЕ ХЕШТЕГИ ====== */
.genres{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.genre{
  display:inline-block;
  padding:6px 14px;
  border:1px solid var(--line);
  font-family:'Courier New',monospace;
  font-size:.7rem;
  letter-spacing:.06em;
  color:var(--text-dim);
  transition:color .2s, border-color .2s;
}
a.genre:hover{
  color:var(--accent);
  border-color:var(--accent);
  opacity:1;
}

/* ====== РУБРИКИ ====== */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:20px;
}

.card{
  padding:26px 24px;
  border:1px solid var(--line);
  background:var(--bg-soft);
  transition:border-color .25s;
}
.card:hover{border-color:var(--accent);}

.card h3 a{color:var(--text);}
.card h3 a:hover{color:var(--accent);opacity:1;}

.card p{
  color:var(--text-dim);
  font-size:.94rem;
  margin:0;
}

/* ====== КАРТОЧКИ-ССЫЛКИ ====== */
a.card{
  display:block;
  text-decoration:none;
  color:inherit;
  transition:border-color .25s;
}
a.card:hover{border-color:var(--accent);opacity:1;}

/* ====== ЖУРНАЛ ====== */
.zine{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:start;
}

.zine-note p{color:var(--text-dim);}

.zine-quote{
  border-left:2px solid var(--accent);
  padding:6px 0 6px 24px;
  font-size:1.3rem;
  font-style:italic;
  line-height:1.45;
}
.zine-quote small{
  display:block;
  margin-top:14px;
  font-family:'Courier New',monospace;
  font-style:normal;
  font-size:.68rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--text-dim);
}

/* ====== КНОПКИ ====== */
.links{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.btn{
  display:inline-block;
  padding:12px 26px;
  border:1px solid var(--accent);
  font-family:'Courier New',monospace;
  font-size:.72rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--accent);
  transition:background .2s, color .2s;
}
.btn:hover{
  background:var(--accent);
  color:var(--bg);
  opacity:1;
}

/* ====== ПОДВАЛ ====== */
footer{
  padding:52px 0 64px;
  border-top:1px solid var(--line);
  font-family:'Courier New',monospace;
  font-size:.74rem;
  letter-spacing:.06em;
  color:var(--text-dim);
}
footer p{margin:0 0 10px 0;}
footer p:last-child{margin-bottom:0;}
footer a{color:var(--text-dim);}
footer a:hover{color:var(--accent);opacity:1;}

/* ====== СТРАНИЦА «ОБЗОРЫ» ====== */
.page-head{padding:56px 0 0;}

.page-head h1{
  font-size:2.8rem;
  margin:0 0 14px 0;
}

.page-head p{
  max-width:680px;
  color:var(--text-dim);
  margin:0;
}

.releases{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:36px 28px;
  padding:36px 0 72px;
}

.release{
  display:flex;
  flex-direction:column;
  position:relative;
}

.release-cover{
  width:100%;
  max-width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border:1px solid var(--line);
  transition:border-color .25s;
}
.release a:hover .release-cover{border-color:var(--accent);}

.release h3{
  font-size:1.05rem;
  font-weight:normal;
  line-height:1.35;
  margin:16px 0 10px 0;
}
.release h3 a{color:var(--text);}
.release h3 a:hover{color:var(--accent);opacity:1;}

.release-excerpt{
  margin:0 0 14px 0;
  font-size:.92rem;
  line-height:1.55;
  color:var(--text-dim);
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.release-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:auto;
}
.release-tags a{
  font-family:'Courier New',monospace;
  font-size:.65rem;
  letter-spacing:.05em;
  color:var(--text-dim);
  border-bottom:1px solid transparent;
  transition:color .2s, border-color .2s;
}
.release-tags a:hover{
  color:var(--accent);
  border-color:var(--accent);
  opacity:1;
}

.page-head + .wrap .tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0;
}
.page-head + .wrap .tags a{
  display:inline-block;
  padding:6px 14px;
  border:1px solid var(--line);
  font-family:'Courier New',monospace;
  font-size:.7rem;
  letter-spacing:.06em;
  color:var(--text-dim);
  transition:color .2s, border-color .2s;
}
.page-head + .wrap .tags a:hover{
  color:var(--accent);
  border-color:var(--accent);
  opacity:1;
}
.page-head + .wrap .tags a.is-active{
  color:var(--accent);
  border-color:var(--accent);
}

/* ====== СТРАНИЦА АЛЬБОМА ====== */
.album{padding:64px 0;}

.album-title{
  font-size:2.4rem;
  font-weight:normal;
  line-height:1.15;
  margin:0 0 14px 0;
}
.album-title span{color:var(--accent);}

.album-date{
  font-family:'Courier New',monospace;
  font-size:.72rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--text-dim);
  margin:0 0 48px 0;
}

.album-layout{
  display:grid;
  grid-template-columns:minmax(0,420px) 1fr;
  gap:48px;
  align-items:start;
  margin-bottom:56px;
}

.album-cover{
  width:100%;
  border:1px solid var(--line);
}

.album-info{
  margin:0;
  padding:0;
  list-style:none;
}
.album-info li{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:12px 0;
  border-bottom:1px solid var(--line);
}
.album-info dt{
  font-family:'Courier New',monospace;
  font-size:.7rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--text-dim);
}
.album-info dd{
  margin:0;
  text-align:right;
}

/* ====== ССЫЛКИ НА СООБЩЕСТВА ====== */
.band-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:28px 0 0 0;
}
.band-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  overflow:hidden;
  border:1px solid var(--line);
  color:var(--text-dim);
  transition:color .2s, border-color .2s;
}
.band-links a:hover{
  color:var(--accent);
  border-color:var(--accent);
  opacity:1;
}
.band-links svg{
  width:19px;
  height:19px;
  max-width:19px;
  max-height:19px;
  fill:currentColor;
}

/* ====== ТЕКСТ РЕЦЕНЗИИ ====== */
.album-body{max-width:740px;}
.album-body p{margin:0 0 22px 0;}

/* ====== ПЛЕЕР ====== */
.album-player{
  margin:44px 0 0 0;
  padding-top:32px;
  border-top:1px solid var(--line);
}

.album-player-label{
  font-family:'Courier New',monospace;
  font-size:.7rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--text-dim);
  margin:0 0 16px 0;
}

.album-player iframe{
  display:block;
  width:100%;
  border:0;
}

/* ====== ТЕГИ ====== */
.tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:44px 0 0 0;
  padding-top:28px;
  border-top:1px solid var(--line);
}
.tags a{
  font-family:'Courier New',monospace;
  font-size:.7rem;
  letter-spacing:.06em;
  color:var(--text-dim);
  border-bottom:1px solid transparent;
  transition:color .2s, border-color .2s;
}
.tags a:hover{
  color:var(--accent);
  border-color:var(--accent);
  opacity:1;
}

/* ====== НАЗАД ====== */
.album-back{margin:40px 0 0 0;}
.back{
  font-family:'Courier New',monospace;
  font-size:.72rem;
  letter-spacing:.12em;
  text-transform:uppercase;
}

/* ====== КАРУСЕЛЬ ====== */
.carousel{
  display:flex;
  gap:10px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  margin:32px 0;
  padding-bottom:10px;
}
.carousel::-webkit-scrollbar{height:6px;}
.carousel::-webkit-scrollbar-track{background:rgba(255,255,255,.05);}
.carousel::-webkit-scrollbar-thumb{background:var(--accent);border-radius:3px;}

.carousel-item{
  flex:0 0 78%;
  scroll-snap-align:start;
  display:block;
}
.carousel-item img{
  width:100%;
  height:460px;
  object-fit:cover;
  display:block;
}

.note-meta-author{
  font-family:'Courier New',monospace;
  font-size:.68rem;
  letter-spacing:.06em;
  color:var(--text-dim);
  margin:0 0 8px;
  font-style:italic;
}

/* ====== СПИСОК ЗАМЕТОК ====== */
.notes-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:32px 24px;
  padding:36px 0 72px;
}

.note-card{
  display:block;
  text-decoration:none;
  color:inherit;
}

.note-card-img{
  width:100%;
  max-height:280px;
  aspect-ratio:2/3;
  object-fit:cover;
  display:block;
  margin-bottom:14px;
  border:1px solid var(--line);
  transition:border-color .25s;
}
.note-card:hover .note-card-img{border-color:var(--accent);}

.note-card-date{
  font-family:'Courier New',monospace;
  font-size:.66rem;
  letter-spacing:.08em;
  color:var(--accent);
  text-transform:uppercase;
  margin:0 0 8px 0;
}

.note-card-title{
  font-size:1rem;
  font-weight:400;
  line-height:1.35;
  margin:0 0 10px 0;
  color:var(--text);
}
.note-card:hover .note-card-title{color:var(--accent);}

.note-card-excerpt{
  font-size:.82rem;
  line-height:1.6;
  color:var(--text-dim);
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* ====== СТРАНИЦА ЗАМЕТКИ ====== */
.note{padding:56px 0;}

.breadcrumbs{
  font-family:'Courier New',monospace;
  font-size:.68rem;
  letter-spacing:.06em;
  color:var(--text-dim);
  margin:0;
}
.breadcrumbs a{color:var(--text-dim);}
.breadcrumbs a:hover{color:var(--accent);opacity:1;}
.breadcrumbs span{margin:0 6px;}

.note-hero{
  display:grid;
  grid-template-columns:300px 1fr;
  gap:40px;
  align-items:start;
  margin-bottom:56px;
}
.note-hero-img{
  width:100%;
  border:1px solid var(--line);
}

.note-title{
  font-size:1.9rem;
  font-weight:400;
  line-height:1.2;
  margin:0 0 14px 0;
}

.note-meta{
  font-family:'Courier New',monospace;
  font-size:.7rem;
  letter-spacing:.08em;
  color:var(--text-dim);
  margin:0 0 18px 0;
}

.note-lead{
  color:var(--text-dim);
  font-size:.95rem;
  line-height:1.65;
  max-width:620px;
  margin:0;
}

.note-body{
  max-width:660px;
  margin:0 auto;
  font-size:.98rem;
  line-height:1.75;
}
.note-body p{margin:0 0 22px 0;}
.note-body h2{font-size:1.25rem;font-weight:400;margin:44px 0 20px 0;}
.note-body img{
  width:100%;
  border:1px solid var(--line);
  margin:28px 0;
}

/* ====== ВЫПАДАЮЩЕЕ МЕНЮ РУБРИК ====== */
.nav-drop{position:relative;}

.nav-drop-toggle{
  background:none;
  border:0;
  padding:0;
  cursor:pointer;
  font-family:'Courier New',monospace;
  font-size:.72rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--text-dim);
  transition:color .2s;
}
.nav-drop-toggle:hover,
.nav-drop.is-open .nav-drop-toggle{color:var(--accent);}

.nav-drop-menu{
  position:absolute;
  top:calc(100% + 14px);
  left:0;
  min-width:260px;
  background:var(--bg-soft);
  border:1px solid var(--line);
  padding:8px 0;
  display:none;
  z-index:50;
  box-shadow:0 12px 32px rgba(0,0,0,.5);
}

.nav-drop.is-open .nav-drop-menu{display:block;}

.nav-drop-menu a{
  display:block;
  padding:10px 20px;
  font-family:'Courier New',monospace;
  font-size:.7rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--text-dim);
  white-space:nowrap;
  transition:color .2s, background .2s;
}
.nav-drop-menu a:hover{
  color:var(--accent);
  background:rgba(176,142,90,.08);
  opacity:1;
}

/* ====== ИНТЕРВЬЮ ====== */
.interview-head{
  margin:0 0 40px 0;
  max-width:740px;
}

.interview-lead{
  font-style:italic;
  color:var(--text-dim);
  font-size:1rem;
  line-height:1.7;
  margin:0 0 36px 0;
  padding-bottom:28px;
  border-bottom:1px solid var(--line);
}

.qa-q{
  position:relative;
  padding-left:22px;
  margin:32px 0 14px 0;
  font-style:italic;
  color:var(--text);
}
.qa-q::before{
  content:"";
  position:absolute;
  left:2px;
  top:.65em;
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--accent);
}

.qa-speaker{
  font-family:'Courier New',monospace;
  font-size:.78rem;
  letter-spacing:.06em;
  color:var(--text-dim);
  margin:0 0 10px 0;
}

.qa-a{
  margin:0 0 28px 0;
  padding:2px 0 2px 20px;
  border-left:2px solid var(--line);
  line-height:1.75;
  color:var(--text);
}

.qa-pull{
  text-align:center;
  font-weight:700;
  font-size:1.1rem;
  line-height:1.6;
  margin:44px auto;
  max-width:560px;
  color:var(--text);
}
.qa-pull::before,
.qa-pull::after{
  content:"";
  display:block;
  width:64px;
  height:1px;
  background:var(--accent);
  margin:20px auto;
}

/* ====== ФИГУРЫ (общие) ====== */
.note-figure{margin:36px 0;}
.note-figure img{
  width:100%;
  border:1px solid var(--line);
}
.note-figure figcaption{
  font-family:'Courier New',monospace;
  font-size:.66rem;
  letter-spacing:.06em;
  color:var(--text-dim);
  margin-top:10px;
  text-align:center;
}

/* обложка + плеер в две колонки */
.album-embed{
  display:grid;
  grid-template-columns:340px 1fr;
  gap:32px;
  align-items:start;
  margin:44px 0;
  padding:28px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.album-embed-cover img{
  width:100%;
  border:1px solid var(--line);
}
.album-embed-player iframe{
  width:100%;
  height:400px;
  border:0;
  display:block;
}

/* ====== ЧИТАЙТЕ ТАКЖЕ ====== */
.related{
  margin:48px 0 0 0;
  padding-top:32px;
  border-top:1px solid var(--line);
}
.related-title{
  font-size:.95rem;
  letter-spacing:.04em;
  margin:0 0 18px 0;
}
.related-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}
.related-card{
  display:block;
  text-decoration:none;
  color:inherit;
  border:1px solid var(--line);
  transition:border-color .25s;
}
.related-card:hover{border-color:var(--accent);}
.related-card img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  display:block;
  border-bottom:1px solid var(--line);
}
.related-body{padding:10px 12px 12px 12px;}
.related-kind{
  font-family:'Courier New',monospace;
  font-size:.58rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--accent);
  margin:0 0 6px 0;
}
.related-heading{
  font-size:.85rem;
  line-height:1.3;
  margin:0 0 4px 0;
}
.related-artist{
  font-size:.72rem;
  color:var(--text-dim);
  margin:0;
}

/* ====== СТАТЬИ: СПИСОК ====== */
.page-title{
  font-size:1.6rem;
  letter-spacing:.02em;
  margin:0 0 10px 0;
}
.page-lead{
  font-size:.95rem;
  line-height:1.6;
  color:var(--text-dim);
  max-width:60ch;
  margin:0 0 36px 0;
}

/* ====== СЕТКА КАРТОЧЕК РУБРИК — ПЯТЬ В РЯД ====== */
.cards{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
  margin:36px 0 56px;
}
@media (max-width:1200px){
  .cards{grid-template-columns:repeat(3,1fr);}
}
@media (max-width:900px){
  .cards{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:600px){
  .cards{grid-template-columns:1fr;}
}

.cards .card{
  display:flex;
  flex-direction:column;
  padding:0;
  background:transparent;
  border:1px solid var(--line);
  overflow:hidden;
  height:100%;
}
.cards .card:hover{border-color:var(--accent);}

.cards .card-cover{
  width:100%;
  height:180px;
  object-fit:cover;
  display:block;
  border-bottom:1px solid var(--line);
  margin:0;
}

.cards .card h3{
  font-size:1rem;
  line-height:1.35;
  margin:14px 16px 8px 16px;
  color:var(--text);
}
.cards .card:hover h3{color:var(--accent);}

.cards .card .card-meta{
  font-family:'Courier New',monospace;
  font-size:.65rem;
  letter-spacing:.06em;
  color:var(--text-dim);
  margin:0 16px 8px 16px;
}

.cards .card p{
  font-size:.86rem;
  line-height:1.55;
  color:var(--text-dim);
  margin:0 16px 16px 16px;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* ====== СТАТЬЯ: КОНТЕЙНЕР ПО ЦЕНТРУ ====== */
.article{
  display:block;
  width:100%;
  max-width:760px;
  margin:0 auto;
  padding:56px 0;
}
.article > *{
  margin-left:auto;
  margin-right:auto;
}
.article .breadcrumbs{margin:0 auto 22px auto;}
.article-head{margin:0 auto 32px auto;}

.article-title{
  font-size:1.8rem;
  font-weight:400;
  line-height:1.2;
  margin:0 0 12px 0;
}

.article-subtitle{
  font-size:1rem;
  line-height:1.55;
  color:var(--text-dim);
  font-style:italic;
  margin:0 0 14px 0;
}

.article-meta{
  font-family:'Courier New',monospace;
  font-size:.68rem;
  letter-spacing:.06em;
  color:var(--text-dim);
  margin:0;
}

.article-lead{
  font-style:italic;
  color:var(--text);
  line-height:1.75;
}

/* ====== СТАТЬЯ: ТЕКСТ ====== */
.article-body{
  width:100%;
  max-width:100%;
  margin:0 auto;
}
.article-body p{
  line-height:1.75;
  margin:0 0 1.3em 0;
}
.article-body h2{
  font-size:1.25rem;
  font-weight:400;
  margin:44px 0 20px 0;
}
.article-body h3{
  font-size:1.05rem;
  font-weight:400;
  margin:32px 0 18px 0;
}

/* ====== СТАТЬЯ: ФОТО ПО ЦЕНТРУ ====== */
.article-body .note-figure{
  float:none;
  max-width:640px;
  margin:32px auto;
}
.article-body .note-figure img{
  width:100%;
  height:auto;
  display:block;
  border:1px solid var(--line);
}
.article-body .note-figure figcaption{
  font-family:'Courier New',monospace;
  font-size:.68rem;
  letter-spacing:.06em;
  color:var(--text-dim);
  padding-top:10px;
  text-align:center;
}

/* ====== СТАТЬЯ: ВИДЕО ПО ЦЕНТРУ ====== */
.video-embed{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  background:#000;
}
.video-embed iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}
.article-body .video-embed{
  max-width:640px;
  margin:32px auto;
}

/* ====== СТАТЬЯ: КНОПКА ПЛЕЙЛИСТА ====== */
.playlist-link{
  text-align:center;
  margin:32px 0 24px 0;
}
.playlist-link a{
  display:inline-block;
  padding:12px 28px;
  border:1px solid var(--accent);
  color:var(--accent);
  text-decoration:none;
  font-family:'Courier New',monospace;
  font-size:.8rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  transition:background .25s, color .25s;
}
.playlist-link a:hover{
  background:var(--accent);
  color:#0b0b0b;
}
.article-body .playlist-link{
  text-align:center;
  max-width:640px;
  margin:40px auto 24px auto;
}

/* ====== СТАТЬЯ: «ПРОДОЛЖЕНИЕ СЛЕДУЕТ» ====== */
.note-emphasis{
  text-align:center;
  font-weight:700;
  font-size:1.05rem;
  line-height:1.6;
  margin:32px 0;
  color:var(--accent);
}
.article-body .note-emphasis{
  text-align:center;
  max-width:640px;
  margin:28px auto;
}

/* ====== АДАПТИВ ====== */
@media (max-width:1000px){
  .top-layout{grid-template-columns:1fr;gap:44px;}
  .album-layout{grid-template-columns:1fr;gap:36px;}
  .zine{grid-template-columns:1fr;gap:32px;}
  .releases{grid-template-columns:repeat(2,1fr);gap:28px 20px;}
  .album-embed{grid-template-columns:1fr;gap:24px;}
}

@media (max-width:900px){
  .note-hero{grid-template-columns:1fr;gap:24px;}
}

@media (max-width:820px){
  .related-grid{grid-template-columns:repeat(2, 1fr);}
  .article{max-width:100%;padding:40px 0;}
  .article-title{font-size:1.5rem;}
}

@media (max-width:720px){
  body{font-size:16px;}
  .wrap{padding:0 20px;}
  header{padding:44px 0 36px;}
  h1{font-size:2.3rem;}
  h2{font-size:1.35rem;margin-bottom:24px;}
  main > section{padding:44px 0;}
  .album-title{font-size:1.8rem;}
  .page-head h1{font-size:2rem;}
  .picks{grid-template-columns:repeat(2,1fr);gap:16px;}
  .topbar .wrap{flex-direction:column;align-items:flex-start;gap:12px;}
  header .head-top{flex-direction:column;gap:16px;}
  .nav-drop-menu{
    position:static;
    min-width:0;
    box-shadow:none;
    border:0;
    border-left:1px solid var(--line);
    margin:8px 0 0 0;
  }
}

@media (max-width:560px){
  .picks{grid-template-columns:1fr;}
  .releases{grid-template-columns:1fr;}
  h1{font-size:1.9rem;}
  .carousel-item{flex:0 0 88%;}
  .carousel-item img{height:300px;}
  .note-title{font-size:1.45rem;}
  .notes-grid{grid-template-columns:1fr;}
}

@media (max-width:520px){
  .related-grid{grid-template-columns:1fr;}
}

/* ===== НИЖНИЙ БЛОК СТАТЬИ: ОДНА ОСЬ ===== */
.article-body .playlist-link,
.article-body .note-emphasis{
  display:block;
  width:100%;
  max-width:100%;
  text-align:center;
  margin-left:0;
  margin-right:0;
  clear:both;
  float:none;
}
.article-body .playlist-link{
  margin-top:40px;
  margin-bottom:24px;
}
.article-body .note-emphasis{
  margin-top:28px;
  margin-bottom:28px;
}

/* ===== АТМОСФЕРНЫЕ МЕСТА ===== */
.map-large{
  width:100%;
  height:460px;
  border:1px solid var(--line);
  margin:0 0 36px 0;
  background:var(--bg-soft);
}
.place-map{
  width:100%;
  max-width:640px;
  height:320px;
  border:1px solid var(--line);
  margin:32px auto;
  background:var(--bg-soft);
}
.leaflet-container{
  background:#141211;
  font-family:'Courier New',monospace;
}
.leaflet-popup-content-wrapper{
  background:var(--bg-soft);
  color:var(--text);
  border:1px solid var(--accent);
  border-radius:0;
}
.leaflet-popup-tip{background:var(--bg-soft);}
.leaflet-popup-content{margin:10px;font-size:.8rem;}
.map-pop{
  display:block;
  color:var(--text);
  text-decoration:none;
}
.map-pop img{
  width:100%;
  height:110px;
  object-fit:cover;
  border:1px solid var(--line);
  margin-bottom:8px;
}
.map-pop span{
  display:block;
  font-family:Georgia,serif;
  font-size:.9rem;
}
@media (max-width:720px){
  .map-large{height:340px;}
  .place-map{height:240px;}
}
/* тёмная карта поверх светлых тайлов OSM */
.leaflet-tile-pane{
  filter: invert(1) hue-rotate(180deg) brightness(.85) contrast(.9) saturate(.6);
}
.leaflet-control-attribution a[href*="leaflet"]{
  background:none !important;
  padding-left:0 !important;
  margin-left:0 !important;
}
.leaflet-control-attribution{
  background:rgba(20,18,17,.82) !important;
  color:#9a8f80 !important;
  border:1px solid #2a2521 !important;
  border-radius:0 !important;
  font-family:'Courier New',monospace !important;
  font-size:10px !important;
}
.leaflet-control-attribution a{
  color:#b08e5a !important;
}
/* фильтр по областям */
.region-filter{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:28px 0 0;
}
.region-btn{
  background:transparent;
  border:1px solid var(--line);
  color:var(--text-soft, #9a8f80);
  font-family:'Courier New',monospace;
  font-size:.72rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  padding:9px 16px;
  cursor:pointer;
  transition:border-color .2s, color .2s;
}
.region-btn:hover{
  border-color:var(--accent);
  color:var(--accent);
}
.region-btn.is-active{
  border-color:var(--accent);
  color:var(--accent);
  background:rgba(176,142,90,.08);
}
.card.is-hidden{
  display:none;
}

/* ===== ПЛЕЙЛИСТЫ ===== */
.playlist-top{
  display:grid;
  grid-template-columns:340px 1fr;
  gap:28px;
  align-items:stretch;
  margin:36px 0 28px;
}
.playlist-left{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.playlist-cover{
  margin:0;
}
.playlist-cover img{
  width:100%;
  border:1px solid var(--line);
}
.playlist-embed{
  margin:0;
}
.playlist-embed iframe{
  display:block;
  width:100%;
  height:450px;
  border:1px solid var(--line);
}

.playlist-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:0;
}
.playlist-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--line);
  padding:11px 18px;
  font-family:'Courier New',monospace;
  font-size:.74rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#cdbfa8;
  text-decoration:none;
  transition:border-color .2s, color .2s;
}
.playlist-btn:hover{
  border-color:var(--accent);
  color:var(--accent);
  opacity:1;
}
.playlist-ico{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  border-radius:50%;
  font-size:.62rem;
  font-weight:700;
  letter-spacing:0;
  color:#0d0d0d;
}
.playlist-ico-ya{background:#ffcc00;}
.playlist-ico-vk{background:#4c75a3;color:#fff;font-size:.52rem;}

.playlist-credits{
  margin:32px 0 56px;
  padding-top:22px;
  border-top:1px solid var(--line);
  font-size:.86rem;
  line-height:1.6;
  color:var(--text-dim);
}
.playlist-credits p{margin:0 0 6px;}
.playlist-credits a{color:var(--accent);text-decoration:none;}
.playlist-credits a:hover{text-decoration:underline;opacity:1;}

/* заголовок страницы плейлиста по центру колонки, как у статей */
.playlist-head{
  max-width:760px;
  margin:0 auto;
  padding:56px 0 0;
}
.playlist-body{
  max-width:760px;
  margin:0 auto;
  padding:0 0 64px;
}

@media (max-width:720px){
  .playlist-embed iframe{min-height:380px;}
  .playlist-btn{font-size:.68rem;padding:10px 14px;}
}
@media (max-width:900px){
  .playlist-top{grid-template-columns:1fr;gap:22px;}
  .playlist-embed iframe{height:420px;}
}
@media (max-width:720px){
  .playlist-embed iframe{height:380px;}
}
.article-body .playlist-credits{
  margin:32px 0 40px;
}
.playlist-credits a{
  color:var(--accent);
  text-decoration:none;
  border-bottom:1px solid rgba(176,142,90,.35);
  transition:border-color .2s;
}
.playlist-credits a:hover{
  border-color:var(--accent);
  opacity:1;
}
.article-body .playlist-updated{
  margin-top:16px;
  font-family:'Courier New',monospace;
  font-size:.68rem;
  letter-spacing:.08em;
  color:var(--text-dim);
  text-transform:uppercase;
}

/* ===== ВОРОНЫ ===== */
.crows-head{
  padding-top:56px;
  max-width:720px;
}
.crows-head .page-lead{margin-top:14px;}

/* плитки разделов */
.crows-tiles{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
  margin:44px 0 20px;
}
.crow-tile{
  display:flex;
  flex-direction:column;
  border:1px solid var(--line);
  background:#121010;
  text-decoration:none;
  overflow:hidden;
  transition:border-color .25s;
}
.crow-tile:hover{border-color:var(--accent);opacity:1;}
.crow-tile-img{
  display:block;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#1a1716;
}
.crow-tile-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .5s;
}
.crow-tile:hover .crow-tile-img img{transform:scale(1.04);}

.crow-tile-body{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:18px 20px 22px;
}
.crow-tile-label{
  font-family:'Courier New',monospace;
  font-size:.62rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--accent);
}
.crow-tile-title{
  font-size:1.15rem;
  color:#e6e0d6;
}
.crow-tile-text{
  font-size:.86rem;
  line-height:1.55;
  color:var(--text-dim);
}

/* досье */
.bird-head{
  max-width:760px;
  margin:0 auto;
  padding:56px 0 0;
}
.bird-body{
  max-width:760px;
  margin:0 auto;
  padding:34px 0 64px;
}
.bird-top{
  display:grid;
  grid-template-columns:300px 1fr;
  gap:26px;
  align-items:start;
  margin-bottom:34px;
}
.bird-cover{margin:0;}
.bird-cover img{
  width:100%;
  border:1px solid var(--line);
}
.bird-facts{
  border-top:1px solid var(--line);
}
.bird-fact{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:11px 0;
  border-bottom:1px solid var(--line);
  font-size:.88rem;
}
.bird-fact-k{
  font-family:'Courier New',monospace;
  font-size:.66rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--text-dim);
}
.bird-fact-v{color:#e6e0d6;text-align:right;}

/* правила заботы */
.care-head{
  max-width:760px;
  margin:0 auto;
  padding:56px 0 0;
}
.care-body{
  max-width:760px;
  margin:0 auto;
  padding:34px 0 64px;
}
.care-toc{
  display:flex;
  flex-direction:column;
  gap:2px;
  margin:0 0 34px;
  padding:18px 22px;
  border:1px solid var(--line);
  border-left:2px solid var(--accent);
}
.care-toc a{
  font-size:.9rem;
  color:#cdbfa8;
  text-decoration:none;
  padding:5px 0;
}
.care-toc a:hover{color:var(--accent);opacity:1;}
.care-list{
  max-width:760px;
  margin:38px auto 20px;
}
.care-item{
  display:block;
  padding:18px 0;
  border-bottom:1px solid var(--line);
  text-decoration:none;
  transition:opacity .2s;
}
.care-item:hover{opacity:1;}
.care-item-title{
  display:block;
  font-size:1.02rem;
  color:#e6e0d6;
  margin-bottom:5px;
}
.care-item:hover .care-item-title{color:var(--accent);}
.care-item-text{
  display:block;
  font-size:.86rem;
  line-height:1.55;
  color:var(--text-dim);
}

/* адаптив */
@media (max-width:1000px){
  .bird-top{grid-template-columns:1fr;}
  .bird-cover{max-width:280px;}
}
@media (max-width:760px){
  .crows-tiles{grid-template-columns:1fr;}
}

/* ===== ВИТРИНА ТОВАРОВ НА ГЛАВНОЙ ===== */
.front-layout{
  display:grid;
  grid-template-columns:150px 1fr;
  gap:36px;
  align-items:start;
}

.shop-block{
  position:sticky;
  top:24px;
}

.shop-block .section-heading{
  font-family:'Courier New',monospace;
  font-size:.66rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--text-dim);
  margin:0 0 14px 0;
  font-weight:normal;
}

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

/* карточка — просто миниатюра с подписью, без рамки */
.shop-card{
  display:flex;
  align-items:flex-start;
  gap:10px;
  text-decoration:none;
  color:inherit;
  transition:opacity .2s;
}
.shop-card:hover{opacity:1;}

.shop-img{
  display:block;
  flex:0 0 52px;
  width:52px;
  height:52px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#1a1716;
  transition:border-color .25s;
}
.shop-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.shop-card:hover .shop-img{border-color:var(--accent);}

.shop-body{
  display:flex;
  flex-direction:column;
  gap:2px;
  padding-top:2px;
}
.shop-title{
  font-size:.78rem;
  line-height:1.35;
  color:#c9c2b7;
  transition:color .2s;
}
.shop-card:hover .shop-title{color:var(--accent);}

.shop-note{
  font-family:'Courier New',monospace;
  font-size:.56rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--text-dim);
}

/* адаптив витрины */
@media (max-width:1000px){
  .front-layout{grid-template-columns:1fr;gap:32px;}
  .shop-block{position:static;}
  .shop-list{
    flex-direction:row;
    flex-wrap:wrap;
    gap:10px 22px;
  }
  .shop-card{flex:0 0 auto;}
}
/* ===== РЕТРОСПЕКТИВА ===== */
.retro{max-width:760px;margin:0 auto;padding:56px 0;}
.retro-title{font-size:1.9rem;font-weight:400;line-height:1.2;margin:0 0 32px 0;}
.retro-top{
  display:grid;grid-template-columns:260px 1fr;gap:30px;
  align-items:start;margin:0 0 48px 0;
  padding-bottom:32px;border-bottom:1px solid var(--line);
}
.retro-cover img{width:100%;border:1px solid var(--line);}
.retro-artist{font-size:1.5rem;margin:0 0 16px 0;color:var(--accent);}
.retro-row{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--line);}
.retro-row dt{
  font-family:'Courier New',monospace;font-size:.66rem;letter-spacing:.12em;
  text-transform:uppercase;color:var(--text-dim);
}
.retro-row dd{margin:0;text-align:right;}
.retro-toc{margin:24px 0 0;padding:16px 20px;border:1px solid var(--line);border-left:2px solid var(--accent);}
.retro-toc-title{
  font-family:'Courier New',monospace;font-size:.66rem;letter-spacing:.14em;
  text-transform:uppercase;color:var(--text-dim);margin:0 0 10px;
}
.retro-toc a{display:block;padding:5px 0;font-size:.9rem;color:#cdbfa8;}
.retro-toc a:hover{color:var(--accent);opacity:1;}
.retro-body h2{font-size:1.25rem;font-weight:400;margin:44px 0 18px;}
.retro-body p{line-height:1.75;margin:0 0 1.3em;}

@media (max-width:720px){
  .retro{padding:40px 0;}
  .retro-top{grid-template-columns:1fr;gap:24px;}
  .retro-cover{max-width:260px;}
}
/* затемнение виджета ВК */
.album-player iframe{
  filter: brightness(.78) contrast(1.05) saturate(.85);
  border:1px solid var(--line);
  display:block;
  width:100%;
}
/* ===== РЕТРОСПЕКТИВА: ДОП. ЭЛЕМЕНТЫ ===== */
.retro-lead{
  font-style:italic;
  color:var(--text);
  line-height:1.75;
  margin:0 0 28px;
}
.retro-cover{max-width:420px;margin:28px auto;}
.retro-duo{
  display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:28px 0;
}
.retro-duo .retro-cover{max-width:100%;margin:0;}
.retro-duo figure figcaption{
  font-family:'Courier New',monospace;font-size:.66rem;
  letter-spacing:.06em;color:var(--text-dim);
  text-align:center;padding-top:8px;
}
.retro-duo-players{
  display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0 32px;
}
.retro-outro{
  margin:44px 0 32px;padding:24px 26px;
  border-left:2px solid var(--accent);
  background:rgba(176,142,90,.04);
  font-style:italic;line-height:1.75;
}
.retro-outro p:last-child{margin-bottom:0;}

/* имена, альбомы, композиции — тихо */
.prs{color:#e6e0d6;font-style:italic;}
.rel{font-variant:small-caps;letter-spacing:.03em;color:#d8d1c6;}
.song{color:#cbbfa8;font-style:italic;}

/* цитата с чертой слева */
.pull-quote{
  margin:32px 0;padding:4px 0 4px 22px;
  border-left:2px solid var(--accent);
  color:var(--text);font-style:italic;line-height:1.7;
}
/* цитата с чертой справа */
.pull-quote.pull-right{
  padding:4px 22px 4px 0;border-left:0;
  border-right:2px solid var(--accent);
}
/* по центру */
.center-quote{
  margin:32px auto;max-width:560px;text-align:center;
  font-style:italic;line-height:1.8;color:#e6e0d6;
}

@media (max-width:720px){
  .retro-duo,.retro-duo-players{grid-template-columns:1fr;}
  .retro-cover{max-width:100%;}
}
/* ===== СЕТКА И КАРТОЧКИ РЕТРОСПЕКТИВ ===== */
.retro-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:24px;
  margin-top:32px;
}
.retro-card{
  display:block;
  border:1px solid var(--line);
  background:rgba(176,142,90,.03);
  overflow:hidden;
  text-decoration:none;
  transition:border-color .25s;
}
.retro-card:hover{border-color:var(--accent);}
.retro-card-strip{
  width:100%;
  height:180px;
  overflow:hidden;
  border-bottom:1px solid var(--line);
  background:#121212;
}
.retro-card-strip img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 30%;
  display:block;
  filter:grayscale(.15) brightness(.88);
  transition:transform .4s, filter .3s;
}
.retro-card:hover .retro-card-strip img{
  transform:scale(1.03);
  filter:grayscale(0) brightness(1);
}
.retro-card-inner{padding:16px 20px 18px;}
.retro-card-title{
  font-family:Georgia,serif;
  font-size:1.05rem;
  color:#cbc5b7;
  margin:0 0 6px;
  transition:color .2s;
}
.retro-card:hover .retro-card-title{color:var(--accent);}
.retro-card-artist{
  font-family:'Courier New',monospace;
  font-size:.66rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--text-dim);
  margin:0;
}
@media (max-width:720px){
  .retro-grid{grid-template-columns:1fr;gap:16px;}
  .retro-card-strip{height:140px;}
}
/* ===== ОБТЕКАНИЕ ОБЛОЖКИ РЕТРОСПЕКТИВЫ ===== */
.retro-float{
  float:left;
  width:42%;
  max-width:380px;
  margin:6px 32px 16px 0;
  border:1px solid var(--line);
  overflow:hidden;
}
.retro-float img{display:block;width:100%;height:auto;}

/* страховка: поток не заезжает под обложку */
.retro-body::after{content:"";display:block;clear:both;}

/* эти блоки всегда во всю ширину, под обложкой */
.retro-body .album-player,
.retro-body .retro-release,
.retro-body .retro-duo,
.retro-body .retro-duo-players,
.retro-body .retro-outro,
.retro-body .note-figure{clear:both;}

@media (max-width:720px){
  .retro-float{
    float:none;
    width:100%;
    max-width:100%;
    margin:0 0 18px;
  }
}
.seal-rating { margin: 22px 0 28px; }
.seal-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }

.seal-views {
  display: inline-flex; align-items: center; gap: 7px;
  color: #8a8378; font-family: Georgia, serif; font-size: 15px;
}

.seal-crows { display: inline-flex; align-items: flex-end; gap: 6px; }

.crow {
  width: 40px; height: 40px; padding: 0; border: 0; cursor: pointer;
  background-color: #3a342c;
  -webkit-mask-image: url('/images/crow.png');
  mask-image: url('/images/crow.png');
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  transition: background-color .2s ease, transform .15s ease;
}
.crow:hover { background-color: #d4b483; transform: translateY(-2px); }
.crow.is-on { background-color: #b08e5a; }
.crow.is-on:hover { background-color: #9c7c4c; }

.seal-avg { font-family: Georgia, serif; color: #b08e5a; font-size: 15px; }

/* ===== ОЦЕНКА НА ОБЛОЖКАХ КАТАЛОГА ===== */
.release-badge{
  position:absolute;
  top:8px;
  right:8px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:3px 8px;
  background:rgba(13,12,11,.82);
  border:1px solid rgba(176,142,90,.55);
  border-radius:3px;
  font-family:'Courier New',monospace;
  font-size:.72rem;
  letter-spacing:.04em;
  color:var(--accent);
  line-height:1.1;
  backdrop-filter:blur(3px);
  transition:border-color .25s;
}
.release-badge::after{
  content:"\2605";
  font-size:.62rem;
  opacity:.85;
}
.release-badge[hidden]{display:none;}
.release:hover .release-badge{border-color:var(--accent);}

@media (max-width:560px){
  .release-badge{top:6px;right:6px;font-size:.68rem;padding:3px 6px;}
}
/* ===== КОММЕНТАРИИ ===== */
.comments{
  margin:48px 0 0;
  padding-top:34px;
  border-top:1px solid var(--line);
}
.comments-title{
  font-size:1.15rem;
  font-weight:400;
  margin:0 0 26px;
  letter-spacing:.02em;
}
.comments-count{
  color:var(--text-dim);
  font-family:'Courier New',monospace;
  font-size:.8rem;
  letter-spacing:.06em;
}

.comment-form{margin:0 0 40px;}
.comment-form-row{margin:0 0 10px;}
.comment-input,
.comment-textarea{
  width:100%;
  padding:11px 14px;
  background:var(--bg-soft);
  border:1px solid var(--line);
  color:var(--text);
  font-family:Georgia,serif;
  font-size:.95rem;
  line-height:1.6;
  outline:none;
  transition:border-color .2s;
}
.comment-input{max-width:320px;}
.comment-textarea{resize:vertical;min-height:110px;}
.comment-input:focus,
.comment-textarea:focus{border-color:var(--accent);}
.comment-input::placeholder,
.comment-textarea::placeholder{color:var(--text-dim);}

.comment-form-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:12px;
}
.comment-note{
  font-family:'Courier New',monospace;
  font-size:.7rem;
  letter-spacing:.06em;
  color:var(--text-dim);
}
.comment-submit{
  padding:10px 24px;
  background:transparent;
  border:1px solid var(--accent);
  color:var(--accent);
  font-family:'Courier New',monospace;
  font-size:.72rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  cursor:pointer;
  transition:background .2s, color .2s;
}
.comment-submit:hover{background:var(--accent);color:var(--bg);}
.comment-submit:disabled{opacity:.5;cursor:default;}

.comment-reply-to{
  margin-top:10px;
  font-family:'Courier New',monospace;
  font-size:.7rem;
  letter-spacing:.06em;
  color:var(--text-dim);
}
.comment-cancel-reply{
  background:none;border:0;padding:0 0 0 8px;
  color:var(--accent);cursor:pointer;
  font-family:inherit;font-size:inherit;letter-spacing:inherit;
  text-decoration:underline;
}

/* список */
.comment{
  padding:20px 0;
  border-bottom:1px solid var(--line);
}
.comment-head{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:12px;
  margin:0 0 8px;
}
.comment-author{
  font-size:.95rem;
  color:var(--accent);
}
.comment-date{
  font-family:'Courier New',monospace;
  font-size:.66rem;
  letter-spacing:.06em;
  color:var(--text-dim);
}
.comment-text{
  font-size:.95rem;
  line-height:1.7;
  color:var(--text);
}
.comment-reply{
  margin-top:10px;
  background:none;border:0;padding:0;cursor:pointer;
  font-family:'Courier New',monospace;
  font-size:.66rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--text-dim);
  transition:color .2s;
}
.comment-reply:hover{color:var(--accent);}

.comment-children{
  margin:16px 0 0 0;
  padding-left:22px;
  border-left:1px solid var(--line);
}
.comment-children .comment{border-bottom:0;padding:14px 0;}
.comment-children .comment:last-child{padding-bottom:0;}

.comment-empty{
  color:var(--text-dim);
  font-size:.92rem;
  padding:8px 0 24px;
}

@media (max-width:720px){
  .comment-form-foot{flex-direction:column;align-items:flex-start;}
  .comment-children{padding-left:14px;}
}
.comment-editor{position:relative;}

.comment-emoji-toggle{
  position:absolute;
  right:10px;
  bottom:10px;
  width:28px;
  height:28px;
  padding:0;
  background:transparent;
  border:1px solid var(--line);
  border-radius:2px;
  color:var(--text-dim);
  font-size:15px;
  line-height:1;
  cursor:pointer;
  transition:border-color .2s, color .2s;
}
.comment-emoji-toggle:hover{
  border-color:var(--accent);
  color:var(--accent);
}

.comment-emoji-panel{
  position:absolute;
  right:0;
  bottom:46px;
  z-index:30;
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:2px;
  width:230px;
  padding:8px;
  background:var(--bg-soft);
  border:1px solid var(--line);
  box-shadow:0 12px 32px rgba(0,0,0,.55);
}
.comment-emoji-panel[hidden]{display:none;}

.comment-emoji{
  width:34px;
  height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  background:transparent;
  border:0;
  border-radius:2px;
  font-size:19px;
  line-height:1;
  cursor:pointer;
  transition:background .15s;
}
.comment-emoji:hover{background:rgba(176,142,90,.12);}

/* поле ввода не должно заезжать под кнопку */
.comment-textarea{padding-bottom:44px;}

@media (max-width:720px){
  .comment-emoji-panel{width:206px;}
  .comment-emoji{width:30px;height:30px;font-size:17px;}
}
/* ===== ОТМЕТКИ АЛЬБОМА ===== */
.album-marks{margin:0 0 40px 0;}
.marks-row{display:flex;flex-wrap:wrap;gap:10px;}
.mark-btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:9px 16px;border:1px solid var(--line);background:transparent;
  color:var(--text-dim);font-family:'Courier New',monospace;
  font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;
  cursor:pointer;transition:color .2s,border-color .2s,background .2s;
}
.mark-btn:hover{color:var(--accent);border-color:var(--accent);}
.mark-btn.is-on{color:var(--accent);border-color:var(--accent);background:rgba(176,142,90,.08);}
.mark-count{font-variant-numeric:tabular-nums;opacity:.85;}
.mark-btn.is-on .mark-count{opacity:1;}
.mark-btn[disabled]{cursor:default;opacity:.5;}
.mark-btn[disabled]:hover{color:var(--text-dim);border-color:var(--line);}

/* ===== МОЙ СПИСОК ===== */
.my-switch{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 30px;}
.my-list{list-style:none;margin:0;padding:0;}
.my-item{
  display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;
  padding:14px 0;border-bottom:1px solid var(--line);
}
.my-link{color:var(--text);text-decoration:none;font-size:1rem;}
.my-link:hover{color:var(--accent);}
.my-mark{
  font-family:'Courier New',monospace;font-size:.65rem;
  letter-spacing:.08em;text-transform:uppercase;
  padding:3px 8px;border:1px solid var(--line);color:var(--text-dim);
}
.my-mark-now{color:var(--accent);border-color:var(--accent);}
.my-date{
  margin-left:auto;font-family:'Courier New',monospace;
  font-size:.7rem;color:var(--text-dim);opacity:.7;
}
.my-empty{color:var(--text-dim);font-style:italic;}
.my-export{margin-top:30px;}
/* ===== ДНЕВНИК ===== */
.diary-month{
  font-family:'Courier New',monospace;font-size:.72rem;
  letter-spacing:.14em;text-transform:uppercase;
  color:var(--accent);margin:36px 0 14px;
}
.diary-list{list-style:none;margin:0;padding:0;}
.diary-item{
  display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;
  padding:11px 0;border-bottom:1px solid var(--line);
}
.diary-day{
  font-family:'Courier New',monospace;font-size:.72rem;
  color:var(--text-dim);opacity:.6;min-width:22px;
}
.topbar-profile{
  font-family:'Courier New',monospace;
  font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;
  color:var(--text-dim);text-decoration:none;
  transition:color .2s;
}
.topbar-profile:hover{color:var(--accent);}
/* ===== ПРОФИЛЬ ===== */
.prof-links{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:16px;margin:0 0 30px;
}
.prof-card{
  display:block;padding:22px 20px;border:1px solid var(--line);
  text-decoration:none;transition:border-color .2s,background .2s;
}
.prof-card:hover{border-color:var(--accent);background:rgba(176,142,90,.05);}
.prof-title{
  display:block;font-family:Georgia,serif;font-size:1.15rem;
  color:var(--text);margin-bottom:6px;
}
.prof-card:hover .prof-title{color:var(--accent);}
.prof-desc{
  display:block;font-family:'Courier New',monospace;
  font-size:.65rem;letter-spacing:.06em;
  color:var(--text-dim);opacity:.75;
}
/* ==================== ПРОФИЛЬ ==================== */

.profile-wrap{
  max-width:780px;
  margin:0 auto;
  padding:2.4rem 1.2rem 4rem;
}

.profile-title{
  font-family:Georgia, 'Times New Roman', serif;
  font-size:2.2rem;
  font-weight:400;
  color:#e8e2d8;
  margin:0 0 2rem;
  padding-bottom:.8rem;
  border-bottom:1px solid #2a2a28;
}

.profile-note{
  font-family:'Courier New', monospace;
  font-size:.72rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#7c7a72;
  margin:0 0 1.8rem;
}

/* ---------- вход и регистрация ---------- */

.auth-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1.2rem;
}

.auth-card{
  background:#131312;
  border:1px solid #262624;
  padding:1.4rem 1.3rem 1.6rem;
}

.auth-card h2{
  font-family:Georgia, serif;
  font-size:1.05rem;
  font-weight:400;
  color:#b08e5a;
  margin:0 0 1.1rem;
  letter-spacing:.04em;
}

.profile-form label,
.auth-card label{
  display:block;
  font-family:'Courier New', monospace;
  font-size:.68rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#7c7a72;
  margin-bottom:1rem;
}

.profile-form input,
.profile-form select,
.auth-card input{
  display:block;
  width:100%;
  margin-top:.4rem;
  box-sizing:border-box;
  background:#0b0b0a;
  border:1px solid #2a2a28;
  color:#ded8cc;
  font-family:Georgia, serif;
  font-size:.95rem;
  padding:.6rem .7rem;
  outline:none;
  transition:border-color .15s;
}

.profile-form input:focus,
.profile-form select:focus,
.auth-card input:focus{
  border-color:#b08e5a;
}

.profile-form select{
  appearance:none;
  -webkit-appearance:none;
  background-image:linear-gradient(45deg, transparent 50%, #7c7a72 50%),
                   linear-gradient(135deg, #7c7a72 50%, transparent 50%);
  background-position:calc(100% - 18px) 55%, calc(100% - 13px) 55%;
  background-size:5px 5px, 5px 5px;
  background-repeat:no-repeat;
  cursor:pointer;
}

.profile-form input::placeholder,
.auth-card input::placeholder{
  color:#4a4a46;
}

.auth-card button,
.profile-actions button{
  font-family:'Courier New', monospace;
  font-size:.72rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#0e0e0e;
  background:#b08e5a;
  border:1px solid #b08e5a;
  padding:.62rem 1.4rem;
  cursor:pointer;
  transition:background .15s, color .15s;
}

.auth-card button:hover,
.profile-actions button:hover{
  background:#c9a672;
  border-color:#c9a672;
}

.auth-msg{
  font-family:'Courier New', monospace;
  font-size:.78rem;
  color:#b08e5a;
  margin-top:1.2rem;
  min-height:1.2em;
}

/* ---------- карточка профиля ---------- */

.profile-head{
  display:flex;
  align-items:center;
  gap:1.3rem;
  background:#131312;
  border:1px solid #262624;
  padding:1.3rem;
  margin-bottom:2rem;
}

.profile-avatar-btn{
  position:relative;
  display:block;
  padding:0;
  flex:0 0 104px;
  width:104px;
  height:104px;
  background:#0b0b0a;
  border:1px solid #b08e5a;
  cursor:pointer;
  overflow:hidden;
}

.profile-avatar{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.profile-avatar-hint{
  position:absolute;
  left:0; right:0; bottom:0;
  font-family:'Courier New', monospace;
  font-size:.6rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#ded8cc;
  background:rgba(11,11,10,.82);
  padding:.28rem 0;
  opacity:0;
  transition:opacity .18s;
}

.profile-avatar-btn:hover .profile-avatar-hint,
.profile-avatar-btn:focus-visible .profile-avatar-hint{
  opacity:1;
}

.profile-avatar-btn:hover{
  border-color:#c9a672;
}

.profile-id{
  min-width:0;
}

.profile-username{
  font-family:Georgia, serif;
  font-size:1.4rem;
  color:#e8e2d8;
  line-height:1.25;
  overflow-wrap:anywhere;
}

.profile-status{
  font-family:Georgia, serif;
  font-style:italic;
  font-size:.92rem;
  color:#b08e5a;
  margin-top:.25rem;
  overflow-wrap:anywhere;
}

.profile-email{
  font-family:'Courier New', monospace;
  font-size:.72rem;
  color:#7c7a72;
  margin-top:.5rem;
  overflow-wrap:anywhere;
}

.profile-since{
  font-family:'Courier New', monospace;
  font-size:.68rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#5c5a54;
  margin-top:.35rem;
}

/* ---------- подзаголовки ---------- */

.profile-sub{
  font-family:'Courier New', monospace;
  font-size:.7rem;
  font-weight:400;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#b08e5a;
  margin:2.2rem 0 1rem;
}

/* ---------- сетка гоблинов ---------- */

.goblin-grid{
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:.6rem;
}

.goblin-cell{
  padding:0;
  border:1px solid #262624;
  background:#0b0b0a;
  cursor:pointer;
  position:relative;
  overflow:hidden;
  transition:border-color .15s, transform .15s;
}

.goblin-cell img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1 / 1;
  object-fit:cover;
  filter:grayscale(.35) brightness(.85);
  transition:filter .18s;
}

.goblin-cell:hover{
  border-color:#5c5040;
}

.goblin-cell:hover img{
  filter:grayscale(0) brightness(1);
}

.goblin-cell.is-active{
  border-color:#b08e5a;
  box-shadow:0 0 0 1px #b08e5a inset;
}

.goblin-cell.is-active img{
  filter:none;
}

.goblin-cell.is-active::after{
  content:'';
  position:absolute;
  left:0; right:0; bottom:0;
  height:3px;
  background:#b08e5a;
}

/* ---------- форма ---------- */

.profile-form{
  background:#131312;
  border:1px solid #262624;
  padding:1.4rem 1.3rem 1.6rem;
}

.profile-actions{
  display:flex;
  align-items:center;
  gap:1rem;
  margin-top:1.4rem;
  flex-wrap:wrap;
}

.profile-saved{
  font-family:'Courier New', monospace;
  font-size:.72rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#b08e5a;
}

.profile-saved.is-error{
  color:#c96a5a;
}

/* ---------- ссылки и выход ---------- */

.profile-links{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1rem;
}

.profile-link{
  display:block;
  font-family:'Courier New', monospace;
  font-size:.74rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#ded8cc;
  text-decoration:none;
  background:#131312;
  border:1px solid #262624;
  padding:1.1rem 1.2rem;
  transition:border-color .15s, color .15s;
}

.profile-link:hover{
  border-color:#b08e5a;
  color:#b08e5a;
}

.profile-footer{
  margin-top:2.4rem;
  padding-top:1.4rem;
  border-top:1px solid #222220;
}

.profile-logout{
  font-family:'Courier New', monospace;
  font-size:.7rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#7c7a72;
  background:transparent;
  border:1px solid #2a2a28;
  padding:.55rem 1.2rem;
  cursor:pointer;
  transition:color .15s, border-color .15s;
}

.profile-logout:hover{
  color:#c96a5a;
  border-color:#c96a5a;
}

/* ---------- мобильное ---------- */

@media (max-width:680px){
  .auth-grid{
    grid-template-columns:1fr;
  }
  .goblin-grid{
    grid-template-columns:repeat(4, 1fr);
    gap:.45rem;
  }
  .profile-links{
    grid-template-columns:1fr;
  }
  .profile-head{
    flex-direction:column;
    align-items:flex-start;
    text-align:left;
    gap:1rem;
  }
  .profile-title{
    font-size:1.8rem;
  }
}

@media (max-width:420px){
  .goblin-grid{
    grid-template-columns:repeat(3, 1fr);
  }
}
/* ---------- окно выбора аватара ---------- */

body.modal-open{
  overflow:hidden;
}

.goblin-modal{
  position:fixed;
  inset:0;
  z-index:900;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:1.2rem;
}

.goblin-modal[hidden]{
  display:none;
}

.goblin-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(5,5,4,.82);
  backdrop-filter:blur(2px);
}

.goblin-modal-box{
  position:relative;
  width:100%;
  max-width:620px;
  max-height:86vh;
  overflow-y:auto;
  background:#131312;
  border:1px solid #3a3630;
  padding:1.2rem 1.2rem 1.4rem;
}

.goblin-modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  font-family:'Courier New', monospace;
  font-size:.72rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#b08e5a;
  padding-bottom:.9rem;
  margin-bottom:1.1rem;
  border-bottom:1px solid #262624;
}

.goblin-modal-close{
  background:transparent;
  border:0;
  color:#7c7a72;
  font-size:1.3rem;
  line-height:1;
  padding:0 .2rem;
  cursor:pointer;
}

.goblin-modal-close:hover{
  color:#c96a5a;
}

.goblin-modal-foot{
  display:flex;
  justify-content:flex-end;
  margin-top:1.2rem;
  padding-top:1rem;
  border-top:1px solid #262624;
}

.goblin-modal-apply{
  font-family:'Courier New', monospace;
  font-size:.72rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#0e0e0e;
  background:#b08e5a;
  border:1px solid #b08e5a;
  padding:.6rem 1.5rem;
  cursor:pointer;
}

.goblin-modal-apply:hover{
  background:#c9a672;
  border-color:#c9a672;
}

@media (max-width:680px){
  .goblin-modal-box{
    max-height:90vh;
    padding:1rem;
  }
}
/* ---------- иконка профиля в шапке ---------- */

.head-socials a.profile-icon{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  padding:0;
  overflow:hidden;
}

.profile-icon-svg{
  width:18px;
  height:18px;
  fill:#b08e5a;
  transition:fill .15s;
}

.profile-icon-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.head-socials a.profile-icon:hover .profile-icon-svg{
  fill:#e0bd85;
}

.head-socials a.profile-icon:hover{
  border-color:#b08e5a;
}
.comment-author-link{
  color:#b08e5a;
  text-decoration:none;
  border-bottom:1px solid rgba(176,142,90,.35);
}

.comment-author-link:hover{
  color:#e0bd85;
  border-bottom-color:#e0bd85;
}

.comment-as{
  font-family:'Courier New', monospace;
  font-size:.72rem;
  letter-spacing:.06em;
  color:#7c7a72;
  display:block;
  padding:.35rem 0;
}

.comment-as a{
  color:#b08e5a;
  text-decoration:none;
}
/* ---------- публичная страница профиля ---------- */

#u-box .profile-head{
  display:flex;
  align-items:center;
  gap:24px;
  margin-bottom:32px;
}

#u-box .profile-avatar{
  width:104px;
  height:104px;
  min-width:104px;
  max-width:104px;
  object-fit:cover;
  border-radius:4px;
  border:1px solid rgba(176,142,90,.35);
  display:block;
}

#u-box .profile-id{
  flex:1 1 auto;
  min-width:0;
}

#u-box .profile-username{
  font-family:Georgia, serif;
  font-size:1.6rem;
  line-height:1.3;
  color:#ded8cc;
  white-space:normal;
  word-break:break-word;
  writing-mode:horizontal-tb;
}

#u-box .profile-status{
  font-family:'Courier New', monospace;
  font-size:.78rem;
  letter-spacing:.06em;
  color:#7c7a72;
  margin-top:.3rem;
  white-space:normal;
}

#u-box .profile-since{
  font-family:'Courier New', monospace;
  font-size:.68rem;
  letter-spacing:.06em;
  color:#59574f;
  margin-top:.4rem;
}

#u-box .profile-sub{
  font-family:'Courier New', monospace;
  font-size:.68rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#7c7a72;
  margin:28px 0 .5rem;
}

#u-box .profile-fav{
  font-family:Georgia, serif;
  font-size:1rem;
  color:#ded8cc;
  margin:0 0 .4rem;
  word-break:break-word;
}

@media (max-width:560px){
  #u-box .profile-head{
    flex-direction:column;
    align-items:flex-start;
    gap:16px;
  }
}
.profile-forgot{
  margin:.35rem 0 .85rem;
  font-family:'Courier New', monospace;
  font-size:.72rem;
  letter-spacing:.06em;
}

.profile-forgot a{
  color:#7c7a72;
  text-decoration:none;
  border-bottom:1px dotted rgba(124,122,114,.5);
}

.profile-forgot a:hover{
  color:#b08e5a;
  border-bottom-color:#b08e5a;
}

.profile-title{
  font-family:Georgia, serif;
  font-size:1.6rem;
  color:#ded8cc;
  margin:0 0 1.5rem;
}
.profile-form textarea{
  width:100%;
  min-height:110px;
  padding:10px 12px;
  font-family:Georgia, serif;
  font-size:.95rem;
  line-height:1.6;
  color:#ded8cc;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(176,142,90,.25);
  border-radius:2px;
  resize:vertical;
}

.profile-form textarea:focus{
  outline:none;
  border-color:rgba(176,142,90,.55);
}

.fav-albums{margin-bottom:24px;}

.fav-slot{
  padding:16px;
  margin-bottom:12px;
  border:1px solid rgba(176,142,90,.18);
  border-radius:2px;
  background:rgba(255,255,255,.015);
}

.fav-line{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}

.fav-thumb{
  width:52px;
  height:52px;
  object-fit:cover;
  border-radius:2px;
  border:1px solid rgba(176,142,90,.25);
  flex:0 0 auto;
  visibility:hidden;
}

.fav-pick{
  display:inline-block;
  padding:8px 14px;
  font-family:'Courier New', monospace;
  font-size:.72rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#b08e5a;
  border:1px solid rgba(176,142,90,.35);
  border-radius:2px;
  cursor:pointer;
}

.fav-pick:hover{background:rgba(176,142,90,.1);}

.fav-clear{
  background:none;
  border:none;
  padding:4px 0;
  font-family:'Courier New', monospace;
  font-size:.68rem;
  letter-spacing:.06em;
  color:rgba(222,216,204,.45);
  cursor:pointer;
  text-decoration:underline;
}

.fav-clear:hover{color:rgba(222,216,204,.8);}

.fav-slot input[type="text"]{
  width:100%;
  margin-bottom:6px;
}
/* ===== Витрина публичного профиля ===== */

.u-hero{
  position:relative;
  margin:0 0 20px;
  padding:26px 22px;
  border-radius:3px;
  background:#15130f;
  background-size:cover;
  background-position:center;
  overflow:hidden;
}

.u-hero.has-cover::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(10,10,10,.35), rgba(10,10,10,.85));
}

.u-hero-inner{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:20px;
}

.u-avatar{
  width:96px;
  height:96px;
  border-radius:2px;
  border:1px solid rgba(176,142,90,.35);
  object-fit:cover;
  flex:0 0 auto;
}

.u-username{
  font-family:Georgia, serif;
  font-size:1.7rem;
  color:#f0e9dc;
  line-height:1.15;
}

.u-meta{
  font-family:'Courier New', monospace;
  font-size:.72rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:rgba(222,216,204,.5);
  margin-bottom:22px;
}

.u-about{
  white-space:pre-line;
  line-height:1.7;
}

.u-about.is-empty,
.u-albums .is-empty{
  color:rgba(222,216,204,.4);
}

/* ---- альбомы ---- */

.u-albums{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
  margin-bottom:26px;
}

.u-album{
  position:relative;
  display:block;
  overflow:hidden;
  border-radius:2px;
  border:1px solid rgba(176,142,90,.2);
  background:rgba(255,255,255,.03);
  aspect-ratio:1/1;
}

.u-album-cover{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.u-album-cover.is-missing{
  opacity:0;
}

.u-album-cap{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:26px 10px 9px;
  background:linear-gradient(180deg, rgba(8,8,8,0), rgba(8,8,8,.78) 45%, rgba(8,8,8,.94));
  overflow:hidden;
}

.u-album-artist,
.u-album-name{
  width:100%;
  overflow:hidden;
  white-space:nowrap;
}

.u-album-artist{
  font-family:'Courier New', monospace;
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#b08e5a;
  line-height:1.3;
}

.u-album-name{
  font-family:Georgia, serif;
  font-size:15px;
  color:#e8e2d7;
  line-height:1.3;
}

/* ---- значки ---- */

.u-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:26px;
}

.u-badge{
  display:inline-block;
  padding:6px 12px;
  font-family:'Courier New', monospace;
  font-size:.7rem;
  letter-spacing:.05em;
  color:#ded8cc;
  border:1px solid rgba(176,142,90,.25);
  border-radius:2px;
  background:rgba(176,142,90,.06);
}

@media (max-width:560px){
  .u-albums{grid-template-columns:repeat(2, minmax(0,1fr));}
  .u-hero-inner{flex-direction:column; align-items:flex-start; gap:14px;}
}
.cover-row{
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:20px;
}

.cover-preview{
  width:180px;
  height:64px;
  flex:0 0 auto;
  border-radius:2px;
  border:1px dashed rgba(176,142,90,.3);
  background:rgba(255,255,255,.02);
  background-size:cover;
  background-position:center;
}

.cover-preview.has{border-style:solid;}

.cover-actions{
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:flex-start;
}
