/* Pakdis — promo teasers: slider with video stage, download, short link and sharing. Builds on feedback.css. */
.tz [hidden] { display: none !important; }
.tz .container { display: grid; gap: 26px; }
.tz-stage { position: relative; padding: 30px 32px 24px; background: #fff; border-radius: 9px 9px 52px 9px; box-shadow: 0 0 0 1px rgb(68 47 114 / .08), 0 30px 50px -34px rgb(17 7 53 / .5); }
.tz-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.tz-head__k { margin: 0 0 6px; font-size: 14px; font-weight: 500; color: var(--gold); }
.tz-head__t { margin: 0; font-size: clamp(22px, 2.2vw, 30px); font-weight: 900; color: var(--purple); }
.tz-arrows { display: flex; gap: 10px; }
.tz-arrows button { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--purple); border: 1.5px solid var(--gold); transition: background-color .25s var(--ease), color .25s var(--ease); cursor: pointer; }
.tz-arrows button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tz-arrows__next svg { transform: scaleX(-1); }
.tz-arrows button:hover { background: var(--purple); color: var(--gold); }
.tz-arrows button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.tz-slide { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.tz-slide.is-cur { animation: tzIn .5s var(--ease); }
@keyframes tzIn { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.tz-video { aspect-ratio: 16 / 9; max-height: 82vh; width: 100%; overflow: hidden; border-radius: 9px 9px 36px 9px; background: #120a2b; box-shadow: 0 0 0 1px rgb(187 167 96 / .5), 0 24px 40px -26px rgb(17 7 53 / .8); }
.tz-video video { display: block; width: 100%; height: 100%; object-fit: contain; background: #120a2b; }

.tz-info { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; margin-top: 4px; }
.tz-meta { display: flex; align-items: flex-start; gap: 22px; padding: 6px 0 6px 36px; }
.tz-num { flex: none; font-size: 84px; font-weight: 900; line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--gold); direction: ltr; }
.tz-info__kicker { display: flex; align-items: center; gap: 10px; margin: 4px 0 6px; font-size: 14px; font-weight: 500; color: var(--gold); }
.tz-of { padding: 2px 10px; font-size: 12.5px; color: var(--purple); border-radius: 20px; background: rgb(187 167 96 / .2); }
.tz-info__title { margin: 0; font-size: clamp(22px, 2.2vw, 30px); font-weight: 900; line-height: 1.5; color: var(--purple); }
.tz-info__text { margin: 8px 0 0; font-size: 16px; font-weight: 300; line-height: 2; color: var(--grey-600, #666); }

.tz-dock { display: grid; gap: 14px; align-content: start; padding: 4px 36px 4px 0; border-right: 1px solid rgb(187 167 96 / .55); }
.tz-link { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 40px; background: rgb(68 47 114 / .06); box-shadow: inset 0 0 0 1.5px rgb(68 47 114 / .12); }
.tz-link__url { flex: 1; min-width: 0; text-align: left; font-size: 14.5px; color: var(--purple); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tz-link__btn { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--gold); background: var(--purple); border-radius: 40px; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease); }
.tz-link__btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tz-link__btn:hover { background: var(--gold); color: var(--purple-deep); }
.tz-link__btn.is-ok { background: #2f7d4f; color: #fff; }
.tz-dl { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; font-size: 16.5px; font-weight: 700; color: var(--purple-deep); background: var(--gold); border-radius: 9px 9px 9px 24px; box-shadow: 0 16px 24px -18px rgb(98 82 30 / .9); transition: transform .3s var(--ease), background-color .3s var(--ease); }
.tz-dl svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tz-dl:hover { transform: translateY(-2px); background: var(--purple); color: var(--gold); }
.tz-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tz-share__t { margin-left: auto; font-size: 14px; font-weight: 500; color: var(--grey-600, #666); }
.tz-share a, .tz-share button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--gold); background: var(--purple); cursor: pointer; transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease); }
.tz-share svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tz-share a:hover, .tz-share button:hover { transform: translateY(-3px); background: var(--gold); color: var(--purple-deep); }
.tz-link__btn:focus-visible, .tz-dl:focus-visible, .tz-share a:focus-visible, .tz-share button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.tz-count { display: flex; justify-content: center; gap: 6px; margin: 20px 0 0; font-size: 14.5px; color: var(--grey-600, #666); }
.tz-count b { color: var(--purple); font-weight: 900; }

.tz-lib { display: grid; gap: 20px; padding: 28px 32px 30px; background: #fff; border-radius: 9px 9px 9px 44px; box-shadow: 0 0 0 1px rgb(68 47 114 / .08), 0 24px 40px -32px rgb(17 7 53 / .5); }
.tz-lib__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tz-lib__t { margin: 0; font-size: 22px; font-weight: 900; color: var(--purple); }
.tz-lib__t span { font-size: 16px; font-weight: 500; color: var(--gold); }
.tz-search { position: relative; display: block; width: min(100%, 320px); }
.tz-search svg { position: absolute; top: 50%; right: 14px; translate: 0 -50%; width: 19px; height: 19px; fill: none; stroke: var(--purple); stroke-width: 1.8; stroke-linecap: round; }
.tz-search input { width: 100%; min-height: 46px; padding: 0 44px 0 14px; font: inherit; font-size: 15px; color: var(--purple); background: rgb(68 47 114 / .05); border: 1.5px solid transparent; border-radius: 40px; }
.tz-search input:focus { outline: none; background: #fff; border-color: var(--gold); box-shadow: 0 0 0 4px rgb(187 167 96 / .22); }
.tz-empty { margin: 0; padding: 24px; text-align: center; color: var(--grey-600, #666); }
.tz-more { justify-self: center; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 28px; font: inherit; font-size: 15.5px; font-weight: 700; color: var(--purple); border: 1.5px solid var(--gold); border-radius: 9px 9px 9px 20px; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease); }
.tz-more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; rotate: 90deg; }
.tz-more:hover { background: var(--purple); color: var(--gold); }

.tz-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
.tz-thumb { display: grid; align-content: start; gap: 10px; text-align: right; cursor: pointer; font: inherit; }
.tz-thumb[hidden] { display: none; }
.tz-thumb__no { position: absolute; top: 8px; right: 10px; padding: 1px 9px; font-size: 12.5px; font-weight: 700; color: var(--gold); background: rgb(17 7 53 / .7); border-radius: 20px; }
.tz-thumb__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 9px 9px 26px 9px; background: #120a2b; box-shadow: 0 0 0 1.5px rgb(68 47 114 / .15); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.tz-thumb__img img, .tz-thumb__img video { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s var(--ease), scale .5s var(--ease); }
.tz-thumb__play { position: absolute; inset: 0; display: grid; place-items: center; }
.tz-thumb__play svg { width: 42px; height: 42px; padding: 11px; border-radius: 50%; fill: var(--purple-deep); background: var(--gold); box-sizing: border-box; }
.tz-thumb__t { font-size: 14.5px; line-height: 1.7; font-weight: 700; color: var(--purple); }
.tz-thumb:hover .tz-thumb__img { transform: translateY(-3px); }
.tz-thumb:hover img { opacity: 1; scale: 1.04; }
.tz-thumb.is-cur .tz-thumb__img { box-shadow: 0 0 0 3px var(--gold); }
.tz-thumb:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 8px; }

.tz-toast { position: fixed; z-index: 90; inset-inline: 0; bottom: 28px; width: max-content; max-width: calc(100% - 32px); margin: 0 auto; padding: 12px 22px; font-size: 15px; font-weight: 700; color: var(--purple-deep); background: var(--gold); border-radius: 8px 8px 8px 18px; box-shadow: 0 18px 30px -16px rgb(17 7 53 / .6); }

@media (max-width: 1100px) {
  .tz-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tz-info { grid-template-columns: 1fr; gap: 22px; }
  .tz-meta { padding: 0; }
  .tz-dock { padding: 22px 0 0; border-right: 0; border-top: 1px solid rgb(187 167 96 / .55); }
}
@media (max-width: 620px) {
  .tz-stage { padding: 20px 14px 18px; border-bottom-left-radius: 36px; }
  .tz-num { font-size: 56px; }
  .tz-meta { gap: 14px; }
  .tz-share { justify-content: space-between; }
  .tz-share__t { flex-basis: 100%; margin: 0; }
  .tz-link__btn span { display: none; }
  .tz-link__btn { padding: 0 12px; }
  .tz-arrows button { width: 40px; height: 40px; }
  .tz-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .tz-lib { padding: 20px 14px 24px; }
  .tz-search { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .tz-slide.is-cur { animation: none; } }
