

.tpvid button, .tpvid-modal button{
  -webkit-appearance:none !important; appearance:none !important;
  background:transparent !important; background-image:none !important;
  border:0 !important; border-radius:0 !important;
  box-shadow:none !important; text-shadow:none !important;
  text-transform:none !important; letter-spacing:normal !important;
  min-height:0 !important; min-width:0 !important; max-width:none !important;
  margin:0 !important; padding:0 !important; line-height:1.4 !important;
  float:none !important; outline:0;
}
.tpvid button:hover, .tpvid button:focus, .tpvid button:active,
.tpvid-modal button:hover, .tpvid-modal button:focus{
  background:transparent !important; background-image:none !important; box-shadow:none !important;
}
.tpvid h2, .tpvid p{margin:0 !important; padding:0 !important; text-transform:none !important}
.tpvid svg{display:block; max-width:none}
.tpvid img{border:0; max-width:100%}

.tpvid{
  --tp-accent:#F5661E; --tp-accent-soft:#FFF4EE; --tp-accent-deep:#B8430C;
  --tp-ink:#0F1419; --tp-ink-2:#5B6672;
  --tp-line:#E4E8EC; --tp-r:15px;
  --tp-font:'Montserrat',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
  display:block; box-sizing:border-box;
  width:100%; max-width:1180px; margin:0 auto; padding:26px 0 36px;
  font-family:var(--tp-font) !important; color:var(--tp-ink);
  text-align:left; -webkit-font-smoothing:antialiased;
}
.tpvid *, .tpvid *::before, .tpvid *::after,
.tpvid-modal, .tpvid-modal *{
  box-sizing:border-box; font-family:var(--tp-font) !important;
}
.tpvid .tpvid-head{text-align:center; margin-bottom:20px}
.tpvid .tpvid-htitle{
  font-size:clamp(22px,3.2vw,34px) !important; line-height:1.18 !important;
  font-weight:800 !important; letter-spacing:-.03em !important;
  color:var(--tp-ink) !important; margin:0 0 9px !important;
  overflow-wrap:break-word;
}
.tpvid .tpvid-htitle em{
  font-style:normal;
  background:linear-gradient(115deg, #FF7A2F, #F5661E 55%, #D9530F);
  -webkit-background-clip:text; background-clip:text;
  color:transparent; -webkit-text-fill-color:transparent;
}
.tpvid .tpvid-hsub{
  font-size:13px !important; line-height:1.65 !important; font-weight:500 !important;
  color:var(--tp-ink-2) !important; max-width:560px; margin:0 auto !important;
}

.tpvid .tpvid-wrap{position:relative; overflow:hidden}
.tpvid .tpvid-scroll{
  display:flex; gap:13px; overflow-x:auto;
  scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
  scrollbar-width:none; padding:4px 0 6px;
}
.tpvid .tpvid-scroll::-webkit-scrollbar{display:none}
.tpvid .tpvid-card{
  flex:0 0 calc(33.333% - 9px); scroll-snap-align:start; scroll-snap-stop:always;
  position:relative; border-radius:16px; overflow:hidden;
  cursor:pointer; -webkit-tap-highlight-color:transparent;
  background:#E9EDF1; border:0;
  box-shadow:0 10px 26px -20px rgba(15,20,25,.28);
}
.tpvid .tpvid-card-inner{position:relative; width:100%; aspect-ratio:6/5; overflow:hidden}
.tpvid .tpvid-card-inner img{display:block; width:100%; height:100%; object-fit:cover}
.tpvid .tpvid-card-inner::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(to bottom, rgba(0,0,0,.06) 0%, transparent 26%, rgba(9,12,16,.78) 100%);
  pointer-events:none;
}
.tpvid .tpvid-play{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  z-index:2; width:54px; height:54px; border-radius:50%;
  background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  color:var(--tp-accent);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 26px rgba(0,0,0,.22), inset 0 0 0 1px rgba(255,255,255,.6);
  pointer-events:none;
}
.tpvid .tpvid-play svg{width:22px; height:22px; margin-left:3px}
.tpvid .tpvid-info{
  position:absolute; bottom:0; left:0; right:0; z-index:2;
  padding:14px; display:flex; flex-direction:column; gap:5px;
}
.tpvid .tpvid-badge{
  align-self:flex-start; padding:4px 10px; border-radius:999px;
  background:rgba(255,255,255,.16);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.22);
  color:#fff; font-size:10px; font-weight:700; letter-spacing:.05em;
  text-transform:uppercase;
}
.tpvid .tpvid-title{
  color:#fff; font-size:14.5px; font-weight:800; letter-spacing:-.02em;
  line-height:1.25; text-shadow:0 1px 4px rgba(0,0,0,.4);
}
.tpvid .tpvid-desc{color:rgba(255,255,255,.82); font-size:11.5px; font-weight:500; line-height:1.45}

.tpvid button.tpvid-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  z-index:5; width:38px; height:38px; border-radius:999px !important;
  background:rgba(255,255,255,.95) !important;
  border:1px solid var(--tp-line) !important;
  color:var(--tp-ink) !important; cursor:pointer;
  display:flex !important; align-items:center; justify-content:center;
  box-shadow:0 6px 16px rgba(15,20,25,.15) !important;
  transition:background-color .18s ease, color .18s ease, border-color .18s ease;
}
.tpvid button.tpvid-arrow svg{
  width:17px; height:17px; fill:none; stroke:currentColor;
  stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round;
}
.tpvid button.tpvid-arrow:hover, .tpvid button.tpvid-arrow:focus-visible{
  background:var(--tp-accent) !important; border-color:var(--tp-accent) !important;
  color:#FFFFFF !important;
}
.tpvid .tpvid-arrow--prev{left:8px}
.tpvid .tpvid-arrow--next{right:8px}

.tpvid-modal{
  position:fixed; inset:0; z-index:2147483647;
  display:none; align-items:center; justify-content:center;

  padding:16px 12px calc(76px + env(safe-area-inset-bottom, 0px));
  box-sizing:border-box;
}

body.tpvid-open #tp-chat-toggle, body.tpvid-open #tp-chat-panel, body.tpvid-open #tp-chat-widget,
body.tpvid-open .tp-chat-toggle, body.tpvid-open .tp-chat-panel,
body.tpvid-open [id^="tp-chat"], body.tpvid-open [class^="tp-chat"]{
  visibility:hidden !important; pointer-events:none !important;
}
.tpvid-modal.active{display:flex}
.tpvid-modal-bg{
  position:absolute; inset:0; background:rgba(9,12,16,.88);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
}
.tpvid-modal-box{position:relative; width:100%; max-width:520px}
.tpvid-modal-player{
  position:relative; width:100%;
  border-radius:18px; overflow:hidden; background:#000;
  box-shadow:0 24px 70px rgba(0,0,0,.55);
}
.tpvid-modal-frame{width:100%; aspect-ratio:9/16; max-height:calc(100dvh - 190px); background:#000}
.tpvid-modal-frame iframe{width:100%; height:100%; border:0; display:block}
.tpvid-modal button.tpvid-modal-close{

  position:relative !important; display:flex !important; align-items:center; justify-content:center; gap:8px;
  width:100% !important; height:54px !important; margin-top:12px; padding:0 16px !important;
  border-radius:14px !important; border:0 !important;
  background:#ff6b00 !important; color:#fff !important;
  font-size:15px !important; font-weight:800 !important; letter-spacing:.01em;
  box-shadow:0 10px 26px rgba(255,107,0,.35) !important;
  cursor:pointer;
}
.tpvid-modal button.tpvid-modal-close svg{width:20px; height:20px; display:block}
.tpvid-modal button.tpvid-modal-close:active{transform:translateY(1px)}
@media(min-width:641px){
  .tpvid-modal{padding:24px}
  .tpvid-modal-box{max-width:min(520px, calc((100dvh - 140px) * 9 / 16))}
  .tpvid-modal-frame{max-height:calc(100dvh - 140px)}
}

.tpvid-modal.tpvid-yatay .tpvid-modal-box{max-width:960px}
.tpvid-modal.tpvid-yatay .tpvid-modal-frame{aspect-ratio:16/9}
@media(min-width:641px){
  .tpvid-modal.tpvid-yatay .tpvid-modal-box{max-width:min(960px, calc((100dvh - 140px) * 16 / 9))}
}
@media(max-width:640px){
  .tpvid-modal.tpvid-yatay .tpvid-modal-player{width:100%}
}

@media(max-width:1024px){
  .tpvid .tpvid-card{flex:0 0 calc(33.333% - 9px)}
}
@media(max-width:640px){
  .tpvid{padding:20px 0 28px}
  .tpvid .tpvid-hsub{font-size:12.5px !important}
  .tpvid .tpvid-card{flex:0 0 74%; border-radius:14px}
  .tpvid .tpvid-card-inner{aspect-ratio:5/4}
  .tpvid .tpvid-play{width:46px; height:46px; top:50%}
  .tpvid .tpvid-play svg{width:19px; height:19px}
  .tpvid button.tpvid-arrow{width:34px; height:34px}
  .tpvid-modal-player{width:min(400px,calc(100vw - 20px))}
}
@media(prefers-reduced-motion:reduce){
  .tpvid *, .tpvid *::before, .tpvid *::after,
  .tpvid-modal, .tpvid-modal *{
    transition-duration:.01ms !important; animation-duration:.01ms !important;
  }
}
