/* Secret Archive v71: Фонотека Царицы + засекреченная галерея */
.secret67Overlay {
  position: fixed;
  inset: 0;
  z-index: 999990;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 14%, rgba(216,182,106,.24), transparent 31%),
    radial-gradient(circle at 82% 82%, rgba(104,10,38,.55), transparent 40%),
    linear-gradient(145deg, rgba(10,4,7,.96), rgba(38,7,18,.98) 56%, rgba(6,3,4,.98));
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
  color: #fff0cf;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.secret67Overlay.isOpen {
  opacity: 1;
  pointer-events: auto;
}

.secret67Panel {
  position: relative;
  width: min(960px, 96vw);
  max-height: min(86vh, 860px);
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(216,182,106,.48);
  background:
    linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.035)),
    rgba(40, 7, 19, .82);
  box-shadow: 0 40px 120px rgba(0,0,0,.58);
  backdrop-filter: blur(22px);
  transform: translateY(14px) scale(.985);
  transition: transform .32s cubic-bezier(.2,.9,.2,1);
}

.secret67Overlay.isOpen .secret67Panel {
  transform: translateY(0) scale(1);
}

.secret67Panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(216,182,106,.10), transparent),
    repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 7px);
  mix-blend-mode: screen;
}

.secret67Inner {
  position: relative;
  z-index: 2;
  padding: clamp(18px, 4vw, 34px);
  overflow-y: auto;
  max-height: min(86vh, 860px);
  -webkit-overflow-scrolling: touch;
}

.secret67Top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
  margin-bottom: 22px;
}

.secret67Kicker {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(216,182,106,.46);
  border-radius: 999px;
  padding: 9px 12px;
  color: #d8b66a;
  background: rgba(216,182,106,.08);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .17em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.secret67Title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 8vw, 78px);
  line-height: .9;
  letter-spacing: -.05em;
  text-transform: uppercase;
  color: #f9e6aa;
}

.secret67Title span {
  display: block;
  color: #d8b66a;
}

.secret67Lead {
  margin: 16px 0 0;
  max-width: 620px;
  color: rgba(255,240,207,.74);
  font-size: clamp(15px, 2.6vw, 18px);
  line-height: 1.45;
  font-weight: 700;
}

.secret67Close {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(216,182,106,.34);
  color: #f9e6aa;
  background: rgba(255,255,255,.065);
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
}

.secret67Tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0 18px;
}

.secret67Tab {
  border: 1px solid rgba(216,182,106,.34);
  border-radius: 999px;
  padding: 11px 14px;
  background: rgba(255,255,255,.055);
  color: rgba(255,240,207,.78);
  font-weight: 1000;
  letter-spacing: -.03em;
  cursor: pointer;
}

.secret67Tab.isActive {
  background: linear-gradient(135deg, #fff0b8, #d8b66a);
  color: #340816;
  border-color: transparent;
}

.secret67Section { display: none; }
.secret67Section.isActive { display: block; }

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

.secret67Track,
.secret67Case {
  position: relative;
  border: 1px solid rgba(216,182,106,.28);
  border-radius: 24px;
  padding: 18px;
  min-height: 178px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.032)),
    rgba(20, 4, 10, .52);
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
  overflow: hidden;
}

.secret67Track::before,
.secret67Case::before {
  content: "";
  position: absolute;
  inset: -30% -30% auto auto;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(216,182,106,.22), transparent 62%);
}

.secret67Num {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #d8b66a;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.secret67Track h3,
.secret67Case h3 {
  margin: 18px 0 8px;
  color: #fff0cf;
  font-size: 22px;
  line-height: .98;
  letter-spacing: -.05em;
}

.secret67Artist,
.secret67Meta {
  margin: 0;
  color: rgba(255,240,207,.62);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 750;
}

.secret67Status {
  display: inline-flex;
  margin-top: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(216,182,106,.10);
  color: #e5c879;
  border: 1px solid rgba(216,182,106,.22);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.secret67Listen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: 16px;
  border-radius: 16px;
  background: #fff0b8;
  color: #340816;
  text-decoration: none;
  font-weight: 1000;
  letter-spacing: -.03em;
}

.secret67Listen:active { transform: scale(.985); }

.secret67Case.isLocked {
  filter: saturate(.75);
}

.secret67Lock {
  position: absolute;
  right: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(0,0,0,.26);
  border: 1px solid rgba(216,182,106,.35);
  color: #d8b66a;
  font-size: 20px;
}

.secret67Hint {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px dashed rgba(216,182,106,.32);
  border-radius: 20px;
  color: rgba(255,240,207,.62);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 750;
  background: rgba(255,255,255,.035);
}

.secret67TapToast {
  position: fixed;
  left: 50%;
  bottom: calc(100px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(10px);
  z-index: 999989;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(48,8,20,.92);
  color: #f9e6aa;
  border: 1px solid rgba(216,182,106,.4);
  font-weight: 1000;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 16px 50px rgba(0,0,0,.28);
}

.secret67TapToast.isShow {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 760px) {
  .secret67Overlay { padding: 10px; }
  .secret67Panel { border-radius: 28px; max-height: 88vh; }
  .secret67Inner { max-height: 88vh; padding: 18px; }
  .secret67Grid { grid-template-columns: 1fr; }
  .secret67Top { grid-template-columns: 1fr auto; }
  .secret67Track, .secret67Case { min-height: 0; padding: 16px; border-radius: 22px; }
}
